frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

A new pyramid-like shape always lands the same side up

https://www.quantamagazine.org/a-new-pyramid-like-shape-always-lands-the-same-side-up-20250625/
291•robinhouston•7h ago•76 comments

The Hollow Men of Hims

https://www.alexkesin.com/p/the-hollow-men-of-hims
129•quadrin•4h ago•111 comments

Puerto Rico's Solar Microgrids Beat Blackout

https://spectrum.ieee.org/puerto-rico-solar-microgrids
58•ohjeez•4h ago•1 comments

Gemini CLI

https://blog.google/technology/developers/introducing-gemini-cli-open-source-ai-agent/
980•sync•14h ago•550 comments

-2000 Lines of code

https://www.folklore.org/Negative_2000_Lines_Of_Code.html
226•xeonmc•7h ago•77 comments

A new PNG spec

https://www.programmax.net/articles/png-is-back/
486•bluedel•1d ago•467 comments

Define policy forbidding use of AI code generators

https://github.com/qemu/qemu/commit/3d40db0efc22520fa6c399cf73960dced423b048
265•todsacerdoti•4h ago•145 comments

Experience Making a 1-minute AI movie with my 7-year old daughter

https://drsandor.net/ai/minecraft/
10•chris_sandor•17h ago•2 comments

Libxml2's "no security embargoes" policy

https://lwn.net/SubscriberLink/1025971/73f269ad3695186d/
142•jwilk•8h ago•100 comments

OpenAI charges by the minute, so speed up your audio

https://george.mand.is/2025/06/openai-charges-by-the-minute-so-make-the-minutes-shorter/
467•georgemandis•14h ago•143 comments

What Problems to Solve (1966)

http://genius.cat-v.org/richard-feynman/writtings/letters/problems
323•jxmorris12•10h ago•37 comments

The Art of Hanakami, or Flower-Petal Folding

https://origamiusa.org/thefold/article/art-hanakami-or-flower-petal-folding
8•s4074433•3d ago•0 comments

Getting ready to issue IP address certificates

https://community.letsencrypt.org/t/getting-ready-to-issue-ip-address-certificates/238777
228•Bogdanp•11h ago•130 comments

The Offline Club

https://www.theoffline-club.com
93•esher•8h ago•42 comments

Better Auth, by a self-taught Ethiopian dev, raises $5M from Peak XV, YC

https://techcrunch.com/2025/06/25/this-self-taught-ethiopian-dev-built-an-authentication-tool-and-got-into-yc/
82•bundie•9h ago•54 comments

Build and Host AI-Powered Apps with Claude – No Deployment Needed

https://www.anthropic.com/news/claude-powered-artifacts
201•davidbarker•10h ago•69 comments

Writing a basic Linux device driver when you know nothing about Linux drivers

https://crescentro.se/posts/writing-drivers/
188•sbt567•3d ago•17 comments

Introduction to error handling strategies in Go

https://go-monk.beehiiv.com/p/error-handling
5•reisinge•2d ago•0 comments

LM Studio is now an MCP Host

https://lmstudio.ai/blog/lmstudio-v0.3.17
163•yags•10h ago•68 comments

Earths largest camera:3B pixel images

https://www.nytimes.com/interactive/2025/06/19/science/rubin-observatory-camera.html
24•wglb•3d ago•10 comments

Ambient Garden

https://ambient.garden
46•fipar•2d ago•5 comments

Microsoft Dependency Has Risks

https://blog.miloslavhomer.cz/p/microsoft-dependency-has-risks
71•ArcHound•7h ago•68 comments

America’s incarceration rate is in decline

https://www.theatlantic.com/ideas/archive/2025/06/prisoner-populations-are-plummeting/683310/
106•paulpauper•10h ago•197 comments

Iroh: A library to establish direct connection between peers

https://github.com/n0-computer/iroh
159•gasull•11h ago•45 comments

Web Embeddable Common Lisp

https://turtleware.eu/static/paste/wecl-test-gl/main.html
106•todsacerdoti•12h ago•33 comments

CUDA Ray Tracing 2x Faster Than RTX: My CUDA Ray Tracing Journey

https://karimsayedre.github.io/RTIOW.html
32•ibobev•6h ago•2 comments

Interstellar Flight: Perspectives and Patience

https://www.centauri-dreams.org/2025/06/25/interstellar-flight-perspectives-and-patience/
63•JPLeRouzic•11h ago•97 comments

FurtherAI (YC W24) Is Hiring for Software and AI Roles

https://www.ycombinator.com/companies/furtherai/jobs
1•sgondala_ycapp•10h ago

Games run faster on SteamOS than Windows 11, Ars testing finds

https://arstechnica.com/gaming/2025/06/games-run-faster-on-steamos-than-windows-11-ars-testing-finds/
234•_JamesA_•8h ago•87 comments

Bot or human? Creating an invisible Turing test for the internet

https://research.roundtable.ai/proof-of-human/
99•timshell•12h ago•131 comments
Open in hackernews

Better Auth, by a self-taught Ethiopian dev, raises $5M from Peak XV, YC

https://techcrunch.com/2025/06/25/this-self-taught-ethiopian-dev-built-an-authentication-tool-and-got-into-yc/
82•bundie•9h ago

Comments

dang•5h ago
Related:

Launch HN: Better Auth (YC X25) – Authentication Framework for TypeScript - https://news.ycombinator.com/item?id=44030492 - May 2025 (106 comments)

Better Auth – Authentication library for TypeScript - https://news.ycombinator.com/item?id=42272707 - Nov 2024 (32 comments)

Show HN: Comprehensive authentication library for TypeScript - https://news.ycombinator.com/item?id=41678652 - Sept 2024 (44 comments)

savrajsingh•1h ago
clickpass, YC s07
blackhaj7•5h ago
So pumped for Bereket. Better Auth is awesome.

I am also interested on how they plan to monetise it. I love the library and the success story but hope that the weight of this VC money doesn’t impact its awesomeness

burgerzzz•3h ago
I think they’re rolling out their own managed auth service, may have already done so actually.
yewenjie•5h ago
Can anyone compare Better Auth with something more barebones like Lucia?
threatofrain•4h ago
Lucia has been converted into a kind of tutorial, which is another way of saying the author is going to college now and is busy or interested in other things.

As an aside OpenAuth seems dead. No activity for 2 months.

apgwoz•2h ago
No activity for 2 months implies death?

Is this the core reason that we have a proliferation of packages, arguably doing the same thing, slightly differently, in some ecosystems… We’ve become this impatient?

FireBeyond•1h ago
No activity for nearly 3 months with 67 open issues, 32 open PRs (many as simple as "fix typo") might signify that not a lot of time is being put into the project.
vivzkestrel•5m ago
no lucia author has himself said that he s deprecating this https://github.com/lucia-auth/lucia/discussions/1707
vivzkestrel•6m ago
lucia is deprecated https://github.com/lucia-auth/lucia/discussions/1707
haneul•5h ago
Love this news! Amazing by Bereket!
abetancort•5h ago
Trump will kick him out of the US.
reactordev•4h ago
He just raised enough for a golden ticket
yodon•5h ago
Pretty sure auth is not something I want a self-taught dev (or even most CS-graduate devs) writing.

Oauth2, JWT's, hashes, timestamps, validations, and such, are all totally simple until they're not. The black hats have way more experience and way more time invested in this space than most any normal dev.

vmg12•4h ago
Auth is really not difficult to write. It's don't roll your own crypto, not don't roll your own auth. People need to stop spreading this fud.
risyachka•4h ago
Yeah it’s not difficult if you know all the specs.

The issue is 99% don’t know them and are not very good at following them. And the cost of error is very high.

I’ve seen a lot of startups that failed to implement even google oauth securely.

So yeah it’s a far cry from fud and you really should not do it unless you are actually good.

threatofrain•4h ago
But given that BetterAuth is an open source project with a large following, and also given that they just got funding so they can hire more help, now we can evaluate BetterAuth's competency in terms of their ability to coordinate help.
kylecazar•3h ago
Also, as far as I know, they aren't reimplementing the core auth libraries/specs mentioned
fmbb•3h ago
OAuth is very complicated and fuzzy though.

I am not surprised anyone makes mistakes trying to integrate it anywhere.

hobofan•4h ago
What? No!

There are plethora of mistakes one can make in implementing AuthN/AuthZ, and many of them almost immediately will lead to either the direct leak of PII or can form the start of a chain of exploits.

Storing password hashes in an inappropriate manner -> BOOM, all your user's passwords are reversible and can be used on other websites

Not validating a nonce correctly -> BOOM, your user's auth tokens can be re-used/hijacked

Not validating a session timestamps correctly -> BOOM, your outdated tokens can be used to gain the users PII

vmg12•4h ago
None of those things are difficult to do correctly.
hobofan•4h ago
Yeah, one would think so. Evidence in the wild shows otherwise.
gjsman-1000•1h ago
Plenty of evidence in the wild also shows that programmers in general should never be trusted.
programmarchy•4h ago
With 5M you can get white hat audits. Even big boys like Okta have had serious fuckups [1].

[1] https://trust.okta.com/security-advisories/okta-ad-ldap-dele...

stephenr•2h ago
> Storing password hashes in an inappropriate manner

The problem isn't how you store the hash it's how you generate the hash.

gjsman-1000•1h ago
The short answer: Bcrypt with 12 rounds.

Good enough for almost any startup in 2025.

quacksilver•54m ago
Counterexample: Storing the bcrypt hash by appending it to a CSV file containing the usernames and hashes of all users then having a login process where that CSV file is downloaded to the client and the password id verified locally against that CSV file using client-side JavaScript would probably be very bad.

Cryptography part is fine but storage or the auth process isn't.

You would like to think that no-one would write their app that way, but there are plenty of slightly less worse things that happen in practice and vibe coding probably introduces all sorts of new silliness.

deadbabe•2h ago
So it’s a bad idea, but somehow a guy in Ethiopia writes his own auth and builds a whole company around it and gets $5 million?
koakuma-chan•1h ago
He must be really good at selling lol
6510•15m ago
Everything in life is hard there.
slashdev•1h ago
Auth is actually really hard, with many really subtle high impact mistakes one can make.
fathomdeez•1h ago
I also ran into this trying to upgrade my company's auth strategy. The hardest part of auth is convincing people that... it's not actually as hard or dangerous as they think it is. It was an uphill and ultimately unsuccessful battle of mine. People can't even divorce JWTs as simple, verifiable json data blobs from the entirety of the OAuth2 spec. You see it on HN, with hundreds of circular comment threads and I've seen it in real life.
gjsman-1000•1h ago
Auth, in my experience, isn't actually that hard to write.

OAuth, or any form of SSO, is not something you want to roll yourself.

Crypto is absolutely not something you want to roll yourself.

sunrunner•4h ago
I learnt to program (in a very basic way) before doing the whole paper qualification thing. Am I self taught? Is that some kind of signifying badge one loses once one gets a 'proper' education? I also know many people _with_ the paper qualification I wouldn't necessarily trust

Rhetorical questions of course as we all know it's a clickbait title, but perhaps it would be nice for this label to stop being thrown around like it has any real consistent meaning or significance?

towledev•3h ago
It's funny, we've watched for two decades as the click-driven dynamics of the internet have degraded the meanings of words. At first, I was outraged on a daily basis. Then, as we all did, I learned, against my will, to forgive. "Can't blame them for chasing clicks! Who among us wouldn't cheapen a word if it meant a view?"

But - and this is the funny part - I feel like my teen-angsty self has been vindicated. I'm so burnt out on exaggeration, not a single news site has gotten regular clicks from me in over a decade, nor do I comment or read comments. I listen to a little history dork YouTube before bed, or for tutorials. I'm free.

hirvi74•1h ago
Like many others here, I too have degree in computer science, and I will say this much. Not all degrees are created equally. Did I learn a lot? Absolutely. Could I have learned it all on my own? No. Could others learn it all on their own? Absolutely.

That being said, I didn't go to some fancy university -- just a small unheard-of state school of no notoriety. I think I benefited more from the learning environment and structure than from the actual instruction I received. Maybe I would have had better feeling about my degree had I attended a prestigious university, but honestly, most of what I learned was quite surface-level knowledge that came straight from the textbooks anyway.

I feel no superiority over those without a degree. In fact, quite the opposite. I feel a bit of shame that I do not know as much as I probably should despite having a degree.

Fundamentally, I agree with you. A piece of paper doesn't mean much. Based on the interview questions that are commonly asked, it seems like our industry doesn't find degrees that meaningful either.

pinkmuffinere•4h ago
> The black hats have way more experience and way more time invested in this space than most any normal dev.

Surely the black hats you refer to are themselves self-taught? They didn't find a school that would teach them about crime, right? In that case it seems like self-taught can be good enough.

msgodel•3h ago
Black hats have to be right once, white hats have to be right every time.

They can spray and pray, you have to write proofs.

qualeed•1h ago
>They didn't find a school that would teach them about crime, right?

The difference between the bad guys and good guys isn't what they've learned. It's how the use what they've learned.

Any cybersec course worth its price tag is going to teach you all about penetration testing, exploits, etc. It's pretty hard to come up with a good defense if you don't learn about how the attacks work.

slashdev•1h ago
I don’t know about you, but most everything I know on those subjects is self taught. University is overrated for computer science.
joshdavham•57m ago
> University is overrated for computer science.

It's mostly overrated, but not entirely so.

The vast majority of software development that I've learned has been outside of school, but there are a couple of core CS (and data science) concepts that I never would've learned if not for uni.

tomjakubowski•1h ago
Besides being a self-taught developer, Bereket also did at least three years of a university CS program before dropping out to work full-time. Source: his CV.
exiguus•4h ago
If i get it correctly, it solves the problem, to store data on MVP/Prototype Auth providers like Superbase, Auth0 or Firebase.

How does it compare to something mature like keycloak?

And what is the difference to just self-host superbase?

Spivak•3h ago
The killer feature is that it's embeddable into your app. You don't have to host anything besides your app and your app's database.

I can't understand why people who aren't Google scale do it any other way. When you're at the point where you need a separate auth service I'd call that good problems to have.

koakuma-chan•1h ago
> The killer feature is that it's embeddable into your app. You don't have to host anything besides your app and your app's database.

That's why they're gonna monetize by building a cloud service?

Spivak•23m ago
I mean right now it's JS's devise. There's always time in the future for them to ruin it.
sebmellen•4h ago
Curious how this compares to something like Ory Kratos? And what would the projected revenue stream be?
alephnerd•4h ago
Glad to hear Peak XV getting it's moment on a competitor's forum. Jokes aside, congrats Bereket.
arend321•3h ago
Will this be monetized with the classic SSO enterprise subscription play? Would be nice if they are transparent on how they plan to make money.

The DX is quite nice, even though not well suited for existing projects as it is hard to migrate existing users. There is no easy way to keep existing sessions or do a legacy login, then migrate a user to the new better-auth supplied hashing function.

koakuma-chan•1h ago
Why does a JavaScript auth library have to raise five million?
joshdavham•55m ago
Because the author of this library is an ambitious startup founder and would like to grow his tool into a business.
hijinks•57m ago
cant wait.. i guess on the 27th they are dropping support for SAML
dancerofaran•51m ago
helllll ya!

one of the best libraries in the ecosystem. it's basically open-source Clerk without the baggage of needing to trust someone else's security story

jtms•23m ago
"Better Auth’s pitch is simple: Let developers implement everything from simple authentication flows to enterprise-grade systems directly on their databases and embed it all on the back end."

Its absolutely bonkers to me that web development has gotten to a point where this is a novel pitch. Up until not that long ago ALL auth was done directly in your own database and embeded in your own backend. Am I missing something?