Thursday 6 August 2009

Predictions

Predicting the future is tough. But we still seem happy to quote "experts" who happily deliver us all sorts of predictions. Some of them even get paid for the stuff they churn out.

I came across one nice example yesterday while looking up some references for Apple's "Rosetta" technology that was used to assist in the transition from PowerPC to Intel processors for the Macintosh.

A CNET article quotes an "Illuminata analyst" (someone who should know, I guess) who says "History says that binary translation basically doesn't work."

He goes on to say that "The day may come when someone can do a goood enough job with it, but that concept has been thrown out there many times in the computer industry, and it's always fallen flat on its face."

Well, Rosetta did work, though to be fair, the comments above fall some way short of predicting its failure. They just hint strongly that success is very unlikely.

The financial world is a wonderful source of failed predictions too. What about UK house prices? In the news today is a report from the Royal Institute of Chartered Surveyors. At the beginning of the year, they were predicting falls in prices of 10-15% this year; now it says prices may rise slightly. That's quite a shift.

Economic forecasts generally seem to be pretty pointless. None of them predicted the current recession, the most severe since the great depression. So why bother?

Weather forecasts? The UK Met Office predicted a hot, dry "barbecue summer" and instead we have just had a July with twice the average rainfall, though the Met Office has published some stats to convince us that it really hasn't been that bad.

I have a prediction. This year, we will finally see that producing pointless predictions is futile and we will give up. I will also win the lottery.

Remember, you read it here first.

Wednesday 5 August 2009

Apple Macintoshes

I've just bought my seventh Macintosh. That's ignoring the three that I've had provided for me by employers over the years. Now that I'm waiting for the seventh to be delivered, it seems like a good time to look back and see how things have changed over the years.

My first Mac was a Macintosh Plus. 1MB memory, single 800K 3.5" floppy disk, monochrome screen. The processor was a Motorola 68000 running at the amazing speed of 8MHz. The big thing that the Plus had over the original Macintosh (apart from loads of memory) was expandability: it had a SCSI interface that meant you could add one (or more) external hard disks. I invested a huge amount of money in a 20MB external drive. The Mac was used mostly for writing - my then partner's PhD on the Formanifera of the Thousand Islands Group - and the favourite application of the time was Microsoft Word, version 3.0 if I recall correctly.

I still think that version of Word was one of the best that Microsoft produced. It had styles, allowing some consistency to be imposed on the structure of the document, and you could edit files of "any" size, something that was a novelty back then when many applications imposed pretty arbitrary restrictions. It wasn't quite as snappy as WriteNow! but it worked well. Best of all, it lacked the huge array of superfluous features that get in the way of using recent versions of Word effectively.

It took several years for the finances to recover sufficiently for Macintosh number 2. This was an SE/30. 5MB memory, 40MB internal hard disk and a Motorola 68030 processor running at 16MHz. It was heinously expensive, somewhere over £2,000 if I recall correctly. The form factor was essentially the same as the Plus, with the same built-in 9" monochrome screen. I wrote most of my PhD on this, using TeXtures, a commercial version of TeX and LaTeX.

At around the same time, I got my hands on my first employer-provided Macintosh, a IIsi. This was equipped with an Ethernet card, and had a separate monitor. You could get a colour monitor for the IIsi, but colour monitors were expensive and definitely seen as unecessary in my line of work, so I still had monochrome - though now with scales of grey. The IIsi made a change from the Sun 3/60 diskless workstation that I'd been using up to that point, but the best feature was that it ran Macintosh Common Lisp, one of the nicest development environments that I'd come across at the time.

The SE/30 lasted some time, but back at work, a new research grant allowed the IIsi to be replaced by a Quadra 800, one of the last Macintosh computers based on the Motorola line of processors. This was a monster compared to the previous machines. A Motorola 68040 33MHz processor and 8MB memory. I had a pretty minimal configuration - no CD, since it was too expensive - and a mere 230MB hard disk, but it was still by far the most powerful desktop machine I'd had my hands on at the time. The internet was kicking off too, and it was probably on this machine that I played with NCSA Mosaic, Gopher and Archie visited a rudimentary list of websites called "Yahoo!" and waited for the "information superhighway" to appear.

The Quadra 800 was a great machine, but my next purchase was a disappointment. This was a Power Macintosh 7500, one of the first Apple machines built around the then new PowerPC processor architecture.

On paper, the 7500 looked great. A fast 100MHz processor on a daughter card that could be replaced, twin SCSI busses for internal and external disk expansion, built-in ethernet, huge memory capacity and some advanced video capability. The problem was that by this point, Mac OS was beginning to creak. There were lots of "system extensions" - random bits of software that loaded at boot time, including drivers for bits of hardware and various tweaks for the OS. But there was no protection between these extensions, nor between them and the OS, or applications. The result was occasional random crashes, or more often, a refusal to boot. At this point, the only remedy seemed to be removing random extensions until things started working again. The complexity was increased by Apple's need to support legacy 680x0 binaries, though whether this contributed to the disappointing performance and instability isn't clear.

The 7500 was connected to a Hayes 28Kbps modem, and I started getting to grips with PPP so I could connect to the Internet, first via Sussex University, then through Demon Internet. Well, it worked, though looking back on it, I'm surprised I had the patience.

That was it, for a few years. I was doing lots of work with Solaris and had a dual boot Solaris x86/Windows NT laptop which was significantly more stable than Mac OS 8 or 9 in either mode. Worse, Apple persisted in making it expensive to get hold of development tools for Mac OS. I bought third party tools like MetroWerks Codewarrior but never invested the time necessary to build anything significant.

I moved on from Solaris and Windows NT to Red Hat Linux and Windows 98. Linux was great, allowing us to build some amazingly robust server side software in Java at very little cost. Windows 98 was a less glorious experience, though I had a wonderfully tiny Sony 505GX laptop that seems to have been an early precursor of the current netbook trend.

When Mac OS X first appeared, my initial reaction was curiosity combined with scepticism. The critical test seemed to be whether Apple would remain in existence for long enough to make OS X worth considering. Other new operating systems (Be, for example) had not lasted long and had never gained a critical mass of developers and applications.

Eventually, Microsoft released a version of Office for OS X. I bought a new iMac G4 and a copy of Microsoft Office. I was blown away. UNIX with a decent user interface, at last! The hardware was pretty impressive too: colour, flat-panel display, 700MHz processor and 256MB memory, 40GB hard disk. Better still, Apple remedied some of their failings in the past: OS X shipped with pretty good and comprehensive developer tools including compilers, an IDE and a variety of debugging and tuning tools.

Based on the experience of the iMac, an iBook swiftly followed. Then the iMac was replaced by a G5. The iBook died but the iMac continues to be the workhorse of some friends.

What's next? Well, having enjoyed using a Macbook Pro for the last two years (having persuaded my employer that this was a "good thing"), I'm shortly to take delivery of my own MacBook Pro. I wouldn't bother, but I'm leaving the old company and they won't let me keep the hardware. Along the way, Apple has switched processor families once again, from the PowerPC line to Intel. The transition (thanks in part to some technology from Transitive Inc, now part of IBM) has been seamless.

Just for fun, here's a rough comparison of my first Mac with the latest:

Mac PlusMacbook ProMultiplier
MC 68000, 8MHzIntel Core 2 Duo, 2.53GHz300 times faster
1MB4GB4000 times more memory
800KB250GB300,000 times more storage
512x342 monochrome1280x800 colourAround 5 times more pixels

Sunday 2 August 2009

Navionics charts on the iPhone




I've just discovered the Navionics chart applications on the iPhone.
These are amazing value, and the iPhone UI makes them tremendously easy to use.



Up until now, I've been using an obsolete Raymarine
RC400 hand-held chart plotter.


It's a hand-held GPS receiver, waterproof, and aimed at marine use. There's a small colour screen (about 3.5"), fairly dismal battery life, and it weighs about 430g. Mine also has an annoying habit of crashing at least once a day, presenting a screen with a hex code and an instruction to hold down the power key to reboot.


This never works; I always have to remove the battery pack from
the back and restart it that way. Apart from that annoyance, it's a smart bit of kit.


You buy Navionics Gold charts for it which are stored on Compact Flash cards.


The charts are not cheap - one for the UK costs around £180. (This is much cheaper, however, than buying the equivalent paper charts.) You also need to invest in keeping the charts updated.








Contrast this with the Navionics charts for the iPhone. The equivalent UK coverage chart is £15, downloadable from the iTunes store (just search for "Navionics").

For £15, the coverage is astounding. And there's tidal data, as you would expect, and integration with Facebook (so you can publish your track) which you might not.








Problems? Well, the iPhone isn't waterproof, and I'm not sure that using it with cold, wet, gloved fingers would be a great idea, but as a planning tool these look fantastic.