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

Decoupled DiLoCo for Resilient Distributed Pre-Training

https://arxiv.org/abs/2604.21428
1•matt_d•1m ago•0 comments

Serendipity Machines

https://www.shishyko.com/essays/serendipity-machines.html
1•philip1209•5m ago•0 comments

Mac-use: open-source Codex computer-use clone for your OpenClaw on Mac OS

https://github.com/TheGuyWithoutH/mac-computer-use
1•guywithnoh•9m ago•2 comments

ChatGPT ads targeting farmers (YouTube Link) [video]

https://www.youtube.com/watch?v=4rzeW4dbvlQ
1•ki4jgt•11m ago•0 comments

Prop 13 Didn't Shrink Government. It Handed It to Sacramento

https://maxmautner.com/2026/04/23/prop-13-changed-things.html
1•mslate•14m ago•0 comments

Why does the Rainbow have 7 colors?

https://glorify.com/learn/why-does-the-rainbow-have-seven-colors
1•airstrike•15m ago•0 comments

You're about to feel the AI money squeeze

https://www.theverge.com/ai-artificial-intelligence/917380/ai-monetization-anthropic-openai-token...
2•cdrnsf•17m ago•1 comments

Anthropic now requires Pro Plans to enable/purchase extra usage for Opus

https://support.claude.com/en/articles/11940350-claude-code-model-configuration
5•qdot76367•20m ago•3 comments

Context Pricing and Accounting [video]

https://www.youtube.com/watch?v=xcYhV4S7faI
1•journal•22m ago•0 comments

Chinese National Pleads Guilty to Photographing Air Force Base and Equipment

https://www.justice.gov/usao-wdmo/pr/chinese-national-pleads-guilty-unlawfully-photographing-air-...
2•737min•25m ago•2 comments

Databases Were Not Designed for This

https://arpitbhayani.me/blogs/defensive-databases/
1•mooreds•26m ago•0 comments

James Bosworth on the 'Orange Wave' Happening Across Latin America

https://www.bloomberg.com/news/articles/2026-04-24/james-bosworth-on-the-orange-wave-happening-ac...
1•mooreds•27m ago•1 comments

Alex Bores' AI Policy Framework for Congress [pdf]

https://www.alexbores.nyc/files/Bores_AI_Framework.pdf
1•mooreds•32m ago•0 comments

Andrej Karpathy's microgpt as a Triptych

https://karpathy.art/
1•stared•36m ago•0 comments

Chinese National Arrested for Illegally Photographing Military Aircraft at AFB

https://www.justice.gov/opa/pr/chinese-national-arrested-jfk-international-airport-federal-charge...
2•737min•39m ago•1 comments

Exodus, from former Mass Effect devs, couldn't look more like Mass Effect

https://www.pcgamer.com/games/rpg/exodus-the-sci-fi-rpg-from-former-mass-effect-devs-couldnt-look...
2•evo_9•41m ago•0 comments

Ancient amber reveals a true bug equipped with claws, a highly unusual feature

https://phys.org/news/2026-04-ancient-amber-reveals-true-bug.html
2•bookofjoe•41m ago•0 comments

The bull case for graph DBs in law

https://alanyahya.com/writing/bull-case-graph-dbs-law
2•alansaber•43m ago•0 comments

Microsoft offers voluntary employee buyout/retirement for 7% of U.S. workforce

https://www.cnbc.com/2026/04/23/microsoft-plans-first-voluntary-retirement-program-for-us-employe...
2•mgh2•44m ago•0 comments

Show HN: RoboAPI – A unified REST API for robots, like Stripe but for hardware

https://github.com/amitb-quantum/roboapi
1•xmas123•51m ago•0 comments

Lumitime Automata – The Most Amazing Digital Clock Is a Machine [video]

https://www.youtube.com/shorts/LTInOMdjs5o
1•thunderbong•52m ago•0 comments

David Choi's Mars FX Collapse Sparks Global Hunt for Almost $600M

https://www.bloomberg.com/news/articles/2026-04-24/hedge-fund-collapse-sparks-global-hunt-for-alm...
1•simonpure•54m ago•1 comments

Is your meditation posture making things worse?

https://mvmnt.substack.com/p/is-your-meditation-posture-making
1•awakenmyrub•55m ago•0 comments

Performance of the Wren Programming Language

https://wren.io/performance.html
2•birdculture•57m ago•0 comments

Giving AI Agents Database Access Is Way Harder Than It Looks

https://querybear.com/blog/architecture-of-querybear
2•dispencer•1h ago•0 comments

The xAI exodus: Meet the people who have left Musk's AI company

https://www.fastcompany.com/91531084/inside-the-xai-exodus
4•littlexsparkee•1h ago•0 comments

Ask HN: Any recommendataions for exporting data from Amazon?

2•coreyp_1•1h ago•1 comments

2FA: A dedicated two-factor authenticato to securely manage one-time passwords

https://codeberg.org/979/2fa
2•thunderbong•1h ago•0 comments

How to Export Your ChatGPT Conversation History (and Use It)

https://chromewebstore.google.com/detail/lisa-core-ai-memory-libra/dmgnookddagimdcggdlbjmaobmoofhbj
2•AmarDahmani•1h ago•0 comments

Great moments in American advertising history

https://www.wsj.com/business/us-advertising-history-great-moments-418a8284
2•hhs•1h ago•0 comments