All entries for Friday 09 September 2005

September 09, 2005

It would seem that a lot of my creativity stems from boredom, i.e. when I'm bored I challenge said boredom by being moderately creative.

Today was such a slow day at work, which meant I had plenty of time to think, and read, I was reading a book on mathematics, and I was confronted by the usual mathematical language. I realised that the changebox lacked any specialised 'lingo'. So I got thinking, firstly I had to name the coins so,

• One pound coins become 'kings', not sure why but it sounds quite good I think,
• Twenty pence coins become 'geeks', since not one really wants them, but they do have their uses.
• Ten pence coins become 'whores', because ten pences are so dirty (Alan Partridge impression optional but recommended).
• Two pence coins become 'Old Ladies', because its always the old ladies who wan't them, but they always ask for something else, like some geeks, but you give them twos anyway, because you know thats what they want.
• A uniform set of coins becomes a deck, e.g ten ones is a deck, but nine ones and ten tens aren't.

Right, so now that I had a naming system, I needed some operations to perform on them.

The most common operation that I perform in the changebox is check that say a deck of ten coins is actually ten coins, I do this by quickly seperating the deck into two, and counting the two halves, this is defined as 'spitting the deck'. One can perform a uniform split, where the two halfs are of equal size. Also if the two halves are seperated fully, i.e. you not have two distinct decks, that is a 'hard split', otherwise, if the deck is just pushed apart briefly, then it is known as a 'soft split'.

Counting up money from bags onto the desk is now known as 'topping up'.

The coin counter, which is about to die btw, is to be known as 'stressed Eric' (in honour of cartoon of the same name). He always gets jammed after we put 50,000 coins through him in one day. He makes this horrible grinding noise every now and again, which makes you think that he's about to blow up.

The changebox itself is to be known as 'the cage' because thats what it feels like sometimes, you can't get away from the people, and sometimes you're in there for 4+ hours.

Customers are to be known as 'chumps' (least offensive thing I could come up with)

So now I can mildly amusing things like:
"I was in the cage putting some old ladies into stressed eric when this chump came up and demanded some whores, I replied that I hadn't topped up the whores yet and all I had were kings, geeks and old ladies. The chump then wanted a deck of eight kings, so I performed a uniform soft split on a deck of eight kings, before I ran off some cups of old ladies from stressed eric."

How bored was I? very.

More Wristbands!

Feeling inspired by all those wristbands I keep seeing, I thought I'd make it very easy for everyone to have one!

I spent a few hours writing up a php script that generates the wristbands on the fly, which is basically one php hack after another, as have never done anything with php graphics before! So without further ado, place this code in your CSS, and then make the changes described below to get YOUR wristband!

``#bannerImageLeft {position: absolute;top: 0px;right: 0px;height: 200px;width: 200px;background: url('http://www.mikejones.f2s.com/banner.php?text={sometext}&bgcolor=255,255,255&color=0,0,0') no-repeat;border: 0;}``

Here's how to get your message, change {sometext} to the text you want, remove the { braces } btw. To get that bold look insert a space when you want to change font weight, but you'll need to use %20 for spaces. Exmaples are
text=Make%20Poverty%20History
text=Warwick%20Blogs

as for the color and bgcolor attributes they are entirely optional, but if you o use them, you need to supply three numbers, separated by two commas, the values are the standard red,gree,blue ranging from 0 – 255.
If neither is specified you will get a standard black-on-white wristband.

September 2005

Mo Tu We Th Fr Sa Su
Aug |  Today  | Oct
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

Not signed in