Author Archives: Andrew

Beauty is Only Skin Deep

I’m currently reading a book called “Beautiful Architecture“. This has at its core the concept that some software structures are inherently elegant, things of beauty as well as great function, like many of our greatest buildings.

The trouble is that for every St. Paul’s there must be a Bletchley Park – an architectural mish-mash which while possibly important, successful or even revered is inherently inelegant, or even downright ugly.
My analysis is that behind the glossy facade, the iPad software architecture has to be the best current example of “Ugly Architecture”.

In many ways it’s strongly reminiscent of PCs in the days of DOS, or maybe Windows 3.0, before the emergence of strong component-based architectures and unifying design standards in Windows 95 and NT.
The fundamental problem is the application-centric model, in which each application is a stand-alone combination of code and data, with very few shared services or components. This naturally leads each application developer to “do their own thing”, implementing separate, widely varying solutions for communications, document storage, printing support and so on. Apart from a token “open in another app…” supported by some applications, there’s effectively no cross-application linking, leading to massive duplication of functionality and data, and some significant functional limitations, for example the inability to directly open a URL embedded in a document.

Each application has its own data area, which may or may not interact with iTunes, web sites or a PC via FTP, websites via WebDAV or various different cloud storage services. Data which should arguably be general visible just isn’t – you can upload video files to the photos area, but they won’t be visible in the videos list. To test a variety of editors with a document you need to deliver a different copy of the document to each app.

Each application supports different models for document exchange, and different cloud stores, so a user potentially has to have multiple separate cloud accounts. While “public” cloud storage may be fine for individuals’ personal data (although individuals may still have valid security and privacy concerns), it is a real concern if used for corporate information. In corporate contexts, connectivity, security, copyright, access rights, service levels, data protection and privacy obligations, regulatory and legal constraints may all be compromised or complicated by cloud use, and become significant issues.

There’s also an interesting security implication to this which you don’t often see discussed. Because there’s no accessible file system, and no extensibility model for the application filing model, there’s nowhere for anti-virus solutions to run, and as of today iPhones and iPads are effectively unprotected devices. There are probably numerous iPads in the wild acting as festering reservoirs of infected documents. Those who are security conscious can’t be happy about this, and I know that many corporate security departments are making moves to ban connectivity to corporate services for that reason.

Even if an application interacts with the host PC more directly, you get multiple copies of documents, typically the original, a copy in iTunes and one on the device, with no mechanism to synchronise them or compare version information. Apple’s own applications such as Pages are even worse, with a completely separate iTunes space from their own “My Documents” spaces, and an additional copy step in each direction. This is a version control and management nightmare!

Why could the iPad not support a simple shared filing area with proper two-way synchronisation to the host PC, as the Pocket PC has had from day 1?

The communications architecture is a similar mess. The only application which can communicate with the host PC over USB is iTunes, but iTunes can’t use WiFi. All other apps have to use WiFi, but there’s no real shared comms application infrastructure, so the result is another diverse and fragmented “roll your own” free for all. The most obvious way for a companion device to talk to its host PC, BlueTooth, isn’t supported at all!

The WiFi only design works fine in the confines of, say, a small home office. Elsewhere it’s problematic at best. Paid WiFi (e.g. in a hotel) is typically limited to a single device, so you’ll end up paying twice if you want to connect both devices. Corporate WiFi systems are typically similar, and you may not be allowed to connect the iPad directly. Even if you do get connectivity, these networks are often set up to prevent routing between devices, as a security measure, so that’s that, then.

The alternative is to set up either the PC or iPad as a hot-spot itself. On the iPad, this is only possible on jailbroken devices. On the PC, it can be complicated and opens up potential security issues. Neither is ideal.

Apple’s policies effectively put software development back in the Stone Age, in the particular sense that “monolithic” means “single lump of rock”. Each application has to be “stand alone”, implementing many things which should arguably be shared. For example, each file management application implements its own storage management dialogs, its own comms model, its own browser, its own PDF and Word file viewers, each with their own subset of functionality, dialogs and gesture support, and so forth. There simply doesn’t seem to be any real concept of shared components or companion applications. Let’s be clear: I’m not criticising the application developers for trying their best to provide a comprehensive solution – my criticism is directed squarely at the crass architecture through which Apple force such an approach.

Even those applications which implement the “open in another app…” capability to open documents in other viewers suffer two common problems: you frequently have to open the document natively before you can send it elsewhere, and the act of doing so usually creates yet another copy of the document to manage separately! 🙁

Ironically, where there are shared components they impose significant constraints and limitations. The most obvious is the keyboard. Essentially there’s only one way to get text directly into any application, and that’s to use the on-screen keyboard configured exactly as the application developer decides. It’s “my way or the highway”. This is a dramatic contrast with the Microsoft world, where even a humble 2003-era Pocket PC supports not only a variety of built-in and third-party on-screen keyboards, but also handwriting recognition, character recognition (like the Palm Pilot), Swype, and even limited voice recognition. Importantly, these are all user-selectable at any time text input is required. On the iPad you can buy an app with a different keyboard layout, or dictation capability, but you have to cut and paste the raw text into your target application and typically reformat it to suit. This is simply primitive.

What makes all this worse is that the iPad application approval/delivery model makes it unlikely that anyone will innovate a better solution. No approved application can have legal access to another app’s or central iTunes data. Without approval, you won’t appear in the App Store or run on non-jailbroken devices, so Apple simply impose their will, whether good or bad.

OK. I am starting to love my iPad, but the software architect within me is incredibly frustrated. This great hardware is hamstrung by a clumsy, unimaginative, software architecture and oppressive centralist control by those who worship according to The Book of Jobs. It could be so much better.

</rant>

Posted in Agile & Architecture, iPad, Reviews, Thoughts on the World | Leave a comment

Some Good News

I’ve just had a bit of excellent news – my submission for the 2011 Enterprise Architecture Conference in London has been accepted. The provisional title is “Practical Enterprise Integration – Realising the Benefits of a Strong Canonical Architecture” and I’m going to tell the story of the evolution and benefits of a strong Enterprise Integration Architecture at National Grid with which I’ve been closely involved over several years.

Interestingly, a very similar submission last year didn’t make the cut. Whether the change is due to an increase in the quality of my submission, or a decrease in that of the competition, only time will tell… 🙂

Posted in Agile & Architecture, My Publications, Thoughts on the World | Leave a comment

The Y2KXI Bug

I don’t know whether I’m alone, but I’ve had two separate problems with computer systems which didn’t survive the transition from 2010 to 2011, making me wonder if there’s a more generic “Y2KXI” bug, like the famous Y2K bug, only more subtle…

On New Year’s Eve, my X10 home automation stuff was all working. On the 1st, the lights failed to come on at the appropriate time. After a bit of investigation, I checked the clocks in the two timer/controller units, both of which now showed a date in 2012. Clocks reset to the right time, things returned to normal.

Then last week I had a problem where I discovered my PDA was corrupting appointment times, converting the vast majority of my appointments to an all-day slot a day after the original date. This was clearly happening a few minutes to a few hours after synchronisation, and the original appointments in Outlook on the laptop were OK. At first I blamed the iPad (well you would, wouldn’t you), or maybe a component of Office 2010, which I have now partially installed on my PCs, but some testing confirmed that the problem was occurring even when neither of these had had a chance to affect the data. I then realised that QuickAgenda, which I had installed to show my diary on my PDA’s home screen was running very slowly, almost as if it was processing something…

Gotcha! With QuickAgenda removed not only has the corrupt appointment problem gone, but I’m also finding synchronisation much quicker and less prone to duplicate appointments. However, this wasn’t a problem in 2010.

Has anyone else noticed this?

Posted in Thoughts on the World | Leave a comment

Death and Service

My brand new iPad died today. One minute I was taking notes on it. Next minute, dead as the proverbial fat bird with a big beak, or the Norwegian Blue (lovely plumage).

There are three theories which fit the available data:

  1. This was a typical failure on the leading edge of the bathtub curve, and I was just unlucky.
  2. iPads are unreliable, and I am going to learn some new swearwords when the process repeats.
  3. Steve Jobs’ spyware installed on all iPads to monitor for uncomplimentary content detected my draft post on the shortcomings of the iPad’s software architecture, and Apple took pre-emptive action.

What is, however, beyond reproach and the reason I’m writing this post is the absolutely exemplary service provided to me at PC World in Coventry. The young chap quickly established that a straight replacement was appropriate, but because I am away from home he’d have to retrieve my receipt details electronically. This proved rather more difficult than expected, as the original sales assistant in Guildford had somehow bypassed the supposedly mandatory step of capturing my name and postcode. However, the Coventry guys persisted, with searches on multiple back office systems, and eventually tracked my receipt down. The swap was promptly made, and I’m already up and running again.

The quality of customer service at DSG (the company who own Dixons, Curry’s and PC World) used to be a source of jokes. However, the excellent service I received today is not untypical, in my recent expereience. I would like to formally extend my thanks and compliments to them.

Posted in iPad, Personal News, Thoughts on the World | Leave a comment

Keep Taking the Tablets

I’ve recently purchased an iPad, partly to satisfy some unrequited gadget lust, partly to satisfy some real needs for which I hoped it might be a good match, and partly to try and understand what all the fuss is about. As a long-time user of both Tablet PCs and Pocket PC (Windows Mobile) PDAs, I’m in a fairly unique position to judge what works well and what doesn’t. So far, it has to be said, I’m distinctly underwhelmed.

For several years in the mid-noughties, my main laptop was a convertible Tablet PC (actually a succession of Toshiba M-series tablets). I liked these devices with their dual ability to function as a subtle note-taking device in meetings or on the move, and as a fully-fledged laptop most of the time. Ultimately, though, such devices are too great a compromise: too heavy, battery-hungry and stylus-dependent for use as an eReader or travel companion, not powerful enough to meet my demands for a laptop capable of supporting virtualisation, multiple development platforms and heavy duty image processing. My main laptop is now a 15″ Toshiba, and it does the main jobs very well, but I’ve lost my subtle note-taker, unless I want to lug an old tablet PC as well.

Also, since 1999 I’ve always carried a Pocket PC, for the last 5 years a succession of HP iPaq 4700s (sadly, they don’t last forever). My PDA is brilliant for checking my diary, playing games, as a music player and for a variety of other uses. Thanks to the German company SoftMaker I even have a fully-fledged office suite which is absolutely compatible with Office 2003, right down to the menu and options dialog structures. I have composed some quite large documents using it, but unfortunately the screen size makes it just too fiddly for heavy-duty use.

It’s also unfortunate that HP set the bar so high with the iPaq 4700. I should really have been able to update it with a device including a phone, mobile internet connectivity and GPS, but two attempts to do so have ended in frustration (see “Digital Convergence – Still Waiting” and “Annoyance-Based Technology Selection” for details). Even HP haven’t really managed to replace it – their nearest current equivalent is much chunkier and has a much inferior low-contrast screen.

Enter the iPad. Before I start complaining, let’s acknowledge that this is a great piece of hardware design which does some things really well. For a start, it’s a brilliant eReader: clear, light and an ideal size. When I print documents for off-line reading, I usually print two pages to an A4 side. The iPad screen almost exactly matches this A5 preference, but with the great advantage that I can easily zoom in or change fonts and text orientation if required. To read web pages I can either exploit the mobile capabilities, or save them to PDFs on my PC.

As a mobile web browser it generally looks very promising. Again, the size is just right, with none of the compromises of phone/PDA solutions. Apple’s lack of Flash support is an occasional pain, but otherwise no problems so far.

It’s also going to make an excellent portable photographic portfolio. The screen is widely acknowledged as one of the best on any portable device, with wide viewing angles and good colour fidelity, and my photos look great on it. Getting iTunes to show a sensible album structure is a bit of a challenge (of which more later), but I’m now fairly satisfied, although I may end up using third party software which doesn’t insist on renaming my files and hiding the filenames!

Battery life is great when measured by the standards of fully-fledged laptops: at least two days fairly steady use on tasks like document reading, note taking and web browsing. Of course strictly speaking we should measure by the standard of a monotasking PDA  (I assume that “monotasking” is the opposite of “multitasking”, but I may have just made that up :)), and on that basis it’s not so good, but still acceptable.

So the hardware is great, and everyone loves the glossy touch interface. The problem is that, as the saying goes, beauty is only skin deep. The elegant facade hides an astonishingly crude and restrictive software architecture, which puts me strongly in mind of a 1990 DOS computer (albeit with a glossy graphical skin). The problems of that architecture will be the topic of my next post…

Posted in iPad, PCs/Laptops, Reviews, Thoughts on the World | Leave a comment

Season’s Greetings

Coppertrees, Xmas 2010
Camera: Canon EOS 7D | Lens: EF-S15-85mm f/3.5-5.6 IS USM | Date: 20-12-2010 08:34 | ISO: 100 | Exp. bias: 0 EV | Exp. Time: 2.5s | Aperture: 10.0 | Focal Length: 24.0mm (~38.9mm) | Lens: Canon EF-S 15-85mm f3.5-5.6 IS USM

A very warm “Merry Christmas” and best wishes for 2011, from all at Coppertrees to all the followers of my blog.

Andrew

View featured image in Album
Posted in Personal News, Website & Blog | Leave a comment

Sunnier Climes

Sea Turtles, Folkestone Marine Park, Barbados
Camera: Canon PowerShot G10 | Date: 21-04-2010 14:45 | ISO: 125 | Exp. bias: 2/3 EV | Exp. Time: 1/160s | Aperture: 3.5 | Focal Length: 13.8mm (~63.3mm)

With Britain well and truly in the grip of Winter (where’s that global warming, then?), and more snow on the way, I thought this might cheer people up a bit!

View featured image in Album
Posted in Barbados | Leave a comment

First Bibble Plugin Published

I’ve just published my first plugin for the popular image processing suite, Bibble. CAQuest manages chromatic aberration correction, so if you find yourself always having to apply correction for “purple fringes”, this is the tool you need.

To find out more, visit www.andrewj.com/plugins.

Read the full article
Posted in Code & Development, My Publications, Photography | 2 Comments

Cuba Travel Blog – Quick Update

If you want to read all my articles in chronological order, you can now do so at www.andrewj.com/blog/cuba.

Posted in Cuba Travel Blog | Leave a comment

Cuba Photo Notes

Street vendor, Trinidad, Cuba
Camera: Canon EOS 7D | Lens: EF70-300mm f/4-5.6 IS USM | Date: 22-11-2010 17:35 | ISO: 100 | Exp. bias: 0 EV | Exp. Time: 1/160s | Aperture: 8.0 | Focal Length: 300.0mm (~486.0mm) | Lens: Canon EF 70-300mm f/4-5.6 IS USM

“Photographer’s paradise” is probably putting it far too strongly, but Cuba does provide easy access to a great range of material in almost every genre: fashion and international sports might be a bit of a challenge (unless you bring some glad rags with you :)), but everything else is well served.

That said, conditions are not always quite what you’d expect, so I thought it would be useful to round off my Cuba Travel Blog with a few observations on the photography itself, and some advice to potential photo trippers.

A large part of Cuban life plays out on the street, and much of the photography is therefore street photography, focused on the colourful people, cars and buildings. I must admit that before the trip I hadn’t fully realised that.

Now there’s nothing to stop you doing such photography with a full sized pro camera, lenses the size of baseball bats, and a 6′ tripod. A couple of my trip mates did precisely that. No-one takes much notice of tourists with big cameras, and you’ll be perfectly safe. However, it’s an awful lot to carry round all day, it will attract pestering, and some locations and subjects are now starting to charge a “big camera” premium, e.g. 2 Peso rather than 1 Peso admission, triggered usually when they see the tripod.

So I’d advise you to think about travelling a bit lighter. I don’t carry a tripod except when I know I’m going to be working in very low light, and try and have my camera in my hand rather than round my neck. I used my large backpack only when travelling: once at each location I decanted my kit into my ancient Tamrac shoulder bag. Although only 26x20x20cm I found that this could comfortably carry my prosumer DSLR with 3 zooms, a 25-33cl drink, tripod plate, table-top tripod, cleaning materials, filters, 1 cigar (unwanted gift :)) and some soap! To carry my tripod I used a dedicated tripod strap and slung it over the other shoulder.

At the risk of offending the photography gods, I don’t think a lot of the standard advice about the best light applies in photographing Cuba. The narrow streets are like slot canyons: you get good even light when sun is high, but at the ends of the day the streets are dark, or patchily lit with very high contrast unless the sun is directly in front of or behind the camera, each of which brings its own challenges. On the other hand the bright colours work well in any light, even in the middle of the day, although a polariser is usually helpful.

The after-sunset glow does bring up the colours on some subjects, and there are some night-time possibilities, but very much small vignettes rather than big vistas. There’s simply not enough street/building lighting for those. Don’t expect a picture of lights on the Malecon looking like the shore in Montreux or Morecambe!

If you’re one of those people who likes photographing decay, then Cuba is your oyster. Crumbling structures, rusty cars and badly patched paint and plaster abound. If, like me, you’re more of a “glass half full” person then the challenge to find and portray the current beauty is a bit greater, but not insuperable.

Entertainment, in the form of music, dance and art, is everywhere you go, and some of it is very photogenic. The entertainers don’t seem to mind having their photos taken as long as you make a donation when they pass the hat round. Lighting can be a challenge: at night or indoors you will often be right on the edge of high ISO and acceptable slow shutter speeds, and will have to use flash for any action. Any artificial lighting tends to be uneven and strongly coloured, with a tendency to blow out the red channel, so shoot RAW and expect to have to make substantial colour adjustments in your RAW processor.

I took about 90% of my shots with the Canon 7D and 15-85mm IS lens. Most of the rest were with the 70-300mm lens, and I can see the day coming when I don’t need a separate wide-angle zoom, but the 10-22mm did get used a few times. I also took a nice 50mm f1.4 lens, but found I wasn’t using it at all and sold it to one of my trip mates. I’m getting used to the weight of the 7D/15-85 combination, but it is a very heavy solid lump. You wouldn’t lose much capability with something like a Canon 550D and 17-85mm lens, which is what I took as my spare kit, or even something like a Leica or one of the new EVIL cameras.

Although I took most shots with the mid-range zoom, my 70-300 is still my favourite lens. Beyond its proven ability for action work and as a general telephoto, it’s probably the best lens for candid, long-distance portraits (3-20m range), like the one above. Optically it’s excellent, often compared favourably with Canon’s much bigger and costlier “L” zooms, but the small size and light weight, combined with very effective Image Stabilisation, mean that it’s much less obtrusive, and I can hand-hold it down to shutter speeds of a few tenths of a second. And who needs to do all this wandering about business, when you can take shots like the one above sitting at the bar with a Bucannero. 🙂

Make sure you take lots of film or memory. I took an average of 200 shots or 4GB / day. The keen street shooters in the party were filling in excess of 16GB / day!

Finally, I can heartily recommend Lee Frost of Photo Adventures as a tour leader. He got us to interesting places at the right times, led an enjoyable group, and everything under his control worked well. He really can’t be blamed for the Cuban failings on internet access and breakfast crockery :(. Recommended.

View featured image in Album
Posted in Cuba Travel Blog, Personal News, Photography | Leave a comment

Cuba Reflections

Sunset over the Malecon, Havana, Cuba
Camera: Canon EOS 7D | Lens: EF-S15-85mm f/3.5-5.6 IS USM | Date: 23-11-2010 23:37 | ISO: 100 | Exp. bias: -2/3 EV | Exp. Time: 1/13s | Aperture: 16.0 | Focal Length: 15.0mm (~24.3mm) | Lens: Canon EF-S 15-85mm f3.5-5.6 IS USM

I’m safely back home with a load of photos to process, so this is just about my last post on Cuba. There’s probably one more to come on the technicalities of photography there, but I thought it would be good to round off my series of general impressions and “socio-economic observations”, if that’s not too pretentious a description of them! 🙂

  1. The people are very friendly, and are very happy to help if they can, especially if there’s a tip in the offing. However, as is often the case in planned economies there’s no real concept of customer service and little or no incentive to improve, or find real solutions to problems. One example was the fact that I had no internet service at two hotels, not because of any technical issue, but because they’d run out of the scratch cards with passwords, and would not restock for a week. Another was arriving at the Tobacco Museum at 11.00 to find that despite a headline “every 15 minutes” schedule, they were doing no tours between 10.15 and 12.00!
  2. Between the limited stock and the customer service issues, getting breakfast at a Cuban hotel a bit like a game of Dungeons and Dragons. Wrestle a magic glass from the keeper of the glasses, and you can ascend to the level of juice drinker. Seek the hidden coffee cup, and you may conquer the coffee machine, but only if it is replete with both dark and white liquids. They really should invest in a bit more crockery!
  3. Cuban drivers seem to have very poor lane control, and regard driving on the right as as sort of grand guiding principle rather than a tactical necessity. It’s really scary to be bombing (relative term) up the motorway and see a group of cyclists coming the wrong way on the same carriageway, but the bus driver didn’t appear to bat an eyelid.
  4. Lane control and the tap water aside, Cuba feels very safe. You can wander around freely, carrying an expensive camera, and at no time do you feel under any significant threat of direct crime or assault. There are no gangs hanging around on street corners. You may get pestered in some places, and if you left your wallet somewhere it might not be there when you came back, but it doesn’t feel like you’re at any risk of having a bag snatched or a pocket picked.
  5. There are lots of birds of prey circling everywhere, so clearly not too many chemicals in the food chain. This is a good thing, but may explain the patchy success of Cuban agriculture.
  6. There is an obsessive iconography of Che Guevara, which has displaced almost all other pictures and writing visible to the tourist. Che’s picture stares at you from every hoarding with a revolutionary slogan (that’s pretty much the only type), and from almost every T-shirt. Where they are selling postcards, there will be a rack of poor-quality colour cards of the views and famous buildings, and a rack of black and white 1950s images, about 95% of which are of Che. Pictures of even Fidel or Raoul Castro are few and far between. The only reading material in English on the island is biographies of Che Guevara, or the odd book of Fidel’s speeches.
  7. In Spanish the choice isn’t much wider! Havana must be the only airport where there are no newspapers or magazines for sale, just books about Che or Fidel, and a few other bits of communist propaganda.
  8. The music is almost uniformly excellent. The food is almost uniformly adequate but unexciting. There are exceptions (downwards) in both cases 🙁
  9. Writing a travel blog is a great idea, but only in a country where you can get on the internet!

And a few photographic statistics: 2074 shutter operations, 42GB of memory cards filled, about 970 images retained for further processing, and I hope to get around 100 which are good enough to stick on the web and bore people with at dinner! You have been warned. 🙂

View featured image in Album
Posted in Cuba Travel Blog, Personal News | Leave a comment

Smokin’

Flamenco dancers at the Hotel Sevilla, Havana, Cuba
Camera: Canon EOS 7D | Lens: EF-S15-85mm f/3.5-5.6 IS USM | Date: 24-11-2010 03:41 | ISO: 400 | Exp. bias: 0 EV | Exp. Time: 1/60s | Aperture: 5.0 | Focal Length: 44.0mm (~71.3mm) | Lens: Canon EF-S 15-85mm f3.5-5.6 IS USM

I’ve heard it all now – a flamenco version of “Smoke on the Water”! Richie Blackmore would approve. Excellent.

View featured image in Album
Posted in Cuba Travel Blog | Leave a comment