Monday, 9 February 2026

New top story on Hacker News: Show HN: Minimal NIST/OWASP-compliant auth implementation for Cloudflare Workers

Show HN: Minimal NIST/OWASP-compliant auth implementation for Cloudflare Workers
11 by vhsdev | 4 comments on Hacker News.
This is an educational reference implementation showing how to build reasonably secure, standards-compliant authentication from first principles on Cloudflare Workers. Stack: Hono, Turso (libSQL), PBKDF2-SHA384 + normalization + common-password checks, JWT access + refresh tokens with revocation support, HTTP-only SameSite cookies, device tracking. It's deliberately minimal — no OAuth, no passkeys, no magic links, no rate limiting — because the goal is clarity and auditability. I wrote it mainly to deeply understand edge-runtime auth constraints and to have a clean Apache-2.0 example that follows NIST SP 800-63B / SP 800-132 and OWASP guidance. For production I'd almost always reach for Better Auth instead ( https://ift.tt/DoKkNQp ) — this repo is not trying to compete with it. Live demo: https://private-landing.vhsdev.workers.dev/ Repo: https://ift.tt/filwPa9 Happy to answer questions about the crypto choices, the refresh token revocation pattern, Turso schema, constant-time comparison, unicode pitfalls, etc.

New top story on Hacker News: Matrix messaging gaining ground in government IT

Matrix messaging gaining ground in government IT
11 by rbanffy | 1 comments on Hacker News.


New top story on Hacker News: Show HN: Algorithmically Finding the Longest Line of Sight on Earth

Show HN: Algorithmically Finding the Longest Line of Sight on Earth
16 by tombh | 5 comments on Hacker News.
We're Tom and Ryan and we teamed up to build an algorithm with Rust and SIMD to exhaustively search for the longest line of sight on the planet. We can confirm that a previously speculated view between Pik Dankova in Kyrgyzstan and the Hindu Kush in China is indeed the longest, at 530km. We go into all the details at https://alltheviews.world And there's an interactive map with over 1 billion longest lines, covering the whole world at https://map.alltheviews.world Just click on any point and it'll load its longest line of sight. Some of you may remember Tom's post[1] from a few months ago about how to efficiently pack visibility tiles for computing the entire planet. Well now it's done. The compute run itself took 100s of AMD Turin cores, 100s of GBs of RAM, a few TBs of disk and 2 days of constant runtime on multiple machines. If you are interested in the technical details, Ryan and I have written extensively about the algorithm and pipeline that got us here: * Tom's blog post: https://ift.tt/Rfxgu0l * Ryan's technical breakdown: https://ift.tt/KVE5LPR This was a labor of love and we hope it inspires you both technically and naturally, to get you out seeing some of these vast views for yourselves! 1. https://ift.tt/anFKmEb