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.

Would you get tattooed just to interview at a 7-days-a-week AI startup?

https://arstechnica.com/culture/2026/07/ai-startup-admits-tattoo-for-interview-stunt-was-reckless/
1•rbanffy•1m ago•0 comments

Palermo and the Citrus Kingdom

https://erikgauger.substack.com/p/palermo-and-the-citrus-kingdom
1•jger15•1m ago•0 comments

The end of roommates? Why young San Franciscans aren't living with each other

https://www.sfchronicle.com/sf/article/roommate-data-san-francisco-22336270.php
1•littlexsparkee•2m ago•0 comments

Flue 2.0

https://flueframework.com/blog/flue-2/
1•coloneltcb•2m ago•0 comments

Schools installing pepper-spraying drones to help stop active school shooters

https://abc7.com/post/campus-guardian-angel-drones-american-schools-install-pepper-spraying-mithr...
2•lxm•5m ago•0 comments

How to spot overlapping subproblems before you start coding DP

https://leetcopilot.dev/blog/how-to-spot-overlapping-subproblems-before-writing-dp
1•alexwang24•6m ago•0 comments

How we made a viral commercial for developers

https://blog.railway.com/p/how-to-make-viral-commercial
3•dban•9m ago•1 comments

World Models Are AI's Next Frontier

https://time.com/article/2026/07/15/world-models-are-ai-s-next-frontier/
2•Gooblebrai•12m ago•0 comments

Coal back in favour as US plant bidding war highlights rising demand to power AI

https://www.ft.com/content/babf4c89-1a6f-447f-a17e-7e3e48f359b8
3•JumpCrisscross•12m ago•0 comments

Reaping the Whirlwind: Inside the Potomac River Midair Collision

https://admiralcloudberg.medium.com/reaping-the-whirlwind-inside-the-potomac-river-midair-collisi...
2•kraussvonespy•14m ago•0 comments

Deliberate indifference: NY state put imprisoned man's life at risk, judge rules

https://gothamist.com/news/deliberate-indifference-ny-state-put-imprisoned-mans-life-at-risk-judg...
1•GurnBlandston•14m ago•0 comments

The Old Man and the Strait

https://www.mcsweeneys.net/articles/the-old-man-and-the-strait
2•MaysonL•14m ago•0 comments

I Went to the Amazon to Fly in a 1942 Workhorse of Aviation

https://www.nytimes.com/2026/07/31/world/americas/plane-douglas-dc3-wwii-colombia.html
1•limitedfrom•14m ago•0 comments

Show HN: I rebuilt my 2008 football/lineup site

1•tole42•14m ago•0 comments

How the Airbus A350’s Massive Landing Gear Is Built

https://www.youtube.com/watch?v=P4i-0lTryEs
1•skibz•15m ago•0 comments

The Least Private Operating System Ever Created [video]

https://www.youtube.com/watch?v=M_720LesVg4
2•dp-hackernews•15m ago•0 comments

I Filmed Plants for 12 Years

https://www.youtube.com/watch?v=tMUPNCR35h0
1•nyc111•15m ago•0 comments

Microchip released XC compilers for free

https://www.microchip.com/en-us/tools-resources/develop/mplab-xc-compilers
1•danielt3•15m ago•1 comments

Implementing PaxosLease in Python with HTTP Flask

https://bytepawn.com/paxoslease-python.html
1•abelanger•19m ago•0 comments

Tailscale didn't stop the Hugging Face intrusion

https://tailscale.com/blog/hugging-face-intrusion
21•bluehatbrit•19m ago•7 comments

AI companies destroy rare and non recoverable physical books

https://www.heraldscotland.com/opinion/26422014.library-alexandria-burns-ai-companies-destroying-...
6•DoddgyEggplant•21m ago•0 comments

Maths shows why your vote may not count the way you think it does

https://www.cam.ac.uk/research/news/maths-shows-why-your-vote-may-not-count-the-way-you-think-it-...
2•amichail•22m ago•0 comments

I pretrained the best small model under 100M parameters

https://twitter.com/HarshalsinghCN/status/2083223503554449745
1•cybernovas•23m ago•1 comments

Temu is a comically bad app

https://daringfireball.net/2026/07/temu_is_a_comically_bad_app
1•bpavuk•24m ago•1 comments

The icons that might solve Hollywood's AI problem [video]

https://www.youtube.com/shorts/SsK4ILb3j5I
1•perching_aix•24m ago•0 comments

Temu App Launch Sequence

https://social.panic.com/@cabel/116987028774035194
2•yurivish•25m ago•1 comments

Nuclear Waste Cleanup: DOE Is Missing Opportunities to Apply Lessons

https://www.gao.gov/products/gao-26-108082
2•Jimmc414•29m ago•0 comments

Flock CEO Admits Flock Alerts on People

https://ipvm.com/reports/flock-ceo-alerts-people
4•jhonovich•29m ago•0 comments

Google pauses AI satellite images, after fears of deepfakes in the sky

https://www.npr.org/2026/07/31/nx-s1-5914652/google-adds-ai-to-satellite-images-raising-fears-of-...
1•Jimmc414•29m ago•0 comments

You're probably overpaying on Amazon and you don't know it

https://chromewebstore.google.com/detail/lowly-compare-similar-pro/koaboghopffkngciajncjhcjcjnakijf
1•Lirrydoz•29m ago•0 comments