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 ...
For further actions, you may consider blocking this person and/or reporting abuse
Service workers. A little bit complicated with their 3 step lifecycle, but fairly nifty. Mostly from the Google developers service workers primer
Service workers are fun! Tricky, yes, but fun!
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 💪:
Cool!
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/
Nice Lenny! Hope all is well! Say hi to the Shotgun peeps for me! 👋
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. :)
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!
Nice!
Learnt Wepack and how does it work
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.
Awesome! Sounds like it would make for a great post on DEV. 😉
Ruby on Rails! Decided to take the plunge and start taking the BE stack we use seriously this year. 💪💪
I learned...
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.
This week I learned Pure components in react and wrote below article about the same.
Pure Components in React
Sumit Kharche ・ Mar 7 ・ 4 min read
Also spend some time on Azure functions.
This work I worked on to write two articles on Javascript.
dev.to/voralagas/that-s-it-knowing...
and
dev.to/voralagas/super-props-in-re...
I tried to learn RUST and write some code in RUST along with writing articles in RUST.
Some object-oriented design patterns, by browsing Github open source :)
I wrote two article on javascript that is available on my profile. Tried to learn new programming language RUST but left it with lack of fire 🔥🔥🔥🔥
Article on Closure in Javascript
dev.to/voralagas/that-s-it-knowing...
Article on Super() in React and JS
dev.to/voralagas/super-props-in-re...
Feel free to drop the links to your posts in the comments. 😉
I learnt a little regex.
I got to know more about React/Redux by reading some of the questions listed in this repo.
I learned what a hash map was and why they are good! I've been struggling through learning about data structures but this was an interesting section.
Big query and its nice command line interface. How to use Google's APIs to write and read from them
I learned more about I/O in Java, also about JavaFX.