Show newer

pain/sick 

you never realize how many times you swallow on a day until it hurts a lot every time you do it

working on yet another static site generator: Dynamo
git.pixie.town/f0x/dynamo

because all the others don't do what I want :>
it'll do:

- get MDX from directory structure, put as static index.html in the right build folder
- do themeing with react
- postcss for css transformations
- livereload for dev

it already does livereloading, postcss transformations and basic MDX parsing, all in one evening :D

I've just set up tiny-lr + chokidar for livereloading my webapp. Now the question remains, who livereloads the livereloader

more I Am Mother spoilers (up to 1:18:00) 

smh what point does an airlock have if you can open both doors at the same time

Show thread

more I Am Mother spoilers (up to 1:13:00) 

ah, I guess mother does have access to microphones in each room, just had to keep that hidden for the plot

Show thread

more I Am Mother spoilers (up to 1:08:37) 

gee, who could've thought two other kids would've 'dissapeared'.
Obviously the robot is still testing how best to raise children. Daughter has the number 3 and was raised alone....

Show thread

I wonder how much better movies would be if they'd visit a hackerspace with the script and let them critique all the tech stuff involved. (And similar with other disciplines, but from my pov tech always seems to be portrayed with the least realism)

Show thread

I Am Mother spoilers 

pff, watching I Am Mother, but oof is that bunker poorly designed...
- robot turns off during power outage, even though it walks around with a battery?
- no way to give possibly contaminated people medical support without just allowing them inside your place

also the robot seems to be about as observant as a human, why isnt it hooked up to lots of cameras around the bunker, opening logs of airlock/different rooms, other sensors

cyberpunk as a genre will probably cease to exist :( 

but it'll be replaced by documentaries I guess...

Vsauce Michael was mortal once and he misses it but is honestly dealing with immortality pretty well so far all things considered

i want to redesign my website (f.0x52.eu) but im on a train, tired, and with little battery left in my thinkpad :<

I have learned from my misstake and am now typing it in vscode first, routinely saving as I always do

Show thread

im a fucking idiot. started typing a blog about the tamafoxi, hit ctrl+r and all progress gone

I still can't get over how good a motto "anything worth doing is worth doing poorly" is when you're suffering from executive dysfunction or physical disabilities

Like, of course it's awesome to thoroughly clean your place once a week or biweekly but if the mere thought of it is causing you to break down, vacuuming for five minutes is so much more than doing nothing

It's the best piece of advice I got in what feels like forever

tech explanation of replied post 

The RLE string looks something like this: "70b5a3b"
the decoding function then goes through the string, character by character. If it's a number, it needs to increment it's count, if it sees a letter, it will expand it to current count times that letter. I can either directly draw current count pixels, or store the result as an expanded string with lots of a's and b's, and draw it after the decode.

The RLE implementation I found online keeps the count as a string like this:
count = ''
if current is a number:
count += current number (concatinate as a string)
else:
parse count as an integer

I did a more efficient implementation with just arithmetic, because strings are expensive.
if current is a number:
count = count*10 + current number

as seen from the speedtest, this is quite a bit faster

Show thread

So I did some speedtests for my image formats.
Raw PNG as bytestrings is definitely the fastest by far, but takes a lot of space.
Then there's various ways of decoding my run-length-encoded strings, by keeping the character counter as an integer or as a string. (more explanation in replied toot with cw)

Show older
Pixietown

Small server part of the pixie.town infrastructure. Registration is closed.