Few chapter wise pickings from Problem Solving with Algorithms and Data Structures by Brad Miller, David Ranum.
I got my first patch accepted in Linux Kernel in September, 2014. Before this I had some repositories on my GitHub, through which I open sourced some of my projects.
This was my first contribution to an open source organization. Since then I am contributing to different open source projects. I learn a lot while contributing to open source projects.
Few chapter wise pickings from Dive into Python by Mark Pilgrim.
Objects in Python
- Everything in Python is an object. Strings are objects. Lists are objects. Functions are objects. Even modules are objects. Almost everything has attributes and methods. All functions have a built-in attribute __doc__, which returns the doc string defined in the function’s source code.
- Different programming languages define “object” in different ways. In some, it means that all objects must have attributes and methods; in others, it means that all objects are subclassable. In Python, the definition is looser; some objects have neither attributes nor methods, and not all objects are subclassable. But everything is an object in the sense that it can be assigned to a variable or passed as an argument to a function.
I gave two days workshop on 16th and 17th April in DTU on getting involved with open sources. IEEE Delhi section SAC organized this workshop.
Few days back, Amitoj asked me why doesn’t git fetch deletes the changes that are not present on remote but are present in local, when it does updates other changes. To explain it one need to understand the difference between git fetch + merge, git fetch + rebase and git pull and why we need to merge or rebase after a fetch and when? I tried searching for some good resources to explain the difference but I didn’t find anything good. So I thought of writing one.
First of all have a look at this image by Oliver Steele.