frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Turning the HEIC decoder into a SHA-256 computer

https://www.irisc2.com/blog/heic-hashquine
1•luispa•1m ago•0 comments

Canada's Deepest Cave Goes Deeper as Explorers Map New Passages

https://fernie.com/blog/canadas-deepest-cave-goes-deeper-as-explorers-map-new-passages/
1•cf100clunk•2m ago•0 comments

Ozempic-style drugs now in trials for heart failure, addiction and even aging

https://maccus.fr/en/ozempic-drugs-trials-beyond-diabetes/
1•randycupertino•2m ago•0 comments

Upgrading NetBSD from 11.0 to 11.1

https://www.dwarmstrong.org/netbsd-upgrade/
1•jaypatelani•4m ago•0 comments

Sony revives the original Walkman headphones, adds USB-C

https://arstechnica.com/gadgets/2026/11/sony-adds-usb-c-to-its-70s-era-mdr-3-walkman-headphones/
1•rawgabbit•4m ago•0 comments

Supercharging XLA-Based Inference: Announcing the Launch of XLA Serving Engine

https://opensource.googleblog.com/2026/11/supercharging-xla-inference-xla-serving-engine.html
1•fortran77•6m ago•0 comments

The Day a Test Deleted My Home Directory

https://lucianolupo.com/notes/The%20Day%20a%20Test%20Deleted%20My%20Home%20Directory
1•fortran77•6m ago•0 comments

GPTBot hit my SSO login page 594,101 times

https://www.shuffle-on.com/blog/ai-crawlers-read-my-site
1•lisneanucristia•7m ago•0 comments

Show HN: R/place for Git – Open-source Git server sustaining 567 pushes/s

https://reasonmachines.com/blog/aspen
1•svemyh•7m ago•0 comments

Limit what agents learn about private repos with enclaves

https://githubnext.com/posts/enclaves/
2•gmays•9m ago•0 comments

Show HN: DrawDock – Annotate Windows apps from an Android tablet

https://github.com/MikeCer/DrawDock
2•MikeCer•10m ago•0 comments

100% GPU Utilization, 39% of Rated FP16

https://medium.com/@AhmadBabaei/100-gpu-utilization-39-of-rated-fp16-ce97ba1b88f0
2•birdculture•10m ago•0 comments

I Spent $1000 Making LLMs Play Competitive Pokémon

https://blog.doubleword.ai/llms-play-pokemon
2•kkm•10m ago•0 comments

Quantity vs. Quality in Pottery is a lie

https://www.lesswrong.com/posts/LrAqM4bGmAoA79rP3/quantity-vs-quality-in-pottery-is-a-lie
2•luskira•15m ago•0 comments

Bitcoin++ privacy hackathon winner: BlackIce, distributed frost silent payments

https://btcpp.dev/seoul/hackathon/projects/33249dbf-181b-4cc6-9074-1a742f71cb60
2•not_nifty•17m ago•1 comments

Ask HN: What fun things to do with an iPhone 11?

2•wanderingpixel•17m ago•1 comments

Show HN: Current – Change control for AI agents (Elixir)

https://github.com/santosh79/current
2•santosh_ycomb•18m ago•0 comments

Don't Write Bugs

https://www.teamten.com/lawrence/programming/dont-write-bugs
2•ColinWright•19m ago•1 comments

Show HN: Agentic Identity Broker, OAuth Delegation for AI Agents

https://github.com/zalando-incubator/agentic-identity-broker
2•jbspeakr•19m ago•0 comments

Show HN: A debug overlay for iPhone Duo apps that shows reserved screen areas

https://github.com/mikeakers/DuoDevOverlay
2•quux•19m ago•0 comments

Build World Models for Interactive Simulation with Nvidia Cosmos

https://developer.nvidia.com/blog/build-world-models-for-interactive-simulation-with-nvidia-cosmos/
2•gmays•20m ago•0 comments

GitHub: New pull request overview page in public preview

https://github.blog/changelog/2026-11-05-new-pull-request-overview-page-in-public-preview/
3•inickt•20m ago•1 comments

Why are more than 98% of Claude Code issues unassigned

https://www.reddit.com/r/ClaudeAI/comments/1xozfcv/open_question_to_anthropic_if_youre_making_30000/
2•usernametaken29•20m ago•1 comments

Show HN: Pico-WAM – smallest world-action-model

https://www.keivalya.com/pico-wam/
2•keivalya•22m ago•0 comments

Descartes drew a line between humans and machines. AI is blurring it

https://bigthinkmedia.substack.com/p/ai-is-forcing-us-to-reckon-with-a
2•pseudolus•22m ago•0 comments

FAA Begins Retiring Decades Old Floppy Disks from Air Traffic Control

https://www.faa.gov/newsroom/trumps-transportation-secretary-sean-p-duffy-begins-retiring-decades...
7•pseudolus•23m ago•1 comments

Why You Should Care About The Political Project of Twisted

https://blog.glyph.im/2026/11/the-project-of-twisted.html
2•zdw•24m ago•0 comments

Where Each U.S. State Gets Its Tax Revenue From

https://www.visualcapitalist.com/where-each-states-tax-revenue-comes-from/
3•peter_d_sherman•25m ago•0 comments

Universal Income – Forget "Basic" and "High"

https://joshbocanegra.medium.com/the-conditions-for-universal-income-are-falling-into-place-e7359...
2•jbai•25m ago•0 comments

Math research is surging. Biology isn't

https://village.dev/blog/math-research-is-surging-biology-isnt/
2•kevin_hu•25m 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/