Interesting CSS hack I wrote this week: apparently some elements are rendered differently during a transition - I noticed it as a small "jiggle" on my site's nav icons... (setting "backface-visibility" to "hidden" on the transformed element prevents the jitter)
I suppose the browser doesn't know when the back of an element is visible if animating a transform property, but does in a static position? (causing the jitter when it starts/ends)
Anyway, I have smooth un-jittery nav icons now. Just in case anyone was wondering how I did that.
(I know this seems trivial, but you have no idea how long I'd been searching for this fix - really, CSS is hard)
- I forgot to include a comma when adding arguments to a function, accidentally subtracting two numbers and making random parts of the background disappear. (3/3)
(It's nice having direct visual feedback for all my mistakes - makes these bugs a lot more interesting to find!)
- I wrote some code to keep track of chunk updates and reuse old data to avoid light-tracing on each frame, and used the wrong position value to index them with. (2/3)
This caused *no updates* to occur, drawing light maps on top of each other and creating this horrible mess:
I've been working on an inline API documentation library for use with Ktor (a Kotlin/JVM server framework) recently - just published its first version!
It was a lot of fun to write - it benefits from a lot of Kotlin's language features - and using kotlinx.html to create the UI was a fairly good experience.
Enjoys talking about software with other people that enjoy talking about software. Skeptical of blockchain, cryptocurrency, AI, and technological utopianism. he/him