titivillus's Journal http://use.perl.org/~titivillus/journal/ titivillus's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:39:41+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 titivillus's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~titivillus/journal/ Today's single Grr http://use.perl.org/~titivillus/journal/38193?from=rss AnyEvent::XMPP only installs if you go <b>notest install </b> with CPAN. Not preferable. titivillus 2008-12-31T22:11:13+00:00 journal How do I program for Jabber? http://use.perl.org/~titivillus/journal/38166?from=rss <p>I've got it in my mind that I want to be able to code some Jabber/XMPP stuff. Using Net::XMPP, I was able to get into sending stuff, but not really deal with the presence detection aspects. I looked at Net::XMPP2, but that is marked as depricated in favor of AnyEvent::XMPP. But if AnyEvent::XMPP exists, CPAN hasn't heard of it.</p><p>If you're going to program for Jabber with Perl, what modules do you use?</p> titivillus 2008-12-27T01:58:30+00:00 journal Purdue.PM Technical Meeting http://use.perl.org/~titivillus/journal/31105?from=rss We went long. Which is to say, we chose long. 5:30-8pm. 2.5 hours of Perl. There were talks on Perl 6, the basics of regular expressions and brace styles (basically pimping PerlTidy, which is well worth pimping). We had a lightning-talk bit, where I talked about 5 things I wish I knew earlier in my Perl career, and I gave the talk I generally focus on, Stupid Web Agents in Perl. It remains to be seen whether this will become a big and vibrant group, but we had a bigger callout this time than I ever saw before, so maybe this will turn out to be something. titivillus 2006-09-24T05:02:57+00:00 journal From Slashdot! http://use.perl.org/~titivillus/journal/30350?from=rss http://slashdot.org/comments.pl?sid=191563&amp;cid=15741464<blockquote><div><p> <i>"Norvig clarified that it was not Berners-Lee or his group that he was referring to <b>as incompetent, but the general user."</b> </i> Here I was, thinking we were arguing over Semantics...</p></div></blockquote><p> I <i>love</i> this.</p> titivillus 2006-07-20T04:08:35+00:00 journal GeekPAC, or League of Geeky Voters http://use.perl.org/~titivillus/journal/30299?from=rss <p>I have voted in every presidential election, every off year election, and most primaries that have occurred since I turned 18. I have been a politically active person. And, when I was 21, I interned with a group in Washington DC, where I did worked with a senator's office on legislative issues.</p><p>And then I became a geek.</p><p>Starting with the DMCA, it struck me that this group and that group and the other group have voter guides, but my group, the geek group, don't have a senator's or congressman's voting record on the issues that I find important. I did find one for a high-tech industries group, but really, do you think that Steve Jobs and Bill Gates have the same positions on these issues that Richard Stallman, Eric Raymond and you do?</p><p>So, what a person needs to do -- notice how I'm cleverly not actually volunteering for this, yet -- is keep track of geek-related legislation, record votes, then set up a web page where you can say, for example, that you live in zip code 31337, and it'll tell you that that your senators are Chambliss and Isakson, this is how they voted, and this is how you can contact them. And in this environment, we know that making web pages is easy, and the hard part is collecting the data.</p><p>This is really the first step of grassroots activism, and unless and until we get a deep-pocket pro-netNeutrality, anti-DMCA, Lessig-compliant angel, this is the way we should go.</p> titivillus 2006-07-15T17:27:20+00:00 journal A Sketchbook for an Intelligent Web Agent http://use.perl.org/~titivillus/journal/30141?from=rss <p>I was looking through some stuff online and it struck me that an Intelligent Agent architecture would be fairly easy to implement, using only Open Source/Free Software tools. </p><p> The Agent would be running as a daemon, built using Perl and easily available Perl modules, for SOAP, CGI, AJAX and whatever else you need. Early in development, you'd have a collection of stump functions to call, and per Paul Graham, once you have a working Agent, you can add and extend functionality. </p><p> On the client side, you'd run Mozilla, and your agent communication code would run as a GreaseMonkey script set to run on every page, and probably sending the URL, REFERER and a few other points for each page. </p><p> You'd also have a Javascript-laden page on your sidebar, which uses AJAX to communicate with the Agent and present you with the data. </p><p> But what data? </p><p> I'm not actually sure yet. Depends on context. Depends on what you want. I can come up with a few usage scenarios, though. </p><p> 1) You have 5 tabs open in Mozilla. They are the HTTP 1.1 RFC, documentation on CGI::AJAX, a Javascript tutorial, an article on Perl.com and a web page you're using all the other documentation to put together. The sidebar scripting could tell you're looking at the RFC and tell the Agent, which uses a Google module to get other links to HTTP-related pages. Or it can take the data it has and know that your top 5 places to go in general are Google, Slashdot, O'Reilly, Use Perl and MySpace.com, and show links to those. Or, it can notice that the RSS for Megatokyo.com has changed and tell you that the new comic is up. I think that adding to what you can do with this framework would be easy. That is, once the framework is implemented. </p><p> Questions: 1) How easy is it to handle tabs in Javascript? Finding out how many windows and how many tabs are open, and what tab has focus, or whatever the terminology is. </p><p> 2) How easy is it to write network traffic in Javascript? It should be a mostly solved problem, with AJAX, but I'll still have to look it up. </p><p> I figure once we get four things done (javascript code for pulling info about windows and tabs, a solid system for sending browse data to the Agent, AJAX communication between the sidebar and the Agent, decent installers for each part), development can begin on the interesting part, which is deciding what the Agent actually does. </p><p> Comment if you're interested, or at least think I'm on the good kind of crack.</p> titivillus 2006-07-02T19:03:18+00:00 journal A Subject Is Required http://use.perl.org/~titivillus/journal/30135?from=rss Hi. I've read Use.Perl for a while but I just put in a login. My Perl self was energized by YAPC::NA and I feel like contributing. And Pudge is a really good musician! titivillus 2006-07-01T16:00:38+00:00 groups