<?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 Adam Jones on Medium]]></title>
        <description><![CDATA[Stories by Adam Jones on Medium]]></description>
        <link>https://medium.com/@adds68?source=rss-d5f2321d0af1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*bKwKSIj3aUwHdKHk.jpg</url>
            <title>Stories by Adam Jones on Medium</title>
            <link>https://medium.com/@adds68?source=rss-d5f2321d0af1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 14:57:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@adds68/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[I’ve Failed]]></title>
            <link>https://medium.com/@adds68/ive-failed-f83e6fec79e?source=rss-d5f2321d0af1------2</link>
            <guid isPermaLink="false">https://medium.com/p/f83e6fec79e</guid>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[fear-of-failure]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Adam Jones]]></dc:creator>
            <pubDate>Tue, 21 Jun 2016 12:32:21 GMT</pubDate>
            <atom:updated>2016-06-21T16:37:54.014Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Failure is the state or condition of not meeting a desirable or intended objective, and may be viewed as the opposite of success - Wikipedia</blockquote><p>I recently went on holiday, don’t worry I’m not going to bore you with travel advice and life goals. But to set the scene, I went on holiday. I was in the duty-free store whilst waiting for my flight and as usual, I was trying to imagine myself being a contemporary traveler with a book in my hand, sipping a latte and looking smug. But as usual I couldn’t decide on what book to buy, never mind if I was actually going to read it.</p><p>In my mind I was trying to justify buying a book on politics or something with a large ‘ism’ in the title, but suddenly the lady announced that my flight was boarding, I hastily reverted to buying a book that I thought was related to technology in some sort of fashion and rushed off to the gate.</p><p>After take off, I ordered my latte and opened the book to start reading, with the intention of reading a few chapters and probably leaving the book on the plane as I’ve done before.. Instead I was shocked to have realized I’d purchased a book that had nothing to do with technology, but instead you could say some form of philosophy, I was little bit disappointed. But as I had 6 hours to kill, I started reading.</p><p>A few chapters later I was hooked, before this point in my life I had never read an entire book in my 22 years, which is a sad fact. I’d read books, but became tired of them or moved on to another book without ever finishing the previous. But this book I felt good about and I carried on to read it throughout my holiday and the flights home. I finished the book and was proud I’d finished it, but more importantly astonished at what I had learnt.</p><p>I can now reveal the book was called:</p><blockquote>Black Box Thinking — Matthew Syeed</blockquote><p>I originally thought the book was about black box thinking, which in software development is essentially the art of abstract thinking about pre-developed code and treating it like a black box. But in actual fact the book was loosely based around the black-boxes fitted in the cockpits of all modern planes.</p><p>In order to refrain from quoting the book word-for-word, I will leave it up you to go and buy the book and truly understand what Matthew is trying to teach. But I will try to give a summary of what I learnt and why to feel it is very important for us all to understand.</p><p>Now, I started this post with a very “click-bate” title, which I’m sure would draw people in and at least quick scroll through, to gain some nitty-gritty details into how I failed. I’m sorry to disappoint those people, but the mistake I made was buying this book.</p><p>I’m not stating that the book was terrible in anyway, but I’m stating that I made a mistake by buying this book and then soon finding out that the book was based on totally different topic to what I was expecting. The key thing to take away here is that, although I made a mistake, I’ve benefited hugely from this mistake.</p><p>This is what ‘Black Box Thinking’ tries to teach us, that failure is a positive thing in our lives and without failure, many things we take for granted today would have never been developed. This ties back to the aviation industry and why they have the famous ‘black boxes’ fitted to every commercial aircraft that flies above us today. That’s because in order for the aviation industry to succeed they had to take an attitude that meant failure was a good thing, an opportunity to learn from the mistakes of others, in order to develop and improve the safety of future aircraft.</p><p>Now take for example the financial industry, this industry just in the past 10 years has faced major issues, causing the Great Recession in 2007. Now the key take-away from this point, is that 2007 was not the first recession to happen, many recession have occurred before this point, most famously ‘The Wall Street Crash’. Now I’m not saying this as a matter of fact, but the financial industry has never adopted failure as a good thing. You can hear many people discussing the recession and they famously say ‘we need to learn from our mistakes’, but this has clearly not happened in the financial industry. As you can see from the current state of affairs things need to change in order to stop another recession from happening in the future.</p><p>These two examples are very brief, but again I urge you to read Matthews book and look into the way he tries to justify both of these examples in microscopic detail, using fantastic studies and evidence that have been conducted and collected over large spans of our history.</p><p>The point of this post is not to reproduce what Matthew has said, but simply to raise awareness for his book as the impact it could have on the fabric of our society is very profound. Matthew has provided me with a way to see my failures in a new light and to embrace future failures with less fear and more curiosity. The word <em>failure</em> today has a huge stigma from a very young age, but it doesn’t have to be that way, the definition of failure that I have provided above clearly shows that we have miss-interpreted it’s meaning for hundred of years:</p><blockquote>‘Failure is the state or condition of not meeting a desirable or intended objective’</blockquote><p>The key words in this definition are <em>desirable</em> and <em>intended, </em>both words are abstract in terms of what we are trying to achieve, something which is <em>desirable</em> may not always be good for us and the <em>intended</em> actions of someone may not always be right for others. So failure must not be seen as the opposite of success, but the outcome of not producing something which we <em>thought</em> was <em>beneficial </em>to us, or in simpler terms, failure is the unexpected result of our actions.</p><p>Don’t let the idealism of success lead your life, learn from your mistakes and you will become a better person, now learn from my mistake and buy the <a href="https://www.amazon.co.uk/Black-Box-Thinking-Marginal-Performance/dp/1473613809/ref=tmm_pap_swatch_0?_encoding=UTF8&amp;qid=&amp;sr=">book</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f83e6fec79e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s talk about “changing the world”]]></title>
            <link>https://medium.com/@adds68/let-s-talk-about-changing-the-world-9265af9733b6?source=rss-d5f2321d0af1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9265af9733b6</guid>
            <category><![CDATA[change]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[elon-musk]]></category>
            <dc:creator><![CDATA[Adam Jones]]></dc:creator>
            <pubDate>Tue, 22 Dec 2015 11:49:25 GMT</pubDate>
            <atom:updated>2015-12-22T11:55:35.296Z</atom:updated>
            <content:encoded><![CDATA[<p>This is an impromptu post, so don’t expect well researched facts and figures, nor should you expect to gain any knowledge on how to change the world after reading this post.</p><p>What i’m here to talk about is the new wave of culture that seems to be creeping up all over the place. Mainly places like Medium, Twitter, LinkedIn. The culture, yes you guessed it, that is <strong>“changing the world”.</strong></p><p>What does this mean?! Every time I see it i’m left puzzled. I think to myself, “how is this person changing the world exactly?”. For what reasons are their current decisions having an effect on the world for? It makes no sense!</p><p>A common list of phrases are:</p><ul><li>Changing the world</li><li>Disrupting this industry/process</li><li>Impacting the world</li><li>Next level</li><li>Social mobility</li></ul><p>Is it just me or do these words all sound egotistical. They are all used in the context of their business X changing the world by doing Y. But what is Y? People/Businesses need to realise that signing a new business contract, receiving seed funding or being bought out by a larger corporation does not give your ideas anymore impact to the world, than your business does to my back pocket.</p><p>If you take for example SpaceX or Tesla, those are industries that are really changing the future of this planet. One is trying to pioneer the way for us to cheaply leave this planet, the other is trying to save the planet by producing environmentally friendly transport and power products for the mass market. Yet I never see those companies or Elon Musk (the CEO of both companies) tweeting any of the above statements.</p><p>But then I see things like Tinder, TechCrunch or a new app aiming to change the way we do a menial task everyday. Claiming to be “changing the world” and “disrupting” the way we function. But in reality they are just another company founded on the values of money. I’ve never used a to-do list app and suddenly realised how much better the world has become or saved 10% off my next cinema ticket and thought to myself “The world is a better place”.</p><p>But when I saw SpaceX land the Falcon 9 back to earth or how auto-manufacturers can’t keep up with Tesla. That makes me hopeful for our future, true fundamental changes to our way of life. People like Bill Gates curing Polio in India or Google/Facebook trying to connect developing countries to the Internet. That is REAL change, unlike Kim Kardashian launching a new clothing brand or Kanye West running for president..</p><p>This post is not about bashing people trying to start a business or me being envious of success. It’s about being rational and how our culture is becoming complacent on what counts as progress/success. Next time you read or think about a new startup or business deal, think to yourself “Will this REALLY change the world?”.</p><blockquote>In order to change the world, you have to get your head together first — <strong>Jimi Hendrix.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9265af9733b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Parsing TSV files with CSV in Python.]]></title>
            <link>https://medium.com/@adds68/parsing-tsv-file-with-csv-in-python-662d6347b0cd?source=rss-d5f2321d0af1------2</link>
            <guid isPermaLink="false">https://medium.com/p/662d6347b0cd</guid>
            <category><![CDATA[parse]]></category>
            <category><![CDATA[csv]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Adam Jones]]></dc:creator>
            <pubDate>Wed, 28 Oct 2015 14:40:26 GMT</pubDate>
            <atom:updated>2015-10-28T15:30:39.250Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>One more standard should fix it? Imagine if that was the case, many of the troubles we face as programmers would be a lot easier. But hey, that’s the way the cookie crumbles.</blockquote><h4>So you want to parse a TSV in Python? Lets take a look.</h4><p>Solution 1:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/25c0446a439c1ea6f919e1aa96b2eb15/href">https://medium.com/media/25c0446a439c1ea6f919e1aa96b2eb15/href</a></iframe><p>This is the basic solution you’ll find online, but it has limitations.</p><p>The limitations are that in order to extract information from a row, you can’t use the TSV headers, you have to use indexes like so:</p><pre>row[1]</pre><p>This poses a problem in keeping track of the headers and making the code easier to maintain in the future.</p><p>Solution 2:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c4f3219eb57b2ab119d21102454df595/href">https://medium.com/media/c4f3219eb57b2ab119d21102454df595/href</a></iframe><p>This solution was found by reading the docs and attempting to find a solution, which allowed me to retain the headers. The key difference here is we are using the <strong><em>Dictreader </em></strong>method and passing a <strong><em>dialect </em></strong>parameter with an inbuilt argument called<strong><em> ‘excel-tab’</em></strong>. This tells the dictreader to parse the standard excel tab-space to split the data in each row. Now we can use the prefered way of retrieving data, which is:</p><pre>row[&#39;value&#39;]</pre><p>This makes life much easier for future maintainers and readability of your code!</p><blockquote>Stay Hungry, Stay Foolish</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=662d6347b0cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>