Posts

Life of a Software Engineer -13-Dec-2021(The Goals)

Image
  Life of a Software Engineer -13-Dec-2021( The Goals ) Hello Readers, I am Japneet (The Data Singh). I had a strong urge from the past couple of weeks to vent out all - ideas, experiences(good or bad), schedules, goals, thoughts, etc that are going in my head throughout the day. At first, I thought of speaking all this in front of a camera but then I realized that this is supposed to be something I can do every day to log my days, and using a camera required a lot of time (Owning a YT Channe l- The Data Singh) taught me this), so I decided to write all of this and I will be using this section for my logging. For the last few months, I have been such a lazy lad that anything that I decide to do eventually gets delayed or does not happen. I lost my consistency in putting videos on YT I lost my consistency in putting content on Linkedin I lost my consistency in day to day health activities I started sleeping late which I usually didn’t do from childhood I had no discipline overeating...

Enums in Go - Iota

Image
 Yes, you read it right. Like many other languages Go support the concept of enums through the IOTA function. IOTA According to Go documentation  Within a  constant declaration , the predeclared identifier  iota  represents successive untyped integer  constants . Its value is the index of the respective  ConstSpec  in that constant declaration, starting at zero. It can be used to construct a set of related constants.   Don't worry if you didn't get it. Basically, Iota is a keyword in Go that helps you to give random values to your constant. Let's say you want to define 7 constant Monday, Tuesday, Wednesday .... Sunday. Easy way to do this is const ( Monday = 1 Tuesday = 2 Wednesday = 3 Thursday = 4 Friday = 5 Saturday = 6 ) In this situation, values 1,2,3,4,5,6 don't make much sense. The only thing these values should follow is that they have to be unique i.e Monday should ...

My Story Of Remote Onboarding: Like Clockwork

Image
  Just like Cloud in the software world is something that is remotely present, I will be sharing my remote onboarding experience today, thus the title- Cloud Onboarding. The Hunt The Covid outbreak led to a difficult time for the entire world and I was no different. There were challenges here and there. Yet, I was among those lucky folks who still have the honor of working for an organization. I am employed and contributing through WFH from the beginning of March. Let’s start from the  v ery beginning- I have had concrete career goals in mind but 2020 had other plans. Like everyone else, I was just watching the COVID situation unfurl. I was watching it affect all my goals and could feel the stress building up every single day. But all I could do was wait and watch! And then, I had a stroke of good luck! One fine day, I decided to get off my ass and start looking out for opportunities that were more in line with my career goals. I always wanted to work with a fast-paced organiz...

Dictionaries in Python in 5 mins

Image
What is a Dictionary or Dict? A dictionary is a data type used to store key-value pairs as we have in our English dictionary. It is useful when we want to save the data related to an entity at the same place. It is like saving an excel row in python in a column_header:column_value format E.g If we want to store the details(name, class, marks, address) of a student we can create different variables for this, or we can create only one variable of type dict and save the values in it. Syntax: s1={ ‘Name’:’Tarun’, ‘Class’: 12, ‘Address’:’house number 11 xyz street ‘,           ‘marks’:[90,89,67,84]       } As in the above code, we can see that a dictionary can save multiple data types. Variable “Name” is of type string, “Class” is of type int, “Address” is of type string, “Marks” is of type list.  A dict can also store a dictionary in it and is called Nested Dictionary. Syntax : <variable name>=dict({key:value,key:value}) <vari...

Product Based Vs Service Based Companies

Image
All the Job Seekers in the tech industry are always curious to know the difference between Product Based and Service-Based Companies. I have made some pointers which represent the difference in these do segments of industries What are service-based and product-based companies Work and Exposure Technologies Culture On Client Exposure Salaries Annual Increments Growth with respect to position Vs Growth in terms of money If you are not a good reader have a look at this video on the same topic: Service-Based Companies Service-based firms are the organizations that take projects from the external entities and work towards delivering the projects. These companies are generally large companies and are mass recruiters in multiple domains. They prefer people who have a wide array of tech stack in there profiles. Examples of such companies in India are; TCS NIIT Infosys Genpact Product Based Companies Product-based firms are the organizations that have their own line of products and work towards...

Variable and Data Types in Python

Image
Variables in Python A variable is a named storage location where you can save some value when you execute your code. It takes some space in your RAM and its value persists till the time your code is executing. E.g # Without variables  # Add two numbers print(10+20) #With variables a=20 b=20 print(a+b) The benefit of saving your values to a variable is that the values and calculation (addition in our case addition) can be reused in some further parts of the code. Comments A comment is a line in your code that you don’t want to run but write them just for some reference in your code like explaining what your code is doing. E.g #this line do addition c=a+b In python, comments can be done using a ‘ # ’ symbol in the start of the line. It will inform the interpreter not to execute that line. Data Types in Python A data type in python refers to different formats of data that we can use in python. We are not always working with the same type of data. For example, to store the details of a...

Hello World Program in Python

Image
What is Python? Python is a very powerful programming language and can be used to write any piece of software. But you can also use it to do data science. Model your sales data, to text mining on your latest Twitter feeds, or build the next movie recommendation engine. It's all possible with Python. Python is open source, and there's a bunch of programmers across the world that have written amazing extensions to Python, to help you achieve great things. Python can be used in the cases where the legacy analytical tools fail. Before we start to learn the python program following is a list of some commands which can we will be mostly using while working with python: For Linux / Mac pwd: prints present working directory (folder) of the terminal cd: It is used to change the directory (folder) from the terminal cd... : used to go one directory back cd<directory name >: used to go to child directory from the parent directory ls: to print all the folders in the current folder mk...