Skip to content

Welcome to Tech by Example

Menu
  • Home
  • Posts
  • System Design Questions
Menu

Posts

Jupyter notebook “Schema Not Found” 404 error

Posted on October 12, 2024October 12, 2024 by admin

Overview If you have installed Python via homebrew then you might get below error on running below jupyter notebook command Error will be Solution The first is to export the following: The…

Check all groups that current logged in user belong to on Linux

Posted on December 10, 2023December 10, 2023 by admin

groups command on linux can be used to know which all groups a user belongs to Just type in groups on the terminal. Below is the output on my Mac machine Note:…

Ruby convert string to bool

Posted on August 24, 2023August 24, 2023 by admin

Overview In the Ruby language, strings “true” and “false” are interpreted as true when used in the if condition. See example below Output “false” evaluates to true Therefore it becomes important to…

Know the current user on Linux

Posted on August 9, 2023August 9, 2023 by admin

Overview Linux command ‘whoami’ can be used to know the currently logged-in user. Let’s see this command in action. Go to the terminal and type in the command It will print the…

How to find what /bin/sh points to on your machine

Posted on May 29, 2023May 29, 2023 by admin

Overview /bin/sh could be either a symbolic or hard link to what it points to. /bin/sh could point to If /bin/sh is a symbolic link If /bin/sh is a symbolic link then…

Abort or exit a shell script if any command fails

Posted on May 27, 2023May 27, 2023 by admin

Overview If you want your shell script or shell file to exit in case any command in the shell file returns a non-zero value then you can use set -e at the…

What does the set -e command do

Posted on May 26, 2023May 26, 2023 by admin

Overview If you want your shell script or shell file to exit in case any command in the shell file returns a non-zero value then you can use set -e at the…

What is Virtual IP

Posted on May 11, 2023May 11, 2023 by admin

Overview In distributed systems at the end level, a server or machine and a NIC (Network Interface Card) have a defined physical IP address. A physical IP address is an address that…

Point to Point (P2P) vs Pub/Sub in Distributed Message Queue

Posted on May 2, 2023May 2, 2023 by admin

Overview Distributed Message Queue has two models To understand the difference we have to understand a few terms first Let’s see the difference between the two Point to Point In the Point…

LFU Cache Design and Implementation

Posted on March 6, 2023March 6, 2023 by admin

Overview LFU stands for Least Frequently Used. In the LFU cache, the least frequently used object is removed whenever there is a new entry that needs to be inserted and the cache…

Posts pagination

1 2 … 16 Next
©2025 Welcome to Tech by Example | Design: Newspaperly WordPress Theme