Some Bits: Nelson's weblog

rsnapshot and backups

rsnapshot is good software. It’s a simple Unix backup program that gives you historical snapshots, sort of a low rent NetApp in free software. I now have views of my files from four hours ago, and one day ago, and one week ago, and... Having multiple versions protects you from the “I deleted some important files two days ago” problem. Behind the scenes it’s doing rsync and hard links to keep the size reasonably efficient. What I like best about rsnapshot is that it’s very professionally produced and was easy to set up on my Debian box.

I don’t understand how anyone backs their machines up anymore. Disk is fifty cents a gigabyte. I have something like 200 gigs of data in my house and I didn’t even try. Removable media sure isn’t going to work to back it up: tape’s too expensive and slow, CD and DVD are too small. So all I’m left to do is backup to other hard drives.

That doesn’t help you if your house burns down. I’d love to backup over a network (rsnapshot supports this), but I don’t have the bandwidth to even back up the 5 gigs that really matter. For now I’m also making copies to a USB drive that I store outside my house.

SBCGlobal DSL woes

I serve this blog from my home DSL (an increasingly dumb idea). My DSL went to hell at 11am today. Pinging from my house 63.194.75.26 to the DSL gateway on the other end of the line 63.194.75.25 is taking well over one second. No packet loss. It’s not my router, either.

I’ve seen this slow link failure mode before, but never for this long and with no packet loss. Usually it’s gone away on its own, a couple of times I’ve called for support and they “cleared the line” and things got better again. I wonder, does their router infrastructure go flaky or get overloaded? Do they monitor it?

I hate not being able to get real help. Their phone support is so far removed from an actual expert that I can’t say things like “I monitor the ping time on the link and it’s gone from 1ms to 1000ms”. At least their support script did lead to them actually detecting the problem.

Argh, now my link is entirely dead. Man, sonic.net is looking better and better.

Joe Kraus on hiring

I like Joe Kraus’ blog entry on hiring engineers, particularly the “do you have a blog” and “do you contribute to open source” questions. I love interviewing engineers with blogs or open source work because I can do a bit of research and have something meaningful and in depth to talk about.

His other question, “what’s your home page”, made me smile. Yes, I had a start page back in 1994, but I’ve long since stopped using it. I use MyWay these days, but my real start page is DQSD, the fastest way to do Google searches on Windows.

Joe quotes my friend Marc saying “Jedi Knights make their own lightsabers and great engineers make their own homepages.” But remember how in the original Star Wars movies Yoda didn’t have a light saber? That’s because he was so kick ass, he didn’t need one. about:blank is the start page for Yoda engineers.

Update: Marc says
I did tell Joe my “Jedis make their own lightsabers” theory, but not in reference to engineers making home pages (I use about:blank, myself). Instead it was in reference to the Excel team making their own C compiler, as mentioned in this Joel on Software piece. Joel’s piece is well worth a read, and some of its points overlap Joe’s good points on interviewing, to boot.

Volume settings for Creative Audigy

I’ve been totally hooked on Battlefield 2, the new squad FPS. It’s got great teamplay, aided in part by built-in voice over IP so you can talk to your teammates.

But adjusting the microphone so the gain is correct is a total pain. In addition to the in-game settings I’ve found at least three different audio control panels in Windows that affect it. The key is to ignore all of Creative’s crap software, go to Settings / Control Panel / Sounds and Audio Devices, click the Voice tab, go to the Voice recording panel, click Volume, then boost the Microphone slider. If you click Advanced you can also set a +20dB boost which helps too. Basically turn up the gain in every setting in Windows, then use the in-game control (with feedback) to lower it back to a reasonable setting.

I bet this isn’t so hard on MacOS.

Getting URLs from a pcap trace

The packet sniffer ethereal is essential for reverse engineering applications and diagnosing network problems. But it’s primarily an interactive tool with a GUI. I can’t figure out a way to use the Ethereal packet analysis code as part of a program I write.

One hack is to store packet captures to disk, then use tethereal on the command line to dump what you’re interested in to ASCII. Here’s a quick and dirty way to print out all the URLs that were fetched:

tethereal -r foo.pcap -R http.request |
  sed 's/.*GET //; s/ .*$//'
Still, there’s gotta be a better way to process pcap data with the high level analysis Ethereal does. ImPacket is an interesting alternative, but it seems orphaned.

Three random food things

I had lunch at Aqua recently, lovely until the dessert. I ordered coffee mouse with “Havana cream”. I expected something rum flavoured, but no, it was cigar flavoured. I’m open minded about that, but the flavour was unpleasant: peppery with a weird feeling in the throat. And I felt ill for the next few hours, presumably from the nicotine. Avoid.

Ken’s the family chef. He’s doing the low carb thing these days. One of the substitutes he makes is cauliflower rice; you put cauliflower in the food processor until it’s rice sized, then saute it quickly in butter. It’s delicious! You gotta love a diet where “saute in butter” is one of your main techniques.

Formal French table service includes a sauce spoon, a nearly-flat spoon with a notch in one side. (I grew up calling this a fish knife.) I thought I had it all figured out: you scoop up the sauce with it, put the spoon in your mouth, and enjoy the yumminess. So I did that on my last trip, and to my embarassment found my next two dishes were brought to me with actual spoons, not sauce spoons. Had I done something wrong? I think I was right.

Restaurants in France

Here are some notes about some of the more memorable places we dined in France (in addition to the steak frites place). I’m not a food critic, so this may be boring, but maybe it’ll be helpful for people looking for places to go in Paris or in the Southwest.
Paris, Le Dauphin, 167 rue Saint Honoré (1st)
A pleasant casual restaurant specializing in Southwest cuisine. I had a very satisfying cassoulet. They’re open Sundays, a rare thing.
Paris, Le Verre a Soi, 11 rue d’Armaillé (17th)
A new restaurant owned by a friend of mine. Very casual neighbourhood place, simple food for a fair price. Interesting wines, too. If you’re feeling tired of speaking French, Evelyne is very friendly and speaks great English.
Paris, Le Petit Prince, 12 rue Lanneau (5th)
Near Panthéon, this place has been around for at least twenty years and has been known as a gay place. There’s still a vestige of that (the staff, later diners), but good cooking and good reviews in Zagat have turned this into a very popular place. Good basic French cooking.
Paris, Carré des Feuillants (1st)
Ken and I wanted to go for a fancy blowout dinner in Paris, so we walked through the Michelin and picked this two star place for being just down the street and with a table available. We were disappointed, though. The food was excellent but a bit too technical for my tastes. The service was really off and the room was unpleasant. I’ve had bad luck with the fanciest places in Paris, I didn’t care much for Taillevent either. So maybe the problem is me.
Paris, Au Relais 48 rue Lamarck (18th)
The worst meal I had in Paris. We wanted a non-touristy bistro near Montmartre, no mean feat. This fit the bill, and I’m sure it’s lovely if you’re French and in a hurry and want something cheap and simple. But I’m not. Started off badly with me saying “bon jour, madame!” in my friendliest voice, only to get a look of scorn on the wench’s face and an indignant “non! mademoiselle!”. She shouted loudly back to the kitchen for menus for “étrangers” and it went downhill from there. Food was OK, but boy did I feel unwelcome. But it wouldn’t be Paris without a surly waiter experience.
Paris, Musée d’Orsay Restaurant
More than an expediency, the museum restaurant is worth planning a lunch around. The room is fabulous, a restored belle epoque hotel dining room. And the menu was quite good, if a bit uneven. We had the best salad we had the whole trip, but Ken’s confit wasn’t cooked right. Bad luck.
Carcassonne, La Barbacane, Hôtel de la Cité
A one star place in the middle of the old city of Carcassonne. Beautiful room with excellent classic service and an excellent menu. The staff took it well when I laughed at one of their dishes: a “spaghetti bolognese” that was done up to look like a sushi roll (spaghetti rolled like the bamboo matt around the veal). This was the first meal I truly enjoyed on our trip. It was like coming home, where home has black tie waiters and forty cheeses to choose from.
Mercuès (Cahor), Chateau de Mercuès
My favourite hotel on the trip, a fabulous 17th century restored Chateau. The dining room is excellent, with one Michelin star and a very beautiful room. Excellent food, very comforting and complex, if a bit heavy. Great cheese selection. The hotel also doubles as a winery, although I’m embarassed to admit we drank other Cahors instead of theirs.
Les Eyzies-de-Tayac, Hôtel du Centenaire
This dinner was the nicest we had, a two star place in the middle of Cro-Magnon country. Very extravagant and carefully prepared food, lovely service, all in all excellent. The chef has a light and subtle touch, something welcome particularly in Perigord.
Les Eyzies-de-Tayac, Restaurant Au Vieux Moulin
Our second dinner in Les Eyzies, because we couldn’t face the complexity of Centenaire two nights in a row. A very lovely restaurant attached to a nice looking hotel, down by the stream with great outdoor seating. Very friendly people with elevated country cooking; the only downside was every dish had the same foie-gras/truffle sauce. I’d definitely go back.
Les Eyzies-de-Tayac, Pizzeria Mentalo
A fantastic roadside place for a quick tourist lunch. They’ve got it all, but what’s best is their fresh made pizza. I had the pizza mentalo with smoked duck and cabecou, it was lovely.
Sarlat la Canéda, Auberge des Lys d’Or, Place André Malraux
One of my favourite finds for lunch, an honest little place in the middle of tourist Sarlat. Very comfortable and well made local food, finishing with a fantastic tarte aux noix. I’m sure you can dine very poorly in Sarlat, so I was glad to find this place.
Toulouse, Restaurant Dominique Toulousy, Place du Capitole
Absolutely fantastic (one star) restaurant in the middle of Toulouse. Toulouse drove us crazy, the hotel and restaurant in the middle of Capitole was a welcome oasis of calm. Excellent menu of regional food prepared very delicately and beautifully. Ken had the famous foie gras ravioli, which were awesome, and I had the carpaccio of oysters which were also awesome if very, very oysterish. The whole meal was fantastic. The place seems entirely overrun by businessmen on expense accounts, too bad because the food deserves more attention than that.

Wine tasting

I enjoy good wine and after several years learning about wine I think I know something about it. But I’ve gotten lazy and stopped taking notes about the wine I drink. It just seemed too much like work.

When we were in France we had a lot of great wine, mostly from the Southwest: Bergerac, Cahors, Languedoc... But since I don’t know the wines there I can’t remember what we had. The only wine I thought to write down was a Languedoc, a 1995 Domaine de La Grange des Pères that was fantastic. But specifically how was it fantastic? I can’t tell you now.

Maybe my friend’s manageyourcellar.com is the solution. It’s a web application for tracking your wine cellar and tasting notes. The views of your own cellar are nicely customed: “ready to drink”, statistics, recommendations. A nicely detailed database of wines holds it all together. The site has a wine blog too. Now to get some discipline about keeping notes!

Inspired by this Ask Metafilter thread

Steak and frites in Paris

Ken and I are food tourists and we eat well in France. But sometimes we get tired of foie gras, delicate vegetables, and French menus (just what are St. Jacques’ nuts? Mussels? Scallops? Clams?) When we get overwhelmed and want comfort food in Paris, Ken and I head to one of several steak-and-fries places.
Couldn’t be simpler. You sit down and the waitress immediately hands you a little salad (walnuts, mustard dressing). No menu, just two questions. How do you want the steak cooked? A point. Do you want wine? Yes. (But get the wine list: the house red is awful.) The waitress swiftly comes back with a plate of delicious steak bathed in a yummy mustard and sage sauce, along with some perfect pommes frites. You eat your steak and fries, they bring you a second helping (kept warm over candles), and then it’s on to dessert. Skip dessert.

The whole process is the opposite of the usual French temple-of-food experience. But it’s very satisfying and, judging by all the Parisians we see there, quite popular with the locals. The restaurants are a franchise. We’ve been to Le Relais de l’Entrecôte in the 6th (20bis rue St. Benoit, conveniently a block from St. Germain de Prés) and Le Relais de Venise in the 17th (271 bd. Péreire). The joint in the 6th even has the same 1945 Cognac Rouyer poster I have at home!

Half the blogerati have been there too

Sex in Grand Theft Auto

The PC version of Grand Theft Auto: San Andreas is out, and boy is it nice. It’s just as great as the PS/2 version, only with beautiful graphics (and, alas, crappy controls).

But the best thing about the PC release is that it’s open to modding. A bunch of mods are already out, including the Hot Coffee mod which restores a sexually explicit mini-game that the developers apparently took out at the last minute. See some screenshots to get the idea.

As the Guardian points out the sex is not particularly sexy. You gotta love a progress bar that says “Excitement”. But it is consistent with the cartoonishness of GTA, and I think this is the first time a mainstream game has had explicit sex in it. It may be that the most shocking part isn’t that the game depicts sex, it’s that it depicts sex between a black man and a white woman.

Reasons to hate Air France

Hey there, I’m back from a nice little vacation to France. Paris, the Lot valley, Perigord. I actually got sick of eating foie gras and truffles: life’s pretty good. But before I write up the fun stuff, here are some reasons to hate Air France:
  1. The cabin in their 747-400 from SFO to CDG is older than I am.
  2. Paris has two airports, who woulda thought? And if you miss your domestic flight because you’re an idiot and went to CDG instead of ORY, Air France makes you buy full fare tickets to replace the flight you missed.
  3. They don’t have proper gates at CDG, so you get to spend 30 minutes riding a bus all over the airfield to get to your plane.
  4. They lose one bus of passengers, it takes 30 minutes to find them.
  5. Only one of your two suitcases is on your flight.
Bah! But France was great, lots more to come. One quick suggestion: the Chateau de Mercues is fantastic if you want a relaxing country stay in the Lot, near Cahors.