Bryan Pieper's Blog

Django uWSGII recently upgraded the uWSGI instance on my server 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.

Continue Reading »
0 Comments | Post Comment

This summer Gmail introduced changes to the webmail interface that caused some issues for email marketers. This change adversely affects emails by including a horizontal white line between images throughout the email content.

Here is an example of the issue:

Gmail White Space Issue

Continue Reading »
0 Comments | Post Comment

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?

0 Comments | Post Comment

Looking for a few shortcut Django view decorators?

Here are a few decorators I wrote this week to simply the view handling for redirects and JSON rendering. The source code is posted on djangosnippets.org.

Continue Reading »
0 Comments | Post Comment

Do you use Safari and miss the reload button? I certainly did until the other day.

Safari 5 now supports extensions. But I have to say that I find it odd that a browser needs an extension for a normal reload button.

First, you have to enable the “Develop” menu.

Go to Safari > Preferences > Advanced. Turn on “Show Develop Menu” in menu bar. Then select “Enable Extensions” from the Develop menu.

Now that you can install extensions, download the Safari Reload Button extension. Once downloaded, install by opening with Safari or dragging it onto the Safari window. Finally, select “Customize Toolbar” from the View menu to add the new button. Reload button restored!

0 Comments

Django Amazon S3 SVN CommandI recently integrated ThePiepers.net with Amazon CloudFront to serve all the media. This has improved the overall site responsiveness and gives my visitors a closer endpoint.

After I setup a simple push method for publishing changes to Amazon S3, I quickly realized that it was extremely inefficient and adds unnecessary charges to my account. Enter Subversion.

Continue Reading »
0 Comments
1 2 3 4 5