mastodon.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
The original server operated by the Mastodon gGmbH non-profit

Administered by:

Server stats:

348K
active users

I'm nearly at the halfway point. Little retrospective of this project.

Time wise this doesn't seem to take much, about an hour, maybe a bit more if I have images and I don't seem to be running out of ideas, it's mostly whatever silly tech thing I'm thinking about

So far so good

@olafurw I wonder whether one could use JS WeakRefs to recover from failure to release resources, for example due to unhandled promise rejection.

You keep an array of pairs of:
- a WeakRef to the object whose lifetime should not exceed the use of the resource
- a thunk that releases the resource

A low frequency timeout scans the array collecting and compacting out any elements where the WeakRef has nulled or the thunk has fired, and schedules unfired thunks that correspond to nulled weakrefs.

This isn't timely in the way that proper RAII is, and it's basically writing your own GC in a GC which probably is an anti-pattern but then so are unhandled promise rejections.

@DanielaKEngert Thank you.

Yeah advent ends today but I had decided to go all of December. So 7 to go! :D

@olafurw Fun fact: Generative art (which is what a lot of creative coding is about) actually predates computer usage! Early generative artists would creative algorithms and the draw them as a human computer (combinatorial art)!

Artist Vera Molner was one of the first so both by-hand generative art and with a computer. She’s made some very cool stuff!

@olafurw Also: fun thing you’ve made. You kinda inspired me to maybe resurrect one of my creative coding ideas.

@olafurw In case you want full game video (but not audio) I have a full playthrough (45 min including all trinkets) on Youtube.

@dascandy42 hehe appreciated but I think I'm done with VVVVVV for now.

@olafurw what language are you most excited for right now?