Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fwlr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
241.
▲
by
fwlr
2y ago
I’m a fan, but let’s go even further. JavaScript has pleasant definitions of functions with filter((x) => x.price < 10) but why can’t we just write filter(x.price < 10) and add a rule to the JS engine that says “w
242.
▲
by
fwlr
2y ago
Quotes like “I’m glad there’s OxyContin and video games to keep [rural Americans] docile” are really bad… so it’s quite the achievement for the words outside the quotes to be even worse. Every other sentence by the author feels like it’s
243.
▲
by
fwlr
2y ago
The explanation for the the chosen style is given near the end of the piece: the author says that they’ve found ‘imagining a better solution already exists and is just out of reach’ (my paraphrase) is an effective way to break the mental ha
244.
▲
by
fwlr
3y ago
Some good game-related advice, specifically for roguelikes, that I often think about and apply IRL: “The goal is to die with an empty inventory”
245.
▲
by
fwlr
3y ago
When they added Promises to JavaScript, I bristled at the thought that I might have to start writing `new Promise` everywhere. In practice, I can count on two hands the number of times I’ve written `new Promise`. What did happen, though,
246.
▲
by
fwlr
3y ago
If you mis-type ‘countenChange’ it could be quite frustrating!
247.
▲
by
fwlr
3y ago
There are significant stabilization benefits to having a public (and binding) inflation target - all of the large economic entities / sectors like banking, government spending, corporations, etc., become more predictable to each other.
248.
▲
by
fwlr
3y ago
OpenAI is valued at 90 billion and all they do is make GPT; Twitter is valued at 40 billion and this was essentially a vanity side-project by a cowboy CEO. Presuming that benchmarks and general “it’s about the level of 3.5” is accurate, it’
249.
▲
by
fwlr
3y ago
Performing a sublime end-run around Greenspun by simply including a mature Lisp right away. 10/10
250.
▲
by
fwlr
3y ago
You are of course completely correct. However, I still stand by my pseudocode - I claim that it will give a fairly accurate impression of the basic concept of zero-cost access checks to a reader who isn’t familiar with low-level systems pro
251.
▲
by
fwlr
3y ago
“The Java Virtual Machine […] leverages the protected memory access signal mechanism both for correctness (e.g., to handle the truncation of memory mapped files) and for performance.” Where by “protected memory access signal mechanism”, t
252.
▲
by
fwlr
3y ago
I do use Playwright’s codegen a lot and I have found it most valuable when I mentally predict what it should generate and then look to see how it differs. This often highlights incorrect assumptions. I would say approximately 1% of the gene
253.
▲
by
fwlr
3y ago
It’s not so much that there’s a little morality tag that randomly gets assigned the value of “nice” or “evil”, it’s more like there’s 1000 possible programs we would consider “super intelligent” and maybe it’s the case that 950 of them woul
254.
▲
by
fwlr
3y ago
If recycling was profitable in the main, someone would be auctioning off old landfill sites to mining companies. If it was predicted to be profitable with new technology, someone would be operating landfills while developing that technology
255.
▲
by
fwlr
3y ago
“Historically, machine tool companies were small operations run by people (often descendants of the original founders) who had spent their whole life in the machine tool industry and knew it inside and out. Because of the cyclical nature of
256.
▲
by
fwlr
3y ago
Good cleaning checklists are set up to test quite a few of these things. Turn TV on/off to make sure remote works, turn AC on/off for the same, flush the toilet, run the shower, open the windows when you enter and close the window
257.
▲
by
fwlr
3y ago
I work at a medium-size hotel (~80 rooms), I can offer some insight. It's a combination of accessibility, cleaning, and maintenance. Accessibility: a hobbed shower - the small ridge, step, plinth, etc., around the edge of the shower ba
258.
▲
by
fwlr
3y ago
The author identifies a real problem and poses a simple solution. It passes all my crank tests (why did no one come up with this before? Because the author is intimately familiar with the softmax function from work outside of ML, and plausi
259.
▲
by
fwlr
3y ago
The Admiral Cloudberg article is much better, particularly in its explanation of how the plane came to be flown with blank fuel gauges. The first technician noticed an issue with the fuel gauges being blank a few flights earlier and appli
260.
▲
by
fwlr
3y ago
Research and discussion of mental imagery has always confused me. It seems like there is a perennial surprise at conditions like aphantasia, or of discoveries that some people have high fidelity mental imagery while others have low fidelity
261.
▲
by
fwlr
3y ago
‘Smart kerning’ is brilliant, and the fact this looks like a more normal Source Code Pro is winning me over as well.
262.
▲
by
fwlr
3y ago
Perhaps the term provenance was misleading. I simply mean that those MacBooks are not perfectly good, because it’s not clear that they were legitimately and willingly sold. The activation lock release procedure is simple to follow during a
263.
▲
by
fwlr
3y ago
Huh? I don’t follow. Provenance here is being used in the sense of “documented ownership”. If you like you can use “chain of custody” instead.
264.
▲
by
fwlr
3y ago
Actually, they are not “perfectly good”, because they lack provenance. https://en.m.wikipedia.org/wiki/Provenance
265.
▲
by
fwlr
3y ago
These alerts are suspiciously useless . When I see something like that, I immediately try to think “who would they not be useless for?”. Obviously useless for end-users, similarly useless for the developers of the named app. But I can th
266.
▲
by
fwlr
3y ago
I think you need to go further than looking at the total misery, although that is definitely an important first step in preventing false accounting. You need to account for some basic “game theory / behavioral economics / control
267.
▲
by
fwlr
3y ago
Casey Muratori has an excellent lecture on this same topic, which draws many of the same conclusions as this article but goes into more depth on why it happens and what it means to you in a practical sense. ( https://youtu.be/
268.
▲
by
fwlr
3y ago
It is about 1000 miles east of the southeast corner of Australia. It’s about 1/3 bigger than Florida and about 1/3 smaller than California - roughly the same size as Colorado or the UK.
269.
▲
by
fwlr
3y ago
Punishing people for being addicted to drugs is miserable, and having people be addicted to drugs is also miserable. When drugs were criminalized, the state had to dole out a lot of misery in punishments, but this also depressed the addicti
270.
▲
by
fwlr
3y ago
> When you let immigrants in you acknowledge that you're letting change in. While I agree with you completely on this (though unfortunately we draw different conclusions from this agreed-on premise)… This is simply not what the mess
More ›