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•7mo ago

Comments

graypegg•7mo 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.

I can't draw, so I made a website (to vent UK politics)

https://royalphallicsociety.uk/
1•ykurtov•1m ago•1 comments

Why Isn't Online Age Verification Just Like Showing Your ID in Person?

https://www.eff.org/deeplinks/2025/12/why-isnt-online-age-verification-just-showing-your-id-person
1•hn_acker•3m ago•0 comments

Flipping the NIS2 Switch: What Germany Implementation Means for 2026 Compliance

https://www.mofo.com/resources/insights/251208-flipping-the-nis2-switch-what-germanys-implementation
1•rbanffy•3m ago•0 comments

How to Run Ministral 3 with an AMD GPU on Windows

https://www.50-nuances-octets.fr/en/posts/ministral-3-gpu-amd-windows/
1•Sykursen•5m ago•0 comments

Why Text in Vampire Survivors Used to Look Weird

https://jslegenddev.substack.com/p/vampire-survivors-text-weird
1•ibobev•5m ago•0 comments

Next-gen supersonic jet engine gets a less glamorous job

https://newatlas.com/energy/boom-supersonic-engine-data-center/
1•breve•7m ago•0 comments

Genetic study reveals hidden links between psychiatric conditions

https://www.nature.com/articles/d41586-025-04037-w
2•bookofjoe•8m ago•1 comments

Dyalog APL: Our (Not So) Secret Ingredient [video]

https://www.youtube.com/watch?v=hnz6wjshRNc
3•pillowshift•10m ago•1 comments

Why Nobody Reads Anymore (and What That Says About Us)

https://mackleen.substack.com/p/why-nobody-reads-anymore-and-what
1•speckx•10m ago•0 comments

It's end-of-year concert season. Why do kids struggle with performance anxiety?

https://medicalxpress.com/news/2025-12-year-concert-season-kids-struggle.html
2•PaulHoule•11m ago•0 comments

FDA Approves First Gene Therapy for WAS. First Gene Therapy from a Non-Profit

https://www.fda.gov/news-events/press-announcements/fda-approves-first-gene-therapy-treatment-wis...
1•amarcheschi•12m ago•0 comments

A Chinese whistleblower living in the US is being hunted by Beijing with US tech

https://apnews.com/article/whistleblower-china-surveillance-tech-silicon-valley-adbd0bcfbb0892bfc...
5•alsdkfjas•12m ago•0 comments

A Plan for 5-10%* Faster Free-Threaded JIT by Python 3.16

https://fidget-spinner.github.io/posts/faster-jit-plan.html
1•Qem•14m ago•0 comments

Optimizing Mannequin

https://real-mrbeam.github.io/2025/12/11/Optimizing-Mannequin.html
1•ibobev•18m ago•0 comments

Chinese foundry SMIC achieves 5nm production without EUV tools

https://www.techpowerup.com/344000/chinese-smic-achieves-5-nm-production-on-n-3-node-without-euv-...
7•jsheard•20m ago•0 comments

Show HN: Work Simulation for developer evaluation instead of DSA and take-homes

https://imported-lush-slug.clueso.site/share/130f9789-54b9-41e4-b305-e5ecfe5e27fa
2•rishitchat•21m ago•0 comments

TikTok algorithm favors mental health content, analysis finds

https://www.washingtonpost.com/technology/interactive/2025/tiktok-algorithm-mental-health/
1•reaperducer•24m ago•0 comments

Chatbot-powered toys rebuked for discussing sexual, dangerous topics with kids

https://arstechnica.com/gadgets/2025/12/chatbot-powered-toys-rebuked-for-discussing-sexual-danger...
2•smurda•24m ago•0 comments

A New History of Arabia, Written in Stone (2018)

https://www.newyorker.com/culture/culture-desk/a-new-history-of-arabia-written-in-stone
1•janandonly•26m ago•0 comments

Climate Nobel Prize

https://climatenobelprize.org/
2•Vinnl•27m ago•0 comments

Magic Eye Tetris

https://www.lutanho.net/play/magiceyetetris5.html
1•JelteF•28m ago•0 comments

Show HN: Epstein's emails reconstructed in a message-style UI (OCR and LLMs)

https://github.com/Toon-nooT/epsteins-phone-reconstructed
5•toon-noot•29m ago•0 comments

How to break free from smart TV ads and tracking

https://arstechnica.com/gadgets/2025/12/the-ars-technica-guide-to-dumb-tvs/
10•fleahunter•29m ago•0 comments

Air passengers exposed to high levels of ultrafine particle pollution

https://www.theguardian.com/environment/2025/dec/12/air-passengers-extremely-high-levels-ultrafin...
3•belter•29m ago•0 comments

Go Concurrency Book

https://antonz.org/go-concurrency/
1•gigatexal•29m ago•0 comments

Disco: Google's Gemini tool creates web apps from browser tabs

https://techcrunch.com/2025/12/11/google-debuts-disco-a-gemini-powered-tool-for-making-web-apps-f...
1•not4uffin•30m ago•0 comments

Unswitching Loops for Fun and Profit

https://xania.org/202512/12-loop-unswitching
2•hasheddan•31m ago•0 comments

Armenia’s ancient 'dragon stones' are the work of a 6,000-year-old water cult

https://newatlas.com/history/armenia-dragon-stones-water-cult/
4•breve•35m ago•0 comments

I would love to get some feedback from data-obsessed climbers (Expo/RN app)

2•codesink•38m ago•0 comments

Censorship in Western Academia and the War in Ukraine

https://www.newglobalpolitics.org/censorship-in-western-academia-and-the-war-in-ukraine/
8•hackandthink•38m ago•1 comments