Posts

Showing posts from March, 2021

Goldilock Zone: The Great Equilibrium

Not only Earth but sun is also at the Goldilock zone. Because of Goldilock zone is responsible for the life on planet Earth. What is Goldilock zone? Goldilock zone is place or point in solar system where the planet is not too close of its star and not too far from its star. If a plant is too close of its star the radiation become higher and of the radiation the temperature of the planet will be high and life is not possible in such condition. If a plant is too far from its star the radiation is less but the incoming rays from the star is low. In such case the planet's temperature is too low and the planet is completely freez and covered by snow. In such case also the life is not possible at the planet. Same case is with Star and it's solar system. Every galaxy has a black hole in its centre and all the star are revolving around the block hole like planet's revolving around its star. If a star is too close to the black hole then the radiation become too high and in such case...

Java : The platform independent

Java is a high level object oriented platform independent programming language. What high level mean?  High level mean you don't need to care about what going on inside your after executing your code. You don't need to know How your source code converted into machine code and what processor will do with your source code  All you need to know just the syntax an feature of java programming language. What object oriented mean? Object oriented programming is a paradigm in which you can define almost real life objects in your code it helps you to reduce the lines of your source code. I will explain you object oriented programming in my future blog. What platform independent mean?  Platform independent mean you the code writen in java can be run on any operating system  For example you write your code in java on windows operating system. These same source code can also be run on Linux and Mac OS as well. Whereas for platform independent programming language like c/c++ You ...

Django: Task manager app

Image
Task Manager Web application using Django Framework About Project TaskMannager a web-based application that can add store your task in an unordered list. You are going to use the basic features of the Django framework to build this web application. Prerequisite Python. Object-Oriented Programing (eg. Classes) Command Line Interface (CLI). Markup language. 1. Installing the Dependencies Python Code Editor. (any of your choice) Vscode . Sublime Text . Atom . Django framework for building dynamic web applications. You can use "pip" the python package manager to install Django using the command line interface easily. To install Django you can Type in Your CLI. pip install Django 2. Create a project on Django To do this you can run a command in your CLI with project "name" django-admin startproject task Note: "task" is the name of the project. (You can give any name of your choice) Now Type  ls  in CLI you will see "task" directory or folder has been ...

Photon: The particle in your eye

Photon is the particle of light. The particle responsible for the colour which we can see from our eye. A Photon is 1 Million years old. Because it takes 1 Million years from sun's core to the sun's surface. How Photons are formed? Photons are formed after the collision of two protons. Usually two protons never come close together because of their identical charges but in the core of sun the gravity is so high enough to collide two protons and the result of that collision Photon forms  in the core of sun. Why this newly formed Photon takes so much time to come at the surface of the sun from the core of the sun  Because of sun's three zones which are  1) Radiation zone 2) Convection zone 3) Conduction zone In Radiation zone of sun when the newly formed Photon enter it actually collide with another Photon and these two photons loses their energy and now these photons need to gain energy again and this whole process happen so many times and that is why Photon takes so much t...