1,265 karma · joined Feb 15, 2024 (2y ago) · 470 submissions
comment 7h ago · link · parent
> they could do a gradual transition from black-and-white to color, which had never been done in film before. No, in The Wizard of Oz they actually used costuming and set design to make it look black and white, but actually filmed in color for that moment.
Apparently this is true! (It's talking about just one shot, a couple of seconds long; not, like, the whole first act.)
comment 1w ago · link · parent
The obituary doesn't link directly to it, but Selvin's original letter-to-the-editor of "The American Statistician" 29.1 (Feb 1975) about the "Monte [sic] Hall Problem" is reproduced at https://www.jstor.org/stable/2683689 .
comment 2w ago · link · parent
8:58pm: "[In Ardsley] the incumbent village justice, David Rifas, was not formally nominated for re-election to a new four-year term. But the initial ballots omitted the race entirely... When the Westchester County Board of Elections realized the problem, the ballot definition file that lists the races was updated. That file was used to print the ballots, but the scanners were still programmed with the old file. Only in Ardsley did the scanners manage to read the ballot sheets."
10:15pm: "Even though the problem stemmed from just a change in the village justice election in Ardsley, it required an update to the countywide election programming. When the identifying codes the scanner uses to read the ballots changed for Ardsley’s race they changed as well for all the other races. But because the scanners were using the original programming, they rejected the updated ballots because they did not recognize the identifying codes."
5.
Westchester voting snafu stemmed from a change in one Ardsley contest(lohud.com ↗)
1 points · by quuxplusone · 2w ago · 1 comment
comment 2w ago · link · parent
Possibly useful elaboration: https://quuxplusone.github.io/blog/2022/12/15/sophist/
In C++, where "reference" and "pointer" both have technical (jargon) meanings, you might still get away with calling string_view a "handle" (to a contiguous bunch of characters). See also https://quuxplusone.github.io/blog/2023/02/04/jargon-treadmi...
comment 3w ago · link · parent
These are cases where the core language helps the programmer out, and basically makes a whole class of bugs — well, not impossible, but difficult to run into if you're not actually trying. There are other cases, e.g. `string_view sv = stuff();` as used in TFA, where the core language offers no help at all, but there's an easy solution available. ("Don't do that, then." Treat `string_view` as a "parameter-only type" and you'll never encounter that kind of problem.)
And then there's C++20 coroutine "parameters," where the core language pretty actively tries to trip you up. https://quuxplusone.github.io/blog/2019/07/10/ways-to-get-da...
comment 3w ago · link · parent
https://quuxplusone.github.io/blog/2018/03/27/string-view-is...
comment 3w ago · link · parent
10.
Waving Hands (1977), vibe-coded(hands.kestrelsnest.social ↗)
1 points · by quuxplusone · 4w ago · discuss
comment 1mo ago · link · parent
https://stackoverflow.com/questions/66459162/where-do-standa...
Background: https://quuxplusone.github.io/blog/2022/08/26/vector-pessimi...
comment 1mo ago · link · parent
No, STL containers such as std::vector definitely do not assume (nor require) non-throwing constructors. They just do the right thing. Yes, cleanup is messier than it would otherwise be.
STL containers do require that your destructors not throw (but do not require that they be noexcept).
comment 1mo ago · link · parent
https://acoup.blog/2026/02/24/collections-warfare-in-dune-pa...
comment 1mo ago · link · parent
comment 1mo ago · link · parent
saimiam's comment mentioned 2048, so I'll plug my variant:
comment 1mo ago · link · parent
You do see how that's all garbage, right? So why not just delete it? Keep the good part, delete the bad part.
The game widget itself takes up 3 pages on mobile, because of all the Claude web design.
... Wait, as I scroll down again in composing this complaint, I realize I'm wrong about there being any human text at all. It's all garbage. This makes me kind of sad for the Gwern we've lost.
comment 1mo ago · link · parent
Actually I take that back. At the dawn of time (1982), GHS definitely had its own frontend. They switched to EDG sometime before my time. I meant I'd be surprised to learn they'd switched from EDG to something home-grown.
This also meant that in my time there was a hefty "glue" layer between the EDG frontend and the GHS middle-end (the middle-end being the tree transformations and "indep" optimizations before you got into the back-end stuff): you had to take the structures EDG produced and turn them into the structures the GHS middle-end wanted.
I was there right when John Regehr's Csmith was first making big waves. We started using it, and also rolled our own fuzzer with more focus on embedded-software trouble spots, such as `volatile` and `packed` and I forget what else. (Guy Goldstein originated and led this, as I recall.) I don't actually remember the fuzzer finding a lot of crashes, but maybe it did, and I do remember its finding a lot of miscompilations, i.e., bad optimizations.
comment 1mo ago · link · parent
Frankenstein, by Mary Shelley (1818/1831), https://frankendiff.com; and Tales of the Dead, by Mrs. Utterson (1813), https://archive.org/details/talesofdead00utte
Just started Homer's Iliad (Fagles translation) and Christopher Logue's War Music (2015).
Just finished re-reading The Hitchhiker's Guide to the Galaxy, by Douglas Adams (1980). I think it holds up well. Last time I read it, I was much younger than Arthur Dent; now I'm much older. And now that we have computers with Genuine People Personalities, it's hard to remember what it was like in the Before Times.
Recently finished Gaston Leroux's The Mystery of the Yellow Room (1908). For better or worse (no spoilers here), it kept me guessing.
comment 2mo ago · link · parent
https://github.com/NetHack/NetHack/blob/NetHack-5.0/src/objn...
I think I agree with the comment in NH5 that some of the new cases "probably shouldn't be handled here", and think maybe NH3.4.3's simpler version should've been fine for NetHack's purposes:
https://github.com/Vanilla-NetHack/NetHack-3.4.3/blob/master...
comment 2mo ago · link · parent
Maybe that's more ergonomic than forcing all users to learn about ~/.gitignore or manually adding .DS_Store *.sav~ et cetera into your Go project's repo's .gitignore.
comment 2mo ago · link · parent
The first equation under "The result" seems to be saying they found an infinite sequence of primes whose density is forever greater than 1/186, which doesn't match my understanding of how prime density works.
comment 2mo ago · link · parent
A "perfectly predictable" algorithm was proposed in Anton Zhilin's P2025, back in the year 2021: https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p20... but unfortunately it had some subtle corner-case problems (which I do not remember), so it was sent back for revision, and never returned with a fix. (Maybe because a fix wasn't possible; again I don't remember what the deal was exactly.)
The Right Path Forward would be for MSVC, GCC, and Clang all to try implementing P2025's algorithm in their front ends. Either something concrete breaks (reminding me what the problem was), or else all three mainstream compilers gain predictable NRVO and then we can "standardize existing practice." But the Right Path Forward requires tedious work by at least three people, which is hard.
comment 2mo ago · link · parent
> Because I have always had a very clear sense of how thing should look on a page, I dearly wanted to be able to control every tiny detail of my book's overall look, ranging from the cover art to the typefaces used to the size of the pages to the way displays are indented, and so on. Fortunately, the people at Basic Books have grown used to me and my idiosyncrasies over the years I have worked with them, and they assented to my unusual request.
> [new page] Consequently, I have enjoyed total control over such things as line-breaks, page-breaks, hyphenations, widows, orphans, density of word spacing within lines, fine-grained intercharacter spacing ("kerning"), and so forth and so on — things that most people usually are unaware of and simply leave to their publisher or their word processor. I am a fanatic, though, and these things matter a great deal to me. Not only do they matter to me, they have had an overwhelming impact on this book from start to finish. This may sound crazy, but it is the gospel truth.
> [section heading] Who Is Really Controlling Whom?
> Above, I very casually remarked that I have enjoyed total control over page-breaks and such things; yet the truth of the matter would be far more accurately captured by turning the phrase around and saying that the page-breaks and word spacing and such things have enjoyed total control over me! By this, I mean that I have been forced to rewrite and rewrite and rewrite passages in order to make a page boundary come out exactly where I wanted it. It is not just by some happy accident, for instance, that the poems inside chapters are never, ever broken across page boundaries.
> The amount of influence exerted on my text by concerns of purely visual esthetics is incalculable — and by "my text", I don't merely mean how I wound up phrasing my ideas, I mean the ideas themselves. Content has been determined by considerations of elegant form so often that I couldn't begin to imagine it. Every single line of text, for instance, is characterized by its spacing — how wide the blanks between words are. I can clearly see the spacing as I type on my screen, and I rewrite and rewrite in order to make sure that no line is too tightly or too loosely spaced. In the course of such rewritings — here extracting a word, there using a shorter or a longer one, elsewhere inserting a word where none was — words and phrases that I would otherwise not have thought of pop to mind, suggesting ideas I would not have thought of, and those ideas suggest unexpected paragraphs, and those paragraphs are in turn linked to other ones, and so on...