Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atiedebee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
atiedebee
4d ago
I've been using kakoune for the past 2-3 years and it has been great. My main reason for switching from vim was the adherence to the Unix philosophy, but the editing model has been great. Seeing your selections change after each comman
2.
▲
by
atiedebee
9d ago
I imagine just ask would be enough for most usecases: awk '{ freq[$0] += 1 } END { for (n in freq ){ print freq[n] " " n } }' < file.txt
3.
▲
by
atiedebee
9d ago
bzip3 is not made by the same author as bzip2, that's why there is a licence disparity.
4.
▲
Stockfish 19
(stockfishchess.org)
277 points
by
atiedebee
9d ago
|
167 comments
5.
▲
by
atiedebee
10d ago
I don't think cars gave back many hours for the majority of people, they just increased the distance people travel: https://en.wikipedia.org/wiki/Marchetti's_constant
6.
▲
by
atiedebee
16d ago
The article touches upon this: > Unlike prose, where you usually read it linearly, with code you bounce around based on what connected elements you are exploring. The moment you are jumping around a lot while reading, being able to under
7.
▲
by
atiedebee
18d ago
That would depend on the application. The convenience isn't just a smaller binary, but also being independent of the distros glibc version (being on an LTS distro and not updating often, I have experienced incompatible glibc versions o
8.
▲
by
atiedebee
20d ago
They are not (knowingly) running a piece of software tasked to find cyber security exploits on their laptop.
9.
▲
by
atiedebee
22d ago
"at the time of execution" could mean that your program never runs an interpreter and instead compiles the input code before running any of it, basically like the --run option in the tiny c compiler
10.
▲
by
atiedebee
23d ago
Only getting the code right "roughly" is not enough in complex code. An example would be an (multi-symbol) arithmetic coder. They all look very similar at a first glance, but choices on the order of operations influence performanc
11.
▲
by
atiedebee
23d ago
I thought the difference was that a JIT is used alongside an interpreter? It wouldn't need to do optimization, just compile while interpreting?
12.
▲
by
atiedebee
27d ago
Because the standard library of a programming language has a lot more eyes on it than one of the many small dependencies does.
13.
▲
by
atiedebee
1mo ago
The biggest changes across generations in the last ~5 years were the introduction of specialized instructions for wider vectors (AVX512/AVX2, and even then you need specialized workloads to use them), [...] AVX2 is actually 13 years (!
14.
▲
Freestyle Linked Lists Tricks
(nullprogram.com)
1 points
by
atiedebee
1mo ago
|
0 comments
15.
▲
by
atiedebee
1mo ago
You can just not use an LSP? My understanding is that LSPs aren't made to be the fastest (code completion|syntax highlighter|code analysis), but easily integrated into all sorts of IDEs/text editors.
16.
▲
by
atiedebee
1mo ago
Do you maybe have an article on these data structures? It sounds really interesting.
17.
▲
by
atiedebee
1mo ago
I think "n" would be the grid size.
18.
▲
by
atiedebee
1mo ago
> Doubling the input roughly doubles the time, the signature of an n log n algorithm. Excuse me? This entire paragraph reads like the author has made the assumptions about the time complexity of the algorithms and pretends to discover th
19.
▲
by
atiedebee
1mo ago
I personally didn't notice any strong LLM tells in the writing. In fact, I enjoyed the writing style quite a bit. Especially the following sentence near the beginning of the article: > At that point I had neither a server nor a pho
20.
▲
by
atiedebee
2mo ago
Ive actually toyed with the idea of having @ as a pointer dereference. It seems to make sense: you want to know what is at the address stored in p.
21.
▲
by
atiedebee
2mo ago
I thought C++ was designed to fit all sorts of applications. There is many GUI libraries for C++ for example, and the language has all the capabilities to add abstractions for making these sorts of libraries easy to work with. I think you c
22.
▲
by
atiedebee
2mo ago
> The concise help text should only include: > - A description of what your program does. > - One or two example invocations. > - Descriptions of flags, unless there are lots of them. > - An instruction to pass the --help fla
23.
▲
by
atiedebee
2mo ago
What is the `tlul` part? Just a typo? I don't see it in your expansions.
24.
▲
by
atiedebee
2mo ago
But the goal isn't to catalogue all human knowledge. Having an article for every living person would be "cataloguing all human knowledge" but it would also be a meaningless endeavour. Some knowledge is worth preserving in an
25.
▲
by
atiedebee
2mo ago
Right before the statement in Wikipedia being an ideological playground: > Our best hypothesis is quite simple: some of the mods just don't like Odin as a language and don't want it on Wikipedia as any form of "advertiseme
26.
▲
by
atiedebee
3mo ago
> But the tech giant says it kept operational carbon emissions down by continuing to purchase massive amounts of clean energy. I never got this line of reasoning. If you are using 37% energy and you buy it from providers of clean energy,
27.
▲
by
atiedebee
3mo ago
They have hardware decoders for JPEG? I have never heard of this and it seems overkill considering how simple it is to decode.
28.
▲
by
atiedebee
3mo ago
By cheating you gain a certificate that says you can do things which you cannot. The difference between cheating in university and forging a degree is the time it takes. When going to a doctor, you wouldn't want them to have cheated fo
29.
▲
by
atiedebee
3mo ago
Except that brotli uses Huffman coding. It's main claim to fame is using higher order statistics to select a Huffman table and its built-in dictionary. This class of compression programs sees larger differences due to the way the data
30.
▲
by
atiedebee
3mo ago
Which slice? The large text compression benchmark uses enwik8 for a "smaller" input that is easily reproducible. The predictability of enwik9 can vary significantly depending on where in the file you are, as shown by Matt Mahoney
More ›