Index ¦ Archives  ¦ Atom  ¦ RSS

Real Offline Django

Tue 16 November 2010

Over the past few years, one of the projects I use Django for has come across this same conundrum every few months. They want an offline version of the website to show future and current users features of the website and get them to either signup or update their profile …continue

Continue reading →


Surlex is Awesome

Thu 23 September 2010

I'm not sure why I haven't seen anybody using this since Surlex came out in 2009. Surlex is especially powerful when using it to match Django URLs.

I've written several Django apps recently that had relatively complex URLs and Surlex has really saved the day for me. There are two …continue

Continue reading →


Nanorc for Python

Fri 10 September 2010

I use nano all the time because it's the first UNIX editor I've ever used thanks to the Gentoo documentation (long, separate story). Therefore, when I write code I like to have some syntax highlighting, but nano's syntax highlighting is pretty whack since it's all just regex's and nobody likes …continue

Continue reading →


Browser-Based Javascript Libraries

Sun 29 August 2010

Today I want to talk about another idea I had regarding increasing both browser and server efficiency regarding javascript libraries.

There are a few major players in this realm including jQuery, mootools, prototype, and a few others. These libraries spend a considerable amount of processing time just checking the browser …continue

Continue reading →


Random math observation

Sun 22 August 2010

(x*y)%10=x%10 if (x%10)%2=0 and (y%10)=6

In words: numbers multiplied by other numbers starting with 6 have the same least-significant digit as before they were multiplied, but only if that digit is a multiple of 2. This is probably due to some …continue

Continue reading →


Django debug toolbar Profiling

Sat 21 August 2010

I spent the past half-hour trying to debug a problem that turned out to be from debugging, profiling to be exact. If you're doing a quick google for profiling with django-debug-toolbar, you may be tempted to use adurdin's Profiling Panel. I'm writing this to tell you to WATCH OUT!!

Now …continue

Continue reading →


Native and Cross-Compiling Pidgin on Linux (Debian)

Mon 16 August 2010

Recently I've been working a little on my plugin for Pidgin (Google Talk Invisible) but my Windows computer has been formatted since I last worked on it so I no longer had my Windows compiling environment. So I spent some time and created two working environments (one for libpurple 2 …continue

Continue reading →


Brother Ali - Uncle Sam Goddamn

Mon 19 July 2010

So I'm tired of these lyrics websites having such bad lyrics for good artists. Every once in a while I'll try to post some real lyrics for songs that I listen to with inadequate lyrics elsewhere. Here's my latest in the series:
Ah,
The name of this song is Uncle …continue

Continue reading →


Django and Stored Procedures

Sun 27 June 2010

There is no code to go along with this post because I haven't had the time or use-case to develop it yet, but it was an idea spawned from the ORM of Django and some maintenance I was doing in a PHP project.

Basically, Django's built-in ORM is awesome, but …continue

Continue reading →


Windows 7 Jump Lists and PuTTY

Sun 21 March 2010

Putty update to 0.61 which includes JumpLists builtin, so this will no longer be maintained. I encourage you to use the official client when possible.

Recently I had the good fortune to upgrade my hard drive to 120GB and felt that while I'm reinstalling my OS anyway, I should …continue

Continue reading →

© Fahrzin Hemmati. Built using Pelican. Theme by Giulio Fidente on github.