Sekoia

joined 1 year ago
[–] Sekoia@lemmy.blahaj.zone 1 points 5 months ago (1 children)

Ahh, that makes sense. Powers of two are real convenient. Your math is a little wrong though: X != (X & 0xFF) + (X >> 8), but X = (X & 0xFF) + (X >> 8) << 8 The right half can be removed entirely if you're doing modulo 16, since the first 4 bits will always be 0. So it simply becomes X & 15! Much cleaner for sure.

[–] Sekoia@lemmy.blahaj.zone 2 points 5 months ago (3 children)

Would you happen to remember what the optimization was, mathematically?

https://stackoverflow.com/questions/20036698/subdivide-a-modulo-function-16-bit-but-can-only-do-8-bits-at-a-time#20036828 seems to say that it's "impossible afaik", and I can't seem to optimize it myself (though this kind of math isn't my forte)

[–] Sekoia@lemmy.blahaj.zone 8 points 5 months ago

This is a masterpiece

[–] Sekoia@lemmy.blahaj.zone 7 points 5 months ago

Block the community?

[–] Sekoia@lemmy.blahaj.zone 1 points 5 months ago

I'm not an OS dev, I have no idea how stuff this low-level works.

[–] Sekoia@lemmy.blahaj.zone 7 points 5 months ago (2 children)

Downvotes are disabled here actually, so that's why it says 0 downvotes

[–] Sekoia@lemmy.blahaj.zone 13 points 5 months ago* (last edited 5 months ago) (7 children)

I'd suggest some kind of "press this key to view debug information" text (or make it documented but not visible, to avoid people just pressing whatever button is written on the screen)

[–] Sekoia@lemmy.blahaj.zone 53 points 5 months ago* (last edited 5 months ago) (16 children)

Last one is the only one I actually got (and MHA actually). It's animal crossing. Edit: Oh! Second to last is Artemis Fowl

[–] Sekoia@lemmy.blahaj.zone 5 points 5 months ago

Hosted on poast, though, which is defederated from literally everyone decent for a good reason

[–] Sekoia@lemmy.blahaj.zone 4 points 5 months ago* (last edited 5 months ago)

I relatively often have an inner dialogue, but it's just me twice

I don't mind it tho, it's fine enough

[–] Sekoia@lemmy.blahaj.zone 7 points 5 months ago

I'll stick with AP for now but I'll keep an eye on it, then.

[–] Sekoia@lemmy.blahaj.zone 14 points 5 months ago (1 children)

Nostr is culturally vaguely american, and it's hard to distinguish the libertarians from the Trumpists there (I've seen several posts saying "Trump will be better for Bitcoin", for example). Libertarians and republicans both sell themselves as "small government".

"Leftist libertarians" generally call themselves anarchists, in my experience.

view more: ‹ prev next ›