212 points · by archargelod · 1d ago · 255 comments
I was at the airport two days ago, and the ticketing kiosk shut down in the middle of printing my bag tags. Then, when we were using the self-loading bag checkout thing, that computer ALSO crashed in the middle of my using it. The next machine did not work, and an employee had to come over and do everything themselves, clearly not saving any time or money...
I could go on for an hour like this. There is so much bad software out there. Cars! OMG cars suck because of software now!
A lot of people complain about AI code. I welcome it. We suck at making software. You end up with a $1000 TV that seemingly has the UI processing horsepower of a calculator.
I just bought a new LG OLED TV, set it up last night. My god the anti-patterns and absolute bloat. Auto-playing ads on the home screen, why is DAZN default installed, there's Wells Fargo Credit ads at the bottom??! And this is one of the "Premium" TVs.
Hooked up my coding agent to the TV, and in 30 minutes had a brand new default launcher with zero ads and zero bloat. It was glorious, and the TV feels premium.
Joking aside, I believe Claude now sometimes refuses such tasks.
There is your problem, right there.
Which makes it actually un-driveable in the winter because window defogging is not just a nice-to-have.
We asked when purchasing, "hey what do we do if the touch screen doesn't work" and the answer was "the Google voice control is a backup."
We said "hey Google, turn on the heater" and it said "OK! Heater is on now!" and it like, totally wasn't.
Not sure how the dealership "fixed" it, but pretty sure they just power cycled it a bunch and because it's a software problem it just didn't do it for them and they said "ok, it's fixed." Not their fault. Not sure how they're supposed to even troubleshoot this sort of thing.
The prior generation of CX-5 will go down as my all-time favorite car, in large part because of the buttons and dials.
But buying out the lease just didn't make sense financially.
My other vehicle is a 2000 4Runner that I'll be buried with because low tech.
The market is not a fairy godmother with your best interests at heart, sometimes consumers have no choice.
Now that updates can be pushed minute-to-minute, the cost of getting it wrong is manageable, and customers expect features to do what they want and how they want because there's too much software in the world to learn it all.
I wrote a boatload of BASIC back in the day, but this was on mini computers. And the bulk of it was either “fast enough” or flat out I/O bound sucking on ISAM keys and files.
There was one project, routing trucks and drivers to assorted pickup locations, where I asked if I could do my routing processing overnight, but they said they couldn’t count on the number of drivers on any day, so they gave me 30 minutes.
Got it done, it worked. Do what you can with what you have.
Modern software isn't that way because humans suck at writing code. Corporations are terrible at writing code, and the system encourages them to write worse and worse software. If those airport booths, TVs, and cars were open and modifiable, you can bet your ass we'd have FOSS alternative OSs that would make it faster, better, more featureful and free.
The software is that way because companies are allowed to release shitty products like that; people don't actually fight back at all (voting with our wallets). Corporations are encouraged to release shitty slow buggy code fast rather than performant robust clean code at the cost of shipping less (and losing money. poor corporations).
That mixed in with the fact that the software market has become so oversaturated with incompetent people who joined the bandwagon of "easy job placement, great pay and nomadic lifestyle!" by doing a JavaScript frontend bootcamp. Or even people who used to be competent but gave it all up for the sake of shipping fast and big with no care for the little implementation details.
Humans are great at writing code, actually; much better than LLMs, even today. When they actually want to and like doing it and care about the craft, that is. But there's a huge shortage of that nowadays.
I don't quite understand what the point of your comment is though; I wasn't trying to attack the idea that most of the code we have now is shit: I wholeheartedly agree. I was attacking OP's conclusion of what the cause of that is ("humans suck at writing code").
On the other hand, my HDD's firmware works like clockwork. It runs for years without a single flaw. You rarely see posts about HDD firmware issues, drives disconnecting or freezing, data loss after 10 years of use or SATA to randomly start working or disconnect without even downloading an update with the latest patch.
Plus people who are driving AI should care, sadly they usually don’t.
That's because they're running an AI recognition model on that small chip to gather and analyze as much data on viewing habits as they humanly can about everything being watched and said around the TV:
https://www.tomshardware.com/tech-industry/cyber-security/ha...
Bobby tables, is it you?!
> A lot of people complain about AI code. I welcome it. We suck at making software. You end up with a $1000 TV that seemingly has the UI processing horsepower of a calculator.
And what makes you think that AI will improve any of this?
The problem is not hard to solve technically. It still exists because whoever built it didn't care enough to notice and remedy it. Why do you believe they would suddenly care when AI is in the mix? For all we know, an even less technical person will be put in charge of shipping that kind of thing in the future and rush it even more.
I think you will find the problems get worse, not better, here.
We made TVs for a long time that did "smart" things (see the old cable TVs of yore with PPV), that all worked just fine... We can write good code, like others have said, the problems are the incentives.
Sure, maybe you can debloat your TV with code someone (or something) else wrote, but that doesn't mean Samsung isn't going to use the same exact process to make the shitty TV even worse, in hopes of you a) buying a new one or b) loading even more shitty ad/spy/crapware onto the thing that was supposed to have one job...
My own Samsung TV is 2016, and even with it's "smart" interface disabled, moving around the menus is a slog. Even my modern Apple TV is slow, because Apple being Apple needs time wasting animations everywhere that look like shit at 24p. Enabling reduced motion does nothing.
Everyone responsible for this should be thrown in a volcano.
It’s hacks on top of hacks on top of hacks on top of hacks with blisteringly obvious security holes in every single application.
I don’t know where this concept that software used to be “good” is coming from but it just never existed
Proof of that is how many actual examples there exist that people can point to to say this is a good example of software that works well within the context that it was created - the fact that they are rare enough to point out is the point.
If farmers put out tomatoes where only 1:1000 actually looks nice with real minerals and isn’t harmful they would never stay in business
Because AI is incapable of giving a shit. That's not impugning AI's use as a research assistant or automation tool, but someone has to give a shit if we're going to dig our way out of this mess, and for the time being that someone has to be a biological carbon-based unit. And we're woefully short of those who are willing and able to give a shit about quality, usability, and "just enough software for the job".
Giving a shit was a value once treasured in programmers. But it can't be encoded in a KPI or a fucking DORA metric, so it's fallen by the wayside in favor of lines that you can be punished for not making go up. Anyways, I fail to see how the slop problem can be solved by pouring generated software on top of what is already "too much software".
Relatedly...
"It's just another layer of abstraction"—so another shit patty on top of an already towering shit sandwich?
"AI raises the floor"—yes, if you're in a room full of garbage and you dump more garbage into it, the garbage floor you're standing on will be raised, but is that a good thing?
IMHO we should reach for that golden middle path.
For remarks about nostalgia, this website wasn't updated in a long time, so it's pretty dated (but still relevant IMO).
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
Many people from my circles prefer plain neovim/vim over VScode. I get why people would not choose to use ed. But there are - usable, simple and still powerful text editors like vis[1] or mg[2].
For me, I find that less software I use, both in terms of size and quantity, the saner my computer usage is, the less I want to spend time on fiddling with settings, fixing broken things and move on to do stuff. Which is the whole point.
And while I agree with that, I want to reduce accidental complexity¹ from software. TFA & its author want to reduce essential complexity, as well, i.e., they want to remove code that, to me, solves the entire problem we wanted solved. The result is "simpler" code, yes, but code that does not meet the requirements that I, as a user, have.
And that's how TFA ends up recommending "ed". Or, when I read an eBook, I do not want to have to deal with the PDF-on-mobile syndrome of zoom in, zoom out, pan, zoom in, zoom out, pan … because the document isn't formatted for my device's screen. But again: that's the recommendation (DjVu over ePub), because rendering a pre-rendered fixed page is less complex — but not useful.
¹See Out of the Tar Pit, §6, for the definitions I'm using for these: https://curtclifton.net/papers/MoseleyMarks06a.pdf
They don't. Let's say you want to quickly edit some text. What does nano brings over from ed that is essential? Nothing much (if at all) and the codebase is very much bigger. Same thing with epub. The only book I've seen that is the size of a phone is the pocket bible (same width but shorter than an iPhone 13). Portrait mode should be roughly A7 while in landscape you can easily display A6. If you have the source file, it would be quite easy to produce a ps file formatted for A5 (tablet), A6, and A7. That would be quite transparent for the user, while dev dealing with the formats will have an easier time (instead of having to unzip, then parse an index file, then parse the html and css file, loading fonts and what not). Most viewer just embed a full web engine for the latter.
because simple and elegant code is really more reliable and easier to maintain than complex code, also it's not just about simplicity but unix philosophy of "do one thing well"
> Very few are going to prefer ed to anything else like vim/emacs or even nano.
you seem to be confusing the amount of code to do the same thing vs the scope of the whole program / application, vim/emacs clearly do more than simple text editing, this isn't a fair example, it's like comparing tetris and GTA VI because "both are video games"
sh$ screen rlwrap ed file.asm ;
4135
H
P
*g/syscall/n
*wq
We need to virtualize Ken Thompson ASAP.
Oh, that's easy! Someone posted it to HN, others upvoted it to the front page, and you clicked on it.
I would very much agree with that, except if it means throwing Python and all SQL databases with the bath water.
Software as art/craft has its place and it's great that people can derive purpose from it.
But some software has real users, with a thousand different shifting requirements every day. The purpose of most software is to exist, not to be elegant.
It is like re-entrancy (composable), thread-safety (non-composable), throwing exceptions, etc. Just much worse. Pure functions are insufficient. Injective functions and complexity explosion is where it is at.
This also explains Joel Spolsky's Leaky Abstractions.
https://p9f.org/sys/man/1/INDEX.html
https://man.cat-v.org/plan_9/1/
Maybe someone who has used Plan 9 can elaborate more on why sed is better?
But that's actually the shibboleth that marks this kind of Unix nostalgia, including in the very domain name here. There isn't really an argument that one can make in favour of 'sed' instead of 'head' that does not also work for 'cat -v' instead of 'vis'.
Add overlay filesystems to Linux kernel just to statically bundle or link glibc against glibc's express efforts to undermine static linking. Just tar it all up and ship it.
Docker also basically added TCP port and UDP port linking information to ELF with compose files.
Aside: Traefik solves the problem of OpenSSL refusing to play nice with shell pipelines like where SSH just slots in.
This has nothing to do with glibc, everyone simply copied SUN/Solaris dynamic Linking system. It is 'bad' the same way on effectively every OS; windows, BSDs, Linux, and proprietary Unixes. The implementation was very short sighted, had very few opinions/options/systems to handle name-spacing, isolation, permission boundaries, and versioning. Isolating 1 tree of dynamic libraries from the other requires either hard system boundaries (namespaces/containers/jails or vms) or super weird system hacks (nixos) neither which addresses the core issues of the standard.
It is only more recently that Apple & Microsoft have taken steps to address this. The solution for Linux/Unix was always chroot/jail/namespace, from the onset. Docker just this accessible.
---
glibc is bad in a million other ways, mostly to do with just down right weird extensions, state management, and preserving harmful behavior in non-standard & barely used extensions for the sake of 'backward compatibility'.
Golang went so far as to directly call Linux syscalls. Which doesn't work anywhere else, because only Linux keeps its syscall ABI relatively stable.
Chroot was too complicated for most people, the same way Docker user namespace mapping is causing problems now, just with file system paths and breaking out of chroots.
FreeBSD jails seem reminiscent of IBM logical partitions, because each jail ID has its own userid 0 and group id 0 and filesystem root. But most software that people want to actually run is shipped on Debian not FreeBSD.
If you want a static linking experience on Debian without shipping an entire Debian VM, then the answer is Docker and the empirical blocker for just typing `gcc -static` is glibc.
Glibc was so much against dynamic linking that now Docker (a.k.a. Linux namespaces, groups) exists to get around that.
So how ridiculous is it to use musl inside a docker container ;)
I'm curious - what are these steps? Are they a new optional system or something intended as a full replacement?
Also, suicide... I think he could've tried rage quitting tech and gone busing tables or something, but that so very much was not a thing he could do. If he bit, he could just not let go.
But... What a disappointment: a random list including some of the most interesting things humans ever made: emacs, SQL databases, svg, and KDE. A big absent is blender, maybe.
SQL database, for instance, are the right answer to an important class of problems, and one of the most successful abstractions ever made. Do they fit all data storage requirements? Certainly not.
KDE? It's the only OS UI I truly enjoy these days.
Less harmful: Tutorial D, pq, BigTable, plain old hierarchical filesystems.
It's very strange to say that SQL databases are harmful. They save you from a lot of pain.
Since seems you (as others too) missed Tutorial D adjacent to it, list mentions SQL not RDBMS. The reason is because, as argued by Date & Darwen, designers of D and giants in RDB theory, SQL is NOT a faithful implementation of the RM (although considered mostly conformal), and incorporates compromises & inconsistencies contrasting relational principles.
A trivial example:
SELECT Profession FROM Users;
The issue here's SELECT is a bag operation and thus this returns the Profession each User has, not the distinct Profession(s). To do that you've to add `DISTINCT`. That is: SELECT DISTINCT Profession FROM Users;
In TD, it's just: Users { Profession }
This is because in D every relational expression evaluates to a true relation. Also, besides usage-wise, implementation-wise `DISTINCT` requires one be careful when query optimizing due to changed semantics, whereas no such issue exists in D.Then there's NULL. Much have written to it so no need to replicate. TD omits NULL. Absence of relationship is represented by absence of assigned tuple, not an artificial value.
I've not fucked with PostScript (yet), but I actually like SVG to a degree. I write what I want and I get it.
But seeing SQL on the side of "harmful things" has me giving the entire site a side-eye. Like, it's an opinion so blatantly inflammatory, I now have to investigate every claim made to see whether they are serious, taking the piss, or don't even know what they are talking about.
> Less harmful alternatives : OpenBSD
Deserved recognition.
All software sucks (2007) - https://news.ycombinator.com/item?id=17876207 - Aug 2018 (50 comments)
All software sucks (2007) - https://news.ycombinator.com/item?id=7613239 - April 2014 (138 comments)
https://groups.google.com/g/alt.sysadmin.recovery/c/ILXLBKwG...
The current _less worse_ compromise for code indented to be cross-ISA: plain and simple C with a bit of assembly (yeah, linux/glibc did fail hard with all those because of the bazillion of required gcc extensions). It seems microsoft rust could be an alternative but some say the syntax is a c++ grade abomination, not to mention a c++ SDK (llvm, which I got rid of years ago from many SDKs) and an expensive runtime excluding interop with the other languages (platform ABI compat issues), but I keep an eye on it, because microsoft is pushing harder than google with its go language.
Alternative small C compilers: cproc/qbe, tinycc, scc, etc. But the C syntax is already waaaay too rich and flexible, we would need to 'reduce' it (no more implicit integer promotion, mostly no more implicit casts, sized types, no switch, etc).
Don't forget the c++ to plain and simple C transpiler which is supposed to reduce SDK complexity and size (like the rust to plain and simple C transpiler). I would bet they already managed to add c++ code to break it, because it will turn into a mouse and cat game on c++ ultra-expensive/tantrum features required to build.
Don't forget free form [utf-8] text files. Yes, you can define free text based basic forms which could fit nearly all forms out there and still be easy to parse safely.
Then there must be the following realization: most software, and not all, has a bulk development cycle minuscule compared to its life cycle. To a point, what does matter is language syntax stability over time, and I mean looooong time (even ISO fails that because they always add 'tantrum grade' features which a kid will force into some software and force a whole SDK updgrade, usually those cycles are over 5-10 years).
Personally, for code, I am beyond that: I went binary specs and assembly (without abuse of a pre-processor, here ffmpeg got bitten with nasm macro preprocessor abuse). Usually, I need only 2 ISAs: RISC-V and x86-64 (I start with RISC-V, because non IP locked, which I run on x86_64 with a minimal interpreter). That, said, sometimes I revert to plain and simple C for cross-platform support which I am careful to compile with cproc/qbe.
Some people out there are designing these 'binary'/'AI prompt' specs and getting 'human' assembly directly from 'coding AI' (mostly claude). The compiler is gone. They were more fed up than me with all that cr...
And the more I code assembly for modern microarchitectures, the more I realize the amount of semantic information which is lost by 'high level languages' unable to please properly those very microarchitectures (for instance the static speculative execution rule). Because all that makes the assembly code mostly... chaotic (few to no patterns).
I’ve gotten so much productive work done in Python. And yes, I definitely have my gripes with it. But labeling it “sucks” while Go doesn’t - and that’s the end of the discussion? What is there to learn from that?
I have my gripes with Go as well. The years-long lack of generics support was an absurd blemish that actively compelled me to choose other languages.
Frankly it reads to me as a form of arrogance. That this person believes either they’re so important that their opinion without argument holds weight, or that they’re so obviously correct that their ideas don’t merit explanation.
Then I want to use Library Z but it requires version 1.45 of the DLL and I need to use 1.47 for a new feature but it is incompatible with Library Z and so now there is a conflict that can't be resolved.
Software T requires version 2.3 but my Linux distribution only ships version 1.8 and so I can't use that software until the distro updates at some indeterminate time in the future.
Software G requires version 2.3 but Ubuntu ships version 1.7 and Gentoo ships 1.97 and Debian only has 1.6 installed so the number of linux distros that can run the software is limited.
If dynamic linking is used right, it has a lot of advantages. libSystem/dyld_shared_cache in darwin/XNU is a good example how to do it right.
Libraries developers breaking API contracts and developers hard requiring only the latest version is what is making a mess.
If there is one thing I like about the BSDs and distros like alpine and arch is how easy it is to create a new package spec. Also easy to setup a repo.
The biggest problem is that much like Haskell or Scala, using it causes you to realize that you hate working with anything else, likely making your job satisfaction decrease because you're never going to move your org off Ansible or whatever.
- Size: shared libraries save some disk space. But disks are absurdly large these days compared to executable code, and in practice, code is never the thing that's going to fill up your disk. Your disk is going to be full of data, not code. (Or whichever hybrid of "code" and "data" you want to call a set of neural network weights...)
- Memory: shared libraries can theoretically have the same mapped code pages in memory across several processes. Marginally more interesting, but still not where most of your RAM is going today.
- Upgrades, maintenance, and build time: the expectation that if there's a bug in the shared library, you can update the shared library, and not need to update all the software built atop it. The most interesting reason that's still remaining, but not enough to put up with the tradeoffs of dynamic linking. You'd still have to restart all the applications that have that shared library loaded, so you don't get any logistical isolation there (whereas you would with components communicating via some RPC protocol). You may well have to rebuild things anyway, if the bug is in anything that gets inlined into the application. You have versioning problems, and all the clever schemes like symbol versioning are used by vanishingly few libraries (mostly glibc). And ultimately, rebuilding software isn't nearly as expensive as it used to be, because we have a lot more computing power now.
Dynamic linking seems like a tradeoff designed when the most interesting shared library on your system was libc. It imposes logistical and efficiency costs on everything. And it doesn't buy enough to be worth it.
If you want to have shared components that can be upgraded independently, have services communicating via RPC.
As you said, logistical and efficiency costs.
Everyone hates dynamic linking, but it's necessary. Modern versions like Apple's dyld shared cache avoid a lot of the problems (at the cost of centralization).
I do definitely agree for dynamic linking though. It was mostly a disk space saving measure. If one insists it could be a compatibility feature too.
Sounds like a good idea in general. Memory savings are a welcome side-effect.
Static linking is simpler but does away with those advantages.
I suppose much hatred against DL isn't the concept itself, but specific implementations. Like, any which do the versioning / dependency management badly.
You can't just strip and inline the parts of the lib you need. You still probably need to pack in the DLLs you want in case the end users might not have a way to easily procure them elsewhere. Its a big ol' mess...
I am not clicking it, even via an archiving proxy. Hacker News has too many low quality opinion pieces that scores disproportionally, anyway.
It's a shame that so many people seems to do the exact opposite - have their AI use massive dependencies and generate tens of thousands of lines of boilerplate crap and endless generic and general libraries, I just wanna shake them by their necks and say: "dude, you don't need to import a 1GB cross platform lib anymore, just have the AI generate just the platform specific parts you actually need for your program".
"Harmful things that are so superfluous and useless that require no alternative:...KDE..."
That's the furthest thing from a true statement I've read in the past year...and we've had quite a year.
arguable that all insecurity is from an attempt to secure a system designed to be open, transparent, accessible.
Here's some Tom7 counter-propaganda: https://www.youtube.com/watch?v=M1si1y5lvkk
Sometime in the past decade, I was transiting through a US airport. I used the free public Wi-Fi and browsed a bunch of links from Hacker News. Some sites used HTTP and some used HTTPS. The web pages that loaded on unsecured HTTP had been modified with ads injected by the ISP, and those changes were jarring.
Now consider the possibility that the MITM injects malicious JavaScript that exploits a vulnerability in your web browser, or alters the page so that it coordinates a distributed denial of service attack on some victim of their choice.
Remember, information security has at least 3 elements: confidentiality, integrity, availability (, and non-repudiation?). You were mocking the MITM on the basis of confidentiality, but forgot that integrity matters too (i.e. the user not receiving maliciously modified data).
Mind you, provided the relative security of the browser sandbox, that still makes a HTTP MITM no more dangerous than something much easier & more common: a phish.
But still worth clarifying as I think a lot of people miss that point about the assurances of HTTPS.
Would also explain why KDE is on that list at the bottom (I think that was around the 4.0 era). But I think there is little love for graphical user interfaces in general :-D
Also that table is pretty harmful in itself.
Having a mixture of suckless and none-suckless (lickmore?) is the sweetspot.
Because the latter option literally isn't going to work for most people (due to being so woefully inadequate) and is often actively harmful. Complexity is literally a feature not a bug. Simplicity has to give you what you want or it's not simplicity anymore.
Some more examples: "car < bicycle", "shoes < sandals", "microwave < wood oven", "house < tent", "AC < fan", "fridge < root cellar", "sprung mattress < straw stuffed in a burlap sack", "computer < abacus". No need for these complex things, let's become hermits and live in a cave. I heard Gork is doing his fireside shadow puppets tonight.
> bash, zsh, vim, emacs, coreutils, gcc, glibc, cmake, gtk, qt, xmpp, sql, imap, freebsd, netbsd, svg, epub, GPL, APL, MPL
That's probably not wrong directionally. But the longevity of emacs is a good illustration that there's more to things than just complexity/simplicity in the abstract. No one is forced to use emacs, people come to it willingly. It's managed to keep its head above water through every major software and paradigm transition.
It does suck, but it does so in the same sublime way the world in general manages to both suck and be beautiful.
tldp.org isn't loading right now, or I would give an explicit link to the Advanced Bash Scripting Guide.
This can't be serious.
All real world practical stuff is full of compromises and marred in some way by consensus. Working together with other people is, yes, hard.
Examples: ad-infested crap / spyware (serves vendors' interests). Closed source (same). Programmers who confuse "end user" with "developer". User interfaces which look shiny but ignore heaps & heaps of UI/UX research. Featuritis that turns every tool into a programming language / everything-app, etc.
Or a recent submission of mine: 14GB-eating Android doesn't come with a manual (seems to apply to iPhone too). To add on that one: supercomputer-in-your-pocket can't create/edit plain text files (only view them. Until a text editor app is downloaded).
This wouldn't be because of "STEM people", would it? Most programmers/hacker types by principle despise "ad-infested crap / spyware", it's almost a shibboleth (along with the term "bloat"). You can frequently read it here on HN too, though that is changing as fresh blood arrives and attitudes towards software change.
Also not sure the forces at play behind the above have much to do with ignoring the humanities...