Browsing articles tagged with " Tutorials"
Aug
21

Week In Links – 8/21/2009

By Tom Schultz  //  Blog Post  //  No Comments

Over the last few weeks I’ve noticed a few things,

  1. I always have a lot of links open in FireFox that I haven’t looked at yet.
  2. 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)

  1. http://www.infoq.com/articles/agile-version-control
  2. http://kenai.com
  3. http://oauth.net
  4. http://code.google.com/p/modwsgi/wiki/DebuggingTechniques
  5. http://blog.lowkster.com/2008/01/getting-to-pesky-foreign-key-data-in.html
  6. http://www.box.net
  7. http://beanstalkapp.com
  8. http://www.ducea.com/2006/08/11/apache-tips-tricks-deny-access-to-some-folders
  9. http://www.fogcreek.com/FogBugz
  10. http://www.sitepoint.com/article/build-to-do-list-30-minutes
Apr
23

How to get a Sansa Clip working with Rhythmbox in Ubuntu

By Tom Schultz  //  Blog Post  //  1 Comment

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.

read more

Mar
9

# __getattr__ Deserves Some Respect

By Eric Shull  //  Python  //  No Comments

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.

read more

Feb
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.