frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Rails 8 adds built in authentication generator

https://blog.saeloun.com/2025/05/12/rails-8-adds-built-in-authentication-generator/
6•amalinovic•1y ago

Comments

graypegg•1y ago
Now built a little workplace internal tool that needed a login page with it! Honestly pretty satisfied, it's simple enough that 10minutes is all you need to understand how it works: incredibly boring and standard (/pos)

My one gripe, that I think I might offer up a PR for, is it should have generators for log-in minitest helpers. You will end up making a log_in_as(user) method that sets the auth session cookie anyway... might as well just have that from the start.

The lack of registration also does feel weird to me as well. I know that user registration is probably the most variable part of the auth process, but stuff scaffolded from Rails is normally very delete-friendly anyway. Plus, 9/10 this generator is being run on a new project, so I immediately need to build it anyway, so I can set up system tests that log in and such.

NASA spacecraft discovers a new 2-year-old crater on the moon

https://apnews.com/article/moon-lunar-crater-space-nasa-80eea242ad275fda1f7a88587cdccd2f
1•bookofjoe•28s ago•0 comments

Why are APRs on secured credit cards so high?

https://unbreakfinance.com/blog/why-are-secured-credit-card-aprs-high
1•dashee•35s ago•0 comments

Sharing My Secret for Fast, Security-First VM Deployment on AWS. Save This Post

https://idlefy.medium.com/sharing-my-secret-for-fast-security-first-vm-deployment-on-aws-save-thi...
1•Idlefy_platform•1m ago•0 comments

Show HN: I build unprompted speaking app to improve speaking

https://speechio.app
1•dicksent•2m ago•0 comments

What Is Happening with PostgreSQL 19?

https://www.snowflake.com/en/blog/engineering/postgresql-19-release-delay-feature-reverts/
1•craigkerstiens•3m ago•0 comments

Reverse Engineering ChatGPT Web: How OpenAI Built for a Billion Users

https://performance.dev/chatgpt
1•theanonymousone•3m ago•0 comments

OpenAI report new misalignment incidents

https://openai.com/index/model-misalignment-reporting-framework/#the-misalignment-examples-were-s...
1•greg7mdp•3m ago•0 comments

Show HN: Calmscroll – a reader that shows the current paragraph in the library

https://calmscroll.com/
1•amadeuspagel•3m ago•0 comments

Is the phrase "master bedroom" harmful? A new psychology study says no

https://www.psypost.org/is-the-phrase-master-bedroom-actually-harmful-a-new-psychology-study-says...
2•theanonymousone•3m ago•0 comments

Olympiad Man has displaced Davos Man

https://economist.com/business/2026/09/16/olympiad-man-has-displaced-davos-man
1•andsoitis•4m ago•0 comments

A decade of Gazette: a streaming broker that doesn't store data

https://estuary.dev/blog/gazette-streaming-broker-architecture/
2•danthelion•5m ago•0 comments

Imaginary Fires, Real Theaters

https://www.xaviondono.com/posts/imaginary-fires-very-real-theaters/
1•xondono•6m ago•0 comments

From Academia to Alignment

https://millicosm.substack.com/p/from-academia-to-alignment
1•sebg•6m ago•0 comments

Google Pixel phones pwned in zero-click attacks

https://www.theregister.com/security/2026/09/16/google-pixel-phones-pwned-in-zero-click-attacks/5...
1•teekert•6m ago•1 comments

Claude Desktop Silently Associates with Common Files

1•3371•8m ago•0 comments

Grug-Brained Evals (2025)

https://softwaredoug.com/blog/2025/06/22/grug-brained-search-eval
1•softwaredoug•9m ago•0 comments

US securities regulator rolls out 5-year exemption for tokenized stock trading

https://www.reuters.com/world/us-securities-regulator-rolls-out-five-year-exemption-tokenized-sto...
2•elffjs•9m ago•1 comments

Understanding Why You'd Use Effect TS

https://cm.xyz/blog/understanding-why-youd-use-effect-ts
1•czxtm•9m ago•0 comments

Hello Inbox – Get more marketing emails into the inbox

https://www.helloinbox.email/
1•ismaelyws•11m ago•1 comments

What is it like to be alive?

https://www.lesswrong.com/posts/7xDhJr2whSoRvJkpj/what-is-it-like-to-be-alive
2•dbalduzzi•11m ago•0 comments

What is it like to be a neural net?

https://www.lesswrong.com/posts/zsxcCmwGbWLFcNN7i/what-is-it-like-to-be-a-neural-net
2•dbalduzzi•12m ago•0 comments

LP and 45 RPM Records

https://ethw.org/LP_and_45_RPM_Records
1•chistev•12m ago•0 comments

Three different solutions to "that inherent problem" of disappearing exploration

https://www.rockpapershotgun.com/three-different-4x-strategy-games-three-different-solutions-to-t...
1•Tomte•12m ago•0 comments

AnywhereDesign – Local-first voice cockpit for React

https://github.com/Maxjv/AnywhereDesign
1•Maxjv•14m ago•0 comments

Jev for Home Assistant

https://github.com/AboveColin/HA-Jev
1•AboveColin•14m ago•0 comments

The solarisation of Pakistan's energy economy

https://ember-energy.org/latest-insights/the-solarisation-of-pakistans-energy-economy/
1•toomuchtodo•15m ago•0 comments

Wisconsin GOP Candidate Is Exploiting Data Center Backlash to Attack Solar, Wind

https://capitalandmain.com/wisconsin-gop-candidate-is-exploiting-the-data-center-backlash-to-hit-...
1•paimapi•16m ago•0 comments

The Crisis in Physics: A Theory Must Be Able to Die

https://medium.com/@gridem/the-crisis-in-physics-a-theory-must-be-able-to-die-45d4a4bc0fcd
1•gridem•20m ago•0 comments

Mirror-Image Life

https://en.wikipedia.org/wiki/Mirror-image_life
1•benbreen•20m ago•0 comments

Tell HN: iOS 27's Connectivity Assist subverts DNS level adblocking

2•charliebwrites•20m ago•2 comments