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•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.

Show HN: MerryDiv – Track dividends across all your brokerage accounts

https://www.merrydiv.com/
1•zouko•2m ago•0 comments

Tell HN: Starting June 15, claude -p usage will change

1•andersonmvd•5m ago•0 comments

LinkedIn planning to lay off 5% of staff

https://www.reuters.com/business/world-at-work/linkedin-is-planning-lay-off-5-staff-latest-tech-s...
3•doppp•7m ago•0 comments

The Chip War Nobody Saw Coming: Samsung vs. SK Hynix

1•xurgadis•10m ago•0 comments

SwiftUI Is a Disaster

https://ben1777.substack.com/p/swiftui-is-a-disaster
1•bentocorp•13m ago•0 comments

Harvey's Legal Agent Benchmark

https://www.harvey.ai/blog/introducing-harveys-legal-agent-benchmark
1•gmays•16m ago•0 comments

The Ten Commands of the Nine Divines

https://en.uesp.net/wiki/Lore:Ten_Commands:_Nine_Divines
1•alhazrod•17m ago•0 comments

ICE may be at World Cup matches in U.S.

https://www.nbcnews.com/sports/soccer/ice-may-world-cup-matches-us-rcna344797
3•mgh2•18m ago•0 comments

Meta launches WhatsApp 'incognito' mode to address privacy concerns for AI chats

https://apnews.com/article/whatsapp-meta-ai-chatbot-privacy-9a5f7565c969cbf04cf150dfc318cfae
3•devonnull•18m ago•0 comments

Google reports first known real-world AI-crafted zero-day exploit

https://cloud.google.com/blog/topics/threat-intelligence/ai-vulnerability-exploitation-initial-ac...
1•JoheyDev888•19m ago•0 comments

US citizen convicted of running secret Chinese 'police station' in NYC

https://www.bbc.com/news/articles/cy72yy7z1dyo
3•tartoran•23m ago•0 comments

59,000-year-old tooth offers a glimpse into how Neanderthals handled dentistry

https://www.cnn.com/2026/05/13/science/neanderthal-dentistry-stone-drill
1•breve•23m ago•0 comments

Oppositional Federalism: A Taxonomy of State Constitutional Postures Under

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6416178
1•hkhn•24m ago•0 comments

Alberta judge throws out petition seeking for the province separation

https://www.bbc.com/news/articles/clypn8py4zwo
4•tartoran•25m ago•0 comments

New in Claude Code: ‎`/goal` for autonomous dev loops

https://code.claude.com/docs/en/goal
2•Lwrless•25m ago•0 comments

BYD eyes Stellantis EU plant takeover as EV demand spikes

https://electrek.co/2026/05/13/byd-eyes-stellantis-eu-plant-ev-sales-surge-others-too/
3•breve•27m ago•0 comments

Live Design of ABS (2007)

https://web.archive.org/web/20071011040948/http://www.albinoblacksheep.com/livedesign/
1•arm32•27m ago•0 comments

Cerebras prices IPO at $185 per share to raise $5.55B

https://www.reuters.com/legal/government/cerebras-prices-ipo-185-per-share-raise-555-billion-sour...
4•laixintao•31m ago•0 comments

BYD surpasses Tesla as world’s top energy storage deployer

https://electrek.co/2026/05/13/byd-surpasses-tesla-energy-storage-bess-benchmark-2025/
3•breve•32m ago•0 comments

Federalism for Anti-Fascists

https://medium.com/@carmitage/federalism-for-anti-fascists-e83fb20c6fc2
3•hkhn•35m ago•0 comments

Perl versus Java – The Moving Finger (2025)

https://rant.li/ashwin/perl-versus-java
2•pkaeding•35m ago•0 comments

How Bribery Became Legal

https://medium.com/@carmitage/how-bribery-became-legal-b28dbdf0a41c
2•hkhn•37m ago•1 comments

Show HN: Nibble

https://github.com/glouw/nibble
1•glouwbug•37m ago•0 comments

Feedback Welcome – Feline Finder – explainable AI matching for adoptable cats

https://www.felinefinder.info/
1•gregoryew•37m ago•0 comments

Sound Mode: Can TypeScript Type Checking Be Stricter?

https://tsz.dev/sound-mode/
4•mohsen1•39m ago•0 comments

Cisco Workforce Reductions

https://blogs.cisco.com/news/our-path-forward
4•ahmedomran8•46m ago•0 comments

The inventor hoping to fix your washing machine to stop microplastics

https://www.theguardian.com/environment/2026/may/13/you-have-to-be-where-the-pollution-is-the-inv...
3•thunderbong•56m ago•1 comments

China moves to regulate digital humans - Reuters

https://www.reuters.com/world/china/china-moves-regulate-digital-humans-bans-addictive-services-c...
2•Baljhin•56m ago•2 comments

Dungeons & Desktops: Building a Roguelike with GitHub Copilot CLI

https://github.blog/ai-and-ml/github-copilot/dungeons-desktops-building-a-procedurally-generated-...
1•lee337•59m ago•0 comments

Dungeons & Desktops: 10 open source roguelikes that never die

https://github.blog/open-source/gaming/dungeons-desktops-10-roguelikes-that-never-die-because-the...
2•lee337•1h ago•0 comments