January 2011
2 posts
4 tags
Yar's Revenge and meta programming
So, Yar’s Revenge was an Atari game from the early 80s designed by Howard Scott Warshaw. I hope you’re sitting down, because this is awesome. We’re talking Atari here, so the amount of space they had for code and graphics in games was hysterically small, with a maximum game memory size of 4Kb, with 128 bytes of ram. The png above would take up rougly 30% of the total...
Jan 31st
5 tags
Emacs reveals its power
M-x replace-regexp \(name\)?\(id\)?\(for\)?="\([a-zA-Z /]*\)" \1\2\3="\,(downcase (replace-regexp-in-string "[ /-]" "_" \4))" This is a bit heavy for my first post, but I just started forcing myself to use emacs and I’m sorta loving it. Here’s the first fancy search/replace I did. This is something I wanted from TextWrangler for years: the ability to run scripts within the...
Jan 28th