News for hackers. Stuff that matters.
Re:Browser Bloat (1996) by userbinator on Monday August 29, 2016 @11:54PM (#12387418)
Even graphical resources are probably not stored as optimally as they could be, given what the demoscene can do in a 4 kilobyte binary... one of my pet peeves is gradients, simple shapes, or even completely flat regions of colour(!) stored as bitmaps. I've seen apps with multiple sizes of the same simple --- as in completely linear --- gradient stored as uncompressed bitmaps.

I some someone do a similar thing about how bloated vim had become but it was mostly documentation (plus translations) and stuff like that, not vim itself.

Which then begs the question, "I only need the English version. Why am I forced to download a dozen other languages I'll never read or even knew existed?"

That also reminds me of a few programs I've come across that inexplicably let you dynamically change their UI language to one of around a dozen choices (and all the language names were in English too...) If I remember correctly, it was something simple like a file converter or downloader where most of the UI was icons anyway, and around 90% of the installer package's size was these resource files. Just... why.

Re:Browser Bloat (1996) by flukus on Tuesday August 30, 2016 @12:25AM (#12387530)
> I've seen apps with multiple sizes of the same simple --- as in completely linear --- gradient stored as uncompressed bitmaps.

Android required this at one point for different resolutions. I'd be surprised if the svg proccessing used more time and battery (not to mention space) than loading uncompressed images from disk.

> Which then begs the question, "I only need the English version. Why am I forced to download a dozen other languages I'll never read or even knew existed?"

I guess that's down to the limitations of various app stores/package managers. All the windows deployment options are awful enough that that I'd bundle everything too. I'm not aware of app stores that allow dependencies or optional packages. Billions of dollars flow through these stores but they're still more limited than apt.

Packages managers (apt, chocolaty, etc) can do it but would still need a few tweaks to do it well.

Re:Browser Bloat (1996) by majewsky on Tuesday August 30, 2016 @03:56AM (#12388245)
At least in pacman, you have to download the entire archive (because the packager's GPG signature goes over the full archive file), but you can set the NoExtract option e.g. to avoid the translations from being extracted: https://github.com/majewsky/system-configuration/blob/master...
Re:Browser Bloat (1996) by icebraining on Tuesday August 30, 2016 @09:45AM (#12390010)
Which then begs the question, "I only need the English version. Why am I forced to download a dozen other languages I'll never read or even knew existed?"

Because packagers don't have the patience to split them up. LibreOffice on Debian & derivatives, for example, has a different package for each localization plus a different package for the Help files in each language.