frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

CSS now has an if() conditional function

https://caniuse.com/?search=if
31•aanthonymax•5d ago

Comments

aanthonymax•5d ago
This support has appeared in the new W3C specification.
tantalor•33m ago
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/V...
themafia•29m ago
It's a great way to make conditional styles without having to use JavaScript; however, having used JS for years to make theme color and icon sets that rely on CSS properties, I'm not sure I particularly like this method. I feel like you have to smear a lot of logic across your CSS whereas with JS you can reduce your theme to a data structure and just have a simple function to setup all the CSS variables based on that.

Am I just an old man?

stevefan1999•27m ago
With the inclusion of branches, is it possible to say that CSS is now even more Turing-Complete? Now we just need to find ways to do recursion/targeted jumps so that it is finally recursive-enumerable
culi•25m ago
Far from being ready when only one major browser supports it. If you want this, you should vote for it to be focused on for interop-2026

https://github.com/web-platform-tests/interop/issues

Right now, the leading CSS proposals are `@container style()`, `corner-shape` and `break-after`

https://foolip.github.io/interop-reactions/

zb3•21m ago
Not supported in Firefox and Safari. Also it seems most people forget that the more bloated the web platform is, the more resources are needed to develop and maintain a web browser engine.. Chromium is open-source, but it's already expensive to maintain a fork or even rebuild it..

AV1 – Now Powering 30% of Netflix Streaming

https://netflixtechblog.com/av1-now-powering-30-of-netflix-streaming-02f592242d80
124•CharlesW•1h ago•57 comments

BMW PHEV: When EU engineering becomes a synonym for "unrepairable" (EV Clinic)

https://evclinic.eu/2025/12/04/2021-phev-bmw-ibmucp-21f37e-post-crash-recovery-when-eu-engineerin...
32•mikelabatt•1h ago•1 comments

The Ofcom Files, Part 4: Ofcom Rides Again

https://prestonbyrne.com/2025/12/04/the-ofcom-files-part-4-ofcom-rides-again/
24•parliament32•1h ago•3 comments

CUDA-l2: Surpassing cuBLAS performance for matrix multiplication through RL

https://github.com/deepreinforce-ai/CUDA-L2
79•dzign•5h ago•11 comments

State of AI: An Empirical 100T Token Study with OpenRouter

https://openrouter.ai/state-of-ai
112•anjneymidha•3h ago•44 comments

Multivox: Volumetric Display

https://github.com/AncientJames/multivox
229•jk_tech•9h ago•30 comments

Trick users and bypass warnings – Modern SVG Clickjacking attacks

https://lyra.horse/blog/2025/12/svg-clickjacking/
30•spartanatreyu•2h ago•5 comments

It’s time to free JavaScript (2024)

https://javascript.tm/letter
657•pavelai•17h ago•332 comments

Transparent leadership beats servant leadership

https://entropicthoughts.com/transparent-leadership-beats-servant-leadership
372•ibobev•12h ago•179 comments

Thoughts on Go vs. Rust vs. Zig

https://sinclairtarget.com/blog/2025/08/thoughts-on-go-vs.-rust-vs.-zig/
223•yurivish•4h ago•227 comments

Why are 38 percent of Stanford students saying they're disabled?

https://reason.com/2025/12/04/why-are-38-percent-of-stanford-students-saying-theyre-disabled/
480•delichon•8h ago•714 comments

StardustOS: Library operating system for building light-weight Unikernels

https://github.com/StardustOS
23•transpute•3h ago•1 comments

We gave 5 LLMs $100K to trade stocks for 8 months

https://www.aitradearena.com/research/we-ran-llms-for-8-months
154•cheeseblubber•2h ago•136 comments

How elites could shape mass preferences as AI reduces persuasion costs

https://arxiv.org/abs/2512.04047
492•50kIters•17h ago•479 comments

Django 6

https://docs.djangoproject.com/en/6.0/releases/6.0/
227•wilhelmklopp•4h ago•112 comments

NeurIPS best paper awards 2025

https://blog.neurips.cc/2025/11/26/announcing-the-neurips-2025-best-paper-awards/
4•ivansavz•51m ago•0 comments

Help, My Java Object Vanished (and the GC Is Not at Fault)

https://arraying.de/posts/markword/
21•birdculture•5d ago•2 comments

Show HN: Onlyrecipe 2.0 – I added all features HN requested – 4 years later

https://onlyrecipeapp.com/?url=https://www.allrecipes.com/turkish-pasta-recipe-8754903
130•AwkwardPanda•11h ago•106 comments

PyTogether: Collaborative lightweight real-time Python IDE for teachers/learners

https://github.com/SJRiz/pytogether
61•indigodaddy•8h ago•17 comments

A Cozy Mk IV light aircraft crashed after 3D-printed part was weakened by heat

https://www.bbc.com/news/articles/c1w932vqye0o
222•toss1•5h ago•174 comments

Fighting the age-gated internet

https://www.wired.com/story/age-verification-is-sweeping-the-us-activists-are-fighting-back/
167•geox•12h ago•164 comments

I ignore the spotlight as a staff engineer

https://lalitm.com/software-engineering-outside-the-spotlight/
414•todsacerdoti•14h ago•199 comments

CSS now has an if() conditional function

https://caniuse.com/?search=if
31•aanthonymax•5d ago•6 comments

Converge (YC S23) is hiring a martech expert in NYC

https://www.runconverge.com/careers/technical-customer-success-manager
1•janhenr•9h ago

Autism should not be treated as a single condition

https://www.economist.com/science-and-technology/2025/12/03/why-autism-should-not-be-treated-as-a...
204•bookofjoe•9h ago•260 comments

What is better: a lookup table or an enum type?

https://www.cybertec-postgresql.com/en/lookup-table-or-enum-type/
5•todsacerdoti•2h ago•0 comments

PGlite – Embeddable Postgres

https://pglite.dev/
507•dsego•15h ago•102 comments

Functional Quadtrees

https://lbjgruppen.com/en/posts/functional-quadtree-clojure
116•lbj•12h ago•38 comments

Launch HN: Browser Buddy (YC W24) – A recommendation system for Internet writing

https://www.browserbuddy.com/
39•alien0006•9h ago•28 comments

Feynman vs. Computer

https://entropicthoughts.com/feynman-vs-computer
65•cgdl•10h ago•22 comments