From JJacobus at PonyX.com Mon Mar 2 12:26:25 2009 From: JJacobus at PonyX.com (Jim Jacobus) Date: Mon, 02 Mar 2009 14:26:25 -0600 Subject: [Chicago-talk] Help with LibXML parsing entities not found Message-ID: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> I'm trying to parse an XML document using XML::LibXML. I'm running into a problem where it fails with "entity .. not found". The entities are HTML codes such as "ã" "¢" etc. These entities are part of descriptions I want to use as-is. They are within a block. I can't seem to find a way to have LibXML ignore trying to parse entities within a block. My code looks like: my $parser = XML::LibXML->new(); my $doc = $parser->parse_file($url); The error I'm getting looks like "parser error: Entity ¢ not defined" Any help would be appreciated. Thanks. From Andy_Bach at wiwb.uscourts.gov Mon Mar 2 13:00:33 2009 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Mon, 2 Mar 2009 15:00:33 -0600 Subject: [Chicago-talk] Help with LibXML parsing entities not found In-Reply-To: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> References: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> Message-ID: >From the XML::LibXML perldoc expand_entities $parser->expand_entities(0); Turn entity expansion on or off, enabled by default. If entity expansion is off, any external parsed entities in the document are left as entities. Probably not very useful for most purposes. or maybe load_ext_dtd or recover $parser->recover(1); Turn the parsers recover mode on (or off). Defaults to off. This allows one to parse broken XML data into memory. This switch will only work with XML data rather than HTML data. Also the validation will be switched off automaticly ------------------- Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov Voice: (608) 261-5738; Cell: (608) 658-1890 Entropy just ain't what it used to be -------------- next part -------------- An HTML attachment was scrubbed... URL: From arodland at comcast.net Mon Mar 2 13:18:02 2009 From: arodland at comcast.net (Andrew Rodland) Date: Mon, 2 Mar 2009 15:18:02 -0600 Subject: [Chicago-talk] Help with LibXML parsing entities not found In-Reply-To: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> References: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> Message-ID: <200903021518.02339.arodland@comcast.net> On Monday 02 March 2009 02:26:25 pm Jim Jacobus wrote: > I'm trying to parse an XML document using XML::LibXML. I'm running > into a problem where it fails with "entity .. not found". The > entities are HTML codes such as "ã" "¢" etc. These > entities are part of descriptions I want to use as-is. They are > within a block. I can't seem to find a > way to have LibXML ignore trying to parse entities within a block. > Those entities aren't defined within XML-in-general. Maybe you want HTML stuff]]> ? From sean at blanton.com Mon Mar 2 16:49:58 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Mon, 2 Mar 2009 18:49:58 -0600 Subject: [Chicago-talk] Help with LibXML parsing entities not found In-Reply-To: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> References: <6.2.5.6.2.20090302141609.04607988@SurplusRecord.com> Message-ID: Are you committed to using XML::LibXML as opposed to another XML parsing module? Sean Blanton On Mon, Mar 2, 2009 at 2:26 PM, Jim Jacobus wrote: > I'm trying to parse an XML document using XML::LibXML. I'm running into a > problem where it fails with "entity .. not found". The entities are HTML > codes such as "ã" "¢" etc. These entities are part of > descriptions I want to use as-is. They are within a > block. I can't seem to find a way to have LibXML > ignore trying to parse entities within a block. > > My code looks like: > my $parser = XML::LibXML->new(); > my $doc = $parser->parse_file($url); > > The error I'm getting looks like "parser error: Entity ¢ not defined" > Any help would be appreciated. > Thanks. > > _______________________________________________ > 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 Sun Mar 15 11:11:03 2009 From: me at heyjay.com (Jay Strauss) Date: Sun, 15 Mar 2009 13:11:03 -0500 Subject: [Chicago-talk] Reading & writing variable length packed Message-ID: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> Hi, (sent to luni previously by accident) I'm trying to read & write a file with packed data. The data file is created by a piece of software I use for my biz. The way its laid out is: field# - 2 bytes field length - layout changes based on the length of next field character data - the data There are a couple of twists (to me at least, maybe its old hat to you guys): 1) the field # and length digits are flip/flopped (maybe this is little endian, I'm just not used to seeing numbers this way) 2) the length field changes format depending on the length of the field. When its under 256 long it is a single byte, but when its over 256 it becomes: ff 00 00, that is its prefixed with ff then its 2 bytes indicating the length of the field (little endian). I had been reading the file like: while (length($file_contents) > 2) { my ($field_num, $value) = unpack("SC/A", $file_contents); $data{$field_num} = $value; $file_contents = substr($file_contents,length($value)+3); } Which I now realize is incorrect, because of the change in field format for longer length fields I have a couple of questions: 1) Do I need to loop over the whole file like I am, or is there some sort of magic I'm missing in unpack where it will spit out all the contents at once, rather than my manually plucking individual fields out? 2) My format needs to change based on whether the field# is followed by an "FF" or not. Is there a way to tell unpack this, or do I have to inspect the byte after field# to determine the format? Some example data below. AdamsRichard0902010 in the 1st field would look like: 01 00 13 41 64 61 6d 73 52 69 63 68 61 72 64 30 39 30 32 30 31 30 01 00 - field number = unsigned 13 = 19 (dec) is the length 41 64 61 6d 73 52 69 63 68 61 72 64 30 39 30 32 30 31 30 = AdamsRichard0902010 9999999 in field 800 would look like: 20 03 07 39 39 39 39 39 39 39 20 03 = field number (notice that 0320 = 800, but the digits are flip flopped 07 = 7 (7 in length) 39 39 39 39 39 39 39 = 9999999 Such that: Takes a LIST of values and converts it into a string using the rules given by the TEMPLATE. The resulting string is the concatenation of the converted values. Typically, each converted value looks like its machine-level representation. For example, on 32-bit machines an integer may be represented by a sequence of 4 bytes that will be converted to a sequence of 4 characters in the 901 field would look like: 85 03 ff 78 01 54 61 6b 65 73 20 61 20 4c 49 53 54 20 6f 66 20 76 61 6c 75 65 73 20 61 6e 64 20 63 6f 6e 76 65 72 74 73 20 69 74 20 69 6e 74 6f 20 61 20 73 74 72 69 6e 67 20 75 73 69 6e 67 20 74 68 65 20 72 75 6c 65 73 20 67 69 76 65 6e 20 62 79 20 74 68 65 20 54 45 4d 50 4c 41 54 45 2e 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 73 74 72 69 6e 67 20 69 73 20 74 68 65 20 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e 20 6f 66 20 74 68 65 20 63 6f 6e 76 65 72 74 65 64 20 76 61 6c 75 65 73 2e 20 54 79 70 69 63 61 6c 6c 79 2c 20 65 61 63 68 20 63 6f 6e 76 65 72 74 65 64 20 76 61 6c 75 65 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 69 74 73 20 6d 61 63 68 69 6e 65 2d 6c 65 76 65 6c 20 72 65 70 72 65 73 65 6e 74 61 74 69 6f 6e 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c 20 6f 6e 20 33 32 2d 62 69 74 20 6d 61 63 68 69 6e 65 73 20 61 6e 20 69 6e 74 65 67 65 72 20 6d 61 79 20 62 65 20 72 65 70 72 65 73 65 6e 74 65 64 20 62 79 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 20 34 20 62 79 74 65 73 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 63 6f 6e 76 65 72 74 65 64 20 74 6f 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 20 34 20 63 68 61 72 61 63 74 65 72 73 85 03 = 901 decimal (field#) ff = when the field length is more that 256 I get an ff 78 01 = 376 decimal length ( 0178 = 376) Thanks Jay From v.velox at vvelox.net Mon Mar 16 06:28:48 2009 From: v.velox at vvelox.net (v.velox at vvelox.net) Date: Mon, 16 Mar 2009 08:28:48 -0500 Subject: [Chicago-talk] MIME::Lite and creating PGP mime signed emails Message-ID: <0.628462297000574.1237210128.ZConf::Mail@vixen42> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From imranjj at gmail.com Mon Mar 16 07:30:39 2009 From: imranjj at gmail.com (imran javaid) Date: Mon, 16 Mar 2009 09:30:39 -0500 Subject: [Chicago-talk] Reading & writing variable length packed In-Reply-To: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> References: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> Message-ID: This reminds me of a script I once wrote long ago to read a variable length file on a nine track tape. Here is a somewhat straight forward way to do it (did not test it and i am skipping some of the error checking on the return from read): open my $FILE, "<", $filename or die "Couldn't open file $filename: $!\n"; my $buf; my $loc = 0; while(read($FILE, $buf, 2, $loc)) { $loc += 2; my $linenum = unpack("v", $buf); my $ret = read($FILE, $buf, 1, $loc); die if $ret != 1; $loc++; my $length = unpack("C", $buf); if ($length == 255) { $ret = read($FILE, $buf, 2, $loc); die if $ret != 2; $loc += 2; $length = unpack("v", $buf); } $ret = read($FILE, $buf, $length, $loc); die if $ret != $length; print "LineNum: $linenum, Length: $length, Data: $buf\n"; } On Sun, Mar 15, 2009 at 1:11 PM, Jay Strauss wrote: > Hi, (sent to luni previously by accident) > > I'm trying to read & write a file with packed data. ?The data file is > created by a piece of software I use for my biz. ?The way its laid out > is: > > field# - 2 bytes > field length - layout changes based on the length of next field > character data - the data > > There are a couple of twists (to me at least, maybe its old hat to you guys): > > 1) the field # and length digits are flip/flopped (maybe this is > little endian, I'm just not used to seeing numbers this way) > 2) the length field changes format depending on the length of the > field. ?When its under 256 long it is a single byte, but when its over > 256 it becomes: > ff 00 00, that is its prefixed with ff then its 2 bytes indicating the > length of the field (little endian). > > I had been reading the file like: > > while (length($file_contents) > 2) { > ?my ($field_num, $value) = unpack("SC/A", $file_contents); > ?$data{$field_num} = $value; > ?$file_contents = substr($file_contents,length($value)+3); > } > > Which I now realize is incorrect, because of the change in field > format for longer length fields > > I have a couple of questions: > > 1) Do I need to loop over the whole file like I am, or is there some > sort of magic I'm missing in unpack where it will spit out all the > contents at once, rather than my manually plucking individual fields > out? > > 2) My format needs to change based on whether the field# is followed > by an "FF" or not. ?Is there a way to tell unpack this, or do I have > to inspect the byte after field# to determine the format? > > Some example data below. > > AdamsRichard0902010 in the 1st field would look like: > 01 00 13 41 64 61 6d 73 52 69 63 68 61 72 64 30 39 30 32 30 31 30 > > 01 00 - field number = unsigned > 13 = 19 (dec) is the length > 41 64 61 6d 73 52 69 63 68 61 72 64 30 39 30 32 30 31 30 = AdamsRichard0902010 > > > 9999999 in field 800 would look like: > 20 03 07 39 39 39 39 39 39 39 > > 20 03 = field number ?(notice that 0320 = 800, but the digits are flip flopped > 07 = 7 (7 in length) > 39 39 39 39 39 39 39 = 9999999 > > Such that: > Takes a LIST of values and converts it into a string using the rules > given by the TEMPLATE. The resulting string is the concatenation of > the converted values. Typically, each converted value looks like its > machine-level representation. For example, on 32-bit machines an > integer may be represented by a sequence of 4 bytes that will be > converted to a sequence of 4 characters > > in the 901 field would look like: > > 85 03 ff 78 01 54 61 6b 65 73 20 61 20 4c 49 53 54 20 6f 66 20 76 61 > 6c 75 65 73 20 61 6e 64 20 63 6f 6e 76 65 72 74 73 20 69 74 20 69 6e > 74 6f 20 61 20 73 74 72 69 6e 67 20 75 73 69 6e 67 20 74 68 65 20 72 > 75 6c 65 73 20 67 69 76 65 6e 20 62 79 20 74 68 65 20 54 45 4d 50 4c > 41 54 45 2e 20 54 68 65 20 72 65 73 75 6c 74 69 6e 67 20 73 74 72 69 > 6e 67 20 69 73 20 74 68 65 20 63 6f 6e 63 61 74 65 6e 61 74 69 6f 6e > 20 6f 66 20 74 68 65 20 63 6f 6e 76 65 72 74 65 64 20 76 61 6c 75 65 > 73 2e 20 54 79 70 69 63 61 6c 6c 79 2c 20 65 61 63 68 20 63 6f 6e 76 > 65 72 74 65 64 20 76 61 6c 75 65 20 6c 6f 6f 6b 73 20 6c 69 6b 65 20 > 69 74 73 20 6d 61 63 68 69 6e 65 2d 6c 65 76 65 6c 20 72 65 70 72 65 > 73 65 6e 74 61 74 69 6f 6e 2e 20 46 6f 72 20 65 78 61 6d 70 6c 65 2c > 20 6f 6e 20 33 32 2d 62 69 74 20 6d 61 63 68 69 6e 65 73 20 61 6e 20 > 69 6e 74 65 67 65 72 20 6d 61 79 20 62 65 20 72 65 70 72 65 73 65 6e > 74 65 64 20 62 79 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 20 34 20 > 62 79 74 65 73 20 74 68 61 74 20 77 69 6c 6c 20 62 65 20 63 6f 6e 76 > 65 72 74 65 64 20 74 6f 20 61 20 73 65 71 75 65 6e 63 65 20 6f 66 20 > 34 20 63 68 61 72 61 63 74 65 72 73 > > 85 03 = 901 decimal (field#) > ff = when the field length is more that 256 I get an ff > 78 01 = 376 decimal length ( 0178 = 376) > > Thanks > Jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From arodland at comcast.net Mon Mar 16 11:33:06 2009 From: arodland at comcast.net (Andrew Rodland) Date: Mon, 16 Mar 2009 13:33:06 -0500 Subject: [Chicago-talk] MIME::Lite and creating PGP mime signed emails In-Reply-To: <0.628462297000574.1237210128.ZConf::Mail@vixen42> References: <0.628462297000574.1237210128.ZConf::Mail@vixen42> Message-ID: <200903161333.06488.arodland@comcast.net> On Monday 16 March 2009 08:28:48 am v.velox at vvelox.net wrote: > Any one here ever try that before? > > I've been working on adding that ability into ZConf::Mail and have > been running into issues. Claws-mail reports it as not being as > having a bad signature, but when I tell it to save the body > and the signature to disk, I can verify them with out issue. > > This email has actually been composed with it if any one is curious > at what the output looks like. Comes up as invalid signature here as well. I viewed source and the messsage structure itself looks reasonable, so I'm guessing that you missed something in the specification of exactly what content should be signed -- too much or too little whitespace, or an encoding issue, or something? Andrew From me at heyjay.com Mon Mar 16 11:52:46 2009 From: me at heyjay.com (Jay Strauss) Date: Mon, 16 Mar 2009 13:52:46 -0500 Subject: [Chicago-talk] Reading & writing variable length packed In-Reply-To: References: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> Message-ID: <39eaccc10903161152o389b6f26j112f18ff0d470362@mail.gmail.com> On Mon, Mar 16, 2009 at 9:30 AM, imran javaid wrote: > This reminds me of a script I once wrote long ago to read a variable > length file on a nine track tape. > Here is a somewhat straight forward way to do it (did not test it and > i am skipping some of the error checking on the return from read): > > open my $FILE, "<", $filename or die "Couldn't open file $filename: $!\n"; > my $buf; > my $loc = 0; > while(read($FILE, $buf, 2, $loc)) { > ?$loc += 2; > ?my $linenum = unpack("v", $buf); > ?my $ret = read($FILE, $buf, 1, $loc); > ?die if $ret != 1; > ?$loc++; > ?my $length = unpack("C", $buf); > ?if ($length == 255) { > ? ?$ret = read($FILE, $buf, 2, $loc); > ? ?die if $ret != 2; > ? ?$loc += 2; > ? ?$length = unpack("v", $buf); > ?} > ?$ret = read($FILE, $buf, $length, $loc); > ?die if $ret != $length; > ?print "LineNum: $linenum, Length: $length, Data: $buf\n"; > } Hi Imran, Thanks for the response. I've done something sort of similar. I'm running into a problem now when I write the file. I can't figure out why my output file diffs from my orig. I'll try yours and see if I get different results. Jay From andy at petdance.com Mon Mar 16 12:36:16 2009 From: andy at petdance.com (Andy Lester) Date: Mon, 16 Mar 2009 14:36:16 -0500 Subject: [Chicago-talk] Chicago Nerd Social Club References: <9db93b0e0903161214n764413a1jaa86828999cbffc2@mail.gmail.com> Message-ID: Begin forwarded message: > From: Samir Faci > Date: March 16, 2009 2:14:22 PM CDT > To: UIC Linux User Group , Association for > Computing Machinery , Linux Users Of Northern > Illinois - Technical Discussion , DePaul Linux > Community , luni-announce at luni.org > Subject: [LUNI] ANN: Fwd: [ChicagoLinux] Chicago Nerd Social Club > Reply-To: luni at luni.org > > For anyone interested or anyone who hasn't heard of this from Kevin. > > > ---------- Forwarded message ---------- > From: Kevin Harriss > Date: Mon, Mar 16, 2009 at 2:12 PM > Subject: [ChicagoLinux] Chicago Nerd Social Club > To: Chicago Linux Discuss > > > Hey all, > > There is a new group launch in Chicago called the Chicago Nerd Social > Club[1]. This group is trying to make a non-threatening and fun > environment for nerds to hang out and socialize. The Chicago Nerd > Social Club will host a number of regular events. Some of these > events will be of a purely social nature for example, a casual get > together at a bar, a trip to the movies or a gaming night. Other > events will be of a more informational nature like a trip to a local > museum, introductions to new technologies, or a comic book swap night. > Most events will be free or very inexpensive - there is no annual > membership fee. > > They are having their launch party[2] at Risque Cafe[3] on May 7th. > There will be a small cover of $5 for the event. They will have a > live band, I Fight Dragons[4], performing along with a nice > environment to socialize with fellow nerds. I know I will be at the > launch party and I hope to see a bunch of people from the lug there as > well. > > If you want to stay up to date with the Chicago Nerd Social Club you > can follow them on Twitter[5], @ChicagoNerds, or join their Facebook > Group[6]. > > Kevin > > [1] http://www.chicagonerds.com/ > [2] http://www.chicagonerds.com/chicago-nerd-social-club-kickoff- > event/ > [3] http://risquechicago.com/ > [4] http://www.ifightdragons.com/ > [5] http://twitter.com/chicagonerds > [6] http://www.facebook.com/group.php?gid=55886508718 > _______________________________________________ > ChicagoLinux-Discuss mailing list > ChicagoLinux-Discuss at chicagolug.org > https://www.chicagolug.org/lists/listinfo/chicagolinux-discuss > > > > -- > -- > Samir Faci > *insert title* > `fortune` > -- > Linux Users Of Northern Illinois (Chicago) - Announcements Mailing > List > http://luni.org/mailman/listinfo/luni-announce > -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From v.velox at vvelox.net Mon Mar 16 15:40:27 2009 From: v.velox at vvelox.net (v.velox at vvelox.net) Date: Mon, 16 Mar 2009 17:40:27 -0500 Subject: [Chicago-talk] MIME::Lite and creating PGP mime signed emails In-Reply-To: <0.628462297000574.1237210128.ZConf::Mail@vixen42> Message-ID: <0.841734369841056.1237243227.ZConf::Mail@vixen42> An embedded and charset-unspecified text was scrubbed... Name: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 196 bytes Desc: not available URL: From me at heyjay.com Mon Mar 16 20:46:10 2009 From: me at heyjay.com (Jay Strauss) Date: Mon, 16 Mar 2009 22:46:10 -0500 Subject: [Chicago-talk] Reading & writing variable length packed In-Reply-To: <39eaccc10903161152o389b6f26j112f18ff0d470362@mail.gmail.com> References: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> <39eaccc10903161152o389b6f26j112f18ff0d470362@mail.gmail.com> Message-ID: <39eaccc10903162046n382d6929pdc1e640293f5fbeb@mail.gmail.com> On Mon, Mar 16, 2009 at 1:52 PM, Jay Strauss wrote: > On Mon, Mar 16, 2009 at 9:30 AM, imran javaid wrote: >> This reminds me of a script I once wrote long ago to read a variable >> length file on a nine track tape. >> Here is a somewhat straight forward way to do it (did not test it and >> i am skipping some of the error checking on the return from read): >> >> open my $FILE, "<", $filename or die "Couldn't open file $filename: $!\n"; >> my $buf; >> my $loc = 0; >> while(read($FILE, $buf, 2, $loc)) { >> ?$loc += 2; >> ?my $linenum = unpack("v", $buf); >> ?my $ret = read($FILE, $buf, 1, $loc); >> ?die if $ret != 1; >> ?$loc++; >> ?my $length = unpack("C", $buf); >> ?if ($length == 255) { >> ? ?$ret = read($FILE, $buf, 2, $loc); >> ? ?die if $ret != 2; >> ? ?$loc += 2; >> ? ?$length = unpack("v", $buf); >> ?} >> ?$ret = read($FILE, $buf, $length, $loc); >> ?die if $ret != $length; >> ?print "LineNum: $linenum, Length: $length, Data: $buf\n"; >> } > > Hi Imran, > > Thanks for the response. ?I've done something sort of similar. ?I'm > running into a problem now when I write the file. ?I can't figure out > why my output file diffs from my orig. > > I'll try yours and see if I get different results. > > Jay > Yep, I get different results. I never used "read" before, and it doesn't work like I was thinking or like you were thinking either. The offset isn't the offset into the file handle, its the offset into the target scalar. Took me a long time to figure that error out :) Jay From imranjj at gmail.com Tue Mar 17 04:22:26 2009 From: imranjj at gmail.com (imran javaid) Date: Tue, 17 Mar 2009 06:22:26 -0500 Subject: [Chicago-talk] Reading & writing variable length packed In-Reply-To: <39eaccc10903162046n382d6929pdc1e640293f5fbeb@mail.gmail.com> References: <39eaccc10903151111k5a6a18b7k85310122fcc7d4b@mail.gmail.com> <39eaccc10903161152o389b6f26j112f18ff0d470362@mail.gmail.com> <39eaccc10903162046n382d6929pdc1e640293f5fbeb@mail.gmail.com> Message-ID: I knew I had used this technique before. I just didn't "read" the "read" manpage properly while typing this code up. On Mon, Mar 16, 2009 at 10:46 PM, Jay Strauss wrote: > On Mon, Mar 16, 2009 at 1:52 PM, Jay Strauss wrote: >> On Mon, Mar 16, 2009 at 9:30 AM, imran javaid wrote: >>> This reminds me of a script I once wrote long ago to read a variable >>> length file on a nine track tape. >>> Here is a somewhat straight forward way to do it (did not test it and >>> i am skipping some of the error checking on the return from read): >>> >>> open my $FILE, "<", $filename or die "Couldn't open file $filename: $!\n"; >>> my $buf; >>> my $loc = 0; >>> while(read($FILE, $buf, 2, $loc)) { >>> ?$loc += 2; >>> ?my $linenum = unpack("v", $buf); >>> ?my $ret = read($FILE, $buf, 1, $loc); >>> ?die if $ret != 1; >>> ?$loc++; >>> ?my $length = unpack("C", $buf); >>> ?if ($length == 255) { >>> ? ?$ret = read($FILE, $buf, 2, $loc); >>> ? ?die if $ret != 2; >>> ? ?$loc += 2; >>> ? ?$length = unpack("v", $buf); >>> ?} >>> ?$ret = read($FILE, $buf, $length, $loc); >>> ?die if $ret != $length; >>> ?print "LineNum: $linenum, Length: $length, Data: $buf\n"; >>> } >> >> Hi Imran, >> >> Thanks for the response. ?I've done something sort of similar. ?I'm >> running into a problem now when I write the file. ?I can't figure out >> why my output file diffs from my orig. >> >> I'll try yours and see if I get different results. >> >> Jay >> > > Yep, I get different results. ?I never used "read" before, and it > doesn't work like I was thinking or like you were thinking either. > The offset isn't the offset into the file handle, its the offset into > the target scalar. ?Took me a long time to figure that error out :) > > Jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From ccf3 at mindspring.com Tue Mar 17 14:14:55 2009 From: ccf3 at mindspring.com (Clyde Forrester) Date: Tue, 17 Mar 2009 16:14:55 -0500 Subject: [Chicago-talk] Active State and Strawberry Message-ID: <49C012CF.8090706@mindspring.com> I have Active State Perl on my Windows XP Pro partition. I would like to add Strawberry Perl. I would like to be able to compare them. Will they co-exist or will they feud? Clyde Forrester From jon-chicagotalk at jrock.us Tue Mar 17 14:45:11 2009 From: jon-chicagotalk at jrock.us (Jonathan Rockway) Date: Tue, 17 Mar 2009 16:45:11 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C012CF.8090706@mindspring.com> (Clyde Forrester's message of "Tue, 17 Mar 2009 16:14:55 -0500") References: <49C012CF.8090706@mindspring.com> Message-ID: <877i2nygbc.fsf@bar.jrock.us> * On Tue, Mar 17 2009, Clyde Forrester wrote: > I have Active State Perl on my Windows XP Pro partition. > I would like to add Strawberry Perl. > I would like to be able to compare them. > Will they co-exist or will they feud? Strawberry is completely self-contained, so it shouldn't conflict with anything. -- print just => another => perl => hacker => if $,=$" From davidy at nationalcycle.com Tue Mar 17 16:01:59 2009 From: davidy at nationalcycle.com (David Young) Date: Tue, 17 Mar 2009 17:01:59 -0600 Subject: [Chicago-talk] Active State and Strawberry Message-ID: They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. ydy >>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> * On Tue, Mar 17 2009, Clyde Forrester wrote: > I have Active State Perl on my Windows XP Pro partition. > I would like to add Strawberry Perl. > I would like to be able to compare them. > Will they co-exist or will they feud? Strawberry is completely self-contained, so it shouldn't conflict with anything. -- print just => another => perl => hacker => if $,=$" _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From arodland at comcast.net Tue Mar 17 15:07:37 2009 From: arodland at comcast.net (Andrew Rodland) Date: Tue, 17 Mar 2009 17:07:37 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: References: Message-ID: <200903171707.38160.arodland@comcast.net> On Tuesday 17 March 2009 06:01:59 pm David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry > will install into C:\strawberry. You can't change this. > Actually you can if you use the "portable" version :) Andrew From ccf3 at mindspring.com Tue Mar 17 15:50:57 2009 From: ccf3 at mindspring.com (Clyde Forrester) Date: Tue, 17 Mar 2009 17:50:57 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: References: Message-ID: <49C02951.5040109@mindspring.com> That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > From cromedome at gmail.com Tue Mar 17 14:52:48 2009 From: cromedome at gmail.com (Jason A. Crome) Date: Tue, 17 Mar 2009 16:52:48 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <877i2nygbc.fsf@bar.jrock.us> References: <49C012CF.8090706@mindspring.com> <877i2nygbc.fsf@bar.jrock.us> Message-ID: Do pay attention to a couple of things though: - Windows ignores shebang lines, so don't count on them to run the version of the Perl compiler that you want. - If you have the mingw package installed with ActiveState, and you plan on Strawberry being the distribution of Perl you use most, make sure that Strawberry is in your path before ActiveState, otherwise the gcc that comes with ActiveState will get in the way of the one that ships with Strawberry. - You can only register the .pl file extension to one of the distributions. Make sure it is set to the one you want. - If you are running Perl as a CGI under IIS, make sure that the distribution of Perl you prefer is set up properly under IIS. ActiveState will install itself as the default handler for Perl applications under IIS. If you want to use Strawberry, you will have to make this change yourself. Other than that, the distributions themselves are self-contained. Just have some Windows-specific gotchas to watch out for. Good luck! Jason On Tue, Mar 17, 2009 at 4:45 PM, Jonathan Rockway wrote: > * On Tue, Mar 17 2009, Clyde Forrester wrote: >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > > -- > print just => another => perl => hacker => if $,=$" > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From ccf3 at mindspring.com Tue Mar 17 19:33:43 2009 From: ccf3 at mindspring.com (Clyde Forrester) Date: Tue, 17 Mar 2009 21:33:43 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: References: <49C012CF.8090706@mindspring.com> <877i2nygbc.fsf@bar.jrock.us> Message-ID: <49C05D87.4080903@mindspring.com> Thanks for all the 'gotcha' warnings. The first one I've been used to for some time. The others are always good to know. Ultimately, the solution will be migration to Linux. Clyde Jason A. Crome wrote: > Do pay attention to a couple of things though: > > - Windows ignores shebang lines, so don't count on them to run the > version of the Perl compiler that you want. > - If you have the mingw package installed with ActiveState, and you > plan on Strawberry being the distribution of Perl you use most, make > sure that Strawberry is in your path before ActiveState, otherwise the > gcc that comes with ActiveState will get in the way of the one that > ships with Strawberry. > - You can only register the .pl file extension to one of the > distributions. Make sure it is set to the one you want. > - If you are running Perl as a CGI under IIS, make sure that the > distribution of Perl you prefer is set up properly under IIS. > ActiveState will install itself as the default handler for Perl > applications under IIS. If you want to use Strawberry, you will have > to make this change yourself. > > Other than that, the distributions themselves are self-contained. > Just have some Windows-specific gotchas to watch out for. > > Good luck! > Jason > > On Tue, Mar 17, 2009 at 4:45 PM, Jonathan Rockway > wrote: > >> * On Tue, Mar 17 2009, Clyde Forrester wrote: >> >>> I have Active State Perl on my Windows XP Pro partition. >>> I would like to add Strawberry Perl. >>> I would like to be able to compare them. >>> Will they co-exist or will they feud? >>> >> Strawberry is completely self-contained, so it shouldn't conflict with >> anything. >> From andy at petdance.com Tue Mar 17 21:43:00 2009 From: andy at petdance.com (Andy Lester) Date: Tue, 17 Mar 2009 23:43:00 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: References: <49C012CF.8090706@mindspring.com> <877i2nygbc.fsf@bar.jrock.us> Message-ID: <848EC2A0-BF68-416A-A640-385B707FFCAD@petdance.com> On Mar 17, 2009, at 4:52 PM, Jason A. Crome wrote: > - Windows ignores shebang lines, so don't count on them to run the > version of the Perl compiler that you want Windows ignores them, but Perl will still handle switches on the shebang line just as if it were running under Unix. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From Andy_Bach at wiwb.uscourts.gov Wed Mar 18 11:26:58 2009 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Wed, 18 Mar 2009 13:26:58 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C05D87.4080903@mindspring.com> References: <49C012CF.8090706@mindspring.com> <877i2nygbc.fsf@bar.jrock.us> <49C05D87.4080903@mindspring.com> Message-ID: > - Windows ignores shebang lines, so don't count on them to run the > version of the Perl compiler that you want. One nice thing - Perl will use the shebang, even in windows, you can still set -w or -Taint that way. a ------------------- Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov Voice: (608) 261-5738; Cell: (608) 658-1890 Entropy just ain't what it used to be -------------- next part -------------- An HTML attachment was scrubbed... URL: From richard at rushlogistics.com Wed Mar 18 04:28:07 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:28:07 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <197502300-1237375963-cardhu_decombobulator_blackberry.rim.net-230890903-@bxe1238.bisx.prod.on.blackberry> www.pandamarketing.com Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From richard at rushlogistics.com Wed Mar 18 04:35:39 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:35:39 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <1120110936-1237376610-cardhu_decombobulator_blackberry.rim.net-312128800-@bxe1238.bisx.prod.on.blackberry> H Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From richard at rushlogistics.com Wed Mar 18 04:36:32 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:36:32 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <1767145354-1237376611-cardhu_decombobulator_blackberry.rim.net-662759677-@bxe1238.bisx.prod.on.blackberry> H Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From richard at rushlogistics.com Wed Mar 18 04:37:50 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:37:50 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <1575173564-1237376612-cardhu_decombobulator_blackberry.rim.net-487266177-@bxe1238.bisx.prod.on.blackberry> Hh Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From richard at rushlogistics.com Wed Mar 18 04:36:43 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:36:43 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <1094538803-1237376611-cardhu_decombobulator_blackberry.rim.net-200877661-@bxe1238.bisx.prod.on.blackberry> H Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From richard at rushlogistics.com Wed Mar 18 04:39:14 2009 From: richard at rushlogistics.com (richard at rushlogistics.com) Date: Wed, 18 Mar 2009 11:39:14 +0000 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49C02951.5040109@mindspring.com> References: <49C02951.5040109@mindspring.com> Message-ID: <523325804-1237376630-cardhu_decombobulator_blackberry.rim.net-890837311-@bxe1238.bisx.prod.on.blackberry> N Sent via my BlackBerry. Ignore all the typos. -----Original Message----- From: Clyde Forrester Date: Tue, 17 Mar 2009 17:50:57 To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From sean at blanton.com Wed Mar 18 08:01:56 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Wed, 18 Mar 2009 10:01:56 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <848EC2A0-BF68-416A-A640-385B707FFCAD@petdance.com> References: <49C012CF.8090706@mindspring.com> <877i2nygbc.fsf@bar.jrock.us> <848EC2A0-BF68-416A-A640-385B707FFCAD@petdance.com> Message-ID: I've been running Strawberry for awhile ignoring the 2 activestate installations on Vista. The only problem I had was that CPAN installs wanted to use tar and it is not included in Strawberry. Then I got tripped up because the Msys Git tar (and grep) are different from the usual one's and don't have the expected command syntax. So I had to put Cygwin tar in the path ahead of Msys Git's. Sean Blanton. On Tue, Mar 17, 2009 at 11:43 PM, Andy Lester wrote: > > On Mar 17, 2009, at 4:52 PM, Jason A. Crome wrote: > > - Windows ignores shebang lines, so don't count on them to run the >> version of the Perl compiler that you want >> > > > Windows ignores them, but Perl will still handle switches on the shebang > line just as if it were running under Unix. > > xoa > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > > _______________________________________________ > 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 warren.lindsey at gmail.com Wed Mar 18 10:42:15 2009 From: warren.lindsey at gmail.com (Warren Lindsey) Date: Wed, 18 Mar 2009 12:42:15 -0500 Subject: [Chicago-talk] Active State and Strawberry Message-ID: <49c132c8.1818d00a.20a3.ffff8d25@mx.google.com> What's your benchmark? Do you plan test against perl on cygwin as well? -----Original Message----- From: Clyde Forrester Sent: Tuesday, March 17, 2009 5:50 PM To: Chicago.pm chatter Subject: Re: [Chicago-talk] Active State and Strawberry That worked real great. Thanks, all. All indications are that Strawberry is just a touch faster than Active State. (And both are a bit faster than Python on my benchmark, and way faster than Ruby.) Clyde David Young wrote: > They can both co-exist without conflict. Just be aware that Strawberry will install into C:\strawberry. You can't change this. > > ydy > > >>>> jon-chicagotalk at jrock.us 03/17/09 03:45PM >>> >>>> > * On Tue, Mar 17 2009, Clyde Forrester wrote: > >> I have Active State Perl on my Windows XP Pro partition. >> I would like to add Strawberry Perl. >> I would like to be able to compare them. >> Will they co-exist or will they feud? >> > > Strawberry is completely self-contained, so it shouldn't conflict with > anything. > _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From ccf3 at mindspring.com Thu Mar 19 10:16:10 2009 From: ccf3 at mindspring.com (Clyde Forrester) Date: Thu, 19 Mar 2009 12:16:10 -0500 Subject: [Chicago-talk] Active State and Strawberry In-Reply-To: <49c132c8.1818d00a.20a3.ffff8d25@mx.google.com> References: <49c132c8.1818d00a.20a3.ffff8d25@mx.google.com> Message-ID: <49C27DDA.6020101@mindspring.com> The current benchmark is (implicitly) Windows-only. I take a Windows directory listing, and extract the information I need to create my own listing with file size, and full file name with drive and path. In this case the Windows listing is about 95 MB and the output is about 125 MB. (7 sec. in Strawberry, 7-8 in Active State, 9.5 in Python, 36 in Ruby). I then sort it down by file size and have another program which finds duplicate files. I have also tried VB, VC++, VC#, and VJ++, but I haven't been able to wrap my head around them. (My brain hurts!) Oh... I forgot about Java. I'll have to try that. The benchmark I'm working on next counts nucleotide bases (A, C, G, T, and N) in a .fa (fasta) chromosome file. Maybe it's not all that useful, but it does some file I/O and some string processing on a fairly huge file (11-250 MB). Anything useful would probably build on that. So it allows me to do something fundamental in as many languages as I can think of, in Windows and Linux. And Cygwin, now that you mention it. The point of the benchmarks is not just speed. It's also a test of capability and coding ease in a given language. It also teaches me many of the fundamental gotchas in each language. For example, I ran into a scoping glitch in Ruby. And, as mentioned above, Visual Studio appears to be the path of greatest resistance. Other benchmarks I plan to try involve SQL, XML, GUI, and TCP/IP. Did I forget anything? Clyde Warren Lindsey wrote: > What's your benchmark? Do you plan test against perl on cygwin as well? > > > -----Original Message----- > From: Clyde Forrester > Sent: Tuesday, March 17, 2009 5:50 PM > To: Chicago.pm chatter > Subject: Re: [Chicago-talk] Active State and Strawberry > > That worked real great. Thanks, all. > All indications are that Strawberry is just a touch faster than Active > State. > (And both are a bit faster than Python on my benchmark, and way faster > than Ruby.) > > Clyde > From joshua.mcadams at gmail.com Sat Mar 21 10:57:03 2009 From: joshua.mcadams at gmail.com (Joshua) Date: Sat, 21 Mar 2009 12:57:03 -0500 Subject: [Chicago-talk] Meeting on the 24th Message-ID: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> The 24th is our regular meeting date. Does anyone have any topics that they'd like to present on? From michael at potter.name Mon Mar 23 19:36:24 2009 From: michael at potter.name (Michael Potter) Date: Mon, 23 Mar 2009 21:36:24 -0500 Subject: [Chicago-talk] Suppressing "NOTICE:" in postgres Message-ID: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> Chicago Perl Crew, When I do this : $sql = qq{ DROP TABLE "terminalXgroup" CASCADE }; $dbh->do($sql); I get this message: NOTICE: drop cascades to constraint terminalXgroup_group_fkey on table "terminalXgroup" a) What are the ways to suppress this message? b) Is there a convenient way to capture this message in a variable rather than letting it go to the terminal? c) Is there a way to drop all constraints on a table without knowing their names? for c) I could drop the constraints before I drop the table; that way the notice message would not be active. I know how to drop a single constraint by name, but I can not find how to get the list of constraints in postgres. My goal is the drop a set of tables and not have a bunch of messages come out that I do not care about. Even if I do a) or b) I think I still want to do c). I am not willing to name all my constraints; I think I would rather live with the notice messages. -- Michael Potter From don at drakeconsult.com Mon Mar 23 20:11:23 2009 From: don at drakeconsult.com (Don Drake) Date: Mon, 23 Mar 2009 22:11:23 -0500 Subject: [Chicago-talk] Suppressing "NOTICE:" in postgres In-Reply-To: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> References: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> Message-ID: <17BEE615-1082-46FB-8E3F-A347CA19A107@drakeconsult.com> For a) and b), I would try playing around with $dbh->err() and $dbh- >errstr() to get the NOTICE message, and to disable it, try setting PrintError to false in your connection string. For c), I've had to do that sort of thing before (as well as analyze indexes for table partitioning), so here's the code to do that. Just change the c.relname=lower('your_table_name') and the lower(n.nspname) is the schema. SELECT i.conname, pg_catalog.pg_get_constraintdef(i.oid) as ddl FROM pg_catalog.pg_class c, pg_catalog.pg_class c2, pg_catalog.pg_constraint i WHERE c.oid = (SELECT distinct c.oid FROM pg_class c INNER JOIN pg_namespace n ON c.relnamespace = n.oid WHERE c.relkind = 'r' AND c.relname = lower('emails') AND lower(n.nspname) = lower('spamdb') ) AND c.oid = i.conrelid AND i.conrelid = c2.oid AND i.contype !='c' ORDER BY i.contype desc; Hope that helps. -Don -- Don Drake www.drakeconsulting.com www.maillaunder.com 312-560-1574 800-733-2143 On Mar 23, 2009, at 9:36 PM, Michael Potter wrote: > Chicago Perl Crew, > > When I do this : > $sql = qq{ DROP TABLE "terminalXgroup" CASCADE }; > $dbh->do($sql); > > I get this message: > NOTICE: drop cascades to constraint terminalXgroup_group_fkey on > table "terminalXgroup" > > a) What are the ways to suppress this message? > b) Is there a convenient way to capture this message in a variable > rather than letting it go to the terminal? > c) Is there a way to drop all constraints on a table without knowing > their names? > > for c) I could drop the constraints before I drop the table; that way > the notice message would not be active. I know how to drop a single > constraint by name, but I can not find how to get the list of > constraints in postgres. > > My goal is the drop a set of tables and not have a bunch of messages > come out that I do not care about. Even if I do a) or b) I think I > still want to do c). > > I am not willing to name all my constraints; I think I would rather > live with the notice messages. > > -- > Michael Potter > _______________________________________________ > 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 andy at petdance.com Mon Mar 23 20:16:39 2009 From: andy at petdance.com (Andy Lester) Date: Mon, 23 Mar 2009 22:16:39 -0500 Subject: [Chicago-talk] Suppressing "NOTICE:" in postgres In-Reply-To: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> References: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> Message-ID: On Mar 23, 2009, at 9:36 PM, Michael Potter wrote: > I get this message: > NOTICE: drop cascades to constraint terminalXgroup_group_fkey on > table "terminalXgroup" If you just want the message gone, then update your postgresql.conf http://www.postgresql.org/docs/current/static/runtime-config-logging.html -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From drench+chipm at gmail.com Tue Mar 24 04:13:27 2009 From: drench+chipm at gmail.com (Dan Rench) Date: Tue, 24 Mar 2009 06:13:27 -0500 Subject: [Chicago-talk] Meeting on the 24th In-Reply-To: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> Message-ID: Is the meeting still on, despite no presenters? -------------- next part -------------- An HTML attachment was scrubbed... URL: From joshua.mcadams at gmail.com Tue Mar 24 07:00:56 2009 From: joshua.mcadams at gmail.com (Joshua) Date: Tue, 24 Mar 2009 09:00:56 -0500 Subject: [Chicago-talk] Meeting on the 24th In-Reply-To: References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> Message-ID: <49d805d70903240700v70cca1e8k19dc7a4c143b6842@mail.gmail.com> I'm fine with a social meetup. Anybody up for dinner and/or drinks? On Tue, Mar 24, 2009 at 6:13 AM, Dan Rench wrote: > Is the meeting still on, despite no presenters? > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From amead at alanmead.org Tue Mar 24 07:15:52 2009 From: amead at alanmead.org (Alan Mead) Date: Tue, 24 Mar 2009 09:15:52 -0500 Subject: [Chicago-talk] libsecondlife + perl? Message-ID: <49C8EB18.7040307@alanmead.org> I'm trying to make virtual confederates (i.e., bots) for a research study being conducted in Second Life. All the libsl stuff seems to be written in C#, so I could learn mono but I'd really, really prefer to use Perl (e.g., Rivescript seems superior to AIML in many ways). However, Google and I cannot find any Perl "bindings" for libsl... Is it not possible to call a C# library from Perl? -Alan -- Alan D. Mead, Ph.D. Assistant Professor, Institute of Psychology Scientific Adviser, Center for Research and Service Illinois Institute of Technology 3101 South Dearborn, 2nd floor Chicago IL 60616 Skype: alandmead +312.567.5933 (Campus) +815.588.3846 (Home Office) +312.567.3493 (Fax) http://www.iit.edu/~mead http://www.center.iit.edu http://www.alanmead.org Be not afraid of life. Believe that life is worth living, and your belief will help create the fact. -- Henry James From sean at blanton.com Tue Mar 24 08:33:02 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Tue, 24 Mar 2009 10:33:02 -0500 Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: <49d805d70903240700v70cca1e8k19dc7a4c143b6842@mail.gmail.com> References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> <49d805d70903240700v70cca1e8k19dc7a4c143b6842@mail.gmail.com> Message-ID: Unfortunately I can't make it tonight. Sean Blanton, Ph.D. Follow: http://www.twitter.com/seanblanton Connect: http://www.linkedin.com/in/seanblanton Befriend: Facebook On Tue, Mar 24, 2009 at 9:00 AM, Joshua wrote: > I'm fine with a social meetup. Anybody up for dinner and/or drinks? > > On Tue, Mar 24, 2009 at 6:13 AM, Dan Rench > > wrote: > > Is the meeting still on, despite no presenters? > > > > _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > _______________________________________________ > WindyCity-pm mailing list > WindyCity-pm at pm.org > http://mail.pm.org/mailman/listinfo/windycity-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From joel.limardo at forwardphase.com Tue Mar 24 09:54:02 2009 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Tue, 24 Mar 2009 11:54:02 -0500 Subject: [Chicago-talk] libsecondlife + perl? In-Reply-To: <49C8EB18.7040307@alanmead.org> References: <49C8EB18.7040307@alanmead.org> Message-ID: <000b01c9aca1$244fa000$6ceee000$@limardo@forwardphase.com> I wrote a tutorial about calling .NET assemblies from Perl on Win32 a long time ago: http://www.perlmonks.org/?node_id=392275 I hope it is still relevant. -----Original Message----- From: chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org [mailto:chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org] On Behalf Of Alan Mead Sent: Tuesday, March 24, 2009 9:16 AM To: chicago-talk at pm.org Subject: [Chicago-talk] libsecondlife + perl? I'm trying to make virtual confederates (i.e., bots) for a research study being conducted in Second Life. All the libsl stuff seems to be written in C#, so I could learn mono but I'd really, really prefer to use Perl (e.g., Rivescript seems superior to AIML in many ways). However, Google and I cannot find any Perl "bindings" for libsl... Is it not possible to call a C# library from Perl? -Alan -- Alan D. Mead, Ph.D. Assistant Professor, Institute of Psychology Scientific Adviser, Center for Research and Service Illinois Institute of Technology 3101 South Dearborn, 2nd floor Chicago IL 60616 Skype: alandmead +312.567.5933 (Campus) +815.588.3846 (Home Office) +312.567.3493 (Fax) http://www.iit.edu/~mead http://www.center.iit.edu http://www.alanmead.org Be not afraid of life. Believe that life is worth living, and your belief will help create the fact. -- Henry James _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From frag at ripco.com Tue Mar 24 13:06:57 2009 From: frag at ripco.com (Mike Fragassi) Date: Tue, 24 Mar 2009 15:06:57 -0500 (CDT) Subject: [Chicago-talk] Meeting on the 24th In-Reply-To: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> Message-ID: I'd be up for it, if my commute home doesn't get rained on. -- Mike F. On Sat, 21 Mar 2009, Joshua wrote: > The 24th is our regular meeting date. Does anyone have any topics > that they'd like to present on? > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joshua.mcadams at gmail.com Tue Mar 24 13:17:36 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Tue, 24 Mar 2009 15:17:36 -0500 Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> Message-ID: <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> Hal was a taker. I think I might have to drop out. Maybe we should just postpone until later? On Tue, Mar 24, 2009 at 3:06 PM, Mike Fragassi wrote: > > I'd be up for it, if my commute home doesn't get rained on. > > -- Mike F. > > On Sat, 21 Mar 2009, Joshua wrote: > >> The 24th is our regular meeting date. ?Does anyone have any topics >> that they'd like to present on? >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > _______________________________________________ > WindyCity-pm mailing list > WindyCity-pm at pm.org > http://mail.pm.org/mailman/listinfo/windycity-pm > From hwigoda at mindspring.com Tue Mar 24 13:28:47 2009 From: hwigoda at mindspring.com (Hal Wigoda) Date: Tue, 24 Mar 2009 15:28:47 -0500 Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> Message-ID: just postpone. On Mar 24, 2009, at 3:17 PM, Joshua McAdams wrote: > Hal was a taker. I think I might have to drop out. Maybe we should > just postpone until later? > > On Tue, Mar 24, 2009 at 3:06 PM, Mike Fragassi wrote: >> >> I'd be up for it, if my commute home doesn't get rained on. >> >> -- Mike F. >> >> On Sat, 21 Mar 2009, Joshua wrote: >> >>> The 24th is our regular meeting date. Does anyone have any topics >>> that they'd like to present on? >>> _______________________________________________ >>> Chicago-talk mailing list >>> Chicago-talk at pm.org >>> http://mail.pm.org/mailman/listinfo/chicago-talk >>> >> _______________________________________________ >> WindyCity-pm mailing list >> WindyCity-pm at pm.org >> http://mail.pm.org/mailman/listinfo/windycity-pm >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From joshua.mcadams at gmail.com Tue Mar 24 13:44:09 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Tue, 24 Mar 2009 15:44:09 -0500 Subject: [Chicago-talk] Fwd: [yapc] Last day for 10th Anniversary Special In-Reply-To: <49C940E4.2020007@robertblackwell.com> References: <49C940E4.2020007@robertblackwell.com> Message-ID: <139056c80903241344p7a05b6d3v7525dd4e90fb7209@mail.gmail.com> I just got an email that today is the last day for the reduced rates for yapc::na 2009. Visit http://yapc10.org today to take advantage of the discount. ---------- Forwarded message ---------- From: Robert Blackwell Date: Tue, Mar 24, 2009 at 3:21 PM Subject: [yapc] Last day for 10th Anniversary Special To: yapc at pm.org Last day for 10th Anniversary Special for $99.00. http://yapc10.org. _______________________________________________ yapc mailing list yapc at pm.org http://mail.pm.org/mailman/listinfo/yapc From sean at blanton.com Tue Mar 24 14:46:15 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Tue, 24 Mar 2009 16:46:15 -0500 Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> Message-ID: I'm attending the Chicago TweetUp tomorrow at InnJoy, near 2051 W Division St, Chicago, IL 60622 6:30-7:30 if anyone wants to come. To be honest, I don't know what that actually is and it sounds kind of lame, but they have beer and I used to live on that block. Sean Blanton, Ph.D. Follow: http://www.twitter.com/seanblanton Connect: http://www.linkedin.com/in/seanblanton Befriend: Facebook 2009/3/24 Hal Wigoda > just postpone. > > > > On Mar 24, 2009, at 3:17 PM, Joshua McAdams wrote: > > Hal was a taker. I think I might have to drop out. Maybe we should >> just postpone until later? >> >> On Tue, Mar 24, 2009 at 3:06 PM, Mike Fragassi wrote: >> >>> >>> I'd be up for it, if my commute home doesn't get rained on. >>> >>> -- Mike F. >>> >>> On Sat, 21 Mar 2009, Joshua wrote: >>> >>> The 24th is our regular meeting date. Does anyone have any topics >>>> that they'd like to present on? >>>> _______________________________________________ >>>> Chicago-talk mailing list >>>> Chicago-talk at pm.org >>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>> >>>> _______________________________________________ >>> WindyCity-pm mailing list >>> WindyCity-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/windycity-pm >>> >>> _______________________________________________ >> 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 frag at ripco.com Tue Mar 24 20:47:57 2009 From: frag at ripco.com (Mike Fragassi) Date: Tue, 24 Mar 2009 22:47:57 -0500 (CDT) Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> Message-ID: And tomorrow (Wednesday) I'll be at the Hopleaf at Foster & Clark for the latest in the Bookslut Reading Series: http://www.bookslut.com/readings.html Note: that site is just a Chicago-based literary blog/zine and should be safe for work, except _maybe_ the slightly risque logo. Assuming it isn't automatically blocked by your employers by virtue of having 'slut' in the URL. Just in case you want to play it safe, here are the authors and the books they will be reading from: Michael Shilling - Rock Bottom: A Novel Dan Everett - Don't Sleep, There Are Snakes: Life and Language in the Amazonian Jungle Dan Barker - Godless: How an Evangelical Preacher Became One of America's Leading Atheists It starts at 7:30 in the upstairs bar, but get there early to catch a seat. On Tue, 24 Mar 2009, Sean Blanton, Ph.D. wrote: > I'm attending the Chicago TweetUp tomorrow at > > InnJoy, near 2051 W Division St, Chicago, IL 60622 > > 6:30-7:30 if anyone wants to come. To be honest, I don't know what that > actually is and it sounds kind of lame, but they have beer and I used to > live on that block. > > Sean Blanton, Ph.D. > > Follow: http://www.twitter.com/seanblanton > Connect: http://www.linkedin.com/in/seanblanton > Befriend: Facebook > > > 2009/3/24 Hal Wigoda > >> just postpone. >> >> >> >> On Mar 24, 2009, at 3:17 PM, Joshua McAdams wrote: >> >> Hal was a taker. I think I might have to drop out. Maybe we should >>> just postpone until later? >>> >>> On Tue, Mar 24, 2009 at 3:06 PM, Mike Fragassi wrote: >>> >>>> >>>> I'd be up for it, if my commute home doesn't get rained on. >>>> >>>> -- Mike F. >>>> >>>> On Sat, 21 Mar 2009, Joshua wrote: >>>> >>>> The 24th is our regular meeting date. Does anyone have any topics >>>>> that they'd like to present on? >>>>> _______________________________________________ >>>>> Chicago-talk mailing list >>>>> Chicago-talk at pm.org >>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>>> >>>>> _______________________________________________ >>>> WindyCity-pm mailing list >>>> WindyCity-pm at pm.org >>>> http://mail.pm.org/mailman/listinfo/windycity-pm >>>> >>>> _______________________________________________ >>> 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 Wed Mar 25 07:40:42 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Wed, 25 Mar 2009 09:40:42 -0500 Subject: [Chicago-talk] [WindyCity-pm] Meeting on the 24th In-Reply-To: References: <49d805d70903211057se72e77dq940748a424f56b86@mail.gmail.com> <139056c80903241317r6c9fb30fwdc509c388921603e@mail.gmail.com> Message-ID: Bookslut sounds better than TweetUp, which I'm not going to make after all. The Hopleaf is a great place with the best Belgian beer selection. I've been dying to go there since the smoking ban was put into effect since it was one of the smokiest bars in Chicago. Sean Blanton, Ph.D. Follow: http://www.twitter.com/seanblanton Connect: http://www.linkedin.com/in/seanblanton Befriend: Facebook On Tue, Mar 24, 2009 at 10:47 PM, Mike Fragassi wrote: > > And tomorrow (Wednesday) I'll be at the Hopleaf at Foster & Clark for the > latest in the Bookslut Reading Series: > > http://www.bookslut.com/readings.html > > Note: that site is just a Chicago-based literary blog/zine and should be > safe for work, except _maybe_ the slightly risque logo. Assuming it isn't > automatically blocked by your employers by virtue of having 'slut' in the > URL. Just in case you want to play it safe, here are the authors and the > books they will be reading from: > > Michael Shilling - Rock Bottom: A Novel > Dan Everett - Don't Sleep, There Are Snakes: Life and Language in the > Amazonian Jungle > Dan Barker - Godless: How an Evangelical Preacher Became One of > America's Leading Atheists > > It starts at 7:30 in the upstairs bar, but get there early to catch a seat. > > > > On Tue, 24 Mar 2009, Sean Blanton, Ph.D. wrote: > > I'm attending the Chicago TweetUp tomorrow at >> >> InnJoy, near 2051 W Division St, Chicago, IL 60622 >> >> 6:30-7:30 if anyone wants to come. To be honest, I don't know what that >> actually is and it sounds kind of lame, but they have beer and I used to >> live on that block. >> >> Sean Blanton, Ph.D. >> >> Follow: http://www.twitter.com/seanblanton >> Connect: http://www.linkedin.com/in/seanblanton >> Befriend: Facebook >> >> >> 2009/3/24 Hal Wigoda >> >> just postpone. >>> >>> >>> >>> On Mar 24, 2009, at 3:17 PM, Joshua McAdams wrote: >>> >>> Hal was a taker. I think I might have to drop out. Maybe we should >>> >>>> just postpone until later? >>>> >>>> On Tue, Mar 24, 2009 at 3:06 PM, Mike Fragassi wrote: >>>> >>>> >>>>> I'd be up for it, if my commute home doesn't get rained on. >>>>> >>>>> -- Mike F. >>>>> >>>>> On Sat, 21 Mar 2009, Joshua wrote: >>>>> >>>>> The 24th is our regular meeting date. Does anyone have any topics >>>>> >>>>>> that they'd like to present on? >>>>>> _______________________________________________ >>>>>> Chicago-talk mailing list >>>>>> Chicago-talk at pm.org >>>>>> http://mail.pm.org/mailman/listinfo/chicago-talk >>>>>> >>>>>> _______________________________________________ >>>>>> >>>>> WindyCity-pm mailing list >>>>> WindyCity-pm at pm.org >>>>> http://mail.pm.org/mailman/listinfo/windycity-pm >>>>> >>>>> _______________________________________________ >>>>> >>>> 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 michael at potter.name Wed Mar 25 16:57:55 2009 From: michael at potter.name (Michael Potter) Date: Wed, 25 Mar 2009 18:57:55 -0500 Subject: [Chicago-talk] Suppressing "NOTICE:" in postgres In-Reply-To: References: <2379dacc0903231936x658cb91eva9ae89013ba707f3@mail.gmail.com> Message-ID: <2379dacc0903251657u5eba6a98i6ab581bc5f8ea4d2@mail.gmail.com> Thanks guys. To solve the problem of unwanted NOTICE messages while creating tables in postgres here is what I did: sub addPrimaryKey { my $Table = shift; my @KeyColArray = @_; $dbh->do(qq{ SET client_min_messages = warning }); # postgres only. my $KeyColStr = "\"" . join("\", \"", @KeyColArray) . "\""; $dbh->do(qq{ ALTER TABLE "${Table}" ADD PRIMARY KEY (${KeyColStr}) }); $dbh->do(qq{ SET client_min_messages = notice }); # postgres only. } This is basically Andy's solution. He suggested changing the config file; that led me to how to change it on the fly. I am probably going to change it yet again to turn off NOTICEs for the whole script and eliminate the tedium. -- Michael Potter From joshua.mcadams at gmail.com Fri Mar 27 10:38:55 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Fri, 27 Mar 2009 12:38:55 -0500 Subject: [Chicago-talk] [WindyCity-pm] March meeting? In-Reply-To: <878wmr38x5.fsf@bar.jrock.us> References: <878wmr38x5.fsf@bar.jrock.us> Message-ID: <139056c80903271038g6bc1387v740e4f9bf1a212de@mail.gmail.com> Thanks Rockway. I reserved a room for March 31st from 7pm until 9pm. Looks like we'll slide in a March meeting after all :) Can you send me a few sentences about what you'll be going over with Devel::REPL? Anyone else got something they'd like to talk about? On Thu, Mar 26, 2009 at 11:07 PM, Jonathan Rockway wrote: > > Hey all, > > I was out of town this week, but it looks like the meeting didn't > happen? ?Does anyone want to have a technical meeting next Tuesday? > (assuming that's OK with Josh and Google, of course) > > I don't have any prepared talks at the moment... but I could talk about > Devel::REPL if you want. ?That would be about 15 minutes, then we could > go get beer. > > We should also do the chart-off at some point. ?(That might be a good > thing to do in a dinner-party environment. ?I think I might host one of > those for y'all later this summer. ?brian's went very well, so I think > it's worth repeating. ?It would also give me the opportunity to make a > pun like "pie chart". ?Hah.) > > Anyway, let me know. > > Regards, > Jonathan Rockway > > -- > print just => another => perl => hacker => if $,=$" > _______________________________________________ > WindyCity-pm mailing list > WindyCity-pm at pm.org > http://mail.pm.org/mailman/listinfo/windycity-pm > From michael at potter.name Sat Mar 28 11:30:13 2009 From: michael at potter.name (Michael Potter) Date: Sat, 28 Mar 2009 13:30:13 -0500 Subject: [Chicago-talk] [WindyCity-pm] March meeting? In-Reply-To: <139056c80903271038g6bc1387v740e4f9bf1a212de@mail.gmail.com> References: <878wmr38x5.fsf@bar.jrock.us> <139056c80903271038g6bc1387v740e4f9bf1a212de@mail.gmail.com> Message-ID: <2379dacc0903281130p9d1264eo927ee1c4a5829dae@mail.gmail.com> Mongers, I can do my: Seat belts and airbags for bash preso. It is not about perl, but lots of perl guys use bash. Here is the abstract: ----- Bash (and scripting languages in general) act as the glue that hold other system components together. This presentation will focus on the under utilized features of bash that are critical to building production quality scripts. Demos will show you how and why to turn these features on. Much of the bash syntax is redundant; I will also explain which syntax to use and which syntax to avoid. Knowledge of any of the common UNIX scripting languages will be sufficient to attend this meeting. ----- I put this together because when I use bash I missed the robustness of perl and thought I would share with others what I learned. -- Michael Potter On Fri, Mar 27, 2009 at 12:38 PM, Joshua McAdams wrote: > Thanks Rockway. ?I reserved a room for March 31st from 7pm until 9pm. > Looks like we'll slide in a March meeting after all :) > > Can you send me a few sentences about what you'll be going over with > Devel::REPL? > > Anyone else got something they'd like to talk about? > > On Thu, Mar 26, 2009 at 11:07 PM, Jonathan Rockway wrote: >> >> Hey all, >> >> I was out of town this week, but it looks like the meeting didn't >> happen? ?Does anyone want to have a technical meeting next Tuesday? >> (assuming that's OK with Josh and Google, of course) >> >> I don't have any prepared talks at the moment... but I could talk about >> Devel::REPL if you want. ?That would be about 15 minutes, then we could >> go get beer. >> >> We should also do the chart-off at some point. ?(That might be a good >> thing to do in a dinner-party environment. ?I think I might host one of >> those for y'all later this summer. ?brian's went very well, so I think >> it's worth repeating. ?It would also give me the opportunity to make a >> pun like "pie chart". ?Hah.) >> >> Anyway, let me know. >> >> Regards, >> Jonathan Rockway >> >> -- >> print just => another => perl => hacker => if $,=$" >> _______________________________________________ >> WindyCity-pm mailing list >> WindyCity-pm at pm.org >> http://mail.pm.org/mailman/listinfo/windycity-pm >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joshua.mcadams at gmail.com Sun Mar 29 09:14:07 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 29 Mar 2009 11:14:07 -0500 Subject: [Chicago-talk] [WindyCity-pm] March meeting? In-Reply-To: <2379dacc0903281130p9d1264eo927ee1c4a5829dae@mail.gmail.com> References: <878wmr38x5.fsf@bar.jrock.us> <139056c80903271038g6bc1387v740e4f9bf1a212de@mail.gmail.com> <2379dacc0903281130p9d1264eo927ee1c4a5829dae@mail.gmail.com> Message-ID: <139056c80903290914s25b05e21r5de3f7bd76211594@mail.gmail.com> Sounds good. So Jonathan and Michael, I am going to send out an announcement and post on the website that you'll both be speaking at the meeting on March 31st. I'll post sometime early this afternoon. On Sat, Mar 28, 2009 at 1:30 PM, Michael Potter wrote: > Mongers, > > I can do my: > Seat belts and airbags for bash preso. > > It is not about perl, but lots of perl guys use bash. > > Here is the abstract: > ----- > Bash (and scripting languages in general) act as the glue that hold > other system components together. This presentation will focus on the > under utilized features of bash that are critical to building > production quality scripts. Demos will show you how and why to turn > these features on. > > Much of the bash syntax is redundant; I will also explain which syntax > to use and which syntax to avoid. > > Knowledge of any of the common UNIX scripting languages will be > sufficient to attend this meeting. > ----- > > I put this together because when I use bash I missed the robustness of > perl and thought I would share with others what I learned. > > -- > Michael Potter > > On Fri, Mar 27, 2009 at 12:38 PM, Joshua McAdams > wrote: >> Thanks Rockway. ?I reserved a room for March 31st from 7pm until 9pm. >> Looks like we'll slide in a March meeting after all :) >> >> Can you send me a few sentences about what you'll be going over with >> Devel::REPL? >> >> Anyone else got something they'd like to talk about? >> >> On Thu, Mar 26, 2009 at 11:07 PM, Jonathan Rockway wrote: >>> >>> Hey all, >>> >>> I was out of town this week, but it looks like the meeting didn't >>> happen? ?Does anyone want to have a technical meeting next Tuesday? >>> (assuming that's OK with Josh and Google, of course) >>> >>> I don't have any prepared talks at the moment... but I could talk about >>> Devel::REPL if you want. ?That would be about 15 minutes, then we could >>> go get beer. >>> >>> We should also do the chart-off at some point. ?(That might be a good >>> thing to do in a dinner-party environment. ?I think I might host one of >>> those for y'all later this summer. ?brian's went very well, so I think >>> it's worth repeating. ?It would also give me the opportunity to make a >>> pun like "pie chart". ?Hah.) >>> >>> Anyway, let me know. >>> >>> Regards, >>> Jonathan Rockway >>> >>> -- >>> print just => another => perl => hacker => if $,=$" >>> _______________________________________________ >>> WindyCity-pm mailing list >>> WindyCity-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/windycity-pm >>> >> _______________________________________________ >> 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 Sun Mar 29 16:31:58 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 29 Mar 2009 23:31:58 +0000 Subject: [Chicago-talk] Chicago.pm Meeting - March 31st Message-ID: <000e0cd6ab7042a9c104664a5f46@google.com> If you have trouble viewing or submitting this form, you can fill it out online: https://spreadsheets.google.com/viewform?formkey=cE9DbVRDTjZWV0RZb3JYZjlOeTBqQ1E6MA.. Chicago.pm Meeting - March 31st Chicago.pm has another great meeting lined up and this one is only two days away! We are meeting on March 31st at 7pm on the 17th floor of the Google office at 20 W. Kinzie. Jonathan Rockway will be talking Devel::REPL and Michael Potter will be giving a talk about Bash scripting. Of course, there will be a few of us who stick around afterward to visit a local pub, so plan on taking the late train home. Devel::REPL - Jonathan Rockway Devel::REPL is interactive shell for Perl. REPL is an acronym for Read, Evaluate, Print, Loop. The shell provides for rapid development or testing of code without the need to create a temporary source code file. Think 'perl -d' only much much better. Bash - Michael Potter Bash (and scripting languages in general) act as the glue that hold other system components together. This presentation will focus on the under utilized features of bash that are critical to building production quality scripts. Demos will show you how and why to turn these features on. Much of the bash syntax is redundant; Michael will also explain which syntax to use and which syntax to avoid. Knowledge of any of the common UNIX scripting languages will be sufficient to attend this meeting and understand what is going on with Michael's Bash talk. Please RSVP. See you there * Required Name * Powered by Google Docs Terms of Service - Additional Terms -------------- next part -------------- An HTML attachment was scrubbed... URL: From andy at petdance.com Sun Mar 29 18:14:36 2009 From: andy at petdance.com (Andy Lester) Date: Sun, 29 Mar 2009 20:14:36 -0500 Subject: [Chicago-talk] Chicago.pm Meeting - March 31st In-Reply-To: <000e0cd6ab7042a9c104664a5f46@google.com> References: <000e0cd6ab7042a9c104664a5f46@google.com> Message-ID: <4BB54A8F-2D50-42CB-8297-EAF85DC47680@petdance.com> On Mar 29, 2009, at 6:31 PM, Joshua McAdams wrote: > Bash - Michael Potter > > Bash (and scripting languages in general) act as the glue that hold > other system components together. This presentation will focus on > the under utilized features of bash that are critical to building > production quality scripts. Demos will show you how and why to turn > these features on. > > Much of the bash syntax is redundant; Michael will also explain > which syntax to use and which syntax to avoid. > > Knowledge of any of the common UNIX scripting languages will be > sufficient to attend this meeting and understand what is going on > with Michael's Bash talk. Potter gave this talk out in Wheaton a few years ago and I still use the things I learned in it in my daily shell scripting. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From joshua.mcadams at gmail.com Mon Mar 30 06:26:50 2009 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 30 Mar 2009 08:26:50 -0500 Subject: [Chicago-talk] LinkedIn Event: Chicago.pm March Meeting Message-ID: <139056c80903300626m187aee40pb8f7587df5d66115@mail.gmail.com> Michael had the idea that we put the meeting on linked in, so it's there now: http://events.linkedin.com/Chicago-pm-March-Meeting/pub/52146 Thanks Michael! From sean at blanton.com Mon Mar 30 08:23:50 2009 From: sean at blanton.com (Sean Blanton, Ph.D.) Date: Mon, 30 Mar 2009 10:23:50 -0500 Subject: [Chicago-talk] LinkedIn Event: Chicago.pm March Meeting In-Reply-To: <139056c80903300626m187aee40pb8f7587df5d66115@mail.gmail.com> References: <139056c80903300626m187aee40pb8f7587df5d66115@mail.gmail.com> Message-ID: I've been waiting to be accepted to the Windy City Perl group on LinkedIn for some time. Anyone maintaining that? :) Sean Follow: http://www.twitter.com/seanblanton Connect: http://www.linkedin.com/in/seanblanton Befriend: Facebook On Mon, Mar 30, 2009 at 8:26 AM, Joshua McAdams wrote: > Michael had the idea that we put the meeting on linked in, so it's > there now: http://events.linkedin.com/Chicago-pm-March-Meeting/pub/52146 > > Thanks Michael! > _______________________________________________ > 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 brian.d.foy at gmail.com Mon Mar 30 09:00:04 2009 From: brian.d.foy at gmail.com (brian d foy) Date: Mon, 30 Mar 2009 12:00:04 -0400 Subject: [Chicago-talk] LinkedIn Event: Chicago.pm March Meeting In-Reply-To: References: <139056c80903300626m187aee40pb8f7587df5d66115@mail.gmail.com> Message-ID: <2715accf0903300900q313102b6ob89d61d987bf959@mail.gmail.com> On Mon, Mar 30, 2009 at 11:23 AM, Sean Blanton, Ph.D. wrote: > I've been waiting to be accepted to the Windy City Perl group on LinkedIn > for some time. Anyone maintaining that? :) I don't see any requests to join from you. -- brian d foy http://www.pair.com/~comdog/ From a.wong2.nu at gmail.com Tue Mar 31 15:57:13 2009 From: a.wong2.nu at gmail.com (Tony Wong) Date: Tue, 31 Mar 2009 17:57:13 -0500 Subject: [Chicago-talk] Chicago.pm Meeting - March 31st In-Reply-To: <000e0cd6ab7042a9c104664a5f46@google.com> References: <000e0cd6ab7042a9c104664a5f46@google.com> Message-ID: <334a3ab20903311557s49cf2181u8a5499205caf00bc@mail.gmail.com> Thanks to Josh, Jonathan and Michael for putting this together. Unfortunately, I'll be breaking my attendance streak for '09 and won't be able to make it tonight. Both talks sound very cool. Any chance that slides (if any are used) will be available? Tony On Sun, Mar 29, 2009 at 6:31 PM, Joshua McAdams wrote: > If you have trouble viewing or submitting this form, you can fill it out > online: > https://spreadsheets.google.com/viewform?formkey=cE9DbVRDTjZWV0RZb3JYZjlOeTBqQ1E6MA.. > > Chicago.pm Meeting - March 31st > > Chicago.pm has another great meeting lined up and this one is only two days > away! ?We are meeting on March 31st at 7pm on the 17th floor of the Google > office at 20 W. Kinzie. ?Jonathan Rockway will be talking Devel::REPL and > Michael Potter will be giving a talk about Bash scripting. ?Of course, there > will be a few of us who stick around afterward to visit a local pub, so plan > on taking the late train home. > > Devel::REPL - Jonathan Rockway > > Devel::REPL is interactive shell for Perl. ?REPL is an acronym for Read, > Evaluate, Print, Loop. The shell provides for rapid development or testing > of code without the need to create a temporary source code file. ?Think > 'perl -d' only much much better. > > Bash - Michael Potter > > Bash (and scripting languages in general) act as the glue that hold other > system components together. This presentation will focus on the under > utilized features of bash that are critical to building production quality > scripts. Demos will show you how and why to turn these features on. > > Much of the bash syntax is redundant; Michael will also explain which syntax > to use and which syntax to avoid. > > Knowledge of any of the common UNIX scripting languages will be sufficient > to attend this meeting and understand what is going on with Michael's Bash > talk. > > Please RSVP. > > See you there > > ________________________________ > * Required > Name * > > Powered by Google Docs > > Terms of Service - Additional Terms > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From hwigoda at mindspring.com Tue Mar 31 19:37:20 2009 From: hwigoda at mindspring.com (Hal Wigoda) Date: Tue, 31 Mar 2009 21:37:20 -0500 Subject: [Chicago-talk] [WindyCity-pm] March meeting? In-Reply-To: <139056c80903290914s25b05e21r5de3f7bd76211594@mail.gmail.com> References: <878wmr38x5.fsf@bar.jrock.us> <139056c80903271038g6bc1387v740e4f9bf1a212de@mail.gmail.com> <2379dacc0903281130p9d1264eo927ee1c4a5829dae@mail.gmail.com> <139056c80903290914s25b05e21r5de3f7bd76211594@mail.gmail.com> Message-ID: The new quarter states at Depaul and I have a class on Tuesday night. Sent from my iPhone On Mar 29, 2009, at 11:14 AM, Joshua McAdams wrote: > Sounds good. So Jonathan and Michael, I am going to send out an > announcement and post on the website that you'll both be speaking at > the meeting on March 31st. I'll post sometime early this afternoon. > > On Sat, Mar 28, 2009 at 1:30 PM, Michael Potter > wrote: >> Mongers, >> >> I can do my: >> Seat belts and airbags for bash preso. >> >> It is not about perl, but lots of perl guys use bash. >> >> Here is the abstract: >> ----- >> Bash (and scripting languages in general) act as the glue that hold >> other system components together. This presentation will focus on the >> under utilized features of bash that are critical to building >> production quality scripts. Demos will show you how and why to turn >> these features on. >> >> Much of the bash syntax is redundant; I will also explain which >> syntax >> to use and which syntax to avoid. >> >> Knowledge of any of the common UNIX scripting languages will be >> sufficient to attend this meeting. >> ----- >> >> I put this together because when I use bash I missed the robustness >> of >> perl and thought I would share with others what I learned. >> >> -- >> Michael Potter >> >> On Fri, Mar 27, 2009 at 12:38 PM, Joshua McAdams >> wrote: >>> Thanks Rockway. I reserved a room for March 31st from 7pm until >>> 9pm. >>> Looks like we'll slide in a March meeting after all :) >>> >>> Can you send me a few sentences about what you'll be going over with >>> Devel::REPL? >>> >>> Anyone else got something they'd like to talk about? >>> >>> On Thu, Mar 26, 2009 at 11:07 PM, Jonathan Rockway >>> wrote: >>>> >>>> Hey all, >>>> >>>> I was out of town this week, but it looks like the meeting didn't >>>> happen? Does anyone want to have a technical meeting next Tuesday? >>>> (assuming that's OK with Josh and Google, of course) >>>> >>>> I don't have any prepared talks at the moment... but I could talk >>>> about >>>> Devel::REPL if you want. That would be about 15 minutes, then we >>>> could >>>> go get beer. >>>> >>>> We should also do the chart-off at some point. (That might be a >>>> good >>>> thing to do in a dinner-party environment. I think I might host >>>> one of >>>> those for y'all later this summer. brian's went very well, so I >>>> think >>>> it's worth repeating. It would also give me the opportunity to >>>> make a >>>> pun like "pie chart". Hah.) >>>> >>>> Anyway, let me know. >>>> >>>> Regards, >>>> Jonathan Rockway >>>> >>>> -- >>>> print just => another => perl => hacker => if $,=$" >>>> _______________________________________________ >>>> WindyCity-pm mailing list >>>> WindyCity-pm at pm.org >>>> http://mail.pm.org/mailman/listinfo/windycity-pm >>>> >>> _______________________________________________ >>> 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 michael at potter.name Tue Mar 31 22:08:15 2009 From: michael at potter.name (Michael Potter) Date: Wed, 1 Apr 2009 00:08:15 -0500 Subject: [Chicago-talk] Chicago.pm Meeting - March 31st In-Reply-To: <334a3ab20903311557s49cf2181u8a5499205caf00bc@mail.gmail.com> References: <000e0cd6ab7042a9c104664a5f46@google.com> <334a3ab20903311557s49cf2181u8a5499205caf00bc@mail.gmail.com> Message-ID: <2379dacc0903312208o3912479fr8558724a1d0f58f6@mail.gmail.com> Tony, My slides are on my website on my downloads page. The real preso is better because I have quite a few animations and prerecorded demos. I will be giving the bash preso again at the polyglot programmers meeting sometime in the near future. I will try to remember to post the announcement to this list. -- Michael Potter On Tue, Mar 31, 2009 at 5:57 PM, Tony Wong wrote: > Thanks to Josh, Jonathan and Michael for putting this together. > Unfortunately, I'll be breaking my attendance streak for '09 and won't > be able to make it tonight. > > Both talks sound very cool. Any chance that slides (if any are used) > will be available? > > Tony > > On Sun, Mar 29, 2009 at 6:31 PM, Joshua McAdams > wrote: > > If you have trouble viewing or submitting this form, you can fill it out > > online: > > > https://spreadsheets.google.com/viewform?formkey=cE9DbVRDTjZWV0RZb3JYZjlOeTBqQ1E6MA > .. > > > > Chicago.pm Meeting - March 31st > > > > Chicago.pm has another great meeting lined up and this one is only two > days > > away! We are meeting on March 31st at 7pm on the 17th floor of the > Google > > office at 20 W. Kinzie. Jonathan Rockway will be talking Devel::REPL and > > Michael Potter will be giving a talk about Bash scripting. Of course, > there > > will be a few of us who stick around afterward to visit a local pub, so > plan > > on taking the late train home. > > > > Devel::REPL - Jonathan Rockway > > > > Devel::REPL is interactive shell for Perl. REPL is an acronym for Read, > > Evaluate, Print, Loop. The shell provides for rapid development or > testing > > of code without the need to create a temporary source code file. Think > > 'perl -d' only much much better. > > > > Bash - Michael Potter > > > > Bash (and scripting languages in general) act as the glue that hold other > > system components together. This presentation will focus on the under > > utilized features of bash that are critical to building production > quality > > scripts. Demos will show you how and why to turn these features on. > > > > Much of the bash syntax is redundant; Michael will also explain which > syntax > > to use and which syntax to avoid. > > > > Knowledge of any of the common UNIX scripting languages will be > sufficient > > to attend this meeting and understand what is going on with Michael's > Bash > > talk. > > > > Please RSVP. > > > > See you there > > > > ________________________________ > > * Required > > Name * > > > > Powered by Google Docs > > > > Terms of Service - Additional Terms > > > > _______________________________________________ > > 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 michael at potter.name Tue Mar 31 22:14:19 2009 From: michael at potter.name (Michael Potter) Date: Wed, 1 Apr 2009 00:14:19 -0500 Subject: [Chicago-talk] sudo: Beginner to Expert in 1 hour Message-ID: <2379dacc0903312214y66fdf0ean3280db70c7d502ba@mail.gmail.com> Mongers, I have a sudo presentation that I can give anytime, but my 2nd and 4th Tuesdays are generally booked. -- Michael Potter -------------- next part -------------- An HTML attachment was scrubbed... URL: From michael at potter.name Tue Mar 31 22:17:17 2009 From: michael at potter.name (Michael Potter) Date: Wed, 1 Apr 2009 00:17:17 -0500 Subject: [Chicago-talk] Chicago.pm Meeting - March 31st In-Reply-To: <2379dacc0903312208o3912479fr8558724a1d0f58f6@mail.gmail.com> References: <000e0cd6ab7042a9c104664a5f46@google.com> <334a3ab20903311557s49cf2181u8a5499205caf00bc@mail.gmail.com> <2379dacc0903312208o3912479fr8558724a1d0f58f6@mail.gmail.com> Message-ID: <2379dacc0903312217w4711a2f0t39c1ac84d94aae78@mail.gmail.com> Almost forgot: http://replatformtech.com/page3/page9/page9.html On Wed, Apr 1, 2009 at 12:08 AM, Michael Potter wrote: > Tony, > > My slides are on my website on my downloads page. The real preso is better > because I have quite a few animations and prerecorded demos. I will be > giving the bash preso again at the polyglot programmers meeting sometime in > the near future. > > I will try to remember to post the announcement to this list. > > -- > Michael Potter > > > On Tue, Mar 31, 2009 at 5:57 PM, Tony Wong wrote: > >> Thanks to Josh, Jonathan and Michael for putting this together. >> Unfortunately, I'll be breaking my attendance streak for '09 and won't >> be able to make it tonight. >> >> Both talks sound very cool. Any chance that slides (if any are used) >> will be available? >> >> Tony >> >> On Sun, Mar 29, 2009 at 6:31 PM, Joshua McAdams >> wrote: >> > If you have trouble viewing or submitting this form, you can fill it out >> > online: >> > >> https://spreadsheets.google.com/viewform?formkey=cE9DbVRDTjZWV0RZb3JYZjlOeTBqQ1E6MA >> .. >> > >> > Chicago.pm Meeting - March 31st >> > >> > Chicago.pm has another great meeting lined up and this one is only two >> days >> > away! We are meeting on March 31st at 7pm on the 17th floor of the >> Google >> > office at 20 W. Kinzie. Jonathan Rockway will be talking Devel::REPL >> and >> > Michael Potter will be giving a talk about Bash scripting. Of course, >> there >> > will be a few of us who stick around afterward to visit a local pub, so >> plan >> > on taking the late train home. >> > >> > Devel::REPL - Jonathan Rockway >> > >> > Devel::REPL is interactive shell for Perl. REPL is an acronym for Read, >> > Evaluate, Print, Loop. The shell provides for rapid development or >> testing >> > of code without the need to create a temporary source code file. Think >> > 'perl -d' only much much better. >> > >> > Bash - Michael Potter >> > >> > Bash (and scripting languages in general) act as the glue that hold >> other >> > system components together. This presentation will focus on the under >> > utilized features of bash that are critical to building production >> quality >> > scripts. Demos will show you how and why to turn these features on. >> > >> > Much of the bash syntax is redundant; Michael will also explain which >> syntax >> > to use and which syntax to avoid. >> > >> > Knowledge of any of the common UNIX scripting languages will be >> sufficient >> > to attend this meeting and understand what is going on with Michael's >> Bash >> > talk. >> > >> > Please RSVP. >> > >> > See you there >> > >> > ________________________________ >> > * Required >> > Name * >> > >> > Powered by Google Docs >> > >> > Terms of Service - Additional Terms >> > >> > _______________________________________________ >> > 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: