Spyke

Posts

lemmyshitpost·Lemmy ShitpostbyRichard

My impression of the americas (based on nothing but prejudice)

Did you know my grandfather was argentinian?

::: spoiler Obvious disclaimer This is based on nothing, and is nothing more than a joke, so legally you cannot take it seriously unless you are MY LAWYER HAS ASKED ME TO REDACT THIS COMMENT IN RESPONSE TO POTENTIAL LEGAL REPERCUSSIONS

seriously tho, i am the clown here demonstrating my clear lack of knowledge regarding all these different and diverse peoples that inhabit this beautiful continent, is joke. :::

View original on lemmy.world
freecad·FreeCADbyRichard

Made my first parametric model in freecad!

after bashing my head in my table for a bit, i finally managed to make something "salvagable"... i think.

this is meant to be a vesa adapter, from 200mm to 100mm; the idea is that 6mm metal screw-posts are melted into the holes

the sketch is quite a bit of a hellscape... i will see if i can figure out symmetry on the next iteration. Do you have any advice on how i can use better this program? it's been quite a bit since i haven't seen such a steep learning curve on a piece of software

View original on lemmy.world
asklemmy·Ask LemmybyRichard

Are you tired of political content on lemmy? (crossposting outside of .ml)

original post in: https://lemmy.world/post/23364294

You know, i do actually very often concur with these kinds of content, like the ones saying billionaires are leaches on society and governments are often used as a weapon to protect the ruling classes.

But man... when i come to lemmy i kinda want to only see memes, and funny stuff... even communities that are not niches to political content get political way too often. Like gotdammit, when i get to c/comics i just want to see funny drawings, i'm way too tired to want to see your lame class war comic...

Is that a feeling i'm the only one feeling?

edit: i think what makes it worse is that very often they're not even funny, just literal propaganda, "good guy propaganda", maybe, but still propaganda

edit n2: edited title and body slightly to be "open ended" on mod's request

View original on lemmy.world

Brazilian's impression of asia without ever being there (and oceania because a continent with only two countries is not a continent)

cross-posted from: https://lemmy.world/post/22584635

This one is for the asians who have laughed at the other maps, sorry i don't know much about your continent, but i have tried my best to offend you while still trying to make it funny

::: spoiler . holy cow, it's the secret spoiler message, the one that shows the very hidden secret that this is only a joke! no way... :::

View original on lemmy.world
lemmyshitpost·Lemmy ShitpostbyRichard

Brazilian's impression of asia without ever being there (and oceania because a continent with only two countries is not a continent)

This one is for the asians who have laughed at the other maps, sorry i don't know much about your continent, but i have tried my best to offend you while still trying to make it funny

::: spoiler . holy cow, it's the secret spoiler message, the one that shows the very hidden secret that this is only a joke! no way... :::

View original on lemmy.world
linux·LinuxbyRichard

zram + swapiness = infinite ram

cross-posted from: https://lemmy.world/post/20962151

Hello Linux folks, i would like to share one little hack which i have found.

On fedora, zram-generator comes installed and configured by default with lz4 algorithm i believe, and no disk swap, if you have 8gb of ram or more, that is fine, but if you have 4gb or less, systemd-oomd either kills you games when they use too much memory, or you face an OOMD and get your system frozen.

When configuring fedora, normally i would create an in-disk swap, so that my computer wouldn't freeze but face a MASSIVE slowdown when on way too high memory usage, i also set zram-generator to use the zstd algorithm so that zram compression rate is higher but slightly slower, like that i can use my low memory more efficiently with a lower risk of OOMD.

I was watching a bringus studios video once, where he tried to run counter-strike 2 on a ps4 using linux and proton; the game would always use too much memory and that would freeze the system before it got a change to actually launch, the strange ps4 linux was using in-disk swap, and so, increasing swapiness to 100 bringus tried to leverage that to make the game run. He was sucessful. In disk swap is very slow, so the performance was crap, but that does not matter...

So i saw that, and had the idea to combine it with zram-swap to avoid the in-disk swap penalty, also using zstd as the algorithm to make the most out of the memory, and it was a massive sucess! Some games which would make my system very unstable or straight up freeze on certain launch attempts started launching and working just fine! and without dumb in-disk swap slowdowns!

While running modded Victoria 2 i have noticed my system is using about 3.3 to 3.4GB of swap, and about 3.5 gb of ram, so about 100 to 200MB of real uncompressed memory usage, assuming zstd is running at level 1 of compression, and achieving at least 3.0 as compression rate, in thesis, my system has now the equivalent to 10GB of ram, well about it's weight! even more impressing considering how low are the numbers we are working here!

tldr: setting your swapiness=100 while using zstd as your zram-generator compression algorithm, and no in-disk swap will help your system use the most out of your ram with negligible performance penalty

View original on lemmy.world