Download NetBeans!

20070516 Wednesday May 16, 2007

Father of Java, Father of Dork

A cool pic from NetBeans Day 2007, San Francisco, the day prior to JavaOne. Left to right on the stage: Bob Beasley, father of the Dog Oral Reward Kit (D.O.R.K.) and James Gosling, father of Java:

Below them, me. What am I doing? (In fact, what are we all doing there? What are we looking at? This could be a surreal caption competition. Or perhaps a "Spot the Ball" competition. Don't worry though, a competition comes up later in this blog entry.) I am demonstrating my hurriedly thrown together NetBeans Movie Player, created in Prague airport, in Amsterdam airport, in mid air while flying from Amsterdam to San Francisco, and (with a certain degree of desperation at that point) in my San Franciscan hotel room on the night (and early hours) before NetBeans Day. (Reasons for all this desperation are recorded in earlier entries in this blog.)

And why am I standing some way below them? In other words, why am I not on the stage with them during my demo? Because I hadn't figured out how to display my screen on the wall at the same time as on my laptop's screen, running Ubuntu 7.04 "Feisty Fawn". Whatever that's called in the technical world. Dual monitors. Dual display. Something like that. So I had to stand below the stage, giving me a better view of the wall, because I couldn't see anything on my laptop's screen, which was black. (Which, when you think about it, was a lot better than the other way round, which would have had me seeing my laptop's screen, but no one in the audience being able to see my screen on the wall. So I felt quite fortunate when I thought about that alternative scenario!) But, despite the fact that everyone could see my screen, it wasn't much fun trying to move my mouse on the wall, believe me. Expanding project nodes, and so on, imagine doing that with your mouse while everything is on the wall, and nothing is on your screen and, in addition to that, there are 1000 people with high expectations, packed in a claustrophobic room, literally inches away from you. However, what's worse, on top of that, is the fact that I still haven't figured the dual display thingy out. Someone came to me after NetBeans Day and we exchanged contact details and then he sent me instructions for how to set it it up. He told me to add the two lines in bold below to my etc/x11/Xorg.conf file:

Section "Device"
	Identifier	"nVidia Corporation NV43 [GeForce Go 6200/6400]"
	Driver		"nvidia"
	Busid		"PCI:1:0:0"
        Option          "MonitorLayout" "CRT,LFP"
        Option          "Clone"         "true"
EndSection

I tried that, but it didn't work. (I sent the same instructions to my colleague Petr Pisl, who had had the same problem with Ubuntu 7.04. He followed the instructions and they worked great for him. But he uses Intel while I use nVidia. That must be the difference, because the guy who sent me the instructions was also using Intel.)

I ended up doing 4 presentations during the past week, at NetBeans Day and JavaOne, in contortionist positions, such that I could see the wall while simultaneously somehow being able to see my audience at the same time. In fact, I could have used Windows without a problem, since I have a dual boot set up, but (as I proclaimed, quite proudly, in explanation, at least once or twice) I'd rather use Ubuntu 7.04 uncomfortably than Windows comfortably. (That's not necessarily a negative statement about Windows, but it is a positive statement about Ubuntu 7.04 because, aside from this issue, I've been extremely happy with it.)

So, yes, this blog entry is partly an appeal to nVidia users out there on Ubuntu 7.04: "What do I need to do to set up dual display correctly?" The first person writing (to geertjan DOT wielenga AT sun DOT com) with the correct answer to this vexing question (which, right now, means more to me than "What is the meaning of life?"), will receive a beautiful postcard from Prague, signed by me (and many of my colleagues, not because they need the answer, but because I have a stack of postcards that they signed a few years ago, so that I could use them as rewards for prize winners of pseudo-competitions in this blog, such as this one). In the subject line of your e-mail, please put: "You will never need to use your mouse on the wall again!"

But, back to the picture with which I started this blog entry. Demonstrating a self-made Java application, no matter how trivial, in the presence of James Gosling himself, is surely one of the greatest honors that can befall a Java programmer. That picture is going to remain representative of a significant milestone in my life forever.

May 16 2007, 10:02:09 AM PDT Permalink