Yet another redesign at thejaswi.info

Wed 08 July 2009 by Thejaswi Puthraya

Oh yes!!! You are seeing it right! There's been another redesign of my site.

Technology fascinates me and I cannot get enough of it. This time I wanted my blog powered by the latest and coolest technology. Want to know more?

CouchDB powers the heart of the blogging engine as …

read more

Updates to safebrowsing-python

Thu 02 April 2009 by Thejaswi Puthraya

Updates to Safebrowsing-python

Two days back, I made quite big changes to safebrowsing-python, the python library for looking up blacklisted URLs against Google's updated phishing and malware database.

The changes are:

  • Added support for databases like Mysql, Postgresql. Previously, SQLite was the only supported database.
  • It is quite easy to …
read more

Django 1.1 beta released

Tue 24 March 2009 by Thejaswi Puthraya

Django Beta 1.1 (ship1) released

Though slightly behind schedule, Django 1.1 beta was released yesterday. It offers a lot of new features compared to the last stable release 1.0. A few of the notable ones are:

  • Model Aggregation
  • Query Expressions
  • Fast Tests
  • Unmananaged & Proxy Models
  • Deferred Fields …
read more

Yet another threaded comments app

Sat 10 January 2009 by Thejaswi Puthraya

A reusable threaded comments app

This week I am releasing code for yet another reusable app and yet another threaded-comments app. There are quite a few threaded comment apps around but the best one being this by Eric Florenzano.

The motive of releasing this code is not to compete with …

read more

Reusable recaptcha comments app

Sat 03 January 2009 by Thejaswi Puthraya

Reusable recaptcha comments app

One aim of Jacob's code for the comments framework in Django 1.0 was to make it as extensible as possible. At the same time this process should be quite generic and as DRY as possible.

It is here that I worked for a very long …

read more

Split a large CSV into smaller CSVs

Mon 29 December 2008 by Thejaswi Puthraya

Split a large CSV file into smaller CSVs

At work, we sometimes have to deal with huge CSV files and it is difficult to open these files in memory because there is a limit of the buffer size.

So the best way would be to split the file into smaller …

read more

Install Fedora from a USB disk without a DVD

Fri 26 December 2008 by Thejaswi Puthraya

Install Fedora from a USB disk without a DVD

Fedora has a release schedule of 6 months ie they release a new version every 6 months. 6 months is too short but there are a lot of new features that are packed into every release that it makes it very …

read more

Handle ACPI events in Linux

Thu 25 December 2008 by Thejaswi Puthraya

Handle ACPI Events in Linux

Off late, I have been working totally in runlevel 3 to replicate the setup and feel at work. The only grudge I have with runlevel 3 is that there is no easy way to figure out the battery level of the laptop.

So I googled …

read more

Another Method: Comments for Authenticated Users

Fri 21 November 2008 by Thejaswi Puthraya

Another Method: Comments for Authenticated Users

In my previous post, I got a comment from Joshua Works who gave an interesting suggestion of not constructing fields for the name, email and url in the form as opposed to my method of using javascript to populate them. Each method has it's …

read more

Part 2: Django Comments for Authenticated Users

Thu 20 November 2008 by Thejaswi Puthraya

Part 2: Django Comments for Authenticated Users

In the previous part, we had seen how to setup the basic portions of the project. In this part, we are going to build on that and achieve using the comments framework to accept comments from registered users only.

Step - 2: Getting templates …

read more