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.

What are peoples' biggest issues with Crypto?

1•arifromjelly•1m ago•1 comments

ESA's Euclid captures the Milky Way's crowded heart

https://www.esa.int/Science_Exploration/Space_Science/Euclid/ESA_s_Euclid_captures_the_Milky_Way_...
1•robin_reala•2m ago•0 comments

The Fastest Python Struct?

https://www.crumpledpaper.tech/2026-06-21-python-struct-profiling/
1•lumpa•2m ago•0 comments

Head to Head: Anthropic: Claude Opus 4.8 vs. Google: Gemini 3.5 Flash

https://runtimewire.com/article/head-to-head-anthropic-claude-opus-4-8-vs-google-gemini-3-5-flash
1•ryanmerket•4m ago•0 comments

The Modular Monolith in Rails: Engines, Packwerk and Boundaries

https://davidslv.uk/modular-monolith-rails/
1•davidslv•5m ago•0 comments

Github Copilot: Changes to model selection for Free and Student plans

https://github.blog/changelog/2026-06-24-changes-to-model-selection-for-free-and-student-plans/
1•zorrn•6m ago•0 comments

How to Tell If Your Kafka Self-Service Is Working?

https://medium.com/conduktor/how-to-tell-if-your-kafka-self-service-is-actually-working-361cef450b81
1•chtefi•7m ago•0 comments

Show HN: Pinch to zoom on Paul Graham's essays

https://www.pgstrata.com/
1•knrz•7m ago•0 comments

Could You Pass Thomas Edison's Job Application Test?

https://www.saturdayeveningpost.com/2026/06/could-you-pass-thomas-edisons-job-application-test/
2•bookofjoe•7m ago•1 comments

Why Data Marketplaces Don't Work: The Geometry of Data Markets

https://brickroad.network/blog/geometry-of-data-markets
1•dataranger•8m ago•0 comments

Nature retracts provocative PD-1 study tying lung cancer survival to tx timing

https://www.fiercepharma.com/pharma/nature-retracts-provocative-pd-1-study-tied-lung-cancer-survi...
1•randycupertino•9m ago•1 comments

Is AI 'one big bubble'? Behind the tech sell-off

https://www.npr.org/2026/06/23/nx-s1-5867633/ai-selloff-tech-stocks-bubble-nasdaq
1•doctor_radium•10m ago•0 comments

Linus calls sched_ext's file layout "disgusting"

https://www.phoronix.com/news/Linux-Sched-Ext-Restructured
1•p_stuart82•12m ago•0 comments

Announcing Mozilla.org, a New 501(C)(3) Nonprofit

https://blog.mozilla.org/en/mozilla/news/announcing-mozilla-org-new-non-profit/
1•wintermute2dot0•12m ago•0 comments

How to Resolve Promises Sequentially in JavaScript

https://www.jamdesk.com/blog/resolve-promises-sequentially-javascript
1•jamdesk•14m ago•0 comments

Close Encounters of the Imagined Kind

https://argumenta.blog/posts/close-encounters-of-the-imagined-kind
1•cbiaivids•14m ago•1 comments

AI coding agents need evidence-first review, not just cheaper routing

https://undes.app/blog/cheaper-ai-code-generation-engineering-cost
2•CalmAngler•14m ago•1 comments

I rewrote PostHog's SQL parser, 70x faster, while barely looking at the code

https://posthog.com/blog/sql-parser
7•robbie-c•15m ago•0 comments

Forensic Analysis: Hal Finney Missed the Bitcoin Launch

https://twitter.com/raw_avocado/status/2069786136998785412
1•alexwaltz•16m ago•1 comments

Show HN: Screen recording your crappy startup

https://www.youtube.com/channel/UC2DA9fAIEVtAhy_1TdQDLHQ
2•johnwheeler•16m ago•0 comments

Tata Electronics confirms cyberattack as hackers leak data

https://www.bleepingcomputer.com/news/security/tata-electronics-confirms-cyberattack-as-hackers-l...
1•Brajeshwar•19m ago•0 comments

Co-Packaged Optics (CPO) – Scaling with Light for the Next Wave of Interconnect

https://newsletter.semianalysis.com/p/co-packaged-optics-cpo-book-scaling
1•JumpCrisscross•20m ago•0 comments

Fossils of archaic human found in a cave are the same sex

https://www.cnn.com/2026/06/24/science/homo-naledi-fossils-same-sex
1•Tomte•21m ago•0 comments

Elon should remain focused on Mars; diverting to the Moon would be a mistake

https://quillette.com/2026/03/05/musk-is-enticed-by-the-lunar-siren-moon-space/
1•speckx•23m ago•0 comments

Beyond expands AI offering with revenue management tools

https://shorttermrentalz.com/news/beyond-expands-ai-revenue-management/
1•thomcrowe•25m ago•0 comments

Four by Three Puzzle

https://www.hankgreen.com/fourbythree
1•marvinborner•27m ago•0 comments

Show HN: SparQ Pulse – Self-hosted, GitHub-native project management

https://github.com/gosparQ/sparq
1•aidanurbina•28m ago•0 comments

Robert Stroud

https://en.wikipedia.org/wiki/Robert_Stroud
2•petethomas•28m ago•0 comments

Show HN: Piranha Chat – The second screen for live events.

https://piranha.chat/
1•Mike-Mait•28m ago•0 comments

A $45M Donation Brought Larry Ellison Deeper into Trump's Circle

https://www.wsj.com/politics/policy/how-a-45-million-donation-brought-larry-ellison-deeper-into-t...
4•petethomas•29m ago•1 comments