[ Content | Sidebar ]

Archives for June, 2009

Lunar Lander Update

June 22nd, 2009

I’ve just released a new version of Lunar Lander. This version doesn’t contain any new features, but the code has been cleaned up a lot to make it easier to port to new platforms. The Windows version has been improved greatly and now comes with a proper MSI installer. Additionally, there are a few gameplay tweaks and bug fixes.

Another goal of this release is to provide better packaging on Linux. I’m looking at CPack to generate DEBs and RPMs for 0.6.1.

Download version 0.6.0 here.

**MECHANICAL PIG**

June 20th, 2009

Important news! We have successfully simulated a mechanical pig! This breakthrough has been accomplished by the ingenious combination of the PIG INTERFACE LANGUAGE and the PIG CONTROL LANGUAGE.

Sample program:

PIG DIVISION
  GRUNT
  OINK
  GOTO MUD
  PIGNAP
MUD DIVISION
  ROLL
  ROLL
  ROLL
  GOTO TRUFFLES
  PIGNAP
TRUFFLES DIVISION
  EAT
  EAT
  EAT
  GOTO PIG
  PIGNAP

Sample run:

irb(main):001:0> require 'pig'
=> true
irb(main):002:0> PIG1 = MechanicalPig.new 'pig1.PIG'
00000 **MECHANICAL PIG** PIG BRAIN INITIALISED
00001 **MECHANICAL PIG** PIG ENTERS DIVISION PIG
00002 **MECHANICAL PIG** PIG READY FOR LAUNCH
=> MECHANICAL PIG version 0.14c (Starter Edition)
WARNING!! MECHANICAL PIG ARE PROTECTED BY INTERNATIONAL COPYONWRITE AND MUNITIONS EXPORT LAWS! NO WARRANTY. MALFUNCTIONING OF PIG MAY BE HAZARDOUS TO ONE'S HEALTH. YAHYAHYAHYAHYAH!
irb(main):003:0> PIG1.on
00003 **MECHANICAL PIG** DOES GRUNT 
00004 **MECHANICAL PIG** DOES OINK 
00005 **MECHANICAL PIG** DOES GOTO MUD
00006 **MECHANICAL PIG** PIG ENTERS DIVISION MUD
00007 **MECHANICAL PIG** DOES ROLL 
00008 **MECHANICAL PIG** DOES ROLL 
00009 **MECHANICAL PIG** DOES ROLL 
00010 **MECHANICAL PIG** DOES GOTO TRUFFLES
00011 **MECHANICAL PIG** PIG ENTERS DIVISION TRUFFLES
00012 **MECHANICAL PIG** DOES EAT 
00013 **MECHANICAL PIG** DOES EAT 
00014 **MECHANICAL PIG** DOES EAT 
00015 **MECHANICAL PIG** DOES GOTO PIG
00016 **MECHANICAL PIG** PIG ENTERS DIVISION PIG
00017 **MECHANICAL PIG** DOES GRUNT 
...
01272 **MECHANICAL PIG** DOES EAT 
01273 **MECHANICAL PIG** DOES EAT 
01274 **MECHANICAL PIG** DOES EAT 
01275 **MECHANICAL PIG** PIG IS TIRED
01276 **MECHANICAL PIG** DOES SLEEP

Alas extensive simulations demonstrate that many mechanical pigs may meet an unfortunate end:

00004 **MECHANICAL PIG** DOES OINK 
00005 **MECHANICAL PIG** DOES GOTO MUD
00006 **MECHANICAL PIG** PIG ENTERS DIVISION MUD
00007 **MECHANICAL PIG** DOES ROLL 
00008 **MECHANICAL PIG** DOES ROLL 
00009 **MECHANICAL PIG** DOES ROLL 
00010 **MECHANICAL PIG** DOES GOTO BUTCHER
00011 **MECHANICAL PIG** ABORTED (BACON CORE DUMPED)

Further details available from blodgett.

Bike upgrade!

June 14th, 2009

New features have been added to the bike! Now with foot, pump holder, and bottle cage. Woo for closing down bike shop sale! Current status:

CIMG0355

Have also cleaned the chain and mechanisms and applied lubricant. My hands were covered in dirt and oil just like a real engineer! :D Looks shiny. Went for ride round Clifton and town with blodgett. All seems good.

Filed in musings - Comments closed

Propaganda

June 8th, 2009

In the year 2000 most of us will live in complex cities and sophisticated new forms of building must be developed to shelter us!

Here’s a programme to make you proud to be British: “Meet the British” on BBC4. It’s a collection of propaganda videos made by the government between 1950 and 1980 to advertise Britain abroad. The bit from 55 minutes onwards is pure gold.

I’m not sure how much of this is true and how much is lies. If only there were people still alive from The Past to tell us!

Filed in musings - Comments closed

PowerShell and Git living in harmony

June 6th, 2009

I’m porting some of my programs to Windows at the moment in the hopes of getting access to a bigger market. Turns out that git actually works quite nicely in MS PowerShell. How lovely!

ps2