this post was submitted on 17 Oct 2024
605 points (99.2% liked)

Science Memes

10694 readers
3225 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.


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
[–] madjo@feddit.nl 7 points 2 hours ago (1 children)

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

[–] tetris11@lemmy.ml 4 points 2 hours ago* (last edited 2 hours ago)

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.

[–] xenoclast@lemmy.world 20 points 20 hours ago (3 children)

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

[–] Kazumara@discuss.tchncs.de 3 points 4 hours ago (1 children)

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

[–] xenoclast@lemmy.world 1 points 1 hour ago

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

[–] satans_methpipe@lemmy.world 2 points 5 hours ago (3 children)
[–] xenoclast@lemmy.world 1 points 1 hour ago

Yes. I am dumb.

[–] Revan343@lemmy.ca 5 points 4 hours 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

[–] Kazumara@discuss.tchncs.de 2 points 4 hours ago* (last edited 4 hours 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.

[–] smeenz@lemmy.nz 4 points 4 hours ago

4 bits is a nybble

[–] finitebanjo@lemmy.world 1 points 4 hours 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.

[–] ziggurat@lemmy.world -2 points 3 hours ago* (last edited 3 hours 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...

[–] finitebanjo@lemmy.world 1 points 3 hours ago* (last edited 3 hours 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.

[–] cobysev@lemmy.world 150 points 1 day ago (5 children)

For anyone who doesn't want to do the conversion, that's 17 days.

[–] phoenixz@lemmy.ca 33 points 18 hours ago (1 children)

Unless it's a signed integer, then it's -1 and they're expecting something...

[–] DacoTaco@lemmy.world 5 points 5 hours ago (1 children)

A 5 bit long signed integer? What kind of weird system you using ? :p

[–] gens@programming.dev 6 points 4 hours ago

Two's complement

[–] chuckleslord@lemmy.world 49 points 21 hours ago (2 children)

It also has a max of 31 days possible. Which has... implications.

[–] Trainguyrom@reddthat.com 14 points 21 hours ago

Among many other duties I manage the safety and claims database for an outsourced industrial cleaning company and let me tell you, some of the plants my company works struggle to make it a week without an accident, meanwhile some will go years without an accident. We also have one plant which had its last accident during the Bush Administration. Its absolutely wild how much safety can vary from one industrial facility to another

[–] Slovene@feddit.nl 3 points 16 hours ago (1 children)

🤔 .... What implications? ಠ⁠_⁠ಠ

[–] fossphi@lemm.ee 6 points 6 hours ago* (last edited 6 hours ago) (1 children)

They must sacrifice an undergrad on the 32nd day

[–] PumpkinSkink@lemmy.world 2 points 58 minutes ago

This is actually how chromatography works. The mobile phase is 0.1% formic acid and 0.3% blood of the innocent.

[–] yardy_sardley@lemmy.ca 84 points 1 day ago (3 children)
[–] swag_money@lemmy.world 1 points 4 hours ago (1 children)

what's the general rule for translating negatives from binary? did you just do like 17 - 2 • (-1) or something?

[–] yardy_sardley@lemmy.ca 2 points 1 hour ago (1 children)

I used what known as 2's compliment. Take the complement (flip all the bits - here that would give you 01110 which is 14) then add 1.

[–] swag_money@lemmy.world 1 points 50 minutes ago

thanks for the explanation! could you express it as a NOT operation plus one? like is that how it would be processed at a low level?

Mmm yes. 5 bit two's complement.

I shouldn't make fun of it we've definitly made some ISA that weird.

[–] Dabundis@lemmy.world 42 points 1 day ago
[–] humblebun@sh.itjust.works 2 points 16 hours ago

I did and I regret it

[–] Entropywins@lemmy.world 3 points 21 hours ago (1 children)
[–] scholar@lemmy.world 1 points 17 hours ago (1 children)
[–] deadcade@lemmy.deadca.de 5 points 16 hours ago

As in, 0x11 is 17 in decimal.

[–] Hjalamanger@feddit.nu 99 points 1 day ago (1 children)

It's even worse considering that they only have five boards. They expect at least one accident every month

[–] Gormadt@lemmy.blahaj.zone 17 points 21 hours ago* (last edited 20 hours ago) (2 children)

I work in the LTL freight industry, if we go 30 days without an accident or an injury we get a free BBQ day with unlimited food for everyone. We're talking burgers, hotdogs, chilli, chowder, chips, drinks, etc. Sometimes they even do catering. Our last one they did Hawaiian Food for 2 days (they got too much) which definitely made everyone happy.

I've been there for almost 10 years, we average about 2 per year.

Edit to clarify: 2 BBQs per year. We're really good as getting hurt.

[–] smeenz@lemmy.nz 4 points 4 hours ago (2 children)
[–] I_am_10_squirrels@beehaw.org 3 points 3 hours ago

Less than truckload

[–] Gormadt@lemmy.blahaj.zone 2 points 4 hours ago

Less than Truck Load

Basically if a company want to ship pallets of crap but they don't have enough to justify using their own truck

Think TForce, YRC, Oak Harbor, FedEx Freight, etc.

[–] kraftpudding@lemmy.world 5 points 19 hours ago (1 children)

I wonder if that's still cheaper, because it makes people value safety of others but also because it raises the burden to report smaller accidents and workmans comp fraud because of peer pressure.

[–] smeenz@lemmy.nz 3 points 4 hours ago (1 children)

The cost is in the lost productivity from having someone off work with injuries. A barbecue every 6 months seems like a bargain.

[–] Gormadt@lemmy.blahaj.zone 2 points 1 hour ago

It really is, the average time loss injury in our company is usually upwards of 30k down the drain. And just an accident can be catastrophic in terms of cost as well.

A BBQ compared to that is nothing.

[–] wise_pancake@lemmy.ca 32 points 1 day ago (1 children)

It’s a great way to save on number boards

[–] celia@lemmy.blahaj.zone 31 points 1 day ago (1 children)

Not so much on board space

[–] spankmonkey@lemmy.world 21 points 1 day ago (1 children)

You can save if your lab is unsafe enough!

[–] synae@lemmy.sdf.org 2 points 19 hours ago

Perverse incentives

[–] Feathercrown@lemmy.world 22 points 1 day ago

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

[–] TragicNotCute@lemmy.world 24 points 1 day ago

I love the leak in the other room. Get ready to reset the counter folks!

[–] troyunrau@lemmy.ca 17 points 1 day ago (1 children)

The author of this comic has a number of excellent coffee table compilations: https://www.tomgauld.com/comic-books-v2 (unaffiliated -- I just like them :))

[–] pyre@lemmy.world 2 points 21 hours ago

i like their style, very pleasant and original

[–] Seraph@fedia.io 12 points 1 day ago (1 children)

They've never gone more than a month without an accident? Find a new work place immediately!

[–] Gormadt@lemmy.blahaj.zone 5 points 20 hours ago

With a large enough workplace in the wrong industries it's really easy to have something that could count against it.

I work in the LTL freight industry, we get quite a few.

load more comments
view more: next ›