HNHacker News
TopNewBestAskShowJobs

MaPi_

90 karma · joined September 2, 2020

submissionscomments
MaPi_··on The PImpl idiom and the C++26 std:indirect type
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.
MaPi_··on Windows API is Successful Cross-Platform API (2024)
>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".

MaPi_··on Keep Android Open
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.
MaPi_··on EU age verification app to ban any Android system not licensed by Google
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.
MaPi_··on Has the decline of knowledge work begun?
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.

MaPi_··on Kagi Teams
There is a setting to turn on the favicon somewhere
MaPi_··on Raspberry Pi boosts Pi 5 performance with SDRAM tuning
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...

MaPi_··on Raspberry Pi boosts Pi 5 performance with SDRAM tuning
> 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.

MaPi_··on Roblox is the biggest game in the world, but is unprofitable
That seems to be exactly what Garry (the creator of Garry's Mod) is trying to do with s&box https://sbox.game/
MaPi_··on Noclip.website: A digital museum of video game levels
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.
MaPi_··on Opus Databending Drumkit
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.
MaPi_··on Windows is the strangest, or hardest, operating system to keep curl support for
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-...

MaPi_··on Audio CD ripping – optical drive accuracy listing
I imagine that a bit flip in the most significant bit could cause an unpleasant pop.
MaPi_··on Nvidia cripples cryptocurrency mining on RTX 3080 and 3070 cards
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

MaPi_··on Nvidia Unveils GeForce RTX 30 Series GPUs
Look into DCC/CI, it's possible your monitor supports that already.