Live data from Hacker News

Trainwreck Design

j3s.sh

61–70 of 107 posts

Re: Trainwreck Design

#61
post #56
post #50

Earlier quoted context omitted.

A single \n would improve ip link/addr. There is no easy way to visual grep the right interface. ifconfig is much better in this regard, but has obvious downsides.

But... you have to use systemd tools to parse the output these days. Why are you even looking at this with the naked eye?

I would gladly switch to a systemd command. What should I use?

Re: Trainwreck Design

#62
post #40
post #35

Earlier quoted context omitted.

> The difference between them and a simple hyperlink is that they can and often will provide some additional context, will give you additional context on hover (on systems that support that)

> will give you additional context on hover (on systems that support that) "hover" has no meaning on touch-based interfaces.

You should see the title text if you long-press on the link, no?

Re: Trainwreck Design

#63
Surprise, surprise. Let me be the contrarian: I dislike this attitude of dumbing everything down just because some people can't be bothered to learn how and why their tools work the way they do. They'll invoke "2024" like it means something. Not a great look IMO.

The output of df and mount shows the truth as it is: raw and shitty. Don't dumb it down. Your version of usability might be my idea of a nightmare. I like the raw truth, ugly as it is. If I or anybody needs a `tiktok-disk-usage --fancy` we'll conjure one up. Are we tech or what?

It is exceedingly easy to filter the output of said tools. Nothing to do with money or incentives. It is a completely solved "problem" for the people that need it and are capable of "solving" it. Maybe you should opt for a "desktop environment" that "manages" your stuff so you can have a nice set of disk percentage indicators? I hear good things about "Windows".

Re: Trainwreck Design

#64
Yup and this is the reason I just use Apple devices. Google and Microsoft products are design-by-committee garbage, and most open source projects eventually devolve into a mess, unless it is tightly controlled by a single author (such as SQLite or Redis or even Laravel).

People forget that Nature's default is to devolve to the chaos of the jungle (beautiful, but does not work toward any human purpose). The absolute best human designs are those controlled by benevolent dictatorships with a ruthless focus on simplicity. Nature's default is for every garden to overgrow with weeds, unless a gardener keeps at it relentlessly. Eventually the weeds become a beautiful jungle, but the absolute worst gardens are those designed my multiple competing gardeners. Either have 1 gardener, or 0.

See also the incompetent clusterfuck that is the European Union.

Re: Trainwreck Design

#65
post #56
post #50

Earlier quoted context omitted.

A single \n would improve ip link/addr. There is no easy way to visual grep the right interface. ifconfig is much better in this regard, but has obvious downsides.

But... you have to use systemd tools to parse the output these days. Why are you even looking at this with the naked eye?

> Why are you even looking at this with the naked eye?

My first instinct was to answer your question with a question. I'll avoid that.

In the real world of devops, whatever you might have in mind as not "naked eye," fails. Deeply isolated systems, embedded systems, development environments, headless systems, virtualized systems, etc., don't have working GUIs, complex input devices or other high fidelity tools. You get a terminal. The terminal tools are the ground truth when all else has failed. They need to work. And when they work in a usable manner they're wonderful: you can deal with complex tasks and issues over absurdly slow connections, tunneled and bounced through a endless chain of hosts, with no client side capability beyond a terminal emulator. This is one of the key benefits of the UNIX legacy and a reason it has proliferated to nearly every application.

Having answered your question directly, I'll ask mine: what, pray tell, do you recommend that meets every requirement stated or implied above?

Re: Trainwreck Design

#66
post #21

From my .bashrc: alias dfx='df -x nfs -x none -x smbfs -x tmpfs -x cifs -x tmpfs -x fuse.sshfs -x devtmpfs -x squashfs'

I'll just throw out findmnt here.

It does what mount and df do, only with more options and filters. It is part of mount -- IIRC today's mount just runs findmnt --mtab under the hood -- and therefore available on all modern Linux systems. I guess the article's author would have been happy with

    findmnt -s -D -e
    findmnt --fstab --df --evaluate

Re: Trainwreck Design

#67
post #55

this reminds me of a locale issue. When I ssh from Mac to Ubuntu 22.04 I get some error about LC_??? not being set. Looking for a solution lead me here https://askubuntu.com/questions/162391/how-do-i-fix-my-local... what sticks out to me is there is no definitive answer. every answer is different. I'd have to already know the correct answer to know the correct answer Further, I've never done anything out of the ordin…

Every time I ssh to FreeBSD by terminal is screwed because FreeBSD doesn’t know what alacritty is. Which would be simple to fix but FreeBSD uses a different terminfo format which has to be set up manually on each box and I can never remember how to do it.

Re: Trainwreck Design

#68
post #40
post #35

Earlier quoted context omitted.

> The difference between them and a simple hyperlink is that they can and often will provide some additional context, will give you additional context on hover (on systems that support that)

> will give you additional context on hover (on systems that support that) "hover" has no meaning on touch-based interfaces.

On my touch-based device a long-press seems to work the same as a hover.

Re: Trainwreck Design

#69

Surprise, surprise. Let me be the contrarian: I dislike this attitude of dumbing everything down just because some people can't be bothered to learn how and why their tools work the way they do. They'll invoke "2024" like it means something. Not a great look IMO. The output of df and mount shows the truth as it is: raw and shitty. Don't dumb it down. Your version of usability might be my idea of a nightmare. I like t…

Why should the default of the tool be totally unintelligble useless (for 90% of single usages) rubbish? You can have your raw truth - strange way of putting it, its a tool, this is not a detective drama - it would be a more useful tool for the average use-case if this was a flag though (or some other option). We can't handle the truth!
Post reply on HN