Photo by Shreesha bhat on Unsplash

Only staying active will make you want to live a hundred years — Japanese proverb

Ikigai = happiness of always being busy

24.55 people over the age of 100 for every 100,000 inhabitants

What makes me flow

  • Coding / programming when the problem statement is well defined
  • Reading good valuable…

I tried to profile the speed of itertools vs for loop using python's `timeit` module.

https://gist.github.com/ChaiBapchya/252f3ba9340006659b830bac06c961ef#file-itertools_vs_for-py

The results were disappointing.

```

$ python3 itertools_vs_for.py

------------For loop timeit-------------

65.127538488

------------itertool timeit-------------

99.43747415499999

```

Note - timeit function runs it for default 1000000 times.

https://docs.python.org/3/library/timeit.html#timeit.timeit

Can dreams be lived, relived, stored or shared?

🕐 Year 2045. 📍Location: The Venetian, Las Vegas. We, me and my extended family, are celebrating my 50th birthday anniversary in an unusual fashion: gambling. My granny just doubled the one grand that she put on red [in Roulette]. We aren’t really…

Getty Images

A primer on Electric Vehicles

Ever since I boarded the EV train by showing irrational exuberance and buying $TSLA, I’ve started digging up on this sector. Here’s what I think most people should know about EVs — this includes a few basic concepts and brands to familiarize yourself.

Types of Electric Vehicles

Shared libraries or “shared object” files are one of the commonly used file formats when it comes to packaging compiled code.

Take the instance of NCCL, Nvidia Collective Communication Library:

$ ls /usr/local/cuda/lib/
libnccl.so libnccl.so.2 libnccl.so.2.7.8

You must’ve encountered these 3 seemingly same packages after you install nccl on your machine.

Further you could see the linking as:

$ ls -l /usr/local/cuda/lib/
total 37768
lrwxrwxrwx 1 root root 12 Jun 25 2020 libnccl.so -> libnccl.so.2
lrwxrwxrwx 1 root root 16 Dec 21 16:07 libnccl.so.2 -> libnccl.so.2.7.8
-rwxr-xr-x 1 root root 16025952 Dec 21 16:02 libnccl.so.2.7.8

Ultimately, we have 2 symbolic links to an actual file.

  • Realname libnccl.so.2.7.8
  • Fully qualified soname libnccl.so.2
  • Linker name libnccl.so

Realname is the file name containing the actual source code

Realname consists of 3 parts:

soname + period + minor number + period + release number

Chaitanya Prakash Bapat

Music, Sports and Data. Engineer @ Facebook | Apache committer @ Apache MXNet | Ex- Amazon | GaTech

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store