frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

UK court orders Samsung to pay China's ZTE a $392M lump sump after patent trial

https://www.reuters.com/legal/litigation/uk-court-orders-samsung-pay-chinas-zte-392-million-lump-...
1•teleforce•56s ago•0 comments

Becoming a father shrinks your cerebrum

https://www.economist.com/science-and-technology/2022/10/21/becoming-a-father-shrinks-your-cerebrum
1•andsoitis•2m ago•0 comments

FreeBSD 15.1-BETA1 Now Available

https://lists.freebsd.org/archives/freebsd-stable/2026-May/004035.html
1•vermaden•3m ago•0 comments

Exposing ZFS volumes over the network via NVMe-oF

https://xata.io/blog/xatastor-zfs-nvme-of-for-millions-of-postgres-databases
2•mebcitto•4m ago•0 comments

Differences Between miniKanren and Prolog

https://minikanren.org/minikanren-and-prolog.html
2•tosh•6m ago•0 comments

Where in the World Is All That Gold Stored?

https://www.nytimes.com/2026/05/01/business/central-banks-gold-storage.html
1•bookofjoe•7m ago•1 comments

The Monster That Slays Arctic Subsea Cables: Icebergs

https://subseacables.blogspot.com/2026/05/the-monster-that-slays-arctic-subsea.html
1•giuliomagnifico•8m ago•0 comments

Ubuntu back up, In Saturday after DDoS attacks

1•relunsec•9m ago•0 comments

This Month in Ladybird – April 2026

https://ladybird.org/newsletter/2026-04-30/
1•exploraz•10m ago•0 comments

µKanren: A Minimal Functional Core for Relational Programming (2013) [pdf]

http://webyrd.net/scheme-2013/papers/HemannMuKanren2013.pdf
1•tosh•10m ago•0 comments

Architecting AI Compute (Part 1)

https://pawankjha.substack.com/p/architecting-ai-compute-part-1-the
1•pawanjha25•11m ago•0 comments

Real Tesla Multimilionaire is P85 with 1.800.000 km under the belt

https://evclinic.eu/2023/07/27/real-tesla-multimilionaire-is-p85-with-1-800-000-km-under-the-belt/
1•taubek•14m ago•0 comments

List of Unsolved Problems in Physics

https://en.wikipedia.org/wiki/List_of_unsolved_problems_in_physics
1•chistev•14m ago•1 comments

"Ppa.launchpad.net" Is Down

https://status.canonical.com/#/incident/KNms6QK9ewuzz-7xUsPsNylV20jEt5kyKsd8A-3ptQGYrj57nvDDdm4tQ...
1•gslin•21m ago•1 comments

Qualcomm Flight RB5 5G Platform

https://www.qualcomm.com/internet-of-things/products/flight-rb5-platform
1•teleforce•24m ago•0 comments

The Galleria-Fication of Everything and the Armani Strategy

https://blog.jovono.com/p/the-galleria-fication-of-everything
1•ejz•26m ago•0 comments

Ask HN: Shipped my first iOS app. No downloads. How to get the first download?

https://apps.apple.com/us/app/padelsmile-padel-tournament/id6761918507
1•agenticfutureai•26m ago•6 comments

Ask HN: Try npx -y sharedmemory/MCP-server

1•Sharedmemory•26m ago•1 comments

core.logic

https://github.com/clojure/core.logic
1•tosh•27m ago•0 comments

I've Been a Public School Teacher for 20 Years. Trust Me: Homeschool Your Kids

https://twitter.com/creation247/status/2012598176138535041
1•bilsbie•30m ago•3 comments

SwiftScript: Tree-walking interpreter, library and CLI for Swift

https://github.com/Cocoanetics/SwiftScript
1•ingve•31m ago•0 comments

Show HN: A navigable map and recommender for 17M music entities

https://toposonico.com/
2•deppep•31m ago•0 comments

Pushed by Trump policies, top U.S. battery scientist is moving to Singapore

https://www.science.org/content/article/pushed-trump-policies-top-u-s-battery-scientist-moving-si...
22•Metacelsus•35m ago•2 comments

Potato OS

https://github.com/potato-os/core
1•oldfuture•35m ago•0 comments

The Cults of TDD and GenAI

https://drewdevault.com/blog/Cult-of-TDD-and-LLMs/
3•pards•36m ago•2 comments

Protesters shut down Berkeley Forum event hosting Jeff Dean

https://www.dailycal.org/news/campus/protesters-shut-down-berkeley-forum-event-hosting-google-ai-...
2•meling•38m ago•0 comments

WebLLM is a high-performance in-browser LLM inference engine

https://github.com/mlc-ai/web-llm
1•doener•39m ago•0 comments

Tailwind-merge: Utility function to merge Tailwind CSS classes in JavaScript

https://github.com/dcastil/tailwind-merge
1•doener•39m ago•0 comments

The Download: a new Christian phone network, and debugging LLMs

https://www.technologyreview.com/2026/05/01/1136762/the-download-christian-phone-network-debuggin...
1•joozio•39m ago•0 comments

127³ — Superintelligence, public. DeepSeek V4 Pro

https://deepseek-v4-pro-127cubed.vercel.app/
1•oroboroslabs•40m 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/