Author Archives: fclaude

Binary search without division, shifts or multiplications

I subscribed to the daily coding problem a while ago by recommendation from a friend. I only have the free version, just for fun. You get a problem per day, with no solution (unless you pay), the difficulty varies. Last … Continue reading

Posted in Programming | Leave a comment

Dicemath – a small Go service for keeping kids busy

I know this may not be the most fun activity for kids, but it turns out that my 5-year-old likes to do simple addition worksheets. Now that many of us are working from home with our kids, which is mostly … Continue reading

Posted in Programming, Random | Leave a comment

SICP Problem 2.6

This is a short fun exercise I also went through while reading SICP. The problem gives a definition for zero and a function to compute the next integer (add 1): The problem asks you to write the function that adds … Continue reading

Posted in Programming | Leave a comment

SICP Problem 1.28

In this post, I’ll go through some fun I had last week with problem 1.28 from SICP. The problem statement asks you to implement the Miller-Rabin primality test in Scheme. I had not read this book and picked it up … Continue reading

Posted in Programming | 3 Comments

Consistent Hashing (Part 1)

Consistent hashing is a well-known method for distributing stuff around multiple servers. We will implement a simple consistent hashing using Python and play a bit with it. This first part just focuses on having a way of computing hashes, we … Continue reading

Posted in Programming | Leave a comment

My Old WordPress in docker

This blog was offline for about 7 years. Before this, it was a self-hosted WordPress installation for which I had (somewhat buried in my backups) an up-to-date dump of the MySQL database. Once I managed to find the backup that … Continue reading

Posted in Docker, Wordpress | Leave a comment

Re-launching blog

This blog was offline for a long time, about 7 years! I’ve spent now a bit of time trying to bring it back, with some success. I managed to get all content back, amazingly, the comments with it. The only … Continue reading

Posted in Personal | Leave a comment

Programming in Go

I’ve been programming in Go for a couple of months now (as hinted by my previous post). I thought it would be interesting to talk about my experience so far. The best way you can make your own opinion about … Continue reading

Posted in Programming | Leave a comment

Increasing the memory limit in Go

Yeah, it’s been a while, but instead of talking about why I haven’t written anything, I’ll just jump into the good stuff. I’ve been developing in Go lately. If you haven’t tried it yet, I totally recommend it. Honestly, when … Continue reading

Posted in Programming | 2 Comments

SXSI

After a while I can happily say that our SXSI system is available for downloading. Kim created a package that can be easily installed and tested. In this post, I include a step by step tutorial on how to build … Continue reading

Posted in Random | Leave a comment