247 karma · joined Jan 18, 2019 (7y ago) · 59 submissions
comment 2y ago · link · parent
"For example, my compiler interprets "\n" (a sequence of backslash and character "n") in a string literal as "\n" (a newline character in this case). If you think about this, you would find this a little bit weird, because it does not have information as to the actual ASCII character code for "\n". The information about the character code is not present in the source code but passed on from a compiler compiling the compiler. Newline characters of my compiler can be traced back to GCC which compiled mine."
comment 3y ago · link · parent
comment 4y ago · link · parent
The unsigned preserving rules greatly increase the number of situations where unsigned int confronts signed int to yield a questionably signed result, whereas the value preserving rules minimize such confrontations. Thus, the value preserving rules were considered to be safer for the novice, or unwary, programmer. After much discussion, the Committee decided in favor of value preserving rules, despite the fact that the UNIX C compilers had evolved in the direction of unsigned preserving.comment 4y ago · link · parent
comment 4y ago · link · parent
Just as a counterpoint to all the negativity in here.
(To be honest, I have never had a bad meatball. So the problem might be with me. Edit: actually, I tested plant-based meat(?)balls once. They were not good.)
comment 4y ago · link · parent
And for those confused: this is not published in nature, but in an open access journal owned by nature: "Humanities and Social Sciences Communications". This is not a subsection of Nature, and is rather obscure. I find it unclear what kind of peer-review has been done, but it has certainly not been done well.
This is not some kind of scientific proof of the "Swedish strategy" being crime against humanity. Merely a oddly placed opinion piece.
comment 4y ago · link · parent
comment 5y ago · link · parent
I have not read the study you are referring to. Are you sure it is not specifically about hospitalized patients? Even then it sounds extreme.
But you are right that vaccines are clearly better when given a choice.
comment 5y ago · link · parent
There has probably been said things with similar sentiment in regards to the pandemic. But not those two specific ones.
Even though I agree OP is pushing a narrative a bit too much, your correction is also wrong. Since these were not said during the pandemic.
comment 5y ago · link · parent
When moving cards from one side to the other a lot of elements will have to be moved around. But for small n it should be much faster than using linked lists. And also relatively easy to implement in C.
The shifting of elements when inserting can be avoided by only swapping two positions. (ABXDEFC instead of ABXCDEF, when inserting X into ABCDEF). But by then you have just reinvented Fisher-Yates.
So the swapping in some of these algoritms is basically an implementation of your idea.
comment 5y ago · link · parent
I was referring to this. Both Denmark and Finland were to a large extent involved in WW2, and neither have natural resources of the same kind as Norway.
Or is your opinion that they are not successful welfare states?
comment 5y ago · link · parent
I didn't mean that it is fair to compare a metropolis to Sweden when it comes to "who did the right thing". But it is a fair comparison when considering the effects of longcovid.
Sweden only stands out when compared to Nordic countries, not when compared to the rest of the world. Thus bad effects from longcovid should be more visible in harder hit places.