Live data from Hacker News

Marcel the Shell

marceltheshell.org

71–80 of 209 posts

Re: Marcel the Shell

#71

For those who are wondering: The name is a reference to the 2021 movie "Marcel the Shell with Shoes on" https://en.wikipedia.org/wiki/Marcel_the_Shell_with_Shoes_On...

No it was a bunch of cute little web videos by Jenny Slate at least a decade before there was a real movie.

Re: Marcel the Shell

#72
post #71

For those who are wondering: The name is a reference to the 2021 movie "Marcel the Shell with Shoes on" https://en.wikipedia.org/wiki/Marcel_the_Shell_with_Shoes_On...

No it was a bunch of cute little web videos by Jenny Slate at least a decade before there was a real movie.

Book too! I read it to my kids all the time. Wish I could do the voice though.

Re: Marcel the Shell

#76

Hi, I’m the author of Marcel. If you like it and want to work on it, I can use volunteers, for developing features, debugging, doc, porting, improving the website, you name it.

Can I ask what you are using for the docs?

Re: Marcel the Shell

#77
post #49

Earlier quoted context omitted.

I wrote marcel. In my view, nushell and marcel are very similar. nushell has tabular output, which I haven't thought was all that useful. Marcel is python-based. The nushell guys have had to invent a lot of language. By basing marcel on python, I don't have to invent language. Any logic to be added is expressed in python. E.g, do a recursive listing of files and find those that changed in the last 3 days: ls -fr | se…

This looks interesting, but the examples don't really show off Marcel's power. The example you just gave without Marcel is: find . -type f -mtime -3 The example on this page: https://www.marceltheshell.org/list-processes ps -u djt | map (p: p.signal(9)) That's: pkill -9 -u djt The example for summing files by extension is a bit more interesting: ls -fr | map (f: (f.suffix, 1)) | red. + | sort Vs something like: find…

Using the output of find into another program is not safe due to risk of file names containing delimiters. You need to use find -exec.

Good example of why machine readable output is important. Agree that the tutorial should showcase more and larger such examples.

Re: Marcel the Shell

#78
post #77
post #49

Earlier quoted context omitted.

This looks interesting, but the examples don't really show off Marcel's power. The example you just gave without Marcel is: find . -type f -mtime -3 The example on this page: https://www.marceltheshell.org/list-processes ps -u djt | map (p: p.signal(9)) That's: pkill -9 -u djt The example for summing files by extension is a bit more interesting: ls -fr | map (f: (f.suffix, 1)) | red. + | sort Vs something like: find…

Using the output of find into another program is not safe due to risk of file names containing delimiters. You need to use find -exec. Good example of why machine readable output is important. Agree that the tutorial should showcase more and larger such examples.

You can always use -print0. I suppose there is some risk of a null slipping into a filename but I’ve never come across it myself.

Re: Marcel the Shell

#79
post #71

For those who are wondering: The name is a reference to the 2021 movie "Marcel the Shell with Shoes on" https://en.wikipedia.org/wiki/Marcel_the_Shell_with_Shoes_On...

No it was a bunch of cute little web videos by Jenny Slate at least a decade before there was a real movie.

[flagged]

Re: Marcel the Shell

#80
post #60

Earlier quoted context omitted.

I'm not a license connoiseur. Why does GPL present a problem? (Not trying to be conentious, it's a genuine question.)

GPLv3 is a "strong copyleft" license. It comes with some significant pros and cons compared to more permissive licenses like MIT and BSD. You can find more about the philosophy behind it here: https://www.gnu.org/philosophy As the author, a benefit it offers you is protection against someone selling your work or a derivative of it, or redistributing it with added restrictions. From a user's perspective, the main down…

Yes, in this scenario the LGPL was created so that I could create a library, and if anyone modified my library they had to share the improvements however using my library does not then apply the GPL to your code.
Post reply on HN