Posts
-
Which is better, advantage or proficiency?
- 13 minute read
This post might be a little different from what I usually write, but I nerd-sniped myself into calculating this and I want to share it with people. In the game of Dungeons and Dragons, you frequently have to roll a 20-sided die to see if something works. As with most things, higher is better. There are a few ways you can boost the result of a roll with, but in this article we will be looking at two: Advantage and Proficiency.
-
Jupyter notebooks and version control
- 3 minute read
Jupyter notebook is a wonderful tool to do rapid prototyping in Python and create quick visualisations of the data you’re working with. You can also share the resulting notebooks with other people to show what you’ve down. However, as nice as it is to work with, it is hard to work with collaboratively. The files themselves are an arcane JSON format, which is a wonderful recipe to create merge conflicts.
-
Setting up a modern mail server on Ubuntu 18.04
- 11 minute read
As my old mailserver crashed a few weeks ago for reasons related to it being a Raspberry Pi, I’ve had to quickly recreate one to receive a very important email in an hour. I found that most of the online tutorials to set up a proper mailserver are quite incomplete and outdated, so here’s my take on how to set it all up.
-
The IMO 2011 windmill problem
- 13 minute read
A recent video by 3Blue1Brown (previously seen generating Pi from bouncing blocks) introduced me to an interesting problem from the 2011 International Mathematical Olympiad. The problem (described below) describes a windmill process where a line rotates through a cloud of points, switching pivots whenever it hits a new point.
-
Debugging the Prestashop mail configuration
- 6 minute read
A client that will remain nameless has a brand new Prestashop (don’t mind the pixels in the logo) that he’s really happy with. He’s been able to set it up mostly by himself, except for the mail server, which was being rather fussy.
subscribe via RSS