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.

Windows brings out the Rorschach test in everyone

https://devblogs.microsoft.com/oldnewthing/20030825-00/?p=42803
1•luu•1m ago•0 comments

Rising number of people seeking ADHD diagnosis without treatment, say experts

https://www.theguardian.com/society/2026/aug/18/great-adhd-myth-rising-diagnosis-without-treatment
1•theanonymousone•5m ago•0 comments

The data center fight is heating up

https://www.axios.com/2026/08/19/ai-power-data-center-electricity-construction
3•1vuio0pswjnm7•14m ago•1 comments

The tests your agent writes defend the code it saw. Bugs included

2•Marvin_RunAI•15m ago•0 comments

Cuisenaire Rods

https://en.wikipedia.org/wiki/Cuisenaire_rods
2•tosh•16m ago•0 comments

Old.reddit.com is now login only

5•denvrede•16m ago•1 comments

Seoul to cover all sidewalks with shade by 2028 to combat heat waves

https://en.yna.co.kr/view/AEN20260819007000315
4•riffraff•18m ago•0 comments

Wrapping C libraries in Nim (2023)

https://peterme.net/wrapping-c-libraries-in-nim.html
1•erikschoster•18m ago•0 comments

Show HN: Rove – parallel coding agents that can fan out subtasks and report back

https://github.com/Sma1lboy/rove
1•zhallen_work•20m ago•0 comments

Asana cleared 5 years of engineering work in 2 weeks with Codex

https://openai.com/index/asana/
7•tosh•24m ago•4 comments

Why Every Receipt in Taiwan Is a Lottery Ticket [video]

https://www.youtube.com/watch?v=s1EVk7k9S7Q
1•dataflow•24m ago•0 comments

My Grandfather's Career Took Off at 58

https://kejiakejia.substack.com/p/my-grandfathers-career-took-off-at
16•jamarna•24m ago•2 comments

Samsung hikes chipmaking prices by up to 15% for new orders, on demand spike

https://www.reuters.com/business/autos-transportation/samsung-hikes-chipmaking-prices-by-up-15-de...
3•giuliomagnifico•25m ago•0 comments

Show HN: I fixed a dead Bitcoin ASIC and made a foundry that engraves your words

https://strikeablock.com/
1•laksgandikota•26m ago•0 comments

ChessIQ – training positional evaluation instead of just finding tactics

https://chessiqapp.com/
1•VyomJ•28m ago•0 comments

Psychedelics align brain activity with context

https://www.nature.com/articles/s41586-026-10910-z
2•dr_dshiv•31m ago•0 comments

Neo-Etiquette Basics: The New Rules of Being Human

https://www.joanwestenberg.com/p/neo-etiquette-basics-the-new-rules
1•rapnie•32m ago•0 comments

Why Everyone Is Obsessed with Model Routing

https://menlovc.com/perspective/stripe-to-acquire-openrouter-why-everyone-is-obsessed-with-model-...
1•tosh•33m ago•0 comments

Owner of grok.bot asks xAI for $1M

https://grok.bot/
3•mrpadie•36m ago•2 comments

Show HN: UI Inspector for Tauri

https://github.com/mathematic-inc/tauri-plugin-ui-inspector
1•jrandolf•36m ago•0 comments

Succinct and Fast Tiny Pointer Hash Tables

https://arxiv.org/abs/2607.28892
1•matt_d•36m ago•0 comments

Block-Layer Error Injection

https://lwn.net/Articles/1086344/
2•pykello•40m ago•0 comments

Btrfs Ready with More Performance Improvements for Linux 7.3: Some ~3-5x Wins

https://www.phoronix.com/news/Linux-7.3-Btrfs
3•water-drummer•49m ago•0 comments

Winchester Mystery House

https://en.wikipedia.org/wiki/Winchester_Mystery_House
2•pchangr•57m ago•0 comments

Claude Revived My Microsoft Band 2

https://webenclave.com/posts/bringing-a-microsoft-band-2-back-from-the-dead/
2•bchip•1h ago•0 comments

The most thoroughly commented linker script (probably)

https://blog.thea.codes/the-most-thoroughly-commented-linker-script/
1•rramadass•1h ago•1 comments

Show HN: Doubletake – a daily spot-the-difference in ink and wash

https://doubletake.day
1•jokojogi•1h ago•0 comments

The US national debt now stands at $40T

https://apnews.com/article/treasury-national-debt-limit-a27a8d3651ff810b25c610d3e1b6259d
8•geox•1h ago•7 comments

Basics of the Unix Philosophy

https://cscie2x.dce.harvard.edu/hw/ch01s06.html
1•num42•1h ago•0 comments

Show HN: Linux and iPhone Continuity (iMessage / SMS)

https://github.com/zackb/tether
3•zackb•1h ago•0 comments