Live data from Hacker News

Xiki: An amazing shell

techcrunch.com

41–50 of 130 posts

Re: Xiki: An amazing shell

#41
post #25
post #16

Earlier quoted context omitted.

What features would you like to see in a Unix-like shell that are not available?

I think passing around real objects instead of character strings is cool. It's less brittle, and you don't have to have an ad-hoc and flawed parser at every step.

Something like a Python/Ruby/whatever REPL with shell functions? Something like 'ls' would return an array of objects describing files, like:

  def name(text):
    return lambda file: file.name.find(text) > -1

  ls().filter(name('.txt'))
but less clunky?

Re: Xiki: An amazing shell

#42
It looks like a good solution to a lot of tedious problems, especially considering navigation.

On the other hand, it seems like there's no boundaries for what problems Xiki should solve.

Where do you draw the line? I would for instance never expect my shell to be able to manage my database. It just doesn't make sense to delegate that job to the shell.

Re: Xiki: An amazing shell

#43
post #32
post #31

Installed, started. xiki status says it's running but I'm back in my usual shell and nothing works any different. No mouse interaction like in the video. Maybe I'm missing something obvious, maybe the tutorial (Where is it?) or is it an OSX only thing? I'm on Linux. I started the web interface, used it to hook xiki to emacs, restarted emacs and run into the unfixed "error: el4r-instance is dead" bug. I stopped using…

With all due respect, this looks like an early-stage project. If everyone adopts such a dismissive attitude, Show HN might as well not exist.

The first commit in git is from 2008. https://github.com/trogdoro/xiki/commits/master?page=17 From http://www.linux.com/learn/tutorials/778419-meet-xiki-the-re... it turns out than "Craig Muth, has been working on Xiki for ten years". Maybe not a mature project but not an early stage one.

Re: Xiki: An amazing shell

#44
Seems like a lot of ideas from GNU Emacs and Plan 9 (such as interactive text and evaluating within text buffers) rolled into one, so in that sense it isn't anything revolutionary. Of course it could end up being something nice, but the way the Kickstarter video rubs off on me makes me doubt it.

Re: Xiki: An amazing shell

#45
post #34

These alternative shells always get me really excited, until I try them out. Then the drawbacks become immediately and very painfully obvious: - Some are extremely slow, especially those that rely on complete webservers / node.js / whatever as a backend - Memory-hungry. I've got an average of about 30 terminals open at all times. 50 Mb per terminal really is a bit too much. 10 Mb is the upper limit on what a single t…

Wow, an average of 30 terminals at all times? Just out of curiosity... what for exactly? Real-time monitoring?

Re: Xiki: An amazing shell

#46
post #31

Installed, started. xiki status says it's running but I'm back in my usual shell and nothing works any different. No mouse interaction like in the video. Maybe I'm missing something obvious, maybe the tutorial (Where is it?) or is it an OSX only thing? I'm on Linux. I started the web interface, used it to hook xiki to emacs, restarted emacs and run into the unfixed "error: el4r-instance is dead" bug. I stopped using…

One of the Kickstarter goals is making this process easier

Re: Xiki: An amazing shell

#47

Earlier quoted context omitted.

No, objects. Non-text. Real data. Plus methods. Read a PowerShell primer to better understand this. PowerShell is geniusly designed and horribly implemented, so there's little point actually using it, but UNIX could really really use some of its ideas.

It's impossible to “redesign” shell fundamentals in Unix because it will be incompatible with all other old-style utilies. And classic pipes are not so bad as PS evangelists saying. PS “objects” are basically .Net objects and you can't easily write python or perl applications compatible with PS features.

>It's impossible to “redesign” shell fundamentals in Unix because it will be incompatible with all other old-style utilies

So?

For one, you could redesign the basic utilities too. Or offer a sumplementary revamp versions of some.

Second, you could use them in a less capable "text mode" and still get all the other benefits from the new shell.

>And classic pipes are not so bad as PS evangelists saying.

Well, they are not that relevant to 2014 either.

Re: Xiki: An amazing shell

#48
post #25
post #16

Earlier quoted context omitted.

What features would you like to see in a Unix-like shell that are not available?

I think passing around real objects instead of character strings is cool. It's less brittle, and you don't have to have an ad-hoc and flawed parser at every step.

[deleted]

Re: Xiki: An amazing shell

#49

This feels very like what iPython notebooks provides, but applied to shell commands rather than code. It's a cute video, but I can't quite help feeling this is going to be far less useful in practice than it's made out to be.

I tend to agree. The biggest leap for me was switching to oh-my-zsh (near life changing). :-)

Autocomplete all the things

Re: Xiki: An amazing shell

#50
The whole bash shell is built around input/output. A command generates output. Which might be input for another program. This forces commands to be non-interactive, and just plaint text. But it comes with the immense power of building great programs using functional composition. It looks like Xiki breaks that in its core, and provides "UIX" ouputs to programs. I'm not sure i like that complexity. I'd prefer the simplicity that bash provides.
Post reply on HN