by mrguyorama · 4y ago · 0 comments
I have many engineer friends. They have no problem understanding the math and physics and concepts of things like statics analysis and don't use simulation "because they don't understand the problem" but because simulations allow you to use more complicated, or more unusual structures that classical methods simply cannot work with.
Your stupid slide rule and winging cannot compete with the power that you get from actually using the math that your older methods just approximate. Turns out, much more accurate simulation allows for BETTER SOLUTIONS.
Stop being a crotchety and elitist angry person and try to understand the way things are going, instead of casting new methods aside because you don't personally understand or get them.
The calculators had to produce an answer that was off by more than a factor of 2 before the students suspected something might be wrong.
Back in the 80s at Boeing, the experienced engineers were deeply suspicious of any "computer numbers" because they'd been burned too many times by garbage results pushed by the computer department. I was the only person in my group (of about 30) to use a computer to calculate things. The others used calculators and graphical methods. My lead engineer didn't want any "computer numbers". I persisted, so he set up a competition between me and his best graphical method draftsman.
One of the numbers I generated didn't match the graphical results. My lead said "see, you can't trust those computer numbers!" The graphics guy said he'd recheck that one. A couple hours later, he said he'd made a mistake and the computer numbers were correct. (Note the "couple hours" to get one number.)
After that, my lead only trusted computer numbers from me, and directed a lot of the calculation work to me.
(All designs were double checked by a separate group, and then validated on the test stand. Correcting a mistake by then, however, got very expensive.)
Using a slide rule is also explicitly imprecise, so the user isn't expecting that the result to accurate to n decimal places. They're aware of the imprecision and are likely at least considering whether the level of precision is enough to answer the question they're asking.
If I'm looking at a blueprint as see a dimension listed as "1.5mm", my instinct is that anything from 1.47mm to 1.53mm "-ish" is likely to suffice. I'm going to want to understand how that part interfaces with others to make sure it won't cause an issue if it's slightly different. If on the same drawing that dimension is marked as "1.5125mm", my assumption would be that the person who drew it out was specific for a reason. I'm going to be much less likely to try to consider the interface with other parts because I assume that level of precision indicates that it's already been considered.
Note that the above is just a conceptual example. I'm not a draftsman, machinist, or an engineer - I've just done enough amateur machining and design work for 3D printing that it popped to mind. Yes, I'm aware that there are implicit and explicit tolerances based on the number of significant digits in a measurement. :)
I replied that I had calculated the max and min values based on the rest of the assembly. When a part is delivered, if it is out of tolerance it gets bounced to the engineers to see if it can be salvaged. As the jackscrew was an extremely expensive part, I reasoned that giving it the max possible tolerance meant cost savings on parts that wouldn't have to get diverted to engineering for evaluation.
The drawings got approved :-)
On the human scale precise clock maths is rarely necessary, and conceptually thinking of time as a base 60 number can be more trouble than good.
Technology Connections has a very good video on this, and completely changed thinking: https://youtu.be/NeopkvAP-ag
That's an interesting thought.
There's no reason a calculator has to output only a number - with the computing power and displays at our disposal today, we could easily draw and/or animate a virtual slide rule.
A virtual slide rule probably wouldn't be the best option, though. It's just a visual metaphor for how the values in the calculation relate to one another, and it's one that's only going to be useful for someone who has learned to use a slide rule.
I wonder if there might be an effective, generic way to present calculations visually in a way that requires little or no training to understand. Has anyone done this?
Engineers do learn how floats are stored and how computations are done on them to avoid numerical problems while solving whatever differential equations and matrices that they need
I strongly disagree, having used a slide rule despite and spent hours exploring how it is the physical representation of logarithms.
I could tell you many stories of witnessing otherwise smart engineers run the worst possible simulations I've ever seen, but argue that their results were correct simply because the computer generated them.
I was certainly a very green engineer, but I had played around a lot with numerical simulations in college. I knew I could get better, faster, and more reliable results with a computer program than the calculators everyone else used.
My lead was right to be very skeptical, and I enjoyed the challenge he set up for me. I had no problem being asked to prove my results were correct.
The point is that we shouldn't trust a model just because it is run on a computer, just as we should trust that hand written calculations may not have numerical mistakes.
I suspect its our trust and reliance on digital computing, and the amount of cultural messaging.
Something I tell developers and system administrators in my consulting job is to be aware of "orders of magnitude" and try to estimate them in their head when investigating things.
Just yesterday I was trying to explain to someone that taking 4 seconds to load 150 bytes of text on a page is an error measured in orders of magnitude. Scaling up or down isn't the answer when the situation is "off" by a factor of 100,000x or more!
I was nearly laughed out of the room because apparently Deloitte — a much more expensive consultancy — had told them that what they really needed was to dynamically scale out further.
“The cloud will scale to the size of your wallet if you let it.” was my response, which… did not go down well.
I didn’t hear back after that. Years later they’re still scaling up and working on migrating to a more cost-effective hosting provider.
Now think about the 1960's when I estimate 90% of the calculations for the Apollo moon project were done on slide rules.
NASA did have the best computers available and used them to the max but that tied them up so much they were only used for those things where it was thought you just had to have a computer for. And this was by design a highly computerized spacecraft itself like nothing ever before.
The better your slide rule skills, the better your computer abilities may be once you get a hold of a computer.
That's what computers were made for, to augment a well established inuitive manual calculation capability of accomplishing all kinds of very advanced engineering.
Perfectly suitable. But they did have a couple of hours to come up with the right numbers, and they did have slide rules and graphical methods as backup. That is what allows evolution, you can't believe a computer right from the start and instantly abandon older methods. Those methods have a place.
In fact if an African student wanted to be a mathematician, a slide rule--due to its analog nature would--set him ahead and allow him faster results than his peers. Whereas a calculator you don't know where you've got it wrong.
The speedup wasn't in writing the program to do the calculations. The speedup was in being able to run the program repeatedly as the design got tweaked. There was also the fact that once the program proved correct, the iterations were also free of error. For example, if I write a program to compute sin(x), I only need to check a few points to verify it. Doing it graphically or by hand can introduce error for every use.
Now that's the incredibly difficult part, as bugs are no stranger to code, let alone code that tries to model the real world with assumptions.
The sin function is actually incredibly incredibly complex (https://stackoverflow.com/questions/2284860/how-does-c-compu...) and implimentation are full of implicit and imperfect assumptions (like floating point). Under normal use these errors are silently propogated, and the floating point model well designed enough that for the majority it doesn't matter at all.
Being able to run a model whilst iterating is great, but at the end of the day it's still a model, and could break down.
eg. http://web.mit.edu/4.441/1_lectures/1_lecture8/1_lecture8.ht...
I felt that I had a better grasp of what a particular computation meant. The need to keep track of orders of magnitude and so on helped me catch errors that would have slipped through if I was just pressing buttons and copying down results. The practice helped me later on with "back of the envelope" calculations.
It doesn't make me nostalgic for slide rules, though. Give me an HP calculator any day.
Same thing happens everywhere - people don’t understand enough to do something like ballparking some numbers to check if they’re at all reasonable - but this is useful.
That’s not to say I would build the house without doing a proper structural engineering analysis and simulation. But not being able to estimate feasibility without doing the full simulation is a real problem.
Simpler methods are more robust than more complex methods.
For example: https://www.rsc.org/images/Arrhenius1896_tcm18-173546.pdf predicted climate change more or less as it happened a more than a century ago. The current models are hugely complex and not that much more accurate because we're trying to simulate a system with a lot of unknowns.
The same is true just about everywhere when you start running ensemble simulation for multiple inputs. No one does because "We have 20% of simulation end up at infinity or 0" is not a very meaningful statement.
There are things you can do efficiently now with modern simulation that would be unthinkable in the heyday of the slide rule. Hell, in the 1980s.
On the other hand, I've seen a lot of time wasted on "analyzing" the wrong things, especially via simulation, merely because the work of setting it up is very approachable. I've watched young engineers struggle hard due to an over-reliance on these approaches, so it isn't just crotchety-old-guy problems. Its' also that, though :)
Personal comment: I think you (mrguyorama) are correct in pointing to the complexity of contemporary structures/problems.
I would state this in terms of the where contemporary progress is being, what sorts of problems are being worked on, etc: considerably further into the fractal of hard problems, and in new regions of the problem domain which were not assailable through manual computation.
The tools being used in other words are necessary and appropriate for what kinds of work are being done today.
Aircraft design (etc.) today is only superficially related to what it was in the author's day. We are now in the hard 20% in a lot of ways.
Sounds familiar, like I just read an example of it :/
this is how written communication works
The Author generates strings of characters (that ultimately form 'words' and 'sentences' and 'paragraphs' in aggregate).
These character strings are chosen by an author to suggest a 'frame of mind' in order to best get her point across. So when an author of fiction causes a character to say things that are interpreted as angry, it doesn't mean the author herself is, in fact, angry.
Therefore, unless we know something not in evidence besides the author's strings of characters, drawing conclusions as to the writer's mental state is ... odd. Even for pieces of non-fiction.
This person ran it by some colleagues, who all disagreed, and the author took this as evidence in FAVOR of his belief? The hubris...
It's likely that they've seen deep learning used to solve problems in the past that are more suitable to a simple regression. They may not have seen it used to solve problems where regressions failed.
In your place, I'd dive into why they feel the way they do. Maybe they're right! More likely, maybe you're using deep learning for jobs it isn't best suited.
In a way I understand it, for example if somebody finished their computer vision PhD before Deep Learning and don't want to admit their knowledge is now next to useless for most industry cases...
Jokes on both of them: the DL knowledge is also next to useless for most industry cases.
I'm not sure simulation is why present designs take so long. It's more likely a mixture of bureaucracy, cost-plus contracting creating perverse incentives to stretch out development, and insisting on pushing the envelope as far as possible and maybe past a point of diminishing returns.
The latter might indeed involve a lot of gratuitous simulation and hard number crunching, but it's to get to places you just couldn't get with classical approaches. Of course you can debate the diminishing returns angle and whether that extra 5-10% performance is worth the effort.
- too much uncertainty - extremely relaxed tolerances for acceptable answers
and are performed in people's heads or simple napkin/grade school maths. It's not about computational power, it's about what's right for the job.
> Performing calculations with slide rules was part of what forced generations of scientists and engineers to _understand the approximations they were using to solve problems_.
I think this is a valid and pretty strong point. Just as in science significant figures matter, the same does for all thinking. In the given example, it is undeniable that calculators don't propogate uncertainty the same way that a physical slide rule does.
> He did not want to be bothered with the actual truth (i.e. flaws and inaccuracies in the simulation), because he was simply not interested.
Models by definition do not capture all the intricacies, and it's important to have an instinct about what matters and an instruct about the expected model result. It is commonplace for simple models to ignore uncertainty and tolerances as a factor (for simulation speed or complexity reason), which can lead to drastic differences in simulated and true outcomes. Any reasonably complex model is also likely to be chaotic, but it can be difficult to appreciate when the model is useful, and when it isn't. I think it's quite easy to forget these nuances, especially if you don't fully appreciate the field you're modeling.
> Am I arguing that we should throw away our computers and go back to slide rules? Absolutely not! Some problems can only be solved by computer simulation--because we really do not know enough to solve them any other way. > But, most design problems can be solved with simpler, less expensive, less time-consuming methods and tools and more experience and knowledge of basic principles. > wasting time with tools that are not appropriate for their jobs
In my mind, this is much aligned with "premature optimisation is the root of all evil", and its something I've become extremely aware of as I've started getting into hobby CNC. Through this process I've had to learn when precision matter and when it can just be eyeballed, what can be approximated and how much of a fudge factor to use. Floating point accurate simulations just need to be good enough, and it's always expected that issues will arise in the real world. Most processes are forgiving enough that issues can be worked around, and it's a complete waste of time to try to anticipate everything.
At least in my scope of vision, simulations and modeling with uncertainty or tolerances is rare. Models that acknowledge their internal chaotic nature are more common, but not common enough. Modeling with uncertainty is inherently complex, and I'd hazard a guess that your engineering friends are careful enough to only use simulations in specific and key areas that it has an advantage, but are likewise happy to use approximations where necessary.