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.

AI Value Capture – The Shift to Model Labs

https://newsletter.semianalysis.com/p/ai-value-capture-the-shift-to-model
1•nsoonhui•5m ago•0 comments

Show HN: Vibe, a single-header C networking library for Linux

https://github.com/xtellect/vibe
1•enduku•10m ago•0 comments

Ask HN: Does Claude use 'prior' in a Bayesian sense more than English?

1•slake•11m ago•0 comments

Ruby Gems and Go Modules Impersonate Dev Tools to Steal Secrets and Poison CI

https://socket.dev/blog/malicious-ruby-gems-and-go-modules-steal-secrets-poison-ci
1•ilreb•12m ago•0 comments

A Three Horizons Framework for Government Reform

https://www.eatingpolicy.com/p/a-three-horizons-framework-for-government
1•brandonb•15m ago•0 comments

Health care costs reach a breaking point

https://newsroom.heart.org/news/health-care-costs-reach-a-breaking-point
2•geox•16m ago•0 comments

10-day training cycle that Sabastian Sawe used to run a sub-2 marathon

https://www.runnersworld.com/uk/training/marathon/a71027488/sebastian-sawe-training-cycle/
2•canucker2016•16m ago•2 comments

The Fick equation and your heart

https://www.empirical.health/blog/fick-equation-vo2max-heart/
1•brandonb•16m ago•0 comments

Employee Fired After Discovered She Was Using "Thinking Face" Filter in Meetings

https://twitter.com/i/status/2049977987781824666
3•lando2319•17m ago•0 comments

Show HN: Winpodx – run Windows apps on Linux as native windows

https://github.com/kernalix7/winpodx
1•kernalix7•19m ago•0 comments

Claude Code is going to fail you eventually, and you need to be ready

https://claudefolio.com/blog/claude-code-is-going-to-fail-you-eventually-and-you-need-to-be-ready
2•VaderMaster•20m ago•0 comments

US-Indian Spacecraft Captures Mexico City Subsidence

https://science.nasa.gov/photojournal/us-indian-spacecraft-captures-mexico-city-subsidence/
2•hsuresh•24m ago•0 comments

Codex subscription in an Electron app and Chromium Browser

https://github.com/chillysbabybackribs/Goldenboy-YouTube-Reddit-Extractor
1•goldenboychrome•27m ago•1 comments

Termshot: Create screenshots based on terminal command output

https://github.com/homeport/termshot
1•sea-gold•29m ago•0 comments

KDE at 30

https://kde.org/anniversaries/30/
2•kristianp•31m ago•0 comments

Letter from van Gogh: "No, [ ], learn how to dance, or fall in love"

https://www.webexhibits.org/vangogh/letter/17/W01.htm
1•jdcampolargo•32m ago•0 comments

KDE Frameworks

https://invent.kde.org/frameworks
1•kristianp•32m ago•0 comments

OpenWarp

https://openwarp.zerx.dev
16•zero-lab•32m ago•8 comments

KV Cache Locality: The Hidden Variable in Your LLM Serving Cost

https://ranvier.systems/2026/04/30/kv-cache-locality-the-hidden-variable-in-your-llm-serving-cost...
1•mindsaspire•34m ago•0 comments

Brain scans reveal 3 ADHD subtypes

https://www.washingtonpost.com/health/2026/04/30/adhd-subtype-extreme-brain-scans/
3•brandonb•39m ago•0 comments

The Hearts of the Super Nintendo

https://fabiensanglard.net/snes_hearts/
3•droppedasbaby•41m ago•0 comments

What Is the Most Common Type of Planet in the Galaxy?

https://www.universetoday.com/articles/what-is-the-most-common-type-of-planet-in-the-galaxy
4•johnbarron•44m ago•0 comments

Samsung warns memory shortage will be worse next year

https://mashable.com/article/samsung-memory-shortage-ram-ai-worse-2027
4•ripe•44m ago•1 comments

Amazon Free Cash Flow drops 95%

https://ir.aboutamazon.com/news-release/news-release-details/2026/Amazon-com-Announces-First-Quar...
4•johnbarron•44m ago•0 comments

When you save money, you buy freedom

https://herbertlui.net/when-you-save-money-you-buy-freedom/
3•littlexsparkee•49m ago•2 comments

Veryl 0.20.0: logic synthesis and type inference are supported

https://veryl-lang.org/blog/announcing-veryl-0-20-0/
2•dalance•49m ago•0 comments

Garmin-health-data – Own your Garmin data analysis

https://github.com/diegoscarabelli/garmin-health-data
3•diegoscara•53m ago•1 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
2•softservo•55m ago•0 comments

This photo has no color – how Lippmann Plates work

https://www.youtube.com/watch?v=-DyrBDsKA5s
2•freetime2•56m ago•0 comments

Fraude.Codes

https://fraude.codes/
3•dvdlrg•58m ago•0 comments