Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nhellman
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
nhellman
2y ago
We've been experimenting at my day-job with using the nix package manager to automate the fetching and building of dependencies, and also isolate them per project/revision. In the root of each project repository, we have a shell.n
2.
▲
by
nhellman
2y ago
This is not forced by Gentoo. My Gentoo installs have separate bin directories which is what I got by default.
3.
▲
by
nhellman
2y ago
Why return an owned string instead of a borrowed str slice? A substring can always be borrowed and should never require a heap allocation?
4.
▲
by
nhellman
2y ago
Aren't there symbols missing for the mid central vowels which are common in English? I.e. https://en.wikipedia.org/wiki/Mid_central_vowel . How do you write e.g. "learn" or "bird"? It seems to b
5.
▲
by
nhellman
2y ago
Germany does share an electricity market with its neighbours, you can see the live import and export e.g. here: https://www.iea.org/data-and-statistics/data-tools/real-time... . Currently, Germany is averaging arou
6.
▲
by
nhellman
2y ago
Besides for verifying that the compiled program works on the target, tests are also required to compile with PGO because you need to have a runtime example to optimize for.
7.
▲
by
nhellman
3y ago
> Then before I push, I have to temporarily rewind the branch to remove them, push, then cherry-pick them again. You do not necessarily need to modify and restore your branch head just to push in this case. If you have e.g. two temporary
8.
▲
by
nhellman
3y ago
To me it feels like Cyrillic cursive has at least as many differences from its printed counterparts as Latin has. For example, д is written like a g, б kind of like a d, т like an m. The last one is especially confusing because м also exist
9.
▲
by
nhellman
3y ago
It is not an entirely painfree experience, though. In some cases it is not a completely unwarranted question. For example, the snow and ice melted here yesterday, exposing gravel on asphalt which is borderline painful to run on directly. Al
10.
▲
by
nhellman
3y ago
What happened to C? It's the #5 top language and you never ruled it out but it is missing from the final list? It seems like a reasonable first language with simple operations and not much magic happening behind the scenes.
11.
▲
by
nhellman
3y ago
Yes, the three holes are very common in Sweden, the first time I even encountered covers without them was when moving abroad. However, a few years ago Ikea removed them in Sweden also, unfortunately. From what I've heard it's beca
12.
▲
IJON Deep State Space Explorer
(github.com)
3 points
by
nhellman
3y ago
|
1 comments
13.
▲
by
nhellman
3y ago
The link to the paper seems to be broken but it is openly available at IEEE explore: https://ieeexplore.ieee.org/document/9152719 The paper explores manually guiding AFL-based fuzzers using annotations in the source co
14.
▲
by
nhellman
3y ago
NHE looks interesting, they seem to have modified all clients to make the host player teleport above the map. With the current protocol, it seems like it is impossible to achieve this without modifying the guest clients as well. And by modi
15.
▲
by
nhellman
3y ago
Heh, what a coincidence! Does XSP stand for anything?
16.
▲
by
nhellman
3y ago
Are you thinking of Theater mode that first appeared in Halo 3? Unfortunately it was slimmed down in later Halo games and it is rarely seen in other games at all, especially not console games.
17.
▲
by
nhellman
3y ago
> So that's basically most of the lowest layers of the Xbox Live protocol as well. Simply game discovery happens over local broadcast instead of through the Live servers. There's some other specifics that change, such as loggin
18.
▲
by
nhellman
3y ago
> Loved it, thanks for being so thorough and document the train of thought. Glad to hear! I was hoping to make the whole process easy to follow without any large skips or prior knowledge. It is more or less my process but with a lot of d
19.
▲
by
nhellman
3y ago
I haven't tried this out, I wonder how well the Halo 1 net protocol works over a less reliable connection. I encounter issues as soon as I momentarily minimize the emulator and it does not recover without starting a new game. I wonder
20.
▲
by
nhellman
3y ago
> "age in a bot" might be a truncated form of "message in a bottle." Yeah, that makes sense, it is a very odd sentence otherwise. Truncating on "bot" might be a play on words for game AI/NPC. > The P
21.
▲
by
nhellman
3y ago
Thanks, I was initially surprised that they were encrypted but I can speculate on a few potential reasons: - The Xbox was designed to be able to play online via Xbox Live (e.g. with Halo 2 that came out later in 2004), and they might have s
22.
▲
Exploring the Halo 1 System Link Protocol
(hllmn.net)
220 points
by
nhellman
3y ago
|
64 comments
23.
▲
by
nhellman
3y ago
There is also 'doas' from the OpenBSD project. It's a replacement for 'sudo' with fewer features and a smaller codebase, with the aim of a smaller attack surface. https://en.m.wikipedia.org/wiki/
24.
▲
by
nhellman
3y ago
This is a good point, I updated the article to include a comparison where the naive method is only using standardized floating-point operations. When not using -funsafe-math-optimizations the compiler emits sqrtps followed by divps (sqrtps
25.
▲
by
nhellman
3y ago
I believe you are correct, thanks for pointing that out. clock_gettime gives us ns and I multiply it by 1000 which gives us ps. Not sure how I initially got it to be fs. Updated it now.
26.
▲
Revisiting the Fast Inverse Square Root – Is It Still Useful?
(hllmn.net)
145 points
by
nhellman
3y ago
|
51 comments
27.
▲
by
nhellman
4y ago
A few months ago an HN user recommended to use the YaCy search engine to index personal bookmarks: https://news.ycombinator.com/item?id=31848210#31848566