From leif.eriksen at hpa.com.au Mon Nov 8 19:21:33 2004 From: leif.eriksen at hpa.com.au (leif.eriksen@hpa.com.au) Date: Mon Nov 8 19:28:56 2004 Subject: [Melbourne-pm] Melbourne Perl Mongers meeting Wednesday Message-ID: <41901B9D.8010705@hpa.com.au> An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/melbourne-pm/attachments/20041109/6e749d91/attachment.htm From david_dick at iprimus.com.au Fri Nov 12 16:13:59 2004 From: david_dick at iprimus.com.au (David Dick) Date: Fri Nov 12 16:22:40 2004 Subject: [Melbourne-pm] Testing fork In-Reply-To: <413315D4.4060706@iprimus.com.au> References: <4121D417.6000700@iprimus.com.au> <4121FB8B.5040408@iprimus.com.au> <47B277E6-F04B-11D8-8ABE-000D93ADDF32@dd.com.au> <4122717F.4020700@iprimus.com.au> <1092800293.2212.21.camel@oxum> <4971427A-F0CF-11D8-8ABE-000D93ADDF32@dd.com.au> <1092804656.2214.33.camel@oxum> <1C852F68-F0D4-11D8-8ABE-000D93ADDF32@dd.com.au> <20040818052337.GE15967@roughtrade.net> <412B10EA.40100@iprimus.com.au> <413315D4.4060706@iprimus.com.au> Message-ID: <419535A7.9050907@iprimus.com.au> ok, following on from previous attempts, this sort of works. Basically so long as BSD::Resource is supported on the platform ( http://testers.cpan.org/show/BSD-Resource.html#BSD-Resource-1.24 ) at least the EAGAIN stuff will be tested (hopefully?). Of course, this test might actually limit the portability of the code base too. Another interesting point was the use of $test->no_ending(1) to stop the two processes (if they accidentally got created) from both outputing their opinion on the final result and hence stuffing up the output. I don't even want to get started on the horrific possibilities created by now needing to do coverage analysis on the test suite. :) However i think this is a case where this sort of test is required, as distinct from Leif's excellent example of overriding functions, simply because of the difficulty in knowing exactly what the OS will return in this case. use BSD::Resource(); use POSIX(); ok(BSD::Resource::setrlimit(BSD::Resource::RLIMIT_NPROC(), 1, 1), "Can set the number of allowed children to 1"); my ($success) = 0; my ($pid); if ($pid = fork()) { waitpid($pid, 0); # Should never get here either. } elsif (defined $pid) { my ($test) = Test::Builder->new(); $test->no_ending(1); exit(1); # Just a Guarantee. Should never get here } elsif ($! == POSIX::EAGAIN()) { $success = 1; } ok($success == 1, "Successfully received an EAGAIN"); Hopefully this was interesting. :) Uru -Dave From jkatanos at yahoo.com.au Sun Nov 14 19:06:18 2004 From: jkatanos at yahoo.com.au (Jim Kat) Date: Sun Nov 14 19:06:46 2004 Subject: [Melbourne-pm] How do I print a PDF from Unix Message-ID: <20041115010618.54679.qmail@web13702.mail.yahoo.com> Hi Appreciate some help if possible. I'm trying to print the PDF with a HP printserver / netcat I have created a PDF document using PDF::Create; Running SCO 3.2v5.0 /usr/local/lib/perl5/5.005 Converted PDF to Postscript /usr/local/bin/pdftops /tmp/mypdf.pdf - > /tmp/filename.ps lp -dhp690C -o postscript /tmp/filename.ps Prints 2 blank pages Is Ghostscript the alternative ? Regards Jim Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com From ts at meme.com.au Sun Nov 14 19:28:56 2004 From: ts at meme.com.au (Tony Smith) Date: Sun Nov 14 19:35:03 2004 Subject: [Melbourne-pm] Slides from my Trapper talk last week Message-ID: Just in case anybody wants to have another look, I've imposed my own look and feel but haven't attempted any improvements to the actual slide content, at least not beyond, at Jacinta's suggestion, adding links to the text files I showed. That does not yet extend to my LifeLab examples as I've found some browser dependent issues with RLE files that can't be overcome immediately. Because of the way the S5 slide show is designed, it is strongly advised that you open any of the links in a new tab or new window. Otherwise when you hit the back button you will be dumped back at slide zero. If you want to use the S5 slide show software as the basis for something you are doing yourself, it would probably be best for you start with the original: http://www.meyerweb.com/eric/tools/s5/ And if this all still sounds like gobbledygook, I don't plan to attempt anything more on this front until after OSDC. Tony Smith 0405 499 718 TransForum Developer http://www.transforum.net/ From ts at meme.com.au Sun Nov 14 21:58:40 2004 From: ts at meme.com.au (Tony Smith) Date: Sun Nov 14 21:58:49 2004 Subject: [Melbourne-pm] Slides from my Trapper talk last week In-Reply-To: <41981218.1070601@holsman.net> References: <41981218.1070601@holsman.net> Message-ID: Oops, the missing, and essential, link is: http://www.meme.com.au/OSDC/OSDC.html Thanks, Ian. One can never be too careful. On 15/11/2004, at 1:19 PM, Ian Holsman wrote: > I couldn't see the link to your talk? > Tony Smith 0405 499 718 TransForum Developer http://www.transforum.net/ From jarich at perltraining.com.au Mon Nov 22 18:20:25 2004 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon Nov 22 18:20:36 2004 Subject: [Melbourne-pm] Last minute OSDC reminder Message-ID: <41A28249.2040800@perltraining.com.au> G'day Folk, This is a quick reminder that time is running out to register for the first Open Source Developers' Conference, running in Melbourne on December 1st - 3rd at Monash Univerity, Caulfield Campus. Registrations can be made at: http://www.osdc.com.au/registration/index.html You'll find the timetable at: http://www.osdc.com.au/news/timetable.html and see that we've got three days packed full of a huge variety of interesting talks. Highlights include 2 keynote speeches from Dr Damian Conway, an appearance from Nathan Torkington and the big conference dinner which comes included in your registration. Bring your friends along for the best conference you'll get to this year. All the best, Jacinta OSDC Programme Chair