January 21st, 2009 § § permalink
Inspired by http://twistori.com/. I wrote a generic tool which will allow people to setup a simple wall where people can post and it will automatically refresh. I built this tool specifically because it was needed at proto.in. I am very sure it will be useful to a lot of people out there.
Uses JQuery and a Queues for javascript library. Maybe someone can do some transition magic with it, i am still a javascript n00b
.
Here is the complete source code and demo. Please forgive the lack of documentation.
January 19th, 2009 § § permalink
Just created my first wordpress plugin, from concept to implementation in 3 hours
. This plugin basically posts an update on kwippy when you publish a new blog post. This can be a good tutorial for someone trying to build their own plugins actually. Enjoy.
Updated:
Official WordPress plugin page :
http://snipper.in/86
January 19th, 2009 § § permalink
January 19th, 2009 § § permalink
Today was a good day as i learned some valuable lessons about django and nginx.
- ALWAYS close the database cursor in django, it can lead to some pretty wierd memory issues going forward.
- FIND the most optimal number of database connections you initialize for you connection pooling. This will let you optimize on memory going forward.
- ENSURE that you do not set a very high client_timeout, this means that if connections are not explicitly not closed by the client then the web server will not timeout. This results in bad memory behavior for the fcgi threads.
Well, this has solved my major issues with respect to kwippy. Also learned that GIFs are very fundamentally different than JPEGs which results in a lot of problem when used in the python imaging library. All in all a good day
.
January 19th, 2009 § § permalink
I know it would be simple for a lot of people reading this blog
. But the easiest way to remote desktop into a windows machine using a X based linux distro is to install rdesktop.
http://www.rdesktop.org
For ubuntu and debian based distro, fire up the console and type
sudo apt-get install rdesktop
This would install the client.
rdesktop <server IP/domain>
This would fire up the windows remote desktop stuff.