From ryan at the-summit.net Tue Mar 7 11:24:24 2006 From: ryan at the-summit.net (Ryan Allen) Date: Tue, 7 Mar 2006 11:24:24 -0800 Subject: SPUG: Alternitives to POD Message-ID: <20060307192424.GA30535@the-summit.net> Hey SPUG, What are people using out there that convert comments to documentation? I like javadoc, but not too fond of POD. Are there alternatives out there? Thanks, Ryan -- +-----------------------------+ | ryan at the-summit.net | | http://www.the-summit.net | +-----------------------------+ From ryan at the-summit.net Wed Mar 8 15:26:01 2006 From: ryan at the-summit.net (Ryan Allen) Date: Wed, 8 Mar 2006 15:26:01 -0800 Subject: SPUG: Job announcement Message-ID: <20060308232601.GB4810@the-summit.net> Hey SPUG, I am a test engineer at a cool networking company in Seattle. We are profitable, "cutting edge" and growing. Currently, we have about 6 open positions in our group. Scripting (PERL) skills, knowledge of IP/TCP networking, ability to troubleshoot, develop test plans and test cases, and Unix/Linux are a must. Anyone with strong skills in these areas, and the usual self starter, motivated and enthusiastic about this technology would do well here. We are looking for more experienced folk, up to the Sr. level (I'd say that means 3-5 years similar experience a must, but will vary depending on the person). If this sounds like you, send me your resume and I will funnel through the proper channels. Thanks, Ryan -- +-----------------------------+ | ryan at the-summit.net | | http://www.the-summit.net | +-----------------------------+ From jay at scherrer.com Wed Mar 8 15:50:55 2006 From: jay at scherrer.com (Jay Scherrer) Date: Wed, 08 Mar 2006 15:50:55 -0800 Subject: SPUG: OSCON discounts Message-ID: <1141861855.3370.8.camel@gimly.scherco.local> Hello fellow Spugers, In years past the Seattle Perl users group has offered discounts for OSCON. Is this still the case? I was reading the latest Linux Journal and they have OSCON scheduled for July. Can qualify for group discounts? If so how do we go about getting them? Jay Scherrer -- "Linux used to be for Hobbyists. Now, Windows is best for games but Linux is best for secured business." Jay Scherrer From andrew at sweger.net Wed Mar 8 23:35:53 2006 From: andrew at sweger.net (Andrew Sweger) Date: Wed, 8 Mar 2006 23:35:53 -0800 (PST) Subject: SPUG: OSCON discounts In-Reply-To: <1141861855.3370.8.camel@gimly.scherco.local> Message-ID: On Wed, 8 Mar 2006, Jay Scherrer wrote: > Can qualify for group discounts? If so how do we go about getting them? There is generally a Perl Mongers discount with a (sometimes) larger discount to PNW folks (depends on how well registrations are going I suspect). I usually hear about the discount code(s) shortly after registration opens. There are also discounts (usually) for other folks like students, faculty, government, large company groups cramming themselves into a minivan, etc. -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From artisanconsulting at gmail.com Thu Mar 9 15:14:58 2006 From: artisanconsulting at gmail.com (Artisan Consulting) Date: Thu, 9 Mar 2006 15:14:58 -0800 Subject: SPUG: Software Engineer Opening (Fulltime/Seattle) Message-ID: <132dfda10603091514o12429d17r8c2e122f89fef0ff@mail.gmail.com> Our client is the Global leader in Enterprise clustered storage solutions with Fortune 500 clients ranging from NBC, Kodak to MySpace. It's an exciting period of growth and they are looking to find talented software engineers with a background developing in a Unix/Linux environment to join their team. This person will spend 50% of their time developing the presentation layer for their commercial enterprise solutions and spend the remaining time developing other application level projects. Ideal candidates will have experience in the development of client-server or front-end applications. Minimum Qualifications: - Experience developing with full software lifecycle development in Linux/Unix - Perl (or PHP/Perl/other scripting language) experience. - Background with C/C++ Highly desired - HTML, Javascript, and ideally formal UI/Software development lifecycle experience. - Genuine interest in shaping the future of our client's enterprise management interface and being a part of the company's growth. - Passionate and motivated to work successfully as part of a team. - Three years+ of development experience and/or excellent problem solving skills. - Excellent design, development and debugging skills are required. - Strong written and verbal communication skills. - Bachelor's in Computer Science or other technical degree desired. Interested Candidates should send their resume to resume(at)artisanconsult.com Job location is Seattle. Fulltime. Salary: DOE + Benefits From jobs-noreply at seattleperl.org Fri Mar 10 13:45:52 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Fri, 10 Mar 2006 13:45:52 -0800 (PST) Subject: SPUG: JOB: Content Management System for Catalog Message-ID: * required skill-set Intermediate to advanced level Perl programmer who is self-directed, familiar with UNIX/Mac Jaguar Server, Apache, mod_perl, Catalyst and Postgres. Familiarity with JSON and web apps highly preferred. Must be able to provide accurate estimates for reaching project goals. * contract or permanent position Contract * for contracts, expected duration and pay range Compensation for this position can be arranged as a contract or as a lump sum. Talk to us about the work and tell us how much you want or how much you typically make. The duration of this contract should be about 3 weeks to 1 month. There is a good possibility for more work in the future for this project and others. * placement through recruiter, or directly with company? Directly with company. * W-2 vs. 1099 status 1099 would work best, but we are open to other arrangements. * any restrictions on 1099 status: Corporation, etc.? None that I am aware of. * physical location Tukwila (Southcenter Mall area) * telecommuting possible? We would like to meet with you face to face from time to time but it isn't necessary to work on site all the time. * company's product or service We publish Northwest Cars And Trucks Magazine, Seattle's best free used car publication. It is essentially a catalog of used cars for car dealerships. Project Summary Looking for a perl guru to help complete a browser based content management app for a printed catalog. Most of the work has been done but we need someone who can help us to finish it. The work left to be done deals with data validation, Perl scripts, db tables, storing data, data retrieval, forms, image upload, and some others. More detail will be provided at interview. Existing site is Catalyst with a Postgres backend on an OSX Apache server. Portions of the project were done with JSON and DHTML but will not be a large part of the applicant's responsibility. Thank you, Eric Tucker Production Manager White Light Publications gfxmanager at whitelightpubs.com From andrew at seattleperl.org Tue Mar 14 09:19:15 2006 From: andrew at seattleperl.org (Andrew Sweger) Date: Tue, 14 Mar 2006 09:19:15 -0800 (PST) Subject: SPUG: Meeting Announcement -- Test More, ok? - 21 March 2006 Message-ID: March 2006 Seattle Perl Users Group (SPUG) Meeting ================================================== Title: Test More, ok? Speaker: Jerry Gay Meeting Date: Tuesday, 21 March 2006 Meeting Time: 6:30 - 8:30 p.m. Location: Whitepages.com offices Cost: Admission is free and open to the general public Info: http://seattleperl.org/ =========================================== Please join us Tuesday evening on 21 March 2006 at the regular monthly meeting of the Seattle Perl Users Group. Did I say Jerry would present Parrot? Well, it's sort of about Parrot. Jerry will show us how to have confidence in our code through proactive testing techniques. See below for more information on... - Speaker Background - Presentation Description - Meeting Location Speaker Background ================== Jerry Gay --------- Jerry Gay is a software consultant who uses Perl for fun and profit mainly by automating people out of jobs. He's a core committer for Parrot, the virtual machine destined to run Perl 6, where he's responsible for the test suite. Presentation Description ======================== Test More, ok? -------------- My confidence that my code will perform to specification has improved significantly since I learned how to write tests. I'll give an overview of some of Perl's test modules, and share my experiences in applying them to Parrot. Hopefully, this will inspire you to improve confidence in your code by writing your own tests. Meeting Location ================ Whitepages.com is located on the 16th floor of the Rainier Square Tower (1301 5th Avenue, Seattle) which is across from the 5th Avenue Theater. See the directions[1] for a quick primer on how to reach us from various locations across Puget Sound. There are plenty of locations to park in the area, including on the street. If you're looking for off-street parking, you can park in the Rainier Square garage which has an entrance on Union St. After 6PM, the building management restricts access to most floors. Our host is trying to take care of this, but if unsuccessful, they will station someone on the 1st floor near the elevator bank and 5th Avenue entrance to let people in. Worst case scenario, give our host a call on his cell phone[2] and he'll run down to let you in. Our hosts are providing a generous assortment of free sodas, fruit drinks, teas, and coffee, and also have some snacks. You definitely won't dehydrate here. We look forward to seeing you! [1] - http://www.whitepagesinc.com/locations [2] - published under separate cover (I'm not sure who's phone) From jobs-noreply at seattleperl.org Tue Mar 14 09:39:02 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Tue, 14 Mar 2006 09:39:02 -0800 (PST) Subject: SPUG: JOB: perl oralce FTE at Boeing Message-ID: This is a FTE job at The Boeing Company and can be found by going to the job seeker page on www.boeing.com . Here are the details of the job to the best of my knowledge. One of the criteria is that the position is targeted for a recent college graduate (someone that received a college degree within the past 2 years). I believe that the job req closes at the end of this week, so if you are possibly interested, do not put off checking into this position. This job will involve working on mostly UNIX platforms (IBM/AIX), but there is some interaction with Linux systems and of course some ActivePerl work on the desktop. You will be working with quite large XML files, writing Perl programs to do analysis on the content of these files and troubleshoot problems associated with the files. The project is well documented and you will be work in an environment where change is controlled through ClearQuest change requests but the overhead associated with approval of work is low. The primary database is Oracle, but we also have some interaction with SQLServer. Another significant component of the job is working with graphic files. The two types of files are CGM vector graphics and TIFF raster graphics. The actual system software (which is written in java) is developed off shore. Your role is not to develop project software but rather to perform analysis and develop tools for the users of the system and the other analysts of the system to use. The vast majority of the work is in Puget Sound but there may be occasions that require travel to Long Beach CA. Job Requisition # 05-1030430 required skill-set: Knowledge of and experience with UNIX, Perl, SGML\XML, Oracle\SQL. Knowledge of raster graphics (CGM) a plus. Knowledge of ClearQuest & ClearCase a plus. Knowledge of the P+ and/or Macroscope methodologies. Ability to use Microsoft tools, including MS Word, MS Excel, Visio, and MS Project. Ability to communicate technical data to a varied audience. Ability to communicate effectively both in writing and verbally. contract or permanent position FTE for contracts, expected duration and pay range N/A for permanent positions, availability of stock options or other incentive plans unsure, but I know that there is some sort of annual employee bonus program based on company performance. placement through recruiter, or directly with company? Direct through The Boeing Company, job seekers web site W-2 vs. 1099 status N/A any restrictions on 1099 status: Corporation, etc.? N/A physical location Building 11-14 Tukwila, WA (the Duwamish building just South of Boeing Access Road) telecommuting possible? possible after initial training on project company's product or service (e.g., e-commerce, grocery shopping, nuclear weapons, pornography, etc.) Commercial and military aerospace applications and business systems. More details: Job Requisition # 05-1030430 Salary Range: I really don't know but I am guessing something in the 40K-50K range since it is a new college graduate position. Job Description: Apply common software lifecycle development knowledge to analyze business systems requirements and to design related processes and application improvements in support of the System for Publication of Electrical\Electronic Data (SPEED). Coordinate with technical development team, systems management personnel, and end users to conduct in-depth technical analysis of in-production and legacy systems, develop and document specifications, plan and schedule activities, prepare cost estimates and business case analysis as required to support business processes. Analyze complex application problems and document and present solutions as required. Develop testing plans and procedures, proposals for system improvement, and technical documentation. Knowledge of UNIX scripting, Oracle\SQL, Mark-up Language (SGML\XML) Perl scripting, and SEI\CMM principles and practices. Experience with P+ and\or Macroscope preferred. Education: Prefer a bachelor's or master's degree in Information Systems or Computer Science Richard O. Wood Wildwood IT Consultants, Inc. wildwood_players at yahoo.com 425.281.1914 mobile 206.766.3748 desk From jobs-noreply at seattleperl.org Tue Mar 14 11:23:08 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Tue, 14 Mar 2006 11:23:08 -0800 (PST) Subject: SPUG: JOB: 2 SE positions at UW C&C Network Tools group Message-ID: We have two full-time positions at the University of Washington available. Job description as follows: Software Engineers within C&C's Network Tools group are responsible for identifying needs and then designing and developing solutions for advanced distributed systems. In some cases, this involves development of UW-specific software; in all cases, it requires evaluation, adaptation, integration, and management of sophisticated system, network, and application software to support the research, teaching, and administrative computing requirements of UW units. Providing consultation to users as well as system and network managers is another essential function. In some cases this position may participate in joint study projects with vendors aimed at developing improved computing networking solutions. MINIMUM REQUIREMENTS Bachelor's degree or equivalent in computer science or related field. Four years of experience implementing and supporting software systems with a focus on network management and monitoring. ADDITIONAL REQUIREMENTS In-depth knowledge of UNIX and Windows. Strong programming skills in more than one high-level programming language. Experience with TCP/IP networking. Experience with SQL-based databases and building database-backed applications. Excellent written and oral communication skills. Demonstrated ability to work independently as well as part of at team. Equivalent education/experience may substitute for all minimum qualifications expect when there are legal requirements, such as a license/certifications/registration. DESIRED QUALIFICATIONS Experience with Perl, CORBA, Java, SOAP, Postgresql, Apache. Experience building web services and using Java application servers such as Tomcat. Experience with SNMP, rrdtool, mrtg, netflow. Experience configuring network devices such as Ethernet switches and routers. Experience with network security systems. CONDITIONS OF EMPLOYMENT Must be able to respond to outages during off-hours. A satisfactory outcome from a criminal background verification may be required prior to hire. The University of Washington is an equal opportunity / affirmative action employer. Apply online at http://depts.washington.edu/cac Req 17418, 16671 Rebecca Rhoades IT Recruiter Computing & Communications University of Washington Office: 206-221-6090 http://depts.washington.edu/cac/ From cos at indeterminate.net Wed Mar 15 12:33:37 2006 From: cos at indeterminate.net (John Costello) Date: Wed, 15 Mar 2006 12:33:37 -0800 (PST) Subject: SPUG: lists.perl.org? unicode lists? Message-ID: http://lists.perl.org is not responding to browse requests, and the A record for the site (x3.develooper.com) just displays "x3". Does anyone have details on the site's return? Related to this*, is there a perl+unicode mailing list other than perl-unicode at lists.perl.org? Thanks, John *Because I want to look through the perl-unicode archives. ----- John Costello - cos at indeterminate dot net From cmeyer at helvella.org Wed Mar 15 13:49:09 2006 From: cmeyer at helvella.org (Colin Meyer) Date: Wed, 15 Mar 2006 13:49:09 -0800 Subject: SPUG: lists.perl.org? unicode lists? In-Reply-To: References: Message-ID: <20060315214909.GB24938@funpox.helvella.org> On Wed, Mar 15, 2006 at 12:33:37PM -0800, John Costello wrote: > > http://lists.perl.org is not responding to browse requests, and the A > record for the site (x3.develooper.com) just displays "x3". Does anyone > have details on the site's return? > > Related to this*, is there a perl+unicode mailing list other than > perl-unicode at lists.perl.org? Many Perl email lists have an nntp gateway, and are archived at groups.google.com: http://groups.google.com/groups/dir?sel=33587600 Looks like the unicode list is at: http://groups.google.com/group/perl.unicode I'm not aware of what's happening with develooper and lists.perl.org. -Colin. From jobs-noreply at seattleperl.org Wed Mar 15 13:53:10 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Wed, 15 Mar 2006 13:53:10 -0800 (PST) Subject: SPUG: JOB: Amazon Perl/C++ positions with ARS team Message-ID: The Amazon Reversal Service (ARS) team is recruiting Perl developers to work an key back-end service for Amazon. ARS plays a key role in the handling of returns and refunds for merchant orders and Amazon customer service worldwide, and the service sits at a nexus between multiple key back-end systems at Amazon, including fulfillment, ordering, payments, risk management, and customer service. This is a great opportunity to look behind the curtain and learn about how Amazon works! The ideal candidate will have 4+ years of software development experience, at least 2 years in Perl, and knowledge of object-oriented Perl. Knowledge of XML, C++, and Amazon infrastructure (Linux, Oracle, BSF, Perforce) is highly desirable. A bachelors degree or better in CS and great communication and team skills are required. --- You can correspond with me (prbrown at amazon.com) directly. For full-time positions, please send resume and cover letter. For contract positions, please send resume and cover letter (including expected hourly rates). Thanks for reading. Paul Brown (prbrown at amazon.com) Senior Manager Amazon Global Payments --- And answers to specific questions from the SPUG website: * required skill-set OO Perl, XML, Oracle, and Amazon-specifics highly desirable * contract or permanent position Both available. * for contracts, expected duration and pay range 3 months+ with pay commensurate to experience * for permanent positions, availability of stock options or other incentive plans Incentive compensation is possible for FT positions. * placement through recruiter, or directly with company? Recruiters OK, but you're welcome to contact me directly. * W-2 vs. 1099 status W-2 preferred. * any restrictions on 1099 status: Corporation, etc.? Yes. Working with an individual as a W-2 short-term hire is preferred to 1099, but I'll entertain 1099 under some circumstances. (The rules are complex and involve getting sign-off, so I can't state them succinctly.) * physical location Seattle, downtown (International District) * telecommuting possible? Yes, after initial spin-up * company's product or service (e.g., e-commerce, grocery shopping, nuclear weapons, pornography, etc.) Surely you've heard of Amazon.com... From cos at indeterminate.net Wed Mar 15 15:22:48 2006 From: cos at indeterminate.net (John Costello) Date: Wed, 15 Mar 2006 15:22:48 -0800 (PST) Subject: SPUG: lists.perl.org? unicode lists? In-Reply-To: <20060315214909.GB24938@funpox.helvella.org> Message-ID: On Wed, 15 Mar 2006, Colin Meyer wrote: > On Wed, Mar 15, 2006 at 12:33:37PM -0800, John Costello wrote: > > > > http://lists.perl.org is not responding to browse requests, and the A > > record for the site (x3.develooper.com) just displays "x3". Does anyone > > have details on the site's return? > > > > Related to this*, is there a perl+unicode mailing list other than > > perl-unicode at lists.perl.org? > > > Many Perl email lists have an nntp gateway, and are archived at > groups.google.com: > > http://groups.google.com/groups/dir?sel=33587600 > > Looks like the unicode list is at: > > http://groups.google.com/group/perl.unicode > > I'm not aware of what's happening with develooper and lists.perl.org. Thanks Colin. The webmaster of www.perl.org responded to my request and let me know that lists.perl.org is really lists.cpan.org, so I've dumped an email to the webmaster of cpan.org. In the meantime, I've also got www.nntp.perl.org, but I appreciate the Google link as well! > -Colin. John, trying to wedge Kanjii into UTF8 or figure out how to make Perl behave better with Kanjii. ----- John Costello - cos at indeterminate dot net "I will not over-engineer a solution. I will not over-engineer a solution." From sthoenna at efn.org Fri Mar 17 01:14:17 2006 From: sthoenna at efn.org (Yitzchak Scott-Thoennes) Date: Fri, 17 Mar 2006 01:14:17 -0800 Subject: SPUG: lists.perl.org? unicode lists? In-Reply-To: References: <20060315214909.GB24938@funpox.helvella.org> Message-ID: <20060317091416.GA2952@efn.org> On Wed, Mar 15, 2006 at 03:22:48PM -0800, John Costello wrote: > The webmaster of www.perl.org responded to my request and let me know that > lists.perl.org is really lists.cpan.org, so I've dumped an email to the > webmaster of cpan.org. If you don't get any response, one of the contacts on noc.perl.org may help. From sbaylis at gmail.com Mon Mar 20 11:23:28 2006 From: sbaylis at gmail.com (Steve Baylis) Date: Mon, 20 Mar 2006 11:23:28 -0800 Subject: SPUG: Meeting Announcement -- Test More, ok? - 21 March 2006 In-Reply-To: References: Message-ID: If you arrive after 6:30 tomorrow night and can't get upstairs, you can call Daina at (206) 812-9216 -Steve From andrew at sweger.net Tue Mar 21 15:03:22 2006 From: andrew at sweger.net (Andrew Sweger) Date: Tue, 21 Mar 2006 15:03:22 -0800 (PST) Subject: SPUG: meeting tonight Message-ID: Oh, foo. I can't go to the meeting tonight. And the one thing I really need to learn (and use) is more testing. Would someone be so kind as to take notes (mental or otherwise) and post the SPUG Report following the meeting (so us folks that can't make it can hear about what we missed), please? Thanks. Nothing detailed. See past reports for examples: http://mail.pm.org/pipermail/spug-list/2006-February/007154.html http://mail.pm.org/pipermail/spug-list/2005-May/006498.html -- Andrew B. Sweger -- The great thing about multitasking is that several things can go wrong at once. From dan at concolor.org Thu Mar 23 08:27:29 2006 From: dan at concolor.org (Dan Sabath) Date: Thu, 23 Mar 2006 08:27:29 -0800 Subject: SPUG: meeting tonight (notes) References: <34593.38.112.225.178.1143075991.squirrel@kell.fairehosting.com> Message-ID: <7869F121-B8F0-4F5C-8AD4-9D688D7145E2@concolor.org> > Would someone be so kind as to take notes (mental or otherwise) and > post > the SPUG Report following the meeting (so us folks that can't make > it can > hear about what we missed), please? Thanks. Nothing detailed. See past > reports for examples: > About 20 people showed up and listened to a very good talk by Jerry on testing and Parrot. Jerry says he'll be posting his slides somewhere soon, but until then... -dan --------------------- test::more Preshow Notes: Audrey Tang, hoping perhaps here in the summer for a talk Speaker: Jerry Gay Works on Process Automation and change management. Automating people out of their jobs. Working on Parrot, the VM that Perl6 will be running ...someday. Some really cool stuff already, Jerry started just under a year ago. Parrot project has doubled in the last year. __Start of Talk__ PARROT AND SOFTWARE TESTING. Test::More, ok? Jerry is responsible for the test suite of Parrot -- Testing is simple, Test::Simple ok() simple to use. ok(foo () ==1 ); ok(foo () eq 'bar', 'foo() returns "bar"' ); -- Test::More; use_ok() require ok() BEGIN { use_ok( 'My::Package', @imprts); } is (), isnt(), like(), unlike() is(foo(), 1 ' foo() returns 1'); like( foo(), qr/bar/, 'foo() return matches /bar/') this one tests deep datastructures is_deeply($complex_structure1, $complex_structure2, $test_name); -- skipping tests SKIP: skipping all tests use Test::More skip_all => 'no real miniparrot yet'; -- marking tests TODO TODO: { local $TODO = 'pending new Ref semantic'; pasm_output_is(< 3; Conditional logic $^O =~ m/MSWin32/ ? plan tests => 17 : plan skip_all => 'win32 only'; when you are developing the testfile you can mark it as "no_plan" use Test::More qw( no_plan); plan is like a test in itself. if you use the plan function first you can use some conditional logic. -- Methods of running tests The tradional method. perl t/pod/doc.t use a test harness perl t/harness t/pmc/resizable*.t or a good method. "Your code sucks, and I can Prove it!" prove t/pmc/intetger.t prove offers a lot of flexiblility in testing, including test shuffling, recursing to subdirs, verbose options,and dry runs. if it all works prove returns "All tests successful." -- in the case of a failure, you end up with dubious results failure message, statistics, and a list of failed tests. also a list of skipped tests you can run prove in the verbose mode. prove -v t/pmc/env.t -- Test::Harness allows you to write your own tools how is pir_output_is is written package Parrot::Test; use strict; use vars qw( @EXPORT @ISA); use Parrot::Config # written out to the disk at the time Parrot is compiled. #Exporting the routines ... # the set up my $builder = Test::Builder->new(); sub import { my($class, $plan, @args) = @_; $builder->plan($plan, @args); __PACKAGE__->export_to_level(2, __PACKAGE__); sub generate_code { my ($code, $directory, $test_no, $code_f) = @_; open my $CODE, '>' $code_f or die "Unable to open '$code_f'"; binmode $CODE; print $CODE $code; close $CODE; return; } "setup temporary test filenames" ...then it gets really code deep... run stuff through parrot and slurp it into a file. then pass it into Test::More with the real method. this allows us to express parrrot tests concisely, for example: pir_output_is(<<'CODE', <<'OUTPUT', "set_string_native"); .sub main .local pmc pmcl pmc1 = new Integer pmc1 = "0124567" print pmc1 print "\n" end .end CODE -1234567 OUTPUT -- Final Thoughts Precision happens sooner or later Testing helps increase precision in your code (and requirements) Many test modueles RTFM: Test::Simple; Test::More; Test::Harness, Parrot::Test parrotcode.org lots more info at: qa.perl.org qa.perl.org/phalanx - tests for CPAN modules to test the most commonly used perl modules Test coverage. Devel::Cover, tests how well your test suite covers your code, might be a future talk. CPANTS: didn't catch what this was. There is a module that anytime a new module is checked into CPAN will download it, run make test and send the results back. Suggested by Michael Wolf: Possibly adopting a module for SPUG and writing tests for it as part of the phalanx project. __Q & A__ how to deal with tons of tests that might be spitting out a random error. need to write a description that allows you to find it. Parrot::Test is written to spit out the line number as well. generating tests. using latin squares to generate tests, check mathworld. co parrot (a subversion repo) take a look at some of the tests in t/op/comp_exp.t YAPC::NA::2006 in Chicago will be held on June 26th-28th on the campus of the Illinois Institute of Technology. Perlcast - podcast for perl http://perlcast.com/ From jlb at io.com Thu Mar 23 14:58:27 2006 From: jlb at io.com (jlb) Date: Thu, 23 Mar 2006 16:58:27 -0600 (CST) Subject: SPUG: unicode filename problems Message-ID: <20060323163308.B69998@eris.io.com> I'm trying to create filenames that contain some particular unicode characters. The code I've written to do so work fine on the FreeBSD and Linux machine I'm using, but doesn't work the same way under ActiveState Perl. I'm not all that well-versed in unicode-related issues, and I've tried looking through the various perl encoding docs but haven't seen anything promising. I may just be missing some simple obvious step that I simply don't know about. This code is basically what I'm doing, and it works fine everywhere but windows. perl -e 'open (FILE, ">".pack("U", 0x2014)) || die "$!";' Everywhere but windows this is creating a file named with the value of 0xe28094, on windows I end up with something like 0xc3a2e282ace2809d. I thought maybe it was an actual windows issue, but I was able to create the expected filenames using a similar bit of code in ActiveState python. >>> fh = open(u"\u2014", 'w') I was also able to create the files on Linux, then access them over Samba from the windows machine and make copies of the files, which maintained the correct names. Any ideas where I might be going wrong? I've tried playing around with the Encode module but it didn't seem to really get me anywhere, and I'm not sure it's really the answer. The linux machine is using 5.8.0, the FreeBSD machine is using 5.6.0 and the windows machine is using ActiveState Perl 5.8.7 build 815. From sthoenna at efn.org Thu Mar 23 15:30:43 2006 From: sthoenna at efn.org (Yitzchak Scott-Thoennes) Date: Thu, 23 Mar 2006 15:30:43 -0800 Subject: SPUG: unicode filename problems In-Reply-To: <20060323163308.B69998@eris.io.com> References: <20060323163308.B69998@eris.io.com> Message-ID: <20060323233043.GA892@efn.org> On Thu, Mar 23, 2006 at 04:58:27PM -0600, jlb wrote: > I'm trying to create filenames that contain some particular unicode > characters. The code I've written to do so work fine on the FreeBSD and > Linux machine I'm using, but doesn't work the same way under ActiveState > Perl. I'm not all that familiar with the precise details, but here's my understanding: Basically, windows presents 2 versions of many api functions, one that deals only with 8-bit characters using some kind of current locale, and one that uses UTF-16 or UCS-16 (I've never been quite sure which). MSWin32 builds of perl use only the former. There used to be a way to switch at least some of the calls using the -C switch or setting a ${^WIDE_SYSTEM_CALLS} (sp?) variable, but either the code got a little broken with the introduction of utf8 support in perl or it never was completely working or both, and it has been removed. I know this question has come up from time to time, and it may be possible to use unicode filenames via Win32API::File or similar. I'd recommend you ask on http://perlmonks.org/?node=Seekers+of+Perl+Wisdom. From tim at consultix-inc.com Tue Mar 28 11:47:55 2006 From: tim at consultix-inc.com (Tim Maher) Date: Tue, 28 Mar 2006 11:47:55 -0800 Subject: SPUG: Modifying Word *.doc files using s///g Message-ID: <20060328194755.GA21723@jumpy.consultix-inc.com> SPUGsters, I need to modify the contents of some "index tag" entries in a large number of MS-Word files. I was worried that this might be difficult--or impossible--but it turned out to be relatively easy; Go Perl! As you might expect, Word sees a modified document as corrupted if you do anything to disrupt the checksum comparison, but simply moving text from one place to another (at least within an "Index Tag") doesn't bother it a bit! Here's the script, for those who might find it useful. I don't mess with binary files more than once a decade or so, so I'd be interested in any comments on how I might have done this better or more portably. FYI, I've only run the script on Linux, on *.doc files. #! /usr/bin/perl -w # Tim Maher, tim at TeachMePerl.com # Tue Mar 28 11:36:22 PST 2006 # word_edit: for moving <$startrange>, <$endrange> from right-end of # MS-Word index tag, where it doesn't hurt index display order, to left # end, where FrameMaker needs to find it # NOTE: Word will see output document as corrupted if byte count changes! # Luckily, I don't need to do that right now ... $/=undef; # file mode foreach $f (@ARGV) { open IN, "<$f" or die "$0: Failed to open $f\n"; open OUT, ">o$f" or die "$0: Failed to open o$f\n"; binmode IN or die "$0: binmode error: $!\n"; binmode OUT or die "$0: binmode error: $!\n"; $data=; # avoid record separator complications warn "Bytes read: ", length $data, "\n"; (-s $f) == length $data or die; # Index Tag starter is \023, ender is \025 # Format: \023 XE "stuff" \025 # Move $X at right-end of "stuff" to its left end for $X ('<$startrange>','<$endrange>') { $data =~ s/ (\023\ +XE\ +") # tag-starting code ([^\023\025]+) # tag entry \Q$X\E # range marker to move ("\ +\025) # tag-ending code /$1$X$2$3/gx; } print OUT $data; close IN or warn; close OUT or warn; warn "Bytes to write: ", length $data, "\n"; warn "Bytes written: ", -s "o$f", "\n"; } *-------------------------------------------------------------------* | Tim Maher, PhD (206) 781-UNIX (866) DOC-PERL (866) DOC-UNIX | | tim at ( Consultix-Inc, TeachMePerl, or TeachMeUnix ) dot Com | *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-* |Classes: 4/10 Shell & Utilities 4/25 Object-O Perl 5/15 Perl/CGI | | Watch for my upcoming book: "Minimal Perl for UNIX/Linux People" | | See MinimalPerl.com for details, ordering, and email-list signup | *-------------------------------------------------------------------* From jobs-noreply at seattleperl.org Wed Mar 29 16:06:42 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Wed, 29 Mar 2006 16:06:42 -0800 (PST) Subject: SPUG: IMDb is looking for people with Perl system skills Message-ID: Software Jobs If you're a top notch programmer and a fan of movies and TV, we've got the ideal job for you. There are many good reasons to work at IMDb, and here are three of them: * You can make a huge difference at IMDb. We've already developed a successful business model and a stable production environment, so our programmers spend their time developing and launching cool projects with little red tape and lots of autonomy. * We offer flexibility both in terms of your day-to-day work schedule and also in terms of work assignments. Ours is no cookie-cutter job. * Our software developers provide lots of creative input into projects and get to work on many different types of projects that allow them to think creatively and to handle interesting computer science challenges. All software positions require a minimum of a bachelor's degree in computer science with three plus years of industry programming experience. In particular, we're looking for applicants who are skilled in Perl and able to develop systems, not just programs. 1. Software Developer/Database Specialist (Seattle). We are looking for a senior member of our data team. You'll be involved in the design, enhancement and schema definition, and data modelling for our high-volume website. As a senior database developer, you'll help develop scripting access modules and scope and implement data migration/scalability for MySQL and Postgres. The team is small so there is there an opportunity to try your hand at several different skills including building front end tools for our data managers using state-of-the-art templating systems and techniques such as AJAX and Mason. To be successful in this position, you must have strong relational database background and appropriate background in the use of design tools such as ERWIN. You must be able to perform hands-on database tuning and query optimization and be experienced in Linux/Unix environment. Experience in database interfaces such as ODBC/JDBC is helpful but not required. Experience in a large-scale, custom-developed, high availability operations is helpful. 2. Software Developer (Seattle). We are looking for an applicant with some advanced competency in one or more areas that can complement our current staff. This can include, but is not restricted to C++, Javascript, DHTML, Mason, AJAX statistics, Windows client development, data modeling, natural language processing or web services. We'd like to see examples of your skills in these areas - either from a personal website or from other materials. For all positions, you must genuinely be self-motivated. Our staff is distributed across the planet so we need employees who can function independently while also interacting efficiently with other team members. For our novel work environment we need programmers who work hard and think big. More Details: You don't really need to love movies or TV to thrive here, but it certainly doesn't hurt. We have a great environment of talented people who work hard to make IMDb the most credible film source on the planet and we'd like you to join us if you're like-minded. IMDb is owned by Amazon.com, but we operate separately and have our own technology systems. When you join IMDb, you become a full-fledged Amazon.com employee - which means you enjoy the cohesive work environment of a small company while also gaining the bigger benefits of working for a Fortune 500 company. It's the best of both worlds. If you are a capable programmer and this opportunity sounds interesting to you, we're looking forward to hearing from you! Applicants only: recruiters must not submit on behalf of other people through this link. Applications not submitted by candidates themselves are rejected. Fulltime, full benefits, stock, healthcare. Mailto jobs at imdb.com Please specify which position is appropriate for you: Software Developer/Database Specialist (Seattle) Software Developer (Seattle) We're looking forward to hearing from you! Example questions that you might get asked to solve in an interview or pre-interview phone call These questions are deliberately vague or ambiguous - as a software developer at IMDb you'd need to know how to ask questions to add rigor and definition to them and then go on to solve them. If these feel straightforward to you then you're probably a good candidate for us. These questions are largely language neutral although our primary development environment is Perl. * Can you implement Bacon Numbers ? What kind of data structures would you use to implement them efficiently on a small and large database? * Tags are a lightweight meta-data collection mechanism that can be leveraged to allow end-users to classify items in an application with their own vocabulary. What are the basic functions (including parameters) that we should implement to support tagging? Can you provide a code sample for the function that "adds tags"? Would what you've built be a good architecture for implementing MoKA ? Why or why not? * A customer can assert that our website is unresponsive for many reasons. Name as many of as you can, and a plan of attack to disambiguate one reason from another. * What's a good plan of attack for merge-sorting N text files? How about if the text files are known to be large? (megabytes each)? How about if they are very large? (gigabytes/terabytes each). How does your plan change if you don't know the size in advance? From jobs-noreply at seattleperl.org Fri Mar 31 07:15:05 2006 From: jobs-noreply at seattleperl.org (SPUG Jobs) Date: Fri, 31 Mar 2006 07:15:05 -0800 (PST) Subject: SPUG: JOB: Perl Expert at Northwest Cars and Trucks Message-ID: Northwest Cars and Trucks is looking for a Perl developer. Project Summary Helping to complete a content management system for a printed catalog. Most of the work has been done but we need someone who can help us to finish it. The work left to be done deals with data validation, Perl scripts, db tables, forms, and some others. More detail will be provided at interview. Existing site is uses a Perl template system with a Postgres backend on an OSX Apache server. Position Summary We would like some on site work but not all of it has to be done in the office. Compensation for this position can be arranged as a contract or as a lump sum. There is a good possibility for more work in the future for this project and others. We are flexible, if you are an expert in King County we want to talk to you. # Required skill-set Intermediate to advanced level Perl programmer who is self-directed, familiar with UNIX/Mac Jaguar Server, Apache, mod_perl, and Postgres. Familiarity with web apps highly preferred. Must be able to provide accurate estimates for reaching project goals. # contract or permanent position Contract # for contracts, expected duration and pay range For the expert we are looking for, this project should take less than a month. We have about 5k budgeted for this project. If you are an perl wiz and you think you can do it in a short time, we can do this project as a lump sum. # placement through recruiter, or directly with company? Directly with company. # W-2 vs. 1099 status Whatever works best for you. If this is on a project basis 1099 would probably work best. # any restrictions on 1099 status: Corporation, etc.? Not sure. # physical location Tukwila, Washington # telecommuting possible? Yes but we would like some face time. # company's product or service (e.g., e-commerce, grocery shopping, nuclear weapons, pornography, etc.) We publish a used car magazine. If interested please contact: Eric Tucker Production Manager White Light Publications 206-575-4097 gfxmanager @ whitelightpubs.com