<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Rule 30 on Programmer.ie: Modern AI programming</title>
    <link>http://programmer.ie/tags/rule-30/</link>
    <description>Recent content in Rule 30 on Programmer.ie: Modern AI programming</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 11 Aug 2026 01:19:00 +0100</lastBuildDate>
    <atom:link href="http://programmer.ie/tags/rule-30/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Digital Life 03: The First Surprise</title>
      <link>http://programmer.ie/books/digital-life/03-the-first-surprise/</link>
      <pubDate>Tue, 11 Aug 2026 01:19:00 +0100</pubDate>
      <guid>http://programmer.ie/books/digital-life/03-the-first-surprise/</guid>
      <description>&lt;p&gt;We ended the last chapter by changing one number.&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rule &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;22&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;became:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-python&#34; data-lang=&#34;python&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;rule &lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt; &lt;span style=&#34;color:#ae81ff&#34;&gt;30&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Nothing else changed.&lt;/p&gt;&#xA;&lt;p&gt;Same world.&lt;/p&gt;&#xA;&lt;p&gt;Same single active cell.&lt;/p&gt;&#xA;&lt;p&gt;Same three-cell neighborhood.&lt;/p&gt;&#xA;&lt;p&gt;Same synchronous update.&lt;/p&gt;&#xA;&lt;p&gt;Same periodic boundary.&lt;/p&gt;&#xA;&lt;p&gt;Same eight-bit lookup mechanism.&lt;/p&gt;&#xA;&lt;p&gt;Only the rule changed.&lt;/p&gt;&#xA;&lt;p&gt;And the spacetime diagram stopped looking simple.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;http://programmer.ie/images/books/digital-life/ch03-rule30-hero.png&#34; alt=&#34;Rule 30 from a single active cell&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;There is visible structure on the left.&lt;/p&gt;&#xA;&lt;p&gt;There is irregularity on the right.&lt;/p&gt;&#xA;&lt;p&gt;There are repeating fragments.&lt;/p&gt;&#xA;&lt;p&gt;There are regions that look almost patterned and then break apart.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 03: Rule 30 and the Surprise of Complexity</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-03/</link>
      <pubDate>Mon, 10 Aug 2026 18:23:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-03/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-03-rule-30-and-the-surprise-of-complexity&#34;&gt;Cellular Automata From First Principles 03: Rule 30 and the Surprise of Complexity&lt;/h1&gt;&#xA;&lt;p&gt;Rule 30 is a perfect demonstration of why cellular automata are worth studying.&lt;/p&gt;&#xA;&lt;p&gt;Its transition table contains eight bits:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;111 110 101 100 011 010 001 000&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt; 0   0   0   1   1   1   1   0&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Start from one active cell and repeatedly apply that rule.&lt;/p&gt;&#xA;&lt;p&gt;The result rapidly stops looking like something generated by a tiny deterministic program.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Cellular Automata From First Principles 02: Encode All 256 Elementary Rules</title>
      <link>http://programmer.ie/post/cellular-automata-from-first-principles-02/</link>
      <pubDate>Mon, 10 Aug 2026 18:22:00 +0100</pubDate>
      <guid>http://programmer.ie/post/cellular-automata-from-first-principles-02/</guid>
      <description>&lt;h1 id=&#34;cellular-automata-from-first-principles-02-encode-all-256-elementary-rules&#34;&gt;Cellular Automata From First Principles 02: Encode All 256 Elementary Rules&lt;/h1&gt;&#xA;&lt;p&gt;An elementary cellular automaton has only three inputs per cell:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;left centre right&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Each input is one bit.&lt;/p&gt;&#xA;&lt;p&gt;That means there are only eight possible neighborhoods:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;111 110 101 100 011 010 001 000&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;For each neighborhood the rule chooses either &lt;code&gt;0&lt;/code&gt; or &lt;code&gt;1&lt;/code&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Eight binary choices means:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;&#34;&gt;&lt;code class=&#34;language-text&#34; data-lang=&#34;text&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;2^8 = 256&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;possible rules.&lt;/p&gt;&#xA;&lt;p&gt;The elegant part is that we can store one complete rule table in one byte.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
