Posts

My favorite hamburgers in San Francisco

(updated 2013-04-21)

See also this list of cloth napkin burgers.

  1. Bix
  2. Mission Beach Cafe
  3. Marlowe
  4. Roam
  5. Umami
  6. Slow Club
  7. Magnolia
  8. Mos Grille
  9. Custom Burger
  10. Bistro Burger
  11. Super Duper
  12. In-n-Out

As a bonus, the most overrated burgers:

  1. The Burger Bar in Macys—the Las Vegas one was OK, but the SF one is a wreck, far worse than even a McDonalds, with inedibly gristly meat the one and last time I had the misfortune to go.
  2. Zuni Cafe—the shoestring fries are lovely, but the burger itself blah
  3. Joes Cable Car—OK, but nothing to write home about
  4. Five Guys—this East Coast chain is starting to make an appearance in the Peninsula (they have a location at Tanforan), it’s OK but I can’t understand the rave reviews

Strange X11 behavior in Snow Leopard 10.6.3

After updating OS X on my work iMac, I noticed XEmacs and DDD take about 30 seconds to launch, behavior I did not see before the upgrade, and do not see at home either. The 30 seconds are suspiciously similar to a name lookup timeout—I am dependent on whatever lame excuse for a DNS caching server is used in my landlord’s 2WIRE router, whereas I run unbound at home.

Sure enough, running a packet trace shows strange DNS lookups:

tellann:src root# tcpdump udp port 53
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on en0, link-type EN10MB (Ethernet), capture size 65535 bytes
13:18:51.819226 IP tellann.58811 > home.domain: 5470+ A? tellann.gateway.2wire.net. (43)
13:18:51.840258 IP home.domain > tellann.58811: 5470* 1/1/1 A 192.168.1.81 (150)
13:18:51.841196 IP tellann.58057 > home.domain: 18746+ A? /tmp/launch-4UITkL/org.x.gateway.2wire.net. (60)
13:18:51.870233 IP home.domain > tellann.58057: 18746 Refused*- 0/0/0 (512)
13:18:52.842654 IP tellann.58057 > home.domain: 18746+ A? /tmp/launch-4UITkL/org.x.gateway.2wire.net. (60)
13:18:52.865696 IP home.domain > tellann.58057: 18746 Refused*- 0/0/0 (512)

The code>DISPLAY environment variable has changed to:

tellann ~>echo $DISPLAY
/tmp/launch-4UITkL/org.x:0

Before 10.6.3, it did not have the org.x bit. This whole approach of using a DISPLAY set to point to a UNIX domain socket was set up by Apple to allow launching X11.app on demand when a X client is run, but obviously many clients make the incorrect assumption that the part before the :0 display number is a hostname if it has a dot in it, and this is biting us.

The solution is simple: just set DISPLAY to :0 prior to launching XEmacs or DDD, and presto—no more delays, e.g:

env DISPLAY=:0 xemacs&

Scientific papers now citing blogs?

In my misspent youth I spent about a year as a visiting scholar researching wavelets under Raphy Coifman’s supervision at Yale’s small but excellent Mathematics Department. Professor Coifman was head of a department that also featured Benoît Mandelbrot (of fractals fame), the late Walter Feit (as in the Feit-Thompson theorem), and Fields medalist Gregory Margulis. He was kind enough to credit me on a published paper, even though he did all the work, reverse delegation in action. That paper had modest success and was cited, so I can claim (not with a straight face) to be a published mathematician.

While perusing my blog’s web analytics referrer report, I was surprised to find out my article on the Nikon D70’s not-so-raw RAW format is actually cited in a serious scientific paper on human vision. We keep hearing about students getting flunking grades for citing Wikipedia, are blogs really considered more authoritative?

The citation uses the old URL for the blog entry, </mylos/weblog/2004/05/02-1.html>. When I migrated to WordPress at the end of 2009, I took great pains to provide redirects whenever possible and avoid broken links. Many bloggers don’t have the time or expertise to do this, and simply leave dangling permalinks around. If quoting blogs is to become standard practice, authors should probably provide some sort of fallback mechanism like linking to Archive.org, but dead-tree journals do not have this capability. Absent that, linkrot may spread to an entire new category of documents, scientific papers.

Update (2011-07-18):

Here’s another paper (PDF) referencing the same article. What’s next, CiteSeer?

Clueless SaaS providers can leave you with egg on your face

While cleaning out my spam folders, I noticed a disturbing trend: a number of the spam were sent to vendor-specific email addresses I had set up to communicate with Parallels, Joyent and Shoeboxed. As a security measure, I do not give my personal email address to vendors, only aliases. The email address I used in the past for Dell was dell@majid.fm, for instance (I now use a different domain). A few years back, I started receiving pornographic spam at that address, which led me to think either Dell had secretly adopted a radically new diversification plan, or that their customer database had been compromised. Needless to say, this did not reflect well on Dell. I canceled that alias and stopped dealing with Dell.

I contacted the support for the three vendors. Joyent got back to me, and said:

We have traced this back to a third-party provider that was used to distribute service notifications. We have been in contact with this service provider, and they have determined that subscriber email addresses of their clients were compromised. They have launched their own investigation, which is ongoing, and have also reached out to their local FBI office.

After some digging, I found some interesting posts. Some email marketing company called iContact, that I had never heard about before, was the source of the compromise. They claim to be SAS-70 compliant, but of course like most bureaucratic certifications, SAS-70 is mostly security theater that makes sysadmins’ life miserable for no meaningful security benefit (SAS-70 auditors, on the other hand, profit handsomely).

Just another example of how outsourcing critical functions to outside vendors can backfire spectacularly and take down your own reputation in the process.