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.

AI Is Making Us Less Human

https://www.theatlantic.com/ideas/2026/09/open-ai-consciousness-morality/688535/
2•paulpauper•1m ago•0 comments

Alzheimer's trial to test drug on people without symptoms to test prevention

https://www.theguardian.com/society/2026/sep/05/alzheimers-trial-drug-dementia
1•borski•1m ago•0 comments

Ask HN: What are your predictions for the rest of 2026?

3•roschdal•3m ago•1 comments

An Alien Mind

https://openai.com/index/an-alien-mind/
1•tosh•3m ago•0 comments

TreasuryDirect is launching a controversial login system

https://tipswatch.com/2026/08/17/treasurydirect-is-launching-a-controversial-login-system/
1•clcaev•4m ago•0 comments

A complex train and logistics simulator running straight in your terminal? Yep

https://avaraujo.itch.io/letrain-procedural-tycoon
2•avaraujo•7m ago•0 comments

Pro Se Litigants in the U.S. Supreme Court: How Do They Fare? (2024) [pdf]

https://prod-i.a.dj.com/public/resources/documents/KylePersaud.pdf
2•Tomte•10m ago•0 comments

I Check the Weather

https://sarah-robin.com/blog/how-i-actually-check-the-weather
2•sarah-robiin•10m ago•0 comments

Hot Chips 2026: Irrational Recap

https://irrationalanalysis.substack.com/p/hot-chips-2026-irrational-recap
1•zdw•11m ago•0 comments

Distribution of Household Wealth in the U.S. since 1989

https://www.federalreserve.gov/releases/z1/dataviz/dfa/distribute/chart/#quarter:146;series:Net%2...
2•loughnane•13m ago•0 comments

AI agents aren't safe from prompt injection, and spreadsheets prove it

https://shiftmag.dev/ai-agents-arent-safe-from-prompt-injection-and-spreadsheets-prove-it-11609/
3•taubek•13m ago•0 comments

IBM_phoenix

https://quantum.cloud.ibm.com/computers?system=ibm_phoenix
2•Bluestein•14m ago•0 comments

'Twilight of the Dons' Review: The Prestige of the Professors

https://www.wsj.com/arts-culture/books/twilight-of-the-dons-review-the-prestige-of-the-professors...
1•pepys•14m ago•0 comments

The AI Account Reseller Ecosystem

https://vectoral.com/blog/ai-account-reseller-ecosystem
2•mlenhard•15m ago•0 comments

Research carried out using NetBSD

https://www.netbsd.org/gallery/research.html
5•Bluestein•20m ago•0 comments

The Tokens That Made Me Rethink Everything

https://cacm.acm.org/blogcacm/the-tokens-that-made-me-rethink-everything/
2•visha1v•23m ago•0 comments

When did French fries become the standard side to serve with a hamburger?

https://www.reddit.com/r/AskHistorians/comments/39v00a/comment/cs72af6/
5•thunderbong•23m ago•0 comments

Leverage Code Review for Sustainable AI Coding Development

https://cacm.acm.org/news/leverage-code-review-for-sustainable-ai-coding-development/
1•visha1v•23m ago•0 comments

Tumbler Ridge Shooting Survivors File 30 Lawsuits Against OpenAI

https://www.nytimes.com/2026/09/04/world/canada/openai-lawsuits-tumbler-ridge-shooting.html
2•sbulaev•23m ago•0 comments

Cash or Comfort? How LLMs Value Your Inconvenience

https://cacm.acm.org/research/cash-or-comfort-how-llms-value-your-inconvenience/
2•visha1v•24m ago•0 comments

The Coming Merging of Mind and Machine (2001)

https://www.thekurzweillibrary.com/the-coming-merging-of-mind-and-machine
2•vinhnx•25m ago•0 comments

Mdmanager.ai – Manage your Claude.md and AGENTS.md across machines and runtimes

https://github.com/manuelschipper/mdmanager
3•schipperai•27m ago•2 comments

Cultivating Trust

https://kaeruct.github.io/posts/2026/09/06/conquering-entropy-cultivating-trust/
3•kaeruct•28m ago•1 comments

Two party systems and the quartile voters

https://jslandy.com/two-party-systems-quartile-voters/
3•efavdb•29m ago•0 comments

Industry Standard Tools

https://industrystandard.tools/pending
1•bookofjoe•30m ago•1 comments

Linux support for Apple T1 hardware

https://github.com/standardagents/t1bridge
1•TiredOfLife•33m ago•0 comments

An actual music theory framework with note-for-note voice-leading resolutions

https://www.reddit.com/r/Learnmusic/comments/1vktxsj/the_layout_of_modeschord_swings_in_cmam_w_all/
2•RockofStrength•34m ago•0 comments

Pumpkin: Building a Minecraft server in Rust, First release after 2 years

https://github.com/Pumpkin-MC/Pumpkin
1•alex_medvedev•36m ago•0 comments

Researchers Demonstrate 'Accelerator on a Chip' (2013)

https://www6.slac.stanford.edu/news/2013-09-27-researchers-demonstrate-accelerator-chip
1•consumer451•36m ago•1 comments

The repo market is the 'dark matter' of finance: powerful and perilous

https://www.ft.com/content/8a7e8202-d800-4fb1-a8f0-eeb4536578f7
2•JumpCrisscross•37m ago•0 comments