Bryan Pieper's Blog : 2010

uWSGILooking for a command line utility to control a uWSGI Django web application?

I have been using uWSGI with nginx for a good while now and am very satisfied with the stability and performance. However, as most know that us it, there are numerous options for executing and controlling a uWSGI app.

Let me begin by stating this is not the only solution to preventing spam, but rather a compromise between annoying inputs (reCAPTCHA, math inputs, etc) and making forms more difficult for spam bots. I personally cannot stand having to input reCAPTCHA values, though, it is a proven technique for mitigating spam. If you are going to use Akismet, I prefer to use it as one of two lines of defense since it can produce false positives and doesn't stop unknown signatures.

Rather, I prefer the honeypot for small to medium-sized sites. It takes the irritation out of forms that also improves form conversions. Happy visitors, unhappy spam bots ;-)

Django uWSGII recently upgraded the uWSGI instance on my server from v0.9.5 to v0.9.6 and ran into a small glitch in the process.

After compiling uWSGI and recompiling nginx, the process seemed work as expected. I fired up Django and hit homepage. Then, I refreshed a few times and got this error message “uWSGI wsgi application not found.”

At first I thought this was odd because the initial request worked but it was the successive requests beyond the number of processes that caused the issue.

Have you been on Facebook recently and posted a topic only to have someone post a reply that is completely unrelated to the topic at hand?

// begin rant

This kind of thing drives me crazy. I will post a topic or status update and out of nowhere, you get a reply from someone looking to have a separate conversation.  

I love the threaded concept of conversations, because it keeps things organized. This is the same reason I prefer Gmail to the other webmail providers. The conversations are organized. With hundreds of new status posts running through your news feed each day, it is hard enough to keep up as it is.

So please, if you must post something off topic, start a new post, post it on my wall, send me a message or ring me on the chat window.  It will make the chaos that is Facebook, well, a little less chaotic.

// end rant

Have you been this person lately?

1 2 3 4