<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <id>https://pattern-master.netlify.app/blog</id>
    <title>Code and Patterns Blog</title>
    <updated>2023-02-09T00:00:00.000Z</updated>
    <generator>https://github.com/jpmonette/feed</generator>
    <link rel="alternate" href="https://pattern-master.netlify.app/blog"/>
    <subtitle>Code and Patterns Blog</subtitle>
    <icon>https://pattern-master.netlify.app/img/favicon.ico</icon>
    <entry>
        <title type="html"><![CDATA[Welcome]]></title>
        <id>https://pattern-master.netlify.app/blog/welcome</id>
        <link href="https://pattern-master.netlify.app/blog/welcome"/>
        <updated>2023-02-09T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[I first started programming when I was 10 or 11, but I have always been a writer. I love code and I love words. I envy mathematicians their nimble minds and wish I was more Spock than Kirk.]]></summary>
        <content type="html"><![CDATA[<p>I first started programming when I was 10 or 11, but I have always been a writer. I love code and I love words. I envy mathematicians their nimble minds and wish I was more Spock than Kirk.</p><p>I draw and doodle to make sense of the complex. I simplify and re-order, I design.</p><p>This is a collection of blog posts, inspired by the Notebooks on Code. Sometimes it is specific to a project, sometimes it is a general thought. I hope you enjoy it.</p>]]></content>
        <author>
            <name>Izzi Koning</name>
            <uri>https://github.com/izzi-ink</uri>
        </author>
        <category label="code" term="code"/>
        <category label="blog" term="blog"/>
        <category label="design" term="design"/>
    </entry>
    <entry>
        <title type="html"><![CDATA[My First Application]]></title>
        <id>https://pattern-master.netlify.app/blog/first-app</id>
        <link href="https://pattern-master.netlify.app/blog/first-app"/>
        <updated>2023-02-08T00:00:00.000Z</updated>
        <summary type="html"><![CDATA[I first started programming when I was 10 or 11. The first program I designed and wrote was a Phone Directory, for the ZX Spectrum 48k. The uptake to use this in my home was very low. I doubt my dad even knew it existed. I employed a data capturer too, but the ratio of data he captured to the number of free meals he enjoyed made this a business failure from day 1. When I launched the Phone Directory system it was clear, how it was largely impractical, my mom found it easier to use the "Flip-open A-Z Phone Directory". The "data capturer" found it easier to eat, than capture data past the letter G.]]></summary>
        <content type="html"><![CDATA[<p>I first started programming when I was 10 or 11. The first program I designed and wrote was a Phone Directory, for the ZX Spectrum 48k. The uptake to use this in my home was very low. I doubt my dad even knew it existed. I employed a data capturer too, but the ratio of data he captured to the number of free meals he enjoyed made this a business failure from day 1. When I launched the Phone Directory system it was clear, how it was largely impractical, my mom found it easier to use the "Flip-open A-Z Phone Directory". The "data capturer" found it easier to eat, than capture data past the letter G.</p><p><img loading="lazy" alt="Flip-open A-Z Telephone Directory" src="/assets/images/flip-open-phone-dir-bc1d9914330db8a482dd3f2dfbb6de42.png" width="500" height="500" class="img_ev3q"></p><p>I could not fathom why something so cool was not usable. The program started with a blinking cursor, asking for the name of the person who's number you were looking for. It then returned the name, but the snag was, if you misspelt it, or as I learnt tried to find anything after the letter 'G' it simply told you that there was no such person. The code looked something like:</p><div class="language-basic codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#393A34;--prism-background-color:#f6f8fa"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-basic codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#393A34"><span class="token plain">10 PRINT "Kies letter van alfabet: ";</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">20 INPUT naam$</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">30 N = 5</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">40 NAAM$(1) = "De Vries Ambulans"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">50 TELNOMMER$(1) = "555-555-5555"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">60 NAAM$(2) = "Rina Koning"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">70 TELNOMMER$(2) = "555-555-5556"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">80 NAAM$(3) = "Ouma en Oom Hannes"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">90 TELNOMMER$(3) = "555-555-5557"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">100 NAAM$(4) = "Pappa Werk"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">110 TELNOMMER$(4) = "555-555-5558"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">120 NAAM$(5) = "Oom Wikkie"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">130 TELNOMMER$(5) = "555-555-5559"</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">140 found = 0</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">150 FOR i = 1 TO N</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">160   IF naam$ = NAAM$(i) THEN PRINT NAAM$(i); " - "; TELNOMMERS$(i): found = 1: END</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">170 NEXT i</span><br></span><span class="token-line" style="color:#393A34"><span class="token plain">180 IF found = 0 THEN PRINT naam$; " is nie in gids."</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p>Why would nobody load a program through a casette deck and wait for it to load to look up numbers? My wonderfully over-complicated solution to a simple problem, lost to the trusty Yellow Pages and local phone directory. I was not deterred, I just moved on to the next project, one which is still part of my life today. ELIZA Robo Psychologist.</p><p>I used a ZX Spectrum 48k to write my first program.</p><p><img loading="lazy" alt="The ZX Spectrum 48k" src="/assets/images/ZXSpectrum48k-30aed97b70486604cc5beec5ba58c673.png" width="583" height="428" class="img_ev3q"></p>]]></content>
        <author>
            <name>Izzi Koning</name>
            <uri>https://github.com/izzi-ink</uri>
        </author>
        <category label="computing" term="computing"/>
        <category label="vintage computers" term="vintage computers"/>
        <category label="BASIC" term="BASIC"/>
        <category label="code" term="code"/>
    </entry>
</feed>