“Top sliced” hot dog buns

Posted in default on March 25th, 2012 at 13:54:38

One thing I never knew was different between the Midwest and the East Coast until I moved here: the slicing of hot dog buns.

Where I grew up, hot dogs had smooth sides — like the outside of a loaf of bread. The slice was cut in what I think of as the ‘top’ of the bun — the bun was rounded on three sides, and looked like a loaf, except on the bottom, which was white, bread-like material.

In the midwest, they’re sliced (or made entirely) a different way — the sides that you put your hand on are not smooth, outside-of-load like material, but instead bread-filler-like white material, with the loaf-like stuff on top — looking more like two pieces of bread.

The words for these appear to be “side-sliced” (which is what I grew up with):

Side sliced hot dog bun

and “top-sliced”:

I just never knew that hot dog buns could be sliced a different way.

Happy Birthday

Posted in default on March 19th, 2012 at 08:41:01

Last night, at my weekly Drink With Geeks event at Grendel’s Den in Cambridge, I enjoyed the start of my birthday with a lively argument about whether the Open Source development model is fundamentally superior for most use cases to proprietary software. (I’d shorten it here, but I realize that it really deserves a full post.)

I finished it off with a free shot of the Bartender’s choice — which happened to be Jameson. So far, in my 28th year, I have learned one thing only: Holy crap do I not like Jameson. (But hey, gotta try new things!)

Happy Birthday to me!

Long Read: Steve Jobs Playboy Interview

Posted in default on March 17th, 2012 at 10:16:30

Most of my reading on the internet is quick; 6 paragraph news articles, compressing down into something I can read in less than 5 minutes, because I seldom have the time to spend longer than that. I do read in my spare time, but it’s usually 1950s-1970s sci-fi — not non-fiction news articles.

This morning though, I was linked to this Slate article about some of the best stories about the early computer industry which led me to a 1983 Playboy interview with Steve Jobs — and I’m amazed at some of what is said there.

I wasn’t one of the mourners at Steve Jobs’ death — I just didn’t have a lot of interaction with Jobs as anything other than a marketing personality. I got into computers in the mid 90s — my first home computer was Christmas of ‘93, and the Mac, although ever-present in my early educational career, was always a slightly dated concept at best. It was never a core part of my life, and although I’ve been using Apple for my laptop hardware for the past 7 years, I never really bought into the Cult of Mac the way some people did.

Reading the Playboy interview though, I was struck by how much, in 1983, Jobs’ role and interactions in Apple played out exactly as he thought they would. His idea that IBM PCs, if they succeeded, would limit innovation in hardware for a “Dark Age” of 20 years, though not exactly spot on, is probably something that he would say came true — and that Apple, with OS X and later with the iPhone/iPad revolution, was really exactly the kind of thing I can see as being a fulfilled vision there.

To the rest of the world, the hardware revolution stopped mattering for a long time in personal computing — or at least, I think of it that way. Comparing the computers of today to the computers of 2000 — hell, even the computers of 1995 — didn’t innovate very much in changing user interactions. The “smartphone” started to make that change in early 2000s, a bit, but I think that the iPhone and iPad have really changed computing in a fundamental way for a lot of people. (Out of that has come other technology — like the Kindle — that is also changing the way that people interact with computers, in my mind.)

There were also a number of other things he talked about — like weaving in and out of Apple as he continued his life, or like predicting the death of what I guess were the other significant computer manufacturers then (Radio Shack, Wang, TI, Xerox, etc.) — a fact which shocked the interviewer.

It really changes my perspective on Jobs, and to a lesser extent, on Apple as a whole, to see that 30 years ago, Jobs could see pretty much exactly the way things worked out. It’s a pretty weird thing to read to me.

Personal Weakness: Discovery Channel ‘reality’ TV

Posted in default on March 4th, 2012 at 21:55:05

ХудожникI don’t know why it is, but man, do I love Discovery Channel’s (and History Channel’s) “reality” TV. Storage Wars, Pawn Stars, Ice Road Truckers, etc.

This weekend’s guilty pleasure is “Gold Rush: Alaska”; I started yesterday night, and I’m now partway through Season 2.

I expect most people wouldn’t like it, but I certainly do, and I don’t even really know why.

Kerberos Safari Support (or lack thereof): CNAMEs + Negotiate Auth

Posted in default on February 26th, 2012 at 08:43:59

MetaCarta used Kerberos for single-sign-on support company wide.

Now, given that MetaCarta was a bunch of MIT hackers, this shouldn’t be particularly shocking. :) It was generally a very nice thing to have — although it got me used to the idea that I *shouldn’t* type my password 20 times per day, a notion that Nokia has tried very hard to dissuade me from.

However, Kerberos support in Safari never worked for MetaCarta’s web services. It was never clear to me why, it was just clear that it didn’t work. Googling showed me many people saying it did work, and no people saying it didn’t, so I figured it was some quirk of my system and didn’t bother to fix it.

Now, at Nokia, I’m in the same boat: for services run by the Group Formerly Known as MetaCarta, we use Kerberos for everything. The difference is, falling back to Basic auth — which was fine in MetaCarta times — is a Very Expensive path to take in the new world; our auth services are slow Microsoft AD services hosted thousands of miles away on the other side of multiple high-latency firewalls, so when Kerberos doesn’t work — it hurts.

So, after getting fed up with this behavior yesterday, I started digging in. I didn’t make a lot of progress last night, but this morning, I stumbled across a post documenting that Safari does not work with hosts that are CNAMEs. With that one small pointer, I found other evidence of people running into this, and an option to reproduce the Safari-like behavior in chrome: “–disable-auth-negotiate-cname-lookup”. (The option documentation points to HttpAuthHandlerNegotiate::CreateSPN in http auth handler for more details.)

This bad behavior isn’t limited to Safari though: different versions of IE and the .Net framework also fail in similar ways at times. (The article in question says “Do not use CNAME dns records and non default web ports when using Kerberos!” — and given the multitude of clients and differing bugs in implementation, I’d say that seems like about the right approach.)

This seems to be a bug in Safari; it isn’t clear to me if it’s also a bug in WebKit. A brief (30 minutes) search through webkit and related postings seems to indicate that the higher level authentication handlers — like the one linked above in Chrome — are implemented at the application level, not the library level. (The library provides the hooks, but wouldn’t have anything more complex like Kerberos — which isn’t surprising.) I think that would mean this is a bug in the Safari implementation — the closed source side that I can’t touch — rather than in the open source WebKit base, so I can’t just ‘fix it myself’ (other than writing my own application layer — or more realistically, switching away from Safari to Chrome).

Anyway, if you’re having an issue with Negotiate auth not working in Safari, when you think it should — check if the server you’re trying to talk to is using a CNAME. If the answer is yes, it seems you’ve run into a known limitation: Safari Just Doesn’t Do That.

Words with Four vowels in a row

Posted in default on February 13th, 2012 at 23:54:16

A friend of mine posted on his LiveJournal:

“maeiusophilia”
There aren’t many English words with four vowels in a row.

Of course, geek that I am, I thought ‘hm, that sounds like a challenge.’

Using egrep and /usr/share/dict/words, I came up with the following:

In my /usr/share/dict/words, it looks like:
4: 159
5: 3 (cadiueio, Chaouia, Guauaenok)
6: 1 (euouae)

Excluding proper nouns (or at least, things capitalized in the first letter), we get 110, 1, 1. Of the four-vowel words, 7 have only 5 letters; another 6 have only 6 letters.

An arbitrary selection of 4-vowel words: homoeoarchy, obsequiousness, palaeoencephalon, queue, lieue, rhythmopoeia, exsanguious.

(Normally, I’d have done a random selection instead of an arbitrary selection, but `sort` on OS X doesn’t have the -R option, sadly, and I didn’t happen to have an ssh connection to elsewhere open at that particular second.)

This feels like the kind of question I’d love to use as a job interview question someday.

Working for the Man

Posted in Social on February 12th, 2012 at 18:25:39

Sometimes, I wish that I could talk more about work openly.

I do a fair amount of what I consider somewhat cool stuff at work — as is evidenced by my somewhat lower work in open source these days. (Since I find my work more interesting, I spend fewer of my off hours invested in ‘more interesting’ projects than I used to.) Of course, in reality, I expect that most people would still find what I do completely boring, but to me, it’s exciting.

In the past, when I worked for MetaCarta, there were only 20-30 people who would be in a position to be upset by what I would talk about — if I wanted to chat in public about something, I could usually chat with everyone who might care about it in an afternoon, and get a go/no-go from them.

But now, I work for a much larger company, and speaking out of turn could have much larger consequences. (Not the least is the fact that the company is publicly traded — so anything I say has the potential to actually shift a public stock price.) The group that I work in is significantly larger than MetaCarta’s core of engineers, and the number of levels between me and the top is comparatively larger.

So now, when I’m working on things that I consider cool, or want to share — I typically have to just keep my mouth shut.

Recently, one of my coworkers was trying to encourage someone from our team to present at the Berlin Buzzwords conference — talking about how good it would be to present some of what we do at the conference to get feedback from others working on the same problem. I couldn’t help but think, at the time: What exactly do you think that we could share at this conference?

Maybe it’s a cultural thing, but I feel a bit stymied by this regularly — even inside the organization, sharing data we’ve gathered becomes a political, rather than a technical, decision. Oversharing without consideration for how other teams will see the data is something that can have significant negative impacts on our interactions with other teams, because it’s very easy to step on toes.

I realize that this is all part of working in a large organization. Overall, there are a lot of positive benefits — in fact, much of the reason that I have more data that I’d like to share now is because we have a larger set of resources than we had available at MetaCarta, where many of the projects I worked on were just me hacking along on them alone. It doesn’t make it less frustrating, but it does swing both ways.

But sometimes I still just wish I could blab about what hack I spent my weekend on. Or open source another small project. And it’s a shame that I can’t.

Berlin

Posted in default on January 29th, 2012 at 17:20:51

Some things I learned about Berlin this trip:

  • Berlin isn’t really home to as large of a ‘classical German’ attitude as I would have assumed. Instead, it is (as far as I understand it) pretty much hippyville for Germany. Things like the fact that everyone ignores no-smoking laws — Berlin much more so than anywhere else in Germany. The hipster attitude: same. The silly love of 80’s music… well, I don’t know much about that. (I do know that I’ve not seen posters for Journey concerts anywhere else in the US…)
  • Oranienburger is part of the red-light district of Berlin — This is the first time I’ve ever been propositioned by two prostitutes in 10 minutes!

(Oh, also, I did some work.)

German Learning

Posted in default on January 13th, 2012 at 23:18:54

БогородицаThis week, Jess pointed out to me “An Invisible Woman Taught Me German“, a story in Slate about German Language learning via the Deutsche Welle organization.

My favorite quote: “It’s basically a Teutonic Scooby-Doo, with overt sexual tension among the young mystery-solvers. They investigate weird occurrences like crop circles, Beethoven’s ghost, and a Hamburg shark. (As in Scooby-Doo, you’ll see the ending from 1.6 km away.) When they get stumped, they query their talking computer Compu, who has impossibly advanced speech recognition, yet for some reason still whirrs and clicks like a 1970s adding machine. Sometimes a spooky talking owl named Eulalia lends a hand, flapping in on a cloud of horror movie sound effects.”

How can you beat that for foreign language learning?

Macbook Air: Loving It

Posted in default on January 1st, 2012 at 22:32:17

Overall, I’m loving the Air.

The laptop is small — so small it took me a couple days to adjust. But overall, it has everything I want or need, and I couldn’t ask for anything else. Most importantly, it has working wireless in my office — when the wireless in the office works at all, which comes-and-goes at best.

I may hate freedom, but I sure do love nifty hardware.