• FIH Pro League 2026: Matches in Wavre During a Heat Wave

    Went to watch a couple of games in the FIH Pro League. First time it was hosted in the new stadium in Wavre where part of the 2026 World Championship in August will be played (matches are played in Wavre and Amsterdam). We are suffering from a heat wave so matches were delayed to start at 6PM. The women played first and it was still hot. We had a good spot under the roof that provided sufficient shade luckily, otherwise we would have been boiled like the players. Every 7.5 minutes there was a short hydration break but you could…

    FIH Pro League 2026: Matches in Wavre During a Heat Wave
  • Understanding the Module Operator: Remainder in Python Explained

    In another post I mentioned the module operator and explained it gives the remainder of a division. This description works for positive numbers and 5 % 3 gives 2 which is identical to the remainder but -5 % 3 gives 1 which doesn’t make much sense if it is supposed to be the remainder. If you divide 5 by 3 you have 1 + remainder 2 and if you divide -5 by 3 you have -1 with remainder -2. But if you type -5 % 3 in python you will get 1. What is going on? I had to google…

  • Mastering Python Basics: Essential Programming Concepts From the First 7 Days of 100 Days of Coding Bootcamp Course on Udemy

    The first 14 days are labelled as beginner level. And so far I have certainly not learned any new concepts, it is all about the basics of programming really: variables, conditional statements, loops, functions and the like. Still, most of what I learned so far came from the daily programming projects. During those projects I rediscovered the random.choice() function in python as a simple way to select a random element from a list. I finally learned to appreciate the power of f-strings in python and I learned also a bit about ascii art and was catapulted back in time to…

  • Dining at Restaurant Barba in Leuven

    Some weeks ago I went for dinner at Barba in Leuven. It is located in the city center and we were lucky we had made a reservation because it was completely packed. The interior is stylish with a modern touch but an somewhat studied old look and feel to it. It is housed in an old and quite narrow building so seating space is limited. On one side there are tables for 4 people and we sat on the other side at a table for 2 against the wall. The toilet is at the back and equally small. You have…

  • No Progress with the progress element in WordPress

    A few posts ago I reported about the progress and meter elements in html5 and that I had found a way to add these to a WordPress blog. Unfortunately it didn’t work as expected. After entering the html code the block looked as expected but when I published the post I only say the labels back without progress bars. In fact, the label elements had been converted into h3 elements and the progress elements were simply gone. I figured I would give the meter element a try in this post and see what happens when I post if I get…

  • Gauss’s Formula for Summing Numbers Continued

    In an earlier post I mentioned coming across the reasoning followed by Gauss to prove that the sum of the first n numbers is equal to n(n+1)/2. I started wondering if there is no generalization available for this formula: what is the sum of the whole number m to n, m and n included. Following the same reasoning as Gauss you can show that in this case the sum turns out to be (n+m)(n-m+1)/2. If you plug in m-1 you get the same formula as before.

  • Under Siege

    After having watched Half Past Dead I decided to also watch Under Siege again, probably the best Steven Seagal movie. The whole movie takes place on a battleship that is overtaken by a group mercinaries. The crew is locked up while the mercenaries plan to remove all the warheads from the ship. Only 1 crew member, the cook, is not locked up with the rest of the crew but is instead locked up the freezer of the kitchen. When some mercenaries come to eliminate the cook he manages to neutralise them instead and escapes. What follows is a cat and…

    Under Siege
  • 100 Days of Code Python Bootcamp Progress

    As mentioned earlier I am checking out this course on Udemy to see if it is something worth while suggesting to my son. The first 14 days cover the basics and are labelled beginner and 14 days of coding should be doable for him, these are sessions that take 1 to 2 hours each, watching videos plus completing coding challenges. On a tangent I got to know about the html <progress> and <meter> elements and I also figured out (I hope) how to use them on WordPress. The <progress> and <meter> elements are very similar but as the name suggests…

  • Understanding Gauss’s Formula for Summing Numbers

    As mentioned in another post I am checking out a 100 days of code python bootcamp on Udemy and following the beginners section to see if it would be useful for my son. On day 5 loops and the range function are discussed. In one lesson Gauss pops up and the story is told how the 10 year old Gauus solved the problem of summing of the numbers 1 to 100 in 2 minutes when it was given to him by his teacher. I still remember the formula we learned in school that the sum of the first n numbers…

  • Olivita in Leuven

    This week we went for dinner at Olivita in Leuven. This is a Spanish restaurant in the city center. Probably because we are in the middle of the exam period and there is soccer world championship ongoing there were not many people walking around in the streets and the restaurant was almost empty. As the weather was nice we decided to eat outside. This is just in front of the restaurant on the sidewalk so not a particularly charming setting. But as it is in the city center there are mostly only pedestrians, cyclists, scooterists and the odd public transport…