Pankaj’s Newsletter

Share this post

Welcome to issue #3. Updates from Pankaj.

pankajtanwar.substack.com

Welcome to issue #3. Updates from Pankaj.

"Don't wish it was easier, wish you were better."

Pankaj Tanwar
Oct 18, 2021
Share this post

Welcome to issue #3. Updates from Pankaj.

pankajtanwar.substack.com

Hey-yo friends,

I hope you have had a great week 💃. Phew, last week was quite fun. I traveled to my hometown and enjoyed yummy home-cooked food after a very long time.

Woo hoo! Let's boogie.

Updates.

  • So far, I have achieved a streak of 30 days in my coding diary. And I don't have words to explain, how exciting & addicting it is. I solved some really good problems, asked in Google, Facebook. In case you are interested, it's here

  • I started a new series "JavaScript one-liners" where I share, one JavaScript one-liner every day.

Twitter avatar for @the2ndfloorguy
Pankaj Tanwar @the2ndfloorguy
JavaScript one-liner #1 Remove all null or empty values from an array. const result = myArray.filter(Boolean); #javascript #jsoneliner
Image
8:24 AM ∙ Oct 15, 2021
4Likes1Retweet
Twitter avatar for @the2ndfloorguy
Pankaj Tanwar @the2ndfloorguy
JavaScript One-liner #2 Generate Random String const randomId = Math.random().toString(36).slice(2); console.log(randomId) // any random string Homework: can it be used as a unique id? What is the possibility of the collision?
Image
1:31 PM ∙ Oct 16, 2021
Twitter avatar for @the2ndfloorguy
Pankaj Tanwar @the2ndfloorguy
JavaScript One-liner #3 Extract query params from URL const params = new URLSearchParams(window.location.search); #javascript
Image
3:18 PM ∙ Oct 17, 2021
1Like1Retweet

  • I am sorry, I promised to revamp some of the pages of my website but couldn't. I had a long week & traveled to my home town to celebrate Dussehra. Trust me, you will be surprised to see the updates, next week!

Articles I've enjoyed. 📝

  • Scaling indexing and search - Algolia New Search Architecture Part 2

  • I keep making things out of checkboxes

  • How MDN’s autocomplete search works

  • How to Learn Anything with the Feynman Technique

Quote of the week

“Live as if you were to die tomorrow. Learn as if you were to live forever."

-Mahatma Gandhi

Quick question guys, going forward, how about sending one interview question of the week in this newsletter? Please let me know. I am on twitter.


That's all for now, folks! Have a great week. Be safe & happy, and stretch your arms and neck regularly. Do it now!

Share this post

Welcome to issue #3. Updates from Pankaj.

pankajtanwar.substack.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Pankaj Tanwar
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing