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.

Neil Postman: Five Things We Need to Know About Technological Change (1998)

https://student.cs.uwaterloo.ca/~cs492/papers/neil-postman--five-things.html
1•aworks•38s ago•1 comments

Four Things a Bill Prohibiting Weaponized Police Drones and Robots Must Do

https://www.eff.org/deeplinks/2026/11/four-things-bill-prohibiting-weaponized-police-drones-and-r...
1•hn_acker•5m ago•0 comments

Anthropic Papers on Lattice Attacks

https://github.com/anthropics/formal-math/tree/main/lattices
3•j2kun•6m ago•0 comments

Galactic quasi-polynomial quantum algorithms for integral and module lattices [pdf]

https://github.com/anthropics/formal-math/blob/main/lattices/papers/01-quasi-polynomial-quantum-a...
9•Skrillor•8m ago•1 comments

Amazon Launches AI-Native Docs, Sheets, Slides to Challenge Microsoft and Google

https://techcrunch.com/2026/11/30/amazon-launches-ai-native-docs-sheets-and-slides-to-challenge-m...
1•mgh2•9m ago•1 comments

It's not the incentives, it's you (2018)

https://talyarkoni.org/blog/2018/10/02/no-its-not-the-incentives-its-you/
2•kreyenborgi•9m ago•0 comments

Conventional Pull Requests – a spec for pull request

https://conventionalpullrequest.org/en/v1.0.0-beta.1/
1•nomadicengineer•9m ago•0 comments

EIA: Renewables, storage added 20x capacity of fossil fuels and nuclear in 2026

https://electrek.co/2026/11/30/eia-renewables-and-storage-added-20x-the-capacity-of-fossil-fuels-...
2•toomuchtodo•10m ago•1 comments

Best Buy will officially sell physical media in stores again

https://www.mediaplaynews.com/the-odyssey-was-not-a-one-off-best-buy-putting-4k-uhd-discs-back-on...
3•kartik147•10m ago•0 comments

Advent of Proof 2026 Edition

https://typesig.pl/2026/11/21/advent-of-proof-2026.html
1•birdculture•11m ago•0 comments

Why Simon Willison isn't scared of an AI takeover [video]

https://www.youtube.com/watch?v=izuAcwXLDso
1•duck•11m ago•0 comments

DMARC-Report

https://speechcode.com/blog/dmarc-report
1•millspore•11m ago•0 comments

Jensen Huang on alignment, open models and P(doom), weeks before ouster [video]

https://www.youtube.com/watch?v=Eqe_EGym_jc
1•BusterFranken•13m ago•0 comments

Initial Assessment of Anthropic's Findings on Lattice Cryptography (CIRG)

https://cirg.org/statements/1/?dedupe
19•nwcs•13m ago•5 comments

Opus 5.5 is the most condescending model

https://micjm.com/blog/opus-5.5-most-condescending/
2•seizethecheese•14m ago•0 comments

The Pursuit of Efficiency

https://www.alfredapp.com/blog/tech/the-pursuit-of-efficiency/
1•soheilpro•14m ago•0 comments

Open-Sourced Online MIDI Editor

https://signalmidi.app/
1•hmokiguess•16m ago•0 comments

Hanare – AI memory with no LLM on the server (90.8% on LoCoMo)

https://hanare.ai/
2•hanare_ai•19m ago•0 comments

Bad Apple but every frame is real-world United States terrain Aerial photography [video]

https://www.youtube.com/watch?v=wLm5sH_n1Uc
1•seri4l•20m ago•0 comments

'Slopaganda' named Oxford word of the year 2026

https://www.bbc.com/news/articles/c6rrgeevnw8lo
5•10xDev•21m ago•1 comments

A Closer Look at Claude's Mac "Apps"

https://www.macstories.net/stories/a-closer-look-at-claudes-mac-apps/
1•JumpCrisscross•29m ago•0 comments

Cryptography Incident Review Group Review Group

https://cirgrg.org/
2•dmitrygr•29m ago•0 comments

Ask HN: How are you keeping your websites safe?

1•vikas123456789•30m ago•2 comments

Humanity Is No Longer Replacing Itself, and No Market Will Fix It

https://www.promarket.org/2026/11/30/humanity-is-no-longer-replacing-itself-and-no-market-will-fi...
1•consumer451•32m ago•3 comments

What Does Any of This Have to Do with Physics?

https://nautil.us/what-does-any-of-this-have-to-do-with-physics-236309
1•bkudria•32m ago•0 comments

Econ Data Format

https://alexpeek.org/econ-data-format.html
2•alexp312•40m ago•0 comments

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

https://bel.belfortlabs.com/
3•solyin•41m ago•1 comments

Ten Open Historical Problems Solved with Gemini 4 Neon

https://github.com/oliverzink/open-historical-problems
2•oliver-zink•41m ago•0 comments

An introduction to wheel variants for Python package maintainers

https://astral.sh/blog/wheel-variants-for-maintainers
1•edmorley•42m ago•0 comments

Lydie: A writing app that works on a folder of Markdown files

https://github.com/lydiehq/lydie
1•doener•42m ago•0 comments