TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Who Should Be the President?

9 点作者 jkarneges8 个月前
Hi HN!<p>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.<p>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.<p>The infra is Fastly &amp; 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.<p>Note: since my previous post, I&#x27;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.

8 条评论

acdha8 个月前
From the nation’s capital: “You are outside of the United States and cannot participate. However, you can still watch the results!”<p>We know we don’t have representation, you don’t need to rub it in ;-)
评论 #41631406 未加载
tadfisher8 个月前
I&#x27;m on a business trip so I can&#x27;t vote from the location where I can actually vote in the election.
评论 #41631137 未加载
评论 #41631127 未加载
twilightzone8 个月前
Worked as expected, for all the states I voted in.
shwaj8 个月前
RFK is still on the ballot in more than half of the states. He should be added to your site.<p><a href="https:&#x2F;&#x2F;www.cbsnews.com&#x2F;news&#x2F;rfk-jr-map-on-the-ballot-states&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.cbsnews.com&#x2F;news&#x2F;rfk-jr-map-on-the-ballot-states...</a>
评论 #41631148 未加载
评论 #41631147 未加载
ngcc_hk8 个月前
Fastly is an interesting choice.
johnea8 个月前
Bernie Sanders!!!<p>Assuming the desired outcome is actual democracy...
评论 #41631482 未加载
SV_BubbleTime8 个月前
No offense… but what exactly do you expect from this site?<p>I could have a made something that performs the same with with a blank page and Harris.jpeg
评论 #41631202 未加载
elfbargpt8 个月前
Surprised there aren&#x27;t more votes for Stein, hoping to see a big third party bump this election
评论 #41631170 未加载