1. Load balancer

    In this post we are going to write a simple load balancer in Haskell. The design is based on that presented in Rob Pike's Concurrency Is Not Parallelism talk (starting around 22 minutes). If you are not familiar with this presentation I highly recommend watching it before reading on. Pike …

    Read more...


  2. Think paper

    Thinking using a computer is hard. First, a computer is full of distractions, but let's say we can eliminate those. Second, using the conventional input such as mouse and a keyboard, anything more complex than a character or a mouse click is difficult to communicate to the computer. Where's the …

    Read more...


  3. Minimum Coin Exchange

    In this post I solve the Minimum Coin Exchange problem programmatically using Haskell. I will compare the performance of the naive implementation to that using dynamic programming.

    The problem

    The minimum coin exchange problem is generally asked: if we want to make change for \(N\) cents, and we have infinite …

    Read more...


  4. Knowing Algorithms

    The other day I got a question from a colleague: Do you know an algorithm for this problem of ... details...details? The exact the problem description is not important. It was a well defined problem which totally made sense. I felt that there must be an algorithm for it, but …

    Read more...


  5. Concurrency Patterns

    In this post I'm replicating in Haskell some of the examples from the talk Go Concurrency Patterns by Rob Pike. In the talk Pike explains how Go's built-in concurrency primitives can help writing concurrent code. I was curious to see how the presented examples would look in Haskell, a language …

    Read more...


  6. Morat-Fribourg 2017

    Egyéni csúcs! Idén sikerült a 2012-es időnél fél perccel gyorsabbat futni. Valószínű, hogy a versenytáv kicsit változott, hiszen a 2012-es tempó gyorsabb volt, mint az idei. Ez a lényegen nem változtat: jól esik a versenyzés! És alább szokás szerint az eddigi időeredmények:

    2017: 17,450 km 1:17.13,6 …

    Read more...


Page 1 / 11 »