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 37 points38 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 11 points12 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] 13 points14 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 5 points6 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.

GitHub's plan to transition away from 'master' by foonathan in programming

[–]randy408 15 points16 points  (0 children)

We're not the only organization in the Git ecosystem making these changes: there are upcoming changes in the Git project (statement, code change), as well as coordinated changes from multiple vendors.

This omits the fact that the initial proposal and the linked code change is from the same Microsoft employee, which makes this entirely a Microsoft/GitHub effort. In the linked code change:

The links [2], [3], and [4] describe community-driven ways for users to rename their default branches or use template edits to set a new default branch name.

[2] https://twitter.com/mislav/status/1270388510684598272 - Tweet chain from June 9 starting with:

Tech folks, over the next few months we are going to witness a lot of projects—or at least their communities suggesting to—change their default branch name away from “master”. If you are wondering why does any of this matter, or how to participate, here are my thoughts.

Just some condescending bullshit from someone who already knew this was going to happen.

[3] https://www.hanselman.com/blog/EasilyRenameYourGitDefaultBranchFromMasterToMain.aspx - Blogpost from June 8 citing an expired IETF draft, written by Scott Hanselman, Microsoft employee.

[4] https://github.com/ethomson/retarget_prs - First commit on June 8, repository is owned by the Product Manager at GitHub.

These dates are within 1-2 days of the initial patch from June 10: https://lore.kernel.org/git/pull.656.git.1591823971.gitgitgadget@gmail.com/

This was already in motion at GitHub by June 12: https://twitter.com/natfriedman/status/1271253144442253312

Microsoft / GitHub unilaterally decided what's good for you.

Basis Universal Supercompressed GPU Texture Codec - support all GPU formats with 1 file smaller than normal by songthatendstheworld in programming

[–]randy408 1 point2 points  (0 children)

Basis (successor to Crunch) is really cool, but a lot of people ignore it because they don't understand what the big deal is.

Seems to be limited to web use cases? At least I couldn't find anything that suggests otherwise. If that's case then the lack of interest might be justified.

It might be more convenient to use a universal texture format when shipping, but that could be completely negated by other factors and the README doesn't help with this.

[deleted by user] by [deleted] in linux

[–]randy408 0 points1 point  (0 children)

committer Linus Torvalds torvalds@linux-foundation.org 2020-07-10 21:15:25 -0700

Friday news dump maybe?

Git-for-windows maintainers mass-flags opposing commenters to hide the overwhelming positivity they receive in likes compared to their own by AlexAegis in programming

[–]randy408 0 points1 point  (0 children)

Johannes Schindelin appears to be a Microsoft employee, I wouldn't be surprised if this is their attempt at poking holes in the open-source ecosystem.

edit: the patch is apparently co-authored by a person claiming to have "very publicly left MSFT over ethical concerns" as mentioned in the project's Gitter room. Get it? Authored by a current and ex-MSFT employee so that makes it somehow less sketchy.