DEV Community

Cover image for January 20th, 2022: What did you learn this week?

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

Nick Taylor on January 21, 2022

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. ![Hackerman ...
Collapse
 
brendan profile image
Brendan Falk • Edited

When you edit your $PATH environment variable, you don't have to use quotes

e.g. the following is perfectly valid

PATH=$PATH:/my/new/path/
Enter fullscreen mode Exit fullscreen mode

I always thought you had to do the following, just in case $PATH expanded into something with a space, but it turns out it's fine either way

PATH="$PATH:/my/new/path/"
Enter fullscreen mode Exit fullscreen mode
Collapse
 
ben profile image
Ben Halpern

Whether quotes are needed in different languages is so inconsistent 😄

Collapse
 
nickytonline profile image
Nick Taylor

Loki holding KFC

Collapse
 
nickytonline profile image
Nick Taylor

Jack Nicholson nodding yes

Collapse
 
ben profile image
Ben Halpern

I learned that this was possible 🤯

Collapse
 
juniordevforlife profile image
Jason F

Amazing! Thank you for sharing.

Collapse
 
nickytonline profile image
Nick Taylor

Shia LeBoeuf in character saying Magic!

Collapse
 
farshan profile image
Farshan Ahamed
git checkout -b new-branch
Enter fullscreen mode Exit fullscreen mode

is equivalent to

git branch new-branch
git checkout new-branch
Enter fullscreen mode Exit fullscreen mode
Collapse
 
nickytonline profile image
Nick Taylor

BB-8 giving a thumbs up

Collapse
 
juniordevforlife profile image
Jason F

I've been playing around with React and leaflet in my free time. I've learned quite a bit building this, which I've been working on for the last several weeks. The latest issue I resolved was handling multiple markers in the exact same location on the leaflet map using a cool library called react-leaflet-marketcluster.

Collapse
 
nickytonline profile image
Nick Taylor

Awesome!

Hackerman from Kung Fury putting on a Nintendo Power glove

Collapse
 
atulcodex profile image
🚩 Atul Prajapati 🇮🇳
Collapse
 
nickytonline profile image
Nick Taylor

Noice!

Noice!

Collapse
 
mrsharm profile image
Mukund Raghav Sharma (Moko)

Busy busy week!

  • Learnt about 10 Cognitive Biases and wrote notes for them here.
  • Revisited the world of synchronization primitives in C for Linux and practiced the hell out of them. Created a repository with my explorations here.
  • Revisited my research for my capstone paper and wrote about it here.
  • Learnt about Spectre.Console's abstractions and created multiple PRs for this memory analysis project I have been working on here and here.
  • Revisited Linked List, BFS, DFS, Backtracking, Tree and graph competitive programming algorithms.
  • Learnt about Brick Tables and Card Tables.
  • Dived deep into Generative Adversarial Networks and coded up a few following this course. Might need to put this on hold due to prep.
  • Learnt about interior pointers from here.
  • Learnt I need to get more sleep.
Collapse
 
nickytonline profile image
Nick Taylor

Nice!

Nice

Collapse
 
hrishio profile image
Hrishi Mittal • Edited

I learned the purdie shuffle from the man himself!

Collapse
 
nickytonline profile image
Nick Taylor

Gym teacher from Glee saying amazing!

Collapse
 
meatboy profile image
Meat Boy

Ebiten. It’s go game framework or more precisely sprite rendering library with some utilis.

Collapse
 
nickytonline profile image
Nick Taylor

Yeah!

A T-Rex saying Yeah!

Collapse
 
snikhill profile image
Nikkhiel Seath

Angular + Ionic + Service Workers.

What about you @nickytonline ?

Collapse
 
nickytonline profile image
Nick Taylor

Nice!

A kangaroo playing an electric guitar

For me I discovered why I was having trouble seeding my database for development. Forem, the software that runs dev.to, uses Ruby on Rails and I discovered, along with a coworker that disabling Spring fixed the errors that were preventing the database from seeding. Shout out to my coworker Dan for the help!

Collapse
 
dhananjai1729 profile image
Dhananjai Krishnakumar P M

starting basics of python

Collapse
 
nickytonline profile image
Nick Taylor

Bobby Moynahan character from SNL saying awesome!

Collapse
 
thehighsecond profile image
TheHighSecond
  1. Learned how to use Dark Mode in Tailwind CSS. using dark: prefix
  2. Learned how to stack two prefixes dark:hover:

Used both in my portfolio - lucidpolygon.github.io/thaha/

Collapse
 
nickytonline profile image
Nick Taylor

That's awesome! 🔥

Yes, that's awesome!

Some comments have been hidden by the post's author - find out more