Skip to main content

Command Palette

Search for a command to run...

Til 2025-03-23

Updated
1 min read
S

Enthusiasm for building products with less code but more reliable.

  • There is a newer audio codec named h265, which is better than h264. They are also called HVEC videos which support 4K videos.

  • This new HVEC not fully support on Chrome, so I still need to convert to H264 for videos.

  • There are some very good places to read the blogs: Hasura blogs, and Cloudflare blogs, all of they’re good content.

  • There is no official or native way from NodeJS to know the size of files under a folder because there are no folders in GCP Cloud Storage. So we need to fetch all files and calculate by hand, which is terrible and waste of time. Since I won’t allow updating or deleting the videos, the easiest way to calculate using gsutil du -sh gs://bucket-name/bucket_path.