Skip to main content

Idleness is a Virtue

Help the folks, who need your help the most at this hour!

Donate to Goonj to help our daily wage earners and labourers.



boats on a river

click to embiggen


“I have often wondered whether especially those days when we are forced to remain idle are not precisely the days spent in the most profound activity. Whether our actions themselves, even if they do not take place until later, are nothing more than the last reverberations of a vast movement that occurs within us during idle days. In any case, it is very important to be idle with confidence, with devotion, possibly even with joy. The days when even our hands do not stir are so exceptionally quiet that it is hardly possible to raise them without hearing a whole lot.”

Rainer Maria Rilke

Pair with, The Art and Science of Doing Nothing.


P.S. Subscribe to my mailing list!
Forward these to your friends and get them to subscribe!
P.P.S. Feed my insatiable reading habit.


A Hundred Days of Code, Day 014

Had time, so finished up the app! Hurrah!
Ok, so this makes up for one of my missed days, so I have to do a hundred and one only.

Running the app, downloads some lolcat images from the net, saves them to a folder and then opens up the folder for you to enjoy :)

The last app taught me how to download text over the internet.

This one

  • taught me to download binary data (images in our program)
  • learnt how to detect what operating system runs on my computer
  • learnt how to reach out to the operating systems shell and run commands

The amount of modules that I am now being exposed to is a bit dizzying.
A long term plan, would be to look at the more common ones and study them in depth.1

The code’s over at Gitlab and Github.

I had lots of fun. Onwards!


  1. Kushal has long suggested, I do this. 

A Hundred Days of Code, Day 013

The program is almost done.
Had lots of fun.

Today was the first time, I went over a huge, run – see error – fix error – run again loop. Drove me absolutely batty.
I managed to get it all up and running.
Documentation pending.

Hope to have it all neatly tied with a bow, tomorrow.


A Hundred Days of Code, Day 012

Started up with a new program.
While the last one dealt with working with text on the internet, this one deals with binary data.
The point to go get some images (lolcats) in my case, download them to a folder and display them.

Watched all the videos today.
More tomorrow.


A Hundred Days of Code, Day 011

Ok the weather app is done.
Er, only it’s not the weather app anymore, it’s just a temperature app.
The program was meant to pull all sorts of details from Wunderground and apparently the site has changed into a different, more complicated (to me) web page.
I did not want to spend all my time, futzing with CSS.
So I figured out how to just pull out the place name and the temperature and display it.

Things I learnt,

  • How to use Requests and Beautiful Soup to scrape and parse web pages.
  • Practiced my documentation skills a bit.
  • Learnt to fend for myself.

The code’s on Gitlab and Github.


A Hundred Days of Code, Day 010

Working on the get tempature / mini weather app.

  • Learnt about type hints.(I intuitively needed this feature as I kept dotting in my editor waiting for stuff to pop up :P glad to know such a thing exists and Python supports it.)
  • Learnt about named tuples. I love anything that will let me name things the way I want.
  • Learnt about sanitising text that we extract from a web page; stripping white space and new lines and crazy characters and what not.
  • Grateful for the batteries included nature of Python. Well, not necessarily batteries included as much as batteries available on demand. Batteries of all shapes and sizes at that. I can only imagine what writing such a program from scratch must involve. To all the generous people, making modules and libraries available to use freely, and to the infrastructure that delivers it, you folk have my undying gratitude.