Live data from Hacker News

Marcel the Shell

marceltheshell.org

31–40 of 209 posts

Re: Marcel the Shell

#31
post #5

How does this compare to nushell? I am in the market to learn something other than bash and right now nushell seems like the best candidate.

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…

marshell the cell....

sorry couldn't resist.

:)

Re: Marcel the Shell

#32
post #31

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…

marshell the cell.... sorry couldn't resist. :)

Marcel is open source, so no.

Re: Marcel the Shell

#34

  However, instead of passing strings from one command to the next, marcel passes Python values: builtin types such as lists, tuples, strings, and numbers; but also objects representing files and processes.
The bit before the semicolon sounds like what you'd do in a functional language like Elixir.

It would be cool to be able to do this in regular Python programs. I know some libraries (like pandas) fake it by having a method return an object of the same class, allowing method chaining, but that doesn't work universally.

Re: Marcel the Shell

#35
post #26
post #24

Earlier quoted context omitted.

They are two very different products in completely different markets. In many jurisdictions any such lawsuit would have no standing.

Being legally right and being morally right are often two very different things though. Like, they even have the full domain name of the original thing. If I were the owner of the original video and the subsequent film, I know I'd be, at least, annoyed.

What's the original thing? Sorry, I don't know the reference.

Re: Marcel the Shell

#36
post #8

Message to the person responsible for the site: they should use code blocks instead of images for their code. I say this because I can't read the text inside the images from mobile. It's way too small.

I'm responsible. I need to revise those, and images seemed like the way to get colorization right. I'll try to figure out how to do it with code blocks, it will hopefully be more maintainable. Cutting/pasting images is ridiculous.

you could try Carbon:

https://carbon.now.sh/

Re: Marcel the Shell

#37
post #8

Message to the person responsible for the site: they should use code blocks instead of images for their code. I say this because I can't read the text inside the images from mobile. It's way too small.

I'm responsible. I need to revise those, and images seemed like the way to get colorization right. I'll try to figure out how to do it with code blocks, it will hopefully be more maintainable. Cutting/pasting images is ridiculous.

Would highlight.js do what you need?

Re: Marcel the Shell

#38
post #24

It's cute, but I suspect the rightsholders for the character won't be thrilled about the name appropriation.

They are two very different products in completely different markets. In many jurisdictions any such lawsuit would have no standing.

That's not correct. In fact, there was a relatively recent Supreme Court case where a "joke products" maker (I don't remember the exact products, I think they were dog toys or something) basically made them look like Jack Daniels products. They argued it was a spoof, so should be protected. The court ruled against them, saying that even though they were selling in a totally different arena, they were still coasting on the public's familiarity with the Jack Daniels brand, and someone might think that JD themselves had authorized the spoof products.

I'm not sure that all applies here, but "Marcel the Shell" obviously belongs to and is associated with one specific brand, and the author of this nix shell is riding on that. It's not like when someone tries to trademark "Apple" in 2 different contexts.

Re: Marcel the Shell

#39

However, instead of passing strings from one command to the next, marcel passes Python values: builtin types such as lists, tuples, strings, and numbers; but also objects representing files and processes. The bit before the semicolon sounds like what you'd do in a functional language like Elixir. It would be cool to be able to do this in regular Python programs. I know some libraries (like pandas) fake it by having a…

That works. There is a Marcel API for Python that allows shell-like usage within Python programs. See this for an example: https://www.marceltheshell.org/scripting-1

Re: Marcel the Shell

#40
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.
Post reply on HN