Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aliceryhl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
aliceryhl
5y ago
I've seen this posted every so often. How are you intended to use it? Just click a folder and pick a random paper?
62.
▲
by
aliceryhl
5y ago
No, it's not a perfect example of better being the enemy of good enough. You're just missing the point. Nobody is using this as an interview question.
63.
▲
by
aliceryhl
5y ago
I don't think there's an elementary proof, but you will see a proof if you study algebraic number theory.
64.
▲
by
aliceryhl
5y ago
It doesn't really matter. Use 11 for 1, 00 for 00 and 01 for next number. Most ways you can come up with have the same length up to multiplying with some constant, and the constant does not matter in the analysis.
65.
▲
by
aliceryhl
5y ago
What actually happened to them? It is unclear to me how this could harm Denmark.
66.
▲
by
aliceryhl
5y ago
Ah, yeah, I have mixed up things here a bit. However, the overall points still apply. When people use encryption, they generally don't use secrets anywhere near as long as the plaintext.
67.
▲
by
aliceryhl
5y ago
> You never get “all English strings of the given length”, because you’re not brute forcing the output, you’re brute forcing the key, which isn’t necessarily English. You misunderstand me. If you go through all possible keys and try to d
68.
▲
by
aliceryhl
5y ago
No. With the hash-based algorithm you can go through every possible secret key and starting integer and check whether the result looks like English text (or whatever the contents are). If your English-text check is sufficiently good (how go
69.
▲
by
aliceryhl
5y ago
The part where it explains why "People don’t want to run their own servers, and never will." is a false statement because there are a few counter-examples seems like it's really missing the point. The vast majority of people
70.
▲
by
aliceryhl
5y ago
Where I come from everyone uses Facebook Messenger, so we don't have this problem.
71.
▲
by
aliceryhl
5y ago
Well, one of the advantages of having two ways to do macros is that macro_rules! macros are much much faster than procedural macros.
72.
▲
by
aliceryhl
5y ago
I mix languages all the time.
73.
▲
by
aliceryhl
5y ago
Tokio maintainer here. I've actually been spending a bunch of time recently looking in to how we can reduce Tokio's compile-times. I haven't really been able to find any big wins yet, but one thing has been pretty clear from
74.
▲
by
aliceryhl
5y ago
"There is no justice in the laws of Nature, Headmaster, no term for fairness in the equations of motion. The universe is neither evil, nor good, it simply does not care. The stars don't care, or the Sun, or the sky. But they don&#
75.
▲
by
aliceryhl
5y ago
That just seems completely incorrect. Most people in my life are atheists and not nihilists, and the few exceptions are all religious rather than nihilists.
76.
▲
by
aliceryhl
5y ago
https://astralcodexten.substack.com/p/please-dont-give-up-on...
77.
▲
by
aliceryhl
5y ago
Generally the way async Rust works is that you have a Future trait with a poll method, and if you call it the future will attempt to make progress if it can — e.g. if the task is a timer it will check the time and complete the task if so an
78.
▲
by
aliceryhl
5y ago
It's evening in Europe. We also have programmers here.
79.
▲
by
aliceryhl
5y ago
It's a lot easier to check if something is a prime than to factor it.
80.
▲
by
aliceryhl
5y ago
Which browser are you on? It works for me in Firefox.
81.
▲
by
aliceryhl
5y ago
Trivially moveable means that you can move the object by simply copying the bytes to a new location, and non-trivially-moveable objects are those that would be incorrect to move in this manner. A move constructor is a C++ concept for non-tr
82.
▲
by
aliceryhl
5y ago
I wrote a custom program that adds them as todo-items on Todoist, then set it up to run once every night on my server.
83.
▲
by
aliceryhl
5y ago
The user might otherwise compile it on a newer compiler with new warnings. You don't want such new warnings to break the build for users installing the software.
84.
▲
by
aliceryhl
5y ago
Pawn promotions are legal moves, yes.
85.
▲
by
aliceryhl
5y ago
This is a classic example of Berkson's paradox [1]. If the job applications you receive have a positive correlation between on-the-job performance and competitive programming performance, and you use competitive programming performance
86.
▲
by
aliceryhl
5y ago
You compare it to Rust compile times, but Julia's are much worse than Rust's. I say this as someone who has used both languages quite a lot.
87.
▲
by
aliceryhl
5y ago
Typo: > There may be some people do who, but I think my experience is fairly typical
88.
▲
by
aliceryhl
5y ago
I see this recommendation rather often, but it's rather unhelpful. I certainly can't think of any such problem that I have.
89.
▲
by
aliceryhl
5y ago
When using the switch strategy, you win if you choose a goat initially. Since there are two goats and one car, this is a 2/3 chance.
90.
▲
by
aliceryhl
5y ago
I mean, it's a trade-off. IntelliJ is better at some things, and worse at others. There are certain programming languages where I prefer IntelliJ (mainly Java and PHP), and there are other cases where I prefer Neovim (Rust, Julia, Pyth
More ›