704 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 ...
40 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 ...
27 views

### Inefficient differential converter

Following Pimgd's question, I decided to take a look at the TIS-100 myself. This is my solution to the 3rd challenge, building a differential converter. Requirements: Read values from IN.A and ...
28 views

### TCP Socket Wrapper

I'm trying to build a simple server software for training purpose, most likely a IRC server, but I'm not there yet. I'm currently implementing a TCP socket class, to ease the use of the C socket API. ...
38 views

### Returning all possible player moves on a board

Recently I started to learn Haskell. I did this by making exercises on the Internet. The problem of making these exercises is that I never know if I solved it the correct way. I currently wrote a ...
7 views

### Gin web framework middleware

As a beginner in Go, I'm seeking feedback on a web framework middleware I wrote up. I reckon that knowledge of the web framework is not needed for the code review. The goal of this middleware is ...
13 views

### Solution to the 0-1 knapsack

I'm using a one-dimensional array with length $W(\text{weight capacity})$. Is this is any better than the solutions with a two-dimensional array $W, n$ where $n$ is the number of items? I'm ...
24 views

### jQuery plugin that makes a <div> slide to the side of the page on scroll

This is my very first jQuery plugin. In short: it makes, on scroll, a <div> to move from outside to any side of the page. Just follow this JSFiddle link to ...
37 views

### Populate tree from 3 different data sources and show its content

The task is to build a WinForm app which populates a tree from 3 different data sources and shows its content. 1 ComboBox at top - to choose datasource. (File System, XMLFile, SQLDB) 1 Button next ...
40 views

I have a working solution for 'Cut the tree' problem but it is not fast enough. Problem Statement: Atul is into graph theory, and he is learning about trees nowadays. He observed that the ...
23 views

### Website register functionality

I have two links in my header: Register Login I am not creating it dynamically. If the user clicks on "login," the login form will be visible, similarly for the register form. My registration: ...
56 views

### Instance depth ordering system

I have created a template class that manages instances; by order of depth and order of addition (both ascending). It allows for a user to add and remove instances, to retrieve a vector of a layer, ...
37 views

### Parsing span library

This is a Python library for efficiently tracking span information while parsing source code, and generating errors on those spans. I intend to use it in my rewrite of mypy's Python parser to add ...