Snake on ZX Spectrum BASIC

March 27, 2015 [Games, Programming, Programming Languages, Tech, Videos] Series: Groovy, Ruby, BASIC, Dart, Elm, Python3+Qt5 I’m writing a Snake game in multiple programming languages, for fun, and to try out new languages. This time, the first language I learned: Slide: Snake in ZX Spectrum BASIC If you want, you can Support me on Patreon.…

Java game programming: image rendering instructions have no effect on rendering time

06 April 2015 [Games, Java, Performance, Programming, Rabbit Escape] I’m writing an Open Source/Free Software Java desktop game (Rabbit Escape) and am experimenting with letting you zoom in so that the rendered image is quite large, and I noticed some slowdown. [Note: Rabbit Escape is also available on Android, where it appears to have no…

Switched Xfce to use metacity

April 20, 2015 [Linux] I tried Xfce and liked it. However, I’ve never found a better window manager than Metacity, so I wanted to use it. Here’s how I made the switch: # Install it sudo apt-get install metacity metacity-themes # Tell it how many workspaces I want gsettings set org.gnome.desktop.wm.preferences num-workspaces 9 # Of…

Treat warnings as errors in Makefile (Gnu).

April 22, 2015 [Programming, Tech] Last night I hit another bug in my Makefile that meant I was effectively running rm -rf /*, which was no fun. Today I have been looking for a way to stop if a variable is undefined. Here is my solution. This makefile contains a bug (“SRCS” instead of “SRC”):…

Rabbit Escape 0.3.1 – now with zoom!

02 May 2015 [Android, Games, Java, Linux, Rabbit Escape, Tech] I’ve just released an updated version of Rabbit Escape, which makes things look even nicer because you can zoom in, getting you closer to your rabbit: There are still 60 gameplay levels similar to Lemmings and Pingus, all of which can be downloaded for free…

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…

Tweetable Art Code

Selected some cool codes to draw beautiful images with codes that match 3 tweets: This comes from a codegolf question here: The Art of Tweetable Mathematics. Slide: Tweetable Art Code. Berita Terkini Berita Terbaru Daftar Terbaru News Berita Terbaru Flash News RuangJP Pemilu Berita Terkini Prediksi Bola Togel Deposit Pulsa Technology Otomotif Berita Terbaru Daftar…

Using Kupfer in MATE – Andy Balaam’s Blog

May 12, 2015 [Linux, Tech] I tried the MATE desktop and really liked it. I like using keyboard-based application launchers (GNOME-Do style), and I think Kupfer is very good. Kupfer packaged for Ubuntu MATE does not support the MATE desktop, so the file manager (“Caja”) does not appear by default, along with other things like…

Prevents Kupfer from switching to an existing window

May 15, 2015 [Linux, Tech] I enjoy using Kupfer but I don’t like the way it switches to an existing application window, instead of launching a new application. I’ll have to write a patch for a configuration option or similar, but for now, here are my notes on how I disabled the behavior in the…

Snake on Dart – Andy Balaam’s Blog

03 June 2015 [Games, Java, JavaScript, Programming, Programming Languages, Tech, Videos] Series: Groovy, Ruby, BASIC, Dart, Elm, Python3+Qt5 I’m writing a Snake game in multiple programming languages, for fun, and to try out new languages. This time, Dart, is for people who love Java and wish they never had to use JavaScript. Slide: Snake on…