Internet Roadtrip: Vote to steer
224 points
5 months ago
| 24 comments
| neal.fun
| HN
hobofan
5 months ago
[-]
Oh boy that's going to be hefty bill for the street view API, isn't it?

300 people * 12 votes/min -> 3600 street view events/min

3600 events/min * $0.002/event -> $7.2/min (at current usage)

reply
caseyy
5 months ago
[-]
A clever trick would be to cache all options in the 8-second voting window and then blast them out to the clients. By the time the vote concludes, the clients would already have the image of the next step, and the server would have had 8 seconds to send that to 400+ people. Plus, only a few maps API calls.

Though I'm not sure the StreetView API allows caching. Having worked with maps APIs in the past, I know they often don't allow it.

reply
moron4hire
5 months ago
[-]
It is not clear what, exactly, they consider caching. There are caches everywhere, some of them practically outside of my application's control. Are those a violation of the ToS? Ask the ToS says is "caching".

They also have to catch you, first.

reply
jdranczewski
4 months ago
[-]
I'm late to the thread, but Neal actually uses the embed API here, which is free with no limits. The website has two Street View iframes, and it fades between them when the new pano is loaded. Pretty funny way to avoid a hilariously large bill!
reply
higgins
5 months ago
[-]
he cached the planet
reply
nosrepa
5 months ago
[-]
CACHE THE PLANET!
reply
Boogie_Man
5 months ago
[-]
1. Query the server for the URL

2. Use JavaScript to publish it to the webpage in an iframe

3. ????

4. Profit

You know our boy Neil isn't paying for shit lmao he's a real one

reply
moritonal
5 months ago
[-]
Love the immediate protest votes of Horn after we missed the turn.
reply
echelon
5 months ago
[-]
I see this domain and immediately get excited.
reply
rwmj
5 months ago
[-]
Nice! There was a Daedalus (https://en.wikipedia.org/wiki/David_E._H._Jones) column along the same lines back in the day. A bus where passengers could vote for how to steer, with the ones paying most money having the most votes. (https://genome.ch.bbc.co.uk/b7f0cfb077d6ad0f094d665e2bca7072)
reply
gadtfly
5 months ago
[-]
Great old Twitch energy.

Badly needs inline chat to be complete.

reply
Maxion
5 months ago
[-]
Volume control needs to also be votable.
reply
4157983953
4 months ago
[-]
It wont work on my computer
reply
ffsm8
5 months ago
[-]
I'm missing a history of past votes. Maybe a sliding window of the last n votes that you participated in and how you voted - as well as how it resolved.

Another idea that comes to mind is a to foster solidarity between voters by maybe notifying you if there is someone that voted exactly like you for the last n votes. Might be harder to do unless you're syncing votes via webrtc already

reply
bibelo
5 months ago
[-]
the number of cool ideas this Neal guy has is too damn high
reply
dleeftink
5 months ago
[-]
Fun idea! In between votes, the app could prefetch the next streetview frames, making it a bit more seamless once the vote has been cast?
reply
HanShotFirst
5 months ago
[-]
The only thing I wish for is that the map showed the whole path taken since the website went live!
reply
gadtfly
5 months ago
[-]
Does it not? Zoom out on the map.
reply
Jarwain
5 months ago
[-]
I've found it to not work consistently. When I first started it showed the whole thing, but after playing for a while and some refreshes it only shows the path that this browser has seen. So if I switch apps for a while with it running in the bg, then come back, it skips straight from where we were when I last played to where we are now
reply
bill123459
4 months ago
[-]
AGH why isn't it showing the street view??? It just shows the map.
reply
kylecazar
5 months ago
[-]
Cool.. Interesting that we are going "forward" using the rear street view image, giving the impression that we're in the wrong lane heading towards oncoming traffic
reply
macNchz
5 months ago
[-]
Somehow appropriate for a crowdsourced experience of driving.
reply
rzzzt
5 months ago
[-]
It looks like a game of chicken for minutes now (we are driving on the left side of the road, red car is on a collision course but somehow it can still maintain an even distance).
reply
abound
5 months ago
[-]
I wanted to turn left off of Stow St (and so did everyone else it seems), but at the intersection, there were no left-facing arrows, so we're still on Stow St.
reply
4157983953
4 months ago
[-]
Bro it doesn t work then again im on my school computer
reply
foobahhhhh
5 months ago
[-]
Tip: open in new tab. History entry per click!
reply
_QrE
5 months ago
[-]
I love the radio, that's a great touch.
reply
ris
5 months ago
[-]
Let's take this thing to Canada.
reply
robertclaus
5 months ago
[-]
I don't understand why this clown car can't u-turn on these streets...
reply
babbledabbler
5 months ago
[-]
I wonder how hard it would be to use AI to generatively interpolate the images so it could be a video stream.
reply
mcint
5 months ago
[-]
It needs to resolve faster if more people vote, based on a running average of voters, or sqrt of viewers present.
reply
lkramer
5 months ago
[-]
Great that it's stuck driving in the correct side of the road
reply
notpushkin
5 months ago
[-]
#VoteHonk
reply
paulddraper
5 months ago
[-]
Why does it vote every 30 feet, when there is only one option?

Seems very slow.

reply
Jarwain
5 months ago
[-]
Well, it's a road trip! Whoever said road trips are fast?
reply
euvin
5 months ago
[-]
Good point, but I wish I could swivel my head to enjoy the scenery at least.
reply
greesil
5 months ago
[-]
Are we there yet?
reply
phreack
5 months ago
[-]
We're closer than we were before!
reply
Jarwain
5 months ago
[-]
Also the vote timer is shorter if there's only one option!
reply
insin
5 months ago
[-]
It's about the journey, not the destination
reply