Unanswered Questions
21
votes
0answers
688 views
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 ...
19
votes
0answers
1k views
Finding minimum scalar product using ST Monad
Inspired by a Stack Overflow question, I decided to practice my Haskell by taking a crack at the Google Code Jam's Minimum Scalar Product problem:
Given two vectors ...
13
votes
0answers
162 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 ...
12
votes
0answers
100 views
Utility that decodes and logs UDP packets
I have written the following utility, as my first non-tutorial program in Go.
The purpose of the utility is
to connect to a torque/force sensor (aka load-cell) via UDP;
to send an initialization ...
12
votes
1answer
2k views
JSON Serializer
Carrying on from:
Yet another C++ Json Parser
Yet another C++ Json Parser (Recursive)
All the code is available from git hub: ThorsSerializer but only reviewing a small section here.
The idea is ...
10
votes
0answers
36 views
A Groovy Election
Implementing the July 2015 Community Challenge seemed relevant considering it is election time.
I decided to go with the strategy pattern as this can be implemented in many different ways. I did my ...
10
votes
0answers
192 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 ...
10
votes
1answer
1k views
Intranet PHP application
I'm more of an IT guy (no CS course) with a strong and passionate relationship with Unix and I love KISS.
I'm writing an application to help my coworkers with their daily tasks. Every now and then I ...
9
votes
0answers
57 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
47 views
Concurrency interview
A little while back I had an interview where they posed a problem, in summary:
Watch a certain directory, and process incoming JSON files
These JSON files have various "Type" fields
Every second ...
8
votes
0answers
84 views
16-bit Parity Generator
I have completed a VHDL 16-bit parity generator and I would like to know if I have programmed it correctly. I have compiled it 10 times and worked out any bugs that it found. I was finally able to ...
8
votes
0answers
286 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 ...
8
votes
0answers
92 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 ...
8
votes
1answer
74 views
Thread safety/Transaction enforcer
I have some legacy classes written without thread safety in mind. Instances of these classes are now being accessed in a multithreaded context in a thread-un-safe manner. Cue chaos.
To fix this I ...
7
votes
0answers
16 views
Powershell to quickly ping a number of machines
I came up with the below code to improve the peformance of pinging a large number of machines.
At present it's fairly basic, but thought I should see what people thought before proceeding further.
...