Unanswered Questions

15
votes
0answers
618 views
+100

Connect Four AI (Minimax) in Clojure

I wrote a Connect Four game including a AI in Clojure and since I'm rather new to Clojure, some review would be highly appreciated. It can include everything, coding style, simplifications, etc. But ...
14
votes
0answers
1k views

Use of the ST Monad and Vectors

Inspired by a Stack Overflow question, I decided to take a crack at the Google Code Jam's Minimum Scalar Product problem as an opportunity to practice my Haskell. I'm not claiming any algorithmic ...
12
votes
0answers
997 views
+100

C++ API for interfacing with Lua

I wanted a good way to move objects back and forth between Lua and C++, and I didn't want to use anything like LuaBind or the other available libraries I could find, so I instead wrote this. It's ...
11
votes
0answers
103 views

Siamese neural network

I have been studying the architecture of the Siamese neural network introduced by Yann LeCun and his colleagues in 1994 for the recognition of signatures ("Signature verification using a Siamese time ...
9
votes
0answers
178 views

Making a generic NSMapTable replacement written in Swift thread-safe

This is a follow-up to this question. While discussing some details about the code I posted there, I came upon a problem with thread-safety. After searching and trying different things, I reached a ...
8
votes
0answers
48 views

C++ SQL wrapper/Connection

Working on my SQL project at last. The concept is easy to use and integrate SQL into C++. ...
8
votes
0answers
292 views

Clone of Boost Variant

As part of learning C++, with special emphasis on C++11, I wanted to implement the equivalent of Boost's Variant (located here). My code is available at variant.hpp, with the current version given ...
8
votes
0answers
89 views

ABAP Excel data analyzer

I wrote this code years ago to analyze Excel data coming in from the clipboard. Please review for performance concerns and maintainability concerns. One minor note, from an OO perspective, a class ...
7
votes
0answers
43 views

Bash script to remove unwanted git objects

A while ago, someone at our office thought it'd be a great idea to start tracking a number of fairly large binary files in one of our more important repositories. We noticed our builds were slowing ...
7
votes
0answers
78 views

Rust Brainfuck interpreter

I took the code from kostyas benchmarks for the Rust Brainfuck interpreter and tried to optimize it. There is also a discussion on Reddit about the poor performance of Rust in the Benchmark. Before ...
7
votes
0answers
47 views

Go Fish game written in Go

A couple months back I made a go fish game in Go, just for the sake of that pun. It was pretty poorly done and made experienced Go-ers cry when they looked at it. I rewrote some of it to be more ...
7
votes
0answers
53 views

Hunt the wumpus: Functional JavaScript (Node) with Lodash

I'd like a code review of the following simple implementation of the classic game Hunt the Wumpus I'm trying to use JavaScript in the most "functional" way. To help me, I'm using lodash and ES6. ...
7
votes
0answers
111 views

Nim game in Haskell implementing optimal strategy

I was inspired by Stas Kurlin's Nim game to write my own. I'm new to Haskell, and quite unfamiliar with monads, do notation, and -- in general -- functional design patterns. In the game of nim, two ...
7
votes
0answers
250 views

Multi-layer PyQt4 image viewer performance improvement

I have written a functional GUI program using PyQt4, and I'm looking for some feedback because it's not as fast as I would like. It takes in some number of large, same-sized 2D arrays and displays a ...
7
votes
1answer
362 views

Optimizing puzzle game involving sequence numbers

I am currently developing a puzzle game that has sequence numbers. The player has to fill the grid with sequence numbers in ascending order. Starting from 1 the ...

15 30 50 per page