by ggcdn · 6y ago · 0 comments
Just yesterday I made a trivial error crunching some numbers for when a construction site could turn off their dewatering. Quite the opposite of this submarine, my structure would be 1000s of kips too buoyant and could potentially float up out of its excavation due to hydrostatic forces. A mistake like going unnoticed could easily be a career-ender.
For any system that matters, you have to prevent a single (or multiple) failures from sinking it. Any new failure that happens should be evaluated in a blameless manner and solved by improving the system so mistakes of that class cannot happen again.
Hire people (on good money) with the personality type that likes to find problems. If the team is all composed of "Mr Right-Now" and no "Mr Right" personality types then it will move very fast and have lots of issues. A diverse team helps.
TDD tries to insist tests are developed first, partly to ensure they're not skipped.
Reinforce the message: "Measure twice, cut once".
Good leadership and top-down support to make changes are important. If they won't care enough to stump up the money and follow through to check it's happening, don't expect much change.
More importantly, this also diminishes order-of-magnitude/approximation thinking, which is a very important source of "common sense". I've graded physics/electronics exam questions, and it's astonishing/amusing just how far-off some of the wrong answers are. Some memorable examples:
- Asked to calculate the current-limiting resistor for an LED in a low-voltage circuit, some students gave answers in the megaohms, others in the miliohms (correct answer was in the low kiloohms.)
- A question about the engine power of a dragster resulted in wrong answers of over a GW (roughly a million horsepower!) and under 1kW. (Correct answer was around 1MW.)
I've known school teachers, and am somewhat familiar with curriculum. Both are basically fine, and neither explains the problems I see with students in university.
It seems to me that the root problem is that students are never told, in serious terms, that getting the right answers is important. The way we signal importance is with grades. Students who have received passing grades for incorrect work through many years of school can hardly be expected to show attention to detail in university.
America (et al.) may be throwing away a generation of talent, by pursuing what seems to be a policy of unconditional approval. Luckily, there is some hope: my foreign-trained students hand in correct work, with appropriate digits and units. Quite often, they also show how they have checked the work. I don't think it's because their first language was French, or German, or Mandarin; I think it is because they went to schools where learning was still the focus, as opposed to the congratulation for simply being, not accomplishing.
Are you sure that's the case? Or is it perhaps because selection bias is bringing you only the smartest and best foreign students.
I went to a public university. The criteria to get accepted was much lower for Americans. Foreign students had multiple layers of competitive selectivity they had to make it through before matriculating there.
In Germany it’s commonly stated that things were better previously and that there’s a ongoing decline.
My understanding in the German case is that it’s not supported in any measures of student attainment - grades, earnings after 10 years etc.
That fits the Dunning-Kruger effect. They are better than others at what they've been paying attention to improving. Not sure how to square that with their perception of decline though; maybe others who haven't been paying attention to the issue have declined worse, or just started out worse.
From my own personal experience it was exactly units like velocity d/t and pressure m/a or things like volume d^3 that I made the most mistakes on while I learned. Especially when it came to having to convert between different units within an equation. The only thing that really helped was practical experience working with real world units and geometries.
I think one of my bigger problems was being unable to clearly visualize what it was the units actually represented. It wasn't until I started having to calculate distances, speeds and areas on maps, culvert diameters and volumes, water pressure through tunnels and actual 'real things' that I really started to understand and stopped making errors with units. But it took quite a while and it was only after 5 years or so at my last job of working with units and measurements every single day that I really became very comfortable with working with them.
A slide rule can tell you the numbers; it can't tell you the magnitude, you have to know that going in. He claimed this taught engineers an intuition for figures that calculators don't.
But frankly it’s hard to tell how much power the car is immediately using right now.
(And if no, were you enrolled in a Physics Electricity & Magnetism course at the time.)
Besides, if you're walking into a time-constrained exam of toy questions, I fail to see what incentive a student may have to corroborate toy answers against a reality that it may or may not be an approximation of.
Gigawatt would have set off my "Huh?" detectors as I have heard that in correspondence with power plants. However, given that diesel generators sometimes power buildings, it would not have set off too much worry.
And that's metric, not some odd British system.
You're not likely to catch that with simple order of magnitude rules.
If I gave you volumetrically equal pieces of 6061 and 7075 aluminum--whose difference in density is ~4%--would you be able to intuitively sniff out that something was off? What if those pieces were several tons a piece and your calibrated industrial weighing equipment had a reasonable +/-5% margin of error?
When a popular physics text had an ideal-gas-law chapter problem, with numbers describing solid argon, for multiple editions and many years, it was because everyone, checkers, instructors, assistants, and students, was mindlessly plug-and-chugging, not because there was a desire for students to validate simplifications or reflect on the reasonableness of results. There's like more than half a century of professorial letters to the editor, across multiple sciences, complaining of their graduate students lacking a rough-quantitative feel for the field.
Maybe physics or engineering could use an effort like https://bionumbers.hms.harvard.edu/ .
If a question asked you to compare two machines to see which produced the most power, you'd get a top grade writing a symbolic inequality and pointing out in words that some factors are common so they don't affect it, but one of them has an x^2 while the other only has an x, so that for large values of x, that one produces more power, while for small values of x, it's the other one. You'd get a lower grade for calculating two numerical results and identifying the bigger one.
What changes is the attitude of whoever is grading them.
I know one of my professor wouldn't give me full marks, but if the reasoning behind the computation was correct I would still get something. On such cases I simply wrote a note next to result saying that I understood that the results doesn't make sense and that there must be some computational mistake around but I didn't had the time to find it.
Other professors wouldn't accept nothing short that the correct answer, in such cases I know that whatever note I would leave would be pointless.
https://en.wikipedia.org/wiki/Horsepower#Metric_horsepower_(...
Hp is used when speaking about cars, but it is a very misleading unit (bhp, metric hp, customary hp etc..) pretty much the same mess with imperial and us gallons.
Most countries now use the SI unit watt for measurement of power. With the implementation of the EU Directive 80/181/EEC on January 1, 2010, the use of horsepower in the EU is permitted only as a supplementary unit.
I'm not really interested in cars, so I don't know if there's a European country where power is casually discussed in kilowatts.
> population of New York City
15 million?
> and the weight of a Boeing 747
600 tons?
> and the number of languages spoken in the world
15,000?
How'd I do? I don't know any of these though, I just guessed. I think I'm probably within an order of magnitude but I'll let you decide.
Your approximations are pretty good! Next time just divide by 2 and you’re good ;)
When I was a baby I asked my dad to draw power outlets, we had Legos, we’ve visited dozens of factories, I did a dozen programming languages before 18, I’ve always gathered data about things (Ok a nuclear plant is 1GW, a plane has 20t of fuel, etc), and I’m an average engineer.
Meanwhile my bigger sister has technical but never much about making things work, we went to the same engineering school but she ended up project manager because she can’t do the engineering job. So she manages people.
I've worked on testing DoD satellites prior to launch.
There were comment-level spelling errors [with "no real impact" to actual testing or functionality, honest] which passed through multiple reviews involving 3-4 people each review before being caught -- and even though they were in comments, required a version-uplift for the change.
And these were comments for Humans. Imagine if I or someone else buggered up on actual executable software functions.
[Hardware bugger-ups are a different similar stories]
In this case, reliance on computer modelling could have detected the error. Knowing the mass and volume of the sub, modelling the buoyancy is simple. Keeping the model updated and verifying that it can still float should be required for a project of this nature.
If you're writing the code yourself, then it should be easy to have all sorts of automated checks. Another HNer recommended using assertions to check that the sub floats when you want it to and sinks when you want it to: https://news.ycombinator.com/item?id=22396621
The engineer had specified a 7 mm thickness of a part of a metal beam that was supposed to be 25 mm. She argued that the manufacturer should have realized that the drawing was a preliminary draft because it was undated, it was missing other information, and was "clearly" underdimensioned, but it was still manufactured and put in the bridge without anyone noticing until the collapse.
The reason the story was extra covered in engineering magazines at the time was because the prosecutor argued that the responsible design engineer should go to prison, and three others (the owner of the design firm, a manager at the construction firm, and a coordinator who led the project) should get suspended sentences. No one from the manufacturing firm was prosecuted.
The result of the trial was that the designer got a suspended sentence and a fine, and the design company was fined 1.5 million SEK. All others were freed.
Most people agreed that the lack of process was to blame (the design should have been checked by someone else at the design firm, they should have clear markings on preliminary drafts, things shouldn't be manufactured without a formal handshake, and so on), but it's still an interesting question where the line should be on personal responsibility.
Some forms of negligence in the workplace should be criminal, especially if it results in people dying, but it's pretty harsh if an individual engineer is personally responsible for putting a 7 instead of 25 (possibly due to copy-paste of work in progress) in a drawing or in a piece of code. It's hard to draw a clear line of the responsibility between the individual engineer and the company that they work for, which should have processes to catch these things.
Links (in Swedish):
https://sv.wikipedia.org/wiki/Kistaraset
https://www.nyteknik.se/bygg/ingenjoren-darfor-rasade-bron-i... (has photos, including the drawing that says 7 mm instead of 25 mm)
https://www.nordkalk.com/news/news/archive/2016/04/nordkalk-...
(It's not real money, I'm a game developer, and would obviously never use JS's floats for real currency. But it still would be a product-killing bug).
I can't imagine being part of an error like this or that one Mars mission, oof.
And how did you catch this error?
Luckily, in this field, you can usually come up with a quick check that gets you within +/- 20% of the more sophisticated answer. These kind of sanity checks should be baked into the design process, but unfortunately not everyone seems to do them.
Could you please writeup an essay on this and publish it in an industry journal? This should be required, it should be a social and cultural norm across all engineering professions.
The story of saving the Citicorp Center to uncontrolled oscillations from an incoming storm is fascinating.
http://www.slate.com/blogs/the_eye/2014/04/17/the_citicorp_t...