Intersection of programming, maths and art

A minor annoyance for me has been when trying to extract multiple Garry’s mod addons, they have to be done one at a time. So, I wrote a wrapper called “gmads.exe” that allows multiple addons to be extracted at once. Simply select all gmas to extract and drag them on to the program. Because it […]

read more

You may not know it, but all logic gates can be made from NOT and OR gates alone. So, I set out to make them! First of all, the AND gate: Because of the NOT gate at the end, the NAND gate is just this without it. Next, XOR. To start with, I took the […]

read more

I recently earned the Half-life 2 achievement “zombie chopper”. The description is “Play through Ravenholm using only the Gravity Gun”. So I decided to share my expertise! The following is a list of tips that should help you get it (I did… first try :P) Know the maps Make sure you understand where you need […]

read more

This is code for Freetronic‘s Dot Matrix Display devices and their libraries. In the dmd_demo there is a sample of code that says long start=millis(); long timer=start; boolean ret=false; while(!ret){ if ((timer+30) < millis()) { ret=dmd.stepMarquee(-1,0); timer=millis(); } } However having to put that everywhere you want to advance a marquee probably isn’t fun. So […]

read more

I have now had my third nerd cake in a row — a headcrab cake. A headcrab looks like and is from the beyond decent game Half-life. So, with some help from here and Garry’s Mod, some minor mishaps and a bunch of fondant, we had: and ate it and it was delicious. I put […]

read more

It’s happened to all of us. (Vagueness intensifies) You’ve walked out of the cinema, and you can’t help but think “that needed more explosions”. Similarly, we’ve all written a PHP script and thought much the same thing. Right? …right? Now there’s a solution. This all-new PHP function, needsMoreExplosions(), will solve all your problems by exploding […]

read more

I took a screenshot of every bit of ASCII from the Portal end credits. Then I copied the text by hand. Well, I spent about an 1½ hours on these: .,-:;//;:=, . :H@@@MM@M#H/.,+%;, ,/X+ +M@@M@MM%=,-%HMMM@X/, -+@MM; $M@@MH+-,;XMMMM@MMMM@+- ;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/. ,%MM@@MH ,@%= .—=-=:=,. -@#@@@MX ., -%HX$$%%%+; =-./@M@M$ .;@MMMM@MM: X@/ -$MM/ .+MM@@@M$ ,@M@H: :@: . -X#@@@@- […]

read more

Last night I watched about three meteors from the annual Geminids shower. They occur once a year from around December 7th to December 15th. This year it was December 14 11pm – December 15 1am in Sydney. The stereotype of a meteor/shower is quite different from reality. First of all, there’s only one every minute […]

read more