News for hackers. Stuff that matters.

MaPi_

Re:Composite objects and C++26 the std:polymorphic type on Wednesday October 21, 2026 @05:33AM (#50178062)
I just don't feel this "need" to sit down and relearn anything. I become aware of new stuff through posts like this and view it as a new tool that I could but don't have to use. And if I encounter it in some code base then it's simple enough that a quick one minute look at cppreference clears any confusion.
Re:The PImpl idiom and the C++26 std:indirect type on Friday July 24, 2026 @04:19AM (#49032674)
I don't really get why people keep repeating the "C++ is too big" complaint together with the implication that you need to remember the entirety of the standard library. In comparison Java has networking, GUI framework and even MIDI in its standard libraries. Is it because C++ is more closely related to C which library is so small that it barely contains anything useful? I much prefer code that uses a library feature rather than yet another poorly implemented and not documented hand rolled version of it.
Re:Windows API Is Successful Cross-Platform API on Sunday May 03, 2026 @07:34AM (#47995913)
>do something insane like a giant bundle of everything, or static linking

But isn't this exactly what shipping on Windows looks like? I've just checked my Windows partition and there are 43 instances of sqlite dll and 16 instances of Qt5Core.dll because every program that uses those libs needs to include them in their "giant bundle of everything".

Re:Keep Android Open on Friday February 20, 2026 @03:06PM (#47093183)
It kind of is their fault because of Google Play Integrity APIs. They are effectively developing tools that are designed to make their product mandatory. There wouldn't be a backlash that big if we could just unlock our bootloaders and run a patched version of Android.
What do you mean? The webchat client is linked right there in the second paragraph, doesn't require you to install anything and let's you connect and list channels as a guest without registering. It took me like 30 seconds to find out that there is indeed an astronomy channel.
Re:Has the Decline of Knowledge Work Begun? on Thursday March 27, 2025 @05:30AM (#43491747)
Sure, replacing the car with a plane for your grocery shopping would be probably more dangerous, but do you have any data at what distances do the risks flip?

When I see those statistics I think about flights like Austria to Finland and I imagine that is indeed safer by plane.

Re:Kagi Teams on Friday December 06, 2024 @09:17AM (#42340011)
There is a setting to turn on the favicon somewhere
Re:Raspberry Pi boosts Pi 5 performance with SDRAM tuning on Tuesday December 03, 2024 @04:59AM (#42304573)
How does it handle electrostatic discharge when touching it in that case? I used a case that was really more of an oversized heatsink[1] than a case and it was really sensitive. Managed to crash the rpi a couple of times when I touched it without touching ground first a couple of times.

edit: I replaced the thermal sticker for thermal paste, not sure if that could have affected it, the paste wasn't the conductive kind.

[1]: https://www.amazon.com/GeeekPi-Aluminum-Heatsink-Raspberry-I...

Re:Raspberry Pi boosts Pi 5 performance with SDRAM tuning on Tuesday December 03, 2024 @04:29AM (#42304420)
> Most N100 are noisier, hotter

I went from a passively cooled RPi5 to a N100. The RPi idled at around 50°C and throttled under load. The N100 keeps 56°C under light load (the heaviest things are rtl_433, grafana, nextcloud). To keep it from throttling in heavy load I zip tied a small Noctua NF-A4x20 to the side of the case over the passive heatsink and adjusted the fan curve to only run at above 60°C. This works super well, the N100 doesn't get hotter than about 62°C under full load and the fan spins slow enough that I can't hear it at all even if I put my ear directly next to it.

That seems to be exactly what Garry (the creator of Garry's Mod) is trying to do with s&box https://sbox.game/
Re:Noclip.website: A digital museum of video game levels on Tuesday August 08, 2023 @04:48AM (#37046216)
I tried some hl2 maps and the need for speed most wanted map. I'm really impressed by how close the rendering is to the original games. Not only did they get the lighting and shading right, there are also details like the NPCs being present, or even animated falling leaves particles in the most wanted map.
Re:Opus Databending Drumkit on Tuesday August 01, 2023 @05:04PM (#36962882)
On the projects page (https://suricrasia.online/projects/) it says "Make glitchy beats with randomly generated Opus protocol packets." So I guess it's random data fed into the opus decoder.
Curl runs on at least 89 operating systems[0]. Apparently 88 of them are then better at "being Linux" than Windows.

[0]https://daniel.haxx.se/blog/wp-content/uploads/2022/11/curl-...

Re:How to rip audio CDs 2022 – with drive accuracy listing on Monday November 07, 2022 @04:12AM (#33503282)
I imagine that a bit flip in the most significant bit could cause an unpleasant pop.
According to this[1] website, bitcoin mining is only around 0.6% of the worlds power consumption. It is certainly not anywhere near to being the main cause of global warming.

[1]https://cbeci.org/cbeci/comparisons

Re:Nvidia Unveils GeForce RTX 30 Series GPUs on Wednesday September 02, 2020 @04:48AM (#24351255)
Look into DCC/CI, it's possible your monitor supports that already.