It's just that we have to make space for our 5,358 partners and the telemetry data they need.
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
Electron everywhere.
And analytics. And offloading as much computation to the client, because servers are expensive and inefficiency is not an issue if your users are the ones paying for it.
I saw an ad request with an inline 1.4 MB game. Like, you could fit Mario in there.
Web "Apps" are also quite bad. Lots of and lots of stuff we're downloading and it feels clunky.
Sometimes that's bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.
I vaguely recall a recent-ish article that an average web page is 30mb. That's right, thirty megabytes.
It's amazing how much faster web browsing becomes when I run PiHole and block most of it.
Suddenly the TV is pretty snappy, and all browsers feel so much smoother.
Some devs will include a whole library for one thing instead of trying to learn another way to do that thing.
from * import *
Paypal has 500 mb and just shows a number and you can press a button to send a number to their server.
It's insane
You made me check it, and on my android device it's 337 (just the app). Jesus Christ.
Mine has 660MB with 7MB user data, 15MB cache.
Cheaper & faster development by leveraging large libraries/frameworks, but inability to automatically drop most unused parts of those libraries/frameworks. You could in theory shrink Electron way down by yoinking out tons of browser features you're not using, but there's not much incentive to do it and it'd potentially require a lot of engineering work.
Yeah, though the joke is funny, this is the real answer.
Storage is cheap compared to creating custom libraries.
Fucking Chrome/Electron is why.
I honestly wouldn't mind that if they could all use the exact same runtime so the apps could be a few MB each, but nooooo.
See: Webview2
Unfortunately, it is extremely painful to work with😔 Enjoy rolling your own script versioning and update systems instead of using squirrel et al
Edit: I think Tauri works by targeting this and webkitgtk via their wrapper library, unfortunately I can't get my coworkers to write rust
Simple reason - dependencies.
Modern devs dump any dependency and sub-dependency under the sun into their project and don't bother about optimizing it. That's how you end up with absurdly large applications. Especially electron is a problem in this regard.
You can still write optimized and small software. However, for most businesses, it's just not worth their time. Rather using an additional couple hundred megabytes of dependencies on the client system.
The hp printer app says it needs your location to connect to WiFi. It says it needs your location all the time when not using the app, again to connect to WiFi
I think that's to do with how permissions work.
Having wi-fi access can technically tell the app where you're located so you need to give it location access
Which is stupid because it then also gets GPS access.
It's the secret sauce, called unnecessary frameworks and user analytics modules.
With that in mind, I LOVE how lean and fast some FOSS apps/projects are. One of my motivations to go searching for FOSS alternatives is when something seems slow for no reason.
It's not always the case, but it's often the case
KDE Plasma has been getting so much more efficient with every release that you can almost recommend it for low-end systems.
isn't it a combination of younger developers not learning to programme under the restrictions of limited memory and cpu speed, on top of employers demanding code as soon as possible rather than code that is elegant or resource efficient or even slightly planned out
Bloatware, spyware, scope creep from middle managers feeling uncomfortable letting a dev have a slow day.
uh, please do ask, why does opening a fucking glorified text and image processing app require 1 gigabyte of ram.
Who wrote this software? The guy from the bible who was the model for greed and gluttony? Jesus christ.
Skill issue
Nailed it. Things have changed to allow cheaper (interpretable in several ways) developers to create "good enough" software as quickly as possible. If that involves inefficient frameworks, technology, and practices that unlock this, then so be it; if the "best" code is the code that makes money, and money is what corporations prioritize above all else, and there is a way to do that quicker and cheaper, the outcome is obvious and now ubiquitous. Furthermore, if nobody at the top cares, why should anyone on the ground care? The problem compounds.
Priorities are fucked.
I just updated Epic Games Launcher. BEHOLD:
1st update
2nd update
Almost a gigabyte for a mostly blank interface, wtf.
It's like Moore's law. The number of bytes for a basic app doubles every 2.5 years.
When I was young, we'd get a few different games games on a single 1.4 Mb floppy disk. The games were simpler, sure, but exactly the same games now would be far bigger in bytes.
At least games make sense, as the graphics get better. Though in some cases, the compression is also better. Like PS5 games are smaller on average than their PS4 versions, even though they have higher resolution textures in most cases, just because the PS5 has better compression/decompression tech.
Better than that, the lack of reliance on spinning disks means that asset duplication and data read order is less of a requirement to reduce load times. It can still be argued that there's just too many polygons, since simply scaling things back would be plenty effective in reducing storage usage and load times.
Marketing. Corporate leadership has decided marketing knows better software design than actual engineers.
Bro, just use AI, bro, you don't need developers, bro, also skip the testing, bro, who is going to hack your SaaS, bro
Usually, instead of having 8-bit art, you have epic songs and very high definition textures. That is a good deal of why.
That topics always made me curious tho....take a sample AAA games back then has smaller size compared to shitty Unity 2D games nowadays and i wonder why ?
Because the app stores keep adding new requirements that you have to add code to deal with and it gets worse every year and seemingly every day.