Thursday, March 20, 2014

My disappointment in Amnesty International

Today, I want to write about something that has nothing to do with computers but with my life. After all, this Blog is called Life of a Tech Dude and I decided it is time to put something up about my life or better write about something that really pisses me off!

Tuesday, March 18, 2014

Giving back to the community

In the past days, I tried to clean up my computer and delete stuff I do not need anymore or are just plain junk.  I stopped at my "Projects" folder and wondered what I might find if I really look a bit deeper and I was quite surprised not just by the cheer amount of 'Projects' I had on my computer. To be honest, almost all of my projects are prototypes with some not in a working condition anymore due to broken dependencies, changes in chosen language or just due to some 'improvements' made on-the-run.

Saturday, March 15, 2014

Generator function in Python or How to use yield

What are generator functions

A Generator function  in Python is essentially a custom iterator to be used a loop. For example, it can be used to create a custom iterator that will walk through a date range e.g. return all dates between an start and end date or you could  Iterate over all prime numbers.