DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 964,423 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
Cover image for August 26th, 2021: What did you learn this week?
Nick Taylor
Nick Taylor

Posted on • Updated on

August 26th, 2021: 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.

Image of the brain

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.

And remember, if something you learnt was a big win for you, then you know where to drop it as well.πŸ‘‡πŸ‘‡πŸ»πŸ‘‡πŸΌπŸ‘‡πŸ½πŸ‘‡πŸΎπŸ‘‡πŸΏ

Little kid making a fist as if to say "Yes!"

Photo by MikoΕ‚aj on Unsplash

Top comments (12)

Collapse
 
djuber profile image
Daniel Uber

This week I learned about pre- and post- scripts in npm (and yarn).

If you have a script in your package.json like "foo", you can add another script "prefoo" and it automatically runs before foo does.

Collapse
 
nickytonline profile image
Nick Taylor Author

Hot Rod saying Cool beans!

Collapse
 
andrewbrown profile image
Andrew Brown πŸ‡¨πŸ‡¦

WIth Terraform you can write your own custom providers for anything.

So this is a tutorial on how to create a IaC to provision a spotify playlist
learn.hashicorp.com/tutorials/terr...

I've been learning Terraform for a few reasons. One is so I can setup a golden image pipeline for my Forem server so I can safely extend it with custom features.

Collapse
 
nickytonline profile image
Nick Taylor Author

Nice! You should do a write up on forem.dev about it once you get it done.😎

Actor from Game of Thrones saying Nice!

Collapse
 
bglamadrid profile image
Benjamin La Madrid

I learned I can track the root of any raised exception within Spring Web MVC by bypassing filters with the use of a class annotated with @ControllerAdvice and a corresponding method annotated with @ExceptionHandler and the desired exception to catch.
In the end, the issue's root cause was myself, sending invalid JSON (took me a whole hour to realize it! I blame Postman though).
Still, using said annotations helped me unveil how and where did my tests fail.

Collapse
 
nickytonline profile image
Nick Taylor Author

Nice!

Nice

Collapse
 
mardiya profile image
Mardiya Zubairu

This week I learnt about redux. Initially I thought it was associated with react but it wasn’t. It is a standalone state manager but can be used with react. Had an intro to it with explanation on the keywords like Actions with their payload and keys, Reducer functions and how it’s advisable to creat a main function linking all reducer functions. Still confused but I feel I’m off to a great start.
Been seeing posts on Twitter about NFTs, I was wondering why those game characters cost so much when advertised on posts tagged nfts apparently they aren’t just imagesπŸ˜….

Collapse
 
nickytonline profile image
Nick Taylor Author

Nice!

A kangaroo playing an electric guitar

Collapse
 
cerchie profile image
Lucia Cerchie

I got a good start on learning how to use oclif to create cli tools this week-- am learning by making a cli quiz game :)

Collapse
 
nickytonline profile image
Nick Taylor Author

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
bhumit070 profile image
Bhoomit Ganatra

Contuning my go journey with
writing apis in go lang with database connection

Collapse
 
huhu08 profile image
huhu08

I learnt that I can divide angular apps using module instead of components with seperate models and routes folder

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.