<?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 Alfredo Motta on Medium]]></title>
        <description><![CDATA[Stories by Alfredo Motta on Medium]]></description>
        <link>https://medium.com/@motta.lrd?source=rss-8a27379fd9fb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dvsy6i4Jugn8t3AnL4SESw.jpeg</url>
            <title>Stories by Alfredo Motta on Medium</title>
            <link>https://medium.com/@motta.lrd?source=rss-8a27379fd9fb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:16:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@motta.lrd/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[Not So Random Software #47 — Thinking in Systems]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-47-thinking-in-systems-c466b313de53?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c466b313de53</guid>
            <category><![CDATA[systems-thinking]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-design]]></category>
            <category><![CDATA[organizational-design]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Wed, 24 Mar 2021 08:33:22 GMT</pubDate>
            <atom:updated>2021-03-24T08:35:56.975Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #47 — Thinking in Systems</h3><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about teams; as someone who has to deal with computers every day it is easy to fall into the trap of applying software design principles to human people. Some elements do apply, but with humans the context and unique traits of each individual are everything, until they are not.</p><p>Enjoy the random walk!</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/45303387-an-elegant-puzzle">An elegant puzzle</a></p><p>In this book Will Larson presents what he learned from scaling engineering organisations. I liked how he reduced the kernel of this hard topic to a few simple statements.</p><ul><li>The fundamental challenge of organizational design is sizing teams.</li><li>The expected time to complete a new task approaches infinity as a team’s utilization approaches 100%</li><li>Hiring and training are often a team’s biggest time investment</li></ul><h3>One article or paper</h3><p><a href="https://medium.com/@duanerohrbacher/reframing-the-8-causes-of-conflict-practice-c02094f979ad">Reframing the 8 causes of conflict</a></p><p>No matter how hard you work on organizational design, conflict is something you will always have to face. This article goes into the details of how to reframe these conflicts to you can handle them positively, but I keep this short list always front of my mind:</p><ol><li>Conflicting resources.</li><li>Conflicting styles.</li><li>Conflicting perceptions.</li><li>Conflicting goals.</li><li>Conflicting pressures.</li><li>Conflicting roles.</li><li>Different personal values.</li><li>Unpredictable policies.</li></ol><h3>One video or podcast</h3><p><a href="https://www.youtube.com/watch?v=8Y-XPlXOWoA">GOTO 2017 * DDD Today — Modeling Uncertainty * Vaughn Vernon</a></p><p>People often tell me that it is hard to deal with unplanned events constantly interrupting you. I think this sentence is contradictory on its own. If something unpredictable is always happening, then it is a predictable process. You just need to reframe it like that.</p><p>In this video Vaughn Vernon talks about some of the <em>unpredictable </em>rare things that happen in distributed systems like out-or-order events and duplicated events. They are not unpredictable, they are happening all the time. Once you reframe it like that you can start building a protective infrastructure around them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*ixsRh-Gbc6UWACp9.png" /></figure><h3>One tool</h3><p><a href="https://insightmaker.com/">Insight Maker</a></p><p>If you want some comfort and hope you can just abstract humans into a model, why don’t you model them using Insight Maker? An Insight Maker’s <a href="https://insightmaker.com/systemdynamics">System Dynamic</a> model reason in terms of <em>stock, flow, variable and links</em>. And there are some open source models too for you to learn! Here is one for <a href="https://insightmaker.com/tag/Agile-Lean-Projectmanagement">Agile Project Management</a>.</p><h3>One snippet of code</h3><p>Did you know you can use a Poisson distribution generator in Ruby with the SciRuby package? Well now you do! Here is an <a href="https://github.com/SciRuby/distribution/blob/master/spec/poisson_spec.rb">example</a>:</p><pre>    it &#39;should return correct rng&#39; do<br>      # The expected rng output when 1 is set as the seed value<br>      exp_means = [1, 2, 2, 3, 4, 5, 6, 7, 8, 9]</pre><pre>lambda_val = rand(10) + 1<br>      exp_mean = exp_means[lambda_val - 1]<br>      seed = 1</pre><pre>rng = <a href="http://twitter.com/engine">@engine</a>.rng(lambda_val, seed)</pre><pre>samples = 100<br>      sum = 0<br>      samples.times do<br>        v = rng.call<br>        sum += v<br>      end<br>      mean = sum / samples<br>      expect(mean.to_i).to be_within(1e-10).of(exp_mean)<br>    end</pre><h3>One quote</h3><blockquote><em>A sick man only wants one thing, a healthy man wants 10,000 things.</em></blockquote><blockquote><em>Confucius</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-47-thinking-in-systems/"><em>http://www.alfredo.motta.name</em></a><em> on March 24, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c466b313de53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #46 — On Data; Teams first, Tools second]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-46-on-data-teams-first-tools-second-c2bca281f08?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2bca281f08</guid>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[event-driven-architecture]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Wed, 10 Mar 2021 09:10:32 GMT</pubDate>
            <atom:updated>2021-03-10T09:14:32.891Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #46 — On Data; Teams first, Tools second</h3><p>Hello everyone and welcome back to Not So Random Software!</p><p>This year I have inherited a Data team and I am getting up-to-speed on what can be done to make the team thrive. I am learning how data is a complicated topic and team alignment is as much important as the tech behind it. Teams first, Tools second.</p><p>Enjoy the random walk!</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/26059903-creating-a-data-driven-organization">Creating a Data-Driven Organization</a></p><p>Data is a complicated matter; there is an element of Skills (SQL, Python), an element of Architecture (Data Warehouse, batching, streaming, pipelines), and an element of Governance (what’s the definition of metric X?). This book covers a lot of these topics. It made me realize that picking the Tool or Architecture is only half of the equation. Much more important in a changing landscape to define the roles and the team structure before jumping into tools.</p><h3>One article or paper</h3><p><a href="https://www.infoq.com/articles/future-data-engineering-riccomini/">The future of Data Engineering</a></p><p>To support an evolving Data-Driven organization you need strong foundations and a constant evolution of your data workflows. In this blog post I enjoyed the various stages of the Data architecture at WePay and how you know it is time you need to transition from your current workflow to the next. It is a great example of Evolutionary Architecture.</p><h3>One video or podcast</h3><p><a href="https://www.youtube.com/watch?v=vebtTRXAznU">RailsConf 2020 CE — Keynote: Technically, a Talk by Eileen Uchitelle</a></p><p>In this video Eileen Uchitelle presents the story of adding multiple database support for Rails. I was impressed by the amount of work that the core team had to put in order to enable such functionality and I believe it greatly empower teams to build applications that are more future proof. Not everyone need multiple databases, but sometimes you really do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XtSaqU76yonDkFp4.png" /></figure><h3>One tool</h3><p>Event driven architectures are super-handy for building relational table projections that can be used for analytics / data warehousing. But what if you don’t have events? Debezium is an open source distributed platform for change data capture. Start it up, point it at your databases, and your apps can start responding to all of the inserts, updates, and deletes that other apps commit to your databases. These might not be as expressive as domain events, but it does the trick for a lot of use cases.</p><h3>One snippet of code</h3><p>Step up your debugging game by using Kernel#caller_locations. It a stacktrace with file locations you can look up for editing. Couple it with bundle open and you have full control over the code you are running. Thank you to <a href="https://twitter.com/jemmaissroff">Jemma Issroff</a> for sharing on Ruby Weekly.</p><pre>def method_one<br>  caller_locations # returns an array with the path to callers<br>end</pre><pre>def method_two<br>  method_one # line 6<br>end</pre><pre>def method_three<br>  method_two # line 10<br>end</pre><pre>array_with_callers = method_three # line 13<br>pp array_with_callers</pre><p>And then you use it like so…</p><pre>$ ruby example.rb<br>[&quot;example.rb:6:in `method_two&#39;&quot;,<br> &quot;example.rb:10:in `method_three&#39;&quot;,<br> &quot;example.rb:13:in `&lt;main&gt;&#39;&quot;]</pre><h3>One quote</h3><blockquote><em>The less you want, the richer you are. The more you need in order to be happy, the more miserable you’ll be.Yiannis Chryssomallis</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-46-on-data-teams-first-tools-second/"><em>http://www.alfredo.motta.name</em></a><em> on March 10, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2bca281f08" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #45 — Be present, have a strategy]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-45-be-present-have-a-strategy-226ce1347b35?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/226ce1347b35</guid>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[essentialism]]></category>
            <category><![CDATA[mindfulness]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Fri, 05 Feb 2021 08:14:16 GMT</pubDate>
            <atom:updated>2021-02-05T08:15:08.844Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #45 — Be present, have a strategy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*XwvP9fYWU0hF8GEO.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>It has been a long break, with December and January being some of the hardest months on record for me. When the pressure was high I had to remember how to be present and quickly distinguish between the vital few and the trivial many.</p><p>Enjoy the random walk!</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/18077875-essentialism">Essentialism: The Disciplined Pursuit of Less</a></p><p>Never like in the last two months the book <a href="https://www.goodreads.com/book/show/11721966-good-strategy-bad-strategy">Good Strategy Bad Strategy</a> became a lifesaver for me. The realization that strategy is a complex narrative to help you distinguish between the vital few and the trivial many is an important one.</p><p>You can be efficient by staying organized and categorizing tasks like suggested in the <a href="https://www.goodreads.com/book/show/18693669-the-organized-mind">Organized Mind</a> or <a href="https://www.goodreads.com/book/show/1633.Getting_Things_Done">Getting Things Done</a>. The second-order effect you don’t see immediately is that you change the underlying system at pushing more tasks at you until you don’t have the energy to handle them anymore.</p><p>So what do you do? You naturally try to be even more efficient; you look at the task types and work bottom-up to see the forest from the trees, but it doesn’t work. You spend more time looking at the data than working on the data. You can’t talk probability distributions when every event about you is so unique. You need a narrative to guide you through, as explained in <a href="https://www.goodreads.com/book/show/51924687-radical-uncertainty">Radical Uncertainty</a>. Context is king in the complicated and uncertain life you live in, you need to set your direction.</p><p><a href="https://www.goodreads.com/book/show/18077875-essentialism">Essentialism by Greg McKeown</a> nicely completed this picture. With digital tools, pressure, and infinite tasks all around us we have lost control of our most precious resource; being there in the moment, fully present, and mentally sharp. If you are not dictating your day, or weeks anymore, it’s time to step back and re-think about what really matters.</p><h3>One article or paper</h3><p><a href="https://lethain.com//good-engineering-strategy-is-boring/">Write five, then synthesize: good engineering strategy is boring.</a></p><p>In this blog post, Will Larson explains how to write a good strategy and vision for an Engineering organization, step by step.</p><h3>One video or podcast</h3><p><a href="https://www.youtube.com/watch?v=KClAPipnKqw">Being Glue</a> In this video Tanya Reilly presents her story about getting busy with <em>glue work</em> and finding herself in front of a hard career choice at the end.</p><h3>One tool</h3><p>A performance dashboard for PostgreSQL. When New Relic and similar are not enough to spot inefficient queries, this is a specialized tool to make your <em>explain analyze</em> jobs a bit easier.</p><h3>One line of code</h3><p>Using Rails in API only mode and making calls from a Javascript frontend could get quite painful if you don’t know how to handle CORS. Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any other origins than its own from which a browser should permit loading of resources. By default Rails doesn’t allow you to make calls from different domains, the <a href="https://github.com/cyu/rack-cors">rack-cors gem</a> has the solution for your local development. Handle with care in production!</p><pre>class Application &lt; Rails::Application<br>  config.middleware.insert_before 0, &quot;Rack::Cors&quot; do<br>    allow do<br>      origins &#39;*&#39;<br>      resource(<br>        &#39;*&#39;,<br>        headers: :any,<br>        methods: [:get, :patch, :put, :delete, :post, :options]<br>      )<br>    end<br>  end<br>end</pre><h3>One quote</h3><blockquote><em>Courage is grace under pressureErnest Hemingway</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-45-be-present-have-a-strategy/"><em>http://www.alfredo.motta.name</em></a><em> on February 5, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=226ce1347b35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #44 — Happiness, and LSTM networks]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-44-happiness-and-lstm-networks-6cf623c800db?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/6cf623c800db</guid>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[critical-thinking]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 17 Nov 2020 09:08:07 GMT</pubDate>
            <atom:updated>2020-11-17T09:10:06.729Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #44 — Happiness, and LSTM networks</h3><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about memory and how the simple act of remembering can help you put things into perspective and recalibrate your happiness meter.</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://ngoeke.medium.com/why-smart-people-fail-to-be-happy-270577f3337f">Why Smart People Fail To Be Happy</a></p><p>Niklas runs a very insightful self-help newsletter and I enjoyed this recent article on how we are often the main cause of our unhappiness. Niklas lists these 5 factors who did resonate with me:</p><ul><li>We overthink; mostly worrying about the future</li><li>We expect too much; even when many factors are outside our control</li><li>We push people away; because we are always competing, skeptical and distrusting</li><li>We sabotage ourselves; by always demanding an explanation for failure when sometime there is none</li><li>We devalue happiness altogether; because we think we must earn it somehow</li></ul><h3>One video or podcast</h3><p><a href="https://www.youtube.com/watch?v=HXbsVbFAczg">How to build a company where the best ideas win?</a></p><p>In this classic Ted talk <a href="https://en.wikipedia.org/wiki/Ray_Dalio">Ray Dalio</a>, hedge fund manager, and philanthropist who has served as co-chief investment officer of Bridgewater Associates, presents his philosophy on how to build a company based on Idea Meritocracy; not an Autocracy, where the leader decides, not a Democracy, where everyone vote counts the same, but an Idea Meritocracy, where people are encouraged to stress test ideas and see things within the lenses of collective thinking.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/26026055-if-you-re-so-smart-why-aren-t-you-happy">If You’re So Smart, Why Aren’t You Happy?</a></p><p>A Business school professor examines happiness, with some insightful conclusions. When it comes to happiness even if you are smart you do make some strikingly dumb assumptions about what it is and how to get it!</p><h3>One tool</h3><p><a href="https://www.amazon.co.uk/gp/product/B00CM3W8NA/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&amp;psc=1">Sofa Desks for your working from home setup</a></p><p>In a world where working from home is the new normal, I found sofa desks to be a great option to mix up your day between standing, sitting on a chair, and working from the sofa, all without hurting your back.</p><h3>One line of code</h3><p>When trying to model memory, LSTM neural networks made several breakthroughs in the last 5 years. This is how simple it is to create one using the Keras library:</p><pre>&gt;&gt;&gt; inputs = tf.random.normal([32, 10, 8])<br>&gt;&gt;&gt; lstm = tf.keras.layers.LSTM(4)<br>&gt;&gt;&gt; output = lstm(inputs)<br>&gt;&gt;&gt; print(output.shape)<br>(32, 4)<br>&gt;&gt;&gt; lstm = tf.keras.layers.LSTM(4, return_sequences=True, return_state=True)<br>&gt;&gt;&gt; whole_seq_output, final_memory_state, final_carry_state = lstm(inputs)<br>&gt;&gt;&gt; print(whole_seq_output.shape)<br>(32, 10, 4)<br>&gt;&gt;&gt; print(final_memory_state.shape)<br>(32, 4)<br>&gt;&gt;&gt; print(final_carry_state.shape)<br>(32, 4)</pre><p>But if you want to understand how this works conceptually, take a look at this <a href="http://colah.github.io/posts/2015-08-Understanding-LSTMs/">great article</a>. One picture is worth a thousand words. The architecture of the network smartly selects from examples what to remember and for how long much for efficiently compared to a standard recurrent neural network.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/771/0*xnA9O6-gonhM68KN.png" /></figure><h3>One quote</h3><blockquote><em>Rather than thinking, “I’m right.” I started to ask myself, “How do I know I’m right?”Ray Dalio</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-44-happiness-and-lstm-networks/"><em>http://www.alfredo.motta.name</em></a><em> on November 17, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6cf623c800db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #43 — Radical Uncertainty and Decentralization]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-43-radical-uncertainty-and-decentralization-7b739168e32c?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b739168e32c</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[decentralization]]></category>
            <category><![CDATA[decision-making]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 10 Nov 2020 09:27:55 GMT</pubDate>
            <atom:updated>2020-11-10T09:29:38.513Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #43 — Radical Uncertainty and Decentralization</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*d9-l0VJm8P3BIrR-.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about decentralization, education, blockchain uses for finance products, and when not to use probabilities to solve your problems.</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://techcrunch.com/2015/10/04/why-the-internet-needs-ipfs-before-its-too-late/">TechCrunch — Why The Internet Needs IPFS</a><br><a href="https://en.wikipedia.org/wiki/InterPlanetary_File_System">Wikipedia — The InterPlanetary File System</a> <a href="https://www.youtube.com/watch?v=5mbp3SEha38">A Love Letter to Clojure</a></p><p>We have a fragile web still built on a centralised model that is fragile and forgetful. Based on the Internet Archive’s own findings, the average webpage only lasts about 100 days. IPFS, is an open source project that taps into ideas pioneered by the decentralized digital currency Bitcoin and the peer-to-peer file sharing system BitTorrent. Sites opt in to IPFS, and the protocol distributes files among participating users. If the original web server goes down, the site will live on thanks to the backups running on other people’s computers. What’s more, these distributed archives will let people browse previous versions of the site, much the way you can browse old edits in Wikipedia or old versions of websites in the Wayback Machine</p><h3>One video or podcast</h3><p>Gene Kim is one of the authors of the <a href="https://www.goodreads.com/book/show/17255186-the-phoenix-project?ac=1&amp;from_search=true&amp;qid=e1jZRfXn7N&amp;rank=1">Phoneix Project </a>and then followed with the <a href="https://www.goodreads.com/book/show/44333183-the-unicorn-project?ac=1&amp;from_search=true&amp;qid=yELqZX0NeB&amp;rank=1">Unicorn Project</a>. In this talk he presents how the traits of Clojure and Datomic can be mapped to principles of systems that are linked to high performing happy teams:</p><ul><li>Locality and Simplicity</li><li>Focus, Flow and Joy</li><li>Improvement of Daily Work</li><li>Psychological Safety</li><li>Customer Focus</li></ul><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/51924687-radical-uncertainty?ac=1&amp;from_search=true&amp;qid=DLpX44TTTE&amp;rank=1">Radical Uncertainty</a> : Decision-Making Beyond the Numbers</p><p><a href="https://chain.link/">ChainLink: smart contracts connected to real world events</a></p><p>What do you do when probabilities aren’t enough? Kay and King highlight the fallacies of statistical thinking for problems that are <em>wicked </em>where there the rules of the game are not well defined and the processes that govern the data are non-stationary. A very good complement if you enjoyed the opposite view of <a href="https://www.goodreads.com/book/show/444653.How_to_Measure_Anything?ac=1&amp;from_search=true&amp;qid=NACEFBzRJH&amp;rank=1">How to Measure Anything</a>.</p><h3>One tool</h3><p>The Chainlink network provides reliable tamper-proof inputs and outputs for complex smart contracts on any blockchain. I haven’t played yet with any blockchain technology, but that would be something I would be very happy to experiment with.</p><h3>One line of code</h3><p>Sometimes a Hello World is worth a thousand words to get the initial feeling of a programming language, here is the one for Clojure</p><pre>(ns clojure.examples.hello<br>   (:gen-class))<br>(defn hello-world []<br>   (println &quot;Hello World&quot;))<br>(hello-world)</pre><p>And this is how a page looks like in the open source project <a href="https://github.com/yogthos/memory-hole/blob/master/src/cljs/memory_hole/pages/home.cljs">memory-hole</a> (a support issue organizer).</p><pre>(defn home-page []<br>  (r/with-let [tags     (subscribe [:visible-tags])<br>               issues   (subscribe [:visible-issues])<br>               selected (subscribe [:selected-tag])]<br>    [:div.container<br>     [admin-groups-toggle]<br>     [:div.row<br>      [:div.col-sm-3<br>       [tags-panel <a href="http://twitter.com/tags">@tags</a> <a href="http://twitter.com/selected">@selected</a>]]<br>      [:div.col-sm-9<br>       [:h2 &quot;Issues &quot;<br>        [filters <a href="http://twitter.com/selected">@selected</a>]<br>        [new-issue]]<br>       [issue-search]<br>       (for [issue-summary <a href="http://twitter.com/issues">@issues</a>]<br>         ^{:key (:support-issue-id issue-summary)}<br>         [issue-panel issue-summary])]]]))</pre><h3>One quote</h3><blockquote><em>There is no general theory of how best to make decisions. Much of the academic literature on decision-making under uncertainty tries to frame the challenge as a puzzle. All decisions, it is assumed, can be expressed as mathematical problems. And potentially capable of being solved by computers. […] Howerver humans have evolved to cope with problems which are not amenable to probabilistic reasoning […] Our brains are not built like computers but as adaptive mechanisms for making connections and recognising patterns. Good decisions often result from leaps of the imagination. […] Creativity is inseparable from uncertainty. By its nature, creativity cannot be formalised, only described after the event, with or without the help of equations.King, Mervyn. Radical Uncertainty: Decision-making for an unknowable future</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-43-radical-uncertainty-and-decentralization/"><em>http://www.alfredo.motta.name</em></a><em> on November 10, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b739168e32c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #42 — The End of Average]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-42-the-end-of-average-5b1e1267284d?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5b1e1267284d</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[hiring]]></category>
            <category><![CDATA[diversity]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 03 Nov 2020 09:21:52 GMT</pubDate>
            <atom:updated>2020-11-03T09:23:21.027Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #42 — The End of Average</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*N6pYsbrQmPEo6QJf.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about diversity and how to reconcile the problem of deviating from the expected norm when hiring in business. I am sold already; You don’t need to convince me that diversity is a good thing to aim for. Said that I am also mindful that my actions alone will not be enough if I don’t take into consideration the business environment I operate in, where risks and outcomes are the main variables to take into consideration; I can <em>easily </em>justify my choice when a good looking CV doesn’t work out, it’s harder when a non-traditional CV doesn’t go well. So how do I create a coherent, believable, and effective strategy to build a diverse, creative, smart and effective team without the constraints of traditional hiring methods? Can we embed experimenting with different profiles in the hiring process by taking a calculated risk in the expected business outcomes?</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://research.google/pubs/pub41854/">Inferring causal impact using Bayesian structural time-series models</a></p><p>Whenever you are trying to predict the effect of a marketing campaign or population and you can’t AB test it, the traditional approach is to reach for a classic <a href="https://en.wikipedia.org/wiki/Difference_in_differences">Difference-in-Differences</a> scheme; those calculate the effect of a treatment on an outcome by simply comparing the average change over time in the outcome variable for the treatment group, compared to the average change over time for the control group. This Google Research paper demonstrates an alternative method based on state-space models. Such models make it possible to incorporate empirical priors on the parameters in a fully Bayesian treatment and accommodate multiple sources of variation, including the time-varying influence of contemporaneous covariates.</p><h3>One video or podcast</h3><p><a href="https://www.infoq.com/presentations/discovery-organizational-culture-artifacts/">Discovering Culture through Artifacts</a></p><p><a href="https://twitter.com/sonofgarr?lang=en">Mike McGarr</a>, currently working in the Slack’s Frontend Infrastructure team, shares an approach to discovering organizational culture through its artifacts. Artifacts are not perfect; you can’t draw hard conclusions from an artifact, but you get a hint. Examples of artifacts include Statement, Environment, Structure, Managers, Tools.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/24186666-the-end-of-average">The End of Average: How We Succeed in a World That Values Sameness</a></p><p>This is the book that excited me the most this week and took a lot of my reading time. It really did speak to me. It highlights how our entire social system has been built around this average-size-fits-all model. Schools are designed for the average student. Healthcare is designed for the average patient. Employers try to fill average job descriptions with employees on an average career trajectory. The first half of the book is about explaining how this average-centric thinking came into place, the second half presents some strategies to tackle this problem.</p><h3>One tool</h3><p><a href="https://github.com/jeremyevans/rodauth">Rodauth: Ruby’s Most Advanced Authentication Framework</a></p><p>Rodauth is an advanced authentication framework for Ruby. Compared to Devise it’s less entangled with Rails and easier to configure to accommodate almost any conceivable authentication protocol!</p><h3>One line of code</h3><p>VIM golf is an entertaining way to practice your skills by attempting to edit text with the lowest amount of keystrokes possible. I played <a href="http://www.vimgolf.com/challenges/5bbb82f969a25f0009541350#5fa11f045e783b000947dcb9">one game</a> this week and that was my solution.</p><pre>qadt_$hxj0q@a@@@@@@:wq&lt;CR&gt;</pre><p>to change this text</p><pre>Assert.ThrowsAsync&lt;Exception&gt;(() =&gt; _auction.StartSellingItem());<br>Assert.ThrowsAsync&lt;Exception&gt;(() =&gt; _application.StartBiddingIn(_auction));<br>Assert.ThrowsAsync&lt;Exception&gt;(() =&gt; _auction.HasReceivedJoinRequestFromSniper());<br>Assert.ThrowsAsync&lt;Exception&gt;(() =&gt; _auction.AnnounceClosed());<br>Assert.ThrowsAsync&lt;Exception&gt;(() =&gt; _application.ShowsSniperHasLostAuction());</pre><p>to this text</p><pre>_auction.StartSellingItem();<br>_application.StartBiddingIn(_auction);<br>_auction.HasReceivedJoinRequestFromSniper();<br>_auction.AnnounceClosed();<br>_application.ShowsSniperHasLostAuction();</pre><h3>One quote</h3><blockquote><em>The expected value of your impact on the world is like a vector. It is defined by two things: direction and magnitude.Sam Altman</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-41-the-end-of-average/"><em>http://www.alfredo.motta.name</em></a><em> on November 3, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5b1e1267284d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #41 — Expectations]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-41-expectations-16b0127fa015?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/16b0127fa015</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[elixir]]></category>
            <category><![CDATA[statistics]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 27 Oct 2020 08:06:24 GMT</pubDate>
            <atom:updated>2020-10-27T08:07:41.272Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #41 — Expectations</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*NdrnJywfOaCxIshh.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about statistics and expectations. Mental models like statistical significance and p-values help us set expectations on what are the boundaries and conditions under which we are willing to accept something as true. Without them, what would be left with?</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://hbr.org/2020/10/when-does-predictive-technology-become-unethical?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+harvardbusiness+%28HBR.org%29">When does Predictive Technology become Unethical?</a></p><p>It is the generation of new data — the indirect discovery of unvolunteered truths about people — the makes machine learning predictions unethical? This HBR article investigates a few interesting cases.</p><h3>One video or podcast</h3><p><a href="https://nssdeviations.com/77-back-to-statistics?tdest_id=743150">Not So Standard Deviations 77 — Back to Statistics</a></p><p>You explain to students the concept of statistical significance, and the next question often is…and now what? how do we make a decision? Statistical significance is not as trivial as looking at an arbitrary threshold. It’s a model that describes our inherent uncertainty about the world.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/23241062-statistics-done-wrong">Statistics Done Wrong</a></p><p>Don’t get yourself fooled by statisticians. When it comes to statistics, plenty of otherwise great scientists — yes, even those published in peer-reviewed journals — are doing statistics wrong. This book helps you avoid the most common traps.</p><h3>One tool</h3><p><a href="https://app.diagrams.net/">Open Source diagram tool — Diagrams.net</a></p><p>If you want to learn what does it take to build diagramming software in Javascript, this tool is free and open-source!</p><h3>One line of code</h3><p>Curious about real world Elixir out there? here is a <a href="https://github.com/rrrene/elixirstatus-web/blob/master/web/controllers/posting_controller.ex">controller</a> from this open source projects curated <a href="https://github.com/droptheplot/awesome-phoenix">list</a>.</p><pre>def index(conn, params) do<br>    current_user = Auth.current_user(conn)<br>    admin? = Auth.admin?(conn)<br>    page = ElixirStatus.Persistence.Posting.published(params, current_user, admin?)</pre><pre>assigns = [<br>      postings: page.entries,<br>      page_number: page.page_number,<br>      total_pages: page.total_pages,<br>      created_posting: load_created_posting(conn),<br>      just_signed_in: params[&quot;just_signed_in&quot;] == &quot;true&quot;,<br>      referred_via_elixirweekly: params[&quot;ref&quot;] == &quot;elixirweekly&quot;,<br>      searching?: !is_nil(params[&quot;q&quot;]),<br>      search_query: params[&quot;q&quot;],<br>      current_posting_filter: params[&quot;filter&quot;] |&gt; nil_if_empty(),<br>      posting_filters: <a href="http://twitter.com/posting_filters">@posting_filters</a>,<br>      search: params[&quot;q&quot;] |&gt; nil_if_empty(),<br>      changeset: changeset()<br>    ]</pre><pre>conn<br>    |&gt; ElixirStatus.Impressionist.record(&quot;frontpage&quot;)<br>    |&gt; render(&quot;index.html&quot;, assigns)<br>  end</pre><h3>One quote</h3><blockquote><em>You are under no obligation to remain the same person you were a year ago, a month ago, or even a day ago. You are here to create yourself, continuously.Richard Feynman</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-41-expectations/"><em>http://www.alfredo.motta.name</em></a><em> on October 27, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16b0127fa015" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #40 — Decisions and Team Topologies]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-40-decisions-and-team-topologies-d779519066bc?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/d779519066bc</guid>
            <category><![CDATA[performance]]></category>
            <category><![CDATA[teams-and-teamwork]]></category>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[decisions]]></category>
            <category><![CDATA[software]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Wed, 21 Oct 2020 08:17:20 GMT</pubDate>
            <atom:updated>2020-10-21T08:19:58.554Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #40 — Decisions and Team Topologies</h3><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have been thinking about teams and specifically about how trust is build and broken. Creating trust and engagement in an ever-changing environment business environment is definitely not an easy job. I hope some of these links will inspire you if you are facing the same.</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://failfastmoveon.blogspot.com/2020/09/tool-tip-change-compass.html">The Change Compass</a></p><p>In this article, the author presents a simple Change Compass to be used in retrospectives to measure team morale and engagement. Haven’t tried it yet, but I am a big believer in turning literally everything into data, so I will give it a try. The compass has four quadrants: Improving, Stormy, Worsening, Calm.</p><h3>One video or podcast</h3><p><a href="https://a16z.com/2020/10/07/how-to-decide-annie-duke-convey-convince-inform-decide-teams-life/">a16z Podcast: How to Decide, Convey vs. Convince, &amp; More</a> In this podcast from Silicon Valley investor firm Andreessen Horowitz the author of Thinking in Bets and former Poker player Annie Duke is interviewed to talk about her new book: HOW to Decide: Simple Tools for Better Choices. There are some good insights there on how all our decision moments are traps for human biases to emerge.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/43572685-team-topologies">Team topologies: Organizing Business and Technology Teams for Fast Flow</a></p><p>If your business, your industry, the world, and user perceptions are constantly changing, why aren’t you changing your team topologies? Successful teams are at the heart of making software, and this book goes into the details of how successful teams look like.</p><h3>One tool</h3><p><a href="https://github.com/tridactyl/tridactyl">https://github.com/tridactyl/tridactyl</a></p><p>Did you know that you can use your browser using vim-like commands? I know, it’s crazy, but if you are a VIM user you should give it a try. Your wrists at the end of the day will thank you.</p><h3>One line of code</h3><p>If you are finding yourself debugging SQL queries for performance you might have come across Postgresql EXPLAIN ANALYZE before. Here is an example of how a plan looks like from this <a href="https://thoughtbot.com/blog/reading-an-explain-analyze-query-plan">article</a>.</p><pre>EXPLAIN ANALYZE SELECT *<br>FROM tenk1 t1, tenk2 t2<br>WHERE t1.unique1 &lt; 100 AND t1.unique2 = t2.unique2<br>ORDER BY t1.fivethous;</pre><p>and this is the plan</p><pre>Sort  (cost=717.34..717.59 rows=101 width=488) (actual time=7.761..7.774 rows=100 loops=1)<br>   Sort Key: t1.fivethous<br>   Sort Method: quicksort  Memory: 77kB<br>   -&gt;  Hash Join  (cost=230.47..713.98 rows=101 width=488) (actual time=0.711..7.427 rows=100 loops=1)<br>         Hash Cond: (t2.unique2 = t1.unique2)<br>         -&gt;  Seq Scan on tenk2 t2  (cost=0.00..445.00 rows=10000 width=244) (actual time=0.007..2.583 rows=10000 loops=1)<br>         -&gt;  Hash  (cost=229.20..229.20 rows=101 width=244) (actual time=0.659..0.659 rows=100 loops=1)<br>               Buckets: 1024  Batches: 1  Memory Usage: 28kB<br>               -&gt;  Bitmap Heap Scan on tenk1 t1  (cost=5.07..229.20 rows=101 width=244) (actual time=0.080..0.526 rows=100 loops=1)<br>                     Recheck Cond: (unique1 &lt; 100)<br>                     -&gt;  Bitmap Index Scan on tenk1_unique1  (cost=0.00..5.04 rows=101 width=0) (actual time=0.049..0.049 rows=100 loops=1)<br>                           Index Cond: (unique1 &lt; 100)<br> Planning time: 0.194 ms<br> Execution time: 8.008 ms</pre><p>but reading it should be <em>that</em> hard, here is why tools like <a href="https://explain.depesz.com/">explain.depesz.com</a> come to the rescue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vncJxmhAYOZcxutU.png" /></figure><h3>One quote</h3><blockquote><em>In large companies and gov’t organizations “fear of failure” inhibits speed and risk-taking, while in startups “fear of failure” drives speed and urgencySteve Blank</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-40-decisions-and-team-topologies/"><em>http://www.alfredo.motta.name</em></a><em> on October 21, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d779519066bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #39 — Make it simple]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-39-make-it-simple-10ef9ecbc1e9?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/10ef9ecbc1e9</guid>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[modeling]]></category>
            <category><![CDATA[complexity]]></category>
            <category><![CDATA[jwt]]></category>
            <category><![CDATA[design-thinking]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 13 Oct 2020 08:24:21 GMT</pubDate>
            <atom:updated>2020-10-13T08:26:15.583Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #39 — Make it simple</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*y8l9WvS1Dk2lKWPy.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have enjoyed reading this article about <a href="https://fs.blog/2020/10/why-life-cant-be-simpler/">complexity</a> and how to think about it when building systems like web products. Couple it with this <a href="https://skillsmatter.com/skillscasts/13618-representations-count">talk</a> by Tom Stuart on how representations count, and you have the right tools to think about complexity.</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://fs.blog/2020/10/why-life-cant-be-simpler/">Why Life Can’t Be Simpler</a></p><blockquote><em>The total complexity of a system is a constant. If you make a user’s interaction with a system simpler, the complexity behind the scenes increases.Lawrence Tesler (1945–2020)</em></blockquote><p>In this article, the author presents how to think about complexity using the Energy analogy. When trying to make things simpler, we need to be aware that we are really shifting complexity around.</p><h3>One video or podcast</h3><p><a href="https://skillsmatter.com/skillscasts/13618-representations-count">Representations count — Tom Stuart</a> In this talk, Tom Stuart explores how complicated code can get if you pick the wrong abstraction. Searching and looking for deeper insights on how we model our world can make a huge difference to the end result.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/1501427.Managing_The_Design_Factory">Managing the Design Factory</a></p><p>Being aware of complexity doesn’t help if you don’t know how to tackle it in the context of a team. There is nothing more complex than a group of humans collaborating on a hard problem. This book combines the powerful analytical tools of queuing, information, and system theories with the proven ideas of organization design and risk management. What you get is a methodical approach to consistently hit the “sweet spot” of quality, cost, and time in developing any product.</p><h3>One tool</h3><p><a href="https://github.com/actionsflow/actionsflow">Actionsflow — The free Zapier/IFTTT alternative for developers</a></p><p>Developers are getting excited about building their very own automation tool using Github’s actions. I envy their effort, but personally I think for the price I would always go with a managed solution.</p><h3>One line of code</h3><p>JSON Web Tokens are an open, industry-standard RFC 7519 method for representing claims securely between two parties. In Ruby, you can play around with the <a href="https://github.com/jwt/ruby-jwt">JWT gem </a>like so:</p><pre>require &#39;jwt&#39;</pre><pre>payload = { data: &#39;test&#39; }</pre><pre># IMPORTANT: set nil as password parameter<br>token = JWT.encode payload, nil, &#39;none&#39;</pre><pre># eyJhbGciOiJub25lIn0.eyJkYXRhIjoidGVzdCJ9.<br>puts token</pre><pre># Set password to nil and validation to false otherwise this won&#39;t work<br>decoded_token = JWT.decode token, nil, false</pre><pre># Array<br># [<br>#   {&quot;data&quot;=&gt;&quot;test&quot;}, # payload<br>#   {&quot;alg&quot;=&gt;&quot;none&quot;} # header<br># ]<br>puts decoded_token</pre><h3>One quote</h3><blockquote><em>“When a thing looks complicated, it’s possible that we are looking at it wrong and missing some of the pieces of the puzzle.” Richard Feynman</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-39-make-it-simple/"><em>http://www.alfredo.motta.name</em></a><em> on October 13, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10ef9ecbc1e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not So Random Software #38 — Is Technical debt just bullshit? And How to play the Piano]]></title>
            <link>https://medium.com/@motta.lrd/not-so-random-software-38-is-technical-debt-just-bullshit-and-how-to-play-the-piano-7f327a7b2edc?source=rss-8a27379fd9fb------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f327a7b2edc</guid>
            <category><![CDATA[tech-debt]]></category>
            <category><![CDATA[piano-lessons]]></category>
            <category><![CDATA[social-network]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[neuroscience]]></category>
            <dc:creator><![CDATA[Alfredo Motta]]></dc:creator>
            <pubDate>Tue, 06 Oct 2020 07:05:52 GMT</pubDate>
            <atom:updated>2020-10-06T07:24:24.678Z</atom:updated>
            <content:encoded><![CDATA[<h3>Not So Random Software #38 — Is Technical debt just bullshit? And How to play the Piano</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*Zp2HdMBi3dOc9Tk3.jpg" /></figure><p>Hello everyone and welcome back to Not So Random Software!</p><p>This week I have enjoyed reading <a href="https://louwrentius.com/most-technical-debt-is-just-bullshit.html">this article</a> commenting on technical debt and why today is used as a catch-all term for all types of dysfunctions. I have been recently experimenting on a system to objectively define and measure tech debt with teams and I hope to be sharing it soon; feel free to message me if you would like to hear more.</p><p>I am also starting a journey on how to play the Piano (Yamaha EZ 220) and found the Flowkey service to be really useful. Got told if I can type on VIM that well, I can definitely learn how to play the Piano. We will see if that hypothesis holds true in a few months.</p><p>Enjoy the random walk!</p><h3>One article or paper</h3><p><a href="https://louwrentius.com/most-technical-debt-is-just-bullshit.html">Most Technical Debt Is Just Bullshit</a></p><p><em>Because technical debt creates a bottleneck, it doesn’t follow that every bottleneck is thus technical debt</em>. This is the argument that the author investigates by looking at the various definitions of technical debt by Martin Fowler, Uncle Bob, or Ward Cunningham. At the <a href="https://en.wikipedia.org/wiki/Technical_debt#Causes">wikipedia page</a> about technical debt, there is a long list of possible causes of technical debt.</p><ul><li>Insufficient up-front definition</li><li>Lack of clear requirements before the start of development</li><li>Lack of documentation</li><li>Lack of a test suite</li><li>Lack of collaboration / knowledge sharing</li><li>Lack of knowledge/skills resulting in bad or suboptimal code</li><li>Poor technical leadership</li><li>Last minute specification changes</li></ul><p>The author argues that these issues are called ‘technical debt’ because they can have a similar <em>outcome</em> as technical debt. They can create a <em>bottleneck</em>. That’s not helpful.</p><h3>One video or podcast</h3><p><a href="https://wakingup.libsyn.com/218-welcome-to-the-cult-factory">Making Sense — Welcome to the Cult factory — The Social dilemma</a></p><p>Sam Harris speaks with Tristan Harris, former Google’s Design Ethicist and Product Philosopher, who studied how screen applications affect consumers in terms of their behaviour, patterns, connections, and overall health or attitude. Tristan is featured in the Netflix documentary “The Social Dilemma”. They discuss the rise in teen depression and suicide, political polarization, conspiracy theories, information warfare, the decoupling of power and responsibility, the distinctions between platforms and publishers, and other topics.</p><h3>One book</h3><p><a href="https://www.goodreads.com/book/show/34507927-how-to-take-smart-notes">How to take smart notes: : One Simple Technique to Boost Writing, Learning and Thinking — for Students, Academics and Nonfiction Book Writers</a></p><p>The Take Smart Notes principle is based on established psychological insight and draws from a tried and tested note-taking-technique. This is the first comprehensive guide and description of this system in English, and not only does it explain how it works, but also why. It suits students and academics in the social sciences and humanities, nonfiction writers and others who are in the business of reading, thinking and writing.</p><h3>One tool</h3><p><a href="https://www.flowkey.com/en">Flowkey — Learn how to play piano online</a></p><p>The Flowkey app is able to recognize the note you play through the microphone and it guides you through your learning experience. I thought it was mind-blowing, there has never been an easier time in history to learn how to play a musical instrument.</p><h3>One line of code</h3><p>I found this <a href="https://dev.to/codeartistryio/the-react-cheatsheet-for-2020-real-world-examples-4hgg">React cheatsheet</a> this weekend which might come handy when experimenting with this framework. The ternary operator in React JSX templates makes my eyes bleed…is it just me?</p><pre>// we can improve the logic in the previous example<br>// if isAuthenticated is true, how do we display both AuthLinks and Greeting?<br>function Header() {<br>  const isAuthenticated = checkAuth();</pre><pre>return (<br>    &lt;nav&gt;<br>      &lt;Logo /&gt;<br>      {/* we can render both components with a fragment */}<br>      {/* fragments are very concise: &lt;&gt; &lt;/&gt; */}<br>      {isAuthenticated ? (<br>        &lt;&gt;<br>          &lt;AuthLinks /&gt;<br>          &lt;Greeting /&gt;<br>        &lt;/&gt;<br>      ) : (<br>        &lt;Login /&gt;<br>      )}<br>    &lt;/nav&gt;<br>  );<br>}</pre><h3>One quote</h3><blockquote><em>“There are only two industries that call their customers ‘users’: illegal drugs and software.”The Social Dilemma — Netflix</em></blockquote><p><em>Originally published at </em><a href="http://www.alfredo.motta.name/not-so-random-software-38-is-technical-debt-just-bullshit-and-how-to-play-the-piano/"><em>http://www.alfredo.motta.name</em></a><em> on October 6, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f327a7b2edc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>