@fugger @mikuphile @s8n In any library I make I have a test.c or test.lua that's just 500 asserts or functions that call asserts

assert(math("1+2") == 3)
assert(math("-(1)") == -1)
...

@fugger @mikuphile @s8n They're really really great if they're applicable. When you have clear and parsable input and output, like a simple library, they're great. Don't really work for a game or something

Also combine then with code coverage if applicable

@s8n @fugger @mikuphile -Wmisleading-indentation

According to one article I read about they didn't unit-test

@s8n @fugger @mikuphile Making the indentation block uneven, removing screen realestate, and adding nothing of value is the crungoest

@matrix Well, in some transition state, yeah. Commies think that capitalism is the source of conflict and in communism crime won't exist. Of course, how could you enforce laws without hierarchy

@matrix Commies have this conceptual idea of the division of labour as a bad thing, but when you actually talk to them they still end up with it

@blackmore Commies have this conceptual idea of the division of labour as a bad thing, but when you actually talk to them they still end up with it

@Aldo2 It's more explicit but there has never been a third option. You either want your people to survive or you don't. Whether it's passively or actively malicious matters less

@hideki Also ask your local Russian about cock tea (ะบะฐะบ ั‚ั‹)

@neko I like that Piped loads significantly faster and has integrated SponsorBlock

What's the issue with JS when it's FOSS?

@Paulo @neko Don't they have to not log that to comply with laws?

When you go to a google page without their cookies it prompts you for what privacy options you want, one of which is youtube history you can just tell to not log

@beardalaxy Yes, but mainly because it was around some amusement park with a clown as the antagonist and I was like 10

@ryo @PhenomX6 @xianc78 @alex @gnusocialjp @pomstan Manually adding every instance isn't very viable unless there is just a small number of big one's, even if you somehow learn about them

People will notice that hosting their own instance will make nobody talk to them, so they join a big one instead, and then that makes the problem worse

@Mr_NutterButter A QR code can only store a few KB at most (and most images are rarely below 100kb) so the image would have to be small and/or compressed but IDK if any QR reader would display it automatically

@MischievousTomato @zero @pomstan They shit on even explicitly private patents. Lubing your own asshole doesn't make you any less of a faggot

@zero @MischievousTomato @pomstan BSD people really be like "my wife will cheat on me anyway, lemme just let her fuck whoever she wants for some reason"

@veer66 So it's just creating/opening a file in append mode? That seems a bit far from great. Lua/C

io.open("foo.txt", "a")
fopen("foo.txt", "a")

Show older
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.