-
Recent Posts
Archives
Categories
Category Archives: Programming
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
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
Land of LISP and Lazy Evaluation
One of my recent read was “Land of LISP” by Conrad Barski. It’s an unconventional programming book, packed with comics. Most examples are tiny games you can code in a couple of pages. I personally liked the book a lot, … Continue reading
Posted in Programming, Random
4 Comments
Finding the most significant bit
In one of the problems I’ve been working on with Diego Seco and Patrick Nicholson, we needed the most-significant-bit (msb) function as a primitive for our solution. As Diego pointed out today, this function was one of the bottlenecks of … Continue reading
Posted in Programming, Research
1 Comment
Seven Languages in Seven Weeks
I read this book, by Bruce Tate, some weeks ago and totally recommend it. You can buy it from amazon or the pragmatic bookshelf. What’s in it? From the title of the book is easy to get an idea. This … Continue reading
Posted in Programming, Review
Leave a comment