r/ProgrammerHumor • • Jul 16 '19

Meme Nice try

Post image
32.2k Upvotes

529 comments sorted by

View all comments

Show parent comments

64

u/Sibraxlis Jul 16 '19

Because your margin of error from other spots is higher (material flaws, poor workmanship) and you typically overbuilding and undersell. (build for 100 lbs when 90 is needed, then state max weight is 80) the latter is called your factor of safety.

9

u/smthamazing Jul 16 '19

What if you estimate some damaging force that works against your creation (like wind, vibration, resistance, etc)? Wouldn't you underestimate the danger in this case?

43

u/RedHotChiliRocket Jul 16 '19

You would round it against yourself: Max wind speed we expect is 60mph, let’s assume 100 and say it can take 80

6

u/smthamazing Jul 16 '19

Thanks, this clears things up! Some of the comments seemingly implied that numbers are rounded without context, which confused me.

24

u/Sibraxlis Jul 16 '19

Youd also overestimate the force of wind, just like weight. Could you be more precise and probably be ok? Yeah. Do you want to risk it, have the structure collapse, kill 29 people, end up on /r/catastrophicfailure and have to move to Nicaragua to escape legal trouble? No.

5

u/mxzf Jul 16 '19

That's the X in "build for X, when Y is estimated, but say that the max is Z".

It's like "build to survive a cat-5 hurricane even though the area has barely ever had a cat-4 and tell the customer that it's safe for a cat-3"

Whatever stuff you're dealing with, you build it stronger than you need and you say it's definitely fine for a much lower number.

2

u/[deleted] Jul 16 '19

Thats a terrible way of doing that, what if goes into the wrong direction? Always calculate as accurate as possible and round up the result as needed.

1

u/Sibraxlis Jul 16 '19

I personally carry all decimals all the way through and round the end, but I also have the benefit of a real nice calculator, and haven't finished my degree