Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjray (1649)

rjray
  (email not shown publicly)
http://www.rjray.org/
AOL IM: rjrayperl (Add Buddy, Send Message)
Yahoo! ID: rjray_perl (Add User, Send Message)
Jabber: rjray@jabber.org
+ -

  Comment: Fostering Laziness :-) (Score 1) on 2009.12.17 1:27

by rjray on 2009.12.17 1:27 (#71408)
Attached to: gitPAN is complete!

I've been meaning to put Perl-RPM onto git for a while, now, and been mostly held back by the fact that I never converted it from CVS to Subversion. Now that you have as much history as I could realistic need, is there an easy way to just outright seed a new repo from the gitPAN repo? Not just filling in holes like you did with David, but essentially cloning it (without it being treated as a repo clone)...

Read More 4 comments
Comments: 4
+ -

  Comment: Versus RPC::XML? (Score 1) on 2009.03.18 18:04

by rjray on 2009.03.18 18:04 (#67857)
Attached to: XML::RPC and XML::Feed

I noticed on CPAN ratings you mentioned that other XML-RPC modules had problems such as dying on missing elements. Did you have these problems with RPC::XML? If so, could you share them so that I can see about fixing them?

(Though, if the problem is in handling a message that isn't valid XML-RPC, I'm not sure what I should do... are you saying that XML::RPC accepts messages that don't actually conform to the spec?

Read More 2 comments
Comments: 2
+ -

  Comment: Re:Here's an implementation (Score 1) on 2009.03.14 20:27

by rjray on 2009.03.14 20:27 (#67808)
Attached to: Env::Export

I can actually think of ways this can be useful (beyond what others in this thread have dismissed), and might actually craft something as a proof-of-concept. Do you mind if I borrow/adapt some of your code as a starting point?

Read More 15 comments
Comments: 15
+ -

  Comment: Env (Score 1) on 2009.03.13 16:35

by rjray on 2009.03.13 16:35 (#67793)
Attached to: Env::Export

The closest I can find is the "Env" module, which ties environment variables to scalars or arrays, for sugary purposes.

Let me know if you don't think you'll get around to this, and I'll be glad to throw something up on GitHub :-).

Read More 15 comments
Comments: 15
+ -

  Twitter-pated on 2007.09.21 17:46 rjray

Submitted by rjray on 2007.09.21 17:46
User Journal
rjray writes "I have a (reasonably stable) Twitter-bot up and running. Like the existing "cpan" Twitter, it spools CPAN uploads to Twitter from the RDF that www.cpan.org publishes. Unlike "cpan" (which was apparently shut-off a little over a month ago anyway), it provides links: The released package itself is linked, and behind the scenes the MANIFEST file is scanned for something matching /(changes|changelog|changelist)\b/i and if found is also linked. If no change-file is found, README is linked to instead (unless there's no README, in which case you just get the one link instead of two).

The bot polls the RDF URL every 15min or so, using an If-Modified-Since header. Any new CPAN uploads are queued up for posting to Twitter, spaced out evenly over the 15min waiting period (i.e., if there are two new CPAN uploads then tweet fires immediately and the second waits roughly 7.5 minutes to fire... fifteen new uploads would fire at roughly one-minute intervals) so that it doesn't suddenly spam your Twitter client.

This is still largely alpha, though the code itself is reasonably clean (one must love being borderline-OCD). I want to add better local logging, reading of direct messages to interpret them as commands, stats tracking, etc. to it yet. Also, I plan to abstract the overall architecture moreso than it currently is, and CPAN that as a Twitterbot sort of class/mini-framework. For that matter, the structure of the message that gets sent as a tweet is itself vulnerable to change yet, as I'm not 100% happy with it (but as far as I know, I can't use HTML for formatting, so I can't (for example) link the module name to the CPAN page, I can only send the URL in the message body and rely on clients like IM or Twitterific to hot-link the text).

For now, though, you can get your CPAN addiction fed via Twitter at:

(I'm also thinking about changing the name to "cpan_with_links". Alternately, if the current owner of the "cpan" Twitter account wants to talk, feel free to e-mail me.)

"
Read More 0 comments

+ -

  Journal: Twitter-pated on 2007.09.21 17:46

Journal by rjray on 2007.09.21 17:46
User Journal

I have a (reasonably stable) Twitter-bot up and running. Like the existing "cpan" Twitter, it spools CPAN uploads to Twitter from the RDF that www.cpan.org publishes. Unlike "cpan" (which was apparently shut-off a little over a month ago anyway), it provides links: The released package itself is linked, and behind the scenes the MANIFEST file is scanned for something matching /(changes|changelog|changelist)\b/i and if found is also linked. If no change-file is found, README is linked to instead (unless there's no README, in which case you just get the one link instead of two).

The bot polls the RDF URL every 15min or so, using an If-Modified-Since header. Any new CPAN uploads are queued up for posting to Twitter, spaced out evenly over the 15min waiting period (i.e., if there are two new CPAN uploads then tweet fires immediately and the second waits roughly 7.5 minutes to fire... fifteen new uploads would fire at roughly one-minute intervals) so that it doesn't suddenly spam your Twitter client.

This is still largely alpha, though the code itself is reasonably clean (one must love being borderline-OCD). I want to add better local logging, reading of direct messages to interpret them as commands, stats tracking, etc. to it yet. Also, I plan to abstract the overall architecture moreso than it currently is, and CPAN that as a Twitterbot sort of class/mini-framework. For that matter, the structure of the message that gets sent as a tweet is itself vulnerable to change yet, as I'm not 100% happy with it (but as far as I know, I can't use HTML for formatting, so I can't (for example) link the module name to the CPAN page, I can only send the URL in the message body and rely on clients like IM or Twitterific to hot-link the text).

For now, though, you can get your CPAN addiction fed via Twitter at:

(I'm also thinking about changing the name to "cpan_with_links". Alternately, if the current owner of the "cpan" Twitter account wants to talk, feel free to e-mail me.)

Read More 1 comments
Comments: 1