Tuesday, February 28, 2006

Top chef uses iPod for Recipe Downloads

New Zealand Lamb has now developed the first ever realtime recipe, for free video or audio download.

Prepare meals with perfect timings along with super-chef Peter Gordon on your iPod.

Available for free download at www.TheUltimateLambSandwich.com.
Contact Lisa Holden Tel: 020 7734 4455. Email: lisah@attenborough.net


Mmmmmmmmm, my lunch seems pale in contrast.

read more | digg story

Thursday, February 23, 2006

We Are The Jurassic Beaver!

This CNN article fills this Canadian with pride. Sure it isn't really directly related to the beaver, and sure it lived in China, but any 160 some odd million year old Beaver like creature throwing Science into a kafuful is reason for this Canuck to be reminded that "We Are The Beaver." Which of course brings up the Ye Olde(tm) Arrogant Worms whose concert I recently (well a month ago) attended, and have really been meaning to blog about, I even said I was going to do it here.

Soon I promise!

Wednesday, February 22, 2006

Java Puzzlers: Traps, Pitfalls, and Corner Cases By Joshua Bloch and Neal Gafter

I just finished reading Java Puzzlers and thought I might try and collect my thoughts and write them up in some coherent form. First off, I found the book to be an enjoyable read; I don't think I have so thoroughly enjoyed a piece of technical writings since The Mythical Man Month by Fred Brooks, or perhaps Effective Java by Joshua Bloch. Bloch and Gafter's writing style is light, and effective, then don't belabour the obvious, nor glaze over important details. At times they stare down difficult topics with tongue firmly planted in cheek, they go so far as to offer a special appendix on their site that explains some of their puns and pop culture references.

At first glance the book appears to be an exploration of the more esoteric portions of the Java Language Specification; neither interesting nor particularly useful beyond novelty. While it would be practically impossible to use this book to solve a particular peculiar problem you are having, it is not intended to be used in that manner. Instead the book provides a fresh way to present AntiPatterns.

Each of the puzzles the book uses to explore the language comes in the following format:

Problem:
The problem is either in the form of a piece of code or a request for you to write a piece of code to solve a particular simple problem. You are then left to divine what the program will do.

Solution:
Naturally, and intuitively you will have deduced this is what the code will do, or this is the piece of code you were to write. Inevitably you are wrong, by mid way through the book you come to expect you are wrong and start second guessing your instincts, your second solution is still wrong. Don't sweat your ego, this is the point of the book, while the Java Language usually behaves, there are areas of the spec that would leave Kernighan & Ritchie sweating.

Real Solution:
Truth is revealed, and enlightenment comes, and we move on. This section explains in detail, and with references what is going on, what trick they trapped you on, and what change to the code would make it behave they way you expect (and likely would desire.)

Lessons for Developers:
This is the real diamond in the rough, if you follow the given advice you will keep your code out of the troubled spots. This isn't to imply that your post Java Puzzlers will be free of bugs, but perhaps those bugs won't fall into the subset of nearly impossible to identify. It is left as an exercise for the reader to create impossible bugs to puzzle themselves with. For those familiar with Effective Java, many of the patterns/antipatterns of this lesson section are reiterations from that book. As evidenced by the existence of this these mistakes are often repeated, so repetition of the solution can't be resented.

Lessons for Language Designers:
While less useful for us lowly developers, these lessons are very much patterns/antipatterns for language designers. Those of us in the coding trenches can only hope that they glean something from this section.

At the end of the book, they concisely summarize the developer lessons into a handy appendix. This appendix could easily be stapled into any developer guideline, or best practices document. Long after you finish the book, this set of lessons is a take away you can apply again and again in any application.

While this book is probably of greatest value to a Java Developer, many of the Antipatterns are language agnostic. The style really engages the reader, hopefully resulting in more knowledge retention then the typical technical read. Additionally the challenge style of the book may aid a developer in preparation for their Java 2 Programmer Certification, although I would recommend this as a study secondary source only. Finally, those with passing interest in the language, or with a history in it, while not actively developing, may get a kick out of it. I hope I have intrigued at least one person into picking up a copy and giving it a read, now that I have returned the library copy, I intend to pick up a copy from the bookstore for my personal shelf.

On a side note...
While clearly neither the core content nor particular educational value the book is filled with a few extras. For formatting reasons the book has many large white spaces, these are left to make sure you don't cheat, and think about a problem before reading ahead to see the solution. Instead of leaving the space blank, or filling it with such witty content like "This space has been intentionally left blank" or "This space has been intentionally left blank, ironically it isn't" the spaced are filled with graphical illusions. In addition to the illusions there is an interesting appendix discussion them.

Who is winning the console war?

Found this link a while back and it has been sitting in my draft bin since the 13th. So I figured I would publish it (there is a lot of good stuff in the draft bin these days.)

Anyways, my take on this, from a shareholder/corporate/profit perspective Nintendo is still doing great, and in a lot of ways that is what counts. Don't get me wrong, I like my XBoxes, but when you are a company whose only business is the video game business its important to do that business well, and apparently Nintendo still does.

I for one am hyped about the Revolution, I keep hearing all sorts of names attached to it, including the guy in charge of Halo, and rumors of a price tag that does not require selling children into slavery. The DS has out performed all expectations, and I know I still use mine.

Anyways, I thought 1up did a good job here, so I'm spreading the link, and just publishing something before everyone thinks I've disappeared.

Monday, February 20, 2006

Literacy Limps Into the Kill Zone

It's always interesting when one any persona takes a stand, especially when that stand is from the top of a soapbox. When the persona is an editor of a significant news outlet, and the target of his vitriol is his colleagues, and their effect, well, the results are down right literary.

It's rare for a journalist to admit to the power the wield, rarer still for them to condemn it, it strikes me as odd that I have found two such articles recently.

In this episode we join Tony Long, copy chief for Wired News, as he explores the English language's decent into the droppings collection apparatus (aka the shitter.)

Tony has a point, and while it is partially directed at inane blog writers, like yours truly, it is accurate. He explains that much of the problem started with the ease and speed of communication. As we effortlessly fire our messages across the ether, we not failing to think about the linguistic repercussions of our writings, we are failing to think about our writings all together. What we create he relates to other (non-fecal) bodily waste.


But it's not enough to simply vomit out of your fingers. It's important to say what you mean clearly, correctly and well. It's important to maintain high standards. It's important to think before you write.


With a liberal helping of blame and recrimination Tony admits that he is willing to allow English evolution, provided that evolution doesn't dismantle the expressiveness of our great language. He makes a specific note that I hits close to home for me, and that is about technical jargon. While I encourage a thorough reading of the article, I thought I would share out of concern for the horses.

Eternal vigilance is required to nip these encroachments in the bud. While tech jargon might be very useful among engineers and programmers, it should stay among engineers and programmers so as not to frighten the children and the horses.


After all is send and done, I do agree with Tony, and that is the English language is a very fertile field for ideas to germinate and grow into all manner of flowers and trees, things of beauty, and complexity, or simple elegance. Unfortunately, that field has become overgrown with weeds.

Thursday, February 16, 2006

Podcasts!

I know this is old news for most of the intrawebnetosphere, but podcasts are great! Succinctly, a podcast is an audio (or video) program which is published to an RSS feed. (Really Simple Syndication.) All of this is just fancy for XML document that points to a file. What's great about it, is you have this homebrew radio/tv stream out there, and a lot of great content. There are a lot of great tools to make podcasting easy to consume, iTunes being the one I use. From iTunes I subscribe to an RSS feed, and it automatically downloads and syncs new episodes to my iPod. Pretty great.

Anyways, I'm not here to reveal the ancient mysteries of the intrawebnetosphere, you all know the fung shui of the http. I'm just here to complete my end of the podcast social contract. You see, pod casters, like bloggers, are exhibitionist. They like to be seen/heard. So as an enjoyer of their broadcasts, I am beholden to share the podcasts I partake in with the world, or at least my little slice of the sphere. So here are the ones I listen to, with direct links to the feed, the itunes link to the feed, and links to the home page, and maybe commentary. I will, on an on going basis update a new podcast section in the right hand nav. Of all the links in the nav, this is a link for you, not me, so enjoy!

This Week in Tech (TWIT)
weebSubscribe via iTunesXML for RSS aggregators and podcast clients
This is the UltraGeek(tm) podcast, featuring, well ultrageeks, talking about ultrageeky things.

CBC Quirks and Quarks
weebQuirks & Quarks Podcast feed
Host Bob McDonald waxes scientific with a host of guests from universities around Canada and the world.

They Might Be Giants
weebSubscribe via iTunesRSS
This one is, well its TMBG, which by their very nature is weird, but I like it. The first episode is a must have for its stirring reprise of Triangle Man.

Barenaked Ladies
weebSubscribe via iTunesBNLBlog Podcast Feed
Technically, I just found out about this, so I am prognosticating is wonderment, I'll let you know how it works out. This is just further evidence to the bands internet preparedness I alluded to earlier

Tiki Bar TV
weebSubscribe via iTunes
JonnyJonny serves up Dr. Tiki's prescription for what ails you. Drunken foolery ensues. Technically I don't watch this on my iPod, but that is because mine doesn't do video. Still a must watch!

Well to steal a line from Leo Leporte from Twit, "another blog post is in the can." (apparently this does not mean the garbage...)

Freaky - The human Chimera

Very interesting. A woman who has a single body formed from TWO distinct embryos - Thus has two different gene sets in her body!!!

From a sight whose name is damninteresting.com here is something that is, well.... Damn Interesting! A women who is a Chimera, now the article points out, (things which my lovely wife has told me) that Chimera's do exist in the wild. This form of Chimera is just extremely rare, as organisms are more complex, this type is more likely to end in miss carriage. I think the best part of the story was how they discovered she was a chimera. Essentially her children were being genetically tested for a potential kidney donation, when one of her three daughters found out that she didn't share the same mother with her sisters. The mother on the other hand was distinctly sure of pregnancy and subsequent birth. One can only wonder the reaction if the genetically absentee parent was the father.

Damn... Interesting!

read more | digg story

Wednesday, February 15, 2006

Microbiologist for a day


As I mentioned here I recently went undercover as a Microbiologist to see what that culture was like. Now when I say culture, I really mean cultures of bacteria. I had a fun day at the lab with Erin this weekend, helping her get some tedious tasks done so she could focus on her work. I also got to grow these HappyFunBugs(tm) aka B. Subtilis.

Ski team utilizing Marvel-esque futuristic body armor

"A futuristic flexible material that instantly hardens into armour upon impact will protect US and Canadian skiers from injury on the slalom runs at this year's Winter Olympics." Looks like costumes for the next Marvel movie to me.


Wow reactive armour for people, this is great! The article further mentions possible applications in flexible ballistic protection. The world of materials science is pretty neat, I think I am in the wrong engineering discipline :)

read more | digg story

A Break From our Regularly scheduled Content to Bring you Hockey Hero Vindication, Grezky Style.

Article from the Winnipeg Sun that tells the truth, there is no Wayne Gretzky story, he has no involvement, and no one saying he does. Except the trial by media. Leave him alone!