Journal entries year 2020
From raju
2020-01-06
- https://www.sec.gov/news/press-release/2019-261 - SEC caught some people who were insider trading and used the code word "baby" to refer to employer's stock.
2020-01-12
In numerical analysis, the Kahan summation algorithm, also known as compensated summation significantly reduces the numerical error in the total obtained by adding a sequence of finite-precision floating-point numbers, compared to the obvious approach. This is done by keeping a separate running compensation (a variable to accumulate small errors).
https://rosettacode.org/wiki/Kahan_summation#Python - Implementation of the algorithm in Python
2020-01-15
- http://paulgraham.com/submarine.html - The Submarine
Talks about how PR firms are responsible for all the "fluffy" articles in mainstream media.
2020-01-22
- https://ai.googleblog.com/2020/01/using-machine-learning-to-nowcast.html - Using ML to predict weather without using any physics.
- https://en.wikipedia.org/wiki/Tukaram_Omble - An Indian police officer who was instrumental in apprehending the terrorist Ajmal Kasab alive.
- https://en.wikipedia.org/wiki/Abhinandan_Varthaman - Wing commander in IAF. In the 2019 India-Pakistan standoff, he was held captive for 60 hours in Pakistan after his aircraft was shot down in an aerial dogfight. He was later repatriated to India.
2020-01-31
2020-02-01
- https://en.wikipedia.org/wiki/Pie_rule - used to balance first move advantage in abstract strategy games.
2020-02-06
- https://nobsgames.stavros.io/ - List of no nonsense games on Android, iOS.
2020-02-10
- https://www.justice.gov/opa/pr/chinese-military-personnel-charged-computer-fraud-economic-espionage-and-wire-fraud-hacking - US DOJ indicted four memebers of Chinese military for Equifax breach.
2020-02-13
- Query stackoverflow to get the code on command line. For example
curl cheat.sh/python/reverse+a+string?Q
will tell how to reverse a string in Python.
The https://cheat.sh/ is useful in many ways. You can get cheat sheets of unix commands
curl cheat.sh/tar
Query stackoverflow on the fly
curl cheat.sh/python/reverse+a+string
Adding ?Q hides the text and only shows the code (useful for copy-pasting)
curl cheat.sh/python/reverse+a+string?Q
There are many other goodies. See https://github.com/chubin/cheat.sh for further details.
2020-02-22
- https://www.youtube.com/watch?v=BVnrD9m3nSI - This video shows how an oscillating table fan works with nice animation.
2020-02-24
- 27.7% of people in China smoke. Genderwise it is 52.1% among men and 2.7% among women
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6546632/
2020-02-25
- http://python-history.blogspot.com/2013/10/why-python-uses-0-based-indexing.html - Why Python uses 0-based indexing
2020-03-02
- The Rule of three states that two instances of similar code don't require refactoring, but when similar code is used three times, it should be extracted into a new procedure.
https://en.wikipedia.org/wiki/Rule_of_three_(computer_programming)
2020-03-06
- https://developer.wordpress.org/block-editor/principles/key-concepts/#reusable-blocks - Reusable Blocks
2020-03-12
- https://thedailywtf.com/articles/ITAPPMONROBOT- someone used the cdrom drive on one computer to press the reset button on the other computer.
2020-03-14
- ADVICE FOR YOUR MENTAL HEALTH FROM WHO
"Minimize watching, reading or listening to news that causes you to feel anxious or distressed; seek information only from trusted sources and mainly to take practical steps to prepare your plans and protect yourself and loved ones. Seek information updates at specific times during the day, once or twice. The sudden and near-constant stream of news reports about an outbreak can cause anyone to feel worried"
WHO: Mental Health and Psychosocial Considerations During COVID-19 Outbreak
Many good points in that link.
- https://www.youtube.com/watch?v=KaoVg6ejgRQ - PM Lee Hsien Loong on the COVID-19 situation in Singapore on 12 March 2020
Respect! True leadership! Singaporeans are so lucky to have him as their PM.
2020-04-03
- AIMS doctors did a double-hand transplant from a 20 year old male to a 21 year old female on 2017-08-09. Twenty surgeons and sixteen anesthetists performed the transplant over 13 hours. Over time, the color of her hands changed to match her skin tone and even their shape became more female-like. Globally, less than 200 hand transplants have been conducted, and no scientific evidence that recorded such changes exist.
2020-04-09
- https://en.wikipedia.org/wiki/The_Great_Influenza - The Great Influenza: The Epic Story of the Deadliest Plague in History
2020-04-11
- https://ourworldindata.org/how-to-embed-charts - How to embed interactive Covid-19 charts from OWID in your articles
2020-04-16
- https://github.com/takluyver/nbopen - Open notebooks from command line in the best available server
2020-04-23
- https://hackaday.com/2020/03/25/ventilators-101-what-they-do-and-how-they-work/ - Ventilators 101: What they do and how they work. Long read; well written; easy to understand; full of information. I especially like this:
There’s an argument that “if there aren’t enough ventilators and patients are being turned away, I’d rather have a slim chance with a hacked solution than no chance with no solution. The reality is closer to “if there aren’t enough ventilators, a hacked solution will most likely do more damage than good, take up too much time from already strained health care resources, and could lead to death.”
2020-04-26
- https://aatishb.com/2014/09/05/curvature-and-strength/ - Gauss’s “Remarkable Theorem” and the best way to hold a pizza slice (2014)
- https://www.youtube.com/watch?v=RHTTIg7HY80 - Sheila Patek : Measuring the fastest animal on earth
- https://www.youtube.com/watch?v=LXrxCT0NpHo - Mantis murder shrimp (Slow motion) video from the "Smarter Every Day" youtube channel.
2020-04-30
- https://science.howstuffworks.com/environmental/energy/strategic-petroleum-reserve1.htm - What is the Strategic Petroleum Reserve?
2020-05-02
- https://www.youtube.com/watch?v=NAh4uS4f78o - Saluting the Heroes of the Coronavirus Pandumbic | The Daily Show
2020-05-10
- https://www.bloomberg.com/news/articles/2020-04-11/the-secret-weapon-that-gives-mexico-power-in-the-oil-price-war - The Secret Weapon Giving Mexico Power in the Oil-Price War
2020-05-14
- https://www.nejm.org/doi/full/10.1056/NEJMc2010025?mc_cid=4f9434619c&mc_eid=01d3ed8b19 - DHS tried to seize PPE shipment destined for a hospital in Massachusetts.
2020-05-18
- https://jrvarma.wordpress.com/2020/04/23/wti-crude-futures-in-india/ - WTI crude futures in India
2020-05-22
- https://www.gatesnotes.com/Health/Pandemic-Innovation - The scientific advances we need to stop COVID-19.
2020-05-23
- https://johnkerl.org/doc/ortho/ortho.html - Tips for mathematical handwriting
2020-05-27
- https://www.gatesnotes.com/Health/What-you-need-to-know-about-the-COVID-19-vaccine - What you need to know about the COVID-19 vaccine
2020-05-30
- https://blogs.scientificamerican.com/observations/comparing-covid-19-deaths-to-flu-deaths-is-like-comparing-apples-to-oranges/ - Comparing COVID-19 deaths to flu deaths is like comparing apples to oranges
2020-06-15
- https://www.howtogeek.com/190014/htg-explains-what-is-the-difference-between-tcp-and-udp/ - Explains the differences between TCP and UDP.
2020-06-17
- https://themargins.substack.com/p/doordash-and-pizza-arbitrage - Doordash and Pizza Arbitrage
2020-06-19
"So you want to be a teacher when you grow up?" I asked Hamsini.
"Yes, daddy!" she replied.
"Let me ask you a question. What will you do if some students in your class do not want to study and they do not even listen to you?"
"That's ok. I will give them a 'pop quiz'. If they answer all the questions, they can leave. May be they know everything already and just want to go play outside."
2020-07-07
There are three approaches to reduce the effect of bird strikes. The vehicles can be designed to be more bird resistant, the birds can be moved out of the way of the vehicle, or the vehicle can be moved out of the way of the birds. https://en.wikipedia.org/wiki/Bird_strike#Countermeasures
2020-07-09
- https://en.wikipedia.org/wiki/Pepsi_Number_Fever - Pepsi Number Fever, also known as the 349 incident, was a promotion held by PepsiCo in the Philippines in 1992, which led to riots and the deaths of at least five people.
2020-07-10
- Apparently Hertz stock is trading positive even after they declared bankruptcy. So Hertz wants to do a stock offering to see if they can get some of that crazy money.
https://www.bloomberg.com/opinion/articles/2020-06-12/if-you-want-hertz-have-some-hertz
2020-07-12
- https://www.youtube.com/watch?v=znmQ7oMiQrM#t=9m22s - talks about the three broad approaches to value a business. It is given by Prof. Aswath Damodaran who teaches corporate finance and equity valuation at NYU Stern School of Business .
2020-07-30
- https://stackoverflow.com/questions/59956670/parsing-city-of-origin-destination-city-from-a-string :)
2020-08-01
- https://en.wikipedia.org/wiki/Arctic_Apples - Apples that do not brown. Genetically engineered by Okanagan Specialty Fruits Inc. Approved by FDA for safety. Polyphenol oxidase (PPO), responsible for browning, is knocked out using RNA-interference (RNAi) technique.
2020-08-04
- On 2020-07-24, my chess rating touched a new peak of 1737 on lichess.
2020-08-11
When playing a youtube video in a browser, you can type 0 through 9 to jump to 0% to 90% through the video.