Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cmovq
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
1.
▲
by
cmovq
3d ago
> Base84 distinguishes uppercase and lowercase letters, so different encoded names can compare equal on a case-insensitive filesystem. I understand for the authors particular application the probability of collision is small, but this ma
2.
▲
by
cmovq
18d ago
> Perhaps surprisingly, the ZIP file puts the central directory - which lists the content of the ZIP file - at the end of the file This is very common for archive files. It lets you easily append a file to the end of the archive (overwri
3.
▲
by
cmovq
1mo ago
Note that compilers are more than happy to delete 'while (true)' if the loop doesn't have side-effects.
4.
▲
by
cmovq
1mo ago
64 bit cpus have 128 bit mul results if that’s what you mean
5.
▲
by
cmovq
2mo ago
> The PlayStation 1 didn't have jiggly vertices and warpy textures because of fixed-point Indeed modern GPUs still use fixed-point rasterizers.
6.
▲
by
cmovq
2mo ago
+1 for TrenchBroom, it’s amazing software.
7.
▲
by
cmovq
3mo ago
I wish everyone would just have an option to see the navigation the the gauge cluster.
8.
▲
by
cmovq
3mo ago
I understand this logic, but at some point it makes sense to design the system for the millions of people on macs rather than make compromises for the sake of dozens of Vision Pro users.
9.
▲
by
cmovq
3mo ago
Is there a technical reason why apple doesn’t allow HDR to be selectively turned off? I’m surprised this is still not at least an accessibility option.
10.
▲
by
cmovq
3mo ago
Compilers can’t really, in a meaningful way, change the layout of your data in memory. And you do need to think about your memory layout to get any benefit from SIMD. You’ll notice a lot of compiler auto vectorization insert many instructio
11.
▲
by
cmovq
3mo ago
Lenovo is the “weird exception” because thinkpads have always had the Fn key on the bottom left. Just like they still keep the track point. I would presume most people buying a thinkpad don’t want to buy “the vast majority” of laptops.
12.
▲
by
cmovq
3mo ago
I had no idea they used the Plan 9 file server for accessing files in WSL. I wonder what the original reasoning for choosing 9P was.
13.
▲
by
cmovq
4mo ago
That and a reset button.
14.
▲
by
cmovq
4mo ago
For GeForce cards you can get similar behavior by setting “Prefer maximum performance” which disables some of the low power states.
15.
▲
by
cmovq
4mo ago
Designated initializers is one area where C feels much more expressive than C++. And that feature has been standard since C99.
16.
▲
by
cmovq
5mo ago
The Coca Cola company still makes advertisements, even though everyone already knows about Coke. You have to keep your name in the top of your target audience’s mind.
17.
▲
by
cmovq
5mo ago
Vulkan is a pain for different reasons. Easier to install sure, but you need a few hundred lines of code to set up shader compilation and resources, and you’ll need extensions to deal with GPU addresses like you can with CUDA.
18.
▲
by
cmovq
5mo ago
Except it’s actually called “cooked mode” [1] and predates the use of the slang. [1]: https://en.wikipedia.org/wiki/Terminal_mode https://www.linusakesson.net/programming/tty/
19.
▲
by
cmovq
5mo ago
Software wants to be installed in C:\Program Files so that other software can’t modify their installation without admin permissions. Of course to do that your installer needs to be run as administrator which makes the whole thing rather sil
20.
▲
by
cmovq
6mo ago
> The OS then provides a native API to return a user's age bracket (not full date-of-birth) Call the API every day, when the age bracket changes you can infer the date-of-birth.
21.
▲
by
cmovq
6mo ago
Even the function names are identical :/
22.
▲
by
cmovq
6mo ago
I mean it kind of is considering that's comparable to a 5070 which has 672 GB/s? Benefit of NVIDIA being the only one using GDDR7 for now I guess.
23.
▲
by
cmovq
6mo ago
I've always assumed minifiers were a kind of lossless compression. I guess this optimization makes it lossy? Even if we can't tell the difference between oklch(0.659432 0.304219 234.75238) and oklch(.659 .304 234.752) they're
24.
▲
by
cmovq
6mo ago
When you're using a programming language that naturally steers you to write slow code you can't only blame the programmer. I was listening to someone say they write fast code in Java by avoiding allocations with a PoolAllocator th
25.
▲
by
cmovq
6mo ago
This comment assumes game companies throw away all their code and start from scratch on their next title. Which is completely untrue, games are built on decades old code, like most software. There is absolutely a need for maintainable code.
26.
▲
by
cmovq
6mo ago
> we had an unusual discussion about a Python oddity There are so many discussions about "X language is so weird about it handles numbers!" and it's just IEEE 754 floats.
27.
▲
by
cmovq
6mo ago
For a graphics programmer acos(dot(x, y)) always raises an eyebrow. Since most of the time you actually want cos(theta) and even when you think you need the angle you probably don’t.
28.
▲
by
cmovq
6mo ago
Not in this case because the dependencies are the same: Naive: https://godbolt.org/z/Gzf1KM9Tc Horner's: https://godbolt.org/z/jhvGqcxj1
29.
▲
by
cmovq
6mo ago
Compilers cannot do this optimization for floating point [1] unless you're compiling with -ffast-math. In general, don't rely on compilers to optimize floating point sub-expressions. [1]: https://godbolt.org/z/
30.
▲
by
cmovq
6mo ago
> After all of the above work and that talk in mind, I decided to ask an LLM. Impressive that an LLM managed to produce the answer from a 7 year old stack overflow answer all on its own! [1] This would have been the first search result f
More ›