My Infy Experience

Hi to all my lovely readers,

So here I am sharing my experience through writing after a long time. I have been thinking about writing a blog post from few months. But one thing lead to another and I couldn’t.

I am going to share about my Infy ( Infosys) journey.

CHAPTER-1

1st june, 2018 my last day of exam. I was really confused at that point of time as I was done with the interviews and was thinking about giving more or preparing for some exams until I get my joining date from Infosys. Then, BOOM!

The moment I gave my exam, I got an email stating that I have to join the company from 2nd of July. So, the journey starts from there. I started packing my stuff as I have to go to Mysore for my training first. (This was going to be the first time that I have been going far from my home for that long period.)

I was bit excited but nervous too. Then I met some of my class fellows who were also heading towards the same journey.

Finally I landed in Mysore campus (dot at 1st july 8:00 AM). I was super excited to be a part of my first company and  the starting point of my IT career.

I made many  friends there throughout who have made this journey even more memorable. The moment I entered the campus, I got awestruck by seeing the beauty of the campus. My god, it is way beyond I can express through words. (Starting from GEC to ECC, Multiplex, Floating restaurant, Food courts, Weather and what not.)

CHAPTER-2

3rd July, My first Induction day. We all were a batch of around 600 peeps and were gathered in multiplex. We get to know about the company a little more throughout our 3 days induction session.

Finally the day arrived when we all were divided among 90-100 students groups and were allocated a class and a system where we need to attend out  Generic training classes. It was Global Education Centre (GEC), truly if it wasn’t a centre for educating us, I would have definitely considered it as palace.

I got trained under Python and MySQL there. I have also attended and gave assessments on Software Engineering, L&D.

I really worked hard under this as I wanted to be sound under basic programming. Later on,  after completing my training (PART-1), this was the time when we all will be getting distributed in different streams. There were many like JAVA, IMS, Testing (IVS), Dot Net, SAP etc.

They follow a random procedure for allocation purpose (say it for streams or for location after training)

I was just hoping to not get IVS or IMS as I was demotivated by reading about these streams on quora and by my other fellow mates. But oh my goodness! I got IMS-Linux :p

For first 2 days I was in a Devdas mode totally :p :/

But later on I motivated myself to get the best out of whatever is offered to me. Moreover, this stream is about Unix & Linux  and I was working on the same OS from my college days. I really like Linux more than Windows (that’s why most of my blogs are related to Linux only :p )

So, I started enjoying whatever was coming my way. 

I learnt about basic Unix/Linux commands there, little bit about Ansible, PFSense, Windows Powershell etc.

CHAPTER-3

Slowly I realized that I was heading towards the end of my training journey. I have seen a lot of places in Mysore which everyone coming to this place must visit.

Starting with Mysore Palace, Zoo, Karanji Lake, Bird Sanctuary, BR hills, Shivanasamudra falls  but even missed a lot like Sand & Wax museum, Chamundi Hills, Vrindavan Garden.

Then I planned a trip to Ooty & Coonoor with my friends. It was worth going and the weather there was amazing.

Now that I was done with my training part, I have to wait to get allocated to one of the DC’S (Development Centre). I have given Chandigarh, Mohali and Pune as my preferences.

But was so sure about not getting Chandigarh as everyone was saying that there is -1% chance of getting this location in this stream. But Lucky me! I got Chandigarh.

I still remember my reaction to it. I just screamed in the class. (Oh Shit!)

But I did that 😀

I was so happy that I got my first preferred location that was really near to my hometown. Plus some of my friends also got the same. ( That was like: Sone pe Suhaga 🙂 )

CHAPTER-4

Now I have to say good bye to this beautiful place where I really learned a lot. I will really miss the late night chit chats here, this beautiful campus, Weekend movies in the multiplex, G-68 and L1-67 class :D, masala dosa (with not much masala :p), a mixed reaction for the food courts (Fiesta, Enroute, Oasis, Magna)

Gosh! there is so much about this place which I can’t explain through writing.

It’s all about witnessing the experience and living a whole new life there 🙂

CHAPTER-5

12th Nov, My reporting date at Chandigarh campus. Its a beautiful campus, but mysore was something extra ordinary. Time passes by, starting from checking the campus, enjoying a one week free stay at ECC, and then getting a project within a week only.

CHAPTER-6

After an year from that, I left Infosys for pursuing higher studies. But I left with knowledge, memories and one of the best experiences of my life.

PS: I was actually having this blog in my drafts from 2 years and forgot to publish. Today I was just going to write a blog and found it. This post is all about my personal experience 🙂 

 

 

 

 

 

 

 

Bubble Sort

Hi everyone, I am going to start a blog series from today where I will be revising some concepts which are important for any entry-level IT interview. The first series is starting with different sorting techniques. In this blog, Bubble sort is discussed and will revise sorting first for a few days by picking one concept on a daily basis.

Bubble Sort: Bubble Sort is the simplest sorting algorithm that works by repeatedly swapping the adjacent elements if they are in the wrong order.

Example: Sort series in ascending order
First Pass:
5 1 4 2 8 ) –> ( 1 5 4 2 8 ), Here, the algorithm compares the first two elements and swaps since 5 > 1.
( 1 5 4 2 8 ) –>  ( 1 4 5 2 8 ), Swap since 5 > 4
( 1 4 5 2 8 ) –>  ( 1 4 2 5 8 ), Swap since 5 > 2
( 1 4 2 5 8 ) –> ( 1 4 2 5 8 ), Now, since these elements are already in order (8 > 5), algorithm does not swap them.

Second Pass:
1 4 2 5 8 ) –> ( 1 4 2 5 8 )
( 1 4 2 5 8 ) –> ( 1 2 4 5 8 ), Swap since 4 > 2
( 1 2 4 5 8 ) –> ( 1 2 4 5 8 )
( 1 2 4 5 8 ) –>  ( 1 2 4 5 8 )
Now, the array is already sorted, but our algorithm does not know if it is completed. The algorithm needs one whole pass without any swap to know it is sorted.

Third Pass:
1 2 4 5 8 ) –> ( 1 2 4 5 8 )
( 1 2 4 5 8 ) –> ( 1 2 4 5 8 )
( 1 2 4 5 8 ) –> ( 1 2 4 5 8 )
( 1 2 4 5 8 ) –> ( 1 2 4 5 8 )

The number of passes is decided by the no. of elements in the array/list. Example:

size of list=5, so n=5

No. of passes= n-1 =5-1=4

Now, let’s see a program that I wrote in Python to get a better understanding at this:

list1=[10000,4000,0,900,10]
passes=len(list1)-1  // len() func to find size of list
while(passes!=0):
        for i in range(0,len(list1)-1):
              if(list1[i]>list1[i+1]):
                   temp=list1[i]
                   list1[i]=list1[i+1]
                   list1[i+1]=temp
        passes=passes-1
print(list1)

OUTPUT: [0, 10, 900, 4000, 10000]

Reference for definition: https://www.geeksforgeeks.org/bubble-sort/

P.S: Keep Learning 🙂

Django

Hi everyone,

I have recently started learning Django, which is a framework of Python. I have always wanted to use frameworks as I have heard that they could make things pretty easy for developers and now I’ll surely agree to that.

I have started learning Python and coding in same back in 2018 when I got a chance to have my training with Infosys. Then I started writing small programs in python using Competitive platforms. Finally used it in my Data Science course.There I realised, I should get going with one of its frameworks. But before starting any project, it’s a good practice to create a virtual environment and perform your work in that. It makes your OS on a whole less vulnerable.

sudo apt-get install python3.4-venv

“Again! My forever friend-ERROR appeared”

Error:

python3 -m venv myvenv
The virtual environment was not created successfully because ensurepip is not
available. On Debian/Ubuntu systems, you need to install the python3-venv
package using the following command.

apt-get install python3-venv

You may need to use sudo with that command. After installing the python3-venv
package, recreate your virtual environment.

deepti@deepti-HP-Notebook:~/Documents/djangogirls$ sudo apt-get install python3-venv
[sudo] password for deepti:
Reading package lists… Done
Building dependency tree
Reading state information… Done

Django:

So, I took some courses from Linkedin Learning and then created some of the projects to get a better understanding of Django. Below are some main files associated with it:

manage.py is a script that helps with management of the site. With it we will be able (amongst other things) to start a web server on our computer without installing anything else.

The settings.py file contains the configuration of your website.

Remember when we talked about a mail carrier checking where to deliver a letter? urls.py file contains a list of patterns used by urlresolver.

I am sharing the link of my Github repository where I have shared these projects. Soon another project related to Ecommerce will be uploaded: https://github.com/dsdeeptisharma/Django-Projects

Thanks for reading and keep learning 🙂

Magic of Word Power

Hi all,

Below is the list of all the new words I learned from Word Power Made Easy book. I have used the Wordweb dictionary app for this. You can use any app for a better understanding of each and every word if you are also planning to go through this book.

  1. Etymological – knowing about the history of something                                               Sentence: It’s always better to use an etymological approach for learning new words.
  2. Muse – Think deeply about a topic over period of time                                          Sentence: We all need to observe as well as muse to get successful in life
  3. Anthropos – Related to mankind                                                                              Sentence: Anthropology is the study of relationships of human beings.
  4. Latent – Not presently active                                                                                       Sentence: My facebook account is latent.

And so on …

But we all can get these words from one or another source. What I really liked about this book was its way of explaining the meaning of a word by its origin. So, here I am going to mention few Latin, French, or greek words with their meaning that are used in making English words.

  • ego (I, self)
  • alter (other)
  • Anthropos (mankind)
  • mania (obsession)
  • ambi (both)
  • dexter (right hand)
  • sinister (left hand, in English it means threatning) or in french: “gauche” (awkward)
  • gamos (marriage)
  • misein (hate)
  • gamy (marriage)
  • Andros (male)
  • ascetic (monk)
  • logy (science)
  • suffix “ician” (expert)
  • paidos (child)
  • iatreia (medical heeling)
  • agogos (leading)
  • derma (skin)
  • hypos (under)
  • ophthalmos or ocular (eye)
  • orthos (straight)
  • algos (pain)
  • geras (old age)
  • osis (abnormal)
  • itis (inflammation i.e firing)

and so on…….   The list keeps going and growing…

Trust me on this, Word Power has got the power to bring a massive change in you only if use this power towards your betterment.

Keep Learning and growing 🙂

 

 

 

 

 

 

 

 

Introduction to Fuzzy logic, Fuzzy & Crisp sets

                            Introduction to Fuzzy Logic, Fuzzy and Crisp Sets

                                                               Fuzzy Logic

Fuzzy Logic deals with the degree of truth instead of giving exact true or false as the answer.

For better understanding in simple language, let’s discuss an example here.

There is a pear and there are two sets:

  • Set of pears
  • Set of pear cores

Now, take a bite of the pear. It will still belong to the set of pears, Right?

Just keep taking the bites and you will reach a point when just a single bite will be left, and after that, the pear will get into the set of pear cores.

Now, the area between both the sets is not clearly defined since the object can not belong to both sets. Now, consider these two sets as fuzzy sets.

                                                Fuzzy Logic Concept

Fuzzy sets provide a degree of membership to each of its member. Take ‘1’ as belonging to the set and ‘0’ as outside the set and object belonging partially to the set will have a degree between 0 to 1.

Hence, when one will take the first bite of pear, then it’s degree of membership will get changed from 1 to 0.9 and furthermore, after another bite it gets converted in 0.8 and then 0.7 and so on up to that 0.1, after which it will no longer belong to the set of pears and will get into the set of pear cores.

The number (from 0 to 1) which is assigned to the object is called the degree of membership.

                                                                       Fuzzy Sets

 In terms of Mathematics, a set is basically a collection of items.

Let’s take an example here:

As the age for giving vote is 18 years, so we have to figure out the people who are eligible for voting and who will be eligible to vote next year for 2019 elections.

For this, the people aged equal or more than 18 will pass the criteria, but people below 18 will not be considered. Even the one with 17 years of age will be marked as ineligible, even though he will be 18 till the next year (coming elections time)

sc

Hence, the fuzzy set comes into play.

It will give a degree of membership as 0.8 to people aged 16 and 0.9 to the people aged 17 years, so that we will get to know that they will be eligible for polling next year.

fuzzy

                                                                Crisp Sets

 Crisp sets are just like binary sets. It deals with true and false or 0 and 1.

I gives output direct as in or out, there is no in between.

Let’s discuss an example of a race here, according to crisp logic, a threshold will be decided, sat 0.5 and above this person will be considered as fast and below this, slow.

But in fuzzy sets, intermediate values can be discussed as fast, very fast, slow, medium.

 

                                                       Crisp Set VS Fuzzy Set           

 

        

         CRISP SET

           

         FUZZY SET

1. Crisp set deals with binary logic. Fuzzy sets can have intermediate values.
2. Values here will be exact like 0 or 1 (True or False) Values can lie between the interval of 0 and 1, like 0.4,0.6 etc.
3. It deals with boundary values, i.e certain answers. It’s having a concept of “degree of membership” and thus can deal with uncertain answers.
4. Example:  In a Race: A person can be marked as fast or slow. Example: Similarly in a Race: Marking can be done on the basis of Slow, Medium, Fast and Very Fast.

                          

 

Love or Lust?

Let’s speak on this topic, there is no need to hide and why/what are we hiding?

We all know that there are numerous cases nowadays in which a girl/boy is committing suicide or goes into drinking and other stuff which is making their lives totally vague. What’s the reason? Just being ditched, or a broken heart or can be many other things.

Why were you into that kind of relationship which is just a relation-“shit”. It will just make you negative. Life is having way more things instead of crying over petty things. You need to be selfish sometimes and that’s not bad (trust me) unless it’s breaking someone, find the difference between the genuine ones and others.

Later on, you will realize that everything happened for a reason. If it’s not a gift then it’s a lesson ..

What is love?

  • Love is what a MOTHER do for her CHILD :’)
  • Love is what your father has done throughout just to fulfill your every basic need 🙂
  • Love is that sweet and spicy bond we share with our siblings 😉
  • Love is being yourself with your loved ones instead of pretending to be on no. 1 on his/her list.
  • Love is being a reason behind someone’s smile… (Try doing something for an orphan once, that feeling of happiness is beyond perfect)
  • Love is doing your favorite work and getting awesome blossom results after struggling

Basically, love can’t be explained within few words, sentences or paragraph. It’s a feeling (A pure connection) which is a beautiful phase of life.

And if it’s not the reason behind your happy ending, then it’s not Love. Maybe it’s a fraud, wrong no. (As PK says :p)

So, just don’t go nuts because of any stupid reason. Think about your family and loved ones. You are really important to them and so is your happiness.

They just want to see you smile… Dude! What’s the use of those 32 white teeth (instead of eating :p ) if you are not showing them because of some temporary silly reasons…

So, just eat and say cheese… SMILE 😉

Grow up, guys..  Life is a beautiful gift given by God to each one of us. Make it count. Indulge yourself in the area of your interest and make that lesson a reason behind your will to do something. Get motivated DAILY and you will surely rock one day 🙂

Surround yourself with positive minded people, who understands you and whom you feel comfortable with. There is no need to put a mask on your face to impress someone. Your simplicity is enough for the right person 🙂

BE YOU 🙂

P.S: Life is a Beautiful Journey ❤ 

Dynamo

Dynamo is a open source implementation of a Graph Based Visual Programming Interface that’s being advanced by Autodesk.  It’s very similar to Grasshopper (which is pretty tightly integrated with Rhino).

I have followed below link to build Dynamo on Linux:

https://github.com/DynamoDS/Dynamo/wiki/Dynamo-on-Linux,-Mac

Here, I will discuss about my struggles and fruitful solution eventually 🙂

Initially, I was having mono version 3.2.8.0

Later, I installed 5.4.1.6 but I think changing the version won’t solve any problem. Still I did it using:

<

p class=”default prettyprint prettyprinted”>apt-key adv --keyserver pgp.mit.edu --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF

echo "deb http://download.mono-project.com/repo/debian wheezy main" > /etc/apt/sources.list.d/mono-xamarin.list

apt-get update

apt-get install mono-devel

                                       ***************************************************

Now, on running:

xbuild /p:Configuration=Release src/Dynamo.Mono.sln

I faced an error:

MSBUILD: error MSBUILD0000: Project file ‘src/Dynamo.Mono.sln’ not found.

Then, I cloned the repository with x.sln file in it.

git clone  https://github.com/DynamoDS/Dynamo

You can get similar error as below mentioned if the data in Dynamo.Mono.sln file is not appropriate:

Dynamo.Mono.sln: Invalid solution configuration and platform: “Release|Any CPU”

Solution file error MSB5010: No file format header found.

Now, again on running above command, I got another error:

ShapewaysClient.cs(1,7): error CS0246: The type or namespace name ‘Newtonsoft’ could not be found (are you missing a using directive or an assembly reference?)

ShapewaysClient.cs(2,7): error CS0246: The type or namespace name ‘RestSharp’ could not be found (are you missing a using directive or an assembly reference?)  

almost 8 erros

For solving this, I tried installing NuGet Packages:

 #sudo apt install nuget

After installing Newtonsoft.Json:
 #nuget install Newtonsoft.Json

Though it didn’t solve my problem completely, but now there were 4 errors instead of 8.

I even tried installing zip file for Newtonsoft from here:  https://github.com/JamesNK/Newtonsoft.Json/releases

But nothing helped.

Also to upgrade the version of Nuget, one can use:

nuget update -self

To check the version of nuget:

nuget

Later, I tried:

mcs /reference:Newtonsoft.Json.dll /reference:RestSharp.dll ShapewaysClient.cs

to solve the error. But this was also not the one I am looking for.

Now, the working solution is:

nuget restore

After this, I compiled using mono Program.exe

I again got some errors of dependencies, it got solved after insatlling them. Still I was getting errors: https://hastebin.com/avokifahuw.pas

I have read that it’s some package issue and after few searches I get to know that:
All versions of System.Net.Http are broken on Mono because they use private API available in .NET assemblies only. To workaround that Mono has to disable loading such assemblies and use always Mono’s ones.
So, I fixed it by deleting System.Net.Http.dll from bin folder.
Now, on compiling, I was getting the result.
mono Program.exe 
2.0.0.2821

I will update the blog soon with the solution 🙂

Stay tuned 😉

 

 

 

 

लुधिआना का दीवाना :)

सुबह सवेरे दिन की शुरुआत होती है कसरत से ,

जाने को हैं जगह हज़ार, आइये बात करें इन फूलों से

आ चुके हैं रोज गार्डन जहाँ गाना बजाना सब कुछ है,

सेहत के साथ साथ यहाँ मन बहलाने को बहुत कुछ है ..


अब याद करलें उस रखवाले को जिसने दुनिया बनाई है,

इस धरती पर हम सबने उसके लिए सेज सजाई है..

हिन्दू, मुस्लिम, सिख, ईसाई सब यहां पे भाई हैं,

गोविन्द गोधाम“, “जामा मस्जिद“, “दुखनिवारण“, “हौली क्रॉस चर्चसबने मन में रौनक लगाई है ..


दिन ढला, शाम हुई.. अब घूमने की बारी आई है,

किप्पस मार्किट“, “पवेलियन मॉलने शहर की शोभा बढ़आई है ..

यंगस्टर्स को ख़ास करके ये जगह भाई है,

आईरीओ वाटर फ्रंट की लेक ने लुधिआना की खूबसूरती बढ़आई है ..


भूख लगी है, अब मन में खाने की इच्छा आई है,

नॅचुरल्सपर सब लोगो ने जमके भीड़ लगाई है

ढाबा, रेस्टोरेंट, बुफे हर जगह चर्चा में आई है,

पंडित के परांठेने 24 घंटे दूकान चलाई है..


इस मनोरंजक शहर का सिर्फ आधा हिस्सा इस कविता में समाया है,

पिएयुऔर रख बाघका वर्णन इसमें हो नहीं पाया है..

हार्डिस वर्ल्डऔर टाइगर सफारीने बच्चों का मन लुभाया है,

आइये जानिये खुद से इस शहर ने क्यों दीवाना बनाया है


PS: One for my home town 🙂 I love Ludhiana ❤

Please do like: https://www.facebook.com/sscsLdh/posts/1271398396339159

Follow me on my Instagram page: @deeptisthoughts

Get Started!

Hey my lovely readers,

I was bit occupied earlier and was not having something spicy to share with you all. Today, I get back to work again and will surely update some new and interesting things in coming days.

To embark with, I wanna share a link with you all which can help you in understanding JavaScript in a fun way. Go through this and try each task as I did and it will surely be a wonderful experience for you all if you will do justice with the work.

https://javascript30.com/

Even you can go through Hacktoberfest for getting some stickers and T-Shirt. It’s conducted in October every month.

http://hacktoberfest.digitalocean.com/

That’s all but stay tuned .. 🙂

 

New things

Today I installed java and eclipse on windows. I was getting an error while installing eclipse due to some problem with jdk setup. So, I installed a fresh jdk8. Later on, I have to set the java environment till the java/bin.

For setting java path: https://www.javatpoint.com/how-to-set-path-in-java

As a result, eclipse started working and now I want to install Remote Server Explorer (RSE).

Now, install RSE from eclipse marketplace.  Follow this blog’s video : Installation

Now, build a connection with any remote server.

Besides, I encountered a new site for brushing up the basics of HTML and CSS. I really found it interesting and more informative.

http://learnlayout.com/

https://learn.shayhowe.com/

Apart from this I get to know about two different chat platforms for teams: Flock and HipChat.

https://flock.com/in/

https://www.atlassian.com/software/hipchat