frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gobag: Semantic session archival for Claude Code

https://github.com/satmihir/gobag
1•musigma90•2m ago•0 comments

Bernstein's Factorization Method Helped Factor RSA-240 in 2020

https://leetarxiv.substack.com/p/bernsteins-factorization-method-helped
1•theanonymousone•4m ago•0 comments

Petal: Building the First Petabit-Class Transoceanic Subsea Cable

https://engineering.fb.com/2026/09/21/connectivity/petal-petabit-transoceanic-subsea-cable/
1•sbulaev•5m ago•0 comments

OpenAI projections point to a $278B cash burn through 2030

https://www.tomshardware.com/tech-industry/artificial-intelligence/openai-projections-point-to-a-...
2•MC995•6m ago•0 comments

LGBT tolerance slumps in the Netherlands, 22% of boys have LGBT+ positive views

https://www.dutchnews.nl/2026/09/lgbt-tolerance-slumps-in-the-netherlands-as-debate-turns-vicious/
2•alephnerd•6m ago•0 comments

Aura – Open-Source Framework for Detecting Social Engineering in LLMs

https://github.com/kate8382/AURA
2•kate8382•6m ago•0 comments

What would happen if the Yellowstone supervolcano erupted now

https://theconversation.com/end-of-humanity-blow-by-blow-account-of-what-would-happen-if-the-yell...
1•Stratoscope•7m ago•0 comments

How do I talk about using AI without sounding like an AI evangelist?

https://www.askamanager.org/2026/09/how-do-i-talk-about-using-ai-without-sounding-like-an-ai-evan...
1•MattSayar•10m ago•0 comments

Writing Rust code faster than SotA by asking agents to make the code faster

https://minimaxir.com/2026/09/agentic-iteration/
1•minimaxir•10m ago•0 comments

How to address the failures we found along the US border's "virtual wall"

https://www.technologyreview.com/2026/09/21/1144164/border-towers-surveillance-policy-recommendat...
1•joozio•10m ago•0 comments

France to Upgrade Heat Wave Modeling After Record Nuclear Curbs

https://www.bloomberg.com/news/articles/2026-09-21/france-to-upgrade-heat-wave-modeling-after-rec...
1•toomuchtodo•11m ago•1 comments

AI proves Medvedev logic is undecidable

https://arxiv.org/abs/2609.13359
2•carra•11m ago•0 comments

Amazon Blocks Meta's New Muse AI Agent from Shopping on Amazon.com

https://www.forbes.com/sites/jonmarkman/2026/09/21/amazon-blocks-metas-new-muse-ai-agent-from-sho...
5•simianwords•12m ago•0 comments

I don't care about majors, minors, or honors programs. Do you?

https://blog.computationalcomplexity.org/2026/09/i-dont-care-about-majors-minors-or.html
1•mathattack•13m ago•0 comments

Ask HN: How close are we to AI bubble bursting?

1•bg117•13m ago•0 comments

The Questionable Legality of ICE's Palantir Elite System

https://www.techpolicy.press/from-records-to-raids-the-questionable-legality-of-ices-palantir-eli...
2•cdrnsf•13m ago•0 comments

The Influence of AI on Human Decisions in DHS Surveillance

https://www.techpolicy.press/the-influence-of-ai-on-human-decisions-in-dhs-surveillance/
1•cdrnsf•13m ago•0 comments

What Jev Means for the Future of Evals

https://armank.com/thoughts/3
1•armank-dev•16m ago•0 comments

Hands-On with Googlebooks

https://www.tomshardware.com/laptops/hands-on-with-googlebooks-five-models-the-new-googlebook-os-...
1•Shuddown•16m ago•1 comments

North Korea Stopped Nuclear Testing in 2017, Triggered 1k Earthquakes Since

https://www.sciencealert.com/north-korea-stopped-nuclear-testing-in-2017-but-triggered-nearly-140...
1•gmays•17m ago•0 comments

The Sun Doesn't Shine on Me (2006)

https://fullhoffman.com/2006/03/20/the-sun-doesnt-shine-on-me/
1•simonebrunozzi•22m ago•0 comments

BBC removes 11 Mitchell and Webb comedy sketches from iPlayer

https://www.bbc.co.uk/news/articles/c6jdvpr30k8jo
2•benj111•22m ago•0 comments

You're a Meat Proxy

https://twitter.com/i/status/2101779116056088732
2•Michelangelo11•22m ago•0 comments

Antigravity Spaces – Switch Antigravity IDE Projects Easily

https://github.com/ApollosWave/antigravity-spaces
1•apolloswave•24m ago•0 comments

Iron willpower is an illusion – composure is the real engine of self-control

https://drdeborst.substack.com/p/iron-willpower-is-an-illusion-composure
2•dr-j•24m ago•1 comments

Show HN: Jobs at Recently Funded Startups

https://www.vcbacked.co/jobs
1•veritas9•24m ago•1 comments

Chess Design Timeline

https://chess-timeline.vercel.app/
2•msotomorras•26m ago•1 comments

Database Normalization

https://en.wikipedia.org/wiki/Database_normalization
1•gregsadetsky•28m ago•0 comments

We Asked a Urologist Whether Icing Your Testicles Boosts Testosterone

https://geiselmed.dartmouth.edu/news/2026/we-asked-a-urologist-whether-icing-your-testicles-reall...
1•harry_nutsachs•30m ago•0 comments

Guess the Country from Demographic Data

https://www.demoguessr.com/
1•BjarkeErichsen•31m ago•1 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/