Watch these videos before looking for a new car

Kevin Hunter, who worked at car dealerships before, gives the inside scoop of what’s happening at the car dealerships. I have experienced a few things he talked about in the past. These videos are definitely worth watching before heading to the car dealerships.

July 26, 2020 · 1 min · birdchan

Personal information price tag

Here is a nice blog post on how much things related to personal information (e.g. credit cards, driver license, etc) are sold on the dark web. https://www.privacyaffairs.com/dark-web-price-index-2020/

July 15, 2020 · 1 min · birdchan

Financial Statements

Here is a nice tutorial on financial statements. https://www.causal.app/blog/whats-a-financial-statement

July 15, 2020 · 1 min · birdchan

Format a USB stick

There are times Disk Utility cannot help you. Then you know it is time to turn to the command line. sudo diskutil list sudo diskutil eraseDisk FAT32 NEW_DISK_NAME /dev/disk3 Make sure /dev/disk3 is indeed the usb drive, go through the drive list from the result of the first command to make sure. FAT32 is the file system you want to use on the usb drive. And NEW_DISK_NAME is the usb stick volume name. If you pick say myDrive, and you get the error myDrive does not appear to be a valid volume name for its file system, simply use uppercase characters, e.g. MYDRIVE, that will help you move forward. You can rename it later after formatting it. ...

July 9, 2020 · 1 min · birdchan

Async/await

Nice tutorials https://javascript.info/async-await https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Asynchronous/Async_await

July 8, 2020 · 1 min · birdchan

Total Compensation Calculator

This calculator is so handy! https://www.levels.fyi/calculator/

July 8, 2020 · 1 min · birdchan

COVID-19 Vaccine Tracker

Here is a website to track the vaccine progress. https://biorender.com/covid-vaccine-tracker

June 17, 2020 · 1 min · birdchan

Create diagrams with code

Graphviz is powerful! It can visualize dependency with input from code, that means we can programmatically generate visual output. [code] digraph MyGraph { a -> b b -> c a -> d a -> c } [/code] Ref: https://ncona.com/2020/06/create-diagrams-with-code-using-graphviz/ http://www.webgraphviz.com/ http://magjac.com/graphviz-visual-editor/ https://forum.graphviz.org/

June 10, 2020 · 1 min · birdchan

Monty Hall Problem

Interesting brain teaser. Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice? ...

June 9, 2020 · 1 min · birdchan

Docker Compose vs Docker Stack

They are very similar, but if you are upgrading from docker compose to docker stack, you may need to modify your existing docker compose yaml file. From what I noticed, here are the obvious pain points No build. If you have build and args, you will need to do that outside of the yaml file. Docker stack expects to see image. No container_name. If you have other services (e.g. nginx) that depend on container_name, you will need to use some workarounds. ...

June 8, 2020 · 1 min · birdchan