Off to's calling

Sat 31 May 2008 by Thejaswi Puthraya

Off to Chennai....Life's calling

The blog title says it all. I am moving to Chennai to take up a job with a subsidiary of Citigroup. So for now, it is Aadab Hyderabad and Vanakkam Chennai. If you want to contact me check out the contact page or the about …

read more

Enable/Disable CPUs dynamically in Linux

Fri 09 May 2008 by Thejaswi Puthraya

Enable/Disable Multi CPUs in GNU/Linux

This is a wonderful feature of the Linux kernel. Being able to dynamically enable and disable multiple CPUs (all this without rebooting).

To check if you have multiple CPUs

$ cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 15
model name …
read more

WPA2 on Linux

Thu 08 May 2008 by Thejaswi Puthraya

Setting up WPA2 on Linux

Recently Binand pointed me to DD-WRT (free Linux based firmware for Linksys' WRT54G Series). Since I owned that series of the router, I installed it on my router. It looks really very cool especially with those awesome javascript effects. It also came with support for …

read more revamped

Thu 17 April 2008 by Thejaswi Puthraya revamped

Django has been evolving quietly but steadily. 6 months back when I deployed my site, I gambled and used newforms-admin to be able to experiment. Later, I realized that my blog had a few readers and experimentation would piss them off. Despite this, I managed to redesign …

read more

Learning Python 1

Tue 08 April 2008 by Thejaswi Puthraya

Interesting aspect of Python : 1

Yesterday I learnt an interesting aspect of python called closures.

def a(aa1, aa2=10):
     def b(bb1, bb2=aa2):
             print aa1, aa2, bb1, bb2
     return b

>>> a(20)(5)

What is the output?

The answer by intuition would have been …

read more

Useful yet underutilized commands

Sun 30 March 2008 by Thejaswi Puthraya

Useful yet underutilized commands

Recently, I have started looking towards system programming (thanks to my arm processor project). While I was glancing through the manual pages, I noticed these commands that are extremely useful but rarely used (or probably implicity used).

Here they are:

  • csplit: split a file into sections …
read more

A USB Drive full of viruses

Mon 03 March 2008 by Thejaswi Puthraya

A USB Drive Full of Viruses

Yesterday, when I plugged in my usb stick onto a college computer little did I realize that it would get infected with hundreds of viruses. Not that I am bothered by these viruses because I use GNU/Linux. I just wanted to safeguard my …

read more

Mod-Wsgi or Mod-Python?

Mon 25 February 2008 by Thejaswi Puthraya

Mod_WSGI or Mod_Python?

Recently, I had the opportunity of deploying django apps that would receive heavy traffic and yet be lite on the memory because I was using a 256 MB virtual private server.

Django has two options:

I have had bad experiences with Mod_Python with issues ranging …

read more

Some Latest Projects

Sat 23 February 2008 by Thejaswi Puthraya

Some latest projects

I have been mum over the past couple of weeks because I have been busy with (sigh!!! repetitive) work. I have been involved with the websites of Euphoria (the cultural fest of my college) and CSFest (the technical fest of the CSE Department). Both the sites use …

read more

Ramblings on Fossconf 08

Tue 05 February 2008 by Thejaswi Puthraya

Ramblings on Fossconf Chennai'08

Went to Chennai to attend my second FOSS conference. Though Fossconf 08 did not live up to my expectations, it was a perfect conference for first time speakers and absolute newbies who had no idea of what Foss was. I was really impressed by the project …

read more