15 Feb, 2026
06 May 2020 [Android, Java, Programming, Tech] I’ve spent the last few days battling the Android command line to set up a simple project that can run automated tests inside…
Here is the text of the letter I wrote to my MPs today via writetothem.com: Darling []I write to you to express my growing horror at the ongoing police violence…
August 10, 2020 [Programming] SMPP is a binary protocol used by telephone companies to send text messages, otherwise known as SMS messages. This can work over TCP, so we can…
August 13, 2020 [Linux, Tech] To set the date the photo was taken, install ExifTool for example: sudo apt install libimage-exiftool-perl # If on Ubuntu sudo dnf install perl-Image-ExifTool.noarch #…
I think it’s probably pretty easy to show the basics of how we can design a “BigInt” struct type. This turned out to be more involved than I thought, but…

Example Android project with repeatable tests running inside the emulator

06 May 2020 [Android, Java, Programming, Tech] I’ve spent the last few days battling the Android command line to set up a simple project that can run automated tests inside the emulator reliably and repeatably. To make testing reliable and independent of anything else on my machine, I want to store the Android SDK and […]

3 mins read

Letter to my MP about racism in the US and UK

Here is the text of the letter I wrote to my MPs today via writetothem.com: Darling []I write to you to express my growing horror at the ongoing police violence and brutality facing black protesters in the US, and the disturbing silence in the UK on this issue. These protests, which began as peaceful demonstrations […]

1 min read

How to send SMS using netcat (via SMPP)

August 10, 2020 [Programming] SMPP is a binary protocol used by telephone companies to send text messages, otherwise known as SMS messages. This can work over TCP, so we can use netcat in the command line to send messages. A better way to understand this protocol is to use Wireshark’s SMPP protocol support but for […]

15 mins read

Set date (EXIF) of photos in Linux

August 13, 2020 [Linux, Tech] To set the date the photo was taken, install ExifTool for example: sudo apt install libimage-exiftool-perl # If on Ubuntu sudo dnf install perl-Image-ExifTool.noarch # If on Fedora And modify the photo with a command like this: exiftool -DateTimeOriginal=”2020-08-13 12:00 UTC” myphoto.jpg More info about the Exif tags you can […]

1 min read

Rust: constructing arbitrary precision integers (bad)

I think it’s probably pretty easy to show the basics of how we can design a “BigInt” struct type. This turned out to be more involved than I thought, but we had a little way around it. Maybe we can continue that in the next video? Follow me on mastodon: @andybalaam@mastodon.social Berita Terkini Berita Terbaru […]

1 min read

short – command line tool to cut lines to fit in the terminal

September 10, 2020 [Programming, Rust, Tech] Sometimes I run the grep command which looks for files with very long lines. If the lines match, they will print and spam my terminal with large amounts of information, which I probably don’t need. I couldn’t find a tool that limits the length of its output lines, so […]

1 min read

Code a small game in JavaScript video

September 18, 2020 [Games, JavaScript, Programming, Tech, Videos] I’m working on a small JavaScript library called Smolpxl. It aims to make it easier to create retro-style pixelated games that run well in the browser, using simple JavaScript. Here’s me livestreaming writing a little “game” using Smolpxl: To play the game or get involved in the […]

1 min read

Rust: how to return a closure from a function, and what is a closure?

January 30, 2026 [Programming, Rust, Tech, Videos] Sometimes we want to return the closure of a function, and sometimes it doesn’t work as expected. This brings us to how we should think about closures: closures are not actually functions, but rather automatically generated structs with types that we are not allowed to name. And all […]

1 min read

shareon.js.org now has a Share to Mastodon button

September 24, 2020 [JavaScript, Programming, Tech] I was looking for the right way to create a “Share This” style button for my little gaming site Smolpxl, and I found shareon which does exactly what I want (load JavaScript and call a function to display the button, no privacy issues), and looks really nice. The only […]

3 mins read

Play and create small retro games in Smolpxl

September 25, 2020 [Games, JavaScript, Programming, Tech] I like simple games: play them and write them. However, getting started in the complex modern technology ecosystem can be overwhelming. So, I’m writing the Smolpxl library, which is some JavaScript code that makes it pretty easy to write simple, pixelated games. It gives you a fixed-sized screen […]

1 min read