Oh, hi. How are you holding up? Because I'm a small potato.
Tags: javascript, cloudfront, yarn
Published: 2021-07-18 17:16:02

---
title: Oh, hi. How are you holding up? Because I'm a small potato.
published: true
tags: javascript, cloudfront, yarn
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gku4o0g5d17gpgk24oqw.jpg
canonical_url: https://longyc.com/blog/2021-week-28-i-am-a-small-potato/
---

I hope you're doing well wherever you are during this pandemic. My blog was last updated five years ago and I figured now is a good time to reboot it, so, old posts begone and future posts will follow these Long Blog Short principles that I made up:

1. Weekly update - at least, or more if there are more stories to tell.
2. Minimally interesting - it doesn't need to be perfect, keep learning.
3. Links later - do not contribute new browser tabs before the post ends.

With that out of the way, let's talk about being a small potato because that's often how I feel - that in the grand scheme of things, what I know is insignificant and will never be enough. It is probably true, but what I can do is to just continue to grow.

It's been a decade since I started my career in software development which is a rather fast-moving industry. More often than not, I stumble upon technology, methodology, or even simple tricks that I feel like I should've known but didn't, not to mention constantly being reminded of fading knowledge. What I usually do nowadays is to jot them down as part of my weekly journal, and now looking back, I think those might as well be blog posts because who knows if someone else felt the same can benefit from them, plus I can learn if someone find mistakes or shortcomings in these notes.

My interests nowadays are mostly around web app development, and yes, that means we'll see a lot of JavaScript. Other than that, I also dabble in topics around UX and stories of people doing great works. With that in mind, here are the notes for this week:

- **AWS CloudFront**: it doesn't support compression for files above 10 MB.
- **Browser**: `DOMContentLoaded` is fired when HTML is parsed while `load` is fired after all dependent resources are loaded.
- **Deno**: ESModule and permission API are probably more interesting and more important factors than native support for TypeScript.
- **Yarn**: Use `resolutions` in `package.json` to upgrade the version of nested dependencies.
- **Logo design**: some of the logo types are wordmark (e.g. Coca-Cola), pictorial (e.g. Apple), and abstract (e.g. Nike, which costs only 35 USD initially).

Do let me know your thoughts about this post or the blog format. Thanks for reading and if you would like more content like this to be delivered to you, subscribe via Substack: [smallpotatodev.substack.com](https://smallpotatodev.substack.com)

### Related Links

- *AWS CloudFront*: [docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html#compressed-content-cloudfront)
- *MDN on load event*: [developer.mozilla.org/en-US/docs/Web/API/Window/load_event](https://developer.mozilla.org/en-US/docs/Web/API/Window/load_event)
- *Deno*: [deno.land/manual@v1.12.0/introduction](https://deno.land/manual@v1.12.0/introduction#comparison-to-nodejs)
- *Yarn*: [classic.yarnpkg.com/en/docs/selective-version-resolutions/](https://classic.yarnpkg.com/en/docs/selective-version-resolutions/)