• My desk

    This is my desk. So what do we have here: Lenovo Thinkpad T530 Dell H2312HM Monitor Microsoft Ergonomic 4000 Keyboard 3M Ergonomic mouse Apple Mini Displayport to DVi Adapter Creative 2.1 Speaker system (not visible in the pic) All the products are from different vendors. I had not noticed this until I took this pic.

  • Recently I was working on a real time workflow for a module. I found it really difficult to find good tutorial for the same. I struggled with Flask, gevents and lot of other things and finally settled down to nodejs and socket.io and redis pubsub. I have written a tutorial for the same https://github.com/roshansingh/realtime-notifications. The…

  • uptime

    $uptime 16:00:45 up 5 days, 8:40, 5 users, load average: 0.52, 0.45, 0.28 That’s my Thinkpad 🙂

  • Yes that is a mouse. I use this at work. But the default configurations did not let me use the middle button. I wanted to use it for scrolling. So I had to add some custom settings to X. Before we begin, we need to know the device name: # hal-find-by-capability –capability “input.mouse” /org/freedesktop/Hal/devices/usb_device_4b4_60_noserial_if0_logicaldev_input Then…

  • I had taken a break from studies to prepare for Engineering entrance examinations in Delhi. I was at one of the best coaching centers at Delhi (I am not taking their name as this post is not about them). I met some of the best teachers in my life there. Other than regular stuff they…

  • This is the poem from the movie “Jab Tak Hai Jaan”. I have been listening to this song on loop for a few days. Lyrics and the music both are just perfect. Teri aankhon ki namkeen mastiyan Teri hansi ki beparwaah gustakhiyaan Teri zulfon ki leharaati angdaiyaan Nahi bhoolunga main Jab tak hai jaan, jab…

  • I have used GNOME 3 for quite some time now. Of late the shell started to crash a lot, so I switched to Unity. I usually hate dark themes, I like bright desktop and larger fonts so that my eyes don’t get strained. It is great that people have so many useful gui tools for…

  • Moving on

    I recently quit my job at Zynga and will be joining GazeMetrix in a couple of days. This will be my first start-up experience and I am super excited. Hope things work out 🙂

  • Conway’s Game of Life

    I came across this a few days back when my colleague showed me this. I was really fascinated with the patterns it was generating. So after coming from office I sat down to write it finally. Read this(http://en.wikipedia.org/wiki/Conway’s_Game_of_Life) so that you can understand it properly. Then see the demo here: http://roshansingh.dev/code/gameoflife/ Keep clicking the random button,…

  • I have added a page to my blog where I will post interesting problems that I come across on my blog. Check it out: http://roshansingh.dev/blog/interesting-bits/