News for hackers. Stuff that matters.
Re:Stratus Editor: a Node.js-powered web-based programmer's ... by benologist on Saturday February 11, 2012 @12:01PM (#3579570)
Looks interesting. There's a bug on the editor though, if I delete or backspace some content it orphans some lines at the bottom of the file. You can see it very visibly if you scroll right down the bottom and start backspacing, it erases 2 lines above the line you're on. (Chrome 17 / OS X).

Backspace is also one of the handful of reasons why I stopped using Cloud9 after playing with it a bit, if you lose connectivity right as you're pressing backspace it triggers the browser's back. Make sure the various ways you can leave that tab are protected - notification if you close it, disable back/forward.

Re:Stratus Editor: a Node.js-powered web-based programmer's ... by sentientwaffle on Saturday February 11, 2012 @12:05PM (#3579579)
Thanks for the feedback! I think that the backspace bug you are seeing has to do with the font load delay, because it doesn't surface when I run the server locally; I'll try and get that working.

As for redirecting, this is handled in the main editor with the `redirect` option (see http://stratuseditor.com/config/#redirect).

Re:Stratus Editor: a Node.js-powered web-based programmer's ... by prophetjohn on Saturday February 11, 2012 @11:26AM (#3579494)
This looks really cool, but I've yet to figure out how to create a new file and start using it.
Re:Stratus Editor: a Node.js-powered web-based programmer's ... by sentientwaffle on Saturday February 11, 2012 @11:27AM (#3579495)
Thanks for checking it out!

The embedded demo is only the editor component, to use files you need to install it (for security reasons). Installation instructions are at http://stratuseditor.com/manual/#Server+Installation.

Re:Stratus Editor: a Node.js-powered web-based programmer's ... by prophetjohn on Saturday February 11, 2012 @11:49AM (#3579549)
This is what I get when I try to build it

    $ stratus-bundle setup
    
    /usr/local/lib/node_modules/stratus-bundle/index.js:43
        for (_i = 0, _len = bundleNames.length; _i < _len;  _i++) {
                                   ^
    TypeError: Cannot read property 'length' of undefined
        at Object.oncomplete     (/usr/local/lib/node_modules/stratus-bundle/index.js:43:36)
Re:Stratus Editor: a Node.js-powered web-based programmer's ... by sentientwaffle on Saturday February 11, 2012 @12:08PM (#3579590)
Alright; I just pushed a fix. Try reinstalling stratus-bundle and then try again. (The latest version is 0.0.2).
Re:Stratus Editor: a Node.js-powered web-based programmer's ... by sentientwaffle on Saturday February 11, 2012 @11:55AM (#3579560)
I'm taking a look at it now; I'll reply when I push a fix.
Re:Stratus Editor: a Node.js-powered web-based programmer's ... by sentientwaffle on Saturday February 11, 2012 @10:19AM (#3579388)
This is my first open source project; I would appreciate any feedback.