Readit News logoReadit News
chrisweekly commented on Show HN: Minimal NIST/OWASP-compliant auth implementation for Cloudflare Workers   github.com/vhscom/private... · Posted by u/vhsdev
usefulposter · 5 hours ago
Oy.

Who specifically is this intended for? It's a wonder that the model didn't spice things up with some tangential compliance catnip like FIPS or PCI DSS.

I would be curious to see the prompts used to create this.

Recently, I don't think there could be a better example of applicability of Brandolini's law.

chrisweekly · 4 hours ago
Brandolini's law, aka the bullshit assymetry principle: it takes way more effort to refute bs than to create it.

FTR I'm not commenting on whether the posted project is bs, just clarifying the meaning of your last sentence.

chrisweekly commented on Show HN: Browse Internet Infrastructure   wirewiki.com... · Posted by u/pul
tushgaurav · 5 hours ago
i remember watching your DNS course, it was very good! Do you have any other resources that you like? where i can learn internet infra, dns or anything. Thanks!!
chrisweekly · 4 hours ago
HPBN -- High-Performance Browser Networking -- is an excellent (canonical?) resource: https://hpbn.co
chrisweekly commented on Making geo joins faster with H3 indexes   floedb.ai/blog/how-we-mad... · Posted by u/matheusalmeida
cullenking · 3 days ago
We do something similar for some limited geospatial search using elastic search. We make a set of h3 indexes for each of the hundreds of millions of gps recordings on our service, and store them in elastic search. Geospatial queries become full text search queries, where a point is on the line if the set of h3 indexes contains the point. You can do queries on how many cells overlap, which lets you match geospatial tracks on the same paths, and with ES coverage queries, you can tune how much overlap you want.

Instead of using integers IDs for the hexes, we created an encoded version of the ID that has the property that removing a character gets you the containing parent of the cell. This means we can do basic containment queries by querying with a low resolution hex (short string) as a prefix query. If a gps track goes through this larger parent cell, the track will have hexes with the same prefix. You don’t get perfect control of distances because hexes have varying diameters (or rather the approximation, since they aren’t circles they are hexes), but in practice and at scale for a product that doesn’t require high precision, it’s very effective.

I think at the end of this year we’ll have about 6tb of these hex sets in a four node 8 process ES cluster. Performance is pretty good. Also acts as our full text search. Half the time we want a geo search we also want keyword / filtering / etc on the metadata of these trips.

Pretty fun system to build, and the concept works with a wide variety of data stores. Felt like a total hack job but it has stood the test of time.

Thanks uber, h3 is a great library!

chrisweekly · 2 days ago
Awesome comment, thanks for sharing the details. I love this kind of pragmatic optimization. Also, one dev's "total hack* job" [e.g. yourself, in the past] is another's stroke of genius.

* I'd frame it as "kludge", reserving "hack" for the positive HN sense. :)

Deleted Comment

chrisweekly commented on I now assume that all ads on Apple news are scams   kirkville.com/i-now-assum... · Posted by u/cdrnsf
dlcarrier · 3 days ago
Which makes it even more tragic that the few good streaming shows produced recently are all on a network no one watches.

I am glad that they bought the rights to Brandon Sanderson's books, because I know Netflix wouldn't do them justice and Amazon prime would be far worse than that, but it also means that it will have a tenth of the available audience that a Netflix contract would have brought.

chrisweekly · 3 days ago
Hmm, your comment resonates in principle [caring about quality production of worthwhile narratives], but your specific examples show how much YMMV when it comes to subjective preferences. I was so grateful that Amazon Prime somehow did justice to The Expanse [I highly recommend the novels, and feel the show was one of the best-ever translations of sci-fi to the screen] and could never get into the Wheel of Time book series [tho I guess that was Jordan, not Sanderson, shrug].
chrisweekly commented on Flying Around the World in under 80 Days   pinchito.es/2026/avis-lxx... · Posted by u/alexfernandez
bigiain · 6 days ago
Speaking of Jules Vern and Round The World.

A new sailing record was set recently, which didn't _quite_ beat 40 days - it took them 40 days and almost 11 hours.

If you've ever seen a SailGP boat flying up out of the water on their hydrofoils and doing 100kmh - imagine a 32m long 26m wide ocean going trimaran doing the same thing in a non stop circumnavigation of the globe. I think they _averaged_ 27knots or 50kmh!

https://youtu.be/ffqhFyaCUFA

If you _haven't_ seen the SailGP boats and are curious, here's somewhere to start: https://youtu.be/BQWOoP-Iwn8

chrisweekly · 6 days ago
Thanks for sharing!
chrisweekly commented on Prek: A better, faster, drop-in pre-commit replacement, engineered in Rust   github.com/j178/prek... · Posted by u/fortuitous-frog
jiehong · 6 days ago
Yep, I think a watcher is better suited [0] to trigger on file changes.

I personally can't stand my git commit command to be slow or to fail.

[0]: such as https://github.com/watchexec/watchexec

chrisweekly · 6 days ago
I prefer to configure my IDE to apply precisely the same linting and formatting rules as used for commits and in CI. Save a file, see the results, nothing changes between save, commit, stage, push, PR, merge.

Deleted Comment

chrisweekly commented on Agent Skills   agentskills.io/home... · Posted by u/mooreds
empath75 · 6 days ago
Experimenting with skills over the last few months has completely changed the way I think about using LLMs. It's not so much that it's a really important technology or super brilliant, but I have gone from thinking of LLMs and agents as a _feature_ of what we are building and thinking of them as a _user_ of what we are building.

I have been trying to build skills to do various things on our internal tools, and more often then not, when it doesn't work, it is as much a problem with _our tools_ as it is with the LLM. You can't do obvious things, the documentation sucks, api's return opaque error messages. These are problems that humans can work around because of tribal knowledge, but LLMs absolutely cannot, and fixing it for LLM's also improves it for your human users, who probably have been quietly dealing with friction and bullshit without complaining -- or not dealing with it and going elsewhere.

If you are building a product today, the feature you are working on _is not done_ until Claude Code can use it. A skill and an MCP isn't a "nice to have", it is going to be as important as SEO and accessibility, with extremely similar work to do to enable it.

Your product might as well not exist in a few years if it isn't discoverable by agents and usable by agents.

chrisweekly · 6 days ago
Yeah, omnipresent LLMs are a kind of forcing function for addressing typical significant underinvestment in (human-readable) docs. That said, I'm not entirely sold on MCP per se.
chrisweekly commented on Kernighan on Programming    · Posted by u/chrisjj
awkward · 7 days ago
Kernighan's Lever - https://linusakesson.net/programming/kernighans-lever/index....

This article is perennially posted here and is probably the best breakdown of this quote.

chrisweekly · 7 days ago
awesome link, bookmarked, thanks for sharing

u/chrisweekly

KarmaCake day8931March 3, 2011
About
https://chrisweekly.com https://x.com/cweekly

[ my public key: https://keybase.io/cweekly; my proof: https://keybase.io/cweekly/sigs/Fd4C1Wir19FzE9qMFIbpoXWl_bIcEDdGBemcaYpLcp4 ]

View Original