# Older blog entries for dcoombs (starting at number 74)

19 Apr 2005 (updated 19 Apr 2005 at 16:07 UTC) »
Glee

I just discovered that Google Maps now covers the United Kingdom, and practically wet my pants. Their map of London is very, very, very nice. Note the prominence given to Tube stations.

sfllaw and I decided that it would be cooler still if, in addition to map and satellite, they added some sort of transit view for major urban centres, which would show subway and bus routes. (Bonus points if they can do transit directions showing transfer points and whatnot!) We've submitted a feature request.

24 Mar 2005 (updated 25 Mar 2005 at 00:05 UTC) »
Rapid Prototyping Contest

Well, I ask you: why shouldn't we stick a bunch of PHP code into a UniConf tree, eval() it in weird ways, use the same tree for storing meta-information and state, and call it a webconfig GUI? Is that so despicable?

That's exactly what Peter and I did with Mich and Adam the last couple days, and how did people react to our technological marvel? They called us names. Bad names.

Well.

I think it was a pretty successful contest, though. We removed much of the competitive nature this time, and I think it was a good idea. All the groups churned out some impressive stuff in a pretty short time. And even the horrifying stuff that Peter and I produced at least worked.

Math

What does one do while eating a falafel with NITI friends on St. Patrick's Day before heading to a pub for a couple drinks? I don't quite remember why, but pmccurdy, wlach and I decided to determine how many times you would have to fold a piece of paper in half for it to reach the sun.

We were quite sure the sun is eight light-minutes away, and assuming the sheet of paper is 1 mm thick (unlikely, yes, but it made it easier), we figured in our heads that 47 folds ought to do it.

Challenges included: (a) a magnitude error that rendered the sun somewhere in between the earth and the moon, and (b) eventually having to estimate the base-2 log of 144 trillion.

But we succeeded, and then made plans to win lots of bets with drunk people.

If one were to actually do this, I imagine amusing things would happen to the earth's centre of gravity, and things would start falling slightly sideways.

Also, upon reaching the sun, your paper would catch fire.

19 Feb 2005 (updated 19 Feb 2005 at 00:23 UTC) »
In memory of Deniz Sarikaya

Take care of yourselves and your friends, everyone.

Time Capsule

For years I have saved the September 1996 issue of Air Canada's in-flight magazine, because apenwarr and I, for reasons that have long since become irrelevant, are pictured in it.

This issue featured several articles about the high-tech world at the time, and I now find it highly amusing. There are short articles about Michael Cowpland and James Gosling, back when Corel and Java respectively both held promise. Remember that?

"Many executives are still a little skeptical about the Internet. They believe their companies should be on-line, but they are not sure why." Remember that?

"The word 'travel' appears in more than one million World Wide Web sites, which is daunting enough to discourage even the most intrepid cybernaut from searching for information." Remember that? Google gives me 322 million such sites now, in a relatively non-daunting manner.

"Will e-mail make people more or less literate? More, I believe, but I don't know for sure." Jury's still out, I think.

"Even if Explorer is better than Netscape and the PR more obnoxious than Windows 95's, smart money has it that people will stick to what they know: Netscape." That was back when Netscape had 80% of the browser market share.

Miscellanea

Good luck in all your post-monkey endeavours, louie!

I will be in Toronto next Friday and Saturday, and then in Waterloo until the following Tuesday. Anyone who wants to meet up is encouraged to give me a shout.

Tonight is the first meeting of the NDG Dining Gastronauts.

Ow

Context: I am wearing frictionless socks. NITI's office has Ikea wood-ish floors.

I am hyper. Hyper people sometimes run. Running people sometimes turn. Turning people with frictionless socks sometimes look briefly like cartoon animals (whappita-whappita) before losing it and smashing their faces on smooth Ikea flooring. People smashing their faces on the floor sometimes dislodge computers and furniture, but fortunately don't seem to break any bones.

Witnesses tell me that the entire sequence was hilarious. I am inclined to believe them.

Brains

I went to see a movie yesterday, and discovered something neat while watching the pre-movie slideshow. They have these trivia questions about actors where they give clues next to a pixelized mosaic picture of the actor's face, and with eachclue the mosaic gets a little less coarse and more recognizable as a human face. Hopefully you know what I'm talking about.

Anyway, it so happens that I am rather nearsighted, just like almost everyone else in this industry. I found that an unrecognizable jumble of coloured squares, when viewed without my glasses, looks just like a human face. My brain started filling in all sorts of features (hairstyles, noses, ears) that, I swear, could not possibly have been represented with squares as big as they were using. And subsequent finer pixelizations showed that my brain was almost never wrong.

I flipped back and forth, glasses and no glasses, about ten times per picture, and was amazed how much more detail I could "see" without them. Crazy.

So today I tried to reproduce this effect using GIMP. I took a picture of my face and pixelized it until it was completely unrecognizable. Without glasses, *poink* there I am. Excellent. Glasses on, I tried various ways of blurring the image. Results were disappointing. It looked more recognizable than without the blurring, certainly, but I wasn't getting the same amazing interpolation my brain is apparently capable of.

Why? I don't know. Magic, I guess.

Oh, and the movie was excellent.

Merry Christmas to all who celebrate such things, and good times with friends and family.

I am now the proud owner of a Chicken Chucker, which bears a strong resemblance to my Sanity Gun in terms of size and ergonomics, but catapults little plastic chickens instead of shooting little sanity darts.

Moral of the story: It's a good thing my brother and Mich aren't archenemies with super powers.

My Psyche Begs for Ridicule

I had a dream last night in which I had entered a programming contest, and arrived to meet my teammate and get the computer going. My teammate, wearing a white sparkly suit, matching hat, and big fancy glasses, introduced himself as "Hootie", presumably of Blowfish fame. Having never realized he could code, and being quite unsure my friends would believe me, I grabbed for my camera to take a picture and found that my lens, suddenly made of cardboard, had been thoroughly squished in my bag and was now quite useless.

Moral of the story: Life actually makes more sense when I don't sleep.

I Emerge Triumphant

The crash that had been plaguing me lately is gone. Some unnecessarily convoluted code was writing past the end of a string every time. Electric Fence and Valgrind on a little test program both caught the problem right away; the hard part, as always, was knowing what to make a test program out of.

Fixed by using WvString and removing pointless complexity.

Moral of the story: Let Hootie find the buffer overruns next time.

Valgrind

Several people have written to me with advice on tracking down my annoying memory-stomping crash; thank you all. The majority have recommended Valgrind. This is something I had already considered, but I've been delaying it since I know it'll be even slower, which actually does cause problems, and other people have told me they've had trouble valgrinding on our system before, presumably due to our rather minimalist distro and heavily patched kernel. I will try it myself soon.

apenwarr had an interesting idea: make every function virtual, where possible. If we're accidentally stomping on objects, adding a vtable at the beginning of every object (or making the vtable bigger) should increase the chances of crashing, and hopefully help localize it. As an extra bonus, this will run only fractionally slower than usual, instead of orders of magnitude slower. We'll see.

Hawksley Workman

Refreshingly original, and completely in comfortable control of his stage presence. He riffed an apocalyptic ode to his water bottle, invoking his new god Naya to rescue a little fish. He took shots from a little plastic bottle of Buckley's mixture (Canadian readers will appreciate this) to ease his ailing throat, randomly claimed the show was indeed sponsored by Buckley's, and introduced himself as Bucksley Workman. His affectations are hysterical, his voice strong and uniquely crunchy, his falsetto smooth. And I haven't even talked about the songs.

A hearty BOOOO to my brother for mistaking the time of an exam and having to miss this.

So Very Boring

Running a gigantic C++ program with Electric Fence is heart-wrenchingly, bone-crushingly, soul-suckingly, watch-glancingly, jaw-droppingly, mind-fsckingly slow. And it's not even really helping me find the crash I'm looking for. Said crash is seemingly unreproducible on any box other than the one that really matters, happens only a couple times a day if at all, and is very clearly a memory stompage that manifests itself in the exact same place more often than not. But where is the stompage? You'd think this would be easier.

Short-term Future

Tomorrow, by which I mean later today, I shall have my appearance altered, I shall do much assorted running around, and I shall see a Hawksley Workman concert.

The other tomorrow, by which I mean Friday, I shall board an airplane.

Long-term Future

I shall pursue a life of garish excess, featuring music, wine, books, adventure, companionship and riches, traveling the world in a modest but nimble watercraft made of handsome spruce and adorned whimsically with ostrich feathers, and ultimately be captured in a tragic misunderstanding and die at the hands of a merciless evil villain sporting the most ludicrous moustache you ever did see, all the while whistling a happy tune.

65 older entries...