Monday, July 31. 2006Sir Ken Robinson on creativityKathy Sierra recommends this fabulous video of Sir Ken Robinson discussing creativity and our education system.
Sir Ken Robinson is author of Out of Our Minds: Learning to be Creative, and a leading expert on innovation and human resources. In this talk, he makes an entertaining (and profoundly moving) case for creating an education system that nurtures creativity, rather than undermining it. (Recorded February, 2006 in Monterey, CA.) Saturday, July 29. 2006The mystery of ruby on OS/XWhen OS/X 10.4 was released, it shipped with a broken version of ruby. Ruby on Rails doesn't play nicely with that broken version so everyone doing rails work has had to install a newer version on their machines.
Apparently, in 10.4.6, Apple upgraded the version of ruby from 1.8.2 to 1.8.4. I've heard that this new version does play nicely with rails. I say "apparently" because my machine (running 10.4.7) does not have this newer ruby and I'd like to know why not. My machine still reports it's ruby version as 1.8.2. I just received confirmation that a friend of mine is also seeing ruby 1.8.2 on his machine. He is also on OS/X 10.4.7. I've searched for this via google and not found any answers. I can't references to any machines with OS/X 10.4.6 or 10.4.7 that have not been updated to the new ruby. I can think of a couple of possibilities. It's possible that 10.4.6 fixed the problem and then 10.4.7 reverted back to the old version. It's possible that the fix in 10.4.6 might only have applied to PowerPC Macs and not to the new Intel Macs. It's possible that something else I installed (XCode for example) might have reverted ruby to an older version. Thursday, July 27. 2006IT organizations as monopoliesPrashant Gandhi has a fabulous analogy for corporate IT shops.
Most IT organizations are structured to become a monopoly within the firm and like monopolies are wont to do, they start taking their position for granted. They become large, expensive and slow in response to their customers i.e. the business. Arguably, this hurts the firm's competitiveness in a big way. Wednesday, July 26. 2006HtmlUnit now using Subversion (SVN)HtmlUnit has switched it's source repository from CVS to Subversion. If you had the source checked out previously then you'll need to check it out again.
Thanks to Brad Clarke for converting the repository. You can check out the latest code with this command. svn co https://svn.sourceforge.net/svnroot/htmlunit htmlunit Sunday, July 23. 2006Getting us to spend more moneyHere's an interesting article on the psychological tricks used by stores to get us to spend more money.
If you like this then I'd recommend Influence: The Power of Persuasion by Robert Cialdini which covers the same kind of material but in much greater detail. Thursday, July 20. 2006Real estate investingFast Track to Cash Flow is holding an evening session on real estate investments next Thursday. This should be interesting so I've registered.
My son has been showing a real interest in the Cash Flow games so I think it's time to pick up a copy of Cash Flow for Kids. He's really intrigued by Cash Flow 101 but the rules and the math are far too complicated for him. The Fast Track events usually have the Cash Flow games for sale at their events so this is likely a good time to pick up the kids version. Monday, July 10. 2006Good variable namesIf you're like me, then you might have a negative reaction when encountering Java™ code like this:
private int zero = 0; You might think that naming a variable for it's value rather than it's purpose is a mistake. You might consider calling it initialCoffeeCount rather than zero.You might also think that it should be made final so that you can't accidentally change the value. Obviously, something called zero must only contain the value 0, right? What then, do you think when you find this farther down in the code? zero = 1; Saturday, July 8. 2006Dashboard widget - Canada 411I just discovered this OS/X dashboard widget for seaching phone numbers (business or personal) through Canada 411. The interface is really polished and I'm quite impressed. I suspect I'll be using this a lot.
Friday, July 7. 2006BuildixSetting up a build server for a new project can often chew up a lot of time. Some Thoughtworkers have come up with a live CD that allows you to get up to speed really quickly. The project is called Buildix and sounds really promising.
Chris Read introduces the project on his blog and Martin Fowler has some more details. Tuesday, July 4. 2006Ruby constructorsElliotte Rusty Harold writes about the ten things he hates about Ruby. For the most part, these are just personal preference and I'm not going to debate them. I find his first 'hate' interesting so I'll talk about that one.
To create a new object in Ruby you invoke the new class method like so: c = Car.new("Toyota")Naturally you think the constructor would be defined in a method called new, right? Or just maybe a method called Car like in Java? But no, instead it has to be called initialize like this: class Car Would this have been so hard? class Car Giving the constructor the name of the class is such a horribly unintuitive approach to naming. The C family of languages have forced us to use this pattern for so long that it's started to feel natural even though it isn't. It would be much cleaner for all objects to do their initialization in a method of the same name. And given that we're going to have one of those, calling it initialize() actually seems like a decent idea to me. I remember first learning about constructors in C++ eons ago and thinking that it was a horrible convention to use the class name to represent the method that performs initialization. I'd forgotten about that initial reaction to C++ until reading this blog entry. As for calling the constructor 'new', that's clearly not right. 'new()' is the class method that creates the object, not a method on the new object that will perform initialization. Monday, July 3. 2006Great Blue HeronsThis weekend, we have had more (and better) Great Blue Heron sightings than we've probably had all combined up till now. Every time we turned around, there was another one flying by.
We were staying at a cottage in the Kawartha Lakes region (near Peterborough) for the long weekend. The herons were clearly the high point although we saw quite a variety of other birds along with some muskrats and a group of white tailed deer. |