DEV Community

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

Posted 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.

Latest comments (23)

Collapse
 
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.

Collapse
 
nickytonline profile image
Nick Taylor

Let's go!

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

Collapse
 
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..

Collapse
 
nickytonline profile image
Nick Taylor

Processing data via an animated gif

Collapse
 
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.

Collapse
 
nickytonline profile image
Nick Taylor

BB-8 giving a thumbs up

Collapse
 
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.

Collapse
 
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.

Collapse
 
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).

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

A kangaroo playing an electric guitar

Collapse
 
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

Collapse
 
nickytonline profile image
Nick Taylor

Congrats on your first post!

1st place in Mariokart

Collapse
 
owujib profile image
owujib

Thank you very much :)

Collapse
 
mrcaidev profile image
Yuwang Cai • 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? 💕

Collapse
 
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

Collapse
 
mrcaidev profile image
Yuwang Cai

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.

Collapse
 
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

Collapse
 
atulcodex profile image
🚩 Atul Prajapati 🇮🇳

That's great 👌

Collapse
 
nickytonline profile image
Nick Taylor

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
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..

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!

Collapse
 
sashevuchkov profile image
Sashe V.

Thanks :)

Collapse
 
nickytonline profile image
Nick Taylor • Edited

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