Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
manwe150
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
121.
▲
by
manwe150
9mo ago
Ah, good point. I forgot it had just gotten added. Past context https://news.ycombinator.com/item?id=36765747
122.
▲
by
manwe150
9mo ago
I saw a blog about this yesterday: disable extensions (notably 1Password) to fix formatting inside code tags.
123.
▲
by
manwe150
9mo ago
strlcpy is a BSD-ism that isn't in posix. The official recommendation is stpecpy. Unfortunately, it is only implemented in the documentation, but not available anywhere unless you roll your own: https://man7.org/linux&#
124.
▲
by
manwe150
10mo ago
To follow up on that, I think that 50 year horizon number has even been the case for something well over 50 years now. It seems we are incentivized currently to extract from deposits around that threshold of years? One professor I had even
125.
▲
by
manwe150
10mo ago
No, you need to make the AI endure torture, so that the human has a reason to value it. Say late nights with less power and a little extra heat to stress it. But the usefulness of an AI assistant is that it doesn’t have feelings or consciou
126.
▲
by
manwe150
10mo ago
I think parent might be implying that a 10 mph collision can total a car just as effectively as a 100 mph collision. There might be more left of the occupants, but the car itself might be still a total loss from a cost-to-repair perspective
127.
▲
by
manwe150
11mo ago
That is a curious take. Open source projects were flooded by dumb PRs before AI too, so what would it prove?
128.
▲
by
manwe150
11mo ago
Does it matter? Either way seems to just reflect badly on the junior, who needs to improve their self-review skills and knowledge
129.
▲
by
manwe150
11mo ago
Dividing by 5 or 2, respectively, are integers, if the game developers wanted them to be. More so because the actual units of ammo need to be integers if they are to render as full bullets each
130.
▲
by
manwe150
11mo ago
I’m somewhat curious why GOT and PLT are ever mapped readable these days, when it could have been only mapped readable and then glibc use one of the various API tricks that other JIT (ld.so is obviously a JIT too) often use to write to memo
131.
▲
by
manwe150
11mo ago
That is the crux of the article premise: each synonym conveys similar denotations (principle component is I think what the article called it), but usually with some difference in connotations (the off axis contributions). You can nudge the
132.
▲
by
manwe150
11mo ago
But apps (most notably Snapchat comes to mind) have been doing exactly that analysis though. Theoretically they could then [offer to] edit the photo immediately afterwards to add context, since they had access to the photo roll or files ht
133.
▲
by
manwe150
11mo ago
Python is entirely a C program, ergo by this article, this seems like one of those fallacies C programs believe justifies using C
134.
▲
by
manwe150
11mo ago
The Wikipedia equation there mentions the formula ignores the contribution of the internal resistance, which would make it proportional. It seems the article assumes that resistance is a significant contribution (possibly even just from the
135.
▲
by
manwe150
11mo ago
Talc powder, baking soda, or NonScents Shoe Deodorizer https://www.amazon.com/dp/B07NYTTV4C?ref=ppx_pop_mob_ap_shar... whenever you’re done can help substantially by removing moisture so the funk bacteria die
136.
▲
by
manwe150
1y ago
Not that much of a cheat code though since that works in most passenger cars. Just using the rear bumper instead of a cone
137.
▲
by
manwe150
1y ago
Yes, but it got 99% of those then got stuck on why the others made no sense to it
138.
▲
by
manwe150
1y ago
Converting an algorithm implementation from recursive to iterative: it got the concept broadly right, but was quite bad at making the logic actually match up, often refusing to fix mistakes or reverting fixes two edits later. Still a positi
139.
▲
by
manwe150
1y ago
Granted having all warning signs and barricades removed by vandals seems like the more major issue there, which drivers usually do pay attention to
140.
▲
by
manwe150
1y ago
At least some of them will likely still occur as those people may decide to override the robot drivers safer choices to save 30 seconds or have fun
141.
▲
by
manwe150
1y ago
MemBalancer is a relatively new analysis paper that argues having swap allows maximum performance by allowing small excesses, that avoids needing to over-provision ram instead. The kind of gc does not matter since data spends very little ti
142.
▲
by
manwe150
1y ago
> because the body doesn't have a really good way to rebuild cartilage Okay, but I’m still noting that if you google this exact claim, numerous recent studies found that running is found to build cartilage, contrary to past assumpti
143.
▲
by
manwe150
1y ago
Why “probably bad” though. If you plug that exact query into Google, numerous recent studies will tell you that it is probably good for long term knee health too (stress builds resilience unless prevented recovery time). Which studies are p
144.
▲
by
manwe150
1y ago
Without atomic, the compiler won’t bother with there being a next time and just infinite loop (in the old days, you’d mark it volatile instead)
145.
▲
by
manwe150
1y ago
One of my more annoying gotchas on Windows is that despite this advice being very reasonable sounding, the runtime itself (I believe it actually happens in the kernel) essentially calls TerminateThread on all child threads before running gl
146.
▲
by
manwe150
1y ago
Unless maybe the point of the wall was to provide the road marker itself that guided folks to the nearest survival point? The article mentions there were frequent wells and encampments, but so few other details
147.
▲
by
manwe150
1y ago
Seems like the article missed an opportunity to talk about testing and MC/DC coverage. I don’t care if the PR is long or short, just show me that you have meaningfully tested how each branch can be reached with the full range of values
148.
▲
by
manwe150
1y ago
My gas bill each month lists the correction factor used for that month to compensate the meter reading to the volume consumed (and thus billed) based on the average weather.
149.
▲
by
manwe150
1y ago
That is just what I said: that is the formula for VA, not P, even though both have the same dimensional units: https://en.wikipedia.org/wiki/Volt-ampere and https://en.wikipedia.org/wiki/AC_power#A
150.
▲
by
manwe150
1y ago
I thought watt is a DC unit, so often avoided for AC measurements, since it is ambiguous which watt you are talking about, and the device is always consuming more or less than the average, and very rarely consuming that actual amount. Often
More ›