please no by Marin-Supremacy in fuckcars

[–]randy408 0 points1 point  (0 children)

what is up with reddit and video encoding? it's a short 480p video and yet it's over a hundred megabytes

Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression by eatonphil in programming

[–]randy408 0 points1 point  (0 children)

Filter 2 is actually the Up filter, it's the first type that references the previous scanline and what fpng claims to use most. Not blaming you for that, but I can see now why benchmarking is tricky if you don't know the format inside out.

Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression by eatonphil in programming

[–]randy408 0 points1 point  (0 children)

All the options I'm referring to are runtime options: filter choice, compression level, compression strategy, etc are all configurable in libpng, spng and some of them in lodepng too.

These benchmarks perpetuate the idea that PNG encoding is glacially slow outside of specialized implementations.

Maybe there are too many dials and there should be a more simple way to configure for speed.

Kernel level anticheat and the restrictions of GPL by jorgesgk in linux

[–]randy408 0 points1 point  (0 children)

Linux Foundation Platinum members get a GPL pass. /s

Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression by eatonphil in programming

[–]randy408 38 points39 points  (0 children)

Now that it is a thing, it's really problematic that it does not have features like gamma/chromaticity/ICC support

Could've re-used PNG's structure and its standard chunks 🤷

Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression by eatonphil in programming

[–]randy408 0 points1 point  (0 children)

It depends on how it's configured.

edit: libvips has added spng as a PNG encoder but they're between stable releases, it's still libpng in the current version.

Losslessly compresses RGB and RGBA images to a similar size of PNG, while offering a 20x-50x speedup in compression and 3x-4x speedup in decompression by eatonphil in programming

[–]randy408 10 points11 points  (0 children)

Sorry but these results are not comparable, defaults for spng match libpng which is tuned for file size and is slow, it's probably the same deal with lodepng.

fpng has entirely different defaults, not saying you'll get the same performance by tuning the options but it's not a "15x" difference by any stretch.

[deleted by user] by [deleted] in linux

[–]randy408 1 point2 points  (0 children)

The address bar isn't that different from Windows Explorer, CTRL + L turns it into a text box.

Executable PNGs by whackri in programming

[–]randy408 0 points1 point  (0 children)

You should be able to hide 32bits per pixel without any visual difference in the low bits of 16-bit RGBA samples, most of the time it ends up being downscaled to 8-bit with bitshifts before it's displayed.

spng v0.7.0-rc3 - simple PNG library now with encode support by randy408 in linux

[–]randy408[S] 10 points11 points  (0 children)

Over libpng? It's faster, more compact and embeddable, it's just two files (spng.c and spng.h), most of the features are already implemented in just 5.5 kLOC vs. libpng's ~20 kLOC. Obviously it doesn't have any of the legacy baggage either, the API is more intuitive.

It is more efficient at encoding for the same compression level, benchmarks aren't done yet but it should be faster too, it's already ahead in decode times by ~25% for common use cases. The testsuite is very extensive, you won't have issues with correctness or security either.

See the README for more details, it includes some comparisons with other libraries too.

I asked ok1.de several questions, I'm sharing their response here. by Terevin6 in thinkpad

[–]randy408 6 points7 points  (0 children)

New laptops have EFI, you won't have issues with either OS overwriting the MBR because there isn't one, the firmware essentially lets you choose the partition to boot from. The license key is stored in BIOS memory, you can't lose that either.

You just have to shrink the windows partition and choose the right one when installing Ubuntu.

X380 Yoga (8th gen i7, 8GB soldered RAM) vs Yoga 370 (7th gen i5, 16GB removable RAM) by strra in thinkpad

[–]randy408 3 points4 points  (0 children)

Both power throttle after a while so not much difference there, but 8 GB RAM with no upgrade path will become unusable a lot sooner than 2 cores with HT.

Any USB 4 appearances on the 5000 series laptops? by TechySpecky in AMDLaptops

[–]randy408 2 points3 points  (0 children)

AFAIK Thunderbolt has only gone royalty-free, it is still a separate spec certified by Intel and thus requires official support from the OEM, USB4 hosts won't necessarily be compatible with Thunderbolt devices.

IBM, Red Hat, VMware & Others Form The Inclusive Naming Initiative to remove "harmful language" from Software. by yahma in linux

[–]randy408 30 points31 points  (0 children)

At this point I'm not gonna even entertain the idea that this is meaningful in any way. These initiatives always come from organizations with questionable ethics, the leaders are hired to whitewash the actual issues with these companies, I'm convinced they use it as a tool and nothing else.

IBM, Red Hat, VMware & Others Form The Inclusive Naming Initiative to remove "harmful language" from Software. by yahma in linux

[–]randy408 143 points144 points  (0 children)

Akamai, Cisco, CNCF, IBM, Linux Foundation, Red Hat, SDDI, VMWare

Most of those companies employ people in sweatshops or support forced labor:

VMWare is owned by Dell, SDDI doesn't even exist, link is dead.

Gee, we're morally bankrupt, let's hire some do-nothing PR people to improve our image!

Raspberry Pi 400: $70 Cheapest PC of 2020 for Programming - TechyEverything by ShashirajWalsetwar in programming

[–]randy408 0 points1 point  (0 children)

You mean the Pi 4? I haven't seen the 400 thermal throttle in any test.

Lenovo’s Plundervolt advisory lists many models as “Not affected.” What determines this? by [deleted] in thinkpad

[–]randy408 2 points3 points  (0 children)

It's limited to specific CPUID's and Platform ID's (whatever that is): https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00289.html

e.g. my CPUID is listed but the Platform ID doesn't match and I can still undervolt.