News for hackers. Stuff that matters.
Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @12:39AM (#11228569)
I like how simplistic this is. Btw, I am one of the makers of: https://codepad.remoteinterview.io

We used Firepad[1] (which is based on Firebase) to sync data.

[1] https://github.com/firebase/firepad

Re:Show HN: Start a pair programming session over WebRTC by ... by jryan49 on Saturday March 05, 2016 @08:45AM (#11229480)
I suggest you do not run things as root inside your docker containers. :)
Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @01:55PM (#11230486)
You are correct. Working on it, Thanks!
Re:Show HN: Start a pair programming session over WebRTC by ... by tucosan on Saturday March 05, 2016 @09:33AM (#11229591)
How else would he do it?
Re:Show HN: Start a pair programming session over WebRTC by ... by pramodliv1 on Saturday March 05, 2016 @12:52PM (#11230176)
There are instructions in this best practices article: https://docs.docker.com/engine/userguide/eng-image/dockerfil...

(Search for "as root")

Re:Show HN: Start a pair programming session over WebRTC by ... by dkopi on Saturday March 05, 2016 @03:09AM (#11228848)
I'm fascinated by the use of random word combinations instead of a random alphanumeric sequence for passing a unique URL.

What was the reasoning behind this decision? On one hand, it sort of acts like a phonetic alphabet if you want to read out the URL over skype. But on the other hand - is OberonNostalgicCeciliaVoltage really that easy to spell if you aren't a native English speaker?

Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @08:30AM (#11229452)
Hello. As other comments mentioned, it is easier to communicate these URLs over the phone. These words were chosen very specifically to be short, phonetically different from one another, easy to understand over the phone, and also recognizable internationally. Here is the list:

http://web.archive.org/web/20090918202746/http://tothink.com...

Re:Show HN: Start a pair programming session over WebRTC by ... by tarr11 on Saturday March 05, 2016 @12:05PM (#11230027)
This always felt like overkill to me.

a 4 character alpha-numeric code is 36^4 (1.6M) which is fine for new websites.

If you run out, add a 5th character which gets you to 60M, and a 6th character gets you 2T.

Re:Show HN: Start a pair programming session over WebRTC by ... by moonshinefe on Saturday March 05, 2016 @03:43AM (#11228912)
I forget which site it is off the top of my head but there's a pretty prominent gif sharing site that does it I often get linked to.

I think it's basically just as you say, for English speakers anyway, a bit of an easier way to read out URLs when talking in person or voice chatting. With non-English speakers it doesn't do much, and you're forced to say letter for letter as you would with a lot of other URLs.

Re:Show HN: Start a pair programming session over WebRTC by ... by djhn on Saturday March 05, 2016 @06:02AM (#11229138)
One twist on this would be to somehow limit the wordlist to words that have relatively unambiguous pronunciation, and maybe limit those to the 100 000 most commonly used ones.

Of course then you'll have to use more words for a similar number of links.

Re:Show HN: Start a pair programming session over WebRTC by ... by anirudhrata on Saturday March 05, 2016 @04:42AM (#11228995)
its gfycat.com
Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @08:39AM (#11229473)
Yes gfycat is what partially inspired us too.
Re:Show HN: Start a pair programming session over WebRTC by ... by elliottcarlson on Saturday March 05, 2016 @08:44AM (#11229479)
Also, would "TouchingPlayfulEnjoyAspect" be something you want to tell a interview candidate? (First one it generated for me)
Re:Show HN: Start a pair programming session over WebRTC by ... by seang on Saturday March 05, 2016 @11:05AM (#11229842)
Well it would certainly make for a hilarious interview.
Re:Show HN: Start a pair programming session over WebRTC by ... by piyush_soni on Saturday March 05, 2016 @06:00AM (#11229135)
I stumbled upon your site a few days back. It's very neat and nicely done, but I had to close it because it treated C and C++ together. I wanted to quickly check how a code will behave in C89 vs C99 (or was it even compliant with C89 standards). Is there any chance your site will differentiate C89, C99 and C++ in near future? Thanks!
Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @08:34AM (#11229460)
Thanks, that is certainly on our list.
Re:Show HN: Start a pair programming session over WebRTC by ... by piyush_soni on Saturday March 05, 2016 @08:43AM (#11229478)
Great. Thanks!
Re:Show HN: Start a pair programming session over WebRTC by ... by asadlionpk on Saturday March 05, 2016 @08:53AM (#11229496)
Btw a workaround: You can enable the shell (from languages dropdown) and "cat > file.cpp" and compile it yourself with whatever compilers you want. You are also able to "apt-get" any other compilers/packages you need.
Re:Show HN: Start a pair programming session over WebRTC by ... by piyush_soni on Saturday March 05, 2016 @10:13PM (#11232308)
That's a little longer route but nice to know it's there!
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @12:57AM (#11237369)
I'm a huge fan of your site. Shoot me an email at josh.j.singer (at) gmail.com
Re:Show HN: Start a pair programming session over WebRTC by ... by greenspot on Saturday March 05, 2016 @03:39AM (#11228903)
For pair programming I can highly recommend tmux combined with any video chat (Skype, Hangout, etc.).
Re:Show HN: Start a pair programming session over WebRTC by ... by self_taught_ on Saturday March 05, 2016 @08:32AM (#11229455)
What we really need is a protocol so people can use their favourite editor without being forced to choose just one.
Re:Show HN: Start a pair programming session over WebRTC by ... by ytjohn on Saturday March 05, 2016 @10:50AM (#11229788)
For tmux, that opens up pretty much any terminal based editor (vim, emacs, nano) along with all the extensions you might install with it (and the build environment).

But for a protocol, I think what EtherPad (and google wave) had done with cell by cell action is what's needed. If google wave had taken off (and actually implemented their federation concept), I could definitely see people creating plugins to send and receive character operations via a google wave server.

Re:Show HN: Start a pair programming session over WebRTC by ... by timemachine on Saturday March 05, 2016 @12:12AM (#11228522)
WebRTC is a great tool and I expect to see more examples like this that will drive how we think about collaborative business tools over the next 5 years.
Re:Show HN: Start a pair programming session over WebRTC by ... by markwaldron on Friday March 04, 2016 @11:56PM (#11228474)
This is awesome! Is this open source? I'd love to learn more about it.
Re:Show HN: Start a pair programming session over WebRTC by ... by scotu on Saturday March 05, 2016 @03:28AM (#11228877)
Nicely done. I'm myself toying with webrtc and remote pair programming, so I think this is really cool.

One question: before beginning the session I got a "popup" claiming that the session is encrypted, does it just mean it's https or are you doing any other encryption?

Re:Show HN: Start a pair programming session over WebRTC by ... by Tepix on Saturday March 05, 2016 @06:23AM (#11229180)
They are referring to the video stream that is encrypted using RTPS (RTP + SSL), as is standard when using WebRTC.
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @12:58AM (#11237370)
That's right! :)
Re:Show HN: Start a pair programming session over WebRTC by ... by goatic on Saturday March 05, 2016 @10:46AM (#11229768)
I'm stuck connecting... :( tried both with my phone and my laptop - both in Chrome Version 49.0.2623.75 m

webrtc works fine, but I'm unable to type anything...

Re:Show HN: Start a pair programming session over WebRTC by ... by mukgupta on Saturday March 05, 2016 @04:39AM (#11228984)
It connected me with the developer but somehow I was not able to type anything. It kept displaying connecting.. I used Chrome.
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @12:58AM (#11237371)
Thanks for letting me know! Was running this on a small server and didn't expect it to blow up. Bug fixes coming in next week after I finish finals.
Re:Show HN: Start a pair programming session over WebRTC by ... by superplussed on Saturday March 05, 2016 @05:50AM (#11229115)
The same for me on Chrome and Firefox.
Re:Show HN: Start a pair programming session over WebRTC by ... by onetom on Saturday March 05, 2016 @08:24AM (#11229434)
Still the same on both Firefox 44.0.2 and Chrome 49.0.2623.75
Re:Show HN: Start a pair programming session over WebRTC by ... by mrborgen on Saturday March 05, 2016 @01:36PM (#11230390)
Hey, awesome service! I'd be interested in using this at my site (BugRex.com). We're a chat based help line for developers in the need for help. Sharing code is an issue we haven't solved properly yet. Let me know if you want to chat.
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @12:57AM (#11237368)
Email me at josh.j.singer (at) gmail.com
Re:Show HN: Start a pair programming session over WebRTC by ... by h43k3r on Saturday March 05, 2016 @08:38AM (#11229470)
It is just showing connecting with my own video at the right top corner. I think something is wrong. I am on the latest chrome.

Getting these errors in dev console. Could not open document: [object Object]

Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @12:56AM (#11237366)
Thanks for letting me know! Was running this on a small server and didn't expect it to blow up. Bug fixes coming in next week after I finish finals.
Re:Show HN: Start a pair programming session over WebRTC by ... by apap on Monday March 07, 2016 @10:14PM (#11243348)
This is amazing! Super hyped to see people building things that solves problems. Way to go.
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @10:40PM (#11243419)
:)
Re:Show HN: Start a pair programming session over WebRTC by ... by self_taught_ on Saturday March 05, 2016 @08:30AM (#11229451)
I like it. Only complaint is it seems to hijack the back button making it hard to get back to this page.
Re:Show HN: Start a pair programming session over WebRTC by ... by digital_ins on Saturday March 05, 2016 @02:37AM (#11228794)
This is awesome. Thank you for sharing!
Re:Show HN: Start a pair programming session over WebRTC by ... by jsin on Monday March 07, 2016 @01:08AM (#11237399)
It's back online!!!