Live data from Hacker News

Exa Is Deprecated

github.com

91–100 of 244 posts

Re: Exa Is Deprecated

#91
There's a hint of a belief in this thread - common also in threads about alternative shells and Vim setups - that someone who uses a tool like this will irrevocably lose the knowledge of how to use ls.

Am I perhaps a genius or is it just not that difficult to know two tools?

Re: Exa Is Deprecated

#92
post #49

Yet another example of why I don't trust any software that markets itself as "modern". In another 20 years, ls will still work perfectly fine.

And so will exa, probably. And if it won't, it will be forked.

Which is exactly the reason "ls" is working perfectly fine for you today. The original AT&T UNIX "ls" has been forked over and over again and rewritten from scratch several times. You're using an evolved fork of this "ls" if you're using macOS or BSD, but if you're on Linux you're using a rewrite (GNU coreutils ls), and if you're running BusyBox you're using yet another rewrite.

All of these different rewrites and forks aren't really compatible, and you can't reliably use anything beyond what's in the POSIX standard if you want your scripts to run on multiple OSes.

I'm not dissing "ls" - it's an impressive, if old, piece of software that served us well, but it's not inherently more survivable because it's old. It died (in terms of being "forked by another maintainer") many times over, enough to make exa and eza blush.

ls survied because people need it, and I that most of the highly popular rewrite-in-Rust programs are here to stay for the same reasons. Ripgrep, exa, bat and fd are probably part of the club now. "ls" is probably not going to die either. The POSIX standard is going to keep at least the least common denominator version alive for a long time. But for many people it could go the way that "ed" or "more" have gone.

And here is a good story: "ed" still survived in POSIX as-is, while "vi" died and had to be replaced by stevie and and elvis, and then by vim. Nowadays vim is also been replaced by neovim in many circles. And yet, how many people keep using "ed"? Who cares if it's stable, when vi and its descendants run circles around it?

Re: Exa Is Deprecated

#93

There's a hint of a belief in this thread - common also in threads about alternative shells and Vim setups - that someone who uses a tool like this will irrevocably lose the knowledge of how to use ls. Am I perhaps a genius or is it just not that difficult to know two tools?

Most people don't type `ls` directly either. Aliases like `l`, `ll` and `la` are very common, in which case it really doesn't matter which tool you're using.

I've been using `exa` for years, and my aliases work regardless if it's installed or not. I just get a better UX if it is.

Re: Exa Is Deprecated

#94
post #70

Earlier quoted context omitted.

You could argue that "modern" versions of old tools with a bus factor of 1 are harder to trust.

You could, but it doesn't seem relevant to this post.

The bus has come, and this is the best possible rescue.

Re: Exa Is Deprecated

#95

A nice metaphor when the "modern replacement" for something as basic as a directory listing is deprecated while the original means (the built-in ls) still works fine and isnt. EDIT: ls on linux is apparently an executable part of GNU and not a built-in

On most Unix flavors it is not built-in. The only shell I know that has "ls" built-in is BusyBox.

And besides, I said in other places: "ls" has been "deprecated by its maintainer" more times than exa, it's just that somebody has always forked it. GNU "ls" (the one in Linux) is a complete rewrite of the original shell, and it is annoyingly incompatible with the macOS fork of BSD ls.

Re: Exa Is Deprecated

#96

A nice metaphor when the "modern replacement" for something as basic as a directory listing is deprecated while the original means (the built-in ls) still works fine and isnt. EDIT: ls on linux is apparently an executable part of GNU and not a built-in

Except it doesn't work fine, its poor design is one of the reasons for the modern replacements

Re: Exa Is Deprecated

#97
post #49

Yet another example of why I don't trust any software that markets itself as "modern". In another 20 years, ls will still work perfectly fine.

And so will exa, probably. And if it won't, it will be forked. Which is exactly the reason "ls" is working perfectly fine for you today. The original AT&T UNIX "ls" has been forked over and over again and rewritten from scratch several times. You're using an evolved fork of this "ls" if you're using macOS or BSD, but if you're on Linux you're using a rewrite (GNU coreutils ls), and if you're running BusyBox you're us…

I am not anti-rewrite or anti-port. There exist good reasons to rewrite software.

However, being "modern" is not a good reason. The gnu authors were not motivated to write the coreutils simply for the sake of modernity. And that is why their fork of ls has much greater staying power than all the "modern" forks.

Re: Exa Is Deprecated

#98
post #46

Earlier quoted context omitted.

And yet, exa is deprecated :-)

Yes but people did not find it daunting to create a fork. But if what the comment I replied to meant by "capable of maintaining them myself" was about having an organizational structure where they could become an official maintainer of the official project rather than needing to fork it if the owner becomes unavailable, then yep, that's a great point about these single-owner projects. But my original interpretation w…

Your interpretation is what I intended. Thing is, I don't anticipate ever needing to touch the code if I use the utilities installed by default on whatever Linux distribution I'm using (which includes Windows, which I use as an interface for WSL). Even if I was comfortable with Rust, which I'm not and haven't used in years, it would still take a lot of time to understand the code well enough to make changes.

Re: Exa Is Deprecated

#99
post #26
post #11

Earlier quoted context omitted.

I wish there was a better way for the community to handle this situation without the original author doing what we see here. Sometimes the original author dies unexpectedly for example and it's very hard to salvage the work into a maintained fork. I wrote about this in 2018: https://kodare.net/2018/06/25/salvaging-abandoned-projects.h...

There is, I created it years ago, but unfortunately it hasn't taken off: https://www.codeshelter.co/ Maybe I'm bad at marketing, it seems like a pity.

I think what we need is for github to get in on it. Discoverability is 90% of the work.
Post reply on HN