lynnux

Logo

☁️ customer engineer at google
πŸ‚ snowboarder
🍞 carb addict
🏘 real estate investor
πŸ’ƒπŸ» dancer
✈️ traveler
πŸ“– learner
πŸ‘Ύ ex-gamer with semi-annual relapses
β˜•οΈ fueled by caffeine


linkedin github

Journal

24 Nov 2021


TIL

I spent this morning’s deep work session working on the cryptozombies courses. I finished creating the app and I’m currently on the last course which deals with creating a basic web page where users can interact with it! Here are my main takeaways so far:

1. ERC20 and ERC721 Tokens

2. Overflows & Underflows

3. NatSpec Format

pragma solidity ^0.5.6;

/// @title A simulator for trees
/// @author Larry A. Gardner
/// @notice You can use this contract for only the most basic simulation
/// @dev All function calls are currently implemented without side effects
contract Tree {
    /// @author Mary A. Botanist
    /// @notice Calculate tree age in years, rounded up, for live trees
    /// @dev The Alexandr N. Tetearing algorithm could increase precision
    /// @param rings The number of rings from dendrochronological sample
    /// @return age in years, rounded up for partial years
    function age(uint256 rings) external pure returns (uint256) {
        return rings + 1;
    }
}

General

I mostly worked on boring persistent volume replication documentation today. I’m in desperate need of a change of pace at work. Thanksgiving is tomorrow! I’m thankful for my career and my relationships. Maybe a four day weekend will be enough to reignite the flame that sizzled out. Have a great weekend!