Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jkarneges
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jkarneges
2mo ago
You don't need django-channels anymore for SSE: https://docs.djangoproject.com/en/6.0/ref/request-response/#...
2.
▲
by
jkarneges
8mo ago
> 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++) I rewrote a C project in Rust some years ago, and in the Rust version I included
3.
▲
by
jkarneges
11mo ago
I've had no trouble hitting the Firebase API at the speed items are created, with a 5 second delay between retries. For scraping HN directly, in my experience you have to go extremely slow, like 1 minute between fetching items. And if
4.
▲
by
jkarneges
11mo ago
The HN/Firebase API doesn't make this easy. For https://hnstream.com I ended up crawling items to find the article.
5.
▲
by
jkarneges
1y ago
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. Not requiring client auth certainly makes things simple. It can even work for pr
6.
▲
Show HN: Fastly Pub/Sub
(github.com)
2 points
by
jkarneges
2y ago
|
0 comments
7.
▲
by
jkarneges
2y ago
> the kids who grew up in those homes are writing things that take place there 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.
8.
▲
by
jkarneges
2y ago
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. > What problem is this envisioned as solving? Its core mission is to legitimize all candidates on the ba
9.
▲
by
jkarneges
2y ago
It's a proof-of-concept for a potential startup idea, not endorsed by my employer. I simply picked tech in arms reach. Maybe in 2028 this could be a real thing, regardless of where it is running. An edge cloud does seem ideal for natio
10.
▲
by
jkarneges
2y ago
Hmm. Yes, using Fastly for that. Can you go to https://ileantoward.com/geotest and see if anything looks fishy? Notably country_code and region (region should have a state code if country is "US").
11.
▲
by
jkarneges
2y ago
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. WAF could be nice t
12.
▲
by
jkarneges
2y ago
> Does Fastly support WebSockets yet? It does! Can be served at the edge or passed through to origin.
13.
▲
Show HN: Presidential polling with instant electoral results
(ileantoward.com)
4 points
by
jkarneges
2y ago
|
8 comments
14.
▲
by
jkarneges
2y ago
> almost no one on their death bed wishes they had spent more time working / on their computer 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. (Y
15.
▲
by
jkarneges
2y ago
facepalm
16.
▲
by
jkarneges
2y ago
Does HN skew democratic? Maybe so. Still interesting to see the breakdown.
17.
▲
by
jkarneges
2y ago
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. Then again, since this is only polling and not real voting, ther
18.
▲
by
jkarneges
2y ago
He dropped out while I was developing this, so I removed him. But I could re-add him if it makes sense.
19.
▲
by
jkarneges
2y ago
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.
20.
▲
Show HN: Who Should Be the President?
(ileantoward.com)
9 points
by
jkarneges
2y ago
|
21 comments
21.
▲
by
jkarneges
2y ago
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.
22.
▲
by
jkarneges
2y ago
Hi HN! I made a presidential polling website with real-time electoral results. It requires semi-live participation and votes can be changed at any time. Only visitors from the USA can participate. Congressional district is determined by IP
23.
▲
Show HN: Who Should Be the President?
(ileantoward.com)
3 points
by
jkarneges
2y ago
|
6 comments
24.
▲
by
jkarneges
2y ago
I operate a bit like this too, after I noticed a friend requiring a whole pot of coffee to get through the day. In the morning if I'm desiring coffee I ask myself for the justification. Bad sleep on a random weekday is not sufficient.
25.
▲
by
jkarneges
2y ago
There's also Pushpin, if you want the API to blend with your existing app. Disclosure: Pushpin lead dev.
26.
▲
by
jkarneges
3y ago
> rust async seems to be a terrible design blunder [...] that could destroy the community and render the language worthless What an extreme take! Async Rust as-it-is makes perfect sense for Rust's primary audience: folks who desire
27.
▲
by
jkarneges
3y ago
Thanks for the thoughtful reply. What you describe sounds awesome, and in fact some of these concepts are present in our stack but not fleshed out to this level, so maybe we could get there someday. The challenge is making it practical. Cur
28.
▲
by
jkarneges
3y ago
> why is there no Lambda-like serverless compute substrate that allows your function to speak a connection-oriented protocol, by externalizing the connection-hold-open and per-connection book-keeping state into the routing layer, such th
29.
▲
Fastly acquires Domainr
(businesswire.com)
3 points
by
jkarneges
3y ago
|
0 comments
30.
▲
Turning a Fast Network into a Smart Network with Autopilot
(fastly.com)
2 points
by
jkarneges
3y ago
|
0 comments
More ›