Software Engineering— Best of this week — 8 Oct 2022

Vikas Yadav
3 min readOct 8, 2022

Here’s a compilation of all the articles that I have posted this week. I compile the best of the best things that I come across and share them in my LinkedIn posts.

This week we covered:

  1. Don’t use print statements in python — use logging library instead!
  2. Compilation of useful Linux Shortcuts
  3. Blog on how LinkedIn improved their search experience
  4. Crowdsourced list of free tier SaaS and PaaS products

I write about the tools and tips related to Software Development and SRE regularly on my Linkedin profile. You can check out my profile here: https://www.linkedin.com/in/vikasyadav94/

Don’t use print statements in python — Use logger instead

Do you use print statements in your #python code to debug things? Please don’t! Use logger instead. Spend a few mins reading up on the best practices related to logging in python and save hours of time in all your future projects.

Here’s a very nice blog that explains all the core concepts related to logging in python https://lnkd.in/eYkv_J2G

Here’s a comprehensive YAML based configuration for logging which you can tune for your needs: https://lnkd.in/eYAC5aFp

If you’re using a Django project — you can refer to this configuration for improving your logging: https://lnkd.in/ezr8TEdb

I hope you start using the logging library more after reading this post.

#python #logging #sre #devops

Linux Shortcuts

Use these shortcuts and save time every day!

If you’re a Linux user then I promise this will save many minutes for you every day. Save this and try using these shortcuts every day.

These shortcuts work on Mac too on iTerm. If you’re switching from Linux to Mac then I highly recommend swapping the Fn and Ctrl keys.

Ctrl + R is my favorite. What about yours?

#linux #cheatsheet #shortcuts

How LinkedIn improved its search experience

Life of a search query at LinkedIn begins in a search bar that interacts with a frontend presentation layer that fetches the search results from a mid-tier service and decorates them for the best member experience!

Here’s a wonderful blog on how LinkedIn improved its “post search” experience. The blog walks you through how LinkedIn simplified a complex architecture and improved the relevance of its search results.

https://lnkd.in/e6DGEdk2

#architecture #linkedin

Crowdsourced List of Free Tier SaaS and PaaS products

In today’s world, there are massive amounts of companies offering free tiers for their products. Here’s a goldmine of all such services which help you make an informed decision.

https://lnkd.in/eGjWSUhW

Starting from always free virtual machines — to various PaaS offerings — this repo has it all. So go ahead and find out what’s available for free and make the most out of them. Also, contribute to the repo if possible.

The screenshot below contains a few of the categories — but there’s much more. Share this post if you find it useful and spread the word.

#github #opensource #free

--

--