From roberthpike at yahoo.com Thu Jan 7 12:20:17 2010 From: roberthpike at yahoo.com (Robert Pike) Date: Thu, 7 Jan 2010 12:20:17 -0800 (PST) Subject: [kw-pm] sprintf Issue Message-ID: <652555.16550.qm@web58707.mail.re1.yahoo.com> Is there a limitation on trying to format numbers using sprintf? I'm trying to format a number like 10005000035, so as to have leading zeros up to a total length of 20 such as this : print "Formatted : " . sprintf("%020d", $processId); # processId is equal to 10005000035 Is there a problem with this approach or a better way of doing it? Thanks in advance for any feedback. __________________________________________________________________ Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca From kw-pm at datademons.com Thu Jan 7 12:25:42 2010 From: kw-pm at datademons.com (Justin Wheeler) Date: Thu, 7 Jan 2010 15:25:42 -0500 (EST) Subject: [kw-pm] sprintf Issue In-Reply-To: <652555.16550.qm@web58707.mail.re1.yahoo.com> References: <652555.16550.qm@web58707.mail.re1.yahoo.com> Message-ID: d means signed decimal integer. signed decimal only goes up to 4294967295. You'd probably do best just to use it as a string at that length: printf("Formatted: %020s", $processId); Justin On Thu, 7 Jan 2010, Robert Pike wrote: > Is there a limitation on trying to format numbers using sprintf? I'm trying to format a number like 10005000035, so as to have leading zeros up to a total length of 20 such as this : > > print "Formatted : " . sprintf("%020d", $processId); # processId is equal to 10005000035 > > Is there a problem with this approach or a better way of doing it? Thanks in advance for any feedback. > > > __________________________________________________________________ > Be smarter than spam. See how smart SpamGuard is at giving junk email the boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to New Mail today or register for free at http://mail.yahoo.ca > _______________________________________________ > kw-pm mailing list > kw-pm at pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From kw-pm at datademons.com Thu Jan 7 12:29:02 2010 From: kw-pm at datademons.com (Justin Wheeler) Date: Thu, 7 Jan 2010 15:29:02 -0500 (EST) Subject: [kw-pm] sprintf Issue In-Reply-To: References: <652555.16550.qm@web58707.mail.re1.yahoo.com> Message-ID: Erm.. SIGNED. And it goes up to half that. ;) Justin On Thu, 7 Jan 2010, Justin Wheeler wrote: > d means signed decimal integer. signed decimal only goes up to 4294967295. > > You'd probably do best just to use it as a string at that length: > > printf("Formatted: %020s", $processId); > > Justin > > > On Thu, 7 Jan 2010, Robert Pike wrote: > >> Is there a limitation on trying to format numbers using sprintf? I'm trying >> to format a number like 10005000035, so as to have leading zeros up to a >> total length of 20 such as this : >> >> print "Formatted : " . sprintf("%020d", $processId); # processId is equal >> to 10005000035 >> >> Is there a problem with this approach or a better way of doing it? Thanks >> in advance for any feedback. >> >> >> __________________________________________________________________ >> Be smarter than spam. See how smart SpamGuard is at giving junk email the >> boot with the All-new Yahoo! Mail. Click on Options in Mail and switch to >> New Mail today or register for free at http://mail.yahoo.ca >> _______________________________________________ >> kw-pm mailing list >> kw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/kw-pm >> > _______________________________________________ > kw-pm mailing list > kw-pm at pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From rpjday at crashcourse.ca Tue Jan 12 07:20:08 2010 From: rpjday at crashcourse.ca (Robert P. J. Day) Date: Tue, 12 Jan 2010 10:20:08 -0500 (EST) Subject: [kw-pm] "programming perl (3rd ed)" still relevant? Message-ID: how out of date (if at all) is the 2000 3rd ed of "programming perl" with respect to perl 5.10 (the version that comes with fedora 12)? have there been any fundamental changes to the language that would make this book less than useful or misleading? or is it still sufficiently up to date? rday -- ======================================================================== Robert P. J. Day Waterloo, Ontario, CANADA Linux Consulting, Training and Kernel Pedantry. Web page: http://crashcourse.ca Twitter: http://twitter.com/rpjday ======================================================================== From eric at uc.org Tue Jan 12 09:23:33 2010 From: eric at uc.org (fishbot) Date: Tue, 12 Jan 2010 12:23:33 -0500 (EST) Subject: [kw-pm] "programming perl (3rd ed)" still relevant? In-Reply-To: References: Message-ID: Perl 5.10 did add a number of language features, this is the canonical resource: http://search.cpan.org/~dapm/perl-5.10.1/pod/perl5100delta.pod But I would say that PP3e is sufficiently up to date. There is nothing in there that would cause you to write obsolete code. Read that and scan the modern deltas, and you are fine. The 'modern perl' advocates might say that the big piece that you are missing in PP3e isn't language intrinsics, but in things like Moose and things of that elk. See http://www.modernperlbooks.com/ and you can make up your own mind. ---- original message : 2010-01-12 10:20am : Robert P. J. Day ---- > > how out of date (if at all) is the 2000 3rd ed of "programming perl" > with respect to perl 5.10 (the version that comes with fedora 12)? > have there been any fundamental changes to the language that would > make this book less than useful or misleading? or is it still > sufficiently up to date? > > rday > -- > > ======================================================================== > Robert P. J. Day Waterloo, Ontario, CANADA > > Linux Consulting, Training and Kernel Pedantry. > > Web page: http://crashcourse.ca > Twitter: http://twitter.com/rpjday > ======================================================================== > _______________________________________________ > kw-pm mailing list > kw-pm at pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From roberthpike at yahoo.com Mon Jan 18 10:54:58 2010 From: roberthpike at yahoo.com (Robert Pike) Date: Mon, 18 Jan 2010 10:54:58 -0800 (PST) Subject: [kw-pm] PerlApp Message-ID: <77560.29433.qm@web58705.mail.re1.yahoo.com> Is there anyone "here" familar with ActiveState's PerlApp application? __________________________________________________________________ Make your browsing faster, safer, and easier with the new Internet Explorer? 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ From abez at abez.ca Mon Jan 18 19:38:12 2010 From: abez at abez.ca (abez) Date: Mon, 18 Jan 2010 22:38:12 -0500 Subject: [kw-pm] Talks for this week! Message-ID: <4B552924.2010002@abez.ca> Thursday, January 21, 2010 @ 7:00 in the University of Waterloo Campus, Davis Centre room 3323. Abram (me) shall give 2+ talks! You'll learn about OpenID! Email extracting/parsing! Topic analysis and natural language processing! Subversion of OpenID 10mins+ I'll talk about the structure of OpenID, and give an overview of the protocol. As well I'll discuss how to use Net::OpenID::Server, how to make sure it is running quickly. Then I'll discuss the hoops I had to jump through on shared hosting to get it all working. Email Extractor: 10mins+ Email Extractor: I will go over an email extractor I wrote with the great help of Mail::MboxParser, which I use to analyze emails. I will go over what Mail::MboxParser has to offer, ways to clean up data, and potential uses for such an extraction. I will also discuss other modules like Mail::Box and how the modules differ, why you would use either and how you port some of the missing functionality over. (implementation driven) Optional: What's Hot and What's Not: Windowed Developer Topic Analysis: 20mins+ This talk will go over the idea of topic analysis which is a technique you can apply to datasets consisting mostly of text. This work was presented at ICSM 2009 this year in Edmonton. What's Hot and What's Not: Windowed Developer Topic Analysis As development on a software project progresses, developers shift their focus between different topics and tasks many times. Managers and newcomer developers often seek ways of understanding what tasks have recently been worked on and how much effort has gone into each; for example, a manager might wonder what unexpected tasks occupied their team's attention during a period when they were supposed to have been implementing new features. Tools such as Latent Dirichlet Allocation (LDA) and Latent Semantic Indexing (LSI) can be used to extract a set of independent topics from a corpus of commit-log comments. Previous work in the area has created a single set of topics by analyzing comments from the entire lifetime of the project. In this paper, we propose windowing the topic analysis to give a more nuanced view of the system's evolution. By using a defined time-window of, for example, one month, we can track which topics come and go over time, and which ones recur. We propose visualizations of this model that allows us to explore the evolving stream of topics of development occurring over time. We demonstrate that windowed topic analysis offers advantages over topic analysis applied to a project's lifetime because many topics are quite local. (slides and colors wowee, interactive in terms of questions or tutorial aspect only) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From roberthpike at yahoo.com Wed Jan 20 06:11:41 2010 From: roberthpike at yahoo.com (Robert Pike) Date: Wed, 20 Jan 2010 06:11:41 -0800 (PST) Subject: [kw-pm] Crypt::DES_EDE3 Message-ID: <842951.31152.qm@web58705.mail.re1.yahoo.com> Anyone know where I can grab this module (Crypt::DES_EDE3), using ppm, for Windows 2003? __________________________________________________________________ Looking for the perfect gift? Give the gift of Flickr! http://www.flickr.com/gift/ From daniel at coder.com Wed Jan 20 17:00:57 2010 From: daniel at coder.com (Daniel R. Allen) Date: Wed, 20 Jan 2010 20:00:57 -0500 (EST) Subject: [kw-pm] Talks for this week! In-Reply-To: <4B552924.2010002@abez.ca> Message-ID: A reminder about tomorrow's Mongers Meeting at 7pm. The usual: http://kw.pm.org/wiki/index.cgi?PizzaList for tempting, hot pizza- deadline 5:30 pm tomorrow; And see below for tempting, hot talks. See you tomorrow! -Daniel On Mon, 18 Jan 2010, abez wrote: > Thursday, January 21, 2010 @ 7:00 in the University of Waterloo Campus, > Davis Centre room 3323. > > Abram (me) shall give 2+ talks! > > You'll learn about OpenID! Email extracting/parsing! Topic analysis and > natural language processing! > > Subversion of OpenID 10mins+ > > I'll talk about the structure of OpenID, and give an overview of the > protocol. As well I'll discuss how to use Net::OpenID::Server, how to > make sure it is running quickly. Then I'll discuss the hoops I had to > jump through on shared hosting to get it all working. > Email Extractor: 10mins+ > > Email Extractor: I will go over an email extractor I wrote with the > great help of Mail::MboxParser, which I use to analyze emails. I will go > over what Mail::MboxParser has to offer, ways to clean up data, and > potential uses for such an extraction. > > I will also discuss other modules like Mail::Box and how the modules > differ, why you would use either and how you port some of the missing > functionality over. > > (implementation driven) > Optional: What's Hot and What's Not: Windowed Developer Topic > > Analysis: 20mins+ > > This talk will go over the idea of topic analysis which is a > technique you can apply to datasets consisting mostly of text. This > work was presented at ICSM 2009 this year in Edmonton. > > > What's Hot and What's Not: Windowed Developer Topic Analysis > > As development on a software project progresses, developers shift their > focus between different topics and tasks many times. Managers and > newcomer developers often seek ways of understanding what tasks have > recently been worked on and how much effort has gone into each; for > example, a manager might wonder what unexpected tasks occupied their > team's attention during a period when they were supposed to have been > implementing new features. Tools such as Latent Dirichlet Allocation > (LDA) and Latent Semantic Indexing (LSI) can be used to extract a set of > independent topics from a corpus of commit-log comments. Previous work > in the area has created a single set of topics by analyzing comments > from the entire lifetime of the project. In this paper, we propose > windowing the topic analysis to give a more nuanced view of the system's > evolution. By using a defined time-window of, for example, one month, we > can track which topics come and go over time, and which ones recur. We > propose visualizations of this model that allows us to explore the > evolving stream of topics of development occurring over time. We > demonstrate that windowed topic analysis offers advantages over topic > analysis applied to a project's lifetime because many topics are quite > local. > > (slides and colors wowee, interactive in terms of questions or tutorial > aspect only) > > > > From tyler.slijboom at gmail.com Fri Jan 22 19:04:59 2010 From: tyler.slijboom at gmail.com (Tyler Slijboom) Date: Fri, 22 Jan 2010 22:04:59 -0500 Subject: [kw-pm] Thanks for the talk yesterday Message-ID: <7acd85901001221904ofaa60fdjc3b2518a3a051c5f@mail.gmail.com> Thanks everyone for the warm welcome. I would be interested in participating in a talk about the latest on Perl 6, but I honestly do not think I can have it ready for the February Talk. -- Sincerely, Tyler Slijboom From abram.hindle at softwareprocess.es Fri Jan 22 19:35:02 2010 From: abram.hindle at softwareprocess.es (Abram Hindle) Date: Fri, 22 Jan 2010 22:35:02 -0500 Subject: [kw-pm] Thanks for the talk yesterday In-Reply-To: <7acd85901001221904ofaa60fdjc3b2518a3a051c5f@mail.gmail.com> (sfid-20100122_220707_573033_A4EEB9B0) References: <7acd85901001221904ofaa60fdjc3b2518a3a051c5f@mail.gmail.com> (sfid-20100122_220707_573033_A4EEB9B0) Message-ID: <4B5A6E66.5000301@softwareprocess.es> Thank you for attending. Your talk doesn't need slides, often presenters will just have an editor open and a terminal and just eval or run various scripts. So if all you have is working code that is interesting or fun and uses new perl 6 features, a walk through of that would be sufficient. A couple of lines (even tests!) about one operator would do as well :D If you think you only have 10 minutes then so be it, we can get other presenters to round out the rest of the meeting. abram Tyler Slijboom wrote: > Thanks everyone for the warm welcome. I would be interested in > participating in a talk about the latest on Perl 6, but I honestly do > not think I can have it ready for the February Talk. > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: From eric at uc.org Sun Jan 31 10:12:48 2010 From: eric at uc.org (fishbot) Date: Sun, 31 Jan 2010 13:12:48 -0500 (EST) Subject: [kw-pm] Thanks for the talk yesterday In-Reply-To: <4B5A6E66.5000301@softwareprocess.es> References: <7acd85901001221904ofaa60fdjc3b2518a3a051c5f@mail.gmail.com> (sfid-20100122_220707_573033_A4EEB9B0) <4B5A6E66.5000301@softwareprocess.es> Message-ID: Unless someone objects, I'll do a 15-20 minute talk in February, provided there is at least one additional 10-20 minute talk. Tyler: as Abram says, a handful of code examples of how an operator or construct works would fit this bill. My proposed talk is provisionally titled: "Modern Perl - Module, Modernity and Marketing" Don't worry: It isn't advocacy. ---- original message : 2010-01-22 10:35pm : Abram Hindle ---- > Thank you for attending. > > Your talk doesn't need slides, often presenters will just have an editor > open and a terminal and just eval or run various scripts. So if all you > have is working code that is interesting or fun and uses new perl 6 > features, a walk through of that would be sufficient. > > A couple of lines (even tests!) about one operator would do as well :D > > If you think you only have 10 minutes then so be it, we can get other > presenters to round out the rest of the meeting. > > abram > > Tyler Slijboom wrote: >> Thanks everyone for the warm welcome. I would be interested in >> participating in a talk about the latest on Perl 6, but I honestly do >> not think I can have it ready for the February Talk. From abram.hindle at softwareprocess.es Sun Jan 31 19:25:20 2010 From: abram.hindle at softwareprocess.es (Abram Hindle) Date: Sun, 31 Jan 2010 22:25:20 -0500 Subject: [kw-pm] Slides from last meeting Message-ID: <4B6649A0.8040902@softwareprocess.es> http://softwareprocess.es/x/x/kwpm-201001/ Openid.aliz.es presentation: http://softwareprocess.es/x/x/kwpm-201001/open-id-presentation.pdf Email extractor slides: http://softwareprocess.es/x/x/kwpm-201001/email-extractor-presentation.pdf Some code: http://softwareprocess.es/x/x/kwpm/email/ Topic Analysis Slide: http://softwareprocess.es/x/x/kwpm-201001/icsm2009-presentation-ahindle.pdf http://en.wikipedia.org/wiki/Singular_value_decomposition http://en.wikipedia.org/wiki/Latent_Dirichlet_allocation http://en.wikipedia.org/wiki/Latent_semantic_indexing http://en.wikipedia.org/wiki/Latent_semantic_analysis (If these could be mirror'd that'd be great) abram -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 260 bytes Desc: OpenPGP digital signature URL: