frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Rust Commander (RC)

https://github.com/hbbio/rc
1•hbbio•27s ago•0 comments

Variable Electricity Pricing – The Highs and the Lows

https://shkspr.mobi/blog/2026/11/variable-electricity-pricing-the-highs-and-the-lows/
1•DamonHD•50s ago•0 comments

Octomind vs. Codex CLI, same model, 150 runs: tied on solves, 25% fewer tokens

https://www.reddit.com/r/muvon/comments/1xsktny/same_model_same_prompt_same_moment_150_runs_vs/
2•brightside667•3m ago•0 comments

Hand-Picked Free Typefaces

https://facetypes.xyz/
2•coinfused•7m ago•0 comments

I run multiple Claude Code accounts on one Mac

https://twitter.com/viborc/status/2121941174374039788
1•taubek•8m ago•0 comments

What the Water Keeps – Reverse-engineered Three.js source of the Fable 5.2 game

https://github.com/dill-lk/What-the-Water-Keeps
1•ftcjnk•10m ago•0 comments

Amiga Studio: IDE for making games and apps for Amiga and C64 in assembler or C

https://piershaw.itch.io/amiga-studio-ide
3•doener•10m ago•1 comments

Rust and Git worktrees: share one Cargo build

https://docspring.com/blog/posts/rust-git-worktrees-shared-cargo-build/
1•torutofu•12m ago•0 comments

RISC-V Matrix Extensions

https://fprox.substack.com/p/risc-v-matrix-extensions
1•camel-cdr•13m ago•0 comments

In a Sloppified A.I. World, Only Humans Can Build 'Ecosystems'

https://www.nytimes.com/2026/11/15/business/tech-jobs-ai-ecosystem.html
1•saikatsg•14m ago•1 comments

Show HN: db-branch – database branches in seconds for AI agents and CI, via ZFS

https://github.com/db-branch/db-branch
1•nu_nu11•17m ago•0 comments

Beware the New AI-Fueled Ransomware Boom

https://www.wired.com/story/beware-the-new-ai-fueled-ransomware-boom/
2•saikatsg•18m ago•0 comments

Go 1.27's Generic Methods: Compile-Checked ORM Columns Without Generated Code

https://skudra.net/blog/field-pointers-as-column-names
1•birdculture•18m ago•0 comments

Code Red: Y2K Is Here

https://deadneurons.substack.com/p/code-red-y2k-is-here
1•nr378•18m ago•0 comments

New Species of Giant Fungus Discovered in China Grows Up to 20 Inches Tall

https://www.wired.com/story/new-species-of-giant-fungus-discovered-in-china-grows-up-to-20-inches...
1•saikatsg•19m ago•0 comments

Let your AI agent call you, over MCP

https://agline.in/mcp
1•franze•20m ago•0 comments

Things That Turbo Pascal Is Smaller Than (2011)

https://prog21.dadgum.com/116.html
2•ksec•24m ago•0 comments

HCSV (Hybrid CSV) – CSV with inline column types and bit-exact floats

https://cristian8vasile.substack.com/p/what-shipping-containers-can-teach
1•cristianvasile•24m ago•0 comments

Cursor: Pointer on Buttons

https://blog.kizu.dev/cursors/
1•shipitx•27m ago•1 comments

Hairpin – Reach macOS menu bar icons hidden by the notch

https://github.com/HiAriesZhou/Hairpin
2•AriesIMio•28m ago•0 comments

The Not-So-Crazy Legal Strategy to Free Nicolás Maduro

https://www.politico.com/news/magazine/2026/11/15/nicolas-maduro-trial-legal-strategy-01149709
1•ibn_khaldun•28m ago•0 comments

Booker Prize 2026: The End of Everything – First SF Winner, Oldest Laureate

https://www.betterreads.dev/blog/booker-prize-2026-end-of-everything
2•zlu•29m ago•0 comments

US investigators probe cause of tanker-cruise ship collision

https://www.abc.net.au/news/2026-11-15/tanker-cruise-ship-collison-investigation-new-orleans/1073...
1•firasd•34m ago•0 comments

Show HN: Every Satellite in Orbit Since 1957

https://berryde.com/projects/satellites/
1•daedbe•36m ago•0 comments

James Webb Telescope finds ice older than the star it orbits

https://arstechnica.com/science/2026/11/james-webb-telescope-finds-ice-older-than-the-star-it-orb...
2•Brajeshwar•37m ago•0 comments

Scientists Made Monkeys Watch Minions to Study Their Brains

https://www.404media.co/scientists-made-monkeys-watch-minions-to-study-their-brains/
2•Brajeshwar•37m ago•0 comments

The original Xbox was released 25 years ago today

https://www.tomshardware.com/video-games/xbox/the-original-xbox-was-released-25-years-ago-today-m...
3•Brajeshwar•37m ago•0 comments

Europa, the EU's open AI model, is aiming for nearly 1T parameters

https://maccus.fr/en/eu-open-ai-model-europa/
2•mstkllah•38m ago•0 comments

Singapore Government Clarification Statement on Wall Street Journal's Article

https://www.mha.gov.sg/media-room/newsroom/clarification-statement-on-wall-street-journals-article/
2•ksec•39m ago•2 comments

NeatStats – Simple, lightweight, privacy-first web stats

https://neatstats.net/
1•Tomte•41m 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/