I’ve read this story many, many times (possible as far back as the original post?) but this is the first time I noticed the “units” unix CLI tool. I can’t believe I’ve never come across this command before. It’s awesome.
If you like units, you should give frink a try! It’s a full programming language specialized for manipulating units. For example:
corn_on_sale := 0.25 USD
// If we had a living wage, how many ears/corn
// could you buy with one days labor?
15 USD/hour * 8 hours- > "corn_on_sale"
480. corn_on_sale
Sad thing is I remember that there was quite a treasure trove of old humorous things under the https://web.mit.edu/jemorris/humor URI, but it seems that the access to browse the directories has vanished with some update on MIT side.
For what it’s worth here are some of the other links I could find when it was still possible:
Trey Harris (in response to a similar question at the time) explained: “I used to populate my units.dat file with tons of extra prefixes and units.” In any case, lightseconds (and therefore millilightseconds) is in the standard definitions.units file on Linux these days, so perhaps you could grab a better definitions.units out of https://www.gnu.org/software/units/ if nothing else. (On my machine, the standard units starts up with 2919 units, 109 prefixes, and 88 nonlinear units.)
Speaking of funny stories, I remember reading av IRC log where a presumably early teenager is trying out Linux. But the user is afraid of hackers, and upon learning that the passwords are in the shaddow file delete that file so that no hackers can see it, against all the users in the channel telling him/her down. Think I read it around 2000, but have been looking for that story without luck. Don’t remember if it was in English or swedish.
Sounds like something from bash.org; this reminds me of the guy posting his password because the channel convinced him they’d see it as asterisks, hunter2 iirc. Classic stuff
When I was still on IRC years ago we were discussing resource limits and the like, and I posted a fork bomb as a matter of illustration on why these things matter. 30 seconds later several people’s connections timed out and came back several minutes later with “WTF WAS THAT?!”
I didn’t expect anyone to actually run that (I had assumed most were already familiar with it) and felt kinda bad about it. But I guess a few people learned that copy/pasting commands you don’t understand in your shell is perhaps not the best of ideas 😅
Proposed tag: ‘classic’
From the submission guidelines:
Ah, thanks for pointing that out. This particular story is from 2002. I still love reading it every time.
“historical” might apply. I had no idea this was published that long ago, and I had never seen it before!
The very word in my mind as I clicked comments.
I’ve read this story many, many times (possible as far back as the original post?) but this is the first time I noticed the “units” unix CLI tool. I can’t believe I’ve never come across this command before. It’s awesome.
If you like
units
, you should give frink a try! It’s a full programming language specialized for manipulating units. For example:hmmmm
nah I’ll stick to stuff like NaSC (Soulver-like libqalculate-based GTK thing) :)
There’s also insect (and it was forked into binsect for bitwise ops and stuff).
I’ll stick with Frink ;)
(Funny coincidence, I’m going to upload an essay on Frink in the next half hour or so.)
Somewhat similar story that’s not really on-topic on Lobsters as such, but still interesting enough to share in the comments here: Vital Signs: The Woman Who Needed to Be Upside-Down
This was fantastic, thank you for sharing! Amazing how simple engineering decisions can lead to the wackiest of symptoms!
Sad thing is I remember that there was quite a treasure trove of old humorous things under the
https://web.mit.edu/jemorris/humor
URI, but it seems that the access to browse the directories has vanished with some update on MIT side.For what it’s worth here are some of the other links I could find when it was still possible:
You can browse through an AFS gateway: https://stuff.mit.edu/afs/athena/user/j/e/jemorris/www/Public/Humor/
You may want to look at https://archive.org/ and also archive existing stuff.
The virtue of plain text protocols…
you can still do this, but you have to use openssl s_client -connect host:port
1311 units, 63 prefixes?! My Mac only comes with 586 units, 56 prefixes and millilightseconds isn’t among them. How do I get more?
Trey Harris (in response to a similar question at the time) explained: “I used to populate my units.dat file with tons of extra prefixes and units.” In any case, lightseconds (and therefore millilightseconds) is in the standard definitions.units file on Linux these days, so perhaps you could grab a better definitions.units out of https://www.gnu.org/software/units/ if nothing else. (On my machine, the standard units starts up with 2919 units, 109 prefixes, and 88 nonlinear units.)
brew install gnu-units && gunit
Yesssssssssssssssss
Thanks Owen!
Here’s the original link and his FAQ about it
Speaking of funny stories, I remember reading av IRC log where a presumably early teenager is trying out Linux. But the user is afraid of hackers, and upon learning that the passwords are in the shaddow file delete that file so that no hackers can see it, against all the users in the channel telling him/her down. Think I read it around 2000, but have been looking for that story without luck. Don’t remember if it was in English or swedish.
Sounds like something from bash.org; this reminds me of the guy posting his password because the channel convinced him they’d see it as asterisks,
hunter2
iirc. Classic stuffYes, lobster have the same function! You can hunter2 my hunter2! All I see is asterisks 😉
When I was still on IRC years ago we were discussing resource limits and the like, and I posted a fork bomb as a matter of illustration on why these things matter. 30 seconds later several people’s connections timed out and came back several minutes later with “WTF WAS THAT?!”
I didn’t expect anyone to actually run that (I had assumed most were already familiar with it) and felt kinda bad about it. But I guess a few people learned that copy/pasting commands you don’t understand in your shell is perhaps not the best of ideas 😅
And yes, he/she logs in a bit later on the same channel with nick_win and want help to fix the installation as he/she can’t log in again.
Ah, those days. :-)