From joel.limardo at forwardphase.com Mon Aug 2 11:58:14 2010 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Mon, 2 Aug 2010 13:58:14 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: I 'cheated' and just fed the CSV data directly into the addRows() method. I converted HTML and Javascript into a template (HTML::Template) and the CSV file is read in from the filesystem. Here's the template (online example: http://www.bixchange.com/cgi-bin/bixchange/bixchange.cgi?pom=test-gsapi;iid=0001 ):

Let's see our data first:

I would imagine the JSON example is pretty much the exact same thing except you just create a separate template to push out JSON and return this back to a static HTML file pointing to its URL. This is pretty elementary stuff, however...perhaps I'm missing the problem here...? On Sat, Jul 31, 2010 at 6:18 PM, Jay Strauss wrote: > Hi, I'm double posting (on luni), but since these lists only partially > overlap, I thought someone here might know (hopefully) > > I'm struggling to use a line chart with Google visualization. Its very > possible I don't have a clue as to what I'm doing. I've been reading docs > and searching google but cant find why I can't get this to work. > > I can get a basic example to work where the data table is populated by > javascript within the page. > > http://luni.heyjay.com:55555/works.html > > But I'd like the data to come from the server in the form of a CSV file > (I'll work on delivering a JSON string for later). Here is the CSV file: > > http://luni.heyjay.com:55555/data.csv > > and here is the page that's trying to render the graph using the CSV file: > > http://luni.heyjay.com:55555/with_csv.html > > All of the above links should work, I figured rather than post a bunch of > source code and make this email huge, you can just "view source" from the > link > > Any help would be very much appreciated. > > Thanks > Jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- Sincerely, Joel Limardo Chief Software Engineer ForwardPhase Technologies, LLC 401 N. Michigan Avenue Suite 1200-10 Chicago, IL 60611 www.forwardphase.com joel.limardo at forwardphase.com LinkedIn: http://www.linkedin.com/in/joellimardo Twitter: http://twitter.com/joellimardo Fax: 815-346-9495 Ph : 877-321-5467 -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Mon Aug 2 13:18:16 2010 From: me at heyjay.com (Jay Strauss) Date: Mon, 2 Aug 2010 15:18:16 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: > > I would imagine the JSON example is pretty much the exact same thing except > you just create a separate template to push out JSON and return this back to > a static HTML file pointing to its URL. ?This is pretty elementary stuff, > however...perhaps I'm missing the problem here...? > -- > Sincerely, > > > Joel Limardo > Chief Software Engineer > ForwardPhase Technologies, LLC > 401 N. Michigan Avenue > Suite 1200-10 > Chicago, IL 60611 > www.forwardphase.com > joel.limardo at forwardphase.com > LinkedIn: http://www.linkedin.com/in/joellimardo > Twitter: http://twitter.com/joellimardo > Fax: 815-346-9495 > Ph : 877-321-5467 > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > So outside the fact that I'm a pretty elementary fellow, and your way is perfectly fine, and I was starting to think I'd need to do something similar, I thought based on my reading of the docs, that I could be one of the K00L kids. I thought I could have my Javascript call the data source directly. And there was some magic in the google javascript classes that would take the CVS file that is returned and stick it in the data source automagically. That way my source web page that is delivered to the browser wouldn't be thousands of lines long of: data.addRows data.addRows data.addRows ... Again, its very possible (dare I say probable) I'm total incorrect about how this google visualization stuff works. But it looks like you can do what I'm talking about if the datasource is a google spreadsheet. Thanks Jay From joel.limardo at forwardphase.com Tue Aug 3 11:41:58 2010 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Tue, 3 Aug 2010 13:41:58 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: Perhaps you found a better solution by now but I figured I would respond anyway for kicks. I reworked my example to use an XMLHttp object to GET some JSON that would do the exact same thing except it a) returns the column headers and b) it returns the data in a single statement: data.addRows(myJSONObj.actualData); The JSON looks like this: { "columns":["Sales","SalesValue"], "actualData":[ ["2001",100], ["2002",200], ["2003",300], ["2004",400], ["2005",800] ] } Again, the actual example is here: http://www.bixchange.com/cgi-bin/bixchange/bixchange.cgi?pom=test-gsapi;iid=0001 Some problems I noticed ------------------------------------- My original idea was to use HTML::Template to push out JSON the same way one pushes out HTML. This didn't pan out because I wanted to format a JSON array with a TMPL_LOOP but it wound up producing an extra comma at the end. That was causing a JSON parsing error in IE. Apparently the inability to parse an extra comma at the end of the array definition is documented on the Google visualization website somewhere and was pretty annoying. All in all, the code example is pretty sloppy but works. I borrowed much of the browser check code and I think it is rubbish so please don't copy any of that for anything important. I also assumed that the first column would always be text and the other columns of data would be numeric. I'm certain that you could come up with something better. Lastly I used an eval() in the code to convert the server's response text to a JavaScript object. There is some concern on the web that this may be a vulnerability so I would research using better methods. On Mon, Aug 2, 2010 at 3:18 PM, Jay Strauss wrote: > > > > I would imagine the JSON example is pretty much the exact same thing > except > > you just create a separate template to push out JSON and return this back > to > > a static HTML file pointing to its URL. This is pretty elementary stuff, > > however...perhaps I'm missing the problem here...? > > -- > > Sincerely, > > > >> _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > So outside the fact that I'm a pretty elementary fellow, and your way > is perfectly fine, and I was starting to think I'd need to do > something similar, I thought based on my reading of the docs, that I > could be one of the K00L kids. > > I thought I could have my Javascript call the data source directly. > And there was some magic in the google javascript classes that would > take the CVS file that is returned and stick it in the data source > automagically. That way my source web page that is delivered to the > browser wouldn't be thousands of lines long of: > data.addRows > data.addRows > data.addRows > ... > > Again, its very possible (dare I say probable) I'm total incorrect > about how this google visualization stuff works. But it looks like > you can do what I'm talking about if the datasource is a google > spreadsheet. > > Thanks > Jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Tue Aug 3 13:04:49 2010 From: me at heyjay.com (Jay Strauss) Date: Tue, 3 Aug 2010 15:04:49 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: Hi Joel, thanks for the example and info. I can kinda read what you are doing (I've never programmed in javascript). Basically you are calling a URL that delivers a JSON string, then you parse it in your Javascript and load the data table with the parsed info. Looking at the example in: http://code.google.com/apis/ajax/playground/?type=visualization#data_source_request I think though if one was to send back the properly formated results, like: http://spreadsheets.google.com/tq?key=pCQbetd-CptGXxxQIG7VFIQ&range=B1:D11&pub=1 with the proper header: google.visualization.Query.setResponse({version:'0.6',status:'ok',sig:'1068688546',table: bunch 'o JSON.. I can shove it right into the datatable without parsing like: var data = response.getDataTable(); I'm going to play with this some more. Thanks Jay On Tue, Aug 3, 2010 at 1:41 PM, Joel Limardo wrote: > Perhaps you found a better solution by now but I figured I would respond > anyway for kicks. > I reworked my example to use an XMLHttp object to GET some JSON that would > do the exact same thing except it a) returns the column headers and b) it > returns the data in a single statement: > data.addRows(myJSONObj.actualData); > The JSON looks like this: > { > ??"columns":["Sales","SalesValue"], > ??"actualData":[ > ?? ? ? ? ? ? ? ? ["2001",100], > ?? ? ? ? ? ? ? ? ["2002",200], > ?? ? ? ? ? ? ? ? ["2003",300], > ?? ? ? ? ? ? ? ? ["2004",400], > ?? ? ? ? ? ? ? ? ["2005",800] > ?? ? ? ? ? ? ?] > } > Again, the actual example is > here:?http://www.bixchange.com/cgi-bin/bixchange/bixchange.cgi?pom=test-gsapi;iid=0001 > Some problems I noticed > ------------------------------------- > My original idea was to use HTML::Template to push out JSON the same way one > pushes out HTML. This didn't pan out because I wanted to format a JSON array > with a TMPL_LOOP but it wound up producing an extra comma at the end. ?That > was causing a JSON parsing error in IE. ?Apparently the inability to parse > an extra comma at the end of the array definition is documented on the > Google visualization website somewhere and was pretty annoying. > All in all, the code example is pretty sloppy but works. ?I borrowed much of > the browser check code and I think it is rubbish so please don't copy any of > that for anything important. I also assumed that the first column would > always be text and the other columns of data would be numeric. I'm certain > that you could come up with something better. ?Lastly I used an eval() in > the code to convert the server's response text to a JavaScript object. There > is some concern on the web that this may be a vulnerability so I would > research using better methods. > On Mon, Aug 2, 2010 at 3:18 PM, Jay Strauss wrote: >> >> > >> > I would imagine the JSON example is pretty much the exact same thing >> > except >> > you just create a separate template to push out JSON and return this >> > back to >> > a static HTML file pointing to its URL. ?This is pretty elementary >> > stuff, >> > however...perhaps I'm missing the problem here...? >> > -- >> > Sincerely, >> > >> >> _______________________________________________ >> > Chicago-talk mailing list >> > Chicago-talk at pm.org >> > http://mail.pm.org/mailman/listinfo/chicago-talk >> > >> >> >> So outside the fact that I'm a pretty elementary fellow, and your way >> is perfectly fine, and I was starting to think I'd need to do >> something similar, I thought based on my reading of the docs, that I >> could be one of the K00L kids. >> >> I thought I could have my Javascript call the data source directly. >> And there was some magic in the google javascript classes that would >> take the CVS file that is returned and stick it in the data source >> automagically. ?That way my source web page that is delivered to the >> browser wouldn't be thousands of lines long of: >> data.addRows >> data.addRows >> data.addRows >> ... >> >> Again, its very possible (dare I say probable) I'm total incorrect >> about how this google visualization stuff works. ?But it looks like >> you can do what I'm talking about if the datasource is a google >> spreadsheet. >> >> Thanks >> Jay >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joel.limardo at forwardphase.com Tue Aug 3 13:21:55 2010 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Tue, 3 Aug 2010 15:21:55 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: I like the idea of the JSON having the version information, signature, etc. is good but I including the google.visualization.Query.setResponse may make your solution a bit fragile. What if the Google folks decide to change their API so you are supposed to do something like this: google.visualization.DOSOMETHINGELSE(...) ? Your code will probably break. I look at JSON as being an abbreviated version of XML so anything that would not go into an XML document I probably would not want in my JSON either. On Tue, Aug 3, 2010 at 3:04 PM, Jay Strauss wrote: > Hi Joel, > > thanks for the example and info. I can kinda read what you are doing > (I've never programmed in javascript). Basically you are calling a > URL that delivers a JSON string, then you parse it in your Javascript > and load the data table with the parsed info. > > Looking at the example in: > > http://code.google.com/apis/ajax/playground/?type=visualization#data_source_request > > I think though if one was to send back the properly formated results, like: > > http://spreadsheets.google.com/tq?key=pCQbetd-CptGXxxQIG7VFIQ&range=B1:D11&pub=1 > > with the proper header: > > google.visualization.Query.setResponse({version:'0.6',status:'ok',sig:'1068688546',table: > bunch 'o JSON.. > > I can shove it right into the datatable without parsing like: > > var data = response.getDataTable(); > > I'm going to play with this some more. > > Thanks > Jay > > On Tue, Aug 3, 2010 at 1:41 PM, Joel Limardo > wrote: > > Perhaps you found a better solution by now but I figured I would respond > > anyway for kicks. > > I reworked my example to use an XMLHttp object to GET some JSON that > would > > do the exact same thing except it a) returns the column headers and b) it > > returns the data in a single statement: > > data.addRows(myJSONObj.actualData); > > The JSON looks like this: > > { > > "columns":["Sales","SalesValue"], > > "actualData":[ > > ["2001",100], > > ["2002",200], > > ["2003",300], > > ["2004",400], > > ["2005",800] > > ] > > } > > Again, the actual example is > > here: > http://www.bixchange.com/cgi-bin/bixchange/bixchange.cgi?pom=test-gsapi;iid=0001 > > Some problems I noticed > > ------------------------------------- > > My original idea was to use HTML::Template to push out JSON the same way > one > > pushes out HTML. This didn't pan out because I wanted to format a JSON > array > > with a TMPL_LOOP but it wound up producing an extra comma at the end. > That > > was causing a JSON parsing error in IE. Apparently the inability to > parse > > an extra comma at the end of the array definition is documented on the > > Google visualization website somewhere and was pretty annoying. > > All in all, the code example is pretty sloppy but works. I borrowed much > of > > the browser check code and I think it is rubbish so please don't copy any > of > > that for anything important. I also assumed that the first column would > > always be text and the other columns of data would be numeric. I'm > certain > > that you could come up with something better. Lastly I used an eval() in > > the code to convert the server's response text to a JavaScript object. > There > > is some concern on the web that this may be a vulnerability so I would > > research using better methods. > > On Mon, Aug 2, 2010 at 3:18 PM, Jay Strauss wrote: > >> > >> > > >> > I would imagine the JSON example is pretty much the exact same thing > >> > except > >> > you just create a separate template to push out JSON and return this > >> > back to > >> > a static HTML file pointing to its URL. This is pretty elementary > >> > stuff, > >> > however...perhaps I'm missing the problem here...? > >> > -- > >> > Sincerely, > >> > > >> >> _______________________________________________ > >> > Chicago-talk mailing list > >> > Chicago-talk at pm.org > >> > http://mail.pm.org/mailman/listinfo/chicago-talk > >> > > >> > >> > >> So outside the fact that I'm a pretty elementary fellow, and your way > >> is perfectly fine, and I was starting to think I'd need to do > >> something similar, I thought based on my reading of the docs, that I > >> could be one of the K00L kids. > >> > >> I thought I could have my Javascript call the data source directly. > >> And there was some magic in the google javascript classes that would > >> take the CVS file that is returned and stick it in the data source > >> automagically. That way my source web page that is delivered to the > >> browser wouldn't be thousands of lines long of: > >> data.addRows > >> data.addRows > >> data.addRows > >> ... > >> > >> Again, its very possible (dare I say probable) I'm total incorrect > >> about how this google visualization stuff works. But it looks like > >> you can do what I'm talking about if the datasource is a google > >> spreadsheet. > >> > >> Thanks > >> Jay > >> _______________________________________________ > >> Chicago-talk mailing list > >> Chicago-talk at pm.org > >> http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > > > > > > _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Tue Aug 3 16:12:33 2010 From: me at heyjay.com (Jay Strauss) Date: Tue, 3 Aug 2010 18:12:33 -0500 Subject: [Chicago-talk] using Google visualization In-Reply-To: References: Message-ID: On Tue, Aug 3, 2010 at 3:21 PM, Joel Limardo wrote: > I like the idea of the JSON having the version information, signature, etc. > is good but I including the?google.visualization.Query.setResponse may make > your solution a bit fragile. What if the Google folks decide to change their > API so you are supposed to do something like this: > google.visualization.DOSOMETHINGELSE(...) > > ? ?Your code will probably break. I look at JSON as being an abbreviated > version of XML so anything that would not go into an XML document I probably > would not want in my JSON either. > On Tue, Aug 3, 2010 at 3:04 PM, Jay Strauss wrote: >> Hey, its not my solution, it's Google's :) I'm just trying to be lazy. I see your point, that Google may change the API and my code breaks. Although I'm guessing they'd make lots'o'people mad if they changed the API at this point since it seems like their intent is to let you use their google spreadsheet or implement your own datasource. I think I need to play around with it some more. Thanks Jay From drench+chipm at gmail.com Wed Aug 4 13:30:59 2010 From: drench+chipm at gmail.com (Dan Rench) Date: Wed, 4 Aug 2010 15:30:59 -0500 Subject: [Chicago-talk] There's a CPAN module that exists under /by-author but not /by-module Message-ID: When a CPAN module I want to use does not have a FreeBSD port, I'll try to make one. It's usually easy, since it's mostly boilerplate. I'd like to write one for perl5i, but I'm finding a lot of its dependencies don't have ports yet [*]. Right now, I'm trying to finish a port for one dependency: http://search.cpan.org/dist/Child/ . The usual process for installing a CPAN module through ports begins with fetching the source from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/ (or a mirror). The problem is that ../by-module/Child/ doesn't exist. Yet the source *does* exist under ../by-authors/id/E/EX/EXODIST/. The module is only 2 weeks old. Is this a bug or do I just need to be more patient? [*] if anyone wants to help writing some of these, let me know and we can divide the work. I can't be the only FreeBSD fan here. From joel.limardo at forwardphase.com Wed Aug 4 14:03:41 2010 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Wed, 4 Aug 2010 16:03:41 -0500 Subject: [Chicago-talk] There's a CPAN module that exists under /by-author but not /by-module In-Reply-To: References: Message-ID: "When a CPAN module I want to use does not have a FreeBSD port, I'll try to make one. It's usually easy, since it's mostly boilerplate..." First, I think it is really cool that you do that. I think it is awesome and you should be congratulated. Now that you mention it there are some modules that will not install on Win32 under Strawberry Perl that I might consider doing the same to. Regarding the problem, didn't you just shoot an e-mail to Michael Schwern asking him if he did anything strange when posting to CPAN? On Wed, Aug 4, 2010 at 3:30 PM, Dan Rench > wrote: > When a CPAN module I want to use does not have a FreeBSD port, I'll > try to make one. It's usually easy, since it's mostly boilerplate. > > I'd like to write one for perl5i, but I'm finding a lot of its > dependencies don't have ports yet [*]. Right now, I'm trying to finish > a port for one dependency: http://search.cpan.org/dist/Child/ . > > The usual process for installing a CPAN module through ports begins > with fetching the source from > ftp://ftp.cpan.org/pub/CPAN/modules/by-module/ (or a mirror). The > problem is that ../by-module/Child/ doesn't exist. Yet the source > *does* exist under ../by-authors/id/E/EX/EXODIST/. The module is only > 2 weeks old. Is this a bug or do I just need to be more patient? > > > [*] if anyone wants to help writing some of these, let me know and we > can divide the work. I can't be the only FreeBSD fan here. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: From shawn.c.carroll at gmail.com Thu Aug 5 13:33:20 2010 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Thu, 5 Aug 2010 15:33:20 -0500 Subject: [Chicago-talk] Devel::Cover question Message-ID: I'm having a problem where if I run my tests w/o Devel::Cover they work, but fail w/ Devel::Cover. Basic searching didn't find anything on the subject. I figured I'd ask here before I dove deep into understanding this. shawn.c.carroll at gmail.com Perl Programmer Soccer Referee From andy at petdance.com Thu Aug 5 13:34:46 2010 From: andy at petdance.com (Andy Lester) Date: Thu, 5 Aug 2010 15:34:46 -0500 Subject: [Chicago-talk] Devel::Cover question In-Reply-To: References: Message-ID: On Aug 5, 2010, at 3:33 PM, Shawn Carroll wrote: > I'm having a problem where if I run my tests w/o Devel::Cover they > work, but fail w/ Devel::Cover. Basic searching didn't find anything > on the subject. I figured I'd ask here before I dove deep into > understanding this. Not enough to go on. Could be environment. Could be pathing. Hard to tell. xoa -- Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance From chicago.pm at galumph.com Thu Aug 5 19:17:26 2010 From: chicago.pm at galumph.com (Elliot Shank) Date: Thu, 05 Aug 2010 21:17:26 -0500 Subject: [Chicago-talk] Devel::Cover question In-Reply-To: References: Message-ID: <4C5B70B6.5080209@galumph.com> On 8/5/10 3:33 PM, Shawn Carroll wrote: > I'm having a problem where if I run my tests w/o Devel::Cover they > work, but fail w/ Devel::Cover. Basic searching didn't find anything > on the subject. I figured I'd ask here before I dove deep into > understanding this. You wouldn't happen to be using Moose constraints, would you? Or "complicated" regexes? There was a new release yesterday/today that dealt with that. From shlomif at iglu.org.il Fri Aug 6 06:06:57 2010 From: shlomif at iglu.org.il (Shlomi Fish) Date: Fri, 6 Aug 2010 16:06:57 +0300 Subject: [Chicago-talk] Devel::Cover question In-Reply-To: <4C5B70B6.5080209@galumph.com> References: <4C5B70B6.5080209@galumph.com> Message-ID: <201008061606.57688.shlomif@iglu.org.il> On Friday 06 August 2010 05:17:26 Elliot Shank wrote: > On 8/5/10 3:33 PM, Shawn Carroll wrote: > > I'm having a problem where if I run my tests w/o Devel::Cover they > > work, but fail w/ Devel::Cover. Basic searching didn't find anything > > on the subject. I figured I'd ask here before I dove deep into > > understanding this. > > You wouldn't happen to be using Moose constraints, would you? Or > "complicated" regexes? There was a new release yesterday/today that dealt > with that. I recall Devel::Cover failing on one of my Moose-based codebases. See: http://www.nntp.perl.org/group/perl.moose/2010/04/msg1540.html http://search.cpan.org/~flora/ told me he knew what the problam was, and just didn't get a round to fixing it. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Funny Anti-Terrorism Story - http://shlom.in/enemy God considered inflicting XSLT as the tenth plague of Egypt, but then decided against it because he thought it would be too evil. Please reply to list if it's a mailing list post - http://shlom.in/reply . From shild at sbcglobal.net Sat Aug 7 12:15:39 2010 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Sat, 07 Aug 2010 14:15:39 -0500 Subject: [Chicago-talk] There's a CPAN module that exists under /by-author but not /by-module In-Reply-To: References: Message-ID: <1281208539.39266.60.camel@fbsd1.dyndns.org> On Wed, 2010-08-04 at 15:30 -0500, Dan Rench wrote: > When a CPAN module I want to use does not have a FreeBSD port, I'll > try to make one. It's usually easy, since it's mostly boilerplate. > > I'd like to write one for perl5i, but I'm finding a lot of its > dependencies don't have ports yet [*]. Right now, I'm trying to finish > a port for one dependency: http://search.cpan.org/dist/Child/ . > > The usual process for installing a CPAN module through ports begins > with fetching the source from > ftp://ftp.cpan.org/pub/CPAN/modules/by-module/ (or a mirror). The > problem is that ../by-module/Child/ doesn't exist. Yet the source > *does* exist under ../by-authors/id/E/EX/EXODIST/. The module is only > 2 weeks old. Is this a bug or do I just need to be more patient? > > > [*] if anyone wants to help writing some of these, let me know and we > can divide the work. I can't be the only FreeBSD fan here. I'm a daily user of FreeBSD, but I don't use the port installed perl. I compile my own perl and have a install script that uses cpan for all the modules I need, much easier than going to each port to install the modules. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From joshua.mcadams at gmail.com Sun Aug 8 19:38:33 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Sun, 8 Aug 2010 21:38:33 -0500 Subject: [Chicago-talk] Fwd: [Buffalo-pm] Fw: [tpm] YAPC::NA videos In-Reply-To: <815782.86085.qm@web33305.mail.mud.yahoo.com> References: <815782.86085.qm@web33305.mail.mud.yahoo.com> Message-ID: YAPC::NA 2010 Videos: http://www.presentingperl.org/yn2010 ---------- Forwarded message ---------- From: Daniel Magnuszewski Date: Sun, Aug 8, 2010 at 7:43 PM Subject: [Buffalo-pm] Fw: [tpm] YAPC::NA videos To: Buffalo Perl Mongers YAPC videos...enjoy! ----- Forwarded Message ---- From: Olaf Alders To: Toronto Perl Mongers Sent: Sun, August 8, 2010 6:27:35 PM Subject: [tpm] YAPC::NA videos I see that the first batch of videos has already been posted: http://www.presentingperl.org/yn2010/ _______________________________________________ Buffalo Perl Mongers Homepage http://buffalo.pm.org Buffalo-pm mailing list Buffalo-pm at pm.org http://mail.pm.org/mailman/listinfo/buffalo-pm From inzoik at yahoo.com Thu Aug 12 13:00:54 2010 From: inzoik at yahoo.com (Mithun Bhattacharya) Date: Thu, 12 Aug 2010 13:00:54 -0700 (PDT) Subject: [Chicago-talk] Adding namespace in Method Response Message-ID: <922107.72224.qm@web53405.mail.re2.yahoo.com> Hi, I am trying to migrate a set of web services to run under Apache::SOAP instead of POE::Component::Server::SOAP and am observing a behavior which has halted the whole process. I have attached a sample service running under POE and its CGI equivalent. With SOAP::Trace enabled the soap body for POE was Hello whereas the Apache::SOAP code is generating Hello The above difference is preventing a .Net client from reading the response. Any suggestions or pointers would be highly appreciated. - Mithun -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: poe.pl Type: application/x-perl Size: 903 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test.cgi Type: application/octet-stream Size: 156 bytes Desc: not available URL: From inzoik at yahoo.com Thu Aug 12 13:20:15 2010 From: inzoik at yahoo.com (Mithun Bhattacharya) Date: Thu, 12 Aug 2010 13:20:15 -0700 (PDT) Subject: [Chicago-talk] Adding namespace in Method Response Message-ID: <544112.55087.qm@web53407.mail.re2.yahoo.com> I apologize the XML's are as follows [POE] Hello [Apache::SOAP] Hello ________________________________ From: Mithun Bhattacharya To: chicago-talk at pm.org Sent: Thu, August 12, 2010 3:00:54 PM Subject: Adding namespace in Method Response Hi, I am trying to migrate a set of web services to run under Apache::SOAP instead of POE::Component::Server::SOAP and am observing a behavior which has halted the whole process. I have attached a sample service running under POE and its CGI equivalent. With SOAP::Trace enabled the soap body for POE was Hello whereas the Apache::SOAP code is generating Hello The above difference is preventing a .Net client from reading the response. Any suggestions or pointers would be highly appreciated. - Mithun -------------- next part -------------- An HTML attachment was scrubbed... URL: From drench+chipm at gmail.com Fri Aug 13 11:37:48 2010 From: drench+chipm at gmail.com (Dan Rench) Date: Fri, 13 Aug 2010 13:37:48 -0500 Subject: [Chicago-talk] There's a CPAN module that exists under /by-author but not /by-module In-Reply-To: <1281208539.39266.60.camel@fbsd1.dyndns.org> References: <1281208539.39266.60.camel@fbsd1.dyndns.org> Message-ID: I ended up adding "MASTER_SITE_SUBDIR= ../by-authors/id/E/EX/EXODIST" to the port's Makefile. I did some grepping (not acking, sorry) and found over 100 ports of CPAN modules that needed similar workarounds. As for why bother with ports at all, first, I really like the ports system, but it's also not just for my benefit. I'm definitely in the build-my-own camp on my Ubuntu machine which would otherwise officially still be running Perl 5.8.8. Never having warmed up to apt-get and the whole Debian style of doing things is probably a factor too. From brian.d.foy at gmail.com Sat Aug 14 07:52:53 2010 From: brian.d.foy at gmail.com (brian d foy) Date: Sat, 14 Aug 2010 16:52:53 +0200 Subject: [Chicago-talk] There's a CPAN module that exists under /by-author but not /by-module In-Reply-To: References: Message-ID: On Wed, Aug 4, 2010 at 10:30 PM, Dan Rench wrote: > The usual process for installing a CPAN module through ports begins > with fetching the source from > ftp://ftp.cpan.org/pub/CPAN/modules/by-module/ (or a mirror). I don't know why the module isn't in by-module/, so if it's still a problem the place to ask is modules at perl.org. CPAN mirrors the setup that PAUSE creates. -- brian d foy http://www.pair.com/~comdog/ From andy at petdance.com Sun Aug 15 20:09:53 2010 From: andy at petdance.com (Andy Lester) Date: Sun, 15 Aug 2010 22:09:53 -0500 Subject: [Chicago-talk] Vim 7.3 adds Perl 6 support, improves Perl 5, too Message-ID: <533AE4E2-4E91-4EB3-B34D-E7DF22FD80D8@petdance.com> http://perlbuzz.com/2010/08/vim-73-supports-perl-6.html If you're looking to play with Perl 6 (and really, why wouldn't you?) make sure you get Vim 7.3! xoxo, Andy -- Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance From frag at ripco.com Thu Aug 19 09:00:23 2010 From: frag at ripco.com (Mike Fragassi) Date: Thu, 19 Aug 2010 11:00:23 -0500 (CDT) Subject: [Chicago-talk] Perl at Bar Camp this weekend Message-ID: So, I just remembered that Bar Camp is this weekend (barcampchicago.com). Is anyone going? I've got a big bag of Perl TUITs and business cards(*) from Gabor Szabo that I'll be bringing to hand out. I'm only planning on being there for Saturday afternoon though. It would also be nice if someone more experienced in Perl 6 than I was around to answer questions. (By which I mean, I'm just now installing Rakudo Star, which will be my first Perl 6 install.) Also, if you want one of these wooden TUITs, let me know and I'll set one aside for you. (Or let me know if there's a different event coming up where you might want to hand these out.) Specify if you have a preference between TUIT-with-pin or plain old TUIT. Here's what they look like: http://www.flickr.com/photos/25944494 at N00/56871343 (*) The cards say "Welcome to the Perl Community - We suck at marketing". From andy at petdance.com Thu Aug 19 09:05:11 2010 From: andy at petdance.com (Andy Lester) Date: Thu, 19 Aug 2010 11:05:11 -0500 Subject: [Chicago-talk] Perl at Bar Camp this weekend In-Reply-To: References: Message-ID: On Aug 19, 2010, at 11:00 AM, Mike Fragassi wrote: > So, I just remembered that Bar Camp is this weekend (barcampchicago.com). Is anyone going? Thinkin' about it. There's also Grand Rapids Bar Camp this weekend, too. http://barcampgr.org/wiki/BarCampGrandRapids5 xoa -- Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance From clydeforrester at gmail.com Thu Aug 19 09:29:22 2010 From: clydeforrester at gmail.com (Clyde Forrester) Date: Thu, 19 Aug 2010 11:29:22 -0500 Subject: [Chicago-talk] Perl at Bar Camp this weekend In-Reply-To: References: Message-ID: <4C6D5BE2.8000108@gmail.com> I have a conflict Saturday. I will try and go Sunday. c4 Mike Fragassi wrote: > > So, I just remembered that Bar Camp is this weekend > (barcampchicago.com). Is anyone going? > > I've got a big bag of Perl TUITs and business cards(*) from Gabor Szabo > that I'll be bringing to hand out. I'm only planning on being there for > Saturday afternoon though. It would also be nice if someone more > experienced in Perl 6 than I was around to answer questions. (By which > I mean, I'm just now installing Rakudo Star, which will be my first Perl > 6 install.) > > Also, if you want one of these wooden TUITs, let me know and I'll set > one aside for you. (Or let me know if there's a different event coming > up where you might want to hand these out.) Specify if you have a > preference between TUIT-with-pin or plain old TUIT. Here's what they > look like: > > http://www.flickr.com/photos/25944494 at N00/56871343 > > (*) The cards say "Welcome to the Perl Community - We suck at marketing". From joshua.mcadams at gmail.com Tue Aug 24 10:40:31 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Tue, 24 Aug 2010 12:40:31 -0500 Subject: [Chicago-talk] Long time, no PM meeting Message-ID: How about we change that? I'll host here at the Google office (20 W. Kinzie). I'm working out the dates now. Tentatively the 21st of September is looking good. Any objections/suggestions? From andy at petdance.com Tue Aug 24 11:38:33 2010 From: andy at petdance.com (Andy Lester) Date: Tue, 24 Aug 2010 13:38:33 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: On Aug 24, 2010, at 12:40 PM, Joshua wrote: > How about we change that? I'll host here at the Google office (20 W. > Kinzie). I'm working out the dates now. Tentatively the 21st of > September is looking good. Any objections/suggestions? What do you see as upcoming availability of the Google offices for meetings in general, after the big move? xoa -- Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance From joshua.mcadams at gmail.com Tue Aug 24 11:49:13 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Tue, 24 Aug 2010 13:49:13 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: My guess is that the number approaches zero :) On Tue, Aug 24, 2010 at 1:38 PM, Andy Lester wrote: > > On Aug 24, 2010, at 12:40 PM, Joshua wrote: > >> How about we change that? I'll host here at the Google office (20 W. >> Kinzie). I'm working out the dates now. Tentatively the 21st of >> September is looking good. Any objections/suggestions? > > What do you see as upcoming availability of the Google offices for meetings in general, after the big move? > > xoa > > -- > Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From me at heyjay.com Tue Aug 24 12:03:07 2010 From: me at heyjay.com (Jay Strauss) Date: Tue, 24 Aug 2010 14:03:07 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: What was the "big move"? bigger space, small space, different business direction...?? Jay On Tue, Aug 24, 2010 at 1:49 PM, Joshua wrote: > My guess is that the number approaches zero :) > > On Tue, Aug 24, 2010 at 1:38 PM, Andy Lester wrote: >> >> On Aug 24, 2010, at 12:40 PM, Joshua wrote: >> >>> How about we change that? I'll host here at the Google office (20 W. >>> Kinzie). I'm working out the dates now. Tentatively the 21st of >>> September is looking good. Any objections/suggestions? >> >> What do you see as upcoming availability of the Google offices for meetings in general, after the big move? >> >> xoa >> >> -- >> Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance >> >> >> >> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joshua.mcadams at gmail.com Tue Aug 24 12:05:36 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Tue, 24 Aug 2010 14:05:36 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: More of a personal "big move"... I'm going to be heading out of Chicago for at least a year starting October 15th. On Tue, Aug 24, 2010 at 2:03 PM, Jay Strauss wrote: > What was the "big move"? ?bigger space, small space, different > business direction...?? > > Jay > > On Tue, Aug 24, 2010 at 1:49 PM, Joshua wrote: >> My guess is that the number approaches zero :) >> >> On Tue, Aug 24, 2010 at 1:38 PM, Andy Lester wrote: >>> >>> On Aug 24, 2010, at 12:40 PM, Joshua wrote: >>> >>>> How about we change that? I'll host here at the Google office (20 W. >>>> Kinzie). I'm working out the dates now. Tentatively the 21st of >>>> September is looking good. Any objections/suggestions? >>> >>> What do you see as upcoming availability of the Google offices for meetings in general, after the big move? >>> >>> xoa >>> >>> -- >>> Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance >>> >>> >>> >>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From sean at blanton.com Tue Aug 24 12:29:30 2010 From: sean at blanton.com (Sean Blanton) Date: Tue, 24 Aug 2010 14:29:30 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: > > How about we change that? I'll host here at the Google office (20 W. > Kinzie). I'm working out the dates now. Tentatively the 21st of > September is looking good. Any objections/suggestions? > I'm up for a meeting - it's been a long time for me! -------------- next part -------------- An HTML attachment was scrubbed... URL: From me at heyjay.com Tue Aug 24 14:50:37 2010 From: me at heyjay.com (Jay Strauss) Date: Tue, 24 Aug 2010 16:50:37 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: References: Message-ID: Oh. Well good luck on your trip. I hope the Chicago PM is still here when you get back :) Jay On Tue, Aug 24, 2010 at 2:05 PM, Joshua wrote: > More of a personal "big move"... I'm going to be heading out of > Chicago for at least a year starting October 15th. > > On Tue, Aug 24, 2010 at 2:03 PM, Jay Strauss wrote: >> What was the "big move"? ?bigger space, small space, different >> business direction...?? >> >> Jay >> >> On Tue, Aug 24, 2010 at 1:49 PM, Joshua wrote: >>> My guess is that the number approaches zero :) >>> >>> On Tue, Aug 24, 2010 at 1:38 PM, Andy Lester wrote: >>>> >>>> On Aug 24, 2010, at 12:40 PM, Joshua wrote: >>>> >>>>> How about we change that? I'll host here at the Google office (20 W. >>>>> Kinzie). I'm working out the dates now. Tentatively the 21st of >>>>> September is looking good. Any objections/suggestions? >>>> >>>> What do you see as upcoming availability of the Google offices for meetings in general, after the big move? >>>> >>>> xoa >>>> >>>> -- >>>> Andy Lester => andy at petdance.com => www.theworkinggeek.com => AIM:petdance >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From jon-chicagotalk at jrock.us Tue Aug 24 17:00:49 2010 From: jon-chicagotalk at jrock.us (Jonathan Rockway) Date: Tue, 24 Aug 2010 19:00:49 -0500 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: (Joshua's message of "Tue, 24 Aug 2010 13:49:13 -0500") References: Message-ID: <878w3vv9vy.fsf@snowball2.jrock.us> >> What do you see as upcoming availability of the Google >> offices for meetings in general, after the big move? > My guess is that the number approaches zero :) I'm 99% sure we can start having them at the BofA building, 540 W Madison. -- print just => another => perl => hacker => if $,=$" From Darren.Young at chicagobooth.edu Wed Aug 25 07:52:11 2010 From: Darren.Young at chicagobooth.edu (Young, Darren) Date: Wed, 25 Aug 2010 14:52:11 +0000 Subject: [Chicago-talk] Long time, no PM meeting In-Reply-To: <878w3vv9vy.fsf@snowball2.jrock.us> References: <878w3vv9vy.fsf@snowball2.jrock.us> Message-ID: We have decent meeting rooms in our building here at UC (business school). We're in Hyde Park though and that can be difficult to reach for some. We have our campus in the loop (Gleacher Center) that with enough notice I can get space at. > -----Original Message----- > From: chicago-talk-bounces+darren.young=chicagobooth.edu at pm.org > [mailto:chicago-talk-bounces+darren.young=chicagobooth.edu at pm.org] On > Behalf Of Jonathan Rockway > Sent: Tuesday, August 24, 2010 7:01 PM > To: Chicago.pm chatter > Subject: Re: [Chicago-talk] Long time, no PM meeting > > > >> What do you see as upcoming availability of the Google > >> offices for meetings in general, after the big move? > > > My guess is that the number approaches zero :) > > I'm 99% sure we can start having them at the BofA building, > 540 W Madison. > > -- > print just => another => perl => hacker => if $,=$" > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From sean at blanton.com Thu Aug 26 07:19:47 2010 From: sean at blanton.com (Sean Blanton) Date: Thu, 26 Aug 2010 09:19:47 -0500 Subject: [Chicago-talk] Looking for browser-based charting through Perl Message-ID: I followed this month's exchange on Google Visualizations, but that's out for me since it requires internet connectivity. What other packages would people recommend? I assume a JavaScript based package is the modern way to go. What about Protovis? I basically want to pull data from a database and chart it with Perl - time series, scatter plots, bar graphs - simple things on a local network. Chrome browser. It's possible I might want to do something more interesting later down the road. Not being a web guy, what general approach would you recommend? I breathe Moose, DBI, XML and infrastructure every day, but not so much JavaScript, though I'm always up for new things!. Thanks, Sean -------------- next part -------------- An HTML attachment was scrubbed... URL: From davidy at nationalcycle.com Thu Aug 26 08:10:26 2010 From: davidy at nationalcycle.com (David Young) Date: Thu, 26 Aug 2010 10:10:26 -0500 Subject: [Chicago-talk] Looking for browser-based charting through Perl In-Reply-To: References: Message-ID: Sean, I just finished a project creating bar and line charts. I tried and liked "flot" alot, but it couldn't exactly do what I wanted. So I abandoned it and ended up using jqplot. jqplot uses a hugely popular and powerful javascript library called jquery. With jqplot, you have perl create a JSON formatted string of your data, axis labels, title, etc, and give it to jqplot. jqplot then uses javascript to plot it by inserting the plot/chart/graph in an empty
on your webpage. Pretty slick. I've attached a test HTML file that shows output generated from perl code. You would use something like this in your perl after creating $json & $opts: # TrendChart $JQPLOT = qq( \$(document).ready(function () { var graph = $json; \$.jqplot('chart3', graph.data, $opts) }); ); You'll need to download and install jquery and jqplot and adjust the