gmail themes

Terminal Theme

So half the geek population on the face of the Earth has its panties in a knot because Google Mail has themes and because the “Terminal” theme is so nostalgic. Believe me, I’ve done all sorts of things in front of these thingies back in the days when all the interwebs we had were gopher and FTP by email.

Back to the 21st century. All hails and praises, a lot of people still use mutt as a mail client and all sort of console tools… but has someone bothered to try to actually use the “Terminal” theme for more than 30 minutes without getting a headache?

I thought so…

back on track

So, you’re not quite sure of what the hell “laziness” means?

Let me google that for you…

Three things I hate about the iThingies

These apply to the iPhone and the iPod Touch. And I’m pissed.

I hate to have it getting the time and date reset to something in the past (can’t find any pattern on the new date/time) everytime I drop it in the dock and sync. This happens when iTunes is left open when the computer goes to sleep or hibernates (and closing iTunes before sleeping does the trick). It has been like this since forever, there are people reporting the issue since September 2007 (video). Why hasn’t this been fixed?

I hate to have it performing a device backup which takes forever and which I’ll probably never have a chance to actually use and not having a straight way to disable it without messing around. Bastards.

I hate to downloading 250 megs of firmware updates every 2 weeks (currently 2.0.2, released a couple of hours ago, downloading over 3G as we speak), checking the release notes and saying these are just “bug fixes”. Which ones? Fix the damn thing, will you?

A company with a market cap of over $150 billion should actually listen to the customers, right?

And don’t get me started on the interface. The user interface is brilliant if you’re planning to use it as a webpad, PDA, mobile phone, gaming console, show-off thingie, whatever. If you want to use it to listen to music, it’s terrible, it’s cumbersome, it’s annoying. One of the killer features of the “classic” iPods was ease of use, the simple (yet powerful, for a MP3 player) of the interface. Scroll wheel for changing the volume and… uh… scrolling. Simple menu structure. Easy to operate the device without actually looking at it (or having it inside a pocket, for instance). One actual “lock” button that “works”. Do I need to shell out $20 to get a remote and have it working properly?

o cupertino, where art thou?

rotten appleSure, the Mac is exciting. I have nightmares about living in a world where laptops have no backlit keyboards and large shiny screens, sleek user interfaces and some other nice details. I must admit these guys do things the right way. But then…

For those with ADD: Why, oh why does leopard insist on storing entries on its DNS cache with TTL=3600 when the DNS proxy is sending them with TTL=0?

For everyone else: I’m testing DSL routers. One of the “nice” features to have in such a device is something that stands between the DNS clients (computers connected to the LAN ports) and the DNS server (usually provided by the network). This is usually called a DNS proxy or DNS relay and will (hopefully, in decent implementations), if the DSL connection is down, translate every single request to an internal/private/reserved IP address. If the user is using a browser, the www.whatever.com DNS query returns the mentioned IP address instead of the real one and the HTTP request will land on the router itself, which will politely say “your connection is down, go get a towel or something”. Aditionally, the router will send the DNS answer time-to-live to something real low (zero, preferably, so the “fake” DNS entry doesn’t get stored in local DNS caches).

So far so good.

Eventually, DSL connections go up. Sometimes they don’t (but that’s not my problem).

Should the DSL connection go up again, the router will probably fetch a working DNS server from the network and start resolving DNS correctly. End of story.

***Except*** there seems to be something essentially wrong with Leopard (I’m hearing people grinning and whispering “eh, don’t get me started…”).

A quick search on Google returns a few hundred hits on people whining about Leopard’s DNS implementation and the fact that it’ll take a few dscacheutil -flushcache iterations a day to clean the cache from DNS lookup failures (due to unresponsive DNS servers, for instance). Those error entries get marked with a big YES on dscacheutil -cachedump -entries “Neg” column. And they’ll probably have some sort of dealing up with that clutter. Not the issue here.

There’s another issue I won’t bother to go into right now, but is slightly related. Most entries on the cache show up has having TTL=3600 when the DNS server is sending values far above that (12 or 24 hours, just to name a few – I’ve got the packet captures to show it). The sentence “Why would someone want to store a DNS cache entry for so many time” makes some sense to me, but it would be nice if the operating system just did as it’s being told.

Which brings “the” problem here (my problem, at least – but JP mentioned a similar behavior around the time I first noticed the issue on my equipment): Leopard is storing entries with a TTL of 3600 (seconds) for entries that were sent with TTL=0. The DNS relay is saying “don’t cache this entry” but Leopard insists on doing so – and for an hour or something. dscacheutil -flushcache will fix it, but this is plainly annoying.

Here’s the DNS response from the DSL modem on Wireshark:
Wireshark capture

Windows’ ipconfig /displaydns listing (showing no trace of the google.com entry):
windows doing something right (for a change)

Last but not least, the Leopard dscache -cachedump -entries listing with a glorious TTL=3600:
it just works (not)

No sight of similar problems on the Ubuntu installation I tried. Pedro confirmed me minutes ago that Tiger behaves slightly better than Leopard and honors the TTL=0, keeping these records away from the cache (as it should).

Now could someone do something about this? I just did. Filed bug #5711166 and became a Mac Geek, according to Rui. Why do I have a feeling I’ll regret this? ;)

(Update: this issue has been fixed on the Mac OS X 10.5.3 Server update. Not bad.)

Paris Dec07

  • Where to stay:
    paris1 If you’re looking for a nice place to crash for a small price, the Hotel Au Pacific might be right for you. Book in advance to get one of the larger rooms. It’s small, it’s cozy, it’s on a nice and quiet neighborhood and very close to the Dupleix metro station. The Eiffel tower is at walking distance (15 min). A good alternative would be getting one of those big hotel chains such as Accor, who occasionally have special rates for specific locations (even closer to the city center).

  • Moving around:
    paris2Public transportation in Paris covers most of the city and is pretty decent and safe. The metro may sound a little confusing at first, but it’s nothing the right and ever-helping tool won’t handle, especially when it’s hard to find everything you’ll want to see at walking distance. If there’s a downside on the whole metro deal, it’s the closing time (between midnight and 1AM) – specially when the night line (Noctilien) doesn’t cover the whole city. Consider buying multi-day passes, as the t+ ticket price may be a little overrated (10 t+ ticket bundles are considerably cheaper). Ticket dispensers run Windows NT, are awfully prone to crashes and rarely accept coins, so bring enough coins (or credit cards). IMHO, panoramic tour buses are worthless (and expensive) and can easily be replaced by a few regular bus rides and some short walks covering the most “touristic” spots. A boat cruise along the Seine river, however, may be worth the shot, specially at sunset (Les Vedettes du Pont-Neuf, aprox 10€)

  • What to see:
    mandatory eiffel tower pic You’ll find most mainstream spots spread along the river. Use the boat cruise (or a good map) to identify them. These “attractions” can get pretty crowded and you should expect waiting in line for a couple of hours to get in the Eiffel Tower (where the night ascents are wickedly cool) or the Notre Dame Cathedral. Well know museums can get pretty crowded too, but it’ll take less time to get in (and even so, getting inside the Louvre using one of the secondary entrances – and not the Pyramide, will save you some time – check the timetables for information on days where the museum is opened until later and when admission is free – and please ignore the signs pointing out the Mona Lisa location). On the rive gauche, the Musée d’Orsay is also worth a visit, with its impressive collection of impressionist (was that a pun?) masterpieces such as Monet and Renoir.
    There are at least two well known gardens you should visit on a trip to Paris. One is Les Tuileries, which stretches from the Concorde square to the Louvre. The other one lies farther from the city center, so it won’t be unusual to feel a little more relaxed and calm. It’s one of the locals favorite places to have a stroll or just lie in the sun and very close to the Saint Germain quarter, very famous for its cafés and related artistic movements.
    And yes it’s true, there’s a whole lot more in Paris than what’s visible from the river axis. La Défense, for instance, an interesting architectural landmark and the major business district featuring some of the tallest high-rises in the city and a huge 110 by 100 meter open cube (l’Arche). It also marks the end of Paris’ 10 Km historical axis (which starts at the Louvre and continues along the Champs-Élysées and the Arc de Triomphe). Taking a stroll along the Champs-Élysées is mandatory, as well as having a look at the stores. And I’m not talking about places where you could buy a pair of earrings for the same price as you would buy a compact car, but car dealers’ showrooms where you are invited to see the latest concept cars and rarities (and a drink and some merchandising here and there).
    Not very far, the impressive Trocadero gardens with the Eiffel Tower as backdrop: definitely a must see. But a visit to Paris demands a walk on the Montmartre district, crowned by the Basilique du Sacré-Coeur and its impressive view over the city. Well known for its night life and way beyond the Amélie clichés, there’s something decadent about this neighborhood. A different city inside the city. A je ne sais quoiparis3
    To finish, a not so short walk towards the Marais, starting in the awkwardly strange Centre Jacques Pompidou (a concept building, odd looking art museum lying whose weird looks and colors seem vaguely well accepted amongst most people – and I just can understand why), wandering around narrow streets and alleys filled of strange shops and strange people and ending near the Bastille area (the Colonne de Juillet dominates the square and it marks the site of the prison known as the Bastille which was stormed at the start of the French Revolution – quite a landmark, but actually quite deceiving – it looks like just any other square with a statue).

  • Souvenirs:
    The best european chocolate may be found in Brussels, but Paris has its honorable share of good chocolatiers. There were probably a dozen places we visited, but Joséphine Vannier, at the Marais district, was the chosen one. Delicious.
    Bringing home some tea is also a good idea, and Mariage Frères is just the place to get it. It’s one of the finest and well-known french tea companies. Most of their stores have a “salon de thé” where you can sit and have a cup of tea before you head to the counter and choose what to bring back home (and it’s not just tea – you’ll probably get lost over the hundred varieties – there are also teacups, teapots and everything tea related).

  • Cool stuff to look for:
    paris space invadersParis has been conquered by Space Invaders. These creatures can be found mostly anywhere along the city. I had a planned encounter with one on the last day of the trip and found out, once arrived at home, that I had photo evidence of a whole lot more without ever knowing. Insanely cool. Last but not least, there are guided tours on Les Ègouts de Paris (the Paris sewers). Honest.

  • Don’ts:
    Don’t trust the train schedules. Don’t trust train operators on strike. Don’t miss the flight back home. Don’t sleep at the airport. Don’t trust anything that replies you back in french you you speak to them in english. Don’t walk when it’s just one block. Don’t go to Disneyland Paris unless you’re staying at a hotel there. Don’t drink vin chaud. Don’t go to the Champs-Elisées on new years-eve. Don’t expect much from a french reveillon (it’s just a bunch of people in the streets getting drunk, destroying things, burning cars and blowing themselves with their fireworks). Meh.