Weekly Notes 004 [February, 21st - 28th]

Welcome to my 4th weekly review.

I learned a lot this week. To give you some perspective, I spent the whole of Thursday fixing a bug that prevented my Nodejs (Typescript) app from building. The next day, I discovered that nothing was wrong with my code, but the way I was passing arguments to the Typescript compiler was wrong.

"build": "tsc server.ts"

When you pass options to the Typescript compiler like this, it totally ignores everything in the tsconfig file. I was using ESM imports in the app (The esModuleInterop option must be set to true for this to work in Typescript/Nodejs) but the tsconfig wasn't even read at all. After a full day of trying everything I could, I just switched it up to

"build": "tsc"

Everything worked πŸ€¦β€β™‚οΈ. Some other stuff that happened this week.

  • I finished the MERN eCommerce From Scratch course by Traversy Media. I learned basic Nodejs things like Authentication & Authorization, middlewares, and most importantly, deploying to Heroku. I'm really grateful for this course πŸ™. There are a lot of things I still need to learn like...

    • Rate limiting
    • API Trottling
    • API documentation
    • Third party logins
    • Unit Testing
    • Logging
    • Deploying in containers, etc.
  • So I'm building this little side project to help solve location-related problems in African apps. I have the V1 scheduled for the end of March. I'm planning a alpha/beta program and some project set up this week. So excited about what I'll learn.

  • Spotify is now available in Nigeria πŸ’ƒπŸ’ƒπŸ’ƒ

  • I got one of those laptop stands that move your PC to eye level far away from you. I also got an external keyboard and a trackpad. These accessories have somehow made my setup more relaxing. Plus, it's only a few days old so I can't say too much already.

  • Went ahead to open up a few issues on Next-starter-peacock. I'm hoping to fix them soon.

Podcasts

I managed to listen to 1 podcast this week. I think it's because I don't have a commute anymore (I'm jobless, dhurπŸ€·β€β™‚οΈ) Let's see how this number increases in the coming week.

  • Serverless Made Easy with Brian LeRoux of Begin - Brian Douglas speaks with Brian LeRoux who is the CTO and Cofounder of Begin. Begin is a platform to help developers do serverless with ease. It's built on top of AWS services and abstracts away the complexities. I really enjoyed their conversation. Plus Brian LeRoux is a really funny guy πŸ˜‚

Stuff I'm reading

  • Before You memo() - Dan's article about performance optimizations with memo() in React apps. I really like how plain and simple the proposed solutions were. Looking forward to more of Dan's articles.
  • 10 years of open-source visualization - Mike Bostock, creator of D3.js reflects on learnings from building and maintaining the library for 10 years. My biggest takeaway is the idea of teaching as the most impactful form of tool building. Imagine spending hundreds of hours building a tool and expecting someone to understand it by reading the docs for 5 mins.
  • Coinbase is a decentralized company with no headquarters. In Q1 2020, 28% of employees lived outside California. In Q1 2021, 58% are outside California. CEO of Coinbase on how working remote helps attract top talents from all over the world
  • Modules, monoliths, and microservices - lengthy, in-depth analysis of modularity in systems by Avery Pennarun. This paragraph embodies my learnings "Remember, ChromeOS is a monolith. iOS is a monolith. Your team is probably much smaller than either of those teams. You simply don't need to juggle a lot of microservices to get what you want. Architect things the easy way until you're absolutely forced to do them the hard way. That's what we do."
  • The Evolution of Developer Salaries: Looking Back 20 Years - One very surprising fact from this article is that a college graduate can increase their annual salary by over $20k by changing their title from programmer to software engineer.
  • LinkedIn is building a gig marketplace: πŸ€·β€β™€οΈπŸ€·β€β™€οΈπŸ€·β€β™€οΈ

Building APIs

My next project is API only. So I've been researching a lot about building usable and robust APIs. I'll talk about a few resources that have been helpful

Resources

Music

Spotify launched in Nigeria this past week, so I'll begin this section in my weekly notes to share afrobeats music I'm enjoying.

  • Outside - Burna Boy - I'm in love with Burna's sound. I found his 2018 album (Outside) and I've been vibing to it lately. My favorite song on this album is Rock Your Body.

See you next week!!!