Friends Groups analyzer

Feb 22, 2006 20:01

For about 8 months, I've had this little script laying around, but I just now got 'round to fixing it up and making it suitable for public consumption. About 8 months ago, I had a need (long since forgotten) to figure out which posts I had posted using which friends groups. There's no easy way to do this when you have well over a thousand entries ( Read more... )

Leave a comment

Comments 14

mpnolan February 24 2006, 18:20:42 UTC
I believe there's a program to package up a Perl program + modules into a .exe.

Reply

vanbeast February 24 2006, 18:28:45 UTC
I've seen perl2exe from Indigo Star, but didn't have a ton of luck when I tried it last. Next time I'm by my windows machine I'll give it another shot.

Reply

vanbeast February 24 2006, 19:13:24 UTC
Problem is that some of the required modules are not available via ActiveState's ppm for windows and I can't find any info on google about them. GDBM_File to be specific. It's base on unix systems but not included in ActiveState's windows perl.

Reply

GDBM_File & ActiveState Perl jin_n_juice April 4 2007, 15:38:44 UTC
more than a year late but thought I'd drop you a comment on this anyway. I was just trying to run jbackup.pl and ran into this problem on Win32.

You might want to know that you can get GDBM_File for Win32 using PPM at:
http://homepage2.nifty.com/kipp/perl/packages/5.8/

Reply


wetnun February 25 2006, 02:46:56 UTC
Could always create a quick form with like 3 dropdowns. You know, like:

What is your quest:
What is your favorite color:
How do you intiate an object in Perl:
or
What does "$word =~s#(^.)(.*)#$2$1ay#gi;" do:

That should weed out a lot of people. :)

Reply


(The comment has been removed)

vanbeast February 26 2006, 18:39:49 UTC
oops, my mistake. Looks like perl is installed fine but you need to install the GDBM_File module. I can walk you through that if you don't know how :)

Reply

(The comment has been removed)

vanbeast February 28 2006, 06:47:12 UTC
Hrm. I thought this would be easy... but it's not.

GDBM_File is part of the standard Perl distribution. Why it's not in OSX is a mystery to me and I can't find much info on Google. It'd be possible to do a manual installation (ie, not from CPAN) but I don't really know how.

I looked on Apple's developer site but found little info. I honestly don't know what to say at this point. I'm going to look into adapting jbackup.pl to use a more common database backend, but for now there's nothing I can do.

Sorry.

Reply


angrykeyboarder March 9 2006, 13:42:02 UTC
OK, so I got a list as you've described. Now what. Each link is a random post. What am I missing?

Reply

vanbeast March 9 2006, 15:37:52 UTC
What do you mean "now what"? The list shows you your friends groups, and the posts in each section shows you which posts are in that group.

Reply

angrykeyboarder March 9 2006, 19:14:50 UTC
Then I only got a minute fraction of my friends groups and the posts in each. I guess that's what confused me. I basically ended up with incomplete data.

Reply

vanbeast March 9 2006, 22:11:45 UTC
How many friends groups do you have? How many were displayed? Are you sure that the groups that weren't displayed have posts in them?

Try invoking it thusly:

./ljgroupanalyze.pl -j angrykeyboarder -e

That should show you all groups regardless of whether or not they have posts in them. If you can confirm that there is a post that belongs to a friends group but doesn't show up that way, then we've got a problem and we can take it from there.

Thanks for checking it out, I want to make it work as best I can.

Reply


Leave a comment

Up