Filed under

English

Read popen.stdout object asynchronously (or why low level knowledge holes are killing me)

I've been programming for about two years, all this time only in Python. I'll say that those 500 lines I wrote in Flash AS2 before going to Python does not count. I'm fluent with standard library that Python provides, but I've noticed quite a few times now; I'm getting stuck on issues that correlate to low level knowledge. I'm thinking it may trigger someday motivation to learn C. Going on topic, everyone that has used Popen at least once knows that file-alike objects (stdout, stderr, etc.) are blocking. Let me give you an example:

Read article

Ideas for a week project

On 9th of August I return from vacations and I decided to research on some new area in the week after. Currently, there are two ideas, both easy-to-implement: 1. Ping my host every 5 minutes and send me email if down I know there are many websites which touch this topic but; Most of them are limited and need subscription. I want something basic, to do just what I want. WHY: learn basic Google App Engine development GAE provides reliable hosting with strong uptimes 2. List of websites mapped to tagged keywords

Read article

Advanced FormEncode usage

I've been working on advanced HTML form that uses some Mootools (JavaScript framework) love. In most of my projects I use FormEncode in combination with FormAlchemy. Although both libraries have very different philosophies and areas, they work great together with some patches. I want to share schema because I spent quite some time putting it together - might save you some trobule. This was the first time I used variabledecode module, and found best reference in this blog post.

Read article

Persuading Paste HTTP server to use correct REMOTE_ADDR

Configuring reverse proxy headers was on bottom of my TODO list because I never felt it was important for my applications. Today I tried to fuddle with nginx to pass those headers but it gave me a headache. For sake of reference and because I'm sure many others tripped on this one, here is what I figured out from mailing lists and source code (please inform me of a better, straight forward way if there is one):

Read article