<?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 Alaeddine Mokri on Medium]]></title>
        <description><![CDATA[Stories by Alaeddine Mokri on Medium]]></description>
        <link>https://medium.com/@alaeddine?source=rss-6a12a75849e7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HYcBzNdGL8edZLW-cFlyOQ.jpeg</url>
            <title>Stories by Alaeddine Mokri on Medium</title>
            <link>https://medium.com/@alaeddine?source=rss-6a12a75849e7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 12:10:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@alaeddine/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[Designing Distributed Systems: my go-to books]]></title>
            <link>https://alaeddine.medium.com/designing-distributed-systems-my-go-to-books-4ec5c58e0a4f?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec5c58e0a4f</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[software-architecture]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[system-design-interview]]></category>
            <category><![CDATA[system-design-concepts]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Wed, 01 May 2024 21:42:21 GMT</pubDate>
            <atom:updated>2024-05-01T21:42:21.214Z</atom:updated>
            <content:encoded><![CDATA[<p>Many software engineers often wonder about how to strengthen their system design skills, especially in situations where there aren’t that many opportunities to be involved in the design and implementation of distributed systems.</p><p>As most skills, designing distributed systems requires both a solid theoretical foundation coupled with hands-on experience. I found this list of books to cover both very well. The top three are primers on how the internet works and how information is stored and shared across the internet. The bottom three are a collection of common system design problems and their solutions. One must note though, that the solutions are not the only solutions or the best either. That said, I found the best way to read the three books is to go through them topic by topic. For instance, on the topic of load-balancers, one can supplement their understanding by looking up how the same problem was solved in different companies. By contrasting the different solutions, one can build a more nuanced understanding of the problem and the solutions.</p><h3>How the Internet Really Works</h3><p><a href="https://catnip.article19.org/">How the internet really works - An illustrated guide to protocols, privacy, censorship, and governance</a></p><h3>Designing Data-Intensive Applications</h3><p><a href="https://www.oreilly.com/library/view/designing-data-intensive-applications/9781491903063/">Designing Data-Intensive Applications</a></p><h3>Understanding Distributed Systems</h3><p><a href="https://www.amazon.com/Understanding-Distributed-Systems-Second-applications/dp/1838430210?ref_=ast_author_dp">Understanding Distributed Systems, Second Edition: What every developer should know about large distributed applications</a></p><h3>System Design Interview — Volume 1</h3><p><a href="https://www.amazon.com/System-Design-Interview-insiders-Second/dp/B08CMF2CQF">System Design Interview - An insider&#39;s guide</a></p><h3>System Design Interview — Volume 2</h3><p><a href="https://www.amazon.com/System-Design-Interview-Insiders-Guide/dp/1736049119/">System Design Interview - An Insider&#39;s Guide: Volume 2</a></p><h3>Hacking the System Design Interview</h3><p><a href="https://www.amazon.com/dp/B0B7QHRK5Q">Hacking the System Design Interview: Real Big Tech Interview Questions and In-depth Solutions</a></p><p>Good luck!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec5c58e0a4f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Non-Fiction Picks from 2020]]></title>
            <link>https://alaeddine.medium.com/top-non-fiction-picks-from-2020-2f0d7aa259df?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f0d7aa259df</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[readinglist]]></category>
            <category><![CDATA[2020]]></category>
            <category><![CDATA[best-books]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Mon, 28 Dec 2020 22:44:59 GMT</pubDate>
            <atom:updated>2020-12-29T20:39:48.204Z</atom:updated>
            <content:encoded><![CDATA[<p><em>In 2019, I started the habit of sharing the best books I have read in a given year (you can see </em><a href="https://medium.com/@Alaeddine/top-non-fiction-picks-from-2019-b7c92c1b71d"><em>the 2019 list here</em></a><em>). These are books that I’d strongly recommend if you didn’t check them already. So here goes my 2020 favorites.</em></p><h3>The World is Flat: A Brief History of the Twenty-first Century</h3><p>Author: Thomas Friedman</p><p><a href="https://read.amazon.com/kp/embed?asin=B000U913GG&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_OWL6FbHV99D61">The World Is Flat : A Brief History of the Twenty-first Century (A Brief History of the Twenty- first Century)</a></p><p>This is arguably one of the most influential books of the past 20 years. The core idea is pretty simple: thanks to technology and globalization, the world has fundamentally changed around the year 2000. Power has shifted from governments and large corporations to individuals. Now, and for the first time in history, everyone is competing against everyone else, anywhere in the world. And this has major implications on how the world works and will evolve. The gives a historical account on how we got to the current state of affairs and how to thrive in this new era of human history.</p><p>Takeaways:</p><ul><li>We are at the beginning of a new era in human history where individuals have never been more powerful.</li><li>Your geographic coordinates are increasingly meaningless. The world has become a small town where everyone competes with everyone else.</li></ul><h3>Smarter Faster Better: The Transformative Power of Real Productivity</h3><p>Author: Charles Duhigg</p><p><a href="https://read.amazon.com/kp/embed?asin=B00Z3FRYB0&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_.XL6FbS2B8ER6">Smarter Faster Better: The Transformative Power of Real Productivity</a></p><p>Advice often misses context. It often looks something like this: person/company A did X, then these amazing things happened; therefore, action X must have been the cause of that success. In this book, Charles compares and contrasts several situations before making that cause-effect statement. One of the topics that I thoroughly enjoyed is mental models and how they help pilots manage catastrophic situations in the sky. This is a truly magnificent piece of work if you care about improving your craft.</p><p>Takeaways:</p><ul><li>Mental models and visuals are critical to understanding.</li><li>Motivation is a skill. You should learn it.</li><li>Team dynamics are far more important that individual strengths and weaknesses. Psychological safety is critical to building a good team.</li><li>Decision making should be analytical and rooted in quantitative methods and logic. Don’t let guessing be your decision making tool. Instead, apply quantitative methods, look at the data, question assumptions, etc.</li></ul><h3>Competing Against Luck: The Story of Innovation and Customer Choice</h3><p>Authors: C. Christensen, K. Dillon, T. Hall, D. Duncan</p><p><a href="https://read.amazon.com/kp/embed?asin=B01BBPZIHM&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_LYL6FbD9VZH4P">Competing Against Luck: The Story of Innovation and Customer Choice</a></p><p>It is often unclear why some products are more popular than others. The thesis of the book is based on The Jobs Theory. This theory suggests that people often use a given product to do a certain job which often has nothing to do with the nature of the product. For instance, the authors discuss Netflix as a tool to kill boredom and not necessarily watch movies. This context helps uncover why Netflix does what it does, how it does it and how it approaches the competition. My reading notes can be found <a href="https://medium.com/@Alaeddine/reading-notes-competing-against-luck-by-c-christensen-k-dillon-t-hall-d-duncan-390897aaa631">here</a>.</p><p>Takeaways:</p><ul><li>There is a big difference between what a product is meant for and why people use it. Understanding that distinction explains why some products are far more successful and others.</li></ul><h3>The Mamba Mentality: How I Play</h3><p>Author: Kobe Bryant</p><p><a href="https://read.amazon.com/kp/embed?asin=B07DC3WRKT&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_a0L6Fb557KQ8Y">The Mamba Mentality: How I Play</a></p><p>The great Kobe Bryant has left us this truly unique masterpiece on his working habits and how they lead to his remarkable career in basketball. A list of those habits can be found <a href="https://medium.com/@Alaeddine/the-working-habits-of-kobe-bryant-9212c3bca67d">here</a>.</p><p>Takeaways:</p><ul><li>Excellence is a habit. Your performance in the court is what you do every single day.</li><li>Working more does not necessarily mean burn out. Working more can mean getting better.</li><li>It takes a lot of people to succeed.</li><li>Leadership is not a title! It is a behavior.</li></ul><h3>The Perfectionists: How Precision Engineers Created the Modern World</h3><p>Author: Simon Winchester</p><p><a href="https://read.amazon.com/kp/embed?asin=B072BFJB3Z&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_O0L6Fb988WTGG">The Perfectionists: How Precision Engineers Created the Modern World</a></p><p>When we talk about technological achievements, we often refer to tangible things: machines. This book reminds us that many of the technologies we enjoy today are about ability to build something with a better precision than ever before. More importantly, the author explains how being able to make things with higher precision often opens up completely new possibilities. For instance, long haul flights would not have been possible without very precise turbines. All these smartphones that keep improving year over year are only possible because we are able to make chips with ever higher precision.</p><p>Takeaways:</p><ul><li>Better precision opens up new technological possibilities.</li><li>Precision is what makes our technological world possible.</li><li>We are on a verge of a new era: What happens when we go to space where physical laws are different (e.g. gravity, space-time, etc)? Is there a limit to precision?</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f0d7aa259df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On Moonshot Thinking and Wireless Power Transfer in Post-Oil Algeria]]></title>
            <link>https://alaeddine.medium.com/on-moonshot-thinking-and-wireless-power-transfer-in-post-oil-algeria-9df515d3dc00?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9df515d3dc00</guid>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Sat, 21 Nov 2020 15:37:46 GMT</pubDate>
            <atom:updated>2020-11-21T15:37:46.248Z</atom:updated>
            <content:encoded><![CDATA[<p>Over a century ago, Nikola Tesla envisioned a future where electricity flows wirelessly across the planet. Unfortunately, our energy infrastructure did not change much and wireless power did not made much progress either. However, Tesla’s vision made sense then and continues to make sense today. In this post, I attempt to explore this “moonshot idea” in the context of the imminent energy transition in Algeria.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*XcN8SObBQdOOp3Hidt1t5g.jpeg" /></figure><h3>Context</h3><p>Algeria has the 10th largest proven gas reserve and 16th largest proven oil reserve in the world. Algeria also produces about 2% of gas and 2.5% of oil consumed worldwide. Next to these encouraging numbers, we have some alarming ones: 95% of Algeria’s income comes from oil and gas exports, and oil production has declined by 12.5% over the past 10 years. Furthermore, while gas production remained almost constant over the past 10 years, local consumption has doubled. Today, 50% of gas produced is consumed locally.</p><p>As a result, Algeria is now facing the reality of a declining GDP in a grim economic environment. As a matter of fact, from 2012 to 2013, the GDP per capita barely increased by 50 dollars (the smallest increase since 2009). And in a more recent news, the price of oil has declined by 30% over the past 3 months to around $80 per barrel today, while economists suggest that anything below $110 may have severe consequences on the economy in the short term.</p><h3>Status quo</h3><p>To get out of this situation, Algeria is now betting on its large shale gas reserves (world’s 3rd largest), but it will take at least 7 more years till the infrastructure is in place. Not only that, but the environmental cost that will be associated with this choice is very expensive. In fact, there is heated debate today in the US on whether americans should continue their efforts in this direction.</p><p>Now the question is: how can Algeria maintain its GDP growth knowing that oil, gas and shale gas are invalid options?</p><h3>The Way Forward</h3><p>The answer is probably in the geographic map: Algeria is the 10th largest country in the world, with enough solar exposure to supply the entire world with clean solar energy. Producing enough solar electricity to power the entire European Union (72% of oil and gas produced in Algeria is exported to the European Union) is technically a no brainer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*pjRYN1-9zdw5dO7xS4hLSA.jpeg" /></figure><p>In fact, there is a whole concept called DESERTEC which aims at making this vision happen: building very large scale solar PV (LSPV) power plants in north africa to generate electricity and transporting it to the Europe. And the key word here is “transporting it”!</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*ZS50l4ZWQ9SiB55iqWppHA.jpeg" /></figure><p>The transportation of electricity for long distances is tricky because of the cost of building the infrastructure, and the losses that increase as distance increases (the order is thousands of km), let alone the environmental impact, insurance and interruption costs, intergovernmental agreements as these grids will have to cross several countries, etc. In short, none of the power transportation technologies we have today can meet the economic and technological constraints. And at this very stage of the discussion Nikola Tesla comes to mind: long distance safe wireless power transfer.</p><p>If Tesla was successful in his venture to transfer power across the Atlantic Ocean, his invention would very well save Algeria today to beam electricity to Europe across the mediterranean sea!</p><h3>Do we have the technology today?</h3><p>NASA and JAXA (the US and Japan’s national aerospace agencies) have already done extensive work to study the feasibility of producing solar electricity in space and beaming it to a ground station in the form of short-wavelength waves. Demonstrations of this approach of transporting power have been successful a long time ago (1970s) but over short distances (order of few km), but no demonstration has been shown yet over very long distances like Nikola Tesla thought possible. Although NASA seems to have abandoned the idea for economic reasons, JAXA continues to work towards installing a space-based solar power plant in orbit by 2030. In addition to JAXA, the Los Angeles based startup Solaren also aims at putting a solar power plant in orbit and has already signed a power purchase agreement with PG&amp;E (7th largest electric utility in the US, and 18th largest in the world). The agreement will become effective in 2016.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*BoNTQZq9YbVVKg59Q1R_hg.jpeg" /></figure><h3>Market Conditions</h3><p>Europe very well realizes that meeting demand in the next few decades is rather challenging partly because of the increasing severeness of winters because of climate change. Europe also knows very well that oil and gas from Algeria will one day expire. In addition to this, because of the increasing demand for clean sources of power to mitigate the consequences of climate change, Europe is more interested than ever in clean energy resources. This means that Algeria is in a situation of losing its role as an energy supplier to Europe, and the only way to keep playing that role is to supply power that is: abundant, clean and at a low cost. Very large scale solar PV plants combined with wireless power transfer can potentially meet all those.</p><p>In recent news, there were several events of drones flying over nuclear facilities in France. In a world where advanced technology is becoming ubiquitous and extremism has shown unprecedented levels of spread and violence, the requirements of protecting and operating nuclear facilities are becoming increasingly costly. Not only that, nuclear energy is not a dispatchable source of power: nuclear plants can not respond timely to peaks of power demand.</p><h3>Verdict</h3><p>Algeria is facing some daunting economic problems and risks its role as a major energy player. Technically, very large scale PV power plants combined with wireless power transfer stations seem to be a hard but a sound bet.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9df515d3dc00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reading Notes: “Competing Against Luck” by C. Christensen, K. Dillon, T. Hall, D. Duncan]]></title>
            <link>https://alaeddine.medium.com/reading-notes-competing-against-luck-by-c-christensen-k-dillon-t-hall-d-duncan-390897aaa631?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/390897aaa631</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product-development]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[clayton-christensen]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 23:35:21 GMT</pubDate>
            <atom:updated>2020-09-10T16:21:03.201Z</atom:updated>
            <content:encoded><![CDATA[<h3>On “Competing Against Luck” by C. Christensen, K. Dillon, T. Hall, D. Duncan</h3><h4><em>In this business masterpiece, the late Clayton Christensen and co-authors share research-based insights into why some products are successful in the market while most aren’t. These insights can be used to improve the odds of success by making and delivering products that take into account the context in which they are “hired”.</em></h4><p>The authors argue that the real value of a product is often different from the perceived value and this dichotomy often leads to organizations building the wrong products or building the right product and delivering it poorly. This often leads to confusion on who their competitors are, how to make sense of the sales data, how to improve the product, etc.</p><h3><strong>The Milkshake Dilemma</strong></h3><p>As an example of this, the book mentions the “milkshake dilemma” which goes as follows: in a given store, every morning, several customers come in to buy milkshakes. The store manager wanted to improve sales and went on to develop new flavors. To their surprise, this made little difference. The authors argue that the reason people were buying milkshakes from this store specifically was not necessarily the taste (i.e. perceived value). The real reason could be that those customers were commuters who wanted a milkshake to drink while on their way to work and wanted something heavy to fill them up and sweet. So the perceived value here is taste but the real value is quite different: a consistent drink that makes the commuter feel full and enjoy their time on the road. Therefore, because it is inconvenient to park the car and wait in line to buy a drink, the store should probably arrange to make it easy for the customer to grab a milkshake (e.g. set up a drive through, set up a vending machine, etc).</p><blockquote>“New products succeed not because of the features and functionality they offer but because of the experiences they enable.” — Clayton Christensen</blockquote><h3>Netflix competition</h3><p>The authors list a variety of case studies that demonstrate this theory but the one that struck me the most is about Netflix. The authors argue that the competition of Netflix is not just other places where you watch TV shows and movies: HBO, Amazon, Hulu, etc. Their competition are all the things that people do for entertainment: going to the movie theatre, watching sports, grabbing a glass of wine and reading, etc. For instance, in an interview, John Doerr asked Netflix’s CEO “what are your superpowers?”, to which Reed Hastings answered :</p><blockquote>“Fundamentally, we are trying to do something big. We are trying to end boredom and loneliness.” — Reed Hastings</blockquote><p>This simple realization gives the Netflix product an edge because it is built with the context in mind and gives an insight into pricing, content, method of delivery, etc. That said, if Netflix ever decide to introduce a new product, they are probably more likely to succeed with introducing a gaming product in their suite than say a news product.</p><h3>The Theory of Jobs to Be Done</h3><p>The book also introduces the concept of “hiring a product to do a job” which basically means “using a product to meet a specific need”. This concept draws a line between “what a product is meant for” and “what it is used for”. An example of this is smoking: while a cigarette is designed to give the body the nicotine it craves, smokers sometimes take a cigarette break because they want to go to the smoking area and socialize, take a break from work, etc. In this sense, a cigarette is competing with all the other things that a smoker could do to socialize and take a break (e.g. go on social media, etc). Or as the authors put it:</p><blockquote>“Facebook is actually competing with cigarettes to be hired for the same Job to Be Done. Which the smoker chooses will depend on the circumstances of his struggle in that particular moment.” — Clayton Christensen</blockquote><h3>Closing thoughts</h3><p>This book changed my views on product development quite significantly. I can put those thoughts in two buckets: 1) using data effectively to determine what to build, 2) the importance of delivery.</p><p>On the first one, I no longer see a user as a person but as a human with needs, struggles, feelings, ambitions, dreams, etc. For instance, if I am working on a software product, I often raise questions about: who the user is? do they care about productivity? for how long and how often they use the product? will the product help them with their career? and their personal development? etc. When all the data is collected, we can identify the “job” and build a product that can be “hired” to do that job.</p><p>On the second one, I want to make sure products are presented correctly. For instance, if the user is already happy and used to a certain workflow, I won’t try to convince them to ditch that. I’ll try to make sure their flow is not disrupted by introducing a new product to it (e.g. by making it easy to integrate, compatible, cross-platform, does not require new skills, etc) or as we say in the software business: integrated seamlessly.</p><p>If you are building a new product, you definitely need this book in your reading list. And like the great egyptian author Abbas Al-Aqqad once said that some books are meant to be read multiple times, I believe this is one of those.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=390897aaa631" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Working Habits of Kobe Bryant]]></title>
            <link>https://alaeddine.medium.com/the-working-habits-of-kobe-bryant-9212c3bca67d?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9212c3bca67d</guid>
            <category><![CDATA[kobe-bryant]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[people-management]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[performance]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Mon, 03 Aug 2020 19:30:27 GMT</pubDate>
            <atom:updated>2022-04-17T18:03:42.319Z</atom:updated>
            <content:encoded><![CDATA[<h4>Kobe is simply one of the greatest athletes of all time. With five championships, over 33,000 points (25 ppg), two olympic gold medals, an Emmy and an Oscar; his legacy speaks for itself. This begs the question: how did he do that?</h4><p>Truth is, I always take interest in people (or teams, organizations, etc) who stick to a process and achieve incredible results. This is precisely why I am a fan of Kobe: his belief in the process. Or like Kobe himself put it:</p><blockquote>“What separates great players from all-time great players is their ability to self-assess, diagnose weaknesses, and turn those flaws into strengths.” — KB</blockquote><p>So recently I picked up his autobiography “The Mamba Mentality: How I Play” and here I am sharing what I learned from it and how I am applying some of that learning to refine my process and become better at what I do: solve engineering problems.</p><p><a href="https://read.amazon.com/kp/embed?asin=B07DC3WRKT&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_QUfkFbS33R2YG">The Mamba Mentality: How I Play</a></p><ul><li><strong>More hours is more done:</strong></li></ul><p>Kobe trained more than anybody else. While many argue that “you should work smarter, not harder”, the math in Kobe’s head was simple: the more hours he worked, the better he was going to get. This manifested in training sessions that started as early as 4 am so he could have one more training session than everybody else (three per day instead of two).</p><ul><li><strong>It takes a lot of people:</strong></li></ul><p>While what we see on the court is Kobe, the book sheds light on the many people who worked tirelessly in the background. This included his family, physical therapists, team mates, mentors, coaches, etc. For instance, I was surprised to learn about a specific person who made sure tape was applied properly in every game and every training session. On this aspect, KB talks about the importance of communicating to everyone in your environment what you are trying to achieve and their role in it: family, friends, colleagues, managers, mentors, etc.</p><ul><li><strong>Ask questions:</strong></li></ul><p>Kobe asked a lot of questions to a lot of people. He was constantly in the lookout for something new to learn from great athletes, coaches, etc. These conversations often lead to several mentor-mentee relationships with some of the greatest athletes who played the game; the likes of Michael Jordan and Kareem.</p><ul><li><strong>Repetition makes perfect:</strong></li></ul><p>Kobe developed a habit to see something in video or just visualize it and do it over and over again until he mastered it. One prime example is how he learned to shoot without using the index finger that he broke early in his career.</p><ul><li><strong>Studying video:</strong></li></ul><p>KB <strong>studied</strong> a lot of tapes to self-assess, pick up new techniques, and study his opponents. Those sessions weren’t passive but actual study sessions with a lot of attention to detail and rewinding.</p><p>In a completely different arena, the billionaire investor Ray Dalio, in his book Principles, talks about the same idea of replays by logging what their firm does and re-examining the performance of their actions. He also talks about studying history to spot trends and identify them when they occur. At Google, similar exercises called “post-mortems” are very common at the end of important projects to reassess how the project went and put together measures for improvement.</p><ul><li><strong>Gear:</strong></li></ul><p>Kobe cared a lot about gear. Instead of looks, shoes needed to be about weight, weight distribution, material, cut, traction, durability, etc. He thought the widely-used high-tops weaken the ankles and sap mobility. This finding lead to a partnership with Nike on low-top shoes which he used much of his career.</p><blockquote>“My sneakers didn’t just have to be comfortable, they had to help me perform better.” — KB</blockquote><ul><li><strong>Resilience:</strong></li></ul><p>Kobe was always ready to adjust his technique based on the situation at hand. The book is full of photos of real play situations and how he used different shooting and defense techniques that are tailored to his opponents. He also talks about how he approached games differently based on how he felt: tired and not able to jump very high? not able to run a lot? big physical opponents? Put simply, he devised a plan for every situation.</p><blockquote>“After I injured my right index finger in the 2009–2010 season, I knew my usual method would no longer work. Up until then, I’d always shot off of my first two fingers. After I hurt it, I had to start focusing on using my middle finger. The middle become my point of release, and I had to sort let my index finger drift” — KB</blockquote><ul><li><strong>Recovery:</strong></li></ul><p>Sleep and meditation were just as important before and after training sessions and games. This allowed him to train and work with intensity. Personally, I take this point very seriously by tracking my sleep performance daily (see figure below), meditating, taking long walks daily, etc. It was nice to see an additional data point on how recovery fits in KB’s day-to-day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*At3jZlx-Z8u5qclYwSetzQ@2x.jpeg" /><figcaption>Figure: Hours of sleep vs sleep needed data for a full week.</figcaption></figure><ul><li><strong>Reading:</strong></li></ul><p>This particular one came off as very surprising. Apparently, KB read a lot. One particular one is the referee&#39;s handbook and how he learned to get away with minor violations simply because he had a better understanding of how the referees position themselves in the court.</p><ul><li><strong>Setting the tone:</strong></li></ul><p>Not surprisingly, KB understood the importance of the team and his leadership role in it. So to give that extra dose of motivation, KB talks about dunking:</p><blockquote>“When you dunk the ball, it lets the opposition know your mentality. It lets them know you’re there to humiliate them. It also sets an emotional tone with your teammates. It lets them know you’re going to climb mountains this game and inspires them to want to climb with you “— KB</blockquote><p>To sum up, I believe Kobe’s process can be applied in a myriad of disciplines including building products, solving technical problems, etc. And to leverage these learnings, one can think of the projects like games, themselves as players in a team, and their colleagues as a team (fun fact, this is not a new idea like discussed <a href="https://www.nutcache.com/blog/what-is-scrum-methodology-and-project-management/">here</a> and <a href="https://www.projecttimes.com/articles/rugby-vs-development-what-is-scrum.html">here</a>).</p><p>That said, becoming an excellent problem solver depends on your “ability to self-assess, diagnose weaknesses, and turn those flaws into strengths”. Following the footsteps of the great KB, this ability can be developed by sticking to a <strong><em>process</em></strong> that involves: a lot of practice, a support system, asking questions, a lot of replays and self-assessment, great gear and tooling, resilience, plenty of rest, continuous learning and being a team player.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9212c3bca67d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On “The Subtle Art of Not Giving a F” by Mark Mason]]></title>
            <link>https://alaeddine.medium.com/reading-notes-the-subtle-art-of-not-giving-a-f-author-mark-mason-6ccc68e6a339?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ccc68e6a339</guid>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Fri, 17 Jul 2020 16:41:45 GMT</pubDate>
            <atom:updated>2020-08-03T22:06:14.585Z</atom:updated>
            <content:encoded><![CDATA[<h3>On “The Subtle Art of Not Giving a F” by Mark Manson</h3><p>This is your typical self-help book even though the author claim that it isn’t. It’s funny, full of interesting stories but little new insights. If you’re looking for self-help advice based on scientific research and thorough literature, this book is definitely not that. Nonetheless, I happily stuck through it because of the humor and the anecdotes.</p><p><a href="https://read.amazon.com/kp/embed?asin=B019MMUA8S&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_KAikFb3ZABN4F">The Subtle Art of Not Giving a F*ck: A Counterintuitive Approach to Living a Good Life (Mark Manson Collection Book 1)</a></p><p>The main message is: be mindful of what to care about. A prime example of this is the following: given that your goal is to become a better student, day to day minutiae should not bother you much (e.g. the grading in a homework being unfair, a question in the homework was confusing, etc). Not putting enough work or making enough progress should bother you. At first, this may sound counter-intuitive: you just got a bad grade because of the unfair grading and confusing questions, yet you couldn’t care less. This is probably not what you’d expect from a student who is trying to be better. The author’s view is that being selective and choosing not to worry about those irrelevant events is exactly what you need so you can focus on the more important stuff: managing your time better, asking good questions, etc.</p><p>This book offers a reminder of something that we often forget about especially in the heat of the moment. Or like Mark Manson put it, at the end of the day, what matters the most are the things we choose not to care about.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ccc68e6a339" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Go vs Python]]></title>
            <link>https://alaeddine.medium.com/go-vs-python-a2dccc3d8e9c?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2dccc3d8e9c</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Thu, 28 May 2020 17:07:01 GMT</pubDate>
            <atom:updated>2020-08-03T22:26:44.745Z</atom:updated>
            <content:encoded><![CDATA[<h3>Golang vs Python in Five Minutes</h3><p>In this entry, I attempt to answer one simple question: how can I quickly determine which programming language is better for my application: Python or Go? To answer that, we’ll take a high-level wholistic approach to assess how these two languages stack against each other.</p><h3>Performance:</h3><p>This is a tricky one because the languages are optimized to perform better or worse for different problems. For in-depth benchmarking numbers, this article does a great job: <a href="https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-python3.html">https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/go-python3.html</a></p><p>In a few words, thanks to its out-of-the-box coroutine API, for most “parallelizable” tasks, Go is the clear winner.</p><h3>Compilation:</h3><ul><li>Golang: compiled. One interesting feature is that compilation errors are returned when dead code (i.e. non-reachable) is present.</li><li>Python: interpreted. Errors surface late at runtime. This is one of the worst aspects of Python in my opinion because some fatal errors may only surface in production. I saw this happen way more often than I can remember. However, to be fair, there are some libraries that address this but didn’t use them extensively to comment on their usefulness.</li></ul><h3>Deployment:</h3><ul><li>Golang: a single binary is produced. This means that you can take your binary and run it anywhere and expect the same behavior.</li><li>Python: dependencies need to be downloaded. This makes the artifacts light in size but adds the overhead of ensuring dependencies are configured correctly.</li></ul><h3>Concurrency:</h3><ul><li>Golang: built-in.</li><li>Python: add-on.</li></ul><h3>Memory Management:</h3><ul><li>Golang: built-in.</li><li>Python: add-on.</li></ul><h3>Typing:</h3><ul><li>Golang: static.</li><li>Python: dynamic to the point that it is not that useful.</li></ul><h3>Third-Party Integrations:</h3><ul><li>Golang: integrations with popular cloud services are not widely available. Typically, you will need to write your own integrations.</li><li>Python: statistically speaking, almost every popular service in the cloud has a Python library.</li></ul><h3>Community:</h3><ul><li>Golang: first release was in 2009.</li><li>Python: first release was in 1991.</li></ul><h3>Domain/Usage:</h3><ul><li>Golang: distributed systems.</li><li>Python: data intensive applications &amp; data analysis. It is particularly good for prototyping especially when used in a notebook.</li></ul><h3>Programming Paradigm:</h3><ul><li>Golang: procedural. Mild support for functional programming (FP) and object-oriented programming (OOP) concepts. There is no concept of a `class` however.</li><li>Python: procedural with good support for FP and OOP concepts.</li></ul><h3>Verbosity:</h3><ul><li>Golang: more verbose because it has fewer built-in functions. This is in fact the core philosophy of Go: simplicity with a few features and a few updates between versions. One good feature in Golang is its support for grouped imports which helps save some typing.</li><li>Python: it has a wealth of built-in functions and relies on indentation to define code blocks (i.e. no need for brackets and semicolons). This makes code significantly more concise.</li></ul><h3>Error Handling:</h3><ul><li>Golang: relies on return values. It has no support for exceptions.</li><li>Python: relies heavily on exceptions that propagate throughout the call stack.</li></ul><h3>Velocity:</h3><ul><li>Golang: relies on the programmer to build logic.</li><li>Python: relies on built-in and third-party libraries to build logic.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2dccc3d8e9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Top Non-Fiction Picks from 2019]]></title>
            <link>https://alaeddine.medium.com/top-non-fiction-picks-from-2019-b7c92c1b71d?source=rss-6a12a75849e7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7c92c1b71d</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[toppicks]]></category>
            <category><![CDATA[growth]]></category>
            <category><![CDATA[top-reads]]></category>
            <category><![CDATA[best-books]]></category>
            <dc:creator><![CDATA[Alaeddine Mokri]]></dc:creator>
            <pubDate>Thu, 30 Jan 2020 20:47:47 GMT</pubDate>
            <atom:updated>2020-08-03T22:16:34.032Z</atom:updated>
            <content:encoded><![CDATA[<p><em>2019 has been an unusually good year with so many books to reflect back on. These books were not necessarily published in 2019, but this is when I got to them and believe remain as much relevant as when they were first released. I have selected these specific ones because they influenced how I look at and do things in some noticeable way.</em></p><h3>David and Goliath: Underdogs, Misfits, and the Art of Battling Giants</h3><p>Author: Malcolm Gladwell</p><p><a href="https://read.amazon.com/kp/embed?asin=B00BAXFAOW&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_Y74jEb3V9494N">David and Goliath: Underdogs, Misfits, and the Art of Battling Giants</a></p><p>This potentially-a-classic recounts stories of individuals and organizations who embraced their weaknesses to succeed in unconventional situations, often against much more powerful circumstances. Weaknesses, the book argues, can very well be strengths depending on the situation (e.g. think agility in a small start-up and a big corporation).</p><p>Takeaways:</p><ul><li>Embrace your weaknesses.</li><li>Don’t be overconfident in your strengths. They can be on and off themselves weaknesses depending on the situation.</li><li>Question the rules of the game whenever possible. Rules might not be optimized for your specific strengths and weaknesses.</li></ul><h3>Marie Curie: Portrait intime d’une femme d’exception (French)</h3><p>Author: Barbara Goldsmith</p><p><a href="https://www.amazon.com/Marie-Curie-Portrait-intime-dexception/dp/2100500074">This book</a> gives a thorough historical account of how a child in Poland went on to define the material world as we know it by discovering radioactivity, new chemical elements (Polonium and Radium) and developing techniques for isolating isotopes. The author also tells a heartbreaking story of a strong woman who had to fight for recognition in a man-dominated world.</p><p>Takeaways:</p><ul><li>Remarkable things happen by recognizing other people’s work, questionning it and building on it.</li><li>Many people misused radiative products in the early days because of its seemingly magical power. This obviously lead to a dark period in history. The lesson here is that it is always necessary to fully understand the implications of new technologies and discoveries.</li><li>With enough willpower and curiosity, breakthroughs will eventually emerge even when resources are scarce and society is biased against you.</li></ul><h3>Ultralearning: Master Hard Skills, Outsmart the Competition, and Accelerate Your Career</h3><p>Author: Scott Young</p><p><a href="https://www.amazon.com/Ultralearning-Master-Outsmart-Competition-Accelerate/dp/006285268X/ref=tmm_hrd_swatch_0?_encoding=UTF8&amp;qid=&amp;sr=">Ultralearning: Master Hard Skills, Outsmart the Competition, and Accelerate Your Career</a></p><p>This book tells a story of a fresh graduate who completed the undergraduate curriculum at MIT in a year instead of four. The subject then proceeded to become conversational in several languages, learn how to draw and pick several other skills in very short periods of time. The book discusses the strategies used to achieve these feats.</p><p>Takeaways:</p><ul><li>Learning often takes long periods of focused work (versus scattered periods of learning).</li><li>Always aim for building intuition (i.e. mental models) for what you are learning.</li><li>Optimize your learning plan for what you are trying to achieve. For instance, before taking on a new learning challenge, ask yourself: why are you learning the skill? Then optimize your learning plan accordingly.</li></ul><h3>Principles: Life and Work</h3><p>Author: Ray Dalio</p><p><a href="https://read.amazon.com/kp/embed?asin=B071CTK28D&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_hVikFb3437D45">Principles: Life and Work</a></p><p>This book tells a story of one of the largest investment management companies in the world: Bridgewater Associates. More importantly, the book recounts how this organization managed to grow from a two person office to managing +100 billion dollars of assets and advising many governments across the globe. According to the author, this was achieved by developing and following a set of “timeless” principles even when general wisdom suggested otherwise. This strategy worked particularly well during the 2008 global economic crisis.</p><p>Takeaways:</p><ul><li>Human organizations are systems where each individual plays a role optimized for the optimal operation of the entire system. These systems need to be assessed analytically and upgraded as needed.</li><li>History is full of patterns. It helps to reframe the problem in hand and look at similar situations that happened in other places and times.</li><li>Quantify and log what you do as much as possible, that’s how you learn from mistakes and develop principles for your own organization or self.</li><li>Trust the believability scores. When you look at an opinion, try to understand where it comes from: is it an opinion from an expert’s experience? is it backed by data? is it applicable to the situation in hand?</li></ul><h3>You Are a Badass: How to Stop Doubting Your Greatness and Start Living an Awesome Life</h3><p>Author: Jen Sincero</p><p><a href="https://read.amazon.com/kp/embed?asin=B00B3M3VWS&amp;preview=newtab&amp;linkCode=kpe&amp;ref_=cm_sw_r_kb_dp_bf5jEbMQ7YX78">You Are a Badass®: How to Stop Doubting Your Greatness and Start Living an Awesome Life</a></p><p>If you have heard the expression “it’s all in your head”, this book is really an extended essay on this very point. Our subconscious brains are full of assumptions that stand in the way of our best selves. The author makes it a point to take a step back and take a hard look at what is in our subconscious.</p><p>Coincidently, I friend recently told me “maybe it was not meant to be” to justify why their career goals never materialized .</p><p>Takeaways:</p><ul><li>It’s probably all in your head. Take the time to analyze why you are thinking what you are thinking.</li><li>Don’t be afraid to question general wisdom and think for yourself and your own circumstances.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7c92c1b71d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>