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

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

nickytonline profile image Nick Taylor (he/him) ・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.

Deadpool and his cohorts chatting

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

Big win. Danny Devito walking away from a huge explosion

Discussion

pic
Editor guide
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 (he/him) Author

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
Collapse
michaelphipps profile image
Phippsy

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

Thread Thread
nickytonline profile image
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
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
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
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
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
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
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
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
Collapse
surjithctly profile image
Surjith S M

Svelte

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

Collapse
nickytonline profile image
Collapse
abdullah_sajjad 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