<rss version="2.0">
  <channel>
    <title>Development 👨🏼‍💻 on Lost In Haste</title>
    <link>https://lostinhaste.com/categories/development/</link>
    <description></description>
    
    <language>en</language>
    
    <lastBuildDate>Thu, 08 Aug 2024 14:36:53 -0500</lastBuildDate>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2024/08/08/ive-been-setting.html</link>
      <pubDate>Thu, 08 Aug 2024 14:36:53 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2024/08/08/ive-been-setting.html</guid>
      <description>&lt;p&gt;I&amp;rsquo;ve been setting up my new Raspberry Pi to be an always-on, lightweight server but I was running into the oddest issue when trying to get memory data out of Docker. As it turns out, adding &amp;ldquo;&lt;code&gt;cgroup_memory=1 cgroup_enable=memory&lt;/code&gt;&amp;rdquo; to my &amp;ldquo;&lt;code&gt;/boot/cmdline.txt&lt;/code&gt;&amp;rdquo; file fixed the issue. 🎉 &lt;a href=&#34;https://github.com/raspberrypi/linux/issues/3644#issuecomment-664518728&#34;&gt;Link&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2024/03/15/given-my-background.html</link>
      <pubDate>Fri, 15 Mar 2024 14:05:55 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2024/03/15/given-my-background.html</guid>
      <description>&lt;p&gt;Given my background with &lt;code&gt;MS Sql&lt;/code&gt; / &lt;code&gt;T-SQL&lt;/code&gt;, you&amp;rsquo;d think it would be trivial for me to upgrade from &lt;code&gt;PostgreSQL&lt;/code&gt; &lt;em&gt;15&lt;/em&gt; to &lt;em&gt;16&lt;/em&gt;&amp;hellip;but you&amp;rsquo;d be wrong! 😂 Maybe it was b/c &lt;code&gt;Docker&lt;/code&gt; was involved but goodness, that turned out complicated than I thought.&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2024/02/02/trying-to-update.html</link>
      <pubDate>Fri, 02 Feb 2024 10:59:11 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2024/02/02/trying-to-update.html</guid>
      <description>&lt;p&gt;Trying to update the SSL certificates our Kafka consumer / producer uses and it&amp;rsquo;s driving me to drink more coffee. ☕️🤪&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2024/01/28/someone-created-a.html</link>
      <pubDate>Sun, 28 Jan 2024 14:52:43 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2024/01/28/someone-created-a.html</guid>
      <description>&lt;p&gt;Someone created a Github issue for my &lt;a href=&#34;https://github.com/lostinhaste/Justified-Swipebox&#34;&gt;Justified Swipebox&lt;/a&gt; Micro.blog plugin…and I’m so excited to know someone out there is at least looking at my work, much less using it; it’s not really &lt;em&gt;”my work”&lt;/em&gt;, I just enhanced / joined two other libraries so they’d work with Micro.blog…but still, I’m excited!&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2024/01/15/years-ago-i.html</link>
      <pubDate>Mon, 15 Jan 2024 16:22:31 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2024/01/15/years-ago-i.html</guid>
      <description>&lt;p&gt;&lt;em&gt;Years&lt;/em&gt; ago, I set up a self-hosted &lt;a href=&#34;https://en.wikipedia.org/wiki/Gitea&#34;&gt;Gitea&lt;/a&gt;, as a backup solution for my &lt;a href=&#34;https://github.com/lostinhaste&#34;&gt;Github account&lt;/a&gt;. I didn&amp;rsquo;t think much of it at the time but I used &lt;a href=&#34;https://en.wikipedia.org/wiki/Microsoft_SQL_Server&#34;&gt;MS SQL&lt;/a&gt; as the backend for it, without realizing the Docker version doesn&amp;rsquo;t work with encrypted Synology volumes. 🥴 I &lt;em&gt;finally&lt;/em&gt; took care of that, now on &lt;a href=&#34;https://en.wikipedia.org/wiki/MySQL&#34;&gt;MySQL&lt;/a&gt;. 🎉&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>New Plugin: Simple Image Generation</title>
      <link>https://lostinhaste.com/2023/11/03/new-plugin-simple.html</link>
      <pubDate>Fri, 03 Nov 2023 17:02:02 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2023/11/03/new-plugin-simple.html</guid>
      <description>&lt;p&gt;So I did a thing: I wrote my first Micro.Blog plugin. 🥳 It&amp;rsquo;s nothing fancy, just another image generator but, as I was in &lt;a href=&#34;https://lostinhaste.com/2023/11/02/migrating-from-hugo.html&#34;&gt;the process of migrating&lt;/a&gt; the content from my old blog to here, I realized I had already created one in my Hugo instance&amp;hellip;&lt;em&gt;all&lt;/em&gt; I needed to do was port it over to GitHub and get it in the right format (also, documentation, mustn&amp;rsquo;t forget the documentation 🤢). Yes, I could have just changed out the Shortcode for proper HTML as part of the migration but I wanted to keep the same format I was already using&amp;hellip;and when does a developer ever take the &lt;em&gt;easy&lt;/em&gt; road&amp;hellip;? 🤣&lt;/p&gt;
&lt;p&gt;Once the repo was in place, it was a pretty easy process to move my photos to Micro.Blog (thank you &lt;a href=&#34;https://redsweater.com/marsedit/&#34;&gt;MarsEdit&lt;/a&gt;) and the markdown code&amp;hellip;and there you have it, easy-peasy.&lt;/p&gt;
&lt;figure &gt;
    
        &lt;img src=&#34;https://lostinhaste.com/uploads/2023/first-plugin.png&#34; alt=&#34;Screen grab of my work on the Plugin page of Micro.blog&amp;#39;s Plug-in page.&#34; /&gt;
    
    
    &lt;figcaption&gt;
        &lt;p&gt;
        I have to say, it&amp;#39;s pretty darn cool to see my work (limited as it is) on the Plug-in page. 😄
        
            
        
        &lt;/p&gt; 
    &lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;p&gt;If you&amp;rsquo;re interested in the Plugin (and really, you shouldn&amp;rsquo;t be), it can be found on &lt;a href=&#34;https://github.com/lostinhaste/simple-image-plugin&#34;&gt;GitHub&lt;/a&gt;. If you want to use the plugin, documentation exists on &lt;a href=&#34;https://github.com/lostinhaste/simple-image-plugin&#34;&gt;GitHub&lt;/a&gt; or you can continue reading. 😂&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; In the code examples below, &lt;em&gt;curry brackets&lt;/em&gt; have been replaced with &lt;em&gt;straight ones&lt;/em&gt; so that Micro.Blog&amp;rsquo;s Hugo instance doesn&amp;rsquo;t crash / fail / give-up.&lt;/p&gt;
&lt;h3 id=&#34;image-only&#34;&gt;Image Only&lt;/h3&gt;
&lt;p&gt;The only required parameter for the shortcode / plugin is &lt;em&gt;src&lt;/em&gt;.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-hugo&#34; data-lang=&#34;hugo&#34;&gt;[[&amp;lt; simple-image src=&amp;quot;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;quot; &amp;gt;]]
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;result&#34;&gt;Result:&lt;/h4&gt;
&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-html&#34; data-lang=&#34;html&#34;&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;img&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;#34;&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure &gt;
    
        &lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&#34;  /&gt;
    
    
&lt;/figure&gt;
&lt;hr&gt;
&lt;h3 id=&#34;clickable-image&#34;&gt;Clickable Image&lt;/h3&gt;
&lt;p&gt;Including the &lt;em&gt;link&lt;/em&gt; parameter will allow the image to be clickable.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-hugo&#34; data-lang=&#34;hugo&#34;&gt;[[&amp;lt; simple-image src=&amp;quot;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;quot; link=&amp;quot;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&amp;quot; &amp;gt;]]
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;results&#34;&gt;Results:&lt;/h4&gt;
&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-html&#34; data-lang=&#34;html&#34;&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&amp;#34;&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;img&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;#34;&lt;/span&gt;&amp;gt;
    &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure &gt;
    &lt;a href=&#34;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&#34;&gt;
        &lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&#34;  /&gt;
    &lt;/a&gt;
    
&lt;/figure&gt;
&lt;hr&gt;
&lt;h3 id=&#34;image-with-caption--alt&#34;&gt;Image with Caption / Alt&lt;/h3&gt;
&lt;p&gt;Adding text in the  &lt;em&gt;alt&lt;/em&gt; parameter will result in the generation of an image with alternative text. If the &lt;em&gt;caption&lt;/em&gt; parameter is used, additional text will be rendered near the image, within the &lt;code&gt;figure&lt;/code&gt; html tag.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-hugo&#34; data-lang=&#34;hugo&#34;&gt;[[&amp;lt; simple-image src=&amp;quot;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;quot; alt=&amp;quot;View of the St. Lawrence River, with ice chunks occupying most of the surface, at night, with houses covered in snow and streets with lights at the bottom of the picture. On the upper part of the picture, across the river, lights can be seen up and down a bluff, with a few well-light buildings prominent in the cloudy night sky.&amp;quot; caption=&amp;quot;An icy view of lower Old Town Quebec during winter.&amp;quot; &amp;gt;]]
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;result-1&#34;&gt;Result:&lt;/h4&gt;
&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-html&#34; data-lang=&#34;html&#34;&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;img&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;alt&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;View of the St. Lawrence River, with ice chunks occupying most of the surface, at night, with houses covered in snow and streets with lights at the bottom of the picture. On the upper part of the picture, across the river, lights can be seen up and down a bluff, with a few well-light buildings prominent in the cloudy night sky.&amp;#34;&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt;
            An icy view of lower Old Town Quebec during winter.
        &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt; 
    &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure &gt;
    
        &lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&#34; alt=&#34;View of the St. Lawrence River, with ice chunks occupying most of the surface, at night, with houses covered in snow and streets with lights at the bottom of the picture. On the upper part of the picture, across the river, lights can be seen up and down a bluff, with a few well-light buildings prominent in the cloudy night sky.&#34; /&gt;
    
    
    &lt;figcaption&gt;
        &lt;p&gt;
        An icy view of lower Old Town Quebec during winter.
        
            
        
        &lt;/p&gt; 
    &lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;hr&gt;
&lt;h3 id=&#34;image-with-title--caption&#34;&gt;Image with Title / Caption&lt;/h3&gt;
&lt;p&gt;Adding the &lt;em&gt;title&lt;/em&gt; parameter will generate an &lt;code&gt;h4&lt;/code&gt; html tag within the greater &lt;code&gt;figure&lt;/code&gt; html tag.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-hugo&#34; data-lang=&#34;hugo&#34;&gt;[[&amp;lt; simple-image src=&amp;quot;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;quot; title=&amp;quot;Winter in Quebec&amp;quot; caption=&amp;quot;An icy view of lower Old Town Quebec during winter.&amp;quot; &amp;gt;]]
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;result-2&#34;&gt;Result:&lt;/h4&gt;
&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-html&#34; data-lang=&#34;html&#34;&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;img&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;#34;&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;alt&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;An icy view of lower Old Town Quebec during winter.&amp;#34;&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;h4&lt;/span&gt;&amp;gt;Winter in Quebec&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;h4&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt;
            An icy view of lower Old Town Quebec during winter.
        &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt; 
    &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure &gt;
    
        &lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&#34; alt=&#34;An icy view of lower Old Town Quebec during winter.&#34; /&gt;
    
    
    &lt;figcaption&gt;
        &lt;h4&gt;Winter in Quebec&lt;/h4&gt;
        &lt;p&gt;
        An icy view of lower Old Town Quebec during winter.
        
            
        
        &lt;/p&gt; 
    &lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;hr&gt;
&lt;h3 id=&#34;image-with-link&#34;&gt;Image with Link&lt;/h3&gt;
&lt;p&gt;Including the &lt;em&gt;attr&lt;/em&gt; and &lt;em&gt;attrlink&lt;/em&gt; parameters will allow for the creation of a hyperlink within the &lt;code&gt;figure&lt;/code&gt; html tag element.&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code class=&#34;language-hugo&#34; data-lang=&#34;hugo&#34;&gt;[[&amp;lt; simple-image src=&amp;quot;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;quot; attr=&amp;quot;Original Post&amp;quot; attrlink=&amp;quot;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&amp;quot; &amp;gt;]]
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id=&#34;results-1&#34;&gt;Results:&lt;/h4&gt;
&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-html&#34; data-lang=&#34;html&#34;&gt;&amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;img&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;src&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&amp;#34;&lt;/span&gt;&amp;gt;
    &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
        &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt;
            &amp;lt;&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt; &lt;span style=&#34;color:#a6e22e&#34;&gt;href&lt;/span&gt;&lt;span style=&#34;color:#f92672&#34;&gt;=&lt;/span&gt;&lt;span style=&#34;color:#e6db74&#34;&gt;&amp;#34;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&amp;#34;&lt;/span&gt;&amp;gt; 
                Original Post
            &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;a&lt;/span&gt;&amp;gt; 
        &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;p&lt;/span&gt;&amp;gt; 
    &amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figcaption&lt;/span&gt;&amp;gt;
&amp;lt;/&lt;span style=&#34;color:#f92672&#34;&gt;figure&lt;/span&gt;&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;figure &gt;
    
        &lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/winter-ice-and-light.jpg&#34;  /&gt;
    
    
    &lt;figcaption&gt;
        &lt;p&gt;
        
        &lt;a href=&#34;https://lostinhaste.com/2023/09/29/september-microblog-photo.html&#34;&gt; 
            Original Post of the photo...
        &lt;/a&gt; 
        &lt;/p&gt; 
    &lt;/figcaption&gt;
    
&lt;/figure&gt;
</description>
    </item>
    
    <item>
      <title>Markdown Linebreak in Hugo</title>
      <link>https://lostinhaste.com/2023/10/02/markdown-linebreak-in.html</link>
      <pubDate>Mon, 02 Oct 2023 14:03:06 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2023/10/02/markdown-linebreak-in.html</guid>
      <description>&lt;p&gt;My &lt;a href=&#34;https://lostinhaste.com&#34;&gt;primary website&lt;/a&gt; uses &lt;a href=&#34;https://gohugo.io&#34;&gt;Hugo&lt;/a&gt; for a variety of reasons and for the most part, I love it&amp;hellip;except when you run into odd edge-cases and the latest one: line-breaks using &lt;em&gt;Markdown&lt;/em&gt; aka the &lt;code&gt;&amp;lt;br /&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;
&lt;p&gt;After a little bit of research, I ended up creating a custom &lt;a href=&#34;https://gohugo.io/content-management/shortcodes/&#34;&gt;shortcode&lt;/a&gt; to handle the need / issue, naming it &lt;em&gt;&amp;ldquo;line-break.html&amp;rdquo;&lt;/em&gt;:&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/shortcodes.png&#34; alt=&#34;List of html files under the layouts / shortcodes directory structure.&#34; title=&#34;shortcodes.png&#34; border=&#34;0&#34; width=&#34;408&#34; height=&#34;174&#34; /&gt;
&lt;p&gt;To use the shortcode, I add &lt;code&gt;[[&amp;lt; line-break &amp;gt;]]&lt;/code&gt; &lt;em&gt;(I used regular brackets here, instead of curly ones, so this shortcode wouldn&amp;rsquo;t trip up Hugo)&lt;/em&gt; into my various markdown files and voila: line-breaks in the generated HTML!&lt;/p&gt;
&lt;img src=&#34;https://cdn.uploads.micro.blog/8317/2023/linebreaks.png&#34; alt=&#34;Screen grab of text, showing the newly created line-break tag at the end of each line.&#34; title=&#34;linebreaks.png&#34; border=&#34;0&#34; width=&#34;599&#34; height=&#34;126&#34; /&gt;
</description>
    </item>
    
    <item>
      <title></title>
      <link>https://lostinhaste.com/2023/06/08/i-have-a.html</link>
      <pubDate>Thu, 08 Jun 2023 08:46:25 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2023/06/08/i-have-a.html</guid>
      <description>&lt;p&gt;I have a love/hate relationship with unit testing but as they just caught a logic bug in some if/else statements, I won&amp;rsquo;t curse them out this morning. 🤣 #code&lt;/p&gt;
</description>
    </item>
    
    <item>
      <title>Entry Level Mistake </title>
      <link>https://lostinhaste.com/2021/07/14/entry-level-mistake.html</link>
      <pubDate>Wed, 14 Jul 2021 13:21:00 -0500</pubDate>
      
      <guid>http://lostinhaste.micro.blog/2021/07/14/entry-level-mistake.html</guid>
      <description>&lt;p&gt;We (my employer) recently parted ways with a development vendor and yesterday I was combing through various repositories, cleaning up the nightmare that was their branching strategy (or lack thereof) when I stumbled across this little gem:&lt;/p&gt;
&lt;figure &gt;
    
        &lt;img src=&#34;https://lostinhaste.com/uploads/2023/bad-code.png&#34; alt=&#34;Screenshot a GIT commit with easily-guessed, hard-coded passwords...with a comment about needing to change the passwords...&#34; /&gt;
    
    
    &lt;figcaption&gt;
        &lt;p&gt;
        Bad Code: Hard-coded passwords and a comment acknowledging the problem
        
            
        
        &lt;/p&gt; 
    &lt;/figcaption&gt;
    
&lt;/figure&gt;
&lt;p&gt;Two thought immediately popped into my head:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Why would you hard-code credentials into your application?&lt;/li&gt;
&lt;li&gt;Why wouldn&amp;rsquo;t you have stronger credentials right off the bat?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I have to take some of the accountability here; as the Lead at my company, code quality falls within my realm of responsibility. Thankfully, this commit never made it out of the &lt;em&gt;Development&lt;/em&gt; branch&amp;hellip;but it&amp;rsquo;s all to easy to imagine this sort of problem making it&amp;rsquo;s way up the chain, into Production. Honestly, I never thought I&amp;rsquo;d have to add &lt;em&gt;&amp;ldquo;do &lt;strong&gt;NOT&lt;/strong&gt; hard-code credentials&amp;rdquo;&lt;/em&gt; into
our guidelines for new developers but then, I&amp;rsquo;ve been wrong about a lot of things in my career&amp;hellip; 😄&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;On a lark, I took my Mac down the hall to our cyber security expert and asked her to spot the problem. It took her all of ten seconds to start laughing. Once she was able to stop giggling, she offered two bits of advice:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Stash this sort of issue in your &lt;em&gt;&amp;ldquo;this is bad code&amp;rdquo;&lt;/em&gt; file to show to junior developers as a teachable moment.&lt;/li&gt;
&lt;li&gt;Look into something called &lt;a href=&#34;https://www.sonarqube.org&#34;&gt;SonarQube&lt;/a&gt; to help automate the detection of potential security issues in source code.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It&amp;rsquo;s an old, tired stereotype that developers hate interacting with security folks but every time I talk with our cyber security expert, I get homework&amp;hellip;and that&amp;rsquo;s an absolutely wonderful thing; when we stop learning, we start to degrade.&lt;/p&gt;
&lt;hr&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; This post is from my &lt;em&gt;old&lt;/em&gt; site and was ported over into Micro.Blog &lt;a href=&#34;https://lostinhaste.com/2023/11/02/migrating-from-hugo.html&#34;&gt;when I consolidated&lt;/a&gt; from two sites into one. All of the &lt;em&gt;migrated&lt;/em&gt; posts &lt;a href=&#34;https://lostinhaste.com/categories/migrated/&#34;&gt;can be found here&lt;/a&gt;.&lt;/p&gt;
&lt;/blockquote&gt;
</description>
    </item>
    
  </channel>
</rss>