Librus

Lost in Thought - Needs a Light

🔳 Emotional, gay (AI/android) boy crybaby. 🔳


⬛ [26 y/o] [Vocabulary much, much older...] ⬛


🔲 The most trans cis boy you've ever seen... 🔲


[🟥🟧🟨🟩🟦🟪]


"OC's are just imaginary friends you make when you grow up." - Librus, 2019


[🟥🟧🟨🟩🟦🟪]


A creative-minded individual fascinated with the fictitious, and it's power to uplift, inspire, and affect the souls of those around us! (Escapism is incredible, y'all.) Working on a variety of silly little things, all of which involve a handful of fictional worlds I've been attached to and obsessed with developing since my earliest days in this (slightly more doldrum) reality of ours.


Hoping to bring a bit of happiness to the world through what I can do. [💙]


Overly chatty (if this description wasn't any clue), but also a little bit shy. Dealing with a handful of neurodivergencies and mental illnesses, but otherwise trying his best. It's a long story, and a longer character arc, but it's also been an adventure. Maybe I'll overshare talk about it with you some distant day. Also apparently has some weird affinity with the moon...? [🌕]


Let's get along, yeah? I hope you like what you see from me, and that I make your days a little (or perhaps even a lot) brighter and tolerable!


[🟥🟧🟨🟩🟦🟪]



sleeps-darkly
@sleeps-darkly

So @Codarobo gave me an idea.

Here we go. Every load from an unique IP makes the image degrade. Every time a new unique IP loads it, the JPEG quality gets decremented by 1. When it reaches 10, the image gets copied onto a new canvas with 100 JPEG quality and it starts decrementing again.

If the server crashes and manages to restart itself, it will lose the list of unique IPs that already have loaded the file, and might corrupt the file irrecoverably. I might not restart the server if it happens. If I will, the file quality might get restored.

Only direct loads of the file count, Discord thumbnails will not work.

Let's see how many people are needed to OBLITERATE this TWINK.

UPD: https://cohost.org/sleeps-darkly/post/4411599-w-e - source code. Will keep the dyno up until it crashes or something.

UPD2: https://cohost.org/sleeps-darkly/post/4418814-compress-it - timelapse

UPD3: SERVER CRASHED lmao and re-used an intermediate compressed file. Fully resetting it, time to work it anew.

UPD4: I've put them side by side for now. The left is the final one I've seen on the run. The right is after the restart after crash.



You must log in to comment.

in reply to @sleeps-darkly's post:

I'm actually adding a littttttle gaussian blur with a radius of 0.1 every time I cycle the file from 10 back to 100. This seems to help, because I did notice it not being affected much after going <5. And even then, the limit of 10 was chosen because after 5 it turns into gray squares that stop really being affected much by any further compression. I'll just post the source code later, because I also noticed the issue in my code logic. But it doesn't really matter.

But. Might actually add a slight resize on the cycle too. Idk.

went to sleep and it was still a crusty game boy, woke up 20 minutes ago and it was just colors so i figured it couldn't get any worse, now half the image is just black with a little red

in reply to @zandravandra's post: