Posted in Interesting, Open Source, Programming, Softwares

Virtual Machine(VM)

What is a Virtual Machine?

A Virtual Machine or a VM is a separate instance of operating system(OS) on a host physical computer in addition to host machine’s own OS, as if it were on a different computer or a guest. A host can emulate several guests, each of which can emulate different operating systems.

Host, guest and hypervisor

The computer that is running the virtual machine is called the host whereas the program that controls virtual machines is called a hypervisor. Virtual machines can be created through software known as virtualization software. Some of the popularly used virtualization softwares are Virtualbox and VMware.

What VMs offer its users?

A VM can be easily created, modified and destroyed. We can also create and delete snapshot on a VM. A snapshot preserves the state and data of a virtual machine at a specific point in time. VM provides the flexibility to create and delete snapshots which takes a few minutes of time.

With the popularity of cloud services, cloud-based VMs use is in demand which can be accessed over an internet using a web browser. These VMs are created on a physical machine which is located at a different geographical location, which can be accessed remotely and shared by multiple users(not in parallel though) in a larger organization to make the process more agile.

Posted in Interesting

Which generation are you?

Generation is a group of individuals experiencing the same significant events for a certain time period. When we talk about ancestors, there a hierarchy. The individual, father, grandfather, great-grandfather and so on, perhaps till the cave man, pre-historic man 😉 It is interesting to see that these generations actually are categorized and named accordingly. Let us find out, which generation do you, your ancestors and descendants belong ?

  • Lost Generation also known as the Generation of 1914  are the people born from 1883 to 1900, who fought World War I.
  • Greatest Generation are the people are the people born from 1901 to 1927, who fought World War II and experienced Great Depression
  • Silent Generation also known as the Traditionalists are the people born from 1928 to 1945, who came of age in the post-World War II era. They are also known as Lucky few.
  • Baby Boomers also known as the Me Generation are the people born from 1946 to 1964, following World War II. The world saw baby boom, that is increased birth rates
  • Generation X / Gen X are the people born from 1965 to 1980. In the U.S., some refer Xers the “baby bust” generation because of a drop in birth rates following the baby boom.
  • Generation Y / Gen Y / Echo Boomers / Millennials are the people born from 1981 to 1996. They are termed as Millennials because the oldest became adults around the turn of the third millennium A.D. Echo boomers as they are offspring’s of baby boomers. This generation is generally increased usage and familiarity with the Internet, mobile devices, and social media. So they are sometimes called as digital natives.
  • Generation Z / Gen Z / iGen / Zoomers / Centennials are the people born from 1997 and 2012. They are termed as Centennials because they were born around the turn of the century. This generation is seen to make prefers buying and chatting online with elevated use and accessibility of the Internet.
  • Generation Alpha / Gen Alpha are the people born in early 2010s as starting birth years and the mid-2020s as ending birth years. It  is the first to be born entirely in the 21st century.  It is named after the first letter in the Greek alphabet, Alpha.
Posted in Interesting, Poetics

Worst Day Ever

This poem is composed by Chanie Gorkin, is no ordinary poem. Read it, to know it 😉 🙂

Today was the absolute worst day ever
And don’t try to convince me that
There’s something good in every day
Because, when you take a closer look,
This world is a pretty evil place.
Even if
Some goodness does shine through once in a while
Satisfaction and happiness don’t last.
And it’s not true that
It’s all in the mind and heart
Because
True happiness can be attained
Only if one’s surroundings are good
It’s not true that good exists
I’m sure you can agree that
The reality
Creates
My attitude
It’s all beyond my control
And you’ll never in a million years hear me say
Today was a very good day

Now read it from bottom to top, the other way,
And see what I really feel about my day
🙂

Posted in Interesting, Open Source, Programming, Softwares

USB : Universal Serial Bus

One colleague at workplace had bought a brand new phone and forgotten his Type C charger at home and was asking for people around. If he was provided with one, he constantly checked the pin end to confirm the Type C. So, this is the latest USB in and around with the mobile devices we get to see. So, lets understand the USB and its evolution.

What was used before USB?

In the pre-USB era, communication between devices was done using communications ports namely parallel ports, serial ports, gaming ports etc.

What is a USB?

The USB stands for Universal Serial Bus is a standard connector used to connect peripherals to computer. Its is the most commonly used port and as the name says its quiet Universal. Its used to connect devices such as mice, cameras, printers, scanners, external hard drives, flash drives and even can do networking and also its used to charge devices such as mobile phones.

The 1st USB version was released in 1996 with release of USB 1.0. The versions are based on the speed of data transfer were

  • USB 1.0 which had a speed of 1.5 Megabits/sec.
  • USB 1.1 with a speed of 12 Megabits/sec,
  • USB 2.0 with a speed of 480 Megabits/sec
  • USB 3.0 with a speed of 5 Gigabits/sec
  • USB 3.1 with a speed of 10 Gigabits/sec
  • USB 3.2 with a speed of 20 Gigabits/sec
  • USB 4.0 with a speed of 40 Gigabits/sec
Image credits: newnex.com

In addition to different speeds of USB there were different types of USB cables, connectors and ports it uses.

A typical USB cable has two ends with two different connectors, Type A at one end and Type B or Type C at the other end of the cable. Type A connector is the host connector. This can be plugged into computers Type A USB port

USB comes in various shapes and sizes: Standard, Mini, Micro. Each of these have types which are developed with the USB standards defined above.

  • Type A : is the original design for the USB standard with a flat and rectangular shape. Mostly used in host devices, including desktop computers, laptops, game, media players and so on.
  • Type B : plugs into peripheral device such as a printer, a phone, or an external hard drive. 
  • Type C : is a USB with a rectangular shape with rounded corners. It supports USB 3.1 with the top speed of 10Gbps and has much higher power output of up to 20V and 5A.
Posted in Interesting, Poetics

Do Not Love Half…

Do not love half lovers
Do not entertain half friends
Do not indulge in works of the half talented
Do not live half a life and do not die a half death

If you choose silence, then be silent
When you speak, do so until you are finished
Do not silence yourself to say something
And do not speak to be silent

If you accept, then express it bluntly
Do not mask it
If you refuse then be clear about it
for an ambiguous refusal
is but a weak acceptance

Do not accept half a solution
Do not believe half truths
Do not dream half a dream
Do not fantasize about half hopes

Half a drink will not quench your thirst
Half a meal will not satiate your hunger
Half the way will get you no where
Half an idea will bear you no results

Your other half is not the one you love
It is you in another time yet in the same space
It is you when you are not

Half a life is a life you didn’t live,
A word you have not said
A smile you postponed
A love you have not had
A friendship you
did not know

To reach and not arrive
Work and not work
Attend only to be absent
What makes you a stranger to them closest to you
and they strangers to you

The half is a mere moment of inability
but you are able for you are not half a being

You are a whole that exists
to live a life not half a life

Gibran Khalil Gibran

Posted in Interesting, Poetics, Softwares

कधीतरी वेडयागत वागायला हवे

कधीतरी वेडयागत वागायला हवे
उगाचच रात्रभर जागायला हवे
सुखासीन जगण्याची झाली जळमटे
जगणेच सारे पुरे झाडायला हवे…..कधीतरी वेडयागत वागायला हवे ॥१॥

गारठयात फेकुनिया शाल, कानटोपी
कधीतरी थंडीला वाजायला हवे
छोटे मोठे दिवे फुंकरीने मालवुन
कधीतरी सुर्यावर जळायला हवे…..कधीतरी वेडयागत वागायला हवे ॥२॥

भांडयावर भांडे कधी भिडायला हवे
उगाचच सखीवर चिडायला हवे
मुखातून तिच्यावर पाखडत आग
एकीकडे प्रेमगीत लिहायला हवे…..कधीतरी वेडयागत वागायला हवे ॥३॥

विळीपरी कधी एक चंद्र कोर घ्यावी
हिरवीशी स्वप्ने धारे धारेने चिरावी
कोर कोर चंद्र चंद्र हरता हरता
मनातून पुर्णबिंब तगायला हवे…..कधीतरी वेडयागत वागायला हवे ॥४॥

कधी राति लावुनिया नयनांचे दिवे
पुस्तकाला काहीतरी वाचायला द्यावे
शोधुनिया प्राणातले दुमडले पान
मग त्याने आपल्याला चाळायला हवे…..कधीतरी वेडयागत वागायला हवे ॥५॥

स्वतःला विकून काय घेशील विकत?
खरी खरी सुखे राजा मिळती फुकट
हापापून बाजारत मागशील किती?
स्वतःतच नवे काही शोधायला हवे…..कधीतरी वेडयागत वागायला हवे ॥६॥

तेच तेच पाणी आणि तिच तिच हवा
आणि तुला बदलही कशासाठी हवा?
जुनेच अजून आहे रियाजावाचून
गिळलेले आधी सारे पचायला हवे…..कधीतरी वेडयागत वागायला हवे ॥७॥

नको बघू पाठीमागे येईल कलून
कितीतरी करायचे गेले राहून
नको करू त्रागा असा उद्याच्या दारात
स्वतःलाही कधी माफ करायला हवे…..कधीतरी वेडयागत वागायला हवे ॥८॥

-संदीप खरे

Posted in Interesting, Open Source, Programming, Softwares, Web Tech

JSON : JavaScript Object Notation

What is JSON?

JSON is a standard format for storing and exchanging data. This format is easy to understand and write. JSON is text, and we can convert any JavaScript object into JSON and vice versa. JSON format is language-independent. The JSON files can be named with extension .json.

JSON Syntax

A JSON object is enclosed inside curly brackets. Data is represented as key-value pairs separated by commas. Object data is represented inside curly brackets. Array data is represented inside square brackets.

eg. {“name” : “Nancy”, “age”: 50, “gender”: “female”}

JSON data types

Out of key-value pair, key can be string, number, or identifier names. The value can be of data types such as

  • string
  • number
  • object (JSON object)
  • array
  • boolean
  • null
Posted in Interesting, Programming, Softwares, Web Tech

Because…”this” is not that

Yes! You read it right. This is not that in Javascript and otherwise.

The this keyword in javascript can be confusing for a naive JS learner. Its behaviour varies depending on the execution context. In general, this refers to the object under current execution.

  • this, when used alone refers to a global object.
var a = this;
console.log(x);

A browser window

  • this, when used in an object method, refers to owner of the object method.
var car = {
 model: BMW,
 colour: black,
 details: function(){
    return this.model + " " + this.colour;
 }
};

this refers to the car object. The car object is owner of its properties and methods.

console.log(car.details());
BMW black
  • this, when used in a function refers to a global object
function testFunction() {
  return this;
}

returns the global object [object Window]. However, in strict mode, the above testFuntion returns undefined

  • this, when used in event handling

refers to the html DOM element on which the event listener is placed

Click here!

alerts with button tag name.

Posted in Interesting, Poetics

आकाशी झेप घे रे पाखरा…

आकाशी झेप घे रे पाखरा, आकाशी झेप घे रे पाखरा
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा||१||

तुजभवती वैभव माया, फळ रसाळ मिळते खाया
सुखलोलुप झाली काया, हा कुठवर वेड्या घेसी आसरा?
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा ||२||

घर कसले ही तर कारा, विष समान मोती चारा
मोहाचे बंधन द्वारा, तुज आडवितो हा कैसा उंबरा?
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा

तुज पंख दिले देवाने, कर विहार सामर्थ्याने
दरी, डोंगर, हिरवी राने जा ओलांडुनिया सरिता सागरा
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा ||३||

कष्टाविण फळ ना मिळते, तुज कळते परि ना वळते
हृदयात व्यथा ही जळते, का जीव बिचारा होई बावरा?
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा

घामातून मोती फुलले, श्रमदेव घरी अवतरले
घर प्रसन्नतेने नटले, हा योग जीवनी आला साजिरा
सोडी सोन्याचा पिंजरा, सोडी सोन्याचा पिंजरा ||४||

गीतकार : जगदीश खेबुडकर

Posted in Interesting

कराग्रे वसते लक्ष्मिः 

कराग्रे वसते लक्ष्मिः करमध्ये सरस्वति ।
करमूले तु गोविन्दः प्रभाते करदर्शनम् ॥
Karaagre Vasate Lakssmih Karamadhye Sarasvati |
Karamuule Tu Govindah Prabhaate Karadarshanam ||

Meaning:
In the palm of my hand dwells Devi Lakshmi, goddess of good fortune and prosperity and at the middle dwells Devi Saraswati, goddess of knowledge and wisdom
At the base dwells Sri Govinda

Therefore one should look at one’s hands early morning and contemplate to seek blessings.