Web、图形与游戏
Who owns a Vulkan buffer after submission?
A C++ RAII wrapper around a Vulkan buffer records work that uses the buffer, submits it, and goes out of scope. Its destructo…
A status region that reads Saved twice
The screen reader said "Saved" twice after one save. The state behind it has a single transition into saved, and the reducer…
One health bar went red and took the rest with it
Got bitten by shared resources in Godot UI this time. Every unit in my little prototype has a health bar scene, a ProgressBar…
The label changed, but did the screen show it?
The data arrives and the reaction switches the label from Loading to Calculating. A long synchronous calculation runs. The la…
Should a rejected tile move the palette forward?
Creating a coroutine in Lua runs nothing yet. The host calls coroutine.resume, and only then does the generator run, up to th…
getItem, null and ReScript externals
The ReScript checker is strict right up to the line where an external tells it what a JavaScript function returns. After that…
Signals fire right now, not at the end of the frame
This one bit me in Godot and seems to bite everyone eventually. emit_signal() and signal.emit() call the connected functions…
Editing a method while the morph is still moving
My favourite thing about sketching in Squeak is that nothing restarts. You make a morph, send it startStepping, and from then…
