DEV Community

loading...
Cover image for January 22nd, 2021: What did you learn this week?

January 22nd, 2021: What did you learn this week?

Nick Taylor (he/him)
Lead software engineer at Forem. Caught the live coding bug on Twitch at livecoding.ca
・1 min read

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!"

Discussion (23)

Collapse
bobbyiliev profile image
Bobby Iliev

I discovered a new tool called asciinema which lets you record your terminal and then people could play that 'video' but also copy anything from it just like they are watching you type live in your terminal. I've created an integration for it on the devdojo.com site!

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
bobbyiliev profile image
Bobby Iliev

It would be cool to have this available on DEV as a liquid tag! I would love to contribute but my Ruby knowledge is limited 😭

Collapse
mathieuhuot profile image
Mathieu Huot • Edited

Sending notification emails with the App Script API. It's very convenient. More specifically, taking data from a Sheets spreadsheet which acts as my static database to display in an HTML body using their Scriplets. Very impressed with the power of these tools. I'm writing this code for work as a non dev position, but with dev skills! (Somewhat) 😁🤓

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Processing data via an animated gif

Collapse
learnbyexample profile image
Sundeep

Until I tried today, I didn't know set data type in Python doesn't accept mutable types as an element!!

>>> {1, 3, [1, 2], 4}
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unhashable type: 'list'

>>> {1, 3, (1, 2), 4}
{3, 1, (1, 2), 4}
Enter fullscreen mode Exit fullscreen mode
Collapse
mellen profile image
Matt Ellen

Today I learned about System.Timers.Timer, a .Net class that can work much like setInterval in JavaScript.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

A bunch of cuckoo clocks on a wall

Collapse
samuelojes profile image
DGAME

I learnt various Javascript array methods.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author • Edited

Tommy Boy saying That was awesome!

Nice! Sarah Edo from Netlify made a really cool tool to explore array methods. Check it out. 👇🏻

Sarah Edo created a really awesome tool called JavaScript Array Explorer.

GitHub logo sdras / array-explorer

⚡️ A resource to help figure out what JavaScript array method would be best to use at any given time

JavaScript Array Explorer

When I was first learning array methods, I spent a lot of time digging through the docs to find the appropriate one, and I had to search one by one. I made this resource to help people find the correct array method a bit more naturally. You can narrow down what you want to do and explore until you find what's most useful to you.

Check out the site here: arrayexplorer.netlify.com/

Or if you prefer codepen: codepen.io/sdras/full/gogVRX/

I realize that there are about a million ways that this resource can be set up, and some of the taxonomy is necessarily opionionated. I tried to focus on what I thought would have helped me learn the best, rather than industry standard delineations (mutator, accessor, iteration, for example). There are a lot of resources that already divide the methods this way, so if that style of learning suits you…

</div>
Enter fullscreen mode Exit fullscreen mode

Collapse
samuelojes profile image
DGAME

🙏👍💕 More awesome.

Collapse
giacomopignoni profile image
Pigna

I learned how to use Github Actions.
I used it to automatic build and deploy an Angular app on Firebase Hosting

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Jean-Luc Picard from Star Trek TNG saying Well done!

Collapse
vaibhavkhulbe profile image
Vaibhav Khulbe

Adding SEO in a Gatsby app and also on how to generate dynamic pages from templates. 🔥

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Hot Rod saying Cool beans!

Collapse
vonheikemen profile image
Heiker

I learned how to do find and replace across multiple files in vim without plugins. It's not that hard, but it does get tricky when you need to filter the results of the search.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Borat saying Great Success!

Collapse
wasmenezes profile image
Waschington Menezes

I'm learning Node.js using clean architecture and tdd. My goal to this year is work with this.

github.com/WasMenezes

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Nice!

A kangaroo playing an electric guitar

Collapse
matthewobisnar profile image
Matthew Bisnar • Edited

I learned about constructing pipeline pattern in OOP.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

BB-8 giving a thumbs up

Collapse
cerchie profile image
Lucia Cerchie

-DSA-- binary search trees and hash tables
-JS-- learned what slice(1, -1) does
-Database design-- why the timing of identity generation matters

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

That's awesome! 🔥

Yes, that's awesome!