<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <generator uri="https://gohugo.io/" version="0.112.5">Hugo</generator>
    <title>Skjutare.eu</title>
        <subtitle>About stuff that matters to me.</subtitle>
            <link href="https://skjutare.eu/" rel="alternate" type="text/html" title="html" />
            <link href="https://skjutare.eu/feed.xml" rel="self" type="application/atom+xml" title="Atom" />
    <updated>2023-05-31T07:30:59+00:00</updated>
    <id>https://skjutare.eu/</id>
        <entry>
            <title>Embracing GoHugo: Why I Chose It for My Blog Site, Skjutare.eu</title>
            <link href="https://skjutare.eu/posts/my-first-hugo-post/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/my-first-hugo-post/</id>
            <published>2023-03-31T00:00:00+00:00</published>
            <updated>2023-03-31T00:00:00+00:00</updated>
            <content type="html">
                &lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;introduction&#34;&gt;
        Introduction
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#introduction&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor Introduction&#34; href=&#34;#introduction&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;As a passionate content creator, the decision to pick the right platform for my blog site, Skjutare.eu, was crucial. After researching various options, I finally landed on GoHugo as the ultimate choice. In this blog post, I will share the key reasons why I selected GoHugo to generate my blog site, highlighting its advantages over other static site generators and content management systems.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;1-speed-and-performance&#34;&gt;
        1. Speed and Performance
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#1-speed-and-performance&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 1. Speed and Performance&#34; href=&#34;#1-speed-and-performance&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;One of the primary reasons I chose GoHugo was its incredible speed. Built using Go, a statically typed, compiled language, GoHugo is known for generating web pages at lightning speed. This not only helps in reducing site load times, but also contributes to an improved user experience and better search engine rankings.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;2-ease-of-use&#34;&gt;
        2. Ease of Use
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#2-ease-of-use&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 2. Ease of Use&#34; href=&#34;#2-ease-of-use&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;GoHugo&amp;rsquo;s simple and straightforward structure makes it easy to set up and maintain. With minimal learning curve, I quickly adapted to its environment and found it convenient to create content, modify themes, and manage my blog site. Moreover, the comprehensive documentation available on GoHugo&amp;rsquo;s website made it even simpler to get started.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;3-markdown-support&#34;&gt;
        3. Markdown Support
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#3-markdown-support&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 3. Markdown Support&#34; href=&#34;#3-markdown-support&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;As a content creator, I appreciate GoHugo&amp;rsquo;s support for Markdown, a lightweight markup language that allows me to write content in plain text while retaining the formatting options I need. This means I can focus on creating engaging content without getting bogged down in complex HTML or CSS.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;4-flexibility-and-customization&#34;&gt;
        4. Flexibility and Customization
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#4-flexibility-and-customization&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 4. Flexibility and Customization&#34; href=&#34;#4-flexibility-and-customization&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;GoHugo provides a wide range of built-in themes and templates, which I could easily adapt to fit the look and feel of Skjutare.eu. The platform also supports custom shortcodes and layouts, enabling me to tailor my blog site to my specific requirements, and create a unique online presence.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;5-version-control-with-git&#34;&gt;
        5. Version Control with Git
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#5-version-control-with-git&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 5. Version Control with Git&#34; href=&#34;#5-version-control-with-git&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;As someone who values organization and version control, GoHugo&amp;rsquo;s seamless integration with Git was a major selling point. I can now easily track changes, collaborate with others, and maintain a well-organized codebase, ensuring my blog site remains in sync with my latest updates.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;6-free-and-open-source&#34;&gt;
        6. Free and Open Source
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#6-free-and-open-source&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 6. Free and Open Source&#34; href=&#34;#6-free-and-open-source&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Being an open-source platform, GoHugo grants me the freedom to modify, redistribute, and contribute to its development. This not only ensures that I have full control over my blog site, but also provides me with a robust and growing community of developers and users who continuously improve and expand the platform.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;7-scalability-and-security&#34;&gt;
        7. Scalability and Security
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#7-scalability-and-security&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor 7. Scalability and Security&#34; href=&#34;#7-scalability-and-security&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;GoHugo generates static HTML files, which means my blog site is inherently more secure than dynamic sites built using traditional content management systems. Additionally, static sites are easily scalable, ensuring that Skjutare.eu can grow seamlessly without any performance issues or limitations.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h2 id=&#34;conclusion&#34;&gt;
        Conclusion
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/my-first-hugo-post/#conclusion&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor Conclusion&#34; href=&#34;#conclusion&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Selecting GoHugo to generate my blog site, Skjutare.eu, has proved to be a smart decision. Its speed, ease of use, customization options, and scalability have allowed me to build a blog site that not only meets my needs but also provides an enjoyable experience for my readers. If you&amp;rsquo;re considering a static site generator for your next project, I highly recommend giving GoHugo a try!&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/gohugo" term="gohugo" label="GoHugo" /> 
                                <category scheme="https://skjutare.eu/tags/static-site-generator" term="static-site-generator" label="Static Site Generator" /> 
                                <category scheme="https://skjutare.eu/tags/blogging" term="blogging" label="Blogging" /> 
                                <category scheme="https://skjutare.eu/tags/web-development" term="web-development" label="Web Development" /> 
                                <category scheme="https://skjutare.eu/tags/chat-gpt-4" term="chat-gpt-4" label="Chat GPT-4" />
        </entry>
        <entry>
            <title>Clean code and TDD cheat sheets</title>
            <link href="https://skjutare.eu/posts/clean-code-and-tdd-cheat-sheets/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/clean-code-and-tdd-cheat-sheets/</id>
            <published>2010-09-20T00:00:00+00:00</published>
            <updated>2010-09-20T00:00:00+00:00</updated>
            <content type="html">
                &lt;p&gt;Found two nicely made cheat sheets for Clean Code and TDD.&lt;/p&gt;
&lt;p&gt;You can find them &lt;a href=&#34;https://www.planetgeek.ch/2011/01/04/clean-code-and-clean-tdd-cheat-sheets/&#34; target=&#34;_blank&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/tdd" term="tdd" label="TDD" /> 
                                <category scheme="https://skjutare.eu/tags/java" term="java" label="Java" /> 
                                <category scheme="https://skjutare.eu/tags/clean-code" term="clean-code" label="Clean Code" />
        </entry>
        <entry>
            <title>Postgresql 9.0 released</title>
            <link href="https://skjutare.eu/posts/postgresql-9-0-released/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/postgresql-9-0-released/</id>
            <published>2010-09-11T00:00:00+00:00</published>
            <updated>2010-09-11T00:00:00+00:00</updated>
            <content type="html">
                &lt;p&gt;A new major version of PostgreSQL has arrived which is even closer to the Oracle feature set.&lt;/p&gt;
&lt;p&gt;Read more about the features here &lt;a href=&#34;http://wiki.postgresql.org/wiki/What&#39;s_new_in_PostgreSQL_9.0&#34; target=&#34;_blank&#34;&gt;What&amp;rsquo;s new in PostgreSQL 9.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Looking forward taking it out for a test spin.&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/database" term="database" label="database" />
        </entry>
        <entry>
            <title>Offsite backup</title>
            <link href="https://skjutare.eu/posts/offsite-backup/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/offsite-backup/</id>
            <published>2009-08-06T06:06:00+01:00</published>
            <updated>2009-08-06T06:06:00+01:00</updated>
            <content type="html">
                &lt;p&gt;I have been evaluating a solution for offsite backup to Amazon S3. The software I have been using is JungleDisk, I went for the pre payed version without online web access, which I felt was out of scope for my needs. This since what I have access to my files over the Internet via VPN.&lt;/p&gt;
&lt;p&gt;So far I have 25GB of data on S3, the majority is photos, the rest are documents and software projects. I&amp;rsquo;ve choosen to only include data uniq to me. Since there is absolutly no need to backup the system drive with the operating system and application, these are easier to reinstall, it will also be a better result since the restore is happening because of hardware failure.&lt;/p&gt;
&lt;p&gt;Apart from the initial cost of $20 for JungleDisk, and the high transfer costs to amazon the first months. My montly cost have now stabalized at about $7 per month. Which is cheap in my eyes for what I&amp;rsquo;m getting, a highly encrypted offsite storage of my important files. The only thing that could be better was if I could use a opensource software instead of jungledisk, that would feel better since then I wouldn&amp;rsquo;t be dependant on a company for future updates. I could then do them myself if all else failed.&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/backup" term="backup" label="backup" /> 
                                <category scheme="https://skjutare.eu/tags/offsite" term="offsite" label="offsite" />
        </entry>
        <entry>
            <title>Safer storage for my files</title>
            <link href="https://skjutare.eu/posts/safer-storage-for-my-files/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/safer-storage-for-my-files/</id>
            <published>2009-04-02T11:11:00+01:00</published>
            <updated>2009-04-02T11:11:00+01:00</updated>
            <content type="html">
                &lt;p&gt;Recently I have had trouble with an raid in my main computer. I haven&amp;rsquo;t gotten an definitive answer for what the faults are. I say faults since it&amp;rsquo;s the same problem with two identical disks. Both has a delayed write problem in windows, even through one is failing ten times as much as the other one.&lt;/p&gt;
&lt;p&gt;This trouble has renewed my interest in better and safer storage solution.&lt;/p&gt;
&lt;p&gt;As it looks now is that I&amp;rsquo;m going to end up with a solution based on zfs. And then share this storage via samba, nfs and so on.&lt;/p&gt;
&lt;p&gt;What I still has to solve is backup, I would like an offsite solution.&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/raid" term="raid" label="raid" /> 
                                <category scheme="https://skjutare.eu/tags/zfs" term="zfs" label="zfs" /> 
                                <category scheme="https://skjutare.eu/tags/storage" term="storage" label="storage" />
        </entry>
        <entry>
            <title>Mocking can be too powerful</title>
            <link href="https://skjutare.eu/posts/mocking-can-be-too-powerful/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/mocking-can-be-too-powerful/</id>
            <published>2009-03-31T19:23:00+01:00</published>
            <updated>2009-03-31T19:23:00+01:00</updated>
            <content type="html">
                &lt;p&gt;Today I was on a JUG lecture about PowerMock. At first glance it looks as the savior for testing legacy code. But that&amp;rsquo;s just what it is, it only looks like it will work in a real world case. The only case where it will do good work, is when you want to add test coverage on some legacy code, so that you can do a complicted refactoring to improve the design.
I say complicated refactoring because simple refactorings are built in to our IDE&amp;rsquo;s, and they have their own tests that proves that they work.&lt;/p&gt;
&lt;p&gt;If you are thinking that adding PowerMock to your project will automatically break the downward spiral of the code base, without setting strict guidelines on its use cases you will increase the rate of code base decline.&lt;/p&gt;
&lt;p&gt;To conclude PowerMock is valid as a tool to be used as a refactoring aid to help with opening up a class for proper testing, nothing more.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://www.powermock.org&#34;&gt;PowerMock&lt;/a&gt;&lt;/p&gt;

            </content>  
        </entry>
        <entry>
            <title>Republish: FreeBSD 6.0 &amp; cvsd</title>
            <link href="https://skjutare.eu/posts/freebsd-60-cvsd/" rel="alternate" type="text/html"  hreflang="en" />
            <id>https://skjutare.eu/posts/freebsd-60-cvsd/</id>
            <published>2006-01-24T14:12:00+01:00</published>
            <updated>2006-01-24T14:12:00+01:00</updated>
            <content type="html">
                &lt;p&gt;&lt;strong&gt;&lt;span style=&#34;color: #ff0000;&#34;&gt;Republishing a post from my old &lt;a href=&#34;http://jroller.com/skjutare/entry/freebsd_6_0_cvsd&#34;&gt;jroller blog&lt;/a&gt;.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After searching the net for an several hours i found the solution on a german blog, I decided to publish the english translation.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h3 id=&#34;the-problem&#34;&gt;
        The Problem:
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/freebsd-60-cvsd/#the-problem&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor The Problem:&#34; href=&#34;#the-problem&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;When running cvsd-buildroot there is a error message in the output:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Creating /var/lib/cvsd/dev devices... FAILED (unable to use devices)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;If you ignore the error an try to access the CVS Repository you get the folowing error &amp;ldquo;open /dev/null failed&amp;rdquo; - even if the jail has sufficent rights.&lt;/p&gt;
&lt;p&gt;I found the solution on a german blog, who found the solution on a korean blog entry.&lt;/p&gt;
&lt;div class=&#34;gblog-post__anchorwrap&#34;&gt;
    &lt;h3 id=&#34;solution&#34;&gt;
        Solution:
        &lt;a data-clipboard-text=&#34;https://skjutare.eu/posts/freebsd-60-cvsd/#solution&#34; class=&#34;gblog-post__anchor clip flex align-center&#34; aria-label=&#34;Anchor Solution:&#34; href=&#34;#solution&#34;&gt;
            &lt;svg class=&#34;gblog-icon gblog_link&#34;&gt;&lt;use xlink:href=&#34;#gblog_link&#34;&gt;&lt;/use&gt;&lt;/svg&gt;
        &lt;/a&gt;
    &lt;/h3&gt;
&lt;/div&gt;
&lt;p&gt;&lt;em&gt;/etc/fstab&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;devfs                   /var/lib/cvsd/dev       devfs   rw      0       0
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;/etc/rc.conf&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;devfs_rulesets=&amp;quot;/etc/defaults/devfs.rules /etc/devfs.rules&amp;quot;
devfs_set_rulesets=&amp;quot;/var/lib/cvsd/dev=devfsrules_cvsd_jail&amp;quot;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;/etc/devfs.rules&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[devfsrules_cvsd_jail=10]
add hide
add path null unhide
add path zero unhide
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;Mount using:&lt;/em&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;# mount /var/lib/cvsd/dev
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;a href=&#34;http://www.bluelife.at/articles/40/&#34;&gt;German blog entry&lt;/a&gt;&lt;/p&gt;

            </content>   
                                <category scheme="https://skjutare.eu/tags/cvs" term="cvs" label="cvs" /> 
                                <category scheme="https://skjutare.eu/tags/cvsd" term="cvsd" label="cvsd" /> 
                                <category scheme="https://skjutare.eu/tags/freebsd" term="freebsd" label="freebsd" />
        </entry>
</feed>
