Skip to Content

Bug turnaround at Sun

In stark contrast to the wont-fix-attitude of SimpleDateFormat bugs, the turnaround for a bug we reported to the JAX-WS team was fixed in mere hours.

SimpleDateFormat is not thread safe

I'm appaled to learn that DateFormat (and SimpleDateFormat) is not thread safe.

Not only that, but Sun has deemed any fixes too expensive to perform, so they won't fix it, but instead ask users to synchronize accesses to their DateFormatter.

If it really is too expensive to retrofit SimpleDateFormat to be thread safe, then at least give us an alternative implementation that is thread safe, so we can choose which one to use.

A bug in tomcat or Java2D

Today I spent many hours working out a bug in a web application.

The case was this: I had an image that took a while to generate because it depended on live network data. For that reason, people often clicked through to other pages while the servlet rendered the image, and this in turn made the servlet throw a "java.net.SocketException: Broken pipe".

More commands for the 3 modem

To disable roaming:

AT+COPS=1,1,"3 DK"

To read SMSes:

AT+CMGL="all"

To delete an SMS:

AT+CMGD=<number of sms>

To see signal/noise ratio:

AT+CSQ

Turbo-3G on the laptop

3 has been nice enough to borrow us some Huawei E220 "Turbo 3G" USB-modems to
play around with.
The first problem was getting Linux to communicate with the device, but after
realising, that the option-module needs to be reloaded once to detect the modem
properly, everything is good.

Setting up wvdial to get a connection was pretty easy. It seems like you just
need to send the proper init-sequence to set the PIN

AT+CPIN=<pin>

(you can only do this once, so you'd probably do it somewhere else than in
wvdial.conf)

Configure the APN:

Shutdown of ORDB

Today we decided to shut down ORDB. It was a choice between a lot of hard
work or performing the actual shutdown we had been talking about for a
year.

The zone is still live, but empty, so people have a chance to remove it from
their config before we shut it down completely.

I don't belive the shutdown will mean much to the general spam landscape,
open relays aren't really a prime spam target anymore.

Ungdomshusets retorik

Her er lidt usammenhængende strøtanker om ungdomshusets retorik.

De kalder sig anarkister, men forlanger stadig støtte fra det offentlige. Er
en af grundsætningerne i anarkisme ikke at vi skal bestemme selv (enten som
individer eller som samlet flok), og ikke være afhængige af de offentlige
konstruktioner vi har i et demokrati?

De siger at mandagsmødet er deres øverste myndighed, og at alle der ønsker
et tilhørsforhold til Ungeren er velkomne. Alligevel blev Carl-Mar Møller for
nylig bedt om at gå fra et mandagsmøde under påskud af at manden er sexist. Det

Syndicate content