frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

GitHub Stacks in Jujutsu

https://alan.norbauer.com/articles/github-stacks-with-jujutsu/
1•birdculture•52s ago•0 comments

Conjecscore

https://conjecscore.org/
1•thyrgle•55s ago•1 comments

Man attempts to prompt-inject court, fails

https://arstechnica.com/tech-policy/2026/08/suspecting-court-of-using-ai-man-injected-prompts-in-...
1•madaxe_again•2m ago•0 comments

OKLCH in CSS: why we moved from RGB and HSL

https://evilmartians.com/chronicles/oklch-in-css-why-quit-rgb-hsl
1•Trattue•3m ago•0 comments

Porkbun Forces ID Verification

https://www.reddit.com/r/selfhosted/comments/1rblh8n/porkbun_forces_id_verification/
3•trinsic2•5m ago•1 comments

Wikipedia: List of predictions for autonomous Tesla vehicles by Elon Musk

2•glaslong•5m ago•0 comments

Show HN: Embassia – LLM Search Console – Web crawlers talk to your site's agent

https://embassia.com
1•ramazanaliakdas•6m ago•0 comments

America's largest home lender falls out of the hamster wheel

https://www.ft.com/content/0a4794fa-7112-436f-a311-9077fcba14b8
1•petethomas•11m ago•0 comments

Show HN: Open-Source Paper

https://github.com/caffeinum/tracepaper
1•bykhun•15m ago•0 comments

Show HN: A sandbox for AI agents using nothing but Go's standard library

https://towardsdev.com/i-built-an-ai-agent-sandbox-from-the-go-standard-library-350ecac5d578?sk=f...
1•cheikhdev•18m ago•0 comments

Bill Gates' daughter Phoebe accused of 'cookie stuffing' scheme

https://nypost.com/2026/08/12/business/bill-gates-daughter-phoebe-accused-of-cookie-stuffing-sche...
5•randycupertino•19m ago•2 comments

Pikuma: SIMD in the 90s: Programming Intel's Pentium MMX

https://pikuma.com/blog/programming-intel-pentium-mmx-simd
1•rbanffy•20m ago•0 comments

Compilable Wishes

https://opentheory.substack.com/p/compilable-wishes
1•eatitraw•20m ago•0 comments

Vesta, adaptive ontology for Claude Code

https://github.com/kanjani-ai-research/Vesta
1•aug2uag•21m ago•1 comments

AI runs here. Not out there

https://osaurus.ai
1•ALLTaken•21m ago•0 comments

Ukrainian drones wipe out US tank brigade in live war game

https://arstechnica.com/gadgets/2026/08/ukrainian-drones-wipe-out-entire-us-tank-brigade-in-live-...
2•rbanffy•22m ago•0 comments

Show HN: AlmondLab – Virtual lab and Stage 1 report for salt-tolerant crops

https://consigcody94.github.io/saltwater-mini-almond/
1•sentinelowl•26m ago•0 comments

Are You a Human?

https://www.newyorker.com/magazine/2026/08/17/are-you-a-human
1•petethomas•27m ago•0 comments

Qwen 3.8 27B vs. Nemotron 3.5 vs. Muse Glimmer on an RTX 5090

https://kgptalkie.com/tutorials/generative-ai/qwen-3-8-27b-vs-nemotron-3-5-vs-muse-glimmer
1•2a0c40•29m ago•0 comments

Talking with Synopsys about the Physics of Chip Design at DAC 2026

https://chipsandcheese.com/p/talking-with-synopsys-about-the-physics
2•rbanffy•31m ago•0 comments

Lightweight Task agent – checkable receipts

https://github.com/GCLprimary/PAT
1•wwes369•32m ago•1 comments

Luigi Mangione pleads guilty to federal stalking charges in killing of UHC CEO

https://apnews.com/article/luigi-mangione-plea-unitedhealthcare-ceo-3b8a5bb41589c9f5f4775dba2beea66f
2•cagey•33m ago•0 comments

The online shopping trend where you buy nothing

https://restofworld.org/2026/south-korea-shopping-trend/
2•herbertl•38m ago•0 comments

YeshiAI – AI for spiritual practice across five religious paths

https://yeshi.ai/
1•eli_genc•38m ago•0 comments

R-rated director's cut of X-Files movie released

https://arstechnica.com/culture/2026/08/r-rated-directors-cut-of-x-files-film-restores-chris-cart...
3•nate•39m ago•0 comments

'Rehabilitated' postwar Germany's government was full of Nazis, study reveals

https://www.timesofisrael.com/study-reveals-how-rehabilitated-postwar-west-germanys-government-wa...
5•kome•43m ago•2 comments

I built an autonomous rover from scratch in my mom's basement

https://twitter.com/SohailMSayed/status/2088365274768572681
1•okincilleb•43m ago•1 comments

UK Bans Disposable BBQs

https://www.independent.co.uk/news/uk/home-news/disposable-bbq-ban-burnham-wildfires-heatwave-b30...
5•denysonique•47m ago•1 comments

Show HN: A simple, powerful, and cheaper email verification API

https://emailverifier.dev/
1•usamaejaz•48m ago•1 comments

Amélie's graphics library: small cross-platform RHI, D3D12, Metal 4 and Vulkan

https://github.com/AmelieHeinrich/agfx
2•klaussilveira•52m 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/