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

Comments

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

Show HN: AI agent that edits videos from natural language commands

https://twitter.com/yonatanbd/status/2041156418183500091
1•yonatan06•1m ago•0 comments

Hershey's Promises to Use Only Real Chocolate After Backlash

https://www.nytimes.com/2026/04/02/business/hershey-reeses-recipe-real-chocolate.html
1•mikhael•2m ago•0 comments

Corporate Accountability – Some Retired Clown Challenging McDonald's CEO

https://eattheburgerchris.com/
1•drkica•2m ago•1 comments

Catherine Lacey

https://www.catherinelacey.com
1•bookofjoe•3m ago•0 comments

Garmin – Give My Data

https://github.com/nrvim/garmin-givemydata
1•ArlenBales•3m ago•0 comments

Stop Writing Guard Clauses Like It's 2010

https://dotnetfiddle.substack.com/p/stop-writing-guard-clauses-like-its
1•refactormonkey•4m ago•0 comments

Old economy software x New economy software

https://ctts.substack.com/p/old-economy-software-x-new-economy
1•threefiftyone96•4m ago•0 comments

Show HN: mva-melding-java – Java library for Norwegian VAT filing via Altinn 3

1•guanghu•5m ago•0 comments

Boxsh: A sandboxed POSIX shell with concurrent JSON-line RPC mode

https://github.com/xicilion/boxsh
1•progyoung•5m ago•0 comments

JSIR: A High-Level IR for JavaScript

https://discourse.llvm.org/t/rfc-jsir-a-high-level-ir-for-javascript/90456
1•michaelkrem•6m ago•0 comments

Sourcehut disrupted due to DDoS attack [Apr 6, 2026]

https://status.sr.ht/issues/2026-04-06-ddos-attack/
1•alakra•6m ago•0 comments

The Federal Government Is Rushing Toward AI: Three Cautionary Tales

https://www.propublica.org/article/federal-government-ai-cautionary-tales
1•benwerd•10m ago•0 comments

I Won't Download Your App. The Web Version Is A-OK

https://www.0xsid.com/blog/wont-download-your-app
16•ssiddharth•11m ago•3 comments

A Closed-Loop Px_ISO Framework for Staged Day-Ahead Energy in Power Markets

https://www.mdpi.com/2227-9717/14/6/1027
1•PaulHoule•11m ago•0 comments

Show HN: Ephemeral messaging that protects your privacy from people in your life

https://voidlogue.com/
1•wycliffogembo87•12m ago•0 comments

Sam Altman May Control Our Future–Can He Be Trusted?

https://www.reddit.com/r/TrueReddit/s/sF3UUl7Dfv
1•Alex3917•12m ago•0 comments

Show HN: Flyable Artemis simulator (Svelte and rk4)

https://spacefomo.com/artemis
1•hackiku•12m ago•0 comments

AI Inference Cost Crisis 2026: Why Your AI Bill Is Exploding

https://oplexa.com/ai-inference-cost-crisis-2026/
1•igor_ryabenkiy•13m ago•0 comments

Falcon Perception

https://huggingface.co/blog/tiiuae/falcon-perception
1•ibobev•13m ago•0 comments

Holo3: Breaking the Computer Use Frontier

https://huggingface.co/blog/Hcompany/holo3
1•ibobev•13m ago•0 comments

Welcome Gemma 4: Frontier multimodal intelligence on device

https://huggingface.co/blog/gemma4
1•ibobev•13m ago•0 comments

Device Bound Session Credentials Now Available on Windows

https://developer.chrome.com/blog/dbsc-windows-announcement
1•ddadon10•14m ago•0 comments

Used EV sales spike alongside gas prices

https://arstechnica.com/cars/2026/04/used-ev-sales-spike-alongside-gas-prices/
1•voxadam•14m ago•0 comments

Obsidian sync tool for S3 compatible services and Bunny.net

https://github.com/gayanhewa/s3-compatible-directory-sync
1•filepod•16m ago•1 comments

The Indian fast food experience

https://smileplease.mataroa.blog/blog/the-indian-fast-food-experience/
2•Imustaskforhelp•16m ago•0 comments

Show HN: Contributor License Agreement Bot for GitHub – Next.js and Postgres

https://cla.fiveonefour.com
1•Callicles•17m ago•0 comments

Harmeet Dhillon is getting a Justice Department promotion

https://www.politico.com/news/2026/04/06/harmeet-dhillon-doj-ag-california-00855561
1•Tomte•17m ago•0 comments

Show HN: Rocky and Caveman Speak in Claurst CLI Save Big Token Amaze Amaze Amaze

https://github.com/Kuberwastaken/claurst
3•kuberwastaken•18m ago•0 comments

What Happens on the Emergency Docket

https://www.scotusblog.com/2026/04/what-actually-happens-on-the-emergency-docket/
1•Tomte•19m ago•0 comments

Slap: Functional Concatenative Language with a Borrow Checker?

https://taylor.town/slap-000
1•surprisetalk•19m ago•1 comments