DEV Community

Cover image for January 6th, 2022: What did you learn this week?
Nick Taylor
Nick Taylor Subscriber

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](https://media.giphy.com/media/qKltgF7Aw515K/giphy.gif)

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.

Top comments (29)

Collapse
 
grahamthedev profile image
GrahamTheDev

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

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

A T-Rex saying Yeah!

Collapse
 
grahamthedev profile image
GrahamTheDev

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

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

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

Processing data via an animated gif

Collapse
 
andypiper profile image
Andy Piper • Edited

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

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
 
atulcodex profile image
🚩 Atul Prajapati 🇮🇳
Collapse
 
nickytonline profile image
Nick Taylor

Nice!

A kangaroo playing an electric guitar

Collapse
 
snikhill profile image
Nikkhiel Seath

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

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

Kylo Ren on Undercover Boss giving a thumbs up

Collapse
 
rhammy profile image
Abdulrahman Olalekan

I started learning Next.js

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!

Collapse
 
rhammy profile image
Abdulrahman Olalekan

yeah! thanks

Collapse
 
pontakornth profile image
Pontakorn Paesaeng

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

BB-8 giving a thumbs up

Collapse
 
gamerseo profile image
Gamerseo

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

Collapse
 
nickytonline profile image
Nick Taylor

Chow Yun-fat giving a thumbs up