Re:The case of the 500-mile email
by wgrover on Monday June 27, 2011 @01:39PM
(#2702167)
Worth reading just to find out about the units(1) program. How did I miss that all these years?
[ Parent
| on HN ]
If you like the program, read through the data file: http://futureboy.us/frinkdata/units.txt
Some pure gold buried in there. For instance search for candela.
Hahahahahhah Hilarious.
Define the default symbol for the imaginary unit, that is, the square root of negative one. The default Unicode codepoint for the imaginary unit. (DOUBLE-STRUCK ITALIC SMALL I)
\u2148 := <<IMAGINARY_UNIT>>
Also used for the imaginary unit (especially by electrical engineers, who use "i" to indicate current. (DOUBLE-STRUCK ITALIC SMALL J)
\u2149 := <<IMAGINARY_UNIT>>
Redefine the letter "i" to also be the imaginary unit
i := \u2148Hm, is there an archive of old versions of units.dat anywhere? Occasionally units get deleted from it - I used to keep old versions but I'd forgotten about this some time ago and haven't done so in a while. (Also that was several hard drive crashes ago so I no longer have the copies I made.)
On the kilogram: "I dislike having a prefixed unit as the base reference. What a horrible decision. Why don't you just have it go to ten and make ten a little louder?"
Exactly right.
FYI units on OS X doesn't recognize millilightseconds, but you can do this:
You have: 3 lightyears / 365 / 24 / 60 / 60 / 1000
You want: miles
* 559.21802
/ 0.0017882113nice, except there's more than 365 days in a year : )
You have: 3 lightyears / 365.25 / 24 / 60 / 60 / 1000
You want: miles
* 558.83525
/ 0.0017894361
Re:The case of the 500-mile email
by ColinWright on Tuesday June 28, 2011 @03:31AM
(#2704432)
Nice, except there are less than 365.25 days in a year.