Posts, tweets and nothing

I am starting from nothing, very little tweeting @dipankarsarkar , and hardly any blog posts here. So 1st December is an attempt at reviving my non-existent web presence. So what keeps me so busy from even writing a simple blog post, i will try to summarize that over the next points Sometime a year back i realized that family was important :), so yes i definitely spend a lot more time with my family....

December 2, 2009 · 3 min · 443 words · Me

Post on twitter/kwippy using .NET

using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Net; using System.Web; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { System.Net.ServicePointManager.Expect100Continue = false; Uri address = new Uri(“http://twitter.com/statuses/update.json”); // Create the web request HttpWebRequest request = WebRequest.Create(address) as HttpWebRequest; request.Method = “POST”; request.ContentType = “application/x-www-form-urlencoded”; request.Credentials = new NetworkCredential(“username”, “password”); StringBuilder data = new StringBuilder(); data.Append(“status=from%20.net”); // Create a byte array of the data we want to send byte[] byteData = UTF8Encoding....

March 3, 2009 · 1 min · 140 words · Me

Kwippy feed for wordpress

If you notice i now have a RSS feed for kwippy on the sidebar. That is done by using RSS widget functionality within the wordpress theme section. The image below outline the complete setup which i use for my blog. Its really simple to set this up :).Enjoy.

January 28, 2009 · 1 min · 48 words · Me

First wordpress plugin : Kwippy poster 1.0

Just created my first wordpress plugin, from concept to implementation in 3 hours :D. 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 20, 2009 · 1 min · 51 words · Me

Nginx + django fcgi lessons

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....

January 19, 2009 · 1 min · 138 words · Me