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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: Presidential polling with instant electoral results

4 点作者 jkarneges7 个月前
Hi HN!<p>This is an experiment with low-friction, &quot;fearless&quot;, Internet-based polling. There is no authentication, only a captcha and restriction to US IP addresses. Congressional district is detected automatically. Selections can be changed at any time until the poll closes, kind of like a presidential caucus. Just tap to select. Tap again to change.<p>I built this after pondering about how polling (or even voting) could be improved through technology. Yes, digital voting is a tough space with trust issues. Maybe there are practical, partial solutions.<p>This is my third post. Earlier submissions didn&#x27;t perform well, probably because politics is a sensitive subject. However, this project is not political. It is about tech and process. I believe it&#x27;s an appropriate submission for HN and it ought to be interesting no matter your political leaning. Hopefully with this better framing there can be better discussion.<p>Another way of looking at it: if the poll results bother you, think about how improving polling&#x2F;voting generally might help your cause.<p>Here are some topics to guide constructive discussion:<p>* Internet-based polling. Can we make this a routine thing? Would it be worthwhile? Abuse prevention?<p>* Internet-based voting. About time or never gonna happen?<p>* Augmenting the voting experience. We don&#x27;t have ranked choice voting, but maybe it could be simulated in advance of an election. Maybe an organization could act as a delivery agent for mail-in votes.<p>* The tech stack. This project uses a combination of boring (Django+Postgres) and shiny (Fastly edge pub&#x2F;sub, captcha, etc). The database ought to be able to handle a few million participants. To get to a few hundred million I&#x27;d probably add more PG nodes and shard. Curious what others think about the database options for accurate+fast counting.<p>* Have fun with it! This isn&#x27;t a real election. If you want to VPN to an empty state to claim a bunch of electoral votes, go for it. I hope with enough participants the results would be mostly representative, though.<p>The poll will run every Monday afternoon&#x2F;evening until Election Day. It&#x27;s designed to withstand a good bit of traffic so feel free to share it.<p>Earlier posts: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41630976">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41630976</a> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41555752">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=41555752</a>

2 条评论

dragonwriter7 个月前
The problem with polling is getting a representative sample of the target population, which this doesn&#x27;t address any of the problems with, and there is no IP-based geolocation method that is accurate enough to reliably place a user in a particular congressional district even if they aren&#x27;t doing something like using a VPN. There’s a couple major markets where it will probably be unreliable as to state, as well as Congressional district.<p>&gt; Internet-based polling. Can we make this a routine thing?<p>Internet-based polling is already routine.<p>&gt; Internet-based voting. About time or never gonna happen?<p>What problem is this envisioned as solving?
评论 #41842045 未加载
评论 #41831100 未加载
RangerBerryCola7 个月前
&gt; You are outside of the United States and cannot participate. However, you can still watch the results!<p>I&#x27;m in Colorado, slap bang in the middle of the USA, connecting via AT&amp;T, not running a VPN. Are you using Fastly for geolocation? If so, that&#x27;s... bad...
评论 #41820971 未加载