News for hackers. Stuff that matters.
Re:Show HN: Test Drive The RubyMotion Console From Your Browser by adriand on Wednesday May 09, 2012 @05:05PM (#3950469)
That is just ridiculously awesome. How on earth does this work?
Re:Show HN: Test Drive The RubyMotion Console From Your Browser by fpotter on Wednesday May 09, 2012 @05:15PM (#3950519)
Glad you like it! We spent all weekend hacking away on this - really excited to show it to everyone.

Behind the scenes we're running iOS apps on Macs and streaming the screen to you - sort of like a remote-desktop connection into a running app. We've built up a bunch of infrastructure to do that for our main product.

To make the RubyMotion REPL magic happen, we looked at the how RubyMotion launcher worked. RubyMotion apps expose the REPL over a UNIX socket, and you can write expressions and read results from there. So, we connect into that.

If anyone is curious, here's a DTrace script for peeking at the traffic going over the RubyMotion REPL socket: https://gist.github.com/2624774

Re:Show HN: Test Drive The RubyMotion Console From Your Browser by robotmay on Wednesday May 09, 2012 @06:16PM (#3950747)
Well talk about an excellent way to show off your platform. It's really smooth, nice work.
Re:Show HN: Test Drive The RubyMotion Console From Your Browser by username3 on Wednesday May 09, 2012 @05:10PM (#3950493)