from Hacker News

Show HN: Who Should Be the President?

by jkarneges on 9/23/24, 9:51 PM with 21 comments

Hi HN!

I made a live presidential polling website with real-time electoral results. Votes can be changed at any time until the poll closes. Only visitors from the USA can participate. Congressional district is detected automatically.

The idea is to enable a coordinated voting process, where selections are non-binding and negotiable rather than blindly cast once. Kind of like a presidential caucus, but national and over the Internet.

The infra is Fastly & DigitalOcean. Backend is a Django service running on DO App Platform with Postgres. Fastly is used for edge logic, captcha, geo location, and pushing updates to the page (Fanout). In theory it should be able to handle millions of participants.

Note: since my previous post, I've added a way to close the poll after a time period. I realized that without some kind of time boxing it was unclear what the point is or how long to participate.

  • by acdha on 9/23/24, 10:42 PM

    From the nation’s capital: “You are outside of the United States and cannot participate. However, you can still watch the results!”

    We know we don’t have representation, you don’t need to rub it in ;-)

  • by tadfisher on 9/23/24, 10:09 PM

    I'm on a business trip so I can't vote from the location where I can actually vote in the election.
  • by twilightzone on 9/23/24, 11:41 PM

    Worked as expected, for all the states I voted in.
  • by shwaj on 9/23/24, 10:12 PM

    RFK is still on the ballot in more than half of the states. He should be added to your site.

    https://www.cbsnews.com/news/rfk-jr-map-on-the-ballot-states...

  • by ngcc_hk on 9/23/24, 10:23 PM

    Fastly is an interesting choice.
  • by johnea on 9/23/24, 10:39 PM

    Bernie Sanders!!!

    Assuming the desired outcome is actual democracy...

  • by SV_BubbleTime on 9/23/24, 10:12 PM

    No offense… but what exactly do you expect from this site?

    I could have a made something that performs the same with with a blank page and Harris.jpeg

  • by elfbargpt on 9/23/24, 10:10 PM

    Surprised there aren't more votes for Stein, hoping to see a big third party bump this election