From choward at indicium.us Tue Jul 1 20:45:08 2008 From: choward at indicium.us (Christopher Howard) Date: Tue, 01 Jul 2008 19:45:08 -0800 Subject: SPUG: Just subscribed to list Message-ID: <486AF9C4.60903@indicium.us> Hello. My name is Christopher and I started learning Perl several months ago. I actually live in Alaska, not the Seattle area, but the Anchorage pug seems to be in an indefinite state of disrepair. I was hoping I could find the help and support I needed on this mailing list. -------------- next part -------------- A non-text attachment was scrubbed... Name: choward.vcf Type: text/x-vcard Size: 160 bytes Desc: not available URL: From m3047 at inwa.net Tue Jul 1 22:59:37 2008 From: m3047 at inwa.net (Fred Morris) Date: Tue, 1 Jul 2008 22:59:37 -0700 Subject: SPUG: Just subscribed to list In-Reply-To: <486AF9C4.60903@indicium.us> References: <486AF9C4.60903@indicium.us> Message-ID: <200807012259.38205.m3047@inwa.net> Yo! I think Anchorage has a longer help list than we can help with.. although there's probably plenty that at least some contingent of the locals likes just fine. Ask/muse/rant away.... On Tuesday 01 July 2008 20:45, Christopher Howard wrote: > [...] I actually live in Alaska, [...] but the Anchorage pug > seems to be in an indefinite state of disrepair. I was hoping I could > find the help and support I needed on this mailing list. > From m3047 at inwa.net Tue Jul 1 22:59:37 2008 From: m3047 at inwa.net (Fred Morris) Date: Tue, 1 Jul 2008 22:59:37 -0700 Subject: SPUG: Just subscribed to list In-Reply-To: <486AF9C4.60903@indicium.us> References: <486AF9C4.60903@indicium.us> Message-ID: <200807012259.38205.m3047@inwa.net> Yo! I think Anchorage has a longer help list than we can help with.. although there's probably plenty that at least some contingent of the locals likes just fine. Ask/muse/rant away.... On Tuesday 01 July 2008 20:45, Christopher Howard wrote: > [...] I actually live in Alaska, [...] but the Anchorage pug > seems to be in an indefinite state of disrepair. I was hoping I could > find the help and support I needed on this mailing list. > From cmeyer at helvella.org Fri Jul 11 14:38:02 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Fri, 11 Jul 2008 14:38:02 -0700 Subject: SPUG: Meeting Announcement -- 15 July 2008 In-Reply-To: <20080701030858.GC10113@infula.helvella.org> References: <20080701030858.GC10113@infula.helvella.org> Message-ID: <20080711213802.GF7418@infula.helvella.org> Reminder, next Tuesday, July 15, is our next meeting. It's going to be a good one. -Colin. On Mon, Jun 30, 2008 at 08:08:59PM -0700, Colin Meyer wrote: > July 2008 Seattle Perl Users Group (SPUG) Meeting > ==================================================== > > Topic: Moose > Speaker: Doug Treder > Meeting Date: Tuesday, 15 July 2008 > Meeting Time: 6:30 - 8:30 p.m. > Location: Marchex - 4th & Pine > > Cost: Admission is free and open to the public > Info: http://seattleperl.org/ > > ==================================================== > > Tuesday, July 15th, is the next meeting of the THE SEATTLE PERL > USERS GROUP. > > For July's SPUG meeting, we get to hear Doug Treder speak about Moose, a > (post)modern object system for Perl5. Doug has previously presented this > talk for for Amazon, IMDb, and the University of Washington Perl > Certificate class, and is excited to give it again for SPUG. > > http://search.cpan.org/dist/Moose/ > > Doug is a member of the IMBb team, and is also well known as the > organizer and primary instructor of the UW Extension Perl Certification > courses. Many SPUGgers (as well as many more non-SPUGgers) have attended > those excellent classes. > > http://dynamicacademy.net/ > > Pre-Meeting > ================ > > If you are so inclined, please come to the pre-meeting at the Elephant & > Castle pub on 5th & Union. We'll be there from 5-6:15PM. > > Meeting Location > ================ > > Pizza and Beer will be provided at the meeting. > > Marchex > 413 Pine St, Suite 500 > Seattle, WA 98101 > > Contact: Jackie Wolfstone - 206-491-8072 > > The building is just south of Westlake Center. Enter on 4th Avenue, near > Pine street. The entry is near the Dog In The Park hotdog stand. > > http://www.baylis.org/static/marchex.png > > Due to all of the shopping around us there is plenty of parking > available in garages, but it can be hard to find street parking in > the evening. From twists at gmail.com Sat Jul 12 14:18:48 2008 From: twists at gmail.com (Joshua ben Jore) Date: Sat, 12 Jul 2008 14:18:48 -0700 Subject: SPUG: Meeting Announcement -- 15 July 2008 In-Reply-To: <20080701030858.GC10113@infula.helvella.org> References: <20080701030858.GC10113@infula.helvella.org> Message-ID: On Mon, Jun 30, 2008 at 8:08 PM, Colin Meyer wrote: > July 2008 Seattle Perl Users Group (SPUG) Meeting > ==================================================== > > Topic: Moose > Speaker: Doug Treder > Meeting Date: Tuesday, 15 July 2008 > Meeting Time: 6:30 - 8:30 p.m. > Location: Marchex - 4th & Pine > > Cost: Admission is free and open to the public > Info: http://seattleperl.org/ > > ==================================================== > > Tuesday, July 15th, is the next meeting of the THE SEATTLE PERL > USERS GROUP. > > For July's SPUG meeting, we get to hear Doug Treder speak about Moose, a > (post)modern object system for Perl5. Doug has previously presented this > talk for for Amazon, IMDb, and the University of Washington Perl > Certificate class, and is excited to give it again for SPUG. Is the talk online anywhere? Josh From m3047 at inwa.net Sat Jul 12 14:38:20 2008 From: m3047 at inwa.net (Fred Morris) Date: Sat, 12 Jul 2008 14:38:20 -0700 Subject: SPUG: sockets, EWOULDBLOCK, classic textbook code In-Reply-To: <20080701030858.GC10113@infula.helvella.org> References: <20080701030858.GC10113@infula.helvella.org> Message-ID: <200807121438.20558.m3047@inwa.net> Here is some textbook code from the _Perl Cookbook_, 17.13, "Non-Forking Servers": if ($rv == length $outbuffer{$client} || $! == POSIX::EWOULDBLOCK) { substr($outbuffer{$client}, 0, $rv) = ''; delete $outbuffer{$client} unless length $outbuffer{$client}; } else { # Couldn't write all the data, and it wasn't because # it would have blocked. Shutdown and move on. delete $inbuffer{$client}; delete $outbuffer{$client}; delete $ready{$client}; $select->remove($client); close($client); next; } I ran into a situation where it seemed like processes which were writing (and reading, but let's keep it simple) would die and packet traces confirmed no FINs had been sent their way and there's no evidence that there has been any sort of timeout or an excessive number of retries. So I started wondering "hrmmm.. is EWOULDBLOCK not getting set? how can I test that?" and it dawned on me that there was a simple change to the above which as far as I can determine is non-harmful: if ($rv > 0 || ... This didn't make the problem entirely go away entirely but it did reduce its rate of occurrence. I put some additional error reporting code before the close and that hasn't revealed some other informative message in $!. So, I don't know what's going on, I just thought I'd toss it out in case it's useful for anyone else or if anyone else has any insight. This is Fedora on an Intel 64 bit processor (linux 2.6.23.17-88.fc7, gcc 4.1.2, posix threads, perl 5.8.8). The machine which the code was running on has plenty of memory and disk and isn't particularly busy. It's talking to a machine which is cranking through a lot of I/O and the network link is the bottleneck. -- Fred Morris From dtreder at gmail.com Sat Jul 12 18:17:21 2008 From: dtreder at gmail.com (Doug Treder) Date: Sat, 12 Jul 2008 18:17:21 -0700 Subject: SPUG: Meeting Announcement -- 15 July 2008 In-Reply-To: References: <20080701030858.GC10113@infula.helvella.org> Message-ID: <487957A1.60608@gmail.com> I'll post a slideshow online at the time of the talk, if not before (and send a link to the SPUG list). However, the pizza and beer will definitely taste better at the meeting in person. :) -Doug Treder Joshua ben Jore wrote: >> Topic: Moose >> Meeting Date: Tuesday, 15 July 2008 >> Meeting Time: 6:30 - 8:30 p.m. >> > Is the talk online anywhere? > > Josh From andrew at sweger.net Mon Jul 14 20:45:13 2008 From: andrew at sweger.net (Andrew Sweger) Date: Mon, 14 Jul 2008 20:45:13 -0700 (PDT) Subject: SPUG: Meeting Announcement -- 15 July 2008 Message-ID: From: Jackie Wolfstone Sent: Monday, July 14, 2008 3:01 PM To: spug-list at pm.org Subject: Re: SPUG: Meeting Announcement -- 15 July 2008 For SPUG Meeting, July 15th at Marchex, I'll have conflicting plans, and so the other Marchex Recruiter - Kathie Turo - will be the main contact tomorrow evening. Kathie can be reached at: 206-697-2269 This cell number will be posted on the entrance of our building as well, Thanks! Jackie Jackie Wolfstone IT Recruiting Manager 206-331-3645 jwolfstone at marchex.com Join the Local Revolution! http://www.marchex.com/careers/ Check out our blog: http://www.localpoint.com/ From amitsett at gmail.com Mon Jul 14 21:09:37 2008 From: amitsett at gmail.com (Amit Sett) Date: Mon, 14 Jul 2008 21:09:37 -0700 Subject: SPUG: Meeting Announcement -- 15 July 2008 In-Reply-To: References: Message-ID: <1271C4FD-CD0C-47D6-AFA8-92142DB37AC6@gmail.com> I won't be able to attend as I have a TiE meeting that very day and time. I would appreciate seeing the slides for tomorrow's talk. Regards, Amit Sent from my iPhone On Jul 14, 2008, at 8:45 PM, Andrew Sweger wrote: > > From: Jackie Wolfstone > Sent: Monday, July 14, 2008 3:01 PM > To: spug-list at pm.org > Subject: Re: SPUG: Meeting Announcement -- 15 July 2008 > > > For SPUG Meeting, July 15th at Marchex, > > I'll have conflicting plans, and so the other Marchex Recruiter - > Kathie > Turo - will be the main contact tomorrow evening. > > Kathie can be reached at: 206-697-2269 > > This cell number will be posted on the entrance of our building as > well, > > > Thanks! Jackie > > > Jackie Wolfstone > IT Recruiting Manager > 206-331-3645 > jwolfstone at marchex.com > > Join the Local Revolution! http://www.marchex.com/careers/ > > Check out our blog: http://www.localpoint.com/ > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ From dtreder at gmail.com Wed Jul 16 10:52:20 2008 From: dtreder at gmail.com (Doug Treder) Date: Wed, 16 Jul 2008 10:52:20 -0700 Subject: SPUG: Moose talk slides online Message-ID: <13fc2edf0807161052y2b3b0dd9q3fd44c08e8c09f11@mail.gmail.com> Hi everyone, thanks for attending my talk on Moose last night at the Seattle Perl Users Group. It was great to have so many smart people together to discuss it. The slides are online and released CC on my website: http://www.dynamicacademy.net There's PDF and HTML versions available - if you would like the Keynote originals, let me know separately and I'll send you the most up-to-date version. Moose is under very active development by several fabulous developers, so bugs are fixed quickly, new features are still being added, and discussion is welcome. I'd highly recommend subscribing to http://news.gmane.org/gmane.comp.lang.perl.moose today. They also welcome questions and design suggestions, and it's a really friendly group. If' you'd like to keep reading and learning about Moose and metaclass theory (after joining the newsgroup), the last few slides have links for additional reading, which I'll repeat here: Moose http://search.cpan.org/dist/Moose/lib/Moose.pm Class::MOP http://search.cpan.org/dist/Class-MOP/lib/Class/MOP.pm Cookbook WTF http://search.cpan.org/dist/Moose/lib/Moose/Cookbook/WTF.pod Cookbook FAQ http://search.cpan.org/dist/Moose/lib/Moose/Cookbook/FAQ.pod More theory: Super and Inner (Method Modifiers) http://www.cs.utah.edu/plt/publications/oopsla04-gff.pdf Putting Metaclasses to Work http://www.amazon.com/Putting-Metaclasses-Work-Ira-Forman/dp/0201433052 Uniform Metaclass Composition http://www.iam.unibe.ch/~scg/Archive/Papers/Duca05ySafeMetaclassTrait.pdf Safe Metaclass Programming http://citeseer.ist.psu.edu/37617.html More Moose Articles and Presentations http://www.iinteractive.com/moose/ Moose As Necessary Dependency http://blog.jrock.us/articles/Myth:%20Moose%20is%20an%20unnecessary%20dependency.pod Writing Read-Eval-Print Loop(Moose Tutorial) http://chainsawblues.vox.com/library/post/a-perl-read-excute-print-loop-repl.html Moose Extensions http://search.cpan.org/search?query=MooseX&mode=all MooseX::Getopt http://search.cpan.org/dist/MooseX-Getopt/lib/MooseX/Getopt.pm MooseX::Params::Validate http://search.cpan.org/dist/MooseX-Params-Validate/ MooseX::StrictConstructor http://search.cpan.org/dist/MooseX-StrictConstructor/ MooseX::Storage http://search.cpan.org/dist/MooseX-Storage/ Thanks also to Marchex for hosting and the snacks! It's a great location for getting together. Doug Treder http://dynamicacademy.net http://imdb.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From twists at gmail.com Wed Jul 16 11:56:22 2008 From: twists at gmail.com (Joshua ben Jore) Date: Wed, 16 Jul 2008 11:56:22 -0700 Subject: SPUG: Attach a remote debugger to an unsuspecting perl process Message-ID: I was telling someone about this last night and thought I'd share the code I wrote last night after the event. It /almost/ works. I think I'm using ptys wrong or something like that. When I run it, some things I expected Expect to send to gdb didn't arrive until I intervened manually. Buffering or some such. This will probably show up in a future version of Enbugger. In one terminal wait for a debugger to show up from the network. nc -l -p 8361 In another, attach brain slugs to your perl. pdb --pid 11423 --host localhost --port 8361 Josh -------------- next part -------------- A non-text attachment was scrubbed... Name: pdb Type: application/octet-stream Size: 3971 bytes Desc: not available URL: From choward at indicium.us Tue Jul 22 21:55:14 2008 From: choward at indicium.us (Christopher Howard) Date: Tue, 22 Jul 2008 20:55:14 -0800 Subject: SPUG: Programming diagramming software Message-ID: <4886B9B2.1090701@indicium.us> The other day I looked at a programming book and it showed this cool little system for diagramming your programming; uses squares, diamonds, and arrows, and such. I was wondering if anyone knew of any open-source programs that could help me make those diagrams very quickly. I did a Google search but mostly found proprietary packages. I'm mainly interested in programs that work in Linux, but I also wouldn't mind having one for the Windows computer that I (unfortunately am required to) use at work. -------------- next part -------------- A non-text attachment was scrubbed... Name: choward.vcf Type: text/x-vcard Size: 160 bytes Desc: not available URL: From billw at onedrous.org Tue Jul 22 22:19:10 2008 From: billw at onedrous.org (Bill Warner) Date: Tue, 22 Jul 2008 22:19:10 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <4886B9B2.1090701@indicium.us> References: <4886B9B2.1090701@indicium.us> Message-ID: <4886BF4E.2030107@onedrous.org> I use Open Office for drawing diagrams and also emacs artist-mode. I see there's an open source package called Dia specifically targeted at diagramming software, but I've never used it myself. b Christopher Howard wrote: > The other day I looked at a programming book and it showed this cool > little system for diagramming your programming; uses squares, > diamonds, and arrows, and such. > I was wondering if anyone knew of any open-source programs that could > help me make those diagrams very quickly. I did a Google search but > mostly found proprietary packages. I'm mainly interested in programs > that work in Linux, but I also wouldn't mind having one for the > Windows computer that I (unfortunately am required to) use at work. > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ From haircut at gmail.com Tue Jul 22 22:47:41 2008 From: haircut at gmail.com (Adam Monsen) Date: Tue, 22 Jul 2008 22:47:41 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <4886BF4E.2030107@onedrous.org> References: <4886B9B2.1090701@indicium.us> <4886BF4E.2030107@onedrous.org> Message-ID: <9ebd65110807222247w67bacf9dk6d49080185e498ad@mail.gmail.com> Dia is fine. I'd try graphviz... it's pretty dang cool, programmer-friendly, and I believe it can do flowcharty-type stuff. http://flickr.com/photos/kentbye/1156409446/in/set-72157601523153827/ -- Adam Monsen From haircut at gmail.com Tue Jul 22 22:58:21 2008 From: haircut at gmail.com (Adam Monsen) Date: Tue, 22 Jul 2008 22:58:21 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <9ebd65110807222247w67bacf9dk6d49080185e498ad@mail.gmail.com> References: <4886B9B2.1090701@indicium.us> <4886BF4E.2030107@onedrous.org> <9ebd65110807222247w67bacf9dk6d49080185e498ad@mail.gmail.com> Message-ID: <9ebd65110807222258j3d77c6f4qde97fb519b9474c8@mail.gmail.com> On Tue, Jul 22, 2008 at 10:47 PM, Adam Monsen wrote: > I'd try graphviz... it's pretty dang cool, programmer-friendly, and I > believe it can do flowcharty-type stuff. Here's a great example of a flowchart done in dot notation (from here: http://tinyurl.com/5bgrd2 ) digraph G { {node[shape=box] process1 process2 process3} {node[shape=diamond] decision1} start -> process1 -> decision1 process2 -> process3 -> end decision1 -> process3 [label=n] decision1 -> process2 [label=y] } output: http://img59.imageshack.us/my.php?image=outhm3.png command line used: dot -Tpng < in.dot > out.png On Ubuntu, "sudo apt-get install graphviz" provides the "dot" program. -- Adam Monsen From rick.croote at philips.com Tue Jul 22 23:37:08 2008 From: rick.croote at philips.com (Croote, Rick) Date: Wed, 23 Jul 2008 08:37:08 +0200 Subject: SPUG: Moose talk slides online In-Reply-To: <13fc2edf0807161052y2b3b0dd9q3fd44c08e8c09f11@mail.gmail.com> References: <13fc2edf0807161052y2b3b0dd9q3fd44c08e8c09f11@mail.gmail.com> Message-ID: <6A00D845EC61DF46810F2D5BCB5F6E04323290ADB8@NLCLUEXM06.connect1.local> I was so sorry to not have attended this meeting. I was especially interested considering I've setup our own "Class" implementation that has solved many problems where I work. I was interested in the Moose interface and I am pretty excited after what I have seen going through the presentation. After discussing this with my team I decided to go to the next step and try it. Uhhh, that didn't work so well. It was installing many many (did I say many) modules many of them seemed to fail to install or required versions of modules that are not even available. Anybody else using Win32 Activestate version 5.8.8 that could not get this to work? I didn't see any requirements indicating that it would not. From: spug-list-bounces+rick.croote=philips.com at pm.org [mailto:spug-list-bounces+rick.croote=philips.com at pm.org] On Behalf Of Doug Treder Sent: 2008 Jul 16 10:52 AM To: spug-list at pm.org Cc: stevan.little at iinteractive.com Subject: SPUG: Moose talk slides online Hi everyone, thanks for attending my talk on Moose last night at the Seattle Perl Users Group. It was great to have so many smart people together to discuss it. The slides are online and released CC on my website: http://www.dynamicacademy.net There's PDF and HTML versions available - if you would like the Keynote originals, let me know separately and I'll send you the most up-to-date version. Moose is under very active development by several fabulous developers, so bugs are fixed quickly, new features are still being added, and discussion is welcome. I'd highly recommend subscribing to http://news.gmane.org/gmane.comp.lang.perl.moose today. They also welcome questions and design suggestions, and it's a really friendly group. If' you'd like to keep reading and learning about Moose and metaclass theory (after joining the newsgroup), the last few slides have links for additional reading, which I'll repeat here: Moose http://search.cpan.org/dist/Moose/lib/Moose.pm Class::MOP http://search.cpan.org/dist/Class-MOP/lib/Class/MOP.pm Cookbook WTF http://search.cpan.org/dist/Moose/lib/Moose/Cookbook/WTF.pod Cookbook FAQ http://search.cpan.org/dist/Moose/lib/Moose/Cookbook/FAQ.pod More theory: Super and Inner (Method Modifiers) http://www.cs.utah.edu/plt/publications/oopsla04-gff.pdf Putting Metaclasses to Work http://www.amazon.com/Putting-Metaclasses-Work-Ira-Forman/dp/0201433052 Uniform Metaclass Composition http://www.iam.unibe.ch/~scg/Archive/Papers/Duca05ySafeMetaclassTrait.pdf Safe Metaclass Programming http://citeseer.ist.psu.edu/37617.html More Moose Articles and Presentations http://www.iinteractive.com/moose/ Moose As Necessary Dependency http://blog.jrock.us/articles/Myth:%20Moose%20is%20an%20unnecessary%20dependency.pod Writing Read-Eval-Print Loop(Moose Tutorial) http://chainsawblues.vox.com/library/post/a-perl-read-excute-print-loop-repl.html Moose Extensions http://search.cpan.org/search?query=MooseX&mode=all MooseX::Getopt http://search.cpan.org/dist/MooseX-Getopt/lib/MooseX/Getopt.pm MooseX::Params::Validate http://search.cpan.org/dist/MooseX-Params-Validate/ MooseX::StrictConstructor http://search.cpan.org/dist/MooseX-StrictConstructor/ MooseX::Storage http://search.cpan.org/dist/MooseX-Storage/ Thanks also to Marchex for hosting and the snacks! It's a great location for getting together. Doug Treder http://dynamicacademy.net http://imdb.com ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From byoung at speakeasy.org Wed Jul 23 03:52:20 2008 From: byoung at speakeasy.org (Bradley E. Young) Date: Wed, 23 Jul 2008 10:52:20 +0000 Subject: SPUG: Programming diagramming software In-Reply-To: <4886B9B2.1090701@indicium.us> References: <4886B9B2.1090701@indicium.us> Message-ID: <943905559-1216810342-cardhu_decombobulator_blackberry.rim.net-1685405314-@bxe183.bisx.prod.on.blackberry> Christopher, While you asked for linux and open source, I wanted to offer that I've had good luck with using MS Visio and win32:: OLE. The hardest part is understanding how the documentation (which is extensive, but could be better written) maps to the reality of programming against the object model. That and the joy that is COM. Bradley -----Original Message----- From: Christopher Howard Date: Tue, 22 Jul 2008 20:55:14 To: Seattle Perl Users Group; aklug Subject: SPUG: Programming diagramming software The other day I looked at a programming book and it showed this cool little system for diagramming your programming; uses squares, diamonds, and arrows, and such. I was wondering if anyone knew of any open-source programs that could help me make those diagrams very quickly. I did a Google search but mostly found proprietary packages. I'm mainly interested in programs that work in Linux, but I also wouldn't mind having one for the Windows computer that I (unfortunately am required to) use at work. From ghawk at eskimo.com Wed Jul 23 07:47:50 2008 From: ghawk at eskimo.com (ghawk at eskimo.com) Date: Wed, 23 Jul 2008 07:47:50 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <4886B9B2.1090701@indicium.us> Message-ID: <011f01c8ecd3$194e36f0$6401a8c0@GARYHA1> I used this the other day and got the job done quickly: http://bubbl.us/view.php?sid=7990&pw=ya71XC6HwyNHkMSRXYzRDWS9jUldxLg > -----Original Message----- > From: spug-list-bounces+ghawk=eskimo.com at pm.org [mailto:spug-list- > bounces+ghawk=eskimo.com at pm.org] On Behalf Of Christopher Howard > Sent: Tuesday, July 22, 2008 9:55 PM > To: Seattle Perl Users Group; aklug > Subject: SPUG: Programming diagramming software > > The other day I looked at a programming book and it showed this cool > little system for diagramming your programming; uses squares, diamonds, > and arrows, and such. > > I was wondering if anyone knew of any open-source programs that could > help me make those diagrams very quickly. I did a Google search but > mostly found proprietary packages. I'm mainly interested in programs > that work in Linux, but I also wouldn't mind having one for the Windows > computer that I (unfortunately am required to) use at work. From janert at ieee.org Wed Jul 23 06:36:54 2008 From: janert at ieee.org (Philipp K. Janert) Date: Wed, 23 Jul 2008 06:36:54 -0700 Subject: SPUG: Programming diagramming software Message-ID: <200807230636.54798.janert@ieee.org> You can usese PIC - it was written specifically for your intended purpose. Shameless plug: http://www.onlamp.com/pub/a/onlamp/2007/06/21/in-praise-of-pic.html More references in the cited article. Best, Ph. From jon at hogue.org Wed Jul 23 09:33:00 2008 From: jon at hogue.org (Jonathan Hogue) Date: Wed, 23 Jul 2008 09:33:00 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <011f01c8ecd3$194e36f0$6401a8c0@GARYHA1> References: <4886B9B2.1090701@indicium.us> <011f01c8ecd3$194e36f0$6401a8c0@GARYHA1> Message-ID: That's pretty cool. Wish it were an open source API instead of an app though. Jonathan Hogue jon at hogue.org 740-474-9170 On Wed, Jul 23, 2008 at 7:47 AM, wrote: > I used this the other day and got the job done quickly: > > http://bubbl.us/view.php?sid=7990&pw=ya71XC6HwyNHkMSRXYzRDWS9jUldxLg > >> -----Original Message----- >> From: spug-list-bounces+ghawk=eskimo.com at pm.org [mailto:spug-list- >> bounces+ghawk=eskimo.com at pm.org] On Behalf Of Christopher Howard >> Sent: Tuesday, July 22, 2008 9:55 PM >> To: Seattle Perl Users Group; aklug >> Subject: SPUG: Programming diagramming software >> >> The other day I looked at a programming book and it showed this cool >> little system for diagramming your programming; uses squares, diamonds, >> and arrows, and such. >> >> I was wondering if anyone knew of any open-source programs that could >> help me make those diagrams very quickly. I did a Google search but >> mostly found proprietary packages. I'm mainly interested in programs >> that work in Linux, but I also wouldn't mind having one for the Windows >> computer that I (unfortunately am required to) use at work. > > > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > From cos at indeterminate.net Wed Jul 23 14:25:19 2008 From: cos at indeterminate.net (John Costello) Date: Wed, 23 Jul 2008 14:25:19 -0700 (PDT) Subject: SPUG: Moose talk slides online In-Reply-To: <6A00D845EC61DF46810F2D5BCB5F6E04323290ADB8@NLCLUEXM06.connect1.local> Message-ID: On Wed, 23 Jul 2008, Croote, Rick wrote: > available. Anybody else using Win32 Activestate version 5.8.8 that > could not get this to work? I didn't see any requirements indicating > that it would not. Which build of 5.8.8 do you have? Using 5.8.8 build 822, and the PPM repository at , I was able to install Moose using the GUI PPM just fine. This is on WinXP SP2 with no compiler installed (dunno if that makes a difference). John From michaelrwolf at att.net Wed Jul 23 15:39:12 2008 From: michaelrwolf at att.net (Michael R. Wolf) Date: Wed, 23 Jul 2008 22:39:12 +0000 Subject: SPUG: Programming diagramming software In-Reply-To: <200807230636.54798.janert@ieee.org> Message-ID: <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> A comment at the end of the article said "don't forget about dot". I used dot (or dotty) to create some (massive) function call diagrams a while ago for a local aircraft manufacurer. (Apparently, they like code and loops as big as their airplanes: 2,000 line programs, with 600+ loops 7 levels deep. Did I mention "flush-left" style? Ugly code that needed reverse engineering and some places to grab hold of it.) I forget how I extracted the call dependencies, but once I did, it was a simple matter to feed that as data into dot(1) or dotty(1). The algorithm behaved as though bubbles repeled each other, but arcs acted like rubber bands, so the graph was fairly readable. There were about 3-5 different algorithms to allow different kinds of attraction/repulsion. P.S. Of course, this code wasn't written by a company, just a person. My job was to unravel it. dotty(1) helped a lot, especially since they had huge plotters that would create wall-sized graphs as reference. P.P.S. I used dot(1) and dotty(1) on *nix systems, but I bet they're also on cygwin for XP use. -- Michael R. Wolf MichaelRWolf at att.net All mammals learn by playing. -------------- Original message from "Philipp K. Janert" : -------------- > > You can usese PIC - it was written specifically for > your intended purpose. > > Shameless plug: > http://www.onlamp.com/pub/a/onlamp/2007/06/21/in-praise-of-pic.html > > More references in the cited article. > > Best, > > Ph. > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rick.croote at philips.com Wed Jul 23 15:54:31 2008 From: rick.croote at philips.com (Croote, Rick) Date: Thu, 24 Jul 2008 00:54:31 +0200 Subject: SPUG: Moose talk slides online In-Reply-To: References: <6A00D845EC61DF46810F2D5BCB5F6E04323290ADB8@NLCLUEXM06.connect1.local> Message-ID: <6A00D845EC61DF46810F2D5BCB5F6E04323290B1F9@NLCLUEXM06.connect1.local> I have 822 as well. I thought the link was http://trouchelle.com/ppm, not perl/ppm. I will give that a try tonight as I'm having firewall issues here at work. Thank you and I'll report back how it went. -----Original Message----- From: John Costello [mailto:cos at indeterminate.net] Sent: 2008 Jul 23 2:25 PM To: Croote, Rick; spug-list at pm.org Subject: Re: SPUG: Moose talk slides online On Wed, 23 Jul 2008, Croote, Rick wrote: > available. Anybody else using Win32 Activestate version 5.8.8 that > could not get this to work? I didn't see any requirements indicating > that it would not. Which build of 5.8.8 do you have? Using 5.8.8 build 822, and the PPM repository at , I was able to install Moose using the GUI PPM just fine. This is on WinXP SP2 with no compiler installed (dunno if that makes a difference). John The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. From rick.croote at philips.com Wed Jul 23 21:05:42 2008 From: rick.croote at philips.com (Croote, Rick) Date: Thu, 24 Jul 2008 06:05:42 +0200 Subject: SPUG: Moose talk slides online In-Reply-To: References: <6A00D845EC61DF46810F2D5BCB5F6E04323290ADB8@NLCLUEXM06.connect1.local> Message-ID: <6A00D845EC61DF46810F2D5BCB5F6E04323290B304@NLCLUEXM06.connect1.local> Ok, finally got PPM to work by setting the Repository to "http://trouchelle.com/ppm/package.xml". Leaving off the package.xml didn't work, many other combinations that were in the documentation didn't work. This with Perl 5.8.8 build 822 and PPM4. At least Moose is now installed so I can try it out. Thank you for your help. -----Original Message----- From: John Costello [mailto:cos at indeterminate.net] Sent: 2008 Jul 23 2:25 PM To: Croote, Rick; spug-list at pm.org Subject: Re: SPUG: Moose talk slides online On Wed, 23 Jul 2008, Croote, Rick wrote: > available. Anybody else using Win32 Activestate version 5.8.8 that > could not get this to work? I didn't see any requirements indicating > that it would not. Which build of 5.8.8 do you have? Using 5.8.8 build 822, and the PPM repository at , I was able to install Moose using the GUI PPM just fine. This is on WinXP SP2 with no compiler installed (dunno if that makes a difference). John The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. From michaelrwolf at att.net Wed Jul 23 21:17:37 2008 From: michaelrwolf at att.net (Michael R. Wolf) Date: Thu, 24 Jul 2008 04:17:37 +0000 Subject: SPUG: Programming diagramming software In-Reply-To: References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> Message-ID: <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> ------------- Original message from "craig at seaperl.com" : -------------- You know perltidy can be very useful for those annoying little legacy systems. Check it out as it comes standard with perl. Yes, perltidy(1) was my friend, but since they didn't even have a source code control system, they didn't want me changing the code. My job was analysis and reverse engineering only. (Of course, I copied the code elsewhere for my analysis. Perltidy was job #1). Unfortunately, I think it broke some of the code. It's been years, so I don't remember the particulars, and I could even be mistaken there. Anyone heard of perltidy(1) *changing* code instead of just *formatting* it? -- Michael R. Wolf MichaelRWolf at att.net All mammals learn by playing. -- Michael R. Wolf MichaelRWolf at att.net All mammals learn by playing. On Wed, Jul 23, 2008 at 3:39 PM, Michael R. Wolf wrote: A comment at the end of the article said "don't forget about dot". I used dot (or dotty) to create some (massive) function call diagrams a while ago for a local aircraft manufacurer. (Apparently, they like code and loops as big as their airplanes: 2,000 line programs, with 600+ loops 7 levels deep. Did I mention "flush-left" style? Ugly code that needed reverse engineering and some places to grab hold of it.) I forget how I extracted the call dependencies, but once I did, it was a simple matter to feed that as data into dot(1) or dotty(1). The algorithm behaved as though bubbles repeled each other, but arcs acted like rubber bands, so the graph was fairly readable. There were about 3-5 different algorithms to allow different kinds of attraction/repulsion. P.S. Of course, this code wasn't written by a company, just a person. My job was to unravel it. dotty(1) helped a lot, especially since they had huge plotters that would create wall-sized graphs as reference. P.P.S. I used dot(1) and dotty(1) on *nix systems, but I bet they're also on cygwin for XP use. -- Michael R. Wolf MichaelRWolf at att.net All mammals learn by playing. -------------- Original message from "Philipp K. Janert" : -------------- > > You can usese PIC - it was written specifically for > your intended purpose. > > Shameless plug: > http://www.onlamp.com/pub/a/onlamp/2007/06/21/in-praise-of-pic.html > > More references in the cited article. > > Best, > > Ph. > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ _____________________________________________________________ Seattle Perl Users Group Mailing List POST TO: spug-list at pm.org SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list MEETINGS: 3rd Tuesdays WEB PAGE: http://seattleperl.org/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From jarich at perltraining.com.au Wed Jul 23 21:40:57 2008 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Thu, 24 Jul 2008 14:40:57 +1000 Subject: SPUG: Programming diagramming software In-Reply-To: <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> Message-ID: <488807D9.3010105@perltraining.com.au> Michael R. Wolf wrote: > Unfortunately, I think it broke some of the code. It's been years, so I > don't remember the particulars, and I could even be mistaken there. > > Anyone heard of perltidy(1) *changing* code instead of just *formatting* it? Perltidy didn't make code *changes*, but it was known - in now very old versions - to occasionally break code it didn't parse correctly. Test cases for such situations were few and far between; but I understand that the perltidy developers and testers are a) confident such issues don't arise anymore and b) very eager to find out if they're wrong about that. ;) All the very best, Jacinta -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From cmeyer at helvella.org Wed Jul 23 22:11:58 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Wed, 23 Jul 2008 22:11:58 -0700 Subject: SPUG: White Camel Award In-Reply-To: <488807D9.3010105@perltraining.com.au> References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <488807D9.3010105@perltraining.com.au> Message-ID: <20080724051158.GF4406@infula.helvella.org> Jacinta, Congratulations on the well deserved White Camel Award! Also, I've always wanted to say, awesome ascii art in your sig. :) For those like me, not lucky enough to be at OSCON this year, you can read about it here: http://use.perl.org/articles/08/07/23/0444225.shtml The other White Camel recipients were Tatsuhiko Miyagawa and Gabor Szabo. -Colin. On Thu, Jul 24, 2008 at 02:40:57PM +1000, Jacinta Richardson wrote: [...] > > All the very best, > > Jacinta > > -- > ("`-''-/").___..--''"`-._ | Jacinta Richardson | > `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | > (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | > _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | > (il),-'' (li),' ((!.-' | www.perltraining.com.au | From jarich at perltraining.com.au Wed Jul 23 22:54:15 2008 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Thu, 24 Jul 2008 15:54:15 +1000 Subject: SPUG: White Camel Award In-Reply-To: <20080724051158.GF4406@infula.helvella.org> References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <488807D9.3010105@perltraining.com.au> <20080724051158.GF4406@infula.helvella.org> Message-ID: <48881907.8000103@perltraining.com.au> Colin Meyer wrote: > Congratulations on the well deserved White Camel Award! Thankyou, I haven't stopped smiling yet. J -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From michaelrwolf at att.net Thu Jul 24 09:42:17 2008 From: michaelrwolf at att.net (Michael R. Wolf) Date: Thu, 24 Jul 2008 16:42:17 +0000 Subject: SPUG: Programming diagramming software In-Reply-To: <488807D9.3010105@perltraining.com.au> References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <488807D9.3010105@perltraining.com.au> Message-ID: <072420081642.14927.4888B0E9000A1A7300003A4F22218801869B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> Thanks for the historical insight of perltidy. On another note, it's often quoted that "Only perl parses Perl". Does that mean that perltidy is built on perl, "the" Perl parser? I had been under the impression that perltidy did some kind of heuristic parsing, and could therefore be incorrect. The docs don't specify how it's parsed. Anyone know the guts? P.S. Congrats on the award.... -- Michael R. Wolf MichaelRWolf at att.net All mammals learn by playing -------------- next part -------------- An HTML attachment was scrubbed... URL: From cos at indeterminate.net Thu Jul 24 11:03:22 2008 From: cos at indeterminate.net (John Costello) Date: Thu, 24 Jul 2008 11:03:22 -0700 (PDT) Subject: SPUG: Moose talk slides online In-Reply-To: <6A00D845EC61DF46810F2D5BCB5F6E04323290B1F9@NLCLUEXM06.connect1.local> Message-ID: On Thu, 24 Jul 2008, Croote, Rick wrote: > I have 822 as well. I thought the link was http://trouchelle.com/ppm, not perl/ppm. I will give that a try tonight as I'm having firewall issues here at work. You are right - I typed in the link instead of cutting and pasting or giving the wiser advice of "use the command-line 'ppm rep add' commands on http://trouchelle.com/perl/ppmrepview.pl." > Thank you and I'll report back how it went. > > -----Original Message----- > From: John Costello [mailto:cos at indeterminate.net] > Sent: 2008 Jul 23 2:25 PM > To: Croote, Rick; spug-list at pm.org > Subject: Re: SPUG: Moose talk slides online > > On Wed, 23 Jul 2008, Croote, Rick wrote: > > available. Anybody else using Win32 Activestate version 5.8.8 that > > could not get this to work? I didn't see any requirements indicating > > that it would not. > > Which build of 5.8.8 do you have? > > Using 5.8.8 build 822, and the PPM repository at > , I was able to install Moose using the > GUI PPM just fine. This is on WinXP SP2 with no compiler installed (dunno > if that makes a difference). > > John > > > > The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. > ---- Today is a good day to turn off the computer and read a book. From cos at indeterminate.net Thu Jul 24 11:05:45 2008 From: cos at indeterminate.net (John Costello) Date: Thu, 24 Jul 2008 11:05:45 -0700 (PDT) Subject: SPUG: White Camel Award In-Reply-To: <20080724051158.GF4406@infula.helvella.org> Message-ID: On Wed, 23 Jul 2008, Colin Meyer wrote: > Jacinta, > > Congratulations on the well deserved White Camel Award! Yes, congratulations (and many thanks for the online tutorials)! From choward at indicium.us Thu Jul 24 14:57:29 2008 From: choward at indicium.us (Christopher Howard) Date: Thu, 24 Jul 2008 13:57:29 -0800 Subject: SPUG: Regarding Perl and file transfers Message-ID: <4888FAC9.8090405@indicium.us> Since I started learning Perl, I've focused almost exclusively on Perl CGI. I'm just starting to learn about networking with Perl. I want to create scripts to do all the computer-to-computer backups on my personal LAN. My first thought was to use SFTP because it secure and it is easy to set up an SFTP server. And I saw Net::SFTP so I thought I'd learn how to use that. Right away I ran into problems using Net::SFTP. It is probably either the way that I installed it or the way I tried to use it. But nevertheless, I notice that Net::SFTP is only on version 0.10... So I take that to mean that Perl programmers do not commonly use SFTP for communicating files with their scripts. Then, what protocol is commonly used? Do I need to learn to make those complicated-looking scripts for creating socket connections? I would appreciate it if some one could point me in the right direction. -------------- next part -------------- A non-text attachment was scrubbed... Name: choward.vcf Type: text/x-vcard Size: 140 bytes Desc: not available URL: From cmeyer at helvella.org Thu Jul 24 15:29:25 2008 From: cmeyer at helvella.org (Colin Meyer) Date: Thu, 24 Jul 2008 15:29:25 -0700 Subject: SPUG: Regarding Perl and file transfers In-Reply-To: <4888FAC9.8090405@indicium.us> References: <4888FAC9.8090405@indicium.us> Message-ID: <20080724222925.GI4406@infula.helvella.org> On Thu, Jul 24, 2008 at 01:57:29PM -0800, Christopher Howard wrote: > Since I started learning Perl, I've focused almost exclusively on Perl > CGI. I'm just starting to learn about networking with Perl. > > I want to create scripts to do all the computer-to-computer backups on > my personal LAN. My first thought was to use SFTP because it secure and > it is easy to set up an SFTP server. And I saw Net::SFTP so I thought > I'd learn how to use that. While I like using Perl for many computer tasks, machine to machine backups are perhaps best accomplished with an off-the-shelf solution. I use rsync to backup a directory tree from one machine to another. One nice thing about rsync is that it copies blockwise diffs of files, so it only transmits changed data each time you sync. If security is a concern, you can configure rsync to use an encrypted channel via ssh. > > Right away I ran into problems using Net::SFTP. It is probably either > the way that I installed it or the way I tried to use it. But > nevertheless, I notice that Net::SFTP is only on version 0.10... > > So I take that to mean that Perl programmers do not commonly use SFTP > for communicating files with their scripts. Version numbers of CPAN modules can be a funny thing. I use some modules that have a pretty low version number. If I'm concerned about the maturity of a module, I'll look for a community (email list, wiki, irc, etc.). If there's an active community of users and developers, that's a good sign. Author responsiveness is another good sign. > Then, what protocol is > commonly used? Do I need to learn to make those complicated-looking > scripts for creating socket connections? You'll only need to learn low level socket interactions if you intend on inventing your own network protocol, or communicating with a protocol that there isn't a CPAN module for. Probably the easiest protocol for communicating between two processes (likely on different machines) is REST with a JSON payload. There isn't a single module that embeds everything for you, but if you've ever written a CGI program, you will find the concept to be easy to grasp. There's also JSON-RPC, which is very easy to implement with the JSON::RPC CPAN module. The only downside is that JSON-RPC is less common than REST. If you aren't planning on exposing your services to the outside world, then this isn't a problem. Hope this helps, -Colin. From tallpeak at hotmail.com Thu Jul 24 19:47:26 2008 From: tallpeak at hotmail.com (Aaron West) Date: Thu, 24 Jul 2008 19:47:26 -0700 Subject: SPUG: Regarding Perl and file transfers In-Reply-To: <20080724222925.GI4406@infula.helvella.org> References: <4888FAC9.8090405@indicium.us> <20080724222925.GI4406@infula.helvella.org> Message-ID: Besides Rsync, Unison can be nice for synching source trees. _________________________________________________________________ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_messenger2_072008 -------------- next part -------------- An HTML attachment was scrubbed... URL: From iheffner at gmail.com Fri Jul 25 13:37:38 2008 From: iheffner at gmail.com (Ivan Heffner) Date: Fri, 25 Jul 2008 13:37:38 -0700 Subject: SPUG: Programming diagramming software In-Reply-To: <488807D9.3010105@perltraining.com.au> References: <200807230636.54798.janert@ieee.org> <072320082239.12091.4887B310000BE5B600002F3B22218675169B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <072420080417.18720.4888026100016BB30000492022230680329B0A02D29B9B0EBF000401999D040A0E080C0703@att.net> <488807D9.3010105@perltraining.com.au> Message-ID: On the subject of perltidy breaking code, I was fortunate enough to 1) go to OSCON for the tutorials and 2) go to Damian's "Perl Worst Practices" session. He walk through SelfGOL which was his entry in the 3rd Obfuscated Perl Contest. It breaks when you run perltidy on it, but that has to do with assumptions that perltidy makes and the horrific style that Damian used. Specifically, he typeglobbed a subroutine named '; '. That's "semicolon-newline". As in ";\n"->(). Pertidy assumed the literal newline in single-quoted string was insignificant and thus removed it. This is an extreme example but it is an example none the less. Ivan On Wed, Jul 23, 2008 at 9:40 PM, Jacinta Richardson wrote: > Michael R. Wolf wrote: > >> Unfortunately, I think it broke some of the code. It's been years, so I >> don't remember the particulars, and I could even be mistaken there. >> >> Anyone heard of perltidy(1) *changing* code instead of just *formatting* it? > > Perltidy didn't make code *changes*, but it was known - in now very old versions > - to occasionally break code it didn't parse correctly. Test cases for such > situations were few and far between; but I understand that the perltidy > developers and testers are a) confident such issues don't arise anymore and b) > very eager to find out if they're wrong about that. ;) > > All the very best, > > Jacinta > > -- > ("`-''-/").___..--''"`-._ | Jacinta Richardson | > `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | > (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | > _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | > (il),-'' (li),' ((!.-' | www.perltraining.com.au | > _____________________________________________________________ > Seattle Perl Users Group Mailing List > POST TO: spug-list at pm.org > SUBSCRIPTION: http://mail.pm.org/mailman/listinfo/spug-list > MEETINGS: 3rd Tuesdays > WEB PAGE: http://seattleperl.org/ > From CO4004 at att.com Tue Jul 29 10:50:59 2008 From: CO4004 at att.com (Orr, Chuck (NOC)) Date: Tue, 29 Jul 2008 10:50:59 -0700 Subject: SPUG: OpenOffice::OODoc and Impress Question Message-ID: <777CBCA59270444DBA267F6D7A2F2D4A05AF0C24@BD01MSXMB021.US.Cingular.Net> Hello Seattle Perl Geniuses, First...did you know you can automagically create Powerpoint presentations with perl? It's true, but there are a couple intermediate steps and I am experiencing issues navigating the process. I sent the following query off to the folks who wrote the OpenOffice::OODoc module and the linked website, but thought I'd share locally as well in case anyone can help: Hello, I am attempting to use the OpenOffice-OODoc module to create OpenOffice Impress presentation as described here: http://linuxgazette.net/116/herrmann.html When I do so, the resulting Impress presentation is one blank slide. I unzipped the resulting .sxi file and found that the content.xml file places the tag before the slides. As a result, you never get to see the slides. SOFFICE apparently ignores the tag and the presentation can be viewed in its entirety. My question to you is: how can I correct the content.xml file as produced by the module? In the attached current_output.txt file, you can see I have changed the tag in question's font color to red. I moved the tag manually, resaved the file using WinZIP, and poof! the presentation becomes visible and I can convert it to .ppt and make the world happy. Otherwise, they just get one blank slide. I appreciate any insight you can share. Thank You, Chuck Orr NVSO Quality Assurance Engineer Desk (425) 288-6420 Cell (425) 879-9299 -------------- next part -------------- An HTML attachment was scrubbed... URL: From twists at gmail.com Thu Jul 31 19:10:57 2008 From: twists at gmail.com (Joshua ben Jore) Date: Thu, 31 Jul 2008 19:10:57 -0700 Subject: SPUG: OpenOffice::OODoc and Impress Question In-Reply-To: <777CBCA59270444DBA267F6D7A2F2D4A05AF0C24@BD01MSXMB021.US.Cingular.Net> References: <777CBCA59270444DBA267F6D7A2F2D4A05AF0C24@BD01MSXMB021.US.Cingular.Net> Message-ID: On Tue, Jul 29, 2008 at 10:50 AM, Orr, Chuck (NOC) wrote: > Hello Seattle Perl Geniuses, > > First?did you know you can automagically create Powerpoint > presentations with perl? It's true, but there are a couple intermediate > steps and I am experiencing issues navigating the process. I sent the > following query off to the folks who wrote the OpenOffice::OODoc module and > the linked website, but thought I'd share locally as well in case anyone can > help: I would suppose that if the generated document is invalid XML like it sounds, you could do simple text editing to transform it properly. If it is XML, you could always use something easy like XML::Twig to re-arrange your nodes. As a aside, I've found OO's Impress frustrating. In November I wrote a slideshow for SPUG on my Linux laptop. It locked up on me fairly regularly and it was impossible to use. I'd consider switching to Powerpoint. At least there, you can access PP via COM/OLE which itself is conveniently accessed by Perl. Or you could just generate an in-browser slideshow. For just images, Takahashi would be fine. I recently used S5 in HTML, and Takahashi in XUL at YAPC. Using S5 in HTML let me do giggling fun things like embed a Processing object. I wrote an itsy widget which just counted down for me how much time was remaining in the presentation. You can see it in the lower right corer of http://code.whitepages.com/talks/perl-5-vm-a-symphony-of-horror/. The Processing code is completely a hack. I don't really know the language so I cribbed from one of the sample programs a few minutes prior to my talk. Josh