· Naughties
· · 2005
· · · June
· · · · 09 (6 entries)

The Autobox of Death · Hmm, maybe I should have another blog for Java geeking. What happened was, I had an ArrayList<String> and for a variety of reasons I decided to turn it into a HashMap<String,String>. After I’d fixed everything up, I got the weirdest NullPointerException, and I traced it to a call that looked like (x is the HashMap)<br/> <code>if ((x.size() > 0) && x.get(0).equals(foo))</code><br/> and somehow the compiler had decided that get(0) was a reasonable thing to do to a HashMap<String,String>. Uh, strong typing, anyone?
COOL BIZ · Via <a href='http://jroller.com/page/Noniko/20050605#cool_biz'>NoniWeblog</a>, a pointer to the unsurprising fact that Japanese businesspeople are discovering the virtues of not wearing a tie; if you’ve ever been to work in a Tokyo summer you’ll understand why this is a good thing. But, in a uniquely Japanese way, they’re not just doing it, they’re <a href='http://news.yahoo.com/news?tmpl=story&u=/nm/20050601/od_uk_nm/oukoe_life_japan_casual'>mounting</a> an official government-backed campaign. But mostly I wrote this so I could slip in a pointer to <a href='http://www.env.go.jp/earth/info/coolbiz/'>this picture</a>.
Down & Out in Tulsa · If it seemed like <span class="o">ongoing</span> wasn’t there, it wasn’t. My host has a <a href='http://forums.serverbeach.com/showthread.php?t=5087'>dire tale</a> of cascading failure, but the weird thing is, when the site was down, <i>traceroute</i> showed the packets cascading into Williams Communication, where they struggled from Palo Alto to Santa Clara to Denver to Dallas to dusty death in Tulsa, Oklahoma. How unfortunate.
Royals 8, Giants 1 · We took in the game Tuesday night; here are some notes on the occasion, a nice picture of the ballpark, and a recommendation for an online ticket seller ...
NetBeans Notes · <b>Item:</b> For those of you who migrated from Emacs, you can easily teach NetBeans control-F/B/N/P/U/D: go to Tools - Options - Editor Settings - Global Key Bindings. Huge time-saver, and this should be the default on OS X, since basically every other text control has those bindings wired in. <b>Item:</b> I upgraded all at once to OS X 1.4, and Java 1.5, and NB 4.1 (from a release candidate), and a lot of JXTA libraries, and things are slowing down. I don’t like this; in particular I hit control-space for autocomplete or F9 for compile and it sometimes has to think for a second first, which is nuts. <i>[Update: Fixed it! I had stupidly put all the support libraries that JXTA needs to run into the compile-time list, so they were going on the classpath. Take ’em all out and it’s back to nearly instant.]</i> <b>Item:</b> <a href='https://coyote.dev.java.net/'>Project Coyote</a> is coming along nicely, and it’s increasingly obvious that dynamic languages on the JVM are going to be huge. <b>Item:</b> <a href='http://www.netbeans.org/community/articles/javaone/2005/nb-day.html'>NetBeans Day</a> at Java One looks like it’ll be serious fun. <b>Item:</b> (This is not NB-specific.) When I go grab a new API, it’s just way too much work to tell the IDE about it and get the jars and Javadocs in place. There ought to be a standard way to package a Java API so that you can point your IDE at some URI and it All. Just. Happens. <b>Item:</b> Here’s a nice feature, does any IDE have it? When I say<br/> <code>Ziggarut z = new Ziggarut(bricks, stones);</code><br/> then the IDE should figure out that that’s a <code>com.textuality.3d.Ziggarut</code> and insert the appropriate <code>import</code> statements for me, it’s a total waste of time for me to go poking around trying to remember where that was. <i>[Oops: NetBeans has “Fix imports”, Eclipse is pro-active about suggesting it, and the IDEA cult assured me (as usual) that they have something even better.]</i>
On Time · Its extent is fixed, inelastic. Some of the time you spend leaves a mark on the world, some not. Some is pleasurable, some not. Some is necessary, some not. The waste of time is the only waste that is irrecoverable, even in principle. But you gotta slack off sometimes or you’ll go nuts.
author · Dad · software · colophon · rights
Random image, linked to its containing fragment


I am an employee of Amazon.com, but the opinions expressed here are my own, and no other party necessarily agrees with them.

A full disclosure of my professional interests is on the author page.