News for hackers. Stuff that matters.
Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by fudged on Monday February 20, 2012 @12:24PM (#3613033)
I've been looking for something similar for a long time. But this has a lot of issues.

Problems:

1. You don't have any syntax highlighting for Java, C, C++, etc? These are very popular languages.

2. My browser's (Chrome, OSX) spell-checker underlines everything in the editor, which is extraordinarily distracting.

3. Some common text-entry keyboard shortcuts don't work (ex. Command+Delete)

4. Needs some privacy and sharing options.

5. From my experience with other collaborative editors, it also needs a way to download the document from the command line.

Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by werg on Monday February 20, 2012 @12:32PM (#3613071)
Yes, problems abound :)

1. In fact, there is syntax highlighting for all the C-like languages, it's the mode called 'clike'. I guess that label isn't so very fortunate 2. Oh actually, the underlining has been added by me as a means to do author attribution. I should add a checkbox to turn it on and off. Before I had had the text background in various colors but I found that to be an even worse distraction. 3. The keyboard shortcuts are tricky. I'll have to delve into that a bit more (and test across platforms). 4. So obviously for now it's just security-by-obscurity. For now you can take the sourcecode and host it somewhere private. I left out explicit user account management in order to get the first version out the door. 5. Hmm. that's a very interesting thought! It should be fairly easy to build a small command-line tool to upload and download files.

Thanks for the feedback!

Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by fudged on Monday February 20, 2012 @12:44PM (#3613117)
As a newb, I thought clike was an esoteric language I'd never heard of :) The underlines are a good idea for attribution, perhaps make them straight instead of squiggly, and drop the opacity? I'm not sure.

As for the CLI interface, I was just referring to wget/curl on a specific URL to download the file. If you add in passwords on documents, make sure this is supported in your wget/curl implementation. There was another site that I tried this on, and they hadn't considered this despite having access through wget/curl.

Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by xymostech on Monday February 20, 2012 @01:20PM (#3613273)
What browser are you using? In Chrome 19 dev, I'm not getting squiggly lines, I'm getting some sort of randomly dashed lines, which are very annoying.

If the underlines were less distracting, I think this would be really wonderful!

Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by werg on Monday February 20, 2012 @01:43PM (#3613348)
OK I'll make them optional! Will take a few minutes because I do the colors by adding CSS-rules to the DOM on the fly. They look rather petite on my browser though :)
Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by werg on Monday February 20, 2012 @02:18PM (#3613475)
Done. Thanks for the input!
Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by lubutu on Monday February 20, 2012 @12:52PM (#3613153)
May I add, font-size: 7pt? I genuinely cannot read any of the text on this page. Please just let the user decide the best font size for them.
Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by werg on Monday February 20, 2012 @12:57PM (#3613177)
Sure. Before I had an way to hide the footer I set it to small text so as to minimize distractions. Should set it back.
Re:Show HN: A Collaborative Code Editor (like EtherPad with ... by werg on Monday February 20, 2012 @02:15PM (#3613462)
Done. not sure if it's optimal this way though... I'll have to think of a nicer interface. Just couldn't make myself put up another bootstrap toolbar.