frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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•12mo ago

Comments

graypegg•11mo 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.

The Buses Should Be Free

https://nicholasdecker.substack.com/p/the-buses-really-should-be-free
1•surprisetalk•19s ago•0 comments

Scientists Gave 'Aggressive' Fish Psychedelic Drugs. A Breakthrough Came Next

https://www.404media.co/fish-psilocybin-magic-mushrooms-study-psychedelics/
1•Brajeshwar•49s ago•0 comments

Cognitive Surrender – Addy Osmani

https://twitter.com/addyosmani/status/2052124873208799378
1•adrianthedev•1m ago•0 comments

Xfra AI

https://www.xfra.ai/
2•snickmy•1m ago•0 comments

TRE: Lightweight, robust, and efficient POSIX compliant regexp matching library

https://github.com/laurikari/tre/
1•klaussilveira•3m ago•0 comments

Ask HN: How do you deal with color blindness?

1•qrobit•3m ago•0 comments

From Buffon's Needle to Buffon's Noodle

https://mbmccoy.dev/posts/buffons-noodle/
1•_alternator_•3m ago•0 comments

The Axle

https://github.com/thansz137/asiyah-protocol/blob/main/axle.md
1•thansz•3m ago•1 comments

IODX, a compact notation for object trees and configs

https://iodx.org/
1•mindwarp•4m ago•0 comments

Bambu Lab Sent a Cease-and-Desist. The AGPL Might Send One Back [video]

https://www.youtube.com/watch?v=0tdZ5Z7nRDY
1•mafuy•4m ago•0 comments

Show HN: Transform Claude/Codex/Cursor sessions into high-value data assets

https://github.com/max-ng/datamoat
2•max93•5m ago•1 comments

Show HN: Download and open 3GPP specs – LTE, 5G, 6G from your Chrome side panel

https://chromewebstore.google.com/detail/3gpp-spec-manager/jeekjphpkmdlnocgcemdoalpfehmmacg
1•tughvn•5m ago•1 comments

AI for Bio has a Fuzzy API problem

https://ankitg.me/blog/2026/05/04/fuzzy_api.html
1•laserson•6m ago•0 comments

Automating Hermitage to see how transactions differ in MySQL and MariaDB

https://theconsensus.dev/p/2026/05/02/automating-hermitage.html
1•eatonphil•7m ago•1 comments

Vibe-code on Mac mini from anywhere, anything

https://kushagra.dev/blog/vibecoding-on-mac-mini-from-anywhere/
1•chinchang•11m ago•0 comments

Child marriages plunged when girls stayed in school in Nigeria

https://www.nature.com/articles/d41586-026-00796-2
2•surprisetalk•15m ago•0 comments

Claude for Financial Services

https://github.com/anthropics/financial-services
1•srikanth235•15m ago•0 comments

A small object past Pluto may have a thin atmosphere

https://www.sciencenews.org/article/atmosphere-small-object-past-pluto
2•gmays•16m ago•0 comments

What would make an academic AI assistant trustworthy for students?

https://github.com/DavidHavoc/openworkers
1•dvdhvc•16m ago•1 comments

Two Maps, One Domain

https://docs.eventsourcingdb.io/blog/2026/05/07/two-maps-one-domain/
1•goloroden•17m ago•0 comments

The Chinese Realtime Deepfake Software Powering Scams Around the World

https://www.404media.co/hello-boss-inside-the-chinese-realtime-deepfake-software-powering-scams-a...
1•tysone•18m ago•0 comments

Tests confirm tilapia in mackerel cans

https://www.bangkokpost.com/thailand/general/3250868/tests-confirm-tilapia-in-mackerel-cans
1•teleforce•18m ago•0 comments

What Causes Lightning? The Answer Keeps Getting More Interesting

https://www.quantamagazine.org/what-causes-lightning-the-answer-keeps-getting-more-interesting-20...
2•Brajeshwar•19m ago•1 comments

Cloudflare responded to the "Copy Fail" Linux vulnerability

https://blog.cloudflare.com/copy-fail-linux-vulnerability-mitigation/
2•mobeigi•19m ago•0 comments

In OpenAI trial, former CTO: Altman sowed 'chaos,' distrust among top executives

https://www.reuters.com/legal/litigation/openai-trial-former-technology-chief-says-altman-sowed-c...
1•1vuio0pswjnm7•20m ago•0 comments

Ars Asks: Share your shell and show us your tricked-out terminals

https://arstechnica.com/information-technology/2026/05/ars-asks-share-your-shell-and-show-us-your...
1•duxup•20m ago•0 comments

How did 'large' language models get that way?

https://www.greaterwrong.com/posts/gcKhnqysxj9bBvbWD/how-did-large-language-models-get-that-way-t...
1•gmays•21m ago•0 comments

AgentWrit, a Go broker for task-scoped AI agent credentials

https://github.com/devonartis/agentwrit
1•tdevonartis•21m ago•0 comments

Consuming too much AI can be bad. Data on 'tokenmaxxing' reveals a better way

https://www.businessinsider.com/ai-tokenmaxxing-fails-as-productivity-strategy-jellyfish-2026-5
1•gailaxelrod•22m ago•0 comments

Go's regular expressions are either slow or even slower than expected

https://ceving.gitlab.io/goregexpbench/
1•ceving•24m ago•0 comments