Java is stupid

Aside from typing 10x as much and haven’t to struggle to get basic concepts to work (iterating over a map for example), there are other irritating things:

java.lang.ClassCastException does not provide a error string, of like, I don’t know, MAYBE THE NAME OF THE TWO CLASSTYPES. This is where open source shines. A mistake like that that adds hours of time to your debugging session would last maybe a week before some said, “I’ll fix the jvm itself so that it helps me the programmer”.

JDBC apparently has no method to communicate what columns an SQL error occurs in, so if you insert a row that causes an error you have to get the schema file and the SQL statement (not easy to do if you use prepared statements) and go over it column by column.

People save your time, use python. There is NO reason to use Java. It’s old dead and gone. By being closed source all other languages are rapidly speeding past it as far as ease of use to the programmer.

Ad-hoc network

Yesterday while sitting in a talk about getting into embedded systems by monitoring the output buses, the wifi flaked out. It has been coming and going all the time.

Fortunately, we had a 3G cdma phone w/ 1xRTT. A 15 minutes of putting stuff together, dnsmasq, the iptables config from my home server, and some tinkering with iwconfig, we had a ad-hoc network with Internet access.

At the high point we had 4 people connected via my computer. 1xRTT is not good for sharing, as no one really had good performance. But it was fun. Fun is good.

T-shirt

T-shirt

T-shirt

#photoblog

Jason Is Bored

Jason Is Bored

Jason Is Bored

#photoblog

Misc tales of Kevin Mitnick

On Friday we were drinking at the Irish bar next to the hotel. Kevin showed up about 1am but the music was too loud to have a good conversation. After about 10 request to turn it down they finally did.

Palm needs a new ad for the Treo 600, something like “Got 600”. Kevin can be the first one, as he has a GSM model.

Kevin had given the keynote for the day, and someone asked him if anyone had asked him to sign anything unusual. Some girl had asked for him to sign her bra. During
the Woz keynotes] Geo and I got separated from Jason, who went down and tried his hand at lock picking (poker, lock picking…. I think he’srounding up his abilities to be a bad influence before becoming a father). Riding back up on the elevator the woman in question was on
board, and talking to friend with her, she said “Kevin signed my bra, do you want to see?” then flashing her bra to everyone on the elevator.

Remind me not to lose Jason next time. He finds interesting things.