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

I actually ran into this once not as a joke. I was using some software which had an option that would change the default base it used for all numbers. After typing <command> 16 and fiddling about in hexadecimal I tried switching back to decimal using <command> 10, yet I was still in hex mode. It took me a few more seconds than it should for me to realise what had happened.


It must be the command-line calculator bc


That's possible, it was a long time ago and I can't remember for sure




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

Search: