Live data from Hacker News

The 500-mile email (2002)

web.mit.edu

51–60 of 145 posts

Re: The 500-mile email (2002)

#51

That was great out-of-the-box thinking, and I wonder if that could be used as one of these job interview questions: Q: "Your email server for some reason is only working for addresses within 500 miles of the server. What may go wrong?" And let the candidate think logically and reach some sane answer, even if not 100% accurate (i.e. check routers first, connectivity, DNS, timeouts...)

Anyone who short circuits and brings up this story should get a +1.

Re: The 500-mile email (2002)

#52

I was so happy to discover that units command line program, then i realized that Google already does this, it just wasn't as fun.

yeah and units on the mac terminal doesn't recognise "3 millilightseconds" whereas Google works for "0.003 light seconds to miles"

Re: The 500-mile email (2002)

#53
post #45
post #29

Another of the 10,000 here - this is such a delightful story. Also just discovered the "units" conversion program and disappointed that the default Mac library has only 586 units. And shockingly there don't seem to be compatible libraries out there.

`brew install gnu-units` should do it :) Edit: You'll then want to run it with `gunits` rather than `units`

Yay! Works.

Re: The 500-mile email (2002)

#54
post #52

I was so happy to discover that units command line program, then i realized that Google already does this, it just wasn't as fun.

yeah and units on the mac terminal doesn't recognise "3 millilightseconds" whereas Google works for "0.003 light seconds to miles"

works exactly as in the blog post in fedora.

Re: The 500-mile email (2002)

#55

That was great out-of-the-box thinking, and I wonder if that could be used as one of these job interview questions: Q: "Your email server for some reason is only working for addresses within 500 miles of the server. What may go wrong?" And let the candidate think logically and reach some sane answer, even if not 100% accurate (i.e. check routers first, connectivity, DNS, timeouts...)

That's one of those interview questions that tests for someone reading hacker news and pretending that they figured it out all on their own...

Re: The 500-mile email (2002)

#57
post #49

I didn't know about the units program. Is there any resource out there that lists these little *nix utility programs?

That's the thing about unix-like systems. No matter how much you have learned there's always some command you don't know.

Re: The 500-mile email (2002)

#58
post #54
post #52

Earlier quoted context omitted.

yeah and units on the mac terminal doesn't recognise "3 millilightseconds" whereas Google works for "0.003 light seconds to miles"

works exactly as in the blog post in fedora.

And Debian.

For Mac, try brew install gnu-units and then run gunits.

Post reply on HN