News for hackers. Stuff that matters.
Re:The Dawn of a new Command Line Interface (2017) by underwater on Tuesday April 13, 2021 @07:21AM (#26790747)
> Those who don't understand Unix are condemned to reinvent it, poorly.

What a low value and needlessly dismissive comment. And based on HN's track record it probably means Arcan actually has a shot.

Re:The Dawn of a new Command Line Interface (2017) by donatj on Tuesday April 13, 2021 @07:50AM (#26790953)
It’s a pretty common quote from Introducing Regular Expressions (2012) by Michael Fitzgerald, used as a quip.
Re:The Dawn of a new Command Line Interface (2017) by oblio on Tuesday April 13, 2021 @08:06AM (#26791070)
He he, recency bias, I guess?

It's from The Art of Unix Programming (2003) by Eric S. Raymond. It's actually in the first chapter. And the supposedly original quote is:

> Those who do not understand Unix are condemned to reinvent it, poorly.

> -- Henry Spencer Usenet signature, November 1987

http://www.catb.org/~esr/writings/taoup/html/philosophychapt...

Henry Spencer being: https://en.wikipedia.org/wiki/Henry_Spencer . I imagine that's why the quote is also in that regexp book.

It's a super arrogant quote used, I'd say, 95% of the time by people who don't deeply know other OSes (besides shallow memes and jokes about them).

Re:The Dawn of a new Command Line Interface (2017) by cb321 on Tuesday April 13, 2021 @09:01AM (#26791579)
The general structure of the quip/aphorism/joke/snark pre-dates the industrial revolution dating back (at least!) to Edmund Burke's [1] "Those who don't know history are doomed to repeat it."

[1] https://en.wikipedia.org/wiki/Edmund_Burke

Re:The Dawn of a new Command Line Interface (2017) by mixmastamyk on Tuesday April 13, 2021 @01:11PM (#26795558)
Sounds similar to: https://en.wikipedia.org/wiki/George_Santayana

Looks like Burke lived a century+ earlier.

Re:The Dawn of a new Command Line Interface (2017) by oblio on Tuesday April 13, 2021 @09:08AM (#26791642)
Yeah, I know, but the difference is that Burke was actually right :-D
Re:The Dawn of a new Command Line Interface (2017) by donatj on Tuesday April 13, 2021 @08:44AM (#26791428)
LOL, I knew I knew the quote, didn’t remember from where and WikiQuote gave me that source. Should be corrected but I’m on mobile at the moment, I’ll do so later if no one does in the meantime. That’ll teach me to trust the internet.

https://en.wikiquote.org/wiki/Unix

Re:The Dawn of a new Command Line Interface (2017) by leoc on Tuesday April 13, 2021 @03:30PM (#26797805)
TAOUP didn't make it famous: it was probably about as well known as it is now well before 2003. The cited Usenet post is real https://groups.google.com/g/sci.space.shuttle/c/L8-Upf8gZoY/... .
Re:The Dawn of a new Command Line Interface (2017) by Koshkin on Tuesday April 13, 2021 @08:16AM (#26791151)
Even less recently, we have had a very similar sounding Greenspun’s Tenth Rule.
Re:The Dawn of a new Command Line Interface (2017) by oblio on Tuesday April 13, 2021 @08:53AM (#26791490)
The Common Lisp one? Another arrogant and these days probably outdated quote that's sometimes trotted out on the internet.
Re:The Dawn of a new Command Line Interface (2017) by rbanffy on Tuesday April 13, 2021 @09:10AM (#26791665)
I have seen more than one generation say this and then, after a while, attain enlightenment. Feel free to be the next one.
Re:The Dawn of a new Command Line Interface (2017) by oblio on Tuesday April 13, 2021 @12:42PM (#26795087)
Programming languages are tools. Tools need to be used to build wonderful works of art or industry to be useful or have any realistic shot at being considered great tools.

The fact that the overwhelming majority of great applications, services, any kind of software we create is not written in Lisp should at some point in the first century after the creation of Lisp, lead Lisp afficionados to some kind of enlightenment, one would hope.

Unlikely, since it's already been 60 years, so they only have 40 years left.

Re:The Dawn of a new Command Line Interface (2017) by Koshkin on Tuesday April 13, 2021 @09:32AM (#26791894)
> outdated

No, CL's popularity hasn't changed over the past 30 years.

Re:The Dawn of a new Command Line Interface (2017) by oblio on Tuesday April 13, 2021 @12:36PM (#26795004)
Yes, you're completely right. The same people using in 1990 are using it today.
Re:The Dawn of a new Command Line Interface (2017) by underwater on Tuesday April 13, 2021 @08:45PM (#26801608)
The OP had identified problems with the existing approach, and proposed a concrete solution in detail. Dismissing that with a pithy quote because it vaguely matches a common pattern is low effort and needlessly dismissive. The quote stinks anyway. Unix is not the pinnacle of computing.
Re:The Dawn of a new Command Line Interface (2017) by Koshkin on Tuesday April 13, 2021 @07:34AM (#26790835)
Agreed. (MS-DOS may have “reinvented UNIX, poorly,” but there do exist other OS and other approaches to UI that enjoy a large and happy user base.)
Re:The Dawn of a new Command Line Interface (2017) by bjornjajayaja on Tuesday April 13, 2021 @08:01AM (#26791034)
Honestly one could argue that DOS has some merit beyond Unix. It’s simple command line interface expects users will program in other languages like C or assembly. It’s more directly interaction with the machine. Sure it had limitations like file name lengths etc back in the day, but I think many Unix shells are overly complex and ought to yield to more suitable languages like Perl.
Re:The Dawn of a new Command Line Interface (2017) by mixmastamyk on Tuesday April 13, 2021 @03:08PM (#26797462)
Agreed in general, however shell languages (should) have a different focus, such as running processes.

There's been a few attempts at this, but I settled on the fish shell as it has a good balance and syntax highlighting for interactivity.

I still write simple scripts in sh and complex ones in Python however.

Re:The Dawn of a new Command Line Interface (2017) by hashkb on Tuesday April 13, 2021 @09:09AM (#26791655)
Many of the standard unix tools are not written in sh. They're written in C. Am I missing something in your comment?
Re:The Dawn of a new Command Line Interface (2017) by ticviking on Tuesday April 13, 2021 @11:12AM (#26793299)
> It’s simple command line interface expects users will program in other languages like C or assembly.

I think the point here is that DOS explicitly rejects the composition that pipes enable, in exchange for the ability to just hand "the whole system" over to a programmer.

Re:The Dawn of a new Command Line Interface (2017) by mixmastamyk on Tuesday April 13, 2021 @01:16PM (#26795660)
DOS had pipes since version 2.0 I believe.

But the main point, that DOS was basically a thin program loader that "got out of the way" is sound. Think of it like a UEFI shell environment, with 640k+ limits.

Re:The Dawn of a new Command Line Interface (2017) by unilynx on Tuesday April 13, 2021 @02:21PM (#26796740)
Dos pipes were just writes and reads to temporary files. No parallel processes
Re:The Dawn of a new Command Line Interface (2017) by mixmastamyk on Tuesday April 13, 2021 @03:08PM (#26797469)
Ok, but didn't concern the end user, as far as I can remember.