Category Archives: Tech and Programming

60 Apps and things my Ubuntu system must have

Ubuntu is beautiful. Too sexy to use with full power of GUI and terminal. I am a person who drives from Windows to Linux and the experience with Ubuntu is fabulous.

I have a checklist of 60 such applications that I always need to have o my system without fail. There are kind of my heart packages, and I have finally made my own UBUNTU custom disc which installs all these packages once for all together ๐Ÿ™‚

Programming and Development Environment
  1.  Git
  2. Apache, PHP, Mysql, Python, PIP, SetupTools, Django, VirtualEnv, Node.js, hadoop, mongodb
  3. Java
  4. Ubuntu SDK

Continue reading 60 Apps and things my Ubuntu system must have

Python with Mathematics and Sequences – PART 2 & tricky cool Integer calculations

Here we will see some known and easy way of computing different mathematical and sequential things.

NOTE: This post is in continuation to the PART 1, however its not necessary to refer part I and you could take it as an independent post also.

Calculate the average of a series

# For an arbitrary sequence
def average(seq, total=0.0):
num = 0
for item in seq:
total += item
num += 1
return total / num

# For a sequence type such as a list or a tuple
def average(seq):
return float(sum(seq)) / len(seq)

Continue reading Python with Mathematics and Sequences – PART 2 & tricky cool Integer calculations

Python with Mathematics and Sequences – PART 1

Sequence is a particular order in which related things follow each other. Its fun and its very intuitive and so called logical. So lets start.

NOTE: Here we are not going to discuss what are different types of sequences are. We will see how we can achieve different sequences using Python.

Geometric Sequence

In a Geometric Sequence each term is found by multiplying the previous term by a constant.

2, 4, 8, 16, 32, 64, 128, 256, …

This sequence has a factor of 2 between each number. Each term (except the first term) is found by multiplying the previous term by 2.

Continue reading Python with Mathematics and Sequences – PART 1

Guidelines for young python developers – PART 2 | Fun with happy coding

NOTE: This part is independent and doesn’t require PART-1 to be referred compulsorily, but its advisable ๐Ÿ™‚

Extended Slicing

Slicing in Python is a mechanism to select a range of items from Sequence types like strings, list, tuple, etc.

Syntax: [stat:end:step]

>>> L = range(10)
>>> L[::2]
[0, 2, 4, 6, 8]
mylist[::-1] # will reverse a list

# Reverse a string
>>> S = 'Abhilash'
>>> S[::-1]
'haslihbA'

Continue reading Guidelines for young python developers – PART 2 | Fun with happy coding

Guidelines for young python developers – PART 1 | Things you should know being a programmer

There are many things that we could consider under this subject. My motto is to make you aware with some of the important features, methods and pythonic stuff that you could refer from here and then do more Google for advanced learning. I will just give you a start.

NOTE: I consider you to be a Python developer. If you are just starting with Python, then I guess this post will become confusing for you. You could go through for quick reference on what to read next when you are done with your first Python tutorial.

Python is cool. Its trending and its obviously self-intuitive. Learning curve with python is awesome.

Continue reading Guidelines for young python developers – PART 1 | Things you should know being a programmer

Why is it important to secure your network?

Before starting i would like to share one of my personal experience with one of my client.

I got a call in late evening and my client was almost lasted all his hope. According to him, one of his competitor actually managed to access his network and successfully stolen all of his confidential data stored on that server. Not only this he also deleted all the files from the network so that my client should rework on everything. This was bad on his part, but that late evening made him realize that why so much of security awareness is happening these days.

Continue reading Why is it important to secure your network?

Good hackers are there for you not for themselves.

Hacker is someone having excellence in making

Yesterday i was in serious discussion with one of my friend, like other thousands of people, he was also with the opinion that the term Hacker is just for bad.

Linus Torvalds in 2002

I am in difference with his opinion and with people having similar thoughts. Why this thought comes up, is just because the immature knowledge on the topic. Sorry if i am rude, but let me explain my justification over the subject.

Who is hacker? Hacker could be anyone who is smart, intelligent and having out-of-the-box capabilities to deal with logic. Someone who is highly enthusiast about computer and its technologies. Someone who wants to learn about how stuff works. If this is bad, then the top nosh people sitting on the boards of technology are bad too. With hacking, they are serving you with better world.

Continue reading Good hackers are there for you not for themselves.