Articles tagged with Java

Kite Physics

By john

I've finally managed to finish the Kite Physics Demo I started back in October:

It's more of a plaything than anything else. It did give me a chance to try out writing some physics code again, something I don't get much of a chance to do …

A 5K Twitter Client

By john

So as part of preparations for the 5K App I'm writing a few example apps. The first one so far is a 5K Twitter Client, which makes it smaller than the Twitter logo itself (at 5.4K).

Check out the demo video to see it in action or download 5KTwit …

Java Psion Link - post-mortem

By john

Quite some time ago I started a project to create a Java version of PsiWin. This project was Java Psion Link.

A little background

PsiWin was the bit of software that Psion provided to communicate/sync/convert files between a regular PC and their (now defunct) PDAs - such as the …

Class of the day: ConcurrentHashMap

By john

Well today at work involved me using ConcurrentHashMap and in particular putIfAbsent to severely reduce the need for old-school synchronized blocks.

Just a shame that you can't pass in arbitrary expressions/blocks that will only be evaluated if the value isn't present when you call putIfAbsent. Might become feasible if …