General

JavaOne Thursday & Friday Highlights

  • Probably the best session I have attended so far is the JavaPossie BOF, for those of you who don’t know what the JavaPossie is it is a podcast which is centered around java and I highly recommend it. I was very happy to finally see the show done in person.
  • The day started off with a general session from Intel, like AMD, Intel too is working with Sun to optimize the JVM for there platform so with newer versions of the JVM it should work faster straight out of the box, without you having to do anything !! hey that’s the sort of performance improvement that I like 😉 they claim a performance improvement of about 60% on existing hardware just using a newer VM.
  • Check out moblin.org , it is an Intel sponsored open source project. Also the atom processor, which is Intel’s smallest chip.
  • The Garbage-First Garbage Collector or G1 for short is the next-generation low-pause garbage collector that will be included in the Java HotSpot virtual machine. G1 will be the long-term replacement for the Concurrent Mark-Sweep (or CMS) garbage collector, Sun’s current low-pause garbage collector ( Presentation )
  • Scalable Non Blocking Data Structure, was presented by Dr. Cliff and all the code can be found on Source Forge the code is based on Lock Free algorithms. (Presentation)
  • Performance talk, basically any component in your system can become a bottle neck from Disk IO, DB etc. best approach it to address one issue at a time.
  • Pluse Live Scribe, was just too cool, it is a pen that runs Java.
  • Call of the Kings, game done in Java.
  • JMonkey a J2ee for games.
  • Esper for complex event processing.

Annoyances

  • To Sun: I came to JavaOne to improve myself and learn not for attending concerts, it would have been better if you spent the money on food. I was fed up of eating the same darn thing every single day !!
  • Coffee only available in the morning !!!!!!!!!
  • Half of the workstations disappeared on Friday
General

JavaOne Wednesday Highlights

  • The day started off with a key note from Oracle, tons of new features and improvements have been added to JDeveloper, check out some of the demos, it has everything built into it and surprisingly the demos were pretty fast (as you may know JDeveloper is built on Eclipse platform and the more things you add to eclipse the slower it gets), whatever juice they added to it seems to work, very good for developing JSF based pages, one cool thing I noticed was when you are using JSF you can choose how the components will be rendered like SVG or Flash. Also has a bunch of SOA related helpers a rules engine editor, database schema editor.
  • JRocKit is a 3rd party JVM, I heard about it a couple of years ago and didn’t pay much attention to it but it has now grown to be a very mature and good alternative to the Sun JVM for server side deployment. It comes from BEA which now is under Oracle, here is a white paper on JRocKit. It has extra functionality that help you debug latency and memory issues you can drill down into a running JVM and find bottlenecks in your code the eclipse plugin Mission Control can connect to a remote JVM and links to your code. I am not sure about this but I think you can get there own Garbage Collector which has tuned towards to real time systems, apparently the startup is longer but it is tuned for real time server systems.
  • Oracle Coherence : “Oracle Coherence is a JCache-compliant in memory distributed data grid solution for clustered applications and application servers. Oracle Coherence makes sharing and managing data in a cluster as simple as on a single server. It accomplishes this by coordinating updates to the data using cluster-wide concurrency control, replicating and distributing data modifications across the cluster using the highest performing clustered protocol available, and delivering notifications of data modifications to any servers that request them“- more .
  • Closures for Java, there are many proposals for it and BGGA is one of them they also have a prototype that you can download and start using. Do a google search and you will find a ton of stuff written on it. My 2cents it feels like putting a rear spoiler on a old Jaguar or Mercedes, these cars look real good if you want a Porsche (Ruby) just get one (Jruby), but I have not spent much too much time on it you have decide it by yourself. This maybe part of JDK 1.7
  • Java Performance and Profiling tools : A nice presentation that gave overview of each of the tools.
    • Visual VM: Seems to be the most interesting, some of the below can be added as plugins to VisualVm, read more here .
    • DTrace :
    • Sun Studio Collector
    • jps, jinfo & jstack
    • BTrace
    • GCHisto
    • jmap
    • jhat
    • jconsole
    • NetBeans Profiler
  • JMX update : New features that might be added to 1.7, Namespaces, Event service and annotations and query language. there will be one JMX Server per VM and everything else (like maybe your application server’s jmx server) will be registered under this one, this will be useful but I also think this could break some existing functionality like in Spring Jmx exporter. Event Service allows notifications to be received remotely. And a sql query like language to find the MBeans this was probably the one that got me most excited cause I really hate the way we now have to look up mbeans in a jmx console.
  • AMD the closing note was from AMD, like Intel the latest version of the JVM will now work faster on the AMD chips I guess all the chip makers are working with Sun to improve the performance of the VM on there chips. The HotSpot engine optimizer will recgonize which family of chips it is running and will automatically optimize your code to that chip. They also released a plugin for eclipse called amd code sleuth that will tell you what your code is doing the on chip so that you can better optimize your code. I did not find any link to download this plugin, if you find it please post it in the comments, thanks.

Annoyances

Wifi totally sucks here, come on Sun this is a developer conference and your theme this year is Java+U so what’s up with the crappy WiFi. Even tiny conferences like MountanWest RubyConf provided better WiFi.

General

JavaOne Day1 Highlights

  • The coolest thing I saw today was sentilla , I have been looking for something like this for so long and add Phidgets to it and the possibilities are limitless.
  • Sun wants to JavaFX on every device that runs Java from Mobile to BlueRay some of the demos crashed but it does look cool check it out here, I was not too impressed with the Key note I felt last year’s was much better.
  • Fortress a new language from Sun, Motto is Fortress should do to Fortran what Java did to C. Uses some functional programming paradigms written to run on top of the JVM still in very early stages, I seriously doubt if this will take off syntax was weird who well it will inter operate with other Java Libraries is still to be seen.
  • More Effective Java was awesome !! I am definitely going to get the new edition, revised and a lot of stuff rewritten.
  • You can get a free edition from MapQuest to develop your own MashUps and do cool stuff.
  • Cacheonix is a new Cache Product Find a bug and get a free License!!
  • To get GeoSpatial information on Wifi devices Sky hook was recommended to me.
  • Use OpenGeo.org or DeCarta to do maps and mashups instead of using from google and friends since there are no restrictions and will always be free and will never add Ads.
  • Intel is collaborating with Java to make the JVM highly optimized on Intel architecture out of the box. Link
  • Fork/Join and JSR 166 for all the new concurrency features in 1.7

Annoyances

  • They ran out of Veggi food !! and then they ran out of place to sit and eat !!
  • Some Speaker blasted through the sessions and since they do not give out hand outs like the NFJS guys it is hard to follow.
  • The download link for the presentations is broken!!

Check Me Out on YouTube

General

A Seti for the Human Brains

Do you know what the Seti for the Human Brain is ? it is the TV (read this) thousands of hours of brain cycles waisted. How can we utilize these waisted cycles ?

We need the brains to rest after a full day, but at the same time we need entertainment, so I propose we make a game like warcraft or something like that where people can put interesting questions and others can come and try to solve it. It doesn’t have to be all solving equations but maybe by moving objects around someway to represent interesting problems in a game that will have some actual value in the real world.

General

Free Source Code Repositories

If you are looking to host your project in some repository , I would highly recommend Assembla , they not only provide you with a free account with 500Mb space to start off, but also provide you with a team group chat, blog, task tracker, bug tracker and a whole lot of other features. You also have a choice of using SVN/Git/Mercurial and their paid subscription with which you get 5gig of space is only $12 a month.

GitHub also gives you a free account of 100Mb but it is not Private, with Assembla you have a choice of making it private or public.

I found a lot of places (including google code) that let you host your project IF it is an open source but not too many ones for private, if you know of any other good ones please post in the comments.

General

Dilbert Comic

This is so true at my present employer ! I dread the annual security audit we have to fill out why we still need access and then cross our fingers in the hopes that they do not mess it up , which they will and then pain for 3-4 months.

General, random thoughts

Monday Morning Blues

Man, it was an hectic weekend now I am tired my eyes are droopy and I am drinking a cup of joe to get a jump start. Can’t complain the weekend was a blast.

Anyone read Dilbert ? http://dilbert.com/comics/dilbert/archive/images/dilbert2008031349276.jpg if you have read code complete or programming pearls you will realize that “measure twice cut once” does actually work. I think programmers are by nature intelligent. Sometimes we just get carried away by the excitement of the very first idea we get and since we are so optimistic we just keep working away at it till it is a big mess. If we could just train ourselves to be a little lazy think twice before we code it would result in great software.

Most reservations systems written in the 70s are still around, most of the big mainframes still around with old code. But new projects new code keeps dying (take Vista for example) maybe those old timers had it write, document flow chart…. before you code. The more agile we get the worse things seems to be, agile now sounds like a four letter word if you ask me. What ever the original meaning was is lost, sailed away into a black hole. Now Agile means we can do anything in whatever amount of time.

Anways enough of that.

Fork: Why did they call if that ? Not that I have anything against it, it actually sounds pretty cool. They could have called it “Create another process” CAP now that would have been lame. Good they went with Fork, but still how did they think of that name if you know leave a comment.

Brain Fork. I know brain can do more than one thing at a time, I can eat, talk and drive a stick shift at the same time 🙂 wouldn’t it be nice if we could fork a process in our brain and assign it some thing to think about hmm maybe our thread pool size for thinking is limited to one.

Ok better get to work now 😦

General, random thoughts

Random Musings

  • Started using NetBeans for ruby development after a colleague pointed it out to me, so far I am quite happy with the choice.
  • Just finished listening to Rubiverse Podcast on Zed Shaw leaving ruby it is very interesting and I would recommend you hear it, if you have read Zed’s Rails is a Ghetto rant.
  • I love VIM
  • Why is Outlook so slow and if that was not enough my workplace adds more stuff on top of it. I really hope they open up IMAP so that I can use any email client. You know what email client I really like, “Pine” and I also like gmail.
  • Not going to this year’s Rails Conference, I felt let down by last year and I just looked at the schedule for this year and I don’t think I am missing much.
  • I feel really sorry for good programmers who have become nothing more than email processors, so much talent waisted.
  • Every time you attend a meeting a small part of your soul dies compensate it with equal amount of hacking.
General

The Big 31

Sorry for not writing, lately I have been caught up in my head.

This past Jan 26 I have turned 31 years old, Jan 26th is also the republic day of India, while growing up this day was a guaranteed holiday :-). But what really made the day special was my Dad, he would spend a lot of time with me on this day, buy me presents and always be nice to me. It was probably the one day out of the whole year when he gave me a break, rest of the time he was a drill Sargent riding me.

He passed away four years ago, birthdays have never been the same since it’s just sad now. There are so many times I wish I had more time with him.