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.

How Music Works [video]

https://www.youtube.com/watch?v=zbfKFa-reBE
1•gmays•40s ago•0 comments

Context.ai seemingly cause of Vercel breach

https://twitter.com/jaimeblascob/status/2045960143209152981
1•bearsyankees•48s ago•0 comments

EFF pushes back on Google data scandal response: 'Google screwed up'

https://www.androidauthority.com/eff-pushes-back-on-google-exception-claim-3658264/
1•donohoe•51s ago•0 comments

OpenMythos – open-source Mythos alternative

https://github.com/kyegomez/OpenMythos
1•orixilus•1m ago•0 comments

C++26: Reflection, Memory Safety, Contracts, and a New Async Model

https://www.infoq.com/news/2026/04/cpp-26-reflection-safety-async/
1•birdculture•1m ago•0 comments

Ask HN: Tactical/military reasons for difficulty unblocking the Hormuz Straits?

2•dsalzman•3m ago•0 comments

You're About to See a Lot of Critical Software Updates. Don't Ignore Them

https://www.wsj.com/tech/personal-tech/anthropic-mythos-security-software-updates-573cc9b3
1•fortran77•3m ago•1 comments

'Meow, meow': Pilots scolded after animal noises heard on air traffic radio

https://abcnews.com/US/meow-meow-pilots-scolded-after-animal-noises-heard/story?id=132076661
1•osnium123•5m ago•1 comments

BeagleConnect Zepto – A "$1 Computer" Based on TI MSPM0L1117 Cortex-M0 MCU

https://www.cnx-software.com/2026/04/19/beagleconnect-zepto-a-1-computer-based-on-ti-mspm0l1117-c...
1•HardwareLust•6m ago•0 comments

Satoshi Nakamoto: 'The best outcome is that no one ever finds out'

https://english.elpais.com/economy-and-business/2026-04-19/satoshi-nakamoto-the-reclusive-billion...
1•geox•9m ago•0 comments

Are developers burning out faster than ever? (survey)"

https://docs.google.com/forms/d/e/1FAIpQLSdu-1Sa6oPvhDtFtBuKEgeQ-xIUMTjGdtfRwVLJGibhJUAmOg/viewform
2•rechargedaily•10m ago•1 comments

The Invisible Migration from Nation-States to Stateless Nations

https://medium.com/discourse/the-invisible-migration-from-nation-states-to-stateless-nations-687b...
2•simonebrunozzi•13m ago•0 comments

Sardine Scam or Delicious Novelty?

https://ecency.com/hive-150329/@leaky20/sardine-scam-or-delicious-novelty
2•randycupertino•14m ago•1 comments

The State of Streaming Codecs 2026

https://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=173838
2•breve•15m ago•0 comments

Ask HN: Is giving AI agents DB access the new BI-tool problem?

3•vira28•17m ago•0 comments

Louisiana Advances One of the Country's 'Cruelest' Anti-Homeless Bills

https://www.commondreams.org/news/louisiana-homeless-bill
4•MiguelX413•18m ago•0 comments

RustNet – A cross-platform network monitoring tool

https://github.com/domcyrus/rustnet
1•martinlofgren•25m ago•0 comments

What's that "structured" in Structured Concurrency?

https://macguru.dev/whats-that-structured-in-structured-concurrency/
2•ingve•25m ago•0 comments

Nevada police may be tracking your phone's location without a warrant

https://apnews.com/article/nevada-police-fog-data-cellphone-location-tracking-ab6f7d75864cf0bfb94...
3•breve•26m ago•0 comments

Islamic Medicine (2018)

https://hekint.org/2018/11/19/islamic-medicine/
3•debo_•29m ago•0 comments

Intel Is Making Progress. But It Isn't Out of the Woods Yet

https://www.wsj.com/finance/stocks/intel-is-making-progress-but-it-isnt-out-of-the-woods-yet-f69c...
2•Brajeshwar•31m ago•0 comments

I don't care that it's X times faster

https://tinkering.xyz/faster/
3•RohanAdwankar•33m ago•0 comments

Robot breaks human world record for half-marathon in China

https://www3.nhk.or.jp/nhkworld/en/news/20260419_13/
2•baal80spam•34m ago•1 comments

Bringing the Power of the Sun to Earth: Nuclear Fusion Reactors

https://www.simonsfoundation.org/2026/02/18/bringing-the-power-of-the-sun-to-earth/
3•ganitam•35m ago•0 comments

Egypt's Forgotten Industrial Revolution

https://lostfutures.substack.com/p/egypts-forgotten-industrial-revolution
2•Lost-Futures•36m ago•0 comments

Swiss authorities want to reduce dependency on Microsoft

https://www.swissinfo.ch/eng/swiss-ai/swiss-authorities-want-to-reduce-dependency-on-microsoft/91...
36•doener•36m ago•4 comments

The time when we suffer from large amounts of AI slop is gone

https://lists.haxx.se/pipermail/daniel/2026-April/000153.html
5•jicea•38m ago•0 comments

Yoshihisa Kishimoto (1961 – 2026), creator of Double Dragon and Kunio-kun

https://old.reddit.com/r/NintendoClassics/comments/1sp8dao/in_tribute_to_yoshihisa_kishimoto_1961...
4•alberto-m•40m ago•0 comments

A trainspotter's dream: our own station on England's most scenic railway

https://www.ft.com/content/999edf24-3737-44ba-8ecb-57baa6493a27
2•bwb•42m ago•1 comments

The Weird, Dangerous, Isolated Life of the Saturation Diver

https://www.atlasobscura.com/articles/what-is-a-saturation-diver
3•thunderbong•43m ago•0 comments