oh, and if you are curious about the faces i drew in literally 5 seconds in mspaint because i needed something to test with, here they are!
the magic is that resuming a coroutine just jumps right back to the place i yielded from, so i can break this coroutine into tiny pieces that get rendered every frame
meaning, i only ever need to interact with it in once place after making it; it's completely self-contained!
(i wonder how this compares to how scheme continuations work?)
this is what the closure actually looks like if you're curious! https://gist.github.com/Archenoth/d189ce7b20ea922be3d3169f6b369fef
(i named it .clj because github doesn't recognize fennel)
basically, every tick, the coroutine to render a single line of dialogue resumes with a new time in scope, and based on that, renders a subset of text
after it renders a full line, it continues to a new yield loop to render the bouncy triangle at the bottom to note you can progress
and when the coroutine finally finishes, a new line takes its place
this is the *entire* code to use this
render-text literally is just a coroutine closure that gets resumed every tick, and automatically handles how to render it based on the current time
oh! i'm not sure how many emacs peeps follow me, but i finally updated Archemacs' readme so that it would be easier to setup for others~
i tend to try and stick pretty close to the defaults, so the end result is really light, and i use tangling to trim support for things you don't have installed making it even lighter!
the end goal is basically having a really light emacs that looks good (i use doom's dracula style), but also has a lot of modern niceties
@monorail i turned it into a personal challenge to listen to the entire thing
don't be like me
@noiob also, oh no! i forgot the timestamp for when he hastily put together a thing after finding out that the 10 hour limit got him in the cyberpunk review D:
@noiob hee, because they aren't just reviews--they are journeys
like, legit, sometimes the videos on that channel are more entertaining than the thing they are talking about (also hbomberguy is the top comment, which is a fun little seal of approval)
i think my favorite one is still the doom review: https://www.youtube.com/watch?v=38zduHkwGcc
@noiob i'm sure tim rogers is thrilled
@noiob thinking about how action button needed to split their cyberpunk 2077 review because it went over the 10 hour limit
(yes, this is pretty much the first time i've seen any indication that someone paid attention to a thing i did on there, why do you ask? hee)
re: exhaustion/burnout
@karma oof, burnout sucks
i hope you find a way to give your brain a rest soon! (a real one, even~)
@noelle i mean, they aren't a particularly great company, of course (something, something, no ethical consumption)
but they really do help with a lot if your resources are limited, and is free--which is why a lot of people use them
@noelle (it totally does serve content though)
its whole thing is if someone requests a thing from your site, that thing gets cached on their servers and served from there instead until you change it
so if you post a 1mb image on a low bandwidth box, and a thousand people see it, instead of uploading 1gb, you probably only will do that once and the rest will be from cloudflare
it also means people who have slow connections to you probably won't notice since they'll only download html from you
@monorail it's true!
though in practice, a lot of people basically disable the cache for html content because dynamic things change more readily than things like images and scripts (for which it basically acts like an automatic cdn)
oh hi! i do computers, and sometimes draw stuff~ i like lo-fi things and cute aesthetics!
i also probably like you
(also, tagged #abdl ahead, soooo 🔞)