DEV Community

Cover image for Mar. 13, 2020: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

Posted on

Mar. 13, 2020: What did you learn this week?

Happy Pi Day one day early awesome community members!

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.

A comic sloth riding a flying book saying

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.👇👇🏻👇🏼👇🏽👇🏾👇🏿

A show host dancing a winning dance in their seat

Top comments (27)

Collapse
 
sargalias profile image
Spyros Argalias

Service workers. A little bit complicated with their 3 step lifecycle, but fairly nifty. Mostly from the Google developers service workers primer

Collapse
 
scrabill profile image
Shannon Crabill

Service workers are fun! Tricky, yes, but fun!

Collapse
 
matteobruni profile image
Matteo Bruni • Edited

A lot on HTML 5 canvas and javascript. How to uncover an object under a canvas or how to rotate the objects correctly.
These are the samples of what I'm talking about 💪:


Collapse
 
ben profile image
Ben Halpern

Cool!

Collapse
 
lennythedev profile image
Lenmor Ld

Finally succeeded doing an interactive rebase! I used to just trash a branch and create a new one. This time I actually read and understand how it works.
Nice article: blog.algolia.com/master-git-rebase/

Collapse
 
nickytonline profile image
Nick Taylor

Nice Lenny! Hope all is well! Say hi to the Shotgun peeps for me! 👋

Collapse
 
metalmikester profile image
Michel Renaud

Well, it's kind of weird saying that but I've been working with JavaScript for a while and yesterday I had to write a class. I had actually never written one in JS, mostly doing functional programming. The task at hand just felt more natural using a class.

So I learned about the intricacies of class variables, properties and methods. I got a lot of "unexpected..." or "undefined..." errors until I got the syntax right. That first JS class tutorial I looked at had a lot of errors in it. lol

I also found that I had to be careful about the syntax of a callback passed to findIndex (for arrays). I wasn't getting any error but always got a -1 result until I found that the syntax there was... hmmm... a bit simpler than what I've been doing for things like event listeners.

All frustrating at first, but in the end it all worked and it's a win. :)

Collapse
 
emma profile image
Emma Goto 🍙

I updated the social card generator on my gatsby blog website so that two separate images would be automatically generated - one each for Twitter and DEV (since they have different dimensions). I also made so that you could pass in an image URL and it would use it as the background:

I followed this tutorial here if anyone else is interested in adding it to their gatsby site!

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Collapse
 
naimlatifi5 profile image
Naim Latifi

Learnt Wepack and how does it work

Collapse
 
ravishkr13 profile image
Ravish kumar

I just started in a new company this week. I have just transitioned from functional business analysis to data analytics and data warehousing. I am just learning how the data is structured and starting a new project in Python, SQL and Airflow with BigQuery.

Collapse
 
nickytonline profile image
Nick Taylor

Awesome! Sounds like it would make for a great post on DEV. 😉

Collapse
 
yuanhao profile image
YuanHao Chiang • Edited

Ruby on Rails! Decided to take the plunge and start taking the BE stack we use seriously this year. 💪💪

Collapse
 
mjstelly profile image
Michael Stelly

I learned...

  1. a little bit more about python for machine learning through Kaggle's mini-courses.
  2. that I'm quite fortunate that my work allows me to work from home 100%.
  3. that my soft skills need a great deal of improvement.
  4. the critical importance of reading classic literature. You would be amazed at how relevant are the writings of Plato, Suetonius, and Nietsche to modern society. I was.
  5. that freelancing is a job in itself apart from the actual billable work.
Collapse
 
clifton893 profile image
Clifton Long Jr.

Typography! Some really great study on design theory, a professional mindset to typeface selection, and pairings.

And Sketch! I know Figma is where design is trending, but Sketch seems like a perfect starting point.