Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
agalunar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
agalunar
4y ago
Around room temperature, an ideal silicon transistor has a 60 mV/decade subthreshold swing, which (roughly speaking) means that a 10-fold increase in current requires at least a 60 mV increase in gate potential. There are some techniqu
152.
▲
by
agalunar
5y ago
> the pervasiveness of the C model has fossilized design decisions of the PDP-11 This is tangential and somewhat pedantic, but I want to point out an oft-repeated mischaracterization. C is essentially a refinement of B with some addition
153.
▲
by
agalunar
5y ago
Yes, someone will redistribute it without charge, but there are still ways you can make money from libre software: • selling physical media (e.g. an installation disk or drive) • selling downloads from a trusted, official server (with the b
154.
▲
by
agalunar
5y ago
"Free" here does not mean "free of charge", it means "libre" (guarantees the four essential freedoms [1]). The common quip is "free as in freedom, not as in free beer". [1] https://www.gnu.
155.
▲
by
agalunar
5y ago
The poorest 70–90% of Americans effectively have no representation – there is almost no correlation between their policy preferences and the voting record of their representatives. On the other hand, enacted policy aligns quite well with th
156.
▲
by
agalunar
5y ago
No problem! Same thing happens to me, where my eyes begin to gloss over things I've written (because I know what I mean to say). Thanks for the submission!
157.
▲
by
agalunar
5y ago
> When AST is built, it is validated to make sure it makes sense (that’s called lexing) and converted it to the bytecode. I've never heard "lexing" used this way, and I believe it's simply incorrect. Lexing (tokenizin
158.
▲
by
agalunar
5y ago
Caveat: this is going to be a meta comment rather than a comment about the topic proper, and so maybe not appropriate for HN, but I think it's worth discussing. > It sounds like you've been hurt by the some terrible management
159.
▲
by
agalunar
5y ago
Did you read the article? If anything, the author is arguing in favor of libraries. I may be misinterpreting your comment, though.
160.
▲
by
agalunar
5y ago
I mean this with sincerity (it's a genuine question). Why write such a lengthy comment telling someone you're dismissing them rather than just dismissing them? Is it to discourage their behavior, or to warn other readers? Or simpl
161.
▲
by
agalunar
5y ago
Although that's sort of like saying "if an ant can't survive being scorched by a magnifying glass, it was probably doomed to burn in the sun anyway". What you're saying may be true – I've no idea. But I'm
162.
▲
by
agalunar
5y ago
It's been a while since I used Lichess anonymously, but I suspect you do need an account to request a server analysis – that way they can limit the number of analyses per day for a user [1]. [1] 40 a day per https://lichess.
163.
▲
by
agalunar
5y ago
Only if you toggle local-evaluation in the analysis board. When you "request a computer analysis", the computation is done by fishnet [1] on volunteers' hardware. [1] https://github.com/niklasf/fishnet
164.
▲
by
agalunar
5y ago
Variable-shift perfect hashing (fancy magic) is not especially slower than using pext/pdep, and in any case, there is little value in making move generation more performant. A decent move generator using perfect hashing can run at 40 m
165.
▲
by
agalunar
5y ago
The use of the term "bug" in engineering predates automatic computers by nearly a century; the Wiki article [1] on the topic gives a pretty good summary of its history. [1] https://en.wikipedia.org/wiki/Bug_(e
166.
▲
by
agalunar
5y ago
I'm an organist, and I think these problems become even more severe when playing the organ. Every instrument is different, both because the organ itself is usually unique and because the room will be different. Some organs are large e
167.
▲
by
agalunar
5y ago
Modern capitalism is an exhibition of capital's dependency on the state. Without the state, who would enforce a corporation's claims to property? (the products of worker labor, intellectual property, and so on) And empirically,
168.
▲
by
agalunar
5y ago
Great write-up! There may be a typo in section 3: > It will happily retire instruction 6 before instruction 5. If memory serves, although instructions can execute out-of-order, they retire in-order (hence the "re-order buffer")
169.
▲
by
agalunar
5y ago
This is precisely the method used to undo screening and half-toning in one of the labs in 6.003 (the intro signal processing course at MIT). The technique works astoundingly well for its straightforwardness, and the exercise can be a lot of
170.
▲
by
agalunar
5y ago
Somewhat relatedly, François Labelle has some great pages on chess statistics and problems: https://wismuth.com/chess/statistics-games.html https://wismuth.com/chess/statistics-positions.html htt
171.
▲
by
agalunar
5y ago
If you're looking for similar hackathons, you may be interested in https://quirkylanguages.com/
172.
▲
by
agalunar
5y ago
It's worth noting that the term "exception" is in fact used for traps that aren't interrupts.
173.
▲
by
agalunar
5y ago
It's actually because of the 5-fold repetition and 75-move rules! The game is not necessarily over at 3 and 50 – you merely have the right to claim a draw.
174.
▲
by
agalunar
5y ago
Look around you!
175.
▲
by
agalunar
5y ago
Agreed, but we might be stepping outside the scope of the example. Likely, you can make most examples incorrect if you're allowed to add arbitrary code; I read this section of the article with the implicit assumption that "the thr
176.
▲
by
agalunar
5y ago
Right, but writes to x from another thread (i.e. by a thread other than the one in which rlo is called or the thread reading y) aren't required to be visible when y is read. Edit: ah, I think I understand what you're saying – if a
177.
▲
by
agalunar
5y ago
> This is actually wrong [...]. I fairly sure it's correct! precisely because of the initial store `int x = 0;`, for the reason given by the article. If that were `int x = 2;` instead, then I agree that the transformation would be i
178.
▲
by
agalunar
5y ago
Np! ^_^ (I suppose I should have also disclaimed that I'm running from master rather than the release, so it's possible the output's a bit different.)
179.
▲
by
agalunar
5y ago
I'm getting extra output with NNUE enabled: https://heptonion.net/9ff70753.html Notice the diagram titled "NNUE derived piece values" underneath the table for "Contributing terms for the classical eval&q
180.
▲
by
agalunar
5y ago
Stockfish also has a few non-standard commands, e.g. `eval`, which shows the NNUE derived piece values (among other things), which is pretty cool: $ ./stockfish position startpos eval
More ›