frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

User reports indicate problems at Vodafone

https://downdetector.co.uk/status/vodafone/
1•ks6g10•1m ago•1 comments

Fed Chair Warns Trump Admin May Be Seriously Exaggerating Jobs Numbers

https://newrepublic.com/post/204298/fed-chair-powell-trump-admin-exaggerating-jobs-numbers
2•cmiles74•2m ago•0 comments

Science Funding Goes Beyond the Universities

https://www.wsj.com/opinion/science-funding-goes-beyond-the-universities-d7395da3
1•atlasunshrugged•4m ago•1 comments

Our Overfitted Century

https://www.theintrinsicperspective.com/p/our-overfitted-century
1•paulpauper•9m ago•0 comments

Where Do You Stand?

https://www.hyperdimensional.co/p/where-do-we-stand
1•jger15•13m ago•0 comments

The Story of Erdős Problem #1026

https://terrytao.wordpress.com/2025/12/08/the-story-of-erdos-problem-126/
2•amichail•14m ago•0 comments

Show HN: Meal Tracker – Weekend hack using LLM to get food macros from photos

https://meal-tracker.fly.dev/login
1•ashish01•14m ago•0 comments

Transforming animation with machine learning (2021)

https://medium.com/embarkstudios/transforming-animation-with-machine-learning-27ac694590c
1•within_will•14m ago•0 comments

Netflix's Reed Hastings on the Impact of AI on Schools

https://www.the74million.org/article/netflixs-reed-hastings-on-the-impact-of-ai-on-schools/
1•paulpauper•16m ago•0 comments

At least five interesting things: Debunking the Debunkers edition (#73)

https://www.noahpinion.blog/p/at-least-five-interesting-things-93d
1•paulpauper•17m ago•0 comments

Show HN: Readly – Speed-read PDFs with RSVP and inline word highlight

https://play.google.com/store/apps/details?id=com.bufferlabs.readly&hl=en_US
1•sumit-paul•17m ago•0 comments

Show HN: Storyloom – Deterministic Storytelling Framework

https://jcpsimmons.github.io/storyloom/
1•joshcsimmons•20m ago•0 comments

GitHub: Review Commit-by-Commit

https://github.blog/changelog/2025-12-11-review-commit-by-commit-improved-filtering-and-more-in-t...
1•danielfalbo•23m ago•0 comments

In letter to tech, 42 AG's target "sycophantic and delusional" AI outputs [pdf]

https://www.iowaattorneygeneral.gov/media/cms/12_68B5C629180F6.pdf
1•CGMthrowaway•24m ago•1 comments

Windows 3.1 'Hot Dog Stand' color scheme true story

https://www.pcgamer.com/software/windows/windows-3-1-included-a-red-and-yellow-hot-dog-stand-colo...
4•naves•25m ago•0 comments

Softverse: Auto-Compute Citations to Software from Replication Files

https://github.com/recite/softverse
1•neehao•26m ago•0 comments

Do Dyslexia Fonts Work?

https://www.edutopia.org/article/do-dyslexia-fonts-actually-work/
1•speckx•26m ago•0 comments

It's always DNS part ∞: tracking down a use-after-free bug in Envoy's DNS

https://www.pomerium.com/blog/its-always-dns-part-tracking-down-a-use-after-free-bug-in-envoys-dn...
3•bdesimone•28m ago•0 comments

Palantir sues CEO of rival firm, alleges widespread effort to poach employees

https://www.wsj.com/business/palantir-sues-ceo-of-rival-ai-firm-alleges-widespread-effort-to-poac...
4•givemeethekeys•30m ago•1 comments

Show HN: Managed MCP Sandbox Environments for RL Training on Tool Use

3•wirehack•30m ago•0 comments

The Best Open Weights Coding Models of 2025

https://blog.brokk.ai/the-best-open-weights-coding-models-of-2025/
1•indigodaddy•30m ago•0 comments

Social media research tool can lower political temperature

https://phys.org/news/2025-11-social-media-tool-political-temperature.html
1•PaulHoule•31m ago•0 comments

Updated Gemini 2.5 Flash Native Audio Model

https://blog.google/products/gemini/gemini-audio-model-updates/
3•pretext•32m ago•0 comments

A new preprint server welcomes papers written and reviewed by AI

https://www.science.org/content/article/new-preprint-server-welcomes-papers-written-and-reviewed-ai
2•BeetleB•32m ago•0 comments

The Vibe Coding Landscape: The Orchestrator Fix

https://www.getpullrequest.com/blogs/the-vibe-coding-landscape-tools-gaps-and-the-orchestrator-fix
2•narayanahari•32m ago•1 comments

What's New in Virtio 1.4

http://blog.vmsplice.net/2025/12/whats-new-in-virtio-14.html
1•ingve•32m ago•0 comments

I migrated cursor.com from a CMS to raw code and Markdown

https://leerob.com/agents
2•stevekrouse•32m ago•0 comments

Show HN: Myra – Oberon-inspired language, transpiles to C++23 via Zig

https://github.com/tinyBigGAMES/Myra
2•tinyBigGAMES•33m ago•0 comments

Show HN: CatalystAlert V2 – Added ML pred to my free biotech catalyst tracker

1•nykodev•33m ago•0 comments

Show HN: ChatGPT in Review - personal analytics dashboard for my ChatGPT history

https://gptinreview.com/
2•zats•37m ago•2 comments
Open in hackernews

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

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