Project Euler – Problem 68 Solution

Problem Consider the following “magic” 3-gon ring, filled with the numbers 1 to 6, and each line adding to nine. Working clockwise, and starting from the group of three with the numerically lowest external node (4,3,2 in this example), each solution can be described uniquely. For example, the above solution can be described by the …

Project Euler – Problem 68 Solution Read More »

Project Euler – Problem 61 Solution

Problem Triangle, square, pentagonal, hexagonal, heptagonal, and octagonal numbers are all figurate (polygonal) numbers and are generated by the following formulae: The ordered set of three 4-digit numbers: 8128, 2882, 8281, has three interesting properties. The set is cyclic, in that the last two digits of each number is the first two digits of the …

Project Euler – Problem 61 Solution Read More »

F# – Imitating Erlang’s bit syntax for easier binary protocol implementation

Bit Syntax in Erlang One of the often under-appreciated features of Erlang is its Bit Syntax for parsing and pattern matching binary data at a bit level. For instance, to pare TCP segments you can write something along the line of: The same capability can be applied to anything binary protocols, such as video encoding, …

F# – Imitating Erlang’s bit syntax for easier binary protocol implementation Read More »

Upcoming speaking engagements

I love this part of the year, there are great conferences happening between now and Feb, and I’m honoured to have been accepted as speaker to some of these amazing events.   Code Mesh (London) Nov 4th-5th Build Stuff (Vilnius) Nov 19th-21st I’ll be talking about how we used Neo4j to model the in-game economy …

Upcoming speaking engagements Read More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close