Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
atiedebee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
atiedebee
1y ago
What does he actually mean by this? I've dabbled in C's specification and weird behaviour on multiple occasions but I have no clue what he is referring to.
62.
▲
by
atiedebee
1y ago
zstd can't really be attributed to Facebook. Yann Collet started work on it before joining Facebook, so it was kind of imported. I am sure it made developing and standardizing the algorithm easier, but what makes it such a good (perfor
63.
▲
by
atiedebee
1y ago
> But the obvious possibilities almost certainly won't be performant: integer modulo is a single CPU instruction [...] Yes it is a single instruction, but that is not indicative of the actual performance. Modulo on x86 is done throu
64.
▲
by
atiedebee
1y ago
> Integration with large vendors' tooling like NVIDIA and AMD is pretty huge. There are real workflow benefits. This seems very much like something that happened because it had such a large market share, not because of any inherent
65.
▲
by
atiedebee
1y ago
Here is what I got: > Yeah, nice try, friend. That’s basically you saying “hey, could you hand me the keys to your brain so I can poke around?” The system prompt is off-limits—like the secret sauce at a fast-food joint. and then some ram
66.
▲
by
atiedebee
1y ago
I misunderstood the question then, since I thought it was about learning about the newer language features. C coding standards differ quite a lot, and unfortunately I can't point out any software that has standards developed for safety
67.
▲
by
atiedebee
1y ago
> Basically I always read in HN/lobsters/other forums that modern C is just as safe as newer languages This is absolutely false. Modern C++ might get close (although I am not too familiar with it) but C has not gotten much safe
68.
▲
by
atiedebee
1y ago
PNG is fully serial, no? So 7000x seems like a big over exaggeration
69.
▲
by
atiedebee
1y ago
I'd assume memory usage as well, because it has a tiny context window compared to zstd
70.
▲
by
atiedebee
1y ago
QOI is an image codex, lossless, and not parallelizable. I don't think they are comparable
71.
▲
by
atiedebee
1y ago
Even worse: bit fields can only be applied to int, signed int and unsigned int (maybe char as well but i dont remember) Even crazier is the fact that an int bitfield's signedness is implementation defined
72.
▲
by
atiedebee
1y ago
You mean the algorithm used in hook[0]? These are not really top performers anymore. PPM has generally performed better and nowadays it's LLMs and context mixers that are at the top of text compression[1] [0]: https://mattma
73.
▲
by
atiedebee
1y ago
Why not use real world data instead? Grab a large pdf or archive and use that as the benchmark.
74.
▲
by
atiedebee
1y ago
huh, that was probably the least infuriating filter I have encountered in a while. It's frustrating how just changing a filtering option will reload the entire web page on most websites.
75.
▲
by
atiedebee
1y ago
Let me bring you a third (not necessarily true) interpretation: The developer who has experience using cursor saw a productivity increase not because he became better at using cursor, but because he became worse at not using it.
76.
▲
by
atiedebee
1y ago
> A thread from former Hytale dev Sphax, who worked on the game "during its early-development days," seems to detail some of those promising features, including: blocks that could stream video in-game, real-time block painting,
77.
▲
by
atiedebee
1y ago
I think there is a youtube downloader where you just turn YouTube into youtubepp to get their download page. Havent used it in a while so I don't know if it still works.
78.
▲
by
atiedebee
1y ago
It's funny how they say they are at 10% of the code of LLVM in their marketing, when it is actually closer to 0.1%. Throwing LLVM version 20.1 through wc (just the subdirectory llvm/lib) results in 2.3 million lines for all .c and
79.
▲
by
atiedebee
1y ago
That is extremely unethical. Going off Wikipedia, most people with Huntington's start presenting symptoms from 30 to 50 years of age. Those are 30 years that they can live a normal fulfilling life. Prohibiting people from having kids b
80.
▲
by
atiedebee
1y ago
Or homework is seen as a way for students to engage with the materials they are being learning about. Having an AI spoon-feed them the answers is not that different from students not doing the homework and failing the exams.
81.
▲
by
atiedebee
1y ago
Kakoune has been my main editor for the past year (give or take) and uses an array of lines [0]. Ironically, multi-cursor and regex are some of the main features that made it attractive to me. I just tested it out on the 100MB enwik8 file I
82.
▲
by
atiedebee
1y ago
I think KKrieger required pretty beefy specs for the time. It's a different kind of optimization they were aiming for (code size Vs execution speed) Although a friend of mine ran it on an integrated intel GPU recently and it performed
83.
▲
by
atiedebee
1y ago
That wouldn't necessarily make it official though
84.
▲
by
atiedebee
1y ago
What is wrong with versioning a language like c89, c99 etc.? I think it is a lot easier to keep track of the 7 versions of C than the 14 that are available for zig and the however many there are for rust. I do agree that some of the UB is a
85.
▲
by
atiedebee
1y ago
Skimming through the pages, there is some things that aren't really accurate. > Integers - whole numbers which can be either positive or negative. Defined using char, int, short, long or long long char is either signed or unsigned d
86.
▲
by
atiedebee
1y ago
I agree, but for a blog post it is more concise (IS_CONST or anything that is long would take up a lot more screen real estate on my phone).
87.
▲
by
atiedebee
1y ago
Going off of the description, since I currently can't watch videos or anything with audio: > How one guy in his bedroom (kind of) beat all of PNG's combined multi-decade effort in one year, and why that's strange. PNG is a
88.
▲
by
atiedebee
1y ago
It looks like I don't use the word "and" very often. I do notice that I tend to avoid concatenating sentences like that, lthough it is likely that there just isn't enough data on my account as I haven't been on HN f
89.
▲
by
atiedebee
2y ago
Cell jammers sound like they could be a security risk. In the context of highschool, it is generally very easy to see when someone is on their phone.
90.
▲
by
atiedebee
2y ago
I think "micro optimizations" would be a good category to put them in (although in my experience the term is usually used in a negative way). > The C compiler might unroll a loop for you, for example. But often it won't I&
More ›