<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Luke Mallon on Medium]]></title>
        <description><![CDATA[Stories by Luke Mallon on Medium]]></description>
        <link>https://medium.com/@nalum?source=rss-aadcac62fcf0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*VDhRiZN4VrXDU0QwSeuriA.png</url>
            <title>Stories by Luke Mallon on Medium</title>
            <link>https://medium.com/@nalum?source=rss-aadcac62fcf0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 15:12:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nalum/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Linux Setup: Arch]]></title>
            <link>https://medium.com/@nalum/linux-setup-arch-7804e5071ed1?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7804e5071ed1</guid>
            <category><![CDATA[arch]]></category>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[linux-setup]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[arch-linux]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Mon, 06 Aug 2018 16:54:58 GMT</pubDate>
            <atom:updated>2018-08-06T17:02:26.401Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why Arch Linux?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCvTXVkWKMzF_uWXsk6XNQ.png" /><figcaption><a href="https://www.archlinux.org/art/">https://www.archlinux.org/art/</a></figcaption></figure><p>As with any Linux distribution there are any number of reasons to choose, my choice of Arch Linux is based on the principles as described on the Arch Linux <a href="https://wiki.archlinux.org/index.php/Arch_Linux">Wiki</a>. Those principles are as follows:</p><ul><li>Simplicity</li><li>Modernity</li><li>Pragmatism</li><li>User centrality</li><li>Versatility</li></ul><p>If you want to understand what each of those words mean to the project I suggest reading the wiki page linked above. It also includes a short history which might be of interest. You can view a short comparison of Arch Linux to other distributions <a href="https://wiki.archlinux.org/index.php/Arch_compared_to_other_distributions">here</a>.</p><p>As well as the above, I was attracted to the community that I saw around Arch Linux, one which seemed to be welcoming and attempting to educate in a meaningful way (though perhaps that is just a slant I’ve put on it). If you are interested in learning more about the community a good place to start is probably the <a href="https://wiki.archlinux.org/index.php/Code_of_conduct">Code of Conduct</a>.</p><h4>Initial Package Setup</h4><p>As well as installation of the <a href="https://www.archlinux.org/groups/x86_64/base/"><em>base</em></a> package group I have installed the <a href="https://www.archlinux.org/groups/x86_64/base-devel/"><em>base-devel</em></a> package group. This sets up a base installation of Arch Linux with development tools. At this point we don’t have a desktop environment or window manager. In addition to these two groups I have installed a set of packages that I have picked up over the years:</p><ul><li>rxvt-unicode - This was something I came across while looking into AwesomeWM, I’m not sure if I’ll keep it or switch to something else.</li><li><a href="https://www.vim.org/">Vim</a> - This is unlikely to change anytime soon.</li><li><a href="https://www.passwordstore.org/">pass</a> - I use this with my PGP key as my password manager.</li><li><a href="https://www.zsh.org/">ZSH</a> - This is also unlikely to change soon, I use it with <a href="https://ohmyz.sh/">oh-my-zsh,</a> though I think I might move away from that eventually.</li><li><a href="https://www.docker.com/">Docker</a> - This is the current go-to container tech and at least professionally it is likely to stick around, I do plan on checking out other container tech to use both personally and professionally.</li><li><a href="https://github.com/tmux/tmux/wiki">tmux</a> - I picked this up recently having seen it in use and been recommended from colleagues, before this I used <a href="https://www.gnu.org/software/screen/">screen</a> intermittently.</li><li><a href="https://awesomewm.org/">AwesomeWM</a> - This is a very recent change, before this I had mostly used Gnome with a sprinkling of KDE here and there.</li><li><a href="https://www.mozilla.org/en-US/firefox/developer/">Firefox Developer Edition</a> - I have bounced between Google Chrome and Firefox for a while, but the recent release of Firefox has brought me back to it.</li><li><a href="https://syncthing.net/">Syncthing</a> - I found this in the last 2–3 months and gave it a shot, I’m using it to sync files across multiple systems to share, not only documents but, config files that don’t need to be specific to the system using it (e.g. <em>~/.vimrc</em>, <em>~/.zshrc</em>). I will also be using git to track file changes.</li></ul><p>There are more but I’ll leave the list at this for the moment.</p><h4>Goal</h4><p>There are four main goals with this project:</p><ul><li>Increase my understanding of Linux, the kernel as well as the distribution built on top of it (in this case Arch).</li><li>Have a setup script that will install packages, do some initial setup around non-shared configuration and pull shared configuration from a remote location.</li><li>Be minimal in terms of installed packages, supporting day to day use of the system as well as personal and professional projects that need to be worked on.</li><li>Privacy, in the last decade or more privacy has been something that I have thought about a good bit but not put a huge amount of effort into taking proper precautions for myself.</li></ul><p>I am open to suggestions on what software to use whether new or alternatives to anything in use. There are multiple SaaS products that I use and want to move away from (e.g. GMail → ProtonMail, Google Calendar → calcurses) and will be looking to document these as well.</p><h4>Coming Up</h4><p>In the next post I will go over the setup of AwesomeWM, as I said this is very recent so the configuration of this is fairly basic at the moment but it appears to be highly customisable and I intend to get to the point of not needing to use a mouse where ever it is possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7804e5071ed1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linux Setup]]></title>
            <link>https://medium.com/@nalum/linux-setup-5aaffe33c50?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5aaffe33c50</guid>
            <category><![CDATA[setup]]></category>
            <category><![CDATA[linux-setup]]></category>
            <category><![CDATA[arch-linux]]></category>
            <category><![CDATA[arch]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Fri, 03 Aug 2018 17:46:01 GMT</pubDate>
            <atom:updated>2018-08-06T17:03:34.677Z</atom:updated>
            <content:encoded><![CDATA[<p>My history with Linux has gone from initial introduction by a friend back in the mid to late 90’s with Red Hat Linux, I’d then looked into it a bit further and heard of Slackware and Debian. From initial messing around in Red Hat I moved on to Debian and continued to use Windows (mostly for games, what else?) and just sort of tried Linux every now and then until Ubuntu arrived, at which point I made the switch from Windows to Ubuntu as my daily driver, experimenting with Wine for games while ultimately dual booting Windows to continue with my gaming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tCvTXVkWKMzF_uWXsk6XNQ.png" /><figcaption><a href="https://www.archlinux.org/art/">https://www.archlinux.org/art/</a></figcaption></figure><p>Over the last 2 or 3 years I have been experimenting more and looking at other distributions and landed on Arch Linux. What intrigued me about Arch was that it’s not Ubuntu, in order to install and run you need to get deeper into the OS and while you can blindly copy and paste to get a working Arch install you are encouraged, by documentation and community, to learn what it is you are doing, to become more self sufficient with the systems involved in running a Linux based OS. So I’ve decided to write up a description of my setup as a series of blog posts covering what it is I’m using, why I’m using it and how I have it setup.</p><p>What I find great about Linux based OS’ is that you can customise it to work exactly how you want, you are in total control. This openness or freedom of movement can be overwhelming and has likely put a lot of people off, which is where Ubuntu (among others) came in, trying to make it easier and less involved to setup and maintain your PC OS.</p><p>So this is a post about future posts about my Arch Linux setup. There isn’t much in here but in the coming weeks I plan to show it all and explain what I can and learn more from the process and from you, the reader. I am by no means finished in the setup, much is left to get right but I want to document where I am with it and get further ideas on where I want to bring it.</p><p>P.S. for those who started reading my Dwarf Fortress series, my dog ate my save file and I couldn’t continue it, though expect to see another started at some point in the near future.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fq8GP65DqnfdwZK-K0sfEg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5aaffe33c50" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Diary of Inod Stonsarvesh]]></title>
            <link>https://medium.com/@nalum/diary-of-inod-stonsarvesh-c430067698d0?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c430067698d0</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[dwarf-fortress]]></category>
            <category><![CDATA[libashnokzam]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Sun, 23 Apr 2017 21:47:56 GMT</pubDate>
            <atom:updated>2017-04-23T21:47:56.364Z</atom:updated>
            <content:encoded><![CDATA[<h4>Entry: <em>125-01-15</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*UkKVpiBLOb5cg9WSU0uLqA.png" /></figure><p>We have arrived at Libashnokzam, our new home. I have asked Zon and Catten to begin work on digging down into the earth. They begin to dig a little north of the road and west of the river, currently frozen solid (<em>Note to self: we will need to do something to provide a water source, that does not freeze over, before the coming winter</em>). Without prompt I saw Mozum follow Zon and Catten with his axe. I trust that she is taking down some trees.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*66yA0wnNqp8_GFt5YDJB-Q.png" /></figure><h4><strong>Entry: 125–01–16</strong></h4><p>I have asked for the deconstruction of our cart, we can make use of the materials later on.</p><h4>Entry: 125–01–17</h4><p>Zon and Catten appear to have started digging out the first open space in our fortress. I plan to start a farm here. They have also informed me that we now have reached a layer of obsidian. Previous layers included sand, loam and clay. I have also asked them to dig a similar space and tunnels to the other side of the stairs. This will be the start of our stockpile.</p><h4>Entry: 125–01–21</h4><p>The first open space is mostly dug out, enough that we can start the farm. I do not know the why of how they dig, but they are digging. Zulban will start to farm over the next few days. He tells me that he will grow plump helmets for the first few seasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/562/1*aktOY7u3KqEDwqNDNzCNMQ.png" /></figure><h4>Entry: 125–01–25</h4><p>Our farm and stockpiles are now complete and we must get our stocks brought in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/416/1*jo-eRMew7CdL0_QzHOm_jA.png" /></figure><h4>Entry: 125–01–28</h4><p>I have requested a hall to be dug out and I also must get spaces dug out for some workshops and a space for beds, a shared room will have to do for now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c430067698d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dwarf Fortress]]></title>
            <link>https://medium.com/@nalum/dwarf-fortress-72ad30184fd8?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/72ad30184fd8</guid>
            <category><![CDATA[dwarf-fortress]]></category>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[libashnokzam]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Tue, 18 Apr 2017 19:47:10 GMT</pubDate>
            <atom:updated>2017-04-18T21:46:23.509Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dwarf Fortress: Libashnokzam</h3><p>This series follows the story of Öntak Nam as they set forth to establish their stake on the word. Outlined here are some details about the world and the Dwarves who set out on this journey.</p><p><strong>Version:</strong> <a href="http://www.bay12games.com/dwarves/df_43_05_linux.tar.bz2">Linux 0.43.05</a> (<a href="http://www.bay12games.com/dwarves">site</a>)<br><strong>Tileset:</strong> <a href="http://github.com/DFgraphics/CLA">CLA</a><br><strong>Date:</strong> 125 Granite 15</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dbpkbLhiV9uSHIEqGBLWHw.png" /><figcaption>The Everlasting Planet</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*16Yf6AiJ_UyI7a3TVAmMsA.png" /><figcaption>The Continent of Cremation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C_9lhZKk6Y5JkVCwUG82ng.png" /><figcaption>Libashnokzam - Öntak Nam</figcaption></figure><p><em>You have arrived. After a journey from the Mountainhome into the forbidding wilderness beyond, your harsh trek has finally ended. Your party of seven is to make their outpost for the glory of all of Lamesurist.</em></p><p><em>There are almost no supplies left, but with stout labor comes sustenance. Whether by bolt, plow or hook, provide for your dwarves. You are expecting a supply caravan just before winter entombs you, but it is spring now. Enough time to delve secure lodgings, ere the dingoes get hungry. A new chapter of dwarven history begins here at this place, Libashnokzam “Axebattle”. Strike the earth!</em></p><p>Öntak Nam is the name taken by this group of Dwarves, they have set out from their home of Lamesurist in an attempt to make their own fortunes. Listed below is each member of the group which will link to their profile.</p><p><a href="https://luke.mallon.io/zon-shin%C3%AEton-15640da57e46">Zon Shinîton, Miner</a><br><a href="https://luke.mallon.io/inod-stonsarvesh-27067434801e">Inod Stonsarvesh, Appraiser/Leader</a><br><a href="https://luke.mallon.io/b%C3%ABmul-adildural-ee17caaaa70f">Bëmul Adildural, Carpenter</a><br><a href="https://luke.mallon.io/momuz-uzolunib-f971fbbba232">Momuz Uzolunib, Wood Cutter</a><br><a href="https://luke.mallon.io/zulban-cerolilush-911ce24d4e7">Zulban Cerolilush, Planter</a><br><a href="https://luke.mallon.io/%C3%AEton-thobenkos-331bf1fc225f">Îton Thobenkos, Mechanic</a><br><a href="https://luke.mallon.io/catten-inethtobul-92d82ebb9396">Catten Inethtobul, Mason/Miner</a></p><p>My plan is to run a new post at least once a week, though we will see if there is enough warrent that and adjust as required. I look forward to this journey and the events that unfold around the Fortress of Libashnokzam and I hope those of you that join enjoy it too.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72ad30184fd8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KuBerryPi]]></title>
            <link>https://medium.com/axonista-hq/kuberrypi-8106baf93238?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/8106baf93238</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Tue, 14 Feb 2017 14:12:39 GMT</pubDate>
            <atom:updated>2017-02-17T10:51:08.632Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Occasionally we like to take a break from writing about the future of TV and publish thoughts from a member of the Axonista technical team.</em></p><p><em>Here’s Luke on replicating the complex cloud infrastructure that our video content platform is built on — on a cluster of Raspberry Pis.</em></p><p><em>This one’s for the nerds ;-)</em></p><p><em>Originally posted on </em><a href="https://luke.mallon.io/kuberrypi-61dacf34c158"><em>luke.mallon.io</em></a></p><p>I’m going to run through what is needed to get Kubernetes running on a cluster of Raspberry Pi 3 machines. Thankfully with the addition of kubeadm this has become fairly trivial. The getting started guide for <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/">kubeadm</a> can give you more information about the tool itself, I’ll outline the steps here but feel free to go to that getting started guide.</p><p>There are a few blog posts out there that discuss doing this and suggest using <a href="http://blog.hypriot.com/">hypriot</a> (because docker didn’t officially support the arm architecture) as the OS to use. I’m going to do this with Raspbian Jessie Lite (because docker now officially supports the arm architecture) which can be downloaded <a href="https://www.raspberrypi.org/downloads/raspbian/">here</a>. I’m running Debian so the commands will work for the majority of Linux systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gXhxuMA-VMQFLFxAyZavFQ.jpeg" /></figure><p>You can setup a single node or multi-node cluster of Pi. The Pi 3 is recommended because it comes with 1GB of RAM which leaves you more RAM to run your own systems on the cluster than the 512MB version.</p><p>To get started you’ll need to have an SD Card (I’ve used 64GB cards without issue) and load the Raspbian Jessie Lite image onto the card. You can do this using the dd command. First let’s make sure we’re using the right device on the system as we don’t want to overwrite our OS drive.</p><pre>$ df -h # This command is showing mounted volumes, you should see your sdcard listed here.<br>Filesystem                    Size  Used Avail Use% Mounted on<br>/dev/sda1                     8.2G  7.0G  801M  90% /<br>udev                           10M     0   10M   0% /dev<br>tmpfs                         3.2G  9.2M  3.2G   1% /run<br>tmpfs                         7.9G  507M  7.4G   7% /dev/shm<br>tmpfs                         5.0M  4.0K  5.0M   1% /run/lock<br>tmpfs                         7.9G     0  7.9G   0% /sys/fs/cgroup<br>/dev/sda2                     237M   42M  183M  19% /boot<br>tmpfs                         1.6G   56K  1.6G   1% /run/user/1000<br>/dev/sdb                       64G     0   64G   0% /mnt/nalum/sd</pre><p>In this we can see that there are 3 mounted partitions for me, the drive I’m looking for is /dev/sdb. For you this could be something like /dev/mmcblk0. If you see sdb1 rather than sdb you’ll want to remove the digit or in the case of mmcblk0p1 you’ll want to remove the p1. We can double check that this is correct by running the command ls -lah /dev/mmcblk0* this will result in something like the following output.</p><pre>$ ls -lah /dev/mmcblk0*<br>brw-rw---- 1 root disk 8, 0 Dec 15 09:43 /dev/mmcblk0<br>brw-rw---- 1 root disk 8, 1 Dec 15 09:43 /dev/mmcblk0p1</pre><p>As you can see we have mmcblk0 and mmcblk0p1, mmcblk0 is the whole device and mmcblk0p1 is a partition on that device, there can be multiple partitions and there will be two after the Raspbian image is applied to the SDCard. We apply the Raspbian image to the SD card by using the following command:</p><blockquote><strong><em>NOTE</em></strong><em>:</em> This command will replace the contents of a drive (HDD, SSD, SDCard, etc), be absolutely certain that you are running it against the correct drive.</blockquote><pre>$ sudo dd bs=4M if=/path/to/raspbian.image of=/dev/sdb<br>$ sync</pre><p>The Raspberry Pi site notes that if bs=4M doesn’t work change it to bs=1M and that it will take longer with that setting. Running sync will make sure that it is safe to unmount the SD Card. Check <a href="https://www.raspberrypi.org/documentation/installation/installing-images/">here</a> for full installation instructions for Linux, Mac OS and Windows.</p><p>The next step is to boot the Raspberry Pi using the SD Cards you’ve setup. You will need to plug a monitor and keyboard directly into at least one Pi as SSH has been disabled by default on the Raspbian since <a href="https://www.raspberrypi.org/documentation/remote-access/ssh/">November 2016</a>.</p><p>The following set of commands need to be run on each of the Raspbian installs. They will install any available updates, vim, docker and kubernetes and make changes to some files enabling ssh and setting a cgroup config for kubernetes/docker.</p><pre>$ sudo su<br>$ apt-get update<br>$ apt-get upgrade -y<br>$ apt-get install -y vim<br>$ vim /etc/hostname<br>## Replace contents with kubenode[0-9]{2,}</pre><p>So if you run cat /etc/hostname you should see something like the following: kubenode00</p><pre>$ touch /boot/ssh<br>$ vim /boot/cmdline.txt<br>## Add `cgroup_enable=cpuset` before `elevator=deadline`</pre><p>If you run cat /boot/cmdline.txt you should see something like the following:</p><pre>dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=cpuset elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh</pre><p>Now we will install docker and kubernetes and reboot:</p><blockquote><strong><em>NOTE:</em></strong> The first curl command can be very dangerous, 1) because we ran sudo su at the beginning of this and 2) because you don’t know what is in the file you piped into sh. So I very much recommend that you download the file and have a look at what it is doing to make sure you are happy running it.</blockquote><pre>$ curl -sSL <a href="https://get.docker.com/">https://get.docker.com</a> | sh<br>$ curl -s <a href="https://packages.cloud.google.com/apt/doc/apt-key.gpg">https://packages.cloud.google.com/apt/doc/apt-key.gpg</a> | apt-key add -<br>$ echo &quot;deb <a href="http://apt.kubernetes.io/">http://apt.kubernetes.io/</a> kubernetes-xenial main&quot; &gt; /etc/apt/sources.list.d/kubernetes.list<br>$ apt-get update<br>$ apt-get install -y kubelet kubeadm kubectl kubernetes-cni<br>$ reboot now</pre><p>The following set of commands should be run on one Raspbian install which will setup the master Kubernetes node:</p><pre>$ sudo su<br>$ kubeadm init --pod-network-cidr=10.244.0.0/16 --use-kubernetes-version=v1.5.2<br>$ curl -sSL &quot;<a href="https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml?raw=true">https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml?raw=true</a>&quot; | sed &quot;s/amd64/arm/g&quot; | kubectl create -f -</pre><p>The kubeadm init command will produce output like the following:</p><pre>[kubeadm] WARNING: kubeadm is in alpha, please do not use it for production clusters.<br>[preflight] Running pre-flight checks<br>[init] Using Kubernetes version: v1.5.1<br>[tokens] Generated token: &lt;token&gt;<br>[certificates] Generated Certificate Authority key and certificate.<br>[certificates] Generated API Server key and certificate<br>[certificates] Generated Service Account signing keys<br>[certificates] Created keys and certificates in &quot;/etc/kubernetes/pki&quot;<br>[kubeconfig] Wrote KubeConfig file to disk: &quot;/etc/kubernetes/kubelet.conf&quot;<br>[kubeconfig] Wrote KubeConfig file to disk: &quot;/etc/kubernetes/admin.conf&quot;<br>[apiclient] Created API client, waiting for the control plane to become ready<br>[apiclient] All control plane components are healthy after 61.317580 seconds<br>[apiclient] Waiting for at least one node to register and become ready<br>[apiclient] First node is ready after 6.556101 seconds<br>[apiclient] Creating a test deployment<br>[apiclient] Test deployment succeeded<br>[token-discovery] Created the kube-discovery deployment, waiting for it to become ready<br>[token-discovery] kube-discovery is ready after 6.020980 seconds<br>[addons] Created essential addon: kube-proxy<br>[addons] Created essential addon: kube-dns</pre><pre>Your Kubernetes master has initialized successfully!</pre><pre>You should now deploy a pod network to the cluster.<br>Run &quot;kubectl apply -f [podnetwork].yaml&quot; with one of the options listed at:<br>    <a href="http://kubernetes.io/docs/admin/addons/">http://kubernetes.io/docs/admin/addons/</a></pre><pre>You can now join any number of machines by running the following on each node:</pre><pre><strong>kubeadm join --token=&lt;token&gt; &lt;master-ip&gt;</strong></pre><p>The curl command run will setup flannel on the cluster which is required to allow the pods to talk to each other. There are other options that you can use instead of flannel if you want.</p><p>You need to note the kubeadm join command at the bottom of the output as you will need it for the other nodes. The last step in setup of the cluster is to add the other nodes which you can do by running the noted kubeadm join command on each of the other Raspberry Pi:</p><pre>$ sudo su<br>$ kubeadm join --token=a123c6.d61342c6501bf2c8 192.168.168.210</pre><p>With the above command run on each of the nodes you should start to see them show in the output of kubectl get nodes, you can run this on the master node and you should see something like the following:</p><pre>$ kubectl get nodes<br>NAME         STATUS         AGE<br>kubemaster   Ready,master   2m<br>kubenode01   Ready          2m<br>kubenode02   Ready          2m</pre><p>To be able to control the cluster from any machine, not just the master, copy the file /etc/kubernetes/admin.conf from the master node to any other machine that you want to be able to access the cluster from. This can be combined with your existing kubectl config or you can have kubectl look at the file separate to your config by using the flag --kubeconfig.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B5BiLyxvRa1iFSSYMySG3A.jpeg" /></figure><p>So with that done you now have a Kubernetes cluster running on your Raspberry Pi. I haven’t really done anything more with my cluster since setting it up but feel free to ask questions and I’ll do my best to answer. I think the next thing I’ll be doing is setting up CephFS or NFS to act as persistent storage for the cluster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8106baf93238" width="1" height="1" alt=""><hr><p><a href="https://medium.com/axonista-hq/kuberrypi-8106baf93238">KuBerryPi</a> was originally published in <a href="https://medium.com/axonista-hq">Axonista HQ</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[KuBerryPi]]></title>
            <link>https://medium.com/@nalum/kuberrypi-61dacf34c158?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/61dacf34c158</guid>
            <category><![CDATA[containers]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Sat, 11 Feb 2017 20:32:42 GMT</pubDate>
            <atom:updated>2017-04-17T23:12:38.295Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m going to run through what is needed to get Kubernetes running on a cluster of Raspberry Pi 3 machines. Thankfully with the addition of kubeadm this has become fairly trivial. The getting started guide for <a href="http://kubernetes.io/docs/getting-started-guides/kubeadm/">kubeadm</a> can give you more information about the tool itself, I’ll outline the steps here but feel free to go to that getting started guide.</p><p>There are a few blog posts out there that discuss doing this and suggest using <a href="http://blog.hypriot.com/">hypriot</a> (because docker didn’t officially support the arm architecture) as the OS to use. I’m going to do this with Raspbian Jessie Lite (because docker now officially supports the arm architecture) which can be downloaded <a href="https://www.raspberrypi.org/downloads/raspbian/">here</a>. I’m running Debian so the commands will work for the majority of Linux systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gXhxuMA-VMQFLFxAyZavFQ.jpeg" /></figure><p>You can setup a single node or multi-node cluster of Pi. The Pi 3 is recommended because it comes with 1GB of RAM which leaves you more RAM to run your own systems on the cluster than the 512MB version.</p><p>To get started you’ll need to have an SD Card (I’ve used 64GB cards without issue) and load the Raspbian Jessie Lite image onto the card. You can do this using the dd command. First let’s make sure we’re using the right device on the system as we don’t want to overwrite our OS drive.</p><pre>$ df -h # This command is showing mounted volumes, you should see your sdcard listed here.<br>Filesystem                    Size  Used Avail Use% Mounted on<br>/dev/sda1                     8.2G  7.0G  801M  90% /<br>udev                           10M     0   10M   0% /dev<br>tmpfs                         3.2G  9.2M  3.2G   1% /run<br>tmpfs                         7.9G  507M  7.4G   7% /dev/shm<br>tmpfs                         5.0M  4.0K  5.0M   1% /run/lock<br>tmpfs                         7.9G     0  7.9G   0% /sys/fs/cgroup<br>/dev/sda2                     237M   42M  183M  19% /boot<br>tmpfs                         1.6G   56K  1.6G   1% /run/user/1000<br>/dev/sdb                       64G     0   64G   0% /mnt/nalum/sd</pre><p>In this we can see that there are 3 mounted partitions for me, the drive I’m looking for is /dev/sdb. For you this could be something like /dev/mmcblk0. If you see sdb1 rather than sdb you’ll want to remove the digit or in the case of mmcblk0p1 you’ll want to remove the p1. We can double check that this is correct by running the command ls -lah /dev/mmcblk0* this will result in something like the following output.</p><pre>$ ls -lah /dev/mmcblk0*<br>brw-rw---- 1 root disk 8, 0 Dec 15 09:43 /dev/mmcblk0<br>brw-rw---- 1 root disk 8, 1 Dec 15 09:43 /dev/mmcblk0p1</pre><p>As you can see we have mmcblk0 and mmcblk0p1, mmcblk0 is the whole device and mmcblk0p1 is a partition on that device, there can be multiple partitions and there will be two after the Raspbian image is applied to the SDCard. We apply the Raspbian image to the SD card by using the following command:</p><blockquote><strong><em>NOTE</em></strong><em>:</em> This command will replace the contents of a drive (HDD, SSD, SDCard, etc), be absolutely certain that you are running it against the correct drive.</blockquote><pre>$ sudo dd bs=4M if=/path/to/raspbian.image of=/dev/sdb<br>$ sync</pre><p>The Raspberry Pi site notes that if bs=4M doesn’t work change it to bs=1M and that it will take longer with that setting. Running sync will make sure that it is safe to unmount the SD Card. Check <a href="https://www.raspberrypi.org/documentation/installation/installing-images/">here</a> for full installation instructions for Linux, Mac OS and Windows.</p><p>The next step is to boot the Raspberry Pi using the SD Cards you’ve setup. You will need to plug a monitor and keyboard directly into at least one Pi as SSH has been disabled by default on the Raspbian since <a href="https://www.raspberrypi.org/documentation/remote-access/ssh/">November 2016</a>.</p><p>The following set of commands need to be run on each of the Raspbian installs. They will install any available updates, vim, docker and kubernetes and make changes to some files enabling ssh and setting a cgroup config for kubernetes/docker.</p><pre>$ sudo su<br>$ apt-get update<br>$ apt-get upgrade -y<br>$ apt-get install -y vim<br>$ vim /etc/hostname<br>## Replace contents with kubenode[0-9]{2,}</pre><p>So if you run cat /etc/hostname you should see something like the following: kubenode00</p><pre>$ touch /boot/ssh<br>$ vim /boot/cmdline.txt<br>## Add `cgroup_enable=cpuset` before `elevator=deadline`</pre><p>If you run cat /boot/cmdline.txt you should see something like the following:</p><pre>dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 cgroup_enable=cpuset elevator=deadline fsck.repair=yes rootwait quiet init=/usr/lib/raspi-config/init_resize.sh</pre><p>Now we will install docker and kubernetes and reboot:</p><blockquote><strong><em>NOTE:</em></strong> The first curl command can be very dangerous, 1) because we ran sudo su at the beginning of this and 2) because you don’t know what is in the file you piped into sh. So I very much recommend that you download the file and have a look at what it is doing to make sure you are happy running it.</blockquote><pre>$ curl -sSL <a href="https://get.docker.com/">https://get.docker.com</a> | sh<br>$ curl -s <a href="https://packages.cloud.google.com/apt/doc/apt-key.gpg">https://packages.cloud.google.com/apt/doc/apt-key.gpg</a> | apt-key add -<br>$ echo &quot;deb <a href="http://apt.kubernetes.io/">http://apt.kubernetes.io/</a> kubernetes-xenial main&quot; &gt; /etc/apt/sources.list.d/kubernetes.list<br>$ apt-get update<br>$ apt-get install -y kubelet kubeadm kubectl kubernetes-cni<br>$ reboot now</pre><p>The following set of commands should be run on one Raspbian install which will setup the master Kubernetes node:</p><pre>$ sudo su<br>$ kubeadm init --pod-network-cidr=10.244.0.0/16 --use-kubernetes-version=v1.5.2<br>$ curl -sSL &quot;<a href="https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml?raw=true">https://github.com/coreos/flannel/blob/master/Documentation/kube-flannel.yml?raw=true</a>&quot; | sed &quot;s/amd64/arm/g&quot; | kubectl create -f -</pre><p>The kubeadm init command will produce output like the following:</p><pre>[kubeadm] WARNING: kubeadm is in alpha, please do not use it for production clusters.<br>[preflight] Running pre-flight checks<br>[init] Using Kubernetes version: v1.5.1<br>[tokens] Generated token: &lt;token&gt;<br>[certificates] Generated Certificate Authority key and certificate.<br>[certificates] Generated API Server key and certificate<br>[certificates] Generated Service Account signing keys<br>[certificates] Created keys and certificates in &quot;/etc/kubernetes/pki&quot;<br>[kubeconfig] Wrote KubeConfig file to disk: &quot;/etc/kubernetes/kubelet.conf&quot;<br>[kubeconfig] Wrote KubeConfig file to disk: &quot;/etc/kubernetes/admin.conf&quot;<br>[apiclient] Created API client, waiting for the control plane to become ready<br>[apiclient] All control plane components are healthy after 61.317580 seconds<br>[apiclient] Waiting for at least one node to register and become ready<br>[apiclient] First node is ready after 6.556101 seconds<br>[apiclient] Creating a test deployment<br>[apiclient] Test deployment succeeded<br>[token-discovery] Created the kube-discovery deployment, waiting for it to become ready<br>[token-discovery] kube-discovery is ready after 6.020980 seconds<br>[addons] Created essential addon: kube-proxy<br>[addons] Created essential addon: kube-dns</pre><pre>Your Kubernetes master has initialized successfully!</pre><pre>You should now deploy a pod network to the cluster.<br>Run &quot;kubectl apply -f [podnetwork].yaml&quot; with one of the options listed at:<br>    <a href="http://kubernetes.io/docs/admin/addons/">http://kubernetes.io/docs/admin/addons/</a></pre><pre>You can now join any number of machines by running the following on each node:</pre><pre><strong>kubeadm join --token=&lt;token&gt; &lt;master-ip&gt;</strong></pre><p>The curl command run will setup flannel on the cluster which is required to allow the pods to talk to each other. There are other options that you can use instead of flannel if you want.</p><p>You need to note the kubeadm join command at the bottom of the output as you will need it for the other nodes. The last step in setup of the cluster is to add the other nodes which you can do by running the noted kubeadm join command on each of the other Raspberry Pi:</p><pre>$ sudo su<br>$ kubeadm join --token=a123c6.d61342c6501bf2c8 192.168.168.210</pre><p>With the above command run on each of the nodes you should start to see them show in the output of kubectl get nodes, you can run this on the master node and you should see something like the following:</p><pre>$ kubectl get nodes<br>NAME         STATUS         AGE<br>kubemaster   Ready,master   2m<br>kubenode01   Ready          2m<br>kubenode02   Ready          2m</pre><p>To be able to control the cluster from any machine, not just the master, copy the file /etc/kubernetes/admin.conf from the master node to any other machine that you want to be able to access the cluster from. This can be combined with your existing kubectl config or you can have kubectl look at the file separate to your config by using the flag --kubeconfig.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B5BiLyxvRa1iFSSYMySG3A.jpeg" /></figure><p>So with that done you now have a Kubernetes cluster running on your Raspberry Pi. I haven’t really done anything more with my cluster since setting it up but feel free to ask questions and I’ll do my best to answer. I think the next thing I’ll be doing is setting up CephFS or NFS to act as persistent storage for the cluster.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61dacf34c158" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mechanical Keyboard]]></title>
            <link>https://medium.com/@nalum/mechanical-keyboard-a88b356a33f2?source=rss-aadcac62fcf0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a88b356a33f2</guid>
            <category><![CDATA[opensource-hardware]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[mechanical-keyboards]]></category>
            <category><![CDATA[keyboard]]></category>
            <category><![CDATA[ergodox]]></category>
            <dc:creator><![CDATA[Luke Mallon]]></dc:creator>
            <pubDate>Tue, 25 Oct 2016 08:11:16 GMT</pubDate>
            <atom:updated>2016-10-25T08:11:16.995Z</atom:updated>
            <content:encoded><![CDATA[<p>I made the decision a while ago that I wanted to get a mechanical keyboard, so I started to look into it and found that there is quite a lot going on in that area of keyboards.</p><p>My first stop was to search using Google and see what I could find. It showed me quite a few sites which appeared good: <a href="https://mechanicalkeyboards.com/">Mechanical Keyboards</a>, <a href="https://codekeyboards.com/">Code Keyboards</a> and <a href="http://www.wasdkeyboards.com/">WASD Keyboards</a> (who make Code Keyboards) to name some, but the most useful link it gave me was to the Reddit community <a href="https://www.reddit.com/r/MechanicalKeyboards">/r/MechanicalKeyboards</a>. There are some fantastic resources available in the wiki for that subreddit (<a href="https://www.reddit.com/r/MechanicalKeyboards/wiki/switch_guides">switch guides</a> as an example) and the people are nice and keen to help where they can.</p><p>Using <a href="https://www.reddit.com/r/MechanicalKeyboards">/r/MechanicalKeyboards</a> I was able to see many examples of keyboards and custom keyboards and work out what it was I wanted from my own. Being a developer I spend a lot of time using a keyboard and I wanted something that was ergonomic but allowed me to define the layout of the keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SJtY0mrrLfMQA3rkcU1vvg.jpeg" /><figcaption>Code Keyboard (image taken from <a href="https://codekeyboards.com/">codekeyboards.com</a>)</figcaption></figure><p>The first one I looked at was the Code Keyboard as it was co-created by <a href="https://blog.codinghorror.com/">Jeff Atwood</a> and while it did allow for multiple layouts and the ability to disable certain keys, it wasn’t as flexible as I wanted and it isn’t really ergonomic. After all it is the traditional size and shape of keyboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*Cej0IOwJxOEqZnkJg7Fl5A.jpeg" /><figcaption>Ergodox (image taken from <a href="https://www.massdrop.com/buy/ergodox">massdrop.com</a>)</figcaption></figure><p>So I kept looking around and found <a href="https://www.google.ie/search?q=ergonomic+keyboards">many</a> <a href="https://www.google.ie/search?q=ergonomic+keyboards">keyboards</a> of all shapes and sizes. Some of them interested me and some of them looked a bit much. The one that interested me the most was the Ergodox (not linking to the official site as it seems like they lost control of the domain). A keyboard designed by enthusiasts and open sourced for anyone to build. As you might expect, looking around for an off the shelf version didn’t turn up anything. There are two places, I found, where you can get it: <a href="https://www.massdrop.com/buy/ergodox">Massdrop</a> and <a href="https://ergodox-ez.com/">ergodox-ez</a> which both supply a kit so you can build the keyboard yourself. I wasn’t sure I wanted to go down that route, so I decided to keep looking.</p><p>In looking around I saw some really nice keyboards but nothing that grabbed me the way the Ergodox did.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JbZxonOTrhq8pf3liJWn4w.jpeg" /><figcaption><a href="https://www.reddit.com/r/MechanicalKeyboards/comments/58w3om/photosnewest_additions_to_the_family/">/r/MechanicalKeyboards</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M3yjZCeWwSmEejY9lyphxg.jpeg" /><figcaption><a href="https://www.reddit.com/r/MechanicalKeyboards/comments/58vj5u/photos_fugu_finally_finds_a_home/">/r/MechanicalKeyboards</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6sD2qjJrujgTbRo2pHSF4w.jpeg" /><figcaption><a href="https://www.reddit.com/r/MechanicalKeyboards/comments/58wur4/photos_b87_with_gateron_blacks_skeletor/">/r/MechanicalKeyboards</a></figcaption></figure><p>Then I stumbled across the <a href="https://input.club/devices/infinity-ergodox/">Infinity Ergodox</a>, created by <a href="https://input.club/">input.club</a> as a fork of the Ergodox, it offers some improvements over the original design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*58vNBagZfx1JTlXNCLzifg.jpeg" /><figcaption>Infinity Ergodox (image taken from <a href="https://www.massdrop.com/buy/18233">massdrop.com</a>)</figcaption></figure><blockquote>The goals for the Infinity ErgoDox were the most complex objectives in any modern keyboard we know of.</blockquote><blockquote>1. Open Source Design<br>2. No Upfront Tooling Costs<br>3. Fully Programmable Keys<br>4. Split Keyboard Functionality<br>5. LED Control Screen<br>6. Infinite Layers in each Half</blockquote><p>Reading about the keyboard on the official site persuaded me to go for it, both halves of the keyboard are fully functional on their own and fully programmable. It is only possible (as of this posting) to buy on <a href="https://www.massdrop.com/buy/18233">massdrop</a>.</p><p>This research also introduced me to the different layouts that have formed over the years of the typewriter and keyboard and the history of both. The <em>qwerty</em> layout was formed for physical reasons. The keys of the typewriter would jam as people typed, which caused the creators of the <a href="https://en.m.wikipedia.org/wiki/Sholes_and_Glidden_typewriter">Sholes and Glidden typewriter</a> to try to find the optimal layout that would allow people to type at a higher speeds without jamming the keys. Not to say it didn’t have its own issues. So <em>qwerty</em>, designed over a century ago for a typewriter, still in use on keyboards, mechanical and non-mechanical alike, where the reasons for its existence no longer exist, I figured it would be a good time to check out alternative layouts.</p><p>After some searching and <a href="https://en.m.wikipedia.org/wiki/Keyboard_layout">reading</a> up on layouts. I decided that I would start using the Dvorak layout and have switched my phones keyboard over to it. But more specifically for my Ergodox I decided to switch to a variant of Dvorak, <a href="http://www.kaufmann.no/roland/dvorak/">Programmers Dvorak</a>.</p><p>So with that research and decision made I bought it. Then I had to wait… and wait. Until finally it was delivered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T2Q-wRd2GpinNlW5AXL68A.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*91Jg3g11hcRHJGEksjsuHA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fk5Dy84r1c88qs1HhrcuQg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1pzszy1ZGubQSpiZnJXcg.jpeg" /></figure><p>Before starting in on putting it together I decided to get some practice in with soldering as I hadn’t done any in at least 15 years. It took a bit to get into it again and with some help from my parents who both have experience with it, I was able to get going.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SKvkpWIpmyzQWNVCA1X3Ug.jpeg" /><figcaption>Some of my practice, after I’d gotten better :D</figcaption></figure><p>So I started putting it together. I went with the <a href="https://zealpc.net/products/zealio">65g Zealio</a> switches and a blank, clear <a href="http://keycapsdirect.com/pdfs/DCSFamily.pdf">DCS keycap</a> set. To get an idea of how it looked put together I loosely built it, without the PCB in place and without removing the protective paper from the clear plastic casing. I also opted to get the extended hand rests for my build.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XErYzyk-Y0rgPFHRf-mxCA.jpeg" /></figure><p>It looks and feels nice and I can’t wait to get started building it properly. So I get out the things I need and I take apart the keyboard and end up with this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nWZIkjfAjY_WMDdyifcWdA.jpeg" /></figure><p>Next I put the PCB on the switch mounting plate and apply some pressure to get the switches in place on the PCB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*28WPwIeicnpikGK6Py7eVw.jpeg" /></figure><p>Then I solder each of the currently mounted switches so the PCB is firmly in place and will stay there while the rest of the switches are mounted.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bePvGv1Gql4C77xD1I_P4w.jpeg" /></figure><p>So I go through all the switches and mount them to the Plate and PCB and solder them in place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VE3QZfRJDNQGAZmOpZf2Cg.jpeg" /></figure><p>Then we test the keyboard to make sure it is all working as expected. But it’s not. I open a text editor on my laptop and plugin the keyboard and start pressing the keys. Some of the keys are fine and work as expected some of them fire when I touch the key, not applying any pressure, just touching the key. Thanks to <a href="https://www.reddit.com/r/MechanicalKeyboards/comments/3ywihq/keyboard_science_this_is_why_some_tactile_zealios">/r/MechanicalKeyboards</a> I was able to find out that the switches I went with can have this problem called chatter and that there is a fairly easy fix for it.</p><p>The problem that causes chatter is when the two contacts, one stationary and one which moves when the key is pressed, in the switch are touching when the key is in its resting position, i.e. not pressed, or touch earlier than they should. To fix the problem, requires that you remove the top of the switch and apply some pressure to the stationary contact slightly bending it towards the center of the switch and then reassembling the switch.</p><p>You can test the switch using a multimeter to see that it is working correctly. So using the multimeter I was able to check exactly which switches were having trouble with chatter and then using 3 hair pins I was able to remove the top of the switch casing and adjust the stationary contact using a small screw driver.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j9yRA9NbL52K_TFiyc9hDg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mcmzVrgi0GqHAL-b_QmoQg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6-5mXjPXDKJ2gJ_TumGY3g.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i3chekIabI-afAUl18Ux2Q.jpeg" /></figure><p>I fixed all the affected switches and tested again on my laptop and all was good, no chatter and the keys worked as expected. I believe Zealpc have sorted this issue for the next round of switches and that it is expected to run this January (2017). This had to be done to both halves of the keyboard.</p><p>I am very pleased with how this turned out and am excited to start using my new Ergodox. It will take some time to get used to because it’s pyshically a new keyboard layout but also because I’m switching to a new character layout. I had a lot of fun putting this together and recommend to those interested that you go for it. Obviously it doesn’t have to be an Ergodox, what ever you choose to go with whether it’s 40%, 60% or the full 105 key keyboard, doing the research, purchasing and finally putting it together are all part of the fun and even if there are issues, like the chattering issue with Zealio, that can add to the <a href="http://dwarffortresswiki.org/index.php/DF2014:Losing">fun</a> if you let it :D.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_F2JG0zLHT3pKVorbtfyNw.jpeg" /><figcaption>A bheidh le leanúint…</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a88b356a33f2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>