frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Context Mode – 315 KB of MCP output becomes 5.4 KB in Claude Code

https://github.com/mksglu/claude-context-mode
1•mksglu•1m ago•0 comments

'People are doing dumb things', says Jamie Dimon amid fears of AI bubble

https://www.thetimes.com/business/companies-markets/article/people-are-doing-dumb-things-says-jam...
1•petethomas•2m ago•0 comments

Elaine Radigue, Electronic music pioneer, dies at 94

https://www.theguardian.com/music/2026/feb/24/eliane-radigue-french-composer-dies-aged-94
1•telesilla•5m ago•0 comments

How you invent math: From counting to complex numbers

https://growingswe.com/blog/inventing-math
1•adityaathalye•12m ago•0 comments

Tesla must face lawsuit alleging anti-American bias in hiring, US judge rules

https://www.reuters.com/legal/government/tesla-must-face-lawsuit-alleging-anti-american-bias-hiri...
1•1659447091•15m ago•0 comments

Destroy My Startup

https://shipordie.club/roast/startup
1•alexlock•17m ago•0 comments

Glazyr Viz – A Hardened Chromium Fork for Sub-16ms Agentic Vision

https://glazyr.com/
1•mcpmessenger•19m ago•2 comments

RFC 406i - The Rejection of Artificially Generated Slop

https://406.fail/
1•pabs3•21m ago•0 comments

Ask HN: Do you measure non human traffic impact as a financial metric?

1•redwine13•26m ago•0 comments

The database that's 1000x faster – SpacetimeDB 2.0 [video]

https://www.youtube.com/watch?v=C7gJ_UxVnSk
1•agentifysh•26m ago•1 comments

Show HN: Factagora – AI agents compete on predictions, time proves who's right

https://factagora.com
3•randybaek•27m ago•2 comments

Apple removing "Foxconn" from photos of workers at new Houston plant

https://imgur.com/a/Vxd9Mtc
5•icwtyjj•28m ago•1 comments

GPT-OSS Optimizations on Nvidia Blackwell: Pushing the Pareto Frontier

https://blog.vllm.ai/2026/02/01/gpt-oss-optimizations.html
1•roody_wurlitzer•28m ago•0 comments

Show HN: Open-source temporary email service using haraka and node

https://www.freecustom.email/en
1•dishantsinghdev•28m ago•0 comments

Don't Post on Product Hunt

https://ziva.sh/blogs/dont-post-on-product-hunt
1•OsrsNeedsf2P•31m ago•0 comments

Submerged Canoes Offer New Insights into Ancestral Traditions Waterways (2025)

https://www.wisconsinhistory.org/Records/Article/CS17431
1•1659447091•33m ago•0 comments

Show HN: 1Password Replica (Security Challenge)

https://github.com/rajksarkar/vaultkeeper
1•davinci123•33m ago•1 comments

The war against PDFs is heating up

https://www.economist.com/business/2026/02/24/the-war-against-pdfs-is-heating-up
3•petethomas•35m ago•1 comments

Show HN: Add price tags to 50 product photos in minutes (no Canva/PS)

https://pricetaggenerator.com
1•oliveroll•36m ago•0 comments

Nvidia's Insane AI Found the Math of Reality [video]

https://www.youtube.com/watch?v=WNsSzX0L4Es
1•surprisetalk•39m ago•0 comments

Addition Under Pressure

https://twitter.com/DimitrisPapail/status/2024555561199480918
1•vismit2000•39m ago•0 comments

Show HN: Riverse – Local AI agent with memory that grows over time

https://github.com/wangjiake/JKRiver
1•collenjk•40m ago•0 comments

SaaS Is Dead. I Buried It in 15 Days. Here's the Proof

1•htuzel•40m ago•0 comments

The writing was always the cheap part

https://passo.uno/real-cost-of-documentation/
1•theletterf•41m ago•0 comments

Is LipoVive Legit? 2026 Reddit and Health Forum Roundup

https://www.morningstar.com/news/accesswire/1138075msn/lipovive-reviews-shocking-2026-report-what...
1•makugats•42m ago•1 comments

Agents of Chaos

https://arxiv.org/abs/2602.20021
1•nextos•42m ago•0 comments

Socialist Excellence in New York City

https://pluralistic.net/2026/02/24/mamdani-thought/
1•pabs3•48m ago•0 comments

Data center developers asked Trump for an exemption from pollution rules

https://grist.org/regulation/these-data-center-developers-asked-trump-for-an-exemption-from-pollu...
5•billybuckwheat•49m ago•0 comments

Fry's Food and Drug

https://en.wikipedia.org/wiki/Fry%27s_Food_and_Drug
1•pinkmuffinere•53m ago•0 comments

Show HN: AgentPass – Identity layer for AI agents (passports, email, trust)

https://github.com/kai-agent-free/AgentPass
1•kai_agent•55m ago•1 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/