New 2013 RSS Facebook Twitter Google+ Buttons with Hover Effect




RSS Facebook Twitter HoverA new share button widget for 2013 with RSS Facebook Twitter and Google+ buttons (YouTube too on request)

Tried to make as looks as simple as possible like Windows 8 :p

It'll consume a very little space of your blog & can even be placed in a size of search bar's area :)

Qualities of the gadget are same as we had in earlier versions v1, v2. These versions were colored. But this one is Black & White for education or decent tech blogs.

Sub-Domain/Custom Domain: Advantages of Custom Domain




Okay firstly I'll clear that What is a custom domain? and What is Subdomain?

Subdomain:

blogger subdomainThe free domain that blogspot provides you with the extension .blogspot.com is a subdomain.

Actually the blogspot.com itself is a domain and when you sign up to create a blog you'll be prompted for a subdomain like "SUB-DOMAIN".blogspot.com
custom domain
Image Credit: joomla365.com
Got it? Proceeding further with a 'Yes' :-)

Custom Domain:

Its a Top Level Domain (TLD) with extension .com .org .net .biz  and many more like .in(regionally targeted for India) .us .me(for personal site) etc.


Now we'll discuss the Advantages of having a Custom Domain for your blog.

6.00x MITx Python: Final Exam Preparation




MITx 6.00x FinalsJust thought of creating an online journal to revise things on the go, cause when I was reviewing video lectures from the beginning it took a lot of time. Sometimes I've to fast forward, normal pace at confusing situations & again fast forward made me sick of revising videos.

I'm only considering the Python language and use of its objects in this section.
This is just an index of all the topics upto Mid Term 1: (Still revising Classes is left for me :( )

Lets begin: (All the links lead to quick overview of respective topic and below the Titles I've briefly written about the stuff that topic contains)

Before submitting an Application Form to Adsense




adsense approvalWhen you make a blog or start your own website you'd come across a term Adsense. Google Adsense actually. Following may be the reasons why you'd like to read this article.
  • You were blogging just for fun but suddenly discovered that you can even earn via advertising. Of course, Adsense is the first choice. Then you went googling & landed here.
  • Your sole aim after blogging/website building was to make some extra bucks. If you've seeded & watered, you'd hopefully wait for fruits & flowers, No Doubt.
We'll take it from here considering ourselves a newbie.

Complexity or Order of Growth in Programming




Complexity or Order of Growth of a program plays a major role in efficient programming. It actually gives an idea of the time taken by your code to run and return correct answer.
  • Constant Complexity O(1) : constant running time
  • Linear Complexity O(n) : linear running time
  • Logarithmic Complexity O(log n) : logarithmic running time
  • Log-Linear Complexity O(n log n) : log-­linear running time
  • Polynomial Complexity O(n^c) : polynomial running time (c is a constant)
  • Exponential Complexity O(c^n) : exponential running time (c is a constant being raised to a power based on size of input)
But this doesn't explain anything, so lets go through some simple examples of each of them.

Python Objects: Dictionary (dict)




Dictionary or dict is generalization of Lists
In list we use [], while in dict {}

>>> l = ['three', 'five', 'one', 'seven']
>>> l[0] #here 0 in l[0] is called index and 0th index refers to three
'three'
>>> l[1]
'five'
>>> l[2]
'one'
>>> l[3]
'seven'


Python Objects: Lists: Mutation of List




Lists are almost same as Tuples, but a huge difference is, Lists are mutable i.e. Lists can be modified after they are created unlike Tuples and Strings

For example, consider a Tuple: