20080301

known_hosts memory lane

I've a linode - I just deployed a new OS on it and naturally it changed the host finger print.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
95:9f:7d:ea:de:80:56:01:70:df:3e:99:7f:15:a3:3b.
Please contact your system administrator.
Add correct host key in /Users/dayjah/.ssh/known_hosts to get rid of this message.
Offending key in /Users/dayjah/.ssh/known_hosts:83
RSA host key for li18-238.members.linode.com has changed and you have requested strict checking.
Host key verification failed.



Yeah - we all know the message!

anyways - I jumped to line 83 and started editing. DAMN! 83 hosts before that one. My lovely laptop has ssh'd to a ton of boxes. I zero'ed the file. Wonder how many man in the middle attacks im now going to be subjected to ;)

20080221

dont skimp on servers

just a quick note to express my joy. We just got a bunch of new servers - pretty powerful ones hosted at softlayer.com. It is amazing using these machines after a not-short time of using a woefully underpowered (commissioned for a different use) machine.

net affect - to make the geeks happy buy fast servers

:D

m

20071023

Decompression

There are numerous uses of the word: http://en.wikipedia.org/wiki/Decompression

My mike definition of compression is where you focus on one problem so much that the solution to it compresses down into a near invisible dot. My mike definition of decompression is focusing on something else and letting my brain wander back to the original problem at its own time.

A real world example of this in the works: Mid-conversation I attempt to remember the name of a film, it's right on the tip of my tongue but I can't grasp it. I tell the other conversation participants "oh well that doesn't matter the real point is that lead actress lost her daughter after the first.... Alien 3!!".

The "...." above is a representation of my brain no longer focusing on problem and discovering the answer.

My rant?

Well I feel to a certain extent it is time to decompress. I love working on heysan, but I sometimes find myself trying to implement complicated solutions where easier solutions work just as well, and in many cases much better.

For example me writing a testing servlet which used reflection to be able to call any public method in any class within our stack to allow me to test individual methods remotely for a given logged in session (in dev) rather than calling through the stack. Needless to say - a helpful tool, but executed just as well using JUnit or something. The actual problem I was trying to solve was calling a method at the top of our stack and watching the result in the log files. Pelle implemented the real solution in less than a 1/3 the time it took me to get my cool (and not completely working at that point) version in place.

Why'd I do that? The only reason was the need to do something new - in my case I've not used reflection to find methods in classes without already knowing the scope of the method arguments.

I think the best option for me is to do some mini-project in my time off (which is generally quite limited) but then finding something worth working on is pretty tough. Recently I've become overly interested in mash-ups (way behind the curve I know...), but then I see cool projects/products and would like to reimplement them just to discard them, the final thing is my growing distaste for some words I keep hearing:

* Acceptable Use Policy
* Terms of Service

We're moving into a web-world which is all about making a semantic web - why do these terms even exist. Twitters ethos is wonderful - "let people decide what our platform is", and I think that this general lack of 'direction' is going to be what makes them long term winners.

Heysan is all about screwing the AUP (what cross network IM client isn't?). I bought the domain fucktos.com - so my other growing interest is in building some site with code on it that'll let people do all the things that we're not *meant* to be doing.

Hmm - this weekend will be pivotal.

Rant over :)

Mike

20071008

Testing referrals

Just a mini blog post to check referals are working on our new campaign stuff :)

20070905

Virtualisation on Mac - Debian 4

Heya,

So we're assessing the move away from Centos (4 in particular) to Debian (4 in particular). The primary reason is that I'm happier in a debian world.

Anyways, to test this we bought Parallels Desktop for the Mac. I had experience of the demo product of this at flirtomatic - it seemed fairly good then. I had Linux installed but being that we had plenty of linux hardware around didn't find myself needing to use it much.

So here we are, I initially tried to install centos 5 in parallels. No luck, it'd just freeze on the OS start up. No biggie, I was interested in debian anyways :)

Installed Debian - booted - all went well (you can use the 160mb net inst iso). Cloned the machine so that I could set up a web server copy of the base machine. On reboot I had no network. Needless to say the machines are completely identical. The original has network the copy doesn't.

After some poking around I realised that running dhclient brought up eth1 - not eth0. Aha! Essentially when the machine was cloned.. so was the dhcp lease. When the machine is cloned parallels, helpfully, changes the mac address for the primary network controller. So when the machine comes back up and asks the dhcp server (which parallels runs for you) if it can have its old IP it see's that the lease is still allocated to a machine with a different mac so it says no. I'm not quite sure why it doesn't then get another one.. who knows.

I thought the easiest way to sort this was to run

> /var/lib/dhcp3/dhclient.eth0.leases

on the cloned box as root. Then run

dhclient

and it would all work nicely from there on in.

NO...

This problem was bigger than that. I noticed on restarts that eth1 persisted. I decided to delve further.

find / -name '*eth*'

turned up things in the /sys file system. Like what the heck is that?!?! wikipedia solve that question, but now I had to work out why it was persisting. Gotta love linux for this,

find /etc -exec grep -H 'eth' {} \;

turns up

/etc/udev/rules.d/z25_persistent-net.rules

this is new stuff to me! So in there were lines defining the mac address and the eth number associated with it. Delete all the lines except the one for the current mac and then change the number from ethX to eth0 - ifup eth0 and voila!

On an asside: It would be *really* nice if parallels logged to a file somewhere whats going on with some of these core internal services - does anyone know if there is an option to do this?

20070730

canceling your life isn't easy

So,

17days until my last day in the UK and I've decided to start canceling my life. First up it gets complicated cos Amy is staying in the flat until Sept - so I can't just cancel everything - somethings I have to leave running. Those I can live with. What I can't stand is the flipping companies which require you to write to them to cancel stuff but are willing to take your money without writing when you set stuff up.

Case in point: Brent Council. First, like all London boroughs, they charge you the whole years worth of council tax over a 10 month period. So each month you pay more than you should normally pay, but then you have two tax free months. Is it really that hard mister tax man ??? So now we get a tax rebate which works out to all of £50. BUT we can only get that, and switch over to single occupancy tax by writing to them. Are you, baring in mind all the flipping money I've given you over the years, not able to type something into your computers to do this work for me??

What have I paid for for the past 2 years? The roads are worse than ever, the area is worse than ever, the only things that seem to have happened are you made the train station nicer and you built Wembley stadium (which is actually owned by the FA so you didn't directly pay for this).

OOooooh I'm feeling bitchy today.

20070722

Screwed by apple

I'm a apple fan-boy. No two ways about it.

That said - I don't lick their ass like they'd probably want a "fan-boy" to.

Why don't I do this? Well.. by in large the Mac system is great. As a contractor I needed the ability to go into any network and integrate with their windows or linux systems without a problem - Mac let be do that.

However I just hate the way that they force things on people - i.e. why does itunes seemingly only work with ipods?

My current strife with them is that safari ignores form styling. Why???!? My site doesn't look any better because the submit button is from aqua - but it does look nicer in fire fox where I've flattened it out and colored it like the rest of my site.

Also whilst on the topic - who in apple is responsible for putting home directories under /Users instead of /home ? C'mon people! This is like written in stone for unix-like systems (solaris did the same with /export/home - but they did it for good reason!). I see absolutely no good reason for apple putting stuff under /Users.

stressed!

Heh, I was extremely stressed when I drew this on the white board at work (back in 2004!)



funny emails found

I found all my old mail... jeez!

here's a funny one:

==
Q: WHY DID THE CHICKEN CROSS THE ROAD?

SAEED AL SAHAF - Iraqi Head of Information
The chicken did not cross the road.
This is a complete fabrication.
In fact, we do not even have a chicken.

HANS BLIX
We have reason to believe there may be potential for this
chicken's
capability, but we have not yet been allowed to have access to the
other side of the road.

COLIN POWELL
Now to the left of the screen, you can clearly see the satellite
image
of the chicken crossing the road.

GEORGE W BUSH
We don't care why the chicken crossed the road.
We just want to know if the chicken is on our side of the road or
not.
The chicken is either for us or against us. There is no middle
ground.

TONY BLAIR
I agree with George.

JOHN HOWARD
I agree with George and Tony.

KIM BEAZLEY
There is no challenge to the chicken at this stage,
but if I were crossing the road ....

SIMON CREAN
@#@#!!@ Chicken. No one crosses the @#@#!!@ road without my
@#@#!!@
say so. It's time for the chicken to put up or shut up.

PETER HOLLINGWORTH (Governor-General)
I am not aware of any impropriety in the chicken crossing the
road. In
fact I am led to believe that it was the other way around and the
chicken asked for it

DR SEUSS
Did the chicken cross the road?
Did he cross it with a toad?
Yes, the chicken crossed the road,
but why it crossed I've not been told.

MARTIN LUTHER KING, JR
I envision a world where all chickens will be free to cross roads
without having their motives called into question.

GRANDPA
In my day, we didn't ask why the chicken crossed the road.
Somebody
told us the chicken crossed the road, and that was good enough.

OPRAH
Isn't that interesting? In a few moments, we will be listening to
the
chicken tell, for the first time, the heart-warming story of how it
felt accomplishing its lifelong dream of crossing the road.

JOHN LENNON
Imagine all the chickens, crossing all the roads.
You may say I'm a dreamer - but its not the only hen.

MICHAEL JACKSON
There's nothing more wonderful than sharing your bed with a
chicken.

ARISTOTLE
It is the nature of chickens to cross the road.

KARL MARX
It was an historic inevitability.

ARSENE WENGER
What chicken? I did not see it.

ALEX FERGUSON
The chicken was not drawn to the other side fairly,
and Beckham is not bigger than this club.

SIGMUND FREUD
The fact that you are at all concerned that the chicken crossed
the
road reveals your underlying sexual insecurity.

BILL GATES
eChicken2003 version 1.0 will not only cross roads, but will lay
eggs,
file your important documents, and balance your cheque book - and
internet explorer is an integral part of eChicken.

ALBERT EINSTEIN
Did the chicken really cross the road, or did the road
move beneath the chicken?

BILL CLINTON
I did not have sexual relations with that chicken!

THE BIBLE
And God came down from heaven, and he said unto the chicken THOU
SHALT
CROSS THE ROAD. And the chicken didst cross the road, and there
was
much rejoicing.

COLONEL SANDERS
Did I miss one?

HOMER SIMPSON
Mmmmmmmmm . . . . c h i c k e n
==

==
ON THE LONDON UNDERGROUND:

The following announcements were all heard and reported by visitors to the
"Going Underground" website.

Heard at Earl's Court:
"The train at platform three is not going to Parsons Green but to Richmond.
The train approaching platform two is also not going to Parsons Green but
to
Ealing Broadway. These trains are not going to Parsons Green despite what
the signalmen think.


On the Northern Line:
"Beggars are operating on this train; please do NOT encourage these
professional beggars, if you have any spare change, please give it to a
registered charity. Failing that, give it to me."

On the Piccadilly Line:
"To the gentleman wearing the long grey coat trying to get on the second
carriage, what part of 'stand clear of the doors' don't you understand?"

At Leyton station (where a train was stationary despite a green light):
"Sorry for the delay ladies and gentlemen but there is a queue of trains
ahead of us so I have decided to wait here, because I'm sure you don't want
to sit in a tunnel getting hot and sweaty"

On the Central Line:
"Next time, Sir, you might find it easier to wait until the doors are open
before trying to get on the train"

At King's Cross:
"This train is completely broken, it isn't going anywhere"

On the Victoria Line:
"This is Brixton, err, no, it's Victoria!"
"This is like that TV advert, I hope the person next to you is wearing a
good deodorant!"
"Have a very relaxing weekend. Hope to see you all again Monday morning!"

At Camden Town Station (on a crowded Saturday afternoon):
'Please let the passengers off the train first....
Please let the passengers off the train first....
Please let the passengers off the train first....
Let the passengers off the train FIRST!
Oh go on then - stuff yourselves in like sardines; see if I care - I'm
going
home.'

At West Hampstead:
"We can't move off because some c**t has their f**king hand stuck in the
door'

At Mill Hill East:
"Hello this is (xxx) speaking. I am the captain of your train, and we will
be departing shortly. We will be cruising at an altitude of approximately
zero feet, and our scheduled arrival time in Morden is 3:15pm local time.
The temperature in Morden is approximately 15 degrees Celsius, and Morden
is
in the same time zone as Mill Hill East, so there's no need to adjust your
watches."

On a delayed train at Epping (when the driver had a chat with a colleague
unaware that he'd left the Tannoy on):
"B******s to the lot of them. I don't care if they don't make it to work."

During an extremely hot rush hour on the Central Line, the driver announced
in a West Indian drawl: "Step right dis way for de sauna, ladies an
gennelmun.... Unfortunately, towels are not provided."

"Ladies and Gentlemen, we apologise for the delay, but there is a security
alert at Victoria Station, and we are stuck here for the foreseeable
future,
so let's take our minds off it and pass some time together. All together
now.... 'Ten green bottles, hanging on a wall.....'"

"Ladies & Gentleman, upon departing the train may I remind you to take your
rubbish with you. Despite the fact that you are in something that is metal,
fairly round, filthy and smells, this is a tube train for public transport
and not a wheelie bin."

Driver: "I apologise for the delay leaving the station ladies and
gentlemen; this is due to a krusty masturbating on the train at Edgware
Road. Someone has activated the alarm and he is being removed from the
train.

"Ladies and Gentlemen do you want the good news first or the bad news?"
"The good news is that last Friday was my birthday and I hit the town and
had a great time. I felt sadly let down by the fact that none of you sent
me a card! I drive you to work and home each day and not even a card."

"The bad news is that there is a points failure somewhere between Stratford
and East Ham, which means that we probably won't reach our destination for
a
good ninety minutes yet. We may have to stop and return. I won't reverse
back up the line - simply get out, walk up the platform and go back to
where
we started. In the meantime if you get bored you can simply talk to the man
in front or beside you or opposite you."
"Let me start you off: "Hi, my name's Gary how do you do?"

"Your delay this evening is caused by the line controller suffering from
elbow and backside syndrome, not knowing one from the other. I'll let you
know any further information as soon as I'm given any".

"Please mind the closing doors..." The doors close... The doors open.
"Passengers are reminded that the big red slidey things on the side of the
train are called the doors. Let's try it again, shall we? Please stand
clear of the doors." The doors close... "Thank you."

"I am sorry about the delay, apparently some nutter has just wandered into
the tunnel at Euston. We don't know when we'll be moving again, but these
people tend to come out pretty quickly... usually in bits."

"Ladies and Gentlemen, I do apologise for the delay to your service. I know
you're all dying to get home unless, of course, you happen to be married to
my ex-wife, in which case you'll want to cross over to the westbound
platform and go in the opposite direction. Please allow the doors to close.
Try not to confuse this with 'Please hold the doors open.' The two are
distinct and separate instructions."

"Please note that the beeping noise coming from the doors means that the
doors are about to close. It does not mean throw yourself or your bags into
the doors."

"May I remind all passengers that there is strictly no smoking allowed on
any part of the Underground. However, if you are smoking a joint, it is
only fair that you pass it round the rest of the carriage."

"Apparently this train is no longer terminating at Barking, but is in fact
terminating here. I'm sorry about this, but I too was under the impression
that this train was going to Barking, but 'they' have other ideas. I mean,
why tell me? I'm merely the driver...."

"We are now travelling through Baker Street: As you can see, Baker Street
is closed. It would have been nice if they had actually told me so I could
tell you earlier but no, they don't think about things like that."
==

netbox

heh, June 10th 2003 I wrote the following:

===
NetBox, an audiolution.

Service 1 - Free To Listen To Service

Streams seperated by genre available for free listening

Service 2 - Credit Usage (Bronze)

User buys NetBox credits to use in queueing system, will allow user to queue thier desired tune.

Service 3 - Video Vault (Silver)

Monthly Subscription includes a certain level of credits for use with the Bronze service plus access to music video vault for immediate stream/play

Service 4 - On Demand Play (Gold)

A higher monthly subscription than that of the Silver service, includes the ability to set up a private stream of chosen tracks from any genre for immediate play to the user.
===

Sounds remarkably like a mix of itunes / rhapsody / pandora

I was a smart 20 year old! If only I'd known then what I know and who I know now I'm sure lots of these projects would have taken off.

way back in 2003...

heh, I really feel like I've just stepped back in time.

As part of getting ready to move to the US I've finally gotten around to working out what is on my old server kit. I've not touched these boxes since 2005, and even then that was just to switch them off. In particular I have a sun netra t1 105 - I switched it on, and within a few minutes was ssh'd onto it and browsing my file system of old.

DAMN!

First - so nice to use a piece of kit which after two years just fires up without any issue. Gotta love sun hardware.

Second - I'm finding alllllllll sorts of things on this box. My local lan is just not fast enough (i blame the wifi hop) to handle all of the scp'ing that im doing.

Basically I'm grabbing lots of the old archives on to my mac. Already I'm finding business plans that I wrote back in 2002/2003 which have been executed by big companies today. Case in point Sonos!

Also found pictures of tasha and I from a trip that we took to brighton. Random! Can't see them yet as I'm waiting for scp!!

This is all rather exciting!

More later.