<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/"><channel><title>2017-04 on Funky Si's Blog (Dev)</title><link>https://blog-dev.funkysi1701.com/2017/04/</link><description>Recent content in 2017-04 on Funky Si's Blog (Dev)</description><generator>Hugo -- gohugo.io</generator><language>en-gb</language><managingEditor>funkysi1701@gmail.com (Simon Foster)</managingEditor><webMaster>funkysi1701@gmail.com (Simon Foster)</webMaster><lastBuildDate>Mon, 24 Apr 2017 20:00:45 +0000</lastBuildDate><atom:link href="https://blog-dev.funkysi1701.com/2017/04/index.xml" rel="self" type="application/rss+xml"/><item><title>GitHub history</title><link>https://blog-dev.funkysi1701.com/posts/2017/github-history/</link><author>funkysi1701@gmail.com (funkysi1701)</author><pubDate>Mon, 24 Apr 2017 20:00:45 +0000</pubDate><guid>https://blog-dev.funkysi1701.com/posts/2017/github-history/</guid><category term="Git">Git</category><category term="GitHub">GitHub</category><category term="Code">Code</category><description>&lt;p&gt;I created my GitHub account in August 2010, lets look at what I have done with it.&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="GitHub contribution graph for 2010" src="https://blog-dev.funkysi1701.com/images/2017/git10.jpg" loading="lazy"
width="1471" height="331"
/&gt;
&lt;/p&gt;
&lt;p&gt;In 2010 I started by committing the code for an old php website I had created. Then in December I committed some other php sites.&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="GitHub contribution graph showing daily commits between late 2010 and 2011" src="https://blog-dev.funkysi1701.com/images/2017/git11.jpg" loading="lazy"
width="1484" height="331"
/&gt;
&lt;/p&gt;
&lt;p&gt;Between 12 December 2010 and 29 September 2011 I must have created some automated process which is why there is a commit every day. Looking at the diff it appears to be related to tracking visitors to a site. I assume back then I hadn’t heard of the .gitignore file!&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="GitHub contribution graph for 2014" src="https://blog-dev.funkysi1701.com/images/2017/git14.jpg" loading="lazy"
width="1479" height="336"
/&gt;
&lt;/p&gt;
&lt;p&gt;Nothing for a few years until 2014, when I started compiling a code samples collection, this is bits of code that I want to show off, I have added to this since 2015 so I really should go back to this as my skills have developed a bit since then.&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="GitHub contribution graph for 2015" src="https://blog-dev.funkysi1701.com/images/2017/git15.jpg" loading="lazy"
width="1471" height="331"
/&gt;
&lt;/p&gt;
&lt;p&gt;In 2015 I really started to think of myself as a developer, I added repositories for Raspberry Pi, and a few C# ideas I had. I ended the year taking part in Advent of Code&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="GitHub contribution graph for 2016" src="https://blog-dev.funkysi1701.com/images/2017/git16.jpg" loading="lazy"
width="1470" height="332"
/&gt;
&lt;/p&gt;
&lt;p&gt;What did I do last year? Well I started going to York Code Dojo and this meant lots of forks from their code examples and also my first pull request. I also did a fair bit of looking at other repositories trying to find a good open source project to contribute to, still not found one for me yet. Lastly I ended 2016 with a bit of Advent of Code.&lt;/p&gt;
&lt;p&gt;Not sure how enthralling a blog post this is, but fascinating to see the different commit histories.&lt;/p&gt;</description></item><item><title>Automating promotion of my blog</title><link>https://blog-dev.funkysi1701.com/posts/2017/automation-promotion/</link><author>funkysi1701@gmail.com (funkysi1701)</author><pubDate>Mon, 17 Apr 2017 20:00:45 +0000</pubDate><guid>https://blog-dev.funkysi1701.com/posts/2017/automation-promotion/</guid><category term="Buffer">Buffer</category><category term="Blogging">Blogging</category><category term="XML">XML</category><category term="RSS">RSS</category><description>&lt;p&gt;I would like to automate the promotion of this blog. Currently to promote this blog on social media I use a few different services.
&lt;img class="img-fluid" alt="Buffer social media scheduling hub illustration" src="https://blog-dev.funkysi1701.com/images/2017/img-buffer-illustration-hub-960@2x.png" loading="lazy"
width="1780" height="794"
/&gt;
&lt;/p&gt;
&lt;p&gt;Buffer (&lt;a href="https://buffer.com" target="_blank" rel="noopener noreferrer"&gt;buffer.com&lt;/a&gt;
) is a service that allows you to schedule updates to the main social media channels (Facebook, Twitter, LinkedIn and Google+)&lt;/p&gt;
&lt;p&gt;IFTTT or If This Then That (&lt;a href="https://ifttt.com" target="_blank" rel="noopener noreferrer"&gt;ifttt.com&lt;/a&gt;
) is a service that allows you to connect different online services. You can send an email when a specific event occurs in your calendar for example.&lt;/p&gt;
&lt;p&gt;I have been using a combination of these services to share to social media some of my past blog posts. I then add to my calendar details of my blog posts. Then I use IFTTT to add the event to Buffer, and then buffer tweets on a schedule.&lt;/p&gt;
&lt;p&gt;This works great however it is a manual process to add my posts to my calendar. I have been using a spreadsheet to help me generate an ics calendar file which I import into my google calendar. There must be a better way of doing this.&lt;/p&gt;
&lt;p&gt;I have written some code that reads the RSS feed of my blog and then shares that to Buffer using the Buffer API. The code I am creating is far from finished however I am trying to use the concepts of clean code to make it as flexible as possible.&lt;/p&gt;
&lt;p&gt;I have an interface called ISocial which my buffer code implements, but it would be easy to add a class that implements the same interface but uses the twitter or facebook APIs. My code reads from a specific WordPress RSS feed, but it should be easy enough to adapt to read from a SQL database or any other data source.&lt;/p&gt;
&lt;p&gt;I am currently unsure what kind of interface to use for this application. I could create a web page that controls the functionality, or maybe just a windows application, or maybe both of these are complicating things and all I need is just a console application that could be added as a scheduled task.&lt;/p&gt;</description></item><item><title>Blame</title><link>https://blog-dev.funkysi1701.com/posts/2017/blame/</link><author>funkysi1701@gmail.com (funkysi1701)</author><pubDate>Mon, 10 Apr 2017 20:00:45 +0000</pubDate><guid>https://blog-dev.funkysi1701.com/posts/2017/blame/</guid><category term="Blame">Blame</category><category term="Culture">Culture</category><category term="DevOps">DevOps</category><category term="SoftSkills">SoftSkills</category><description>&lt;p&gt;I recently came home from a busy day of work to my wife blaming me for allowing our 18 month old son to reach some paint and get it all over the carpet. She was concentrating on the fact that he could reach the paint not on the fact that she had brilliantly got the paint out of the carpet.&lt;/p&gt;
&lt;p&gt;
&lt;img class="img-fluid" alt="Cartoon illustrating blame shifting between people" src="https://blog-dev.funkysi1701.com/images/2017/blame-shifting.jpg" loading="lazy"
width="347" height="346"
/&gt;
&lt;/p&gt;
&lt;p&gt;My instinct on being blamed is to deny it, or start throwing blame back at her. It is possible I put the paint in his reach, it is also possible it was someone else.&lt;/p&gt;
&lt;p&gt;It is very easy to blame someone else. For example, looking through the git history to find out who changed a specific file is only a few clicks.&lt;/p&gt;
&lt;p&gt;But is it ever productive to blame someone? Is it not better to focus our energy on fixing the issue at hand?&lt;/p&gt;
&lt;p&gt;In the world of business it is easy to go from blaming other people until you have a blame culture. When you have a blame culture everyone starts looking out for themselves so it’s not them that gets the blame and productivity will suffer.&lt;/p&gt;
&lt;p&gt;I think it is more important to put in place​ processes to minimise issues happening again. If a deployment causes downtime, don’t ask who’s fault is it and sack them. Instead what can we do to reduce the chance of it happening again?&lt;/p&gt;
&lt;p&gt;As someone who has an interest in DevOps, I often break things and don’t want to get blamed for that, I do want to improve my processes so I am not always breaking the same things.&lt;/p&gt;
&lt;p&gt;What do you think about Blame? Is what can we do differently always better than who did this?&lt;/p&gt;</description></item></channel></rss>