Posts

Showing posts with the label Software Engineer

Github : Part 2 : Final : Full Guide

Image
In the Previous blog post   we have understood the basic concept behind GitHub, today we will see how to use it? Which tools are required for this? and much much more.... So our agenda is: How to start with GitHub Terms explained Guides And Support New Features Cheat Sheet How to start with GitHub? Let's start simple.  Go to GitHub.com Then click Sign Up button, if you already haven't done that. If you have already signed up then sign in to get to your profile. If not then after signing up, you can sign in ( Isn't it obvious... ) After that you will land on a page like this.. Here you can manage your account, make repositories... (What is a repository?) A repository is like a folder or a project folder, into which you can add (save) your code files and other project files like images etc. There is another thing, that is  Desktop Application  for GitHub. This is a local server, this allows you to make your reposit...

Ethical Dilemma : Software One

Image
Consider a situation :  You are a software engineer. And you can write any kind of code, from one extreme to another. From the code of virtue to the code of disaster. You are working in the international level, world famous and the top most software company. Your Monthly salary is more than the salary of every officer in the world. Means: You are living a luxurious life, you are healthy, wealthy and wise. You have no tension, no problem in your life. You are living near to perfect life. Turning Point: One day while you are sitting in your office, the CEO of company calls you. You go to his office, he offers a cup of your favorite coffee to you.  He then asks you: "Mr. Ali, as you know, you are the most prominent programmers of the world. You are capable of writing every kind of code. Our company depends a lot on you. So, would you give me some favor?" You say: "Do ask, Sir." CEO : "As you can you see that, " The Presoftioza Company ...

LINUX Kernel

Image
Back in the 18th century UNIX was developed. UNIX is said to be a mother of all the operating systems. LINUX is also based on UNIX. The best things about LINUX are: It is open source. It is totally FREE. One can modify it for customized usage. One can create ones own OS (Operating System) on Linux bases. It is more secure than Windows. If you have Linux, then you don't need to have any anti-virus. Linux has many applications, like windows. It's been improved in many years. It is the most favorite OS of developers.  and so on... to be continued....

Turtle : Not Coming Slow

Image
In the above image Mr.Turtle is looking so angry, but don't worry Mr.Turtle, in this blog post we will talk about you, and your family member python ... Python has many family members (libraries) and one of the Graphical User Interface library of python is Turtle Graphics . Have you ever seen Animal Planet and Discovery channels on TV? There discoverers like to discover real pythons and turtles. On the other hand, kids like drawing and coloring them on paper, but programmers are fond of giving commands to computer via python and turtle, and then they make something out of that. Yes, you guessed right! Today we'll have a look at Python Turtle Graphics , so let's begin... Below is a code, which outputs a car and some scenery around it, (Not a real one, just on the screen!) # -*- coding: utf-8 -*- from turtle import * #code for drawing car begins pensize(10) color("red","black") begin_fill() forward(150) print(pos()) sety(100) print...

Math Functions : Beginner's Level

Image
In this blog post, we will see how can we create simple Mathematics functions by using python programming Language, so here we go... #You can add comments in the below code and share it in the comment box :) #comments make the code easy to understand def add(a,b): return(a+b) def sub(a,b): return(a-b) def div(a,b): if a == b: return 1 elif b == 0: return ("Math Error: division by zero") else: return(float(a//b)) def mult(a,b): return(a*b) def power(a,b): c = 1 for p in range(0,b): c *= a return(c) def main(): print("-------------------------------------------") print("The available functions are the following: ") print("1-Addition\n2-Subtraction\n3-Division\n4-Multiplication\n5-Power") counter = 0 while(counter < 20): print("-------------------------------------------") print("") option = input("Enter the number from 1-5 corresponding to the above fu...

Coding : A to Z

Image
Let's learn, how to draw A to Z alphabets using python 3.6: #function for drawing alphabets def alphabet(data): str = "O" dot = " " j = -1 #for drawing A if data == "A": for a in range(4,5): print(str) * a for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*2 + str for a in range(1,3): print(str) + (dot)*2 + str #for drawing B elif data == "B": for a in range(4,5): print(str) * a for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*3 for a in range(1,2): print(str) + (dot)*2 + str for a in range(1,2): print(str) + (str)*3 #for drawing C elif data == "C": for a in range(4,5): print(str) * a for a in range(1,4): print(str) for a in range(1,2): print(str) + (str)*3 #for drawing D elif data == "D": for a in range(4,5): print(str) * a for a in ra...

See The Pattern : Similarity

Image
There are a lot of challenges and issues that demand for similarity measures among the graphs or networks, with the increase in technology the social network is also increasing day by day, therefore there is a need for more speed and more security. When we look at the mutual friends on Facebook, when we browse the internet and find all the related material to our search, or when we go to the doctor for DNA tests, the doctor provides the similarity measures among us and our family members. We wonder that how Amazon, YouTube and other related sites are giving suggestions related to our query. So there comes the concept of Similarity among different things and making clusters of those things that are very much similar.  Network Similarity is a vast field, it enables us to accomplish several mining tasks like visualization, discontinuity detection and clustering. And this require algorithms,  Designing of an algorithm to solve any problem is a big task, after the desig...