DEV Community

Cover image for January 6th, 2022: What did you learn this week?
Nick Taylor (he/him)
Nick Taylor (he/him)

Posted on

January 6th, 2022: What did you learn this week?

Hello 2022! For those interested, you can check out last year’s series.

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.

Information flowing through your brain

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.

Discussion (29)

Collapse
inhuofficial profile image
InHuOfficial

Well I somehow missed that 8 digit hex codes for colours were a thing…pretty much blew my mind that I had missed this for over 6 years!

Collapse
atulcodex profile image
Atul Prajapati

yes i know it's included opacity of normal hex color code.

Am i right?

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Yeah it's pretty neat to tweak the alpha channel.

A T-Rex saying Yeah!

Collapse
inhuofficial profile image
InHuOfficial

Next someone will be telling me I can centre a <div> with just 2 lines using CSS grid! Can you imagine? 😉

Collapse
peter279k profile image
peter279k

I learn a lot about ClickHouse and contribute their docs frequently :).

Collapse
ben profile image
Ben Halpern

When I see ClickHouse, I think ClickHole 🤷

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Thinking emojis floating around

Collapse
peter279k profile image
peter279k

It lets me laugh.
Alt Laugh

Collapse
mrsharm profile image
Mukund Raghav Sharma (Moko)
  • Call stack resolution of .NET programs using the Trace Library can be painful. I was successful in the end, however, took time to understand what was going on.
  • Finished 2 books: The Psychology of Money and a book on Kaizen. Wrote notes for there here and here, respectively.
  • Learnt about the Peloponnesian war and the origin of war in general. Here is what I learnt: The origin of war is the competition of power and all varieties of it. Whether the power will be used for the preservation of peace or to display dominance on others or to gain wealth, it is of vital importance to the states and therefore, wars are fought to maintain or gain more power.
  • Learnt that to access the command line args for a process in Linux is a simple matter of reading a file e.g. in C# it's as easy as:
                return File.ReadAllText($"/proc/{ process.Id }/cmdline");
Enter fullscreen mode Exit fullscreen mode
  • Listened to this Indie Hacker's podcast and learnt a few things about the real estate business.
Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Nice!

Nice

Collapse
mistval profile image
Randall

I learned that each stage in a MongoDB aggregation pipeline can use a maximum of 100 MB RAM and will error if it needs more. There is an allowDiskUse option you can enable to make it use temporary files on disk to exceed that limit. Though optimizing the pipeline is a better solution when possible!

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Processing data via an animated gif

Collapse
andypiper profile image
Andy Piper • Edited on

Lots of things going on, that I've learned from...

  • I built a Pi Cluster and learned about running tasks on multiple nodes using Slurm;
  • I found out about a bunch of nice CLI tools (Twitter thread);
  • I learned about the existence of the Open Sauced site;
  • and, I installed and setup a new Synology DS920+ at home, which taught me about their network stuff.
Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Nice! Open Sauced is a great community. Shoutout to @bdougieyo for starting it!

Actor Zach Galifianakis giving a thumbs up in a convertible car

Collapse
snikhill profile image
Nikhil Seth

I am exploring Angular combined with Ionic to contribute to an Application.

I also recently joined a new community: Virtual Coffee [as a matter of fact, I just saw you there :)] and shall be using the same to network and learn from developers around the world.

I am continuing to be more financially literate using books as my guide. I am getting more 'aware' about Fundamental Analysis.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Nice! I'm a part of Virtual Coffee as well!

Kylo Ren on Undercover Boss giving a thumbs up

Collapse
atulcodex profile image
Atul Prajapati
Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Nice!

A kangaroo playing an electric guitar

Collapse
rhammy profile image
Abdulrahman Afaraetu

I started learning Next.js

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

That's awesome! 🔥

Yes, that's awesome!

Collapse
rhammy profile image
Abdulrahman Afaraetu

yeah! thanks

Collapse
pontakornth profile image
pontakornth

TimSort is usually default stable sort algorithm. I discovered it when my girlfriend ask me to help with her assignment.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

BB-8 giving a thumbs up

Collapse
liftoffstudios profile image
Liftoff Studios

I am creating a chat application for my little sisters birthday :)

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Noice!

Noice!

Collapse
valbuena profile image
valbuena

pinia is way cooler to use than vuex4 ...

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Sounds like it'd make for a great bog post comparing the two. 😎

Dog from GoT with friend chicken

Collapse
gamerseo profile image
Gamerseo

Perseverance and patience. This year really required a lot of patience.

Collapse
nickytonline profile image
Nick Taylor (he/him) Author

Chow Yun-fat giving a thumbs up