HackerTube English?
软件边界与变化 →

插得上,就算接得上吗?

充电桩、密封圈、差速器和掌机的接口都「装得上」。顺着电流、热量和力往下看,才知道接口两边究竟交换了什么,又有哪些条件没有写进规格。

本文的问题 · 10
  1. 老交通灯的废热也算接口吗?
  2. 被按住的一只轮子,如何检验整根车轴?
  3. 同一个接口,是谁迁就谁?
  4. 设备把哪种东西送进了房间,又把什么送了出去?
  5. 能发出一个传感器读数,能连续直播吗?
  6. 密封圈长得像原件,为什么还不能算替代件?
  7. 两台涡轮分别能转,就能一起启动吗?
  8. 盖子可以放回去,等于罐子又密封了吗?
  9. 插上了电动车,究竟是谁在给电池充电?
  10. 接口装得上,周围的零件还同意吗?

老交通灯的废热也算接口吗?

旧灯换成 LED,测试台照样能测出亮度,风雪却能暴露替换件少做的一件事:旧灯还在给灯面加热。密封式车灯带来相反的问题,一次换灯泡连反射面也换新了;如果把光源和灯壳拆成两个部件,维护者还能享受到同样的更新吗?设计替换件前,不妨让维修人员把过去一次更换实际解决的所有问题列出来。

原文与时间戳 · 4
keeping snow and ice from building up
The LED Traffic Light and the Danger of "But Sometimes!" · ▶ 5:49–5:54
sensors onboard measuring temperature and humidity
The LED Traffic Light and the Danger of "But Sometimes!" · ▶ 10:24–10:28
a standard performance benchmark was established
Old car headlights were all the same — which was a fairly bright idea · ▶ 4:08–4:15
you’re getting an entirely new headlight every time it goes out
Old car headlights were all the same — which was a fairly bright idea · ▶ 18:21–18:25

被按住的一只轮子,如何检验整根车轴?

1937 年的示范把两项要求摆在桌上:发动机仍要驱动两只后轮,转弯时外轮又必须走得更快。把车轴切成两段只做到了允许差速。加上可摆动的横杆之后,演示者用手按住一轮,另一轮继续受力,这是一个能区分两种设计的输入。换成软件接口也可以问同样的问题:哪一个调用场景能同时检验承诺中的两个条件?

原文与时间戳 · 2
a greater distance to travel in the same length of time.
Around The Corner - How Differential Steering Works (1937) · ▶ 2:18–2:22
When we stop one wheel, the crossbars will continue to push the spokes
Around The Corner - How Differential Steering Works (1937) · ▶ 5:32–5:38

同一个接口,是谁迁就谁?

换电站需要车辆遵守电池接口,才能把司机等电的时间移到车走后的站内。架空公路把兼容要求放在特定车道和受电弓上,驶离后又靠车上电源。Marlinspike 在通信协议里遇到对应的问题:实现分散以后,每一次协议升级都要等已有客户端适配。写接口承诺时,除了写双方现在怎么接上,再写一行「升级或离开这个网络时,谁负责转换」。

原文与时间戳 · 6
we can charge the batteries at their low speed.
A robot just swapped my electric car's battery · ▶ 2:33–2:36
only works for cars that are built for it.
A robot just swapped my electric car's battery · ▶ 3:46–3:48
the pantograph will automatically drop down immediately
The highway where trucks work like electric trains · ▶ 1:16–1:19
with batteries taking a couple of miles at each end.
The highway where trucks work like electric trains · ▶ 2:06–2:09
different implementations, different deployments and so making any changes becomes extremely difficult.
36C3 - The ecosystem is moving · ▶ 5:39–5:48
you lose your entire social graph at that moment
36C3 - The ecosystem is moving · ▶ 41:01–41:05

设备把哪种东西送进了房间,又把什么送了出去?

只看出风口,一台单管移动空调在吹冷风;把房间也圈进图里,冷凝器排走的空气要由外界补上。同样,把超声波加湿器描述成「增加湿度」会漏掉液滴携带的矿物质。给设备写一份更实在的接口说明:每条箭头上分别标注空气、水、热和溶解物,再检查哪一条箭头此前藏在规格表之外。

原文与时间戳 · 4
air that they just cooled, mind you
Portable Air Conditioners - Why you shouldn't like them · ▶ 6:28–6:31
You can’t just expel air from a room without it getting replaced somehow
Portable Air Conditioners - Why you shouldn't like them · ▶ 7:22–7:26
you can experience a white dust forming on objects
Humidifiers: Simpler is better? · ▶ 10:01–10:04
Evaporative humidifiers simply help water evaporate
Humidifiers: Simpler is better? · ▶ 10:50–10:53

能发出一个传感器读数,能连续直播吗?

LoRa 的远距离演示中,带宽、速率和功耗共同界定可传的消息。收到一次读数只证明这次负载能通过;若采样频率提高、多个设备同时发包,吞吐量与交付延迟就成了另外的要求。可以用一个真正的应用约束写明承诺:在多少台设备、每条多长、最长等待多久的条件下,允许漏掉几条?

原文与时间戳 · 2
increase transmission power or decrease the bandwidth
#112 LoRa / LoRaWAN De-Mystified / Tutorial · ▶ 2:53–3:01
The smaller the bandwidth, the lower the capacity of our channel.
#112 LoRa / LoRaWAN De-Mystified / Tutorial · ▶ 3:09–3:14

密封圈长得像原件,为什么还不能算替代件?

维修铁肺时,颈圈需要在动作中维持密封。讲者既要匹配尺寸,也要找到合适的材料和弹性。把需求交给新的供应商时,可以带上样件的照片,再另列工作过程中的验收条件。复制静止时的形状,与复制它在真实负载下承担的功能,是两个检查。

原文与时间戳 · 2
that collar was very tricky.
Project "Iron Auntie" Success! Helping one of the last polio survivors in an iron lung. · ▶ 2:37–2:41
the right material, with just the right amount of elasticity.
Project "Iron Auntie" Success! Helping one of the last polio survivors in an iron lung. · ▶ 2:41–2:51

两台涡轮分别能转,就能一起启动吗?

两套预燃室和涡轮互相供给时,稳定运行图上的箭头不一定说明从静止如何达到那个状态。对每一条流路记下它要先有的流量、压差或点火条件,再找哪个条件需要由另一边先建立。这样才能区分「两边已经稳定时可以工作」与「从零开始可按这个次序启动」。

原文与时间戳 · 2
you've got two turbines and two preburners.
Elon Musk Explains SpaceX's Raptor Engine! · ▶ 12:05–12:09
they're cross feeding one another.
Elon Musk Explains SpaceX's Raptor Engine! · ▶ 12:10–12:12

盖子可以放回去,等于罐子又密封了吗?

两把开罐器都能提供一份打开的罐头,一把穿过盖顶,另一把切开卷封。后者的盖看起来可复原,放回去却缺少原来卷封施加的连接。把「能盖住开口」和「恢复制造时的密封」写成两个独立验收项,就能避免由外观误判还有哪项功能可用。

原文与时间戳 · 2
cuts not through the lid’s top but through the can’s double seam.
Lessons from a Can Opener · ▶ 6:23–6:29
not with any sort of positive seal
Lessons from a Can Opener · ▶ 8:43–8:48

插上了电动车,究竟是谁在给电池充电?

墙盒的外壳和插头都很醒目,真正改变电池充电状态的设备却在车上。Watson 拆开交流供电装置,讲它怎样向车表明插头已经连接。另一段拆解中,同是高压电器,充电装置与干衣机的中性线要求也不同。给两个接口各写一句承诺:前者说明连接状态并提供允许的交流电源,后者要写清两端之间有什么电势差。外观和一个电压数字都无法替代这两条说明。

原文与时间戳 · 4
The car itself contains the battery charger.
Electric car chargers aren't chargers at all – EVSE Explained · ▶ 3:25–3:27
the proximity pilot and ground pin are connected via a resistor
Electric car chargers aren't chargers at all – EVSE Explained · ▶ 10:52–10:57
Across either of those and neutral you get 120V
The US electrical system is not 120V · ▶ 5:51–5:55
the charging station just has two hots and a ground.
The US electrical system is not 120V · ▶ 12:41–12:46

接口装得上,周围的零件还同意吗?

Valve 的拆解让读者看见同一台 Steam Deck 的两种配合关系。螺丝的螺纹要咬住塑料孔,拆装会影响这层接合;另一边,SSD 被挑选时还做过无线干扰测试。一块能插入插槽的硬盘通过了形状检查,附近无线链路表现怎样仍是一项独立条件。下次准备把零件称为「兼容」时,列出它周围的两个部件,看规格表有没有覆盖相互影响。

原文与时间戳 · 2
self-tapping screws
Take a look inside Steam Deck™! · ▶ 1:18–1:20
not interfere with WiFi and Bluetooth.
Take a look inside Steam Deck™! · ▶ 3:52–3:54

读完再想一步

找一个「插上就能用」的设备:除了形状,两边还在交换什么?