<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: jkarneges</title><link>https://news.ycombinator.com/user?id=jkarneges</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 02 May 2026 00:53:41 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=jkarneges" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by jkarneges in "Is Rust faster than C?"]]></title><description><![CDATA[
<p>> Some people have reported that, thanks to Rust’s checks, they are more willing to write code that’s a bit more dangerous than in the equivalent C (or C++)<p>I rewrote a C project in Rust some years ago, and in the Rust version I included many optimizations that I probably wouldn't have in C code, thanks to the ability to do them "fearlessly". The end result was so much more performant I had to double check I didn't leave something out!</p>
]]></description><pubDate>Wed, 14 Jan 2026 15:47:36 +0000</pubDate><link>https://news.ycombinator.com/item?id=46617407</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=46617407</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46617407</guid></item><item><title><![CDATA[New comment by jkarneges in "Hacker News Live Feed"]]></title><description><![CDATA[
<p>I've had no trouble hitting the Firebase API at the speed items are created, with a 5 second delay between retries.<p>For scraping HN directly, in my experience you have to go extremely slow, like 1 minute between fetching items. And if you get blocked, it may be better to wait a long time (minutes) before trying again rather than exponential backoff, in order to get out of the penalty box. You'll need a cache for sure.</p>
]]></description><pubDate>Fri, 10 Oct 2025 16:36:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=45540830</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=45540830</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45540830</guid></item><item><title><![CDATA[New comment by jkarneges in "Hacker News Live Feed"]]></title><description><![CDATA[
<p>The HN/Firebase API doesn't make this easy. For <a href="https://hnstream.com" rel="nofollow">https://hnstream.com</a> I ended up crawling items to find the article.</p>
]]></description><pubDate>Thu, 09 Oct 2025 20:59:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=45533018</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=45533018</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45533018</guid></item><item><title><![CDATA[New comment by jkarneges in "Server-Sent Events as a Service"]]></title><description><![CDATA[
<p>Congrats on the project! You may be right. There are other SSE services, but I can't think of one that allows clients to subscribe without authentication.<p>Not requiring client auth certainly makes things simple. It can even work for private data if the topics are sufficiently unguessable.</p>
]]></description><pubDate>Mon, 22 Sep 2025 16:56:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=45336211</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=45336211</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45336211</guid></item><item><title><![CDATA[Show HN: Fastly Pub/Sub]]></title><description><![CDATA[
<p>Hi HN!<p>Fastly Pub/Sub makes it easy to send messages in real-time to browsers and other devices, using SSE or MQTT. It is built on top of Fanout, our global connection management & message routing infrastructure, which means it works at mega scale across all of Fastly's 100+ regions (POPs). We hope folks find it to be a compelling alternative to other "real-time pub/sub" SaaS offerings.<p>Also, we are shipping this product in a novel way: as an open source app for Fastly Compute. You can run it on Fastly as-is or fork it if you'd like. It runs serverlessly and there is nothing to manage. It's free to try since all the components it depends on have free tiers/trials, and the app itself has no cost of its own. The costs of using it are simply the costs of Compute & dependencies.<p>There's a demo here: <a href="https://pubsub-test.glitch.me/" rel="nofollow">https://pubsub-test.glitch.me/</a><p>With the demo you can play around with sending messages between browser windows and with curl.<p>Announcement & setup guide here: <a href="https://dev.to/fastly/announcing-the-pubsub-compute-app-35ki" rel="nofollow">https://dev.to/fastly/announcing-the-pubsub-compute-app-35ki</a><p>Let us know what you think!</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43196060">https://news.ycombinator.com/item?id=43196060</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 27 Feb 2025 16:48:44 +0000</pubDate><link>https://github.com/fastly/pubsub</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=43196060</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43196060</guid></item><item><title><![CDATA[New comment by jkarneges in "How Gothic architecture became spooky"]]></title><description><![CDATA[
<p>> the kids who grew up in those homes are writing things that take place there<p>This is kind of like how trench coats are associated with detectives, because they were regular clothing for anyone around the time of early detective films.</p>
]]></description><pubDate>Mon, 28 Oct 2024 20:38:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=41976016</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41976016</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41976016</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Presidential polling with instant electoral results"]]></title><description><![CDATA[
<p>I agree it has some problems. For now, it is mostly a UX proof-of-concept and probably not how an official poll should be conducted.<p>> What problem is this envisioned as solving?<p>Its core mission is to legitimize all candidates on the ballot. This is something caucuses and ranked-choice voting can do, but since our general elections don't work this way, I wonder if the voting experience could be augmented from the private sector. (Of course, efforts to change how our actual elections work is still worthwhile and can be pursued in parallel).<p>Basically, if enough people (millions) were to use an app like this to meta-vote before committing to a single actual vote, we could simulate alternative voting processes without government involvement.</p>
]]></description><pubDate>Mon, 14 Oct 2024 21:09:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=41842045</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41842045</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41842045</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Presidential polling with instant electoral results"]]></title><description><![CDATA[
<p>It's a proof-of-concept for a potential startup idea, not endorsed by my employer. I simply picked tech in arms reach.<p>Maybe in 2028 this could be a real thing, regardless of where it is running. An edge cloud does seem ideal for national live events though.</p>
]]></description><pubDate>Mon, 14 Oct 2024 20:12:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=41841418</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41841418</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41841418</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Presidential polling with instant electoral results"]]></title><description><![CDATA[
<p>Hmm. Yes, using Fastly for that. Can you go to <a href="https://ileantoward.com/geotest" rel="nofollow">https://ileantoward.com/geotest</a> and see if anything looks fishy? Notably country_code and region (region should have a state code if country is "US").</p>
]]></description><pubDate>Sat, 12 Oct 2024 17:50:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=41820971</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41820971</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41820971</guid></item><item><title><![CDATA[New comment by jkarneges in "Fastly Instant Purge: Under 150ms for over a Decade"]]></title><description><![CDATA[
<p>I'm not sure there'd be much benefit to using shielding with WebSockets, since the traffic wouldn't be cached/collapsed. You can still shield HTTP traffic on the same domain being used for WebSockets.<p>WAF could be nice though.</p>
]]></description><pubDate>Wed, 09 Oct 2024 00:53:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=41783404</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41783404</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41783404</guid></item><item><title><![CDATA[New comment by jkarneges in "Fastly Instant Purge: Under 150ms for over a Decade"]]></title><description><![CDATA[
<p>> Does Fastly support WebSockets yet?<p>It does! Can be served at the edge or passed through to origin.</p>
]]></description><pubDate>Tue, 08 Oct 2024 21:48:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=41782126</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41782126</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41782126</guid></item><item><title><![CDATA[Show HN: Presidential polling with instant electoral results]]></title><description><![CDATA[
<p>Hi HN!<p>This is an experiment with low-friction, "fearless", 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'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'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/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'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/sub, captcha, etc). The database ought to be able to handle a few million participants. To get to a few hundred million I'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'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/evening until Election Day. It's designed to withstand a good bit of traffic so feel free to share it.<p>Earlier posts:
<a href="https://news.ycombinator.com/item?id=41630976">https://news.ycombinator.com/item?id=41630976</a>
<a href="https://news.ycombinator.com/item?id=41555752">https://news.ycombinator.com/item?id=41555752</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41768232">https://news.ycombinator.com/item?id=41768232</a></p>
<p>Points: 4</p>
<p># Comments: 8</p>
]]></description><pubDate>Mon, 07 Oct 2024 17:08:34 +0000</pubDate><link>https://ileantoward.com/</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41768232</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41768232</guid></item><item><title><![CDATA[New comment by jkarneges in "Life, death, and retirement"]]></title><description><![CDATA[
<p>> almost no one on their death bed wishes they had spent more time working / on their computer<p>And old age isn’t needed to figure this out. Even middle age will do. When I reflect on my life, I almost never think about past work.<p>(Yet, I remain mostly working.)</p>
]]></description><pubDate>Sun, 06 Oct 2024 15:41:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=41757873</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41757873</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41757873</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p><i>facepalm</i></p>
]]></description><pubDate>Mon, 23 Sep 2024 22:49:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=41631406</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41631406</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41631406</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p>Does HN skew democratic? Maybe so. Still interesting to see the breakdown.</p>
]]></description><pubDate>Mon, 23 Sep 2024 22:21:18 +0000</pubDate><link>https://news.ycombinator.com/item?id=41631202</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41631202</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41631202</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p>One of the goals with the non-binding vote aspect is to encourage people to fearlessly vote their first choice. They can always change it to something else at the last minute.<p>Then again, since this is only polling and not real voting, there's not much to lose anyway.</p>
]]></description><pubDate>Mon, 23 Sep 2024 22:16:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=41631170</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41631170</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41631170</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p>He dropped out while I was developing this, so I removed him. But I could re-add him if it makes sense.</p>
]]></description><pubDate>Mon, 23 Sep 2024 22:13:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=41631148</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41631148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41631148</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p>Sorry about that! To keep friction low and to avoid people voting in the wrong state on purpose there's no way to select your location. In a future iteration I want to relax this but not sure how yet.</p>
]]></description><pubDate>Mon, 23 Sep 2024 22:12:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=41631137</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41631137</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41631137</guid></item><item><title><![CDATA[Show HN: Who Should Be the President?]]></title><description><![CDATA[
<p>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 & 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'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.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41630976">https://news.ycombinator.com/item?id=41630976</a></p>
<p>Points: 9</p>
<p># Comments: 21</p>
]]></description><pubDate>Mon, 23 Sep 2024 21:51:11 +0000</pubDate><link>https://ileantoward.com/</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41630976</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41630976</guid></item><item><title><![CDATA[New comment by jkarneges in "Show HN: Who Should Be the President?"]]></title><description><![CDATA[
<p>Needs more participants. :) If there were thousands of votes I expect the percentages would align with traditional polling, although if they didn't that would be super interesting.</p>
]]></description><pubDate>Mon, 16 Sep 2024 14:51:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=41556698</link><dc:creator>jkarneges</dc:creator><comments>https://news.ycombinator.com/item?id=41556698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41556698</guid></item></channel></rss>