frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: cn-variants – Tailwind CSS variants in 3 lines of code

https://npmx.dev/package/cn-variants
1•bastianplsfix•1h ago
I use Tailwind with React and kept copying the same tiny pattern across projects: a cn helper (clsx + tailwind-merge) and a typed Record lookup for variant classes.

Eventually I put it in a package so I'd stop repeating myself. It exports cn and variants, a function that takes a map of variant name to classes and returns a typed lookup. Compound variants are just conditionals inside cn(). It doesn't try to replace cva or tailwind-variants. Those are great if you need defaultVariants, slots, or responsive variants. This is just the subset I actually reach for in practice.

Happy to hear what others think or if I'm missing something obvious.

The Age of Eerie A.I. Political Ads Is Here

https://www.nytimes.com/2026/03/13/us/politics/ai-ads-campaign-deepfake.html
1•thm•1m ago•0 comments

Sunsetting Code with Me

https://blog.jetbrains.com/platform/2026/03/sunsetting-code-with-me/
1•ingve•2m ago•0 comments

Show HN: HiLo – A word guessing game based on binary search

https://hilogame.cc
1•ludovicianul•2m ago•0 comments

How I use crit to build crit

https://tomasztomczyk.com/blog/2026/how-i-use-crit-to-build-crit/
1•tomasz-tomczyk•4m ago•0 comments

Ask HN: AI Agents vs. Gateways vs. Harnesses

1•snthpy•4m ago•0 comments

Hackmate – a side project I built last year to help builders find collaborators

2•dfordp11•5m ago•0 comments

Horizon redress still a mess, MPs say – and Fujitsu hasn't paid a penny

https://www.theregister.com/2026/03/16/horizon_redress_still_a_mess/
1•Brajeshwar•5m ago•0 comments

Alaska sues GoFundMe, others over unauthorized charity pages

https://www.alaskasnewssource.com/2026/03/11/alaska-sues-gofundme-paypal-others-over-thousands-un...
1•gwbas1c•5m ago•0 comments

Show HN: DataCia – The database client that lets you focus

https://www.datacia.app/
1•rwiteshbera•6m ago•0 comments

Ogham MCP – Shared memory for AI coding agents, backed by Postgres

https://ogham-mcp.dev/
1•kevinburns•7m ago•0 comments

Home Care

https://dheeren.wuaze.com
1•peregrineturbo•7m ago•0 comments

Testing Universal Poster v10

1•Bobbymai•7m ago•0 comments

Show HN: HighSNR – Cut length and noise from your LLM context

https://www.high-snr.com/
2•gskm•7m ago•0 comments

The Self-Deceived Liar

https://secondvoice.substack.com/p/the-self-deceived-liar
1•jger15•10m ago•0 comments

Project Canard: $96 3D-Printed guided MANPADS rocket with MPU6050 and ESP32

https://twitter.com/chiefofautism/status/2033075790368108984
1•MrBuddyCasino•12m ago•0 comments

Agile ain't as bad when done by clankers

https://github.com/sebs/rewelo
1•therebase•14m ago•1 comments

Paul R Ehrlich has died

https://www.nytimes.com/2026/03/15/books/paul-r-ehrlich-dead.html
1•LaserDiscMan•17m ago•0 comments

Construct of the Day

https://constructofthe.day
1•jasoncartwright•19m ago•0 comments

I Simulated 38,612 Countryle Games to Find the Best Strategy

https://stoffregen.io/posts/countryle/
1•st0ffregen•20m ago•0 comments

Show HN: AI agent autonomously used BoTorch to predict CFPB enforcement actions

https://github.com/sign-of-fourier/cfpb-complaint-enforcement
1•mshipman•22m ago•0 comments

Corruption erodes social trust more in democracies than in autocracies

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1779810/full
2•PaulHoule•22m ago•0 comments

I Love FreeBSD

https://it-notes.dragas.net/2026/03/16/why-i-love-freebsd/
2•enz•25m ago•0 comments

West Sussex's Oracle rollout pushed back again as costs balloon 15 times

https://www.theregister.com/2026/03/16/west_sussex_oracle/
2•Brajeshwar•27m ago•0 comments

AI Unicorn ElevenLabs Is Making a $1B Effort to Restore 1M Voices

https://www.forbes.com/sites/zoyahasan/2026/03/13/ai-unicorn-elevenlabs-is-making-a-1-billion-eff...
1•stared•29m ago•0 comments

Operation Hormuz (1989)

https://www.lemon64.com/review/operation-hormuz/888
1•nurettin•30m ago•1 comments

Open source Chrome extension to customize Veesion alert notification sounds

https://github.com/MarcuC/custom-veesion-notifications-sound
1•molly997•31m ago•1 comments

Scientists discover a surprising way to quiet the anxious mind (2025)

https://www.sciencedaily.com/releases/2025/10/251027023816.htm
11•carlos-menezes•31m ago•3 comments

20 Years of Amazon S3

https://aws.amazon.com/blogs/aws/twenty-years-of-amazon-s3-and-building-whats-next/
3•easton•34m ago•0 comments

Meta up 3% in premarket as it plans mass layoff amidst increased AI spending

https://www.cnbc.com/2026/03/16/meta-ai-costs-mass-layoffs-20percent-up-premarket.html
3•rfarley04•34m ago•1 comments

Show HN: Merrilin.ai – Code blocks in your books, finally

https://tech.stonecharioteer.com/posts/2026/merrilin-code-blocks/
1•stonecharioteer•38m ago•0 comments