Show newer

@klntsky This kid told me it perma-dies, so I never got the courage to ask for it.

@finity whaat? Baboons are majestic.Those muzzles every dog would be jealous of. What's a tiger? A fat zebra panthera that can't climb trees? It's all just marketing of big predator!

@blinkwarp how did you go from "don't want ISP to see browsing history" to "don't want government to know where my money comes from and goes to"?

The answer to corporate surveillance is tor, use tor, promote tor, run a relay, and stop pushing whatever your agenda is under any pretext.

@blinkwarp we must be ready for the war we're going to start to cleanse the world from unrighteous, cause, you know, corporate surveillance, how else do you stop it? why can't i hold all this brainz?!

@orekix how did mathematicians, engineer, scientists and musicians appear? did you make them?
@VD15 @georgia @pernia

your brain on C: defines pixel/color formats based on component order in machine word/register, not actual byte order in memory.

@georgia @kura @pernia @thestrongest the curse outlines a rough time period, but not a specific time or trigger, so I don't think it's clear cut in any way. It's part of the spook that you don't know exactly when it's going to happen. They prolly turn when they see the moon cause they get nervous and trigger/accelerate the process somehow, otherwise they probably keep themselves busy and manage to resist it during the day. A biological clock force of habit kind of thing I would guess.

namark boosted

Musings on... Doorbell button designs. 

@MutoShack@functional.cafe ok, hear me out... if you're super clumsy... and it's a protruding narrow button... you might hit it at an angle (like the force vector will not line up with the button's movement path) and it will get jammed and get back at ya with equal and opposite force... also it has to have a sharpish edge, cause if it's entirely rounded and small you wouldn't be able to push it with your finger, right?

Musings on... Doorbell button designs. 

@MutoShack@functional.cafe slapping a a sharply protruding object? funny bone danger! If you are already kind of dizzy you'll be immediately incapacitated x_x

I imagined a small concave button, almost flush with box, that would go inside the box, cause that's what I would enjoy pressing despite my criticism.

@georgia they closed up their local timeline so I can't go around bursting their bubbles anymore -_-

Musings on... Doorbell button designs. 

@MutoShack@functional.cafe it makes no sense to fit a singular button to the size of a finger, "what's this, a doorbell or an intoxication test?". I get it you might not want drunks in your house, but what if my hands are busy and I have to elbow it?

Obligatory code post after a month:
git.sr.ht/~namark/libsimple_mo
It's not exactly a timer, but can use empty structs to to turn it into one, like this:
git.sr.ht/~namark/truwo/tree/0

I will separate it from the interpolation eventually, maybe in another year or so, though at that point the class would become so small it might just disintegrate into a bunch of free functions.

Example of inconvenience caused by disallowing 0 duration:
git.sr.ht/~namark/sketchbook/c
Very painful, but not hopeless, there is room for improvement.

Show thread

:C 

@amiloradovsky@functional.cafe guess you meant to omit the default case, cause I'm getting different output and no warnings.

Enumeration in general are not supposed to be type safe, their whole point is to be interchangeable and interoperable with integers, you are supposed to use them to index arrays or do arithmetic or bit twiddling. You can do something like this instead:
ix.io/2Il9/c
It's not perfect, but makes it harder to call the function with wrong parameters. They can't do it inattentively anymore, they have to study this mess, understand it, and then intentionally break the clear conventions, ignoring the crashing debug build.

:C 

@amiloradovsky@functional.cafe 1 << 31 is undefined behavior if int is 32 bit. In general if you want bit manipulations you should do them with unsigned types, and take into account sizeof(T) and maybe even CHAR_BIT. A literal without suffix is int, because basic arithmetic is more useful and common than bit twiddling. int is supposed to be the natural word size of the machine so that your can be sure your basic arithmetic is efficient, but we are stuck with 32 bit even on 64 bit machines cause people didn't care and wrote broken not standard bit twiddles.

@Lixitini @mathlover you let american corps own your machines all the way down to firmware, and then when russia wants some of the same you go "oh no, evil russia!". It's a fad, political tensions used to distract people from the real issues.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.