HackerTube 中文?
Software boundaries and change →

They say it’s done. How do you check the promise?

A home-built toaster, a GPL source release, a promise of “cloud services”: a supplier’s claim has to become a checkable condition before acceptance means more than trust.

Questions in this reading · 10
  1. Does a valid signature settle which history to keep?
  2. How long must “it heats” hold to count as delivery?
  3. Does perception hand over pixels or an interpreted scene?
  4. How much handwork does a wider alley invalidate?
  5. Running code is only the first part of the handoff
  6. Following a promise through a handover
  7. Which server actually receives the request?
  8. What test could a promise of “the cloud” actually fail?
  9. Does a read/write interface establish reliable storage?
  10. Which question does faster contact test?

Does a valid signature settle which history to keep?

Send one payment to two nodes. Each can check the signature, but if two individually valid histories conflict, the signature does not choose between them. Gensler asks who appends the next block; the Bitcoin walkthrough introduces cumulative work as part of the rule for choosing a valid history. The 256-bit calculation instead estimates generic trials to hit a particular hash target. That measures one computational task. It cannot certify the separate rules for authorizing messages, validating ledger entries and selecting a history.

Passages and timestamps · 3
how do you decide who appends that next block?
1. Introduction for 15.S12 Blockchain and Money, Fall 2018 · ▶ 18:33–18:39
the one with the most work put into it
But how does bitcoin actually work? · ▶ 19:10–19:22
on average, 2 to the 256 guesses
How secure is 256 bit security? · ▶ 0:33–0:37

How long must “it heats” hold to count as delivery?

Thwaites counts hundreds of pieces in a cheap toaster. His own device heats briefly before its element melts. As interface promises, “produces heat when switched on” and “continues heating for a useful interval” give different verdicts on the same device. To test the latter, include the duration and the state after failure in the acceptance example.

Passages and timestamps · 2
that, inside this object, which I'd bought for just 3.49 pounds, there were 400 different bits made out of a hundred-plus different materials.
Thomas Thwaites: How I built a toaster -- from scratch · ▶ 1:39–1:51
And for about five seconds, the toaster toasted, but then, unfortunately, the element kind of melted itself.
Thomas Thwaites: How I built a toaster -- from scratch · ▶ 10:31–10:40

Does perception hand over pixels or an interpreted scene?

In Musk's description the controller receives vectors for lanes, vehicles and pedestrians. Compare two failures: perception omitted a car, or the controller received the car and chose a bad path. Their final trajectories may look alike. To diagnose the former you need the perception input and output; testing the controller on the supplied vectors will not make the missing car reappear.

Passages and timestamps · 2
you've got cars and humans and lane lines and curves and traffic lights
Elon Musk: SpaceX, Mars, Tesla Autopilot, Self-Driving, Robotics, and AI | Lex Fridman Podcast #252 · ▶ 69:49–70:02
It's outputting proper vectors to the C++ control code
Elon Musk: SpaceX, Mars, Tesla Autopilot, Self-Driving, Robotics, and AI | Lex Fridman Podcast #252 · ▶ 92:29–92:34

How much handwork does a wider alley invalidate?

Each Another World level carried its own copy of the hero’s behavior. Changing the hero meant editing every copy. Spider-Man exposes a second route for a change to spread. Widen an alley and several generated tiles may change under an artist’s finished work. Before adding a regenerate button, list what the generator owns and which human edits have to survive. Build time alone misses much of the cost.

Passages and timestamps · 2
for every change I was making on generic things, I had to do it on all files
Classic Game Postmortem - Another World · ▶ 17:26–17:34
just adjusting the alley width in one region could affect many surrounding tiles
Procedurally Crafting Manhattan for Marvel's Spider-Man · ▶ 36:36–36:43

Running code is only the first part of the handoff

Suppose you can execute a jump on a game console. Does jumping to the Linux entry address make it a PC? The PS4 team lists the preconditions for the handoff, including placing the kernel in memory, preparing page tables and stopping other CPUs. Connecting the southbridge to another motherboard also gave them a device they could observe and test separately. Write this interface in two columns: what the caller must prepare before the jump and what peripheral state the incoming system can assume.

Passages and timestamps · 2
Now the southbridge is a PCIe card for us.
Console Hacking 2016 (33c3) · ▶ 7:30–7:34
shut down FreeBSD cleanly, halt secondary CPUs, make new pagetables
Console Hacking 2016 (33c3) · ▶ 11:13–11:16

Following a promise through a handover

In the filmed request for kernel source, the person who replied to earlier emails has left. The practical question becomes who can locate the matching version and who can deliver it. Apply that to a module: when a caller requests documented behavior after its author leaves, which project record still makes the promise actionable?

Passages and timestamps · 2
He has left the company.
Getting GPLv2 Compliance From A Chinese Company- In Person! · ▶ 4:46–4:47
I am here for the kernel source code.
Getting GPLv2 Compliance From A Chinese Company- In Person! · ▶ 4:37–4:43

Which server actually receives the request?

Apple’s WWDC presentation describes limits on the data sent for a task and the software state a server must report before a device will talk to it. Inspect a request for the former and the remote software record for the latter. An encryption indicator alone cannot do either job. The passage records what Apple promised at the presentation.

Passages and timestamps · 2
send only the data that's relevant to your task
WWDC 2024 — June 10 | Apple · ▶ 74:51–74:58
unless its software has been publicly logged for inspection
WWDC 2024 — June 10 | Apple · ▶ 75:23–75:27

What test could a promise of “the cloud” actually fail?

The fictional spokesman in The Onion’s sketch lists applications and buzzwords without specifying an observable behavior. Replace the product noun with an operation: after a phone saves a file, under what conditions can a second device read which version? Add a failure during upload. Whether readers retain the old version, see a partial one or get a retry signal supplies a boundary the slogan lacks.

Passages and timestamps · 2
How does the cloud work?
HP Offers 'That Cloud Thing Everyone Is Talking About' · ▶ 1:00–1:05
It's so simple and intuitive I don't need to waste your time explaining it.
HP Offers 'That Cloud Thing Everyone Is Talking About' · ▶ 1:05–1:09

Does a read/write interface establish reliable storage?

Tom7 connects one block-device interface to several absurd backends, exposing promises that the interface’s name leaves unstated. His network-echo account allows data to disappear through packet loss and relies on hosts that need not return trustworthy contents; the local game-emulator design loses state without power. A caller still needs to ask how long a completed write persists, which failures preserve the original value, and who can alter returned data. Those require explicit agreements and verification, rather than following from the existence of read and write operations. The comparison concerns conditions stated in the narration, not guarantees inferred from an on-screen run or a device that never reached its benchmark.

Passages and timestamps · 2
this is not a reliable way of storing data
Harder Drive: Hard drives we didn't want or need · ▶ 11:54–12:00
if you turn the computer off everything is lost
Harder Drive: Hard drives we didn't want or need · ▶ 24:48–24:52

Which question does faster contact test?

Katz-Moses notices that common table-saw brake demonstrations feed the contact material slowly toward the blade. He adds a faster impact and reports it alongside the other activations. This change targets speed as a test condition. The nine activations provide observations for the materials and setup used, while his predictions about injuries to a person require further evidence.

Passages and timestamps · 2
so what if you went as fast as you could
We Tested SawStop 9 Times in Slow-Mo – Here's What Happened · ▶ 3:44–4:02
I did nine activations in a row
We Tested SawStop 9 Times in Slow-Mo – Here's What Happened · ▶ 7:38–7:51

Try it on your own example

Write three acceptance conditions that could fail for something you recently received.