this post was submitted on 17 Oct 2024
688 points (99.0% liked)

Science Memes

10853 readers
2642 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 16 points 2 weeks ago (1 children)

-1 days? (or 17, without the overflow)

[–] [email protected] 12 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

Twos complement (invert the bits then add one), so its -15 days.

Otherwise 00000 and 10000 would paradoxically both equal 0 and make bitwise equality checks very difficult.

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

Good point!

[–] [email protected] 28 points 2 weeks ago (3 children)

It bothers me it's not in 4 bit "bytes" even though I know it's just a convention for computers

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

You can do all of math in binary, it isn't just for computers. In fact, the proof for "Russian Peasant Multiplication" was written in binary.

[–] [email protected] -2 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

So you can do all mathematical operations in binary, but you can't represent all numbers in binary like 0.3, which is a repeating number, and had the same issues as a number like 1/3 in decimal where you can't avoid rounding errors

It's worth noting that 1/3 is also a repeating number in binary. 0.01010101....

While 0.3 is in binary 0.0100110011001100...

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

I'm not sure what sort of point you think you're making but 0.0100110011 in binary is only 0.065% off from 0.3, but how often would you organically encounter 0.3?

Many fractions in decimal are also repeating numbers or very long trailing numbers, I especially encounter a lot when working with time which is base 60.

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

The four bit sections of eight bit bytes are called nibbles, you know because nibbles are small bites

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

Ugh jeez.. right. I literally always mess that up

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

Yes. I am dumb.

[–] [email protected] 4 points 2 weeks ago

4 bits is a nybble

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

That's a matter of convention, not technical definition. A byte can be any number of bits, depending on hardware. For a while 6 bit bytes were common. RFC 791 refers to an 8 bit byte as an octet

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

RFC 791 refers to an 8 bit byte as an octet

French-speaking people do too it seems. On second hand websites in Switzerland you always see that some disks are listed for e.g. 250 Go and others for 250 GB, depending on the first language of the seller.

[–] [email protected] 0 points 2 weeks ago

I totally got that without the text bubble.

[–] [email protected] 23 points 2 weeks ago

It's telling that their counter only goes up to a month

load more comments
view more: next ›