<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ivan Smirnov</title>
    <description>The latest articles on DEV Community by Ivan Smirnov (@issmirnov).</description>
    <link>https://dev.to/issmirnov</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F748407%2F94658cb9-c196-4a9a-8604-e0fbe39f2db5.jpeg</url>
      <title>DEV Community: Ivan Smirnov</title>
      <link>https://dev.to/issmirnov</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/issmirnov"/>
    <language>en</language>
    <item>
      <title>Investing Starter Kit</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Sun, 18 Jul 2021 22:58:17 +0000</pubDate>
      <link>https://dev.to/issmirnov/investing-starter-kit-4gpp</link>
      <guid>https://dev.to/issmirnov/investing-starter-kit-4gpp</guid>
      <description>&lt;p&gt;I strongly believe that access to financial knowledge should be universal. Personal finance is often viewed as a scary or taboo topic, but it really doesn't have to be.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;All of the knowledge is out there, and everyone deserves to be wealthy.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Here are some starter resources to get you started on your journey. I'm always happy to make time to chat with you and help you discover your goals - all I ask is that you pay it forward and share this knowledge with others who may need it.&lt;/p&gt;

&lt;p&gt;Remember: &lt;strong&gt;you should not have to pay to get this knowledge&lt;/strong&gt;. There are no "secrets" that a special guru can teach you for the "low price of 19.99/mo". All of this knowledge is free and accessible to anyone who looks.&lt;/p&gt;

&lt;p&gt;Investing is the key to wealth. At first, you work for money. Later, your money should be working for you. The power of compound interest is unimaginable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Examples of Compound Interest
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Scenario 1:
&lt;/h3&gt;

&lt;p&gt;If you start with $1,000 and invest $100 every month, over 10 years your portfolio can grow to $20,514 (assuming an 8% return). [&lt;a href="https://smartasset.com/investing/investment-calculator#qeVHIjk7Pd"&gt;calculator&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VxMjWsLM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/07/image.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VxMjWsLM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/07/image.png" alt="" width="749" height="508"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Scenario 2:
&lt;/h3&gt;

&lt;p&gt;If you have more resources that you can put towards your portfolio, the growth is even crazier. Let's pretend you have $20,000 to start with and can invest $400 every week. &lt;strong&gt;You will end up with $362,768 in 10 years.&lt;/strong&gt; [&lt;a href="https://smartasset.com/investing/investment-calculator#dFUQ74FT9k"&gt;calculator&lt;/a&gt;]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0AegPcLV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/07/image-2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0AegPcLV--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/07/image-2.png" alt="" width="770" height="557"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Notice how during the later years, your interest actually starts catching up to your contributions. This is the power of compound interest. Your money starts to work &lt;strong&gt;for you&lt;/strong&gt; faster and faster, all while you sleep.&lt;/p&gt;

&lt;h2&gt;
  
  
  Market Investing: Stocks, Bonds, and Funds
&lt;/h2&gt;

&lt;p&gt;So, where do you start? First, you must learn. Read up on the basics, go through the guides and try out the simulators. Once you are comfortable, start with a small amount of money that you won't lose sleep over, and just start practicing. It's much better to lose $1,000 in your 30's compared to losing $100,000 in your 50's. Start now and learn on small portfolios, so that later you can make great decisions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Basic Guides (start here)&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.investopedia.com/articles/basics/11/3-s-simple-investing.asp"&gt;https://www.investopedia.com/articles/basics/11/3-s-simple-investing.asp&lt;/a&gt; - Simple guide that gently introduces you to various common terms and concepts. There are more links in the sidebar.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nerdwallet.com/article/investing/stocks-vs-bonds"&gt;https://www.nerdwallet.com/article/investing/stocks-vs-bonds&lt;/a&gt; - Stocks vs Bonds guide.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.nerdwallet.com/article/investing/what-is-an-etf"&gt;https://www.nerdwallet.com/article/investing/what-is-an-etf&lt;/a&gt; - Guide for ETF's&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.fool.com/investing/how-to-invest/"&gt;https://www.fool.com/investing/how-to-invest/&lt;/a&gt; - Starter guide that covers the basics.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.millennial-revolution.com/investworkshop/"&gt;https://www.millennial-revolution.com/investworkshop/&lt;/a&gt; - this is an excellent starter guide. It explains the basics of stocks, bonds, ETF's, portfolios, and more.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Practice&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once you are ready to play, you can use these two tools as simulators with "paper money" to get a sense of how things work.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.investopedia.com/simulator/"&gt;Investopedia Simulator&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.tdameritrade.com/tools-and-platforms/thinkorswim.html%20"&gt;ThinkOrSwim&lt;/a&gt; - you can set up an account and practice using a more advanced interface. MAKE SURE that you are using your paper funds and not real money.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Tools for Analysis&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.portfoliovisualizer.com/backtest-asset-class-allocation?s=y&amp;amp;mode=1&amp;amp;timePeriod=4&amp;amp;startYear=1972&amp;amp;firstMonth=1&amp;amp;endYear=2019&amp;amp;lastMonth=12&amp;amp;calendarAligned=true&amp;amp;initialAmount=10000&amp;amp;annualOperation=0&amp;amp;annualAdjustment=0&amp;amp;inflationAdjusted=true&amp;amp;annualPercentage=0.0&amp;amp;frequency=4&amp;amp;rebalanceType=4&amp;amp;absoluteDeviation=5.0&amp;amp;relativeDeviation=25.0&amp;amp;asset1=TotalStockMarket&amp;amp;allocation1_1=80&amp;amp;allocation1_2=100&amp;amp;asset2=TotalBond&amp;amp;allocation2_1=20&amp;amp;allocation2_2=0&amp;amp;asset3=IntlStockMarket&amp;amp;asset4=GlobalBond&amp;amp;total1=100&amp;amp;total2=100&amp;amp;total3=0"&gt;Backtest Portfolio Asset Class Allocation&lt;/a&gt; - as you start to form an opinion about what you would like your portfolio to look like, you can use this tool to see how you WOULD have performed. I typically set it to start in 2000 or 2009, since the world has changed a TON since 1980.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.personalcapital.com/"&gt;Personal Capital&lt;/a&gt; - Provides an excellent visualization and overview of what your accounts look like. I'm a big fan of the "Net Worth" chart, since it shows how you are doing overall. There are also some planning and simulation capabilities in there.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Books:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/762462.One_Up_On_Wall_Street"&gt;One Up on Wall Street&lt;/a&gt; - I've heard really good things about it. Haven't read it yet, but it's come up enough that it's a good candidate for you to check out.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://en.wikipedia.org/wiki/The_Little_Book_of_Common_Sense_Investing"&gt;The Little Book of Common Sense Investing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Anti Recommendation:&lt;/strong&gt; I have read &lt;a href="https://en.wikipedia.org/wiki/Rich_Dad_Poor_Dad"&gt;Rich Dad, Poor Dad&lt;/a&gt; several times, but I didn't actually see tons of useful insights in there. It's considered a classic, but it's honestly mostly just a memoir of a real estate mogul who managed to achieve success. The biggest takeaway is: have your money work for you, and optimize for passive income growth. Don't trade time for money directly. Make your resources (money or your business) work for you.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Broker Choice&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Once you are ready to start investing for real, you will need to pick a broker.&lt;/p&gt;

&lt;p&gt;Common choices are:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.ally.com/invest/self-directed-trading/?linkTo=choices-and-pricing&amp;amp;setPanel=first-ic-panel"&gt;Ally Invest&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.schwab.com/investment"&gt;Charles Schwab&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://us.etrade.com/home"&gt;E*Trade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.fidelity.com/"&gt;Fidelity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.interactivebrokers.com/en/home.php"&gt;Interactive Brokers&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://robinhood.com/us/en/"&gt;Robinhood&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.sofi.com/invest/fractional-shares/"&gt;Sofi&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.tdameritrade.com/home.html"&gt;TD Ameritrade&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://investor.vanguard.com/home"&gt;Vanguard&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I have strong opinions about which ones to use and which ones to avoid, but in the interest of fairness I will simply list them all and let you decide for yourself. Key things to look out for are no commission fees (you shouldn't have to pay to buy or sell stocks) and a good selection of ETF and mutual funds.&lt;/p&gt;

&lt;p&gt;You can see comparisons on &lt;a href="https://www.nerdwallet.com/best/investing/online-brokers-for-stock-trading"&gt;https://www.nerdwallet.com/best/investing/online-brokers-for-stock-trading&lt;/a&gt; and other similar sites.&lt;/p&gt;

&lt;h2&gt;
  
  
  General Financial News and Analysis
&lt;/h2&gt;

&lt;p&gt;None of these sites are required or part of the basic toolkit I list above. If you want to dive deeper into this space, these can be a good starting point to get the lay of the land.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://seekingalpha.com/"&gt;https://seekingalpha.com/&lt;/a&gt; - This is an interesting site. It's more focused on individual stock picks, and they will try to up-sell you to pay for their premium analysis. I don't think it's worth it. However, this can be an interesting site to peruse every few months to see what the latest trends are.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ft.com/"&gt;https://www.ft.com/&lt;/a&gt; - Good overview of general market trends and situations.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.mckinsey.com/featured-insights"&gt;https://www.mckinsey.com/featured-insights&lt;/a&gt; - High level overviews of the business world and long term trends. Not related to specifically market news. &lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.fool.com/"&gt;https://www.fool.com/&lt;/a&gt; - Similar to Seeking Alpha. General Ticker news.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Real Estate Investing
&lt;/h2&gt;

&lt;p&gt;This is a topic I am still quite new to, but I have already found a number of highly useful guides and resources.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.biggerpockets.com/"&gt;BiggerPockets&lt;/a&gt; - This is the best site out there for comprehensive advice. They have an excellent &lt;a href="https://assets2.biggerpockets.com/uploads/user_file/file_object/1694/UBG_2018.pdf"&gt;Ultimate Beginner's Guide&lt;/a&gt; that covers everything you need to know.&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.madfientist.com/tax-benefits-of-real-estate-investing/"&gt;https://www.madfientist.com/tax-benefits-of-real-estate-investing/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.youtube.com/watch?v=J-5akkEKzG0"&gt;How to analyze a real estate market in 60 minutes - Neal Bawa&lt;/a&gt; - worth watching in its' entirety. Neal runs &lt;a href="https://multifamilyu.com/lp/real-estate-trends-toolkit/"&gt;MultifamilyU&lt;/a&gt; and has a course on &lt;a href="https://www.udemy.com/course/realfocus/"&gt;Udemy&lt;/a&gt; with the same material.&lt;/li&gt;
&lt;/ul&gt;




&lt;h2&gt;
  
  
  Final Comments
&lt;/h2&gt;

&lt;p&gt;A few words of advice:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make sure you understand all the basic terms: stocks, bonds, funds, portfolio allocation, backtesting, SP500 index, bear market, bull market.&lt;/li&gt;
&lt;li&gt;AVOID OPTIONS AT ALL COSTS. These are very powerful tools which &lt;em&gt;can&lt;/em&gt; make you a TON of money if you know what you are doing. However, it is my &lt;strong&gt;&lt;em&gt;strong&lt;/em&gt;&lt;/strong&gt; recommendation to avoid options (calls, puts, straddles, etc) until you have spent at least 2-3 years investing in basic financial instruments such as ETF's and mutual funds. &lt;/li&gt;
&lt;li&gt;Take everything you read online with a grain of salt. There are many people who claim they are "experts" and can beat the market. Don't believe them. Ask to see their historical returns. To the best of my knowledge, there is no one that has consistently outperformed the SP500 or general stock market over the long run. Anyone can outperform the index by sheer dumb luck over a short enough time horizon. It's consistency that matters.&lt;/li&gt;
&lt;li&gt;Beware of advisory fees or high expense ratios. Some of the ETF's or mutual funds you may find (such as blackrock, etc) are professionally managed and charge up to 1% management fees. That eats into your profits, and you pay the fee no matter if you made money or lost money. Vanguard funds charge 0.04%, which is a much better deal.&lt;/li&gt;
&lt;li&gt;Understand you HAVE NOT LOST MONEY until you sell. Your portfolio can be down 50%, but it's only when you sell your assets at a loss do you lock in your losses. Do not panic - you might have lost tons of value on paper, but it's not the same as getting your bank account robbed. &lt;/li&gt;
&lt;li&gt;Understand what you are investing in. There are tons of new financial instruments coming out, proposing investments in art, wine, crypto, and more. Read the fine print on these and seek to understand what is it exactly that you are investing in, and what are the hidden fees. &lt;/li&gt;
&lt;li&gt;Not all stocks are listed on the Nasdaq or New York stock exchange. There are markets all over the world: &lt;a href="https://craft.co/nasdaq/competitors"&gt;https://craft.co/nasdaq/competitors&lt;/a&gt; . Don't be surprised if you can't find a particular company.&lt;/li&gt;
&lt;li&gt;If you have the funds and interest, I wholeheartedly encourage you to set aside some small percentage of your portfolio for gambling with individual stocks. I find that it's a great way to scratch that itch of picking stocks. After a few years, you can compare your returns to the standard ETF portfolio you probably set up and draw your own conclusions about whether the time and effort you put into day trading is worth it.&lt;/li&gt;
&lt;/ol&gt;

&lt;blockquote&gt;
&lt;p&gt;Go forth and prosper!&lt;/p&gt;
&lt;/blockquote&gt;

</description>
      <category>finance</category>
      <category>investing</category>
      <category>stockmarket</category>
    </item>
    <item>
      <title>Just Ask</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Fri, 25 Jun 2021 16:49:00 +0000</pubDate>
      <link>https://dev.to/issmirnov/just-ask-2lb8</link>
      <guid>https://dev.to/issmirnov/just-ask-2lb8</guid>
      <description>&lt;p&gt;I had an interesting phone call with a hotel chain the other day, where I called to politely express some concerns I had with my experience. There was a massive voltage surge that fried all the lights, so I had to move out by flashlight late at night into a different room.&lt;/p&gt;

&lt;p&gt;The conversation went roughly like this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Me: Hi, my name is Ivan and I had some concerns about my recent stay {list concerns here}. Could I get some rewards points for the inconvenience?&lt;/p&gt;

&lt;p&gt;Rep: Sure, let me look into that. {after a 15 minute hold} Hi there, we can give you X points.&lt;/p&gt;

&lt;p&gt;Me: Thank you, that's very kind. Given the nature of the concern, could you do more?&lt;/p&gt;

&lt;p&gt;Rep: Since you asked, the max I can do is 1.5X. Here you go.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;And that was that. I earned a fairly significant volume of reward points for a hotel chain that I enjoy, simply by being polite. The biggest showcase here is that second question:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Can you do more?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Most people never even ask the first question. I know many folks who will complain or boycott the hotel. Yet, it always amazes me when those same people don't call and ask for points or other perks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;If you never ask, the answer is always no.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's incredible how often a simple ask, followed by a humble clarification if this is the most that is possible, leads to incredible results.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It's important to never be entitled or expect anything.&lt;/strong&gt; Most service reps that you chat with are underpaid and working long hours. Coming into the conversation with compassion and politely asking for the benefits that you would like has a surprisingly high success rate.&lt;/p&gt;

&lt;p&gt;I have called and used this technique many times. Just asking one question has been enough to double my signing bonus, get tickets to sold out shows, and so much more. It doesn't always work - sometimes there really is no leeway. But, by calling and politely asking you are already doing more than most.&lt;/p&gt;

&lt;p&gt;Don't be afraid of rejection - the worst that happens is that some call center representative you will never talk to again says "no". If you are polite, you are not imposing on them. They are trained for this and want to help you out and make things better.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Just ask.&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>life</category>
      <category>advice</category>
    </item>
    <item>
      <title>One Handed Typing</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Fri, 18 Jun 2021 16:47:00 +0000</pubDate>
      <link>https://dev.to/issmirnov/one-handed-typing-i3</link>
      <guid>https://dev.to/issmirnov/one-handed-typing-i3</guid>
      <description>&lt;p&gt;A short while back I had a small sports accident and injured my left thumb quite badly, to the point that my left hand needs to be left alone to heal. As a software engineer, this presents a major challenge.&lt;/p&gt;

&lt;p&gt;I decided to look into one handed typing layouts. Mechanical Keyboards have been making huge leaps and bounds with hardware and sofware design, and as a corollary folks have gotten VERY deep into ergonomic keyboard layout design and scientific optimization based on biomechanics.&lt;/p&gt;

&lt;p&gt;After some initial research, I found two layouts optimized specifically for one handed typing:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;a href="http://www.frogpad.com/"&gt;http://www.frogpad.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://www.artsey.io/"&gt;https://www.artsey.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Both of these remind me of &lt;a href="http://asetniop.com/combinations/"&gt;ASETNIOP&lt;/a&gt; used by the &lt;a href="https://www.gboards.ca/product/ginni"&gt;Ginny&lt;/a&gt;, but that one is aiming to be a stenographic keyboard for two handed typists.&lt;/p&gt;

&lt;p&gt;The community around Frogpad seemed a little less engaged, so I joined the Artsey.IO discord server and started diving into the layout. I picked up a &lt;a href="https://boardsource.xyz/store/5ecc2008eee64242946c98c1"&gt;Boardsource 3x4 macro pad&lt;/a&gt; and flashed &lt;a href="https://www.artsey.io/"&gt;Artsey.IO&lt;/a&gt;on it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--bN1gXxR0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/06/boardsource.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--bN1gXxR0--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/06/boardsource.JPG" alt="" width="880" height="1565"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The training is slow, but it's better than not being able to type at all.&lt;/p&gt;

</description>
      <category>keyboards</category>
      <category>layouts</category>
    </item>
    <item>
      <title>My Top Book Recommendations</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Mon, 07 Jun 2021 16:39:04 +0000</pubDate>
      <link>https://dev.to/issmirnov/my-top-book-recommendations-3cj0</link>
      <guid>https://dev.to/issmirnov/my-top-book-recommendations-3cj0</guid>
      <description>&lt;p&gt;I deeply enjoy reading books. Here's a short list of some of my favorites.&lt;/p&gt;

&lt;h2&gt;
  
  
  Non Fiction
&lt;/h2&gt;

&lt;p&gt;Every book on this list has changed my life in a pivotal manner. I invite you to read them for yourself and hope it brings about positive change for you as well.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/4865.How_to_Win_Friends_and_Influence_People"&gt;How to Win friends and Influence People&lt;/a&gt; by Dale Carnegie - great foundation on interacting well with people.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/1633.Getting_Things_Done"&gt;Getting Things Done&lt;/a&gt; by David Allen- the root of my time management philosophy.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.amazon.com/Alchemist-Paulo-Coelho/dp/0061122416"&gt;The Alchemist&lt;/a&gt; by Paulo Coehlo - great philosophical foundation.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://gregmckeown.com/books/essentialism/"&gt;Esentialism&lt;/a&gt; by Greg McKeown - pivotal work on how to priorize in life.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.calnewport.com/books/deep-work/"&gt;Deep Work&lt;/a&gt; by Cal Newport - a must read on how to work better.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/25666050-algorithms-to-live-by"&gt;Algorithms to Live By&lt;/a&gt; - fun read on how to apply computer algorithms to optimize your daily life.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.ynharari.com/book/sapiens-2/"&gt;Sapiens&lt;/a&gt; by Yuval Noah Harari - an excellent history of the human race.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.adamgrant.net/book/give-and-take/"&gt;Give and Take&lt;/a&gt; by Adam Grant - understand different types of people and how to interact best with them.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://jamesclear.com/atomic-habits"&gt;Atomic Habits&lt;/a&gt; by James Clear - an actionabe guide on how to set up proper habits in life.&lt;/li&gt;
&lt;li&gt;All books by &lt;a href="https://en.wikipedia.org/wiki/Malcolm_Gladwell#Works"&gt;Malcolm Gladwell&lt;/a&gt;
&amp;lt;!--kg-card-end: markdown--&amp;gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Fiction
&lt;/h2&gt;

&lt;p&gt;Sometimes you just need to decompress. I like reading books with well developed worlds and consistent logic.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="http://www.hpmor.com/"&gt;Harry Potter and the Methods of Rationality&lt;/a&gt; - A mind blowing fan fiction with deep tenets in rationalism and science. Extremely enjoyable. Familiarity with original Potterverse is a must.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://deathworlders.com/"&gt;Deathworlders&lt;/a&gt; - excellent web serial about humans in space. Touches upon all parts of life, and characters and world are incredibly well developed.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.royalroad.com/fiction/21220/mother-of-learning"&gt;Mother of Learning&lt;/a&gt; - a fun web serial about a mage in a time loop. Download &lt;a href="https://github.com/asdkant/bookify-mol/releases"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/13642710-nexus"&gt;Nexus Trilogy&lt;/a&gt; by Ramez Naam - This is a very interesting series about the emergence of superconsciousness and how the world reacts to it. I believe that it is entirely possible that events such as these will unfold in our future here on Earth, and found the description of events here very enlightening and thought provoking.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/68428.Mistborn"&gt;Mistborn Trilogy&lt;/a&gt; by Brandon Sanderson - A very fun read, set in an alternate universe in medieval times. What I liked about this series was that it was more than just action and drama - the author managed to encode some very interesting discussions and thoughts about morality, life, philosophy, and ethics. Very enjoyable read, and quite deep.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://www.goodreads.com/book/show/2038926.The_Immortal_Prince?from_search=true&amp;amp;from_srp=true&amp;amp;qid=pFOMpQhO9u&amp;amp;rank=1"&gt;Tide Lords&lt;/a&gt; by Jennifer Fallon - This was definitely more of a fun time killer. Action, magic, and a captivating plot. Grat for a nice vacation.&lt;/li&gt;
&lt;li&gt;All works by &lt;a href="https://en.wikipedia.org/wiki/Terry_Pratchett"&gt;Terry Pratchett&lt;/a&gt;. Here is the suggested &lt;a href="https://i.redd.it/fdr5qy7s47051.png"&gt;reading order&lt;/a&gt;.
&amp;lt;!--kg-card-end: markdown--&amp;gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>readinglist</category>
      <category>books</category>
      <category>recommendations</category>
    </item>
    <item>
      <title>Reflections on Mindset and Framing</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Mon, 26 Apr 2021 07:08:37 +0000</pubDate>
      <link>https://dev.to/issmirnov/reflections-on-mindset-and-framing-4fif</link>
      <guid>https://dev.to/issmirnov/reflections-on-mindset-and-framing-4fif</guid>
      <description>&lt;p&gt;I recently had a chance to visit the &lt;a href="https://en.wikipedia.org/wiki/Carlsbad_Caverns_National_Park"&gt;Carlsbad Caverns&lt;/a&gt; in New Mexico. It's a curious system of caves with various stalactites and stalagmites and interesting rock formations, located in the ancient seabed in the mountains.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ADfccKMu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/04/image.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ADfccKMu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/04/image.jpeg" alt="" width="880" height="495"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I found the experience enjoyable, but at times it felt slightly underwhelming because of the lack of color variety. One could say that a cave is a cave, after all.&lt;/p&gt;

&lt;p&gt;As I descended into the earth, I started playing with different framing and mindset adjustments. On the surface level, my experience boils down slowly walking into a dark cave on a path.&lt;/p&gt;

&lt;p&gt;Going one level deeper, I started to appreciate the incredible volume of work that went into creating the pathway that I was on. It was smooth concrete with metal guard rails the entire mile down. There were lights placed to illuminate the rock formations from the most appealing angle, and various signs with educational texts. Given that this was in a cave, all of the materials must have been carried in by hand or at best wheeled in. Some of the passages were narrow and I could tell that they were carved out by hand.&lt;/p&gt;

&lt;p&gt;Thinking about it even deeper, I realized that the cavity that I was descending into was the vacuum created by the absence of a truly incomprehensible volume of water that used to be the body of a sea. I was walking into a geological crypt, seeing the bottom of an ocean as it slowly receded it into the earth over the aeons. It no longer became just a cave, but rather a unique experience with sights, smells, and sensations that can only be experienced here.&lt;/p&gt;

&lt;p&gt;Going even one level deeper, I started ruminating about the relative time scales of events. Some of those stalactites grew at most a fraction of a millimeter during the entirety of my lifetime, and with luck will continue growing long past the human race expands into the universe. If my entire life is but a fleeting moment on the geological time scale, what do my accomplishments mean? Which one of my creations will stand the test of time, and what failures of mine will fade into oblivion?&lt;/p&gt;




&lt;p&gt;Reframing this walk lead to quite curious ruminations. I have noticed similar anecdotes from other events in my life. A boring party can turn into a fascinating anthropological event. Misfortune at work can highlight the incredible nuances of human collaboration. A failure of plans can lead to novel spontaneity. I'm really enjoying exercising this muscle of gratitude and appreciation and rumination about the different mindsets I can simultaneously maintain in an experience.&lt;/p&gt;

&lt;p&gt;In a way, all of the viewpoints are correct. I spent an hour walking in a dark hole. I spent 60 minutes traversing what took years to build for humans. I spent 3600 minutes walking through the tomb of an ancient sea. And finally, I spent 3,600,000 microseconds walking past growing structures to which I myself am but a fraction of a moment.&lt;/p&gt;

</description>
      <category>philosophy</category>
      <category>travel</category>
    </item>
    <item>
      <title>Fixing DNS for Wireguard on MacOS</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Tue, 13 Apr 2021 23:55:00 +0000</pubDate>
      <link>https://dev.to/issmirnov/fixing-dns-for-wireguard-on-macos-2c8h</link>
      <guid>https://dev.to/issmirnov/fixing-dns-for-wireguard-on-macos-2c8h</guid>
      <description>&lt;p&gt;If you are using the &lt;a href="https://apps.apple.com/us/app/wireguard/id1451685025?ls=1&amp;amp;mt=12"&gt;Wireguard MacOS App&lt;/a&gt; with your VPN's, you will notice that your custom DNS entries are not getting set at the system level.&lt;/p&gt;

&lt;p&gt;You can manually edit Network Preferences -&amp;gt; Wi-Fi -&amp;gt; Advanced -&amp;gt; DNS and add your DNS server, but that will cause DNS errors if your VPN drops and your system DNS still points to the wireguard DNS instance.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8WxiyDnR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/04/Screen-Shot-2021-04-09-at-3.10.25-PM.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8WxiyDnR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://ivans.io/content/images/2021/04/Screen-Shot-2021-04-09-at-3.10.25-PM.png" alt="" width="880" height="752"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;A workaround is to add a &lt;code&gt;PostUp&lt;/code&gt; and &lt;code&gt;PostDown&lt;/code&gt; option to your wireguard config:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[Interface]
Address = 10.200.200.1/24
ListenPort = 51820
PrivateKey = SERVER_PRIVATE_KEY

# DNS server
DNS = 10.66.66.1

# Commands to set and clear DNS
PostUp = sudo /usr/sbin/networksetup -setdnsservers Wi-Fi 10.66.66.1
PostDown = sudo /usr/sbin/networksetup -setdnsservers Wi-Fi "Empty"

[Peer]
# foo
PublicKey = PEER_FOO_PUBLIC_KEY
PresharedKey = PRE-SHARED_KEY
AllowedIPs = 10.200.200.2/32
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;Wireguard Sample Configuration&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The wireguard GUI &lt;a href="https://www.reddit.com/r/WireGuard/comments/bea47m/wireguard_macos_application_postuppostdown/"&gt;will not read&lt;/a&gt; the PostUp and PostDown, so you will have to run your wireguard commands from the command line.&lt;/p&gt;

&lt;h2&gt;
  
  
  Solution: Use the CLI
&lt;/h2&gt;

&lt;p&gt;First, install the tools:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;brew install wireguard-tools wireguard-go
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, save your config to the folder:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;vim /usr/local/etc/wireguard/myvpn.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Finally, launch your VPN - using the same name as the &lt;code&gt;conf&lt;/code&gt; file.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;sudo wg-quick up myvpn
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Bonus: Alias/Visudo
&lt;/h2&gt;

&lt;p&gt;You can set up an alias with &lt;code&gt;alias vpnup='sudo wg-quick up myvpn'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If you don't want to enter your password each time, simply run &lt;code&gt;sudo visudo -f /private/etc/sudoers.d/wireguard&lt;/code&gt; and paste the following contents, replacing &lt;code&gt;myuser&lt;/code&gt; with your username.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;myuser ALL = (root) NOPASSWD: /usr/local/bin/wg-quick
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>macos</category>
      <category>vpn</category>
      <category>wireguard</category>
    </item>
    <item>
      <title>Abusing Public DNS for Zerotier Routing</title>
      <dc:creator>Ivan Smirnov</dc:creator>
      <pubDate>Mon, 12 Apr 2021 19:11:22 +0000</pubDate>
      <link>https://dev.to/issmirnov/abusing-public-dns-for-zerotier-routing-36ke</link>
      <guid>https://dev.to/issmirnov/abusing-public-dns-for-zerotier-routing-36ke</guid>
      <description>&lt;h2&gt;
  
  
  Picking a Mesh VPN
&lt;/h2&gt;

&lt;p&gt;I've been a big fan of &lt;a href="https://www.csoonline.com/article/3575088/mesh-vpns-explained-another-step-toward-zero-trust-networking.html"&gt;mesh VPNs&lt;/a&gt; for many years now. It's great to not have to deal with &lt;a href="https://www.strongswan.org/"&gt;Strongswan&lt;/a&gt; or &lt;a href="https://openvpn.net/"&gt;OpenVPN&lt;/a&gt; on a central server. Mesh VPN's also come with intelligent routing, so if both of my devices are at home on the same network they will dial each other directly. This concept also combines nicely with my interest in setting up a &lt;a href="https://research.google/pubs/pub43231/"&gt;BeyondCorp&lt;/a&gt; analog for my home use.&lt;/p&gt;

&lt;p&gt;I used to run a private cloud on &lt;a href="https://www.tinc-vpn.org/"&gt;Tinc&lt;/a&gt;, but adding new devices was extremely cumbersome and there is no mobile device support.&lt;/p&gt;

&lt;p&gt;After looking into alternatives, I discovered &lt;a href="https://tailscale.com/%20"&gt;Tailscale&lt;/a&gt; and &lt;a href="https://www.zerotier.com/"&gt;Zerotier&lt;/a&gt;. I don't need the hardcore firewall rules of  &lt;a href="https://tailscale.com/%20"&gt;Tailscale&lt;/a&gt;, so I decided to set up &lt;a href="https://www.zerotier.com/"&gt;Zerotier&lt;/a&gt; on all of my devices. The installation truly is less than 5 minutes - I am impressed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Abusing DNS
&lt;/h2&gt;

&lt;p&gt;I can set custom IP's in my &lt;a href="https://study-ccna.com/classes-of-ip-addresses/"&gt;class B&lt;/a&gt; address space (prefix 172.xx), but I don't want to memorize them all. Even though it's not up to DNS spec, we can set internal IP's as A records on &lt;a href="https://aws.amazon.com/route53/"&gt;Amazon Route53&lt;/a&gt; and have them resolve to the Zerotier address space.&lt;/p&gt;

&lt;p&gt;I don't view it as a strong security risk, because even if someone knows my internal VPN IP, they still have to break into the network to route any requests to my devices.&lt;/p&gt;

&lt;p&gt;By setting up semi-proper DNS for my machines, I can completely detach from the physical network layout and have all of my proxies and scripts reference the internal VPN DNS names. This works extremely well - I can move my server and plug it into any network, and still be able to access it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Mobile Support
&lt;/h2&gt;

&lt;p&gt;Most importantly, I now have easy addresses to use on my mobile devices. I can install the &lt;a href="https://apps.apple.com/us/app/zerotier-one/id1084101492"&gt;app&lt;/a&gt; and join my network, then use Files, &lt;a href="https://termius.com/"&gt;Termius&lt;/a&gt;, or &lt;a href="https://play.google.com/store/apps/details?id=pl.solidexplorer2&amp;amp;hl=en_US&amp;amp;gl=US"&gt;Solid Explorer&lt;/a&gt; to view my files and media on the go.&lt;/p&gt;

</description>
      <category>dns</category>
      <category>zerotier</category>
      <category>vpn</category>
    </item>
  </channel>
</rss>
