From hwigoda at mindspring.com Fri Jan 1 03:19:57 2010 From: hwigoda at mindspring.com (hwigoda at mindspring.com) Date: Fri, 1 Jan 2010 05:19:57 -0600 (GMT-06:00) Subject: [Chicago-talk] I'm back Message-ID: <11734101.1262344797155.JavaMail.root@elwamui-rustique.atl.sa.earthlink.net> Wait till the second full week... h -----Original Message----- >From: Joshua >Sent: Dec 30, 2009 10:37 PM >To: "Chicago.pm chatter" , windycity-pm >Subject: Re: [Chicago-talk] I'm back > >I think the lack of response confirms that not much (probably due to >the holidays) should be the answer :) > >How about a January meeting? I'm up for it. Anyone have an >interesting topic of discussion for a tech meeting. If not, we might >just do a nice bar meetup. > >On Wed, Dec 30, 2009 at 9:48 AM, Brad Doty wrote: >> So what's going on in the world of Perl and Chicago PM lately? >> >> _______________________________________________ >> 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 drench+chipm at gmail.com Tue Jan 5 07:15:52 2010 From: drench+chipm at gmail.com (Dan Rench) Date: Tue, 5 Jan 2010 09:15:52 -0600 Subject: [Chicago-talk] regular expression help In-Reply-To: <20091230175844.956B03CB8@courageux.xo.com> References: <20091230175844.956B03CB8@courageux.xo.com> Message-ID: On Wed, Dec 30, 2009 at 11:58 AM, Richard Reina wrote: > ?[...] > Perhaps there's a better way of doing this? Are you using Thunderbird 3? If you are, there should be an sqlite3 database file called 'global-messages-db.sqlite' in the root of your profile directory that could be useful. Just as an example, using DBD::SQLite, you could get the text of your messages with "could not be delivered" with a query like: select c1body from messagesText_content where c1body like '%could not be delivered%' Drifting off-topic: has anyone here tried to get mozrepl [*] working with Thunderbird? This could be another way to do it (but through javascript, not Perl). [*] http://wiki.github.com/bard/mozrepl/tutorial From andrewdo at frdcsa.org Fri Jan 15 18:47:44 2010 From: andrewdo at frdcsa.org (Andrew Dougherty) Date: Fri, 15 Jan 2010 20:47:44 -0600 (CST) Subject: [Chicago-talk] Module naming conventions Message-ID: <20100115.204744.176659676.andrewdo@frdcsa.org> I'm getting ready to upload all my modules to CPAN. There are certainly over a thousand of them, I'm not quite sure. Rather than try to figure out what to rename everything to, I plan on just uploading to Org::FRDCSA:: and Org::POSIthon::. Can anyone help me through requesting the namespace, and other steps? Thanks, Andy Ps. I'll be in Chicago tomorrow if anyone would like to meet to do this. From shlomif at iglu.org.il Sat Jan 16 02:03:08 2010 From: shlomif at iglu.org.il (Shlomi Fish) Date: Sat, 16 Jan 2010 12:03:08 +0200 Subject: [Chicago-talk] Module naming conventions In-Reply-To: <20100115.204744.176659676.andrewdo@frdcsa.org> References: <20100115.204744.176659676.andrewdo@frdcsa.org> Message-ID: <201001161203.09032.shlomif@iglu.org.il> Hi Andrew! On Saturday 16 Jan 2010 04:47:44 Andrew Dougherty wrote: > I'm getting ready to upload all my modules to CPAN. There are > certainly over a thousand of them, I'm not quite sure. Rather than > try to figure out what to rename everything to, I plan on just > uploading to Org::FRDCSA:: and Org::POSIthon::. Please don't. You should put it under descriptive names under good namespaces, so they'll have less namespace baggage, be easier to remember and easier to find. > Can anyone help me > through requesting the namespace, and other steps? > You don't need to request a namespace. Just upload the CPAN distribution and PAUSE will index your Perl packages. None of the namespaces I requested have been granted yet (though I've inherited a few) and I survived and can still upload new packages. Regarding the rest of the steps, I've started writing about it here: http://www.shlomifish.org/lecture/Perl/Newbies/lecture5/ And you may be able to find other information with web-searching. There is this book, which is available for free download: http://www.apress.com/book/view/159059018X It's a bit outdated, though, but may still be good enough. Regards, Shlomi Fish > Thanks, > > Andy > > Ps. I'll be in Chicago tomorrow if anyone would like to meet to do > this. > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Interview with Ben Collins-Sussman - http://shlom.in/sussman Bzr is slower than Subversion in combination with Sourceforge. ( By: http://dazjorz.com/ ) From Darren.Young at chicagobooth.edu Tue Jan 19 08:36:20 2010 From: Darren.Young at chicagobooth.edu (Young, Darren) Date: Tue, 19 Jan 2010 10:36:20 -0600 Subject: [Chicago-talk] perl-ad-manager Message-ID: <07A371D457B501478C1DB3C3DE8372D7055678D0@GSBHEX2V.gsb.uchicago.edu> I'm in the process of creating an all Perl/LDAP based AD management set of libraries and scripts and am looking for any assistance in development and/or testing it. Our overall goal has been to have a toolset that can be used from UNIX/Linux to manage AD based objects. Things like provisioning, deprovisioning, password changes/resets, Exchange mailbox and email address management. The set I'll be publishing will be based on our internal account management toolkit that we've been developing and running in production for the past 7 or so years. If you're interested, it's hosted at Google code here: http://code.google.com/p/perl-ad-manager/ Any help with design, development or testing would be greatly appreciated. Darren Young Systems & Security Architect Computing Services University of Chicago Booth School of Business 5807 South Woodlawn Avenue Chicago, IL 60637 Voice 773.702.0331 | Fax 773.702.0233 From joel.limardo at forwardphase.com Tue Jan 19 10:02:24 2010 From: joel.limardo at forwardphase.com (Joel Limardo) Date: Tue, 19 Jan 2010 12:02:24 -0600 Subject: [Chicago-talk] perl-ad-manager In-Reply-To: <07A371D457B501478C1DB3C3DE8372D7055678D0@GSBHEX2V.gsb.uchicago.edu> References: <07A371D457B501478C1DB3C3DE8372D7055678D0@GSBHEX2V.gsb.uchicago.edu> Message-ID: <001501ca9931$90529960$b0f7cc20$@limardo@forwardphase.com> Perhaps you should send out a post when you are doing pushing the files up to the server. I just downloaded some empty folders. -----Original Message----- From: chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org [mailto:chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org] On Behalf Of Young, Darren Sent: Tuesday, January 19, 2010 10:36 AM To: Chicago.pm chatter Subject: [Chicago-talk] perl-ad-manager I'm in the process of creating an all Perl/LDAP based AD management set of libraries and scripts and am looking for any assistance in development and/or testing it. Our overall goal has been to have a toolset that can be used from UNIX/Linux to manage AD based objects. Things like provisioning, deprovisioning, password changes/resets, Exchange mailbox and email address management. The set I'll be publishing will be based on our internal account management toolkit that we've been developing and running in production for the past 7 or so years. If you're interested, it's hosted at Google code here: http://code.google.com/p/perl-ad-manager/ Any help with design, development or testing would be greatly appreciated. Darren Young Systems & Security Architect Computing Services University of Chicago Booth School of Business 5807 South Woodlawn Avenue Chicago, IL 60637 Voice 773.702.0331 | Fax 773.702.0233 _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From darren.young at chicagobooth.edu Tue Jan 19 10:15:05 2010 From: darren.young at chicagobooth.edu (Young, Darren) Date: Tue, 19 Jan 2010 12:15:05 -0600 Subject: [Chicago-talk] perl-ad-manager In-Reply-To: <001501ca9931$90529960$b0f7cc20$%limardo@forwardphase.com> References: <07A371D457B501478C1DB3C3DE8372D7055678D0@GSBHEX2V.gsb.uchicago.edu> <001501ca9931$90529960$b0f7cc20$%limardo@forwardphase.com> Message-ID: <07A371D457B501478C1DB3C3DE8372D705567A8C@GSBHEX2V.gsb.uchicago.edu> Yes, will do on that. I solicited early to see if there was any interest in the design phase (repo layout, doc standards, etc). > -----Original Message----- > From: chicago-talk-bounces+darren.young=chicagobooth.edu at pm.org > [mailto:chicago-talk-bounces+darren.young=chicagobooth.edu at pm.org] On > Behalf Of Joel Limardo > Sent: Tuesday, January 19, 2010 12:02 PM > To: 'Chicago.pm chatter' > Subject: Re: [Chicago-talk] perl-ad-manager > > Perhaps you should send out a post when you are doing pushing the files > up > to the server. I just downloaded some empty folders. > > > -----Original Message----- > From: chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org > [mailto:chicago-talk-bounces+joel.limardo=forwardphase.com at pm.org] On > Behalf > Of Young, Darren > Sent: Tuesday, January 19, 2010 10:36 AM > To: Chicago.pm chatter > Subject: [Chicago-talk] perl-ad-manager > > I'm in the process of creating an all Perl/LDAP based AD management set > of libraries and scripts and am looking for any assistance in > development and/or testing it. Our overall goal has been to have a > toolset that can be used from UNIX/Linux to manage AD based objects. > Things like provisioning, deprovisioning, password changes/resets, > Exchange mailbox and email address management. > > The set I'll be publishing will be based on our internal account > management toolkit that we've been developing and running in production > for the past 7 or so years. > > If you're interested, it's hosted at Google code here: > http://code.google.com/p/perl-ad-manager/ > > Any help with design, development or testing would be greatly > appreciated. > > Darren Young > Systems & Security Architect > Computing Services > University of Chicago > Booth School of Business > 5807 South Woodlawn Avenue > Chicago, IL 60637 > Voice 773.702.0331 | Fax 773.702.0233 > > > _______________________________________________ > 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 pcmantz at gmail.com Tue Jan 19 18:39:55 2010 From: pcmantz at gmail.com (Paul Mantz) Date: Tue, 19 Jan 2010 20:39:55 -0600 Subject: [Chicago-talk] Jan. PS:1 Hackathon In-Reply-To: References: Message-ID: <42f28fe1001191839s37631f90o82b4bbcd3d17a82c@mail.gmail.com> Hey Guys, Just a friendly reminder that Pumping Station: One, the Chicago hackerspace, will hold our Quiet Riot Hackathon this Saturday (Jan. 23rd). We hold two hackathons a month on the 3rd and 4th Saturdays of every month. The first one is meant for louder work, such as small construction. At the quiet riot hackathon, we'll be keeping the power tools off so that people can concentrate on coding, and other mind-intensive activities. So far, we've had a wide berth of projects, from Perl and Python development to emacs modes to web design to driver development. Everyone's welcome to come to both. They both start at 8pm, and will go on as long as the Red Bull floweth. Pumping Station: One is located at 3354 N. Elston, Chicago, IL. If the door is locked, ring the bell. See http://pumpingstationone.org/ for more information about the hackathons or the space. Thanks, -- Paul Mantz Vice President, Pumping Station: One From joshua.mcadams at gmail.com Sun Jan 24 19:46:21 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Sun, 24 Jan 2010 21:46:21 -0600 Subject: [Chicago-talk] Monks Tuesday January 26th? Message-ID: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> I blew it on planning a tech meeting this month. Nola suggested a Monks meetup instead? How about this Tuesday around 6 or 7? Any preferences? From hwigoda at mindspring.com Sun Jan 24 22:35:08 2010 From: hwigoda at mindspring.com (Hal Wigoda) Date: Mon, 25 Jan 2010 00:35:08 -0600 Subject: [Chicago-talk] Monks Tuesday January 26th? In-Reply-To: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> References: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> Message-ID: <9455C15E-B8FB-4EE6-9266-349BC0A34281@mindspring.com> There's a UniForum meeting in Wheaton. Separating Yourself from the Crowd in a Tight Job Market Mike Fralic Tuesday, January 26th, 2010, 7:00-9:00pm Illinois Institute of Technology, Rice Campus, Wheaton, IL, Room 103 Abstract -------- Are you unemployed, underemployed, not happily employed or worried about keeping your job during these difficult economic times? Do you need a job search/career transition plan in case you should lose your job in the near future? Mike Fralic will be discussing his insights from a sales and marketing perspective on how to get noticed. This includes what and how you should showcase preparing the resume, conducting the interview and follow up. Speaker Bio ----------- Mike Fralic's 26 year professional career includes being an officer in the United States Marine Corps, and a variety of sales and marketing positions including his most recent position as VP Sales & Marketing of Lyons Workspace of Montgomery, IL. Getting There ------------- The next meeting of UniForum Chicago will be from 7:00 pm to 9:00 pm on Tuesday, January 26, 2010 at the Illinois Institute of Technology Rice campus. The address of the meeting facility is: IIT's Rice Campus Room 103 201 East Loop Road, Wheaton, Illinois 60187 Take I-88 west to the Naperville Road exit (Note: this exit was recently reconfigured). Turn right at the stoplight from the exit ramp going North on Freedom Drive. Turn right again at the next stoplight (which is only a few hundred feet away) going East on Warrenville Road. Move immediately into the left lane and turn left (North) at the next stoplight, which is Naperville Road. Go North on Naperville Road to Butterfield/Rt. 56. Turn right on Butterfield and proceed East to the next stoplight East (East Loop Road). Turn north onto East Loop Road (Big Bowl/Cozymel's Restaurants and Phillip's 66 Gas Station on the corners); the campus will be on your right about a block north of Butterfield Road. Park in the student parking lot behind the building. Room 103 is the first room inside the north entrance. More detailed directions and maps are available at: http://www.rice.iit.edu/directions.html http://www.rice.iit.edu/floorplan.html All UniForum Chicago general meetings are open to the public free of charge. For additional information contact president at uniforum.chi.il.us, or visit the UniForum Chicago web site at: http://www.uniforum.chi.il.us/ On Jan 24, 2010, at 9:46 PM, Joshua wrote: > I blew it on planning a tech meeting this month. Nola suggested a > Monks meetup instead? How about this Tuesday around 6 or 7? Any > preferences? > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -------------- next part -------------- An HTML attachment was scrubbed... URL: From fasteliteprogrammer at gmail.com Mon Jan 25 08:47:12 2010 From: fasteliteprogrammer at gmail.com (packet) Date: Mon, 25 Jan 2010 10:47:12 -0600 Subject: [Chicago-talk] threading Question Message-ID: <4B5DCB10.6040804@gmail.com> Does it matter if you have 1 cpu or 4 cpu for programming threads in perl and why? I got 1 cpu on the laptop and 4 cpu on my desktop.Just want to know this been bugging me for abit.:) From joshua.mcadams at gmail.com Mon Jan 25 19:13:20 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Mon, 25 Jan 2010 21:13:20 -0600 Subject: [Chicago-talk] [WindyCity-pm] Monks Tuesday January 26th? In-Reply-To: <69d143cd1001250732n278cd20ftbcf6f23f15a45e0a@mail.gmail.com> References: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> <87k4v6iuzo.fsf@snowball2.jrock.us> <2715accf1001242203xb6bd662ucf00de6456320a75@mail.gmail.com> <69d143cd1001250732n278cd20ftbcf6f23f15a45e0a@mail.gmail.com> Message-ID: <49d805d71001251913w41a2b3f3o6f8f6a9a2acceeea@mail.gmail.com> Sounds like enough for a social outing! Monks Pub, 6pm, Tuesday February 26th. 205 West Lake Street http://www.mmonks.com/ 2010/1/25 Jeremy Wall : > +1 for monks tuesday > > On Jan 25, 2010 12:04 AM, "brian d foy" wrote: > > On Mon, Jan 25, 2010 at 12:00 AM, Jonathan Rockway wrote: > > Anytime is fine with me.... > > 6pm Tuesday at Monks works for me. > > > -- > brian d foy > http://www.pair.com/~comdog/ > > _______________________________________________ WindyCity-pm mailing list > WindyCity-pm at pm.org http:/... > > _______________________________________________ > WindyCity-pm mailing list > WindyCity-pm at pm.org > http://mail.pm.org/mailman/listinfo/windycity-pm > > From hwigoda at mindspring.com Mon Jan 25 19:42:42 2010 From: hwigoda at mindspring.com (Hal Wigoda) Date: Mon, 25 Jan 2010 21:42:42 -0600 Subject: [Chicago-talk] [WindyCity-pm] Monks Tuesday January 26th? In-Reply-To: <49d805d71001251913w41a2b3f3o6f8f6a9a2acceeea@mail.gmail.com> References: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> <87k4v6iuzo.fsf@snowball2.jrock.us> <2715accf1001242203xb6bd662ucf00de6456320a75@mail.gmail.com> <69d143cd1001250732n278cd20ftbcf6f23f15a45e0a@mail.gmail.com> <49d805d71001251913w41a2b3f3o6f8f6a9a2acceeea@mail.gmail.com> Message-ID: <5EA7AB87-87AC-4D63-97D1-01DB61983D9B@mindspring.com> Feb or January? On Jan 25, 2010, at 9:13 PM, Joshua wrote: > Sounds like enough for a social outing! Monks Pub, 6pm, Tuesday February 26th. > > 205 West Lake Street > http://www.mmonks.com/ > > 2010/1/25 Jeremy Wall : >> +1 for monks tuesday >> >> On Jan 25, 2010 12:04 AM, "brian d foy" wrote: >> >> On Mon, Jan 25, 2010 at 12:00 AM, Jonathan Rockway wrote: > >> Anytime is fine with me.... >> >> 6pm Tuesday at Monks works for me. >> >> >> -- >> brian d foy >> http://www.pair.com/~comdog/ >> >> _______________________________________________ WindyCity-pm mailing list >> WindyCity-pm at pm.org http:/... >> >> _______________________________________________ >> WindyCity-pm mailing list >> WindyCity-pm at pm.org >> http://mail.pm.org/mailman/listinfo/windycity-pm >> >> > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk From joshua.mcadams at gmail.com Mon Jan 25 20:32:12 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Mon, 25 Jan 2010 22:32:12 -0600 Subject: [Chicago-talk] [WindyCity-pm] Monks Tuesday January 26th? In-Reply-To: <43e95381001252027n5a35e225q7969ba10f3b23273@mail.gmail.com> References: <49d805d71001241946v5b6f63f8s13f9f56b362d2b1@mail.gmail.com> <87k4v6iuzo.fsf@snowball2.jrock.us> <2715accf1001242203xb6bd662ucf00de6456320a75@mail.gmail.com> <69d143cd1001250732n278cd20ftbcf6f23f15a45e0a@mail.gmail.com> <49d805d71001251913w41a2b3f3o6f8f6a9a2acceeea@mail.gmail.com> <43e95381001252027n5a35e225q7969ba10f3b23273@mail.gmail.com> Message-ID: <49d805d71001252032t1deaebbcjbcdb2efd367d4d7e@mail.gmail.com> Doh, I never can get the dates straight.... TOMORROW! Jan 26th :) On Mon, Jan 25, 2010 at 10:27 PM, Nola Stowe wrote: > umm ... feburary??? no fair skipping months!! :) > > On Mon, Jan 25, 2010 at 9:13 PM, Joshua wrote: >> >> Sounds like enough for a social outing! ?Monks Pub, 6pm, Tuesday February >> 26th. >> >> 205 West Lake Street >> http://www.mmonks.com/ >> >> 2010/1/25 Jeremy Wall : >> > +1 for monks tuesday >> > >> > On Jan 25, 2010 12:04 AM, "brian d foy" wrote: >> > >> > On Mon, Jan 25, 2010 at 12:00 AM, Jonathan Rockway wrote: >> > > >> > Anytime is fine with me.... >> > >> > 6pm Tuesday at Monks works for me. >> > >> > >> > -- >> > brian d foy >> > http://www.pair.com/~comdog/ >> > >> > _______________________________________________ WindyCity-pm mailing >> > list >> > WindyCity-pm at pm.org http:/... >> > >> > _______________________________________________ >> > WindyCity-pm mailing list >> > WindyCity-pm at pm.org >> > http://mail.pm.org/mailman/listinfo/windycity-pm >> > >> > >> _______________________________________________ >> WindyCity-pm mailing list >> WindyCity-pm at pm.org >> http://mail.pm.org/mailman/listinfo/windycity-pm > > > > -- > http://www.rubygeek.com - my blog > http://www.DevChix.com - boys can't have all the fun > From lembark at wrkhors.com Wed Jan 27 09:11:58 2010 From: lembark at wrkhors.com (Steven Lembark) Date: Wed, 27 Jan 2010 12:11:58 -0500 Subject: [Chicago-talk] threading Question In-Reply-To: <4B5DCB10.6040804@gmail.com> References: <4B5DCB10.6040804@gmail.com> Message-ID: <20100127121158.5a7e9af6lembark@wrkhors.com@wrkhors.com> On Mon, 25 Jan 2010 10:47:12 -0600 packet wrote: > Does it matter if you have 1 cpu or 4 cpu for programming threads in > perl and why? > > > I got 1 cpu on the laptop and 4 cpu on my desktop.Just want to know this > been bugging me for abit.:) Theading with a single CPU is occasionally useful, mainly if you can use up more of a timeslice before blocking, say on a some scheduled I/O. Aside from that, threading on a single CPU doesn't really add much -- aside from headaches and slowdowns from synch-ing the threads. -- Steven Lembark 85-09 90th St. Workhorse Computing Woodhaven, NY, 11421 lembark at wrkhors.com +1 888 359 3508 From fasteliteprogrammer at gmail.com Wed Jan 27 20:43:31 2010 From: fasteliteprogrammer at gmail.com (packet) Date: Wed, 27 Jan 2010 22:43:31 -0600 Subject: [Chicago-talk] threading Question In-Reply-To: <20100127121158.5a7e9af6lembark@wrkhors.com@wrkhors.com> References: <4B5DCB10.6040804@gmail.com> <20100127121158.5a7e9af6lembark@wrkhors.com@wrkhors.com> Message-ID: <4B6115F3.5070908@gmail.com> Steven Lembark wrote: > On Mon, 25 Jan 2010 10:47:12 -0600 > packet wrote: > > >> Does it matter if you have 1 cpu or 4 cpu for programming threads in >> perl and why? >> >> >> I got 1 cpu on the laptop and 4 cpu on my desktop.Just want to know this >> been bugging me for abit.:) >> > > Theading with a single CPU is occasionally > useful, mainly if you can use up more of a > timeslice before blocking, say on a some > scheduled I/O. > > Aside from that, threading on a single CPU > doesn't really add much -- aside from headaches > and slowdowns from synch-ing the threads. > > So your saying i won't have a prob programming on one cpu.And i want to know what i can do in perl with a one cpu.I don't want to slow down my compile time. I just new to perl.:) From jon-chicagotalk at jrock.us Fri Jan 29 22:52:22 2010 From: jon-chicagotalk at jrock.us (Jonathan Rockway) Date: Sat, 30 Jan 2010 00:52:22 -0600 Subject: [Chicago-talk] threading Question In-Reply-To: <4B6115F3.5070908@gmail.com> (packet's message of "Wed, 27 Jan 2010 22:43:31 -0600") References: <4B5DCB10.6040804@gmail.com> <20100127121158.5a7e9af6lembark@wrkhors.com@wrkhors.com> <4B6115F3.5070908@gmail.com> Message-ID: <871vh8dqzd.fsf@snowball2.jrock.us> * On Wed, Jan 27 2010, packet wrote: > So your saying i won't have a prob programming on one cpu.And i want > to know what i can do in perl with a one cpu.I don't want to slow down > my compile time. I have a 4 core machine. With one core, the Moose test suite runs in about a minute. With 8 threads (4 + HT), it runs in 7 seconds. CPAN installs happen before I am done pressing enter. Modern hardware is really quite nice for your productivity. To reply to some of the other commentary on this thread; Perl only has one real threading library - Coro, and it can only use one OS thread (but happily scales to a 100000 Coro threads). It's good for IO-intense activities; if you are a large company's IMAP server, it's likely that you have a few thousands connections open for "push email". Most of the time, the sockets are idle, and so one OS thread is easily enough compute power for the application. The hard part is keeping the state of 10,000+ TCP connections; that's what Coro does for you. You create a thread when someone connects, and then that thread "runs" when necessary. When it's blocked on IO (99.99% of the time), the other threads run. Finally, Perl's ithreads are a not-so-hilarious joke; never use them. If you need your Perl programs to run in parallel, just split your data into n sets and run n processes. Easy. (And if your Perl is slow, realize that making it run on 2 cores makes it MAYBE 2x faster at best, but rewriting the critical sections in a faster language like Haskell can make it run 50x faster.) Regards, Jonathan Rockway -- print just => another => perl => hacker => if $,=$" From fasteliteprogrammer at gmail.com Sat Jan 30 06:47:48 2010 From: fasteliteprogrammer at gmail.com (packet) Date: Sat, 30 Jan 2010 08:47:48 -0600 Subject: [Chicago-talk] threading Question In-Reply-To: <871vh8dqzd.fsf@snowball2.jrock.us> References: <4B5DCB10.6040804@gmail.com> <20100127121158.5a7e9af6lembark@wrkhors.com@wrkhors.com> <4B6115F3.5070908@gmail.com> <871vh8dqzd.fsf@snowball2.jrock.us> Message-ID: <4B644694.6080401@gmail.com> Jonathan Rockway wrote: > * On Wed, Jan 27 2010, packet wrote: > > >> So your saying i won't have a prob programming on one cpu.And i want >> to know what i can do in perl with a one cpu.I don't want to slow down >> my compile time. >> > > I have a 4 core machine. With one core, the Moose test suite runs in > about a minute. With 8 threads (4 + HT), it runs in 7 seconds. > > CPAN installs happen before I am done pressing enter. > > Modern hardware is really quite nice for your productivity. > > To reply to some of the other commentary on this thread; Perl only has > one real threading library - Coro, and it can only use one OS thread > (but happily scales to a 100000 Coro threads). It's good for IO-intense > activities; if you are a large company's IMAP server, it's likely that > you have a few thousands connections open for "push email". Most of the > time, the sockets are idle, and so one OS thread is easily enough > compute power for the application. The hard part is keeping the state > of 10,000+ TCP connections; that's what Coro does for you. You create a > thread when someone connects, and then that thread "runs" when > necessary. When it's blocked on IO (99.99% of the time), the other > threads run. > > Finally, Perl's ithreads are a not-so-hilarious joke; never use them. > > If you need your Perl programs to run in parallel, just split your data > into n sets and run n processes. Easy. (And if your Perl is slow, > realize that making it run on 2 cores makes it MAYBE 2x faster at best, > but rewriting the critical sections in a faster language like Haskell > can make it run 50x faster.) > > Regards, > Jonathan Rockway > > -- > print just => another => perl => hacker => if $,=$" > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > > Looklike i have better luck with my duo core 2 cpu with perl.:) thanks for the help.