Posts tagged with "Programming"
Review: Why's (Poignant) Guide to Ruby

Out of an anal-retentive desire to put as much of my output in a central place under my control, I’ve added and appropriately back-dated a bunch of old book reviews I like and still agree with to this blog. This was going to be one of them, but I ended up expanding it enough that I decided back-dating would be dishonest. Why’s Poignant Guide to Ruby, available for free on this lovely domain hack, is the strangest book about programming you’ll ever read, combining instructional...

Programming in GameMaker

The first programming language I wrote significant code in was a dinky little scripting language attached to a GUI-based game development program called Game Maker (since rebranded to GameMaker: Studio). The program provides graphical interfaces for creating objects and defining their behaviour by dragging, dropping, arranging and filling in fields, and you can quite happily use this and only this to make a large variety of games: GM works on abstract enough concepts that you’re not restricted to one or two genres of game like you might be if...

Moving to a static site

As of today, this site is no longer powered by the Ghost blogging engine. Before today, this blog was a web application with a database and a complex application server with a lot of moving parts. Now it is a bunch of .html files. These files are generated by Hugo, a static site generator. Apart from a few unrelated CSS changes, you shouldn’t really notice a difference – although now you have to navigate to different pages to see different taglines, rather than just refreshing the front page....

Writing a LaTeX macro that takes a variable number of arguments

LaTeX is the document preparation system of choice for middle-aged computer scientists. Despite its dense, esoteric and downright old-fashioned syntax and general workings, it’s probably still the best way to prepare and typeset complex documents, provided you’re prepared to learn and struggle a lot up front to get your tools and templates set up correctly (and then have everything work forever). One of the nifty things LaTeX provides is the ability to define custom macros. This allows you to do neat, effort-saving things like this: ...

Text editing software (II)

This is the second article in my ongoing series about text editing software. Text editing software being here defined as programs that let you edit text, contain special features for editing programming code, and are not especially designed for just one language or language family. In the first article, we looked at Vim, the program I use to edit text most frequently. For this one, we’re going to be exploring an editor I don’t use quite so much – one that’s not really in the generally accepted pantheon...