Everything I know about Python...

Learn to Write Pythonic Code!

Check out the book Writing Idiomatic Python!

Discuss Posts With Other Readers at discourse.jeffknupp.com!

Why My Blog Uses My Home-grown Python Static Site Generator

Recently, I've seen a number of nice-looking blogging platforms pop up. Each basically let's you write your content in Markdown, shows you a live preview, and can keep posts unpublished until you're ready to bestow them upon the world. They all look nifty, but I'll never use them.

Why? I've been using blug, my Python-based static blog generator, to generate this site for years. blug was designed with a certain workflow in mind (mine) and has grown since then. I have a private fork of the public blug repo where I have all my settings and special templates. That repo is the one that sees the most love (and I'm long overdue for a sync between the private code and the public). But more importantly than blug being tuned for how I work, blug gives me something other blogging platforms don't: control.

Read on →

Why I'm Boycotting Mozilla Products

Brendan Eich was appointed CEO of Mozilla this week. Normally, I don't pay attention when corporate executive roles are filled, but this one caught my attention. You see, Eich donated $1,000 in support of Prop 8 back in 2008. Since then, he has not, to my knowledge, mentioned anything new about his views on gay marriage, so it's safe to presume they are the same as they were in 2008.

Eich doesn't believe that gay people should be afforded the right to marry. I've decided I'm not comfortable using the products of the company of such a CEO. Intentional or not, his appointment sends the message: "Mozilla is against gay marriage at its highest levels." As such, I'm boycotting all Mozilla products until Eich steps down or is removed as CEO.

We are at a critical juncture in the fight for the basic rights of the LGBT community. Though there is a long way to go, one can feel the tide turning (thank goodness). This post is not to pat myself on the back for taking a relatively safe stance. Rather, it's to inform others of the situation. Only through awareness can this type of bigotry be brought to light.

If you're a regular reader of this blog, this post may seem a great departure from my normal content. It is. This stuff matters. It matters enough that I ask you, the reader, to boycott Mozilla products as long as Eich is CEO. It matters enough that I encourage you to take to the computer, the phone, or the pen to help right a wrong.

I am not gay. I have no gay family members and only a handful of gay friends. But this is not an issue of gay rights. It's an issue of human rights. And the right to marry the person of your choice must be considered a basic human right. Indeed, any right withheld from any group of people must be rallied against. It just so happens that, in this case, the issue is gay marriage.

I've been supporting gay rights too passively for too long. The time for action, from all of us, is long overdue. I hope you'll join me in taking a stand. You have to start somewhere, and now is as good a time as any.

Read on →

Straphost Prices Reduced

After reconsidering the numbers, I've decided to drastically reduce the price of straphost. You still get one-on-one tutoring sessions where you learn to deploy your Python application on a Linux server. Now, however, extra tutoring sessions are free, and the initial setup cost has been reduced to $500. For $40 per month, you get free hosting plus unlimited tutoring sessions if you need to install new software for your application (like, say, memcached) or have a bug you need help tracking down.

Seeing as the cost of a reasonably-sized (2nd smallest) Linode is $40, the addition of free deployment tutoring should be a draw. If you agree, email me and let me know that you'd like to be considered for straphost's initial cohort of clients. As a reminder, the first group will be very small to ensure enough one-on-one tutoring time for everyone.

Read on →

Web Analytics