Hey, and Welcome to my weekly notes. I hope you find something useful from my experience this past week.
- I turned 23 this past week. Being an adult is hard, but then I'm harder 😎.
- Interview Assignments: I spent about 90% of my week working on exercise for a few positions I'm interviewing for. I learned a lot from these exercises (Apollo react, graphql, Redis, etc). I'm very positive about the outcomes, but I also have my hopes low.
- I'm thinking of redesigning my personal site to be more content-focused. Basically, replace the home page with more relevant information. Let's see how this week goes.
- I'm learning that the biggest growths come when you venture into completely new territories. I'll be doing more of that this coming week.
Podcasts I'm listening to
I managed to listen to 2 podcasts this week
- Modules, Mapping, and Migration. Oh My! - Rene rubalcava talks about his experience migrating his company's API from AMD modules to ES Modules and Typescript. The most scary sounding this was that they didn't stop making new features.
- Sweet setups for easier dev - Brain, Nick & Kevin talk about their current work setup - software, hardware, dotfiles, etc. To be honest, I couldn't understand a lot.
Stuff I'm reading
Rebuilding Our Jekyll Website with Next.js and Theme UI - Brandon writes about their experience rebuilding ghostinspector.com from the ground up with modern frontend technologies. Rewrites are hard and this one was generally a good experience. Here's an excerpt
Doing a rewrite is often not a good idea because they so frequently turn in to disasters, but sometimes there really is no small, iterative path forward and it might be worth starting over from scratch
How I Built My Blog - Josh W. Comeau's article diving deep into his blog setup/tech stack. From the look of the site, you can tell he put a lot of effort into it. Basically, it's a NextJS site with API routes, mongo as the database, and MDX for authoring content. MDX is something I want to look into for this site (also peacock). Let's see how this week goes.
How to Convert HTML to an Image Using Puppeteer in Node.js - very interesting tutorial on how to generate image screenshots with Puppeteer. Puppeteer is a NodeJS library for mocking an actual browser. You can generate images from web pages, UI testing, or other exciting stuff.
A Complete Guide To Incremental Static Regeneration (ISR) With Next.js - 3 companies that make me really love engineering; Figma, Vercel, and Framer. NextJS is nothing short of a masterpiece. They're currently solving the problem of statically rendering large sites with Incremental Static Regeneration.
Incremental static rendering
They do this by statically rendering a specified number of pages (say 100 most popular). Then when a page aside from the 100 is fetched, it renders it on the server and pushes the HTML to the client. It then caches the page for some other time. There's also the
fallbackoption, when set to true, it renders the page like a typical client-side rendered application.
If you double the number of pages, the build time also doubles. Let’s consider Target.com. Is it possible to statically generate millions of products with every deployment?
How People Get Rich Now - I like to think of investors as the smartest people on earth. Basically, because they put their money where their mouth is. Successful investors eliminate every bias in their thinking process and are as objective as possible. PG is a typical example - here's what He's saying in this article (in a nut's shell)
It's easier now to start and grow a company than it has ever been. That means more people start them, that those who do get better terms from investors, and that the resulting companies become more valuable
Why there really aren’t 2 million podcasts - If you have a podcast with more than 10 episodes, you're in the top 40% of podcasts by no of episodes. 26% of podcasts have just one episode. I find this data very very shocking
Understanding TypeScript's Popularity - Timeline through major points in Typescript's journey. A few things I learned
- Angular adopted Typescript in 2015
- Typescript started making use of Definitely Types in 2016
- Babel 7 supported Typescript compilation 2018
- The Complete ORM for Node.js & TypeScript - All Prisma tools can now be used in production.
- GitHub Actions update: Helping maintainers combat bad actors - People run cryptography mining code on GitHub CI/CD platforms. Github is stopping them.
- Ask HN: What under-the-radar technology are you excited about? - I've never heard of most things mentioned here 🤷🏼♂️. Am I even in tech???
- Inversion and The Power of Avoiding Stupidity - Making decisions by thinking backward.