754 karma · joined Mar 5, 2022 (4y ago) · 153 submissions
comment 1w ago · link · parent
Perhaps most obviously, one can define problems that have no correct algorithms, like the halting problem. The study and analysis of these problems is critical, and furthermore undecidable problems are themselves different (there is a hierarchy of undecidability), so it is not even the case that "all problems with no correct algorithms are equivalent".
comment 1w ago · link · parent
This may seem pedantic, but misconceptions about the meanings of big-O/Theta/Omega notation are very common (e.g., conflating them with "best/average/worst case" or other such nonsense) and they muddy the waters.
comment 1w ago · link · parent
- https://en.wikipedia.org/wiki/Russell_Impagliazzo#Five_world...
- https://www.quantamagazine.org/which-computational-universe-...
- https://gwern.net/doc/cs/cryptography/1995-impagliazzo.pdf
comment 1w ago · link · parent
My emphasis on the accountability laundering. No, "xorl" did not do this—you did. And, if "xorl" is https://github.com/togethercomputer/xorl and `togethercomputer` is together.ai, then you wrote "xorl" and are doubly responsible.
If five years ago I had said, "During development of our public GitHub repository, my computer decided to commit a credential", this would have been immediately recognized for the embarrassing abdication of duty that it is. So, too, should this be now.
comment 1mo ago · link · parent
comment 1mo ago · link · parent
(Here's a link with a bit more detail: https://courses.cs.vt.edu/cs3214/spring2026/questions/catchi...)
So, while it's accurate to say that inserting null checks before every dereference is one way that you could implement this to make it well-defined, that is not the only way. We have lots of clever tricks to solve problems more efficiently than may seem possible at first glance—Fil-C is a bit of a modern marvel in that regard!
comment 6mo ago · link · parent
What? The post quotes the Go FAQ as saying, "we do not anticipate that Go will ever add generic methods". There is also some similar discussion of the original generics proposal, with language like "then it's much less clear why we need methods at all". (I'm omitting some context, but I don't feel that it changes the meaning.) Those feel much closer to "never" than "not now".)
The post is also subtitled "A change of view".
comment 8mo ago · link · parent
comment 8mo ago · link · parent
Likewise, with implicit weakening, nothing stops you from dropping the socket without closing it.
comment 10mo ago · link · parent
> Starting at version 14, PostgreSQL supports generated columns - these are columns that are automatically populated with an expression when we insert the row. Sounds exactly like what we need but there is a caveat - the result of the expression is materialized - this means additional storage, which is what we were trying to save in the first place!
comment 10mo ago · link · parent
I mean… yeah. When two people are peers and comparably well regarded, and one is elevated above the other and enjoys increased popularity, familiarity, and respect, and the elevation is because that person's name comes from a culture that is more aligned with the dominant culture and easier for them to engage with… that is a pretty textbook example of systemic racism.
I'm not at all saying this to demonize Kenton. We can make mistakes and reflect on them later, and that's laudable. But it is important to recognize these systems for what they are, so that we can notice them when they happen all around us every day.
comment 12mo ago · link · parent
https://www.moderndescartes.com/essays/readability/
(I have not read this article closely, but it is about the right concept, so I provide it as a starting point since "readability" writ large can be an ambiguous term.)
comment 12mo ago · link · parent
This fits quite naturally in Rust. You can let your mutex own the pair: locking a `Mutex<(u32, u32)>` gives you a guard that lets you access both elements of the pair. Very often this will be a named `Mutex<MyStruct>` instead, but a tuple works just as well.
comment 1y ago · link · parent