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.

Rotation Key Census, July 2026

https://rob.leaflet.pub/3mr7vhdonuk2i
1•speckx•1m ago•0 comments

Air conditioning torn from UK homes under net zero clampdown

https://www.yahoo.com/news/politics/articles/air-conditioning-torn-homes-under-171119380.html
1•pudgywalsh•3m ago•0 comments

From Evaluation to Guardrails: What We Brought to ACM FAccT 2026

https://blog.mozilla.ai/from-evaluation-to-guardrails-what-we-brought-to-acm-facct-2026/
1•royapakzad•5m ago•0 comments

Wt – C++ Web Toolkit

https://www.webtoolkit.eu/wt
2•LorenDB•8m ago•0 comments

Explore distributed inference and training with MLX [video]

https://developer.apple.com/videos/play/wwdc2026/233/
1•pulkitsh1234•8m ago•0 comments

Building on ATProto

https://lukekanies.com/writing/building-on-atproto/
6•speckx•11m ago•0 comments

Snappable nRF52820 debugger integrated into nRF54L15 development board

https://www.cnx-software.com/2026/07/23/icy-electronics-nrf54l15-discovery-devboard-integrates-a-...
1•whiteblossom•11m ago•0 comments

Engineer Away the Slop

https://ghuntley.com/slop/
2•hasheddan•12m ago•0 comments

I used to ignore prediction markets. Then I learned people bet on wildfires

https://www.hcn.org/articles/i-used-to-ignore-prediction-markets-then-i-learned-people-were-betti...
1•cdrnsf•13m ago•0 comments

Why does DOS include "get interrupt vector" and "set interrupt vector" syscalls?

https://retrocomputing.stackexchange.com/questions/32747/why-does-dos-include-get-interrupt-vecto...
2•SeenNotHeard•14m ago•0 comments

The Topology of Depression: A System Dynamics View of My Depression and Recovery

https://tomatovillain.substack.com/p/the-topology-of-depression
1•tom-villani•15m ago•0 comments

Microsoft 365 a.k.a. Microsoft Copilot a.k.a. Office 365 has jumped off a cliff

https://cyberplace.social/@GossiTheDog/116970532818392929
3•d1ss0nanz•15m ago•0 comments

Model Context Protocol prepares to break with its stateful past

https://www.theregister.com/devops/2026/07/23/model-context-protocol-prepares-to-break-with-its-s...
3•rndsignals•16m ago•0 comments

My coding font and how I made it

https://github.com/ericfortis/camelana
2•efortis•18m ago•0 comments

AMD's 256-core Epyc 9996 'Venice' claims up to a 3.4x jump over Intel Xeon

https://www.tomshardware.com/pc-components/cpus/amds-256-core-epyc-9996-venice-claims-up-to-a-3-4...
4•rndsignals•18m ago•0 comments

SafeMediaKit – blur/report UI for Apple's on-device nudity detection

https://github.com/SardorbekR/SafeMediaKit
1•sardor_rakhimov•20m ago•0 comments

I built a tool that tells who tried your startup idea, and how they died

https://dejaview.bsct.so/
4•aminkhorrami•21m ago•3 comments

Open Trading Surface

https://pauljbernard.github.io/open-trading-surface/
2•paulbernard•21m ago•0 comments

Private Credit Ditches 'Semi-Liquid' Term After Redemption Wave

https://www.bloomberg.com/news/articles/2026-07-23/private-credit-ditches-semi-liquid-term-after-...
1•petethomas•21m ago•0 comments

A solid-state "atomic channel" for separating rare earth elements

https://pme.uchicago.edu/news-events/news/cleaner-route-purifying-rare-earth-elements
3•MarcoDewey•22m ago•0 comments

Geekbench 7

https://www.geekbench.com/blog/2026/07/geekbench-7/
4•ilreb•23m ago•1 comments

Smoother scrolling: How we halved scroll jank in Chrome on Android

https://blog.google/chromium/smoother-scrolling-how-we-halved-scroll-jank-in-chrome-on-android/
1•xnx•24m ago•1 comments

Importing a front end JavaScript library without a build system

https://simonwillison.net/2024/Nov/23/without-a-build-system/
1•ulrischa•25m ago•0 comments

Why Sony Can't Bring Back Its Classic Walkman Models

https://obsoletesony.substack.com/p/why-sony-cant-bring-back-classic-walkman
8•speckx•26m ago•1 comments

Storage Price Trends

https://pcpartpicker.com/trends/price/internal-hard-drive/
1•kaycebasques•26m ago•0 comments

Space's Hardest Problems: Incentives, Information, and Institutions

https://finalfrontierecon.substack.com/p/spaces-hardest-problems-incentives
1•paulpauper•27m ago•0 comments

AI bet goes awry: Oracle fires 21,000 employees

https://www.msn.com/en-us/money/economy/ai-bet-goes-awry-oracle-fires-21-000-employees/ar-AA28vWuD
6•petethomas•27m ago•1 comments

Does it matter if you don't like the characters?

https://www.commonreader.co.uk/p/does-it-matter-if-you-dont-like-the
1•paulpauper•27m ago•0 comments

IT Inflation Is Rising. It's Time for the C-Suite to Act

https://www.hellersearch.com/blog/it-inflation-is-rising.-its-time-for-the-c-suite-to-act
1•petethomas•29m ago•0 comments

A new crop of treasure-seekers are betting it all on the Calif. desert

https://www.sfgate.com/california/article/california-gold-mining-22335840.php
1•gmays•30m ago•0 comments