From joshua.mcadams at gmail.com Sat Oct 1 20:55:28 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sat, 1 Oct 2005 22:55:28 -0500 Subject: [Chicago-talk] Geo-Data Message-ID: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Does anyone have or know where I can get lat/long coordinates for 'L' routes and tourist spots around the city? Worst case, does anyone have a GPS system that could find these points? Thanks, Josh From brian.d.foy at gmail.com Sat Oct 1 21:02:08 2005 From: brian.d.foy at gmail.com (brian d foy) Date: Sat, 1 Oct 2005 23:02:08 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Message-ID: <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> On 10/1/05, Joshua McAdams wrote: > Does anyone have or know where I can get lat/long coordinates for 'L' > routes and tourist spots around the city? Worst case, does anyone > have a GPS system that could find these points? I've marked several of the red line stops with my GPS. I'll have to find the waypoints file though. Maybe it's in my Palm::Magellan::NavCompanion distro, which I made at the same time. -- brian d foy http://www.panix.com/~comdog/ From joshua.mcadams at gmail.com Sat Oct 1 21:08:41 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sat, 1 Oct 2005 23:08:41 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> Message-ID: <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> Excellent. If you have 35th/SOX up through Addison on the red line, that would be a great start. On 10/1/05, brian d foy wrote: > On 10/1/05, Joshua McAdams wrote: > > Does anyone have or know where I can get lat/long coordinates for 'L' > > routes and tourist spots around the city? Worst case, does anyone > > have a GPS system that could find these points? > > I've marked several of the red line stops with my GPS. I'll have to find the > waypoints file though. Maybe it's in my Palm::Magellan::NavCompanion > distro, which I made at the same time. > > > -- > brian d foy > http://www.panix.com/~comdog/ > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From jens at porup.com Sat Oct 1 23:19:29 2005 From: jens at porup.com (Jens Porup) Date: Sun, 2 Oct 2005 16:19:29 +1000 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> Message-ID: <20051002061929.GF27342@panix.com> On Sat, Oct 01, 2005 at 11:08:41PM -0500, Joshua McAdams wrote: > Excellent. If you have 35th/SOX up through Addison on the red line, > that would be a great start. Looking for fly balls? Jens From joshua.mcadams at gmail.com Sat Oct 1 23:22:57 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 2 Oct 2005 01:22:57 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <20051002061929.GF27342@panix.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> <20051002061929.GF27342@panix.com> Message-ID: <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> Sort-of. Looking for geo data for the tourist areas for Chicago for YAPC. Trying to spice-up the proposal with a little mapping. If any of you know of a must-see site, send me the address or lat-long and I'll add it to the proposal. On 10/2/05, Jens Porup wrote: > On Sat, Oct 01, 2005 at 11:08:41PM -0500, Joshua McAdams wrote: > > Excellent. If you have 35th/SOX up through Addison on the red line, > > that would be a great start. > > Looking for fly balls? > > Jens > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From adam at battleaxe.net Sat Oct 1 23:28:47 2005 From: adam at battleaxe.net (Adam Israel) Date: Sun, 02 Oct 2005 01:28:47 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> <20051002061929.GF27342@panix.com> <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> Message-ID: <433F7E1F.204@battleaxe.net> I have one of those commercial mapping programs for use with a GPS. I'll fire it up next time I boot Windows and see what it has. I know it has landmarks and such listed. -Adam Joshua McAdams wrote: >Sort-of. Looking for geo data for the tourist areas for Chicago for >YAPC. Trying to spice-up the proposal with a little mapping. If any >of you know of a must-see site, send me the address or lat-long and >I'll add it to the proposal. > >On 10/2/05, Jens Porup wrote: > > >>On Sat, Oct 01, 2005 at 11:08:41PM -0500, Joshua McAdams wrote: >> >> >>>Excellent. If you have 35th/SOX up through Addison on the red line, >>>that would be a great start. >>> >>> >>Looking for fly balls? >> >>Jens >> >> From jason at multiply.org Sun Oct 2 08:15:39 2005 From: jason at multiply.org (Jason Gessner) Date: Sun, 2 Oct 2005 10:15:39 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> <20051002061929.GF27342@panix.com> <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> Message-ID: If there is a formal proposal happening, I can see if my company can get behind anything. Not sure if that is needed at the proposal stage, but it wouldn't hurt to check... -jason gessner jason at multiply.org On Oct 2, 2005, at 1:22 AM, Joshua McAdams wrote: > Sort-of. Looking for geo data for the tourist areas for Chicago for > YAPC. Trying to spice-up the proposal with a little mapping. If any > of you know of a must-see site, send me the address or lat-long and > I'll add it to the proposal. > > On 10/2/05, Jens Porup wrote: > >> On Sat, Oct 01, 2005 at 11:08:41PM -0500, Joshua McAdams wrote: >> >>> Excellent. If you have 35th/SOX up through Addison on the red line, >>> that would be a great start. >>> >> >> Looking for fly balls? >> >> Jens >> _______________________________________________ >> 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 briank at kappacs.com Sun Oct 2 08:31:44 2005 From: briank at kappacs.com (Brian Katzung) Date: Sun, 02 Oct 2005 10:31:44 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Message-ID: <433FFD60.1010608@kappacs.com> Joshua McAdams wrote: > Does anyone have or know where I can get lat/long coordinates for 'L' > routes and tourist spots around the city? Worst case, does anyone > have a GPS system that could find these points? > > Thanks, > Josh Not specifically for 'L' stops, but you may find http://jan.ucc.nau.edu/~cvm/latlon_find_location.html helpful. You could also use Google Earth (http://earth.google.com/). - Brian K From shild at sbcglobal.net Sun Oct 2 08:39:41 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Sun, 02 Oct 2005 10:39:41 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <2715accf0510012102k3255d5aak457bfed71f8dea8f@mail.gmail.com> <49d805d70510012108j170c8ccdp6977487c3c7c0371@mail.gmail.com> <20051002061929.GF27342@panix.com> <49d805d70510012322g646653f3h84804699a8f35830@mail.gmail.com> Message-ID: <1128267581.694.79.camel@fbsd1.dyndns.org> Chicago - Home of the Chicago White Sox! .... that should be enough :-) On Sun, 2005-10-02 at 01:22 -0500, Joshua McAdams wrote: > Sort-of. Looking for geo data for the tourist areas for Chicago for > YAPC. Trying to spice-up the proposal with a little mapping. If any > of you know of a must-see site, send me the address or lat-long and > I'll add it to the proposal. > > On 10/2/05, Jens Porup wrote: > > On Sat, Oct 01, 2005 at 11:08:41PM -0500, Joshua McAdams wrote: > > > Excellent. If you have 35th/SOX up through Addison on the red line, > > > that would be a great start. > > > > Looking for fly balls? > > > > Jens > > _______________________________________________ > > 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 -- Scott T. Hildreth From ehs at pobox.com Sun Oct 2 11:06:52 2005 From: ehs at pobox.com (Edward Summers) Date: Sun, 2 Oct 2005 13:06:52 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Message-ID: I'm not sure if this will help much but you can get long/lat data from one of the geocoder.us web services. Here's a relatively simple program that uses their REST api to read in address and get the coordinates for them. I threw some Chicago sites in there to get started: -- #!/usr/bin/perl use RDF::Simple::Parser; use URI::Escape; use Data::Dumper; use strict; use warnings; while ( my $site = ) { chomp($site); my ($name,$address) = split/:/,$site; my @coords = geocode($address); next if ! @coords; print "$name => $coords[0] ; $coords[1]\n"; } sub geocode { my $addr = uri_escape(shift); eval { my @results = RDF::Simple::Parser ->new ->parse_uri( "http://rpc.geocoder.us/service/rest? address=$addr" ); return ($results[2][2], $results[3][2]); }; } __DATA__ Art Institute:847 W Jackson Blvd, Chicago IL Hancock Observatory:875 N. Michigan Avenue, Chicago IL Sears Tower SkyDeck:233 S. Wacker, Chicago IL Lincoln Park Zoo:2200 N Cannon Dr Chicago IL Chicago Mercantile Exchange:30 S. Wacker Drive Chicago IL -- The output should look something like: Art Institute => -87.648712 ; 41.878008 Hancock Observatory => -87.624301 ; 41.898793 Sears Tower SkyDeck => -87.636752 ; 41.879003 Lincoln Park Zoo => -87.632908 ; 41.922300 Chicago Mercantile Exchange => -87.636891 ; 41.881567 From warren at warrenandrachel.com Sun Oct 2 11:08:13 2005 From: warren at warrenandrachel.com (wsmith) Date: Sun, 02 Oct 2005 13:08:13 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Message-ID: <1128276493.23360.2.camel@wsmithbox> Would this be any help? http://www.holovaty.com/blog/archive/2005/04/19/0216 http://www.rocket99.com/zoom/l13az.html has a list of points of interest, and you can use http://geocoder.us to geocode the addresses. On Sat, 2005-10-01 at 22:55 -0500, Joshua McAdams wrote: > Does anyone have or know where I can get lat/long coordinates for 'L' > routes and tourist spots around the city? Worst case, does anyone > have a GPS system that could find these points? > > Thanks, > Josh > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From ehs at pobox.com Sun Oct 2 12:59:38 2005 From: ehs at pobox.com (Edward Summers) Date: Sun, 2 Oct 2005 14:59:38 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <1128276493.23360.2.camel@wsmithbox> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <1128276493.23360.2.camel@wsmithbox> Message-ID: <19725513-D946-4636-82AF-178B9402E809@pobox.com> On Oct 2, 2005, at 1:08 PM, wsmith wrote: > http://www.rocket99.com/zoom/l13az.html has a list of points of > interest Nice, I parsed that HTML to generate this: Addams' (Jane) Hull House:800 S Halsted Chicago IL Adler Planetarium:1300 S Lake Shore Drive Chicago IL Admiral's Sightseeing Cruises:300 N Wabash Chicago IL American Police Museum:1717 S State Chicago IL Amoco Building:200 E Randolph Chicago IL Amour Park:600 W 35th Chicago IL Apollo Theater:2540 N Lincoln Chicago IL Art Institute of Chicago:201 S Michigan Chicago IL Auditorium Theater:400 S Michigan Chicago IL Bailiwick Arts Center:1229 W Belmont Chicago IL Balzekas Museum:6500 S Pulaski Chicago IL Black Ensemble Theatre:4520 N Beacon Chicago IL Bloomingdale's 900 North Mich.:900 N Michigan Chicago IL Bridgeport:801 W 31st Chicago IL Buckingham Fountain:100 N Lake Shore Drive Chicago IL Century Shopping Center:2814 N Clark Chicago IL Chicago Academy of Sciences:435 E Illinois Chicago IL Chicago Architecture Foundatn:224 S Michigan Chicago IL Chicago Athenaeum (closed):6 N Michigan Chicago IL Chicago Board of Trade:141 W Jackson Chicago IL Chicago Board Options Exchange:400 S LaSalle Chicago IL Chicago Children's Museum:700 E Grand Chicago IL Chicago Cultural Center:78 E Washington Chicago IL Chicago Historical Society:1600 N Clark Chicago IL Chicago Horse and Carriage:70 E Pearson Chicago IL Chicago Motor Coach Company:1 N Water Tower Chicago IL Chicago Place:100 E Huron Chicago IL Chicago River - Boat Rental:290 N LaSalle Chicago IL Chicago Stock Exchange:440 S LaSalle Chicago IL Chicago Theater:175 N State Chicago IL Chicago Visitor Info Center:163 E Pearson Chicago IL Children's Theatre:2636 N Lincoln Chicago IL Chinatown:20 W Cermak Chicago IL Civic Opera House:20 N Wacker Chicago IL Clark House:1850 S Prairie Chicago IL Coleman-Ames House:1811 S Prairie Chicago IL Comiskey Park:3500 S Wentworth Chicago IL Daley Plaza:100 N Dearborn Chicago IL Dearborn Station:400 S Dearborn Chicago IL Disney Quest (closed):101 E Ohio Chicago IL DuSable Museum:740 E 56th Chicago IL Eclipse Theatre Company:2074 N Levitt Chicago IL Elks Headquarters:2700 N Lincoln Park West Chicago IL Field Museum of Natural History:1000 S Lake Shore Drive Chicago IL Garfield Park:200 N Kedzie Chicago IL Glessner House:1800 S Prairie Chicago IL Grant Park:501 S Michigan Chicago IL Gray Line Tours:17 E Monroe Chicago IL Harold Washington Library:400 S State Chicago IL Hellenic Museum:400 N Franklin Chicago IL Here's Chicago:163 E Pearson Chicago IL Hilliard Center:2111 S Clark Chicago IL Humboldt Park:3000 W Division Chicago IL John Hancock Center:875 N Michigan Chicago IL Kimball House:1801 S Prairie Chicago IL Leather Archives and Museum:5017 N Clark Chicago IL Lifeline Theatre:6912 N Glenwood Chicago IL Lincoln Park:2400 N Lincoln Park West Chicago IL Lincoln Park Zoo:200 N Cannon Chicago IL Lincoln Square:4602 N Lincoln Chicago IL Little Chinatown:900 W Argyle Chicago IL Logan Boulevard:2800 W Logan Chicago IL Logan Square:3000 W Logan Chicago IL Magnificent Mile:500 N Michigan Chicago IL Marina City:300 N State Chicago IL Marshall Fields:111 N State Chicago IL Maxwell Street Market- New:1500 S Canal Chicago IL McCormick Place:2301 S Lake Shore Drive Chicago IL Merchandise Mart:300 N Wells Chicago IL Mexican Fine Arts Center:1852 W 19th Chicago IL Monadnock Building:200 S Dearborn Chicago IL Museum of Broadcast Communications:78 E Washington Chicago IL Museum of Contemporary Art:220 E Chicago Chicago IL Museum of Contemporary Photography:600 S Michigan Chicago IL Museum of Holography:1134 W Washington Chicago IL Museum of Science and Industry:5700 S Lake Shore Drive Chicago IL Music Box:3733 N Southport Chicago IL Navy Pier:600 E Grand Chicago IL North Pier:435 E Illinois Chicago IL Odyssey Cruises:1000 E Illinois Chicago IL Old Saint Patrick's:700 W Adams Chicago IL Oriental Institute Museum:1155 E 58th Chicago IL Oz Park:2000 N Lincoln Chicago IL Palmer House:101 E Monroe Chicago IL Peggy Notebaert Nature Museum:2430 N Cannon Drive Chicago IL Pipers Alley:1602 N Wells Chicago IL Polish Museum of America:984 N Milwaukee Chicago IL Prairie Avenue House Museums:1800 S Prairie Chicago IL Pullman Historic District:11141 S Cottage Grove Chicago IL Ramova Theater:3502 S Halsted Chicago IL River City:800 S Wells Chicago IL Saint Benedict's Church:3920 N Leavitt Chicago IL Saint Mary of Perpetual Help Church:1039 W 32nd Chicago IL Saint Michael's Church:1660 N Hudson Chicago IL Sears Tower:200 S Wacker Chicago IL Second Presbyterian Church:1936 S Indiana Chicago IL Shedd Aquarium:1200 S Lake Shore Drive Chicago IL Shubert Theatre:22 W Monroe Chicago IL Soldier Field:1800 S Lake Shore Drive Chicago IL South Shore Cultural Center:7059 S Shore Chicago IL Sox Park:601 W 35th Chicago IL Spirit of Chicago:500 E Illinois Chicago IL Steppenwolf Theatre Company:1650 N Halsted Chicago IL Swedish American Museum Center:5211 N Clark Chicago IL Terra Museum of American Art:666 N Michigan Chicago IL Theatre Building:1225 W Belmont Chicago IL Thompson Center:100 W Randolph Chicago IL Tribune Building:401 N Michigan Chicago IL Ukrainian National Museum:721 N Oakley Chicago IL Union Park:1301 W Grand Chicago IL Union Station:200 S Clinton Chicago IL Uptown Theater:4750 N Broadway Chicago IL Vietnam War Museum:954 W Carmen Chicago IL Water Tower:820 N Michigan Chicago IL Water Tower Place:835 N Michigan Chicago IL Wendella Sightseeing Boats:400 N Michigan Chicago IL Wicker Park:1425 N Damen Chicago IL Wrigley Building:400 N Michigan Chicago IL Wrigley Field:3601 N Clark Chicago IL -- Which can be plugged into the __DATA__ section of that script I posted earlier to generate this: -- Addams' (Jane) Hull House => -87.646952 ; 41.870864 Admiral's Sightseeing Cruises => -87.626598 ; 41.887578 American Police Museum => -87.627244 ; 41.858660 Amoco Building => -87.622471 ; 41.884515 Amour Park => -87.641251 ; 41.830833 Apollo Theater => -87.652721 ; 41.928282 Art Institute of Chicago => -87.624376 ; 41.879568 Auditorium Theater => -87.624284 ; 41.877031 Bailiwick Arts Center => -87.659684 ; 41.939832 Balzekas Museum => -87.722852 ; 41.775132 Black Ensemble Theatre => -87.664075 ; 41.964099 Bloomingdale's 900 North Mich. => -87.624308 ; 41.899223 Bridgeport => -87.646272 ; 41.838032 Century Shopping Center => -87.645422 ; 41.933282 Chicago Academy of Sciences => -87.617821 ; 41.891084 Chicago Architecture Foundatn => -87.624366 ; 41.879233 Chicago Athenaeum (closed) => -87.624454 ; 41.882251 Chicago Board of Trade => -87.632289 ; 41.878134 Chicago Board Options Exchange => -87.627979 ; 41.740034 Chicago Children's Museum => -87.610052 ; 41.891632 Chicago Cultural Center => -87.625076 ; 41.883234 Chicago Historical Society => -87.631853 ; 41.911232 Chicago Horse and Carriage => -87.626474 ; 41.897574 Chicago Place => -87.625552 ; 41.894932 Chicago River - Boat Rental => -87.627979 ; 41.740034 Chicago Stock Exchange => -87.627979 ; 41.740034 Chicago Theater => -87.628050 ; 41.885231 Chicago Visitor Info Center => -87.623373 ; 41.897631 Children's Theatre => -87.654904 ; 41.929857 Chinatown => -87.627466 ; 41.852664 Civic Opera House => -87.636952 ; 41.882264 Clark House => -87.538738 ; 41.722828 Coleman-Ames House => -87.538443 ; 41.659235 Comiskey Park => -87.631651 ; 41.830933 Daley Plaza => -87.629552 ; 41.883232 Dearborn Station => -87.629251 ; 41.877021 Disney Quest (closed) => -87.625552 ; 41.892532 DuSable Museum => -87.606912 ; 41.792174 Elks Headquarters => -87.656354 ; 41.930832 Garfield Park => -87.706155 ; 41.884332 Glessner House => -87.538738 ; 41.722828 Grant Park => -87.62285 ; 41.809233 Gray Line Tours => -87.627226 ; 41.880763 Harold Washington Library => -87.627691 ; 41.877025 Hellenic Museum => -87.635552 ; 41.889132 Here's Chicago => -87.623373 ; 41.897631 Hilliard Center => -87.629851 ; 41.853750 Humboldt Park => -87.702355 ; 41.902932 John Hancock Center => -87.624301 ; 41.898793 Kimball House => -87.538443 ; 41.659235 Leather Archives and Museum => -87.668156 ; 41.973245 Lifeline Theatre => -87.666107 ; 42.007086 Lincoln Park => -87.648854 ; 41.925532 Lincoln Park Zoo => -87.629653 ; 41.912932 Lincoln Square => -87.678256 ; 41.953332 Little Chinatown => -87.653057 ; 41.973588 Logan Boulevard => -87.697636 ; 41.928643 Logan Square => -87.702356 ; 41.928632 Magnificent Mile => -87.624252 ; 41.891032 Marina City => -87.628152 ; 41.887732 Marshall Fields => -87.627984 ; 41.883584 Maxwell Street Market- New => -87.639062 ; 41.861832 Mexican Fine Arts Center => -87.672326 ; 41.855732 Monadnock Building => -87.629352 ; 41.879532 Museum of Broadcast Communications => -87.625076 ; 41.883234 Museum of Contemporary Art => -87.622063 ; 41.896755 Museum of Contemporary Photography => -87.624252 ; 41.874433 Museum of Holography => -87.655624 ; 41.883032 Music Box => -87.664255 ; 41.949620 Navy Pier => -87.611652 ; 41.891932 North Pier => -87.617821 ; 41.891084 Odyssey Cruises => -87.611652 ; 41.891232 Old Saint Patrick's => -87.644052 ; 41.879332 Oriental Institute Museum => -87.597796 ; 41.789636 Oz Park => -87.638953 ; 41.918432 Palmer House => -87.624420 ; 41.880795 Peggy Notebaert Nature Museum => -87.634195 ; 41.926455 Polish Museum of America => -87.660930 ; 41.899750 Prairie Avenue House Museums => -87.529044 ; 41.704735 Pullman Historic District => -87.657153 ; 41.878132 Ramova Theater => -87.646188 ; 41.830711 River City => -87.529044 ; 41.704735 Saint Benedict's Church => -87.683676 ; 41.952720 Saint Mary of Perpetual Help Church => -87.652082 ; 41.836133 Saint Michael's Church => -87.639953 ; 41.912256 Sears Tower => -87.636752 ; 41.879432 Second Presbyterian Church => -87.622181 ; 41.856166 Shubert Theatre => -87.628624 ; 41.880743 South Shore Cultural Center => -87.538738 ; 41.722828 Sox Park => -87.641251 ; 41.830833 Spirit of Chicago => -87.614252 ; 41.891132 Steppenwolf Theatre Company => -87.648453 ; 41.911245 Swedish American Museum Center => -87.668656 ; 41.976752 Terra Museum of American Art => -87.624251 ; 41.894329 Theatre Building => -87.659594 ; 41.939832 Thompson Center => -87.631007 ; 41.884530 Tribune Building => -87.624452 ; 41.888932 Ukrainian National Museum => -87.684454 ; 41.894675 Union Park => -87.659137 ; 41.891040 Union Station => -87.641088 ; 41.879329 Uptown Theater => -87.659255 ; 41.968132 Vietnam War Museum => -87.654264 ; 41.974629 Water Tower => -87.624311 ; 41.897425 Water Tower Place => -87.624314 ; 41.897831 Wendella Sightseeing Boats => -87.624452 ; 41.888932 Wicker Park => -87.677430 ; 41.907426 Wrigley Building => -87.624452 ; 41.888932 Wrigley Field => -87.656655 ; 41.947332 -- Probably enough to turn your map to mush, but maybe some things can be removed. //Ed From joshua.mcadams at gmail.com Sun Oct 2 13:41:03 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 2 Oct 2005 15:41:03 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <19725513-D946-4636-82AF-178B9402E809@pobox.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <1128276493.23360.2.camel@wsmithbox> <19725513-D946-4636-82AF-178B9402E809@pobox.com> Message-ID: <49d805d70510021341h45953b3ftacb932b6e1db8658@mail.gmail.com> That's excellent. Thanks! On 10/2/05, Edward Summers wrote: > On Oct 2, 2005, at 1:08 PM, wsmith wrote: > > http://www.rocket99.com/zoom/l13az.html has a list of points of > > interest > > Nice, I parsed that HTML to generate this: > > Addams' (Jane) Hull House:800 S Halsted Chicago IL > Adler Planetarium:1300 S Lake Shore Drive Chicago IL > Admiral's Sightseeing Cruises:300 N Wabash Chicago IL > American Police Museum:1717 S State Chicago IL > Amoco Building:200 E Randolph Chicago IL > Amour Park:600 W 35th Chicago IL > Apollo Theater:2540 N Lincoln Chicago IL > Art Institute of Chicago:201 S Michigan Chicago IL > Auditorium Theater:400 S Michigan Chicago IL > Bailiwick Arts Center:1229 W Belmont Chicago IL > Balzekas Museum:6500 S Pulaski Chicago IL > Black Ensemble Theatre:4520 N Beacon Chicago IL > Bloomingdale's 900 North Mich.:900 N Michigan Chicago IL > Bridgeport:801 W 31st Chicago IL > Buckingham Fountain:100 N Lake Shore Drive Chicago IL > Century Shopping Center:2814 N Clark Chicago IL > Chicago Academy of Sciences:435 E Illinois Chicago IL > Chicago Architecture Foundatn:224 S Michigan Chicago IL > Chicago Athenaeum (closed):6 N Michigan Chicago IL > Chicago Board of Trade:141 W Jackson Chicago IL > Chicago Board Options Exchange:400 S LaSalle Chicago IL > Chicago Children's Museum:700 E Grand Chicago IL > Chicago Cultural Center:78 E Washington Chicago IL > Chicago Historical Society:1600 N Clark Chicago IL > Chicago Horse and Carriage:70 E Pearson Chicago IL > Chicago Motor Coach Company:1 N Water Tower Chicago IL > Chicago Place:100 E Huron Chicago IL > Chicago River - Boat Rental:290 N LaSalle Chicago IL > Chicago Stock Exchange:440 S LaSalle Chicago IL > Chicago Theater:175 N State Chicago IL > Chicago Visitor Info Center:163 E Pearson Chicago IL > Children's Theatre:2636 N Lincoln Chicago IL > Chinatown:20 W Cermak Chicago IL > Civic Opera House:20 N Wacker Chicago IL > Clark House:1850 S Prairie Chicago IL > Coleman-Ames House:1811 S Prairie Chicago IL > Comiskey Park:3500 S Wentworth Chicago IL > Daley Plaza:100 N Dearborn Chicago IL > Dearborn Station:400 S Dearborn Chicago IL > Disney Quest (closed):101 E Ohio Chicago IL > DuSable Museum:740 E 56th Chicago IL > Eclipse Theatre Company:2074 N Levitt Chicago IL > Elks Headquarters:2700 N Lincoln Park West Chicago IL > Field Museum of Natural History:1000 S Lake Shore Drive Chicago IL > Garfield Park:200 N Kedzie Chicago IL > Glessner House:1800 S Prairie Chicago IL > Grant Park:501 S Michigan Chicago IL > Gray Line Tours:17 E Monroe Chicago IL > Harold Washington Library:400 S State Chicago IL > Hellenic Museum:400 N Franklin Chicago IL > Here's Chicago:163 E Pearson Chicago IL > Hilliard Center:2111 S Clark Chicago IL > Humboldt Park:3000 W Division Chicago IL > John Hancock Center:875 N Michigan Chicago IL > Kimball House:1801 S Prairie Chicago IL > Leather Archives and Museum:5017 N Clark Chicago IL > Lifeline Theatre:6912 N Glenwood Chicago IL > Lincoln Park:2400 N Lincoln Park West Chicago IL > Lincoln Park Zoo:200 N Cannon Chicago IL > Lincoln Square:4602 N Lincoln Chicago IL > Little Chinatown:900 W Argyle Chicago IL > Logan Boulevard:2800 W Logan Chicago IL > Logan Square:3000 W Logan Chicago IL > Magnificent Mile:500 N Michigan Chicago IL > Marina City:300 N State Chicago IL > Marshall Fields:111 N State Chicago IL > Maxwell Street Market- New:1500 S Canal Chicago IL > McCormick Place:2301 S Lake Shore Drive Chicago IL > Merchandise Mart:300 N Wells Chicago IL > Mexican Fine Arts Center:1852 W 19th Chicago IL > Monadnock Building:200 S Dearborn Chicago IL > Museum of Broadcast Communications:78 E Washington Chicago IL > Museum of Contemporary Art:220 E Chicago Chicago IL > Museum of Contemporary Photography:600 S Michigan Chicago IL > Museum of Holography:1134 W Washington Chicago IL > Museum of Science and Industry:5700 S Lake Shore Drive Chicago IL > Music Box:3733 N Southport Chicago IL > Navy Pier:600 E Grand Chicago IL > North Pier:435 E Illinois Chicago IL > Odyssey Cruises:1000 E Illinois Chicago IL > Old Saint Patrick's:700 W Adams Chicago IL > Oriental Institute Museum:1155 E 58th Chicago IL > Oz Park:2000 N Lincoln Chicago IL > Palmer House:101 E Monroe Chicago IL > Peggy Notebaert Nature Museum:2430 N Cannon Drive Chicago IL > Pipers Alley:1602 N Wells Chicago IL > Polish Museum of America:984 N Milwaukee Chicago IL > Prairie Avenue House Museums:1800 S Prairie Chicago IL > Pullman Historic District:11141 S Cottage Grove Chicago IL > Ramova Theater:3502 S Halsted Chicago IL > River City:800 S Wells Chicago IL > Saint Benedict's Church:3920 N Leavitt Chicago IL > Saint Mary of Perpetual Help Church:1039 W 32nd Chicago IL > Saint Michael's Church:1660 N Hudson Chicago IL > Sears Tower:200 S Wacker Chicago IL > Second Presbyterian Church:1936 S Indiana Chicago IL > Shedd Aquarium:1200 S Lake Shore Drive Chicago IL > Shubert Theatre:22 W Monroe Chicago IL > Soldier Field:1800 S Lake Shore Drive Chicago IL > South Shore Cultural Center:7059 S Shore Chicago IL > Sox Park:601 W 35th Chicago IL > Spirit of Chicago:500 E Illinois Chicago IL > Steppenwolf Theatre Company:1650 N Halsted Chicago IL > Swedish American Museum Center:5211 N Clark Chicago IL > Terra Museum of American Art:666 N Michigan Chicago IL > Theatre Building:1225 W Belmont Chicago IL > Thompson Center:100 W Randolph Chicago IL > Tribune Building:401 N Michigan Chicago IL > Ukrainian National Museum:721 N Oakley Chicago IL > Union Park:1301 W Grand Chicago IL > Union Station:200 S Clinton Chicago IL > Uptown Theater:4750 N Broadway Chicago IL > Vietnam War Museum:954 W Carmen Chicago IL > Water Tower:820 N Michigan Chicago IL > Water Tower Place:835 N Michigan Chicago IL > Wendella Sightseeing Boats:400 N Michigan Chicago IL > Wicker Park:1425 N Damen Chicago IL > Wrigley Building:400 N Michigan Chicago IL > Wrigley Field:3601 N Clark Chicago IL > > -- > > Which can be plugged into the __DATA__ section of that script I > posted earlier to generate this: > > -- > > Addams' (Jane) Hull House => -87.646952 ; 41.870864 > Admiral's Sightseeing Cruises => -87.626598 ; 41.887578 > American Police Museum => -87.627244 ; 41.858660 > Amoco Building => -87.622471 ; 41.884515 > Amour Park => -87.641251 ; 41.830833 > Apollo Theater => -87.652721 ; 41.928282 > Art Institute of Chicago => -87.624376 ; 41.879568 > Auditorium Theater => -87.624284 ; 41.877031 > Bailiwick Arts Center => -87.659684 ; 41.939832 > Balzekas Museum => -87.722852 ; 41.775132 > Black Ensemble Theatre => -87.664075 ; 41.964099 > Bloomingdale's 900 North Mich. => -87.624308 ; 41.899223 > Bridgeport => -87.646272 ; 41.838032 > Century Shopping Center => -87.645422 ; 41.933282 > Chicago Academy of Sciences => -87.617821 ; 41.891084 > Chicago Architecture Foundatn => -87.624366 ; 41.879233 > Chicago Athenaeum (closed) => -87.624454 ; 41.882251 > Chicago Board of Trade => -87.632289 ; 41.878134 > Chicago Board Options Exchange => -87.627979 ; 41.740034 > Chicago Children's Museum => -87.610052 ; 41.891632 > Chicago Cultural Center => -87.625076 ; 41.883234 > Chicago Historical Society => -87.631853 ; 41.911232 > Chicago Horse and Carriage => -87.626474 ; 41.897574 > Chicago Place => -87.625552 ; 41.894932 > Chicago River - Boat Rental => -87.627979 ; 41.740034 > Chicago Stock Exchange => -87.627979 ; 41.740034 > Chicago Theater => -87.628050 ; 41.885231 > Chicago Visitor Info Center => -87.623373 ; 41.897631 > Children's Theatre => -87.654904 ; 41.929857 > Chinatown => -87.627466 ; 41.852664 > Civic Opera House => -87.636952 ; 41.882264 > Clark House => -87.538738 ; 41.722828 > Coleman-Ames House => -87.538443 ; 41.659235 > Comiskey Park => -87.631651 ; 41.830933 > Daley Plaza => -87.629552 ; 41.883232 > Dearborn Station => -87.629251 ; 41.877021 > Disney Quest (closed) => -87.625552 ; 41.892532 > DuSable Museum => -87.606912 ; 41.792174 > Elks Headquarters => -87.656354 ; 41.930832 > Garfield Park => -87.706155 ; 41.884332 > Glessner House => -87.538738 ; 41.722828 > Grant Park => -87.62285 ; 41.809233 > Gray Line Tours => -87.627226 ; 41.880763 > Harold Washington Library => -87.627691 ; 41.877025 > Hellenic Museum => -87.635552 ; 41.889132 > Here's Chicago => -87.623373 ; 41.897631 > Hilliard Center => -87.629851 ; 41.853750 > Humboldt Park => -87.702355 ; 41.902932 > John Hancock Center => -87.624301 ; 41.898793 > Kimball House => -87.538443 ; 41.659235 > Leather Archives and Museum => -87.668156 ; 41.973245 > Lifeline Theatre => -87.666107 ; 42.007086 > Lincoln Park => -87.648854 ; 41.925532 > Lincoln Park Zoo => -87.629653 ; 41.912932 > Lincoln Square => -87.678256 ; 41.953332 > Little Chinatown => -87.653057 ; 41.973588 > Logan Boulevard => -87.697636 ; 41.928643 > Logan Square => -87.702356 ; 41.928632 > Magnificent Mile => -87.624252 ; 41.891032 > Marina City => -87.628152 ; 41.887732 > Marshall Fields => -87.627984 ; 41.883584 > Maxwell Street Market- New => -87.639062 ; 41.861832 > Mexican Fine Arts Center => -87.672326 ; 41.855732 > Monadnock Building => -87.629352 ; 41.879532 > Museum of Broadcast Communications => -87.625076 ; 41.883234 > Museum of Contemporary Art => -87.622063 ; 41.896755 > Museum of Contemporary Photography => -87.624252 ; 41.874433 > Museum of Holography => -87.655624 ; 41.883032 > Music Box => -87.664255 ; 41.949620 > Navy Pier => -87.611652 ; 41.891932 > North Pier => -87.617821 ; 41.891084 > Odyssey Cruises => -87.611652 ; 41.891232 > Old Saint Patrick's => -87.644052 ; 41.879332 > Oriental Institute Museum => -87.597796 ; 41.789636 > Oz Park => -87.638953 ; 41.918432 > Palmer House => -87.624420 ; 41.880795 > Peggy Notebaert Nature Museum => -87.634195 ; 41.926455 > Polish Museum of America => -87.660930 ; 41.899750 > Prairie Avenue House Museums => -87.529044 ; 41.704735 > Pullman Historic District => -87.657153 ; 41.878132 > Ramova Theater => -87.646188 ; 41.830711 > River City => -87.529044 ; 41.704735 > Saint Benedict's Church => -87.683676 ; 41.952720 > Saint Mary of Perpetual Help Church => -87.652082 ; 41.836133 > Saint Michael's Church => -87.639953 ; 41.912256 > Sears Tower => -87.636752 ; 41.879432 > Second Presbyterian Church => -87.622181 ; 41.856166 > Shubert Theatre => -87.628624 ; 41.880743 > South Shore Cultural Center => -87.538738 ; 41.722828 > Sox Park => -87.641251 ; 41.830833 > Spirit of Chicago => -87.614252 ; 41.891132 > Steppenwolf Theatre Company => -87.648453 ; 41.911245 > Swedish American Museum Center => -87.668656 ; 41.976752 > Terra Museum of American Art => -87.624251 ; 41.894329 > Theatre Building => -87.659594 ; 41.939832 > Thompson Center => -87.631007 ; 41.884530 > Tribune Building => -87.624452 ; 41.888932 > Ukrainian National Museum => -87.684454 ; 41.894675 > Union Park => -87.659137 ; 41.891040 > Union Station => -87.641088 ; 41.879329 > Uptown Theater => -87.659255 ; 41.968132 > Vietnam War Museum => -87.654264 ; 41.974629 > Water Tower => -87.624311 ; 41.897425 > Water Tower Place => -87.624314 ; 41.897831 > Wendella Sightseeing Boats => -87.624452 ; 41.888932 > Wicker Park => -87.677430 ; 41.907426 > Wrigley Building => -87.624452 ; 41.888932 > Wrigley Field => -87.656655 ; 41.947332 > > -- > > Probably enough to turn your map to mush, but maybe some things can > be removed. > > //Ed > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From gdf at speakeasy.net Sun Oct 2 19:16:26 2005 From: gdf at speakeasy.net (Greg Fast) Date: Sun, 02 Oct 2005 21:16:26 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> Message-ID: <4340947A.4060407@speakeasy.net> Joshua McAdams wrote: > Does anyone have or know where I can get lat/long coordinates for 'L' > routes and tourist spots around the city? Worst case, does anyone > have a GPS system that could find these points? Check out http://meat.net/2005/09/cta-transit-map/ -- Dave used the GIS data from http://maps.cityofchicago.org/ to lay out the el routes over a Google Maps map. -- Greg Fast gdf at speakeasy.net http://cken.chi.groogroo.com/ From joshua.mcadams at gmail.com Sun Oct 2 21:15:11 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 2 Oct 2005 23:15:11 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <4340947A.4060407@speakeasy.net> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <4340947A.4060407@speakeasy.net> Message-ID: <49d805d70510022115s23976221w412fd48cc1ddec23@mail.gmail.com> Now that is just beautiful. Does anyone know Dave and know if it is okay for me to use some of the code, especially the converted coordinates, since that seemed to be a big source of the work? On 10/2/05, Greg Fast wrote: > Joshua McAdams wrote: > > Does anyone have or know where I can get lat/long coordinates for 'L' > > routes and tourist spots around the city? Worst case, does anyone > > have a GPS system that could find these points? > > Check out http://meat.net/2005/09/cta-transit-map/ -- Dave used the GIS > data from http://maps.cityofchicago.org/ to lay out the el routes over a > Google Maps map. > > -- > Greg Fast > gdf at speakeasy.net > http://cken.chi.groogroo.com/ > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From jason at multiply.org Mon Oct 3 09:18:03 2005 From: jason at multiply.org (jason@multiply.org) Date: Mon, 3 Oct 2005 11:18:03 -0500 Subject: [Chicago-talk] Meeting Conflicts Message-ID: <20051003111803.l0658q8nka04o44o@manage.multiply.org> Hi All. John Long contacted me to say that his schedule doesn't look like it will work for the 11th. So. Tomorrow is the 4th (our normal first tuesday, which i clearly forgot about when i scheduled the meeting), so i think that is out. Should we try to reschedule for the 18th, or push forward with other content for the 11th? -jason gessner jason at multiply.org From richard at rushlogistics.com Tue Oct 4 09:41:20 2005 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 4 Oct 2005 09:41:20 -0700 (PDT) Subject: [Chicago-talk] Is this efficient. Message-ID: <20051004164120.7699.qmail@web410.biz.mail.mud.yahoo.com> I have a short program opens a file and adds a line from when a certain event takes place. So the file does not get too big I remove the 1st line in the file whenever one is added. The only way I know how to do this is: system("perl -ni.bak -e 'print unless 1..1' text.txt"); Is it ineficient to have this system call? If so how can I modify the code to work w/o the system (from with the program)? Thanks you for the help. Richard A people that values its privileges above its principles soon loses both. -Dwight D. Eisenhower. From mongers at bsod.net Tue Oct 4 09:54:44 2005 From: mongers at bsod.net (Pete Krawczyk) Date: Tue, 4 Oct 2005 11:54:44 -0500 (CDT) Subject: [Chicago-talk] Is this efficient. In-Reply-To: <20051004164120.7699.qmail@web410.biz.mail.mud.yahoo.com> Message-ID: Subject: [Chicago-talk] Is this efficient. From: Richard Reina Date: Tue, 4 Oct 2005 09:41:20 -0700 (PDT) }system("perl -ni.bak -e 'print unless 1..1' text.txt"); Holy Race Condition, Batman! Never mind the system call, this is a recipe for disaster as written. You run the risk of new data being written at the wrong time or total loss of data if two of these run at the same time. I would highly, highly, highly suggest either using a log rotation tool (such as logrotate) or a manual process to move the files. Is there any particular reason you need a cyclical log file instead of one that grows? -Pete K -- Pete Krawczyk perl at bsod dot net From steve at fisharerojo.org Tue Oct 4 10:03:50 2005 From: steve at fisharerojo.org (Steve Peters) Date: Tue, 4 Oct 2005 12:03:50 -0500 Subject: [Chicago-talk] Is this efficient. In-Reply-To: <20051004164120.7699.qmail@web410.biz.mail.mud.yahoo.com> References: <20051004164120.7699.qmail@web410.biz.mail.mud.yahoo.com> Message-ID: <20051004170349.GA9191@mccoy.peters.homeunix.org> On Tue, Oct 04, 2005 at 09:41:20AM -0700, Richard Reina wrote: > > > I have a short program opens a file and adds a line > from when a certain event takes place. So the file > does not get too big I remove the 1st line in the file > whenever one is added. The only way I know how to do > this is: > > system("perl -ni.bak -e 'print unless 1..1' > text.txt"); > > Is it ineficient to have this system call? If so how > can I modify the code to work w/o the system (from > with the program)? > If you are always removing the first line, you should only have one line in the file at any time. So ... my $file = "filename"; my $mv = "mv $file $file.bak"; `$mv`; open FOO, ">", $file || die "Can't open $file: $!"; print FOO "Stuff to print out\n"; close FOO; Note: I'm not checking for success or failure for the "mv", since I'm not sure of your requirements since you aren't checking system() for errors. Steve Peters steve at fisharerojo.org From richard at rushlogistics.com Tue Oct 4 10:05:43 2005 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 4 Oct 2005 10:05:43 -0700 (PDT) Subject: [Chicago-talk] Is this efficient. In-Reply-To: Message-ID: <20051004170543.12937.qmail@web403.biz.mail.mud.yahoo.com> This program puts caller id info into a the text file each time a call come through only for viewing purposes for users (employees) at there individual workstations. The data is not critical and we only want to keep the last few hundred calls in the file. More complete data is on the PBX Server, so this file is not critical. --- Pete Krawczyk wrote: > Subject: [Chicago-talk] Is this efficient. > From: Richard Reina > Date: Tue, 4 Oct 2005 09:41:20 -0700 (PDT) > > }system("perl -ni.bak -e 'print unless 1..1' > text.txt"); > > Holy Race Condition, Batman! Never mind the system > call, this is a recipe > for disaster as written. You run the risk of new > data being written at > the wrong time or total loss of data if two of these > run at the same time. > > I would highly, highly, highly suggest either using > a log rotation tool > (such as logrotate) or a manual process to move the > files. > > Is there any particular reason you need a cyclical > log file instead of > one that grows? > > -Pete K > -- > Pete Krawczyk > perl at bsod dot net > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > A people that values its privileges above its principles soon loses both. -Dwight D. Eisenhower. From warren at warrenandrachel.com Tue Oct 4 10:04:11 2005 From: warren at warrenandrachel.com (Warren Smith) Date: Tue, 04 Oct 2005 12:04:11 -0500 Subject: [Chicago-talk] Is this efficient. In-Reply-To: <20051004170543.12937.qmail@web403.biz.mail.mud.yahoo.com> References: <20051004170543.12937.qmail@web403.biz.mail.mud.yahoo.com> Message-ID: <4342B60B.1060100@warrenandrachel.com> I may have misunderstood the problem, but perl -i edits a file in place by doing all the move magic for you. Richard Reina wrote: >This program puts caller id info into a the text file >each time a call come through only for viewing >purposes for users (employees) at there individual >workstations. The data is not critical and we only >want to keep the last few hundred calls in the file. >More complete data is on the PBX Server, so this file >is not critical. > >--- Pete Krawczyk wrote: > > > >>Subject: [Chicago-talk] Is this efficient. >>From: Richard Reina >>Date: Tue, 4 Oct 2005 09:41:20 -0700 (PDT) >> >>}system("perl -ni.bak -e 'print unless 1..1' >>text.txt"); >> >>Holy Race Condition, Batman! Never mind the system >>call, this is a recipe >>for disaster as written. You run the risk of new >>data being written at >>the wrong time or total loss of data if two of these >>run at the same time. >> >>I would highly, highly, highly suggest either using >>a log rotation tool >>(such as logrotate) or a manual process to move the >>files. >> >>Is there any particular reason you need a cyclical >>log file instead of >>one that grows? >> >>-Pete K >>-- >>Pete Krawczyk >> perl at bsod dot net >> >>_______________________________________________ >>Chicago-talk mailing list >>Chicago-talk at pm.org >>http://mail.pm.org/mailman/listinfo/chicago-talk >> >> >> > > >A people that values its privileges above its principles soon loses both. > -Dwight D. Eisenhower. >_______________________________________________ >Chicago-talk mailing list >Chicago-talk at pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk > > From hachi at kuiki.net Tue Oct 4 10:04:37 2005 From: hachi at kuiki.net (Jonathan Steinert) Date: Tue, 04 Oct 2005 12:04:37 -0500 Subject: [Chicago-talk] Is this efficient. In-Reply-To: <20051004170349.GA9191@mccoy.peters.homeunix.org> References: <20051004164120.7699.qmail@web410.biz.mail.mud.yahoo.com> <20051004170349.GA9191@mccoy.peters.homeunix.org> Message-ID: <4342B625.3080803@kuiki.net> Steve Peters wrote: >On Tue, Oct 04, 2005 at 09:41:20AM -0700, Richard Reina wrote: > > >>I have a short program opens a file and adds a line >>from when a certain event takes place. So the file >>does not get too big I remove the 1st line in the file >>whenever one is added. The only way I know how to do >>this is: >> >>system("perl -ni.bak -e 'print unless 1..1' >>text.txt"); >> >>Is it ineficient to have this system call? If so how >>can I modify the code to work w/o the system (from >>with the program)? >> >> >> > >If you are always removing the first line, you should only have one line >in the file at any time. So ... > >my $file = "filename"; >my $mv = "mv $file $file.bak"; >`$mv`; > > For the record... no reason to fork for this, the 'rename' function already exists in perl. rename $file, "$file.bak"; >open FOO, ">", $file || die "Can't open $file: $!"; >print FOO "Stuff to print out\n"; >close FOO; > >Note: I'm not checking for success or failure for the "mv", since I'm not >sure of your requirements since you aren't checking system() for errors. > >Steve Peters >steve at fisharerojo.org >_______________________________________________ >Chicago-talk mailing list >Chicago-talk at pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk > > From richard at rushlogistics.com Tue Oct 4 10:10:26 2005 From: richard at rushlogistics.com (Richard Reina) Date: Tue, 4 Oct 2005 10:10:26 -0700 (PDT) Subject: [Chicago-talk] Is this efficient. In-Reply-To: <20051004170349.GA9191@mccoy.peters.homeunix.org> Message-ID: <20051004171027.58229.qmail@web406.biz.mail.mud.yahoo.com> > If you are always removing the first line, you > should only have one line > in the file at any time. So ... > Not really, I let the file grow to a few hundred lines before I started removing the first line. A people that values its privileges above its principles soon loses both. -Dwight D. Eisenhower. From jason at multiply.org Tue Oct 4 11:17:39 2005 From: jason at multiply.org (Jason Gessner) Date: Tue, 04 Oct 2005 13:17:39 -0500 Subject: [Chicago-talk] Meeting? In-Reply-To: <20051004171027.58229.qmail@web406.biz.mail.mud.yahoo.com> References: <20051004171027.58229.qmail@web406.biz.mail.mud.yahoo.com> Message-ID: <4342C743.1040605@multiply.org> Hi. Does anyone have any thoughts on moving the meeting date? We only have my catalyst presentation if we keep the meeting on tuesday. -jason gessner jason at multiply.org From gdf at speakeasy.net Tue Oct 4 11:48:23 2005 From: gdf at speakeasy.net (Greg Fast) Date: Tue, 4 Oct 2005 13:48:23 -0500 Subject: [Chicago-talk] Meeting Conflicts In-Reply-To: <20051003111803.l0658q8nka04o44o@manage.multiply.org> References: <20051003111803.l0658q8nka04o44o@manage.multiply.org> Message-ID: <20051004134823.A18842@speakeasy.net> On Mon, Oct 03, 2005 at 11:18:03AM -0500, jason at multiply.org wrote: > Should we try to reschedule for the 18th, or push forward with other > content for the 11th? It's just as easy for me to make the 18th as the 11th. -- Greg Fast gdf at speakeasy.net http://cken.chi.groogroo.com/ From gdf at speakeasy.net Tue Oct 4 11:50:32 2005 From: gdf at speakeasy.net (Greg Fast) Date: Tue, 4 Oct 2005 13:50:32 -0500 Subject: [Chicago-talk] Geo-Data In-Reply-To: <49d805d70510022115s23976221w412fd48cc1ddec23@mail.gmail.com> References: <49d805d70510012055q438c01bqa933951fe90a6bc8@mail.gmail.com> <4340947A.4060407@speakeasy.net> <49d805d70510022115s23976221w412fd48cc1ddec23@mail.gmail.com> Message-ID: <20051004135032.B18842@speakeasy.net> On Sun, Oct 02, 2005 at 11:15:11PM -0500, Joshua McAdams wrote: > Now that is just beautiful. Does anyone know Dave and know if it is > okay for me to use some of the code, especially the converted > coordinates, since that seemed to be a big source of the work? Whoops, never replied. Dave sez: "I don't mind people using my data. I wouldn't use the track data because it's overly flattened in some places. [...] look at the first blue line segment northwest of lake stret." -- Greg Fast gdf at speakeasy.net http://cken.chi.groogroo.com/ From komtanoo at gmail.com Tue Oct 4 21:39:20 2005 From: komtanoo at gmail.com (komtanoo) Date: Tue, 4 Oct 2005 23:39:20 -0500 Subject: [Chicago-talk] how to get calling depth ? Message-ID: <001201c5c966$c0e4e280$0200a8c0@realromerun> Hello, I try to solve a problem by calling a function like: my @kk = caller($zz); The $zz should be the outmost of the calling stack. Currently, I have to loop form $zz=0 to inf to find the maximum $zz that makes caller return not null data. I doubt that perl maintains some special varaiable for the maximum value of "caller function" or in other word, current depth of calling stack. Anybody know how to get it without keep calling the caller function ? -thanks kem -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20051005/4a20d8e2/attachment.html From shild at sbcglobal.net Wed Oct 5 18:46:48 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Wed, 05 Oct 2005 20:46:48 -0500 Subject: [Chicago-talk] OT Message-ID: <1128563208.730.31.camel@fbsd1.dyndns.org> White Sox Win!!! Woo Hoo! -- Scott T. Hildreth From me at heyjay.com Wed Oct 5 19:55:09 2005 From: me at heyjay.com (Jay Strauss) Date: Wed, 05 Oct 2005 21:55:09 -0500 Subject: [Chicago-talk] PBP - What to name a hash_ref? Message-ID: <4344920D.8010305@heyjay.com> Hi, In PBP (I haven't finished it yet) but so far he hasn't recommended a naming for a hash_ref. hashes are blah_of refs are blah_ref-> but: blah_of_ref->{} - doesn't sound right in my head and blah_ref_of->{} - doesn't look right based on the PBP rules Both seem to be getting kinda wordy suggestions? Thanks Jay From me at heyjay.com Wed Oct 5 19:57:20 2005 From: me at heyjay.com (Jay Strauss) Date: Wed, 05 Oct 2005 21:57:20 -0500 Subject: [Chicago-talk] OT In-Reply-To: <1128563208.730.31.camel@fbsd1.dyndns.org> References: <1128563208.730.31.camel@fbsd1.dyndns.org> Message-ID: <43449290.7010504@heyjay.com> Scott T. Hildreth wrote: > White Sox Win!!! Woo Hoo! > And a nice ending too From me at heyjay.com Wed Oct 5 19:57:20 2005 From: me at heyjay.com (Jay Strauss) Date: Wed, 05 Oct 2005 21:57:20 -0500 Subject: [Chicago-talk] OT In-Reply-To: <1128563208.730.31.camel@fbsd1.dyndns.org> References: <1128563208.730.31.camel@fbsd1.dyndns.org> Message-ID: <43449290.7010504@heyjay.com> Scott T. Hildreth wrote: > White Sox Win!!! Woo Hoo! > And a nice ending too From frag at ripco.com Thu Oct 6 07:32:02 2005 From: frag at ripco.com (Mike Fragassi) Date: Thu, 6 Oct 2005 09:32:02 -0500 (CDT) Subject: [Chicago-talk] Meeting? In-Reply-To: <4342C743.1040605@multiply.org> References: <20051004171027.58229.qmail@web406.biz.mail.mud.yahoo.com> <4342C743.1040605@multiply.org> Message-ID: I'm fine with moving the meeting date. Incidentally, the conflict with Andy's presentation raises a point. The meetings used to be on Mondays, which avoided conflicts with Uniforum Perl presentations, and just got shifted to Tuesdays somewhere along the way. I think it would be a good idea to make another permanent move, either to Wednesdays (assuming no one likes Mondays) or to either the 1st or 3rd Tuesdays -- if I'm reading their schedule right (http://www.uniforum.chi.il.us/previous.html) , Uniforum takes the 2nd and 4th Tuesdays, with the 2nd being the PerlSIG. -- Mike F. From pbaker at where2getit.com Thu Oct 6 08:56:29 2005 From: pbaker at where2getit.com (Paul Baker) Date: Thu, 6 Oct 2005 10:56:29 -0500 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <4344920D.8010305@heyjay.com> References: <4344920D.8010305@heyjay.com> Message-ID: On Oct 5, 2005, at 9:55 PM, Jay Strauss wrote: > In PBP (I haven't finished it yet) but so far he hasn't recommended a > naming for a hash_ref. > > hashes are blah_of > refs are blah_ref-> I haven't gotten my copy yet. What's the reasoning behind the _of for hashes? -- Paul Baker "Reality is that which, when you stop believing in it, doesn't go away." -- Philip K. Dick GPG Key: http://homepage.mac.com/pauljbaker/public.asc From andy at petdance.com Thu Oct 6 11:27:39 2005 From: andy at petdance.com (Andy Lester) Date: Thu, 6 Oct 2005 13:27:39 -0500 Subject: [Chicago-talk] Perlcast.com has an interview with me Message-ID: <20051006182738.GA5516@petdance.com> The latest issue of Chicago.PMer Josh McAdams' Perlcast is up, and it's got an interview with me. I give props to y'all for your work on the Phalanx project, and talk about the things I'll be doing as PR czar for TPF. That's http://perlcast.com. There are plenty of other cool interviews, too. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Thu Oct 6 22:33:04 2005 From: me at heyjay.com (Jay Strauss) Date: Fri, 07 Oct 2005 00:33:04 -0500 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: References: <4344920D.8010305@heyjay.com> Message-ID: <43460890.8050506@heyjay.com> Paul Baker wrote: > On Oct 5, 2005, at 9:55 PM, Jay Strauss wrote: > > >>In PBP (I haven't finished it yet) but so far he hasn't recommended a >>naming for a hash_ref. >> >>hashes are blah_of >>refs are blah_ref-> > > > I haven't gotten my copy yet. What's the reasoning behind the _of for > hashes? > Actually on re-reading, PBP recommends ending the hash name in a preposition specifically: "Moreover, because hashes often store a property that's related to their key, it's often even more readable to name a hash with a singular noun followed by a preposition" $author_of{'Perl Best Practices'} = 'Damian Conway'; Ironically, he goes on to give some examples that don't end in a preposition. I guess it's more of a guide-line. Try to make it read naturally. Jay From medicldr at gmail.com Fri Oct 7 08:07:50 2005 From: medicldr at gmail.com (Craig Frooninckx) Date: Fri, 7 Oct 2005 08:07:50 -0700 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <43460890.8050506@heyjay.com> References: <4344920D.8010305@heyjay.com> <43460890.8050506@heyjay.com> Message-ID: <7d99b5450510070807u299c5c58y971517f35a57a0c0@mail.gmail.com> So what would the hash_ref read like? $author_of_ref->{'Perl Best Practices'} = 'Damian Conway'; On 10/6/05, Jay Strauss wrote: > > Paul Baker wrote: > > On Oct 5, 2005, at 9:55 PM, Jay Strauss wrote: > > > > > >>In PBP (I haven't finished it yet) but so far he hasn't recommended a > >>naming for a hash_ref. > >> > >>hashes are blah_of > >>refs are blah_ref-> > > > > > > I haven't gotten my copy yet. What's the reasoning behind the _of for > > hashes? > > > > Actually on re-reading, PBP recommends ending the hash name in a > preposition specifically: > > "Moreover, because hashes often store a property that's related to their > key, it's often even more readable to name a hash with a singular noun > followed by a preposition" > > $author_of{'Perl Best Practices'} = 'Damian Conway'; > > Ironically, he goes on to give some examples that don't end in a > preposition. I guess it's more of a guide-line. Try to make it read > naturally. > > Jay > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20051007/519c5293/attachment.html From me at heyjay.com Fri Oct 7 08:29:19 2005 From: me at heyjay.com (Jay Strauss) Date: Fri, 07 Oct 2005 10:29:19 -0500 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <7d99b5450510070807u299c5c58y971517f35a57a0c0@mail.gmail.com> References: <4344920D.8010305@heyjay.com> <43460890.8050506@heyjay.com> <7d99b5450510070807u299c5c58y971517f35a57a0c0@mail.gmail.com> Message-ID: <4346944F.7030508@heyjay.com> Craig Frooninckx wrote: > So what would the hash_ref read like? > > $author_of_ref->{'Perl Best Practices'} = 'Damian Conway'; > > On 10/6/05, *Jay Strauss* > wrote: > Is that rhetorical? That was my original question Jay From jason at multiply.org Fri Oct 7 08:34:30 2005 From: jason at multiply.org (Jason Gessner) Date: Fri, 7 Oct 2005 10:34:30 -0500 Subject: [Chicago-talk] Meeting? In-Reply-To: References: <20051004171027.58229.qmail@web406.biz.mail.mud.yahoo.com> <4342C743.1040605@multiply.org> Message-ID: <9DB93C9C-409B-4245-97A3-E50FA7DC0B79@multiply.org> Ok, let's push this off to the 18th, then. I am still waiting for final confirmation from John W. Long about his rails presentation, but it sounded good before. O'reilly sent us their mason book, template toolkit book, the Agile Development With Rails book from the pragmatic programmers (which is excellent) and their new project management book, plus some perl shirts. It will be schwag-tastic! Also, to add a bit more irregularity, Andy, Jason Crome and I talked with Linda Lee Julien, the author of the excellent HTTP::Recorder. She will be in town on thursday November 3rd and is willing to talk about HTTP::Recorder. How about we do another meeting that thursday and then choose our schedule and keep to it. For permanent meeting days i would vote: +1 3rd tuesday -1 mondays -jason gessner jason at Multiply.org On Oct 6, 2005, at 9:32 AM, Mike Fragassi wrote: > > I'm fine with moving the meeting date. > > Incidentally, the conflict with Andy's presentation raises a > point. The > meetings used to be on Mondays, which avoided conflicts with > Uniforum Perl > presentations, and just got shifted to Tuesdays somewhere along the > way. > I think it would be a good idea to make another permanent move, > either to > Wednesdays (assuming no one likes Mondays) or to either the 1st or 3rd > Tuesdays -- if I'm reading their schedule right > (http://www.uniforum.chi.il.us/previous.html) , Uniforum takes the > 2nd and > 4th Tuesdays, with the 2nd being the PerlSIG. > > -- Mike F. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From shild at sbcglobal.net Fri Oct 7 16:41:38 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Fri, 07 Oct 2005 18:41:38 -0500 Subject: [Chicago-talk] OT - Can't help myself Message-ID: <1128728498.730.35.camel@fbsd1.dyndns.org> WHITE SOX SWEEP!!!!!! -- Scott T. Hildreth From jason at multiply.org Mon Oct 10 14:21:22 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 10 Oct 2005 16:21:22 -0500 Subject: [Chicago-talk] October Meeting: Catalyst + Ruby On Rails Message-ID: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> Hello all. Please join the Chicago Perl Mongers for an exciting look at two MVC web application frameworks. First, Jason Gessner will present an introduction and a couple of practical examples of Catalyst. Catalyst is an up and coming addition to the LAMP stack, an Elegant Web Framework, supporting the MVC pattern, as well as a number of experimental web patterns. It's heavily inspired by such frameworks as Ruby On Rails, Maypole, and Spring. Catalyst allows you to choose your favorite template language for the View, and choose your favorite data access tool for the Model portion. Catalyst also provides a powerful plugin system with dozens of available plugins to simplify coding tasks. The presentation will give a quick introduction to the framework and then provide a couple of real world examples of Catalyst interacting with Mason and Template Toolkit applications. The second part of the evening will be John W. Long of the Chicago Ruby Users Group giving an introduction to Ruby On Rails. GET TO THE POINT! WEB DEVELOPMENT WITH RUBY AND RAILS Since its release just one year ago, Ruby on Rails has been building steam. Web developers begin casually experimenting with Rails and soon find themselves creating web applications with more power and less code than they'd ever thought possible. Rails incorporates and dramatically simplifies many web development patterns and best practices, yet much of the reason for the success of Rails lies in the Ruby language itself. In this next presentation, we?ll explore the many facets of this elegant and powerful language from Japan and what it may hold for the future of computing. We?ll also take a bird?s eye view of the Rails framework and examine insights of the systems that make up Rails. Meeting Details: When: Tuesday, October 18th, 2005 Where: Performics 180 N. Lasalle 12th Floor Chicago, IL 60601 If you are interested in attending the meeting, please RSVP to jason at multiply.org by the morning of the meeting. Because the meeting is after normal business hours, RSVP is required, as well as a photo ID. About the Speakers Jason Gessner has been programming in perl for over 6 years, and has been active in the local user groups for the last 3 years. He is the lead Search Developer at Performics, a leading Search Engine Marketing company. He is interested in catalyst and Rails primarily to stop doing boring web coding tasks and get more interesting work done. John W. Long has been an advocate of the Ruby programming language since co-founding the Chicago Area Ruby Group in the fall of 2003. He has three years of experience with the Ruby programming language, coming to the scene well before Ruby on Rails was even an option. He is responsible for several Web applications (some written in Rails and some not) where he works as a Web developer for the Institute in Basic Life Principles, a non-profit organization based out of Oak Brook. As a member of the Ruby Visual Identity Team, he is hard at work participating in an upcoming redesign of ruby-lang.org. From me at heyjay.com Mon Oct 10 19:05:14 2005 From: me at heyjay.com (Jay Strauss) Date: Mon, 10 Oct 2005 21:05:14 -0500 Subject: [Chicago-talk] October Meeting: Catalyst + Ruby On Rails In-Reply-To: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> References: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> Message-ID: <434B1DDA.2020606@heyjay.com> Jason Gessner wrote: > Meeting Details: > When: Tuesday, October 18th, 2005 > Where: Performics > 180 N. Lasalle > 12th Floor > Chicago, IL 60601 I'd like to go. What time? Jay From jason at multiply.org Mon Oct 10 19:12:18 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 10 Oct 2005 21:12:18 -0500 Subject: [Chicago-talk] October Meeting: Catalyst + Ruby On Rails In-Reply-To: <434B1DDA.2020606@heyjay.com> References: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> <434B1DDA.2020606@heyjay.com> Message-ID: <8D74320F-7918-4A87-824C-9367CC340809@multiply.org> bah! Thanks for the catch, Jay. The meeting is from 7pm - 9pm. -jason gessner jason at multiply.org On Oct 10, 2005, at 9:05 PM, Jay Strauss wrote: > Jason Gessner wrote: > >> Meeting Details: >> When: Tuesday, October 18th, 2005 >> Where: Performics >> 180 N. Lasalle >> 12th Floor >> Chicago, IL 60601 >> > > I'd like to go. What time? > > Jay > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From ng at johnwlong.com Mon Oct 10 19:55:00 2005 From: ng at johnwlong.com (John W. Long) Date: Mon, 10 Oct 2005 21:55:00 -0500 Subject: [Chicago-talk] October Meeting: Catalyst + Ruby On Rails In-Reply-To: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> References: <89A9522E-A3CC-4FDA-AC8C-766E6A4F48F0@multiply.org> Message-ID: <434B2984.60201@johnwlong.com> What time in the evening? -- John Jason Gessner wrote: > Hello all. > > Please join the Chicago Perl Mongers for an exciting look at two MVC > web application frameworks. > > First, Jason Gessner will present an introduction and a couple of > practical examples of Catalyst. > > Catalyst is an up and coming addition to the LAMP stack, an Elegant > Web Framework, supporting the MVC pattern, as well as a number of > experimental web patterns. It's heavily inspired by such frameworks > as Ruby On Rails, Maypole, and Spring. > Catalyst allows you to choose your favorite template language for the > View, and choose your favorite data access tool for the Model > portion. Catalyst also provides a powerful plugin system with dozens > of available plugins to simplify coding tasks. > The presentation will give a quick introduction to the framework and > then provide a couple of real world examples of Catalyst interacting > with Mason and Template Toolkit applications. > > > The second part of the evening will be John W. Long of the Chicago > Ruby Users Group giving an introduction to Ruby On Rails. > > GET TO THE POINT! WEB DEVELOPMENT WITH RUBY AND RAILS > > Since its release just one year ago, Ruby on Rails has been building > steam. Web developers begin casually experimenting with Rails and > soon > find themselves creating web applications with more power and less > code than they'd ever thought possible. > > Rails incorporates and dramatically simplifies many web development > patterns and best practices, yet much of the reason for the > success of > Rails lies in the Ruby language itself. In this next presentation, > we?ll explore the many facets of this elegant and powerful language > from Japan and what it may hold for the future of computing. We?ll > also take a bird?s eye view of the Rails framework and examine > insights of the systems that make up Rails. > > > Meeting Details: > When: Tuesday, October 18th, 2005 > Where: Performics > 180 N. Lasalle > 12th Floor > Chicago, IL 60601 > > > If you are interested in attending the meeting, please RSVP to > jason at multiply.org by the morning of the meeting. > Because the meeting is after normal business hours, RSVP is > required, as well as a photo ID. > > > About the Speakers > > Jason Gessner has been programming in perl for over 6 years, and has > been > active in the local user groups for the last 3 years. He is the > lead Search Developer at > Performics, a leading Search Engine Marketing company. He is > interested in catalyst > and Rails primarily to stop doing boring web coding tasks and get > more interesting > work done. > > John W. Long has been an advocate of the Ruby programming language > since co-founding the Chicago Area Ruby Group in the fall of 2003. He > has three years of experience with the Ruby programming language, > coming to the scene well before Ruby on Rails was even an option. He > is responsible for several Web applications (some written in Rails > and > some not) where he works as a Web developer for the Institute in > Basic > Life Principles, a non-profit organization based out of Oak Brook. As > a member of the Ruby Visual Identity Team, he is hard at work > participating in an upcoming redesign of ruby-lang.org. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > From jason at multiply.org Mon Oct 10 20:31:35 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 10 Oct 2005 22:31:35 -0500 Subject: [Chicago-talk] Updated Meeting Announcement Message-ID: <2DA348AE-8E44-4A91-A274-AB132669806B@multiply.org> Hello all. Please join the Chicago Perl Mongers for an exciting look at two MVC web application frameworks. First, Jason Gessner will present an introduction and a couple of practical examples of Catalyst. Catalyst is an up and coming addition to the LAMP stack, an Elegant Web Framework, supporting the MVC pattern, as well as a number of experimental web patterns. It's heavily inspired by such frameworks as Ruby On Rails, Maypole, and Spring. Catalyst allows you to choose your favorite template language for the View, and choose your favorite data access tool for the Model portion. Catalyst also provides a powerful plugin system with dozens of available plugins to simplify coding tasks. The presentation will give a quick introduction to the framework and then provide a couple of real world examples of Catalyst interacting with Mason and Template Toolkit applications. The second part of the evening will be John W. Long of the Chicago Ruby Users Group giving an introduction to Ruby On Rails. GET TO THE POINT! WEB DEVELOPMENT WITH RUBY AND RAILS Since its release just one year ago, Ruby on Rails has been building steam. Web developers begin casually experimenting with Rails and soon find themselves creating web applications with more power and less code than they'd ever thought possible. Rails incorporates and dramatically simplifies many web development patterns and best practices, yet much of the reason for the success of Rails lies in the Ruby language itself. In this next presentation, we?ll explore the many facets of this elegant and powerful language from Japan and what it may hold for the future of computing. We?ll also take a bird?s eye view of the Rails framework and examine insights of the systems that make up Rails. Meeting Details: When: Tuesday, October 18th, 2005, 7-9pm Where: Performics 180 N. Lasalle 12th Floor Chicago, IL 60601 Directions: http://maps.yahoo.com/maps_result?addr=180+n+lasalle&csz=chicago% 2C+IL+60601&country=us&new=1&name=&qty= The nearest El Stops are: Blue Line, Brown Line, Green Line, Purple Line: Clark and Lake (Thompson Center) Red Line: Lake If you are interested in attending the meeting, please RSVP to jason at multiply.org by the morning of the meeting. Because the meeting is after normal business hours, an RSVP is required, as well as a photo ID. About the Speakers Jason Gessner has been programming in perl for over 6 years, and has been active in the local user groups for the last 3 years. He is the lead Search Developer at Performics, a leading Search Engine Marketing company. He is interested in catalyst and Rails primarily to stop doing boring web coding tasks and get more interesting work done. John W. Long has been an advocate of the Ruby programming language since co-founding the Chicago Area Ruby Group in the fall of 2003. He has three years of experience with the Ruby programming language, coming to the scene well before Ruby on Rails was even an option. He is responsible for several Web applications (some written in Rails and some not) where he works as a Web developer for the Institute in Basic Life Principles, a non-profit organization based out of Oak Brook. As a member of the Ruby Visual Identity Team, he is hard at work participating in an upcoming redesign of ruby-lang.org. _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From jason at multiply.org Sat Oct 15 14:10:49 2005 From: jason at multiply.org (Jason Gessner) Date: Sat, 15 Oct 2005 16:10:49 -0500 Subject: [Chicago-talk] OT: Computer for sale or carry Message-ID: Hi All. I have an old compaq 3000 6U server that i want to get rid of. The machine has ~300 meg of ram, has 2 333mhz p2 processors and a 32 or 64MB raid driver. I have 7 9 gig scsi drives in it right now. I don't want much for it. If anyone is interested (and willing to come get it in bartlett) drop me an email and let me know what you want to pay or trade. Thanks! -jason gessner jason at multiply.org From me at heyjay.com Sat Oct 15 14:45:45 2005 From: me at heyjay.com (Jay Strauss) Date: Sat, 15 Oct 2005 16:45:45 -0500 Subject: [Chicago-talk] Java question Message-ID: <43517889.2020803@heyjay.com> Hi, what does: order.m_ignoreRth = readInt() == 1; do? does it set order.m_ignoreRth = whatever is read, and if nothing is read set it to 1? Thanks Jay From me at heyjay.com Sat Oct 15 14:49:12 2005 From: me at heyjay.com (Jay Strauss) Date: Sat, 15 Oct 2005 16:49:12 -0500 Subject: [Chicago-talk] Java question In-Reply-To: <43517889.2020803@heyjay.com> References: <43517889.2020803@heyjay.com> Message-ID: <43517958.2010003@heyjay.com> Jay Strauss wrote: > Hi, > > what does: > > order.m_ignoreRth = readInt() == 1; > > do? > > does it set order.m_ignoreRth = whatever is read, and if nothing is read > set it to 1? > > Thanks > Jay Nevermind it's a boolean From jason at multiply.org Sat Oct 15 15:00:36 2005 From: jason at multiply.org (Jason Gessner) Date: Sat, 15 Oct 2005 17:00:36 -0500 Subject: [Chicago-talk] [Chicago] OT: Computer for sale or carry In-Reply-To: References: Message-ID: The machine also has a 35/70GB DLT drive (internal scsi) and i have 7 tapes for it). -jason gessner jason at multiply.org On Oct 15, 2005, at 4:10 PM, Jason Gessner wrote: > Hi All. > > I have an old compaq 3000 6U server that i want to get rid of. > > The machine has ~300 meg of ram, has 2 333mhz p2 processors and a 32 > or 64MB raid driver. I have 7 9 gig scsi drives in it right now. > > I don't want much for it. If anyone is interested (and willing to > come get it in bartlett) drop me an email and let me know what you > want to pay or trade. > > Thanks! > > -jason gessner > jason at multiply.org > _______________________________________________ > Chicago mailing list > Chicago at python.org > http://mail.python.org/mailman/listinfo/chicago > From jason at multiply.org Sat Oct 15 15:11:52 2005 From: jason at multiply.org (Jason Gessner) Date: Sat, 15 Oct 2005 17:11:52 -0500 Subject: [Chicago-talk] [Chicago] OT: Computer for sale or carry In-Reply-To: References: Message-ID: Ok, last one, i swear. I also have a spare Compaq P110 21" trinitron and a 17" CRT. Both are in good shape. Anyone interested, drop me a line. -jason gessner jason at multiply.org On Oct 15, 2005, at 5:00 PM, Jason Gessner wrote: > The machine also has a 35/70GB DLT drive (internal scsi) and i have 7 > tapes for it). > > -jason gessner > jason at multiply.org > > > On Oct 15, 2005, at 4:10 PM, Jason Gessner wrote: > > >> Hi All. >> >> I have an old compaq 3000 6U server that i want to get rid of. >> >> The machine has ~300 meg of ram, has 2 333mhz p2 processors and a 32 >> or 64MB raid driver. I have 7 9 gig scsi drives in it right now. >> >> I don't want much for it. If anyone is interested (and willing to >> come get it in bartlett) drop me an email and let me know what you >> want to pay or trade. >> >> Thanks! >> >> -jason gessner >> jason at multiply.org >> _______________________________________________ >> Chicago mailing list >> Chicago at python.org >> http://mail.python.org/mailman/listinfo/chicago >> >> > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From gdf at speakeasy.net Sun Oct 16 08:30:47 2005 From: gdf at speakeasy.net (Greg Fast) Date: Sun, 16 Oct 2005 10:30:47 -0500 Subject: [Chicago-talk] Java question In-Reply-To: <43517958.2010003@heyjay.com> References: <43517889.2020803@heyjay.com> <43517958.2010003@heyjay.com> Message-ID: <20051016103047.A7985@speakeasy.net> On Sat, Oct 15, 2005 at 04:49:12PM -0500, Jay Strauss wrote: > > what does: > > > > order.m_ignoreRth = readInt() == 1; > > > > do? > Nevermind it's a boolean `==` binds tighter than `=`, so it wouldn't compile if m_ignoreRth wasn't boolean. But this is bad style, parens should be used (most people, myself included, don't remember operator precedence without looking it up...) -- Greg Fast gdf at speakeasy.net http://cken.chi.groogroo.com/ From me at heyjay.com Sun Oct 16 14:45:04 2005 From: me at heyjay.com (Jay Strauss) Date: Sun, 16 Oct 2005 16:45:04 -0500 Subject: [Chicago-talk] Java question In-Reply-To: <20051016103047.A7985@speakeasy.net> References: <43517889.2020803@heyjay.com> <43517958.2010003@heyjay.com> <20051016103047.A7985@speakeasy.net> Message-ID: <4352C9E0.6080103@heyjay.com> Greg Fast wrote: > On Sat, Oct 15, 2005 at 04:49:12PM -0500, Jay Strauss wrote: > >>>what does: >>> >>>order.m_ignoreRth = readInt() == 1; >>> >>>do? >> >>Nevermind it's a boolean > > > `==` binds tighter than `=`, so it wouldn't compile if m_ignoreRth > wasn't boolean. But this is bad style, parens should be used (most > people, myself included, don't remember operator precedence without > looking it up...) > Ok Jay From Andy_Bach at wiwb.uscourts.gov Sun Oct 16 20:34:50 2005 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach@wiwb.uscourts.gov) Date: Sun, 16 Oct 2005 22:34:50 -0500 Subject: [Chicago-talk] Fw: [ANNOUNCE] first release of PerlWar (and request for beta testers) Message-ID: ----- Forwarded by Andy Bach at WIWB.USCOURTS.gov on 10/16/2005 10:38 PM ----- Yanick Champoux 10/16/2005 09:16 PM To golf at perl.org cc Subject [ANNOUNCE] first release of PerlWar (and request for beta testers) After way too long in the making, I am proud to announce that a first beta of Perlwar is finally available to the public. "Glad to hear that. But what is PerlWar?" PerlWar is loosely inspired by the classic Corewar game. In this game, players pit snippets of Perl code (called 'agents') against each other in order to gain control of the vicious virtual battlefield known as the Array. The final result is a Matrix-themed game mixing the cunning strategy of chess with the mad h4x0r skills of hardcore Perl scripting. Or so this author hopes. "Sounds intringuing. Can you give us details?" Gladly. The rules of the games are available at http://babyl.dyndns.org/perlwar/wiki/PerlWarRules "My interest's piqued. Is there any ongoing games I can peek at / join?" An alpha-testing game is available at http://babyl.dyndns.org/pw/beta/. If this announcement generate some interest and beta testers boldly volunteer, I plan to have a beta game running by the end of this week. "Just for the giggles, can we look at the game engine's code?" The module should hit a CPAN near you anytime soon. Be warned, though, that this is release 0.01 of the module, and that the code ain't too pretty yet. So gaze at it at your own eyeballs' risk. Joy, `/anick From shild at sbcglobal.net Sun Oct 16 20:51:51 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Sun, 16 Oct 2005 22:51:51 -0500 Subject: [Chicago-talk] OT : WORLD SERIES HERE WE COME!!! Message-ID: <1129521111.746.10.camel@fbsd1.dyndns.org> SOX WIN!!! SOX WIN!!!! -- Scott T. Hildreth From andy at petdance.com Sun Oct 16 21:15:32 2005 From: andy at petdance.com (Andy Lester) Date: Sun, 16 Oct 2005 23:15:32 -0500 Subject: [Chicago-talk] Topic police: No Java Sox please In-Reply-To: <1129521111.746.10.camel@fbsd1.dyndns.org> References: <1129521111.746.10.camel@fbsd1.dyndns.org> Message-ID: <23DE125A-0FE4-4E01-AD46-101E1648A553@petdance.com> Please, everyone: There are plenty of other places to discuss Java and the White Sox. Not here. Thanks, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From jason at multiply.org Mon Oct 17 09:20:00 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 17 Oct 2005 11:20:00 -0500 Subject: [Chicago-talk] meeting RSVPs Message-ID: <89BF79EE-94BE-42F8-9357-82BA4BAA7B0C@multiply.org> Hi All. If anyone is still interested in coming to the meeting tomorrow night (http://chicago.pm.org/meetings/) please RSVP to me by tomorrow morning. I don't believe that security hassled anyone last time we hosted, but I don't want anyone to have a hard time getting in. I have received a healthy amount of RSVPs so far, so we should have a very lively meeting! See you tomorrow. -jason gessner jason at multiply.org From jason at multiply.org Mon Oct 17 09:20:32 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 17 Oct 2005 11:20:32 -0500 Subject: [Chicago-talk] OT: you know what's great? Message-ID: <97D43430-FB48-4CC4-AE8B-B7975364B710@multiply.org> candy. sweet, sweet candy. -jason gessner jason at multiply.org From richard at rushlogistics.com Mon Oct 17 11:24:07 2005 From: richard at rushlogistics.com (Richard Reina) Date: Mon, 17 Oct 2005 11:24:07 -0700 (PDT) Subject: [Chicago-talk] package help Message-ID: <20051017182407.41737.qmail@web405.biz.mail.mud.yahoo.com> I installed ANSIColor-1.10 and the yellow shows up as red, instead of yellow. I have a copy of version 1.09 where yellow shows up as yellow, but I'm not sure how to go about uninstaling V 1.10. I did a make clean then installed V 1.09 but that did not work. Can anyone tell me how I can complete unistall this perl package. Thanks Richard A people that values its privileges above its principles soon loses both. -Dwight D. Eisenhower. From lembark at wrkhors.com Mon Oct 17 16:10:28 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Mon, 17 Oct 2005 19:10:28 -0400 Subject: [Chicago-talk] how to get calling depth ? In-Reply-To: <001201c5c966$c0e4e280$0200a8c0@realromerun> References: <001201c5c966$c0e4e280$0200a8c0@realromerun> Message-ID: <3DFBFD3CBC910D7FCF7BB0FE@[192.168.5.110]> -- komtanoo > > Hello, > > I try to solve a problem by calling a function like: > > my @kk = caller($zz); > > The $zz should be the outmost of the calling stack. > Currently, I have to loop form $zz=0 to inf to find the maximum $zz > that makes caller return not null data. I doubt that perl > maintains some special varaiable for the maximum value of "caller > function" > or in other word, current depth of calling stack. > Anybody know how to get it without keep calling the caller function ? Use half-interval, but aside from that all you can do is walk up the chain. Start with, say, caller(64) and work your way down 32 +/- 16... -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Mon Oct 17 16:15:32 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Mon, 17 Oct 2005 19:15:32 -0400 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <4344920D.8010305@heyjay.com> References: <4344920D.8010305@heyjay.com> Message-ID: <8C584FF5823A6D22D0C94EEC@[192.168.5.110]> -- Jay Strauss > Hi, > > In PBP (I haven't finished it yet) but so far he hasn't recommended a > naming for a hash_ref. > > hashes are blah_of > refs are blah_ref-> > > but: > > blah_of_ref->{} - doesn't sound right in my head > and > blah_ref_of->{} - doesn't look right based on the PBP rules > > Both seem to be getting kinda wordy I've been using 'z' notation for about a decade: - strip any trailing vowels. - add a trailing 'z'. e.g., for my $name ( @namz ) { ... } while( my ($k,$v) = each %$thingyz ) { ... } One thing that helps quite a bit is to just use ref's unless there is a really good reason not to. There isn't much of a performance hit (zero in most real cases) and it also avoids situations like: $foo{$bar}->[0]{$bletch} There is little enough syntax to change from my %blah = (); to my $blahz = {}; at which point you aren't mixing much of anything. I_pronoun avoid_verb the_article technique_noun: there's enough to type and I can stop well short of golf and still have readable code without them. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Mon Oct 17 16:18:59 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Mon, 17 Oct 2005 19:18:59 -0400 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <43460890.8050506@heyjay.com> References: <4344920D.8010305@heyjay.com> <43460890.8050506@heyjay.com> Message-ID: <326AA5A593DE623FC1C5B9CA@[192.168.5.110]> > Actually on re-reading, PBP recommends ending the hash name in a > preposition specifically: > > "Moreover, because hashes often store a property that's related to their > key, it's often even more readable to name a hash with a singular noun > followed by a preposition" > > $author_of{'Perl Best Practices'} = 'Damian Conway'; > > Ironically, he goes on to give some examples that don't end in a > preposition. I guess it's more of a guide-line. Try to make it read > naturally. The point was to make the variable names mean something in the context they are used. If you get a fragement like for my $g ( keys %phntyp ) { ... } You are less likely to guess/remember that it means for my $gene ( keys %phenotype_map ) { ... } Using "%authorz" would probalby be sufficient for most uses, that or you could try %authors_of_books_by_title... At some point context and comments are necessary for getting the stuff done. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Mon Oct 17 16:21:33 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Mon, 17 Oct 2005 19:21:33 -0400 Subject: [Chicago-talk] PBP - What to name a hash_ref? In-Reply-To: <4346944F.7030508@heyjay.com> References: <4344920D.8010305@heyjay.com> <43460890.8050506@heyjay.com> <7d99b5450510070807u299c5c58y971517f35a57a0c0@mail.gmail.com> <4346944F.7030508@heyjay.com> Message-ID: <32C385166DB3E74732E23BED@[192.168.5.110]> > Is that rhetorical? That was my original question How about: $authorz->{ $title } = $name; Trick with the 'z' is that too many english words have a trailing 's' and it's easy to make mistakes in "for my $name ( @name )" vs. "@names" -- your eye skips over them. The trailing 'z' trick leaves you with "for my $name ( @namz )" which is a bit more obvious if you botch the array portion. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From andy at petdance.com Mon Oct 17 22:59:46 2005 From: andy at petdance.com (Andy Lester) Date: Tue, 18 Oct 2005 00:59:46 -0500 Subject: [Chicago-talk] Preventing Crisis Message-ID: <1939B8B5-62DD-4B71-9173-E5C834A85151@petdance.com> If you still haven't seen my Preventing Crisis talk, and you'd like to because you're tired of being really bad at making project estimates and prefer to be fairly OK at it, I'll be giving the talk to the PHP User's Group: http://chiphpug.php.net/ Wednesday night, 6pm. xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From ehs at pobox.com Mon Oct 17 23:20:24 2005 From: ehs at pobox.com (Edward Summers) Date: Tue, 18 Oct 2005 01:20:24 -0500 Subject: [Chicago-talk] Preventing Crisis In-Reply-To: <1939B8B5-62DD-4B71-9173-E5C834A85151@petdance.com> References: <1939B8B5-62DD-4B71-9173-E5C834A85151@petdance.com> Message-ID: <59B9520C-91C8-4DC7-91BE-BF869E8230A3@pobox.com> > If you still haven't seen my Preventing Crisis talk, and you'd like > to because you're tired of being really bad at making project > estimates and prefer to be fairly OK at it, I'll be giving the talk > to the PHP User's Group: http://chiphpug.php.net/ Oh I see, no Java, no Sox but PHP and project estimates are ok? ;-) //Ed From shild at sbcglobal.net Wed Oct 19 16:12:30 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Wed, 19 Oct 2005 18:12:30 -0500 Subject: [Chicago-talk] Preventing Crisis In-Reply-To: <59B9520C-91C8-4DC7-91BE-BF869E8230A3@pobox.com> References: <1939B8B5-62DD-4B71-9173-E5C834A85151@petdance.com> <59B9520C-91C8-4DC7-91BE-BF869E8230A3@pobox.com> Message-ID: <1129763550.618.4.camel@fbsd1.dyndns.org> On Tue, 2005-10-18 at 01:20 -0500, Edward Summers wrote: > > If you still haven't seen my Preventing Crisis talk, and you'd like > > to because you're tired of being really bad at making project > > estimates and prefer to be fairly OK at it, I'll be giving the talk > > to the PHP User's Group: http://chiphpug.php.net/ > > Oh I see, no Java, no Sox but PHP and project estimates are ok? ;-) > > //Ed Yeah, what he said... ;-) > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Scott T. Hildreth From ng at johnwlong.com Wed Oct 19 16:48:02 2005 From: ng at johnwlong.com (John W. Long) Date: Wed, 19 Oct 2005 18:48:02 -0500 Subject: [Chicago-talk] Ruby Presentation Slides Message-ID: <4356DB32.3020600@johnwlong.com> Guys, The slides from the Ruby presentation are available on my Web site: http://johnwlong.com/slides/gettothepoint/ And don't forget to watch the Rails video: http://www.rubyonrails.com/media/video/rails_take2_with_sound.mov Our Ruby Group Web site is: http://ruby.meetup.com/55/ Thanks so much for giving me the opportunity share with you about why I love Ruby. I really appreciated your enthusiasm for the presentation. Your questions were excellent and helped me know that I was connecting with my audience. I hope that I will have the opportunity to meet with you again in the future. Jason mentioned the idea of doing more cross-language pollination with us and with the Python group. This sounds like an awesome idea. Let me know what I can do to help. Oh, yeah. Someone asked about the unix commands I was using on Windows: http://unxutils.sourceforge.net/ Again, I had a blast... thanks. :-) -- John Long http://wiseheartdesign.com From jason at multiply.org Wed Oct 19 20:06:27 2005 From: jason at multiply.org (Jason Gessner) Date: Wed, 19 Oct 2005 22:06:27 -0500 Subject: [Chicago-talk] Ruby Presentation Slides In-Reply-To: <4356DB32.3020600@johnwlong.com> References: <4356DB32.3020600@johnwlong.com> Message-ID: John, We were glad to have you. Last night's meeting was one of the best attended we have had in a while. Hopefully we will start moving back to a regular schedule soon. I will be posting up my samples and my presentation this week as well. Andy, would you mind adding a link to the ruby presentation on our meetings page? Thanks! -jason gessner jason at multiply.org On Oct 19, 2005, at 6:48 PM, John W. Long wrote: > Guys, > > The slides from the Ruby presentation are available on my Web site: > > http://johnwlong.com/slides/gettothepoint/ > > And don't forget to watch the Rails video: > > http://www.rubyonrails.com/media/video/rails_take2_with_sound.mov > > Our Ruby Group Web site is: > > http://ruby.meetup.com/55/ > > Thanks so much for giving me the opportunity share with you about > why I > love Ruby. I really appreciated your enthusiasm for the presentation. > Your questions were excellent and helped me know that I was connecting > with my audience. I hope that I will have the opportunity to meet with > you again in the future. > > Jason mentioned the idea of doing more cross-language pollination with > us and with the Python group. This sounds like an awesome idea. Let me > know what I can do to help. > > Oh, yeah. Someone asked about the unix commands I was using on > Windows: > > http://unxutils.sourceforge.net/ > > Again, I had a blast... thanks. :-) > > -- > John Long > http://wiseheartdesign.com > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From lembark at wrkhors.com Sun Oct 23 16:39:21 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Sun, 23 Oct 2005 19:39:21 -0400 Subject: [Chicago-talk] PAUSE indexer report LEMBARK/Object-Trampoline-0.01.tar.gz (fwd) Message-ID: <14E9932009627BCC9D125513@duke> Allows delaying object construction until a non-const method is called w/ minimal code change (adding O::T as the class and the dest class as first argument). Also simplifies specifiying handler classes at runtime based on init or comdline. Someone had once asked why you'd ever use a blessed closure as an object, here is one example. enjoi ---------- Forwarded Message ---------- From: PAUSE Subject: PAUSE indexer report LEMBARK/Object-Trampoline-0.01.tar.gz > The following report has been written by the PAUSE namespace indexer. > Please contact modules at perl.org if there are any open questions. > Id: mldistwatch 645 2005-09-19 06:41:20Z k > > User: LEMBARK (Steven Lembark) > Distribution file: Object-Trampoline-0.01.tar.gz > Number of files: 5 > *.pm files: 1 > README: No README found > META.yml: Object-Trampoline-0.01/META.yml > Timestamp of file: Mon Oct 24 17:23:52 2005 UTC > Time of this run: Mon Oct 24 17:51:24 2005 UTC > > The following packages (grouped by status) have been found in the distro: > > Status: Successfully indexed > ============================ > > module: Object::Trampoline > version: undef > in file: Object-Trampoline-0.01/lib/Object/Trampoline.pm > status: indexed > > module: Object::Trampoline::Bounce > version: undef > in file: Object-Trampoline-0.01/lib/Object/Trampoline.pm > status: indexed > > __END__ ---------- End Forwarded Message ---------- -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From brian.d.foy at gmail.com Mon Oct 24 23:24:48 2005 From: brian.d.foy at gmail.com (brian d foy) Date: Tue, 25 Oct 2005 01:24:48 -0500 Subject: [Chicago-talk] Annual Halloween Party! On Halloween! A Party! In-Reply-To: <4f5ba0b9053286ee554df4a58c11bc2d@gmail.com> References: <4f5ba0b9053286ee554df4a58c11bc2d@gmail.com> Message-ID: <2715accf0510242324pf76f2c7m957cc5538d5908a4@mail.gmail.com> My wife and I have had a halloween party ever since we moved to Chicago. It's mostly opera geeks, so this year I'm inviting Perl geeks to fight back. Here's my wife's announcement to the opera crowd. You'll have to RSVP then show up early to get some of the chili because word's gotten around about it. It's too bad most of you probably have real jobs and that Halloween is on a school night. ;) ====== Are you still a child at heart? Does the turning of the leaves in fall make you want to put on a silly disguise and run around the neighborhood getting candy from strangers? Are you really pissed off that trick-or-treating's just for kids? Well, we are, and that's why it's time again for Stacey and brian's annual HALLOWEEN PARTY!!!! (Accept no substitutes! pastede on yay!) Halloween night (any other night just wouldn't be the same), Monday, October 31st, from 7 pm until the ghosts kill the last of us off, there will be a Bacchanalian revel at the APARTMENT O' DOOM with chili, pigs in blankets, sweets and treats, prizes for the best costumes, good company and conversation, and kitties! Two kitties! Ah ah ah ah ah! (lightning, thunder) So bring a silly disguise, a friend (I don't have everyone's email addresses and I inevitably forget someone), and your favorite beverage, if you like (we'll have soda and wine), and a holiday spirit! We can't wait to see you again! OR WILL WE? RSVP and let us know you're thinking of coming so there'll be plenty of good food for all! The APARTMENT O' DOOM is at 5301 North Kenmore Avenue, #2, on the corner of Berwyn and Kenmore. Bell says "TAPPAN/FOY" on it. Easily accessible from the Red Line (Berwyn stop) or the 36, 92, 146, 147, and 151 buses. Parking is scarce, so carpool or allow extra time for Parking Space Vulturing and running over trick-or-treaters. Those involved in Manon Lescaut (who opens an opera on Halloween? REALLY.) are welcome to come by after the show and opening night party, if they have any party at all left in them! We'll still be up! -- brian d foy http://www.pair.com/~comdog/ From me at heyjay.com Tue Oct 25 06:09:21 2005 From: me at heyjay.com (Jay Strauss) Date: Tue, 25 Oct 2005 08:09:21 -0500 Subject: [Chicago-talk] Object interogation Message-ID: <435E2E81.8030206@heyjay.com> Hi, During the Ruby presentation, we saw that Ruby provides for object interrogation/inspection/whatever_its_called - that is you can ask an object what methods it responds to, and I think ask it what it's attributes are too. Can you do the same with Perl? I know you can ->can, but that requires prior knowledge of method names. I can't think of how you'd get object attributes. So is/are there functions in Perl that return a list of methods and/or attributes on a given object/class? If not in Perl5 how about Perl6? Thanks Jay From merlyn at stonehenge.com Tue Oct 25 06:29:10 2005 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: 25 Oct 2005 06:29:10 -0700 Subject: [Chicago-talk] Object interogation In-Reply-To: <435E2E81.8030206@heyjay.com> References: <435E2E81.8030206@heyjay.com> Message-ID: <863bmpsp21.fsf@blue.stonehenge.com> >>>>> "Jay" == Jay Strauss writes: Jay> Can you do the same with Perl? I know you can ->can, but that requires Jay> prior knowledge of method names. I can't think of how you'd get object Jay> attributes. Yes. You can look at the subroutines defined in the package of the class. However, you will not be able to tell which of those are "really" methods and which are merely private subroutines. sub UNIVERSAL::methods_of_class { my $this = shift; my $class = ref $this || $this; no strict 'refs'; grep exists &$_, keys %{ $class . "::" }; } ... my @methods = $some_object->methods_of_class; my @others = Some::Class->methods_of_class; -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From frag at ripco.com Tue Oct 25 13:53:31 2005 From: frag at ripco.com (Mike Fragassi) Date: Tue, 25 Oct 2005 15:53:31 -0500 (CDT) Subject: [Chicago-talk] logging/dumping debugger sessions Message-ID: Does anyone know if there's a way to make the perl debugger save a running copy of its output (and your input) to a log file? -- Mike F. From shild at sbcglobal.net Tue Oct 25 16:44:20 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Tue, 25 Oct 2005 18:44:20 -0500 Subject: [Chicago-talk] logging/dumping debugger sessions In-Reply-To: References: Message-ID: <1130283860.618.62.camel@fbsd1.dyndns.org> If running on unix you could start a script session in the shell before which will record terminal session. On Tue, 2005-10-25 at 15:53 -0500, Mike Fragassi wrote: > Does anyone know if there's a way to make the perl debugger save a running > copy of its output (and your input) to a log file? > > -- Mike F. > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Scott T. Hildreth From me at heyjay.com Tue Oct 25 20:09:54 2005 From: me at heyjay.com (Jay Strauss) Date: Tue, 25 Oct 2005 22:09:54 -0500 Subject: [Chicago-talk] Object interogation In-Reply-To: <863bmpsp21.fsf@blue.stonehenge.com> References: <435E2E81.8030206@heyjay.com> <863bmpsp21.fsf@blue.stonehenge.com> Message-ID: <435EF382.4020805@heyjay.com> Randal L. Schwartz wrote: >>>>>>"Jay" == Jay Strauss writes: > > > Jay> Can you do the same with Perl? I know you can ->can, but that requires > Jay> prior knowledge of method names. I can't think of how you'd get object > Jay> attributes. > > Yes. You can look at the subroutines defined in the package of the > class. However, you will not be able to tell which of those are > "really" methods and which are merely private subroutines. > > sub UNIVERSAL::methods_of_class { > my $this = shift; > my $class = ref $this || $this; > no strict 'refs'; > grep exists &$_, keys %{ $class . "::" }; > } > > ... > > my @methods = $some_object->methods_of_class; > my @others = Some::Class->methods_of_class; > thanks Randal. I was thinking there may be a more core built-in facility than having to do it manually for each class. Thanks Jay From shild at sbcglobal.net Wed Oct 26 21:16:47 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Wed, 26 Oct 2005 23:16:47 -0500 Subject: [Chicago-talk] some code Message-ID: <1130386607.618.80.camel@fbsd1.dyndns.org> !#/usr/local/bin/perl for (1..1_000_000) { print "\n WHITE SOX ARE WORLD SERIES CHAMPS!!! \n\n"; } print "Wooooooo Hooooooooo!!!"; -- Scott T. Hildreth From adam at battleaxe.net Wed Oct 26 21:22:00 2005 From: adam at battleaxe.net (Adam Israel) Date: Wed, 26 Oct 2005 23:22:00 -0500 Subject: [Chicago-talk] some code In-Reply-To: <1130386607.618.80.camel@fbsd1.dyndns.org> References: <1130386607.618.80.camel@fbsd1.dyndns.org> Message-ID: <436055E8.3090401@battleaxe.net> Scott T. Hildreth wrote: >!#/usr/local/bin/perl > >for (1..1_000_000) { > print "\n WHITE SOX ARE WORLD SERIES CHAMPS!!! \n\n"; >} > >print "Wooooooo Hooooooooo!!!"; > > > haha, nice. It's on-topic! ;) -- Adam M. Israel adam at battleaxe.net -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20051027/b8ef49b4/signature.bin From adam at battleaxe.net Wed Oct 26 21:22:00 2005 From: adam at battleaxe.net (Adam Israel) Date: Wed, 26 Oct 2005 23:22:00 -0500 Subject: [Chicago-talk] some code In-Reply-To: <1130386607.618.80.camel@fbsd1.dyndns.org> References: <1130386607.618.80.camel@fbsd1.dyndns.org> Message-ID: <436055E8.3090401@battleaxe.net> Scott T. Hildreth wrote: >!#/usr/local/bin/perl > >for (1..1_000_000) { > print "\n WHITE SOX ARE WORLD SERIES CHAMPS!!! \n\n"; >} > >print "Wooooooo Hooooooooo!!!"; > > > haha, nice. It's on-topic! ;) -- Adam M. Israel adam at battleaxe.net -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 256 bytes Desc: OpenPGP digital signature Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20051027/b8ef49b4/signature-0001.bin From lembark at wrkhors.com Thu Oct 27 10:21:18 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Thu, 27 Oct 2005 13:21:18 -0400 Subject: [Chicago-talk] Object interogation In-Reply-To: <435E2E81.8030206@heyjay.com> References: <435E2E81.8030206@heyjay.com> Message-ID: <4D41255383CF9A9358B24328@duke> -- Jay Strauss > Hi, > > During the Ruby presentation, we saw that Ruby provides for object > interrogation/inspection/whatever_its_called - that is you can ask an > object what methods it responds to, and I think ask it what it's > attributes are too. > > Can you do the same with Perl? I know you can ->can, but that requires > prior knowledge of method names. I can't think of how you'd get object > attributes. You can use: $obj->can( $method ) to test a single method. It'll return a coderef or undef. In most [any?] cases you don't want to poll the object for names of what it can do but would want to ask "does the object support this method?" The can operator does this nicely. AUTOLOAD technically makes it impossible to give a list of all the methods supported by an object (or class) since the AUTOLOAD can implement any methods it likes on the fly. For example, Object::Trampoline is nothing BUT an AUTOLOAD block and supports any constructor you ask it to :-) Ditto the Shell module. You can look into the symbol table using %:: or a few modules that interrogate it. A depth-first search of %:: along @ISA will tell you what methods are available to a given object's class. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From lembark at wrkhors.com Thu Oct 27 10:24:48 2005 From: lembark at wrkhors.com (Steven Lembark) Date: Thu, 27 Oct 2005 13:24:48 -0400 Subject: [Chicago-talk] Object interogation In-Reply-To: <435EF382.4020805@heyjay.com> References: <435E2E81.8030206@heyjay.com> <863bmpsp21.fsf@blue.stonehenge.com> <435EF382.4020805@heyjay.com> Message-ID: -- Jay Strauss > Randal L. Schwartz wrote: >>>>>>> "Jay" == Jay Strauss writes: >> >> >> Jay> Can you do the same with Perl? I know you can ->can, but that >> requires Jay> prior knowledge of method names. I can't think of how >> you'd get object Jay> attributes. >> >> Yes. You can look at the subroutines defined in the package of the >> class. However, you will not be able to tell which of those are >> "really" methods and which are merely private subroutines. >> >> sub UNIVERSAL::methods_of_class { >> my $this = shift; >> my $class = ref $this || $this; >> no strict 'refs'; >> grep exists &$_, keys %{ $class . "::" }; >> } > thanks Randal. I was thinking there may be a more core built-in > facility than having to do it manually for each class. The entire symbol table is fully exposed: there is nothing more "built in" than that. Why would you want a list of all the methods supported by an object (vs. asking whether the object supports a given method using $obj->can( $method ))? As for "private" subs, they can easily be privatized via anon sub's (or a hash of them) and taken out of the symbol table if you are going to use this kind of interrogation on a regular basis. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com 1 888 359 3508 From richard at rushlogistics.com Thu Oct 27 14:41:54 2005 From: richard at rushlogistics.com (Richard Reina) Date: Thu, 27 Oct 2005 14:41:54 -0700 (PDT) Subject: [Chicago-talk] How to Unistall a Perl Module. Message-ID: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> For those of you who remember my post last month about this same problem, please forgive me. I have no where else to turn and would greatly appreciate any help. About a month ago I installed a perl module called ANSIColor-1.10 ( it allows you to print colored text on your console ) My problem is that the yellow shows up as red, instead of yellow. I have a copy of version 1.09 where yellow shows up as yellow, but I'm not sure how to go about uninstaling V1.10. I did a make clean then installed V 1.09 but that did not work. I have also reported the bug on CPAN which I believe automatically notifies the author. Can anyone tell me how I can completly unistall this perl package. I've tried deleting /usr/lib/perl5/5.8.5/Term/ANSIColor.pm and then reinstalling version 1.09, I even tried reinstalling perl, but the problem persists. Any help would be greatly appreciated. Thanks, Richard A people that values its privileges above its principles soon loses both. -Dwight D. Eisenhower. From me at heyjay.com Thu Oct 27 19:00:34 2005 From: me at heyjay.com (Jay Strauss) Date: Thu, 27 Oct 2005 21:00:34 -0500 Subject: [Chicago-talk] CPAN prereq Message-ID: <43618642.1060708@heyjay.com> Hi, I'm building my first CPAN module. Is there a way to learn all the dependences of a module, or do I need to build a clean box, and do trial by error, till I get the prerequisite list? Also, I need to check if the user is installing on a threaded Perl. Would this be an appropriate, and good way to test, in the Makefile.PL use 5.006001; use ExtUtils::MakeMaker; if (! grep /ithread/, `perl -V`) { die "You must install on a threaded version of perl"; } Thanks Jay From me at heyjay.com Fri Oct 28 05:52:19 2005 From: me at heyjay.com (Jay Strauss) Date: Fri, 28 Oct 2005 07:52:19 -0500 Subject: [Chicago-talk] CPAN prerequisite Message-ID: <43621F03.8090406@heyjay.com> Hi, (my 1st posting didn't seem to make it to the list) I'm building my first CPAN module. Is there a way to learn all the dependences of a module, or do I need to build a clean box, and do trial by error, till I get the prerequisite list? Also, I need to check if the user is installing on a threaded Perl. Would this be an appropriate, and good way to test, in the Makefile.PL use 5.006001; use ExtUtils::MakeMaker; if (! grep /ithread/, `perl -V`) { die "You must install on a threaded version of perl"; } Thanks Jay From steve at fisharerojo.org Fri Oct 28 08:44:57 2005 From: steve at fisharerojo.org (Steve Peters) Date: Fri, 28 Oct 2005 10:44:57 -0500 Subject: [Chicago-talk] How to Unistall a Perl Module. In-Reply-To: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> References: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> Message-ID: <20051028154457.GA31898@mccoy.peters.homeunix.org> On Thu, Oct 27, 2005 at 02:41:54PM -0700, Richard Reina wrote: > For those of you who remember my post last month about > this same problem, please forgive me. I have no where > else to turn and would greatly appreciate any help. > > About a month ago I installed a perl module called > ANSIColor-1.10 ( it allows you to print colored text > on your console ) My problem is that the yellow shows > up as red, instead of yellow. I have a copy of version > 1.09 where yellow shows up as yellow, but I'm not sure > how to go about uninstaling V1.10. I did a make clean > then installed V 1.09 but that did not work. I have > also reported the bug on CPAN which I believe > automatically notifies the author. Can anyone tell me > how I can completly unistall this perl > package. > > I've tried deleting > /usr/lib/perl5/5.8.5/Term/ANSIColor.pm and then > reinstalling version 1.09, I even tried reinstalling > perl, but the problem persists. > > Any help would be greatly appreciated. Have you tried deleting the files? Steve Peters steve at fisharerojo.org From brian.d.foy at gmail.com Fri Oct 28 11:27:53 2005 From: brian.d.foy at gmail.com (brian d foy) Date: Fri, 28 Oct 2005 13:27:53 -0500 Subject: [Chicago-talk] CPAN prerequisite In-Reply-To: <43621F03.8090406@heyjay.com> References: <43621F03.8090406@heyjay.com> Message-ID: <2715accf0510281127y5d872414q81989dd980a60cf2@mail.gmail.com> On 10/28/05, Jay Strauss wrote: > I'm building my first CPAN module. Is there a way to learn all the > dependences of a module, or do I need to build a clean box, and do trial > by error, till I get the prerequisite list? I use Test::Prereq. It's an ugly hack, but it's saved me a lot of hassle. > Also, I need to check if the user is installing on a threaded Perl. > Would this be an appropriate, and good way to test, in the Makefile.PL > if (! grep /ithread/, `perl -V`) { > die "You must install on a threaded version of perl"; > } You don't have to call perl (and when you do, you can use $^X to call the same perl that ran the script). In this case, you can look in Config.pm. -- brian d foy http://www.pair.com/~comdog/ From ehs at pobox.com Fri Oct 28 10:02:28 2005 From: ehs at pobox.com (Edward Summers) Date: Fri, 28 Oct 2005 12:02:28 -0500 Subject: [Chicago-talk] CPAN prereq In-Reply-To: <43618642.1060708@heyjay.com> References: <43618642.1060708@heyjay.com> Message-ID: <980E6C96-A48E-46CE-8ED4-CAEA981CFDAE@pobox.com> On Oct 27, 2005, at 9:00 PM, Jay Strauss wrote: > I'm building my first CPAN module. Is there a way to learn all the > dependences of a module, or do I need to build a clean box, and do > trial > by error, till I get the prerequisite list? Well since you wrote the code you probably know what non-core modules you used. It's not your responsibility as the module author to delve into the dependencies of your initial dependencies. So for example let's say your module has Net::Amazon as a dependency-- you don't have to include: Log::Log4perl, XML::Simple, LWP::UserAgent, Time::HiRes and URI as dependencies in your Makefile.PL. The cpan shell will follow them for you. One really nice thing about the perl developer community is the testing infrastructure that has grown out of CPAN. When you initially upload your module you'll get back smoke reports via email which detail how the installation went on different systems [1]. This can often help you discover missing dependencies that need to be itemized in your Makefile.PL. If you're not sure what modules you've used I'd grep for 'use ' statements, and run them through Module::Corelist [2] to figure out if you want to include it or not. //Ed [1] http://testers.cpan.org [2] http://search.cpan.org/dist/Module-CoreList From frag at ripco.com Fri Oct 28 09:24:12 2005 From: frag at ripco.com (Mike Fragassi) Date: Fri, 28 Oct 2005 11:24:12 -0500 (CDT) Subject: [Chicago-talk] CPAN prerequisite In-Reply-To: <43621F03.8090406@heyjay.com> References: <43621F03.8090406@heyjay.com> Message-ID: On Fri, 28 Oct 2005, Jay Strauss wrote: > I'm building my first CPAN module. Is there a way to learn all the > dependences of a module, or do I need to build a clean box, and do trial > by error, till I get the prerequisite list? perl -MYour::Module -e 'print "$_\n" for keys %INC' or, to double-check that you're using the correct versions of the required modules: perl -MYour::Module -e 'while (($k,$v)=each %INC) { print "$k -> $v\n"; }' > Also, I need to check if the user is installing on a threaded Perl. > Would this be an appropriate, and good way to test, in the Makefile.PL I've never used threads, but according to perldoc perlthrtut: Your programs can use the Config module to check whether threads are enabled. If your program can't run without them, you can say something like: $Config{usethreads} or die "Recompile Perl with threads to run this pro gram."; -- Mike F. From jbalint at gmail.com Fri Oct 28 08:13:17 2005 From: jbalint at gmail.com (Jess Balint) Date: Fri, 28 Oct 2005 11:13:17 -0400 Subject: [Chicago-talk] How to Unistall a Perl Module. In-Reply-To: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> References: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> Message-ID: <68cb949d0510280813x193ff912m38c0203fc15fc4f7@mail.gmail.com> Is it possible you changed your terminal settings somewhere? Jess On 10/27/05, Richard Reina wrote: > For those of you who remember my post last month about > this same problem, please forgive me. I have no where > else to turn and would greatly appreciate any help. > > About a month ago I installed a perl module called > ANSIColor-1.10 ( it allows you to print colored text > on your console ) My problem is that the yellow shows > up as red, instead of yellow. I have a copy of version > 1.09 where yellow shows up as yellow, but I'm not sure > how to go about uninstaling V1.10. I did a make clean > then installed V 1.09 but that did not work. I have > also reported the bug on CPAN which I believe > automatically notifies the author. Can anyone tell me > how I can completly unistall this perl > package. > > I've tried deleting > /usr/lib/perl5/5.8.5/Term/ANSIColor.pm and then > reinstalling version 1.09, I even tried reinstalling > perl, but the problem persists. > > Any help would be greatly appreciated. > > Thanks, > > Richard > > A people that values its privileges above its principles soon loses both. > -Dwight D. Eisenhower. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From jjstrauss at gmail.com Fri Oct 28 10:21:38 2005 From: jjstrauss at gmail.com (Jay Strauss) Date: Fri, 28 Oct 2005 12:21:38 -0500 Subject: [Chicago-talk] How to Unistall a Perl Module. In-Reply-To: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> References: <20051027214154.41911.qmail@web410.biz.mail.mud.yahoo.com> Message-ID: On 10/27/05, Richard Reina wrote: > > > I've tried deleting > /usr/lib/perl5/5.8.5/Term/ANSIColor.pm and then > reinstalling version 1.09, I even tried reinstalling > perl, but the problem persists. What's the error exactly? Can you post what is logged on the screen when you try to install? Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/chicago-talk/attachments/20051028/4ca033f4/attachment.html From jkeen at verizon.net Fri Oct 28 11:06:40 2005 From: jkeen at verizon.net (James Keenan) Date: Fri, 28 Oct 2005 14:06:40 -0400 Subject: [Chicago-talk] CPAN prerequisite In-Reply-To: <43621F03.8090406@heyjay.com> References: <43621F03.8090406@heyjay.com> Message-ID: On Oct 28, 2005, at 8:52 AM, Jay Strauss wrote: > Hi, (my 1st posting didn't seem to make it to the list) > > I'm building my first CPAN module. Is there a way to learn all the > dependences of a module, or do I need to build a clean box, and do > trial > by error, till I get the prerequisite list? > I don't quite understand the question. Are you asking, "How do I find out all the dependencies of the modules which I am 'use'-ing or 'require'-ing in my packages? If so, and if you don't have many prerequisites, you can inspect the Makefile.PLs of the modules you are requiring to see what they, in turn require. I'm sure there's a more thorough way that someone on the list will suggest, but I myself am averse to CPAN modules that sit on a mountain of dependencies. Personally, I try to require only (a) modules distributed with core; (b) modules that are verifiably pure Perl; and/or (c) modules I myself have written. But that's a matter of taste. On Andy L's recommendation, I have installed Module::Corelist and its associated utility, 'corelist', which tells when a core module became core. This has been helpful in identifying which modules might work on Perls older than 5.6 and which will not. > Also, I need to check if the user is installing on a threaded Perl. Haven't had to do it, so I defer to more experienced hands in answering that question. HTH jimk From me at heyjay.com Sat Oct 29 11:39:55 2005 From: me at heyjay.com (Jay Strauss) Date: Sat, 29 Oct 2005 13:39:55 -0500 Subject: [Chicago-talk] CPAN prereq In-Reply-To: <980E6C96-A48E-46CE-8ED4-CAEA981CFDAE@pobox.com> References: <43618642.1060708@heyjay.com> <980E6C96-A48E-46CE-8ED4-CAEA981CFDAE@pobox.com> Message-ID: <4363C1FB.50607@heyjay.com> Edward Summers wrote: > On Oct 27, 2005, at 9:00 PM, Jay Strauss wrote: > > > > Well since you wrote the code you probably know what non-core modules > you used. Nope, that's the problem > > If you're not sure what modules you've used I'd grep for 'use ' > statements, and run them through Module::Corelist [2] to figure out > if you want to include it or not. Ok, I'll try that Thanks Jay From me at heyjay.com Sat Oct 29 12:42:38 2005 From: me at heyjay.com (Jay Strauss) Date: Sat, 29 Oct 2005 14:42:38 -0500 Subject: [Chicago-talk] CPAN prerequisite In-Reply-To: References: <43621F03.8090406@heyjay.com> Message-ID: <4363D0AE.1020906@heyjay.com> Mike Fragassi wrote: > ... > I've never used threads, but according to perldoc perlthrtut: > > Your programs can use the Config module to check whether > threads are enabled. If your program can't run without > them, you can say something like: > > $Config{usethreads} or die "Recompile Perl with threads to run this pro > gram."; Thanks, that worked well Jay From andy at petdance.com Sat Oct 29 20:30:34 2005 From: andy at petdance.com (Andy Lester) Date: Sat, 29 Oct 2005 22:30:34 -0500 Subject: [Chicago-talk] CPAN prereq In-Reply-To: <4363C1FB.50607@heyjay.com> References: <43618642.1060708@heyjay.com> <980E6C96-A48E-46CE-8ED4-CAEA981CFDAE@pobox.com> <4363C1FB.50607@heyjay.com> Message-ID: >> Well since you wrote the code you probably know what non-core modules >> you used. > > Nope, that's the problem Is this something more complex than can be solved with grep ^use *.pm ? xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Sun Oct 30 17:08:45 2005 From: me at heyjay.com (Jay Strauss) Date: Sun, 30 Oct 2005 19:08:45 -0600 Subject: [Chicago-talk] CPAN prereq In-Reply-To: References: <43618642.1060708@heyjay.com> <980E6C96-A48E-46CE-8ED4-CAEA981CFDAE@pobox.com> <4363C1FB.50607@heyjay.com> Message-ID: <43656E9D.2090405@heyjay.com> Andy Lester wrote: >>>Well since you wrote the code you probably know what non-core modules >>>you used. >> >>Nope, that's the problem > > > Is this something more complex than can be solved with > > grep ^use *.pm > > ? > > xoxo, > Andy > That's essentially what I ended up doing jay From frag at ripco.com Sun Oct 30 19:22:42 2005 From: frag at ripco.com (Mike Fragassi) Date: Sun, 30 Oct 2005 21:22:42 -0600 (CST) Subject: [Chicago-talk] Annual Halloween Party! On Halloween! A Party! In-Reply-To: <2715accf0510242324pf76f2c7m957cc5538d5908a4@mail.gmail.com> References: <4f5ba0b9053286ee554df4a58c11bc2d@gmail.com> <2715accf0510242324pf76f2c7m957cc5538d5908a4@mail.gmail.com> Message-ID: brian -- I'll be there! Is it ok if I bring along/invite a friend? -- Mike F. From frag at ripco.com Sun Oct 30 19:27:21 2005 From: frag at ripco.com (Mike Fragassi) Date: Sun, 30 Oct 2005 21:27:21 -0600 (CST) Subject: [Chicago-talk] Annual Halloween Party! On Halloween! A Party! In-Reply-To: References: <4f5ba0b9053286ee554df4a58c11bc2d@gmail.com> <2715accf0510242324pf76f2c7m957cc5538d5908a4@mail.gmail.com> Message-ID: *Sigh*. "What'd you get, Charlie Brown?" "I got a rock." -- Mike F. From joshua.mcadams at gmail.com Mon Oct 31 11:49:34 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 31 Oct 2005 13:49:34 -0600 Subject: [Chicago-talk] YAPC 2006 Message-ID: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> For those of you that haven't seen or heard yet, Chicago.pm won the bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get the proposal together. At first he had wanted to do a small local conference, but somehow got suckered into doing the entire YAPC :) We are working on solidifying the conference dates right now and hope to have them posted soon. And of course, we are going to need a lot of help to make this thing work, so if you are willing, we would appreciate it. http://use.perl.org/~cbrandtbuffalo/journal/27391 Thanks, Josh From merlyn at stonehenge.com Mon Oct 31 11:56:54 2005 From: merlyn at stonehenge.com (Randal L. Schwartz) Date: 31 Oct 2005 11:56:54 -0800 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> Message-ID: <86ek61h33t.fsf@blue.stonehenge.com> >>>>> "Joshua" == Joshua McAdams writes: Joshua> We are working on solidifying the conference dates right now and hope Joshua> to have them posted soon. And of course, we are going to need a lot Joshua> of help to make this thing work, so if you are willing, we would Joshua> appreciate it. Hooray! Back in the USA... I *may* just be able to show up again! -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! From shild at sbcglobal.net Mon Oct 31 12:01:34 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Mon, 31 Oct 2005 14:01:34 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> Message-ID: <1130788894.52896.42.camel@fbsd1.dyndns.org> Very Nice, good work guys. When will you know the dates, I will plan my vacation around them :-) On Mon, 2005-10-31 at 13:49 -0600, Joshua McAdams wrote: > For those of you that haven't seen or heard yet, Chicago.pm won the > bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get > the proposal together. At first he had wanted to do a small local > conference, but somehow got suckered into doing the entire YAPC :) > > We are working on solidifying the conference dates right now and hope > to have them posted soon. And of course, we are going to need a lot > of help to make this thing work, so if you are willing, we would > appreciate it. > > http://use.perl.org/~cbrandtbuffalo/journal/27391 > > Thanks, > Josh > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- Scott T. Hildreth From steve at fisharerojo.org Mon Oct 31 12:09:19 2005 From: steve at fisharerojo.org (Steve Peters) Date: Mon, 31 Oct 2005 14:09:19 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> Message-ID: <20051031200919.GA29914@mccoy.peters.homeunix.org> On Mon, Oct 31, 2005 at 01:49:34PM -0600, Joshua McAdams wrote: > For those of you that haven't seen or heard yet, Chicago.pm won the > bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get > the proposal together. At first he had wanted to do a small local > conference, but somehow got suckered into doing the entire YAPC :) > > We are working on solidifying the conference dates right now and hope > to have them posted soon. And of course, we are going to need a lot > of help to make this thing work, so if you are willing, we would > appreciate it. > > http://use.perl.org/~cbrandtbuffalo/journal/27391 > Great news! I will certainly see you there! Steve Peters steve at fisharerojo.org From jason at multiply.org Mon Oct 31 12:14:45 2005 From: jason at multiply.org (Jason Gessner) Date: Mon, 31 Oct 2005 14:14:45 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <20051031200919.GA29914@mccoy.peters.homeunix.org> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> <20051031200919.GA29914@mccoy.peters.homeunix.org> Message-ID: congrats, all! what are the current plans for location, etc? -jason gessner jason at multiply.org On Oct 31, 2005, at 2:09 PM, Steve Peters wrote: > On Mon, Oct 31, 2005 at 01:49:34PM -0600, Joshua McAdams wrote: > >> For those of you that haven't seen or heard yet, Chicago.pm won the >> bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get >> the proposal together. At first he had wanted to do a small local >> conference, but somehow got suckered into doing the entire YAPC :) >> >> We are working on solidifying the conference dates right now and hope >> to have them posted soon. And of course, we are going to need a lot >> of help to make this thing work, so if you are willing, we would >> appreciate it. >> >> http://use.perl.org/~cbrandtbuffalo/journal/27391 >> >> > > Great news! I will certainly see you there! > > Steve Peters > steve at fisharerojo.org > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From joshua.mcadams at gmail.com Mon Oct 31 12:51:55 2005 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 31 Oct 2005 14:51:55 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> <20051031200919.GA29914@mccoy.peters.homeunix.org> Message-ID: <49d805d70510311251scd0a5edl863b26338f685969@mail.gmail.com> The current location is set to be IIT. They have a conference center that looks like it will work well for the venue. We haven't signed anything with them yet, so if anyone knows of a better alternative, please let me know. As far as the dates, we should know something within a few weeks. It's hard to be sure though, as there are quite a few major items that could slide the conference time around. We are hoping for the end of June, but any time over the summer is really fair game. On 10/31/05, Jason Gessner wrote: > congrats, all! > > what are the current plans for location, etc? > > -jason gessner > jason at multiply.org > > > On Oct 31, 2005, at 2:09 PM, Steve Peters wrote: > > > On Mon, Oct 31, 2005 at 01:49:34PM -0600, Joshua McAdams wrote: > > > >> For those of you that haven't seen or heard yet, Chicago.pm won the > >> bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get > >> the proposal together. At first he had wanted to do a small local > >> conference, but somehow got suckered into doing the entire YAPC :) > >> > >> We are working on solidifying the conference dates right now and hope > >> to have them posted soon. And of course, we are going to need a lot > >> of help to make this thing work, so if you are willing, we would > >> appreciate it. > >> > >> http://use.perl.org/~cbrandtbuffalo/journal/27391 > >> > >> > > > > Great news! I will certainly see you there! > > > > Steve Peters > > steve at fisharerojo.org > > _______________________________________________ > > 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 shawn.c.carroll at gmail.com Mon Oct 31 12:58:54 2005 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Mon, 31 Oct 2005 14:58:54 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <49d805d70510311251scd0a5edl863b26338f685969@mail.gmail.com> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> <20051031200919.GA29914@mccoy.peters.homeunix.org> <49d805d70510311251scd0a5edl863b26338f685969@mail.gmail.com> Message-ID: IIT would be perfect. Great conference facilities, many more dorm rooms in the summer than they know what to do with. The Cell is right across 90/94. Two el lines and several buses to downtown. --Shawn IIT c/o 97 On 10/31/05, Joshua McAdams wrote: > The current location is set to be IIT. They have a conference center > that looks like it will work well for the venue. We haven't signed > anything with them yet, so if anyone knows of a better alternative, > please let me know. > > As far as the dates, we should know something within a few weeks. > It's hard to be sure though, as there are quite a few major items that > could slide the conference time around. We are hoping for the end of > June, but any time over the summer is really fair game. > > On 10/31/05, Jason Gessner wrote: > > congrats, all! > > > > what are the current plans for location, etc? > > > > -jason gessner > > jason at multiply.org > > > > > > On Oct 31, 2005, at 2:09 PM, Steve Peters wrote: > > > > > On Mon, Oct 31, 2005 at 01:49:34PM -0600, Joshua McAdams wrote: > > > > > >> For those of you that haven't seen or heard yet, Chicago.pm won the > > >> bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get > > >> the proposal together. At first he had wanted to do a small local > > >> conference, but somehow got suckered into doing the entire YAPC :) > > >> > > >> We are working on solidifying the conference dates right now and hope > > >> to have them posted soon. And of course, we are going to need a lot > > >> of help to make this thing work, so if you are willing, we would > > >> appreciate it. > > >> > > >> http://use.perl.org/~cbrandtbuffalo/journal/27391 > > >> > > >> > > > > > > Great news! I will certainly see you there! > > > > > > Steve Peters > > > steve at fisharerojo.org > > > _______________________________________________ > > > 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 > -- shawn.c.carroll at gmail.com Perl Programmer Soccer Referee From shild at sbcglobal.net Mon Oct 31 13:10:38 2005 From: shild at sbcglobal.net (Scott T. Hildreth) Date: Mon, 31 Oct 2005 15:10:38 -0600 Subject: [Chicago-talk] YAPC 2006 In-Reply-To: <49d805d70510311251scd0a5edl863b26338f685969@mail.gmail.com> References: <49d805d70510311149s5162cc38nb7983c92caf35ab1@mail.gmail.com> <20051031200919.GA29914@mccoy.peters.homeunix.org> <49d805d70510311251scd0a5edl863b26338f685969@mail.gmail.com> Message-ID: <1130793038.52896.47.camel@fbsd1.dyndns.org> So you must have used my advice about being the home of the White Sox, didn't ya. :-) On Mon, 2005-10-31 at 14:51 -0600, Joshua McAdams wrote: > The current location is set to be IIT. They have a conference center > that looks like it will work well for the venue. We haven't signed > anything with them yet, so if anyone knows of a better alternative, > please let me know. > > As far as the dates, we should know something within a few weeks. > It's hard to be sure though, as there are quite a few major items that > could slide the conference time around. We are hoping for the end of > June, but any time over the summer is really fair game. > > On 10/31/05, Jason Gessner wrote: > > congrats, all! > > > > what are the current plans for location, etc? > > > > -jason gessner > > jason at multiply.org > > > > > > On Oct 31, 2005, at 2:09 PM, Steve Peters wrote: > > > > > On Mon, Oct 31, 2005 at 01:49:34PM -0600, Joshua McAdams wrote: > > > > > >> For those of you that haven't seen or heard yet, Chicago.pm won the > > >> bid for YAPC::NA 2006. Big thanks to Pete Krawczyk for helping get > > >> the proposal together. At first he had wanted to do a small local > > >> conference, but somehow got suckered into doing the entire YAPC :) > > >> > > >> We are working on solidifying the conference dates right now and hope > > >> to have them posted soon. And of course, we are going to need a lot > > >> of help to make this thing work, so if you are willing, we would > > >> appreciate it. > > >> > > >> http://use.perl.org/~cbrandtbuffalo/journal/27391 > > >> > > >> > > > > > > Great news! I will certainly see you there! > > > > > > Steve Peters > > > steve at fisharerojo.org > > > _______________________________________________ > > > 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 -- Scott T. Hildreth