Show HN: Test Drive The RubyMotion Console From Your Browser
1–10 of 17 posts
Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#2Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#3That is just ridiculously awesome. How on earth does this work?
Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#4That is just ridiculously awesome. How on earth does this work?
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
#5Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#6Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#7That 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…
Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#8Re: Show HN: Test Drive The RubyMotion Console From Your Browser
#9> I am a large company or a student. Do you offer site licenses or educational discounts? Yes. Contact us and we can work something out.