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.

The Tragedy of Gethostbyname

1•signa11•1m ago•0 comments

LLVM: Add support for poison-generating/UB-implying annotations

https://github.com/llvm/llvm-project/pull/195339
1•luu•1m ago•0 comments

Long Lake agrees to acquire Amex GBT in AI bet

https://www.amexglobalbusinesstravel.com/press-releases/long-lake-agrees-to-acquire-amex-gbt-with...
1•lord_sudo•2m ago•0 comments

The Biggest Animal Migration–and Few Outsiders Have Seen It

https://www.wsj.com/world/africa/worlds-biggest-animal-migration-great-nile-b67e3c0b
1•thm•2m ago•0 comments

Agents Are Thinking: A tiny project exploring text based thinking animations

https://www.threads.com/@theaicontinuum/post/DXniNvyDVQw
1•zane__chen•4m ago•0 comments

Don't prepone it – do the needful. 10 Indianisms we should all be using

https://www.theguardian.com/commentisfree/2016/jan/04/indian-english-phrases-indianisms-english-a...
1•kayo_20211030•7m ago•1 comments

What I Got Wrong Implementing Graph-Based Vector Search

https://dubeykartikay.com/posts/reading-algorithms-like-an-engineer/
1•dubeyKartikay•7m ago•0 comments

Microsoft Edge stores all passwords in memory in clear text, even when unused

https://twitter.com/L1v1ng0ffTh3L4N/status/2051308329880719730
3•cft•7m ago•0 comments

Robot-mediated haptic feedback outperforms vision in violin duo coordination

https://www.science.org/doi/10.1126/scirobotics.aeb1901
1•geox•7m ago•0 comments

Amazon Web Services' plan to make networking disappear

https://www.theregister.com/2026/05/04/amazon_web_services_cupertino_networking_lab/
1•Bender•7m ago•0 comments

In Investing, It's When You Start and When You Finish (2011)

https://archive.nytimes.com/www.nytimes.com/interactive/2011/01/02/business/20110102-metrics-grap...
1•downbad_•9m ago•1 comments

Rumor: Disney to Remove Star Wars Sequel Trilogy from Timeline

https://geeksandgamers.com/remove-star-wars-sequel-trilogy/
2•bilsbie•9m ago•0 comments

Usage-based pricing killing your vibe, here's how to roll your own local AI

https://www.theregister.com/2026/05/02/local_ai_coding_agents/
2•Bender•10m ago•0 comments

Show HN: USD Accounts for Pakistani Freelancers

https://www.rizqfinance.com/
1•pickleballcourt•12m ago•0 comments

Chevrolet Performance eCrate package (400v/200hp)

https://www.chevrolet.com/performance-parts/crate-engines/ecrate
1•mindcrime•12m ago•0 comments

Show HN: I built a personal finance projection tool after outgrowing Excel

https://fignis.io/
1•loroloko•14m ago•0 comments

Deadweight Cognitive Loss, Mass Incarceration, and the Case for Education Reform

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6613125
1•paulpauper•15m ago•0 comments

How A.I. Is Transforming China's Entertainment Industry

https://www.nytimes.com/2026/05/03/world/asia/china-microdrama-ai-backlash.html
1•paulpauper•16m ago•0 comments

Show HN: Isonq – PDF/DXF and STEP to shop quoting

https://isonq.com/demo
1•dantesmaghi•16m ago•1 comments

The Southern Poverty Law Center Indictment

https://marginalrevolution.com/marginalrevolution/2026/05/the-southern-poverty-law-center-indictm...
3•paulpauper•16m ago•0 comments

Wizards of the Coast declines to voluntarily recognize Magic Arena union

https://www.enworld.org/threads/wizards-of-the-coast-declines-to-voluntarily-recognize-magic-aren...
1•pavel_lishin•18m ago•0 comments

AI Has Made Memory Chips One of the Most Profitable Products

https://www.wsj.com/tech/ai-has-made-memory-chips-one-of-the-worlds-most-profitable-products-b062...
1•gmays•18m ago•0 comments

Infinite Image Grids Are Flat Toruses

https://seththompson.com/articles/infinite-image-grids
1•s3th•18m ago•0 comments

Individual knowledge wikis need a sharing system, here is an example

https://github.com/dpetryshchuk/atrium-init
1•dimapetryshchuk•18m ago•1 comments

Apple Plans to Let Users Build Their Own Passes in iOS 27 Wallet App

https://www.bloomberg.com/news/articles/2026-05-04/ios-27-features-apple-plans-to-let-users-build...
1•helsinkiandrew•21m ago•0 comments

Drawy, KDE's first infinite whiteboard app

https://prayag2.github.io/posts/meet-drawy/
2•p4bl0•22m ago•0 comments

A Dark-Money Campaign Is Paying Influencers to Frame Chinese AI as a Threat

https://www.wired.com/story/super-pac-backed-by-openai-and-palantir-is-paying-tiktok-influencers-...
5•thm•23m ago•1 comments

Retail Investors Keep Getting Burned in the Stock Market.They're Piling in Again

https://www.barrons.com/articles/retail-investors-stocks-railroads-wall-street-4df3b7b1
2•laxmena•25m ago•0 comments

Offenders sentenced up to 10 years for spying on TSMC

https://www.taipeitimes.com/News/front/archives/2026/04/28/2003856358
13•ironyman•25m ago•0 comments

Toyota built a $10B private utopia–what's going on in there?

https://arstechnica.com/cars/2026/05/inside-toyotas-10b-private-utopia-big-ideas-few-people-camer...
2•rbanffy•25m ago•0 comments