Happenings

Font Decisions

Deciding on which font to use is always a difficult decision. In recent versions of Solitude, I’ve tended towards Verdana for almost everything: body text, headers, fields. Now, no more.

Thanks to What The Font, I can now figure out exactly which great font other people are using for images. This is exactly what the internet is about: stealing (in this case, ideas) through sharing (services). Great.

In all seriousness, it’s a wonderful service that seems to do its job well. More, please.

Weekend Quick Links

A few quick links for the weekend (nowhere near as many as normal, but sleep beckons):

  • Operashow Generator – Use Opera as a cheap but pretty powerpoint substitute. A very nice feature.
  • Decompression Bombs – Overload most computers by creating special zip files. They start off at 7k, and unzip to 100Gb. Frightening, cool and utterly amazing at the same time.
  • iCapture – A service that displays pictures of websites as seen by Safari, for all the appleless developers. Handy.
  • Unicode Spaces – Unicode has an insane number of space characters. Wasteful.
  • Free Rockstar Classics – Rockstar are offering their old games (optimised for modern PCs) for free. The current two are the classic Grand Theft Auto, and Wild Metal Country. A superb idea, and absolutely the right thing to do.

And that’s all for the weekend.

Maths In IE

Via Jacques Distler comes news of a plug-in for internet explorer that allows it to understand MathML: MathPlayer.

A great and useful tool it will be given that there will be no new versions of IE made available for free download (according to Microsoft). But it shouldn’t be up to a third party company to fix the deficiencies in the browser: Microsoft, if it is to show any commitment to the web, should have added this a long time ago.

Sadly, it won’t happen. If IE is going to change, it will be the hackers that change it. Or people could try changing browsers. Firefox is brand new, much faster than anything else on the market, will be constantly updated, and does everything you could possibly want from a browser. It has a large development community working on extensions to make it do even more.

Take back the web, as the new FF motto goes, get a browser that works well.

This says it all about MS: Microsoft House XP

Pipes, The Bible And Nexus

This edition of random links will be much terser than usual, because I lost the first draft and don’t have time to redo it. Doh.

  • Nexus – A great idea for screen scraping partial content RSS feeds, but the description makes it sound slightly naive.
  • Introduction to FOAF – A fairly comprehensive introduction to FOAF, for anyone who doesn’t know what it is.
  • Pipes – A good tutorial on command line piping, for computer users of all levels.
  • Hot Links – Didn’t pay much attention to it the first time I saw it, but I have rediscovered it as a fantastic link hub.
  • Find In Firebird – Always forget the key that does this. A great shortcut.
  • 213 Thinks Skippy Can No Longer Do – .. In The US Army. Hilarious.
  • Thesaurus Protocol – A protocol for accessing thesauri over HTTP.
  • Crowd Simulation Framework – A framework for simulating crowds in Java. Handy for displaying large scale emergent behaviour.
  • Optimising Firebird – Seen most of these before, but a useful resource nonetheless.
  • Things To Not Test – Political correctness gone mad.
  • XML Is Not OO – Sound reasons why XML should not be shoehorned into OO design.
  • I Despise You And Your So-Called Taste – Funny and scathing remarks about your favourite band, or album.

That’s all. The coming week will be post-lite, but stay tuned.

Java 1.5

Yesterday, the first beta of the long-awaited Java 1.5 finally went public. Sporting a large number of new features and classes, this new version will make every Java programmers life easier.

Firstly, there are the new types and constructs.

The new enumerated types have been in demand for a while, and work similarly to the typical C/C++ idiom. In terms of Java, they are being compared to public inner classes; encapsulated but accessible.

Auto-boxing takes away some of the hassle of casting primitive types to their respective wrapper classes. It should automatically create a reference, r, to the primitive, p, such that r.value() == p. Not a huge change, but it will help cut code.

Much bigger is the enhanced for loop. As part of the introduction of Generics – the new method to allow operations of objects of varying types safely – the new for loop will provide cleaner iteration over any Iterable class (pertinently, anything in the Collections framework). Instead of explicitly creating iterators and updating at each stage, a pseudo foreach syntax will be used. Example: for (String s : c). This will take each String S in c (most likely a collection), and perform the loop operations on each one. Very clean, very nice.

There are also some interesting new classes, both extending the old and starting from scratch.

The Collections framework has been updated in several areas. Queue provides an interface for holding Objects before processing. This has been implemented by, among several others, the PriorityQueue and SynchronousQueue classes. A more extensive list of the changes to Collections is available.

Other changes include:

  • Scanner class – a method for parsing primitives and Strings using regexes.
  • Removal of RMIC – No more need to compile RMI stub classes explicitly.
  • Improvements to garbage collection – It was a little lacking before.
  • The Concurrency Framework – Aiming to do for concurrent applications what the Collections framework did for data structures; providing a simple, consistent way of doing concurrency.
  • Improved XML handling – Supporting both SAX and DOM parsing.
  • Making JFrame.add() equivalent to JFrame.getContentPane().add() – a small, but simple enhancement.
  • Networking Enhancements – Improved support for various standards (including IPv6) and a minimal set of mandatory protocol handlers.

All in all, Java programming just got a lot simpler.