Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
valleyer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
271.
▲
by
valleyer
2y ago
Sure, but in the scenario you describe, (count-1)*(count-2) also overflows, and that's why the generated code already to 64 bits for the multiply. (See my cousin comment to this one.)
272.
▲
by
valleyer
2y ago
I feel like you're probably right, but I can't figure out the exact reason. The multiplication of (n-1)(n-2) already expands to 64 bits. It has to: Even when the loop accumulator doesn't overflow when counting up to n(n-1)&#
273.
▲
by
valleyer
2y ago
A small correction: the sigma summation should go to n-1, not n. It's weird that LLVM computes n(n-1)/2 in such a convoluted way, namely: (n-1)(n-2)/2 + n - 1
274.
▲
by
valleyer
2y ago
The herein linked article discusses disabling that option, and the animated GIF linked at the beginning shows it not working.
275.
▲
by
valleyer
3y ago
I agree that they write a lot of normal headlines, like most of the ones you list. I take issue with the last one (and others like it) because of its intentional coyness in an attempt to get you to click through. I've been seeing this
276.
▲
by
valleyer
3y ago
> NYTs site is stellar. It’s fast and gorgeous and the articles are well-written and not full of clickbait and SEO spam You may be operating on a model of the New York Times from ten or more years ago. I know I often find myself resorti
277.
▲
by
valleyer
3y ago
I'm currently in the market for a 55-inch Sceptre "dumb TV", for a family member, having seen them frequently recommended on HN. But I can't find one anywhere! I even tried e-mailing the sales contact on their Web site,
278.
▲
by
valleyer
3y ago
A literal reading of this comment is easily falsifiable[1][2], so can you explain what you mean? [1] < https://www.nytimes.com/2024/03/15/climate/tax-breaks-oil-ga... > [2] a few examples under <
279.
▲
by
valleyer
3y ago
> In either case, why a federal ban on incandescent bulbs? If LED bulbs are superior, the market will sort itself out. Because part of the cost of the use of the incandescent bulb is externalized and therefore not subject to market press
280.
▲
by
valleyer
3y ago
No, you're off by a couple orders of magnitude.
281.
▲
by
valleyer
3y ago
Presumably because the document was not updated in 2013. So no part of the document was first published in that year.
282.
▲
by
valleyer
3y ago
Arguably: because if customers keep movies past the due date, then it's not just that the video store can't rent it to someone else. It's also that the reputation of the video store will worsen, since other customers will
283.
▲
by
valleyer
3y ago
Thank you. Blaming the API is like saying there's a problem with your gas pedal after you blew a head gasket.
284.
▲
by
valleyer
3y ago
The GitHub repo is 404ing. Maybe it's set to be private?
285.
▲
by
valleyer
3y ago
Recall that TFA discusses analyzing video, not generating video.
286.
▲
by
valleyer
3y ago
"WebKit Switching to Skia for 2D Graphics Rendering" ... for the GTK and WPE ports. Not on Apple platforms.
287.
▲
by
valleyer
3y ago
If, like me, you occasionally revel in a good old "people talking straight past each other" e-mail fight, read this one, linked from the wiki page, in which "80n" claims to know of trap streets in OSM. https://
288.
▲
by
valleyer
3y ago
That's not required. If the telcos implement STIR/SHAKEN as it's been described, then a "swat" call can later (by investigators) be traced back to a human being who can be prosecuted and jailed. That will serve as
289.
▲
by
valleyer
3y ago
Bad news, then, from TFA: > Their relief was short-lived. A new Telegram channel named “Torswats Return” was created by someone claiming that their “partner has been arrested”, according to posts viewed by The Independent. > The chann
290.
▲
by
valleyer
3y ago
I guess you mean "room-temperature superconductors"; if you don't, I submit you and your laptop can come out of the walk-in freezer now. It'll still work. ;)
291.
▲
by
valleyer
3y ago
You've got it backwards.
292.
▲
by
valleyer
3y ago
I was really confused by your second paragraph until I did some Googling. You're referring to Syntex, which developed an early contraceptive pill. And the chemical was derived from a naturally occurring one found in yams. Thanks for
293.
▲
by
valleyer
3y ago
Great game. Small bit of feedback: I'm having trouble distinguishing the + and ÷ symbols (on an iPhone SE 2nd gen.). You might consider making them clearer.
294.
▲
by
valleyer
3y ago
Technically (which is the best kind), yes.
295.
▲
by
valleyer
3y ago
Automatic application of copyright law to creative works came about in the U.S. after it became a signatory to the Berne Convention, in 1988. https://en.wikipedia.org/wiki/Berne_Convention_Implementatio...
296.
▲
by
valleyer
3y ago
Apple says that iMessage uses asymmetric encryption, the private key of which is stored only on device. You can choose to believe they're lying, I guess, but what they are describing is indeed possible. https://support.appl
297.
▲
by
valleyer
3y ago
It's GNU style, which some people prefer. https://www.gnu.org/prep/standards/standards.html#Syntactic-...
298.
▲
by
valleyer
3y ago
FWIW, this is also how Metal and OpenGL work on macOS. It's hard work, for sure, but it's also a pretty common pattern.
299.
▲
by
valleyer
3y ago
Nice. I don't even know Morse code, but simply pretending to code in some letters (saying "dit" and "dah" in my head) worked.
300.
▲
by
valleyer
3y ago
As someone who used to work there, I can attest that this description applies to all of Apple's software projects under Craig Federighi.
More ›