From gizmo at purdue.edu Mon Jun 11 06:14:24 2012 From: gizmo at purdue.edu (Joe Kline) Date: Mon, 11 Jun 2012 09:14:24 -0400 Subject: [Purdue-pm] Parallel loops Message-ID: <4FD5EF30.2080005@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Well, this certainly puts a spin on some stuff I did in the past: http://perlgems.blogspot.com/2012/05/take-full-advantage-of-your-multicore.html I had one program that did some stuff in parallel but I used something else to parallelize it but this looks much simpler. joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/V7zAACgkQb0mzA2gRTpkL6wCglr9HF6cQPSGM51e12pzVlOMI e2cAoI0UgVut8qqKeaO4NoVa1Jm2cQbl =fnLS -----END PGP SIGNATURE----- From gizmo at purdue.edu Mon Jun 11 07:30:16 2012 From: gizmo at purdue.edu (Joe Kline) Date: Mon, 11 Jun 2012 10:30:16 -0400 Subject: [Purdue-pm] Parallel loops In-Reply-To: <4FD5FA26.1080806@purdue.edu> References: <4FD5EF30.2080005@purdue.edu> <4FD5FA26.1080806@purdue.edu> Message-ID: <4FD600F8.4030105@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/11/2012 10:01 AM, Dave Jacoby wrote: > On 6/11/2012 9:14 AM, Joe Kline wrote: >> I had one program that did some stuff in parallel but I used something >> else to parallelize it but this looks much simpler. > > I've always found it hard to think in multithread terms, but now that > multicore PCs come free in your children's Happy Meals, it is about time > we as a community (all programmers, not just Perl programmers or Purdue > programmers or Purdue Perl programmers) come to terms with it. > And things like this make it a lot easier, not quite for "free" like in things like MPI, but better. I found my one program that did threaded stuff. The modules it uses: threads Thread::Queue threads is core and basically hands off the stuff to the OS to deal with (mostly). I needed Thread::Queue because of how input/output works in threaded stuff. It took me awhile to really understand how to make my (initially) serial program and parallelize. Not so simple. Finding tools, like Parallel::Loops, to make hard jobs easy is what Perl is all about I think. It's just a matter of finding them and making sure it fits your job (the second or third hard part in a job). joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/WAPcACgkQb0mzA2gRTplSPQCgi31GPTqAQZwdOJ4a7DYRb1JW jAgAoIIbmQUAsJfq/ASDEh3zyIfnLsDs =5ctA -----END PGP SIGNATURE----- From westerman at purdue.edu Mon Jun 18 08:06:06 2012 From: westerman at purdue.edu (Rick Westerman) Date: Mon, 18 Jun 2012 11:06:06 -0400 (EDT) Subject: [Purdue-pm] Meeting tomorrow, Jun 19th, 2012 In-Reply-To: <123027444.32444.1340031840603.JavaMail.root@mailhub016.itcs.purdue.edu> Message-ID: <1104638136.32448.1340031966254.JavaMail.root@mailhub016.itcs.purdue.edu> Mongers meeting tomorrow, Tuesday, Jun 19th, in WSLR 116. Joe and I will present something about our recent trip to YAPC::NA 2012. Dave is planning a talk on Javascript and Perl. -- Rick Westerman westerman at purdue.edu Bioinformatics specialist at the Genomics Facility. Phone: (765) 494-0505 FAX: (765) 496-7255 Department of Horticulture and Landscape Architecture 625 Agriculture Mall Drive West Lafayette, IN 47907-2010 Physically located in room S049, WSLR building From westerman at purdue.edu Fri Jun 22 12:01:35 2012 From: westerman at purdue.edu (Rick Westerman) Date: Fri, 22 Jun 2012 15:01:35 -0400 (EDT) Subject: [Purdue-pm] Fwd: [yapc] Hardware.pm.org In-Reply-To: Message-ID: <681155948.39310.1340391695654.JavaMail.root@mailhub016.itcs.purdue.edu> FYI: ----- Forwarded Message ----- > If you got bit by the hardware bug at YAPC::NA or are just interested > in mixing Perl with the external world come be part of the > bootstrapping of http://hardware.pm.org. > -- Rick Westerman westerman at purdue.edu Bioinformatics specialist at the Genomics Facility. Phone: (765) 494-0505 FAX: (765) 496-7255 Department of Horticulture and Landscape Architecture 625 Agriculture Mall Drive West Lafayette, IN 47907-2010 Physically located in room S049, WSLR building From mark at purdue.edu Fri Jun 29 05:29:54 2012 From: mark at purdue.edu (Mark Senn) Date: Fri, 29 Jun 2012 08:29:54 -0400 Subject: [Purdue-pm] Perl 6 Message-ID: <10008.1340972994@pier.ecn.purdue.edu> Perl 6 is not mature but there is enough working to write simple programs. Perl 6 was a redesign and rewrite of Perl 5 from the ground up---it still "feels like" programming in Perl 5 though---if you like Perl 5 you might like Perl 6. Perl 6 is object oriented and has many other features that make programming easier in my opinion. I've been doing some programming in Perl 6 and like it much better than Perl 5. Perl 5 is much more mature, has much better documentation, and a much larger user community. You can learn more about Perl 6 at http://perl6maven.com/starting-again-with-rakudo-perl6 I expect Perl 5 and Perl 6 will both be used in the the future. -mark >To: perl6 at szabgab.com >From: Gabor Szabo >Date: Thu, 28 Jun 2012 11:25:04 +0300 (IDT) >Subject: [Perl6 Tricks and Treats] Starting again with Rakudo Perl 6: > Welcome Perl 6 Maven! >Sender: perl6-bounces at szabgab.com > >Hi, > >I hope you still remember me, and this newsletter. > >This is the Perl6 Tricks and Treats newsletter, >that you signed up, probably on my web site: >http://szabgab.com/perl6_tricks_and_treats.html > >It has been a while ago. The last message was >sent more than a year ago. > >That was the time when I decided I should focus on >Perl 5 to avoid confusion on my web site. > >Since then, Rakudo has improved a lot and today >I can announce a new web site where I am going to >move all the Perl 6 content from szabgab.com. >That will probably help avoiding any confusion. > >This is where I am going to publish my new articles >and new screencasts about Perl 6. > >I also plan to collect other Perl 6 related resources >and provide a unified and clear way to learn Perl 6, >and eventually to become a Perl 6 Maven. > >Let me welcome you to the new Perl 6 Maven site: > > http://perl6maven.com/ > > >Currently the site is a set of static pages generated >with a Perl 6 script using HTML::Template. That will >certainly change, but I will only use Perl 6 for >that site, and not Perl 5. If that means some things will >take longer to add, and I might have to shave a few yaks >before I can add a new feature. So be it. >That's the way I might also help the advancement of the >Perl 6 ecosystem. > > >For now I'll keep this newsletter and even invite more >people to sign up. Later I'll switch to use something >written in Perl 6. >(Luckily this is ok, as Mailman is written in Python >and not Perl 5 :) > >I though I might finish this with a sentence like > >"So just sit back and watch!" > >but I'd actually like you take active part in the >creation of this web site and in improving our Perl 6 >skils. So if you have not touched Perl 6 recently than >grab the latest Rakudo and start typing! > >My first mini-article on the new site is about > > Starting again with Rakudo Perl 6 > > http://perl6maven.com/starting-again-with-rakudo-perl6 > >So go read and start writing Perl 6 code > >regards > Gabor Szabo > http://szabgab.com/ > http://perl6maven.com/ > >ps. This message was sent using Perl 6 > >_______________________________________________ >Perl6 mailing list >Perl6 at szabgab.com >http://mail.szabgab.com/mailman/listinfo/perl6