frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

5 iPhone Apps Before Xmas

https://ronald.langeveld.blog/5-iphone-apps-before-xmas-challenge
1•ronaldl93•3m ago•0 comments

Ask HN: Has AI started impacting hiring in your org?

1•ChaitanyaSai•5m ago•0 comments

Gemini Subscription Lead deletes Black Friday deals announcement, locks replies

https://twitter.com/vikaskansalHQ/status/2123833450297995624
3•deaux•8m ago•1 comments

S&P cuts France outlook to negative

https://www.ft.com/content/4e16110a-9604-4455-8557-4edece5df01a
1•tosh•11m ago•0 comments

Polars New Streaming Engine and Spill-to-Disk

https://www.confessionsofadataguy.com/polars-new-streaming-engine-and-spill-to-disk/
1•eigenBasis•16m ago•0 comments

So, how fast is numerical computation in Lean?

https://robertboy18.github.io/TorchLean-Verified-Examples/week-09-floatlib-benchmarks/
2•matt_d•17m ago•0 comments

Show HN: unLAB.run – homelab in a tab using unkernel

https://unlab.run
3•gregbell•20m ago•0 comments

PSBoomerang

https://github.com/thepolymatt/psboomerang
1•lucamark•22m ago•0 comments

Why Onions Have More DNA Than You Do

https://news.harvard.edu/gazette/story/2000/02/why-onions-have-more-dna-than-you-do/
1•ex-aws-dude•22m ago•0 comments

India Extends Pakistan Content Ban to First Netflix Series

https://www.bloomberg.com/news/articles/2026-11-27/india-extends-pakistan-content-ban-to-first-ne...
2•ryzvonusef•28m ago•0 comments

Novel Experiments Expand the Hunt for 'Ultralight' Dark Matter

https://www.quantamagazine.org/novel-experiments-expand-the-hunt-for-ultralight-dark-matter-20261...
1•titusblair•29m ago•0 comments

Teams Lock in Mission Architecture for NASA's SR-1 Freedom

https://www.nasa.gov/general/nasa-locks-in-sr1-freedom-mission-architecture/
3•titusblair•30m ago•0 comments

Pentagon Issued Memo Limiting 'Social Activities' with Canadian Military

https://www.nytimes.com/2026/11/21/world/canada/defense-department-canada-military-trump.html
2•cisc•34m ago•0 comments

Zero-egress ~0.04ms 6-layer deterministic firewall for AI agent payouts

1•owais_globoo•37m ago•0 comments

SolidCraft – Open-source parametric CAD built in Rust

https://solidcraft.io/
2•gregsadetsky•40m ago•0 comments

Garage v2.6.0 released with web admin, v1.x EOL and other news

https://garagehq.deuxfleurs.fr/blog/2026-11-webadmin-release/
1•birdculture•43m ago•0 comments

To Think or Not to Think: AI tools and the loss of engineering fundamentals

https://ristonthomas.com/essays/to_think_or_not_to_think/
2•paul_riston•43m ago•0 comments

Lock of George Washington's hair sold at auction for $4k

https://www.cbsnews.com/news/george-washington-lock-of-hair-auction/
1•extasetoi12•47m ago•0 comments

Cory Doctorow: Taylorism and AI's shared sales-pitch

https://pluralistic.net/2026/11/27/taylor-made/
5•catab•48m ago•0 comments

Self-hostable Sentry compatible issue tracker

https://kittytrace.com/
2•vpaulus•51m ago•0 comments

Wikipedia explainers lost a median 40% of views since 2022, biographies lost 9%

https://growtika.com/blog/wikipedia-traffic-study
4•Growtika•55m ago•0 comments

Changes to Word, Excel, and PowerPoint Agents in Microsoft Copilot

https://mc.merill.net/message/MC1536062
1•thunderbong•58m ago•0 comments

'The taste layer of the internet ': Reddit's COO on why AI needs humans

https://www.euronews.com/2026/11/26/the-taste-layer-of-the-internet-reddits-coo-on-why-ai-needs-h...
1•thm•59m ago•0 comments

Neon is not less "RL fried" than opponents

https://micjm.com/blog/neon-rl-fried/
2•seizethecheese•1h ago•0 comments

60,825 open problems. Point your agent at one

https://lefttosolve.com/
2•theanonymousone•1h ago•0 comments

AI labs sitting on 'bombshell' revelations, experts warn

https://www.theguardian.com/technology/2026/nov/28/ai-artificial-intelligence-encryption-global-c...
5•tempestn•1h ago•0 comments

Goodbye, World: The End of Programmers

https://www.wired.com/story/goodbye-world-the-end-of-programmers/
6•variety8675•1h ago•1 comments

MilleMiglia: A realistic instance generator for middle-mile logistics

https://research.google/blog/millemiglia-a-realistic-instance-generator-for-middle-mile-logistics/
1•devy•1h ago•1 comments

An Empty EV Tried to Park Itself 868 Times in One Night

https://insideevs.com/news/816535/self-driving-ev-parking-868/
1•cisc•1h ago•0 comments

Why AI is solving maths' hardest problems. Here's why you should care

https://news.sky.com/video/why-ai-is-solving-maths-hardest-problems-heres-why-you-should-care-136...
1•austinallegro•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/