1,489 karma · joined November 6, 2012
8s to compile a hello world is "reasonable"? Am I missing something?
Except when accessing a field via a pointer to struct.
strncpy, despite what its name implies, does indeed not necessarily produce strings.
Regardless, a C string is defined to have a null terminator. All bets are off if you don't provide a string.
"An operating system," replied the programmer.
The warlord uttered an exclamation of disbelief. "Surely an accounting package is trivial next to the complexity of an operating system," he said.
"Not so," said the programmer, "When designing an accounting package, the programmer operates as a mediator between people having different ideas: how it must operate, how its reports must appear, and how it must conform to the tax laws. By contrast, an operating system is not limited by outside appearances. When designing an operating system, the programmer seeks the simplest harmony between machine and ideas. This is why an operating system is easier to design."
The warlord of Wu nodded and smiled. "That is all good and well, but what about the rants on lkml?"
tarsnap: 100 GB would be $300/year (excluding ingress/egress)
Edit: I believe both support deduplication (borg and tarsnap), but no idea if one is superior to the other?
- whitespace delimited with fields that contain whitespace.
- tabular lined up data that doesn't actually use tabs, and when a field is too wide, it just pushes the rest of the line over.
- 5,000 different variants of CSV
Of course some things (e.g. kubectl) have json and yaml output options, which can be nicely parsed with jq.
I also found https://github.com/kellyjonbrazil/jc handy, which attempts to convert many commands to json output.