frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

South Korea's SK Hynix launches $28B US listing to ride global AI wave

https://www.reuters.com/world/asia-pacific/south-koreas-sk-hynix-launch-28-billion-us-listing-rid...
1•JumpCrisscross•29s ago•0 comments

Change proposals in FHIR: human-in-the-loop review for AI-driven writes

https://www.osbytes.io/blog/change-proposals-in-fhir-hitl-review-for-ai-driven-writes
1•dlln•1m ago•0 comments

Tell HN: I managed to unsubscribe from Adobe CC without being charged

1•frereubu•1m ago•0 comments

When docs become performance art, everybody loses (2025)

https://passo.uno/documentation-theater-everybody-loses/
1•eigenBasis•1m ago•0 comments

Teams using AI for outbound email are finding it harder, Folderly research finds

https://folderly.com/research/fixing-b2b-saas-outbound-2026
1•adamhh•1m ago•0 comments

Insurer AI Exclusions Spark Policyholder Alarm on Coverage Gaps

https://news.bloomberglaw.com/insurance/insurer-ai-exclusions-spark-policyholder-alarm-on-coverag...
1•petethomas•2m ago•0 comments

I made an app to put Hinge on autopilot

https://www.bingeswipe.co/
1•aryandhar•2m ago•0 comments

OfficeCLI: Office suite for AI agents to read and edit Microsoft Office files

https://github.com/iOfficeAI/OfficeCLI
1•maxloh•4m ago•0 comments

Software Markdowns at Mutual Funds Hint at Private Markets' Pain

https://finance.yahoo.com/technology/articles/software-markdowns-mutual-funds-hint-131722890.html
1•petethomas•5m ago•0 comments

Show HN: Silicon Physics Sandbox

https://silicon.bergkv.ist/
1•bergkvist•5m ago•0 comments

RustCast

https://rustcast.app/
1•Cider9986•5m ago•0 comments

Declaration of Independence Desk

https://americanhistory.si.edu/collections/object/nmah_513641
1•tosh•6m ago•0 comments

Florida Hospitals Act Fast to Discharge Gun Victims Especially If Not Insured

https://kffhealthnews.org/public-health/florida-hospitals-guns-gunshot-firearm-wounds-uninsured-d...
2•Jimmc414•6m ago•0 comments

Abject Praise

https://infrequently.org/2026/07/abject-praise/
1•brycewray•8m ago•0 comments

Show HN: Nook – a sticky note on the edge of your monitor

https://nook.nostock.studio/
1•phinoda•8m ago•0 comments

Burning Forests: Osint Tools for Tracking and Reporting Wildfire Damage

https://www.bellingcat.com/resources/how-tos/2026/06/30/burning-forests-tools-for-tracking-and-re...
1•Jimmc414•8m ago•0 comments

Psychology of People Who Imagine Fake Scenarios Before Sleep [video]

https://www.youtube.com/watch?v=MpRCbK7hODs
1•gmays•9m ago•0 comments

NetTime – Network Time Synchronization Tool

https://www.timesynctool.com/
2•adithyassekhar•9m ago•0 comments

Jadepuffer: Agentic ransomware for automated database extortion

https://www.sysdig.com/blog/jadepuffer-agentic-ransomware-for-automated-database-extortion
1•_____k•10m ago•0 comments

Ask HN: Are systems ready for the first negative leap second?

1•Asmod4n•10m ago•0 comments

AI Dumping Could Tank The S&P 500

https://mrkt30.com/how-ai-dumping-could-tank-the-sp-500/
2•bmcdresson•11m ago•0 comments

Wisk, Boeing Sued over eVTOL Software Safety Claims

https://www.ainonline.com/aviation-news/futureflight/2026-07-02/wisk-boeing-sued-over-evtol-softw...
2•bouchard•15m ago•0 comments

Cory Doctorow on Elon Musk, the AI bubble and bosses' cruel fantasies

https://www.theguardian.com/technology/2026/jun/24/cory-doctorow-on-elon-musk-ai-bubble-bosses-cr...
2•Kapura•16m ago•0 comments

Show HN: Cona – design your real room in 3D, in the browser

https://cona.design
1•Losenok•16m ago•0 comments

Emacs and AI, the combination you've been missing

https://getsmall.xyz/post/cmr9fur9c0071ajx9fur7me1j
1•trezm•17m ago•0 comments

Microsoft cuts 4,800 jobs and shrinks Xbox in 'significant restructure'

https://www.bbc.co.uk/news/articles/c36yy27rnpeo
5•mmarian•18m ago•1 comments

Bullet Points and Bold Text

https://erikjohannes.no/posts/20251101-bullet-points-and-bold-text/index.html
1•Curiositry•18m ago•0 comments

Some of the nation's rich are letting AI teach their kids

https://www.theverge.com/ai-artificial-intelligence/961505/wealthy-ai-schools-alpha-forge-prep
1•Brajeshwar•20m ago•0 comments

I built an AI that helps me grow my sideprojects

https://www.frhog.com/???
1•krm01•20m ago•0 comments

Built Portal Clone with Codex 5.3

https://www.pixelfork.ai/publish/c48273fb-53b6-4371-883b-63c1e6e9853e
1•fkhasiyev•22m ago•1 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/