From champoux at pythian.com Tue Nov 9 06:25:32 2010 From: champoux at pythian.com (Yanick Champoux) Date: Tue, 09 Nov 2010 09:25:32 -0500 Subject: [Ottawa-pm] Perl @ FOSDEM 2011 - Call for speakers Message-ID: <4CD959DC.1090802@pythian.com> Forwarded from pm_groups, in the chance one of us will be in Europe this winter... Joy, `/anick -v-v-v-v-v-v-v-v-v-v-v-v-v-v-v FOSDEM is one of the biggest Free and Open Source event held annually in Brussels, Belgium. The expected number of visitors is around 4-5000. http://www.fosdem.org/2011/ Last year there was a Perl booth and a few Perl related talks. This year we are going to have a devroom where we will be presenting a number of Perl related talks. FOSDEM will take place on the 5 - 6th February 2011. The Perl devroom will be on Sunday 6th February from 09:00 to 17:00.. We're looking for speakers to submit talks for inclusion in the program. In our conversations with the FOSDEM visitors last year we found that while many were using Perl or interested in Perl, almost none of them have ever attended a Perl Workshop or a YAPC. Hence this is an opportunity to show the latest developments in the Perl world to a wider audience. A number of topics that might be interesting: * Moose, the Object Oriented system of Perl * Dancer and Mojolicous, the new light-weight web frameworks * New features of Perl (5.10 and 5.12) * How to run a new version of Perl on an older system * Testing Perl code and using Perl for automated testing * Writing games in Perl * Using Perl modules without root access * Database access using Perl * Data mining with Perl * Porting legacy Perl to Modern Perl * Perl 6 Presenting a Perl based software such s a * Content Management System * Bug tracking software * ... Talks can be 15, 30 or 45 min long including (!) 2-3 minutes switching time between talks. Please submit your proposals to: events at lists.perlfoundation.org and include the following information: * Your name * The title of your talk (please be descriptive, as titles will be listed together with ~250 talks from other projects) * A short abstract of one or two paragraphs * A short biography introducing yourself * Links to related websites/blogs etc. The deadline for submissions is 20th December 2010. The proposals will be considered by committee. If your proposal has been accepted, you will be informed by email by 27 December 2010. Coordination of the Perl presence at FOSDEM is done on the TPF wiki page: https://www.socialtext.net/perl5/index.cgi?events_2011_fosdem regards Gabor http://perl-ecosystem.org/ -- The best compliment you could give Pythian for our service is a referral. From clayton.scott at gmail.com Tue Nov 9 12:19:44 2010 From: clayton.scott at gmail.com (Clayton Scott) Date: Tue, 9 Nov 2010 15:19:44 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: <4CB0AE36.3080409@babyl.dyndns.org> References: <4CB0AE36.3080409@babyl.dyndns.org> Message-ID: On Sat, Oct 9, 2010 at 2:02 PM, Yanick Champoux wrote: > On 10/06/2010 01:39 PM, Clayton Scott wrote: >> >> The game play is free and it's fun, I started playing on the weekend. > > ? ? ? ?Argh! I soooo don't need an additional time-black hole. > > ? ? ? ?But I must say, the game is very shiny. > > ? ? ? ?Oh, and I'm the Yenzian Alliance, if you can find me. :-) I haven't found you yet :) The Game has turned out to be very cool. There is an API for automating away a whole bunch the drudgery letting you concentrate on the strategy which is pretty appealing in one of the games. Of course a bunch of tools have been written in perl and are open source, you can grab them here: Also if anyone else wante to join the Lacuna Expanse use the following link and you'll get a home world relatively close to mine. I promise to be nice: https://us1.lacunaexpanse.com/#referral=86744710-a984-3540-a1c8-4b462c5d3982 > ? ? ? ?Sounds like a cross between Texans and the Tusken (sp?) Raiders from > Star Wars. ?Not a very good sign for a peaceful civilization to trade with. > :-) Would a rose by any other name smell as sweet? :) Clayton -- Clayton Scott clayton.scott at gmail.com From clayton.scott at gmail.com Tue Nov 9 12:26:00 2010 From: clayton.scott at gmail.com (Clayton Scott) Date: Tue, 9 Nov 2010 15:26:00 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: References: <4CB0AE36.3080409@babyl.dyndns.org> Message-ID: On Tue, Nov 9, 2010 at 3:19 PM, Clayton Scott wrote: > Of course a bunch of tools have been written in perl and are open > source, you can grab them here: I forgot the link to github for the client tools: https://github.com/tsee/Games-Lacuna-Client Look in the examples folder: governor.pl automates away a lot of resource collecting/building drugrery -- Clayton Scott clayton.scott at gmail.com From dmo at acm.org Tue Nov 9 13:00:09 2010 From: dmo at acm.org (Dave O'Neill) Date: Tue, 9 Nov 2010 16:00:09 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: References: <4CB0AE36.3080409@babyl.dyndns.org> Message-ID: <20101109210008.GB9473@chicken.dmo.ca> On Tue, Nov 09, 2010 at 03:19:44PM -0500, Clayton Scott wrote: > The Game has turned out to be very cool. There is an API for > automating away a whole bunch the drudgery letting you concentrate on > the strategy which is pretty appealing in one of the games. I had a lot of fun automating away the drudgery in another web-based strategy game (Tribal Wars) a few years ago. The constraints were a bit different -- the game allowed add-on tools, browser extensions, etc, but did not provide API access and forbade unattended bots. So, how to automate the boring bits without violating their ToS? The solution was to write a pluggable proxy to intercept traffic to and from the game server with HTTP::Proxy. The plugins scraped specific pages for useful game state and inserted into a local database of all game activity. Then, some additional pages (force-served in the game domain via the proxy) used the known state to plan future actions, and provide simple links for kicking them off (ie: optimized raids on nearby villages based on available units and the target's expected replenishment time, building more units once resources were available, etc). Of course, once I ran out of features to add, I quickly got bored with the game and stopped playing. :) I've still got the proxy code somewhere if one of you Lacuna players might find it useful. Cheers, Dave From champoux at pythian.com Wed Nov 10 09:36:12 2010 From: champoux at pythian.com (Yanick Champoux) Date: Wed, 10 Nov 2010 12:36:12 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: References: <4CB0AE36.3080409@babyl.dyndns.org> Message-ID: <4CDAD80C.7040502@pythian.com> On 11/09/10 15:19, Clayton Scott wrote: > >> Oh, and I'm the Yenzian Alliance, if you can find me. :-) > I haven't found you yet :) I'm not too surprised. At the risk of making a truly nausea-inducing pun, my performance in the game is not exactly stellar. I'm still trying to get my first colony off the planet. >> Sounds like a cross between Texans and the Tusken (sp?) Raiders from >> Star Wars. Not a very good sign for a peaceful civilization to trade with. >> :-) > Would a rose by any other name smell as sweet? > It would. But one can still expect a cultivar named "thorny death" to be potentially more prickly than one called "fluffy kitty ears". ;-) Joy, `/anick From yanick at babyl.dyndns.org Sun Nov 14 12:30:36 2010 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Sun, 14 Nov 2010 15:30:36 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: <20101109210008.GB9473@chicken.dmo.ca> References: <4CB0AE36.3080409@babyl.dyndns.org> <20101109210008.GB9473@chicken.dmo.ca> Message-ID: <4CE046EC.1040200@babyl.dyndns.org> On 11/09/2010 04:00 PM, Dave O'Neill wrote: > strategy game (Tribal Wars) a few years ago. The constraints were a bit > different -- the game allowed add-on tools, browser extensions, etc, but > did not provide API access and forbade unattended bots. [..] > Of course, once I ran out of features to add, I quickly got bored with > the game and stopped playing. :) Typical of the hacker mindset. The problem, whatever it might be, is usually just a good excuse to tinker up a cool solution. :-) It's like, one of my back-burner project is to write a web browser/SMIL engine for the space battle game "Full Thrust". It's not really because I want to play the game. It's really writing the engine that sounds fun. :-) > The solution was to write a pluggable proxy to intercept traffic to and > from the game server with HTTP::Proxy. The plugins scraped specific > pages for useful game state and inserted into a local database of all > game activity. Then, some additional pages (force-served in the game > domain via the proxy) used the known state to plan future actions, and > provide simple links for kicking them off (ie: optimized raids on nearby > villages based on available units and the target's expected > replenishment time, building more units once resources were available, > etc). Aaaah, that slightly reminds me of the tools for the BBS game TradeWar. > I've still got the proxy code somewhere if one of you Lacuna players > might find it useful. If it's somewhere accessible, just throw in the link. We never can have too many code snippets. :-) Joy, `/anick From dmo at dmo.ca Mon Nov 15 21:43:12 2010 From: dmo at dmo.ca (Dave O'Neill) Date: Tue, 16 Nov 2010 00:43:12 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: <4CE046EC.1040200@babyl.dyndns.org> References: <4CB0AE36.3080409@babyl.dyndns.org> <20101109210008.GB9473@chicken.dmo.ca> <4CE046EC.1040200@babyl.dyndns.org> Message-ID: <20101116004312.2bd85574@lagavulin.i.dmo.ca> On Sun, 14 Nov 2010 15:30:36 -0500 Yanick Champoux wrote: > If it's somewhere accessible, just throw in the link. We never can > have too many code snippets. :-) Sure... interested parties can fetch the code from http://www.dmo.ca/projects/assorted-crap/tw.git If anyone finds a use for it, let me know. Cheers, Dave From clayton.scott at gmail.com Tue Nov 16 06:10:18 2010 From: clayton.scott at gmail.com (Clayton Scott) Date: Tue, 16 Nov 2010 09:10:18 -0500 Subject: [Ottawa-pm] Lacuna Expanse: A massively multiplayer online strategy game built with perl In-Reply-To: <20101109210008.GB9473@chicken.dmo.ca> References: <4CB0AE36.3080409@babyl.dyndns.org> <20101109210008.GB9473@chicken.dmo.ca> Message-ID: On Tue, Nov 9, 2010 at 4:00 PM, Dave O'Neill wrote: > I had a lot of fun automating away the drudgery in another web-based > strategy game (Tribal Wars) a few years ago. ?The constraints were a bit > different -- the game allowed add-on tools, browser extensions, etc, but did > not provide API access and forbade unattended bots. Yeah, there is a full REST API and all of the Graphical UIs use that same API exclusively. A couple of times I was able to write a small utility that took advantage of parts of the API that the UI didn't implement for a week or more after the release. -- Clayton Scott clayton.scott at gmail.com From champoux at pythian.com Tue Nov 16 06:49:59 2010 From: champoux at pythian.com (Yanick Champoux) Date: Tue, 16 Nov 2010 09:49:59 -0500 Subject: [Ottawa-pm] The "Modern Perl" book is out Message-ID: <4CE29A17.3010903@pythian.com> Hey all, chromatic's "Modern Perl" book is out and available in both a dead-tree format and a free (yes, free!) PDF format: http://www.onyxneon.com/books/modern_perl/index.html If you lost touch with what are the developments in Perl in the last few years, this book has been written for you. And if you are already a Moose-ridin', Catalyst-whippin', 'Autodie'-happy TDD ninja, the book will still be a perfect companion piece to your Camel -- if nothing else providing the ultimate one-two punch for all of your future coop students. :-) Joy, `/anick -- The best compliment you could give Pythian for our service is a referral. From msoulier at digitaltorque.ca Tue Nov 16 06:56:16 2010 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Tue, 16 Nov 2010 09:56:16 -0500 Subject: [Ottawa-pm] The "Modern Perl" book is out In-Reply-To: <4CE29A17.3010903@pythian.com> References: <4CE29A17.3010903@pythian.com> Message-ID: <20101116145615.GX2784@digitaltorque.ca> On 16/11/10 Yanick Champoux said: > Hey all, > > chromatic's "Modern Perl" book is out and available in both a > dead-tree format and a free (yes, free!) PDF format: > http://www.onyxneon.com/books/modern_perl/index.html > > If you lost touch with what are the developments in Perl in the last > few years, this book has been written for you. And if you are already a > Moose-ridin', Catalyst-whippin', 'Autodie'-happy TDD ninja, the book will > still be a perfect companion piece to your Camel -- if nothing else > providing the ultimate one-two punch for all of your future coop > students. :-) Cool, thanks for sharing. Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From yanick at babyl.dyndns.org Tue Nov 16 19:44:23 2010 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Tue, 16 Nov 2010 22:44:23 -0500 Subject: [Ottawa-pm] The "Modern Perl" book is out In-Reply-To: <20101116145615.GX2784@digitaltorque.ca> References: <4CE29A17.3010903@pythian.com> <20101116145615.GX2784@digitaltorque.ca> Message-ID: <4CE34F97.7040506@babyl.dyndns.org> On 11/16/2010 09:56 AM, Michael P. Soulier wrote: > Cool, thanks for sharing. Pleasure's all mine. Incidentally, any of you guys starting playing with Plack? It has been on the periphery of my radar for a while, now, and my recent dabbling in Dancer really gave me a strong motivation to learn more about it. Joy, `/anick From yanick at babyl.dyndns.org Tue Nov 23 15:45:57 2010 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Tue, 23 Nov 2010 18:45:57 -0500 Subject: [Ottawa-pm] Fwd: [pm_groups] Perl Oasis 2011 -- Orlando Perl Workshop Message-ID: <4CEC5235.7010202@babyl.dyndns.org> The Organizers for Perl Oasis -- The Orlando Perl Workshop would like to announce the opening of the official Call for Speakers. The Orlando Perl Workshop is a 1 day workshop focusing on Modern Perl. It will be held on January 15th at the Four Points Sheraton, Orlando Florida. Last year we had speakers from 3 continents giving talks on subjects including Moose, Plack/PSGI, Bread::Board, DBIx::Class, Catalyst, and more. More information can be found at the website http://www.perloasis.info. From yanick at babyl.dyndns.org Tue Nov 23 15:49:37 2010 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Tue, 23 Nov 2010 18:49:37 -0500 Subject: [Ottawa-pm] Fwd: YAPC::NA 2011 -- Asheville, NC Message-ID: <4CEC5311.5040106@babyl.dyndns.org> We have been remiss in announcing more widely that the Call for Speakers[1] and Call for Sponsors[2] for YAPC::NA 2011 is open. For those of you unaware YAPC::NA 2011 will be held June 27th-29th in Asheville, NC. More information about YAPC::NA can be found on the website http://yapc2011.us. [1]: http://www.yapc2011.us/yn2011/call_for_speakers.html [2]: http://www.yapc2011.us/yn2011/sponsorship.html From yanick at babyl.dyndns.org Sun Nov 28 19:59:18 2010 From: yanick at babyl.dyndns.org (Yanick Champoux) Date: Sun, 28 Nov 2010 22:59:18 -0500 Subject: [Ottawa-pm] Catalyst::Plugin::MemoryUsage Message-ID: <4CF32516.4040701@babyl.dyndns.org> Hey all, Usually I don't broadcast my new modules on the list, but this time I thought it might be interesting for some, as it's using Memory::Usage, written by Dave O'Neill (hi Dave!). As its name may hint, this module is a Catalyst plugin to profile the memory taken by the app, just like Catalyst::Stats deal with time profiling. It's not on CPAN yet (but should be in the next few days), but it's already available on GitHub[1]. Also, a blog entry about it should appear Real Soon(tm) on the Pythian blog[2]. Joy, `/anick [1] http://github.com/yanick/Catalyst-Plugin-MemoryUsage [2] http://www.pythian.com/news/author/champoux/ From clayton.scott at gmail.com Mon Nov 29 05:30:30 2010 From: clayton.scott at gmail.com (Clayton Scott) Date: Mon, 29 Nov 2010 08:30:30 -0500 Subject: [Ottawa-pm] Catalyst::Plugin::MemoryUsage In-Reply-To: <4CF32516.4040701@babyl.dyndns.org> References: <4CF32516.4040701@babyl.dyndns.org> Message-ID: On Sun, Nov 28, 2010 at 10:59 PM, Yanick Champoux wrote: > Hey all, > > ? ? ? ?Usually I don't broadcast my new modules on the list, but this time I > thought it might be interesting for some, as it's using Memory::Usage, > written by Dave O'Neill (hi Dave!). Very interesting. I'm looking forward to playing with it once it's on the CPAN. Clayton -- Clayton Scott clayton.scott at gmail.com From champoux at pythian.com Mon Nov 29 06:01:26 2010 From: champoux at pythian.com (Yanick Champoux) Date: Mon, 29 Nov 2010 14:01:26 +0000 Subject: [Ottawa-pm] Catalyst::Plugin::MemoryUsage In-Reply-To: References: <4CF32516.4040701@babyl.dyndns.org> Message-ID: <110687716-1291039289-cardhu_decombobulator_blackberry.rim.net-1170825230-@bda360.bisx.prod.on.blackberry> Wait no more! The first version has been released on cpan and the blog entry has been unleashed. In all cases, let me know how it works for you. Of course, it's a very young module, so caveat emptor and patches are very much welcome. :-) Joy, Yanick sent via my blackberry -----Original Message----- From: Clayton Scott Sender: ottawa-pm-bounces+champoux=pythian.com at pm.org Date: Mon, 29 Nov 2010 08:30:30 To: ottawa-pm Subject: Re: [Ottawa-pm] Catalyst::Plugin::MemoryUsage On Sun, Nov 28, 2010 at 10:59 PM, Yanick Champoux wrote: > Hey all, > > ? ? ? ?Usually I don't broadcast my new modules on the list, but this time I > thought it might be interesting for some, as it's using Memory::Usage, > written by Dave O'Neill (hi Dave!). Very interesting. I'm looking forward to playing with it once it's on the CPAN. Clayton -- Clayton Scott clayton.scott at gmail.com _______________________________________________ Ottawa-pm mailing list Ottawa-pm at pm.org http://mail.pm.org/mailman/listinfo/ottawa-pm From champoux at pythian.com Mon Nov 29 09:37:13 2010 From: champoux at pythian.com (Yanick Champoux) Date: Mon, 29 Nov 2010 12:37:13 -0500 Subject: [Ottawa-pm] Catalyst::Plugin::MemoryUsage In-Reply-To: <20101129171056.GD30762@chicken.dmo.ca> References: <4CF32516.4040701@babyl.dyndns.org> <20101129171056.GD30762@chicken.dmo.ca> Message-ID: <4CF3E4C9.9010009@pythian.com> (yes, Dave's answer has been caught in authorization limbo. I'll set it free it as soon as I get home tonight) On 11/29/10 12:10, Dave O'Neill wrote: > Usually I don't broadcast my new modules on the list, but this time I > thought it might be interesting for some, as it's using > Memory::Usage, written by Dave O'Neill (hi Dave!). > > Good to know that someone besides me finds it useful! So far, it's doing exactly what I needed it to do. :-) > A question, though... the stats you show on the blog post, are they > actual values, or did you sanitize them somehow? It looks like > there's something wrong with the report. Well spotted. Yes, I removed one line of the report. So I think your code is okay. You can breath again. ;-) Cheers, `/anick From dmo at acm.org Mon Nov 29 09:10:56 2010 From: dmo at acm.org (Dave O'Neill) Date: Mon, 29 Nov 2010 12:10:56 -0500 Subject: [Ottawa-pm] Catalyst::Plugin::MemoryUsage In-Reply-To: <4CF32516.4040701@babyl.dyndns.org> References: <4CF32516.4040701@babyl.dyndns.org> Message-ID: <20101129171056.GD30762@chicken.dmo.ca> On Sun, Nov 28, 2010 at 10:59:18PM -0500, Yanick Champoux wrote:S > Usually I don't broadcast my new modules on the list, but this time I > thought it might be interesting for some, as it's using Memory::Usage, > written by Dave O'Neill (hi Dave!). Good to know that someone besides me finds it useful! A question, though... the stats you show on the blog post, are they actual values, or did you sanitize them somehow? It looks like there's something wrong with the report. For example: time vsz ( diff) rss ( diff) shared ( diff) code ( diff) data ( diff) [...] 0 45304 ( 0) 38640 ( 0) 3448 ( 0) 1112 ( 0) 35168 ( 0) after Galuga::Controller::Root : _AUTO 0 46004 ( 0) 39268 ( 0) 3456 ( 0) 1112 ( 0) 35868 ( 0) after Galuga::Controller::Entry : entry/index [...] You can see that vsz, rss, shared, and data all increased, but the diff column doesn't show it. I'm just wondering if I've got a bug somewhere. Cheers, Dave