Live data from Hacker News

Trainwreck Design

j3s.sh

11–20 of 107 posts

Re: Trainwreck Design

#11
This is the bazaar version of enshittification. In that the software becomes worse for the user, but for different reasons than in the commercial world.

In the end users lose anyway

Re: Trainwreck Design

#12
This is why I quite like Phpstorm over vscode.

Yes, vscode and plugins can do everything. But Phpstorm integrates everything into one coherent package. Too many random directions is more annoying.

In terms of software dev, it's quite hard to get a good app wide experience. There's just so many people working on the project. Without someone to make sure things are aligned, things fall apart into random wild patterns everywhere.

Re: Trainwreck Design

#13
Output of mount and df are terrible indeed.

The other day I took the output of df -h and gave fed it to an LLM, asking, anything stands out here? It helped.

That being said, Claude turned no fun. [0] I remember back when ChatGPT first came out, I'd say `ssh root@mainframe.nsa.gov` and it came up with some interesting outputs.

[0] https://i.imgur.com/a/ZzBxRcq.png

Re: Trainwreck Design

#14
Haha, try and expand a partition on Linux using command line. It's nearly impossible if you're not a sysadmin [1].

You'll google it and find 10 different ways for 10 different distros, and most of them will require doing byte math (but you're not sure if KB is really kB and 1000 or 1024). If you get it wrong your computer blows up (probably).

And if you think resizing was hard, try to defrag and shrink one!

[1] For example if you install RHEL using wizard it will create a bunch of virtual logical areas that each have partitions allocated that each have disks allocated and if you want to resize them later you have to resize the onion all in the correct order.

Re: Trainwreck Design

#15
I mean... keeping the output of a small "load bearing" program that's been that way since the 80s and is being parsed by countless other scripts that rely on it being exactly the way it is is probably a good idea. Despite what the average library maintainer seems to think, it's far better to have a few people complain about it being meh then breaking half the internet because the output could be nicer.

That said, anyone know of any good alternatives that parse it into something actually -human readable?

Re: Trainwreck Design

#16
post #13

Output of mount and df are terrible indeed. The other day I took the output of df -h and gave fed it to an LLM, asking, anything stands out here? It helped. That being said, Claude turned no fun. [0] I remember back when ChatGPT first came out, I'd say `ssh root@mainframe.nsa.gov` and it came up with some interesting outputs. [0] https://i.imgur.com/a/ZzBxRcq.png

    mount | column -t …
Wish I could remember the rest but am away from computer.

df has a switch to exclude types like tmpfs, mount can use grep -v, etc. Make aliases.

Re: Trainwreck Design

#17

A webpage that uses numeric identifiers for external references that are found only when scrolling to the very bottom of the page and show their URLs as plain text. Now that is a train wreck. Hyperlinks are the cornerstone of the web. Don't be afraid of using them!

[flagged]

Re: Trainwreck Design

#19
Just using the example of "df -h" and "mount" ... all the extra stuff that wasn't there 15 years ago, is from systemd. The idea is to auto-enable anything anyone might possibly want, to whatever extent possible, and I don't like it.

I also noticed the /var/credentials/ mounts showing up recently; that's for a systemd feature that neither I nor you actually use, to set encrypted secrets for these services in a way that is exposed only to those services via a centralized framework. If you didn't explicitly use it, it's all empty. But it started years ago with the mounts for efivars, pstore, binfmt-misc, kernel/debug, kernel/security, etc. Sure they're useful sometimes, but they shouldn't be enabled until you have a need and then explicitly enable it. Well, that's my preference, so I always start with minimal debian or arch linux, but even on such minimal systems that have switched to systemd, you get all this stuff enabled and mounted by default.

If you're actually using a tmpfs mount, like perhaps just one on /tmp, then you do want df to tell you how full it is. The problem is that you have 20 fs mounts that are truly useless to you, and IMHO should not be there. And ironically I think systemd developers do have a strong opinionated design vision, and if you don't like it you can pound sand (or use void or alpine for a desktop system I guess), because they have successfully taken over the vast majority of the desktop and server linux ecosystem. Anyway I still like linux for the flexibility I have elsewhere in the stack to make it work the way I want, reasonably conveniently for me.

(Many would think I'm an idiot for not appreciating the brilliance and necessity of what systemd has done, but for a completely different angle about systemd I recommend: https://blog.darknedgy.net/technology/2020/05/02/0/ (seems tls cert expired a few days ago, but it's fine to ignore))

Re: Trainwreck Design

#20

Haha, try and expand a partition on Linux using command line. It's nearly impossible if you're not a sysadmin [1]. You'll google it and find 10 different ways for 10 different distros, and most of them will require doing byte math (but you're not sure if KB is really kB and 1000 or 1024). If you get it wrong your computer blows up (probably). And if you think resizing was hard, try to defrag and shrink one! [1] For e…

...or you'll just install gparted and do it with a couple of clicks.

It'll require root, yes. But in Windows you're already "root", so it doesn't count. No, "permission elevation prompts" doesn't count. You're still defacto Administrator on that system.

BTW, none of the CLI tools allow you to overlap partitions or shrink below used percent. So you can't blow your data up unless you try really hard (like fdisk delete/recreate tricks).

Post reply on HN