Live data from Hacker News

The 500-mile email (2002)

web.mit.edu

111–120 of 145 posts

Re: The 500-mile email (2002)

#111
post #49

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

units is nice, but there isn't much help, and the syntax isn't always easy to remember. It was fun to play with for a while, but wolframalpha.com is better.

Re: The 500-mile email (2002)

#112
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`

Awesome, thank you!

Re: The 500-mile email (2002)

#113
post #3

This one comes up ever 3-4 years or so in sysadmin communities, and I read it every single time. because it's worth it. It's one of those things that I highly doubt would have occurred to me to have even checked, or given even a moments thought to, under normal circumstances.

I was looking for another famous sysadmin story, where the guy who also happens to be a top Linux developer (so maybe Alan Cox?) rescues a deeply broken Linux system where even glibc is no longer accessible by manipulating inodes in a running process. Or something.

Over the years, my Google-fu has failed me. Any clue? :)

Re: The 500-mile email (2002)

#114
post #99

Earlier quoted context omitted.

And this is why we can't have nice stories. I felt for the author as I got deeper into the faq, and recognized this pattern of cynicism, then decided the author was so generous and thorough, not out of obligation (make the emails stop!), but because that is the type of detailed person he is -- and good at dinner parties too!

Writing stories for a technical audience is tricky. I've been doing it for going on 10 years now, and I'm still not very good at it. A critical rule, however, is to omit detail, (a reader is unlikely to question an explanation they make up themselves) and most importantly, to omit details you know to be wrong . (It is impossible to nitpick a statement that is never said) An odd feature of our campus network at the ti…

That is a brilliant way of stating that observation. Thank you.

Re: The 500-mile email (2002)

#115
post #49

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

units is nice, but there isn't much help, and the syntax isn't always easy to remember. It was fun to play with for a while, but wolframalpha.com is better.

[deleted]

Re: The 500-mile email (2002)

#116
post #3

This one comes up ever 3-4 years or so in sysadmin communities, and I read it every single time. because it's worth it. It's one of those things that I highly doubt would have occurred to me to have even checked, or given even a moments thought to, under normal circumstances.

I was looking for another famous sysadmin story, where the guy who also happens to be a top Linux developer (so maybe Alan Cox?) rescues a deeply broken Linux system where even glibc is no longer accessible by manipulating inodes in a running process. Or something. Over the years, my Google-fu has failed me. Any clue? :)

http://www.lug.wsu.edu/node/414 is what you are looking for.

Re: The 500-mile email (2002)

#117
post #60

Another email incident at Microsoft worth reading [1]. [1] http://blogs.technet.com/b/exchange/archive/2004/04/08/10962...

I also found that to be evidence of pretty horrific architecture in Exchange. Two actual recipient lists with a secret internal one? Bloating headers to 13K? At the very least, it seems to me like they chose to put the distribution logic at the wrong layer...

Re: The 500-mile email (2002)

#118
post #28

Earlier quoted context omitted.

> Say what? Nobody writes a sendmail.cf from scratch, unless they are crazy. The point moreover was that he had a custom version of the config file (not just default).

Yes, sites have necessary customizations in sendmail.cf. These do not have to be rewrites that use shiny new syntax. My biggest problem with the author was not that he uses his admin blunders as a basis to call himself a good sysadmin, but that he assumed that the stats people were idiots who don't know anything about `puters or networks. I was not surprised by the 500 mile claim. It strikes me as obvious that the 50…

Your superior knowledge has been noted by the Ministry of Statistics. Thank you for supplying this data point.

Re: The 500-mile email (2002)

#119
post #72

Earlier quoted context omitted.

What do you use it for?

One use is converting columns of numbers into math strings for bc. Example (contrived): $ seq 10 20 | paste -s -d + 10+11+12+13+14+15+16+17+18+19+20 $ seq 10 20 | paste -s -d + | bc 165 Or converting columns of strings into regex 'or' clauses for searching (contrived example again): $ cut -f 3 -d , something.csv | paste -s -d "|" a|b|c|d|e|f $ egrep "$(cut -f 3 -d , something.csv | paste -s -d "|")" another_file ...…

seq has the -s flag which voids the need of the paste for that command:

  $ seq -s + 10 20
  10+11+12+13+14+15+16+17+18+19+20
But I agree that the paste is very useful.

  # a few random samples for an IN SQL statement
  $ shuf -i 1-500000 -n 5 | paste -s -d ,
  371492,250061,266669,455846,295852

  # we can even get PI
  $ ( seq -s + -f '4/%g' 1 4 100000 && seq -s - -f '4/%g' 3 4 100000 ) | paste -s -d - | bc -l
  3.14157265358979523735

Re: The 500-mile email (2002)

#120
If only every bug report that I received had been processed by a geostatistician... Usually I get a "hey, I can't get X to work". One of three responses from me usually fixes it: "Is your computer on?", "are you online?", and "try hitting refresh".

I am actually surprised the sysadmin in this scenario thought it was a bad thing that the statistics department did their research and presented a well documented error.

Post reply on HN