December 3, 2024

More Learning Through Games

In a previous post, I highlighted a few computer games that I thought could teach you something about programming. There were a few games I didn’t get round to discussing, and a few additional suggestions I’ve come across since so I thought I’d do a follow-up post. I considered trying to follow the same classification I did previously, but it doesn’t make sense given the games I want to discuss, so we’re going for a different way of breaking down the list. I will, however, mention when a game fits into a category from the previous post. Read more

November 6, 2024

Instead of Doomscrolling

What to do instead of social media I get it, it’s just muscle memory. You have a free moment, and you find your hands just picking up your phone and opening up your social media. You know you’re doing it too much, but it’s not even conscious at this point. Well, instead of trying to stop yourself picking up your phone in those fallow moments, let’s just try to make it tap a different icon and do something else. Something, perhaps, a little better for your mental health. 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.