September 16, 2024

Moved Servers

If you’re seeing this post, it means I have sucessfully moved my website over to hosting at Mythic Beasts. For a long time (since about 2005, I guess) I have had my web presence, in various forms, hosted at Nearly Free Speech. I don’t really have anything bad to say about NFS, but their service is (deliberately) pretty barebones. I am now renting a little raspberry pi server at mythic beasts (for various experiments and future projects) and so it made sense to consolidate my hosting providers. So far, their customer service has been really good. Read more

August 12, 2024

Who Did Best At The Olympics?

Every four years (give or take a pandemic postponement) debate breaks out about the best way to measure who did best at the olympics. I’m going to look at a couple here. Medals What’s a better measure of success? Gold medals? Total medals? If we look at medal totals, the top ten looks like this: Gold Silver Bronze Medal Totals United States 40 44 42 126 China 40 27 24 91 Great Britain 14 22 29 65 France 16 26 22 64 Australia 18 19 16 53 Japan 20 12 13 45 Italy 12 13 15 40 Netherlands 15 7 12 34 Germany 12 13 8 33 South Korea 13 9 10 32 Whereas if we focus on gold medals only1 a very slightly different picture emerges: Read more

April 26, 2024

Learn Computing Through Games

How much could you learn about computing and programming through playing games? How much, specifically, could you learn by playing games available through steam that will run on a 3-year old laptop running ubuntu? This is the question I have set out to discover the answer to. I will note here at the top that I’ve not played all of these games in great depth, so I might be missing aspects of the later stages of the games. Also, I often play with the sound off, so I won’t be commenting on the sound effects or music at all. Read more

April 8, 2024

One efficient solution to Circular Buffer (and two others): Week 8 of 48 in 24

It’s been a while, but we’re back for week 8. This week’s challenge is to write a Circular Buffer. It’s basically a first in, first out data structure with the limitation that there’s only $n$ slots for data. It took me a while to get around to this because of having to do a bunch more elixir learning track exercises, and also because I’ve been on holiday. The selection of languages available for this exercise were kind of limited, so I’ve had to branch out into using web assembly for this one. I also did a few easier web assembly exercises to get the hang of it. Read more

March 11, 2024

Three Genuinely Different Solutions: Week 7 of 48 in 24

Week 7 sees us take on the challenge of turning a string into an acronym. If we’re being picky, these are mostly initialisms rather than acronyms because they don’t spell a word. And in a break with tradition, I actually took three fairly different approaches to solving this problem in the three languages I tried. In fact, I also tried doing this exercise in PowerShell (because I had ambitions to go for the gold medal of doing Haskell, PowerShell and TCL). I gave up because learning bash and elixir pretty much from scratch for this project is already a lot, so trying to wrap my head around PowerShell as well very quickly became more effort than I was willing to put in. I like the idea of PowerShell (what if a shell, but with objects) but in practice I find it kind of annoying. Read more

© Seamus Bradley 2021–6

Powered by Hugo & Kiss.