Random ramblings

All | General | Motorbikes | Networking | Odds & Sods | Soapbox | Solaris
Main | Next page »
20090528 Thursday May 28, 2009

Leaving Sun

I'm leaving Sun, as I have to take up summer work elsewhere. I have a new blog which I'll try keep updated.

I'm very grateful for my time at Sun: for the people I've met, the experiences gained, and the support given to me. Hopefully I'll run into people again...

( May 28 2009, 05:35:07 PM IST ) Permalink Comments [0]

20090423 Thursday April 23, 2009

Summer work

As per an earlier blog, I'm busy outside of Sun (and Quagga) for the time being, except, however, for the summer when I need to work. Ideally I'd work at Sun, however that seems uncertain, if not unlikely. I'd really like to keep working on Quagga. So if anyone knows of any opportunities, do get in touch.

( Apr 23 2009, 09:58:04 AM IST ) Permalink Comments [0]

20090112 Monday January 12, 2009

Catholic Orangemen of Togo

Craig Murray's new book, "The Catholic Orangemen of Togo", is now available (also available on Amazon, and other retailers). He's had to self-publish, as his original publisher withdrew due to legal threats from Tim Spicer. Craig has also made the book available to download for free via the internet:

The book is a prequal to "Murder in Samarkand", covering Craig's time in Africa from 1997 to 2001. It's the expected mix of intelligent observation and comments on far-flung countries, geo-politics particularly, as seen by a senior British diplomat; along with more personal tales of people, bravado and women (not always endearing). I pretty much couldn't put it down (electronically speaking) till I'd finished it! Both a very interesting and entertaining read.

( Jan 12 2009, 07:03:30 AM GMT ) Permalink Comments [0]

20081216 Tuesday December 16, 2008

Conspiracy theories for kids

I'm curious if there's any well-reasoned argument, preferably with data, that shows that constructing a giant conspiracy to get kids to believe that a fat man delivers presents to kids across the world, in one night, in a flying, reindeer-driven sled, is a good idea, does anyone know?

Maybe it's just me, but it confused me greatly that all these adults enjoyed lying to me to make me think men in obviously fake beards knew whether I was good or not. These same adults who would tell me lying was bad and chastise me if I did so. That I was asked to believe in two different variants of the beardy-with-presents story1 didn't aid its credibility Also, it distressed my poor little sister, who was completely enthralled by the whole thing, terribly when she found out at age 4 or 5 or so that there was no Santa (it might have been me who told her - she hasn't forgiven me to this day). ;)

Perhap's there's some parental joy to be had in deceiving your child so fully, that I havn't yet had the chance to experience.. Does this Santa conspiracy really serve children, or more the adults?

1. The other one, Sinter Klaas, was a bit less fantastical and more plausible though. He was a bishop and dressed like those funny old men you'd see in church sometimes; he arrived by boat from Spain, with a bunch of Moorish helpers; he'd arrive a week or more in advance; he travelled the country on a white horse traditionally, but would avail of modern transport; he left the presents on your front-door step on the evening of the 6th of December. A sceptical child could still imagine he distributed the presents in advance, with the parents colluding in the final delivery (my uncle always disappeared before the knock on the door, I noticed). Still, I couldn't quite understand why adults so enjoyed us believing in this strange beardy - but it didn't matter as long as I got presents.

( Dec 16 2008, 04:03:57 PM GMT ) Permalink Comments [5]

20080813 Wednesday August 13, 2008

More olympic fakery news

Tomorrow's big story: The piano player and the kid mimed their performance too!

From the coming weekend's Sunday broadsheets: In-depth expose interviews historian who claims to have evidence that the archer-lights-cauldron scene at the Los Angeles olympics was faked too!!!!!

News just in from 2012: All theatrics deemed fake by IOC. Opening ceremony in London to consist of a reading of selected DNA sequences by Richard Dawkins, and the sotto voce proving of theorems from "Principia Mathematica" by the Froncysyllte Male Voice Choir, followed by some sport.

( Aug 13 2008, 09:24:33 AM IST ) Permalink Comments [1]

20080807 Thursday August 07, 2008

PGP: Signing policy update / Please sign my photo UID

Couple of PGP things:

( Aug 07 2008, 08:15:42 PM IST ) Permalink Comments [0]

20080702 Wednesday July 02, 2008

last.fm double plus good

Recipe for discovering new music:

How come I'd never heard of last.fm before up until recently?

( Jul 02 2008, 05:07:15 PM IST ) Permalink Comments [0]

20080512 Monday May 12, 2008

The single-loop exception

Found myself having to act on a set of things, in some specific order. Certain items are exceptional and if present then processing stops there. The common idioms for this, that I've seen in C, are:

  1. Tangled spaghetti-jungle of if/else with long conditionals
  2. Goto break out

The former is common enough (though, not in your code nor mine, of course ;) ) to make this blog posting worthwhile.

The latter is the neater approach, and possibly the only remaining legitimate use of goto today. However, it requires placing labels - which isn't error-proof - and maintaining discipline to not abuse (those labels are so tempting!). Some languages have dedicated syntax exception handling (try/throw/catch/finally), but these can feel a tad over-wrought for simple, localised exception handling.

There's another possibility though, generic to all C-like-syntax languages even, using a single-loop:

do {
  if (foo)
     do_stuff (foo);
  if (bar)
     break;
  if (acme)
     do_stuff (acme);
} while (0);

do_final_stuff();

The do {} while (0); pattern is of course already widely used in C, to encapsulate function-like macros. However, I've not personally seen it used in code bodies for such light-weight exception handling.

Another variant, that allows for some basic exception processing:

do {
  if (foo)
     do_stuff (foo);
  if (bar)
     break;
  if (acme)
     do_stuff (acme);
  return;
} while (0);

do_exceptional_stuff();

( May 12 2008, 01:22:44 AM IST ) Permalink Comments [0]

20080124 Thursday January 24, 2008

When all you've got is a spade..

You have to wonder if, on news that the Bush administration intends to spend the US out of a bad-debt-driven slump, the economists advising on this were cut off after ".. should work. Course, it just adds to our deficit, and encourages further spending on imports, so in the long term.."

( Jan 24 2008, 01:18:46 PM GMT ) Permalink Comments [0]

20071219 Wednesday December 19, 2007

Wing-Suit Skydiving Videos

Disturbingly mad: Wing-suit mountain-road flyby. They seem to have really good aerodynamic control though - quite controlled, precise turns at least.

Apparently some in the skydiving community are hoping to eventually be able to land using just wing-suits (e.g. by landing on a slope, like a ski-jumper). To get an idea of the glide-ratio (and just how apparently insane these people are), have a look at this extremely low chute opening (again, note the precise turn-in to the landing zone).

There's a lot more of that stuff on Youtube. Completely nuts.

( Dec 19 2007, 07:12:43 AM GMT ) Permalink Comments [1]

20070511 Friday May 11, 2007

Article on Iraqi Oil

Venturing ever so slightly towards politics, but anyone with any interest in events in the middle-east, of whatever political persuasion, should read "The Prize of Iraqi Oil".

( May 11 2007, 03:21:51 PM IST ) Permalink Comments [0]

20070116 Tuesday January 16, 2007

TV Age

Quite strange how watching old Monty Python's Flying Circus episodes can take one back. The fashions, interior decoration1, electrical goods, etc. all brought me back to when we would visit my maternal grandmother in Ireland, where I would often watch BBC and ITV, which was so completely different to what I was used to. Strange how TV can evoke memories. E.g., do you remember:

If your TV age is roughly the same as mine: congratulations, you're now starting to get old! What do you remember?

1. Remember padded vinyl wallpaper? Not quite sure when my grandparents had last redecorated, but the interior deco featured in Monty Python, which was filmed from '69 to '74, made theirs look quite modern in comparison. Hence why Monty Python seems so modern to me ;).

( Jan 16 2007, 04:35:06 PM GMT ) Permalink Comments [0]

20060309 Thursday March 09, 2006

Book recommendation

A must read on an often overlooked danger in modern life: "How to Avoid Large Ships".

( Mar 09 2006, 09:34:51 AM GMT ) Permalink

20060217 Friday February 17, 2006

Linux boots on Niagara

Linux port to Sun4v makes progress. All we need is a BSD port and the hypervisor firmware updates and I'm going to be begging for one as a test box to replace my power-hungry dual Xeon Xen and Qemu machine. ;)

( Feb 17 2006, 05:52:25 PM GMT ) Permalink

20060214 Tuesday February 14, 2006

paper on the topology of conflict

Reasonably interesting report on "The topology of covert conflict" showing through simulation what various resistance groups and terrorist organisations have known for long while, cells are the best way to organise your members. (Found via the Scheier on Security blog.)

( Feb 14 2006, 03:10:45 AM GMT ) Permalink

Calendar

RSS Feeds

Search

Links

Navigation

Referers