Python FTGL Bindings

I’ve just released PyFTGL which makes it possible to take advantage of FreeType and FTGL to render text in OpenGL program using TrueType, Type 1 or OpenType fonts. PyFTGL wraps the functionality of FTGL into a Python module so it can be used in conjunction with PyOpenGL.

Note that the bindings are still in alpha: they will work if you use them correctly, it’s just the error checking that’s currently missing.

Posted in General | Tagged , , , | 2 Comments

Renewable Resources

[I]f we could convert moronity into electricity we would have an eternal energy source. — Anders Dahnielson

Posted in From the hip | Tagged | Leave a comment

Code Upgrade

Today the Security Advisory System was upgraded from orange to banana.

Posted in From the hip | Tagged , | Leave a comment

Last.fm Radio Protocol

During the weekend I decided to hack together my own last.fm radio player in Python. I had found the My Playlist station pretty useless after being treated to the same three songs over and over again, and set out to code a player that would autoskip any songs I’ve already listened to once during a “session”.

So I combed the web and the official developer forum for useful information and even ended up digging into the official desktop client source code to find the answers to my questions. All information needed to implement a client (bar already officially documented components) have now been compiled into one spec-like entry in my last.fm journal.

Posted in Besserwisser | Tagged , , , , | Leave a comment

import time as summer

Not many new posts have showed up here in a while due to the fact that a) I have nothing web or code worthy to say and b) I have been busy getting my native Swedish blog going.

But don’t despair. During my summer break this year I’ve started to code a new application in Python that I’m hellbent on completing and releasing. In the process I’m thinking about writing up some brief pythonic posts on topics I usually revisit (or relearn) every time I get back to code in Python. On the joy of Python.

Posted in General | Tagged , | Leave a comment

Things You Wish You Didn’t Know

– I was a mistake.

– Ouch. That’s harsh.

– Yeah. Nude twister.

Posted in From the hip | Tagged | Leave a comment

Footnotes

Here is a WordPress plugin that I had almost forgot about only to “rediscover” it during an upgrade of WordPress. The main reason being that it is a drop in replacement for Rochus Wolff Endnotes plugin which I didn’t realized that I had replaced. The main difference is that the drop in replacement don’t need any hacking done to wp-include/functions.php and has a simpler implementation.

Read More »

Posted in General | Tagged , , | 37 Comments

LilyPond

I just want to give a shout-out to the software, LilyPond, that I used to produce the notation in yesterdays post.

Posted in General | Tagged , , | Leave a comment

Jazz Notes

I’m no expert in music or jazz, just a happy amateur trying to learn new stuff and make sense of what I already know. So the following is simply an introduction on how I think about the topic. My personal mental map, if you will.

For this reason it’s helpful for you to read thought everything from beginning to end, even if you already know the difference between major and minor scales and chords, or how to play Cmaj13 “jazz style”. I’ve tried to explore the subject in logical steps, so that we can expand upon what we already know and start to see all the different relationships present in the music.

However, the following text assume that you already know how to read notation, at least on a very basic level, and how to play it on a keyboard. If you don’t already know that, please take time to learn it before continuing.

Read More »

Posted in Tutorials | Tagged , | 3 Comments

Partial Update

Ok, I must just post something. Otherwise it will just become even more embarrassing when the message “upgrade postponed” sits on top for a whole month and I’ve upgraded not once, but twice, in that time frame. Not that I have much to tell, I’ve some things that I plan to post but couldn’t find the time to finish due to lack of time. But there will be more installments (O’ Hyperbole!) of Redesign Chronicles to come. Also on my ToDo-list is the rel-link WordPress plugin that is still semi-broken and needs fixing.

Posted in General | Tagged | Leave a comment