The image shows the `eval` on the same line as the `#!/bin/bash`. It should be on a separate line. #!/bin/bash eval "$(base64 -d <<< '...
Of course no sane person would spend ten years writing "All work and no play makes Jack a dull boy" over and over again". That wasn't the point. The labor theory of value says that the value of something is determined…
"Copyright demands that everyone pretend the value of someone's work is the product of that work, not the labor." Isn't it? If you spend ten years writing the Great American Novel, and I spend ten years writing "All…
Strictly speaking it's the ISO C standard. ISO issues each new edition of the standard, and ANSI adopts it. This was reversed for the first standard, which ANSI published in 1989; ISO adopted it, with editorial changes,…
They hadn't yet decided whether to count from 0 or from 1.
I wonder if the book itself is actually any good. My understanding is that authors often have little or not control over the covers chosen by their publishers. It's at least possible that the book itself is excellent,…
No, the behavior is undefined. That means, quoting the ISO C standard, "behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which this document imposes no requirements". A…
If the behavior is undefined, there is no wrong result.
Are you volunteering to update all the code that would be broken?
Your code: int a = 5; int b = a++; has well defined behavior. The first line initializes a to 5. The second initializes b to 5 and sets a to 6. (The language doesn't specify the order of the two operations of assigning…
"Test Your C Skills" is a published book by Yashavant Kanetkar, apparently published in 2005, and still available in paperback. The document you linked to appears to be a scan of a printed copy of that book, and is…
What can be optimized out depends on the context. If you write: int i = 0; i = i++; and never use the value of i, the declaration and assignment are likely to be optimized out. (The behavior of the assignment is…
Agreed. As a programmer, the solution to "int a = 5; a = a++ + ++a;" is to decide what you result you wanted, and write code that will produce that result, and probably to pass options to the compiler that tell it to…
I don't see the name "thaumasiotes" at that link, nor do I see anything relevant to the code in the title. The behavior of "int a = 5; a = a++ + ++a;" is undefined. There is no guarantee of a numeric result, because…
This reminds me of a passage from the book "Pro Git". <https://git-scm.com/book/en/v2> "Here’s an example to give you an idea of what it would take to get a SHA-1 collision. If all 6.5 billion humans on Earth were…
UUID v7 relies on knowing what time it is. Speculation: The most likely scenario for a UUID v7 collision is if UUIDs are generated during a system boot sequence, before the system clock is set to the current time. It's…
Seriously? I discussed some of the technical issues behind the article. If you disagree with anything I wrote, please say so. I'm not even saying that the issues discussed in the article aren't useful, just going into…
It's not even possible to pass too few arguments to a function in C unless you go out of your way to write bad code. You can write a function declaration that's inconsistent with its definition in another translation…
The summary of what this is about is: "Atproto is a big-world open social protocol. Users publish JSON records into repositories. The changestreams of those records then sync across the network to drive applications."…
"I hate that SEPTember OCTOber NOVember and DECember aren't the7th, 8th, 9th, and 10th months." "Whoever f---ed this up should be stabbed." "I have excellent news for you."
That doesn't do much good if you set `EscapeChar` to `none` in `.ssh/config`. I find it convenient not to have to worry about accidentally entering escape characters. YMMV.
The Senate?? Any law changing the name of the Defense Department would have to be passed by both Houses of Congress and signed by the President (or by 2/3 of both Houses overriding a Presidential veto). The Senate has…
If you want any kind of non-trivial formatting, use the printf command, not echo.
Like re-introducing wolves into Yellowstone.
I'm already running tmux. Opening a new window is easy.
The image shows the `eval` on the same line as the `#!/bin/bash`. It should be on a separate line. #!/bin/bash eval "$(base64 -d <<< '...
Of course no sane person would spend ten years writing "All work and no play makes Jack a dull boy" over and over again". That wasn't the point. The labor theory of value says that the value of something is determined…
"Copyright demands that everyone pretend the value of someone's work is the product of that work, not the labor." Isn't it? If you spend ten years writing the Great American Novel, and I spend ten years writing "All…
Strictly speaking it's the ISO C standard. ISO issues each new edition of the standard, and ANSI adopts it. This was reversed for the first standard, which ANSI published in 1989; ISO adopted it, with editorial changes,…
They hadn't yet decided whether to count from 0 or from 1.
I wonder if the book itself is actually any good. My understanding is that authors often have little or not control over the covers chosen by their publishers. It's at least possible that the book itself is excellent,…
No, the behavior is undefined. That means, quoting the ISO C standard, "behavior, upon use of a nonportable or erroneous program construct or of erroneous data, for which this document imposes no requirements". A…
If the behavior is undefined, there is no wrong result.
Are you volunteering to update all the code that would be broken?
Your code: int a = 5; int b = a++; has well defined behavior. The first line initializes a to 5. The second initializes b to 5 and sets a to 6. (The language doesn't specify the order of the two operations of assigning…
"Test Your C Skills" is a published book by Yashavant Kanetkar, apparently published in 2005, and still available in paperback. The document you linked to appears to be a scan of a printed copy of that book, and is…
What can be optimized out depends on the context. If you write: int i = 0; i = i++; and never use the value of i, the declaration and assignment are likely to be optimized out. (The behavior of the assignment is…
Agreed. As a programmer, the solution to "int a = 5; a = a++ + ++a;" is to decide what you result you wanted, and write code that will produce that result, and probably to pass options to the compiler that tell it to…
I don't see the name "thaumasiotes" at that link, nor do I see anything relevant to the code in the title. The behavior of "int a = 5; a = a++ + ++a;" is undefined. There is no guarantee of a numeric result, because…
This reminds me of a passage from the book "Pro Git". <https://git-scm.com/book/en/v2> "Here’s an example to give you an idea of what it would take to get a SHA-1 collision. If all 6.5 billion humans on Earth were…
UUID v7 relies on knowing what time it is. Speculation: The most likely scenario for a UUID v7 collision is if UUIDs are generated during a system boot sequence, before the system clock is set to the current time. It's…
Seriously? I discussed some of the technical issues behind the article. If you disagree with anything I wrote, please say so. I'm not even saying that the issues discussed in the article aren't useful, just going into…
It's not even possible to pass too few arguments to a function in C unless you go out of your way to write bad code. You can write a function declaration that's inconsistent with its definition in another translation…
The summary of what this is about is: "Atproto is a big-world open social protocol. Users publish JSON records into repositories. The changestreams of those records then sync across the network to drive applications."…
"I hate that SEPTember OCTOber NOVember and DECember aren't the7th, 8th, 9th, and 10th months." "Whoever f---ed this up should be stabbed." "I have excellent news for you."
That doesn't do much good if you set `EscapeChar` to `none` in `.ssh/config`. I find it convenient not to have to worry about accidentally entering escape characters. YMMV.
The Senate?? Any law changing the name of the Defense Department would have to be passed by both Houses of Congress and signed by the President (or by 2/3 of both Houses overriding a Presidential veto). The Senate has…
If you want any kind of non-trivial formatting, use the printf command, not echo.
Like re-introducing wolves into Yellowstone.
I'm already running tmux. Opening a new window is easy.