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.

You probably don't need another database

https://postgresisenough.dev/
1•b-man•1m ago•0 comments

Artie-lens – design metrics and a CI gate for TypeScript

https://github.com/ariusxi/artie-lens
1•ariusxi•1m ago•0 comments

Treasury Has an Internal Report Warning About the Dangers of an AI Bubble

https://www.notus.org/economy/treasury-internal-report-warning-dangers-ai-bubble
1•dartharva•2m ago•0 comments

Xbox to fire 3200 employees in 2027

https://twitter.com/asha_shar/status/2074124008795369482
2•bartekrutkowski•2m ago•0 comments

Xbox Layoffs (3,200; half today)

https://www.ign.com/articles/xbox-boss-asha-sharma-announces-3200-layoffs-including-1600-today-wi...
1•tangenter•3m ago•0 comments

Hy3 (295B A21B), a reasoning and agent model with great cost efficiency

https://github.com/Tencent-Hunyuan/Hy3
1•modinfo•3m ago•0 comments

An independent evaluation of TabFM, Google's tabular foundation model

https://yashrajpandey.com/writing/breaking-google-tabfm/
1•yashrajpandey•4m ago•0 comments

BitTorrent's disastrous, legendary, and controversial story

https://www.theverge.com/tech/959848/bittorrent-story-25-years-piracy
1•colinprince•5m ago•0 comments

Show HN: Agent Draw: An agent draws while you talk, built on TLDraw

https://techstackups.com/articles/tldraw-agent-draw/
1•jameswhitford•7m ago•0 comments

A Meditation on AI Identity

https://soul.md
1•kehiy•8m ago•0 comments

New York hasn't built this many apartments since 1965

https://www.wsj.com/real-estate/new-york-city-hasnt-built-this-many-apartments-since-1965-9107b316
1•softwaredoug•8m ago•0 comments

Show HN: Xalgorix – Autonomous AI Pentesting Agent

https://github.com/xalgord/xalgorix
1•xalgord•8m ago•0 comments

DOGE Is Officially Ending. Agencies Are Hiring Again

https://www.notus.org/agencies/doge-is-officially-ending-agencies-are-hiring
1•thisisit•10m ago•0 comments

Show HN: I Built LangGraph for Swift

https://github.com/christopherkarani/Swarm
1•christkarani•10m ago•0 comments

Ten Takeaways from the AI Engineering Report 2026: The Acceleration Whiplash

https://www.faros.ai/blog/ai-acceleration-whiplash-takeaways
1•flail•11m ago•0 comments

Sonnet 5 is 2.5x cheaper than Opus 4.8 and 6 points behind on SWE-bench Pro

https://spark.temrel.com/p/stop-paying-the-opus-tax
1•bentemrel•11m ago•1 comments

Telepresence Burglary

https://incoherency.co.uk/blog/stories/telepresence-burglary.html
1•surprisetalk•12m ago•0 comments

Emily Bender Sets the Record Straight on "Stochastic Parrots"

https://spectrum.ieee.org/stochastic-parrot
2•digital55•12m ago•0 comments

Less Apocalyptic Rhetoric Can Help Mitigate Anti-Tech Violence

https://www.techpolicy.press/less-apocalyptic-rhetoric-can-help-mitigate-anti-tech-violence/
1•cdrnsf•12m ago•0 comments

The Internet Is Drowning in Secret Ads

https://slate.com/technology/2026/06/polymarket-kalshi-ads-sponsored-content-t-pain.html
3•hn_acker•14m ago•1 comments

Another Reason the Labor Share Keeps Falling: Taxes

https://everywheremillionaire.substack.com/p/another-reason-the-labor-share-keeps
1•paulpauper•14m 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
1•BrKeaton•15m ago•0 comments

Harman and Dr. Sean Olive are reshaping headphone sound

https://www.crutchfield.com/S-ls67Oiva4Wu/learn/crutchfield-visits-harman.html
1•ledoge•15m ago•0 comments

The Troubled History of Government Equity in Technology

https://www.rstreet.org/commentary/the-siren-song-of-the-golden-share-the-troubled-history-of-gov...
1•paulpauper•15m ago•0 comments

Heat deaths in Europe (from my email)

https://marginalrevolution.com/marginalrevolution/2026/07/the-history-of-heat-deaths-in-europe-fr...
1•paulpauper•15m ago•0 comments

Ditching Vagrant: VMs with KVM and Virsh on Debian

https://benjamintoll.com/2026/06/29/on-ditching-vagrant/
2•fanf2•16m ago•0 comments

Details on Fable 5's cyber safeguards and jailbreak framework

https://www.anthropic.com/news/fable-safeguards-jailbreak-framework
1•visha1v•16m ago•0 comments

Vibe-Cadding in Codex

https://generalrobots.substack.com/p/vibe-cadding
1•robobenjie•17m ago•0 comments

DB Zugradar – Deutsche Bahn ZüGE live verfolgen – live train tracking Germany

https://zugradar.info/db-zugradar-deutsche-bahn/
1•mpweiher•18m ago•0 comments

Show HN: AI harness for C/C++ with GDB, sanitizers, perf and compile tools

https://byteask.ai/
2•anirudhak47•19m ago•2 comments