Monday, December 22, 2008


Just finished reading Malcolm Gladwell's newest book, Outliers, and I was totally impressed with it. I haven't read Tipping Point yet but I did enjoy Blink, so I was looking forward to this one, especially after seeing the subject matter was ironically about successful individuals and the book came out at the time when so many American success stories are being exposed as frauds.

His thesis is that innate ability is not enough to get you to success, however you define it, which means that telling a child how smart he or she is constantly as a kid will actually do more to harm their future character and chances of success than not telling them at all what their real intelligence level is. Instead he cites example after example of people we all know of as huge successes, like Bill Gates and Bill Joy and the Beatles, and dig deeper into their background to find a crucial combination of unbelievable hard work - Gates and Joy would spend nearly all their time outside of class working on computer software, and the Beatles spend a few years playing for 6+ hours a night in Germany before they ever hit it big, getting more time playing shows together than most bands ever get in their entire careers -- and one more thing: luck. Joy and Gates, for all their hard work, didn't work anywhere near the orders of magnitude harder than a lot of young programmers to follow them to justify their success. Rather, they happened to be probably the very first people in the entire world who got to program interactively on a time sharing computer system, the first to come along after punch cards, and not have to pay for their time or compete with other members of a computer centre for precious little hours on the machine. So they had a massive head-start over their would-be peers, and were helped every step of teh way by fortuitous events. This isn't a bad thing, it has to happen that someone is the first to come along and do the pioneering work when a new field opens up, or a new genre of music in the case of the Beatles.

But the thesis of the book is that these are not extra-ordinary people who would have risen from any background to become the people they were just by their nature. That is the way the American individualist hero myth would tell the story. Instead, whenever you dig in and really see the breaks and good timing of birth and circumstances that allowed these people to have their hard work be meaningful hard work, that is what creates these great success stories. The last part of the book explains how other societies have ingrained meaningful work into their cultural psyche stemming from farming methods, and how cultural background can and should be actively studied and we should see what good and bad effects it has on one's ability to succeed.

The last section of the main text is yet another go at trying to address what's wrong with the education system in America, and I don't really buy his proscription that students should be put into super-intensive year-round schooling to keep them from forgetting anything they have learned. Perhaps a glance toward successful education systems in Europe would be a better place to look than radically extending the time a child must spend in school and doing homework.

Leaving aside criticisms of rote learning in Asian education, Gladwell is only talking specifically about math scores, and in that area Asian students are measurable, undeniably better.

I don't want the fact that Asian education is also far from perfect to obscure the fact that we can learn a lot from other cultures' approach to knowledge, though. My favourite bit from the book was something that reminded me of my own experience studying math, when he described a video of a woman figuring out using a graphing program that it is simply impossible to graph a straight vertical line.. that it is undefined. It took her a long time, 22 minutes, but eventually the idea came to her and she will have an understanding of how graphing, and division by zero, works than she ever could have gotten in the usual time teachers allow students to struggle with a problem. For me in University I had a very difficult time in the classroom with some concepts, so I had to take them home and I ended up graphing every single problem assigned to me, whether it was called for or not, out on paper, sometimes doing slight variants as well. In the end it took me a lot longer to do my math homework, but I could eventually just look at an equation and instinctively tell how it should look if it was graphed out.

That's the main key to success that Gladwell says is within all our grasps, if we just learn to work and work until we actually come to a meaningful step in understanding. Probably why I love tackling a difficult programming problem, even if I know I won't have the accident of timing of a Bill Gates.

Here's a CBC interview with Gladwell about the book, let him tell it better than I can: Link.

Labels: , , ,

By al - 9:36 a.m. | (2) comments | Post a Comment

Tuesday, December 16, 2008

"Where No One Has Gone Before"

Finally getting back to watching old Star Trek TNG episodes, this is the one with the Traveller in it. Awesome. I actually don't remember seeing this one more than one or two times on TV, so it always had a weirdly etherial quality to it.

Oh god Wesley Crusher is not 5 words in and I am already annoyed.

Love the shots of the old-school computer graphics and how they integrated simple graphics on top of lights to make it look complicaed. Amazingly it still stands up and doesn't look out of place. Very nice job.

Having Geordi as a lowly pilot and some random beardo as the chief engineer is all kinds of wrong. The actor is phoning it in pretty hard, too. I wonder if he knew his gig wasn't going to last.

Best effects of the early TNG run, for sure. Though the story behind the Traveller still doesn't make any sense, at least we get eye candy. I wonder what ever happened to the matt painting.

Haha, oh Data, you still haven't learned not to quote time spans to the millisecond. One of the more charming old tropes.

Silly Wesley quote: "you mean space and time and thought aren't as what they appear to be?" This Wesley as universe-travelling wunderkind thing could really have gotten out of hand had they persued this Traveller storyline any further.

Had to throw in some video of the sweet "let's pretend we're 2001: A Space Odyssey" moment for a while. I do so love the original-series-ish tension-building music.

The mentions of "rape gangs" on Tasha Yarr's home colony are totally out-of-place attempts at grittiness. Feels very tacky.

The crazy hallucinations the whole crew is experiencing are pretty awesome, mostly for the bad French-Russian accent from Picard's mother offering him tea and teasing him about the nature of space.

*sigh* the climax of this episode is for everyone on the ship to think happy thoughts so the Traveller can get the energy to bring them home. Endings were always the worst part of this series, this one is even worse than "reverse the shield phase arrays" bullshit, but they didn't really have much more room to do much else.

Oh Christ, this is where Wesley gets promoted to Ensign and gets that goofy rainbow stripey uniform. Great episode, horrible consequences.

Labels: , ,

By al - 12:04 a.m. | (1) comments | Post a Comment

Monday, December 15, 2008

Lucene Search Engine Fail

Lucene Search Engine Fail
Originally uploaded by Alexander O'Neill.

Lucene is Apache's search engine software project. You'd think they'd
trust it to search its own site.

By al - 9:06 a.m. | (1) comments | Post a Comment

Saturday, December 06, 2008

Always check for off-by-one errors

I just ran into a pretty basic error using a Drupal module, one that lets you post repeating events. Of course I just saw taht there was a release update and just threw it on the CHANCES Family Centre site I was working on without re-testing it. It wasn't until one of the site administrators tried to create a weekly repeating event and fortunately went to check the results that she saw there was a problem -- subsequent instances of a new event were appearing one day early in the week. This is a classic off-by-one error that every programmer on earth has made more than once in their time. ("Wait, should that less than check be a less than or equal to?")

Unfortunately when something strange happens many users think that it's a problem with something thy did and they just don't understand this big complex piece of software and they never will get the hang of it and blah blah blah. And of course no user of a site should be expected to go to a module's page and look at the open issues to see if anyone else is having the problem. My take-home from this is to be very wary of software module updates, and to not just trust something because it is an official release of a module.

Fortunately I have a good relationship with this particular client and was happy to put in a fix for them without too much trouble, instead of them just trying to muddle through posting events one day off intentionally, which is what users of commercial software that has a bug in it would have to do.

The classic double-edged sword of open source software development, a developer might be working on a bit of code to suit his own needs, and just not do enough diligent checks that he hasn't broken some other feature unintentionally. Drupal is finally getting into active automated testing, but this won't help you if you are using a module that isn't part of the mainstream set of actively-developed modules. Maybe all this is telling me to take up the mantle of contributing in more active and complete ways to keep the modules I want to use alive.

The slow hard but rewarding lesson of Open Source.

Labels: , , ,

By al - 3:58 p.m. | (0) comments | Post a Comment

    follow me on Twitter

    al's Links

      This is a Flickr badge showing public photos from dragonofsea. Make you own badge here.
    • (al)

    • Powered by Blogger