Debugging in Visual Studio

Many times people ask me to debug their code, mostly the ones making request is a close friend so denial is not an option. Two most common issues that I have repeatedly faced during the process of debugging are

  • No or minimum comments
  • No or minimum Indentation

These two issues once solved make the process of debugging much fun. Believe me when I say that one of the reason I love python is because you can do absolutely nothing without correct indentation, which leaves only the issue of comments behind. :)

Today while debugging a friend’s code I had to indent a large code in order to debug it. Being lazy I went ahead to Google the solution. After not too much effort I found that there is a very easy to use built in functionality in Visual Studio through which we can indent all the code automatically.

Here is the link to article that describes how to use this and some other useful formatting option.

Happy debugging :)

Physicists from CERN team up with TED-Ed to create five lessons that make particle physics child’s play

Reblogged from TED Blog:

Particle physics. To some, the words may produce anxiety. And while, yes, it is complicated -- it is far from incomprehensible. Today, the European Laboratory for Particle Physics, better known as CERN, held its first TEDx event, an illuminating look at how particle physics intersects with other disciplines.

As part of TEDxCERN, physicists from the famous institution, home of  the Large Hadron Collider (and birthplace of the Word Wide Web), teamed up with animators from TED-Ed to create easy-to-understand animated lessons that explain concepts like dark matter, big data and the Higgs boson in lay terms.

Read more… 396 more words, 4 more videos

Complex concepts explained in very simple words... Great job done.

Open Source Software Development

We all know that giving is better, this is how we gain inner satisfaction. Giving money to needy is great but charity is not the only way of giving back to society; being a professional you can always pay back to society by the use of  your skill. Being a programmer one can always play his role in development of open source software products. It is not necessary to start your own project because then you will have to start building from scratch which though in same cases is necessary but in many it is just a waste of time and effort, so it is better to just join a project and move forward. Open source projects are always looking for skilled people. If you plan to work on one of such projects here is a link where you can find projects which need developers.

Happy coding :)

Everything Described in One Dialogue Of A Movie

“Predictable doesn’t always mean boring.
Lust doesn’t always mean love.
Near doesn’t always mean close.
New doesn’t always mean exciting.
Different doesn’t always mean better.
Far doesn’t always mean distant.
Knowing everything doesn’t make you wise.
Knowing the truth doesn’t make you superior.
Knowing your problem doesn’t solve it.
Sitting between your past and your future doesn’t mean you’re in the present.”

I am looking for the name of the movie so if you happen to know its name please do share with me. Thanks.

Follow

Get every new post delivered to your Inbox.