Live data from Hacker News

Live Presidential Forecast

nytimes.com

11–20 of 318 posts

Re: Live Presidential Forecast

#11
post #5

Nice but the three top gauges are moving suspiciously fast. Do they add a little random the the real number to give a sort of error margin visualisation ?

I thought the same thing, would like to see the background calculations running all three.

Re: Live Presidential Forecast

#12
post #8
post #5

Nice but the three top gauges are moving suspiciously fast. Do they add a little random the the real number to give a sort of error margin visualisation ?

I just checked. They gauges moving around is definitely random. The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds. So all of the movement is just random jitter to make it engaging. Maybe a bit disingenuous. (Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of…

Check the websocket connection. Haven't noticed anything interesting coming down the pipe yet, but NYT is using it.

Re: Live Presidential Forecast

#13
post #8
post #5

Nice but the three top gauges are moving suspiciously fast. Do they add a little random the the real number to give a sort of error margin visualisation ?

I just checked. They gauges moving around is definitely random. The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds. So all of the movement is just random jitter to make it engaging. Maybe a bit disingenuous. (Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of…

Thanks the_duke!

Re: Live Presidential Forecast

#14
post #5

Nice but the three top gauges are moving suspiciously fast. Do they add a little random the the real number to give a sort of error margin visualisation ?

That's random, there is no network activity. Screams "black pattern", who on earth randomizes a graph on election results. Come on.

Re: Live Presidential Forecast

#16
post #8

Earlier quoted context omitted.

I just checked. They gauges moving around is definitely random. The updates are done with a "president.json" file, fetched every 15 seconds, but the timestamp in the json data only changes every 30-180 seconds. So all of the movement is just random jitter to make it engaging. Maybe a bit disingenuous. (Note: I first thought they might be using websockets, but no WS connection is made on the page. Only a ajax fetch of…

Check the websocket connection. Haven't noticed anything interesting coming down the pipe yet, but NYT is using it.

Nope, no websocket connection on that page.

That's what I checked first. ;)

Re: Live Presidential Forecast

#18

I feel that I'm an educated person, and I try to keep up with politics in America, but I really don't understand our system. How can some states be called with less than 20% of the votes being counted?

Just like there are swing states, there are swing counties. As soon as you figure their results out, you can call the state with a good degree of confidence.

Re: Live Presidential Forecast

#19
post #5

Nice but the three top gauges are moving suspiciously fast. Do they add a little random the the real number to give a sort of error margin visualisation ?

That's random, there is no network activity. Screams "black pattern", who on earth randomizes a graph on election results. Come on.

NYT is not known for accuracy

Re: Live Presidential Forecast

#20

I feel that I'm an educated person, and I try to keep up with politics in America, but I really don't understand our system. How can some states be called with less than 20% of the votes being counted?

I believe each individual network calls them at their own discretion. It's not an official "call" by the government or anything.

As to why so early, they have enough confidence in exit polls and other previous polls to say that, for example, Hillary is not going to win Oklahoma.

Post reply on HN