First dev release of Memetracker

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
kyle_mathews's picture

I've pushed up an alpha release of memetracker to cvs and created a dev release. This is not production ready code. In fact the only thing impressive about the code is that it works at all and does something vaguely resembling what memetrackers are supposed to do.
Link to original proposal

How to install memetracker:

After unpacking the memetracker and machinelearningapi modules, download and unpack in the machinelearningapi folder Pycluster which can be found at
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/software.htm#p...

Follow the instructions there for installing Pycluster on your operating system.

Next add rss feeds at /admin/content/aggregator/add/feed then run cron to download content. During cron runs is also when memetracker detects new content.

Then go to /memetracker/1 to browse memes.

And when the inevitably happens and something breaks, create an issue. :>

Thanks everyone! Feedback is more than welcome.

An updated screenshot:

Only local images are allowed.

Comments

haha! thats funny that

tjholowaychuk's picture

haha! thats funny that someone actually is using the word limit function from my sites resources. I did not test anything yet but from a quick look at the code there are certainly some conventions that you may want to follow closer:

http://drupal.org/coding-standards
http://drupal.org/project/coder

Vision Media - Victoria BC Web Design

pre-compiled pycluster?

chrisada's picture

Kyle,

I would love to help test this, but I can't build pycluster on my shared server. (gcc not allowed) Do you know of any place I can get pre-compiled version for linux? The python version is 2.4.

I'd love to help you. . .

kyle_mathews's picture

I'd love to help you figure this out but I don't know much about how to build and distribute a precompiled version of the code. It's looking like this is a problem for quite a few people. I run linux on my laptop so I searched for the complied version of Pycluster and found what I think is a compiled version. But I have no idea what files to give to you to properly run memetracker on your shared server.

I'm going to contact the author of Pycluster for help but if anyone else listening is a Linux expert and can walk me through assembling a compiled version or give me more insight to if that's even possible, I'd be much appreciated.

Ideally of course, everything needed would be bundled together in the memetracker module which you'd just upload and run with.

Kyle Mathews

Kyle Mathews

I tried to install Pycluster

ahales@drupal.org's picture

I tried to install Pycluster on my shared host (Hostator)but was denied access to gcc. I then contacted hosting support and requested assistance. They attempted to install the Pycluster module but I was contacted with this response:

"Hello,

Compiler access is not available on shared accounts. I tried to install this module for you but it showed.

python/clustermodule.c:2577: warning: initialization makes pointer from integer without a cast
python/clustermodule.c:2583: error: syntax error before ')' token
python/clustermodule.c: In function initcluster':
python/clustermodule.c:2645: warning: implicit declaration of function
import_array'
error: command 'gcc' failed with exit status 1

Are you aware of a fix to this error ?"

I am wondering whether the author of Pyluster is aware of this issue or whether this is a problem with the version of gcc that is on ths Hostgator server.

Is anyone aware of a workaround for this problem?

I think any attempt to distribute a pre-compiled version will be problematic as the module would have to be compiled for every combination of operating system in their various versions and distributions together with the cpu its running on.

Released new version with several bug fixes

kyle_mathews's picture

For everyone keeping score, I pushed up some changes to CVS this morning that fixed several critical problems. The biggest was I discovered I had hard coded the path to the cluster.py script for my dev machine. . . That was fixed along with a number of other little things.

The other big change was adding a help screen at memetracker/1 that displays when there are no memes. Instead of showing just nothing, it offers suggestions about why no memes are showing.

The updated package should be available later today -- but if you're desperate, you can check the changes directly from the repository via cvs or download directly from the web here and here. Anything with a revision of 1.2 or higher needs to be downloaded.

Kyle Mathews

Kyle Mathews