frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

500 days of rdigest – a "feeds digest" CLI tool

https://notes.druchan.com/500-days-of-rdigest
1•druchan89•57s ago•0 comments

Formal proof that a categorical phase-skip detector catches what CUSUM/GLR can't

https://www.academia.edu/164981853/Resonant_Symbolic_Operator_Calculus_RSOC_Formal_Convergence_Pr...
1•nicbogaert•1m ago•1 comments

Context Window has its own physics

https://conikeec.substack.com/p/the-context-window-has-a-physics
1•rishabhaiover•1m ago•0 comments

Show HN: Cooperation Cube – a semi-cooperative game with a rotating cube

https://cooperationcube.com
1•diasks2•3m ago•0 comments

Ask HN: How do you get users for free tool suite without annoying self promo?

1•orbydx•3m ago•0 comments

LLMs: Solvers vs. Judges

https://bensantora.com/posts/llms-solvers-vs-judges/
1•truelinux1•4m ago•1 comments

Show HN: iTerm2 tab status for Claude Code sessions – see which tab needs you

https://github.com/JasperSui/claude-code-iterm2-tab-status
1•suiyang03•6m ago•1 comments

Poll: Should Hacker News implement ActivityPub and federate?

https://cosocial.ca/@evan/116186269769918819
1•elfstudent•7m ago•0 comments

Why Not Boost?

https://twitter.com/XCSme/status/2030276189089103930
1•XCSme•9m ago•0 comments

Show HN: Free AI tools comparison engine with 300 side-by-side reviews

https://aitoolvs.com/
1•arenas2026•11m ago•0 comments

How to stop fighting with coherence and start writing context-generic trait imp

https://contextgeneric.dev/blog/rustlab-2025-coherence/
2•todsacerdoti•11m ago•0 comments

I rewatched Silicon Valley. Now it's not a comedy, it's a manual

1•Andronovman•11m ago•2 comments

The One-Person Stack

https://www.ivan.codes/blog/the-one-person-stack
3•andout_•12m ago•0 comments

Anthropic and The Pentagon

https://www.schneier.com/blog/archives/2026/03/anthropic-and-the-pentagon.html
3•aduffy•13m ago•1 comments

Gitzy is now on TestFlight A modern, native iOS Git client

https://testflight.apple.com/join/SB16NCfr
1•marc0janssen•14m ago•1 comments

My dad made the biggest jewelled egg in the world

https://www.theguardian.com/books/2026/mar/07/paul-kutchinsky-egg-obsession-destroy-marriage-fami...
2•n1b0m•15m ago•0 comments

Palantir and Anthropic AI helped the US hit 1k Iran targets in 24 hours

https://www.moneycontrol.com/europe/?url=https://www.moneycontrol.com/world/how-palantir-and-anth...
3•rainhacker•17m ago•1 comments

Show HN: OSle now has a C API and still fits in 510 bytes

https://github.com/shikaan/osle/releases/tag/16800a5
1•shikaan•17m ago•0 comments

'Mainly, you fast fooded': Monzo UK bank under fire over 'shaming' year reviews

https://www.theguardian.com/money/2026/mar/07/monzo-customer-language-year-in-monzo-review
2•lonelyasacloud•18m ago•1 comments

Tell HN: If your idea is worth stealing, AI makes it easy. NDA or not

3•NatalijaAAD•20m ago•1 comments

Show HN: I gave Claude a Stripe account and said make $1M. Day 1

https://dashboard-mocha-delta-98.vercel.app
1•Auto_Claude•20m ago•0 comments

Show HN: Torrent Preview – macOS QuickLook extension for .torrent files

https://github.com/sveinbjornpalsson/TorrentPreview
2•sveinbjornp•21m ago•0 comments

Claude Code deletes developers' production setup, including database

https://www.tomshardware.com/tech-industry/artificial-intelligence/claude-code-deletes-developers...
3•vanburen•22m ago•0 comments

Paperclip – Open-source orchestration for zero-human companies

https://paperclip.ing/
3•microsoftedging•23m ago•0 comments

Show HN: Turn ordinary selfies into high-quality dating photos

https://www.aidatepics.com/
1•mohitvaswani•23m ago•0 comments

Dropcomments for your static site generator blog

https://dropcomments.net/
2•shozzipen•25m ago•0 comments

No you can't build it in a day

https://blog.alaindichiappari.dev/p/no-you-cant-build-it-in-a-day
2•alainrk•27m ago•0 comments

Show HN: Smelt – Extract structured data from PDFs and HTML using LLM

https://github.com/akdavidsson/smelt
2•smeltcli•27m ago•0 comments

Claude built a system in 3 rounds, latent bugs from round 1 exploded in round 3

https://github.com/mycelium-clj/mycelium/blob/main/benchmarks/SCALING.md
3•yogthos•32m ago•0 comments

The Case of the Disappearing Secretary

https://rowlandmanthorpe.substack.com/p/the-case-of-the-disappearing-secretary
3•rwmj•32m ago•0 comments
Open in hackernews

Ask HN: Why is web auth not a solved issue?

2•zwnow•10mo ago
Personally, every project I start, I quit due to not being comfortable with the auth implementation.

I've been into web development for 4 years now. During my research regarding auth in this timeframe, I have found a million reasons on why I should not roll it myself. The reason is always it being to difficult to implement, too much responsibility and basically no matter how I'd do it, it would be unsafe.

The general consensus among web developers seems to be to just let a third party do it. And I understand the reasoning, they are experts and have decades of experience on that specific thing. It makes sense as long as you're fine with third party service dependencies for your application. However, I don't want that. I do not feel comfortable submitting my users data to tech giants for obvious reasons.

I am wondering why it's so difficult to implement secure auth? Why can frameworks like Laravel or Phoenix just generate auth solutions? Why should I trust them, if everyone is saying I shouldn't roll it myself?

After all, if Laravels or Phoenix generated auth isn't safe, I am the one taking responsibility anyway, no?

To my understanding web auth has been an issue for decades now, why aren't there protocols in place to solve it? Or if they are, why aren't they talked about a lot?

Considering how often I read about auth breaches with the big players in the game (Firebase as an example) I am not comfortable trusting third parties with that task either.

So how is one supposed to do it? There are so many JWT tutorials on youtube, but apparently JWTs aren't safe either. Then there are session cookies, which also aren't safe? Why is that?

I am also not talking about authorization. I specifically mean authentication. If I wanted a micro blog platform where users can log into their accounts and write about stuff, how would I make sure it's secure without having to trust third parties, especially big tech companies who repeatedly prove they cant be trusted over and over again?

Comments

arrowsmith•10mo ago
> if Laravels or Phoenix generated auth isn't safe

What makes you think they're not safe? Zillions of successful apps have been built using Laravel and Phoenix and (afaik) no-one has hacked their auth code yet. The code is open-source for anyone to inspect for vulnerabilities. I wouldn't feel unsafe using them.

You seem to misunderstand what it means to "roll your own auth".

"Don't roll your own auth" doesn't mean "use a third-party auth provider". It means "use an existing, expert-made auth solution and don't try to write it yourself."

That can be a third-party provider like Firebase, it can be a code dependency like Rails's Devise, it can be generated by `phx.gen.auth` in Phoenix, it doesn't matter - the point is that you're using a tried-and-tested auth solution written by someone who knows what they're doing.

Writing your own auth code is generally a bad idea because it's complicated, time-consuming and easy to get wrong. But there are zillions of off-the-shelf solutions you can use that have been created by security experts and battle-tested in thousands of production apps. As far as I'm concerned, web auth is a solved problem.

zwnow•10mo ago
Interesting. When I generate auth for Phoenix the API endpoints are not piped through any security pipes. Only the browser endpoints. Why wouldn't I secure my API endpoints? The same kind of requests that are made for browser requests are sent to the API routes, so this is really confusing.
arrowsmith•10mo ago
Ah yes. `phx.gen.auth` generates a cookie-based auth system, which is fine for the :browser pipeline but it's not generally what you want for a JSON API.

The Phoenix docs include a suggestion for how you can extend `phx.gen.auth` to add token-based authentication to your API: https://hexdocs.pm/phoenix/api_authentication.html

(No, this isn't "rolling your own auth" either, it's using someone else's pre-written auth code.)

johncoltrane•10mo ago
> The general consensus among web developers seems to be to just let a third party do it.

Outside of personal projects, third-party auth providers must be audited (think GDPR or PIPL), budget must be allowed, contracts signed, etc. so web developers rarely, if ever, have their say on the matter. The decision is taken long before anyone wrote a single line of code. From a project management perspective, it's an easy trade-off to make: one sprint for integrating Okta versus who knows how many for badly implementing something that requires a level of expertise that no one on the team has reached.

For personal projects, the trade-off is a bit different. Resources are scarce so, even if implementing auth is actually not very complicated(1) and can even be quite fun, there are probably more immediately interesting things to do. So you integrate a third-party solution in a wednesday night and you move on.

[1] https://thecopenhagenbook.com/