Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
451.
▲
by
ncruces
1y ago
Knowing little about zig, std.mem.eql very likely already uses SIMD. This is about using SIMD to avoid even calling std.mem.eql for 99% of the possible attempts.
452.
▲
by
ncruces
1y ago
He's not wrong, though, certainly not in the example he gave.
453.
▲
by
ncruces
1y ago
Or, to make the point more salient, a rowboat in a lake, vs a containership in a deep water port.
454.
▲
by
ncruces
1y ago
I've actually used this to implement the linear memory of a Wasm runtime (reserve 4GB and commit as needed) and have faced user complaints (it's in a library that uses a Wasm runtime internally) due to it unexpectedly running into
455.
▲
by
ncruces
1y ago
> What you mention is basically to reduce the costs of counting, and is still usage-based metering, just with a reasonable guess to make payment more frequent. That's not the motive where I live. There's basically 2 reasons:
456.
▲
by
ncruces
1y ago
At this point, I've also basically abandoned my Google Play apps. I simply cannot afford the time to keep them up to date for no good purpose. And it's absurd. They were a perfectly sustainable “business” with a single unobtrusive
457.
▲
by
ncruces
1y ago
Then wait for Google to adopt it at large? If it (purportedly?) exists so that Google can move multi-million line code bases from C++ to something better bit-by-bit, because it's otherwise infeasible to do so, why would Google drop it
458.
▲
by
ncruces
1y ago
A functional adult doesn't need to ever go to a strip club. A functional adult in the 2020s needs to learn how to use Google and YouTube. It's actually part of the curriculum at school. The school also uses Gmail, and Classroo
459.
▲
by
ncruces
1y ago
Let's watch together starts to fall flat when the primary use they have for a device is to chat with family and friends, where it's natural to want a modicum of privacy. I wanna know who they're talking to, not everything the
460.
▲
by
ncruces
1y ago
I don't disagree.
461.
▲
by
ncruces
1y ago
How about phones and computers themselves can be configured as belonging to children, and services/platforms being required to respect rules when a device tells them a child is accessing their services? In terms of YouTube all I want a
462.
▲
by
ncruces
1y ago
OK, I didn't know that, though it's not very intuitive. Thanks! Now, as a parent, I face a tough choice: I have history on the kids accounts precisely because I want to check on it and discuss with them what's good, or less s
463.
▲
by
ncruces
1y ago
Good, at least they'll learn a useful skill in the process. Unlike what happens if they open the app and are pushed to doom scroll through dozens of videos on every 10 min school break.
464.
▲
by
ncruces
1y ago
As a parent (who also btw uses Google products every single effin day) I just can't agree. This is entirely Google's issue to fix. Yes, YouTube has amazing educational content. I'd really like to make it available for my kids
465.
▲
by
ncruces
1y ago
Thanks, didn't know this one! Have some reading to do. For a library that implements just the two component version of this, commonly known as a double-double, for a mantissa of 107 bits and an exponent of 11, see: https://g
466.
▲
by
ncruces
1y ago
Actually, the exponent is smaller. IEEE 754 64-bit binary floats have an 11 bit exponent, 1 sign bit, and 53 bit mantissa (one of the bits of the mantissa is implied, by actually knowing what they're doing, rather than… whatever this i
467.
▲
by
ncruces
1y ago
Still working to upstream my Wasm SIMD libc work. https://github.com/search?q=repo%3AWebAssembly%2Fwasi-libc+s...
468.
▲
by
ncruces
1y ago
But that's also, IMO, why talking about it helps. I didn't start this thread to chastise anyone about it, but to express the idea that, in a country poorer than the US (on average), within 30 years, getting kids to swim early prob
469.
▲
by
ncruces
1y ago
I was struck by the comment that teaching kids young kids how to swim is uncommon in the US. I got my kids into swimming lessons on their first spring (was advised to avoid it during the winter). And it's part of primary education in m
470.
▲
by
ncruces
1y ago
Thanks for taking the time! I was the original contributor of the SIMD code, and got this… pushback. I still don't quite understand how you can marry ”pointer provenance” with the intent that converting between pointers and integers is
471.
▲
by
ncruces
1y ago
Hi Andy. Did you read the linked thread? I was not the one making this claim: > However, I believe that currently, there is no well-defined way to actually achieve this on the LLVM IR level. Using plain loads for this is UB (even if it
472.
▲
by
ncruces
1y ago
How is that a data race? Also, you're using unsafe. The post is about data races in safe Go leading to crashes or exploits, because things like "eface" (the tuple used to implement interfaces) and slices (again a tuple) are
473.
▲
by
ncruces
1y ago
Yeah, using LLVM for anything trying to avoid UB is crazy. I got involved in a discussion with a Rust guy when trying to get C with SIMD intrinsics into wasi-libc where something that the C standard explicitly state is “implementation defin
474.
▲
by
ncruces
1y ago
The checksum VFS explicitly disables its checksums during checkpointing (search of inCkpt): https://sqlite.org/src/doc/tip/ext/misc/cksumvfs.c Data in the WAL should be considered to be of "red
475.
▲
by
ncruces
1y ago
> Since WAL corruption issues are silent, we cannot do that now. You do have backups, right?
476.
▲
by
ncruces
1y ago
And when regenerative breaking is not enough, a series hybrid can still apply compression breaking, before resorting to brakes.
477.
▲
by
ncruces
1y ago
Oh that's the year I went. Trip down memory lane. I was woefully unprepared. The mobile phone cell summation problem underlined how much I didn't know, and later figuring it out, how much I had to learn; it cemented my love for th
478.
▲
by
ncruces
1y ago
HTMX uses HTML snippets over the wire to replace HTML elements on the client. It's not supposed to grow to support every use case you can imagine. If you're calling APIs that you have no control over, you do so on your server. Tha
479.
▲
by
ncruces
1y ago
Is solid hardwood production better for the environment than particle board, at the societal level (i.e. over the average societal lifespan of the finished products)?
480.
▲
by
ncruces
1y ago
But why?
More ›