frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What Is CMAF Streaming and How It Compares to Others?

https://www.red5.net/blog/what-is-cmaf/
1•mondainx•1m ago•0 comments

BOHR Chain's "AI Protocol" $2M raise: technical architecture seems non-existent

1•Kangaroo_•4m ago•0 comments

Manager Is a System. They Need an API

https://reluctantleadership.substack.com/p/your-manager-is-a-system
1•oxygenfoxx•9m ago•0 comments

Gary Marcus on the Problems Facing AI and LLM Scaling [video]

https://www.youtube.com/watch?v=aI7XknJJC5Q
1•7777777phil•11m ago•0 comments

RISC-V and Post-Quantum Cryptography

https://fprox.substack.com/p/risc-v-and-post-quantum-cryptography
1•hasheddan•12m ago•0 comments

Skillware

https://github.com/ARPAHLS/skillware
1•rosspeili•12m ago•0 comments

Ask HN: What non-fiction do you read?

1•yanis_t•12m ago•0 comments

Fair is Better than Sensational:Man is to Doctor as Woman is to Doctor (2019)

https://arxiv.org/abs/1905.09866
1•bhickey•13m ago•0 comments

Scientific Insolvency in GPQA and HLE: A forensic audit reveals 58% error rate

https://zenodo.org/records/18293568
1•jopsammy•16m ago•1 comments

Running Claude Code dangerously (safely)

https://blog.emilburzo.com/2026/01/running-claude-code-dangerously-safely/
2•emilburzo•19m ago•3 comments

Calculate your reach on X/Twitter

https://allscreenshots.com/tools/x-algorithm-calculator
1•erikpau•21m ago•1 comments

Show HN: TakaTime – Self-Hosted WakaTime Alternative (Go and MongoDB)

https://github.com/Rtarun3606k/TakaTime
1•Rtarun3606k•23m ago•0 comments

GDPR as a blueprint for risk-aware architecture

https://medium.com/@antonbm/gdpr-as-a-blueprint-for-risk-aware-architecture-d8f811d1ec1a
1•antonmb•27m ago•0 comments

Show HN: AI Clothes Changer – virtual try-on with pose control

https://girlgenai.com
1•jokera•27m ago•0 comments

Local models to support home network infrastructure?

1•DrAwdeOccarim•27m ago•0 comments

AGI basic building block in your terminal

https://github.com/bokan/claude-skill-self-improvement
1•bbokan•28m ago•0 comments

Are published ANN-Benchmarks DBMS results trustworthy?

https://blog.ydb.tech/are-published-ann-benchmarks-dbms-results-trustworthy-f2573eca4e07
1•AlexClickHouse•31m ago•0 comments

Sorting Algortihms Visualized [video]

https://www.youtube.com/shorts/FI-9z00yvnE
1•dnnsthnnr•31m ago•1 comments

Show HN: Governed AI Portfolio–admission control for agentic sys in production

1•lexseasson•32m ago•0 comments

Photic Sneeze Reflex

https://en.wikipedia.org/wiki/Photic_sneeze_reflex
1•thunderbong•33m ago•0 comments

I got 3 parallel agents to change 149 files with 17 errors instead of 500

1•mvgnus•33m ago•0 comments

Net Zero: a multi-trillion-pound catastrophe

https://www.spiked-online.com/2026/01/19/net-zero-a-multi-trillion-pound-catastrophe/
2•mpweiher•34m ago•0 comments

PDFTextor – Fast GUI tool to extract text from single or multiple PDFs

https://gum.new/gum/cmk3n0dst002504ky9ulpdf2u
1•Dev_Master•34m ago•1 comments

The Lost Art of Structure Packing

http://www.catb.org/esr/structure-packing/
2•tosh•34m ago•0 comments

Ardalambion – Of the Tongues of Arda, the Invented World of JRR Tolkien

https://www.ardalambion.org/
2•saberhagen•35m ago•0 comments

News Espressif Introduces ESP32-E22, First Wi-Fi 6E Connectivity Co-Processor

https://www.espressif.com/en/news/ESP32_E22_Announcement
1•hasheddan•37m ago•0 comments

Small Kafka: Tansu and SQLite on a free t3.micro

https://blog.tansu.io/articles/broker-aws-free-tier
1•rmoff•39m ago•0 comments

I Forked Google Flatbuffers

https://digitalarsenal.github.io/flatbuffers/
1•tjkoury•39m ago•1 comments

Sony and Tcl Sign Memorandum of Understanding for Strategic Partnership

https://www.sony.co.jp/en/news-release/202601/26-0120E/
1•ksec•46m ago•0 comments

Show HN: Async HTTP handler plugin for the AWS SDK for Ruby, built on async-HTTP

https://github.com/thomaswitt/aws-sdk-http-async
1•thomas_witt•47m ago•0 comments
Open in hackernews

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

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