frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Grafana > Datadog

https://pocketarc.com/articles/i-replaced-datadog-with-grafana-loki-tempo-and-prometheus
1•pocketarc•46s ago•0 comments

The Prague of Deus Ex: Mankind Divided

https://www.killscreen.com/disjointed-prague-deus-ex-mankind-divided/
1•keiferski•1m ago•0 comments

Hotseat – Bid for the #1 public ranking spot

https://www.hotseat.gold
1•slightqn•4m ago•0 comments

Take-notes – turn a video, article or paper into one self-contained HTML note

https://github.com/davertor/take-notes
1•davertor•5m ago•0 comments

AI;DR or Don't be a meat proxy

https://theaspiringnerd.com/aidr-or-dont-be-a-meat-proxy/
1•speckx•5m ago•0 comments

A cyberpunk game where the hacks are real (except one district)

https://nightfabric.codesyo.com
1•sashyo•5m ago•0 comments

Locus: Deterministic AST safety firewall for AI agents in pure Rust (<0.05ms)

https://github.com/ahmadshady747-create/LOCUS
1•ahmadshadi2004•6m ago•0 comments

Show HN: A simple budget app focused on how much you can spend each day

https://www.coinsbucket.com/
1•vitormargis•6m ago•0 comments

Minecraft Could Run on the Wii

https://twitter.com/OptiJogos/status/2090686687798067363
1•Jotalea•6m ago•0 comments

Disclosure Has a Billionaire Problem

https://medium.com/@moketchups/the-billionaire-problem-underneath-disclosure-926030c64dc7
2•MoKetchups•7m ago•0 comments

Opus 5 feels, in a word, hostile

https://www.reddit.com/r/ClaudeAI/s/Yv7DiM0rBa
2•Michelangelo11•7m ago•0 comments

Show HN: Mcploitable – The "Metasploitable" of the Model Context Protocol

https://github.com/agileAlligator/mcploitable
1•agileAlligator•8m ago•1 comments

My theme switch was running 3164 animations

https://sley-ui.dev/notes/theme-fade
1•imfemambocus•9m ago•1 comments

The unbearable slowness of being: Why do we live at 10 bits/s?

https://www.sciencedirect.com/science/article/pii/S0896627324008080
1•hamburgererror•9m ago•0 comments

Real world(ish) DeepSeek V4 Flash performance on a single MI300X

https://matthusby.github.io/agent_coding_bench/
1•mhusby•9m ago•0 comments

Building Without Predicting

https://sive.rs/fit
1•surprisetalk•10m ago•0 comments

I made a web puzzle game based on logic questions that 99% of people fail

https://www.telegraph.co.uk/puzzles/puzzle/?source=home&number=194#onepercentclub/the-1-club/the-...
1•joey_cee•13m ago•0 comments

Show HN: Free, non-profit crypto AML screening – no key, no trial

https://publicaml.org/free-crypto-aml/
3•publicaml•13m ago•0 comments

ChatGPT-Taught Experts Are Crippling Agentic AI

https://msukhareva.substack.com/p/how-chatgpt-taught-experts-are-crippling
1•Airealist•13m ago•1 comments

The Brain Is Just Specialized Agents Talking to Each Other – Dr. Jeff Beck [video]

https://www.youtube.com/watch?v=Ucqfb33GJJ4
1•binyu•14m ago•0 comments

New AirPods designed to capture paired color images

https://www.macrumors.com/2026/08/21/camera-airpods-code-reveals-hardware-details/
1•noja•15m ago•0 comments

Amid intense backlash, people are vandalizing Flock surveillance cameras

https://www.npr.org/2026/08/21/nx-s1-5939851/flock-cameras-police-block-surveillance-vandalize
2•geox•15m ago•0 comments

Do we still need GitHub?

https://debarshibasak.github.io/readables/blogs/do-we-need-github.html
2•debarshri•15m ago•0 comments

Tell HN: US LLM models are smarter outside US working hours

1•gepeto666•16m ago•0 comments

Edgerton, KS sues citizens trying to put data center ban before voters

https://www.kmbc.com/article/edgerton-kansas-data-center-ban-lawsuit-citizen-petition/73489670
1•jodacola•17m ago•0 comments

System reminders – how Claude Code steers itself

https://michaellivs.com/blog/system-reminders-steering-agents/
1•Bluestein•18m ago•0 comments

My own embedding models benchmark focused on code duplication detection

https://rkochanowski.com/article/embedding-benchmark/
1•rkochanowski•18m ago•1 comments

The Controversial Academic (Nathan Cofnas) Who Ignited the Jason Arday Furor

https://www.wsj.com/world/uk/the-controversial-academic-who-ignited-the-jason-arday-furor-1071e7fc
2•Bostonian•19m ago•1 comments

Felony charges for citizen deleting phone data at US Border

https://www.nytimes.com/2026/08/21/us/politics/samuel-tunick-deleted-phone-felony.html
8•floathub•20m ago•1 comments

We burned 11.7B tokens to find the best cyber AI model

https://www.aikido.dev/blog/ai-model-benchmarks-aug-21-2026
1•piotrgrabowski•21m ago•0 comments
Open in hackernews

My theme switch was running 3164 animations

https://sley-ui.dev/notes/theme-fade
1•imfemambocus•9m ago

Comments

imfemambocus•8m ago
This is the first time that I'm properly getting into theme switching, so I built the dark and light mode for my component library in the most obvious way that I could find. The goal is to transition background-color, border-color, color and box-shadow on every element. But this felt a bit slow and sluggish, so I used document.getAnimations() to see how many that actually runs, and the result is 3164 animations on a page of 1544 elements.

After some playing around, I found out that startViewTransition animates snapshots of the whole page instead, and that's 5 animations for the same job, with a gradient fading along with everything else rather than snapping. I did however find a React thing when using this function and it's that the new palette has to be in the DOM inside the callback which means the state update needs flushSync.

document.startViewTransition(() => { flushSync(() => setTheme(next)) })

I'm not sure this is the right way to do it, but I wrote down every number that I measured.