Posts
Why 0.1 plus 0.2 is not 0.3?
What could be the answer to the 0.1 + 0.2? Is it 0.3? If Yes, then you are certainly wrong, time to go to the high school math classes. JK.
Let’s check this fact in the python shell.
Wait!
What’s happening over here?
Why am I getting this fancy number 0.30000000000000004?
The answer lies in the floating-point precision for the binary and decimal system.
Because the sole prime factor in binary (or base-2) is 2, we can only neatly write fractions using only 2 as a prime factor in the denominator.
Posts
7 Things I Love About Linux
Hey there! I hope that you all are doing great in your life. I am quite sure that you might be reading this article while on your bed or just lying on your sofa with one foot hanging and the another spreading and stretching far apart. If you are not reading this post, then curse you! Just kidding. :) So let’s get started with the reasons I love Linux
The terminal:- the terminal gives you the ultimate feeling of joy to showcase your typing skills in front of your old grandma (It seems fun until your grandma beats you in the typing test sigh).
Posts
How to create a virtual environment in python3?
What is virtual environment? A virtual environment is the environment which differs from the actual installed python and other system environments, which means that you can individually install libraries for the python programs and project in the virtual env and not disturbing the actual system environment.
How to create it? Go to the folder where you want to create an env and write python3 -m venv env it will create an folder naming env in the directory Now go to the env folder by typing cd env then locate the activate.
Posts
How to make REST API in django in less than 20 mins?
!!!! currently drafting !!!!!!!
Firstly make an virtual environment Then activate it Then install djangorestframework then make a simple project called mysite this is code area
Posts
Mathematics 3 Resources
!!!! Currently drafting !!!!
Here are some of the resources which would be usefull for solving math problems
Desmos calculator : https://www.desmos.com/calculator The classical calculator for plotting all the graphs
Symbolab’s calculator (https://www.symbolab.com/solver/laplace-calculator) this is the new post!!! Will add more !! Stay tuned and if you got any then add in the comment box
Posts
My First Post
Hello World!!! Wait!! Is it mandatory to say Hello World, every time you make a new blog,then certainly yes. Anyways let me start by saying something which probabaly no one will ever be reading on the Internet. Yes I am sure, it requires efforts to read, that’s why very few people read and write (is that so?)
Yeap it requires lots and lots of efforts that’s why not writing, lazy me.