Doombot1

joined 2 years ago
MODERATOR OF
[–] [email protected] 2 points 1 month ago* (last edited 1 month ago)

So for padding, it sometimes depends on how your compiler works, but usually, it doesn’t pack bytes by default - that needs to manually be done. Otherwise, a uint32 followed by 2 uint16s, for example, will take up the space for 3 uint32s (in a 32-bit native compiler). If you manually specify packing (implemented differently depending on your compiler and such), then it will pack those all properly into just 2 uint32s.

I do imagine 24 bits followed by 16 more in a bit field for a 32-bit number would potentially cause problems. But it’s late here and I could certainly be wrong so take that with a grain of salt.

That also said, I typically don’t use bitfields directly in structures - it’s not usually good practice, at least where I work. I’d either do a uint8[3] or use a whole uint32 that is a union, and in the union would be your :24 followed by a reserved : 8, if that makes any sense. It’s sometimes worth it to leave a few extra bytes in there just from an organization standpoint.

[–] [email protected] 2 points 1 month ago (1 children)

Worked for me; I can see it fine

[–] [email protected] 6 points 2 years ago

Just note that if you 3D print something, if you use the wrong material, there’s a chance it may melt.

[–] [email protected] 2 points 2 years ago

What a load of crap. I knew Netflix was expensive, but ten bucks a month per person with ads? That’s unreal! Even bundling only gets that down to ~$7, which is still BS.

[–] [email protected] 1 points 2 years ago

~$2500USD/ea, for anyone else as curious as me

[–] [email protected] 2 points 2 years ago (1 children)

Out of curiosity, what’s wrong with medium? (Serious question)

[–] [email protected] 1 points 2 years ago

@[email protected] - are these available somewhere as full res pictures already? And/or will they be after the desktop is chosen? Or will only the chosen one be available?

[–] [email protected] 3 points 2 years ago

Yep. Broadcom fucking sucks, they’re and they’re really good at doing this. Can’t wait until VMWare costs more than the systems it’ll be running on 🙄

[–] [email protected] 3 points 2 years ago

Must be part of Reddit’s new rebrand

[–] [email protected] 1 points 2 years ago (3 children)

Although if y’all sold a stuffed animal of whatever adorable thing is in the middle right picture, I’d buy it in a heartbeat

[–] [email protected] 4 points 2 years ago (4 children)

Top left gives me amazing vibes

[–] [email protected] 3 points 2 years ago

Redwoods are so freakin’ cool.

That is all!

 

I just saw a post about this on the Lemmy Connect community and thought it would be a pretty neat feature for Memmy as well. Something to filter communities by keyword. E.g. block any community that has “meme” in the name somewhere. It would work differently from the other filtering types, I believe.

Side note - how exactly does Memmy’s keyword filtering work? If I block the word “politics”, will it block any post that has the word “politics” in the title/body? Or will it even block a post if somebody went in the comments and commented “politics” somewhere?

…and while I’m here. From what I can tell, after blocking a community, there isn’t any way to unblock it (at least easily). Is there a way to implement this, or is it already here and I just don’t know how to do it?

view more: next ›