1,948 karma · joined Apr 21, 2024 (2y ago) · 736 submissions
comment 3h ago · link · parent
That is... they think Median(time for specialist + time for treatment) = Median(time for specialist) + Median(time for treatment).
Anyone with even a basic understanding of statistics knows this is not true, and in fact these guys likely know it's not true as well.
comment 3h ago · link · parent
The authors calculate a weighted mean of medians and misrepresent it as the median patient wait time. To make matters worse, they add two separately calculated statistics together, despite the fact that medians are not additive.
While the Mean(X) + Mean(Y) = Mean(X + Y), you can't apply that same property to the median. Median(X) + Median(Y) != Median(X + Y), and yet this study makes that very mistake to erroneously come to the 31 week figure.
The study appears intended to give the impression that Canadians typically have to wait approximately 31 weeks to receive health care, when the actual methodology establishes nothing of the sort.
comment 5h ago · link · parent
int foo(int x) {
assert(x != 0);
return 1 / x;
}
Because the assert goes into the source file, its behavior is uniquely determined by how that single source file is compiled, so any calls to foo will get consistent behavior.Contracts are meant to go into header files (.h or .hpp) like this:
int foo(int x) pre(x != 0);
Because it goes into the header file, such as foo.h, a source file such as bar.cpp can include foo.h with contracts disabled, while baz.cpp can include foo.h with contracts enabled, which means that there is not one unique and unambiguous implementation of foo.There is no agreed upon solution on what to do in this case. There are many options, you might think bar.cpp gets one version of foo while baz.cpp gets another, you might think that however foo.cpp gets compiled is the definitive version that all others are required to use, you might think if one source file disables contracts they all disable them... every proposal I listed comes with a very deep and entangled web of issues that ends up having unintended consequences and some very serious and complex trade-offs that are not initially obvious.
As things currently stand, with the C++26 as proposed, doing this is an ODR-violation and is not valid C++. It's not simply undefined behavior, it's illegal, what is technically referred to as an IDR (ill-formed, no diagnostic required).
comment 19h ago · link · parent
This is known as an ODR-violation, where the same function is compiled with two or more definitions, and there's no rule in C++ to pick which definition should be used. One way to resolve this would be to introduce a rule to pick between these definitions (always pick the function with the contract check disabled, or pick with it enabled), but no one could agree on which rule to use and even if they did it would not work for shared libraries.
There is no doubt that once contracts get standardized, compilers will offer a flag to disable them categorically, ie. disable all of them across all definitions. That won't be an issue because then all definitions will be consistent. But the original proposal allowed flipping contracts on or off per "source-file" with the hopes that developer discipline would ensure that people were consistent about its usage.
comment 20h ago · link · parent
I can sympathize with some of the things you call tedious in Rust, like the async issues, but I can't see how those wouldn't also be tedious in C++ using C++ coroutines, which are full of footguns and implicit lifetime issues. For Send/Sync, in situations where you need to explicitly mark a type as Send/Sync, in C++ you have the exact same issue as in Rust, but in C++ you have no way to communicate that property formally, so either you document that so people know if an operation is thread-safe, or you don't document it and people have to inspect the source code or worse, just guess.
Are you suggesting that's better than enforcing the property in the type system? Maybe if you're a solo-dev working on your own mini-project, it might be marginally better, but I'm not convinced.
comment 1d ago · link · parent
https://gcc.gnu.org/onlinedocs/gcc/Arrays-and-pointers-imple...
comment 1d ago · link · parent
This isn't like the paper just needs to be cleaned up and polished. A good chunk of the actual proof is simply not there and while it's certainly ambitious and also a credibly body of work, there's no reason to think that Masullo's work on this will pan out or that he's even headed in the right direction.
Too many people are talking about Masullo as if he basically has the proof in hand and just needs to tidy up some details here and there, similar to say when Andrew Wiles first published his proof of Fermat's Last Theorem (in which some flaws had been pointed out that Wiles had to correct) but that's simply not the case here. This work is so incredibly far from complete and it's not at all evident among the mathematical community that it will even lead to a proof of RH.
comment 3d ago · link · parent
This is simply untrue and there is a well established legal defense known as "entrapment by estoppel" to protect a defendant against an act which has been explicitly sanctioned by a government official.
https://en.wikipedia.org/wiki/Entrapment#Entrapment_by_estop...
comment 3d ago · link · parent
So what obvious criminal activity were you claiming about either nVidia or Huang?
comment 4d ago · link · parent
In general, past performance is actually indicative of future results. It's not definitive, and some phenomenon are random, but the trajectory of technology over time is not some random fluke that just has coincidentally trended by random chance.
comment 4d ago · link · parent
comment 4d ago · link · parent
Fermat's Last Theorem was initially proven in Lean in September and that proof required 13M lines, it has since been reduced to 2M lines and it will likely be reduced even further. Anthropic claims they can reduce it down to less than half a million lines by doing similar techniques to what software developers do... find common and reusable snippets and factor them out instead of repeatedly proving similar sub-theorems over and over again. There are also opportunities to replace lengthy sequences of explicit reasoning with automated tactics, reuse existing mathematical libraries including the Lean standard library, and reformulate arguments at a higher level of abstraction.
comment 1w ago · link · parent
Superposition has nothing to do with this and does not give any insight into whether the speed of light is the same in all directions.
comment 1w ago · link · parent
Retrocausality is not the same as time travel. With time travel it's as if you get to go back in time and reexperience things that happened in the past, which is not what faster than light travel implies. Retrocausality is more about things happening in the present that are influenced by future events, as opposed to causality where only past events can influence the outcome of future events.
comment 1w ago · link · parent
comment 1w ago · link · parent
As you "slowly" move the two clocks away from one another, the two clocks will no longer be synchronized due to time dilation, and so you need to account for time dilation, but in order to account for time dilation you need to already know what the one-way speed of light is.
I put "slowly" in quotes because why would it possibly matter whether you move clocks slowly or quickly? It's the principle of the matter that is at issue, not the practicality.
comment 1w ago · link · parent
comment 2w ago · link · parent
43: https://bodhi.fedoraproject.org/updates/FEDORA-2026-bc7bd292...
44: https://bodhi.fedoraproject.org/updates/FEDORA-2026-7b153c4c...
Fedora 45 was only just recently release and Fedora 42 and earlier will never get an official patch since those are no longer maintained.
comment 2w ago · link · parent
comment 2w ago · link · parent
All I said is that you can remove undefined behavior from signed overflow without having to introduce checks to every arithmetic operation and without having to specify any particular behavior or outcome. The technical term for this is "unspecified behavior" and the consequence of making overflow unspecified behavior is that the consequences of overflow, while still unspecified, must be bounded in space and time, unlike undefined behavior whose consequences are not required to be bounded in either space or time.