Hearty French Onion Soup*

Ingredients (serves 4)

  • 6 onions
  • 2 litres / 4 pints of beef or vegetable stock
  • 125g / 5oz butter
  • 1 glass of sherry
  • Salt and pepper to taste
  • 4 thick slices of fresh white bread
  • 50-100g Pargigiano Reggiano, or Gruyère cheese, or a mixture

Preparation

Peel the onions, cut them in half, and then slice them into thin semi-circle rings. DO NOT CHOP. Put the sliced onions with the butter in a large, thick-bottomed soup pan. Gently sautée the onions over a low heat for about 30-40 minutes, until they have turned nicely brown and partly caramelised. Add the stock, bring the mixture to a boil, and then reduce to a simmer for about 1.5 hours. Add salt and pepper to taste.

Before serving, splash the sherry into the soup, and bring it back to a gentle boil until the alcohol has cooked off. Cut the slices of bread to a size that will fit inside your soup bowls, and toast them until dark brown on both sides. Chop or grate the cheese, and sprinkle a generous handful over each slice of toasted bread. Then put the slices under a grill/broiler (or use a kitchen blowtorch) until the cheese is all bubbling and melty. Pour the soup into bowls, place a slice of the cheese-covered toasted bread on top of each bowl, and serve immediately.

* Authentic Dutch recipe

Bad Taglines

Idly thinking about bad realistic taglines for IT service companies….

  • We Care Because You Pay Us To
  • It Depends
  • Fast, Good, or Cheap: Pick One
  • When You Can’t Afford Anyone Better

Come on…go to the comments and give me some more….

Servers moved…

Well, we’re back. Remind me not to change web hosts again any time soon.

Getting set up with Pair was easy. They have more user-friendly configuration tools than EZPublishing has, I have more space to shuffle around files (enough to keep a complete backup of the whole site lying around), and their servers are noticeably faster. And we’re running under cgiwrap for added security, too. (Note to self: need to write a little tutorial on setting up MT under cgiwrap. The MT documentation says you can, and I’ve heard crusty old sailors tell drunken tales of brave folk who have done it themseves, but there seems to be bugger all in the way of step-by-step instructions for those of us who go “cgi-wha…?”)

However, I’m not happy with the way I managed the DNS change. I tried to set up redirects from the old server to the new one, but my knowledge of Apache redirects and mod_rewrite is limited. Basically, if you’ve been trying to access sunpig.com over the last three days (the time it takes for a server IP address change to propagate across the internet), you stood a better than even chance of seeing something closer to monkey poo than a traditional web site.

What I should have done is either shut down the entire site for that time, and presented a straightforward “out of order” page; or I should have just set up a straight copy of the old site on the new server, and not bothered with the redirects at all. Managing a seamless transition between servers is hard. I realise now that making it all work smoothly would have taken a lot more effort than I actually put in, and a lot more effort than I would have had time for. And all to avoid a personal web site having three days of down time? Not worth it.

HTML with Visual Studio.NET

Generally, Microsoft’s Visual Studio.NET is a pleasure to work with. However, there is one area where it falls down really badly, and that’s as an HTML editor. ASP.NET is brilliant, web controls are great, and VS.NET is just swell at writing the code that sits behind a web app. But does it allow you to produce nicely formatted, standards-compliant HTML? Does it hell.

Spend ages getting all the tags on a page nicely indented and WATCH with TERROR as it reformats the page with bizarre line breaks and random spacing.

Get your markup ready for validation, then WEEP in AGONY as all your hand-crafted XHTML is turned into puddles of steaming donkey vomit.

We’re talking horror of Lovecraftian proportions here, folks. <span class="label">Great Cthulhu<span>? Surely you meant to say <SPAN class=label>Great Cthulhu<SPAN>. Here, let me correct that for you….

I don’t mind that it’s doesn’t produce valid XHTML by default. I do mind that it won’t let me write markup the way I want to. Hidden deep in the guts of Visual Studio’s configuration settings there is a “Stop Fucking With My Code” option, but apparently it’s only there for decorative purposes.

However….

Earlier this week Scott Guthrie, the lead architect/product manager for ASP.NET, made some interesting accouncements on his blog about XHTML and accessibility standards compliance in ASP.NET 2 and the next version of Visual Studio (“Whidbey”). A white paper on www.asp.net goes into some more details about these, and other features. Here’s one of the bits I really like:

HTML Source Preservation

Visual Studio “Whidbey” respects your HTML. The formatting of your HTML markup — including all white space, casing, indention, carriage returns, and word wrapping — is now preserved exactly as originally written, even when switching back and forth between the design view and source view of the page. You can completely trust Visual Studio “Whidbey” to never modify your markup.

Yay! There’s a lot more cool stuff coming in ASP.NET 2, too. Unfortunately there’s still a long time to wait….

Dundee

Alex at the top of Dundee Law

DundeeAbi had a bookbinding event in Dundee on Saturday. We hired a car for the weekend, and we all drove up there for the day. Alex and I went shopping while Abi was binding, and towards the end of the afternoon we made our way up Dundee Law, the hill that sits in the middle of the city. It was bitter cold at the top, but the view made me forget all about that. The setting sun bathed everything in an amazing golden light. The Firth of Tay glittered like crumpled silver foil, and the city shone with an inner light.

Dundee
Edinburgh is a city of sandstone; Aberdeen is a city of granite. Dundee is somewhere inbetween. Where the slanting rays struck sandstone and brick, the buildings basked in the warmth of the winter sun. Where late afternoon shadows crept over granite and concrete, a cool blue glow spoke of ice and rime. The slopes of the Law are wrapped in gardeners’ allotments. Steam rose from compost heaps and hugged the ground as if seeking shelter from the coming chill.

Alex at the top of Dundee LawAlex and I both took photos. And then we retreated to the warmth of the car and ate jelly beans.


Moving hosts

We’ve just taken the first step in moving web hosts. We’ve been with EZPublishing for about three and a half years now, but we’ve just signed up for an account with Pair.com. EZPublishing have been great for the time we’ve been with them, but their hosting packages are no longer suitable for us. In particular, we need more disk space to hold all of the stuff we are dumping on sunpig.com, and disk space is expensive at EZPublishing. Pair, on the other hand, will provide us with 500MB of space and 15GB of bandwidth per month for $17.95.

Right now, all I’ve done is sign up for an account. Once that is set up, I’ll be moving files across, and I should be ready to change the our DNS entries by the weekend. Expect some strangeness and page errors until everything has smoothed itself out again…