frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rethinking RSS, newsletters, and how I read every morning

https://sixcolors.com/post/2026/04/rethinking-rss-newsletters-and-how-i-read-every-morning/
1•01-_-•3m ago•0 comments

Show HN: Fact check, summarize, explain any article or webpage on local CPU

https://github.com/kouhxp/fftext
1•mrkn1•4m ago•0 comments

Making a New Plan

https://cate.blog/2026/06/02/making-a-new-plan/
1•adrianhoward•4m ago•0 comments

A nature-inspired ion trap for parallel manipulation of ions on a massive scale

https://www.science.org/doi/10.1126/sciadv.aec7048
1•bookofjoe•5m ago•0 comments

How to Train Your Goblin

https://goblins.mchen.workers.dev/
1•angristan•10m ago•0 comments

Magnetoelectric antennas could transform how underwater robots talk

https://newatlas.com/engineering/magnetoelectric-antennas-submarine-robots-communications/
3•breve•20m ago•0 comments

The Math sales gurus won't show you

https://julienreszka.com/blog/the-math-sales-gurus-won-t-show-you/
3•julienreszka•21m ago•0 comments

ESMFold 2 has the highest throughput on Tenstorrent AI processors

https://twitter.com/moritzthuening/status/2063382385845244281
3•molli•24m ago•0 comments

US to pull jets, destroyers and submarines from NATO in European drawdown

https://www.politico.eu/article/us-to-pull-jets-destroyers-and-submarines-from-nato-in-a-broader-...
4•breve•28m ago•0 comments

The breakneck AI boom is fueling anti-tech extremism

https://www.theguardian.com/technology/2026/jun/07/anti-ai-tech-extremism-violence
3•geox•28m ago•1 comments

If LLMs Have Human-Like Attributes, Then So Does Age of Empires II

https://arxiv.org/abs/2605.31514
2•Luc•29m ago•0 comments

Why Nigeria's stock market is falling – and when analysts expect a rebound

https://nairametrics.com/2026/06/05/why-nigerias-stock-market-is-falling-and-when-analysts-expect...
2•kckkmgboji•33m ago•1 comments

Oklo, a natural nuclear fission reactor

https://en.wikipedia.org/wiki/Natural_nuclear_fission_reactor
2•bkfh•33m ago•0 comments

SQLite-creative-coding: Creative coding in SQL

https://github.com/phenax/sqlite-creative-coding
2•thunderbong•43m ago•0 comments

Show HN: Grafana Cloud observability plugin for Hermes Agent

https://github.com/alexander-akhmetov/sigil-hermes
2•oboroten•46m ago•0 comments

Scientists ejected from diabetes conference for distributing journal reprints

https://arstechnica.com/science/2026/06/scientists-ejected-from-diabetes-conference-for-distribut...
25•BerislavLopac•48m ago•8 comments

Acquired.fm Carve Outs

https://acquired-carve-outs.vercel.app/
2•gwintrob•50m ago•0 comments

Floppy Disk patent was granted today in 1972 – when 80KB took up 8 inches

https://www.tomshardware.com/pc-components/storage/the-floppy-disk-patent-was-granted-today-in-19...
3•giuliomagnifico•55m ago•0 comments

How a PhD is like riding a bike (2025)

https://www.science.org/content/article/how-ph-d-riding-bike
3•the-mitr•55m ago•0 comments

Pennsylvania Healthcare meta analysis for June 2026 [pdf]

https://ia601502.us.archive.org/23/items/pa-rating-area-individual-analyses-june-2026/PA_Rating_A...
2•EddieMunsterrr•57m ago•0 comments

Ask HN: Why do AIs talk like this?

2•keepamovin•57m ago•1 comments

H2JVM – A Haskell Library for Writing JVM Bytecode

https://discourse.haskell.org/t/h2jvm-a-haskell-library-for-writing-jvm-bytecode/14182
2•rowbin•58m ago•0 comments

Automated QA and Testing with AI

https://antirez.com/news/168
3•Chrisszz•1h ago•0 comments

Show HN: YourMemory, agentic memory is a pruning problem, not a hoarding problem

https://yourmemoryai.vercel.app/
19•SachitRafa•1h ago•0 comments

Plumbum v2.0.0 Pythonic Shell Combinators Released

https://plumbum.readthedocs.io/en/latest/
2•GalaxySnail•1h ago•0 comments

An AI Story Just Won the Commonwealth Short Story Prize

https://tumbleweedwords.com/ai-literary-prize-flash-fiction.html
3•tumbleweedwords•1h ago•0 comments

I Used to Send Stories and Poetry in Envelopes for Your Consideration

https://tumbleweedwords.com/from-stamps-to-submittable-what-published-means-now.html
3•tumbleweedwords•1h ago•0 comments

Efficient and Training-Free Single-Image Diffusion Models

https://arxiv.org/abs/2606.04299
3•yorwba•1h ago•0 comments

Europe as a global standard-setter (2020)

https://www.epc.eu/publication/The-strategic-importance-of-Europe-37f244/
3•Tomte•1h ago•0 comments

Klarna CMO created an AI "venting machine" of himself

https://www.businessinsider.com/klarna-cmo-built-ai-replica-himself-colleagues-vent-at-2026-5
2•navs•1h ago•0 comments
Open in hackernews

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

2•zwnow•1y 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•1y 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•1y 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•1y 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•1y 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/