DEV Community

Cover image for July 14th, 2022: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

Posted on Edited on

July 14th, 2022: What did you learn this week?

It's that time of the week again. So wonderful devs, what did you learn this week? It could be programming tips, career advice etc.

![David from Schitt's Creek saying "This is a teachable moment for all of us!"](https://media.giphy.com/media/Q8rwlNTcDAU3MuUzd7/giphy-downsized-large.gif)

Feel free to comment with what you learnt and/or reference your TIL post to give it some more exposure.

#todayilearned

Summarize a concept that is new to you.

Top comments (23)

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
sashevuchkov profile image
Sashe V. • • Edited

While preparing for a ProductHunt launch, I discovered that my CMS VM had not supported OS.

So I've learned how to migrate my CMS to a new virtual machine with a newer operating system. I've made a checklist, so I hope to make it way faster next year or even create a script that does it automatically.

Also, I used the tool ahrefs to find the most popular content on "Launching a Startup," so now I'm packed with many launching strategies..

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

That's awesome! 🔥

Yes, that's awesome!

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
sashevuchkov profile image
Sashe V. •

Thanks :)

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
mrcaidev profile image
mrcaidev • • Edited

I dipped into Jest & React Testing Library, and managed to integrate them into my Next.js app. But I still have no idea about the best practices, so would someone be so kind to share some awesome posts on this topic? 💕

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
ninofiliu profile image
Nino Filiu •

Well there's this amazing article Why Good Developers Write Bad Unit Tests, it's not focused on react + jest, but most of the philosophy can be used anywhere you're writing tests!

It also exists as a talk

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
mrcaidev profile image
mrcaidev •

Thanks! This post is of great help! But I don't think it's always right to "keep the reader in your test function", which the author considered a principle. I think it's necessary to extract common logic into another function, like beforeAll and beforeEach in Jest, for stuffs like database mocking.

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor • • Edited

For myself, I learnt some vue.js this week thanks to @drewclem!

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
aigarspl profile image
Aigars Pluģis •

Started to learn about asyncpg (Python library for PostgreSQL), already a bit tried to implement in small test project (M3U8 server - server which gives M3U8 stream links, depending on case - with Streamlink library or directly).

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

Nice!

A kangaroo playing an electric guitar

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nombrekeff profile image
Keff •

I learned to make discourse plugins, and got my hands dirty with ruby, which I had never written anything with! Quite a nice language I must say, really different to anything I had used before though

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
atulcodex profile image
🚩 Atul Prajapati 🇮🇳 •

That's great 👌

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
zacharyp profile image
ZacharyP •

I learned more about pagination then I ever care to again. You have a list of arbitrary length you need chopped into pieces and displayed?? I got you.. you need page 65 at 20 lines per page?? done.. you want dots to break things up ..? we can make that happen..

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

Processing data via an animated gif

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
watchitgo333 profile image
Eric Brusky •

This week I started learning how to make forms in react. I also dove into recursion a little bit as well.

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

This week I started learning how to make forms in react. I also dove into recursion a little bit as well.

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

BB-8 giving a thumbs up

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
owujib profile image
owujib •

I picked up Golang, also I wrote my first blog post
;), and I am reading some articles on data structures and algorithms

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

Congrats on your first post!

1st place in Mariokart

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
owujib profile image
owujib •

Thank you very much :)

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
pratikthorat8 profile image
pratikthorat8 •

I am new to this series But I intend to Participate today onwards!

Today was all about setting up a development environment!

I have decided to make shift to linux (ubuntu to be more specific). I did it over virtual box and also got the hang of vim. The basics are done.

However it seems I will have to learn a bit about Lua and Lisp to simply customise the editor completely to my liking.

However, for now the time being I am using vim script.

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
nickytonline profile image
Nick Taylor •

Let's go!

A kid twirling in a cowboy outfit firing pistols that are their fingers

💬 ชาวเน็ตแห่แชร์: nickytonline/july th what did you learn this week i - Kapook Update 2025
 
vassovass profile image
Vasso Vass • • Edited

Started learning fundamentals of Programming (JavaScript to start) since end June (I just posted more about this ), so this week I learnt:

  • Truthy Falsy Statements
  • Equality Operators
  • Boolean Logic
  • Switch Statements

Also, this Quokka.js VSCode extension is great: Runtime values are updated and displayed in your IDE next to your code, as you type.