agriculture
physics

What did I learn this week (2021) - 10


  1. Storybookjs: Learned about this new tool to develop components for angular in isolation. It uses compodoc under the hood.
  2. How to mock public methods of a class with Moq. Moq creates an implementation of the mocked type. If the type is an interface, it creates a class that implements the interface. If the type is a class, it creates an inherited class, and the members of that inherited class call the base class. But in order to do that it has to override the members. If a class has members that can't be overridden (they aren't virtual, abstract) then Moq can't override them to add its own behaviors.
  3. Came to know about the agriculture company named Olam International. Its cofounder and current CEO is a keralite named Sunny George Varghese.
  4. Kumbukkal black pepper is a variety of black pepper patented to Idukki farmer KT Varghese.
  5. Gyroscopic Effect is ability (tendency) of the rotating body to maintain a steady direction of its axis of rotation. Examples include the movement of shuttlecock and bullet.