#NixOS people are serious about testing
Their testing automation is impressive!
Firefix is tested by opening a page (from valgrind man page), playing some sound, verifying some sound is played, closing a tab, display the developer tools. If anything fail, then the test fails
https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/firefox.nix
Openarena (Quake 3 open source reimplementation) is tested by running a server, connecting two players, verifying the clients connect to the server
https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/openarena.nix
Minecraft client is tested by running the client in a VM and use OCR to detect if it asks for creating an account
https://github.com/NixOS/nixpkgs/blob/master/nixos/tests/minecraft.nix
software development, politics adjacent, long
(Another way to look at this, is that "just write efficient code" is an attempt to solve a collective problem with an individualist solution, and I hopefully don't need to explain why that is doomed to fail)
software development, politics adjacent, long
Potentially controversial opinion: I think that "making software more efficient" is the wrong thing to focus on right now.
There's a significant kernel of truth to the idea that "it's easy to make good code performant, but it's hard to make performant code good" - and so before going all-in on optimizing code as the primary objective, we should make sure that we're optimizing the right thing.
And right now, we're not. We're very much not.
There are significant problems to be solved in how we address software development, and the power dynamics embedded into it - the most obvious example would be the still-widespread fear of dependencies, which actively interferes with making software work better for people, and results in an endless treadmill of broken shit.
And guess what, there *are* significant efficiency benefits to be gained here - everybody using the same well-optimized implementation is going to be much better than everybody using their own homegrown half-optimized "clever" implementation.
But by putting all the focus on software efficiency and performance as the #1 priority, we risk removing all the oxygen in the room for figuring out better ways to deal with dependencies and many of the other industry-wide problems I haven't even mentioned here yet, and ending up in a *worse* place (even efficiency-wise!) than where we *could* be if we started with other problems first.
TL;DR: software efficiency and performance is important, but if you treat it as a goal to chase directly, you will end up with broken and faux-simple software that isn't even as efficient as it could be. Fix the big problems with software first, *then* think about how to optimize the remainder.
(And it will probably come as a surprise to nobody on here that an anarchist view of the matter presents a concrete solution to every single one of these problems)
"Firefox’s AddOn Operations Manager said: “For malicious addons, we feel that for Firefox it has been manageable...since they are mostly interested in grabbing data, they can still do that with the current webRequest API.” ...when a malicious extension sneaks through the security review process... the malicious activity happens elsewhere. A more thorough review process could improve security, but Chrome hasn’t said they’ll do that. Instead, they want to restrict capabilities for all extensions."
You have to hack around some weirdness in a framework you're using? That's a power dynamics problem.
You have to spend a month on a dependency upgrade? That's a power dynamics problem.
You have to constantly deal with poorly-written code that's completely lacking in documentation? That's a power dynamics problem.
Your project is rapidly expanding in scope beyond what you could reasonably maintain with your team? That's a power dynamics problem.
It is a fucking disgrace how the "don't bring politics into tech" folks have completely sabotaged the ability for software developers to understand the root causes of these problems and how to solve them
Seriously, the "don't bring politics into tech" people have done *so much* more damage to the field than they realize
>>>>> “If autism isn’t caused by environmental factors and is natural why didn’t we ever see it in the past?”
>>>>> We did, except it wasn’t called autism [ . . . ]
Technical debt collector and general hype-hater. Early 30s, non-binary, ND, poly, relationship anarchist, generally queer.
- No alt text (request) = no boost.
- Boosts OK for all boostable posts.
- DMs are open.
- Flirting welcome, but be explicit if you want something out of it!
- The devil doesn't need an advocate; no combative arguing in my mentions.
Sometimes horny on main (behind CW), very much into kink (bondage, freeuse, CNC, and other stuff), and believe it or not, very much a submissive bottom :p
My spoons are limited, so I may not always have the energy to respond to messages.
Strong views about abolishing oppression, hierarchy, agency, and self-governance - but I also trust people by default and give them room to grow, unless they give me reason not to. That all also applies to technology and how it's built.