Latest / CyberSecurity Summary / A Discipline of Programming
Transcript
- 0:00Speaker 1: Think about the software you rely on the most today, right,
- 0:04Speaker 1: Like we look at these sleek interfaces on our phones,
- 0:06Speaker 1: the seamless notifications, the smooth scrolling, and we view them
- 0:11Speaker 1: as finished, polished machines.
- 0:13Speaker 2: Yeah, totally.
- 0:14Speaker 1: But back in nineteen seventy six, one of the absolute
- 0:17Speaker 1: pioneers of computer science argued that presenting software this way
- 0:22Speaker 1: is well, not just wrong, he said, it makes it
- 0:25Speaker 1: completely unfit for human appreciation.
- 0:28Speaker 2: Which is I mean, it is a staggering critique to
- 0:31Speaker 2: level at an entire industry. Oh absolutely, And that tension
- 0:35Speaker 2: really sits right at the core of our deep dive
- 0:37Speaker 2: today into Edgar W. Dykstra's seminal nineteen seventy six book
- 0:42Speaker 2: It's called a Discipline of Programming.
- 0:44Speaker 1: Yeah, in Dykster he was looking at this rapidly expanding
- 0:47Speaker 1: field back then, right and realizing that by focusing solely
- 0:50Speaker 1: on the final executable code, we were basically hiding the
- 0:54Speaker 1: actual art exactly.
- 0:55Speaker 2: We were burying the messy, beautiful mathematical design process that
- 0:59Speaker 2: you know the software in the first place.
- 1:01Speaker 1: Which is like it's like looking at the final score
- 1:03Speaker 1: of a chess game without ever being allowed to see
- 1:05Speaker 1: the brilliant strategic moves that were actually played on the board.
- 1:08Speaker 2: Right, you know who won, but you're entirely blind to
- 1:11Speaker 2: the intellect that got them there exactly.
- 1:13Speaker 1: And to fix this, Dykstra goes to some pretty wild
- 1:16Speaker 1: extremes in this book. I mean, he actually refused to
- 1:20Speaker 1: use any of the standard quote unquote higher level programming
- 1:23Speaker 1: languages of his era.
- 1:24Speaker 2: Yeah, he hated them. He argued that they're excessive features,
- 1:28Speaker 2: like all those bills and whistles we love. They actually
- 1:30Speaker 2: belong to the solution set rather than the problem set.
- 1:33Speaker 1: They're just distractions, total distractions.
- 1:36Speaker 2: So he just designs his own minimalist mini language specifically
- 1:40Speaker 2: for this text. He forces you to strip away the
- 1:43Speaker 2: hardware and focus purely on the logic.
- 1:45Speaker 1: Okay, let's unpack this because the way he visualizes a
- 1:49Speaker 1: program without using actual code the cardboard computer.
- 1:52Speaker 2: It's just the cardboard machine. Yeah. He introduces this concept
- 1:56Speaker 2: called executional abstraction. It's basically how we map different computations
- 2:00Speaker 2: onto each other so our human brains can actually grasp them.
- 2:04Speaker 2: And to explain this without any digital hardware, he uses
- 2:07Speaker 2: the classic math problem of finding the greatest common divisor
- 2:11Speaker 2: the GCD of two numbers.
- 2:12Speaker 1: Right, like say one eleven and two fifty nine exactly.
- 2:16Speaker 2: But he solves it using literal pieces of cardboard. He
- 2:19Speaker 2: asked you to imagine two completely different cardboard machines.
- 2:23Speaker 1: Okay, so the first machine, it's deceptively simple. It's just
- 2:26Speaker 1: two pieces of cardboard on top of each other. The
- 2:28Speaker 1: top piece says GCD one eleven two hundred and fifty
- 2:32Speaker 1: nine equals and when you lift that.
- 2:34Speaker 2: Flat, the bottom piece just says thirty seven.
- 2:36Speaker 1: Right, just the answer.
- 2:38Speaker 2: It's the ultimate black box. I mean, it gives you
- 2:40Speaker 2: the answer instantly, zero friction, which sounds great, right, it
- 2:43Speaker 2: sounds perfect, Yeah, but it possesses a catastrophic flaw for
- 2:46Speaker 2: a mathematician. It requires absolute blind faith in the manufacturer.
- 2:51Speaker 1: Yeah, you just have to trust that whoever printed that
- 2:53Speaker 1: cardboard didn't like make a TYPEO exactly.
- 2:57Speaker 2: There is zero visibility into the logic, and worse, it
- 3:00Speaker 2: only solves that one hyper specific iteration of the problem.
- 3:04Speaker 1: You're completely blind to the logic. You just have to
- 3:06Speaker 1: trust the system. And trust is terrible mathematics.
- 3:08Speaker 2: It really is, which is why Dykstra immediately replaces that
- 3:12Speaker 2: black box with the second machine. And this one is
- 3:14Speaker 2: very different, very this one is a massive piece of
- 3:16Speaker 2: cardboard featuring a colossal grid of two hundred and fifty
- 3:20Speaker 2: thousand points. You think of an X and Y axis,
- 3:22Speaker 2: both stretching from zero all the way to five hundred
- 3:25Speaker 2: and cutting right down the middle of this grid is
- 3:28Speaker 2: a diagonal answer line where the X coordinate perfectly equals
- 3:32Speaker 2: the Y coordinate.
- 3:33Speaker 1: And to operate this massive grid, you play what he
- 3:35Speaker 1: calls the pebble game, which I love.
- 3:37Speaker 2: It's so good.
- 3:38Speaker 1: You take a pebble and it represents your two starting numbers,
- 3:42Speaker 1: so X is two fifty nine, Y is one eleven,
- 3:45Speaker 1: and you place the pebble on that specific coordinate on
- 3:48Speaker 1: the grid right. Then you follow one strict geometric rule
- 3:52Speaker 1: as long as the pebble is not resting on that
- 3:54Speaker 1: diagonal answer.
- 3:54Speaker 2: Line, which it wouldn't be since two fifty nine does
- 3:57Speaker 2: an equal one to eleven exactly.
- 3:59Speaker 1: So you look at your axe is you form the
- 4:01Speaker 1: smallest equilateral right triangle you can with them, and you
- 4:05Speaker 1: move the pebble to the sharp angle of that triangle.
- 4:07Speaker 2: And the geometry here it's just a beautiful physical manifestation
- 4:12Speaker 2: of eucliding division.
- 4:13Speaker 1: It's actually kind of wild to picture.
- 4:15Speaker 2: It is because when you drop a perpendicular line to
- 4:17Speaker 2: the axes and form that triangle, moving to the sharp
- 4:21Speaker 2: angle is literally just subtracting the smaller number from the
- 4:24Speaker 2: larger number.
- 4:25Speaker 1: Ah.
- 4:25Speaker 2: So, if you are at two fifty nine to one eleven,
- 4:28Speaker 2: the smaller side is one eleven. Moving the pebble physically
- 4:32Speaker 2: shifts your ex coordinate down by one eleven, landing you
- 4:36Speaker 2: at one forty eight.
- 4:37Speaker 1: You are physically watching subtraction happen in space.
- 4:40Speaker 2: Yes, and you repeat that geometric slide over and over.
- 4:43Speaker 2: You keep moving the pebble down and over, down and
- 4:45Speaker 2: over until it eventually hits that diagonal line where X
- 4:48Speaker 2: and Y are I.
- 4:49Speaker 1: Tentacle, and wherever it lands on that line, that coordinate
- 4:52Speaker 1: is your greatest common divisor exactly. Now, I have to
- 4:55Speaker 1: be honest, My initial reaction to this was pure pushback.
- 4:58Speaker 1: Oh really, yeah, I mean, wait, so, so instead of
- 5:00Speaker 1: just giving me a calculator, you've made me play a
- 5:02Speaker 1: tedious board game across a quarter of a million potential
- 5:06Speaker 1: starting squares just to get the same results. Right.
- 5:08Speaker 2: It feels like way more work.
- 5:09Speaker 1: But then the genius of the trade offf hits you.
- 5:11Speaker 2: Because the tradeoff is the entire point. By establishing that
- 5:14Speaker 2: one single compact rule the mathematical invariant, Right, you haven't
- 5:20Speaker 2: just solved the problem for two fifty nine and one eleven.
- 5:23Speaker 2: You have instantly proven the outcome for all two hundred
- 5:26Speaker 2: and fifty thousand possible starting positions on that board.
- 5:29Speaker 1: You trade the immediate, unverified convenience of the first machine
- 5:34Speaker 1: for the undeniable, mathematically proven truth of the second machine.
- 5:38Speaker 2: Exactly, a single elegant argument governs every possible game played
- 5:43Speaker 2: on that cardboard.
- 5:44Speaker 1: And that is the true essence of an algorithm. It's
- 5:46Speaker 1: not about rushing to an output. It's about establishing absolute
- 5:50Speaker 1: confidence in the rules that dictate the output.
- 5:52Speaker 2: Right. But if the immense power of an algorithm comes
- 5:55Speaker 2: from that absolute mathematical certainty, you face a new problem.
- 5:59Speaker 1: How do you actually communicate those rules?
- 6:01Speaker 2: Exactly? You cannot build a system of flawless, rigid logic
- 6:05Speaker 2: using a medium that is fundamentally designed for ambiguity. And
- 6:09Speaker 2: this lead Dikstra to deliver a massive warning about what
- 6:12Speaker 2: we currently call programming languages.
- 6:15Speaker 1: Yeah, he argues that calling them languages is actually a
- 6:17Speaker 1: really dangerous mixed blessing. It's a huge trap because we
- 6:21Speaker 1: use natural languages you know, English, Manner and whatever specifically
- 6:24Speaker 1: because they are vague. The imprecision of human language is
- 6:28Speaker 1: a feature, not a bug.
- 6:29Speaker 2: Right. It allows for poetry and context and nuance reading
- 6:33Speaker 2: between the lines.
- 6:34Speaker 1: But formal notation has to be the exact opposite.
- 6:37Speaker 2: It has to be perfectly rigid. If you write the
- 6:40Speaker 2: rules of the pebble game using informal words like Euclid
- 6:43Speaker 2: originally did thousands of years.
- 6:45Speaker 1: Ago, which was just in Greek, right, right, it.
- 6:47Speaker 2: Remains completely unfit for formal mathematical treatment by an automaton.
- 6:52Speaker 2: If we want to create automatic computers, we need unambiguous
- 6:56Speaker 2: formal notation.
- 6:57Speaker 1: Calling them programming languages tricks us into reading them like conversations.
- 7:01Speaker 1: And you see this constantly today with large language models.
- 7:04Speaker 2: All the time people try to.
- 7:05Speaker 1: Prompt an AI to write highly specific, flawless code using
- 7:09Speaker 1: just conversational English, and they get incredibly frustrated when the
- 7:13Speaker 1: AI you know, hallucinates or produces unpredictable garbage.
- 7:17Speaker 2: Because the natural language is too vague to hold the
- 7:19Speaker 2: strict and variant logic. We are literally using the wrong
- 7:22Speaker 2: tool for the job.
- 7:23Speaker 1: And Dykstra saw this trap forming decades ago.
- 7:26Speaker 2: He really did and he pairs this linguistic warning with
- 7:30Speaker 2: a sharp critique of early computer history, because in the
- 7:33Speaker 2: early days of computing, the hardware was the bottleneck.
- 7:36Speaker 1: It was astronomically expensive and massive, massive.
- 7:40Speaker 2: Highly limited, just incredibly clunky. Consequently, efficiency became the absolute
- 7:46Speaker 2: supreme quality criterion for programming.
- 7:49Speaker 1: So whatever made the vacuum tubes or the you know,
- 7:52Speaker 1: the magnetic drums spin the fastest was ground the quote
- 7:55Speaker 1: unquote best.
- 7:56Speaker 2: Code, which is exactly the problem. Because physical hardware is
- 8:00Speaker 2: inherently messy. It's full of bizarre physical quirks. So programmers
- 8:04Speaker 2: started writing code that catered to those specific physical anomalies.
- 8:08Speaker 1: They were optimizing for the machine, not for the math.
- 8:11Speaker 2: Right, the code became a truthful reflection of the hardware's weirdness,
- 8:15Speaker 2: completely sacrificing the logical beauty of the algorithm.
- 8:18Speaker 1: We were hacking the limitations of the cardboard instead of
- 8:21Speaker 1: focusing on the pebble game itself.
- 8:23Speaker 2: That's a great way to put it, and Dykstra argues
- 8:25Speaker 2: vehemently that we have to redress this balance. We have
- 8:28Speaker 2: to put the pure algorithm back in the center of
- 8:30Speaker 2: the universe.
- 8:30Speaker 1: I love how he phrased it in his view, the
- 8:33Speaker 1: fact that a piece of metal and silicon can actually
- 8:35Speaker 1: execute the algorithm is just a lucky accidental circumstance.
- 8:39Speaker 2: It's such a radical reframing. The execution is secondary, the
- 8:42Speaker 2: mathematics are primary.
- 8:43Speaker 1: So what does this all mean? If we accept that
- 8:47Speaker 1: the physical machine is just a lucky accident, we have
- 8:50Speaker 1: to ask how a program actually organizes its reality in.
- 8:53Speaker 2: The abstract, right, how does it manage what we call
- 8:55Speaker 2: a state space?
- 8:57Speaker 1: And the way he describes building this state space is
- 8:59Speaker 1: fascinating because it's historically humans named numbers haphazardly. Right, We
- 9:04Speaker 1: just invented new words as we needed them.
- 9:06Speaker 2: Like a child counting, just making up sounds.
- 9:08Speaker 1: Exactly, which is impossible to scale. It wasn't until we
- 9:12Speaker 1: adopted systematic nomenclature rules that let you drive the next thing,
- 9:16Speaker 1: like the decimal system, that mathematics really exploded.
- 9:19Speaker 2: Because systematic nomenclature is about defining boundaries rather than trying
- 9:23Speaker 2: to memorize infinite lists. And in computing we build state
- 9:26Speaker 2: spaces the exact same way.
- 9:28Speaker 1: Okay, walk us through that.
- 9:29Speaker 2: So Deekster ask us to imagine the mechanical register. Picture
- 9:33Speaker 2: a machine with eight wheels, and each wheel holds ten
- 9:36Speaker 2: digits zero through nine.
- 9:37Speaker 1: Like a combination lock.
- 9:38Speaker 2: Exactly like a lock, but simply combining those constraints you
- 9:41Speaker 2: create a Cartesian product. You instantly define a rigid state
- 9:45Speaker 2: space containing exactly one hundred million distinct possible states.
- 9:50Speaker 1: Wow, and once you have that perfectly defined mathematical space,
- 9:54Speaker 1: you don't have to wander through it blindly. The source
- 9:57Speaker 1: provides this incredibly elegant example of using equations what he
- 10:01Speaker 1: calls predicates to define specific conditions within that massive space
- 10:06Speaker 1: without ever listing them all out.
- 10:08Speaker 2: Right, because listing one hundred million states would be impossible.
- 10:12Speaker 1: Yeah, so you don't have to list out all three
- 10:15Speaker 1: hundred and sixty five days of the year to tell
- 10:17Speaker 1: a system what Christmas is.
- 10:18Speaker 2: Well, you just define the state, right, You just.
- 10:20Speaker 1: Define it as month equals December and day equals tots
- 10:23Speaker 1: five or day equals twenty.
- 10:24Speaker 2: Six, or defining payday is simply day equals twenty three.
- 10:29Speaker 2: It is a compact, flawless way to slice through a
- 10:32Speaker 2: massive Cartesian product. It's so clean it is. And this
- 10:35Speaker 2: exact mechanism leads to Diykstra's first major surprise while writing
- 10:39Speaker 2: this book, The immense power of predicate transformers.
- 10:42Speaker 1: Okay, now this sounds incredibly theoretical, but the application is
- 10:45Speaker 1: deeply practical, isn't it.
- 10:47Speaker 2: Oh completely, Because in the early days, programmers would get
- 10:50Speaker 2: lost trying to track every single intermediate state a machine
- 10:53Speaker 2: passed through during execution.
- 10:55Speaker 1: Like tracking a pinball bouncing around exactly.
- 10:57Speaker 2: It was just total mental overload. Credicut transformers allow a
- 11:01Speaker 2: programmer to skip that MetalMan. They let you define a
- 11:04Speaker 2: direct relation between your starting state and your final state. Okay,
- 11:08Speaker 2: They introduce the formal concept of ROUP, which stands for
- 11:11Speaker 2: the weakest precondition. The notation literally looks like rupip and
- 11:15Speaker 2: then in parentheses S comma R, where.
- 11:19Speaker 1: S is the system or the program you are running,
- 11:21Speaker 1: and are is the result like the post condition you're
- 11:24Speaker 1: desperately trying to achieve.
- 11:25Speaker 2: Right, So calculating the weakest precondition is essentially asking what
- 11:29Speaker 2: is the absolute broadest, most lenient safety net I need
- 11:32Speaker 2: to string up before I hit GO to mathematically guarantee
- 11:36Speaker 2: that this system will land exactly on my target.
- 11:39Speaker 1: So you are fundamentally working backwards, entirely backwards. Instead of
- 11:42Speaker 1: starting a program and just hoping it gets to the
- 11:44Speaker 1: right answer, you start with the undeniably true answer and
- 11:47Speaker 1: calculate the exact conditions necessary to make it inevitable.
- 11:51Speaker 2: Yes. And this mathematical rigorousness brings us to property one
- 11:55Speaker 2: of his predicate transformers, and I just have to say
- 11:58Speaker 2: it possesses quite possibly the most poetic name in the
- 12:01Speaker 2: entire history of computer science.
- 12:03Speaker 1: Oh, it really does. The law of the excluded miracle.
- 12:06Speaker 2: Law the excluded miracle.
- 12:08Speaker 1: Which, beyond just sounding beautiful, it perfectly grounds this abstract
- 12:13Speaker 1: math in an unbending reality because it states that if
- 12:17Speaker 1: your final goal, your desired post condition are is a
- 12:20Speaker 1: logical impossibility, which is represented by the state of false right,
- 12:25Speaker 1: then there is no starting condition in the universe that
- 12:27Speaker 1: can guarantee you will get there.
- 12:29Speaker 2: In formulaic terms, wop of s false equals false.
- 12:33Speaker 1: You cannot ask the machine for magic.
- 12:35Speaker 2: No, if your desired destination contradicts logical reality, no amount
- 12:40Speaker 2: of clever programming, no perfect starting conditions, nothing will bend
- 12:44Speaker 2: the universe to reach it. The system will fail. The
- 12:46Speaker 2: miracle is excluded.
- 12:48Speaker 1: Which is deeply comforting in a way. You know it
- 12:50Speaker 1: provides a bedrock of certainty. But all of this flawless
- 12:54Speaker 1: invariant logic relies on one massive assumption. What's that It
- 12:58Speaker 1: assumes that if you set the starting conditions perfectly, the
- 13:01Speaker 1: mechanism itself will carry out the steps exactly as planned.
- 13:04Speaker 1: But anyone who has ever used a piece of technology
- 13:07Speaker 1: knows that things don't always go according to plan.
- 13:09Speaker 2: The hardware betrays the math.
- 13:11Speaker 1: Exactly the hardware betrays the math.
- 13:13Speaker 2: And this realization leads directly to Dykstra's second and perhaps
- 13:17Speaker 2: most profound surprise in the book, Because up to this
- 13:21Speaker 2: point in computer science history, deterministic machines were the unquestioned holy.
- 13:26Speaker 1: Grail, deterministic meaning perfectly predictable.
- 13:29Speaker 2: Right, The entire discipline was built on the assumption that
- 13:33Speaker 2: identical initial states must one hundred percent of the time
- 13:37Speaker 2: yield identical outcomes, utter unbreakable predictability.
- 13:41Speaker 1: But the physical world doesn't really like perfect predictability, does
- 13:45Speaker 1: it not at all?
- 13:45Speaker 2: And Dykester shares this genuinely harrowing story from nineteen fifty eight.
- 13:49Speaker 1: Yeah, this part blew my mind.
- 13:51Speaker 2: He was working with a new machine that featured an
- 13:53Speaker 2: io interrupt, basically an external hardware signal that could asynchronously
- 13:58Speaker 2: pause the current process. Right, And because this interrupt was
- 14:01Speaker 2: tied to physical timing rather than logical steps. It caused
- 14:04Speaker 2: irreproducible nondeterministic behavior.
- 14:07Speaker 1: Meaning the machine would execute differently even when provided the
- 14:10Speaker 1: exact same initial state exactly.
- 14:12Speaker 2: A hardware glitch or you know, a microsecond timing delay
- 14:16Speaker 2: would evoke an erratic error that you couldn't reliably reproduce
- 14:21Speaker 2: to study. It was a ghost in the machine, a
- 14:23Speaker 2: total ghost, and Dyscher was paralyzed by this. He literally
- 14:27Speaker 2: referred to the machine as an intractable beast.
- 14:30Speaker 1: Intractable beast.
- 14:31Speaker 2: He was so terrified by the prospect of having to
- 14:34Speaker 2: build reliable, flawless software on top of a fundamentally unpredictable
- 14:39Speaker 2: foundation that he delayed a major software design decision for
- 14:43Speaker 2: three entire months.
- 14:45Speaker 1: Wait, three whole months, three months over one unpredictable interrupt.
- 14:50Speaker 1: That is just It really illustrates how foundational perfect determinism
- 14:54Speaker 1: was to their entire worldview.
- 14:55Speaker 2: Back then, it was everything to them.
- 14:57Speaker 1: Unpredictability wasn't just a bug, It was the colle apse
- 15:00Speaker 1: of mathematical certainty itself.
- 15:02Speaker 2: Right. But eventually he has this massive psychological and mathematical breakthrough.
- 15:06Speaker 2: He realizes that his terror wasn't because the machine was
- 15:08Speaker 2: inherently broken. His terror stemmed entirely from a lack of methodology.
- 15:12Speaker 1: He didn't have the mental models to process the unpredictability.
- 15:16Speaker 2: Exactly, and when he finally develops those models, he flips
- 15:20Speaker 2: the entire paradigm of computer science on its head. He
- 15:24Speaker 2: comes to regard nondeterminacy as the normal default situation of
- 15:29Speaker 2: complex systems.
- 15:30Speaker 1: He decides that perfect determinism, the thing they had worshiped
- 15:32Speaker 1: for decades, is actually just a special, highly restricted, and
- 15:37Speaker 1: in his own words, not even very interesting case of nondeterminacy.
- 15:41Speaker 2: It completely shatters the illusion. It's like accepting that friction
- 15:45Speaker 2: is the reality of the physical world and a frictionless
- 15:48Speaker 2: vacuum is just a highly specialized laboratory condition.
- 15:51Speaker 1: That's a perfect analogy.
- 15:53Speaker 2: And once Diyster accepts this, he begins building constructs that
- 15:56Speaker 2: actively embrace a level of nondeterminacy rather than fighting it.
- 16:00Speaker 2: He stops overspecifying how the machine.
- 16:02Speaker 1: Should behave Here's where it gets really interesting. The source
- 16:05Speaker 1: gives a brilliant example of this with his concept of
- 16:08Speaker 1: concurrent assignment. Yes, the concurrent assignment, because in traditional highly
- 16:13Speaker 1: deterministic programming, if you want to swap the values of
- 16:16Speaker 1: variable x and variable Y.
- 16:17Speaker 2: You can't just swap them, No, you can't.
- 16:19Speaker 1: You have to create a temporary third variable. You move
- 16:23Speaker 1: x to tempt, then you move Y to X, then
- 16:24Speaker 1: you move temp to hy. It is a rigid, hyper
- 16:27Speaker 1: sequential step by step march.
- 16:29Speaker 2: It forces a strict chronological sequence where none is logically necessary.
- 16:34Speaker 2: You're basically over constraining the machine.
- 16:37Speaker 1: Right, and Deekstra's concurrent assignment elegantly sidesteps this whole dance
- 16:41Speaker 1: by simply writing X comma Y becomes y comma x right.
- 16:45Speaker 2: Just swap them simultaneously.
- 16:47Speaker 1: You define the post condition, the values are swapped, and
- 16:49Speaker 1: you leave the exact mechanical sequencing slightly ambiguous. You allow
- 16:53Speaker 1: for nondeterminacy in the how safely bounded by the mathematical
- 16:57Speaker 1: invariant of the what.
- 16:58Speaker 2: You stop micromanaging the intractable beast and you start guiding
- 17:02Speaker 2: it with flawless logic.
- 17:04Speaker 1: Which perfectly synthesizes the massive journey Diekstra takes us on
- 17:08Speaker 1: in this book. I mean he wanted to pull us
- 17:10Speaker 1: away from being glorified mechanics just endlessly catering to the
- 17:13Speaker 1: physical anomalies and sequential limitations of whatever metal box happen
- 17:18Speaker 1: to be sitting on our desks.
- 17:19Speaker 2: We start with that massive cardboard grid, realizing that true
- 17:23Speaker 2: algorithmic beauty isn't about getting a fast answer, It's about
- 17:27Speaker 2: establishing a mathematical invariant that proves the truth across a
- 17:31Speaker 2: quarter of a million possibilities right.
- 17:33Speaker 1: And we learn to abandon the dangerous vagueness of natural languages,
- 17:37Speaker 1: recognizing that human ambiguity has absolutely no place in the
- 17:41Speaker 1: rigid architecture of an automaton.
- 17:43Speaker 2: Exactly, we arm ourselves with predica transformers. We learned to
- 17:46Speaker 2: work backwards from our desired reality to find that weakest precondition,
- 17:51Speaker 2: always always respecting the law of the excluded miracle.
- 17:54Speaker 1: We cannot ask for magic.
- 17:56Speaker 2: We cannot ask for magic.
- 17:57Speaker 1: And finally, we watch one of the greatest minds in
- 17:59Speaker 1: the field suffer a three month panic attack over an
- 18:02Speaker 1: unpredictable interrupt, only to emerge with the absolute revelation that
- 18:06Speaker 1: rigid determinism is a myth.
- 18:08Speaker 2: Nondeterminacy is the true nature of complex systems, and true
- 18:12Speaker 2: programming elegance is learning to mathematically guide that unpredictability rather
- 18:16Speaker 2: than fearing it.
- 18:17Speaker 1: He elevates software from a mechanical chore to a goal
- 18:19Speaker 1: directed activity of profound mathematical beauty. He asked us to
- 18:23Speaker 1: look past machine and marvel at the logic itself.
- 18:26Speaker 2: It's a beautiful way to look at the world, which leaves.
- 18:28Speaker 1: You, the listener, with a really fascinating lens through which
- 18:32Speaker 1: to view the technology surrounding you today. Because we live
- 18:35Speaker 1: in an era that is increasingly dominated by massive AI
- 18:40Speaker 1: models and neural networks that are fundamentally, by their very architecture,
- 18:44Speaker 1: non deterministic.
- 18:45Speaker 2: They absolutely are.
- 18:46Speaker 1: They hallucinate, They surprise us. They produce irreproducible outputs. If
- 18:51Speaker 1: a pioneer like Diikstra realized way back in nineteen seventy
- 18:55Speaker 1: six that unpredictable, non deterministic systems are the normal state
- 18:59Speaker 1: of reality rather than a glitch to be feared.
- 19:02Speaker 2: How should that change your expectations exactly.
- 19:05Speaker 1: When an algorithm surfaces a bizarre result, or an AI
- 19:08Speaker 1: gives you an answer you didn't anticipate. Perhaps the system
- 19:11Speaker 1: isn't broken. Perhaps we are simply still stubbornly demanding the
- 19:14Speaker 1: flawless cardboard determinism of the past from the wonderfully and
- 19:19Speaker 1: tractable beasts running our future.