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...
For further actions, you may consider blocking this person and/or reporting abuse
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 pressingM-^
(probablyAlt-Shift-6
) to do the history expansion is probably more useful; then you can immediately edit the line.bashquote() { printf '%q\n' "$(cat)" ; }
That's awesome! 🔥
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.
Your GIFs make my week. Thanks for doing this for everyone.
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...I finally learned how to write a Kubernetes
Deployment
.yml
file! The particular one I wrote was aDaemonSet
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...
Awesome!
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.
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
I learnt about Obsidian, second brains and how the two of them together are potentially very interesting!
dev.to/yordiverkroost/personal-kno...
Yeah!
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)
I learned the basics of React in under 72 hours. Things like Components, Hooks, Virtual DOM, and am starting to learn TailwindCSS.
😂
GraphQL with Prisma on Node with authorization! 😊 Not fully mastered but have the 💡
Svelte
Also made a simple price converter / calculator: svelte.dev/repl/3f2cabb1960845938a...
Nice!
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.