Sunday, December 24, 2006
Especially for Xoggoth
Thursday, December 21, 2006
This morning caught up with a guy who'd just been off'ed, got well bashed up, and his front wheel taco'ed when he hit a new hole they'd dug. No barriers, no warning, just a 60 cm deep hole dug in the middle of the cycle path.
Distracted wondering what the commotion was about, like a fool, I followed suit: What is that guy doing sprawled down there? BANG! WTF! Luckily being on a 29er mountain bike I managed only a bearing grinding sharp knock and my lights battery was loosened from the bottle cage where it lives.
I made sure the guy wasn't badly hurt, he was swearing quite well, refitted the battery and off I gingerly continued.
Tuesday, December 19, 2006
And so another towel goes missing.
Unforgiveable and Inexcusable
Andrew Walker, Oxfordshire's assistant deputy coroner,
Monday, December 18, 2006
"Stairway denied!", I cries.
The salesman mutters something incomprehensible, so I played a few riffs of Tubular Bells on an electric piano that was in the same display.
And then wandered on.
Tony Blair out of office on Thursday 21st Dec. '06
What actually greeted me, and I was pleasantly surprised, was how well it has all been cleaned up.
What totally horrified me was the pattern I could see of which shops had been destroyed and which had not been touched. I don't mean the ones not touched had escaped lightly, I mean they were not touched at all. There would be shop after shop boarded up and you could see there was paint etc. sprayed about peeking from behind the boards, yet the one next to it would be totally unscathed.
There was a distinct pattern to which shops were attacked and which survived.
I leave it to other bloggers to comment on what that pattern is, but I for one can see this riot was absolutely nothing whatsoever to do with Ungdomshuset...
The best Americans homesite.
Unfortunately my co-worker doesn't have a website, or won't tell me.
Sunday, December 17, 2006
The farce that is the "cash for peerages" investigation
"The honours were not therefore for public services but expressly party peerages given for party service. In these circumstances the fact that they have supported the party financially could not conceivably be a barrier to their nomination."
But what services to the party have these people done? At least one has no record of any party affiliations, and they've said they understood they were nominated for their public service to the nation.
What is the New Lies response to this, and wondering if the one who thought up this latest spin kept a straight face: it's for the services they'll do in the future...
UK Gov halts Serious Fraud Office investigation into BAe, Saudis
Wednesday, December 13, 2006
Gosh! You're fast.
"Gosh! You're fast!" he complements me.
Gosh! I must be fast for a Dane to complement me on how fast I go... ;-)
Monday, December 11, 2006
Another missing towel reappears
I've put them another towel I want to get rid of to see what the nissemand can do with this one.
Regular Expressions in Multithreaded environments
Usual clue when you have one of these infestations is when someone asks if you can see anything wrong with a particular regex as they know it's the cause of their transient problem but just can't see anything wrong with the code.
The reason is pretty simple: regular expressions can only be parsed by a state machine and this is coupled with the general inability of many programmers to code state machines nicely for multi-threaded environments.
(The reason for using state machines in this is not so simple and one day I might fill out this post with the details, but essentially regular expressions are a type of finite state machine.)
The mistake many coders of these things make is using some class variable to hold state, this is where the problem is created. Now when two threads try and do something with a regular expression concurrently the result is anyones guess. At best things just crash, but generally the regex matcher for one side fails giving a strange result.
As regex is usually buried deep in a library, such as an XML parser, your options include replacing the entire library, or even change programming language. As this is generally not possible one is stuck to removing the regular expressions...
How can the programmers of regular expression parsers help their customers? Simple really don't hold state in the class, don't reuse an instance (unless you know it's been finished with) .
Saturday, December 09, 2006
Overheard in the office
Looks like it's going to be a looooong weekend.
Wednesday, December 06, 2006
NASA Schedules Briefing to Announce Significant Find on Mars
Subscribe to Posts [Atom]