Python
MacOS X 10.3.9, MySQLdb 1.2.2, Python 2.5
Another nice little gotcha for you:
If you get this error after building and installing MySQLdb 1.2.2 on 10.3.9:
have a look in your /usr/local/mysql/lib/ folder. You may discover, as I did, that the library it's looking for is in that folder, and not in a subfolder called mysql.
I spent ages on this before realising what was wrong.
The solution is simple, just make a mysql subfolder and alias (or copy) the library into it.
Aaaagh!

- Sam Deane's blog
- Add new comment
- 1405 reads
Feed Me
What Is It?
Feed Me is a Bayesian filtering system for RSS news feeds.
What Does It Do?
RSS news feeds are great, but inevitably one ends up subscribing to too many of them, and drowning in a sea of unread articles. So if you've got 400 unread articles, and only time to read 10, what do you do?
Most news readers will allow you sort unread articles alphabetically, or by date, which might let you get the 10 newest articles from your favourite feed.
That's not really what you want though - what you really want to do is pull out the 10 articles that you're most likely to find interesting, from all of the feeds you are subscribed to.
This task is what Feed Me attempts to accomplish, by allowing you to rate articles as good or bad, and then helping you to find more of the good ones.
How Is It Implemented?
It is implemented in Python, as a CGI.
Where Can I Get It?
The project is in an early stage of development, and isn't ready for prime time, but you can look at the source code if you want to (user=guest, password=guest).
All comments, suggestions, code submissions welcome!

- Add new comment
- 2929 reads
Bayesian Filtering With Python
I've been playing around with Bayesian filtering and Python.
One of the results is this little Python library which provides a very simple wrapper for the CRM114 Discriminator.
I've also written a few additional notes on how to build CRM114 for MacOS X.

- Sam Deane's blog
- Add new comment
- Read more
- 1395 reads

Recent comments
3 weeks 2 days ago
3 weeks 3 days ago
3 weeks 4 days ago
3 weeks 5 days ago
3 weeks 5 days ago
3 weeks 5 days ago
3 weeks 5 days ago
2 years 35 weeks ago
3 years 4 weeks ago
3 years 4 weeks ago