Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Validark
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
Validark
1y ago
I don't believe this response is based on an honest interpretation of my words, nor meaningfully attempting to grapple with anything I've said. I think everyone reading understands what my point was, so I'm going to exercise
62.
▲
by
Validark
1y ago
I am glad to hear you have been inspired to read more machine code! Was the audio good for the talk on the ideas behind this specific tokenizer [1]? I'm going to tryhard on the next talk in July on this subject and hopefully get as ma
63.
▲
by
Validark
1y ago
Well, I apologize for "begging", but I do it because it helps me to stay motivated when I see a bunch of people get interested in the project, or at least feign interest, haha. I know it's cringy but making it to 200 stars re
64.
▲
by
Validark
1y ago
The story is indeed very short, but hits hard. Odin reveals himself and his mystical disc that he states makes him king as long as he holds it. The Christian hermit (by circumstance) who had previously received him told him he didn't w
65.
▲
by
Validark
1y ago
I'm specifically referring to: > There are- things like flat or hollow earth, antivax and HIV deniers, homeopaths etc. Proponents of all of the above are looking for a grand unifying cosmology. Dark matter and dark energy are confus
66.
▲
by
Validark
1y ago
> Proponents of all of the above are looking for a grand unifying cosmology. Dark matter and dark energy are confusing and unknown, so people want to just simplify them away. Flat earthers want to simplify away the existence of other pla
67.
▲
by
Validark
1y ago
How dare some peasant actually win at a game they were meant to lose? That's illegal!
68.
▲
by
Validark
1y ago
> Locality is so important that linear actions trump asymptotic complexity until you get quite a lot more elements than you might expect. The reverse of this can be true. In the following paper, they found that William's Heap Constr
69.
▲
by
Validark
1y ago
Pay was not mentioned in the article as a reason why they were sick to their stomach. This person was a part of a community and they were doing a lot of work they found meaningful, and then in an instant it was all ripped away. You can'
70.
▲
by
Validark
2y ago
Sure, if you are streaming data to ALL cores simultaneously you can get that kind of number. But on a single-thread, I don't think so.
71.
▲
by
Validark
2y ago
Well, the article reports a speed of 47 GB/s. There is no way to be 1000x faster than that.
72.
▲
by
Validark
2y ago
47 bytes per nanosecond? That's 47 GB/s. My machine couldn't stream data into the CPU that fast. Though if you're exclusively operating within cache then I suppose that's possible. Honestly, I've never really u
73.
▲
by
Validark
2y ago
Yes, I almost certainly would write that wrapper to make it impossible for me to pair the wrong length with a string. And yes, it technically is still code, but at least the bytes are not being "looked at" in a way where they migh
74.
▲
by
Validark
2y ago
To me, "sanitizing inputs" implies a transformation of the data into a string that can be "safely" evaluated as code which hopefully yields the input data. Instead you should be able to just mark a piece of the code as d
75.
▲
by
Validark
2y ago
Could someone please explain to me why "sanitizing database inputs" was ever considered a good idea? Why not just add a feature in SQL like so? SELECT * FROM users WHERE username = [<LEN_OF_TEXT>]raw-text-of-len-not-pars
76.
▲
by
Validark
2y ago
> Benchmarking is the only thing you can really do in some cases. I think the complete opposite! Benchmarking is very difficult to get right and in some situations you couldn't really make a benchmark to test what you're intere
77.
▲
by
Validark
2y ago
In other words, READ THE ASSEMBLY!
78.
▲
by
Validark
2y ago
One famously fun paper is "The LCA problem revisited" https://ics.uci.edu/~eppstein/261/BenFar-LCA-00.pdf For those who can't read, I recommend this talk about it: https://youtu.be/4
79.
▲
by
Validark
2y ago
Such ridiculous laws. The real crime here is that the software vendor lets people use the software without creating a new password. Even that is suspect, since I bet most people's password would be 1234 anyway. So really they should fo
80.
▲
by
Validark
2y ago
If someone can't even put in a minimal amount of effort for basic punctuation and grammar, I'm not going to read their article on something more sophisticated. If you go for the lowercase i's because you want a childish or sl
81.
▲
by
Validark
2y ago
This seems like a very interesting comment, if only I could make sense of it. Could you elaborate and/or give examples of what you're describing?
82.
▲
by
Validark
2y ago
Obviously very stupid reasoning going on, but reasoning nonetheless? It makes me think we're on the right track that it basically seems to know what steps should be taken and how to step through the steps. I don't know why it is g
83.
▲
by
Validark
2y ago
That's actually a great argument in favor of Zig over Rust. I assume Rust automatically writes code equivalent to this for you: ``` defer { for (list.items) |str| gpa.free(str); list.deinit(gpa); } ``` When it's sp
84.
▲
by
Validark
2y ago
I would be very interested to see optimizations based on this. Could the compiler emit faster code with this idea? What impact does this have on auto-vectorization like using `vgather`?
85.
▲
by
Validark
2y ago
Does it not strike anyone else as wrong that a printer that you own has to do the bidding of the government instead of you? That you have to pay for it to be forensically watermarked against your own interests? And why have all these compan
86.
▲
by
Validark
2y ago
I gave no commentary. I don't even know what to say about that disclaimer. But I am not a Rust fan and I think "safety" should be achieved through making good programming easy.
87.
▲
by
Validark
2y ago
Stupid AI slop.
88.
▲
by
Validark
2y ago
I wrote this stub a while back https://gist.github.com/Validark/457b6db8aa00ded26a6681d4d25...
89.
▲
by
Validark
2y ago
Is it advertised a lot? I know the basic idea of Ropes and that it's used for scripting languages a lot but I haven't seen it in ads. Maybe I haven't looked at enough new editors though.
90.
▲
by
Validark
2y ago
From the Readme: "Unsafe code Ropey uses unsafe code to help achieve some of its space and performance characteristics. Although effort has been put into keeping the unsafe code compartmentalized and making it correct, please be cautio
More ›