Progressive Mastery

This list is taken from Brendon Burchard’s High Performance Habits. This is basically the formula to fully master any skills.

  1. Determine a skill that you want to master
  2. Set specific stretch goals on your path to developing that skill
  3. Attach high levels of emotion and meaning to your journey and your results
  4. Identify the factors critical to success, and develop your strengths in those areas (and fix your weaknesses with equal fervor
  5. Develop visualizations that clearly imagine what success and failure look like.
  6. Schedule challenging practices developed by experts or through careful thought
  7. Measure your progress and get outside feedback
  8. Socialize your learning and efforts by practicing or competing with others
  9. Continue setting higher level goals so that you keep improving
  10. Teach others what you are learning

Continue reading

Protractor Notes

Protractor Locators (= Angular locators + selenium locators):

  • binding
  • model
  • css
  • buttonText
  • repeater
  • options
  • id
  • linkText
  • name
  • tagName
  • xPath
  • addLocator

 

Create Test Suites

exports.config = { 
    seleniumAddress: 'http://localhost:4444/', 
    specs: ['./**/*.spec.js'], 

    suites: {
        smoke: './smoke/*.spec.js', 
        feature: './feature/*.spec.js',
        full: './**/*.spec.js'
    },

    onPrepare: function() {
        browser.driver.manage().window().setPosition(0, 0); 
        browser.driver.manage().window().setSize(1280, 720); 
    }
}
# In the terminal, run the following to set specific suite:
protractor conf.js --suite=smoke,feature

 

Other Notes

Reference

This note is taken from Introduction to Protractor by Nate Taylor and AngularJS Fundamentals by Joe Eames and Jim Cooper from Pluralsight.

Bitcoin Notes

I went to a super awesome bitcoin meetup event today. It was an introductory presentation which was perfect for a noobie like me. Anyways, here’s a short note:

  • Bitcoin was introduced by Satoshi in 2008 when market crashed
  • The purpose is to create a cash flow system that cannot be controlled by banks, government, or anyone!
  • All transactions are transparent on the blockchain
  • Wallet address
  • You cannot reverse a transaction and double confirm the account number
    • no revert even for switching between wallets
    • If you send bitcoin to account that doesn’t exist, that amount of bitcoin is lost forever!!
  • Nobody can force you to pay without your permission first
    • e.g. if you didn’t pay your tax, the government can deduct money from your bank account without your permission. This act is strictly prohibited in bitcoin world

Where to spend and buy bitcoin?

  • Bitcoin can now be used on Telsa, Virgin, Microsoft, Amazon, etc. It can also be used to purchase real estate in certain areas of U.S.
  • Bitcoin can be purchased in any amount, not necessarily a whole coin.
    • coinme.com
    • gemini.com
    • AVOID coinbase.com (should be avoided because it’s closely related to IRS and is not fully transparent with everything)
    • Bitcoin ATM: 5~10% rate

Crypto-wallets

  • blockchain (works on mobile as well as web)
  • mycelium (only works on mobile)

Three ways to earn $ on bitcoin

  1. Buy and Hold: earn appreciation
  2. Buy and Trade:  buy low sell high on other cryptocurrencies such as ripple or litecoin
  3. Buy & Compound: USI tech – BTC package
    • 1 package = USD$60

Bonus vocabulary:

  • fork: any event that causes bitcoin to dip/decrease in value

Toy R Us files for Bankruptcy

This is actually an old news back from September. It was sad to hear that such big toy company is leaving. Here are some quick highlights from an article in the Economist magazine:

  • Toy R Us was 5 billions of debts!
  • 3 private-equity firms bought the company in 2005 in a leveraged buyout causing around $400 million a year in interest
  • The company is not improving themselves (which is the key to why they fall):
    • didn’t import/sell popular toy like fidget spinners or fidget cubes
    • didn’t host any events that could attract children’s or parents’ attention
  • When Amazon was still selling books in 2000, Toy R Us joined and sell their toys on Amazon’s platform. It later (4 years after) sued Amazon for breaking “the terms of their agreement”. Though Toy R Us won, they didn’t get a lot of compensation :/