Skip to main content

Compartmentalization helps with Deep Work

I had been trying to learn Solidity/Ethereum over the weekends for the past few months and the first 3-4 weekends were a drag as no matter what I do I wasnt able to focus and getting no where. The problem was not with motivation as I was trying to do it for many weeks but all I was able to do was read 100s of blog posts about it but not able to code anything.

Aparently I realized that on weekdays most of my work is in the "study" room whereas on weekend I was trying to do it in the living room. Now working in study on wekeend was an issue as it felt more like work than fun so last 2 weekends I tried changing the schedule and went 3 hours every Sunday to library with my son and while he was reading books I was coding in solidity.

I also had trouble writing code after 7:00 PM as I thought my brain was tired but last week I tried sitting in study around 10:00 -11:00 in night and boy I was able to focus and code.

Net Net I realized that:
  1. "Having a consistent Routine help with Deep Work"
  2. "Compartmentalization helps with Deep Work" as observed by me that if I am in "Study" room I am able to code even in nights.
Image found via google search

Anyway I compiled a list of best articles on Ethereum/Solidity I found and the list can help others in case they want to read up on it:

Bitcoin/Ethereum fundamentals:


  1. http://www.usv.com/blog/fat-protocols
  2. https://bitsonblocks.net/2015/09/09/a-gentle-introduction-to-blockchain-technology/
  3. https://bitsonblocks.net/2015/09/01/a-gentle-introduction-to-bitcoin/
  4. https://bitsonblocks.net/2015/09/21/a-gentle-introduction-to-bitcoin-mining/
  5. https://bitsonblocks.net/2016/10/02/a-gentle-introduction-to-ethereum/
  6. https://bitsonblocks.net/2016/02/01/a-gentle-introduction-to-smart-contracts/
  7. https://bitsonblocks.net/2015/09/28/a-gentle-introduction-to-digital-tokens/

ICO

  1. https://hbr.org/2017/03/what-initial-coin-offerings-are-and-why-vc-firms-care
  2. https://blog.coinbase.com/app-coins-and-the-dawn-of-the-decentralized-business-model-8b8c951e734f
  3. https://blog.gdax.com/how-to-raise-money-on-a-blockchain-with-a-token-510562c9cdfa
  4. https://medium.com/@richardreeze/how-to-tell-which-cryptocurrencies-are-here-to-stay-fa9428cf3cfc

Smart Contracts


    Beginner

  1. https://blog.zeppelin.solutions/the-hitchhikers-guide-to-smart-contracts-in-ethereum-848f08001f05
  2. https://dappsforbeginners.wordpress.com/tutorials/your-first-dapp
  3. https://auth0.com/blog/an-introduction-to-ethereum-and-smart-contracts-part-2/

    Security

  1. https://blog.zeppelin.solutions/onward-with-ethereum-smart-contract-security-97a827e47702

    Upgradable

  1. https://ethereum.stackexchange.com/questions/2404/upgradeable-smart-contracts

    ERC20

  1. Standard Interface  https://theethereum.wiki/w/index.php/ERC20_Token_Standard
  2. Sample implementation with tests https://github.com/dapphub/ds-token/tree/master/src
  3. Sample unbox coin with truffle http://truffleframework.com/tutorials/robust-smart-contracts-with-openzeppelin

Sharing a Secret Key Between Many Users


  1. https://crypto.stackexchange.com/questions/25933/sharing-a-secret-key-between-many-users
  2. https://coincenter.org/entry/what-is-multi-sig-and-what-can-it-do
  3. http://avc.com/2017/09/multi-sig-wallets

Comments

Popular posts from this blog

Startup Engineers should learn this one trait

Engineers are creative creatures who like to solve problems and build things. When you build something it becomes a part of you, no wonder that IKEA desk that took you 2 hours to assemble in an apartment has a lot of sentimental value than the Haverty desk you paid 3 times the price and just shipped it to home. Gardeners are also like that and the blackberries I grow in my backyard have a lot of sentimental value than the sweet ones I can buy from the store even though the home grown are sour 50% or more times .

Given a problem there can be many designs to solve it and sometimes we pick one design and worked tirelessly for days to add few new classes and a shining new framework and then send it for code review and someone outsider with a devil's advocate view comes up with a new simple design to solve the same problem or sometimes unconsciously you would come up with another simple solution to the same problem but you hold back and you keep investing time trying to make the origi…

Can you remain a fullstack developer?

I started as a full stack developer 14 years ago but these days its becoming more and more difficult to remain a one. Back in those days all you needed to know was html/css/Js/jsp/java/sql/ant/xml and some tools like tomcat, svn, eclipse and some shell scripting and you are a full stack developer. Being full stack developer means you can code from UI layer to server to database and peel any layer of onion to trace an issue.

Now a days you may need to know 20 different technologies in each area before you can easily navigate between layers. Life becomes difficult if its a distributed system. In UI you may need to know
ReactAngularJquerySASSHTML5JavascriptNode.jsGrunt and many more In server you need to know
JavaSpringHibernate or any OR toolGuavaNginxHaproxyMemcached and many more.  In Database you may need to know
MysqlNOSQL databases like Cassandra or MongoDBShardingAWS Aurora or RDSElasticSearchRedisOpenTSDBHadoop Big data services like BigQuery and many more On top of that …

Seven things doing a 1000 piece puzzle has common with complex engineering projects

I was doing grocery shopping during the New Year holidays and the store had a lot of 1000 piece puzzle on sale for $11. My son had never done more than 100 pieces and  I was like hey this seems interesting for him, so I bought one. We started working it on Jan13th and finished between 4 people on Jan25th. During the journey of finishing I saw a lot of similarities with complex engineering projects. I think everyone in engineering should do one of these and here are some of the things I learned.


Underestimating the task: I grossly underestimated the task and amount of time it would take for my son to do it.Teamwork: After a day or two I realized my son lost interest, the whole family had to be involved to keep him motivated on it.Prep work: Like engineering projects, you need to do a lot of prep work like:Turn  the pieces down Study the patternsSort the piecesDivide and rule: Like engineering projects you need to pick some quick wins initially to get off the ground and start assigning t…