21
Week In Links – 8/21/2009
Over the last few weeks I’ve noticed a few things,
- I always have a lot of links open in FireFox that I haven’t looked at yet.
- Blog traffic drops like mad on Fridays
These are just some sites or articles that I found interesting or helped me in some way this week.
So here’s what I have this week! (other posters can add to this page as they wish)
- http://www.infoq.com/articles/agile-version-control
- http://kenai.com
- http://oauth.net
- http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
- http://blog.lowkster.com/2008/01/getting-to-pesky-foreign-key-data-in.html
- http://www.box.net
- http://beanstalkapp.com
- http://www.ducea.com/2006/08/11/apache-tips-tricks-deny-access-to-some-folders
- http://www.fogcreek.com/FogBugz
- http://www.sitepoint.com/article/build-to-do-list-30-minutes
23
How to get a Sansa Clip working with Rhythmbox in Ubuntu
So I got me an 8gb Sansa Clip from Walmart the other day for $50. Yeah I know pretty decent deal for an 8gb. Anyway I was trying to get it to work with Rhythmbox, and I was having some trouble but then I ran across this post on Ubuntu Forums.
So apparently all you have to do in order to get the player to show up in Rhythmbox is to add a file called “.is_audio_player” in the root directory of the Sansa MP3 player.
9
# __getattr__ Deserves Some Respect
One of Python’s built-in functions is __getattr__, which turns out to be quite useful but at the same time slightly dangerous. It is especially helpful for creating complex classes without using inheritance. For a brief tutorial, read on.
12
# Threading in Python
Henceforth all posts regarding a certain programming language shall be denoted in the title using comments specific to that language. This is for visual purposes, as well as for fun.
Threading in Python
Setting up separate threads is incredibly easy in Python. There are several tutorials out there suggesting one subclass the threading.Thread class and override the run method, but this is not necessary. Simply do the following:
import threading
def func():
# ... some code here
pass
new_thread = threading.Thread(target=func)
new_thread.start()
This will run func in a new thread. Interacting threads is a bit trickier, but I refuse to write anything about that until I know something about it.

