<?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 Julian Dumebi Duru on Medium]]></title>
        <description><![CDATA[Stories by Julian Dumebi Duru on Medium]]></description>
        <link>https://medium.com/@durutheguru?source=rss-99559f3e6f89------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*FYKCPvNUi1d0RxZdQJ4Usw.jpeg</url>
            <title>Stories by Julian Dumebi Duru on Medium</title>
            <link>https://medium.com/@durutheguru?source=rss-99559f3e6f89------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:26:28 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@durutheguru/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[A note on the Human Pursuit of Happiness]]></title>
            <link>https://durutheguru.medium.com/a-note-on-the-human-pursuit-of-happiness-813c3e5d8a12?source=rss-99559f3e6f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/813c3e5d8a12</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[purpose]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[happiness]]></category>
            <dc:creator><![CDATA[Julian Dumebi Duru]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 07:35:47 GMT</pubDate>
            <atom:updated>2021-02-16T07:35:47.786Z</atom:updated>
            <content:encoded><![CDATA[<p>Some time ago, I found myself ruminating on a pertinent question; one I have asked myself multiple times. I’m pretty sure you might have asked yourself the same question if you’re a thinker like me. What do I really want in life? It’s interesting though. For many people, whenever this question pops up, they can’t really give a straight answer. Not everyone has a clear idea, they don’t really know. The most likely answer you’ll hear is: “Happiness. I just want to be happy”.</p><p>But Happiness is a rather broad term, one that covers a range of other things like joy, contentment, pleasure, satisfaction. And as there are several paths to happiness, we need some clarity on the path we wish to pursue in order to optimize all our thoughts and actions. Because if we want to get the most out of life, we have to be clear about the things we want.</p><p>In the spirit of clarity, let’s do a high-level breakdown of the human pursuit of happiness:</p><ul><li>Financial Sufficiency</li><li>Happy relationships</li><li>Some level of Comfort</li><li>A life of purpose</li></ul><h3>Financial Sufficiency</h3><p>Is in itself a worthwhile pursuit. It involves earning enough to cover one’s living expenses and still managing to save and invest. From Financial Sufficiency, one may start to work towards financial independence, and ultimately freedom. With freedom comes the ability to live on one’s own terms. Freedom is the only reason I envy wealthy people. Not because they have a lot of money and can afford what they want, but because they are free to live life on their own terms.</p><p>The road to financial freedom is marked by financial literacy and frugality. Unless you’re lucky enough to start a business or side hustle that generates a lot of money, you’ll probably need to save a chunk of your salary and invest wisely over the long term.</p><p>While in pursuit of a better life, be careful though. If your primary motivation for pursuing wealth is so you can buy more expensive things and own expensive cars and houses, then you’re doing it wrong. In fact, you’ve subjected yourself to the <a href="https://en.wikipedia.org/wiki/Hedonic_treadmill">hedonic treadmill</a>. Because the human psyche quickly adjusts to lifestyle changes and those material things we crave for so long no longer contribute to our happiness. That fancy car you’ve always wanted and finally acquired, pretty soon you’ll look at it with utmost boredom. We are wired to always adjust.</p><p>This doesn’t mean we should desist from acquiring expensive things. The point is: the pursuit of financial freedom should be geared towards creating <strong>better life experiences</strong> for ourselves.</p><h3>On Happy Relationships</h3><p>Indeed, relationships lie at the core of our human experience. The typical human yearns for genuine connection. To be seen, heard, and understood. A lot of things about us are guided by the input we receive from those we interact with. We learn from our social environment.</p><p>Right from the moment we were as children, and our earliest interactions happened with our parents. We drew on these contacts with our parental figures in order to understand ourselves and the larger world around us. It is no surprise that our personalities as kids were largely influenced by our interactions with our parents. For instance, kids who enjoy cordial relationships with their parents generally tend to be more confident, and vice versa.</p><p>Fast forward from childhood into adulthood. The quality of relationships you enjoy at every point in time translates in direct proportion to the quality of your life. We tend to seek out relationships with people who are like us. Like minds, kindred spirits. People who generally see the world the way we do.</p><p>I will stress though, that while it might be the default human behavior to seek out like minds, we should be cognizant of the need to establish relationships with different kinds of people. This will help vary the content of our social input and allow us to draw inspiration from different kinds of sources.</p><h3>On Comfort</h3><p>The dictionary defines comfort as a state of ease, freedom from pain. Comfort is also a state of physical and mental well-being. But the thing is, comfort can be viewed as subjective. What feels like comfort to one individual can be very different for another. I believe this stems from the inherent differences in individual personalities and ambitions. Our desire to achieve certain things in life can cause us to feel discomfort until we attain such achievements.</p><p>Regardless, we can look to Maslow’s Hierarchy of needs to gain a better understanding of comfort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/0*7gS9ee2mR93sPUAv.png" /><figcaption>Maslow’s Hierarchy of Needs</figcaption></figure><p>Maslow’s hierarchy places the most basic needs at the bottom with the idea that each level in the hierarchy must be satisfied before an individual can proceed to a higher level. During the course of an average individual’s lifetime, their primary goals can shift between levels.</p><h3>A life of Purpose</h3><p>You probably have heard the saying before: the purpose of life is a life of purpose. It may seem like an oversimplification. But on closer scrutiny, one can begin to understand the reasoning behind the statement.</p><p>Viktor Frankl’s book <a href="https://www.amazon.com/Mans-Search-Meaning-Viktor-Frankl-ebook/dp/B009U9S6FI"><em>Man’s Search for Meaning</em></a> popularised the idea that a life of purpose was a life worth fighting for, and would endure even the most adverse circumstances. Back in the German concentration camps of World War 2, conditions were incredibly hard. And for a prisoner facing bleak prospects, the difference between life and death could rest on their ability to maintain a positive outlook; one that will enable them actively seek out moments that could draw them closer towards said positive outlook.</p><p>Frankl’s book garnered some criticism for perpetuating the notion that people who survived the concentration camps were more optimistic about life, and people who died had given up. Still, we can translate his core message to a more general framework. The idea being: if we stay optimistic and positive about life, with an overarching sense of purpose, we are more likely to go very far.</p><h3>Takeaways</h3><p>So much can be said about the pursuit of happiness and what people generally want out of life. Countless books have been written on the subject. On this note, I’ll like to add my 2 cents. Here’s a list that could work for most people:</p><ol><li>Identify the things you really want out of life. If you don’t know yet, it’s fine. No pressure. Jump to Step 5.</li><li>Develop systems and strategies to help you achieve your goals.</li><li>Be consistent in your execution towards devised goals. It helps if you can be accountable to someone other than yourself. If and when you lose momentum or consistency, don’t give up; simply pick up where you left off.</li><li>Review progress. Introspect. Reflect. Learn from mistakes. Stick with what works, throw away what doesn’t work.</li><li>Spend time with good people including those who bring out the best in you.</li><li>Go back to step 1.</li></ol><p>When all is said and done, here’s the fun fact: life isn’t always about goals and ambitions. You may decide you just want to live each day as it comes. You may decide you want to live your life for your loved ones and make tons of memories. That is a very good life if you ask me. In fact, that’s the best kind of life in my opinion: a life that positively impacts others. Whatever your ambitions in life, one of them should be to do epic shit with (and for) your loved ones. Shit you can be proud of as you lay in your deathbed someday and drift off into sleep.</p><p><em>Originally published at </em><a href="https://julianduru.com/a-note-on-the-human-pursuit-of-happiness/"><em>https://julianduru.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=813c3e5d8a12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The value of Technical Insight in Business]]></title>
            <link>https://durutheguru.medium.com/the-value-of-technical-insight-in-business-7676348949bd?source=rss-99559f3e6f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/7676348949bd</guid>
            <category><![CDATA[business]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Julian Dumebi Duru]]></dc:creator>
            <pubDate>Wed, 23 Sep 2020 15:04:31 GMT</pubDate>
            <atom:updated>2020-09-23T15:09:41.344Z</atom:updated>
            <content:encoded><![CDATA[<p>About a few weeks ago, I was mindlessly scrolling twitter when I stumbled on a tweet by Vala Afshar. In the tweet, he mentioned that google came into operation in the late 90s, at a time when there were several search engines already in the market. The tweet also included a nostalgic video clip of the garage in which google started.</p><h3></h3><p>September 4, 1998On this date 22 years ago, Larry Page and Sergey Brin filed for incorporation of @Google.Google was the 21st search engine to enter the market in 1998.A look inside the company&#39;s garage office in 1998, with intros to the co-founders pic.twitter.com/5AWxbmv0Df</p><p>Complete nerds crammed in front of computers stationed in disheveled makeshift offices. Somehow, Google managed to become the dominant player in the search engine space. If there is a way to understand what led to the rise of Google, surely there are lessons we can glean from such understanding.</p><p>Vala’s tweet started a thought trajectory in my head. I’ve seen this play out several times, in many different business scenarios. The winner isn’t always the first one to the market. At the time Google came in the picture, there were already 20 existing search engines. Sometimes the winner is the one who can out-innovate the rest. Innovation lies at the core of some of the greatest success stories in business history. Innovation that connects well with the end-user. Google’s innovation in search started with the introduction of the Page Rank algorithm. To understand Page Rank, first, you need to understand the Search problem.</p><p>When a user searches for content on the World Wide Web, they want to find results that closely match their search query. Early search engines ran on primitive algorithms. For example, they would return the pages with the most keywords matching the search entry. This proved inadequate. It was possible to search for the word ‘hospital’ and get results that are not so relevant to hospitals simply because the word ‘hospital’ appears on the page multiple times. A rather frustrating experience for the user who just wants to search for hospitals.</p><p>Larry and Sergey decided to apply a technique they called Page Rank (an interesting play of words, given that Larry’s surname is Page). The technique would generate a graph that could hierarchically model the vast amount of information on the World Wide Web. This procedure assigned higher rankings to pages that were hyperlinked by other high ranking pages. A somewhat recursive algorithm. The fundamental logic was that if a lot of pages link to a page, then that page is important.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*sSBYEaoWHv5IG9QB.jpg" /><figcaption>Copped from <a href="https://en.wikipedia.org/wiki/PageRank">Wikipedia</a></figcaption></figure><p>Their insight paid off, and as at the turn of the new millennium, Google had the superior product on the market. Sure, the current Google search has gone beyond mere Page Rank. A number of different algorithms are utilized in order to provide the intelligent search experience we enjoy today. But the story of Google’s success is one that points to the value of technical insight. Insight is what allows you to see 2 or 3 or even 10 steps ahead of everybody else. And even though insight is more often something you stumble upon, it is very possible to increase your chances of such a lucky encounter. The secret lies in knowledge of the problem domain, and empathy.</p><p>For a company that wishes to secure innovation capacity in a problem domain, it would be great to hire ‘learning animals’. People who maintain an insatiable curiosity on many things. This also serves as the primary driver of their intelligence.</p><p>There’s a reason the big tech companies are very successful: they don’t joke with the quality of people they hire. It may seem elitist, but really it makes sense. You can always tell when you encounter such people. They are ambitious and have a genuine thirst for knowledge and personal growth. This manifests itself in many ways, depending on their chosen line of work: the Developer who spends hours after work practicing and honing their skills, or the Business Lead who takes the time to learn the market environment and master its dynamics, the list goes on. Such people are more likely to bring innovation capacity to any company they work in.</p><p>But innovation doesn’t make any sense if it doesn’t connect with the intended users of your product. And that’s where empathy comes in. A great many products were conceptualized when the founder experienced a problem or an inefficiency and sought to resolve that inefficiency.</p><p>Two years ago, the founder of TeamApt: Tosin Eniolorunda was at an Ebeano store when he needed to make a payment. As is often the case in supermarket stores, the POS machine was unavailable at the time. And so, he requested to do a transfer. Turns out, transfers were not accepted because it would take great effort to verify the payment. If the customer makes payment via transfer, the attendant will need to contact the store owner who owns the bank account and confirm the money has been credited. What’s worse is the store owner might be unavailable at that time, or the SMS credit alert can be delayed even after the money has entered. A harrowing experience for a customer who has to wait for credit notification before they can walk away with their purchase.</p><p>At that moment, Tosin thought about a problem he could solve. If there was a way to guarantee instant delivery of credit notification to a payment point, the payment point can be made to display an account number to accept transfers. The attendant will not need to contact any store owner since the POS will receive the credit notification instantly. Virtual Accounts Service was born out of technical insight from the founder of TeamApt and it became a standard method of payment or top-up on products like PiggyVest, CowryWise, Wallets, BuyCoins, and many more.</p><p>The business landscape is highly competitive, with companies constantly hustling for market share. In order to stay ahead of the game, one must continue to innovate. Innovation is a product of insight that stems from knowledge of the problem domain and empathy. Sadly, insights do not grow on trees, and that is why I would advise most people to seek knowledge. Learn and grow your mind. You only future-proof your career or business by constantly learning new things. Plus you never know what insights await you from the things you learn. If you’re in business, you don’t even have a choice; failure to learn and grow means you run the increased risk of being blind-sided. Stay woke.</p><p><em>Originally published at </em><a href="https://julianduru.com/the-value-of-technical-insight-in-business/"><em>https://julianduru.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7676348949bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[DevOps: Continuous Integration, Testing, Deployment and Monitoring]]></title>
            <link>https://durutheguru.medium.com/devops-continuous-integration-testing-deployment-and-monitoring-4d3605592224?source=rss-99559f3e6f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/4d3605592224</guid>
            <category><![CDATA[continuous-delivery]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[continuous-integration]]></category>
            <dc:creator><![CDATA[Julian Dumebi Duru]]></dc:creator>
            <pubDate>Thu, 05 Dec 2019 02:20:14 GMT</pubDate>
            <atom:updated>2019-12-10T11:30:03.142Z</atom:updated>
            <content:encoded><![CDATA[<h3>The DevOps Philosophy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*lImHfvTDswgRu2PK68MP7Q.jpeg" /></figure><p>As technology has evolved over the years, countless systems have sprung up into existence; each system formed on the basis of the intelligent application of knowledge and design principles. In our line of work, we design and build systems that provide services to our fellow humans.</p><p>Think of all the great services we enjoy today: WhatsApp, Instagram, Twitter, Google Search etc. They are products of engineering aimed at making life more interesting, or should i use the word.. engaging.</p><p>Product Engineering itself is a combined effort that includes Development, Quality Assurance and Operations. Indeed, it is highly improbable you will find a software company that does not engage in those three processes — reason being that they are inextricably tied to quality of service and user happiness. Here’s what it looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/610/1*OuIj3z3YT063Ij7hTvHESg.png" /><figcaption>An Oversimplified Illustration</figcaption></figure><p><strong>Development</strong> is the process of systematically evolving a code base to address business problems. Of course, this is the first stage where the work to be done is analysed and organised into sprints. The output of each sprint being a new feature or patch to be deployed to your live environment.</p><p><strong>Quality Assurance</strong> involves testing that code has been well written according to business requirements. The primary incentive for QA is knowledge that work done in Development can be shipped to users without any issues or bugs.</p><p><strong>Operations</strong> is the entirety of all activities involved in system administration, monitoring and maintenance. Apparently, the work of your engineering team does not end when you go live. They will need to load balance, administer servers, backup databases, run migrations, monitor resource usage etc. Operations is no child’s play!</p><h4><strong>Let’s talk about DevOps</strong></h4><p>DevOps is more than just a portmanteau of the words ‘Development’ and ‘Operations’. It is a philosophy and discipline that strives to be the bridge between Engineering, Quality Assurance and Operations; ensuring that all activities involved in those processes are seamlessly integrated into a system that fosters agility and high productivity.</p><p>In recent times, DevOps Engineers have gained demand, with companies becoming more aware of their relevance. Still, DevOps should be considered as an approach to work and not necessarily a job title. Even though a company might have designated DevOps engineers, the responsibility of DevOps still falls on the entire team.</p><p>So what are the activities involved in DevOps? Here’s a short list:</p><ul><li>Continuous Integration</li><li>Continuous Testing</li><li>Continuous Delivery or Deployment</li><li>Continuous Monitoring and Feedback</li></ul><p>The keyword here is Continuous — implying that processes are consistent and ongoing. What this means is that when the developers write code and commit to the repository, a well defined sequence of events is ALWAYS executed to ensure the code is well tested before it is shipped to production. Also, the live environment is constantly monitored for activity and the development team is alerted when there is a mishap.</p><p>Continuous Integration has gained massive adoption among technology companies. The reason is that CI helps to improve developer productivity. By ensuring that code is merged frequently and automated testing is done on merged code, a functional CI process will allow only working versions of the code progress further towards live deployment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*WJ8AZHK2-PCUAykKv4kU0g.png" /><figcaption>A Sample DevOps pipeline</figcaption></figure><h4>On the Topic of Testing</h4><blockquote><strong>“Even today, 80 percent of enterprise testing is done manually. This is crazy. We’re getting ready with autonomous cars on the one hand, but, on the other hand, we’re manually testing the software that’s so fundamental to every enterprise. If you move to Agile development but your testing cycle is still 6 to 12 weeks due to manual testing, you’ll fall right back into a Waterfall mode.”</strong></blockquote><blockquote>Sandeep Johri, Tricentis CEO</blockquote><p>In an Agile environment, it is highly imperative that developers receive quick feedback as they make changes to the code base. Hence one cannot rely on Manual Testing because it can be dreadfully slow. All testing must be automated.</p><blockquote><strong>“I know that software testers can make the company more profitable, make it safer, and help it grow faster; if they make your testing faster and get your new apps out there quicker, you can be more competitive.”</strong></blockquote><blockquote>Robert Webb, CIO Etihad</blockquote><p><strong>The Problem with Manual testing</strong></p><p>Testing typically involves simulating scenarios that can occur on the live environment. A single test case can be incredibly intricate; sometimes requiring the QA staff to tear down a running service, run a SQL script on the database, fire multiple API calls to a remote endpoint, etc. Bear in mind that each action being carried out is prone to human error.</p><p>Without automated testing, every time you wish to go live with new features or bug fixes, your QA must run through testing all the features on the application using a predefined test script.</p><p>What happens if QA catches a bug? The release is sent back to the devs to fix the reported issue. The devs will need to deploy a new build on the Staging server. QA has to repeat testing all features from scratch. Oh, there’s another bug…</p><p>Such back and forth is extremely slow and grossly inefficient.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*SD7oN8chwaNYdRpTg6zPYA.png" /><figcaption>It works on my Machine</figcaption></figure><p><strong>Introducing Automation</strong></p><p>When you introduce Automated Testing into your development pipeline, you have scripts that can do the work of a manual tester and return your test results in minutes. The earlier you catch bugs or defects, the cheaper they are to fix!</p><p>Companies that practice Continuous Deployment rely on Quality Assurance Engineers — programmers capable of writing code to test other code. Due to the complexity of full test automation on enterprise-level software, the work of these QA engineers should be properly coordinated to address live scenarios.</p><p><strong>Don’t forget to Monitor</strong></p><p>With today’s systems being very business critical, requirements like low latency, high availability and instant processing of user requests are very commonplace. Continuous Monitoring is very essential to DevOps because it facilitates the steady observation of user experience and infrastructure stability.</p><p>How many times has your server gone down in the last month or year? What’s your average response time? What can you say about your Network’s latency? What are the peak periods of user activity? If you cannot answer these questions, then you are not practising Continuous Monitoring.</p><p>There are several tools on the market that assist with <a href="https://en.wikipedia.org/wiki/Application_performance_management">Application Performance Management</a>.</p><p><strong>DevOps done correctly</strong></p><ol><li>Setup CI before you start writing code</li><li>Consider <a href="https://nvie.com/posts/a-successful-git-branching-model/">Vincent Driessen</a>’s approach to managing git branches.</li><li>Protect the Master branch. Developers should be incapable of arbitrarily merging code to Master.</li><li>Conduct Peer Reviews on Merge requests</li><li>Minimise access to the CI tool. Only about 2 or 3 Senior developers should be tweaking your CI pipeline.</li><li>Run Automated testing after every merge.</li><li>Run rigorous Testing in near-live environment with near-live scenarios.</li><li>Dispatch notifications when there is a failed test.</li><li>Stop what you’re doing and fix a broken build or failed test.</li><li>Each live deployment must be tagged appropriately.</li><li>Containerise your applications so deployments can be much faster.</li><li>Deploy in <a href="https://en.wikipedia.org/wiki/Computer_cluster">clusters</a> for <a href="https://en.wikipedia.org/wiki/Redundancy_(engineering)">Redundancy</a> and <a href="https://en.wikipedia.org/wiki/Network_Load_Balancing">load balance</a> for <a href="https://en.wikipedia.org/wiki/High_availability">High Availability</a>.</li><li>Monitor everything: Requests / Responses per minute, Network Latency, CPU usage, Database query speed, API errors, Server downtimes, basically everything that can be monitored.</li><li><a href="https://en.wikipedia.org/wiki/Scalability">Scale</a> your resources Horizontally or Vertically as needed</li><li>Learn from your mistakes</li></ol><p><strong>Conclusion</strong></p><p>DevOps gained popularity out of a need to solve some of the pressing problems in Software development such as: lowering failure rate of new releases, achieving faster time to market, managing unplanned work, to list a few.</p><p>DevOps is more than just a job title. It is a set of practices, a philosophy, a culture, an approach to work. For any technology company that seeks to operate at an optimal level, it is impossible to escape this philosophy. Unless of course you do not care about productivity, quality and maintenance.</p><p>Failure to establish clearly defined processes from development to go-live will always result in a haphazard work culture. In my years of experience building systems, I have learned that doing the right thing always results in less headaches and better sleep at night.</p><p><em>Julian is an Enterprise Architect at </em><a href="https://teamapt.com/"><em>TeamApt Limited</em></a><em>, a company focused on providing financial happiness through digital solutions and payments infrastructure for banks, businesses and people in Africa. He maintains an avid curiosity about many things.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4d3605592224" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Magic of Shazam]]></title>
            <link>https://medium.com/swlh/the-magic-of-shazam-7d06cd5963c6?source=rss-99559f3e6f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/7d06cd5963c6</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[music]]></category>
            <category><![CDATA[shazam]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Julian Dumebi Duru]]></dc:creator>
            <pubDate>Wed, 13 Nov 2019 02:23:43 GMT</pubDate>
            <atom:updated>2019-11-24T12:14:46.051Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SWnF3ggnqPM7eWbnugpfEA.jpeg" /></figure><p>There is always that moment when you hear a good song playing on the radio or in public and you just wish you could know the name of the song. If you have ever used the music recognition app, Shazam, then you are very much aware of the service it provides. With Shazam, you can record a short sample of a song, and the app will display the song title and artist and also include a link to buy the song. This seemingly uncomplicated user experience is the product of some fine level of brilliance which I plan to expound in this article.</p><h3>A Summary: How it all works</h3><blockquote>“There is no such thing as magic; only things that are not understood by the observer”</blockquote><blockquote>-Toba Beta, Author of the Master of Stupidity</blockquote><p>Being the curious mind that I am, I had a genuine interest in the inner workings of Shazam shortly after I had discovered it. Not only was it able to pick out the correct song title every time I used it, it also worked well in the presence of background noise and poor audio.</p><p>Apparently, Shazam maintains a database comprising millions of songs. Each song record passes through a process that extracts unique data about the song (more on this later). The mobile app on your phone performs a similar process on the short sample you record and the output is sent to Shazam’s servers. On the backend, Shazam is able to lookup the sample from your phone against its vast collection of samples.</p><p>With a very large database, chances are the song you recorded will find a match. The matching song’s metadata is returned back to your mobile client and you as the user can see the name of the song and the artist. Voila !!</p><p>But you might have a few questions. How is sound digitized? How is unique data extracted from an audio sample? How is Shazam able to quickly find a match from millions of songs?</p><p>Fear not dear reader, for I shall explain.</p><h3>It all Starts with a Spectrogram</h3><p>Think of a Spectrogram as a 3 dimensional representation of sound comprising the essential components: Amplitude, Frequency and Time. Let’s go back to Physics 101.</p><p><strong>Amplitude</strong> is the strength of a sound wave; basically what you perceive as loudness. Higher amplitude means louder sound and vice versa.</p><p><strong>Frequency</strong> is the rate at which the vibration occurs. This represents the pitch of the sound. High frequency denotes high pitch and vice versa.</p><p><strong>Time</strong> is well, time as you know it. In this context, the time component of sound represents the instant at which the sound possesses certain properties.</p><p>These three components are used to generate a spectrogram from which a fingerprint can be computed. A fingerprint is a kind of digital audio signature.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*6xucRkOFeVWsCjMw0XRqww.jpeg" /></figure><h3>How to generate an Audio Fingerprint</h3><p>For the people at Shazam, while tackling this problem, they had to devise an algorithm that would cater to a few guiding principles:</p><ul><li>Temporal Locality</li><li>Translation Invariance</li><li>Robustness</li><li>Entropy</li></ul><p>Stay with me..</p><p><strong>Temporal Locality</strong> means that the fingerprint output should not be influenced by where in the song the sample is extracted.</p><p><strong>Translation Invariance</strong> ensures that the fingerprint can be reproduced regardless of the sample’s position in the audio file. We don’t know what part of the song the user will record, hence we must be able to generate a fingerprint through any continuous flow of music data.</p><p><strong>Robustness</strong> means that the algorithm should be capable of withstanding noise, background disturbance or distortion. Even if the song is recorded from a noisy place, or in the presence of other sounds, we should be able to generate the same fingerprint.</p><p><strong>Entropy</strong> is a measure of fingerprint independence; the likelihood that the fingerprint represents that sound exclusively. This signifies the chances of collision or two different samples producing the same fingerprint.</p><p>The good people at Shazam beautifully addressed these concepts in developing their algorithm.</p><p>How did they do it? Let’s go back to the Spectrogram which allows us create a 3D model of sound.</p><p>While generating a fingerprint, Shazam extracts the high amplitude points (peaks) on the Spectrogram — effectively reducing the 3 dimensional graph to a 2 dimensional graph of frequency against time (Imagine looking at the graph from the top view, where you are only interested in the peaks). What is called a Constellation Map, the points on the 2D plane, represent points of high intensity within the sound.</p><p>For any song, these points of high intensity will be most resistant to background noise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*2x-9tUuljBh0FHVvXszNpw.png" /></figure><p>Next they select Anchor points which are paired with other neighbouring peaks in what is called a Target zone. For each pair of Anchor point and Target point, a time-frequency vector is produced which represents the relationship between the two points as a function of change in frequency over change in time. All these vectors are inputed into a hashing function which generates a 32 bit integer. This process is repeated throughout the length of the song. Hence multiple fingerprint hashes are generated for a single song.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*MdEhv_51dZRTF7i2GG199A.png" /></figure><p>These hashes are indexed in tables of combinatorial hashes. The indexing ensures that hashes can be matched very quickly during a search. And the search is pretty fast — Shazam’s search has a time complexity of O(n log n) in the average case and a constant time complexity O(1) in the best case. Considering the size of their database, that’s pretty fast!!</p><p>The hashing process described above is replayed on your phone when you record a sound clip on Shazam. The output is sent over the internet to Shazam’s servers which conduct a search against the already indexed db. The response cascades back to your phone screen and you see the result. The song playing is Wizkid’s latest banger: Joro :)</p><h3>Wrapping Up</h3><p>What’s really beautiful about all this is how the engineers at Shazam were able to decompose a very interesting problem and devise an elegant solution that is easy to understand and replicate. The lesson here is that you should not be discouraged when confronted by a very daunting challenge. Boil down the problem to the rudimentary truths and work your way up while keeping your eyes on the goal.</p><p>So next time you hear a great song playing, you don’t need to guess the title. Simply whip out your phone. Shazam is able to search a few seconds from a 3–4 minute song within a database of 10 million songs (that’s over 57 years of music!!!) … score one for human ingenuity.</p><h3>References</h3><p><a href="https://www.ee.columbia.edu/~dpwe/papers/Wang03-shazam.pdf">An Industrial-Strength Audio Search Algorithm by Avery Li-Chun Wang</a></p><p><em>Julian is an Enterprise Architect at </em><a href="https://teamapt.com/"><em>TeamApt Limited</em></a><em>, a company focused on providing financial happiness through digital solutions and payments infrastructure for banks, businesses and people in Africa. He maintains an avid curiosity about many things.</em></p><p><a href="https://twitter.com/durutheguru">Twitter</a></p><p><a href="https://www.linkedin.com/in/julian-duru-26543640/">Linked In</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7d06cd5963c6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swlh/the-magic-of-shazam-7d06cd5963c6">The Magic of Shazam</a> was originally published in <a href="https://medium.com/swlh">The Startup</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Engineering as a career choice]]></title>
            <link>https://durutheguru.medium.com/software-engineering-as-a-career-choice-c303a1c08f92?source=rss-99559f3e6f89------2</link>
            <guid isPermaLink="false">https://medium.com/p/c303a1c08f92</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[career-advice]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[Julian Dumebi Duru]]></dc:creator>
            <pubDate>Mon, 05 Mar 2018 06:25:41 GMT</pubDate>
            <atom:updated>2020-02-24T13:44:51.624Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/738/1*cmqZiJz1TuUedRoeI3g_Iw.jpeg" /></figure><p>I started writing code when i was Fifteen years old. I remember I started out with ALGOL. For me it was about experimenting with an activity I found oddly satisfying. I stood on the aisle in the University of Lagos Library, looking for something fun to read. Then I stumbled upon a book that caught my attention; can’t even remember the name of the book. The book was about constructing solutions and algorithms to different forms of mathematical problems. So I dived in out of curiosity, wondering what ALGOL was all about.</p><p>In those moments, I sat in the library perusing a book that detailed methods of deciphering mathematical hurdles and multiple solution techniques that could be converted to instructions that run on a computer processor. Each of these approaches was dissected, their strengths and pitfalls exposed with the aim of portraying problem solving as an art that requires deep levels of thought and understanding. This was my first experience writing code. It was not done on computer. Just a pen, a paper, and a book that was probably written before my father was born!</p><p>My time as a software developer has spanned roughly 7 years. And in that time, I have written trivial code and momentous code. I have built mobile apps for education and entertainment; i have built games; i have written software for medical diagnostics; i have built various forms of artificial intelligence; heck, i once wrote a checkers game in school because i did not like the ones i found on the app store at the time (lol, they weren’t bad, i just wanted a checkers game with my customized set of rules). Currently i’m working with a team of <a href="https://teamapt.com/">smart people</a> to build systems powering some of the biggest banks in Nigeria, and I haven’t even scratched the surface regarding what i hope to accomplish as i progress through my career.</p><p>There lies the beauty in software. There’s always something fun to do. There’s always something challenging to work on. You’re only limited by the extent of your knowledge and creativity. Half the time i’m not engaged in some worthwhile activity, i have ideas bouncing around my head. The more I frolic with these ideas, the more they give birth to other ideas. Yes, <a href="http://theweek.com/articles/492012/what-idea-sex">idea sex is actually a thing!</a></p><p>Such is the life of a programmer. A programmer seeks to understand how things work and how they can be made better. This can only be achieved through deep understanding which is instigated by genuine curiosity. <strong>To reach such levels of deep understanding, sometimes one must dissociate one’s self from the usual thought patterns</strong>. It’s called divergent thinking, and it’s often how genius is born. So when lady posts a flower-crown selfie she took on Snapchat, you may ogle her pretty face, while i’m busy contemplating how the mathematics was implemented to discover her facial structure, plot the flower-crown over her face and smooth out her blemishes. It’s all machine learning baby!!! And it’s beautiful once you understand the mathematics and software behind it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mqfMdB1IuJbDVG7_7QkOag.jpeg" /><figcaption>Linear Algebra, Calculus, Statistics and Probability, are all applied in Machine Learning</figcaption></figure><p>The story of any great software product is one of intelligence applied to the proper interpretation of a problem domain. Of course, with this interpretation you will need to infuse the right level of user empathy. <strong>Empathy allows you to appreciate the problem domain from your user’s perspective and build systems they can connect with</strong>. So what does this mean?</p><blockquote>If we as software engineers must apply ourselves to different problem domains then it follows that we must have extensive comprehension of the problems we are trying to solve.</blockquote><p>If you’re building a music streaming service, the quality of your product will be largely influenced by your knowledge of what music lovers want. If you’re building a product to facilitate housing and accommodation, your understanding of some of the dynamics driving the housing industry will translate into better software. The badass people of <a href="https://teamapt.com/">Teamapt</a>, building software for businesses across industries, have had to dive deep into the business psychology in order to churn out the products we are building.</p><p>So hats off to all the folks hoping to make a career out of software engineering. In the years I have worked in this field, I can give you some bits of advice that will help your journey:</p><h4><strong>1. Go Deep, Then Go Deeper</strong></h4><p>The artists who make the most impact are the ones who go deep. They hone their dexterity through hours of practice, seeking out means by which they can better their craft. Being an art lover myself, when I visit art exhibitions, I can always tell the difference in mastery between two different artists in their quality of work. It’s the same with any other field of profession, even software. Those who get ahead are those who go deep with what they do. Spend time outside your 9–5 learning and practicing coding. It’s an ever changing industry and if you’re not abreast of the current trends and technologies, you risk going out of fashion or falling behind. <br>Then keep in mind what I stated earlier concerning Idea Sex. As you gain different bits of knowledge and skill, your mind will open up to new ideas. Ensure those ideas have plenty of good sex in your head — like real orgies — so they can give birth to other ideas. Lol, tie them together and then go deeper! It’s beautiful once you immerse yourself in the flow, because you begin to discover things for yourself. And that’s when you truly start to stand out. Going deep is how you do good work. So don’t rest on the surface. Don’t be a sissy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*mchOElE_KBXfFD3ng8BxcQ.jpeg" /><figcaption>my fellow coders, i see you!</figcaption></figure><h4><strong>2. Engage in Personal Projects</strong></h4><p>Although it’s great to find work in a place you love, at the end of the day you’re still limited to the projects your company is pursuing. You will do yourself a lot of good if you engage in projects outside your day job. Find something interesting and challenging and pursue it at night and on weekends. You will gain a lot of knowledge and experience you would not have gained at work. Besides, all that extra experience can really add up over time and make you a rockstar at your day job.</p><h4><strong>3. Contribute to Open Source Projects</strong></h4><p>This is somewhat related to the point I stated earlier but I decided to make it separate because of it’s level of importance. Participating in open source projects is something many developers overlook when in reality, many of the tools and frameworks we use are actualized by open participation. There are tons of Open Source projects that will afford you the opportunity to meet other great developers and collaborate on very interesting projects. This will help you build your Digital Profile which will come in handy if you’re seeking employment with reputable software companies.</p><h4><strong>4. Experience other aspects of Software Development</strong></h4><p>There is so much to building software that lies outside writing the actual code. There’s Product development, Project management, Software Architecture, User Experience / Interface Design, Quality Assurance, etc.. <strong>Experiencing several aspects of software development can help drive your thought process from different angles when you’re writing code</strong>. Recently I was promoted to Head of Quality Assurance at Teamapt and I began to really appreciate the need to develop systems for <a href="https://en.wikipedia.org/wiki/Test_automation">automated testing</a>, <a href="https://en.wikipedia.org/wiki/Continuous_integration">continuous integration</a>, <a href="http://www.informit.com/articles/article.aspx?p=1621865&amp;seqNum=2">deployment pipelines</a> and ensuring <a href="https://en.wikipedia.org/wiki/Software_quality">code quality</a>. Even though I’m currently Head of QA, i also devote time to reading resources on Enterprise Software Architecture, because it lies central to building systems that scale massively and stand the test of time. So don’t get stuck on writing code, try to gain experience in other parts of the software process so you can be more complete.</p><h4><strong>5. Learn the Business, Understand the Industry</strong></h4><p>A company usually exists with the aim of delivering value and earning profit. For a software company, this is hardly different. Even if the core products are software, there still exists a business concern which drives the company. Therefore, every aspect of the products (from architecture, to user experience, to the database and system design and implementation) is dictated by the business.</p><blockquote>Software Developers cannot deliver products that hit the nail on the head if they are out of touch with the business concerns that inspired the product in the first place</blockquote><p>Learning the business is one thing, understanding the industry is another. A grounded understanding of the industry will ensure you’re able to innovate on problems and create more complete solutions.</p><h4><strong>6. Train your soft skills</strong></h4><p>There’s two kinds of skills required to succeed in any profession. The hard skills are skills that are learned in school or via professional training and they are usually tethered to knowledge of the profession. Then there’s soft skills which are less quantifiable, they primarily touch on communication and collaboration. Think of soft skills as ‘people skills’; your ability to interact and relate with your fellow employees and customers. <br>Being a classic introvert, I often struggled with this bit. Until I acknowledged over time that my need for personal space would not fly well at the office. If you’re a software developer, you will most times have to work in a team with other developers, project managers, and business people. You will need to know how to relate with these people and communicate your ideas and opinions explicitly so the team can be effective. There are great books on people skills. I enjoyed Dale Carnegie’s ‘<em>How to Win Friends and Influence People</em>’ and I highly recommend it.</p><p>So there you have it. The crux of the points I mentioned is personal development. If you’re not growing and actively pushing yourself to be better, you’re bound to have a very mediocre career, not just as a developer, but with anything you do. At best you will fail to realize your full potential. With the knowledge you gain and skills you acquire, you open up more opportunities for yourself. Have fun with it!!</p><p>If you liked this post, you can follow me on <a href="https://www.linkedin.com/in/julian-duru-26543640/">LinkedIn</a> and <a href="https://twitter.com/durutheguru">Twitter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c303a1c08f92" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>