Hacker Newsnew | past | comments | ask | show | jobs | submit | clvv's commentslogin

This video has a very good introduction to the problem.

https://www.youtube.com/watch?v=eAiJocr6ZKg


Tools similar to z:

1. [Autojump](https://github.com/joelthelion/autojump), first implementation and what z was based on, written in python. Functionality similar to z.

2. [Fasd](https://github.com/clvv/fasd), feature-rich fork of z, support for files, support for more shells and platforms (BSDs, Android).


I wonder if there're any plans to make it self-hosting. It would be more appealing if it can run in browsers and node like CoffeeScript.


Not sure if I understand your suggestion... I suppose if one wants to write server-side code in a Haskell-ish language then one would simply use standard Haskell plus Yesod or another web framework.


It is always better to have alternatives. Being self-hosting and compiling to a widely-used language like javascript is definitely a plus. Another useful case is that an interactive "Try Fay" page can be setup (like "Try CoffeeScript" page).


Elm is actually self-hosting by your standard.

If the average IQ of the world population is higher, I think Haskell will become a widely-used language. Haskell is a language much more than its syntax, and takes a lot of effort to learn.


That's why it sucks, sir.


I do have some plans to make a JSON Fay-in-JS-out service. Possibly with some “export compressed as .tar.gz” feature to give you a production-ready export.

It would even be quite cool to make a REPL and development environment, but that's a little far off.


There is no reason it would not work in node and browser currently is there?


    The Fay compiler is written in Haskell,
    so you will need the Haskell platform
    installed (or at least Cabal).
I don't know if it is a Fay-compatible subset of Haskell, but I would not bet on it :)


I think the compiler would already be available in javascript if that's the case.


I hope Firefox OS will get frequent updates just like desktop browsers. If Mozilla manages to bring all the advantages of modern desktop browser technologies on to a mobile platform, I vision they will gain their market share.


but everyone hates firefox updates: http://www.forbes.com/sites/adriankingsleyhughes/2012/07/10/... ;)

I agree though, anything to push desktop browser technologies to a mobile platform faster is a great thing.


What about Native American cultures? They had not seen horses until the Europeans arrived, but they certainly had pants.


I think that point was made in the article--they wore kilts, not pants, before Europeans.


If you're using X, then xcape can map both Esc and Ctrl to Capslock. https://github.com/alols/xcape


Now that is clever. Thanks for this.


Here is a quick-and-hackish way to stream / broadcast your terminal (http://www.commandlinefu.com/commands/view/6788/):

    script -qf | tee >(nc -l -p 5000) >(nc -l -p 5001) >(nc -l -p 5002)
The client can then run `nc your_ip port` to watch your terminal live.

Also, I once wrote a node.js script that broadcasts recorded terminal sessions. To see a demo:

    nc wei23.net 5000
Code is on Github: https://github.com/clvv/scriptbroadcast


Netcat continually astounds me. The amount of functionality that that little tool provides is just short of incredible.


It's actually not so much netcat, but the Unix system that has such flexibility.


Definitely hackish, but still useful. Thanks for sharing!


The problem is the lack of an efficient input method. I personally haven't come across any good soft full keyboard. And special keys won't work on bluetooth keyboards on old Android versions. I personally do not have a ICS device yet, but I think it's definitely possible to develope on ICS if the input problem is solved.


> It's a near certainty that a bash interpreter will be available on a Unix system; bash has become the JVM of the Unix world.

Don't assume this if you want your shell scripts to be portable. Follow posix standard instead.


I agree that WebOS has a good ambition. But maybe that they should have updated their software stack more often. If you look at the software versions, such as Webkit, V8, node, you find that their collection of tools are heavily outdated. That's completely against the nowaday web standard of fast updating.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: