From joshua.mcadams at gmail.com Wed Nov 1 17:25:11 2006 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Wed, 1 Nov 2006 19:25:11 -0600 Subject: [Chicago-talk] Fwd: [RHS] Richard Stallman and Chicago G/LUG Meeting In-Reply-To: <454921A1.8030607@chicagolug.org> References: <454921A1.8030607@chicagolug.org> Message-ID: <49d805d70611011725q70241d60ge9e36172c6a2d54d@mail.gmail.com> ---------- Forwarded message ---------- From: John Quigley Date: Nov 1, 2006 4:37 PM Subject: [RHS] Richard Stallman and Chicago G/LUG Meeting To: Chigago GLUG Announce Cc: LUNI List , "ChicagoTeam," , RHS Folks: The Chicago GNU/Linux Users Group has invited Richard Stallman to give a talk this coming Saturday, November 4th. He's in Chicago for a brief layover, and has asked to stop by. He'll be speaking on the Free Software movement and the GNU/Linux OS. When: Saturday, November 4, 2006 @ 10a Where: IIT campus MTCC McCloska Auditorium 3201 S State St, Chicago IL, 60616 maps.google.com: http://tinyurl.com/y75b5j The IIT campus is very accessible via public transportation. A few minutes walk from the 35th St. green and red line stops, as well as the State Street bus. Following this, the Chicago G/LUG is getting together at Argo Tea for a mini hack meeting. Free wifi and great drinks will be had, and everyone is cordially invited to join us and dive into some code; there is no structured plan for this meeting. At 3p on the same day, there is a Chicago G/LUG meeting at our usual location. Topics of presentation will be: * Linux Internals: The Linux Kernel Scheduler (Tristan Sloughter) * rPath/Conary: An Introduction into rPath and Conary (Kevin Harriss) * A Few Lines of Ruby: General Ruby Practices, by example (Evan Farrar) agenda: http://www.chicagolug.org/Agenda_2006-11-04 Our meeting is generously supported by rPath and the FSF. We'll be giving away some free gifts from both organizations. For more information, please visit our website: http://www.chicagolug.org/ Happy Hacking! The Chicago GNU/Linux Users Group _______________________________________________ river mailing list river at lists.rudolphheringsociety.org http://lists.rudolphheringsociety.org/listinfo.cgi/river-rudolphheringsociety.org From andy at petdance.com Thu Nov 2 13:49:30 2006 From: andy at petdance.com (Andy Lester) Date: Thu, 2 Nov 2006 15:49:30 -0600 Subject: [Chicago-talk] New Chicago.PM wiki Message-ID: I updated the Chicago.pm wiki at http://rakudo.org/chicago-pm to Socialtext 2.0. Sweet, eh? http://sourceforge.net/projects/socialtext/ xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From hwigoda at mindspring.com Sat Nov 4 00:12:00 2006 From: hwigoda at mindspring.com (Hal Wigoda) Date: Sat, 4 Nov 2006 02:12:00 -0600 Subject: [Chicago-talk] Fwd: [RHS] Richard Stallman and Chicago G/LUG Meeting In-Reply-To: <49d805d70611011725q70241d60ge9e36172c6a2d54d@mail.gmail.com> References: <454921A1.8030607@chicagolug.org> <49d805d70611011725q70241d60ge9e36172c6a2d54d@mail.gmail.com> Message-ID: <80B3DC30-90BB-456D-9EA8-12B55F85527A@mindspring.com> is stallman still going to show? On Nov 1, 2006, at 7:25 PM, Joshua McAdams wrote: > ---------- Forwarded message ---------- > From: John Quigley > Date: Nov 1, 2006 4:37 PM > Subject: [RHS] Richard Stallman and Chicago G/LUG Meeting > To: Chigago GLUG Announce > Cc: LUNI List , "ChicagoTeam," > , RHS > > > > Folks: > > The Chicago GNU/Linux Users Group has invited Richard Stallman to > give a > talk this coming Saturday, November 4th. He's in Chicago for a brief > layover, and has asked to stop by. He'll be speaking on the Free > Software movement and the GNU/Linux OS. > > When: > Saturday, November 4, 2006 @ 10a > > Where: > IIT campus > MTCC McCloska Auditorium > 3201 S State St, Chicago IL, 60616 > maps.google.com: http://tinyurl.com/y75b5j > > The IIT campus is very accessible via public transportation. A few > minutes walk from the 35th St. green and red line stops, as well as > the > State Street bus. > > Following this, the Chicago G/LUG is getting together at Argo Tea > for a > mini hack meeting. Free wifi and great drinks will be had, and > everyone > is cordially invited to join us and dive into some code; there is no > structured plan for this meeting. > > At 3p on the same day, there is a Chicago G/LUG meeting at our usual > location. Topics of presentation will be: > > * Linux Internals: The Linux Kernel Scheduler (Tristan Sloughter) > * rPath/Conary: An Introduction into rPath and Conary (Kevin Harriss) > * A Few Lines of Ruby: General Ruby Practices, by example (Evan > Farrar) > agenda: http://www.chicagolug.org/Agenda_2006-11-04 > > Our meeting is generously supported by rPath and the FSF. We'll be > giving away some free gifts from both organizations. For more > information, please visit our website: > > http://www.chicagolug.org/ > > Happy Hacking! > The Chicago GNU/Linux Users Group > _______________________________________________ > river mailing list > river at lists.rudolphheringsociety.org > http://lists.rudolphheringsociety.org/listinfo.cgi/river- > rudolphheringsociety.org > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From me at heyjay.com Sun Nov 5 04:47:29 2006 From: me at heyjay.com (Jay Strauss) Date: Sun, 5 Nov 2006 06:47:29 -0600 Subject: [Chicago-talk] Array slices Message-ID: Hi, Is there any way other than iteration to get an array slice of a multi-dimensional array? For example, I'd like to create a slice out of the 2nd element of each inner array, so that my result would be (2,4,6). @a = ([1,2],[3,4],[5,6]); print join @a[][1],"\n"; # doesn't work print join @a[0..2][1],"\n"; #doesn't work Obviously I can use any type of loop structure to build the desired array, I just thought there would be shorthand syntax. thanks Jay From merlyn at stonehenge.com Sun Nov 5 05:05:03 2006 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: 05 Nov 2006 05:05:03 -0800 Subject: [Chicago-talk] Array slices In-Reply-To: References: Message-ID: <86slgyjb7k.fsf@blue.stonehenge.com> >>>>> "Jay" == Jay Strauss writes: Jay> Is there any way other than iteration to get an array slice of a Jay> multi-dimensional array? Do you consider "map" to be iteration? Jay> For example, I'd like to create a slice out of the 2nd element of each Jay> inner array, so that my result would be (2,4,6). Jay> @a = ([1,2],[3,4],[5,6]); Jay> print join @a[][1],"\n"; # doesn't work Jay> print join @a[0..2][1],"\n"; #doesn't work my @a = ([1,2],[3,4],[5,6]); my @result = map $_->[1], @a; print "@result\n"; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From me at heyjay.com Sun Nov 5 12:09:41 2006 From: me at heyjay.com (Jay Strauss) Date: Sun, 5 Nov 2006 14:09:41 -0600 Subject: [Chicago-talk] Array slices In-Reply-To: <86slgyjb7k.fsf@blue.stonehenge.com> References: <86slgyjb7k.fsf@blue.stonehenge.com> Message-ID: > Do you consider "map" to be iteration? > > Jay> For example, I'd like to create a slice out of the 2nd element of each > Jay> inner array, so that my result would be (2,4,6). > > Jay> @a = ([1,2],[3,4],[5,6]); > > Jay> print join @a[][1],"\n"; # doesn't work > Jay> print join @a[0..2][1],"\n"; #doesn't work > > my @a = ([1,2],[3,4],[5,6]); > my @result = map $_->[1], @a; > print "@result\n"; I do consider it to be an iterator. I'm actually already using map, but I thought there may be some niffy syntax that would do it for me. mine looks like: my @attributes = map {$_->[1] } @parm_defs; I guess I could leave off the braces, and add a comma :) Thanks jay From tigerpeng2001 at yahoo.com Sun Nov 5 18:11:56 2006 From: tigerpeng2001 at yahoo.com (tiger peng) Date: Sun, 5 Nov 2006 18:11:56 -0800 (PST) Subject: [Chicago-talk] Array slices Message-ID: <20061106021156.46858.qmail@web54710.mail.yahoo.com> Isn't slice implemented as iteration in Perl5? Perl6 may have what you wanted. May be you can flattened the array and slice it, if your array of array (of array ...) is in a rectangle(, or cube...) ----- Original Message ---- From: Jay Strauss To: Chicago.pm chatter Sent: Sunday, November 5, 2006 6:47:29 AM Subject: [Chicago-talk] Array slices Hi, Is there any way other than iteration to get an array slice of a multi-dimensional array? For example, I'd like to create a slice out of the 2nd element of each inner array, so that my result would be (2,4,6). @a = ([1,2],[3,4],[5,6]); print join @a[][1],"\n"; # doesn't work print join @a[0..2][1],"\n"; #doesn't work Obviously I can use any type of loop structure to build the desired array, I just thought there would be shorthand syntax. thanks Jay _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From jon at jrock.us Mon Nov 6 12:14:00 2006 From: jon at jrock.us (Jonathan Rockway) Date: Mon, 06 Nov 2006 14:14:00 -0600 Subject: [Chicago-talk] meeting? Message-ID: <454F9788.1020709@jrock.us> I think we're overdue on having a meeting, and that's probably my fault. I said I'd try and get a room at UofC, but due to massive quantities of red tape, I don't think that's going to happen any time in the near future. Maybe we can meet at Performics again? Failing that, anyone want to have a get-together involving beer sometime soon? Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From joshua.mcadams at gmail.com Mon Nov 6 12:49:34 2006 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 6 Nov 2006 14:49:34 -0600 Subject: [Chicago-talk] meeting? In-Reply-To: <454F9788.1020709@jrock.us> References: <454F9788.1020709@jrock.us> Message-ID: <49d805d70611061249g7db3228bn57264357a8204fd4@mail.gmail.com> > Failing that, anyone want to have a get-together involving beer sometime > soon? I can see about Performics. Any date preferences? From andy at petdance.com Mon Nov 6 12:28:57 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 6 Nov 2006 14:28:57 -0600 Subject: [Chicago-talk] meeting? In-Reply-To: <454F9788.1020709@jrock.us> References: <454F9788.1020709@jrock.us> Message-ID: On Nov 6, 2006, at 2:14 PM, Jonathan Rockway wrote: > Failing that, anyone want to have a get-together involving beer > sometime > soon? You mean besides the Hackathon this weekend? http://hackathon.info/ -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From joshua.mcadams at gmail.com Mon Nov 6 17:58:51 2006 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 6 Nov 2006 19:58:51 -0600 Subject: [Chicago-talk] Fwd: [Chicago] Thursday PLAN? In-Reply-To: References: <1162771736.16574.275065647@webmail.messagingengine.com> <454F6A0D.2020504@personnelware.com> <38AB74D3-66BA-435A-BC37-64D0194B11D9@sent.com> <454F7927.8010204@personnelware.com> <49d805d70611061247p75f278ftb23be37cf8870691@mail.gmail.com> Message-ID: <49d805d70611061758x21f62b91ka015e08bc2a09846@mail.gmail.com> Looks like we can use the dai5ychain setup for some of our pm meetings when Performics doesn't work out. Thanks Jake! ---------- Forwarded message ---------- From: jake elliott Date: Nov 6, 2006 3:14 PM Subject: Re: [Chicago] Thursday PLAN? To: Joshua McAdams hi josh > Would Chicago.pm be able to use dai5ychain occasionally? Just > wondering, as our downtown locations are spotty. yeah, absolutely. i'd love to have more stuff like that here. i'll join the chicago.pm listservs now and lurk. best jake From mrnicksgirl at gmail.com Tue Nov 7 07:27:17 2006 From: mrnicksgirl at gmail.com (Nola Stowe) Date: Tue, 7 Nov 2006 09:27:17 -0600 Subject: [Chicago-talk] Lunch in the Loop this Thursday Message-ID: <43e95380611070727l1fd1e2d6x54bef04bd7e8e792@mail.gmail.com> How about it? maybe you are like me and need to pay up on some Perl Mongers tshirts to Josh. Cafe Baci Thursday 11:45 am 2 North LaSalle (door is actually on Madison cross street) Google Maps Link: http://tinyurl.com/wev6t -- http://rubygeek.com - my blog featuring: Ruby, PHP and Perl http://DevChix.com - boys can't have all the fun http://CodeSnipers.com From kent at c2group.net Tue Nov 7 07:57:04 2006 From: kent at c2group.net (Kent Cowgill) Date: Tue, 7 Nov 2006 09:57:04 -0600 Subject: [Chicago-talk] Lunch in the Loop this Thursday In-Reply-To: <43e95380611070727l1fd1e2d6x54bef04bd7e8e792@mail.gmail.com> References: <43e95380611070727l1fd1e2d6x54bef04bd7e8e792@mail.gmail.com> Message-ID: <8B35AC05-7EC5-45D2-B7F1-54EFDDF59BBD@c2group.net> Or maybe you're like me and have paid Josh but have yet to receive said shirt ;) -Kent Cowgill C2 Group, Inc. kent at c2group.net http://www.c2group.net 312.804.0160 On Nov 7, 2006, at 9:27 AM, Nola Stowe wrote: > How about it? maybe you are like me and need to pay up on some Perl > Mongers tshirts to Josh. > > Cafe Baci > Thursday > 11:45 am > 2 North LaSalle (door is actually on Madison cross street) > Google Maps Link: http://tinyurl.com/wev6t > > > > > -- > http://rubygeek.com - my blog featuring: Ruby, PHP and Perl > http://DevChix.com - boys can't have all the fun > http://CodeSnipers.com > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joshua.mcadams at gmail.com Tue Nov 7 10:32:22 2006 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Tue, 7 Nov 2006 12:32:22 -0600 Subject: [Chicago-talk] Lunch in the Loop this Thursday In-Reply-To: <8B35AC05-7EC5-45D2-B7F1-54EFDDF59BBD@c2group.net> References: <43e95380611070727l1fd1e2d6x54bef04bd7e8e792@mail.gmail.com> <8B35AC05-7EC5-45D2-B7F1-54EFDDF59BBD@c2group.net> Message-ID: <49d805d70611071032u3694465hc91bb235a1cb4b3d@mail.gmail.com> > Or maybe you're like me and have paid Josh but have yet to receive > said shirt ;) I'll have it there... or we work so close to each other, we can meet up sometime before/after work and I can give it to you :) From jason at froebe.net Tue Nov 7 17:13:12 2006 From: jason at froebe.net (Jason L. Froebe) Date: Tue, 7 Nov 2006 17:13:12 -0800 (PST) Subject: [Chicago-talk] Perl 6 Hack-a-thon? Message-ID: <20061108011312.86240.qmail@web814.biz.mail.mud.yahoo.com> Hi everyone, I know it is this month in the north west suburbs but can't find much advertising on it on the perlfoundation.org, perlmonks.org, pm.org, chicago.pm.org, www.perl.org. I'm guessing it is this coming weekend (I think). We aren't trying to hide it are we? ;-) jason Jason L. Froebe He was the sort of person who stood on mountaintops during thunderstorms in wet copper armour shouting "All the Gods are bastards." --- Terry Pratchett WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog TeamSybase (http://www.teamsybase.com) ISUG member (http://www.isug.com) Chicago Sybase Tools User Group (http://www.cpbug.com) From andy at petdance.com Tue Nov 7 17:18:09 2006 From: andy at petdance.com (Andy Lester) Date: Tue, 7 Nov 2006 19:18:09 -0600 Subject: [Chicago-talk] Perl 6 Hack-a-thon? In-Reply-To: <20061108011312.86240.qmail@web814.biz.mail.mud.yahoo.com> References: <20061108011312.86240.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: On Nov 7, 2006, at 7:13 PM, Jason L. Froebe wrote: > Hi everyone, > > I know it is this month in the north west suburbs but can't find much > advertising on it on the perlfoundation.org, perlmonks.org, pm.org, > chicago.pm.org, www.perl.org. > > I'm guessing it is this coming weekend (I think). We aren't trying to > hide it are we? ;-) Not at all. We have more people than I expected already. Why do you say "Perl 6" hackathon? What made you think it was just Perl 6? You're the 2nd person to mention that to me, and I'm wondering if I said something that made people think it was just Perl 6. http://hackathon.info/ -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From jim at jimandkoka.com Tue Nov 7 17:38:36 2006 From: jim at jimandkoka.com (Jim Thomason) Date: Tue, 7 Nov 2006 19:38:36 -0600 Subject: [Chicago-talk] Perl 6 Hack-a-thon? In-Reply-To: References: <20061108011312.86240.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: <5cfdfaf70611071738w2e95cf38wbed589ec76c09c36@mail.gmail.com> Well, there's that email you sent out a little earlier today, here's what I remember of it... "...'Perl 6' hackathon...it was just Perl 6...I...made people think it was just Perl 6." I'd say the message was pretty clear. -Jim... From jason at froebe.net Tue Nov 7 18:26:53 2006 From: jason at froebe.net (Jason L. Froebe) Date: Tue, 7 Nov 2006 18:26:53 -0800 (PST) Subject: [Chicago-talk] Perl 6 Hack-a-thon? In-Reply-To: Message-ID: <20061108022653.40008.qmail@web801.biz.mail.mud.yahoo.com> --- Andy Lester wrote: > Why do you say "Perl 6" hackathon? What made you think it was just > Perl 6? You're the 2nd person to mention that to me, and I'm > wondering if I said something that made people think it was just Perl > 6. Hi Andy, >From the Perlcast 10/13/2006 episode (Interview with Bill Odom). Bill made reference to the Perl 6 Hackathon several times. I was listening to the podcast as I was driving home on 294. I'm glad to hear that it isn't just perl 6 :) jason Jason L. Froebe He was the sort of person who stood on mountaintops during thunderstorms in wet copper armour shouting "All the Gods are bastards." --- Terry Pratchett WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog TeamSybase (http://www.teamsybase.com) ISUG member (http://www.isug.com) Chicago Sybase Tools User Group (http://www.cpbug.com) From jason at froebe.net Tue Nov 7 18:28:18 2006 From: jason at froebe.net (Jason L. Froebe) Date: Tue, 7 Nov 2006 18:28:18 -0800 (PST) Subject: [Chicago-talk] Perl 6 Hack-a-thon? In-Reply-To: Message-ID: <20061108022818.21979.qmail@web806.biz.mail.mud.yahoo.com> Hi Andy, I forgot to ask... is there a web page with the details of the Perl hackathon? Also is it this weekend? thanks jason Jason L. Froebe He was the sort of person who stood on mountaintops during thunderstorms in wet copper armour shouting "All the Gods are bastards." --- Terry Pratchett WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog TeamSybase (http://www.teamsybase.com) ISUG member (http://www.isug.com) Chicago Sybase Tools User Group (http://www.cpbug.com) From mrnicksgirl at gmail.com Tue Nov 7 18:39:42 2006 From: mrnicksgirl at gmail.com (Nola Stowe) Date: Tue, 7 Nov 2006 20:39:42 -0600 Subject: [Chicago-talk] Perl 6 Hack-a-thon? In-Reply-To: <20061108022818.21979.qmail@web806.biz.mail.mud.yahoo.com> References: <20061108022818.21979.qmail@web806.biz.mail.mud.yahoo.com> Message-ID: <43e95380611071839laaff610g1de0f24b1e5bf6c3@mail.gmail.com> Try http://hackathon.info :) On 11/7/06, Jason L. Froebe wrote: > Hi Andy, > > I forgot to ask... is there a web page with the details of the Perl > hackathon? Also is it this weekend? > > thanks > > jason > > Jason L. Froebe > > He was the sort of person who stood on mountaintops during thunderstorms in wet copper armour shouting "All the Gods are bastards." --- Terry Pratchett > > WebBlog http://jfroebe.livejournal.com > Tech log http://www.froebe.net/blog > > TeamSybase (http://www.teamsybase.com) > ISUG member (http://www.isug.com) > Chicago Sybase Tools User Group (http://www.cpbug.com) > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- http://rubygeek.com - my blog featuring: Ruby, PHP and Perl http://DevChix.com - boys can't have all the fun http://CodeSnipers.com From jim at jimandkoka.com Thu Nov 9 11:08:37 2006 From: jim at jimandkoka.com (Jim Thomason) Date: Thu, 9 Nov 2006 13:08:37 -0600 Subject: [Chicago-talk] Array slices In-Reply-To: References: <86slgyjb7k.fsf@blue.stonehenge.com> Message-ID: <5cfdfaf70611091108u717a0a83p47eec036307ed5b0@mail.gmail.com> I ran smack into this issue while working on a different problem and did come up with a solution to do it with no iterating. But, it does require some advance set up to work. #!/usr/bin/perl my %slicer_dispatch = (); sub slicer_maker { my $num_arrays = shift; return $slicer_dispatch{$num_arrays} if $slicer_dispatch{$num_arrays}; my $sliced_list = join(', ', map {'$_[' . $_ . ']->[$idx]'} (0..$num_arrays - 1)); return $slicer_dispatch{$num_arrays} = eval qq[ sub { my \$idx = shift; return ($sliced_list); } ]; } @a = ([1,2],[3,4],[5,6]); my $slicer = slicer_maker(scalar @a); my @results = $slicer->(1, @a); print "@results\n"; # prints 2 4 6 Caveats - * This is only cost effective if you're slicing many times. Just grabbing out the "2" element one time is faster to do in an iteration. * You need to build a new slicer function for each number of arguments you have. New slicer function if you're using 3 arrays, another if you're using 5, and so on. * I haven't benchmarked it, but the performance may be...odd. I was also working on a solution along these lines for summing arbitrary sets of numbers an the performance was weird. An iterated summation ($sum += $+ for @array) was faster than a generated function for very small lists (< 10 elements), but got slower after that. The generated function was then faster up until about 4,000 elements in the list, and after that the iterated version overtook it. I'm sure there's some sort of limit in the internals it's hitting to explain it. * I haven't decided if needing all the different functions for various numbers of arguments makes me feel like a C programmer for needing 'em, or a Lisp programmer for generating them. Either way, I need a bath. * The general technique can be applied to any operation that requires a variable number of arguments. * Assuming this isn't named already. I propose calling it a "Thomasonian dynamic slice". If it proves popular, then "Grand Thomasonian dynamic slice" -Jim........... On 11/5/06, Jay Strauss wrote: > > Do you consider "map" to be iteration? > > > > Jay> For example, I'd like to create a slice out of the 2nd element of each > > Jay> inner array, so that my result would be (2,4,6). > > > > Jay> @a = ([1,2],[3,4],[5,6]); > > > > Jay> print join @a[][1],"\n"; # doesn't work > > Jay> print join @a[0..2][1],"\n"; #doesn't work > > > > my @a = ([1,2],[3,4],[5,6]); > > my @result = map $_->[1], @a; > > print "@result\n"; > > I do consider it to be an iterator. I'm actually already using map, > but I thought there may be some niffy syntax that would do it for me. > > mine looks like: my @attributes = map {$_->[1] } @parm_defs; > > I guess I could leave off the braces, and add a comma :) > > Thanks > jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From andy at petdance.com Mon Nov 20 13:07:55 2006 From: andy at petdance.com (Andy Lester) Date: Mon, 20 Nov 2006 15:07:55 -0600 Subject: [Chicago-talk] Chicago.PM wiki updated Message-ID: The Chicago.PM wiki is now running Socialtext Open 2.3.0.1. 2.3.0.1 Mon Nov 20 12:57:26 CST 2006 [FEATURES] Tags may now be deleted. Tags that are not used on any page are automatically removed. To delete an unwanted tag, go to the list of tags, view all pages with that tag, and remove the tag from any pages that contain it. Improved support for HTML email. When a user sends rich email to the workspace, it is converted to formatted wikitext with inline images. Brought back the option to see "recently viewed" and "what's new" in sidebar boxes, temporarily removed in Socialtext 2.0. Extensive new searching features for file attachments. With optional external programs installed, the Socialtext page indexer can also index the contents of many different file types, including: * Microsoft Word and Excel documents * RTF, PDF and PostScript documents * HTML documents * MP3 audio * generic XML documents * compressed zip files The REST API has been updated. Primary new features include: * /data/workspaces/:ws/homepage redirects to the current homepage of the workspace * /data/version contains the version number of the API * page collections have better titles * collections now support order=alpha * attachments are sortable by name (alpha) and size * utf8 path names are allowed * JSON representation is available for PUTting pages (helps with wiki imports) * when retrieving a JSON representation of a workspace, admins get a bunch of good info, non-admins get a small amount of information (still useful) * Dynamically generated WSDL file, instead of a statically served file. The list view that shows pages with a specific tag now enables column sorting. Reduced the size of headings. Headings (H1-H6) are, in general, too large. As a result users often resort to starting with H2 or H3. That breaks any chance of meaningful hierarchical data in wikitext. Users are breaking semantics to get desired look-and-feel. We now show tags in revision views. The parameters for Apache::SizeLimit are now set in the httpd.conf. These are read by Socialtext::Handler::Cleanup at startup time. No more hardcoded values in the .pm files. Includes in the Apache *.conf files now include "[^.#]*", instead of the more limiting "*.conf". In the "Save As" box for downloading attachments, we now suggest a filename. [FIXES] An old version of Text::Balanced was causing attachment indexing to slow down because of the use of the $& special variable. We now require v1.99.0 of Text::Balanced that doesn't cause this problem. User was able to add a tag while editing a page, which would stay even if the page was canceled. Tag deletion used to increment the revision number. If you click on the "Your Watchlist" link on the dashboard, you are taken to the watchlist page, but the Watchlist tab is not highlighted. Now fixed. Show "1 view" instead of "1 views". Many other smaller fixes, and fixes in import-workspace and export-workspace. [DOCUMENTATION] Added .html to the Edit Tips refcard page. Added permissions note to the UPGRADE docs. Thanks to Dobrica Pavlinusic for catching the error. [INTERNALS] All config files are now generated with Template Toolkit, not HTML::Mason. This brings us a step closer to removing Mason from Socialtext Open. Removed unused /st-archive handler from Socialtext Open. Added the --server-admin parameter to set the ServerAdmin parameter in the Apache config. Added the --support-address parameter to set the default support address if it's not set in /etc/socialtext/socialtext.conf. Removed dependency on File::Copy::Recursive. Removed HTTP::BrowserDetect, replaced it with four lines of code in two functions in Socialtext::BrowserDetect. Saves 889K bytes of memory usage in mod_perl. Socialtext::Workspace::Importer no longer gets loaded in Apache, since it's only used by the st-import-workspace utility. Another 118K saved. All Perl and Javascript files now have copyright notices, plus a t/copyright.t test to make sure new ones don't get added without copyright. [DEVELOPMENT] Added an explicit --dev option to configure. This is now available as get_build_setting('dev'). Removed Apache::Reload as a prerequisite, unless you configure with --dev. dev-bin/list-module-deps now lets you pass --dev and --socialtext-open options, which will load DevDeps.yaml and omit EnterpriseDeps.yaml, respectively. Added a test file so that all .t files have shebang lines, strict and warnings. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From wsmith at etc.com Mon Nov 20 19:42:43 2006 From: wsmith at etc.com (wsmith at etc.com) Date: 21 Nov 2006 03:42:43 -0000 Subject: [Chicago-talk] UniForum: Google Hacking Basics Message-ID: <25591A39-94CE-4C4F-BF86-B49D19B511C5@etc.com> This looks pretty cool. Anyone else interested? xoxo, Andy ------------------------------------------------------------------------ ------- Google Hacking Basics Steven McGrath Tuesday, November 28th, 2006, 7:00-9:00pm Illinois Institute of Technology, Rice Campus, Wheaton, IL, Room 103 Abstract -------- Ever wanted to know how much information is really out there? Well now we can take a peak into the vast google database and try to pull out the information we want. This presentation and discussion will cover basic google hacking techniques and how they can be used to mine information. Speaker Bio ----------- Steven McGrath is a Network Security Consultant specializing in open source tools for vulnerability assessments in both wired and wireless environments. Steve is also one of the main people behind the scenes of Chicago 2600, DefCon 312, and the Chicago Snort Users Group. Getting There ------------- The next meeting of UniForum Chicago will be from 7:00 pm to 9:00 pm on Tuesday, November 28, 2006 at the Illinois Institute of Technology Rice campus. The address of the meeting facility is: IIT's Rice Campus Room 103 201 East Loop Road, Wheaton, Illinois 60187 Take I-88 to the Naperville Road exit. Go North on Naperville Road to Butterfield/Rt. 56. Turn right on Butterfield and proceed East to the next stoplight East (East Loop Road). Turn north onto East Loop Road (Big Bowl/Cozymel's Restaurants and Phillip's 66 Gas Station on the corners); the campus will be on your right about a block north of Butterfield Road. Park in the student parking lot behind the building. Room 103 is the first room inside the north entrance. More detailed directions and maps are available at: http://www.rice.iit.edu/directions.html http://www.rice.iit.edu/floorplan.html All UniForum Chicago general meetings are open to the public free of charge. For additional information contact Scott Nemec at (630) 990-6265 or president at uniforum.chi.il.us, or visit the UniForum Chicago web site at: http://www.uniforum.chi.il.us/