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.

Chinese farmer and his 70k chickens become online celebrities [video] (2019)

https://www.youtube.com/watch?v=aWjYLYulALs
2•dprkh•1m ago•0 comments

Silent Weapons for Quiet Wars

https://archive.org/details/silent-weapons-for-quiet-wars_202110
2•jupr•2m ago•1 comments

Learn how coding agents are built

https://twotimespi.dev/
2•nreece•5m ago•0 comments

Redesign of US Government websites stokes surveillance fears

https://www.theguardian.com/us-news/2026/jun/28/government-website-visitor-tracking-surveillance-...
5•devonnull•5m ago•0 comments

Book of American Types – ATF Standard Faces, 1934

https://archive.org/details/ATFBookOfAmericanTypes1934
2•everybodyknows•12m ago•0 comments

Australia toughens social media ban, doubles potential penalties for tech firms

https://www.reuters.com/business/media-telecom/australia-toughens-kids-social-media-ban-doubles-p...
3•1vuio0pswjnm7•14m ago•0 comments

'The cult of Elon': SpaceX investors grapple with volatility amid big swings

https://www.cnbc.com/2026/06/26/spacex-volatility.html
3•1vuio0pswjnm7•15m ago•0 comments

Low dose Naltrexone [video][9 mins]

https://www.youtube.com/watch?v=S5Y_ShsPTpQ
2•Bender•16m ago•0 comments

Billionaire Jeremy Grantham says Bitcoin will 'dwindle away with a whimper'

https://www.cnbc.com/2026/06/26/billionaire-investor-jeremy-grantham-says-bitcoin-will-dwindle-aw...
5•1vuio0pswjnm7•16m ago•0 comments

David Sedaris on his Duolingo obsession

https://www.theguardian.com/books/2026/jun/28/david-sedaris-duolingo-obsession-the-land-and-its-p...
1•andsoitis•19m ago•0 comments

Nostalgia – it's not like it used to be (2012)

https://www.bbc.com/news/magazine-20726824
1•ryandrake•29m ago•0 comments

Clean Code: Second Edition Critique

https://bugzmanov.github.io/cleancode-critique/clean_code_second_edition_review.html
1•bmacho•30m ago•0 comments

The church members disagree on politics. Together theyre wiping out medical debt

https://www.npr.org/2026/06/28/nx-s1-5847966/medical-debt-politics-republican-democrat
2•Jimmc414•31m ago•0 comments

Memory Safe Context Switches

https://fil-c.org/context_switches
1•pizlonator•33m ago•0 comments

Tailwind

https://www.kevinsdias.com/posts/tailwind.html
2•diasks2•33m ago•0 comments

The Hunt for the Death Valley Germans

https://otherhand.org/home-page/search-and-rescue/the-hunt-for-the-death-valley-germans/
1•signa11•34m ago•0 comments

Consistency, but in Excellence Not Appearance – Jim Nielsen's Blog

https://blog.jim-nielsen.com/2026/a-consistency-of-excellence/
1•tambourine_man•35m ago•0 comments

Blink If You're Human

https://dynomight.net/blink/
1•Curiositry•37m ago•0 comments

Polymarket traders revolted over one silly sillable

https://www.nytimes.com/2026/06/28/business/donk-polymarket-prediction-markets.html
3•croemer•38m ago•0 comments

Show HN: I Made a WebGPU Based Agent/Worlflow Explainer

https://tdu-naifen.github.io/AgentVisualization/
1•milkpowder101•42m ago•0 comments

The oracle problem is three thousand years old

https://pilgrima.ge/p/the-oracle-problem
2•momentmaker•43m ago•0 comments

Collider: A meson package manager – A hash proves the bytes, not the source

https://collider.ee/blog/2026-06-28-1500_a_hash_proves_the_bytes_not_the_source/https://collider....
1•mog_dev•43m ago•0 comments

The only CLI for browser agents

https://fuckui.com/fuckui
1•keepamovin•43m ago•1 comments

Anthropic Claude Fable 5, on track to return soon (possibly this week)

https://www.axios.com/2026/06/27/anthropic-fable-5-return-soon
3•dlg•45m ago•0 comments

Token Entanglement in Subliminal Learning

https://owls.baulab.info/
1•derbOac•48m ago•0 comments

Why it's almost impossible to produce a smartphone in the United States

https://www.neowin.net/opinions/why-its-almost-impossible-to-produce-a-smartphone-in-the-united-s...
1•bundie•57m ago•0 comments

Signed satellite images for AI agents

1•avijeetsingh16•57m ago•0 comments

Zero Interest Rate Tech Debt

https://twitter.com/staysaasy/status/2071312293326172647
2•thisismytest•1h ago•0 comments

Google: An 8-minute step-by-step guide to building the smallest Agent loop

https://twitter.com/Easycompany333/status/2071204465168769451
4•aurenvale•1h ago•2 comments

Show HN: SaaS landing page template (React/Vue/HTML, Tailwind), free and MIT

https://github.com/hannah-wright/saas-landing-page-template
1•hannahwright•1h ago•0 comments