Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quuxplusone
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
quuxplusone
4mo ago
...Ah, `heap_sort` is used only for trivially copyable types. So my complaint about not distinguishing copy from move is essentially unimportant (matters only in pathological cases that we shouldn't worry about). But it's perfectl
62.
▲
by
quuxplusone
4mo ago
It's unfortunate that the C++ version of the code assumes the type T is default-constructible (and that the default constructor is cheap). It also assumes that the type T is copy-constructible; at a glance I can't tell if the algo
63.
▲
by
quuxplusone
4mo ago
The Wikipedia article on "meteor air burst" has an explanation that basically matches yours, although they do use the word "explosion" to describe it. Which makes sense to me: whatever one chooses to call it, it's a
64.
▲
by
quuxplusone
4mo ago
Is it something about using Chrome? My wife's Gmail was showing the "Press / to help me write" prompt last week and we couldn't figure out (1) how to turn it off nor (2) why _I_ wasn't seeing any such prompt in
65.
▲
by
quuxplusone
4mo ago
An interesting idea I saw long ago in some book (I thought it was K&P's "Software Tools," or my second guess was K&R1, but neither of those panned out — a strong Mandela effect) was the clever idea of a whole-document
66.
▲
by
quuxplusone
5mo ago
> Likewise "Russia" is shown in Siberia, but everyone in Russia lives near the European borders thousands of km west. Yes, and "Love's Labour's Lost" specifically pairs/ contrasts "Russians" w
67.
▲
by
quuxplusone
5mo ago
A lot of that is bias from the fact the whole map was vibed/hallucinated by an LLM instead of just sourced from (what I'm sure are many) concordances of Shakespeare's works. For example, "The Tempest" famously menti
68.
▲
by
quuxplusone
5mo ago
Yes (I think). In this particular case I believe you could also say he was created duke (since he was the first Duke of Wellington); I think one would have to say that the second Duke of Wellington succeeded to the dukedom.
69.
▲
by
quuxplusone
5mo ago
If we're listing modern games vaguely similar to this, we can't let the thread go without mentioning the fantastically entertaining (yet _mostly_ random) "Hot Streak" (2025)! https://boardgamegeek.com/boa
70.
▲
by
quuxplusone
5mo ago
See also: https://en.wikipedia.org/wiki/Hensonbatrachus (Hensonbatrachus kermiti)
71.
▲
by
quuxplusone
5mo ago
TBF, text adventures absolutely "sprinkle dopamine rewards all over the place." The random-reinforcement effect is a big part of their appeal — as a player, you never quite know if you've seen "all the good stuff" y
72.
▲
by
quuxplusone
5mo ago
The "definition of a heap allocation interface" indicates that there is no standard heap. Instead, there's a standard interface for the use to define their own heaps. Any standard library function that needs to allocate wil
73.
▲
by
quuxplusone
5mo ago
Yeah, but I took the parent comment as a non-rhetorical question. Say you were one of these "MORE attuned" people of the past: how long [literally] do you think it would take you to notice that the calendar was drifting? Like, if
74.
▲
by
quuxplusone
5mo ago
To paraphrase Tom Lehrer: Base 18 is just like base 20... if you're missing two toes! At least that mathematical interpretation does hold up logically all the way to the punch line (even if the interpretation wasn't obviously inte
75.
▲
by
quuxplusone
5mo ago
The issue highlighted in Linus's message isn't that the LLM is hallucinating fake bugs; it's that 100 people running the same LLM on the same codebase find the same real bug 100 times, and if they all send it to the private s
76.
▲
by
quuxplusone
5mo ago
Are you talking about the Volcano View? ("You are on the edge of a breath-taking view. Far below you is an active volcano, from which great gouts of molten lava come surging out, cascading back down into the depths. The glowing rock
77.
▲
by
quuxplusone
5mo ago
That wasn't "leaking stack memory" except in a very literal sense: the BASIC language keeps a stack of the control structures you're inside, so that when you hit an "End" or "Else" statement it knows
78.
▲
Quantity-safe analog literals with mp-units
(morwenn.github.io)
1 points
by
quuxplusone
5mo ago
|
0 comments
79.
▲
by
quuxplusone
5mo ago
Top comment on LWN is a very interesting read (although neither the commenter nor myself claim any such trickery was involved in this case). > Trail of Bits were able to craft an input that beats Google's circuit and prove it... by
80.
▲
by
quuxplusone
6mo ago
jolmg points out that if you use a GitHub URL ending in .diff instead of .patch, you get something much more suitable to feed mechanically into `patch`. (And probably not so exploitable.) Therefore I retract my claim that this is even a &qu
81.
▲
by
quuxplusone
6mo ago
> fake email headers That's the output you get from `git format-patch --stdout -1 dd28283`. The idea is that it's suitable for emailing to a mailing list for review (hence the subject line beginning with [PATCH], and so on). If
82.
▲
by
quuxplusone
6mo ago
The framing in terms of colors helps the reader to interpret the thought experiment in terms of "groups" or "teams" — as if there's a "blue team" that you can join by helping, and help by joining. Many rea
83.
▲
by
quuxplusone
6mo ago
"Scapegoat-Driven Development" is right there! It would have fit OP's message better, too, in that the thing he's complaining about is maybe not worthy of the name "engineering" but is unquestionably some kind
84.
▲
by
quuxplusone
6mo ago
> It looks like white wins for n=6 and n=8 with perfect play, otherwise it is a draw. For n=6 it's "1. N4 mate," right? For n=7, "1. R5" is a stalemate; "1. R4 N4 2. N4 r4#" is a loss; "1. N4 n4 2.
85.
▲
by
quuxplusone
6mo ago
c is the constant 1. You don't need to store that. > Furthermore [this doesn't scale]. Precisely. https://en.wikipedia.org/wiki/Toffoli_gate has better details.
86.
▲
Software Preservation Group: C++ History Collection
(softwarepreservation.computerhistory.org)
44 points
by
quuxplusone
6mo ago
|
3 comments
87.
▲
by
quuxplusone
6mo ago
How do you mate with N+K? Surely your King can't give check, and if your Knight is giving check then the enemy king can just take a step toward it to get out of check.
88.
▲
by
quuxplusone
6mo ago
Mentioned in TFA: This version of chess is given by Martin Gardner in his "Mathematical Games" column of July 1980 (pages 27 and 31) — https://www.jstor.org/stable/24966361 — and the analysis of White's
89.
▲
by
quuxplusone
6mo ago
It checks out: https://archive.org/details/pdfcoffee.com_stan-lee-how-to-dr...
90.
▲
by
quuxplusone
6mo ago
> I should own the fruits of my head like I own the fruits of my tree and they should remain property forever. You're blindly assuming that in owning a thing now , you must naturally own it forever ; that you can live forever in a
More ›