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.

If Meta loses this trial, Instagram and Facebook could change forever

https://www.bbc.com/news/articles/clyqpx6xk69o
1•tartoran•46s ago•0 comments

List of words banned by the USA government

https://pen.org/banned-words-list/?unique
1•inigyou•13m ago•0 comments

Niu Lai (The Ox Comes): Bad Chinese Animated Movie Becomes Viral Box Office Hit

https://economictimes.indiatimes.com/news/international/global-trends/niu-lai-aka-the-ox-comes-th...
1•yanhangyhy•13m ago•1 comments

Sana.cpp – Nvidia's Sana T2I model in C++, 4.8x faster than PyTorch

https://github.com/cconthekeyboard/sana.cpp
1•cconthekeyboard•20m ago•1 comments

Octopuses could help us conceptualize a different form of intelligence

https://www.cbc.ca/lite/story/1.6871036
1•colinprince•23m ago•0 comments

Amodei Re. Regulation

https://twitter.com/DarioAmodei/status/2088758816376807762
1•jacquesm•29m ago•1 comments

Python's http.server – Add support for HTTP Range header in HTTPServer

https://github.com/python/cpython/pull/118949
2•gregsadetsky•30m ago•0 comments

Show HN: An open-source workspace for your agents

https://github.com/gigeey/launchpad-studio
1•SEArongo•32m ago•1 comments

A gas-enshrouded and gas-reddened black hole at cosmic dawn

https://www.nature.com/articles/s41586-026-10846-4
2•diwank•33m ago•0 comments

DeepSeek V4 Pro at 207 tok/s with the full 1M context, no quantization

https://runinfra.ai/inference-api/deepseek-v4-pro
3•OsamaJaber•33m ago•0 comments

Cross-Sectional Stock Selection: Where Returns Come from and Why Models Fail

https://wangqiao.me/posts/cross-sectional-stock-selection-models/
1•unliftedq•37m ago•0 comments

An app to streamline data analytics – and do it cheaply

https://app.verbagpt.com/
1•symuz•41m ago•0 comments

AGI-64 Brings Sierra Adventures to the Commodore 64

https://meanhamster.com/news/agi-64-brings-sierra-adventures-to-the-commodore-64
6•erickhill•43m ago•0 comments

Why Young Men Are Abandoning the Workforce

https://www.wsj.com/opinion/free-expression/young-men-are-abandoning-the-workforce-a021228a
2•bilsbie•53m ago•2 comments

BlockArena: AI-Generated FPS Game

https://blockarena.puter.com/
1•ent101•56m ago•0 comments

AI Agent Safety Is Still Thinking Like Permissions

https://jeffreyflynt02.medium.com/ai-agent-safety-is-still-thinking-like-permissions-45878337bd98
5•jflynt76•56m ago•0 comments

Why I vibecoded my own terminal multiplexer

https://www.codedsleep.com/posts/wv-multiplexer
1•codedsleep•58m ago•0 comments

Show HN: Adding friction to my automatic open Claude reaction

2•aqureshi8•59m ago•0 comments

Hacking Legends

https://opensourcelegends.com/hacking-legends
1•buffer_overlord•1h ago•0 comments

Rare things become common at scale (2014)

https://longform.asmartbear.com/scale-rare/
2•mooreds•1h ago•0 comments

Protecting water systems from cyberattacks: 5 steps cities can take now

https://www.smartcitiesdive.com/news/protecting-water-systems-cyberattacks-5-steps-cities/827560/
3•mooreds•1h ago•0 comments

Forecasting Andean rainfall and crop yield from influence of El Niño on Pleiades

https://www.nature.com/articles/47456
1•mooreds•1h ago•0 comments

Why Chinese Citizens Are More Optimistic About AI Than Americans

https://www.bloomberg.com/news/articles/2026-08-14/why-ai-optimism-is-so-much-higher-in-china-tha...
2•pella•1h ago•0 comments

PPS Watch – The Most Accurate Watch That Doesn't Tell Time

https://www.instructables.com/PPS-Watch-the-Most-Accurate-Watch-That-Doesnt-Tell/
1•sudo_cowsay•1h ago•0 comments

Code Is the Byproduct

https://yagmin.com/blog/code-is-the-byproduct/
2•lubujackson•1h ago•0 comments

Path Protocol – an open-source browser precision game and course editor

https://github.com/argentquest/protocol
2•EricMSilver•1h ago•0 comments

Inverse Problem

https://en.wikipedia.org/wiki/Inverse_problem
2•soupspaces•1h ago•0 comments

Physicists discover a hidden gluon structure inside protons

https://www.sciencedaily.com/releases/2026/08/260815064805.htm
7•gradus_ad•1h ago•0 comments

Play Anthakshari Online

https://anthakshari.ai/
3•hareeshimo•1h ago•0 comments

Israeli minister calls for killing '30 to 40′ Palestinians in Gaza nightly

https://www.aljazeera.com/news/2026/8/16/israeli-minister-calls-for-killing-30-to-40-palestinians...
28•LAC-Tech•1h ago•6 comments