Tuesday, April 27, 2010

Quote Of The Day: Effectiveness

The picture:



The comment:
I'm definitely red, because if voting changed anything, it would be illegal.

-- CL


(Image Credit: Club Troppo, hotlinked without permission as Fair Use)

Friday, April 16, 2010

java.util.logging Memory Leak

Under some circumstances java.util.logging.Logger.kids array may grow to contain tens, if not hundreds of thousands of WeakReference objects.

JDK versions under suspicion: 1.6.0_15, 1.6.0_18 to 1.6.0_20.

This may happen even if your application never explicitly uses the java.util.logging framework at all - third party libraries that you are using might.

UPDATE: This has been observed before.

UPDATE: Doesn't seem to be present in JDK 1.6.0_17.

<to be continued>

PS: It is appalling to see Java core code not using generics two versions after they have been introduced.

Tuesday, April 13, 2010

Android Navigation + Bluetooth = Cognitive Disability

Take one good thing: Google Maps Navigation. Take another good thing: Bluetooth headset. Mix them together and get a binary explosive.

Start driving using Navigation. It works remarkably good, speaking directions through the phone speaker, whether you have the Bluetooth headset turned on or not.

Then, God forbid, make or receive a phone call. I'm not even talking about EDGE, where you simply have the data channel disabled and lose the navigation altogether. I'm talking about bona fide 3G. What happens is...
you lose both the navigation and the phone call.
The navigation, inexplicably, switches from the phone speaker to the Bluetooth, and just keeps speaking over the voice of the person you're talking to. Normal consequence is you can't make out anything of either.

Wonder if it is a bug or a feature, and whether it is specific to HTC G1, or common to all Android hardware.

Monday, April 12, 2010

HTC G1 Battery Life...

... is exactly sixteen months.

At least this is true for two phones that we have - they've been bought a month apart (October and November 2008, respectively) - and the battery life has dropped sharply from being able to normally use the phone all day (from eight in the morning to midnight) to being dead at teatime, within a few days.

Prediction: we're about to see a rapid increase in battery life complaints, sharp rise in G1 battery demand, and, as a consequence, sharp rise in the price.

Go get yours before it's too late.

UPDATE: Don't be stupid and try to buy the battery from T-Mobile for $49.99 plus tax. FIYF, I'd say I'll be comfortable with anything above $5.

UPDATE: Got the replacement battery (identical to the original). When I opened the cover to install the replacement, I found the original battery swelled to about 120% of its initial thickness. Makes me wonder how far I was from a battery fire - I remember the phone getting unusually hot when recharging lately.