Hi, thanks for checking us out. We're happy to answer any questions in the comments. Some of you may be familiar with app.io's demo pages service which was discontinued in August. We loved using their service and we thought it'd be a blast building a replacement. Technologies used: node, socket.io, mongodb, html5 canvas
As previously the Head of BD at App.io, I applaud your efforts! Well done! Quite a few ways you can monetise, good luck! :)
Show HN: Run dedicated iOS Simulators in the browser
51–60 of 69 posts
Re: Show HN: Run dedicated iOS Simulators in the browser
#52Re: Show HN: Run dedicated iOS Simulators in the browser
#53Well, this is cool, but Safari allows for loading basically any file located on the filesystem. For instance, trying file:///etc/passwd results in file found but can not be opened by Safari. That could be an attack vector.
If it's the former, I think that's a 'vulnerability' with any site that has a file chooser.
If it's the latter, could you elaborate where and how you would do so? Perhaps you're saying you could load it through the simulator that's running on the actual computer/vm somewhere, but those simulator environment are sandboxes (afaik) so that you could only access files on within the simulator's context.
Re: Show HN: Run dedicated iOS Simulators in the browser
#54Just having the simulator isn't enough for us Xamarin developers. One big issue with Xamarin is that you need a mac (with xcode installed) on the network in order to do builds. If you could solve that issue along with the having the simulator online then you have my money.
There are a few online code compilers too like this Swift one (http://swiftstub.com/) to work with.
Certainly not ideal but probably not impossible.
P.S. at this time you're probably better with an OS X VPS.
Re: Show HN: Run dedicated iOS Simulators in the browser
#55Yo, dawg... http://i.imgur.com/Ib0WUeT.png
Re: Show HN: Run dedicated iOS Simulators in the browser
#56Re: Show HN: Run dedicated iOS Simulators in the browser
#57This is really cool! The "video" quality is pretty bad though. From what I can see, the app streams base64 encoded JPEGs via WebSockets and draws them in a Canvas. The overhead of sending complete images costs a lot of bandwidth. You may want to look into jsmpeg for live streaming: https://github.com/phoboslab/jsmpeg
MJPEG is supported in all browsers I know of, and would cut down on bandwidth by 33% over base64.
(If you really want to use WebSockets, a more dense encoding than base64 could also help - look into base85, for example.)
Re: Show HN: Run dedicated iOS Simulators in the browser
#58Re: Show HN: Run dedicated iOS Simulators in the browser
#59This is really cool! The "video" quality is pretty bad though. From what I can see, the app streams base64 encoded JPEGs via WebSockets and draws them in a Canvas. The overhead of sending complete images costs a lot of bandwidth. You may want to look into jsmpeg for live streaming: https://github.com/phoboslab/jsmpeg
base64 encoded JPEGs MJPEG is supported in all browsers I know of, and would cut down on bandwidth by 33% over base64. (If you really want to use WebSockets, a more dense encoding than base64 could also help - look into base85, for example.)
Re: Show HN: Run dedicated iOS Simulators in the browser
#60I'm not sure what problem this solves but it's technically cool.
I've heard in one episode of the Core Intuition podcast that Panic has actually spent some time polishing a simulator build of Transmit(?) for iOS, for use with app.io (a service which did the same thing as the OP until they pivoted). This is something I'd also love to do if this business promises to survive longer than app.io did.
This is especially interesting if you are an iOS freelancer who wants to show off their work, without clients having to create accounts etc. :)