Our son wants a puppy
|
Currently we have two cats that live with us; Bob and Sorcha. When our son Duncan was younger, he used to chase these cats everywhere and basically scared the bejesus out of them. They've never forgotten that. Now that he's older and not so wild, they just don't want to know him. |
He wants a cat or dog of his own. For quite a while now, we've been telling him that he'll have to wait until one of the two cats dies before we'll get another pet. Now it hasn't quite got to the stage where he's trying to push them down the stairs, but his patience has definitely gone and he was nagging us constantly. Over the weekend we broke down and said he can have a puppy.
Now we already have a "cat" flap that's just the right size for small dogs too, so we said he must choose a smallish dog so I don't end up being dog doorman.
My wife surfed to Animal Planet and showed him all the small dogs. He wants a chiwawa. Argh! I hate those dogs. There is a special place reserved in hell just for them. I know I'm going to end up walking this darned dog most of the time, so he needs to pick something that I don't mind being seen in public with.
We told him how yappy they are. And they bite you. All the time. It'll probably eat all of your toys too. So he's backed down from that, and we now just need to steer him gently in the right direction.
( Jun 21 2004, 06:09:58 PM PDT ) [Listen] Permalink Comments [1]
Kill Bill
I'm sure I didn't get all the references and in-jokes to the marshall arts movies from the 70's, but it thoughly entertained me anyhow. If you are looking for realism, this film isn't for you. You need to ignore the excessive violence (body parts flying everywhere) and just watch a master director getting off on what he can do well.
( Jun 21 2004, 12:19:10 PM PDT ) [Listen] Permalink Comments [1]
Java, now with builtin lint.
|
|
A couple of weeks ago, I got a chance to see Josh Bloch and Neal Rafter do one of the talks they will be giving at JavaOne this year. This was in the Auditorium at the Santa Clara campus, and was for Sun employees who might not get a chance to go to the conference sessions at JavaOne. The talk described the new features in J2SE 1.5.0 (which is currently available in beta2). |
Lots of great stuff, but something that caught my ear was that the "javac" command now has a -Xlint option that provides lint style output of your Java code.
Cool. So I tried this on JSDT, a Java collaboration toolkit that I wrote, just to see what it would pick up on. I always run lint on my C code, so it's nice to automatically have something similar for Java (yes, I know about Java lint but it's not quite the same thing).
Well first javac in J2SE 1.5 wouldn't compile my code because I was using "enum" as a variable name, and it's now a keyword in the language. That was an easy one to fix. After it successfully compiled, it started giving me lint messages. Lots of them. They boiled down to the following three types:
- warning: [serial] serializable class classname has no definition of serialVersionUID
- warning: [unchecked] unchecked call to addElement(E) as a member of the raw type java.util.Vector
- warning: [unchecked] unchecked call to put(K,V) as a member of the raw type java.util.Hashtable
Nothing life threatening, but they should be easy to fixup. Thanks for adding this facility to the compiler.
( Jun 21 2004, 09:50:51 AM PDT ) [Listen] Permalink Comments [4]
Links to my java.net posts.
I initially starting posting to a weblog on java.net. I like the blogs.sun.com site better so in the future I intend to just blog here. Also the folks on java.net want you to just talk Java (seems fair), so even though my posts would have been appropriate for a Java audience, I had intended them to be more general.
So I'm going to post pointers to them from here. Anybody interested can check them out.
- The Elements of Programming Style
Revisiting some of these elements 25 years on and seeing that they are still very relevant today. - When to release
Some thoughts on various things related to the release process for open source projects. - Extensible Open Source projects
How providing extensible functionality to your open source project can make it much more useful. - The ever-changing book buying process
How the Web has influenced the way I buy books and what can be done to find a bargain. - Open Source portability
People should think of open source code portability on two levels; system/library calls and graphical calls.
( Jun 21 2004, 06:59:54 AM PDT ) [Listen] Permalink












