HN user

AHTERIX5000

457 karma
Posts0
Comments141
View on HN
No posts found.

My Windows 11 installation broke down after one of the updates. Now I get "Please reinstall Windows" warning in Windows Update settings. And some error hex code which doesn't really help. I've installed like 5 different apps on this machine and never ran any "tweaking" scripts or apps.

I don't think I ever had to reinstall Windows 2000 but here we are.

In Defense of C++ 10 months ago

I write C++ daily and I really can't take seriously arguments how C++ is safe if you know what you're doing like come on. Any sufficiently large and complex codebases tend to have bugs and footguns and using tools like memory safe languages limit blast radius considerably.

Smart pointers are neat but they are not a solution for memory safety. Just using standard containers and iterators can lead to lots of footguns, or utils like string_view.

macOS Tahoe 10 months ago

It's not as bad as the first previews but ugly nonetheless and overall accessibility nightmare.

All I hope is that the design language stays contained in Apple ecosystem and does not spread.

I've had similar experiences when working on non-web tech.

There are parts in the codebase I'd love some help such as overly complex C++ templates and it almost never works out. Sometimes I get useful pointers (no pun intended) what the problem actually is but even that seems a bit random. I wonder if it's actually faster or slower than traditional reading & thinking myself.

MacBook Pro Insomnia 12 months ago

I have the same issue. I've disabled "Find My" feature and uninstalled everything that kept showing up as battery draining apps. My iPad loses about 20-25% of battery every night and there is nothing showing up in battery details anymore.

I'm pretty sure the problem would go away with a factory reset. Just like it with old Windows installations, except you had a better change debugging those...

That's scary. I have an old Steam account with tons of games and already got banned once due to a bug in anti-cheat software and for a while my whole account was marked with a cheater tag.

The bug was so widespread that developers eventually removed bans but I'm sure something similar could happen where problem goes undetected and it would be really hard to try to convince developers to lift a ban.

Fragment shaders are perhaps over over-represented due to old WebGL style and easiness of integration, full screen quad + a shader is quite self contained setup.

Compute shaders are much more interesting and widely used in modern graphics though. No fixed rasterizing setup needed, just buffers for data in/out and a kernel with access to the usual GPU syncing primitives in between.

The Linux audio stack is just baffling. After all these years it's still unreliable. I'm running Fedora 41 and often toggle between two audio devices, USB DAC and HDMI output. Sometimes when I change the output via Gnome settings my Flatpak apps don't care and keep playing with the previous output and other apps change as expected.

I've never edited any audio configs on this machine because I expected my 2 device setup and Gnome settings would be trivial enough for the latest Linux desktop audio solution.

Is there an open source project which uses CMake well and could be used as a reference for good CMake practices?

I've been using CMake for years and it's definitely not the worst solution for building multiplatform C++ projects. But I've never read a CMake script and thought what a clean solution, it's always a bit gnarly.

Spotlight straight up broke on both of my Macs after Sequoia. It can't even find exact matches in many directories marked for indexing and re-indexing did nothing. Just searching for apps under Applications doesn't seem to find all apps.

Spotlight has been broken on both of my Macs since Sequoia. It doesn't find anything under Downloads dir even though it should be indexed. Or any non-Apple apps under Applications. Re-indexing did nothing.

Thanks for the tip, I'll need to try it out.

Performance is really abysmal with C++ development and it's the biggest reason for avoiding Xcode for me. Actions such as completion and contextual jumping just keeps lagging on a M3 Pro even if everything should be indexed. VS Code with the usual C++ plugin and CLion have no problems with the same codebase.

I like the integration with different sanitizers in Xcode, some of the visualizations are pretty neat. Instruments is quite good as well.

Some content mills seem to display a date but automatically update it periodically. Sometimes you can outright see it can't be correct since the information is woefully out of date or you can check from Internet Archive that the content is the same as before but with a bumped date.

NVIDIA has at least 3 abstraction layers such as this and neither NRI or NVRHI seem to have issues with AMD cards. I wouldn't be surprised if one of the libraries or specific versions have problems with AMD cards, it happens during development.

Most engines I've worked do have abstraction layer for gfx APIs, usually you don't have 3 different API specific implementation for all render passes. Abstraction layers (such as NVRHI) do allow taking manual control when needed though.

Last time I checked Guile it was somewhat hard to get working on Windows, build tooling was a classic autotools mess compared to Lua consisting of a few ANSI compatible C files.

Also Guile (and many other embeddable scripting languages) want to initialize global state which I'd prefer not to.