Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Since we're talking about energy consumption, you can get the same result without involving dozens of servers by typing this in your Unix terminal:

  $ units -v "15 TWh/year" "GW"
         15 TWh/year = 1.7111933 GW
         15 TWh/year = (1 / 0.58438752) GW


I've always suspected such a tool must exist in a typical *nix environment but never bothered to search for it. This is very helpful. Thanks for the simple example!


There's also an interactive mode if you leave out the positional arguments. That's my go-to CLI calculator, it knows enough arithmetic and the understanding of units is a nice bonus.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: