The Source for Java Technology Collaboration
User: Password:



Chris Adamson's Blog

June 2005 Archives


The Power Game

Posted by invalidname on June 27, 2005 at 12:34 PM | Permalink | Comments (0)

JavaOne is underway, with a lenghty Monday morning general session laying out the future of the Java SE and Java EE platforms. I took dutiful notes, for use in a show recap that will appear on ONJava Wednesday night. When it was over, my battery had about a 21% charge.

That's when it hit me: there are no power stips in the public areas

Last year's JavaOne was generous with the access to power - my routine was to lounge by the video games atop Moscone South, plug in, and recharge.

Not so this year. I've already developed an eagle eye for spotting spare outlets: hey, there's a strip poking out from under that table... hey, there's a free outlet on the strip powering those XBoxes... hey, if I unplugged this SunRay, do you think anyone would notice?

Unless the situation is particularly better in the session rooms, we're going to have a whole bunch of dead batteries and unhappy campers early this afternoon.

I'm writing from the press room, which has a few strips hidden under the tables - battery now at 47% - but that's not a solution to everyone else who mingles in public areas. I'm thinking very seriously about walking up to CompUSA and buying a power strip to lug around this week so I can share what few outlets I find with others.

BTW, if you find a good source of recharge power, don't hoard! Please post it to the talkbacks!



Getting the free disk space

Posted by invalidname on June 03, 2005 at 07:46 PM | Permalink | Comments (2)

IM's between me and Cooper a few weeks back:

Cooper: Stupid question nobody seems to know... Do you know how to find out the free space available on a filesystem from java?
Me: ah ha ha ha ha ha ha ha ha ha ha ha ha ha
Cooper: I take it you have seen that before?
Cooper: :-=
Me: I'm looking up the RFE for you
Me: suffice to say, for now, you're Runtime.exec()'ing a du and scraping stdin.
Cooper: Well, that will be a very cross platformy thing now won't it?
Me: ah ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha ha

Well, I guess I can take the "ha " out of my clipboard now, because the Sun bug-bot sent me an e-mail to say that Bug 4057701 (Need way to find free disk space) has been closed as fixed.

The bug report shows it as being fixed in mustang(b39), and thanks to the mustang project on java.net, you can check it out for yourself. And I literally mean you, because I'm on a Mac and thus can't build Mustang.

Still, it's a huge relief that after all this time, this embarrassing oversight/omission is finally being resolved. And by "finally", it's worth nothing that Thursday would have marked eight years to the day after the bug was filed.





Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds