<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Code on Times New Rohan</title>
		<link>https://robrohan.com/tags/code.html</link>
		<description>Recent content in Code on Times New Rohan</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Wed, 05 Aug 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://robrohan.com/tags/code/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>From Slide Rules to Quantization</title>
				<link>https://robrohan.com/2026/08/05/slide-rules-to-quantization.html</link>
				<pubDate>Wed, 05 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://robrohan.com/2026/08/05/slide-rules-to-quantization.html</guid>
				<description>&lt;p&gt;In an effort to fight off atrophy from using AI too much, I&amp;rsquo;ve started playing with &lt;a href=&#34;https://en.wikipedia.org/wiki/Slide_rule&#34;&gt;slide rules&lt;/a&gt; - basically, calculators before calculators (after abacuses). They are quite hard to buy in this day and age, but there are some &lt;a href=&#34;https://sliderulemuseum.com/SR_Scales.shtml&#34;&gt;paper ones&lt;/a&gt; you can print out. And if you are good at PCBs maybe you can help me try to &lt;a href=&#34;https://github.com/robrohan/pcb-slide-rule&#34;&gt;make one&lt;/a&gt;?&lt;/p&gt;&#xA;&lt;p&gt;The way slide rules work is: if you mark a ruler with logarithmic spacing, multiplication becomes addition. This is a pretty cool maths trick in that you are adding exponents, and then you can &lt;code&gt;pow()&lt;/code&gt; them back to reality. I think of it as &amp;ldquo;working in Log10 space&amp;rdquo; which would probably make an actual mathemagician cringe. But basically, you slide one scale along another, read off the answer, and keep track of the decimal point in your head. It&amp;rsquo;s absolutely amazing engineers built bridges and got to the moon with this&lt;a href=&#34;https://youtu.be/xDLvUqhwHZc?si=PTHXMGsM4a4KiiQj&amp;amp;t=38&#34;&gt;.&lt;/a&gt;&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
