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.
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)
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..
That's awesome! 🔥
Thanks :)
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? 💕
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
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
andbeforeEach
in Jest, for stuffs like database mocking.For myself, I learnt some vue.js this week thanks to @drewclem!
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).
Nice!
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..
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
That's great 👌
Awesome!
This week I started learning how to make forms in react. I also dove into recursion a little bit as well.
This week I started learning how to make forms in react. I also dove into recursion a little bit as well.
I picked up Golang, also I wrote my first blog post
;), and I am reading some articles on data structures and algorithms
Congrats on your first post!
Thank you very much :)
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.
Let's go!
Started learning fundamentals of Programming (JavaScript to start) since end June (I just posted more about this ), so this week I learnt:
Also, this Quokka.js VSCode extension is great: Runtime values are updated and displayed in your IDE next to your code, as you type.