On Mon, Nov 15, 2010 at 6:18 PM, Toby Inkster <m...@tobyinkster.co.uk> wrote: > I like to block subscribers that look like spammers, but it's annoying > to go through them one by one. Here's a little Perl script that goes > though your identi.ca FOAF file, finding people who are subscribed to > you but you do not reciprocate. > > For each of those people, it retrieves their RSS file and gives you a > pretty display of their account name, profile link, last five notices > posted. It then asks you for a y/n answer on whether to block them. If > you say "y", then it will block them via the Twitter-compatible API.
Very cool! I'm afraid I can't use it though, because of the language it's written in. It has two dependencies, JSON and something called RDF::TrineShortcuts. The first one is no problem. But trying to install RDF::TrineShortcuts is a patience exercise. It has a hundred of dependencies that are recursive, so you have to sit and push "y" every few minutes for it to continue. And it all just adds up, every new 10 dependencies has 5 more dependencies. And you have to confirm it all to the incredible noise of CPAN looking like it's creating random files all over my machine. It also does a occasional compile (I think?) and then finishes off some of the packages with some no-good irritating tests, those tests take ages. It took me half an hour to finish "cpan RDF::TrineShortcuts". And then, being finished, it actually fails, because one of the tests of one of the packages that's very deep into the dependency hierarchy failed. Your script looks very cool, thank you for sharing, and I'm sorry for my outburst at Perl, but I just thought I'd warn others who don't know Perl that this beautiful sounding script might be hard to run and make you install loads of files into the system that in the end just doesn't work. This is Ubuntu 10.10. -- Beste helsing, Odin Hørthe Omdal <odin.om...@gmail.com> http://velmont.no _______________________________________________ StatusNet-dev mailing list StatusNet-dev@lists.status.net http://lists.status.net/mailman/listinfo/statusnet-dev