A blog about exoplanets, scientific computing, and life as I know it.

Category Archives: Uncategorized

Funniest Software Bugs

This is a cute collection of fun software bugs from Michael Tsai’s blog: Funniest Software Bugs.

I incidentally enjoyed learning about the units shell command, a useful utility to convert between units from the command line:

stefano ~$ units
586 units, 56 prefixes
You have: 100 feet/s
You want: km/hr
	* 109.728
	/ 0.0091134442
You have: 30 J/yr
You want: erg/s
	* 9.5066294
	/ 0.10518975

(Its man page informs me that it cannot convert Celsius to Fahrenheit, since it can only handle multiplicative scale changes: boo!).  And what the heck is a fathom?