HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cmovq

887 karmajoined 4 ปีที่แล้ว

comments

cmovq
·8 วันที่ผ่านมา·discuss
I wish everyone would just have an option to see the navigation the the gauge cluster.
cmovq
·11 วันที่ผ่านมา·discuss
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.
cmovq
·14 วันที่ผ่านมา·discuss
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.
cmovq
·20 วันที่ผ่านมา·discuss
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 instructions just to shuffle data around to get to a usable layout, which negates much of the benefit.
cmovq
·เดือนที่แล้ว·discuss
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.
cmovq
·เดือนที่แล้ว·discuss
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.
cmovq
·เดือนที่แล้ว·discuss
That and a reset button.
cmovq
·2 เดือนที่ผ่านมา·discuss
For GeForce cards you can get similar behavior by setting “Prefer maximum performance” which disables some of the low power states.
cmovq
·2 เดือนที่ผ่านมา·discuss
Designated initializers is one area where C feels much more expressive than C++. And that feature has been standard since C99.
cmovq
·3 เดือนที่ผ่านมา·discuss
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.
cmovq
·3 เดือนที่ผ่านมา·discuss
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.
cmovq
·3 เดือนที่ผ่านมา·discuss
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/
cmovq
·3 เดือนที่ผ่านมา·discuss
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 silly.
cmovq
·3 เดือนที่ผ่านมา·discuss
> 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.
cmovq
·4 เดือนที่ผ่านมา·discuss
Even the function names are identical :/
cmovq
·4 เดือนที่ผ่านมา·discuss
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.
cmovq
·4 เดือนที่ผ่านมา·discuss
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 still different colors.
cmovq
·4 เดือนที่ผ่านมา·discuss
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 that would "cache" small objects with poolAllocator.alloc(), poolAllocator.release(). So just manual memory management with extra steps. At that point why not use a better language for the task?
cmovq
·4 เดือนที่ผ่านมา·discuss
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.
cmovq
·4 เดือนที่ผ่านมา·discuss
> 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.