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.

I wrote an API client for my water-cooled bed

https://tinkering.xyz/bedctl/
1•birdculture•40s ago•0 comments

Show HN: HN Comment Saver

https://github.com/overflowy/hn-comment-saver
1•overflowy•57s ago•0 comments

Show HN: OTP Inspired actor supervisor based full stack templates

https://shipstacks.net
1•annrap1d•1m ago•0 comments

Firefox Merges Support for Vulkan Video Decoding

https://github.com/search
1•DemiGuru•2m ago•0 comments

Kevin O'Leary Is Happy Playing the Villain

https://www.readtheprofile.com/p/kevin-oleary-mr-wonderful
2•polina09•2m ago•0 comments

Shinjuku Station in 3D

https://satoshi7190.github.io/Shinjuku-indoor-threejs-demo/
1•Gecko4072•6m ago•0 comments

Tasty

https://www.quarter--mile.com/tasty
2•surprisetalk•9m ago•0 comments

Jacobian conjecture is false (with help of Fable)

https://twitter.com/__alpoge__/status/2079028340955197566
3•k2xl•10m ago•0 comments

Comprehensive JVM Primitive Hashtable Benchmarks

https://sooniln.github.io/posts/hashmap-benchmarks-2026/
2•tooilln•13m ago•0 comments

A deep dive into my Forgejo setup

https://a.l3x.in/blog/welcome-to-my-forge/
4•alexfortin•13m ago•1 comments

Define less, check more: Pyrefly now supports attrs

https://pyrefly.org/blog/pyrefly-attrs/
2•ocamoss•20m ago•0 comments

Hacker wipes Romania's land registry database

https://news.risky.biz/risky-bulletin-hacker-wipes-romanias-entire-land-registry-database/
9•speckx•20m ago•1 comments

The age of token efficiency, the age of libraries

https://golemui.com/blog/the-age-of-token-efficiency/
2•wtfdeveloper•22m ago•0 comments

Show HN: A 16-control subtractive synth for microcontrollers (39k ELF, web demo)

https://mini000.itch.io/beeper
2•isitcontent•23m ago•0 comments

Modder Makes GTA: Vice City Playable Inside GTA 3 Inside GTA: San Andreas

https://kotaku.com/gta-vice-city-made-playable-in-gta-3-made-playable-in-gta-san-andreas-2000717510
2•sam_anthony•25m ago•0 comments

Show HN: QUBE Predict – A cloud platform for drug response prediction

https://qube-predict.streamlit.app/
2•gfam999•27m ago•0 comments

10x and 100x increase in CPU core and node bandwidth, respectively over 20 yrs

https://ieeexplore.ieee.org/document/11196478
2•teleforce•28m ago•0 comments

Self-Service Ransomware as Security Against Local AI Tools

https://blog.brendankeaton.com/self-service-ransomware-as-security-against-local-ai-tools
2•BrKeaton•28m ago•1 comments

Languages That Stretch Your DI Capabilities and Imagination

https://programmingsimplicity.substack.com/p/languages-that-stretch-your-di-capabilities
2•surprisetalk•29m ago•0 comments

Simple Invoices. Faster Payments

https://duely-44998.bubbleapps.io/
3•03Leena03•33m ago•2 comments

Apple should let us schedule work-hours notifications for specific apps

3•hellowastaken•35m ago•3 comments

What if your AI agent could have its own WhatsApp number?

https://tyxter.com/
2•thiagocarboni•36m ago•4 comments

I predicted all WC2026 matches with Poisson Dixon-Coles – 64% accuracy

https://predictive-model.com
2•dosores•37m ago•0 comments

Underwater Kites Harvest Power from Slow-Moving Tides

https://spectrum.ieee.org/tidal-energy-underwater-kite-power
2•speckx•37m ago•1 comments

Inertia-1: An Open Exploration to a Unified Motion Foundation Model

https://yang-ai-lab.github.io/Inertia-1/
3•hasheddan•38m ago•0 comments

Association of sedentary behaviors w cortical, subcortical &white matter volumes

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/alz.71582
2•bookofjoe•41m ago•0 comments

Where B2B Buyers Ask on Reddit: 30 Days of Scan Data

https://cuescout.com/blog/where-b2b-buyers-actually-ask-on-reddit
3•tgdaimov•41m ago•0 comments

The asymmetry problem: AI safeguards are mainly annoying to the good guys

https://cephalosec.com/blog/the-asymmetry-problem-ai-safeguards-are-mostly-hindering-the-good-guys/
2•Versipelle•41m ago•0 comments

We're Squandering LEDs' Potential to Save Our Night Skies

https://spectrum.ieee.org/led-light-pollution
2•defrost•42m ago•0 comments

Landmark Science Report Confirms Big Oil's Fingerprints on Extreme Weather

https://www.commondreams.org/newswire/landmark-science-report-confirms-big-oils-fingerprints-on-e...
2•robtherobber•43m ago•0 comments