DEV Community

Cover image for Jan. 24, 2020: What did you learn this week?

Jan. 24, 2020: What did you learn this week?

Nick Taylor on January 24, 2020

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...
Collapse
 
lisasy profile image
Lisa Sy (she/her)

This week, I learned about this app called Muzzle, which hides on-screen notifications while I'm screensharing :)

muzzleapp.com/

Collapse
 
aschmelyun profile image
Andrew Schmelyun

Holy moly, thank you for this!

Collapse
 
lisasy profile image
Lisa Sy (she/her)

You can thank @joshpuetz :)

Collapse
 
ben profile image
Ben Halpern

I learned a lot about surrogate keys in edge caching.

Alongside @rhymes and co we're getting a better handle on the caching infrastructure we use at DEV.

docs.fastly.com/en/guides/getting-...

Collapse
 
deciduously profile image
Ben Lovy

I learned about C++ template specialization:

I learn something new about C++ damn near every coding session, it seems. Huge language.

Collapse
 
ojacques profile image
Olivier Jacques

🌼🌳🌱🌍I learned about the impact of digital services on the environment (us), and what I can do about it. I learned that majority of the impact is coming from building new devices (phones, PCs, tablets, connected cars) and that the way to reduce that impact is to design digital services which are optimized so that renewing a device because it is slow can be delayed.

Collapse
 
joshpuetz profile image
Josh Puetz • Edited

I recently started a new job at a site you may have heard of, and have learned so much about their codebase and processes!

Collapse
 
bimbimprasetyoafif profile image
Bimo Prasetyo Afif

that's sound great, congratulations.

Collapse
 
richardeschloss profile image
Richard Schloss

dev.to seems like a dream place to work!

Collapse
 
steveblue profile image
Stephen Belovarich • Edited

I learned how to build React with Parcel!

I wrote about the journey here.

Collapse
 
dzhavat profile image
Dzhavat Ushev

I've been working with BDD (Behavior-driven development) this week and I learned how to run e2e tests for an Angular app using Gherkin syntax. For this purpose I had to setup Protractor + Cucumber-js + Chai. At the end everything worked which was amazing πŸ˜€

Collapse
 
mikeck profile image
Mike CK

This week, I got introduced to Elixir programming language and I wrote a function to calculate the factorial of a number.

I expressed my surprise at how you can calculate the factorial of 10_000 very fast on the post How to Calculate the Factorial of 10_000 - Elixir.

This is not possible in many other languages by the way... So it was a good lesson!

Collapse
 
nickytonline profile image
Nick Taylor

Sounds really cool. I haven't done any Elixir myself, but I know the folks at Infinite Red led by Jamon Holmgren do quite a bit of it. I found a brief post from him about moving to Elixir, shift.infinite.red/the-rails-doctr....

He's on DEV, but not really active at @jamonholmgren . He Tweets a lot, so give him a follow there too if you want.

Collapse
 
mikeck profile image
Mike CK

Wow! Thanks.Will definitely follow him.

Collapse
 
vaibhavkhulbe profile image
Vaibhav Khulbe

I took things lightly and made a simple meme maker application with React. Earlier I was using some fancy technologies/libraries in my e-comm project, this time around, I made this meme project with just React.

Sometimes using less is good!

Collapse
 
dasdaniel profile image
Daniel P πŸ‡¨πŸ‡¦ • Edited

I learned that if you inline

apt-get update -y && apt-get install -y ...

in your docker build script, you may miss these errors

E: Release file for ... is not valid yet (invalid for another 22h 2min 28s). Updates for this repository will not be applied.

Which leads to other potential other issues.

So from now on, I'll put them on a separate lines.

apt-get update -y
apt-get install -y ...
Collapse
 
espoir profile image
Espoir Murhabazi

I did a lot of react since last week!

And I discovered, since last year , React has changed a lot...

Everything in react is now a hook, and redux is not completed as I taught it’s!

I learn also about how to use docker to generate SSL certificates and how to use cronjobs in windows....

Collapse
 
nickytonline profile image
Nick Taylor

Nice Espoir! Yes, there are a lot of new things in React. One great article I'd recommend if you're new to hooks is this one by @wattenberger . Sidenote, great work on this article Amelia! πŸ”₯

Thinking in React Hooks

Collapse
 
espoir profile image
Espoir Murhabazi

Let me check it out...

Collapse
 
harrison_codes profile image
Harrison Reid

This week I've been learning how to use Konva, which is proving to be a really nifty library for interacting with the <canvas />. Has been especially nice paired with react-konva.

Building something with this that I should have available soon!

Collapse
 
richardeschloss profile image
Richard Schloss

I learned how to combine markdown and Vue markup together into my storybooking module nuxt-stories. You can check it out here! The same markdown component can easily be reused anywhere in the Nuxt app. This means your stories or your vue templates can be written like this:

<markdown>
  * Here is story 1
  * Here is story 2
  * This is the logo component:
  <logo></logo>

  A table would be here:
  | Header 1 | Header 2 |
  | --- | --- |
  | Data1 | Data 2 |
</markdown>

The markdown will be compiled into beautiful mark*up*. And the <logo> will be a fully functioning Vue component! The markdown renderer is extensible and in my demo, you'll see the bootstrap table-striped being used, but never in my template do I have to write class="table table-striped". So, this makes it far easier now to write notes, gameplans, stories, whatever!

Only caveat: while it can be re-used in a Nuxt app, since the HTML is being re-compiled, Vue will complain that "server-side rendering doesn't match...". That just means <markdown> needs to be wrapped in a <client-only> tag.

Collapse
 
practicingdev profile image
Practicing Developer • Edited

I learned that Tailwind CSS exists, and that it's fairly easy to set up, but that I probably need to practice UI/UX skills a bit more to make effective use of it.

But I'm excited to try! BootstrapVue works great for me when I'm not concerned about building a unique UX, but it never feels easy to customize Bootstrap to give a unique look and feel, even though I know it's possible.

It seems like Tailwind solves that problem, allowing you to gradually build your way up to reusable components over time.

If anyone here has good learning resources about Tailwind that they'd recommend checking out, I'd love to hear about them.

Collapse
 
richardeschloss profile image
Richard Schloss

I too have been wondering if tailwind is worth the time investment for me to learn. I have the Tailwind playground bookmarked which seems useful because of the intellisense. I'm in the same boat in that I think a lot in terms of BootstrapVue and native CSS3, and I'm not sure how much I would have to unlearn things before I fully understand tailwind. And it's not completely clear to me if the benefit Tailwind provides is worth the benefits it throws away: like, I can use a class "border-purple-100" but not "border-purple-150"? Whatever used to be a laundry list in css just got moved into a laundry list of class names in the HTML. Also, the other big tradeoff to me appears that changing the entire theme of a given page will become much more challenging when using utility-first framework (i.e., the class names of each element will have to be tweaked). Maybe someone can convince me otherwise.

Collapse
 
practicingdev profile image
Practicing Developer

About changing the theme of a whole page, I mostly assume that I would be using utility classes to build reusable components in Vue, rather than directly using the utility classes everywhere.

So taking that approach, rewriting the theme for each component would then apply the styling wherever it is used.

Collapse
 
hamzaalalach profile image
Hamza Alalach

I've learned about the importance and how to mesure Key Devops metrics.
I've also worked with Jenkins for CI.

Collapse
 
czep profile image
Scott Czepiel

This week I learned that there's a difference between ROWS BETWEEN and RANGE BETWEEN in the partition clause of window functions in SQL. And different engines have different levels of support for the two.

Collapse
 
mnepita profile image
Martin Nepita

Hello there! this week has been all about getting my hand dirty with nodeJS + Express JS.

For node I have been learning about Node Modules, NPM, etc.

On the express side I was able to to create my first server... Trying to understand router/routes, Middle wares, CRUD operations.

The back-end is really exciting :D !!

Collapse
 
james1515 profile image
James Ortiz

Mainly I have been learning about Node.js, and creating basic RESTful Web Services

Collapse
 
aschmelyun profile image
Andrew Schmelyun

How to use Composer/npm with Docker finally clicked and it's like my whole world just got shook, lol.

Collapse
 
mariewie profile image
MarieWie

I learnt that you can name loops and blocks in JavaScript and how to tackle bugs that don't throw any errors to the console.

Collapse
 
axelledrouge profile image
AxelleDRouge

Last week (because sorry I'm late) I learned GraphQL :) and what a fantastic discovery and feeling !

Collapse
 
andrekelvin profile image
AndreKelvin

Learn RxJava. Dagger2 is next

Collapse
 
dansilcox profile image
Dan Silcox

I have been deep diving in some MySQL and discovering some... let’s say... limitations... of 5.7 vs newer versions and other DB platforms... but I survived!!

Collapse
 
ndy40 profile image
Ndy

I learned about how much faith my team mates have in my technical abilities. While I just feel like an ordinary Joe. So now I am pumped up to be better.

Collapse
 
ucavalcante profile image
Ulisses Cavalcante

I learned what is Angular Universal maybe next week i try use that.

Collapse
 
nineismine profile image
nineismine

I have been splitting my attention between getting started with azure and getting better at automated testing.

Collapse
 
bimbimprasetyoafif profile image
Bimo Prasetyo Afif

learned graphene for python( django)

actually looking for graphql python and some best practice

Collapse
 
darkes profile image
Victor Darkes

An in-depth read through of official Kotlin coroutines guide.

Collapse
 
lamda_calculas profile image
Sagnik Chatterjee

I learnt about the network library in Java and how to do socket programming and writing your own server and client.

Collapse
 
carolstran profile image
Carolyn Stransky

I learned what an API gateway is after my boss did a demo using Kong! Thinking about writing something about it now... πŸ€”πŸ€¨πŸ§

Collapse
 
cricarba profile image
Cristian Carvajal πŸ‘½ • Edited

I learned about Jupyter Notebooks, Cloud architecture and Python language.

I'm following this path in pluralsigth
app.pluralsight.com/paths/skills/p...

Collapse
 
dmetriusagurs profile image
D'Metrius Agurs

This week, I learned python and wrote api calls to Spotify to return information on artists such as top 20 songs.