Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
orlp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
31.
▲
by
orlp
4mo ago
It's called driftsort because it's derived from another sort I made, glidesort: https://github.com/orlp/glidesort . Glidesort is a bit faster still for large inputs, however it was too large and complex for in
32.
▲
by
orlp
4mo ago
Since pdqsort (an older project of mine) was mentioned, I felt it wouldn't be entirely inappropriate to mention that I've since then collaborated with Lukas Bergdoll to provide two high-quality sort implementations for the Rust st
33.
▲
by
orlp
4mo ago
When going from float to u8 you should add a triangular dither. It makes a world of difference for grayscale gradients, even in 24bit truecolor.
34.
▲
by
orlp
4mo ago
The input space is 32 + 32 = 64 bits. The output space is 64 bits. So the best you can do is an 1-to-1 mapping. However, since a * b = b * a, our input space has a lot of duplicate outputs. So from this alone you can conclude roughly half o
35.
▲
by
orlp
5mo ago
There's typically only a performance penalty if the unaligned load spans a cache line on modern hardware.
36.
▲
by
orlp
5mo ago
No it doesn't have security implications. If you are insecure because someone has had one of their otherwise completely innocent PRs merged into your repo... you are insecure, period.
37.
▲
by
orlp
5mo ago
The person you replied to was talking about selling , not buying .
38.
▲
by
orlp
5mo ago
> So you're just outright accusing GameStop of fraud? I have no idea why you interpret my words that way. I just meant that I didn't want to analyze the cash portion of their offer any further and just wanted to take it at face
39.
▲
by
orlp
5mo ago
Alright, my company MEME offers to buy Apple then for $1 plus 100% of MEME's stock, which is worth more than Apple then since it will own Apple. If you word it like this it's just a hostile proposed change of leadership. Weird way
40.
▲
by
orlp
5mo ago
Yes, that goes into the '50% cash' part of the offer. With a 20B credit line and 7.5B cash from their own coffers (which they claim to have, so let's believe them on their word there), you cover the cash portion. The issue is
41.
▲
by
orlp
5mo ago
GameStop doesn't have (even close to) $55.5B. Their offer from the letter is literally impossible: > Our offer is $125.00 per share, comprising 50% cash and 50% GameStop common stock Even if you magically included all existing GameS
42.
▲
by
orlp
5mo ago
What is your Python version? Splice was added in 3.10. https://docs.python.org/3/library/os.html#os.splice
43.
▲
by
orlp
5mo ago
Vec::set_len is by no means deprecated. The lint you linked only covers a very specific unsound pattern using set_len.
44.
▲
by
orlp
6mo ago
I've flagged the post, the title is editorialized, the title on the blog post is "MiniMax M2.7: The Agentic Model That Helped Build Itself" (at least at the time of writing this).
45.
▲
by
orlp
8mo ago
In university? No, absolutely not straight away. The point of a CS degree is to know the fundamentals of computing, not the latest best practices in programming that abstract the fundamentals.
46.
▲
by
orlp
8mo ago
Why do you find it in interesting that someone chose something mainstream? Isn't that the definition of mainstream, that it's a common choice?
47.
▲
by
orlp
8mo ago
In modern usage (e.g. in gaming communities) "carries" has become not only ambitransitive but also a noun. If something "carries" or is "a carry", it means it is so strong it metaphorically carries the rest of
48.
▲
by
orlp
8mo ago
> N tokens looking at N tokens is quadratic Convolving two arrays can be done perfectly accurately in O(n log n), despite every element being combined with every other element. Or consider the even more basic sum of products a[i] * b[j]
49.
▲
by
orlp
8mo ago
An interesting follow-up question is, what is the smallest number unable to be encoded in 64 bits of binary lambda calculus?
50.
▲
by
orlp
9mo ago
Bloom filters also become full. As it fills up the false probability rate goes up. Once the false probability rate reaches the threshold of unacceptability, the bloom filter is full, and you can no longer insert into it. That most interface
51.
▲
by
orlp
9mo ago
Same author.
52.
▲
by
orlp
9mo ago
> Long-running projects that converge on high-quality, complex projects In my experience agents don't converge on anything. They diverge into low-quality monstrosities which at some point become entirely unusable.
53.
▲
Rust Is Perfectly Imperfect
(0x80.pl)
3 points
by
orlp
9mo ago
|
1 comments
54.
▲
by
orlp
10mo ago
I work in a 400k+ LOC codebase in Rust for my day job. Besides compile times being suboptimal, Rust makes working in a large codebase a breeze with good tooling and strong typechecking. I almost never even think about the borrow checker. If
55.
▲
by
orlp
10mo ago
The person you replied to stated: > how productive power users in different [fields] can be with their tools There are a lot more tools in programming than your text editor. Linters, debuggers, AI assistants, version control, continuous
56.
▲
by
orlp
10mo ago
When "everybody is better", you can still increase your relative rank to other people if you benefit even more. For example if I were to give $1 to every person on earth, but $100 million to you, everyone would be richer but you w
57.
▲
by
orlp
11mo ago
> Do you have any particular pieces in mind when you wrote this? (not me, but...) Bach - Passacaglia & Fugue in C minor, BWV 582 > But one wonders what he could have made without those constraints. Bach-Busoni - Chaconne from Part
58.
▲
by
orlp
11mo ago
Rust works this way, yes. There are escape hatches though, which allow interior mutability.
59.
▲
by
orlp
11mo ago
Passive voice deflects responsibility and agency. Loss happens, firings are a decision.
60.
▲
by
orlp
1y ago
No, OSRS is 100 ticks per minute which gives 0.6 second ticks, which rounds to 1.667 ticks per second.
More ›