I had a lot of fun attending a Lean Poker event last weekend!It’s a type of event where programmers get together, form teams and spend the day writing code competitively, to see who can write the best automated online-poker player. We don’t play for money but for pride, and the main aim is to practise writing beautiful code and lean principles. That said, given the time constraint of a single day, the focus is usually on Deliver as fast as possible and by the end I’m flurrying around to keep errors out of the code. We try to get quick feedback during the day (more on that later) but I thought I’d do a write about the event to give people who haven’t attended one of these before an idea of what it’s like!
We didn’t dress up and go trick-or-treating for Halloween in Namibia, but Jack-o-Lanterns and spooky costume parties are what come to mind when I think of the time around the transition from October to November. In Hungary –and it turns out many countries in this area– it’s celebrated a bit differently and spooky costume Halloween parties have only started to become popular in the 21st century.
On 1 November, Hungarians travel to the countryside for All Saints’ Day and All Souls’ Day on 2 November. They visit the cemeteries where their ancestors are buried and decorate the graves with flowers and candles. It looks really beautiful at night and I took some photos when we were in Vaszar on the weekend. It was a dark night and the pictures are mostly out of focus, but I think they’re still pretty.
It turns out Halloween is a combination of the words Hallow (meaning holy or saint) and e’en (a contraction of even, which is the Scots spelling of eve or evening), and the celebration has a long Christian and Celtic folk history.
On 19 July 2014 I married Berni in the St György Roman Catholic Church in her home town, Vaszar. Thank you to everyone for celebrating with us as and for your kind wishes on our special day, as we bound our lives together with love!
There are lots more photos coming soon on our wedding website!
Very strange. On Thursday, on my way to work I saw a cat in the park being harassed by a crow so I recorded it. Unfortunately the video isn’t very sharp because the animals were far away and I was recording them with my phone. I thought it was really funny, as if the crow had a big problem with the cat being there, meanwhile the cat completely ignores the bird.
YouTube View directly
Funniest of all, I walked the same route the next day and they were there again doing the exact same thing!
The site is back up on line! For more than a month it’s been down while I transferred it from the Namibian server to a new Hungarian web host and now it’s back. Apologies to anyone who wanted to access the site during this time and thank you for your patience. Now that things are working more or less smoothly I should be able to post some fresh content!
After my previous discovery I thought surely there should also be an easy keyboard shortcut for swapping the foreground and background colours in the GIMP, even though it doesn’t seem to be documented anywhere. There is. Just press X.
Actually I think it would be useful if this was shown in the tooltip text when you hover over the colour switching button, like it does with the other tools. If you’re curious, here is a list of 74 keyboard shortcuts for the GIMP (including this one) that you might not have known otherwise. I think keyboard shortcuts are great for editing pictures because you can change tools (and now also swap colours) without moving your cursor away from where you’re drawing!
Last weekend we went to visit Berni’s family in Vaszar and we chopped wood for the winter. The logs were really big, so we used a hydraulic wood splitter like this one. It was still a lot of work moving the heavy logs onto the splitter and carrying and stacking the split wood into piles, and I’m told that the next step will be to axe those into smaller pieces that can be used to heat the house in winter.
Unfortunately nobody thought to take any pictures of us in action, but these two large piles were the result of our day’s work:
I think I might write more often about the fun stuff that happens when we go to visit in Vaszar.
Now that I’ve got steam, I get to be constantly pestered by e-mails sending me keys with which to identify that I am myself. To save a few steps in this annoying, repetitive process I wrote a tiny bash script which finds the key in an e-mail from steam and uses zenity to pop it up on my screen, then added a filter in Evolution Mail to mark these “steam verification” messages as read and pipe them to the pop-up script. This allows me to copy the key with a double-click and paste it into steam with a middle-click, without having to poke around in my mail client for the e-mail and the place where the key is mentioned in it.
In the hope that it saves someone else from this irksomeness, here’s the code for the script:
#/bin/bash # Displays a pop-up showing a Steam activation key piped to it by a MUA. # In the e-mail the steam key is wrapped in <h2> tags # Author: Siôn Le Roux <firstname.lastname@example.org> # read e-mail from pipe while read -r line; do # find <h2> buffer=$(echo $line | grep 'h2') if [[ ! -z $buffer ]]; then #strip surrounding <h2> tags steamkey=$(echo $buffer | sed -e 's/<\/\?h2>//g') fi done # display the steam code in a pop-up zenity --info --title="Steam Key" \ --window-icon="/usr/share/pixmaps/steam.png" \ --text="<tt><big><b>$steamkey</b></big></tt>"