Boiling a frog…

There is an anecdote that does its rounds in the motivational speaker circuit about how you can boil a frog in water without it ever struggling as long as you increase the temperature of the water slowly enough. The analogy is that as humans we need to be more aware of our surroundings and be careful not to be lulled into a downward spiral of disaster.

Perhaps ironically, the anecdote is completely untrue and has been proven, repeatedly, to be the substance of myth… The ironic part being that we as highly evolved humans tend to be a lot more inclined to being lulled into disaster while our environment falls apart around us. This can be held true in matters of the ecological environment and love.

Frogs on the other hand tend to jump out of the water as soon as they get hot.

Funny what a frog can teach you!

(References abound, but one of the more eloquent ones is at http://www.uga.edu/srel/ecoview11-18-02.htm)

Gutsy plain and simple…

A while back I decided to experiment with Ubuntu 7.04 (Feisty) AMD64 version. I have an AMD64 CPU obviously. It worked ok but there were numerous things that just sucked a bit, like having to run a 32 bit version of firefox to get flash to work, and my ATI drivers that were only available in the 32bit variety. (Notice the proprietary suckiness)

Anyways, I was having some wireless issues at iWeek and decided to upgrade to Gutsy (tribe 5).

The upgrade was pretty painless since I store /home on it’s own partition. Actually, it was very painless since I essentially have everything I used to have, settings wise, on this “new” machine. I got one gnome-panel moan about an app (cpu temperature monitor) that was in the panel but no longer existed on the machine.

Getting my wireless to work properly was a little bit of a bitch. For some reason ubuntu still hasn’t reaslised that the bcm43xx module *does not work* with HP Pavilion laptops. This means that the basic procedure to get it working again is:

* Blacklist dodgy driver

* Install ndiswrapper  & gtkhelper if you’re feeling lazy

* Install your old windows driver via the gtk ndiswrapper interface.

* Make ndiswrapper startup when the interface comes up (ndiswrapper -m)

* Reboot.

Everything seems to be working fine. Gutsy isn’t really all that amazing compared to feisty but it’s running nicely and I keep on noticing nice little additions that make me happy.

I tried the screens & graphics thing but I don’t have an external monitor to test with and I couldn’t get my built-in lcd to 1280×800 using that interface… I will track down whomever is responsible for that and see it’s a know bug.

Either way Gutsy is looking good. I know this is a cheesy comment to make, but I love the way open source works… nibble by nibble we get things better and better.

Nibble by nibble, as you probably know, is the prescribed way to eat an elephant!

Having said all that. I want a macbook, mostly because I want something small that I can flip closed and put it to sleep and then flip it open and have it awake. Suspending and hibernating continue to be elusive on my laptop. I must do some more googling.

(Since I was recently asked if we have Malaria in Cape Town I think it is prudent to clarify that we don’t eat elephants)

10 things I want to do by 30

I celebrated a birthday recently, my twenty seventh, and although I generally don’t fret about birthdays and new years, I’ve been pondering my life and all that I have and haven’t achieved in 27 years.

Firstly I’m pretty happy. I’ve got a great job with people I really like working with. I’m learning constantly. I have a good group of friends who support me when needed and berate me when needed. I’ve aquired a fair amount of “stuff” that makes me happy and I’ve got my health.

So why make a list? Well I haven’t achieved *everything* I wanted to achieve by 27 and mostly because I, like most people on this planet, find it very easy to procrastinate and/or get bogged down with the little things. I’m a big fan of lists for the little things in life so why not apply that same principle to the big things.

10 things I want to do by 30 (3 years)

  1. Stop paying someone elses bond
  2. Get fitter than I am now
  3. Do the penisula hike I’ve been planning for years
  4. Stop paying someone else to do my taxes
  5. Learn Python
  6. Travel in Africa
  7. Read Cryptonomicon
  8. Write one of the many stories bouncing around in my head
  9. Take more photographs and get better at doing it.

So there you go, I open it up to the floor.

What should my number 10 be?

ath.

You lose Computicket, YOU LOSE!

Never before have I been so floored by the absolute uselessness of an online process as I was 2 weeks ago when I tried to use Nu Metro’s online booking process powered by Computicket.

compu0.pngThe Computicket site requires Java to run. I run Linux, so even though I’m able to install Java I chose not to for security reasons. So, I load up my virtual machine and browse the site using Internet Explorer 7 under windows. Off to a bad start.

Lets have a look at the site. First of all, the color scheme is terrible. It looks like something put together by a color blind person in 1994. I love the way they have taken advantage of the Internet Explorer’s customizable scroll bars, because, like, red and yellow are classy.

Next up we have the interface. At first it looks ok. Then you start using your brain. The blue box is the cinema. Check. The white dot is the cursor. You wonder, where are the seats? Are they all available? Am I losing my mind.

You assume simply that maybe the entire cinema is empty. On the right you click the up arrow twice to select that you want 2 tickets. Then you click somewhere. hoping to find an open seat.

(If you’re seeing this in an aggregated form, the rest of this story is on my site)

Continue reading “You lose Computicket, YOU LOSE!”

Does bad luck really come in threes?

Permit me to dive right in

Bad Luck #1: The Warning…

My battery light has been on for a few days… I thought it had to do with the fact that I’d left the interior light on overnight and since the car was starting perfectly I resolved to sorting it out on Tuesday. Bad Idea. Today on the way to class after work my car beeps and suddenly the power steering disappears accompanied by another light on my dash. It’s the power steering light. I pull over hoping that it just needs to be rebooted. Car wont start. Eish. I wait 30 seconds and try again. It *just* manages to start up. Obviously the battery is borked. I decide to get it to a garage still hoping stupidly that this might just need battery water. I drive, without power steering, down the road only to be greeted by another light and some more friendly PINGs. ABS is dead. Ping, break light is on. PING some other not so friendly light. PING… PING… The doors start locking and unlocking themselves (I shit you not). PING, lock, unlock. (Does the car want me to get out before it explodes?)

I get to the Engen Garage on Main Rd in Newlands and carefully pull in and have them look at the battery. Alfred, his name badge read, was wearing a hard-hat but seemed to know more about cars then most pump attendants. “What’s wrong? he asked… “I dunno, the batteries dead and my power steering is dead”. I say vainly hoping that a dab of battery water will fix it. Alfred informs me that I have a No-maintainence battery… ie. They don’t refill the water. “What’s wrong again?” he asks. “ABS, Power Steerings gone, everything” I reply.

“Ah” he says pointing into my engine, “You don’t have a fan belt”. I. feel. like. an. idiot.

Momentum insurance was awesome, flat bed truck, plenty of confirmation SMSs and numerous phone calls from the great consultant, Colin, checking and rechecking that everything was ok. My car is sleeping at Barons in Claremont tonight, where hopefully in the morning it will receive a new fan belt and a charge.

Bad Luck #2: The long way down…

As nice as the flat bed truck people are, their vehicles are a bit beaten up. Climing backwards out of the passenger seat outside my flat (in the dark) I asked the driver how far down it was. This was a retarded question since I had climbed into the vehicle and therefore should know approximately how far down it was to the ground. His reply “A long way down” could not have been more apt. I commited to “stepping” out backwards. It was one of those situations where you can’t see behind you so guess where the ground is. I guessed relatively well, but i didn’t guess I would end up on the edge of the pavement and subsequently collapse like a rag doll onto my ankle. Awe.so.moe. Twisted ankle, looking like a fool. Strike 2.

Bad Luck #3: The dark floor…

I get home to a very sympathetic girlfriend who I recall the story for while making myself a sandwich. Then I notice it. The floor around the sink is dark… We have this “acid stained concrete” in our kitchen. It looks cool, but when it gets wet for a long time it goes dark. Ah crap. SOMETHING is leaking. I open up the cupboard under the sink, which contains a small but very effective geyser.  Yup, the floor is wet. The geyser, or one of it’s affiliated pipes, is leaking. Luckily this is Pam Golding’s problem, but I still need to make sure I’m around to see some plumbers crack.

I thought it came in threes?

Bad Luck #4: What were *you* doing in Jan 2004?

In December 2003 I decided I had had enough of the corporate world and wanted a break. I took 6 months off. I arbed around and generally bummed off my savings. It was a good thing. I learnt a lot of good life lessons in that time; like how to make 2 minute noodles interesting 4 days in a row.  SARS however doesn’t like the idea that I went from being a regular salaried employee to unemployed for 6 months and then back to employed. This isn’t such a big deal since all I have to do is fill in a form and send it to them, but it makes me stress over whether or not they’ll believe me or hassle me for more proof that I did nothing; which as you can imagine, is hard to prove.

There is actually something else, but I’ve decided to leave it out. It has to do with the reason why my fan belt is probably missing and, in the letter that I am writing to a particular company whose fault I believe it is, I have said I will not mention their name anywhere if they take swift action. I don’t even expect them to pay for the fan belt.  If however they decide to not heed my call I will come down upon them with a vengeance that… well, it wont be nice.

lovely.

j.

GeekDinner – Carnivorous Cantaloupe

Another successful GeekDinner is in the bag…

Last night around 70 of Cape Town’s coolest geeks converged on Krugmann’s in the V&A Waterfront and ate, drank and discussed geeky things like wireless meshes and selling wine on the interwebs. I’ll leave it up to more neutral people to say whether or not it was a success but I certainly enjoyed myself.

David Carman spoke about building a wireless mesh in Scarborough… his talk was excellent… I’m very interested in the technical elements of wireless communications but the thing that “got” me the most was the fact that they are providing internet access to kids in the township. I don’t care what authority you’re from and what laws you want to twist to “get your way”, but if you want to take Wikipedia away from underprivileged kids you’re going to have to do so after ripping the CAT5 cable out of my cold, dead hands.

Next up was Ian Gilfillan who essentially told us that, even though he is now an International MySQL superstar, he didn’t get rich doing so.

Alan Levin talked about peering… Alan is a great speaker who did his best to ignore Wizzy’s heckling. It’s comforting to know that we should soon have cheaper international bandwidth in this country, and morally reprehensible (what’s new?) that the government and Telkom have set it up in a way that it’ll still cost an arm and a leg because some irrelevant middle man has the “rights” to sell it at some archaic price as previously defined by Telkom. BMW X5 much? (Alan, did I get the corruption chain right?)

Johann Wegner of GetWine.co.za (our fabulous wine sponsor) was up next and talked about the challenges of selling wine online. His sidekick (what was his name), Sam Paddock, gave a more in depth technical discussion about how they actually do it. Very interesting…

Finally we had Aslam Khan telling us how wonderful PHP and Pretoria are. Actually, he talked about Behaviour Driven Development… a talk which for some reason the two non-technical people I brought along seemed to enjoy the most… perhaps because he used the dog.getBody().getTail().wag() vs dog.expressHappiness() analogy. Aparently non-techies like dog analogies.

I’d like to personally thank:

  • You guys for rocking up!
  • Antoine for hooking us up with sound and a projector.
  • SimplyAV, an excellent AV company that I would seriously recommend you contact if you need AV – (021) 782-5100.
  • GetWine for providing the Wine.
  • Krugmann’s for hosting us.
  • The other GeekDinner organisers.

Finally, just a little punt. These things don’t organise themselves and we’ve got it to the point that it’s actually quite easy to put together. PLEASE, if you have any inclination for helping us organise a future GeekDinner, sign up to the GeekDinner Planning list. We don’t mind if you lurk.

There’s also the announce list which everyone should join so that you know when these things happen. The list traffic is extremely low, about 1 email a month. Finally, for those of you who have succumbed, there is a Facebook group.

Cheers, see you at the next GeekDinner.

ATH,

J.

ps. The photos and the very bad recording (something went wrong) will be available some time over the weekend.

GeekDinner on the way…

The 3rd of the new series of GeekDinners is being held at a really great restaurant called Krugmann’s Grill in the waterfront. We still have some space available so sign up on the wiki to book your place.

There have been a number of people who’ve asked me various questions about the geekdinners, so here is my FAQ:

  • No, it doesn’t cost anything… you only pay for the food you eat. (there is often free wine).
  • No, you don’t have to know linux to come.
  • Yes, you can bring your boyfriend/girlfriend.
  • No, It’s not a boys club.
  • No, you don’t *have* to speak.
  • No, it is not boring.

http://wiki.geekdinner.org.za/wiki/Cape_Town_July_2007

Also, if you want to keep up to date with the GeekDinner happenings, why not sign up to the GeekDinner Announce mailing list

J.

Nerds Rule!

Nerd, Geek, Hacker; The lines are definitely blurred and there are definitely people out there whose mind’s think differently.The older I get the more in-touch with my inner-nerd I become, and the more happiness that part of my self brings me.

What did you do last night. It was a typical saturday night, The revellers were revelling, the rabblers were rabbling.

And the geeks? Well, we were hacking. Firstly an attempt to fix a broken ICD (In circuit debugger) and then a lengthy conversation over dinner about the complexities of tracking supersonic aircraft with combination radars (one of the geeks works for an unnamed company that develops military radars.

Then the conversation moved to using solar flares to map a 3d model of the earth’s density, and then later still, a conversation about how to hack a pic into a remote controlled car and make it drive a set path. Next logical progression? A discussion about building control better control circuits and the maximum possible data transfer rate over FM, farm wide wireless sensor system for use on farms and why you don’t want to stand in front of one of the biggest radars in the world. The answer? Obviously because, as it spins quite fast, it is likely to know up side the head and leave you unconscious. Oh, and high powered lasers and an unfortunate incident inside a dam wall.

The point I’m trying to make is this is where I feel most at home. In the presence of other hackers. Kindred spirits. I love to learn constantly, I crave the knowledge and the outside-the-box, anything-is-possible philosophy that comes with it. Perhaps this is why I am so happy being a frog… you never know what’s going to be your next challenge and you know that there are bright people around to help you come up with a solution.

Anyways, back to last night. While somewhere else in cape town another group of 20-somethings were likely drinking themselves into oblivion and using their best pick up lines on other, just as alcoholicly-oblivious, females, we were plotting our next hack.

Someone said “Let’s distil the pineapple juice stuff”, or something to that effect. The pineapple juice stuff was something that my best friend’s house mate had “concocted” a while back. I think it is just pineapple mash, some yeast and some water. It definitely tasted like there was some alcohol in there.

Now, first I must be clear on something. We all drink. Occasionally we even drink to much. I have nothing against those who choose to drink themselves into oblivion. I’m sure they think our geek-hacker-nerd evening was just as much a waste of time as we think theirs was. To each his own.

Ok, so checklist: Digital probe thermometer, check. Boiling container, check. Tubing, check. Ice, container for ice, check. You get the idea.

So we set rig it all up in the most liebig condenser looking fashion possible (this is at about midnight) and do some test runs to make sure we can keep the temperature of a liquid at a stable 80ish.

I must point out that, at this point in time, the chemical engineer in the group is lying on a mattress in the lounge shouting the occasional instruction at us. She is not too concerned about the process, but rather that we don’t kill ourselves. In true geek form, her book is far more entertaining than a group of electronic engineers and programmer trying to make alcohol.

The kitchen at this point looks like a meth lab.

Moving on. Get the temperature up to 80ish, notice the tiny bubbles, see the viscous looking liquid condensing in the tube and running down all the way into the clean black cat peanut butter jar. Yup, the pinky finger test confirms, it kicks like meths (apparently someone knows what meths tastes like).

Now, in true geek form, after about an hour of distilling, and probably a little over 30ml of alcohol we all take the tiniest of sips and decide that the only logical next step is to pour the rest of what we have into a saucer, turn off the lights, and set fire to it. Awwww, pretty.

GEEK PRIDE!

ath.

Benford's Law

The other day I was part of a discussion regarding how to detect fraud in large datasets and I was reminded of Benford’s Law… it really is quite amazing.

Essentially the law states that in a large enough collection of naturally occurring statistics the frequency of the first digit will tend towards “1”. This holds true for things as diverse as house numbers and stock prices.

If a large set of numbers is generated by a psudo number generator to say, fake atmospheric pollution data, the resulting set of numbers will not adhere to Benford’s Law and therefore can be assumed to be fake. It is obviously a trivial exercise to analyse a large set of data and modify it to adhere to Benford’s Law.

The table from the wikipedia article shows the logarithmic nature of these numbers.

Leading digit Probability
1 30.1%
2 17.6%
3 12.5%
4 9.7%
5 7.9%
6 6.7%
7 5.8%
8 5.1%
9 4.6%

What does facinate me even further is the question: Would a large set of randomly generated numbers generated by atmospheric noise random number generators adhere to Benford’s Law, and if not, Why?. Surely if pollution data does adhere to the law then atmospheric noise, which is much like pollution, should too.

I think I might generate a large set of random numbers generated by atmospheric noise and have a look at it while I’m disconnected at the river this weekend.

I hope this puzzles you as much as it does me…

j.