Making Applets Suck Less

With all the effort being poured into Javascript lately, it’s pretty evident that that’s the way forward. However, there are still some neat things you can do with applets that you can’t do with Javascript. For instance, I use the microemulator applet to let people play with a simulated phone on the Hecl web site.

Unfortunately, the user experience hasn’t that good. While playing around with the code for that site, Firefox crashed a number of times, and I’ve heard other browsers have trouble as well. No fun.

So it is with some satisfaction that I found this:

https://jdk6.dev.java.net/plugin2/

It’s an updated Java plugin that seems to work much, much better than the old one. Unfortunately it doesn’t appear as if it will be in the new Ubuntu, as it was released recently, but I’m quite happy to have something a bit more stable to develop with.

You can download that version of the Java SDK or JRE here:

http://download.java.net/jdk6/

It’s good to see this effort, even if it may be a bit late.

Visitors

I use Google’s Analytics system for several web sites I run, but find it a bit cumbersome for just getting a quick overview of what’s happening. For years, I’ve used my friend Salvatore’s visitors program to analyze web logs. It claims to be a “fast web log analyzer” and it is blazing fast – so fast that for all the sites I run, it only takes a few seconds to process a year or two’s worth of log files. For instance:

3724130 lines processed in 68 seconds
55 invalid lines, 0 blacklisted referers

And that’s not a particularly fast server that it’s running on, and of course it’s running with a high “nice” value. Visitors is probably not suited to huge sites, as that’s its only mode of operation – it doesn’t save data – but it’s a great option for everything but the biggest of log files.

Using it every day, there are a few things that I wanted to improve or tweak, so with Salvatore’s permission, I went ahead and put the code under version control over at Google Code: http://code.google.com/p/visitors/