News for hackers. Stuff that matters.

mschuetz

Re:GLP-1 may slow biological aging on Saturday October 17, 2026 @01:52PM (#50133303)
I'd assume most of what it does is a due to losing weight and reduced metabolism due to lower caloric intake.
Seems trivial to me for infinite loops. Nothing special to specify here, they're already specced by the definition of loops.
Re:C++26: Trivial infinite loops are no longer undefined behaviour on Saturday September 19, 2026 @12:32AM (#49763323)
I don't see the issue. Just let wrong code do wrong things But let it do the expected wrong thing, rather than changing the code to something unexpected.
Re:Nvidia announces native GPU programming in Rust on Thursday September 17, 2026 @07:27AM (#49739229)
That's unfortunate. Cuda has shown that, when done right, defaults and a convenience layer can make for a well received API without sacrificing performance.
Re:Nvidia announces native GPU programming in Rust on Thursday September 17, 2026 @06:22AM (#49738698)
> The best way to program GPUs is face up to the reality that they are not the same machine as the CPU, write your kernels in separate files, and launch them manually,

Yes, I also prefer doing it that way, but in Cuda with the driver API. Allows you to handle kernels like shaders, including editing and hot-reloading at runtime.

The reason I'm sticking with CUDA is because it's by far the most convenient API to use, without nonsense like 50-liners to alloc memory or the need to manage descriptors, bindings, queue families, etc.

Re:Most people prefer traditional architecture on Wednesday September 16, 2026 @03:23AM (#49723120)
Just looked it up, and I find it rather bland. It's not bad, but not great either, and the immediate surroundings are barren and boring.
Re:The case against JPEG XL on Monday September 14, 2026 @11:22AM (#49698522)
Gif is still there because it's still often the only option for frictionless video embedding. Embedded videos usually come with a video player that hardly ever quite works out well, often not starting automatically, not looping, or showing video player UI elementa that shouldnt be shown.
Re:CUDA for AMD on Windows on Monday September 14, 2026 @11:10AM (#49698272)
It could easily be a competitor to Cuda, if it just made things easier. Like, why does it take 50 lines of code to allocate memory in vulkan, and just one single line in cuda? Vulkan should just provide a single-line gpuMalloc convenience function. And not just for allocation, for all the other nonsense as well.
Re:CUDA for AMD on Windows on Monday September 14, 2026 @06:44AM (#49694752)
I wouldnt consider Vulkan any better in that regard. It's pretty damn terrible, UX-wise.
Re:CUDA for AMD on Windows on Sunday September 13, 2026 @03:08PM (#49687515)
The problem with the open standards is that their dev UX is absolutely horrible. You can't neglect usability, and then be surprised that there are no users.
Re:I spent $220 on Google app ads. 60% of the installs were robots on Saturday September 12, 2026 @08:05AM (#49671473)
I'm generally suspicious of the effectiveness of ads. It always amuses me when Ibbuy something, and then I start getting ads for the thing I already bought.
Re:OpenShot 4.0: Record, Edit, and Color Like Never Before on Monday August 31, 2026 @07:27AM (#49508384)
I've had great experienced with it. It's almost certainly not as full-featered as premiere pro, but it runs buttery smooth and robust, while Premiere Pro kept crashing frequently and was a bit tedious to use for simple tasks.
I know people who would get it for local LLMs for use in their company.
Not at all. I specifically bought a MacBook Air M4, first Mac product in my life, for its fantastic performance in a passively cooled notebook. I have zero loyalty to Apple and usually use Windows. If someone else starts beating them perf wise, I'll happily switch again.
Re:GitHub Is Experiencing Difficulties on Tuesday August 11, 2026 @12:36PM (#49260820)
> and deal with consistent downtime,

Wildly exaggerated. I use github almost daily and can't remember when the last downtime was.

Re:GitHub Is Experiencing Difficulties on Sunday August 09, 2026 @12:34PM (#49232961)
What do you mean "why"? Setting up and tinkering with systems is work I loathe to do, obviously. I want to code, not host coding repositories. I did it in the past because I had to, and now I don't have to do it because github does it for me. It's great.
Re:GitHub Is Experiencing Difficulties on Friday August 07, 2026 @12:39PM (#49213037)
But I don't want to have to do this kind of work, you're only listing disadvantages from my viewpoint.
Re:GitHub Is Experiencing Difficulties on Friday August 07, 2026 @12:38PM (#49213009)
Well, yeah, I am. It's not something I want to have to care about. I want to code, not host code repos.
Re:GitHub Is Experiencing Difficulties on Thursday August 06, 2026 @03:24PM (#49201137)
Except anything I'd self host would be down much more often. I've hardly ever actually experienced down time issues with github when I needed it.
I wouldnt recommend anyone going to Vulkan, though. It's pretty much the worst graphics API out there, and WebGPU is mimicking Vulkan styles that even Vulkan is currently outphasing, like render passes and static pipelines.
WebGPU is newer, but lacks modern functionality because it was made to support ancient smartphones. That's great if you want to support ancient smartphones, but not if you want to utilize modern desktop GPUs.
Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @01:31PM (#48910260)
Of course it is a skill issue, I'm not afraid of admitting I'm not smart enough for Vulkan. That so many people have skill issues is the reason why Cuda trumps and will continue to trump Vulkan despite being vendor-locked. If you want people to actually use Vulkan, you need to remove barriers to skill-issued people like me. Poor third party wrappers like VMA that barely address one out of hundreds of issues aren't going to accomplish that, you need to resolve barriers in the core API. With a design like Cuda where there is always a default easy path, and a complex but optional path.
Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @12:28PM (#48909310)
It absolutely isn't. After having spent 5 days not getting anything done in Vulkan, and being able to implement that same thing in a single day in Cuda (no prior experience in either API), I decided to never ever use Vulkan. It's a hopelessly overengineered API that is in dire need of a successor.

I may give it another try once it does not require a wrapper before it is remotely usable. I.e., once it has a single-line malloc without the need for third-party libs; default queues so I don't need to query and select queues; implicit sync by default and explicit sync by choice; NV-style bindless (i.e. no descriptors, just a handle); and so much more.

Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @12:24PM (#48909245)
On the contrary, it's great. Cuda is the single sane compute API and system, so I'll use it even if it means being vendor-locked. If my CUDA programs start running elsewhere without much intervention, that'd be amazing
Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @07:27AM (#48905068)
They really don't, no. Vulkan: 50 lines to allocate device memory. Cuda: One single line. What kind of extensive documentation stack do you want for functionality that is trivial in Cuda? And that exact issue continues through every little step of the way to your first usable application. I know there is VMA, it is a very poor solution to a problem that shouldn't even exist, and it only poorly addresses one of 100 parts of the API where Cuda is vastly simpler than Vulkan. Cuda also doesnt force you to use queue families but you can optionally use streams. No ridiculous descriptor management and binding in cuda, just passing pointers and handles via launch arguments. No overengineered explicit syncing mechanis in cuda, everything is nicely implicitly synced until you explicitly opt in to parallel streams. etc.
Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @06:18AM (#48904544)
A couple of years ago I evaluated both Vulkan and Cuda as a choice for future projects. I couldnt get anything done after a week in Vulkan, but had the test prototype project working after just a day in Cuda.

Needless to say, I'd never ever pick Vulkan for any project after that experience. It's just way to needlessly overengineered and bloated.

Re:Alternative(s) to run CUDA on non-Nvidia hardware on Tuesday July 14, 2026 @06:16AM (#48904524)
> Ease of programming and a giant leap in performance is one of the key reasons for the CUDA platform’s widespread adoption

This, so much. Other platforms continue to ignore developer UX, but it's one of the main things that get's new users onboard and keeps old users around.

Re:Writing a bindless GPU abstraction layer on Tuesday July 14, 2026 @06:06AM (#48904456)
> unimportant implementation detail that should be assessed on performance alone rather than usability

I disagree. Usability is important, or you end up with garbage like Vulkan. I'd rather have 99% of the performance for 100% usability, than 100% of the performance for 5% of the usability.

Unfortunately when it comes to graphics APIs, the choices are between bad and worse, which is why I switched to doing real time rendering in CUDA. Easier to write a fast software rasterizer in cuda, than to draw a single triangle in Vulkan

Having participated in many studies, I lost much faith in studies. You could study the same thing, and get opposite results depending on how you build the study, which people participate (friends and colleagues will be reluctant to speak against your results), and the bias with which you set everything up. Also, many tasks require learning the tools, and some tools will start to be more productive with expertise than others.
Re:Semgrep: GLM 5.2 beats Claude in our Cyber Benchmarks on Tuesday June 30, 2026 @08:31AM (#48731799)
That's exactly the one I'm really satisfied with.

Older »