Implementing a simple state machine library in JavaScript
Let's write a state machine abstraction together to understand it better
32 new today · 2,698 articles · from 79 blogs
Let's write a state machine abstraction together to understand it better
How Another World was implemented on Super Nintendo!
AI summaryThis article presents a detailed, low-level investigation of AVX-512 frequency transition behavior on an Intel Skylake-X (W-2104) CPU using a custom test framework that periodically executes SIMD payloads while sampling frequency and IPC. The author finds that executing 512-bit instructions triggers a ~11 μs halted frequency transition (from the 3.2 GHz L0 license down to 2.8 GHz and back after ~650 μs), preceded by a ~9 μs 'voltage-only transition' during which instructions run at roughly 4x their normal latency. Notably, 256-bit instructions also exhibit this voltage-only slowdown, contradicting the conventional wisdom that light 256-bit instructions carry no penalty on AVX-512 hardware, while 128-bit instructions show no effect at all.
AI summaryThis tutorial explains how to animate CSS properties, including background gradients, which was previously impossible. It leverages bleeding-edge browser features such as CSS Houdini, CSS variables, and React to create animated rainbow gradients.
Let clean code guide you. Then let it go.
How Another World was implemented on Sega Genesis/Megadrive!
How Another World was implemented on PC DOS!
How Another World was implemented on Atari ST!
How Another World was implemented on Amiga!
Let's kick off the year with a series about Another World!
A personal reflection.
The 2010s are over, time to think back, then forward
UI Before API.
Your coding practices and technology choices impact user experience...
So which one should I use?
Getting a closure on JavaScript.
As remote work becomes increasingly popular, I am frequently asked how to get started. This article shares everything I know about landing that first remote gig. Keep reading.
AI summaryThe author describes how she built a web app that computes statistics on how quickly GitHub issues get closed in any repository, using Mavo with HTML and CSS only—zero lines of JavaScript. The tutorial walks through fetching the last 100 closed issues via the GitHub API, calculating aggregate stats like average, median, min, and max closing times, and progressively adding features such as a user-changeable repo input, label filtering with autocomplete, and visual summary graphics like bar and pie charts rendered with CSS gradients. The finished app is available at projects.verou.me/issue-closing, and the full source can be viewed directly.
A little tendency I have to reduce cognitive load for readers of my code.