Hacker News new | past | comments | ask | show | jobs | submit login

Well, I can answer a few of them. But honestly, these are kind of obscure, and I'm not sure you need to know them all.

> 50. The error message 'No space left on device.' means you are out of disk space.

On Linux systems, (and perhaps most Unix-likes? IDK) some fraction of the file system is typically reserved for root, typically to allow core functions to continue and to give some breathing room to recover the device. This is the -m flag to mke2fs, "Specify the percentage of the filesystem blocks reserved for the super-user." which defaults to 5%.

> 54. 'main' takes two arguments, argc and argv.

It can also take no arguments. I believe it can also take a third argument, a char* environ[], which contains the environment variables, but I don't know what the standards say about this. (I believe its a thing some implementations, particularly Unix-likes, do, but not a required-by-C thing. There's also the entry point in Windows, but that has a completely different name.)

Most of the rest seem like subjective opinion on the state of the world.

> 94. There is a "real world".

"You think that's air you're breathing?" and the recent https://xkcd.com/2221/ ; also https://qntm.org/responsibility ; or at least, that's how I'm choosing to interpret #94.




> 50. The error message 'No space left on device.' means you are out of disk space.

>On Linux systems, (and perhaps most Unix-likes? IDK) some fraction of the file system is typically reserved for root, typically to allow core functions to continue and to give some breathing room to recover the device. This is the -m flag to mke2fs, "Specify the percentage of the filesystem blocks reserved for the super-user." which defaults to 5%.

I've also had this happen when I ran out of inodes (the files storing metadata) - you can run out of the allocated number of inodes when you have millions or billions of files while still having hundreds of 'normal' gigs free. `df -i` will tell you.


>> 50. The error message 'No space left on device.' means you are out of disk space.

It can also mean that you're out of inodes. Or, if you're working with a non-disk-based FS, it can mean that you've run out of some other resource.


Or out of quota.




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

Search: