tschak909 #1 Posted November 3, 2020 @BenjEdwards had proposed an electoral vote tracker late yesterday. After a bit of research and brisk coding, @mozzwald presented a PHP script that scraped the relevant data, and after an hour and a half of more brisk coding in CC65, I put together an Atari app, which is now on the fujinet.online server called election.atr. Which presents the electoral map in real-time with bar graphs. (this screenshot has test data and is not indicative of actual results) I'll be running it here in my lab all day. It updates every 15 minutes. -Thom 3 Quote Share this post Link to post Share on other sites
tsom #4 Posted November 3, 2020 Is the endpoint for the data public/available? Have a friend that would like to set something up on an classic Mac. Thanks! Quote Share this post Link to post Share on other sites
tschak909 #5 Posted November 3, 2020 Just now, tsom said: Is the endpoint for the data public/available? Have a friend that would like to set something up on an classic Mac. Thanks! If you look at the source code, you'll see the endpoint: https://github.com/FujiNetWIFI/fujinet-apps/blob/master/election2020/src/main.c#L47 1 Quote Share this post Link to post Share on other sites
tsom #6 Posted November 3, 2020 Oh thanks! Didn’t realize the source was posted! Quote Share this post Link to post Share on other sites
tschak909 #7 Posted November 3, 2020 1 minute ago, tsom said: Oh thanks! Didn’t realize the source was posted! Everything I do has source code. Period. -Thom 3 Quote Share this post Link to post Share on other sites
Albert #8 Posted November 3, 2020 While I think this #Fujinet Election Tracker is very cool, I just wanted to let everyone know that generally discussions of politics are forbidden on AtariAge. This walks the line, and as long as people don't start talking about the candidates and/or their political views, I'm fine with leaving it. Thank you, ..Al 5 Quote Share this post Link to post Share on other sites
toddtmw #9 Posted November 7, 2020 There seems to be a problem with the election tracker. it shows Trump 214 and Biden 290, but trumps bar is flashing and it says Trump wins. Edit: I had had it running since Tuesday. I reset the fujinet and reloaded it and it is now showing the correct winner. 2 Quote Share this post Link to post Share on other sites
tschak909 #10 Posted November 7, 2020 Yes, there was a bug that I had to hot fix. *blush* my bad -Thom Quote Share this post Link to post Share on other sites
toddtmw #11 Posted November 7, 2020 19 minutes ago, tschak909 said: Yes, there was a bug that I had to hot fix. *blush* my bad -Thom I just noticed the last update date is Oct 27? Quote Share this post Link to post Share on other sites
tschak909 #12 Posted November 7, 2020 am guessing that was a scrape glitch. https://fujinet.online/2020pres/ -Thom Quote Share this post Link to post Share on other sites
trent #13 Posted November 9, 2020 (edited) This is neat, thanks. Edited November 9, 2020 by trent Quote Share this post Link to post Share on other sites
www.atarimania.com #14 Posted November 9, 2020 Great stuff, can't even imagine the huge potential! Quote Share this post Link to post Share on other sites