" /> kasia in a nutshell: June 2005 Archives

« May 2005 | Main | July 2005 »

June 29, 2005

The good, the bad and the annoying: being female at JavaOne

There are probably a 100 females at this entire conference, but I only speak for myself, so no need to agree with me if you're one of them.

  • I feel like a leper in many sessions.. people squeezed in chairs but nobody sits next to me until it's absolutely necessary. I know I'm female.. but honestly! It's not contagious!
  • Random people who think I want to be hit on just because I'm sitting somewhere and resting/relaxing.
  • The ladies room is nearly always empty and quite clean -- that's nice.. maybe I should just hang out in there instead of the lounge.
  • The most annoying of all: random people taking pictures of me.. what the hell, I'm not a conference attraction.

June 28, 2005

JavaOne: vaguely unrelated to the keynote I'm watching

Ask any JavaOne alumni (I hate that word) and they will tell you: only the first general session is actually worth going to.. everything else is boring, repetitious or just a sales pitch. Granted, maybe not "any" alumni but only the more jaded, cynical ones.. but still it's something that you might hear often from one of the thousands people milling around the hallways with orange "alumni" badges.

Personally, I've concluded that watching the keynote from the stairway outside the hall (where I'm sitting right now typing this) is a lot more exciting than in an uncomfortable chair in a dark hall. I'll add a picture of all the like minded people later when I can find my usb micro drive adapter. I think it's in my suitcase.

Whoever is the person writing this weblog is right.. my other JavaOne entries totally suck.. and I'm not ashamed to admit I'm using my blog as a personal notepad.. so pffft. I do wish that people put up "about me" pages or at least mentioned their name somewhere on their weblog so I don't have to refer to them as "whoever is the person.." when linking to an entry.

Things that JavaOne needs more of: power outlets.

Edit: well, I totally screwed up that picture.. don't ask.

June 27, 2005

JavaOne Notes: xml performance

The whole session (well, the half I sat through anyway) can be boiled down to "don't use dom, use JAXB, it's more efficient".. duh.

JavaOne Notes: Mustang and Dolphin

Disclaimer: my notes aren't meant to be complete -- they essentially reflect the parts that I'm interested in.

  • Version number change. There will be no release 5.1 and release 6.0 becomes release 6 (Mustang) and the next release will be 7 (Dolphin)
  • Mustang - third quarter 2006, Dolphin - first quarter 2008.
  • Release cycle: 18-24months for feature released, no more maintenance releases and update (bug fixes) releases will now be every 2-3 months.

Mustang JSRs:

  • 202: class file update. Primary change: split verification adopted from J2ME platform verifier checks compiler generated assertions instead of generating and checking assertions itself.

  • 199: compiler API (just what it sounds like)

  • 269: annotation processing (ToDo annotation, cool!)

  • 260: Javadoc Tag update

  • 221: jdbc 4.0. Drivers will now just be in a jar file, no more explicit class loading, the manager can just get a connection.

  • 223: scripting - mustang will include the Rhino javascript engine (finally, a connection between Java and JavaScript)

  • 105: xml digital signature

  • 173: Streaming API for xml

  • JAXB 2.0

  • JAX-WS 2.0 ( &181 &250)

Mustang builds are available online: http://mustang.dev.java.net.

Smaller features:
@SuppressWarnings("deprecation") - (yay!)
classpath wildcards (finally)
dtrace
improved OutOfMemory handling -> more explicit messages and a stack trace
improved performance

Dolphin
JSR277: Jar files: sharing, isolation, versioning, native code, composition, dependencies (sounds great).

JavaOne Notes: Fireside Chat with James Gosling

Disclaimer: my notes aren't meant to be complete -- they essentially reflect the parts that I'm interested in.

  • There will be no partial Java distributions to minimize size (ie: java w/o swing, etc)
  • JAX-RPC becomes JAX-WS. Heavy use of annotations, analogous to Indigo (MS)
  • DOM is not going away and it will not be deprecated
  • We will not likely see OSX JVM from Sun directly due to JVM porting for an OS (as opposed to an architecture) is more expensive
  • The Hip^h^h^hGosling oath: First do no harm - deprecated methods will never go away (to preserve compatibility), some may be undeprecated

June 24, 2005

Packing for JavaOne

I'm off to JavaOne this weekend.. too many sessions, too little time. Am I the only one who wishes there were more hours in the day for this one?

I'll be sure to boo Dennis Miller.. if I make it to the bash.

.. and if anyone has a copy (or knows where I can get it) of the Cisco vpn client for osx, let me know? It would help me out as I really will not drag two laptops with me.. [update: got a copy, thanks a lot!]

June 14, 2005

Using google for good not evil

Having good google ranking is often useful :)

June 13, 2005

Eclipse: convert tabs to spaces

If you recently upgraded from Eclipse 3.0x to 3.1x (as I have) and enjoy using spaces instead of tabs (as I do) then you might have discovered (as I have) that the option appears to have vanished from editor settings in preferences.

It took me a while (about 5 annoying minutes) to find it..


Window->Preferences
Java->Code Style->Formatter

Hit "edit"

Under "General Settings" uncheck "use tab character"

Apply.

If you were using the default formatter, it will ask you to save it as a new one.

That was obvious, wasn't it?

June 09, 2005

What do you call satire that isn't..

This really should be satire.. it just sounds so perfect.. but what makes it really funny is that it's not. All I can say is.. "wow".

"John Lennon said the Beatles were more popular than Jesus. No argument, it was true, they were. Well, even though the vast majority of people have never heard of Steve [Gillmor] or myself, we're more influential than John Lennon or Bob Dylan ever were. We're media hackers."

[via gmsv, via Jeremy]

Here's hoping it's an experiment to see how many people pick up the quote and make fun of it.

June 08, 2005

Obscure code of the week

Not so much obscure as just.. well.. bad.. or more of the "what the hell" category.

(context: in a catch exception block, e being the Exception being caught)

object.setResponseError(new Integer(e.getErrorCode()).toString(),e.getMessage());

*blink* For just one line of simple code, it sure grabbed my attention.

June 06, 2005

Bad drive + flaky raid = unhappy server

Nevermind.. have it sort of figured out..

(One bad drive + one semi-bad-drive-flaking-out-in-a-weird-way for those who really want to know what I was babbling about in here.. )