<?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 Andrei Averkin on Medium]]></title>
        <description><![CDATA[Stories by Andrei Averkin on Medium]]></description>
        <link>https://medium.com/@andrei.averkin?source=rss-4ab7d2987871------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Xqz4LIqm5rmrdnnpBEnD8Q.jpeg</url>
            <title>Stories by Andrei Averkin on Medium</title>
            <link>https://medium.com/@andrei.averkin?source=rss-4ab7d2987871------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 19:23:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andrei.averkin/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[Does the world need a new religion?]]></title>
            <link>https://medium.com/@andrei.averkin/does-the-world-needs-a-new-religion-93bdd0d1427a?source=rss-4ab7d2987871------2</link>
            <guid isPermaLink="false">https://medium.com/p/93bdd0d1427a</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[atheism]]></category>
            <category><![CDATA[religion]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Andrei Averkin]]></dc:creator>
            <pubDate>Sat, 21 Apr 2018 14:08:31 GMT</pubDate>
            <atom:updated>2022-12-14T07:14:18.094Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MN1wLI1qt0cExOwKOALkkw.jpeg" /></figure><p>For centuries people have entrusted their minds and thoughts with religion. Every religion with its own gods, belief systems, rituals and prayers. The ideologies of the religions were defined by Gods, prophets, enlightened or otherwise chosen ones. People were born into a religion, rarely choosing it as a way of life.</p><p>Religions were great. Actually, they played a crucial role in shaping our societies and controlling the masses by setting a unified set of laws and expected behaviors. From the most obvious commandments like “do not kill\steal\cheat” to a more interpersonal behavior of helping those in need, religions used simple award and punishment systems to tunnel people into the greater good.</p><p>But times have changed. Governments and communities are now entrusted with deciding what’s best for the people. We enforce punishments against criminals, ranging from parking tickets to capital punishment. Governments take care of the weak and ill using its healthcare system. Decent interpersonal behaviour, moral judgment and values are taught in kindergartens, schools and the homes of our children. There may be some place for improvement in many of those areas, but the cheese has moved.</p><p>So what do we need religion for? We don’t.<br>Not only it has stripped people of their freedom to choose what to believe in (why don’t we issue a brochure of religions to everyone at the age of 18, so they can freely choose which religion, if any, they feel interested in), but religions are now used as a weapon to control the believers in both political and real-life battlefields.</p><p>On the flip-side, we have the atheists. Atheists don’t follow a religion. They don’t believe in God. They form their own belief systems that enable them to believe in themselves — they are self-believers. Some of them get ideas from books, the web or the self-help industry; others read philosophy like Stoicism or follow a less-religious path like Buddhism. No matter how they choose to do it, <strong>self-believers have the freedom and the responsibility to pave their own path into becoming a better version of themselves</strong>.</p><p>While religion-believers enjoy a predefined set of books and scriptures to draw ideas and life lessons from, the scriptures of every self-believer are different, and can change as years go by.</p><p>While religion-believers follow a strict menu of prayers on a daily, weekly, monthly and holiday basis, self-believers struggle to keep their minds focused on what is important to them at the moment while keeping the bigger picture of their values and aspirations in the back of their minds.</p><p>That’s where I come in. I wish to empower self-believers with a practical framework that will effectively manage their “scriptures” and turn them into their own “prayer system”.</p><p>The “holy trinity” of this framework are:</p><ol><li>The seeds (your bible and scriptures) — everything that inspires you to become a better version of yourself. Anything that you have read in a book, a blogpost, a podcast. A tweet or a quote that you want to remember. A philosophical concept you liked, or just an interesting original thought you had. All these are your seeds. In a way, they define your basic set of beliefs and core values.</li><li>The garden (your prayers) — the thoughts that make up the garden of your inner-self. They arise from the seeds you plant. Some flowers blossom daily, others once a week. Some are for special occasions only, and some will randomly surprise you. The timing and the nature of the flowers are up to you.</li><li>The park (your community) — a network of gardens. Seeds from flowers of neighboring gardens may be carried with the wind into your garden and become your seed. By traveling the park, you can discover beautiful flowers that you never thought existed — use it to make your garden even prettier.</li></ol><p>So, is there a place for just one more religion in the world?<br>I believe there is — your self-religion.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=93bdd0d1427a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I learnt from playing Clash Royale with my son]]></title>
            <link>https://medium.com/@andrei.averkin/what-i-learnt-from-playing-clash-royale-with-my-son-bfa2e5442400?source=rss-4ab7d2987871------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfa2e5442400</guid>
            <category><![CDATA[clash-royale]]></category>
            <category><![CDATA[parenting]]></category>
            <category><![CDATA[psychology]]></category>
            <category><![CDATA[children]]></category>
            <category><![CDATA[gaming]]></category>
            <dc:creator><![CDATA[Andrei Averkin]]></dc:creator>
            <pubDate>Fri, 16 Jun 2017 21:14:27 GMT</pubDate>
            <atom:updated>2017-06-18T05:34:25.626Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CsTvFbkVJnxNmdZ8Ab3hjQ.jpeg" /><figcaption><a href="https://clashroyale.com/">clashroyale.com</a></figcaption></figure><p>If you are familiar with the game, please skip this paragraph. For those of you who stayed and wander what everybody is playing these days, I’ll give a 30 seconds intro to describe the phenomenon. Clash Royale by Supercell is a multiplayer online game (you play against real people) in which you build an army and confront other players in 3–4 minute blitz combats where you unleash your cards (various sorts of goblins, dragons, skeletons, princes, etc.) to destroy your opponents’ towers, under the constraint of a scarce-life-giving-resource - the elixir.</p><p>Before I go into the details of what the title promises, let me tell you how I came about playing the game. Well, it all started one day when my son Barak (8 years old) who plays his mobile games on my smartphone asked me to pay for a “chest” in a game from his “personal money”. After putting the effort to explain to him that this will be money thrown away and seeing that my effort was pointless, I paid 4 dollars and the kid was in heaven (I’m such a great dad!). After about half an hour, when I asked him to hand me the device for several times, he said he just can’t stop the game at that moment, and tried to run away each time I came close to him in fear that I will take the device (not such a good dad after all…). That evening, after I had my device back and the house was quite I sat down to see what it was all about.</p><p>On to my findings.</p><ol><li><strong>The game is awesome.</strong><br>The game develops strategic and tactic thinking, planning ahead, managing scarce resources under various constraints. It gives much space for creative manoeuvres, teaches cooperation and emphasises the delicate relationship between defence and offence.</li><li><strong>The game is addictive. </strong><br>This is a great game but is also the most addictive game I have ever played. This game is a foot-fall-asleep-on-toilet game. At first, I used to feel my heart-rate elevate when the battle began. I felt rage building up when I was losing more trophies than I started with, and there also was the ‘just one more game’ syndrome. After putting the device away one evening, I noticed that 40 minutes passed by and I feel bad with myself and with the time wasted, and I’m not 8, I’m 35.</li><li><strong>You can’t win it, join it.<br></strong>Addictions are part of life. We can’t avoid them, but we can try to be aware of them and to control them. First thing I did the next morning after getting to know the game, I had a nice talk with Barak on the way to school. I told him that I played the game, and that I can relate to how he felt the day before about stopping playing at once on my request. I explained him how the game effected and manipulated his little brain, and that we are going to play together and I’ll be there for him in the tough moments.</li><li><strong>It created a special bond that wasn’t there before.</strong><br>When off-game we often discuss game tactics and new card combinations. The kids at school talk about it all the time, and now I’m part of the club (“yes, my dad plays Clash with me, and he is pretty good at it”). When playing in turns, you will sometimes win and sometimes lose, and so will your kid. Use these situations to model to your son the right way to treat a defeat, and make sure to cheer him up when he loses. And the wins — it’s all high fives, which are pure joy.</li><li><strong>Don’t spend a cent (sorry Supercell)<br></strong>After we started to play together, I explained Barak that we are not going to pay for anything in the game. Although sometimes the temptation is great, you can perfectly enjoy the game without paying for the buckets of gold and gems. Now, he never asks to buy anything in the game. I think it’s good that he knows that he doesn’t need to pay for add-ons to enjoy the game (I’m not saying here that Supercell doesn’t deserve to be paid for the game. If it was a paid app, I would still buy it but not the add-ons).</li></ol><p><strong>So what I’m saying</strong> is that you can use this famous game to bond with your kid, and play it together. Be thrilled together when your kid wins the game that puts him in arena 9, and analyse the sourest of your loses to get better. Just don’t be surprised if your wife says you are being childish playing these dumb games - give her this post to read :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfa2e5442400" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Becoming a better developer by reading other’s code]]></title>
            <link>https://medium.com/@andrei.averkin/becoming-a-better-developer-by-reading-others-code-980b88cdf1ee?source=rss-4ab7d2987871------2</link>
            <guid isPermaLink="false">https://medium.com/p/980b88cdf1ee</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Andrei Averkin]]></dc:creator>
            <pubDate>Wed, 24 May 2017 20:39:50 GMT</pubDate>
            <atom:updated>2017-06-02T14:52:15.637Z</atom:updated>
            <content:encoded><![CDATA[<p>After joining the big-data team at <a href="http://www.yotpo.com/">Yotpo</a>, I needed to add Scala to my tool belt. I felt that although I was reading Scala several hours a day in every above mentioned way, something was missing. I wanted to learn from well written code examples and best practices of Scala. <strong>So I went on a mission to figure out how to become a better developer by reading code</strong>.</p><h4>Web research</h4><p>If you google it up, you will find some basic guidelines for reading code (mainly in code reading groups) and lists of exemplary repositories to learn from. I found these three resources to be most to the point:</p><ul><li><a href="http://www.gigamonkeys.com/code-reading/">http://www.gigamonkeys.com/code-reading</a></li><li><a href="https://www.youtube.com/watch?v=mW_xKGUKLpk">https://www.youtube.com/watch?v=mW_xKGUKLpk</a></li><li><a href="https://github.com/darius/code-canon">https://github.com/darius/code-canon</a></li></ul><p>I encourage you to invest the time to go over these, but for the purpose of this post, they can be summed up in the following points:</p><ol><li>We don’t read code, we decode it. We examine it. A piece of code is not literature; it is a specimen<em>.</em></li><li>The context of the code is important. For example, if we talk about javascript that is deployed as a widget to a third-party website (like the Yotpo reviews widget), it must be lightweight and fast to load.</li><li>Help the audience understand the core ideas by pointing them out. Often times, lean code is the most elegant, but you need the author to guide you through the smarts of what’s left out of it.</li><li>Can be exemplary code or bad code that you can have an opinion about.</li><li>It’s best to read code as a team, one member serving as a “tour guide”.</li></ol><p>It seems like in order for this to work, there is a set-up price to pay. A developer who wants to sharpen his saw with some well written code and best practices needs to either find a well established code reading group or search the web for well written and well documented projects in the language he needs, and at the complexity level he can tackle.</p><h4>Field research</h4><p>Bearing the web research in mind, I decided to run a small field research on this subject, to see how other developers address their need of code-reading. So I set up this small <a href="https://goo.gl/forms/k37hamE8JFzcFcCm2">form of questions</a> and sent it to some of my fellow developers. Here are some of the results:</p><p><em>Do you think that reading well written code is important for becoming a better developer?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/728/1*RMlIcQa6ITnxUrb3k4-ztA.png" /></figure><p><em>How often do you read other developer’s code for learning purposes?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*9qzqPTpcYc4XdQMECZ4dTA.png" /></figure><p><em>Where do you usually find this code?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/682/1*84BbSBpFJnqtX5yqwEO3gw.png" /></figure><p><em>Does the above mentioned source satisfy your needs for code reading?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*qSJRHmsM7FzKe5Lbz0AJEg.png" /></figure><p><em>Do you think it’s important that the code you read will be accompanied by detailed explanations?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*1lJD40-CwbmLeDhEF3dBWQ.png" /></figure><p>To summarise the results:</p><ul><li>All developers believe it’s important to read other’s code</li><li>Most of them read code for learning purposes at least once a week</li><li>Usually they read peer’s code and blog posts</li><li>Most of the developers admit that their code reading needs are not fully satisfied</li><li>Almost everyone thinks that detailed explanations are important when reading code</li></ul><p>Furthermore, I asked the developers what would be the most important feature on a website dedicated for reading code. Here are some of the answers:</p><ul><li><em>Proper search feature </em>(was mentioned several times)</li><li><em>Must be user friendly, colourful examples and the ability for a good search</em></li><li><em>Differentiation between significant and non significant parts</em></li><li><em>Helping me find relevant code to read and learn from</em></li><li><em>To have ‘good’ vs ‘bad’ examples</em></li></ul><p>It seems like people indeed want to examine and study the code, instead of just reading it.</p><h4>What to make of it</h4><p>My take on this is that in order to really benefit from code reading, there are three conditions that need to be satisfied:</p><ol><li>The code needs to be placed in a searchable, filterable and constantly growing library</li><li>The code should be accompanied by interactive guidance to enable the examination and studying of the code</li><li>Both code posting and the guidance need to be community driven to enable code relevance and developers synergy</li></ol><p>On one hand, there are many code-snippets and code-library websites that fail to provide code-guidance. On the other hand, there are countless technical blogs that provide some sort of guidance to their code, but lack the library aspect. Neither satisfy the three conditions above.</p><h4>So, what’s the best way to study from other developer’s code?</h4><ul><li>You can join or create a code reading group at your workplace. This ensures that the code will be worth studying and will be guided through (of course the guide learns the most). This sounds like the best option, but it takes lots of time and effort.</li><li>Spend around 30 minutes at least once a week going over code written by some of the best developers around you, and ask them to guide you through it. A more practical idea might be to join their code reviews as a listener; you will learn a lot.</li><li>Use the links given at the beginning of this post, or search the web for code worth studying in your preferred language. You can find the guidance for the code in professional blog posts. Another cool place to tap into the coders mind is to read Github Pull Requests of great developers on famous repos.</li><li>I believe there’s a void here waiting to be filled with a great solution that can help developers all around become a little bit better at what they do. Let’s Pick up the gauntlet towards filling this void.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=980b88cdf1ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>