Friday, September 26, 2008

Arguments in Conflict


This bizzare bit of prose appeared on a site I was trying to view just now masquerading as an error message:

"Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another."
And I thought, yes that could be bad. Arguments of the right type are unpleasant but necessary if you want your relationship to last, and yes, you do need to keep them within an acceptable range. Arguments in conflict with one another, however, sounds like fisticuffs and that's no good at all. I hope that server can resolve its issues.


LOLCODE


I guess you all saw this already but I ROTFandL'edMAO when I read this code for streaming a file to the console, and handling a file not found exception, from LOLCODE.


HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE



On a more bizzarre note seems like this is catching on... http://googletesting.blogspot.com/2008/09/tott-mockin-ur-objectz.html

KTHXBYE, Dnny.

-- update

Lolcode btr thn Regex...

LOLCODE version....

HAI
HAS I A PC?
KTHXBYE

Regex version....

^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$


WTF, no brainer!


Monday, September 22, 2008

Wierd hostname award


We changed broadband provider for the office today, imagine my surprise to discover, wilst idly tracerouting (as you do), that the gateway server is called "gay-dsl1.*****.uk". I wonder in what respects gay dsl differs from the hetero variety we've been used to? (answers on a postcard)

So, new broadband provder, please accept a "most surprising hostname" award.


Thursday, September 04, 2008

random stuff bit.ly gz and jpg


Seems twitter have launched a tiny url clone called bit.ly, bit.ly lets you pick a custom word to use, won't be long 'till they run out, example: http://bit.ly/arses the singualr form has already been used.

Yesterday we resampled all of the product images for one client, resaving them at 50% quality.
We also applied gz compression to the php output. Bandwith data rate was nearly 30% below the predictions for the day. Nice. And while there were some small tonal differences in the images I don't think anyone could confidently say which was the smaller one, certainly Mark (head designer) and Sandy (executive vice president in charge of product photography) we're happy with the changes.


Tuesday, September 02, 2008

Quote of the [specify timeperiod]


Forbes.com reports that in New Orleans: "hospitals were working with skeleton crews"

Also if I ever need to take an alias or a stage name or whatever, this headline from the Wall Street Journal has inspired me... "Gustav Evacuees May Be Able To Return Home Within Days".

If you're playing urban terror on-line and come across a guy called "Gustav Evacuees" it could be me.

Cue gratuitous screenshot, got from here


I know nothing, I'm not a fortune teller, and you'd be insane to think that I am. This disclaimer was cribbed from an email footer I once received. It is so ridiculous I had to have it for myself.

Statements in this blog that are not purely historical are forward-looking statements including, without limitation, statements regarding my expectations, objectives, anticipations, plans, hopes, beliefs, intentions or strategies regarding the future. Factors that could cause actual results to differ materially from the forward looking statements include risks and uncertainties such as any unforeseen event or any unforeseen system failures, and other risks. It is important to note that actual outcomes could differ materially from those in such forward-looking statements.

Danny Angus Copyright © 2006-2013 (OMG that's seven years of this nonsense)