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

Comments

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

Macron says it is unrealistic to open Hormuz Strait by force

https://www.reuters.com/world/macron-says-it-is-unrealistic-open-hormuz-strait-by-force-2026-04-02/
1•geox•1m ago•0 comments

Gödel's Blockchain Problem: valid but not true

1•tpotts_eth•1m ago•0 comments

Vibe Coding: Best Practices for Prompting

https://supabase.com/blog/vibe-coding-best-practices-for-prompting
1•Bakalemwa•4m ago•0 comments

Lemonade by AMD: a fast and open source local LLM server using GPU and NPU

https://lemonade-server.ai
1•AbuAssar•5m ago•0 comments

Fuel prices are soaring. Plastic could be next

https://www.technologyreview.com/2026/04/02/1135045/plastic-economic-effects/
1•joozio•7m ago•0 comments

Why I'm Building Another AI Meeting Notes Tool Instead of Using Granola.ai

https://www.indiehackers.com/post/why-i-m-building-another-ai-meeting-notes-tool-C3yZAdu9r4DKF2B0...
1•zlat1997•11m ago•2 comments

Spanner Columnar Engine in Preview

https://cloud.google.com/blog/products/databases/spanner-columnar-engine-in-preview
1•fastest963•12m ago•0 comments

Skill Ratings and Matchmaking

https://kalifi.org/2026/02/skill-ratings.html
2•ZacnyLos•13m ago•0 comments

Zstandard Across the Stack

https://oddur.me/posts/zstandard-across-the-stack/
1•oddurmagnusson•17m ago•0 comments

Beyond the Network View: DNS-Driven Application Visibility

https://labs.ripe.net/author/danny-lachos/beyond-the-network-view-dns-driven-application-visibility/
1•jruohonen•20m ago•0 comments

Sweden goes back to basics, swapping screens for books in the classroom

https://undark.org/2026/04/01/sweden-schools-books/
10•novaRom•20m ago•0 comments

Enabling Codex to Analyze Two Decades of Hacker News Data

https://modolap.com/publication/hn-analysis-1
2•ronfriedhaber•28m ago•0 comments

Mix-and-match synthesis of 3D small molecules

https://www.nature.com/articles/d41586-026-00809-0
1•salkahfi•28m ago•0 comments

$200 oil isn't as crazy as it sounds

https://www.cnn.com/2026/04/02/business/price-200-oil-gas-iran
2•dabinat•31m ago•0 comments

Pro-XSLT.js – fast and lightweight JavaScript library implementing XSLT 1.0

https://github.com/hbi99/pro-xslt
1•hbi99•33m ago•0 comments

Half of social-science studies fail replication test in years-long project

https://www.nature.com/articles/d41586-026-00955-5
4•MrBuddyCasino•36m ago•2 comments

Eli Lilly's obesity pill approved by FDA, setting up Novo Nordisk competition

https://www.statnews.com/2026/04/01/eli-lilly-obesity-pill-approved-orforglipron-foundayo/
2•andsoitis•38m ago•0 comments

Ask HN: Has anyone became successful on their own?

5•Nair0•45m ago•3 comments

100 Prisoners Problem

https://en.wikipedia.org/wiki/100_prisoners_problem
2•djoldman•46m ago•1 comments

UK SATS Exam Papers

https://www.satspapers.org.uk/Page.aspx?TId=5
1•alt227•46m ago•0 comments

Block – From Hierarchy to Intelligence

https://block.xyz/inside/from-hierarchy-to-intelligence
3•abdelhousni•46m ago•1 comments

Data Science Weekly – Issue 645

https://datascienceweekly.substack.com/p/data-science-weekly-issue-645
1•sebg•48m ago•0 comments

Army approves M111, first new lethal hand grenade since 1968

https://www.army.mil/article/290962/army_approves_m111_first_new_lethal_hand_grenade_since_1968
1•campuscodi•48m ago•0 comments

Coruna: The Mysterious Journey of a Powerful iOS Exploit Kit

https://cloud.google.com/blog/topics/threat-intelligence/coruna-powerful-ios-exploit-kit
1•abhisek•50m ago•0 comments

DMCA-resistant Claude Code source code

https://codeberg.org/tornikeo/claude-code
3•tornikeo•50m ago•1 comments

Chinese chipmakers claim nearly half of local market as Nvidia's lead shrinks

https://www.reuters.com/world/china/chinese-chipmakers-claim-nearly-half-of-local-market-nvidias-...
3•qwikhost•56m ago•0 comments

Baby's Second Garbage Collector

https://www.matheusmoreira.com/articles/babys-second-garbage-collector
2•matheusmoreira•59m ago•0 comments

Show HN: I built a DNS resolver from scratch in Rust – no DNS libraries

https://github.com/razvandimescu/numa
6•rdme•1h ago•5 comments

High‑Performance JavaScript Data Grid for Data Apps

https://blog.webix.com/javascript-data-grid-webix-review/
2•jswebdev•1h ago•0 comments

Please stop flagging everything going against Israel

10•throwaw12•1h ago•4 comments