Friday February 01, 2008
JavaOne submission acceptance letters - and rejection letters - starting going out last night. This year, I was on the review committee for one of the tracks, so I got to see the proposals as well as the reasons for rejecting many of them. I thought I'd write these up, both to explain to the many submitters what might have gone wrong, as well as to give some tips for how to improve your chances next year. I'll probably link back to this post around the time submissions for JavaOne 2009 open up later this year.
Finally, work one one strong submission rather than submitting 5-10 half-baked ones; just adding lots of abstracts does not help your odds given my points above about the low number of available slots; each submission has to be fantastic.
(2008-02-01 12:59:41.0) Permalink Comments [3]
Saturday January 05, 2008 Ruby 1.9 has been released. It's a "development" version meaning that you wouldn't want to use it in production, but now is a good time to learn the new ways of doing things such that migrating to Ruby 2.0 will be easier.
Via Ruby Inside, I read James Edward Gray's recent blog entry detailing the work he did to update his library to 1.9 - and a number of people leaving comments are also pointing out language changes.
One such change mentioned is case/when statements not allowing colon as a separator. (I don't see this in Ruby Changes Wiki - does anyone have a source for this?). Seems like a a good candidate for a Ruby quickfix:
There are a couple of available fixes:
The first one is just replacing the colon with a then:
The second fix is instead putting the statement on a separate indented line:
Another language change I found in Sam Ruby's post is that you cannot write hashes as lists anymore. Here's a quickfix for that - first the code, this is from webrick's httpstatus class:
The quickfix is attached to the first list entry in the hash:
And previewing the fix shows the following proposed edit:
As usual, the NetBeans Ruby forums can be accessed via Nabble here and Gmane newsreaders here (other feedback channels here). (2008-01-05 12:36:49.0) Permalink Comments [9]
Tuesday October 02, 2007 If you're on OSX, and you've experienced NetBeans 6.0 beta crashing on you, read on...
Right before beta1, we tweaked some of the Java VM startup flags NetBeans uses. In particular, we switched to the "Concurrent Mark Sweep" (CMS) garbage collector, which has a nice performance profile for IDE usage, since collection happens mostly in parallel so you don't get noticeable pauses.
Unfortunately, it turns out that these flags cause a lot of problems on OSX. In particular, they cause frequent virtual machine crashes!
Knowing this, for beta2 we've turned off those flags when running NetBeans on OSX. But that doesn't help you if you're trying to run beta1... Luckily, it's easy to fix it yourself, since the VM parameters are specified in a text configuration file.
First, open the netbeans.conf file. On my Mac, I installed NetBeans in Applications under NetBeans, so the file is
/Applications/NetBeans/NetBeans\ 6.0\ Beta\ 1.app/Contents/Resources/NetBeans/etc/netbeans.confThe file contains this:
# Options used by NetBeans launcher by default, can be overridden by explicit # command line switches: netbeans_default_options="-J-client -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled" # (Note that a default -Xmx is selected for you automatically.) # For JVMs which does not support Concurrent Mark & Sweep garbage collection # algorithm remove "-J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled # -J-XX:+CMSPermGenSweepingEnabled" part of options # (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)
Remove the bold section above; in other words, remove these 3 flags:
-J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabledNow when you restart the IDE should behave better.
Tuesday July 24, 2007 Roman and Gregg interviewed me in the latest episode of the NetBeans podcast.
Here are the shownotes from Roman's blog:
The episode is here, subscription is here.
(2007-07-24 12:43:19.0) Permalink Comments [3]
Monday August 16, 2004 I work on the Sun Java Studio Creator product (formerly, and by the development team fondly) known as "Rave". (Well, when going public with it last spring we had to rename it "Project Rave" to avoid trademark issues.)
I'm responsible for the visual page designer, as well as the navigation editor.
On this page I plan to post Creator-related news and thoughts - as well as any other random things I want to say. Tune in if you're a Creator user, or if you haven't tried it yet, head over to www.sun.com/jscreator.
(2004-08-16 21:45:25.0) Permalink