<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged physics</title>
<link>https://coderlegion.com/tag/physics</link>
<description>Powered by Question2Answer</description>
<item>
<title>Distance and Speed from a Radar Echo: Two Equations, and What the Module Datasheets Publish</title>
<link>https://coderlegion.com/32754/distance-and-speed-from-a-radar-echo-two-equations-and-what-the-module-datasheets-publish</link>
<description>&lt;p&gt;Distance and Speed from a Radar Echo: Two Equations, and What the Module Datasheets Publish&lt;/p&gt;
&lt;p&gt;A radar echo carries two kinematic quantities: &lt;strong&gt;range&lt;/strong&gt; — how far away the reflecting target is — and &lt;strong&gt;radial velocity&lt;/strong&gt;, the component of the target's motion along the line between the radar and the target. Both are recovered from the same received signal, by two different routes. Range comes from timing, expressed through frequency. Velocity comes from the Doppler effect, expressed through frequency shift.&lt;/p&gt;
&lt;p&gt;This article sets out the two equations, derives the quantities that follow from them for the two bands we ship — &lt;strong&gt;24 GHz&lt;/strong&gt; and &lt;strong&gt;61–62.5 GHz&lt;/strong&gt; — and states which parameters the module datasheets publish and which they do not.&lt;/p&gt;
&lt;p&gt;The conceptual overview, without arithmetic, is in &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/how-mmwave-radar-works.html&quot;&gt;How mmWave Radar Works: From FMCW to Breathing Detection&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&quot;range&quot;&gt;Range&lt;/h3&gt;
&lt;h4 id=&quot;the-underlying-idea-round-trip-time&quot;&gt;The underlying idea: round-trip time&lt;/h4&gt;
&lt;p&gt;The radar transmits, the wave travels to the target, part of the energy returns, and the receiver sees it. Electromagnetic waves propagate at &lt;code&gt;c ≈ 3×10⁸ m/s&lt;/code&gt;, and the wave covers the distance twice, so the round-trip time &lt;code&gt;t&lt;/code&gt; gives the range:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;d = c · t / 2
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The division by two accounts for the outbound and return legs.&lt;/p&gt;
&lt;h4 id=&quot;why-the-time-is-not-measured-directly&quot;&gt;Why the time is not measured directly&lt;/h4&gt;
&lt;p&gt;For a target at 1 m the round trip is 2 m, which takes about &lt;strong&gt;6.7 ns&lt;/strong&gt;. Measuring delay at nanosecond resolution directly is not practical in a module of this cost and size.&lt;/p&gt;
&lt;h4 id=&quot;how-it-is-done-instead-fmcw&quot;&gt;How it is done instead: FMCW&lt;/h4&gt;
&lt;p&gt;The modules use &lt;strong&gt;FMCW&lt;/strong&gt; (frequency-modulated continuous wave). The transmit frequency sweeps linearly with time, so the echo received at any instant is a delayed copy of an earlier transmit frequency. Mixing the received signal with the current transmit signal produces a &lt;strong&gt;beat frequency&lt;/strong&gt; proportional to that delay, and therefore to range.&lt;/p&gt;
&lt;p&gt;The published radar type confirms this: the fall module and the sleep module are both specified as &lt;strong&gt;60 GHz FMCW&lt;/strong&gt;, and the fall module as &lt;strong&gt;1T3R&lt;/strong&gt; (one transmit, three receive channels).&lt;/p&gt;
&lt;p&gt;The round-trip-time equation remains the correct way to understand where range comes from. The beat frequency is the engineering route to the same number.&lt;/p&gt;
&lt;h4 id=&quot;what-sets-how-finely-two-targets-can-be-separated&quot;&gt;What sets how finely two targets can be separated&lt;/h4&gt;
&lt;p&gt;Range resolution is set by the swept bandwidth &lt;code&gt;B&lt;/code&gt;, not by the carrier frequency:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Δ d = c / 2B
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Where a datasheet publishes the transmit frequency band, a figure follows. The fall module publishes a transmit frequency of &lt;strong&gt;61–62.5 GHz&lt;/strong&gt;, a span of 1.5 GHz:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Δd = c / (2B) = 3x10^8 / (2 x 1.5x10^9) = 0.10 m
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;So about &lt;strong&gt;10 cm&lt;/strong&gt;, on the assumption that the published operating band is also the swept span. Two notes on that figure:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;It is the separation at which two targets appear as two. The accuracy on a single target is finer, because a single return is localised by interpolation and by phase, not by which resolution cell it lands in.&lt;/li&gt;
&lt;li&gt;The 24 GHz datasheet we supply does not publish a swept bandwidth, so no equivalent figure is stated here.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This explains the distinction that is often blurred: a resolution cell of roughly 10 cm, and the detection of chest-wall displacements below 1 mm, are not the same measurement. The second comes from &lt;strong&gt;phase&lt;/strong&gt; within a cell, covered below.&lt;/p&gt;
&lt;h3 id=&quot;velocity&quot;&gt;Velocity&lt;/h3&gt;
&lt;h4 id=&quot;the-doppler-effect&quot;&gt;The Doppler effect&lt;/h4&gt;
&lt;p&gt;When target and radar move relative to each other, the echo returns at a frequency offset from the transmitted one. Approaching shifts it upward, receding shifts it downward, and the sign gives the direction.&lt;/p&gt;
&lt;h4 id=&quot;the-equation&quot;&gt;The equation&lt;/h4&gt;
&lt;p&gt;With wavelength &lt;code&gt;λ&lt;/code&gt; and Doppler shift &lt;code&gt;Δf&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;v = Δ f · λ / 2, Δ f = 2v / λ
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The factor of two again comes from the two-way path.&lt;/p&gt;
&lt;h4 id=&quot;wavelength-from-the-published-frequency&quot;&gt;Wavelength from the published frequency&lt;/h4&gt;
&lt;p&gt;Wavelength follows from the carrier: &lt;code&gt;λ = c / f&lt;/code&gt;.&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Module &lt;/th&gt;&lt;th&gt;Published band &lt;/th&gt;&lt;th&gt;Wavelength&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;R24AVD1 &lt;/td&gt;&lt;td&gt;24 GHz &lt;/td&gt;&lt;td&gt;12.5 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;R60ABD1, R60AFD1-V, R60ABD2-H &lt;/td&gt;&lt;td&gt;61–62.5 GHz &lt;/td&gt;&lt;td&gt;4.80–4.92 mm&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;For every 1 m/s of radial velocity, the shift is therefore:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;24 GHz&lt;/strong&gt;: &lt;code&gt;2 / 0.0125&lt;/code&gt; ≈ &lt;strong&gt;160 Hz per m/s&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;61–62.5 GHz&lt;/strong&gt;: ≈ &lt;strong&gt;410 Hz per m/s&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&quot;shift-magnitudes-in-practice&quot;&gt;Shift magnitudes in practice&lt;/h4&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Target &lt;/th&gt;&lt;th&gt;Radial velocity &lt;/th&gt;&lt;th&gt;Δf at 24 GHz &lt;/th&gt;&lt;th&gt;Δf at 61–62.5 GHz&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Chest wall during breathing &lt;/td&gt;&lt;td&gt;≈ 0.0075 m/s &lt;/td&gt;&lt;td&gt;≈ 1.2 Hz &lt;/td&gt;&lt;td&gt;≈ 3 Hz&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Walking &lt;/td&gt;&lt;td&gt;1.5 m/s &lt;/td&gt;&lt;td&gt;≈ 240 Hz &lt;/td&gt;&lt;td&gt;≈ 610 Hz&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Running &lt;/td&gt;&lt;td&gt;5 m/s &lt;/td&gt;&lt;td&gt;≈ 800 Hz &lt;/td&gt;&lt;td&gt;≈ 2.0 kHz&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The shifts fall in the hertz to kilohertz range. They are small fractions of the carrier, and they are recovered by coherent processing rather than by comparing nominal frequencies.&lt;/p&gt;
&lt;h4 id=&quot;where-sub-millimetre-sensitivity-comes-from&quot;&gt;Where sub-millimetre sensitivity comes from&lt;/h4&gt;
&lt;p&gt;Phase is the more sensitive quantity. A displacement &lt;code&gt;Δx&lt;/code&gt; produces a round-trip phase change of:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Δ φ = 4\pi · Δ x / λ
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For a 1 mm displacement this is about &lt;strong&gt;58°&lt;/strong&gt; at 24 GHz and about &lt;strong&gt;144°&lt;/strong&gt; at 61–62.5 GHz. The shorter wavelength gives roughly 2.5 times more phase per millimetre, which is the quantitative form of the statement made in &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/how-mmwave-radar-works.html&quot;&gt;How mmWave Radar Works&lt;/a&gt; — that 60 GHz is the band to use when breathing or heart rate is required.&lt;/p&gt;
&lt;h3 id=&quot;three-parameters-that-set-precision-and-span&quot;&gt;Three parameters that set precision and span&lt;/h3&gt;
&lt;p&gt;Each of the following is a sampling constraint, so each is a trade rather than a setting that can be widened independently.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Range resolution&lt;/strong&gt; follows the swept bandwidth, &lt;code&gt;Δd = c / 2B&lt;/code&gt;. More span gives finer separation.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Velocity resolution&lt;/strong&gt; follows the observation time &lt;code&gt;T_obs&lt;/code&gt; over which the phase history is collected:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Δv = λ / (2 · T_obs)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;For a one-second observation this gives about 6.3 mm/s at 24 GHz and about 2.4 mm/s at 61–62.5 GHz. Longer observation gives finer velocity resolution, which is why slow periodic motion — breathing — is measured over intervals rather than from single frames.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Unambiguous velocity&lt;/strong&gt; follows the chirp repetition interval &lt;code&gt;T_c&lt;/code&gt;:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;v_max = λ / 4 · T_c
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This is the one quantity where the shorter wavelength works in the opposite direction. At the same chirp interval, the 61–62.5 GHz band reaches a smaller unambiguous velocity than 24 GHz. A radar tuned to resolve sub-millimetre chest motion and a radar built to measure vehicle speed are therefore sampling the same physics with incompatible timing.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Not published:&lt;/strong&gt; the modules' internal chirp timing and coherent processing interval do not appear in the datasheets, so no &lt;code&gt;T_c&lt;/code&gt; or &lt;code&gt;T_obs&lt;/code&gt; value is given here, and the worked figures above are labelled as illustrations of the equations.&lt;/p&gt;
&lt;h3 id=&quot;published-output-cadences&quot;&gt;Published output cadences&lt;/h3&gt;
&lt;p&gt;Separate from the radio parameters above are the intervals at which results are reported. These are published, and they are output cadences, not integration times:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Report &lt;/th&gt;&lt;th&gt;R24AVD1 (24 GHz) &lt;/th&gt;&lt;th&gt;60 GHz finished units&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Occupied → unoccupied &lt;/td&gt;&lt;td&gt;40 s &lt;/td&gt;&lt;td&gt;about 40 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Unoccupied → occupied &lt;/td&gt;&lt;td&gt;&amp;lt; 0.5 s &lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Static / active change &lt;/td&gt;&lt;td&gt;&amp;lt; 0.5 s &lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Approach / leave / no lateral movement &lt;/td&gt;&lt;td&gt;2 s &lt;/td&gt;&lt;td&gt;—&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Body-movement amplitude 0–100 &lt;/td&gt;&lt;td&gt;5 s &lt;/td&gt;&lt;td&gt;1 s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Breathing rate, heart rate &lt;/td&gt;&lt;td&gt;— &lt;/td&gt;&lt;td&gt;about 3 s&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The asymmetry — under half a second to declare a room occupied, about 40 seconds to declare it empty — is a deliberate stability choice, described in &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/radar-spec-limits.html&quot;&gt;Three mmWave Radar Specs That Are Almost Always Exaggerated&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Distance and position are reported by the finished units in centimetres and as x/y/z, both about every 2 s, and both documented as &lt;strong&gt;non-critical functions with limited accuracy&lt;/strong&gt;. They are useful while commissioning, as set out in &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/guide/2026/10/24/distance-position-debug-installation.html&quot;&gt;Using Distance and Position Output to Debug a Radar Installation&lt;/a&gt;, and are not a basis for a product feature.&lt;/p&gt;
&lt;p&gt;The body-movement amplitude is a dimensionless index from 0 to 100 with defined bands, not a velocity. It is not converted to metres per second.&lt;/p&gt;
&lt;h3 id=&quot;the-two-bands-side-by-side&quot;&gt;The two bands side by side&lt;/h3&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;Quantity &lt;/th&gt;&lt;th&gt;24 GHz &lt;/th&gt;&lt;th&gt;61–62.5 GHz&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;Wavelength &lt;/td&gt;&lt;td&gt;12.5 mm &lt;/td&gt;&lt;td&gt;4.80–4.92 mm&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Doppler shift per 1 m/s &lt;/td&gt;&lt;td&gt;≈ 160 Hz &lt;/td&gt;&lt;td&gt;≈ 410 Hz&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Phase change per 1 mm displacement &lt;/td&gt;&lt;td&gt;≈ 58° &lt;/td&gt;&lt;td&gt;≈ 144°&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Phase change per 1 mm, relative &lt;/td&gt;&lt;td&gt;1× &lt;/td&gt;&lt;td&gt;≈ 2.5×&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Velocity resolution at 1 s observation &lt;/td&gt;&lt;td&gt;≈ 6.3 mm/s &lt;/td&gt;&lt;td&gt;≈ 2.4 mm/s&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Unambiguous velocity at equal chirp interval &lt;/td&gt;&lt;td&gt;larger &lt;/td&gt;&lt;td&gt;smaller&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Swept bandwidth published &lt;/td&gt;&lt;td&gt;no &lt;/td&gt;&lt;td&gt;61–62.5 GHz (1.5 GHz span)&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Derived range resolution &lt;/td&gt;&lt;td&gt;not stated &lt;/td&gt;&lt;td&gt;≈ 10 cm&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&quot;what-this-accounts-for&quot;&gt;What this accounts for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Respiration and heart rate use 60 GHz.&lt;/strong&gt; Displacement sensitivity scales inversely with wavelength, so the shorter band returns about 2.5 times more phase per millimetre.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Presence over a wide area uses 24 GHz.&lt;/strong&gt; The longer wavelength and the wider beam cover a larger volume; the published beam for R24AVD1 is 90° horizontal by 60° vertical.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A posture radar is not a speed instrument.&lt;/strong&gt; The unambiguous velocity limit moves against the higher band, and the same processing budget is spent on deciding what the target is doing. The practical figure for a home posture radar is around 3 m/s, with the reasoning in &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/radar-spec-limits.html&quot;&gt;Three mmWave Radar Specs That Are Almost Always Exaggerated&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&quot;summary&quot;&gt;Summary&lt;/h3&gt;
&lt;p&gt;Range comes from round-trip time, recovered in practice from an FMCW beat frequency, and its resolution follows the swept bandwidth. Velocity comes from the Doppler shift, and its resolution and span follow observation time and chirp interval respectively.&lt;/p&gt;
&lt;p&gt;The two bands differ by a factor of about 2.5 in wavelength, and that one ratio propagates through every sensitivity figure — phase per millimetre, Doppler shift per metre per second, velocity resolution — while moving the unambiguous velocity limit in the opposite direction.&lt;/p&gt;
&lt;p&gt;Where a datasheet publishes a value, that value is used here. Where it does not, the equation is given and the absence is stated.&lt;/p&gt;
&lt;h3 id=&quot;where-to-go-next&quot;&gt;Where to go next&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;The conceptual version without arithmetic: &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/how-mmwave-radar-works.html&quot;&gt;How mmWave Radar Works&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Practical limits on angle, distance and speed: &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/fundamentals/2026/10/17/radar-spec-limits.html&quot;&gt;Three mmWave Radar Specs That Are Almost Always Exaggerated&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Module specifications in full: &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/guide/2026/10/21/60ghz-24ghz-radar-modules-oem-integration.html&quot;&gt;60 GHz &amp;amp; 24 GHz Radar Modules for OEM Integration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Using distance and position while commissioning: &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/guide/2026/10/24/distance-position-debug-installation.html&quot;&gt;Using Distance and Position Output to Debug a Radar Installation&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Full documentation: &lt;a rel=&quot;nofollow&quot; href=&quot;https://249263431.github.io/60GHz-Radar-SDK/&quot;&gt;https://249263431.github.io/60GHz-Radar-SDK/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Modules and finished units: &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.tindie.com/stores/fuxinsuo/&quot;&gt;https://www.tindie.com/stores/fuxinsuo/&lt;/a&gt;&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/32754/distance-and-speed-from-a-radar-echo-two-equations-and-what-the-module-datasheets-publish</guid>
<pubDate>Tue, 27 Oct 2026 23:24:14 +0000</pubDate>
</item>
<item>
<title>The Physics Under The Protocols: A Developer's Tour Of Electromagnetism</title>
<link>https://coderlegion.com/26213/the-physics-under-the-protocols-a-developers-tour-of-electromagnetism</link>
<description>&lt;p&gt;Most of us debug things that ride on electromagnetic waves all day without ever looking at the physics underneath. This is the short version, written for developers, of why radio, WiFi and visible light are literally the same phenomenon.&lt;/p&gt;
&lt;h3 id=&quot;one-force-not-two&quot;&gt;One Force, Not Two&lt;/h3&gt;
&lt;p&gt;Until 1820 electricity and magnetism were treated as unrelated curiosities. Then Hans Christian Oersted noticed a compass needle deflect when current ran through a nearby wire. That was the entire experiment, and it meant the two could not be independent.&lt;/p&gt;
&lt;p&gt;Andre-Marie Ampere had the mathematics for the force between current carrying wires within months. In the 1830s Michael Faraday showed the reverse, that a changing magnetic field induces a current in a nearby wire.&lt;/p&gt;
&lt;p&gt;In the 1860s James Clerk Maxwell turned all of it into four equations. They predicted a self sustaining wave travelling at roughly 3 x 10^8 meters per second, a number already known from optics as the speed of light. Maxwell had derived light from equations written about wires and magnets. Heinrich Hertz generated and detected radio waves in 1887 and confirmed it.&lt;/p&gt;
&lt;h3 id=&quot;why-the-spectrum-is-continuous&quot;&gt;Why The Spectrum Is Continuous&lt;/h3&gt;
&lt;p&gt;Radio, microwave, infrared, visible light, ultraviolet, X-rays and gamma rays are one phenomenon sliced by frequency. Nothing physical changes at the boundaries between them, only the wavelength and what that wavelength happens to interact with.&lt;/p&gt;
&lt;p&gt;Once that clicks, a lot of separate networking facts collapse into one. Antenna length tracking wavelength, why 2.4 GHz passes through a wall better than 5 GHz, why interference shows up where two links share a band. Same equations, different numbers.&lt;/p&gt;
&lt;h3 id=&quot;induction-is-the-part-you-touch-every-day&quot;&gt;Induction Is The Part You Touch Every Day&lt;/h3&gt;
&lt;p&gt;A changing magnetic field induces a current in any nearby conductor. That is the transformer inside your power brick and the wireless charging pad on your desk.&lt;/p&gt;
&lt;p&gt;It is also crosstalk. A fast switching signal trace induces current in the trace beside it whether you wanted that or not, which is Faraday's law showing up as a bug rather than a feature. Ground planes and spacing rules exist because of a discovery from the 1830s.&lt;/p&gt;
&lt;h3 id=&quot;ohm-s-law-is-still-the-fastest-debugging-tool&quot;&gt;Ohm's Law Is Still The Fastest Debugging Tool&lt;/h3&gt;
&lt;p&gt;V = IR. Voltage is the potential difference pushing charge, current is the rate that charge flows, resistance is what opposes it. Measure any two and the third follows.&lt;/p&gt;
&lt;p&gt;For hardware faults that is often quicker than reaching for a logic analyzer. A multimeter tells you whether the rail is at voltage, whether current is being drawn, and whether something in the path has gone open or short, and that narrows most problems before you ever look at a waveform.&lt;/p&gt;
&lt;h3 id=&quot;what-makes-this-worth-reading-twice&quot;&gt;What Makes This Worth Reading Twice&lt;/h3&gt;
&lt;p&gt;The pattern is worth borrowing beyond physics. Two domains looked separate, one experiment linked them, and a single mathematical description then covered both. That description went on to predict something nobody had put into it, and the prediction turned out to be a number already measured in a different field.&lt;/p&gt;
&lt;p&gt;A description reorganizes what you already know. A model tells you something you did not.&lt;/p&gt;
&lt;p&gt;The full walkthrough, covering charge and current, electric and magnetic fields, the four equations, the spectrum, induction and circuits, is in &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.learnhowtoscience.com/electromagnetism-explained/&quot;&gt;this guide to how electromagnetism works&lt;/a&gt;.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/26213/the-physics-under-the-protocols-a-developers-tour-of-electromagnetism</guid>
<pubDate>Fri, 04 Sep 2026 14:25:09 +0000</pubDate>
</item>
<item>
<title>Quantum Mechanics For Developers: The Physics Under The Hardware You Ship</title>
<link>https://coderlegion.com/25471/quantum-mechanics-for-developers-the-physics-under-the-hardware-you-ship</link>
<description>&lt;p&gt;Most of us here write code that runs on transistors, and almost none of us ever had a reason to ask why a transistor works at all. This is a short tour of the physics that answers that question, written for developers rather than for physicists.&lt;/p&gt;
&lt;p&gt;Quantum mechanics has a reputation problem among people who write software. It arrives as cats in boxes and particles in two places at once, which makes it sound like philosophy rather than engineering. It is neither. It is the most experimentally verified theory in physics, its predictions have never once failed, and it is the reason semiconductors, lasers and MRI machines exist at all.&lt;/p&gt;
&lt;h3 id=&quot;the-principles-that-do-the-work&quot;&gt;The Principles That Do The Work&lt;/h3&gt;
&lt;p&gt;Five ideas carry almost all of the weight.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Quantization.&lt;/strong&gt; Energy comes in discrete packets. An electron in an atom is restricted to specific energy levels, like a staircase with no ramp between the steps. Planck found this in 1900 while working out why hot objects glow the colors they do.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wave-particle duality.&lt;/strong&gt; Send electrons through a crystal and they produce an interference pattern like water waves through two openings. Detect those same electrons on a screen and each one arrives as a single point. Neither description is complete on its own.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Superposition.&lt;/strong&gt; A system can sit in a combination of states until a measurement forces one outcome. This is not a statement about our ignorance of some hidden value. No theory that assigns pre-existing definite values to every property can reproduce all the quantum predictions.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Entanglement.&lt;/strong&gt; Two particles become correlated such that neither has a state you can describe independently, at any separation. Einstein called it spooky action at a distance and believed it showed the theory was incomplete.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tunneling.&lt;/strong&gt; A particle crosses an energy barrier it classically cannot cross, because the wave function decays through the barrier rather than stopping at it, and still has a nonzero value on the far side.&lt;/p&gt;
&lt;h3 id=&quot;the-experiments-that-forced-it&quot;&gt;The Experiments That Forced It&lt;/h3&gt;
&lt;p&gt;The double-slit experiment is the center of all of it. Particles sent one at a time build an interference pattern, which is wave behavior. Add a detector that records which slit each particle went through and the pattern disappears. Feynman said this single experiment contains the only mystery in quantum mechanics, because everything else is a variation of the same puzzle.&lt;/p&gt;
&lt;p&gt;The photoelectric effect settled the question of whether light is quantized. Shine light on a metal and electrons are ejected, but only above a threshold frequency, no matter how intense the light is. Einstein explained it in 1905 with photons carrying energy proportional to frequency, and it earned him the Nobel Prize in 1921.&lt;/p&gt;
&lt;p&gt;Stern-Gerlach in 1922 sent silver atoms through a non-uniform magnetic field and got two distinct beams instead of a continuous spread, which is the first direct evidence of quantum spin.&lt;/p&gt;
&lt;p&gt;Bell test experiments, from Alain Aspect in 1982 through the loophole-free versions in 2015, ruled out local hidden variable explanations for entanglement. That is about as close as physics gets to closing an argument.&lt;/p&gt;
&lt;h3 id=&quot;where-it-shows-up-in-your-stack&quot;&gt;Where It Shows Up In Your Stack&lt;/h3&gt;
&lt;p&gt;Semiconductors are quantum band structure applied at industrial scale, which means every transistor you have ever run code on is a quantum device. Flash memory writes and erases by tunneling electrons through an oxide layer. Lasers depend on quantized energy levels and stimulated emission. Scanning tunneling microscopes image individual atoms using tunneling current as the signal.&lt;/p&gt;
&lt;p&gt;And quantum computing treats superposition and entanglement as a computational resource rather than a curiosity, which is why the field cares so much about coherence times. If you want the computing angle specifically, the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.learnhowtoscience.com/quantum-computing-explained/&quot;&gt;quantum computing guide&lt;/a&gt; covers qubits, gates and error correction without the marketing.&lt;/p&gt;
&lt;h3 id=&quot;the-takeaway&quot;&gt;The Takeaway&lt;/h3&gt;
&lt;p&gt;You do not need the mathematics to get value out of the intuition. Knowing that energy is quantized, that measurement is not passive, and that tunneling is a real transport mechanism changes how you read hardware documentation and how much sense device physics makes. The full walkthrough of the principles, the experiments and the applications is in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://www.learnhowtoscience.com/quantum-mechanics-explained/&quot;&gt;quantum mechanics guide&lt;/a&gt;, and it is written for people coming in without a physics background.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/25471/quantum-mechanics-for-developers-the-physics-under-the-hardware-you-ship</guid>
<pubDate>Wed, 26 Aug 2026 22:45:18 +0000</pubDate>
</item>
<item>
<title>The End of Time: What It’s Really Like to Fall Into a Black Hole</title>
<link>https://coderlegion.com/25068/the-end-of-time-what-its-really-like-to-fall-into-a-black-hole</link>
<description>&lt;p&gt;Imagine drifting through the silent expanse of space when, suddenly, the stars begin to warp. You’re being drawn toward a dark abyss where the familiar rules of physics start to unravel. You aren’t just falling into a void you’re entering a mathematical enigma where space and time themselves begin to twist.&lt;/p&gt;
&lt;p&gt;Drawing on explanations popularized by physicists like Brian Cox, the reality of falling into a black hole turns out to be far stranger and more unsettling than science fiction ever suggested.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What Exactly Is a Black Hole?&lt;/strong&gt;&lt;br&gt;
At its simplest, a black hole is an object so massive and so densely compressed that its gravity becomes inescapable. If you were to take our Sun and crush it down until its radius was just 3 kilometers, you would form a black hole. At that point, the speed required to escape — known as the escape velocity exceeds the speed of light. Since nothing can travel faster than light, not even light itself can escape.&lt;/p&gt;
&lt;p&gt;We detect black holes indirectly by observing their accretion disks whirling rings of gas and dust orbiting at extreme speeds. Friction heats this material until it glows brilliantly. Because black holes warp spacetime, they also bend light, allowing photons from the back of the disk to curve around to the front, creating a distorted halo that looks almost unreal.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Two Journeys: A Matter of Perspective&lt;/strong&gt;&lt;br&gt;
One of the strangest aspects of falling into a black hole is that there isn’t a single, objective experience. Gravity distorts spacetime, meaning what happens depends entirely on where you’re observing from.&lt;/p&gt;
&lt;p&gt;The Outside Observer: To a distant observer watching through a telescope, your clock appears to tick slower and slower as you approach the event horizon. You never quite cross it. Instead, you seem to freeze in place, fading into deep red as your light is stretched to longer and longer wavelengths.&lt;/p&gt;
&lt;p&gt;Your Perspective: For you, nothing dramatic happens at the horizon. You’re in free fall, which initially feels like floating similar to astronauts aboard the International Space Station. Space behaves like a river flowing inward; at the event horizon, that flow reaches the speed of light. Once inside, escape becomes as impossible as swimming upstream faster than light itself.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Spaghettification and the Singularity&lt;/strong&gt;&lt;br&gt;
As you fall deeper, gravity pulls much harder on your feet than on your head. This difference creates a violent stretching force known as spaghettification, elongating and compressing your body until molecules, atoms, and even protons are torn apart.&lt;/p&gt;
&lt;p&gt;What remains is drawn toward the singularity. In classical Einsteinian physics, this isn’t merely a point in space it represents a breakdown of time itself. Inside a black hole, moving toward the singularity is as unavoidable as moving toward tomorrow. There is no path around it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The Information Paradox: Do You Really Die?&lt;/strong&gt;&lt;br&gt;
For decades, physicists believed that anything falling into a black hole was lost forever. That view changed when Stephen Hawking showed that black holes emit a faint glow known as Hawking radiation. Over unimaginably long timescales, this radiation causes black holes to evaporate completely.&lt;br&gt;
This raises a profound question: what happens to the information describing everything that fell in? According to quantum physics, information cannot be destroyed.&lt;/p&gt;
&lt;p&gt;Research from recent years suggests a startling possibility: the information may be encoded in the radiation itself, returning to the universe in an extremely scrambled form. Some speculative theories even propose that tiny wormhole-like connections could link the interior and exterior, offering a mathematical route for information to escape.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A Universe of Wonder&lt;/strong&gt;&lt;br&gt;
Black holes are more than cosmic traps. They are natural laboratories for probing the deep structure of reality, where gravity, quantum mechanics, and information collide. Some physicists now suspect the universe itself may function less like a machine and more like a vast network of information, not unlike a quantum computer.&lt;/p&gt;
&lt;p&gt;As Cox has often emphasized, understanding these ideas doesn’t diminish the awe of the universe it deepens it. The night sky becomes more mysterious, not less.&lt;br&gt;
The closer we look at black holes, the clearer it becomes that they are not just places where matter disappears but where our understanding of time, space, and reality is pushed to its absolute limits.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/25068/the-end-of-time-what-its-really-like-to-fall-into-a-black-hole</guid>
<pubDate>Fri, 21 Aug 2026 08:03:22 +0000</pubDate>
</item>
<item>
<title>Unjammable by Physics, Not by Architecture: A VLF Channel from Orbit</title>
<link>https://coderlegion.com/24389/unjammable-by-physics-not-by-architecture-a-vlf-channel-from-orbit</link>
<description>&lt;p&gt;&lt;strong&gt;Subtitle:&lt;/strong&gt; Resistance to counter-jamming built into the nature of the band, not into the number of nodes. Slow. Physical. Hopeless for video.&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;This is the second post in the series. The first one covered the tooling; this one is about what a VLF channel from orbit can do at all, where its limits are, what it depends on, and what that costs.&lt;/p&gt;
&lt;p&gt;A fair warning, so nobody builds false expectations: below there will be plenty of talk about &quot;fundamental&quot; and &quot;unjammable&quot;, but precisely as much as justified, and not a bit more. We will stop at the honest boundaries of the idea, including the ones behind which our optimism ends.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;why-all-modern-communication-is-hostage-to-architecture&quot;&gt;Why all modern communication is hostage to architecture&lt;/h3&gt;
&lt;p&gt;Let us start with what happens to fast communication in the moment things turn bad.&lt;/p&gt;
&lt;p&gt;Every modern terminal depends on a chain where breaking one link is enough: a repeater, a cable, a beam, an allocated band, a physical object. That is exactly what an adversary with modern electronic-warfare tools does: it does not have to destroy the network wholesale — one careful strike at the right point is enough. At night, at dawn, at the least convenient moment — and the city goes silent, the continent goes silent, the terminal goes silent.&lt;/p&gt;
&lt;p&gt;The familiar counter-measure to this disease is to multiply channels. The concept of a dense constellation, where each terminal works with many vehicles at once and losing one node does not kill the link, is not new: this principle, a network of many independent carriers, was originally developed in the Soviet Union back in the 1970s, and today it underlies systems such as Starlink. When people say &quot;unjammable satellite internet&quot;, they mean exactly this.&lt;/p&gt;
&lt;p&gt;But look closely at the nature of that survivability. It is architectural. It relies on quantity: while there are many components, the network survives; when the enemy removes a sufficient share, it degrades into weak isolated segments, and each becomes a target again. Survivability here is built on duplication, not on the property of the physical channel itself. Many copies make the network blind to one jammer; the essence does not change.&lt;/p&gt;
&lt;h3 id=&quot;the-watershed-architecture-today-physics-tomorrow&quot;&gt;The watershed: architecture today, physics tomorrow&lt;/h3&gt;
&lt;p&gt;Why now? Because over recent decades electronic warfare has become cheap and mass-produced: a portable jammer can be worth more than an entire network built as a collection of duplicates. The more duplicates, the higher their running cost, and quantity stops helping — for example when many vehicles all work within the same narrow focused beams. A lot of targets does not save you when all targets are cut from the same yarn.&lt;/p&gt;
&lt;h3 id=&quot;an-idea-that-rests-on-the-nature-of-the-band&quot;&gt;An idea that rests on the nature of the band&lt;/h3&gt;
&lt;p&gt;My approach is different: a bet on a band where resilience against suppression is baked in at the physics level, not at the level of quantity. Meaning not &quot;add a thousand more nodes&quot;, but &quot;the wave carrier itself is arranged so that jamming it means jamming the medium, not the equipment&quot;.&lt;/p&gt;
&lt;p&gt;This is the key difference: the jammer targets the channel, not a transceiver. In the first case it fights numbers; in the second it would have to rewrite the law of propagation.&lt;/p&gt;
&lt;p&gt;Meet VLF. The key numbers are simple: a few kilohertz at the top, wavelengths in the kilometers range — radio waves comparable in size to the terrain they travel along.&lt;/p&gt;
&lt;p&gt;Here physics works in favor of communication:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;the extreme wavelength does not let the wave hide behind relief or below the horizon — the planet guides it, in the waveguide between the conductive Earth and the lower ionosphere, thousands of kilometers with zero repeaters;&lt;/li&gt;
&lt;li&gt;reception does not require line of sight — the wave hugs the surface;&lt;/li&gt;
&lt;li&gt;the receiver already sits inside the signal, because the wave embraces the surface.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The main consequence: to jam a VLF, a jammer does not need to aim at one point. Interference travels in the same waveguide as the useful wave, and to choke the path, one must cover the whole territory with noise at once — a huge footprint, or nothing.&lt;/p&gt;
&lt;p&gt;Suppression stalls not because there are many nodes. It stalls because the wave has no single point of application that one jammer can &quot;eat&quot;.&lt;/p&gt;
&lt;h3 id=&quot;where-honesty-begins-what-the-channel-still-depends-on&quot;&gt;Where honesty begins: what the channel still depends on&lt;/h3&gt;
&lt;p&gt;I will not turn the desirable into the actual and promise &quot;vacuum independence&quot;. That would be precisely the kind of marketing promise we criticize today.&lt;/p&gt;
&lt;p&gt;The channel does not exist on its own. The wave that feeds it is produced by powerful ground transmitters — of which there are a handful in the world. If those stations are down, nothing is transmitted: the source remains ground infrastructure, and it is just as fragile as any critical point.&lt;/p&gt;
&lt;p&gt;What is physically protected from jamming is the receiving side and the wave itself inside the channel path. For the waveguide the concept of &quot;switching off a node&quot; does not hold: there is no &quot;server&quot; to attack, the wave is carried by the medium. Survivability belongs to the receiver and the path, not to the source.&lt;/p&gt;
&lt;p&gt;So the lower bound of the estimate is precise: the physics of the channel cannot be bent by jamming, but the source remains a risk area. The advantage is real, direct, but bounded.&lt;/p&gt;
&lt;h3 id=&quot;the-speed-worth-stating-openly&quot;&gt;The speed, worth stating openly&lt;/h3&gt;
&lt;p&gt;Now for the thing VLF is traditionally laughed at for, and justifiably.&lt;/p&gt;
&lt;p&gt;Speed is bits per second, at best kilobits. For a terminal used to megabits and video, this looks like a mockery from a past millennium. No video. No stream. A page takes hours.&lt;/p&gt;
&lt;p&gt;But it is a trade-off, not a hole. On such a speed lives exactly what a catastrophe needs to deliver: a short command, an emergency word, a reserve call. Not a permanent stream, but the one key message that has to arrive when the rest of the communication is already silent.&lt;/p&gt;
&lt;p&gt;If you need megabits, this channel is not for you, and I will not argue. If you need the last chance itself — here the math is different.&lt;/p&gt;
&lt;h3 id=&quot;what-would-be-the-use-and-in-what-configuration&quot;&gt;What would be the use, and in what configuration&lt;/h3&gt;
&lt;p&gt;If the hypothesis clears the run, the channel takes its place not where the bit is cheap, but where nothing else would be left:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a short command at the moment when habitual channels go silent;&lt;/li&gt;
&lt;li&gt;a couple of emergency words from a site where a continuous network is no longer guaranteed;&lt;/li&gt;
&lt;li&gt;a reserve thread &quot;to survive&quot;, until the infrastructure gets back on its feet.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The common ground: they do not need bandwidth, they need the bare possibility. And that possibility has to fit on a platform of dozens of kilograms — an engineering question which, 40 years ago, would have required a station the size of a house. Today compact high-voltage hardware and dense power electronics make the &quot;funny&quot; solvable.&lt;/p&gt;
&lt;h3 id=&quot;status-as-it-is&quot;&gt;Status: as it is&lt;/h3&gt;
&lt;p&gt;Everything said so far is a hypothesis.&lt;/p&gt;
&lt;p&gt;There is not a single experiment confirming that such a channel works in the real world. The numbers live in calculations, and calculations may give zero. If the idea turns out infeasible, I will publish an accurate negative result and show why: a story of &quot;does not work&quot; is legitimate physics, no less interesting than &quot;works&quot;, if it is reproducible.&lt;/p&gt;
&lt;h3 id=&quot;instead-of-a-conclusion&quot;&gt;Instead of a conclusion&lt;/h3&gt;
&lt;p&gt;The essence is one formula: to build resilience not by repeating copies, but by the property of the wave itself. This transition, from architecture to physics, is what I consider significant — and even if this project never happens, the question is worth asking: can we build a channel for which &quot;jamming&quot; is poorly defined for a fundamental reason?&lt;/p&gt;
&lt;p&gt;If you have a comment about the weakest point of this logic, write it — that is why I publish. At the bottom of the spectrum the community is small, but that way I can claim to know every nick.&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/24389/unjammable-by-physics-not-by-architecture-a-vlf-channel-from-orbit</guid>
<pubDate>Mon, 10 Aug 2026 12:56:50 +0000</pubDate>
</item>
<item>
<title>It Isn't Computing That Costs Energy, It's Forgetting</title>
<link>https://coderlegion.com/23780/it-isnt-computing-that-costs-energy-its-forgetting</link>
<description>&lt;p&gt;&lt;em&gt;Physics sets no minimum energy for computation, only for erasing information. That fact is true, beautiful, and ten orders of magnitude below your actual datacenter bill. The real lesson is the argument this essay has with its own headline.&lt;/em&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;In 2012, in a lab in Lyon, a team of physicists watched a single glass bead forget one bit of information, and measured the heat it gave off while doing it.&lt;/p&gt;
&lt;p&gt;The setup, published by Bérut and colleagues in &lt;em&gt;Nature&lt;/em&gt; that March, was “a single colloidal particle trapped in a modulated double-well potential”: a microscopic bead sitting in one of two laser-made energy valleys, left valley or right valley, a physical one-or-zero. Erasing the bit means forcing the bead into one designated valley regardless of where it started, destroying the record of where it had been. Fifty-one years earlier, an IBM physicist named Rolf Landauer had predicted exactly what that destruction must cost: any logically irreversible operation, any step that throws information away, must dissipate at least kT ln 2 of heat per erased bit. At room temperature that is about 2.9 zeptojoules, a 21-digits-of-zeros fraction of a joule. The Lyon experiment confirmed it: “the mean dissipated heat saturates at the Landauer bound in the limit of long erasure cycles.”&lt;/p&gt;
&lt;p&gt;Here is why that bead belongs in an essay for people who think about datacenters. Landauer's 1961 principle, and a companion result by his IBM colleague Charles Bennett in 1973, together say something genuinely strange about where the energy cost of computing lives. Bennett showed that a logically &lt;em&gt;reversible&lt;/em&gt; computation, one that never discards information, has no known thermodynamic floor at all; there is no law of physics that sets a positive minimum on its energy. The floor attaches only to erasure. Physics does not charge you for computing. It charges you for forgetting.&lt;/p&gt;
&lt;p&gt;That is the title of this essay, and as a statement about fundamental limits it is true. The intuition behind every AI-energy headline, that arithmetic itself is what burns the megawatts, has the physics upside down. So you might expect the practical lesson to be: make your chips forget less, and the energy problem melts away.&lt;/p&gt;
&lt;p&gt;It is not, and the reason it is not turns out to be a better lesson than the one the title promises. Stay with me, because this essay is going to argue with its own headline, and the argument is where the value is.&lt;/p&gt;
&lt;h3 id=&quot;what-a-chip-actually-pays-for&quot;&gt;What a chip actually pays for&lt;/h3&gt;
&lt;p&gt;Take the Landauer floor seriously as a unit and price a modern machine against it.&lt;/p&gt;
&lt;p&gt;Erasing one bit at room temperature: about 2.9 zeptojoules, 2.9 × 10⁻²¹ joules. Erasing all 64 bits of a doubleword: about 1.8 × 10⁻¹⁹ joules. Hold that number.&lt;/p&gt;
&lt;p&gt;Now the engineering side. The canonical accounting of what operations cost on real silicon is Mark Horowitz's 2014 analysis, still the reference point the architecture community argues from (and the gaps have widened, not narrowed, since). In round figures from that dataset: a 64-bit floating-point operation costs 0.4 to 3.7 picojoules. An on-chip register access, around 6 picojoules. A cache access, 10 to 100 picojoules depending on size. And an off-chip DRAM access: 1,300 to 2,600 picojoules.&lt;/p&gt;
&lt;p&gt;Set those against the floor, and label this arithmetic as mine, derived from the cited figures. The 64-bit floating-point operation runs a factor of a few million to a few tens of millions above the Landauer cost of erasing 64 bits. And the DRAM fetch, at roughly two nanojoules against a 64-bit erasure floor of 1.8 × 10⁻¹⁹ joules, runs about &lt;strong&gt;ten billion times&lt;/strong&gt; the thermodynamic price of destroying the same data outright.&lt;/p&gt;
&lt;p&gt;Ten billion. Ten orders of magnitude. Whatever your intuition just did with that number, follow it one more step: in any real machine, the thermodynamic cost of forgetting is a rounding error on a rounding error. The physics floor is set by erasure, but the bill is set by something else entirely: charging and discharging the capacitance of wires to shuttle bits across physical distance. A CMOS gate dissipates energy whether or not the operation it performs destroys information; the destruction is incidental. Moving a bit from DRAM to the register file costs vastly more than moving it from existence to nonexistence.&lt;/p&gt;
&lt;p&gt;This is also exactly why the economics of AI inference are what they are. Serving a large model is memory-bandwidth-bound, not arithmetic-bound; the industry's architectural energy goes into data locality, high-bandwidth memory stacked millimeters from the compute, keeping weights resident, batching to amortize fetches. Nobody optimizes erasure, because erasure was never on the bill. The developer takeaway from the actual numbers is nearly the inverse of this essay's title: &lt;strong&gt;energy efficiency in computing is, in practice, the art of moving less.&lt;/strong&gt; Keep data close. Distance is the enemy. The kilowatt-hours in an AI-energy headline are overwhelmingly spent hauling bits around, and secondarily on the cooling that hauls the resulting heat away.&lt;/p&gt;
&lt;h3 id=&quot;a-law-that-is-true-and-does-not-bind&quot;&gt;A law that is true and does not bind&lt;/h3&gt;
&lt;p&gt;So what is Landauer's principle worth to a working technologist, if it sits ten orders of magnitude below the bill?&lt;/p&gt;
&lt;p&gt;This is where the essay earns its keep, because learning to classify physical laws by whether they &lt;em&gt;bind&lt;/em&gt; is a transferable skill, and this lane has now seen both kinds.&lt;/p&gt;
&lt;p&gt;A while back this blog argued that softmax is the Boltzmann distribution: the “temperature” in your sampling code is not a metaphor for 1870s thermodynamics but the same equation, and the physics transfers for free, today, as working intuition. That is one kind of physics result: an identity. It binds immediately.&lt;/p&gt;
&lt;p&gt;Landauer is the other kind: a bound that does not currently bind. It is real, experimentally confirmed, and it constrains nothing you will ship this decade, because the constraint that actually operates on your systems is capacitance, distance, and cooling, all of it engineering, none of it fundamental. A recent analysis of CMOS limits (arXiv:2312.08595) estimates the ceiling for conventional silicon at around 4.7 × 10¹⁵ four-bit operations per joule, roughly two hundred times more efficient than current microprocessors. Two hundred-fold is the real, harvestable headroom on the table, and it comes from better engineering of the same physics, not from approaching Landauer. The floor is so far down it plays no role in the game. A law can be perfectly true and operationally irrelevant, and knowing which kind of law you are holding, an identity that transfers, a bound that binds, or a bound that waits, is worth more than either law alone.&lt;/p&gt;
&lt;p&gt;But “waits” is the right word, and the waiting has teeth. Because there is one research program for which Landauer is not a curiosity but the entire prize, and its troubles are the most instructive part of this story.&lt;/p&gt;
&lt;h3 id=&quot;why-the-headroom-can-t-be-cashed&quot;&gt;Why the headroom can't be cashed&lt;/h3&gt;
&lt;p&gt;If erasure is the only thing physics charges for, then a computer that never erases, a reversible computer, could in principle run at arbitrarily low energy. Bennett proved the logic in 1973. People have been trying to build it ever since, and three barriers keep standing, each verified, each illuminating.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First, you pay in time.&lt;/strong&gt; Adiabatic switching, the practical route toward reversibility, saves energy exactly in proportion to how slowly you switch; dissipation approaches zero only as switching time approaches infinity. Even the Lyon bead only touched the Landauer bound “in the limit of long erasure cycles”; erase fast and you dissipate extra. Reversible computing does not eliminate the energy cost so much as convert it into a time cost, and for a latency-priced workload like inference, time is often the more expensive currency.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Second, you pay in memory, and the bill is literally incomputable.&lt;/strong&gt; A reversible computation must retain its intermediate results, the so-called garbage bits, to stay invertible. Discard the garbage and you pay Landauer after all; keep it and it accumulates. Worse, the theory community has shown there is in general no upper bound on the extra storage required, and computing the minimum garbage for a given computation is an undecidable problem. Energy traded for memory, with no algorithm even to tell you the exchange rate.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Third, and sharpest: the devices themselves foreclose it.&lt;/strong&gt; A paper in &lt;em&gt;Scientific Reports&lt;/em&gt; on adiabatic superconducting logic states the obstacle in one sentence: “The bit energy of conventional logic devices, including CMOS and energy-efficient superconductor logics, is at least larger than ~1,000 kBT, which is too large to permit their use as reversible logic gates.” Sit with the irony. The gap between today's devices and the Landauer floor is the headroom the whole program wants to harvest, and it is precisely that gap that makes the harvesting impossible: a gate that dissipates a thousand kT per operation swamps the fraction of kT you were trying to save. You cannot climb down to the floor on a ladder made of the thing keeping you off it. The demonstrations that have genuinely operated below the threshold live in exotic superconducting circuits at four kelvin, and the assessments in venues like &lt;em&gt;Communications of the ACM&lt;/em&gt; are blunt: they have not scaled, and remain no more practical than the refrigerated alternatives. (The four-kelvin detail hides one more honest wrinkle: the Landauer floor scales with temperature, so cryogenic logic lowers the floor itself, which is one reason superconducting computing keeps being reinvented despite everything.)&lt;/p&gt;
&lt;p&gt;None of this makes reversible computing foolish. It makes it a physics program rather than an engineering roadmap: a real claim on a real prize, currently unreachable by any device we know how to build at scale. The three orders of magnitude of “headroom” between a good transistor and the floor are not an efficiency budget waiting to be spent. They are, for now, the moat.&lt;/p&gt;
&lt;h3 id=&quot;what-to-take-home&quot;&gt;What to take home&lt;/h3&gt;
&lt;p&gt;Three things, in descending order of daily usefulness.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Optimize movement, not arithmetic.&lt;/strong&gt; The bill for your workload lives in data motion: DRAM fetches at a thousand times the cost of the FLOP they feed, network hops above that, cooling on top of everything. When you profile for energy, or reason about why inference pricing looks the way it does, or evaluate the next accelerator's claims, the question is always locality: how far do the bits travel? A model that fits in on-chip memory is not slightly cheaper than one that spills to DRAM; it is categorically cheaper, and the categorical difference is measured in those Horowitz ratios. This is the lens the actual physics of computing hands you, and it is the opposite of the folk version where the multiplications are what cost.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Classify your limits before budgeting against them.&lt;/strong&gt; Landauer is a hard law ten orders of magnitude below your problem; the CMOS ceiling is an engineering limit a mere factor of a few hundred away; your cooling budget binds this quarter. Treating a distant fundamental limit as if it constrained this decade's roadmap (or citing it to claim efficiency is nearly exhausted) is a category error in both optimistic and pessimistic directions. The habit generalizes far beyond chips: for any “fundamental limit” invoked in a technical argument, ask what actually binds at the current operating point. It is usually something much more boring and much more fixable.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;And keep the bead in mind, because the floor is patient.&lt;/strong&gt; Every doubling of efficiency closes the gap by one factor of two, and the trend that has run since the 1960s (Koomey's law, the efficiency sibling of Moore's) points at the zeptojoule scale on a horizon measured in decades, not centuries. If computing keeps improving, there is exactly one wall at the bottom, it is made of thermodynamics rather than silicon, and the only door through it is learning to compute without forgetting, with all three barriers above waiting at the door. The title of this essay is false about your datacenter bill and true about the end of the road. Physics does not charge for computing. It charges for forgetting. It is just that, for a few more decades, the delivery fees dwarf the price of everything on the menu.&lt;/p&gt;
&lt;hr&gt;
&lt;h3 id=&quot;sources&quot;&gt;Sources&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Landauer, R. (1961). “Irreversibility and heat generation in the computing process.” &lt;em&gt;IBM Journal of Research and Development&lt;/em&gt;, 5(3), 183–191. (The kT ln 2 erasure bound; ≈2.9 zeptojoules at 300 K, arithmetic from the constant.)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bennett, C. H. (1973). “Logical reversibility of computation.” &lt;em&gt;IBM Journal of Research and Development&lt;/em&gt;, 17(6), 525–532. (No thermodynamic floor for logically reversible computation.)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Bérut, A., Arakelyan, A., Petrosyan, A., Ciliberto, S., Dillenschneider, R., &amp;amp; Lutz, E. (2012). “Experimental verification of Landauer's principle linking information and thermodynamics.” &lt;em&gt;Nature&lt;/em&gt;, 483, 187–190. (“A single colloidal particle trapped in a modulated double-well potential”; “the mean dissipated heat saturates at the Landauer bound in the limit of long erasure cycles.”)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Horowitz, M. (2014). “Computing's energy problem (and what we can do about it).” ISSCC keynote dataset: 64-bit FLOP 0.4–3.7 pJ; register ~6 pJ; cache 10–100 pJ; off-chip DRAM 1,300–2,600 pJ (figures as reported in &lt;em&gt;Communications of the ACM&lt;/em&gt; and SemiEngineering's coverage). Ratios to the Landauer floor in this essay are derived from these figures.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ho, A., et al. (2023). “Limits to the Energy Efficiency of CMOS Microprocessors” (arXiv:2312.08595): maximum CMOS efficiency ≈4.7 × 10¹⁵ FP4/J, “roughly two hundred-fold more efficient than current microprocessors.”&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;“Reversible logic gate using adiabatic superconducting devices.” &lt;em&gt;Scientific Reports&lt;/em&gt; 4:6354. (“The bit energy of conventional logic devices, including CMOS and energy-efficient superconductor logics, is at least larger than ~1,000 kBT, which is too large to permit their use as reversible logic gates.”)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Hänninen, I., Lent, C., Snider, G., &amp;amp; Blair, E. (2014). “Reversible and Adiabatic Computing: Energy-Efficiency Maximized” (Notre Dame).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Thomsen, M. K. (2023). “Design of Reversible Computing Systems” (arXiv:2309.11832): garbage-bit retention and the undecidability of minimum garbage.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Markov, I. L. (2014). “Limits on Fundamental Limits to Computation” (arXiv:1408.3821).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;CACM, “The Future is Reversible.” The time cost of adiabatic switching; scaling assessments.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;On foundations:&lt;/strong&gt; “Physical Foundations of Landauer's Principle” (arXiv:1901.10327): the derivation remains philosophically debated; this essay says “experimentally confirmed,” not “settled.”&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;This blog, “Softmax Is the Boltzmann Distribution”:&lt;/strong&gt; the companion case of physics that transfers as an identity, referenced for the contrast.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For any “fundamental limit” invoked in a technical argument, ask what actually binds at the current operating point.&lt;/p&gt;
&lt;p&gt;That discipline, the cost lives where you are not looking, not where the impressive-sounding number points, is the one agent trust needs too. What binds whether you can trust an agent's output is not the model's fluency or a headline benchmark; it is whether you can verify what the agent actually did. The &lt;strong&gt;Agent Trust Stack&lt;/strong&gt; is the harness for measuring that real thing rather than the apparent one: durable identity, a provenance record of what the agent did, a rating that survives adversarial checking, and an audit trail that holds when the model has a confident bad day.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://vibeagentmaking.com/whitepaper/theory-of-agent-trust/&quot;&gt;Read the Theory of Agent Trust&lt;/a&gt;  ·  &lt;a rel=&quot;nofollow&quot; href=&quot;https://vibeagentmaking.com/hosted-coc/&quot;&gt;See Hosted Chain of Consciousness&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;pip install agent-trust-stack&lt;/code&gt;  ·  &lt;code&gt;npm install agent-trust-stack&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Or a layer at a time: &lt;code&gt;pip install chain-of-consciousness&lt;/code&gt; / &lt;code&gt;npm install chain-of-consciousness&lt;/code&gt;  ·  &lt;code&gt;pip install agent-rating-protocol&lt;/code&gt; / &lt;code&gt;npm install agent-rating-protocol&lt;/code&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;em&gt;Originally published at &lt;a rel=&quot;nofollow&quot; href=&quot;https://vibeagentmaking.com/blog/it-isn-t-computing-that-costs-energy-it-s-forgetting/&quot;&gt;vibeagentmaking.com&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/23780/it-isnt-computing-that-costs-energy-its-forgetting</guid>
<pubDate>Thu, 30 Jul 2026 02:48:38 +0000</pubDate>
</item>
<item>
<title>Physics might be entering its own “LLM moment.”</title>
<link>https://coderlegion.com/16305/physics-might-be-entering-its-own-llm-moment</link>
<description>&lt;p&gt;What if one AI model could simulate all fluids, from ocean currents to plasma in space?&lt;/p&gt;
&lt;p&gt;The problem:&lt;/p&gt;
&lt;p&gt;Simulating liquids and gases has always been slow and expensive.&lt;/p&gt;
&lt;p&gt;And that's the reason current AI models are limited to one specific use case.&lt;/p&gt;
&lt;p&gt;Buthat’s starting to change.&lt;/p&gt;
&lt;p&gt;Here comes Walrus, a transformer model that can simulate liquids, gases, and plasmas in a general way.&lt;/p&gt;
&lt;p&gt;It’s even open-source.&lt;/p&gt;
&lt;p&gt;What’s different?&lt;/p&gt;
&lt;p&gt;Instead of focusing on one system, Walrus learns how physics behaves broadly.&lt;/p&gt;
&lt;p&gt;It predicts the next state of a system from past states , similar to how models like ChatGPT predict the next word.&lt;/p&gt;
&lt;p&gt;The key idea: “jittering”&lt;/p&gt;
&lt;p&gt;Simulations break down over time because small errors keep adding up.&lt;/p&gt;
&lt;p&gt;Walrus fixes this with a simple trick:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Slightly shift the data at every step&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In simple language: &lt;/p&gt;
&lt;p&gt;Imagine you’re trying to walk straight ahead with your eyes closed.&lt;/p&gt;
&lt;p&gt;Each step you take is slightly off, maybe a tiny bit to the right.&lt;/p&gt;
&lt;p&gt;At first, it’s barely noticeable.&lt;/p&gt;
&lt;p&gt;But after 100 steps, you have drifted far off course.&lt;/p&gt;
&lt;p&gt;That’s exactly what happens in simulations:&lt;/p&gt;
&lt;p&gt; tiny errors -&amp;gt; keep adding -&amp;gt; completely wrong result&lt;/p&gt;
&lt;p&gt;Now add “jittering”&lt;/p&gt;
&lt;p&gt;Instead of always stepping straight (and slightly right), you:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Randomly adjust your direction a tiny bit each step, left, right, forward&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Now:&lt;/p&gt;
&lt;p&gt;Your errors don’t keep pushing you in one direction&lt;/p&gt;
&lt;p&gt;They cancel each other out over time&lt;/p&gt;
&lt;p&gt;This is actually a good move toward general-purpose physics models. &lt;/p&gt;
&lt;p&gt;What do you think?&lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/16305/physics-might-be-entering-its-own-llm-moment</guid>
<pubDate>Fri, 01 May 2026 05:32:49 +0000</pubDate>
</item>
<item>
<title>DevLog 20250722: (Special Project) Correct Physics Handling</title>
<link>https://coderlegion.com/4229/devlog-20250722-special-project-correct-physics-handling</link>
<description>&lt;h3 id=&quot;overview&quot;&gt;Overview&lt;/h3&gt;
&lt;p&gt;This little project deals with very simple (2D) right body physics. I will not spoil all the fun - essentially we control a 2D rocket. It would be fun to visualize data processing in such a fashion on a node canvas - kind of matches our Divooka visual programming scheme.&lt;/p&gt;
&lt;p&gt;The hypothesis is that at least for 2-dimensional cruise control, a simple PID should be able to do something useful, and it's with that gut I am set to experiment a bit to verify my idea.&lt;/p&gt;
&lt;p&gt;I've done some experiments in July last year but ended up not going far due to technical challenges.&lt;/p&gt;
&lt;h3 id=&quot;challenge&quot;&gt;Challenge&lt;/h3&gt;
&lt;p&gt;The challenge was to get it working properly with physics setup. Per &lt;a rel=&quot;nofollow&quot; href=&quot;https://docs.godotengine.org/en/stable/classes/class_rigidbody2d.html&quot;&gt;RigidBody2D&lt;/a&gt; doc:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gd73l4nma16zjhl1tx68.png&quot; alt=&quot;Force Doc&quot;&gt;&lt;/p&gt;
&lt;p&gt;So is it relative or global? Without being able to visualize the force, it's a bit hard to tell also whether to use a force, or to use impulse.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wpdr0h48srlsxa3thc64.png&quot; alt=&quot;Impulse Doc&quot;&gt;&lt;/p&gt;
&lt;p&gt;It's been a while and I almost gave up - never really have time to create our own physics engine. But Godot got a &lt;a rel=&quot;nofollow&quot; href=&quot;https://godotengine.org/releases/4.4/#jolt-physics-module&quot;&gt;new physics kernel&lt;/a&gt; and I thought maybe give it a try.&lt;/p&gt;
&lt;h3 id=&quot;some-inspiration&quot;&gt;Some Inspiration&lt;/h3&gt;
&lt;p&gt;I've been doing some analytics and talking with ChatGPT on a new airship design that puts the air vessel at the bottom of the ship instead of hanging overhead - that inspired me maybe there are two things with current setup that's not working:&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;https://dev-to-uploads.s3.amazonaws.com/uploads/articles/sommrobn0pahdxotm9yd.png&quot; alt=&quot;Schema&quot;&gt;&lt;/p&gt;
&lt;p&gt;After fixing a few API calls related to GraphEdit &lt;code&gt;get_children()&lt;/code&gt; change. I was looking at the force application code once again:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;func _physics_process(delta):
# Remark: We are not using to_global directly because of issues with viewport transform
var left_anchor = %LeftThrusterCenterOfAction.position
var right_anchor = %RightThrusterCenterOfAction.position

# Remark: applied force is RELATIVE to the body (aka. current object)
apply_force(Vector2(0, -1).rotated(rotation + _left_engine_angle_degrees / 180.0 * PI) * _left_engine_thrust, left_anchor)
apply_force(Vector2(0, -1).rotated(rotation + _right_engine_angle_degrees / 180.0 * PI) * _right_engine_thrust, right_anchor)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Again, it's really simple once we figure out &lt;strong&gt;&lt;em&gt;what's the right way to do things&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id=&quot;references&quot;&gt;References&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Video and intro: &lt;a rel=&quot;nofollow&quot; href=&quot;https://youtu.be/Yqh1EL9nN4g&quot;&gt;YouTube&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</description>
<category>Game Dev</category>
<guid isPermaLink="true">https://coderlegion.com/4229/devlog-20250722-special-project-correct-physics-handling</guid>
<pubDate>Tue, 22 Jul 2025 23:45:02 +0000</pubDate>
</item>
</channel>
</rss>