All Posts

NY Times and Hand Coded HTML

It’s been echoing all over the blogosphere today that NYTimes.com “hand codes everything” instead of using a WYSIWYG editor. It all extrapolates from a fairly offhand reference by the design director, Khoi Vinh:

It’s our preference to use a text editor, like HomeSite, TextPad or TextMate, to “hand code” everything, rather than to use a wysiwyg (what you see is what you get) HTML and CSS authoring program, like Dreamweaver. We just find it yields better and faster results.

But really the browser-to-browser consistency that you see (and I have to admit, it’s far from perfect) is the result of a vigilant collaboration between many different groups — the visual designers and technologists in the design team that I lead, their counterparts in our technology staff, and the many, many detail-oriented people who come together to make the site a reality every hour of every day.

One of the things that makes my job here so satisfying is that, among all of these many different kinds of collaborators, there’s a healthy respect for design. Everyone is committed to putting the best face forward for The Times — including paying close attention to visual integrity of the site. Regardless of the tools you use, it’s really only that kind of commitment that makes it possible to maintain consistency on a site as sprawling as ours.

Continue reading: NY Times and Hand Coded HTML

Mac Adoption Stats

Something I’m sure I’ll want to find again in the future: the OmniGroup provide statistics from their update app showing what OS, CPU, Graphics and various other hardware stats their user base has. Very useful for getting a rough guide of adoption rates.

Continue reading: Mac Adoption Stats

Droplets With Automator

Automator is a cool little app that comes with OS X that makes it much, much easier to programmatically control the various applications on your computer (all the good ones anyway). It’s all done by dragging and dropping actions into a workflow – the output of one leads to the input of the next. In Leopard, Automator got a big upgrade so it can now handle loops and variables but most of the time you don’t need them.

Continue reading: Droplets With Automator

Major Downtime

The server migration to a new data center last night went horribly wrong when the new IP didn’t (and still doesn’t) have a reverse DNS lookup. Sadly that means the secondary DNS where all the actual requests go to refused to pull the updates and the site was effectively down.

I think I’ve managed to sort out the DNS issues for all the domains hosted here now by making one of the secondary DNS’s the primary DNS and generally juggling things around. This is probably a smarter set up anyway so I’ll probably leave it this way in future. Still, annoying….

Continue reading: Major Downtime

Back In The UK

Arrived safely in the UK early this morning with no hassles from customs thanks to my shiny new visa. Somewhat ironically I also got my first serendipitous travel event from Drupal:

Andrew Roberts add a trip to Brisbane in April. You will be home then.

The problem of course being that this was my reminder to change my home location from Brisbane to London so I actually miss Andrew by a week. Never mind, he’s heading over here next anyway.

Continue reading: Back In The UK

No More IMAP For GMail?

I woke up this morning to discover that I can no longer access my GMail account (using Google apps for your domain) via IMAP. It just returns an error saying that IMAP is not enabled for your account. The IMAP option has even disappeared from the web interface, now only allowing you to enable POP access. The same is true for a second Google Apps for your domain account that work uses.

Continue reading: No More IMAP For GMail?

Fixing VPN On A NetGear FVS124G

Symptoms

  • You have a NetGear FVS124G router providing VPN.
  • You use IPSecuritas to let Mac users log into that VPN.
  • VPN has worked in the past.
  • VPN is no longer working and you haven’t changed any settings (in our case there was a power outage and the modem configuration didn’t come back as expected initially then was fixed so all the settings were the same as they used to be).
  • In the IPSecuritas log you get a message stating “inappropriate sadb message passed.” and  Phase 1 never actually connects (thus Phase 2 times out because of a lack of Phase 1 connection).

Solution

  1. Log into the admin interface of the NetGear router and go to Management->Settings Backup.
  2. Click “Back Up” and save the backed up settings file to your local hard drive.
  3. Under “Restore saved settings from file” click “Choose file…” and select the file you just downloaded.
  4. Click Restore.

If you’re having the same problem I was, your VPN will now work.

Continue reading: Fixing VPN On A NetGear FVS124G

Estimates Are Hard But Important

I had a very interesting conversation with our product manager yesterday centred around ensuring the development team is always working on the highest value functionality for our clients (and thus the business). One of the key messages I took away from the conversation was the distinction between estimates of cost for development work and estimates of value.

Continue reading: Estimates Are Hard But Important

Auto-Save And Feeling Safe

I’ve recently noticed that having auto-save functionality no longer makes me feel “safe”. Previously, if a program automatically saved every 5 minutes or so I was completely confident that I could never lose more than 5 minutes work which seemed good enough. Now however, I want more than auto-save, I want version history.

If I can’t go back and find a previous version then I can’t be confident that the next time I save it won’t corrupt things and I’ll lose everything. Odd really.

Continue reading: Auto-Save And Feeling Safe

Simple Apps And Livelihoods

Daniel Jalkut has an interesting piece on the perception people have that simple software should be free. It’s a perception that I actually share – it annoys me when people ask for money in exchange for really simple applications. It’s not that I don’t appreciate the effort that goes into software, it’s just that I’m a make the world a better place kind of guy. I believe simple things, which cost effectively nothing to reproduce, should be released for free on the basis that you both give and take from such a system.

Continue reading: Simple Apps And Livelihoods

Firewall To Split A Subnet

We’ve found a cheap little NetGear router that can roughly load balance and fail-over between our two internet connections to hopefully get a little bit more speed. Of course, the simplest thing to do is to set it up so that from the inside it looks just like the old modem and then on the WAN side set it up to look like a client using that old modem as it’s router. Of course, that means that the inside and outside of the router are in the same subnet (192.168.0.0) in this case and the new router’s internal IP is also the IP of the WAN router it forwards on to.

Continue reading: Firewall To Split A Subnet

ComponentOrientation and Right To Left Languages

For some time, we’ve had an Arabic translation in EditLive! and the editor pane itself fully supports bidirectional text, but we’ve never updated the UI to flip over to a mirror image when a right to left language is in use. Java actually has pretty reasonable support for this via the ComponentOrientation property in AWT (and inherited through to Swing) but there are a couple of annoying limitations:

Continue reading: ComponentOrientation and Right To Left Languages