Archive for 2004

Two things I hate about Java I/O

# 2004-12-08 12:04:13 -0500 | Java | 7 Comments

While I’m in bile-laden mood (see previous entry), here are two things I think were horribly mis-designed in the Java I/O API.

Weblogic 9.0: the wizzing devil

# 2004-12-08 10:47:17 -0500 | Java | 6 Comments

A friend (fiend?) pointed out that BEA’s new Weblogic 9.0 (alias “Diablo”) has a new mascot/logo.

OMGWTF!

How can a $1B Company produce such a horrible mascot; did they outsource their marketing department to a kindergarten? And “It runs like the Devil” is the slogan!? The BEA marketing department sat down, pooled their collective wit and creativity, and came up with… It runs like the Devil?!

And what’s with the jaundiced, fat-necked imp taking a wizz? Maybe in the fiery hell-hole it calls home light diffracts according to different rules, but in this plane of existance your shadow is meant to at least resemble the projection of your silhouette onto the ground. Can anyone say “MS Paint”?

This may all sound a bit harsh, and I’m not Picasso myself, but it is quite easy to find people that know how to knock up a good logo. Hell, even a cash-poor Open Source project can come up with good logos.

Firefox feature of the day (or: FishEye search from the address bar)

# 2004-12-02 09:08:33 -0500 | Java | 2 Comments

BPH put me onto this gem:

firefox feature of the day: in the fisheye “file search” box, right-click and select Add keyword for this search…. Add a keyword like cvs - now you can launch a fisheye quick search by typing cvs foo.java into the address bar :-D

That is an awesome feature (just typing cvs build.xml now takes me exactly to the file I’m looking for). And putting that option in the context menu for the text input box is quite intuitive.

You’ve been coding in Java too long when…

# 2004-11-23 16:35:56 -0500 | Java | 5 Comments

You’ve been coding in Java too long when you completely forget that C doesn’t have labelled breaks.

A quiet moment of project-size zen

# 2004-11-05 16:09:52 -0500 | Java | 1 Comment

A quiet moment of project-size zen:

    [javac] Compiling 404 source files to D:workfisheyeprojectsfisheyeuildclasses

You know you are a nerd when…

# 2004-09-24 10:13:37 -0400 | General | 3 Comments

When a friend is having internet connectivity problems and this is the IM conversation you have:

Lucene at Sydney GeekNight

# 2004-09-22 13:24:32 -0400 | Java | 3 Comments

I gave a Lucene presentation to the Sydney GeekNight/SyXPAC group on Monday. Apparently I was quite enthusiastic; which is not that surprising given the atmosbeer and my propensity to do a little hand-waving when presenting. And if your Lucene queries don’t execute in under 16ms, well, just blame the beer and not me. :D

I took a quick photo with my phone. It sums up the whole GeekNight thing nicely. Oh, and I’ve only just realized how SyXPAC should be pronounced… LOL.

We had a good turn out, and you gotta love the Squires. Will have to make the effort to drive down and attend more regularly.

Google is hipper than spud

# 2004-09-16 08:56:49 -0400 | General | 4 Comments

Now I know this confirms how far removed I am from youth culture (I turn 30 next month, after all), but I was wondering what exactly was referred to in that song “my milkshake brings all the boys to the yard”. The boys at work didn’t know, so I decided to see how hip Google is. A search [...]

My kingdom for some bandwidth

# 2004-09-03 17:12:08 -0400 | General | 3 Comments

We moved into our new house this week, and my ISP said it could be up to 2 weeks before the fuck knuckles get around to plugging me into the ADSL exchange. So I’m on freaking dialup! It is quite amazing how accustomed my wife and I have become to an always-on broadband connection. I had to dialup last night to check [...]

java.util.regex.Pattern StackOverflowError’s on (x|y)*

# 2004-08-27 08:57:53 -0400 | Java | 4 Comments

I’ve been doing a fair whack of regex processing in Java recently. I must admit that having a regex library in the language is very useful, and Java’s java.util.regex.Pattern implements a very complete regex library (all the “Perl5″ stuff, non-greedy quantifiers, Unicode character classes, etc).

So I was completely surprised when it started throwing StackOverflowError. The following code highlights the problem (reproduced on Sun’s JDK1.5.0-b2 and JDK1.4.2_01). Any pattern like (x|y)* (an alternative wrapped in a star) is implemented recursively by Pattern. Each matched alternative uses about 5 method calls on the stack.