Been a while since i did something really silly…

So i’ve left my perm BBC job

I’m now contract for youview.

Let’s have fun…

Who needs medical insurance, it’s been a while since i took apart a laptop, nearly set fire to a house or electrocuted myself, don’t worry I’m hardy.

Fat man and his semi working £40 laptop, effectively blade since the screen doesn't work ish

Meet Caliban v2. My first project for a while.

I’m going to turn you into a robot….honest

 

 

PHP : Hamcress + PHP 5.2 and the amesoweness

First off Hamcress is brilliant and amazing, anyone doing TDD download it now, never use “assertEquals” ever again!

The range of matchers and stuff, strongly recommend it to everyone it seems fabby

(more…)

microsoft testdrive : the amazing developer tool : IE firebug on Steroids

image of the microsoft testdrive in profiler mode

http://ie.microsoft.com/testdrive/

Frankly it not only equals the now aged firebug, it surpasses it.

Microsoft welcome back from the widerness, now if you could only backdoor
force upgrade all IE6 users out there, all sins would be forgiven.

(more…)

2008 -> AI Bots Experiments (Revisited in AS3)

Ah…. to be 25 again… me at 25 =>

As stated in the last post, i’ve finally finished the T in the Park Channel T flash application, which any second should be going live… any second… any second at all

It was a great project working with good friends and collegues, learning the wonders of away3D, flcikr, swfAddress, and all those nice wee quirks of the flash IDE

One fo my afvourate features unfortunately not ready for release was the bot crowd, the idea was these would wander around in a 3d environment, surrounded by the various music stages of T in the Park, when you rolled over the stage the little bots would swarm towards it, a nice cute effect.

I got pretty close but ultimately what works well for animals, fishes, and mircobes is really hard to get realistic for thinking wandering humans, and with the deadline looming that was that

simple as3 bots

slightly more complex as3 bots

even more complex as3 in 3d pretendign to be humans badly

source

link to AS2 bots

Ps

I’ve now made it a promise to myself to give flex a try

Merging Bloggs!

Code labs is dead

Long live the Blogg

Code Labs is now Blogg

I’m merged my labs and blogg blogs together, frankly it was become way too much hassle for something i hardly update

 

thanks to mark for his use a different user post

For those wanting to do the same and redirect not lose too much seo/help users, here’s a quick htaccess snippet for you,

create a file in your old directory for me it was /labs, and create a file called .htaccess

{code}

RewriteEngine On
# redirect to new blog
RewriteRule ^(.*)$ /blogg/$1 [R=301,L]

{code}

Making Mac OS X Automatically Take Screenshots

Had a bit of an issue, thought it was worth a post, first in a while…

howto make mac osx automatically take timed screenshots every X seconds with a simple bash script

(more…)

Silly silly politi

Leaders are silly, as always brown is a tad behind

Google Search String

Automating JSLint over a bunch of files in a folder (on the Commandline)

Hangover's suck

For what ever reason I decided I’m doing too much js to not being using the Excellent JSLint as such I’ve decided it’s time to use it in anger, no more bespoke copy and pasting, automated stylee, here how to do it

$bash – ./scripts/jslintchecker.sh iplayer/ report.txt scripts/jslint.js

Files here ->

JSLINT AUTOMATOR_SHELL_SCRIPT ZIP HERE

update 4th May – fix script for absolute paths agruments

(more…)

PNG 24 to PNG 8 conversion without fireworks…. == pain

Here are the instructions how to convert png24 images into png8 for ie6 goodiness,

all through the commandline using open source tools (i think)

pngquant +pngout + pngcrush

firefox & transparent PNG 8 & gradient background = firefox3 + PNG8

IE6 & transparent PNG 8 & gradient background = IE6 + PNG8

updated removed full images as there sensitive

(more…)

Sparky the Harddisk

Oooops I did it again, many of you have hear the story of the infamious sparky the laptop, the only laptop in history to have almost committed a darwin award on it’s owner,

(more…)