Category: Life

  • On Making It Work – Stop Trying

    I’ve recently been doing a lot of problem solving on a personal and professional level the past couple of weeks. A pattern began to emerge. A pattern which should be obvious but often isn’t. There’s a problem you’re trying to solve, say getting the result of 2+2. You come up with a solution to count sticks and they don’t add up to 4.

    So, you decide to count stones instead. Now you’re getting 6. Then you decide to use color markers, and the new result is 17.  You decide to pay professionals to build you a pair of 6-feet stature so you can add it up. But then, you’re now getting 223. At some point, you realize that you’ve drifted far off from trying to solve the problem to trying to make your current solution work.

     

    This rudimentary example happens a lot in life. I believe the wise people of old call it sunk cost fallacy.The sunk cost fallacy is a cognitive bias that causes people to continue an endeavor, or continue consuming or pursuing an option, because of previously invested resources (time, money, effort), even when it’s no longer rational to do so.

    Imagine you’ve bought a $100 ticket to a concert. On the day of the concert, it’s storming, and you’re feeling sick. Going to the concert would make you miserable. Rational decision-making would say: “I should stay home and rest.” But because you spent $100, you might feel compelled to go anyway, even though the buses are on strike and your car broke down — that’s the sunk cost fallacy.

     

    As an engineer/designer, you come up with a solution. But then it keeps breaking and missing several edge cases. And you keep patching it. At some point, you must realize that maybe the solution is the problem. I’ve built solutions that took hours, several thousands of lines of code and I keep adding more and more to make it more efficient, which kept introducing new problems to solve. It’s exciting at first.

    But after a while, you must realize that the effort being put into making that solution work is better invested in coming up with a more elegant solution.

     

    Recently, I had to implement a solution that logs events happening within a system. The important thing is that we don’t want that logging to degrade user experience. After the typical brain racking, the solution I came up with was to use a queue. Smart right? When events occur, just send to a queue and move on.

    Then we have another system that processes the queue items as fast as possible. However, a small stress test quickly revealed 2 issues. First was that the queue grew very quickly, and secondly, that some queue items need to be processed sequentially for correctness, but our queue processor can’t guarantee that. To solve the first problem, I decided to add more resources to the queue processor.

    Instead of 1 queue processor, why not 5 or 10? Processing should be faster, no? Unfortunately not. Each processor tries to grab tasks from the same queue, so they often end up competing over who gets to process what.

    Even after processing, they all need to put their results to the same place, which causes more delays. Essentially, these queue processors will spend a lot of their time waiting and contending, instead of doing actual processing.

    After hours of work trying to make the queue processors more efficient, it occurred to me “I don’t need to make this queue work. I just need to solve the original problem a better”. What was the original problem? Log event but don’t make the user wait for you.

    Eventually, I came up with another solution, the same entity that attends to the user should log the event, just do it after responding to the user. I ran the same stress test on this and voilà! it worked more efficiently than I expected, without having to commit more resources to it.

     

    The lesson is not to give up on any problem you’re trying to solve. It’s that after trying to solve it a particular way for so long, it’s probably time to give up on that solution and re-assess.

    If a solution consistently introduces new problems or does not consistently solve the original problem you’re trying to solve, it’s probably not the most elegant solution for that problem.

    And if you continue to try to make that solution work, you’re almost guaranteed to spend the rest of your life still trying to make it work.

     

    For example, your personal finance, you realize you’re constantly broke before the month ends, despite being a salary earner. One way to solve that is to take a loan to stay afloat till the next salary comes in.

    However, months later, you’ll realize you’ve been accumulating and rolling over debt, despite having finite resources. Then you decide to just start taking stuff on credit. And when that introduces new problems, you start asking everyone you know for money.

    You see where I’m going with this? You’ve left the original problem and are now trying to “make the solution work”.

    Eventually, you must take a step back to re-assess the original problem i.e money finishes before the next salary comes in. A less complicated solution could be to rebase your monthly expenses so it fits inside your monthly earning.

     

    Lastly, if you’re trying to get a door open, you can try different keys and different key sizes. But you must consider at some point, that maybe that’s not a door.

  • On Second Chances

    One of the greatest strength of humans is the ability to forgive. To give those who have wronged you or erred another chance to do better.

    Two things I’m wondering

     

     

    How many second chances?

    I’m wondering how many second chances we as a society consider appropriate until there’s no more chances. The bible says it’s okay for someone to wrong you 70 times 7 in a day.

     

    Within the legal framework, some laws have something like 3-strike rule. That is, if you’re busted for the same crime 3 times, you get life imprisonment. I guess because it means you’re unrepentant.

     

    More than 50% of people in prison are repeat offenders. Most people that leave prison, end up back there within 10 years. And in some cases, end up commuting bigger crime. A man rapes a 3 year old girl. Why is that man deserving of redemption more than the millions of other people who’ve done nothing wrong?

     

    And then there’s several programs in place to give people second chance. For example, there are programs meant to help ex-convicts get a job. Some scholarships here and there. And so on. Which are all nice. And that brings me to the second thought…

     

     

    What about zero chance?

    I’ve noticed a trend that’s been around since I can remember, especially on social media. We as a people seem to have an unhealthy obsession with redemption arc. Someone who’s done bad things before but we want to save them. And I’m not saying it’s a bad idea. I’m just wondering why we don’t extend such grace to those who haven’t done anything bad.

     

    1. Some years ago, in one of the Nigerian tertiary institutions, video surfaced of what appears to be a girl and a guy being intimate, and it appears both parties were fully aware they’re being recorded. Video trended on social media. The lady was devastated, as you can imagine. Anyway, it didn’t take long for an anonymous philanthropist to offer to sponsor her education abroad.

     

    2. About 2 years ago, someone online made a proposal that they wish to enroll kids that have chosen to indulge in cyber fraud to school on scholarship.

     

    3. As recently as last week, video surfaced online of a lady who verbally and physically assaulted an elder who also happens to be a lecturer in her school. As is the trend, someone somewhere has offered her scholarship to study abroad.

     

    You’ve probably heard or seen these kinda thing happen severally over the years. And again, I’m not saying it’s a bad thing. But my concern is, aren’t we being unfair to those who’ve gotten zero chances?

     

    In as a much as it’s good to give the lady in (1) or (2) a second chance at education, what about those who’ve gotten zero chance despite not indulging in such incriminating act? Even in that her school, her set, her department, I’m almost certain there’s at least 1 person there struggling to pay school fees or make ends meet. Why does this lady deserve the scholarship more than those ones who’ve not done anything wrong? Kids chose to indulge in cyber fraud, probably with parental consent. Some kids in exactly the same circumstances didn’t. But it’s the kids that chose crime that deserve scholarships?

     

    Another interesting thing to point out is that for everyone who offers philanthropy as second chance, they have many people around them who’ve not gotten 1 chance. You’re offering to sponsor the education of a lady that assaulted an elderly man for no reason. Does that mean you have not one person around you who needs the scholarship and hasn’t done any harm?

     

    Why does it seem more rewarding to do wrong and be redeemed than to “never” do wrong? Even in the case of the prodigal son from the bible, yes the father accepted him back. But the bible didn’t say he was given another inheritance. The father inferred to the other son that everything he has is his. Because the prodigal son already squandered his inheritance. What we seem to do in this age is to take the “good son” and give it to the prodigal son as redemption.