From bradley.d.andersen at gmail.com Fri Jul 2 17:33:12 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Fri, 2 Jul 2010 20:33:12 -0400 Subject: [Purdue-pm] Mobile Programming Message-ID: Hi, Anybody with mobile programming experience @ Perl: what text, etc. would you suggest as a primer? Thanks! \bda From bradley.d.andersen at gmail.com Sat Jul 3 06:59:46 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Sat, 3 Jul 2010 09:59:46 -0400 Subject: [Purdue-pm] Mobile Programming In-Reply-To: <2064.1278165424@pier.ecn.purdue.edu> References: <2064.1278165424@pier.ecn.purdue.edu> Message-ID: Thank you, Mark, for your response; it looks like you put some thought into it; I appreciate that :) \bda On Sat, Jul 3, 2010 at 9:57 AM, Mark Senn wrote: > ?> Anybody with mobile programming experience @ Perl: what text, etc. > ?> would you suggest as a primer? > > ANSWER > > I don't know of any. ?Does anything from this Perl 5 CPAN search [1] > look relevant to you? > > WHAT I SUGGEST > > I like Perl 6 much better than Perl 5. > > If you aren't in a hurry to implement I suggest using Perl 6 [2-3]. ?I > recommend wating until Rakudo Star [4] is released "by July 29" [2] > before even trying Perl 6. ?I've been using or attempting to use Perl 6 > for years. ?At first the language implementation was so incompelete it > was impossible to use for anything non-trivial---now the language > implemention is more complete but there isn't complete/good user-level > documentation for it yet. ?I've been learning it from specifications, > bug reports, blog entries, etc. > > I did some Google searches looking for mobile inforamaition and found > much more for Java than Perl. ?Parrot Implementations for Java and Perl > 6 are being worked on [5]. ?From Parrot's "Design goals" [6]: > > ? ?Parrot is designed with the needs of dynamically typed languages > ? ?(such as Perl and Python) in mind, and should be able to run > ? ?programs written in these languages more efficiently than VMs > ? ?developed with static languages in mind (JVM, .NET). Parrot is > ? ?also designed to provide interoperability between languages > ? ?that compile to it. In theory, you will be able to write a class > ? ?in Perl, subclass it in Python and then instantiate and use that > ? ?subclass in a Tcl program. > > For years I've predicted Parrot will be built in to web browsers. > Today I found found other speculation about this [7-8]. > > [1] http://cpan.uwinnipeg.ca/search?query=mobile&mode=dist > [2] http://www.rakudo.org/ > [3] http://www.perl6.org/ > [4] http://www.perlfoundation.org/perl6/index.cgi?rakudo_star > [5] http://www.parrot.org/languages > [6] http://docs.parrot.org/parrot/latest/html/docs/intro.pod.html > [7] http://lists.parrot.org/pipermail/parrot-dev/2008-September/000011.html > [8] http://use.perl.org/~Ovid/journal/39323 > > -mark > From mark at purdue.edu Mon Jul 5 13:41:15 2010 From: mark at purdue.edu (Mark Senn) Date: Mon, 05 Jul 2010 16:41:15 -0400 Subject: [Purdue-pm] latest Perl 6 try Message-ID: <20970.1278362475@pier.ecn.purdue.edu> Purdue Perl Mongers, I got the latest Perl 6 from the "Get Rakudo" tab at www.rakudo.org yesterday. I'm still having trouble gettng Joe Kline's 1-5 A 6 B 7-12 C 13-20 D 21-25 E 26-30 F challenge problem working the way I want. In the meantime I thought you might be interested in the example of how to define and use classes: #!/home/sw/=perl6/rakudo/parrot_install/bin/perl6 use v6; class Device { has $.name; } class Dimmer is Device { has $.value is rw; method set($value) { (0.0 <= $value <= 1.0) ?? ($.value = $value) !! (die "cannot set dimmer value to $value"); } } class Switch is Device { has $.value is rw; method set($value) { ($value == 0 | 1) ?? ($.value = $value) !! (die "cannot set switch value to $value"); } } my $d = Dimmer.new(name => 'dimmer 1', value => 0.0); say 'place 1 .name = ', $d.name, ' .value = ', $d.value; $d.set(0.5); say 'place 2 .name = ', $d.name, ' .value = ', $d.value; my $s = Switch.new(name => 'switch 1', value => 0); say 'place 1 .name = ', $s.name, ' .value = ', $s.value; $s.set(1); say 'place 2 .name = ', $s.name, ' .value = ', $s.value; This is the very start of some home automation stuff I'm doing...don't know if I'll continue it or not. -mark From westerman at purdue.edu Tue Jul 13 14:19:14 2010 From: westerman at purdue.edu (Rick Westerman) Date: Tue, 13 Jul 2010 17:19:14 -0400 Subject: [Purdue-pm] Tech meeting next week, Tues July 20. Message-ID: <4C3CD852.1020508@purdue.edu> Hi PMers! The technical meeting is in a week. Tuesday, July 20th, in WSLR 116 from 11:30 to 1:00 or so. On the schedule is a YAPC::2010 summary by Joe Kline. Derrick said that he would present Taverna as a workflow solution. This might tie into the HubZero project that he works on. I said that I would do the same for Galaxy which is workflow for Genomics programs. The current challenge problem is 'data presentation'. See http://lab.genomics.purdue.edu/~westerm/PMDB for the details as well as for a simple solution. If we have time I will go through the challenge problem and my simple solution (which is not Perl based although it does use a program written in Perl.) Hum. 3 out of our 4 talks do not have anything to do directly with Perl. Guess we are branching out! -- 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 gizmo at purdue.edu Wed Jul 14 07:25:19 2010 From: gizmo at purdue.edu (Joe Kline) Date: Wed, 14 Jul 2010 10:25:19 -0400 Subject: [Purdue-pm] Tech meeting next week, Tues July 20. In-Reply-To: <4C3CD852.1020508@purdue.edu> References: <4C3CD852.1020508@purdue.edu> Message-ID: <4C3DC8CF.3000209@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 If I get things together I'll give a summary of YAPC::NA::2010 joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMPcjOb0mzA2gRTpkRAmhgAJ9/lXfEw3W9hjPDO1wRf0gFK9RJewCdHWIC TTpVE5XTaXilEKpuLostR8c= =cFtM -----END PGP SIGNATURE----- From derrick at csociety.org Sun Jul 18 20:52:33 2010 From: derrick at csociety.org (derrick) Date: Sun, 18 Jul 2010 23:52:33 -0400 Subject: [Purdue-pm] Tech meeting next week, Tues July 20. In-Reply-To: <4C3CD852.1020508@purdue.edu> References: <4C3CD852.1020508@purdue.edu> Message-ID: <4C43CC01.20006@csociety.org> On 07/13/2010 05:19 PM, Rick Westerman wrote: > Derrick said that he would present Taverna as a workflow solution. This > might tie into the HubZero project that he works on. > I'll have to postpone my presentation. Last week I suffered a groin and back injury and I'm still healing. I won't be able to make it on campus this week. I can give the presentation at the August meeting. Apologies for the delay. dsk From mark at ecn.purdue.edu Mon Jul 19 07:19:02 2010 From: mark at ecn.purdue.edu (Mark Senn) Date: Mon, 19 Jul 2010 10:19:02 -0400 Subject: [Purdue-pm] Tech meeting next week, Tues July 20. In-Reply-To: <4C43CC01.20006@csociety.org> References: <4C3CD852.1020508@purdue.edu> <4C43CC01.20006@csociety.org> Message-ID: <9091.1279549142@pier.ecn.purdue.edu> > I'll have to postpone my [Taverna -mark] presentation. I removed Derrick's "Taverna" talk from the schedule [1] and added my "Installing Rakudo Perl 6 on Fedora Linux" lightning talk [2] to the schedule. [1] http://pm.purdue.org/Wiki/wiki.pl/UpcomingMeetings [2] http://en.wikipedia.org/wiki/Lightning_Talk Mark Senn From bradley.d.andersen at gmail.com Mon Jul 19 08:07:04 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Mon, 19 Jul 2010 11:07:04 -0400 Subject: [Purdue-pm] Mason + AJAX Help Message-ID: Hi, I have a script I am working on, with lots of custom stuff, here: http://dev.organiccodefarm.com/perl/washing_machine.pl If you choose a brand from the drop-down, then hit 'Search', you'll see a table with some results relevant to the brand chosen. I want to be able to sort the columns 'Efficiency' and 'Capacity' asce/desc thru a toggle mechanism on their s. I.e., you click on 'Efficiency', it sorts the results by efficiency ascending; you click on it again, it sorts the results descending, etc. I have done this kind of thing before, but not with pages constructed from Mason, and it is giving me a bit of trouble. Any suggestions? Thank you, \bda From bradley.d.andersen at gmail.com Mon Jul 19 11:36:50 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Mon, 19 Jul 2010 14:36:50 -0400 Subject: [Purdue-pm] Mason + AJAX Help In-Reply-To: References: Message-ID: I have decided to do this in a non-AJAX way, so the question is no longer active :) Thanks to those who answered, \bda On Mon, Jul 19, 2010 at 11:07 AM, Bradley Andersen wrote: > Hi, > > I have a script I am working on, with lots of custom stuff, here: > http://dev.organiccodefarm.com/perl/washing_machine.pl > > If you choose a brand from the drop-down, then hit 'Search', you'll > see a table with some results relevant to the brand chosen. ?I want to > be able to sort the columns 'Efficiency' and 'Capacity' asce/desc thru > a toggle mechanism on their s. ?I.e., you click on 'Efficiency', > it sorts the results by efficiency ascending; you click on it again, > it sorts the results descending, etc. > > I have done this kind of thing before, but not with pages constructed > from Mason, and it is giving me a bit of trouble. > > Any suggestions? > > Thank you, > \bda > From jacoby.david at gmail.com Tue Jul 20 08:45:54 2010 From: jacoby.david at gmail.com (Dave Jacoby) Date: Tue, 20 Jul 2010 11:45:54 -0400 Subject: [Purdue-pm] Perl Mongers Tuesday is NOW Message-ID: Four of us are here, and Rick will be coming soon. -- David Jacoby? ?? jacoby.david at gmail.com From westerman at purdue.edu Tue Jul 20 10:43:02 2010 From: westerman at purdue.edu (Rick Westerman) Date: Tue, 20 Jul 2010 13:43:02 -0400 Subject: [Purdue-pm] Perl Mongers Tuesday is NOW In-Reply-To: References: Message-ID: <4C45E026.1080005@purdue.edu> Today we have a very nice report from Joe on the recent YAPC -- bottom line: nice talks and very nice people. Then Mark gave a short report on the state of Perl 6 and the lack of documentation -- bottom line: not ready for prime time. I went through the 'data presentation' challenge problem and my Template::Toolkit solution -- bottom line: TT is harder to get correct than I thought. Dave then presented his Javascript/CSS solution to the challenge problem -- bottom line: looks nice; are there JS templates that could be used? Next month. More on Perl 6, Derrick's and my talks on Taverna and Galaxy, more on the challenge problem. -- 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 bradley.d.andersen at gmail.com Tue Jul 20 10:49:30 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Tue, 20 Jul 2010 13:49:30 -0400 Subject: [Purdue-pm] Perl Mongers Tuesday is NOW In-Reply-To: <4C45E026.1080005@purdue.edu> References: <4C45E026.1080005@purdue.edu> Message-ID: Maybe I'll get what my mom called a "swift kick in the pants" for this question, but: We've all seen horrible and non-existent documentation for $cool_new_thing. BUT WHY?? Perl 6 has been in development for what, 10 years now? There is no excuse for the documentation to not be there. I would say this about any platform. When you write something you expect others to use, tell them what the flip it does and how the flip to use it. I simply don't understand this. \bda On Tue, Jul 20, 2010 at 1:43 PM, Rick Westerman wrote: > Today we have a very nice report from Joe on the recent YAPC -- bottom line: > nice talks and very nice people. > > Then Mark gave a short report on the state of Perl 6 and the lack of > documentation -- bottom line: not ready for prime time. > > I went through the 'data presentation' challenge problem and my > Template::Toolkit solution -- bottom line: TT is harder to get correct than > I thought. > > Dave then presented his Javascript/CSS solution to the challenge problem -- > bottom line: ?looks nice; are there JS templates that could be used? > > Next month. ?More on Perl 6, Derrick's and my talks on Taverna and Galaxy, > more on the challenge problem. > > > -- > 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 > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm > From jacoby at purdue.edu Tue Jul 20 12:15:40 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Tue, 20 Jul 2010 15:15:40 -0400 Subject: [Purdue-pm] Fwd: Re: Perl Mongers Tuesday is NOW Message-ID: <4C45F5DC.5080905@purdue.edu> -------- Original Message -------- Subject: Re: [Purdue-pm] Perl Mongers Tuesday is NOW Date: Tue, 20 Jul 2010 14:49:35 -0400 From: Dave jacoby To: Bradley Andersen That's not unreasonable. To a certain extent, I'm in agreement with you. But there is a difference between design and implementation. Perl[1..5] has one implementation, the master implementation. There was no specification. Perl behaves like Perl behaves. Perl6 comes from a specification. That specification is what Larry started dealing with 10 years ago. Rakudo is an implementation of Perl 6, an instance of the Perl 6 standard, and one (like all others) which is still in progress. It's built on the Parrot virtual machine, which is also still in progress, I think. As it's still in progress, the people working on it are narrowly worried on their specific parts, not documenting the greater whole. Yes, it is a PITA. Yes, it keeps many from playing with it much less using it in production environments. I personally going to wait until Mark says nice things about Rakudo (or whatever implementation works best) for 3 Perl Monger meetings in a row before I start to even think about diving in. But I'm still glad to hear there's progress, which, honestly, I didn't hear was happening at all for years. On 07/20/2010 01:49 PM, Bradley Andersen wrote: > Maybe I'll get what my mom called a "swift kick in the pants" for this > question, but: > > We've all seen horrible and non-existent documentation for > $cool_new_thing. BUT WHY?? Perl 6 has been in development for what, > 10 years now? There is no excuse for the documentation to not be > there. I would say this about any platform. > > When you write something you expect others to use, tell them what the > flip it does and how the flip to use it. > > I simply don't understand this. > > \bda > > On Tue, Jul 20, 2010 at 1:43 PM, Rick Westerman wrote: >> Today we have a very nice report from Joe on the recent YAPC -- bottom line: >> nice talks and very nice people. >> >> Then Mark gave a short report on the state of Perl 6 and the lack of >> documentation -- bottom line: not ready for prime time. >> >> I went through the 'data presentation' challenge problem and my >> Template::Toolkit solution -- bottom line: TT is harder to get correct than >> I thought. >> >> Dave then presented his Javascript/CSS solution to the challenge problem -- >> bottom line: looks nice; are there JS templates that could be used? >> >> Next month. More on Perl 6, Derrick's and my talks on Taverna and Galaxy, >> more on the challenge problem. >> >> >> -- >> 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 >> _______________________________________________ >> 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 -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From mark at purdue.edu Fri Jul 23 07:48:47 2010 From: mark at purdue.edu (Mark Senn) Date: Fri, 23 Jul 2010 10:48:47 -0400 Subject: [Purdue-pm] Rakudo Perl 6 #31 released Message-ID: <997.1279896527@pier.ecn.purdue.edu> Perl 6 is a specification. Perl 6 is a complete redesign of Perl 5 language but still "feels like" Perl. Regular expressions (now called rules), object-oriented programming, parsing grammars, and many other things have been improved. I've been trying to use Perl 6 at home for years but the implementations or documentation have been lacking. Rakudo Perl 6 is an in-progress Perl 6 implementation that's improving _rapidly_. Rakudo Star will be (from http://use.perl.org/~pmichaud/journal/39411): an "official", intermediate, useful and usable release of Perl 6 (an appropriate subset). According to Rakudo's home page at http://www.rakudo.org Rakudo Star will be released by July 29. >From http://www.parrot.org/: Parrot is a virtual machine designed to efficiently compile and execute bytecode for dynamic languages. Parrot currently hosts a variety of language implementations in various stages of completion, including Tcl, Javascript, Ruby, Lua, Scheme, PHP, Python, Perl 6, APL, and a .NET bytecode translator. Parrot is not about parrots, though we are rather fond of them for obvious reasons. From http://docs.parrot.org (cont. on next line) /parrot/latest/html/docs/book/pct/ch03_compiler_tools.pod.html: Parrot has a robust system for interfacing with external native code libraries, such as those commonly written in C, C++, Fortran and other compiled languages. Where previously every interpreter would need to maintain its own bindings and interfaces to libraries, Parrot enables developers to write library bindings once and use them seamlessly from any language executing on Parrot. Want to use Tcl's Tk libraries, along with Python's image manipulation libraries in a program you are writing in Perl? Parrot supports that. >Date: Fri, 23 Jul 2010 00:21:13 -0400 >Subject: Announce: Rakudo Perl 6 compiler development release #31 ("Atlanta") >From: Will Coleda >To: Perl6 , perl6-announce at perl.org, > perl6-users at perl.org >Cc: parrot-dev at lists.parrot.org > >On behalf of the Rakudo development team, I'm happy to announce the >July 2010 development release of Rakudo Perl #31 "Atlanta". >Rakudo is an implementation of Perl 6 on the Parrot Virtual Machine >(see ). The tarball for the July 2010 release >is available from . > >Please note: This is not the Rakudo Star release, which is scheduled >for July 29, 2010 [1]. The Star release will include the compiler, an >installer, modules, a book (PDF), and more. > >The Rakudo Perl compiler follows a monthly release cycle, with each >release named after a Perl Mongers group. The July 2010 release is code >named "Atlanta" in recognition of Atlanta.pm and their Perl 5 Phalanx >project [2], which they selected for its benefits to Perl 6. > >Some of the specific changes and improvements occurring with this >release include: > >* Rakudo now properly constructs closures in most instances. > >* Undefined objects can now autovivify into arrays or hashes when > subscripted with .[ ] or .{ } . > >* Arrays can now handle infinite ranges. > >* Generic, multi-level Whatever-currying now works, e.g. (1, 1, *+* ... *). > >* The REPL shell now remembers lexical declarations in susbsequent lines. > >* The open() subroutine now returns a Failure instead of throwing > a fatal exception. > >* Rakudo now provides $*ARGFILES for reading from files specified > on the command line. > >* Added $*PERL, moved %*VM to $*VM. > >* Simple binding operators := and ::= now work. > >* Simple feed operators <== and ==> now work. > >For a more detailed list of changes see "docs/ChangeLog". > >The development team thanks all of our contributors and sponsors for >making Rakudo Perl possible, as well as those people who worked on >parrot, the Perl 6 test suite and the specification. > >The following people contributed to this release: Patrick R. Michaud, >Jonathan Worthington, Moritz Lenz, Solomon Foster, Carl Masak, Bruce >Gray, Martin Berends, chromatic, Will "Coke" Coleda, Matthew (lue), >Timothy Totten, maard, Kodi Arfer, TimToady, Stephen Weeks, Patrick Abi >Salloum, snarkyboojum, Radu Stoica, Vyacheslav Matjukhin, Andrew >Whitworth, cognominal, Tyler Curtis, Alex Kapranoff, Ingy d?t Net, Lars >D?????? ???, mathw, lue, ???????? ??????? > >If you would like to contribute, see , >ask on the perl6-compiler at perl.org mailing list, or ask on IRC #perl6 >on freenode. > >The next release of Rakudo (#32) is scheduled for August 19, 2010. A >list of the other planned release dates and codeo names for 2010 is >available in the "docs/release_guide.pod" file. In general, Rakudo >development releases are scheduled to occur two days after each Parrot >monthly release. Parrot releases the third Tuesday of each month. > >Have fun! > >[1] http://rakudo.org/node/73 >[2] http://code.google.com/p/atlanta-pm-code/ > >-- >Will "Coke" Coleda -mark From mark at purdue.edu Mon Jul 26 06:57:26 2010 From: mark at purdue.edu (Mark Senn) Date: Mon, 26 Jul 2010 09:57:26 -0400 Subject: [Purdue-pm] Perl 6, Padre, etc. Message-ID: <23178.1280152646@pier.ecn.purdue.edu> The following information is from Gabor Szabo. See his website at http://szabgab.com/ for some Perl 6 example code. How to connect to the #perl6 IRC channel and try one line Perl 6 statements online: http://szabgab.com/blog/2010/07/1279932344.html Connecting to the Padre (Perl Application Development and Refactoring Environment---a Perl Integrated Development Environment) and other Perl (5, I think) related IRC channels: http://szabgab.com/blog/2010/07/1280012145.html -mark From jacoby at purdue.edu Mon Jul 26 07:46:55 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Mon, 26 Jul 2010 10:46:55 -0400 Subject: [Purdue-pm] Perl 6, Padre, etc. In-Reply-To: <23178.1280152646@pier.ecn.purdue.edu> References: <23178.1280152646@pier.ecn.purdue.edu> Message-ID: <4C4D9FDF.5060408@purdue.edu> I have installed Padre, but that was several time-units ago and I wasn't impressed. Under Linux, I use Komodo-Edit a lot and vi a lot more*. Under Windows, the best I've used is UltraEdit but I don't code on Windows enough to justify buying a license. The one I use most these days is Notepad++. My experience with the Visual Studio 6.0 IDE has generally put me off IDEs, but I last dealt with that environment a little over five years ago. (I've touched the .NET IDE but not since then and not for real work.) My understanding that the call for a Perl IDE is largely an "Eat Your Dogfood" issue, meaning that, if we support Perl, we should use tools written in Perl in every practical purpose. I'm not overly compelled by that argument, and I'm unwilling to dive whole-heartedly into an untested editor when some clearly powerful and high-quality editors (vi, emacs) and acceptable in terms of power and quality editors (GEdit, Komodo Edit) are already available. But I could be wrong. Has anyone used Padre? Has anyone moved to it as their primary editor? Any good reports? Anyone want to talk about it at a meeting? * Not intending to rekindle any vi/emacs fight here. On 07/26/2010 09:57 AM, Mark Senn wrote: > The following information is from Gabor Szabo. See his website at > http://szabgab.com/ for some Perl 6 example code. > > How to connect to the #perl6 IRC channel and try one line Perl 6 statements > online: > http://szabgab.com/blog/2010/07/1279932344.html > > Connecting to the Padre (Perl Application Development and Refactoring > Environment---a Perl Integrated Development Environment) and other Perl > (5, I think) related IRC channels: > http://szabgab.com/blog/2010/07/1280012145.html > > -mark > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From bradley.d.andersen at gmail.com Mon Jul 26 07:59:30 2010 From: bradley.d.andersen at gmail.com (Bradley Andersen) Date: Mon, 26 Jul 2010 10:59:30 -0400 Subject: [Purdue-pm] Perl 6, Padre, etc. In-Reply-To: <4C4D9FDF.5060408@purdue.edu> References: <23178.1280152646@pier.ecn.purdue.edu> <4C4D9FDF.5060408@purdue.edu> Message-ID: Ha! Last time I spoke* with someone about vi vs. emacs, she said, "You can't have evil without vi." \bda * 'spoke' = fought On Mon, Jul 26, 2010 at 10:46 AM, Dave jacoby wrote: > I have installed Padre, but that was several time-units ago and I wasn't > impressed. Under Linux, I use Komodo-Edit a lot and vi a lot more*. Under > Windows, the best I've used is UltraEdit but I don't code on Windows enough > to justify buying a license. The one I use most these days is Notepad++. > > My experience with the Visual Studio 6.0 IDE has generally put me off IDEs, > but I last dealt with that environment a little over five years ago. (I've > touched the .NET IDE but not since then and not for real work.) > > My understanding that the call for a Perl IDE is largely an "Eat Your > Dogfood" issue, meaning that, if we support Perl, we should use tools > written in Perl in every practical purpose. I'm not overly compelled by that > argument, and I'm unwilling to dive whole-heartedly into an untested editor > when some clearly powerful and high-quality editors (vi, emacs) and > acceptable in terms of power and quality editors (GEdit, Komodo Edit) are > already available. > > But I could be wrong. > > Has anyone used Padre? Has anyone moved to it as their primary editor? Any > good reports? Anyone want to talk about it at a meeting? > > * Not intending to rekindle any vi/emacs fight here. > > On 07/26/2010 09:57 AM, Mark Senn wrote: >> >> The following information is from Gabor Szabo. ?See his website at >> http://szabgab.com/ for some Perl 6 example code. >> >> How to connect to the #perl6 IRC channel and try one line Perl 6 >> statements >> online: >> ? ? http://szabgab.com/blog/2010/07/1279932344.html >> >> Connecting to the Padre (Perl Application Development and Refactoring >> Environment---a Perl Integrated Development Environment) and other Perl >> (5, I think) related IRC channels: >> ? ? http://szabgab.com/blog/2010/07/1280012145.html >> >> -mark >> _______________________________________________ >> Purdue-pm mailing list >> Purdue-pm at pm.org >> http://mail.pm.org/mailman/listinfo/purdue-pm > > > -- > Dave Jacoby ? ? ? ? ? ? ? ? ? ? ? ? Address: WSLR S049 > Genomics Core Programmer ? ? ? ? ? ?Mail: ? ?jacoby at purdue.edu > Purdue University ? ? ? ? ? ? ? ? ? Phone: ? 765.49.67368 > _______________________________________________ > Purdue-pm mailing list > Purdue-pm at pm.org > http://mail.pm.org/mailman/listinfo/purdue-pm > From gribskov at purdue.edu Mon Jul 26 08:07:19 2010 From: gribskov at purdue.edu (Michael Gribskov) Date: Mon, 26 Jul 2010 11:07:19 -0400 Subject: [Purdue-pm] Perl 6, Padre, etc. In-Reply-To: <4C4D9FDF.5060408@purdue.edu> References: <23178.1280152646@pier.ecn.purdue.edu> <4C4D9FDF.5060408@purdue.edu> Message-ID: <4C4DA4A7.2020903@purdue.edu> i haven't tried padre. to add to your list however, I routinely use eclipse with the EPIC plugin. works from mac, pc, or unix, and has the same interface for java and C as well. also supports CVS and has a integrated debugger. On 7/26/2010 10:46 AM, Dave jacoby wrote: > I have installed Padre, but that was several time-units ago and I > wasn't impressed. Under Linux, I use Komodo-Edit a lot and vi a lot > more*. Under Windows, the best I've used is UltraEdit but I don't code > on Windows enough to justify buying a license. The one I use most > these days is Notepad++. > > My experience with the Visual Studio 6.0 IDE has generally put me off > IDEs, but I last dealt with that environment a little over five years > ago. (I've touched the .NET IDE but not since then and not for real > work.) > > My understanding that the call for a Perl IDE is largely an "Eat Your > Dogfood" issue, meaning that, if we support Perl, we should use tools > written in Perl in every practical purpose. I'm not overly compelled > by that argument, and I'm unwilling to dive whole-heartedly into an > untested editor when some clearly powerful and high-quality editors > (vi, emacs) and acceptable in terms of power and quality editors > (GEdit, Komodo Edit) are already available. > > But I could be wrong. > > Has anyone used Padre? Has anyone moved to it as their primary editor? > Any good reports? Anyone want to talk about it at a meeting? > > * Not intending to rekindle any vi/emacs fight here. > > On 07/26/2010 09:57 AM, Mark Senn wrote: >> The following information is from Gabor Szabo. See his website at >> http://szabgab.com/ for some Perl 6 example code. >> >> How to connect to the #perl6 IRC channel and try one line Perl 6 >> statements >> online: >> http://szabgab.com/blog/2010/07/1279932344.html >> >> Connecting to the Padre (Perl Application Development and Refactoring >> Environment---a Perl Integrated Development Environment) and other Perl >> (5, I think) related IRC channels: >> http://szabgab.com/blog/2010/07/1280012145.html >> >> -mark >> _______________________________________________ >> 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 Mon Jul 26 08:52:06 2010 From: gizmo at purdue.edu (Joe Kline) Date: Mon, 26 Jul 2010 11:52:06 -0400 Subject: [Purdue-pm] Perl 6, Padre, etc. In-Reply-To: <4C4D9FDF.5060408@purdue.edu> References: <23178.1280152646@pier.ecn.purdue.edu> <4C4D9FDF.5060408@purdue.edu> Message-ID: <4C4DAF26.9090508@purdue.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The thing about IDE's in general is that it "knows" the language you are writing and be helpful. Padre is not just meant to be written in Perl for Perl programmers but to be an IDE that really helps you write Perl. I haven't used Padre much because my fingers know vi too well. :-) I think there is a vi binding/plugin so that you edit like in vi but use the Padre tools and such. I've been meaning to try out Padre but I just haven't forced myself to do that just yet. It's partly a toolchain thing (don't want to contaminate by work machine with a custom Perl install but there are some nifty tools: perlbrew, cpanm, local::lib, that make it much easier) because Padre can be a bit heavy. Maybe I'll take the dive this week and see if it will cause me to stray from vi. Actually some of the work done in Padre has flowed into vim. In fact, vim has enough plugins and such to really give Padre a run for its money...but you need to know how to program vi to really do some cool stuff. With Padre you just need to know how to program Perl. joe -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFMTa8lb0mzA2gRTpkRAnnSAJ9VMGxjitnkLgIZoUJJ7ZYOGZXJowCgiXnJ m3FcxdFZaRGP+JVcEgl2nwo= =0aRr -----END PGP SIGNATURE----- From mark at purdue.edu Thu Jul 29 12:50:55 2010 From: mark at purdue.edu (Mark Senn) Date: Thu, 29 Jul 2010 15:50:55 -0400 Subject: [Purdue-pm] compiled Rakudo Star without problems Message-ID: <11286.1280433055@pier.ecn.purdue.edu> See http://www.rakudo.org/announce/rakudo-star/2010.07 for how to get Rakudo Star, a a useful, usable, "early adopter" distribution of Perl 6. I installed it on Red Hat 5 Linux and ran a 'hello, world' program without problems. I plan to try Perl 6 first when writing all new software and only revert to Perl 5 if necessary. -mark From jacoby at purdue.edu Fri Jul 30 07:11:27 2010 From: jacoby at purdue.edu (Dave jacoby) Date: Fri, 30 Jul 2010 10:11:27 -0400 Subject: [Purdue-pm] Rakudo Star Message-ID: <4C52DD8F.1050000@purdue.edu> Tried it on my Ubuntu box. Wouldn't make. Too busy with other stuff to really figure out why yet. Considering putting the MSI on my netbook, though. -- Dave Jacoby Address: WSLR S049 Genomics Core Programmer Mail: jacoby at purdue.edu Purdue University Phone: 765.49.67368 From mark at purdue.edu Fri Jul 30 19:07:40 2010 From: mark at purdue.edu (Mark Senn) Date: Fri, 30 Jul 2010 22:07:40 -0400 Subject: [Purdue-pm] Perl 6 example: print missing home directories Message-ID: <1382.1280542060@resolute.ecn.purdue.edu> #!/home/pier/e/mark/=sw/redhat5/x86/bin/perl6 # # t.p6 2010-07-30 Mark Senn http://engineering.purdue.edu/~mark # # One way to print the login and homedir for all missing home directories # on Linux or Solaris. # # Usage: # t.pl # my $fn = '/etc/passwd'; my $fh = open $fn, :r; for $fh.lines { my ($login,$homedir) = $_.split(':')[0,5]; $homedir.IO.e or printf "%-8s %s\n", $login, $homedir; }