Live data from Hacker News

Show HN: Test Drive The RubyMotion Console From Your Browser

pieceable.com

1–10 of 17 posts

Re: Show HN: Test Drive The RubyMotion Console From Your Browser

#4
post #2

That is just ridiculously awesome. How on earth does this work?

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

#5
This is actually really cool for other things than RubyMotion. The biggest drawback of having to pay for frameworks and development toolkits is that you cannot easily test drive them (the reason I am a fan of the free-for-personal GPL/BSD + commercial license model). This potentially takes away some of those concerns.

Re: Show HN: Test Drive The RubyMotion Console From Your Browser

#7
post #4
post #2

That is just ridiculously awesome. How on earth does this work?

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…

Well talk about an excellent way to show off your platform. It's really smooth, nice work.
Post reply on HN