99 karma · joined February 7, 2014
If you can tell me where you saw the wrong names for locations I would love to look into it. Thanks!
Other factors like rain could happen in the future.
When I was a kid — back when travelling still felt new and exciting — I would see a plane crossing the early evening sky and try to put myself in it. Not to go anywhere in particular. I just wanted to know what the world looked like from up there, right then, to whoever was sitting by that window.
The feeling was strongest at sunset. I'd be watching a good one from the ground and think about how much better it had to be from up there, above the haze, with the light coming in level. The same sunset from a perspective I couldn't reach.
Travel has lost most of that. Airports, queues, delays: everything wrapped around flying has got steadily worse. But the flying itself hasn't changed. An hour into a clear evening flight, forehead against the glass, looking down at a world you almost never see from that angle, and it is still one of the quietly moving experiences I know.
Stowaway is that part, without the rest of it.
All this attention has maxed out my Google 3D Tiles quota, so the ground textures in ride-along mode are being throttled. Everything else works — sky, aircraft and satellite tracking, sound — it's just the terrain that may come in flat or missing. I'm working on a caching layer and a proper fallback rather than just buying my way out of it, and I'd take suggestions if anyone's solved this before.
Thanks for checking it out!
To answer your questions about the alert code, yes it runs in a sandbox, but we also parse it and take it through a pretty lengthy pre-check process to weed out any code that might cause performance bottlenecks or general security problems.
As for websockets, we actually do support them (well, technically socket.io) but just don't make it very clear in the documentation. If you take a look at our open-source javascript client (https://github.com/buglabs/dweetio-client/blob/master/dweet....) you can see that we're actually using it there.
Hope that helps.
It's something we'll have to fix— maybe an option to turn off SSL for the freeboard, or like you say, create a proxy.
We'll look into it and have a solution soon.
Also, we only use socket.io for real-time pubsub, but you could just as easily use a polling mechanism with HTTP to get similar results if you're worried about the performance and overhead it carries.
I think perhaps the most important thing is to be very clear about our goals here. Dweet.io is NOT built for super low-latency pub/sub. IMHO most devices in the future of IOT won't need to communicate to the cloud more than a few times every minute or at the most once per second. For the devices that need low-latency (sub-second) pub/sub, I agree, you should look at other protocols like MqTT. But if I were a betting man, I'd say the vast majority of IOT devices in the future will not need this level of performance to warrant the extra headache.
If I was phishing to get you to click on a link to delete a resource, then I would need to know that token, and if I knew that token, then I could just delete it myself. Note that the HAPI spec discourages the use of cookies (which I agree could allow a phishing attack if you were using cookies as a security mechanism).
Their way:
DELETE /something HTTP/1.1
My way:
GET /delete/something HTTP/1.1
Do you really think one is more secure than the other?
For example: Here let me show you how to delete that resource using our API... Oh wait, damn. I can't show you because I have no way of sharing a link with you because it requires the DELETE verb. Just go read this documentation and get back to me when you're done. ;)
Nothing is perfect for everyone, and I think the response is probably the least important aspect of HAPI. The biggest bang for the buck in my mind is self documenting URLs and support for only HTTP-GET verbs. Just my $0.02 :)