frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ari, Applied Compute's in-house AI research agent

https://www.appliedcompute.com/platform/ari
1•Bluestein•1m ago•0 comments

Using AI on a Homestead

https://www.patreon.com/morlockp/posts/using-ai-on-168298219
1•exolymph•2m ago•0 comments

The Sponsor Premium

https://papers.ssrn.com/sol3/papers.cfm
1•JumpCrisscross•3m ago•0 comments

Dragon Microkernel in Spark Ada

https://github.com/tigerlang/dragon
1•tigerlang•3m ago•1 comments

Show HN: Tarfio bounded spending controls for MCP tools

https://github.com/yiaany/tarfio
1•eugenehizyyo•4m ago•0 comments

Show HN: The Million Dollar Prompt

https://milliondollarprompt.org/
1•fxn-m•4m ago•0 comments

Y Combinator Early Access Network

https://events.ycombinator.com/yc-early-access-fall-26
1•tosh•7m ago•0 comments

Hire Every Engineer Like You'd Hire a VP

https://businessasusual.io/p/executive-search-methods-for-engineering
2•mooreds•8m ago•0 comments

Don't ban children from social media, Estonia tells EU

https://www.channelnewsasia.com/world/dont-ban-children-social-media-estonia-tells-eu-6368126
2•Markoff•10m ago•1 comments

First patient in live AI-assisted sight-saving brain surgery

https://www.ucl.ac.uk/news/2026/aug/first-patient-live-ai-assisted-sight-saving-brain-surgery
1•DeepLogin•10m ago•0 comments

I made 5 AI models play a golf season. I think we benchmark agents wrong

https://offscriptlabs.ai/
1•DylanSwan•10m ago•0 comments

Enhancing soil science research with multi-agent AI systems [video]

https://www.youtube.com/watch?v=iEjFdRimNlU
1•mooreds•11m ago•0 comments

Loss of salt iodization harmed child survival/academic achievement in Ethiopia

https://www.nature.com/articles/s43016-026-01408-y
2•mooreds•11m ago•0 comments

A model built to detect voter fraud is testing the limits of election trust

https://www.votebeat.org/national/2026/09/03/election-truth-alliance-walter-mebane-2024-election-...
1•hn_acker•12m ago•1 comments

The three times I said no to Tim Berners-Lee

https://capybaraleech.substack.com/p/the-three-times-i-said-no-to-tim
1•jcfrei•13m ago•0 comments

Singapore raises PM Lawrence Wong's pay by $1M

https://www.ft.com/content/f06ee0ea-adcf-44ec-80c9-bb616885d8de
1•michaelhillaert•14m ago•2 comments

10x More Efficient Pretraining

https://magic.dev/blog/pretraining
1•meetpateltech•15m ago•0 comments

$1 In, $100 Out: Does the AI Math Add Up?

https://ganeshanmalhotra.substack.com/p/1-in-100-out-does-the-ai-math-add
2•Ganeshan007•15m ago•0 comments

A teardown of the Claude desktop app

https://www.telkins.com/blog/a-teardown-of-the-claude-desktop-app
2•trevor-e•16m ago•0 comments

Color Wheel Combinatorics

https://quuxplusone.github.io/blog/2026/09/08/color-wheel/
2•ibobev•16m ago•0 comments

The state of European cloud providers in 2026

https://crescentro.se/posts/euro-cloud-providers-2026/
1•veeti•17m ago•0 comments

Show HN: Crossposter – open-source browser extension for social media posting

https://crossposter.mochi.is/
1•k1m•17m ago•0 comments

AI Programming: A Layered Model

https://lemire.me/blog/2026/09/05/ai-programming-a-layered-model/
1•ibobev•17m ago•0 comments

School librarians hesitant to discuss books amid Texas battle to restrict titles

https://www.texastribune.org/2026/09/04/texas-school-library-books-student-reading-dan-patrick/
3•hn_acker•20m ago•2 comments

Python sets and dictionaries can have quadratic-time performance

https://lemire.me/blog/2026/09/03/python-sets-and-dictionaries-can-have-quadratic-time-performance/
2•ibobev•20m ago•0 comments

Do you think it happened? Research stolen from their Codex private chats

https://www.reddit.com/r/codex/s/psWHRr9864
7•KingOfMyRoom•21m ago•1 comments

Show HN: Sparrow-2 – Noise cancellation isn't designed for conversational AI

https://sparrow2.tavuslabs.org/
5•code_brian•21m ago•0 comments

Show HN: Posterlet – Free AI poster maker, unlimited

https://posterlet.com
1•allanren•21m ago•0 comments

The fallacy of placing confidence in confidence intervals

https://link.springer.com/article/10.3758/s13423-015-0947-8
2•theanonymousone•22m ago•0 comments

When generation gets cheap, judgment gets scarce

https://gradientflow.substack.com/p/i-think-ai-teams-are-defending-the
2•qikouki•22m 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/