DEV Community

Cover image for October 2nd, 2020: What did you learn this week?

October 2nd, 2020: What did you learn this week?

Nick Taylor on October 02, 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. ![Deadpool a...
Collapse
 
learnbyexample profile image
Sundeep
$ # This string 'has single' "and double" quotes and a $
$ !:q
'# This string '\''has single'\'' "and double" quotes and a $'
bash: # This string 'has single' "and double" quotes and a $: command not found

Saw this bash trick discussion at: news.ycombinator.com/item?id=24659282 which has other suggestions like:

  • !:q:p prevents the complaint about command not found
  • !:q and then pressing M-^ (probably Alt-Shift-6) to do the history expansion is probably more useful; then you can immediately edit the line.
  • bashquote() { printf '%q\n' "$(cat)" ; }
Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!

Collapse
 
michaelphipps profile image
Phippsy

I learned cannon.js which is a 3D physics engine for javascript.

Hot tip: cannon.js isn't actively maintained. Search for and use cannon-es.js which is an active maintained fork.

Also learned about quaternions used for rotation, and csg.js used for union, subtract and intersect operations on meshes.

Collapse
 
nickytonline profile image
Nick Taylor • Edited

Stephen Colbert saying Awesome Sauce

Collapse
 
michaelphipps profile image
Phippsy

Your GIFs make my week. Thanks for doing this for everyone.

Thread Thread
 
nickytonline profile image
Nick Taylor

Kylo Ren on Undercover Boss giving a thumbs up

Collapse
 
andreligne profile image
André

I started looking into using partitions in PostgreSQL 12 to improve executing slow queries on large tables. Also that the PostgreSQL project has really excellent documentation, props to them 👏 postgresql.org/docs/12/ddl-partiti...

I also learned how to approximate the number of rows in a large (> 100m rows) table without using COUNT(*): dev.to/andreligne/counting-large-t...

Collapse
 
nickytonline profile image
Nick Taylor

Processing data via an animated gif

Collapse
 
nektro profile image
Meghan (she/her)

I finally learned how to write a Kubernetes Deployment .yml file! The particular one I wrote was a DaemonSet that deploys github.com/prometheus/node_exporter to every node in a cluster.

Unfortunately I wasn't able to test it because I still have to figure out getting a cluster going on my local machine, but that's a learn for another week 😅

But I'm relatively the syntax was right and I came up with this gist.github.com/nektro/27754c11a90...

Collapse
 
nickytonline profile image
Nick Taylor

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
shadowtime2000 profile image
shadowtime2000

This week was a pretty unproductive week. I don't think I actually learnt anything except for the fact that it is better to open an issue with a feature instead of just discreetly adding the feature in a commit. Keeps it organized and allows other people to contribute.

Collapse
 
nickytonline profile image
Nick Taylor

A puppet Yeti clapping their hands saying congratulations

Collapse
 
boxpiperapp profile image
BOX PIPER

I wrote a post on Circuit Breaker Pattern and It’s States, Build better software dev.to/boxpiperapp/circuit-breaker....
Unfortunately less traction from Dev.to community.
Would love to hear feedback’s

Collapse
 
nickytonline profile image
Nick Taylor

Dog slipping ice and sliding on their belly

Collapse
 
yordiverkroost profile image
Yordi Verkroost

I learnt about Obsidian, second brains and how the two of them together are potentially very interesting!

dev.to/yordiverkroost/personal-kno...

Collapse
 
nickytonline profile image
Nick Taylor

Yeah!

A T-Rex saying Yeah!

Collapse
 
andrea_dispe profile image
Andrea Disperati

Learned a lot this week:
1- how to deploy on Heroku and set env variables
2- how to install and configure eslint and run it with a npm script
3- how to install and run CLoudinary on the frontend and upload images on Cloudinary from the backend (though I haven't learned all the code by heart because there is a lot of it)

Collapse
 
nickytonline profile image
Nick Taylor

Gym teacher from Glee saying amazing!

Collapse
 
braydentw profile image
Brayden W ⚡️

I learned the basics of React in under 72 hours. Things like Components, Hooks, Virtual DOM, and am starting to learn TailwindCSS.

Collapse
 
nickytonline profile image
Nick Taylor

Bobby Moynahan character from SNL saying awesome!

Collapse
 
braydentw profile image
Brayden W ⚡️

😂

Collapse
 
codefinity profile image
Manav Misra

GraphQL with Prisma on Node with authorization! 😊 Not fully mastered but have the 💡

Collapse
 
nickytonline profile image
Nick Taylor

Pam from The Office saying Nice!

Collapse
 
surjithctly profile image
Surjith S M

Svelte

Also made a simple price converter / calculator: svelte.dev/repl/3f2cabb1960845938a...

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Nice

Collapse
 
abdullahsajjad026 profile image
Abdullah Sajjad

Got my hands dirty with HTML and CSS.
Following Jonas's Udemy HTML and CSS course and enjoying it. I need some tips for Web Development.

Collapse
 
nickytonline profile image
Nick Taylor

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