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.

April 2026 TLDR Setup for Ollama and Gemma 4 26B on a Mac mini

https://gist.github.com/greenstevester/fc49b4e60a4fef9effc79066c1033ae5
1•greenstevester•43s ago•0 comments

Design Optics with Python

https://www.optiland.org/
2•pppone•10m ago•0 comments

HarfBuzz Slug Support with WebGL

https://harfbuzz.github.io/hb-gpu-demo/
1•mcraiha•10m ago•0 comments

Show HN: Anonymous Chat Channels

https://kraa.io/kraa/trees
1•levmiseri•12m ago•1 comments

Show HN: Stashpin – Pinterest downloader for videos and boards

https://stashpin.com
1•aitooltrek-com•13m ago•0 comments

NHS staff boycott Palantir's data platform over ethical concerns

https://www.ft.com/content/dbb67083-bd1d-46e9-b196-1438d54c5795
3•macleginn•15m ago•0 comments

Show HN: Apfel – The free AI already on your Mac

https://apfel.franzai.com
2•franze•20m ago•2 comments

Catching macOS Stealers in the Wild

https://objective-see.org/blog/blog_0x88.html
1•speckx•22m ago•0 comments

Flow – Focus Deeper, Longer

https://play.google.com/store/apps/details?id=com.get.flow_app&hl=en_US
1•K_A_P•26m ago•0 comments

Gemma 4 makes local AI agents practical

https://firethering.com/gemma-4-local-ai-agents/
3•steveharing1•28m ago•0 comments

AI's fluency in other languages hides a Western worldview that can mislead users

https://theconversation.com/ais-fluency-in-other-languages-hides-a-western-worldview-that-can-mis...
5•1659447091•32m ago•0 comments

Tried to Buy a Pint, Finding a Trojan: My First Malware Analysis

https://blog.michaelrbparker.com/post/17
1•birdculture•33m ago•0 comments

A database of analog cameras that can be 3D printed

https://printed.analogcamera.space/
1•thomasjb•33m ago•0 comments

Artemis II astronaut finds two Outlook instances running on computers

https://www.tomshardware.com/software/microsoft-office/artemis-ii-astronaut-finds-two-outlook-ins...
1•doener•34m ago•1 comments

Proton Meet Isn't What They Told You It Was

https://www.sambent.com/proton-meet-isnt-what-they-told-you/
18•bundie•36m ago•0 comments

Say No to ZeroVer: Start with 1.0.0

https://blog.nytsoi.net/2026/04/03/say-no-to-zero-ver/
1•thomasjb•40m ago•0 comments

France plans missile increase in new defense push

https://www.politico.eu/article/france-eyes-huge-missile-boost-new-defense-plan-document-shows/
4•vrganj•41m ago•1 comments

Show HN: My portfolio as a working terminal (vanilla JavaScript, one HTML file)

https://dzienko.dev/
2•Brosper•46m ago•2 comments

A Giant Leap Towards an AI-Native OS: AgenticInit (April Fools)

https://os.ewe.moe/blog/202604-april-fool
1•uneven9434•49m ago•0 comments

Life gave us lemon trees

https://nothingisnotafish.substack.com/p/life-gave-us-lemon-trees
2•gaodean•49m ago•0 comments

Agent as User, a new tool to help you run agent in isolated user environment

https://github.com/AgentaaU/AaaU
1•shylockhg•50m ago•1 comments

I Made a Terminal Pager

https://theleo.zone/posts/pager/
2•speckx•53m ago•0 comments

Cute Animal Heroic Interval

https://medium.com/luminasticity/cute-animal-heroic-interval-c38d0dc84d05
1•bryanrasmussen•56m ago•0 comments

OpenHarness: Open Agent Harness

https://github.com/HKUDS/OpenHarness
2•msolujic•57m ago•0 comments

Hardware supply chain attack in the wild

https://airguide.info/europes-easa-warns-stolen-engine-parts-may-re-enter-supply-chain/
2•jackpepsi•57m ago•0 comments

Fathom: AI hallucination detection from SAE activation geometry (pre-registered)

https://zenodo.org/records/19382453
3•fathom_geo•59m ago•0 comments

A CSS Engine in OCaml

https://gazagnaire.org/blog/2026-04-02-cascade.html
5•p4bl0•1h ago•0 comments

Ask HN: Has Claude Code become significantly worse for you as well?

3•bkfh•1h ago•1 comments

US Bans All Foreign-Made Consumer Routers

https://www.schneier.com/blog/archives/2026/04/us-bans-all-foreign-made-consumer-routers.html
5•jruohonen•1h ago•0 comments

A Simple and Universal Swarm Intelligence Engine, Predicting Anything

https://github.com/666ghj/MiroFish
4•amirouche•1h ago•0 comments