weiyin

Joined 12 years ago

Karma
282
Submissions
34
Member since
Jun 5
Developer, currently working on https://appetize.io and https://median.co

https://github.com/weiyin

View on Hacker News

Recent submissions

Comment · 12 years ago
Agreed. This is an issue not just for Safari, but someone can upload a specially crafted app that browses the file system.

In this iteration we are using the OS permission system to isolate users. We are looking into more effective sandbox methods. Security is an ongoing process, and we always take an adversarial point of view when evaluating our system.

Comment · 12 years ago
Thanks, it means a lot to us coming from you guys!
Comment · 12 years ago
No worries, that's a mock location. Thanks!
Comment · 12 years ago
Definitely on our to-do list. Stay tuned!
Comment · 12 years ago
Agreed! We are also working on supporting additional device types (iPad, iPad mini, iPhone 6(+)).
Comment · 12 years ago
Comment · 12 years ago
uh... oh boy. you're really pushing the boundaries of our testing... :)
Comment · 12 years ago
definitely a possibility :)

we'll check that out, thanks for the heads up.

Comment · 12 years ago
We wrote some custom OS X code to capture frames from individual processes. That way the simulators don't need to be positioned in any way or even visible. Cheers.
Comment · 12 years ago
Hey B-n-c, You are pretty much spot on with everything you mentioned.

Apparently app.io had some setup w/ VMs running on lightweight hypervisors (https://macstadium.com/casestudies), but we found we didn't have to have all that overhead to run multiple simulators per machine.

And you're exactly right about the small piece of custom code to pass controls and send frames. We're big fans of socket.io - pretty powerful stuff!

Happy to answer follow-ups if we missed something.

Thanks, weiyin

Comment · 12 years ago
we did some testing using compressed video, but ended up finding single frames to be more performant. also, the setup can handle much higher framerate and quality but we've kept things fairly lean for the demo :) can easily handle 15fps w/ high quality images. thanks again for the questions and comments.
Comment · 12 years ago
hi tuscany,

all solid points, and thanks for your support.

we will definitely need to think through abuse, server costs, etc. it's a pretty lean setup but still gotta run on mac hardware :)

weiyin

Comment · 12 years ago
Hi Michael.

Thanks for taking a look! And sorry our site is having some problems on Firefox. Maybe use Chrome for now until we fix it up.

This service we put together would allow anybody to run iOS simulators in the browser for a whole variety of reasons. For example, a developer can easily send builds to clients/colleagues or even embed the demo in a website or blog post.

Cheers, Weiyin

Comment · 12 years ago
Thanks for the suggestion, that looks like a cool library. A future goal is to be able to provide higher resolution images to fully show off the high DPI displays.
Comment · 12 years ago
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

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton