Random Wits

Life is too short for a diary

$ random wits
├── tags

├── bookshelf

├── resources

├── quotes

├── habits

└── about





Thu 08 Apr 2021

How to Make(Or Lose) Money in Stocks Part1

Recently I finished watching web-series Scam 1992. It's based on story of Harshad Mehta, a famous Indian stockbrocker who made fortunes in stocks. Despite his iconic success & failure, the series rekindled my interest in world of "stocks". I guess the famous dialogue "Risk Hai Toh Ishq Hai" has stuck with me.

I still consider myself a novice in stocks. There’s a no magic bullet to make money in stocks. However you can leverage scripts to reduce time to accumulate information. I’ll share one such approach in helping buying or selling stocks...

Continue reading → Tags : stocks python finance money google selenium




Wed 03 Mar 2021

Famous breach of Trust in Cancer

I am currently reading The Emperor of Maladies. This is a fascination book where Siddhartha Mukherjee not only educate its readers about cancer disease but also shares interesting tidbits. Werner Bezwoda was an infamous oncologist who fudged data about bone marrow transplant in women with metastatic breast cancer.

Before I understood anything, I have to understand what the heck was a bone marrow. I remembered vaguely from my science class in school but I guess I needed a revision...

Continue reading → Tags : pseudoscience cancer breast cancer bone marrow




Thu 10 Dec 2020

EnvCommandError in Windows using Poetry

Poetry is a great dependency management tool in python. It's better than managing a flat file like `requirements.txt`. There are also other great tools like pipenv. However I found poetry much simpler in resolving dependencies.

Recently poetry has been crashing on my Windows machine. However, I have not encountered this issue in other platform like Linux. Folks who are unfamiliar with poetry, below is a quick refresher...

Continue reading → Tags : windows python poetry bug