Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atiedebee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
atiedebee
8d ago
I feel like this becomes less clear if you're talking about "one-time" events. "Our website loads 2x faster now" doesn't mean that they are sending more data per second, and the user won't be doing more we
2.
▲
by
atiedebee
10d ago
Id say that it is a lot more likely for the in-house, at least half a decade old library to be correct and performant than 3000 lines of an LLMs mediocre regurgitation of that code.
3.
▲
by
atiedebee
14d 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
4.
▲
by
atiedebee
19d 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
5.
▲
by
atiedebee
19d ago
bzip3 is not made by the same author as bzip2, that's why there is a licence disparity.
6.
▲
Stockfish 19
(stockfishchess.org)
277 points
by
atiedebee
19d ago
|
169 comments
7.
▲
by
atiedebee
19d 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
8.
▲
by
atiedebee
26d 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
9.
▲
by
atiedebee
28d 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
10.
▲
by
atiedebee
1mo ago
They are not (knowingly) running a piece of software tasked to find cyber security exploits on their laptop.
11.
▲
by
atiedebee
1mo 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
12.
▲
by
atiedebee
1mo 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
13.
▲
by
atiedebee
1mo 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?
14.
▲
by
atiedebee
1mo ago
Because the standard library of a programming language has a lot more eyes on it than one of the many small dependencies does.
15.
▲
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 (!
16.
▲
Freestyle Linked Lists Tricks
(nullprogram.com)
1 points
by
atiedebee
1mo ago
|
0 comments
17.
▲
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.
18.
▲
by
atiedebee
1mo ago
Do you maybe have an article on these data structures? It sounds really interesting.
19.
▲
by
atiedebee
1mo ago
I think "n" would be the grid size.
20.
▲
by
atiedebee
2mo 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
21.
▲
by
atiedebee
2mo 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
22.
▲
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.
23.
▲
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
24.
▲
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
25.
▲
by
atiedebee
2mo ago
What is the `tlul` part? Just a typo? I don't see it in your expansions.
26.
▲
by
atiedebee
3mo 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
27.
▲
by
atiedebee
3mo 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
28.
▲
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,
29.
▲
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.
30.
▲
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
More ›