From gizmo at purdue.edu Tue Aug 3 08:34:28 2010 From: gizmo at purdue.edu (Joe Kline) Date: Tue, 03 Aug 2010 11:34:28 -0400 Subject: [Purdue-pm] parallel iterators and perl Message-ID: <4C583704.9080208@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Now this is kind of cool http://www.dagolden.com/index.php/935/parallel-map-with-paralleliterator/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMWDcAb0mzA2gRTpkRAtJwAKCUWuNQKdLzajD4EcHx4qIR9gz9RwCggdOq sJPl0YodlBN+me19oK9D1qE= =SPO0 -----END PGP SIGNATURE----- From jacoby at purdue.edu Thu Aug 5 07:02:16 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Thu, 05 Aug 2010 10:02:16 -0400 Subject: [Purdue-pm] Quick Perl [5,6] Question Message-ID: <4C5AC468.8020207@purdue.edu> http://use.perl.org/~masak/journal/40481 Today at the YAPC::EU keynote, the inimitable Larry Wall, accompanied by his guardian angel and his guardian devil, made a poll asking which ones in the audience believed Perl 5 and Perl 6 are the same language, and which ones believed they are two different languages. I open this to everybody on the list, even though I think Mark is actually most qualified to answer. Do you regard Perl 5 and Perl 6 as the same language or different languages? -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From mark at ecn.purdue.edu Thu Aug 5 07:42:52 2010 From: mark at ecn.purdue.edu (Mark Senn) Date: Thu, 05 Aug 2010 10:42:52 -0400 Subject: [Purdue-pm] Quick Perl [5,6] Question In-Reply-To: <4C5AC468.8020207@purdue.edu> References: <4C5AC468.8020207@purdue.edu> Message-ID: <26241.1281019372@pier.ecn.purdue.edu> > Do you regard Perl 5 and Perl 6 as the > same language or different languages? For me: Same language, different dialect. -mark From gizmo at purdue.edu Thu Aug 5 08:01:24 2010 From: gizmo at purdue.edu (Joe Kline) Date: Thu, 05 Aug 2010 11:01:24 -0400 Subject: [Purdue-pm] Quick Perl [5,6] Question In-Reply-To: <4C5AC468.8020207@purdue.edu> References: <4C5AC468.8020207@purdue.edu> Message-ID: <4C5AD244.7@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave jacoby wrote: > http://use.perl.org/~masak/journal/40481 > > Today at the YAPC::EU keynote, the inimitable Larry Wall, > accompanied by his guardian angel and his guardian devil, > made a poll asking which ones in the audience believed > Perl 5 and Perl 6 are the same language, and which ones > believed they are two different languages. > > I open this to everybody on the list, even though I think Mark is > actually most qualified to answer. Do you regard Perl 5 and Perl 6 as > the same language or different languages? > Different. Although I would agree with chromatic that "Perl 6 was a precondition for modern Perl." joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMWtJDb0mzA2gRTpkRAkYuAJwKbEwXVS1VdOhSOOwWvF2jNVcf4ACfaEWm VEoctoRmEkfaZ05jpN/pSlQ= =DAHk -----END PGP SIGNATURE----- From westerman at purdue.edu Thu Aug 5 08:11:05 2010 From: westerman at purdue.edu (Rick Westerman) Date: Thu, 05 Aug 2010 11:11:05 -0400 Subject: [Purdue-pm] Quick Perl [5,6] Question In-Reply-To: <26241.1281019372@pier.ecn.purdue.edu> References: <4C5AC468.8020207@purdue.edu> <26241.1281019372@pier.ecn.purdue.edu> Message-ID: <4C5AD489.5050004@purdue.edu> On 08/05/2010 10:42 AM, Mark Senn wrote: > > Do you regard Perl 5 and Perl 6 as the > > same language or different languages? > > > Different languages. Which is why, unless forced otherwise by work, I'll spend my learning time on learning a different and more salable language than Perl6. I can not see that a new language, even with the Perl moniker, that is not even close to being mature will make much headway in the world when we have so many other more mature languages to choose from. -- 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 jacoby at purdue.edu Mon Aug 16 05:39:07 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Mon, 16 Aug 2010 08:39:07 -0400 Subject: [Purdue-pm] CSociety Upgrade: Good and Bad Message-ID: <4C69316B.5040606@purdue.edu> Our wiki is hosted by CSociety. CSociety recently did an upgrade on their server. The GOOD thing is, when you type perl -v into a prompt, it says 5.10.1 instead of 5.8.8. The BAD thing is that, as is fairly common when they upgrade, they lose crucial configuration elements. Among those are the fact that PM (and Mark, PMUG) are not static pages, but rather dynamic CGI programs. So our wiki(s) are down. The GOOD thing is that I have some pages on CSociety, based around the practical use of LWP, that I check every weekday, and I noticed the problems first thing today. I have sent off an email to the CSociety admins, so this outage should not be a long-lasting. The BAD thing, again, is that it's starting to be the time of the next Perl Mongers meeting, and the meeting date and agenda items were stored there. The GOOD thing is that I have access to the directory and with strings and grep, I can read "The next meeting is August 17,2010", tomorrow. I expect that Rick will send a reminder with more specific agenda items. One of the agenda items I can recall is discussing renaming ourselves lafayette.pm or westlafayette.pm or greaterlafayettemetropolitanareaincludingshadelandandbattleground.pm, which I decline to categorize as GOOD or BAD. -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From jacoby at purdue.edu Tue Aug 17 08:23:46 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Tue, 17 Aug 2010 11:23:46 -0400 Subject: [Purdue-pm] Website is up, and.... Message-ID: <4C6AA982.1000402@purdue.edu> The website is back and, presumably, fully operational. (I haven't tried to change anything yet.) Yay to Alex and CSociety. And, the chitchat time for today's meeting, starts in less than 10 minutes, and the meeting proper in just over 40. See you there! -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From jacoby at purdue.edu Tue Aug 24 06:16:14 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Tue, 24 Aug 2010 09:16:14 -0400 Subject: [Purdue-pm] DNS Issues and such Message-ID: <4C73C61E.7080404@purdue.edu> The change that hit our web hosts has spawned another ripple, this time touching DNS. This has caused our wiki to flake out again. I have an account that can host web stuff on said machine and can move it to there if we think waiting out the DNS crisis in intolerable. Thoughts? -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From westerman at purdue.edu Tue Aug 24 06:18:07 2010 From: westerman at purdue.edu (Rick Westerman) Date: Tue, 24 Aug 2010 09:18:07 -0400 Subject: [Purdue-pm] DNS Issues and such In-Reply-To: <4C73C61E.7080404@purdue.edu> References: <4C73C61E.7080404@purdue.edu> Message-ID: <4C73C68F.3010202@purdue.edu> On 08/24/2010 09:16 AM, Dave jacoby wrote: > The change that hit our web hosts has spawned another ripple, this > time touching DNS. This has caused our wiki to flake out again. I have > an account that can host web stuff on said machine and can move it to > there if we think waiting out the DNS crisis in intolerable. Thoughts? > I suspect that the usage of the PM wiki is close to nil. Except for days around our tech meeting. So I would just wait out the DNS outage. -- 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 Wed Aug 25 08:31:26 2010 From: mark at purdue.edu (Mark Senn) Date: Wed, 25 Aug 2010 11:31:26 -0400 Subject: [Purdue-pm] ebooks, online books Message-ID: <25756.1282750286@pier.ecn.purdue.edu> In the message "quoted" below is a low is a list of ebooks from O'Reilly on sale for $9.99. If you are at Purdue in West Lafayette (don't know about regional campuses) you can read, for example, _Programming Collective Intelligence_ by o Going to http://www.lib.purdue.edu/ o Click "Catalog" tab. o Change "Keyword Anywhere" to "Title (omit initial a, an, the...)". o Search for "Programming Collective Intelligence". o Click on title of the book that has "Call Number: Internet". o Click on "Connect to this resource online". If you get "Session Unavailable" it is probably because there are too many at Purdue using the online service. I'm going to contact the library and encourage them to buy more service in a few minutes. To go the O'Reilly Media's Books Online and see what books are availble Go to http://proquestcombo.safaribooksonline.com/ Click on "START USING SAFARI". Often, I got a Session Unavailable message You are signed out. You are seeing this message due to one of the following conditions: 1. Your account supports only one concurrent session per user, and you have signed in a second time with the same credentials. Your second sign in attempt disables the first session, gives you a new session, and displays this message if you click in the browser window of your first session. 2. Your system as a limited number of sessions and there are currently no sessions available. You can try signing in again. You will succeed if a session is available. 3. Your system has a limited number of sessions, your session exceeded the timeout limit, and another user needed a session. You can try signing in again. You will succeed if a session is available. 4. Your system enforces a session timeout limit of 20 minutes and your session exceeded the timeout limit. I'll complain about that to the library also. -mark >From: Marsee Henon >To: mark at purdue.edu >Subject: UG News: 1 Day - $9.99 Exclusive - Top 10 "Ebook Deal of the Day" Geek Beach Reads >Date: Wed, 25 Aug 2010 00:06:38 -0700 > >View in browser: http://post.oreilly.com/rd/9z1zquiu9r72bvtr0ka8r4ib9d9gqo74uoimo9q8v7o > >*** $9.99 Exclusive - Your Top 10 "Ebook Deal of the Day" Geek Beach Reads *** > >We asked O'Reilly customers to recommend their favorite O'Reilly Geek Beach Reads, and for one day only you can buy the top-ten titles for only $9.99 each. O'Reilly ebooks are DRM-free. You get free lifetime access, four file formats, free updates. Use discount code DDGRD in the shopping cart. Cheers! > >Being Geek >The Software Developer's Career Handbook >http://post.oreilly.com/rd/9z1zfvsa4pqeqpcenutathstns8bnj8jiipo96qj0v8 >Was: $19.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z93kk1nm5hnkpnceis9bacpsiauk5ircssa8jbqo > >The Myths of Innovation >http://post.oreilly.com/rd/9z1z63ip4i7kfb9n7dm48vib851hja9he5d7jcsrha8 >Was: $14.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1zhpt5mgbvt66gcor6boad3qegla2iuubh3lvl08o > >Cooking for Geeks >Real Science, Great Hacks, and Good Food >http://post.oreilly.com/rd/9z1zr19v5boqh7c206ffj42v8crfp8kkls2fqlh6ms8 >Was: $27.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1zehcs1tkhinud3l1hrb7jfe58j8iugj6kvkd34mo > >Revolution in The Valley >The Insanely Great Story of How the Mac Was Made >http://post.oreilly.com/rd/9z1zi9rg6c2hrumetqklmvhtknj8nogmfcvk74u2r48 >Was: $19.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z2enrriq1s4b9t70n5783lm70qpj3s4lvra7hha0 > >Gamestorming >A Playbook for Innovators, Rulebreakers, and Changemakers >http://post.oreilly.com/rd/9z1zb46k4l7dbsu5uq7jav540fqsjka0sihkdogohb8 >Was: $23.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z7qef75s603gt7a69dn91n9f0qanotpt7vfd084o > >The Productive Programmer >http://post.oreilly.com/rd/9z1z9834dhf1be18rst1slc5ojg1jgdhh1mafg3d6i0 >Was: $31.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1zf7ulg61ujl9g3s6j9vopk8g9gul9p2ue9626j4o > >High Performance JavaScript >Build Faster Web Application Interfaces >http://post.oreilly.com/rd/9z1zhhtfnkibjac8i5e2p3e4pcq2l6bv0s3g1lb0qa8 >Was: $27.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1zstgb1je7d0c2phj33rj97me9o7086a2oh0bidl0 > >Search Patterns >Design for Discovery >http://post.oreilly.com/rd/9z1z4ldfksplo0gao3gk7kjo28oh9i83s8glbbfcgi0 >Was: $31.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z13vuphdlvi8ao4s3ji96tio78k72kql57sra8fo > >Programming Collective Intelligence >Building Smart Web 2.0 Applications >http://post.oreilly.com/rd/9z1ztiiuj0qa055gfu207nf1edae0i5jph7gotlh3oo >Was: $31.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z4tn62m118h971oihgnf48jp5ohqhc4eb8n6i1lo > >Beautiful Data >The Stories Behind Elegant Data Solutions >http://post.oreilly.com/rd/9z1z2s2ckvj088q8q6d9s4f6sfssp55dji42vbo1a98 >Was: $35.99 >Now: $9.99 >Add to cart: http://post.oreilly.com/rd/9z1z2l3clqs2410s6hv50e10a8rmqskahc3iaunf8d8 > >Forward this announcement to a friend: http://post.oreilly.com/f2f/9z1zrj39v0afmkiib8d57eumtmqlkk6admoupj3lfjo > >-------------------------------------------------------------- > >O'Reilly - Spreading the knowledge of innovators | oreilly.com > >-------------------------------------------------------------- From mdw at purdue.edu Wed Aug 25 08:35:33 2010 From: mdw at purdue.edu (Mark Daniel Ward) Date: Wed, 25 Aug 2010 11:35:33 -0400 Subject: [Purdue-pm] ebooks, online books In-Reply-To: <25756.1282750286@pier.ecn.purdue.edu> References: <25756.1282750286@pier.ecn.purdue.edu> Message-ID: <4C753845.2040500@purdue.edu> Dear Mark, Our Safari bookshelf at Purdue includes lots of online O'Reilly titles. It's a great resource. I even asked Charlotte in the Engineering library to add a few O'Reilly books to Purdue's Safari collection a few years ago when I was teaching a course using some O'Reilly titles, and she helped me quickly with this request. This is definitely a resource that I would love to see more people taking advantage of. Thank you for helping to raise awareness of this resource. Mark Mark Daniel Ward, Ph.D. Assistant Professor and Undergraduate Chair Department of Statistics Purdue University 150 North University Street West Lafayette, IN 47907-2067 mdw at purdue.edu phone: (765) 496-9563 On 8/25/10 11:31 AM, Mark Senn wrote: > In the message "quoted" below is a low is a list of ebooks from > O'Reilly on sale for $9.99. > > If you are at Purdue in West Lafayette (don't know about regional > campuses) you can read, for example, _Programming Collective > Intelligence_ by > o Going to http://www.lib.purdue.edu/ > o Click "Catalog" tab. > o Change "Keyword Anywhere" to "Title (omit initial a, an, the...)". > o Search for "Programming Collective Intelligence". > o Click on title of the book that has "Call Number: Internet". > o Click on "Connect to this resource online". > If you get "Session Unavailable" it is probably because there > are too many at Purdue using the online service. I'm going > to contact the library and encourage them to buy more service > in a few minutes. > > To go the O'Reilly Media's Books Online and see what books are > availble > Go to http://proquestcombo.safaribooksonline.com/ > Click on "START USING SAFARI". > Often, I got a > Session Unavailable message > You are signed out. > You are seeing this message due to one of the following conditions: > 1. Your account supports only one concurrent session per user, and > you have signed in a second time with the same credentials. Your > second sign in attempt disables the first session, gives you a new > session, and displays this message if you click in the browser > window of your first session. > 2. Your system as a limited number of sessions and there are currently > no sessions available. You can try signing in again. You will > succeed if a session is available. > 3. Your system has a limited number of sessions, your session > exceeded the timeout limit, and another user needed a session. You > can try signing in again. You will succeed if a session is available. > 4. Your system enforces a session timeout limit of 20 minutes and > your session exceeded the timeout limit. > I'll complain about that to the library also. > > -mark > >> From: Marsee Henon >> To: mark at purdue.edu >> Subject: UG News: 1 Day - $9.99 Exclusive - Top 10 "Ebook Deal of the Day" Geek Beach Reads >> Date: Wed, 25 Aug 2010 00:06:38 -0700 >> >> View in browser: http://post.oreilly.com/rd/9z1zquiu9r72bvtr0ka8r4ib9d9gqo74uoimo9q8v7o >> >> *** $9.99 Exclusive - Your Top 10 "Ebook Deal of the Day" Geek Beach Reads *** >> >> We asked O'Reilly customers to recommend their favorite O'Reilly Geek Beach Reads, and for one day only you can buy the top-ten titles for only $9.99 each. O'Reilly ebooks are DRM-free. You get free lifetime access, four file formats, free updates. Use discount code DDGRD in the shopping cart. Cheers! >> >> Being Geek >> The Software Developer's Career Handbook >> http://post.oreilly.com/rd/9z1zfvsa4pqeqpcenutathstns8bnj8jiipo96qj0v8 >> Was: $19.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z93kk1nm5hnkpnceis9bacpsiauk5ircssa8jbqo >> >> The Myths of Innovation >> http://post.oreilly.com/rd/9z1z63ip4i7kfb9n7dm48vib851hja9he5d7jcsrha8 >> Was: $14.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1zhpt5mgbvt66gcor6boad3qegla2iuubh3lvl08o >> >> Cooking for Geeks >> Real Science, Great Hacks, and Good Food >> http://post.oreilly.com/rd/9z1zr19v5boqh7c206ffj42v8crfp8kkls2fqlh6ms8 >> Was: $27.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1zehcs1tkhinud3l1hrb7jfe58j8iugj6kvkd34mo >> >> Revolution in The Valley >> The Insanely Great Story of How the Mac Was Made >> http://post.oreilly.com/rd/9z1zi9rg6c2hrumetqklmvhtknj8nogmfcvk74u2r48 >> Was: $19.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z2enrriq1s4b9t70n5783lm70qpj3s4lvra7hha0 >> >> Gamestorming >> A Playbook for Innovators, Rulebreakers, and Changemakers >> http://post.oreilly.com/rd/9z1zb46k4l7dbsu5uq7jav540fqsjka0sihkdogohb8 >> Was: $23.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z7qef75s603gt7a69dn91n9f0qanotpt7vfd084o >> >> The Productive Programmer >> http://post.oreilly.com/rd/9z1z9834dhf1be18rst1slc5ojg1jgdhh1mafg3d6i0 >> Was: $31.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1zf7ulg61ujl9g3s6j9vopk8g9gul9p2ue9626j4o >> >> High Performance JavaScript >> Build Faster Web Application Interfaces >> http://post.oreilly.com/rd/9z1zhhtfnkibjac8i5e2p3e4pcq2l6bv0s3g1lb0qa8 >> Was: $27.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1zstgb1je7d0c2phj33rj97me9o7086a2oh0bidl0 >> >> Search Patterns >> Design for Discovery >> http://post.oreilly.com/rd/9z1z4ldfksplo0gao3gk7kjo28oh9i83s8glbbfcgi0 >> Was: $31.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z13vuphdlvi8ao4s3ji96tio78k72kql57sra8fo >> >> Programming Collective Intelligence >> Building Smart Web 2.0 Applications >> http://post.oreilly.com/rd/9z1ztiiuj0qa055gfu207nf1edae0i5jph7gotlh3oo >> Was: $31.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z4tn62m118h971oihgnf48jp5ohqhc4eb8n6i1lo >> >> Beautiful Data >> The Stories Behind Elegant Data Solutions >> http://post.oreilly.com/rd/9z1z2s2ckvj088q8q6d9s4f6sfssp55dji42vbo1a98 >> Was: $35.99 >> Now: $9.99 >> Add to cart: http://post.oreilly.com/rd/9z1z2l3clqs2410s6hv50e10a8rmqskahc3iaunf8d8 >> >> Forward this announcement to a friend: http://post.oreilly.com/f2f/9z1zrj39v0afmkiib8d57eumtmqlkk6admoupj3lfjo >> >> -------------------------------------------------------------- >> >> O'Reilly - Spreading the knowledge of innovators | oreilly.com >> >> -------------------------------------------------------------- > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm > From gizmo at purdue.edu Wed Aug 25 10:34:36 2010 From: gizmo at purdue.edu (Joe Kline) Date: Wed, 25 Aug 2010 13:34:36 -0400 Subject: [Purdue-pm] Pascal's triangle Message-ID: <4C75542C.4070702@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I think Perl 6 itself will hurt my brain. http://perlgeek.de/blog-en/perl-6/pascal-triangle.html joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMdVQrb0mzA2gRTpkRAkPYAJ9MCJBJpPdrkRl4tUHvPF3QuE//1gCfWrQ8 1dqopO49Oi11uupN0TPKxJU= =yvvj -----END PGP SIGNATURE----- From bradley.d.andersen at gmail.com Wed Aug 25 10:38:33 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Wed, 25 Aug 2010 13:38:33 -0400 Subject: [Purdue-pm] Pascal's triangle In-Reply-To: <4C75542C.4070702@purdue.edu> References: <4C75542C.4070702@purdue.edu> Message-ID: Given I have not spent any time looking at it, at first glance: sub pascal { [1], -> @p { [0, @p Z+ @p, 0] } ... * }; troubles me greatly. That line of code is totally un-readable, and therefore completely useless to 95% or more of the population (that's a very scientific number, pulled right out of ..) People, even Larry Wall (praise be upon him), should NOT EVER code like this. \bda -- ? ? ? ? ? ? ?-- be like water -- ? ? ? ? ? ? ?-- On Wed, Aug 25, 2010 at 1:34 PM, Joe Kline wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I think Perl 6 itself will hurt my brain. > > http://perlgeek.de/blog-en/perl-6/pascal-triangle.html > > joe > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.5 (GNU/Linux) > Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org > > iD8DBQFMdVQrb0mzA2gRTpkRAkPYAJ9MCJBJpPdrkRl4tUHvPF3QuE//1gCfWrQ8 > 1dqopO49Oi11uupN0TPKxJU= > =yvvj > -----END PGP SIGNATURE----- > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm > From gribskov at purdue.edu Wed Aug 25 11:52:53 2010 From: gribskov at purdue.edu (Michael Gribskov) Date: Wed, 25 Aug 2010 14:52:53 -0400 Subject: [Purdue-pm] Pascal's triangle In-Reply-To: References: <4C75542C.4070702@purdue.edu> Message-ID: <4C756685.8040309@purdue.edu> I totally agree, given the amount of effort that goes into maintenance vs initial development, the length of the code is a very poor metric for quality. On 8/25/2010 1:38 PM, Bradley Andersen wrote: > Given I have not spent any time looking at it, at first glance: > sub pascal { [1], -> @p { [0, @p Z+ @p, 0] } ... * }; > > troubles me greatly. > > That line of code is totally un-readable, and therefore completely > useless to 95% or more of the population (that's a very scientific > number, pulled right out of ..) > > People, even Larry Wall (praise be upon him), should NOT EVER code like this. > > \bda > > > -- -- > be like water > -- -- > > > > On Wed, Aug 25, 2010 at 1:34 PM, Joe Kline wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> I think Perl 6 itself will hurt my brain. >> >> http://perlgeek.de/blog-en/perl-6/pascal-triangle.html >> >> joe >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.5 (GNU/Linux) >> Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org >> >> iD8DBQFMdVQrb0mzA2gRTpkRAkPYAJ9MCJBJpPdrkRl4tUHvPF3QuE//1gCfWrQ8 >> 1dqopO49Oi11uupN0TPKxJU= >> =yvvj >> -----END PGP SIGNATURE----- >> _______________________________________________ >> Purdue-pm mailing list >> Purdue-pm at pm.org >> http://mail.pm.org/mailman/listinfo/purdue-pm >> > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm -- Michael Gribskov Hockmeyer Hall of Structural Biology Purdue University 240 S. Martin Jischke Drive West Lafayette, IN 47907 gribskov at purdue.edu vox: 765.494.6933 fax: 765.496-1189 calendar: http://www.google.com/calendar/embed?src=mgribskov%40gmail.com From gizmo at purdue.edu Wed Aug 25 11:55:15 2010 From: gizmo at purdue.edu (Joe Kline) Date: Wed, 25 Aug 2010 14:55:15 -0400 Subject: [Purdue-pm] Pascal's triangle In-Reply-To: References: <4C75542C.4070702@purdue.edu> Message-ID: <4C756713.4090508@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bradley Andersen wrote: > Given I have not spent any time looking at it, at first glance: > sub pascal { [1], -> @p { [0, @p Z+ @p, 0] } ... * }; > > troubles me greatly. > > That line of code is totally un-readable, and therefore completely > useless to 95% or more of the population (that's a very scientific > number, pulled right out of ..) > > People, even Larry Wall (praise be upon him), should NOT EVER code like this. > > \bda I think the new meta-operators will be part of the grokking. I think there are 3 or 4 used in that line: - -> Z+ (might actually count as 2 since the + is modifying the Z) ... * at least I think -> is a meta-operator. I say it's only unreadable because we don't know the language. There were vast chunks of Perl 5 that I couldn't understand. I think why I've liked Perl is that you can have various dialects of it or at least different fluencies and still be useful (from baby-talk Perl all the way to crazy-insane golf Perl). Now, should this be production code? Don't know, depends upon how well your fellow coders know the language. joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMdWcTb0mzA2gRTpkRAtj4AJ9CY3QzSVvPy8PQUgvlY/CkTuPHHwCfar5T 3ZIZiCkxnqd8Bnj3waIu4M0= =WYD5 -----END PGP SIGNATURE----- From mark at purdue.edu Thu Aug 26 09:55:06 2010 From: mark at purdue.edu (Mark Senn) Date: Thu, 26 Aug 2010 12:55:06 -0400 Subject: [Purdue-pm] Rakudo Star 2010.08 released Message-ID: <28453.1282841706@pier.ecn.purdue.edu> >Date: Thu, 26 Aug 2010 11:11:07 -0500 >From: "Patrick R. Michaud" >To: perl6-compiler at perl.org, perl6-language at perl.org, perl6-users at perl.org, > parrot-dev at lists.parrot.org >Subject: Announce: Rakudo Star 2010.08 released > >On behalf of the Rakudo and Perl 6 development teams, I'm happy to >announce the August 2010 release of "Rakudo Star", a useful and usable >distribution of Perl 6. The tarball for the August 2010 release is >available from . > >Rakudo Star is aimed at "early adopters" of Perl 6. We know that >it still has some bugs, it is far slower than it ought to be, and >there are some advanced pieces of the Perl 6 language specification >that aren't implemented yet. But Rakudo Perl 6 in its current form >is also proving to be viable (and fun) for developing applications >and exploring a great new language. These "Star" releases are >intended to make Perl 6 more widely available to programmers, grow >the Perl 6 codebase, and gain additional end-user feedback about the >Perl 6 language and Rakudo's implementation of it. > >In the Perl 6 world, we make a distinction between the language >("Perl 6") and specific implementations of the language such as >"Rakudo Perl". The August 2010 Star release includes release #32 >of the Rakudo Perl 6 compiler [1], version 2.7.0 of the Parrot >Virtual Machine [2], and various modules, documentation, >and other resources collected from the Perl 6 community. > >This release of Rakudo Star adds the following features over the >previous Star release: > * Nil is now undefined > * Many regex modifiers are now recognized on the outside of regexes > * Mathematic and range operations are now faster (they're still slow, > but they're significantly faster than they were in the previous release) > * Initial implementations of .pack and .unpack > * MAIN can parse short arguments > * Removed a significant memory leak for loops and other repeated blocks > >This release (temporarily?) omits the Config::INI module that was >included in the 2010.07 release, as it no longer builds with the >shipped version of Rakudo. We hope to see Config::INI return soon. > >There are some key features of Perl 6 that Rakudo Star does not >yet handle appropriately, although they will appear in upcoming >releases. Thus, we do not consider Rakudo Star to be a >"Perl 6.0.0" or "1.0" release. Some of the not-quite-there >features include: > * nested package definitions > * binary objects, native types, pack and unpack > * typed arrays > * macros > * state variables > * threads and concurrency > * Unicode strings at levels other than codepoints > * pre and post constraints, and some other phasers > * interactive readline that understands Unicode > * backslash escapes in regex <[...]> character classes > * non-blocking I/O > * most of Synopsis 9 > * perl6doc or pod manipulation tools > >In many places we've tried to make Rakudo smart enough to inform the >programmer that a given feature isn't implemented, but there are >many that we've missed. Bug reports about missing and broken >features are welcomed. > >See http://perl6.org/ for links to much more information about >Perl 6, including documentation, example code, tutorials, reference >materials, specification documents, and other supporting resources. >An updated draft of a Perl 6 book is available as > in the release tarball. > >The development team thanks all of the contributors and sponsors >for making Rakudo Star possible. If you would like to contribute, >see , ask on the perl6-compiler at perl.org >mailing list, or join us on IRC #perl6 on freenode. > >Rakudo Star releases are created on a monthly cycle or as needed >in response to important bug fixes or improvements. The next planned >release of Rakudo Star will be on September 28, 2010. > >[1] http://github.com/rakudo/rakudo >[2] http://parrot.org/