From krisb at ring.org Wed Oct 3 12:01:54 2007 From: krisb at ring.org (Kris Bosland) Date: Wed, 3 Oct 2007 12:01:54 -0700 (PDT) Subject: [Pdx-pm] Parrot on Windows Message-ID: Hey, I am interested in starting to try out Parrot. Since I am doing all my work on Windows these days (=() I am trying to get it built there. It seems like a good time since it sounds like there is a mostly working LUA port and I am also interested in learning LUA. I am trying to get compilation working with the microsoft Visual Studio stuff, but I am not familiar enough to know how to run it outside of the IDE. I found this web page: http://www.winprog.org/tutorial/msvc.html which mentions: cl foo.c So I tried: "c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" parrot-0.4.16>perl Configure.pl --cc="c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe" --link="C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe" but I got: ... Finding header files distributed with Parrot..........................done. Determining what C compiler and linker to use...Compilation failed with 'c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe' I don't see any specific directions in the readme or in online searching. Any ideas? Thanks. -Kris From allison at perl.org Wed Oct 3 12:28:44 2007 From: allison at perl.org (Allison Randal) Date: Wed, 03 Oct 2007 12:28:44 -0700 Subject: [Pdx-pm] Parrot on Windows In-Reply-To: References: Message-ID: <4703ED6C.9010701@perl.org> I don't have a Windows dev machine, but I've copied Jerry, one of our most active Windows developers in Parrot. Allison Kris Bosland wrote: > Hey, I am interested in starting to try out Parrot. Since I am > doing all my work on Windows these days (=() I am trying to get it built > there. It seems like a good time since it sounds like there is a mostly > working LUA port and I am also interested in learning LUA. > > I am trying to get compilation working with the microsoft Visual > Studio stuff, but I am not familiar enough to know how to run it outside > of the IDE. I found this web page: > > http://www.winprog.org/tutorial/msvc.html > > which mentions: cl foo.c > > So I tried: > > "c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" > parrot-0.4.16>perl Configure.pl > --cc="c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe" > --link="C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe" > > but I got: > > .. > Finding header files distributed with > Parrot..........................done. > Determining what C compiler and linker to use...Compilation failed with > 'c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe' > > > I don't see any specific directions in the readme or in online searching. > > Any ideas? > > Thanks. > > -Kris > > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > > From jerry.gay at gmail.com Wed Oct 3 12:40:47 2007 From: jerry.gay at gmail.com (jerry gay) Date: Wed, 3 Oct 2007 12:40:47 -0700 Subject: [Pdx-pm] Parrot on Windows In-Reply-To: <4703ED6C.9010701@perl.org> References: <4703ED6C.9010701@perl.org> Message-ID: <1d9a3f400710031240v3e4fddf5k19e4b7842b64f441@mail.gmail.com> On 10/3/07, Allison Randal wrote: > I don't have a Windows dev machine, but I've copied Jerry, one of our > most active Windows developers in Parrot. > thanks, allison, i'll help kris. btw i joined the pdx-pm list some time ago, so i'll catch the whole thread without anybody remembering to copy me directly. > Kris Bosland wrote: > > Hey, I am interested in starting to try out Parrot. Since I am > > doing all my work on Windows these days (=() I am trying to get it built > > there. It seems like a good time since it sounds like there is a mostly > > working LUA port and I am also interested in learning LUA. > > great news, kris. welcome! > > I am trying to get compilation working with the microsoft Visual > > Studio stuff, but I am not familiar enough to know how to run it outside > > of the IDE. I found this web page: > > > > http://www.winprog.org/tutorial/msvc.html > > > > which mentions: cl foo.c > > > > So I tried: > > > > "c:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" > > parrot-0.4.16>perl Configure.pl > > --cc="c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe" > > --link="C:\Program Files\Microsoft Visual Studio 8\VC\bin\link.exe" > > > > but I got: > > > > .. > > Finding header files distributed with > > Parrot..........................done. > > Determining what C compiler and linker to use...Compilation failed with > > 'c:\Program Files\Microsoft Visual Studio 8\VC\bin\cl.exe' > > > > > > I don't see any specific directions in the readme or in online searching. > > > > Any ideas? > > you should look at README.win32.pod, in the top level directory of the parrot distribution. there you'll find instructions for setting up parrot using ms, borland, mingw, and intel compiler toolchains. i believe these documents to be up to date, and if they are not, i'd appreciate knowing where you run into trouble. one of the difficulties in keeping these documents up to date is that README files are typically read-once--once there env is set up, there's no need to re-read. if you have troubles, you can post here, parrot-porters at perl.org, or mail me directly. and you'll just about always find me (particle) at irc.perl.org#parrot. good luck! ~jerry From krisb at ring.org Wed Oct 3 12:39:38 2007 From: krisb at ring.org (Kris Bosland) Date: Wed, 3 Oct 2007 12:39:38 -0700 (PDT) Subject: [Pdx-pm] Parrot on Windows In-Reply-To: <1d9a3f400710031240v3e4fddf5k19e4b7842b64f441@mail.gmail.com> Message-ID: On Wed, 3 Oct 2007, jerry gay wrote: > great news, kris. welcome! Hi, thanks! =) > > > > I am trying to get compilation working with the microsoft Visual > > > Studio stuff, but I am not familiar enough to know how to run it outside > > > > you should look at README.win32.pod, in the top level directory of the > > if you have troubles, you can post here, parrot-porters at perl.org, or > mail me directly. and you'll just about always find me (particle) at > irc.perl.org#parrot. > > good luck! > ~jerry Thanks. I am looking at: # $Id: README.win32.pod 18551 2007-05-15 18:50:08Z fperrad $ I believe this is the file you are referring to. As I was going to read this file carefully and give you feedback, I created a test.c simple file to confirm operation of the VC compiler. It compiled and worked, and after that "perl Configure.pl" was able to get past the compile issues. I am guessing that there was some setup that cl.exe (the VC command line executable) was able to figure out with my simple command line, but before that was done the more complex command line in the Configure.pl script was failing. Right now, I am building with nmake, and I will run nmake test and let you know if it works. I would recommend adding a suggestion in README.win32 for a simple offline test, or include a simple test in Configure.pl, or perhaps print out the command line of the failed test after Configure.pl fails so that users can experiment or receive compiler support from there. Thank you for your quick response, and I look forward to joining the Parrot club! -Kris From krisb at ring.org Wed Oct 3 13:03:11 2007 From: krisb at ring.org (Kris Bosland) Date: Wed, 3 Oct 2007 13:03:11 -0700 (PDT) Subject: [Pdx-pm] Parrot on Windows In-Reply-To: Message-ID: nmake test results: Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/compilers/pge/p5regex/p5rx.t 960 5 0.52% 78-80 135-136 t/examples/library.t 1 256 4 1 25.00% 2 t/examples/pasm.t 1 256 6 1 16.67% 5 t/examples/shootout.t 3 768 20 3 15.00% 5 16-17 t/library/streams.t 2 512 20 2 10.00% 13 17 t/op/sprintf.t 308 128 41.56% 11-13 33 37-45 47 51-61 63 65 67-68 100-113 115-121 124-130 133-140 142-143 145 148- 151 154-156 158- 160 162-165 167- 184 194-196 198- 199 205-209 211- 213 216-222 225- 232 15 tests and 623 subtests skipped. Failed 6/333 test scripts, 98.20% okay. 140/7848 subtests failed, 98.22% okay. NMAKE : fatal error U1077: 'C:\Perl\bin\perl.exe' : return code '0xff' Stop. On Wed, 3 Oct 2007, Kris Bosland wrote: > > Right now, I am building with nmake, and I will run nmake test and let you > know if it works. I would recommend adding a suggestion in README.win32 > for a simple offline test, or include a simple test in Configure.pl, or > perhaps print out the command line of the failed test after Configure.pl > fails so that users can experiment or receive compiler support from there. > > Thank you for your quick response, and I look forward to joining the > Parrot club! > > -Kris > From krisb at ring.org Wed Oct 3 13:40:50 2007 From: krisb at ring.org (Kris Bosland) Date: Wed, 3 Oct 2007 13:40:50 -0700 (PDT) Subject: [Pdx-pm] Parrot on Windows In-Reply-To: Message-ID: Well, I guess LUA does not work at a basic level on Windows yet: \parrot\parrot-0.4.16\languages\lua>..\..\parrot.exe lua.pbc Lua 5.1 on Parrot Copyright (C) 2005-2007, The Perl Foundation. > print (2+2) Method 'setfenv' not found > print(2+2) Method 'setfenv' not found > I noticed this a couple of times in the nmake test for lua: # got: 'lua.pbc: EVAL_1:45: cannot open xpto: Win32 is not POSIX. Need Win32 developer! so maybe there are still known issues. If I have time, I may try to hunt up the 'setfenv' Method. Thanks. -Kris From kellert at ohsu.edu Fri Oct 5 14:47:09 2007 From: kellert at ohsu.edu (Thomas Keller) Date: Fri, 5 Oct 2007 14:47:09 -0700 Subject: [Pdx-pm] DBI:SQLite and parameters Message-ID: <5F6CD16B-4475-4B9F-B5CE-86D79614C740@ohsu.edu> Greetings, How does one use parameters wit SQLite via DBI? I can't seem to find a decent on-line reference. thanks, Tom Thomas J Keller PhD kellert at ohsu.edu 4-2442 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20071005/dbc72a9d/attachment.html From chromatic at wgz.org Fri Oct 5 14:54:28 2007 From: chromatic at wgz.org (chromatic) Date: Fri, 5 Oct 2007 14:54:28 -0700 Subject: [Pdx-pm] DBI:SQLite and parameters In-Reply-To: <5F6CD16B-4475-4B9F-B5CE-86D79614C740@ohsu.edu> References: <5F6CD16B-4475-4B9F-B5CE-86D79614C740@ohsu.edu> Message-ID: <200710051454.28593.chromatic@wgz.org> On Friday 05 October 2007 14:47:09 Thomas Keller wrote: > How does one use parameters wit SQLite via DBI? > I can't seem to find a decent on-line reference. What kind of parameters would you like to use? I can think of connection parameters and bind parameters, but the answer's different for either. -- c From kellert at ohsu.edu Fri Oct 5 15:25:06 2007 From: kellert at ohsu.edu (Thomas Keller) Date: Fri, 5 Oct 2007 15:25:06 -0700 Subject: [Pdx-pm] DBI:SQLite and parameters In-Reply-To: <200710051454.28593.chromatic@wgz.org> References: <5F6CD16B-4475-4B9F-B5CE-86D79614C740@ohsu.edu> <200710051454.28593.chromatic@wgz.org> Message-ID: <059B2B18-C2E3-4499-92AA-45BD23AAA16A@ohsu.edu> I think I found it: Instead of a '?' (as with PostgreSQL) you use ':1', etc. Other than that DBI handles it in a standard way. thanks, Tom Thomas J Keller PhD kellert at ohsu.edu 4-2442 On Oct 5, 2007, at 2:54 PM, chromatic wrote: > On Friday 05 October 2007 14:47:09 Thomas Keller wrote: > >> How does one use parameters wit SQLite via DBI? >> I can't seem to find a decent on-line reference. > > What kind of parameters would you like to use? I can think of > connection > parameters and bind parameters, but the answer's different for either. > > -- c From jshirley at gmail.com Fri Oct 5 15:43:56 2007 From: jshirley at gmail.com (J. Shirley) Date: Fri, 5 Oct 2007 15:43:56 -0700 Subject: [Pdx-pm] DBI:SQLite and parameters In-Reply-To: <059B2B18-C2E3-4499-92AA-45BD23AAA16A@ohsu.edu> References: <5F6CD16B-4475-4B9F-B5CE-86D79614C740@ohsu.edu> <200710051454.28593.chromatic@wgz.org> <059B2B18-C2E3-4499-92AA-45BD23AAA16A@ohsu.edu> Message-ID: <756703690710051543x37dfab20vb9440ada752a0584@mail.gmail.com> On 10/5/07, Thomas Keller wrote: > > I think I found it: > Instead of a '?' (as with PostgreSQL) you use ':1', etc. > > Other than that DBI handles it in a standard way. > > thanks, > Tom > > Thomas J Keller PhD > kellert at ohsu.edu > 4-2442 I think you have something weird going on -- you are talking about bind parameters, and they are the same with SQLite -- from the DBD::SQLite docs: use DBI qw(:sql_types); $dbh->{unicode} = 1; my $sth = $dbh->prepare ("INSERT INTO mytable (blobcolumn) VALUES (?)"); $sth->bind_param(1, $binary_data, SQL_BLOB); # binary_data will # be stored as-is. Note the "bind_param" and the "?" in the ->prepare query. -J -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20071005/4bcc82f5/attachment.html From scratchcomputing at gmail.com Fri Oct 5 16:41:25 2007 From: scratchcomputing at gmail.com (Seven till Seven) Date: Fri, 5 Oct 2007 16:41:25 -0700 Subject: [Pdx-pm] still no meeting topic? Message-ID: <200710051641.25151.ewilhelm@cpan.org> Is there a concensus? Schwern and/or lightning talks? I'm roughly counting 4 lightning talks. If nothing is decided, I guess we'll wing it. Anyway... Wednesday. --Eric -- http://pdx.pm.org From ben.hengst at gmail.com Sun Oct 7 07:14:00 2007 From: ben.hengst at gmail.com (benh) Date: Sun, 7 Oct 2007 07:14:00 -0700 Subject: [Pdx-pm] still no meeting topic? In-Reply-To: <200710051641.25151.ewilhelm@cpan.org> References: <200710051641.25151.ewilhelm@cpan.org> Message-ID: <85ddf48b0710070714p69f4bee2xfe98c8246e4e644a@mail.gmail.com> Schwern, I didn't look at the PPW schedule, are your talks full hour talks? could we do both? On 10/5/07, Seven till Seven wrote: > Is there a concensus? Schwern and/or lightning talks? I'm roughly > counting 4 lightning talks. If nothing is decided, I guess we'll wing > it. Anyway... Wednesday. > > --Eric > -- > > http://pdx.pm.org > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > -- benh~ From kellert at ohsu.edu Mon Oct 8 15:45:17 2007 From: kellert at ohsu.edu (Thomas Keller) Date: Mon, 8 Oct 2007 15:45:17 -0700 Subject: [Pdx-pm] SVN and template toolkit Message-ID: Hi, I thought I'd give subversion a try. So checked out my website files that I maintain with ttree (template toolkit). I had updated the ttree.cfg file for this project, but ttree gave a bunch of "Permission denied" messages trying to update to .svn/ various_directories. Is there a trick to using template toolkit and subversions? thanks, Tom K Thomas J Keller PhD kellert at ohsu.edu 4-2442 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20071008/cf19106d/attachment.html From randall at sonofhans.net Mon Oct 8 16:03:13 2007 From: randall at sonofhans.net (Randall Hansen) Date: Mon, 8 Oct 2007 16:03:13 -0700 Subject: [Pdx-pm] SVN and template toolkit In-Reply-To: References: Message-ID: <31015F5B-7A3A-4B09-83A9-CCD2DBE2C6DC@sonofhans.net> On Oct 8, 2007, at 3:45 PM, Thomas Keller wrote: > Is there a trick to using template toolkit and subversions? maybe add this (or something like it) to your local ttree.cfg: ignore = \b(CVS|RCS|svn|swp)\b r From teknotus at gmail.com Mon Oct 8 16:36:40 2007 From: teknotus at gmail.com (Daniel Johnson) Date: Mon, 8 Oct 2007 16:36:40 -0700 Subject: [Pdx-pm] SVN and template toolkit In-Reply-To: References: Message-ID: > I thought I'd give subversion a try. So checked out my website files that I > maintain with ttree (template toolkit). > I had updated the ttree.cfg file for this project, but ttree gave a bunch of > "Permission denied" messages trying to update to .svn/various_directories. I would do an "svn export" after a checkout, and get a copy clean of all the .svn mess. -- teknotus Take Notice From shlomif at iglu.org.il Tue Oct 9 02:03:16 2007 From: shlomif at iglu.org.il (Shlomi Fish) Date: Tue, 9 Oct 2007 11:03:16 +0200 Subject: [Pdx-pm] SVN and template toolkit In-Reply-To: References: Message-ID: <200710091103.17349.shlomif@iglu.org.il> Hi! On Tuesday 09 October 2007, Daniel Johnson wrote: > > I thought I'd give subversion a try. So checked out my website files that > > I maintain with ttree (template toolkit). > > I had updated the ttree.cfg file for this project, but ttree gave a bunch > > of "Permission denied" messages trying to update to > > .svn/various_directories. > > I would do an "svn export" after a checkout, and get a copy clean of > all the .svn mess. Developing on an exported copy is not such a good idea. That's because you cannot check it in afterwards as is, add extra files, trace which extra files were added to the working copy, etc. Developing is harder because the directory tree you're working with is not a working copy, and you cannot use the "svn" commands to manipulate it. Regards, Shlomi Fish --------------------------------------------------------------------- Shlomi Fish shlomif at iglu.org.il Homepage: http://www.shlomifish.org/ If it's not in my E-mail it doesn't happen. And if my E-mail is saying one thing, and everything else says something else - E-mail will conquer. -- An Israeli Linuxer From scratchcomputing at gmail.com Tue Oct 9 17:12:19 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Tue, 9 Oct 2007 17:12:19 -0700 Subject: [Pdx-pm] meeting tomorrow night Message-ID: <200710091712.20038.ewilhelm@cpan.org> October 10th at 6:53pm, Free Geek From selenamarie at gmail.com Wed Oct 10 14:33:19 2007 From: selenamarie at gmail.com (Selena Deckelmann) Date: Wed, 10 Oct 2007 14:33:19 -0700 Subject: [Pdx-pm] PostgreSQL Conference Fall 2007, Registration closing soon! Message-ID: <2b5e566d0710101433q6e72c0fdtb17e0501ba6b896f@mail.gmail.com> PostgreSQL Conference Fall 2007 is a 1-day conference happening on October 20, 2007 on the beautiful Portland State University campus. PSU's Computer Science Graduate Student Council is graciously hosting an excellent group of speakers made up of prominent PostgreSQL consultants, developers and advocates. We've had incredible interest in our conference, and will be closing registration soon. If you haven't registered yet, do it now! http://www.postgresqlconference.org Registration is free for students, although we are asking for a $10 donation for the after-party. For all others, the fee is $60 for the conference and dinner. All proceeds go directly to Software in the Public Interest, a 501(c)3 non-profit, and will be used for PostgreSQL advocacy. For detailed descriptions of the speakers and talks, please visit: http://www.postgresqlconference.org/talks/ And here's the schedule: * 8:00 - 8:45 - Coffee / Breakfast / Social (provided at the conference) * 8:45 - 9:00 - Joshua Drake - A word from our sponsors * 9:00 - 9:25 - Josh Berkus - Welcome to 8.3 * 9:25 - 10:20 - David Wheeler - Web 2.0 (Rails) applications with PostgreSQL -- 10 minute break -- * 10:30 - 11:20 - Robert Hodges - Scaling PostgreSQL Performance with uni/cluster * 11:20 - 12:10 - Neil Conway - Understanding Query Execution in PostgreSQL * 12:10 - 13:15 - LUNCH (on your own) * 13:15 - 13:45 - Mark Wong - PostgreSQL Performance * 13:45 - 14:15 - Joshua Drake - PL/Proxy and Horizontal Scaling * 14:15 - 15:05 - Web Sprague - PostGIS (geographic database) -- 10 minute break -- * 15:15 - 16:05 - David Fetter - Babel of procedural languages * 16:05 - 17:00 - Robert Treat - PostgreSQL Partitioning, semantics, pitfalls and implementation * 17:00 - 17:25 - Josh Berkus - Stupid Solaris tricks * 17:25 - 17:30 - Closing Remarks, Thanks, Where's the party? * 17:30 - 18:00 - Travel to dinner/party * 18:00 -- Dinner/Party at the Paramount Hotel till they kick us out (provided by conference) And once again, thanks to our sponsors: Command Prompt: http://www.commandprompt.com/ Continuent: http://www.continuent.com/ EnterpriseDB: http://www.enterprisedb.com/ Greenplum : http://www.greenplum.com/ Hyperic: http://www.hyperic.com/ OmniTI: http://www.omniti.com/ OTG: http://www.otg-nc.com/ Sun: http://www.sun.com/ Truviso: http://www.truviso.com/ Other Sponsors: PDXPUG: http://pugs.postgresql.org/pdx PSU: http://www.pdx.edu -- Selena Deckelmann PDXPUG - Portland PostgreSQL Users Group http://pugs.postgresql.org/pdx http://www.postgresqlconference.org From schwern at pobox.com Wed Oct 10 15:25:25 2007 From: schwern at pobox.com (Michael G Schwern) Date: Wed, 10 Oct 2007 15:25:25 -0700 Subject: [Pdx-pm] still no meeting topic? In-Reply-To: <85ddf48b0710070714p69f4bee2xfe98c8246e4e644a@mail.gmail.com> References: <200710051641.25151.ewilhelm@cpan.org> <85ddf48b0710070714p69f4bee2xfe98c8246e4e644a@mail.gmail.com> Message-ID: <470D5155.9060101@pobox.com> benh wrote: > Schwern, I didn't look at the PPW schedule, are your talks full hour > talks? could we do both? Yeah, they're full hour talks. It would simplify my life if I didn't have to present tonight. -- I have a date with some giant cartoon robots and booze. From schwern at pobox.com Wed Oct 10 15:30:39 2007 From: schwern at pobox.com (Michael G Schwern) Date: Wed, 10 Oct 2007 15:30:39 -0700 Subject: [Pdx-pm] SVN and template toolkit In-Reply-To: References: Message-ID: <470D528F.6000801@pobox.com> Thomas Keller wrote: > Hi, > I thought I'd give subversion a try. So checked out my website files > that I maintain with ttree (template toolkit). > I had updated the ttree.cfg file for this project, but ttree gave a > bunch of "Permission denied" messages trying to update to > .svn/various_directories. > > Is there a trick to using template toolkit and subversions? Smells like a basic Unix permissions issue. Do you have write permission on those files in question? Is it possible you made the checkout with one user (maybe the web user) and tried to commit with another (your personal account)? To avoid this sort of thing, I'd recommend leaving the checkout your web site is running on alone and have a second checkout to develop on. Then when your development is complete just do an "svn up" from the web site checkout. -- Hating the web since 1994. From scratchcomputing at gmail.com Wed Oct 10 15:33:26 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Wed, 10 Oct 2007 15:33:26 -0700 Subject: [Pdx-pm] Meeting tonight Message-ID: <200710101533.26465.ewilhelm@cpan.org> October 10th at 6:53pm, Free Geek Lightning(ish) Talks (aka "Winging It") * collaborative editors/etc demo * geek2geek communication (or something) * the decision tree thing * a simple CPAN configurator * what is YAPC * and etc. Or something like that... We'll see what happens. --Eric -- "...our schools have been scientifically designed to prevent overeducation from happening." --William Troy Harris --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From ianburrell at gmail.com Wed Oct 10 16:55:10 2007 From: ianburrell at gmail.com (Ian Burrell) Date: Wed, 10 Oct 2007 16:55:10 -0700 Subject: [Pdx-pm] SVN and template toolkit In-Reply-To: <470D528F.6000801@pobox.com> References: <470D528F.6000801@pobox.com> Message-ID: On 10/10/07, Michael G Schwern wrote: > Thomas Keller wrote: > > Hi, > > I thought I'd give subversion a try. So checked out my website files > > that I maintain with ttree (template toolkit). > > I had updated the ttree.cfg file for this project, but ttree gave a > > bunch of "Permission denied" messages trying to update to > > .svn/various_directories. > > > > Is there a trick to using template toolkit and subversions? > > Smells like a basic Unix permissions issue. Do you have write permission on > those files in question? Is it possible you made the checkout with one user > (maybe the web user) and tried to commit with another (your personal account)? > > To avoid this sort of thing, I'd recommend leaving the checkout your web site > is running on alone and have a second checkout to develop on. Then when your > development is complete just do an "svn up" from the web site checkout. > Subversion keeps all of the files in the .svn directory read-only to prevent them being modified by other processes. It must change the permissions before it modifies them. - Ian From keithl at kl-ic.com Sun Oct 14 22:03:45 2007 From: keithl at kl-ic.com (Keith Lofstrom) Date: Sun, 14 Oct 2007 22:03:45 -0700 Subject: [Pdx-pm] regexp and semi-greedy match Message-ID: <20071015050345.GA10501@gate.kl-ic.com> As fly is to sledgehammer, my problem is to this group. However. I work with a proprietary program that starts with a basename foo, and makes lots of files that look like: foo-1.raw, foo-2.raw, ... foo-9.raw, foo-10.raw, foo-11.raw ... foo-99.raw, foo-100.raw, ... et cetera. It appends an integer sequence count and .raw to the basename. Another proprietary program takes these files and processes them in alphabetical sort order: foo-100,raw, foo-10.raw, foo-11.raw, ... , foo-1.raw, foo-20.raw, ..., foo-2.raw, foo-30.raw, .... etc. Which is wrong, and very ugly. I can't rewrite either program. Uglier. However, I can rename the files: foo-1.raw --> foo-001.raw, foo-10.raw --> foo-010.raw etc. So the trick is pattern matching the number part and inserting some leading zeros. This is tricky because some perverse user could use a base file name of, say, foo-121.raw, resulting in output files named foo-121.raw-1.raw . I need to match the second number 1, not the 121. "Greedy" regexp is just a tiny bit too greedy. If I use a pattern match like: if( /(a-z0-9_.-)-(\d*)\.(raw)$/i ) { # this does NOT work Then the first group grabs the whole filename, leaving nothing for the other two groups to grab, and the match fails. I would like it to produce $1=basename, $2=number to zero pad, $3=suffix. What I ended up doing is cheesy: if( /(\w*)-(\d*)\.(raw)/i ) { # this finds plausible target files my $r = rindex( $_ , "-" ); my $f = substr( $_ , 0, $r ); my $nt = substr( $_ , $r ); $nt =~ m/(\d*)\.(raw)$/i ; ... and my match output variables are $f, $1, $2 instead of $1, $2, $3 . It works, but it is barfogenic, and it might match on files it shouldn't. Hence the question: *** QUESTION: Is there a regexp that does a "successfully greedy" *** *** match and splits out the match variables I want? *** Keith Petty details: My cheesy programs can be found at http://www.keithl.com/ndir (good) and http://www.keithl.com/ndir1 (bad). Please do not read them if you are pregnant or have a weak heart. I imagine Randal could do the same job with a one-liner. The examples in the email above are somewhat simplified. In real life there are multiple basenames, and two sets of output files with -nnn.raw and -nnn.out appended, so (raw) becomes (raw|out) . Also, I prepend only enough zeros to each sequence of files in a directory to make them all come out right, so no monsters like -000023.raw, unless there are actually files with number parts that long. I do two passes, the first time to find the longest number for each basename. -- Keith Lofstrom keithl at keithl.com Voice (503)-520-1993 KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon" Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs From tkil at scrye.com Sun Oct 14 23:32:08 2007 From: tkil at scrye.com (Tkil) Date: Mon, 15 Oct 2007 00:32:08 -0600 Subject: [Pdx-pm] regexp and semi-greedy match In-Reply-To: <20071015050345.GA10501@gate.kl-ic.com> (Keith Lofstrom's message of "Sun, 14 Oct 2007 22:03:45 -0700") References: <20071015050345.GA10501@gate.kl-ic.com> Message-ID: >>>>> "Keith" == Keith Lofstrom writes: Keith> foo-1.raw, foo-2.raw, ... foo-9.raw, foo-10.raw, foo-11.raw Keith> ... foo-99.raw, foo-100.raw, So why not just use a greedy match for everything before the integer count and ".raw"? So long as you use "one or more" for the integer count, and the ".raw" literally, it should Just Work (since the evil hacker can't prevent the presence of /-\d+\.raw/ at the end of the file names no matter what they specify). | my $max_digits = 1; | my $common_base; | my @files; | foreach my $filename ( glob '*.raw' ) | { | my ( $base, $num ) = ( $filename =~ m!^(.*)-(\d+?)\.raw$!i ) | or die "$filename: unrecognized filename"; | if ( ! defined $common_base ) { | $common_base = $base; | } else { | if ( $common_base ne $base ) { | die "$filename: new base '$base' " . | "differs from old base '$common_base'""; | } | push @files, { orig_name => $filename, num => $num }; | if ( $max_digits < length( $num ) ) { $max_digits = $length $num ; } | } | | my $format = $common_base . '-%0' . $max_digits . 'd.raw'; | | foreach my $href ( @files ) | { | my $orig = $href->{orig_name}; | my $new = sprintf $format, $href->{num}; | rename $orig, $new | or warn "rename '$orig', '$new': $!"; | } Hmm? t. From scratchcomputing at gmail.com Sun Oct 14 23:48:55 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Sun, 14 Oct 2007 23:48:55 -0700 Subject: [Pdx-pm] regexp and semi-greedy match In-Reply-To: <20071015050345.GA10501@gate.kl-ic.com> References: <20071015050345.GA10501@gate.kl-ic.com> Message-ID: <200710142348.55623.ewilhelm@cpan.org> # from Keith Lofstrom # on Sunday 14 October 2007 22:03: >"Greedy" regexp is just a tiny bit too greedy. ?If I use a pattern > match like: > >? ?if( /(a-z0-9_.-)-(\d*)\.(raw)$/i ) { ? ? # this does NOT work I don't think it is a greedy bug. The first group is literal. Are you trying for a character class (needs square brackets) and why? m/^(.*)-(\d+)\.raw$/ I'm also not sure about the capturing on "raw", which is a constant. (Perhaps it is going to change and you want to capture anything which is not-a-dot until the end: qr/-(\d+)\.([^.]+)$/ .) Another trick in situations like this is to not bother capturing if you happen to have a disposable copy of the scalar. Just whack the interesting and/or messy bits off of the end. my $num; if($scalar =~ s/-(\d+)\.raw$//) { $num = $1; } else { die "didn't expect that input"; # or you could next } # $scalar is now just the base bit Another note: "greedy" typically causes failed captures, not failed matches. The greed comes into play when multiple .* (or similar) might match in more than one way. The regexp engine resolves the ambiguity by stuffing as much as possible into the first submatch (but curbs its gluttony short of invalidating the entire match.) In this case the \d* could cause the match to hit on a mal-formatted string (and your $1 would get the whole string.) The \d+ and the \.raw$ anchor things though (and cause the whole match to fail if something went awry.) --Eric -- "Time flies like an arrow, but fruit flies like a banana." --Groucho Marx --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From joshua at keroes.com Mon Oct 15 08:24:30 2007 From: joshua at keroes.com (Joshua Keroes) Date: Mon, 15 Oct 2007 08:24:30 -0700 Subject: [Pdx-pm] regexp and semi-greedy match In-Reply-To: <20071015050345.GA10501@gate.kl-ic.com> References: <20071015050345.GA10501@gate.kl-ic.com> Message-ID: Non-greedy preliminary match for basename then greedy \d match for int. DB<1> $_ = 'foo-121.raw-456.raw'; DB<2> ($base, $int) = /^(.*?)-(\d+).raw$/ DB<3> printf " base=%s\n int=%s\n fill=%06d", $base, $int, $int; base=foo-121.raw int=456 fill=000456 From keithl at kl-ic.com Mon Oct 15 09:33:43 2007 From: keithl at kl-ic.com (Keith Lofstrom) Date: Mon, 15 Oct 2007 09:33:43 -0700 Subject: [Pdx-pm] regexp and semi-greedy match - THANKS! In-Reply-To: <200710142348.55623.ewilhelm@cpan.org> References: <20071015050345.GA10501@gate.kl-ic.com> <200710142348.55623.ewilhelm@cpan.org> Message-ID: <20071015163343.GA13102@gate.kl-ic.com> # from Keith Lofstrom # on Sunday 14 October 2007 22:03: >"Greedy" regexp is just a tiny bit too greedy. ?If I use a pattern > match like: > >? ?if( /(a-z0-9_.-)-(\d*)\.(raw)$/i ) { ? ? # this does NOT work On Sun, Oct 14, 2007 at 11:48:55PM -0700, Eric Wilhelm wrote: > I don't think it is a greedy bug. The first group is literal. Are you > trying for a character class (needs square brackets) and why? > > m/^(.*)-(\d+)\.raw$/ ... Thank you! I did forget the brackets, and I should have used \d+ . The actual regexp, which captures files suffixed .raw or .out or .RAW or .OUT and ignores other files (as mentioned in the boring details), is now: m/(.*)-(\d+)\.(raw|out)$/i ... and that works fine. Also as mentioned in the boring details, I am trying to use the minimum number of digits necessary, mostly because the second program (that uses the file list) seems to have limited filename buffer space. The new version of the rename program is at http://www.keithl.com/ndir2 . Again, do not show that to children, or read after eating. Keith PS: the two programs this sits between are part of a big, expensive integrated circuit simulator CAD suite, which I use in place of an ULTRA-expensive CAD suite, which I need to design chips. Someday there will be an open source replacement, I hope, but until then I am stuck with funky behavior. Fortunately, Perl can repair much file damage. Also, I can send the Perl code to the proprietary vendor and say "this is how the data SHOULD look. Fix the CAD tool." -- Keith Lofstrom keithl at keithl.com Voice (503)-520-1993 KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon" Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs From teknotus at gmail.com Wed Oct 17 22:46:45 2007 From: teknotus at gmail.com (Daniel Johnson) Date: Wed, 17 Oct 2007 22:46:45 -0700 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail Message-ID: Don't write code like in the link! http://use.perl.org/~Alias/journal/34680 -- teknotus Take Notice From scratchcomputing at gmail.com Wed Oct 17 23:03:52 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Wed, 17 Oct 2007 23:03:52 -0700 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail In-Reply-To: References: Message-ID: <200710172303.52160.ewilhelm@cpan.org> # from Daniel Johnson # on Wednesday 17 October 2007 22:46: >Don't write code like in the link! > >http://use.perl.org/~Alias/journal/34680 Yeah. More importantly, don't run such code as root. Note Abigail's method of using a dedicated, unprivileged user to install code from CPAN. Then the only files at risk are your perl tree. --Eric -- The first rule about Debian is you don't talk about Debian --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From schwern at pobox.com Thu Oct 18 10:57:36 2007 From: schwern at pobox.com (Michael G Schwern) Date: Thu, 18 Oct 2007 13:57:36 -0400 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail In-Reply-To: <200710172303.52160.ewilhelm@cpan.org> References: <200710172303.52160.ewilhelm@cpan.org> Message-ID: <47179E90.4080206@pobox.com> Eric Wilhelm wrote: > # from Daniel Johnson > # on Wednesday 17 October 2007 22:46: > >> Don't write code like in the link! >> >> http://use.perl.org/~Alias/journal/34680 > > Yeah. More importantly, don't run such code as root. > > Note Abigail's method of using a dedicated, unprivileged user to install > code from CPAN. Then the only files at risk are your perl tree. That's troublesome because you then have to have different bin and man paths and make sure PATH and MANPATH are all set up and oh god the burning. You don't have to go that far. CPAN.pm is perfectly capable of sudo'ing the install phase. Just do this: http://use.perl.org/comments.pl?sid=37249&op=&threshold=0&commentsort=0&mode=thread&cid=58370 The first-time configurator recommends that approach. http://use.perl.org/comments.pl?sid=37249&op=&threshold=0&commentsort=0&mode=thread&cid=58469 -- Ahh email, my old friend. Do you know that revenge is a dish that is best served cold? And it is very cold on the Internet! From scratchcomputing at gmail.com Thu Oct 18 11:16:13 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Thu, 18 Oct 2007 11:16:13 -0700 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail In-Reply-To: <47179E90.4080206@pobox.com> References: <200710172303.52160.ewilhelm@cpan.org> <47179E90.4080206@pobox.com> Message-ID: <200710181116.13170.ewilhelm@cpan.org> # from Michael G Schwern # on Thursday 18 October 2007 10:57: >> Note Abigail's method of using a dedicated, unprivileged user to >> install code from CPAN. ?Then the only files at risk are your perl >> tree. > >That's troublesome because you then have to have different bin and man > paths and make sure PATH and MANPATH are all set up and oh god the > burning. Well, yeah. Too bad the install is done via `make install`. Perhaps adding a stow step to cpan.pm or something would make that easier. >You don't have to go that far. ?CPAN.pm is perfectly capable of > sudo'ing the install phase. Running cpan as a dedicated user with an sudo on the install phase would still be a good idea. Luckily, the install action is usually pretty safe. Losing your $HOME directory while running a test suite would sort of suck. --Eric -- Moving pianos is dangerous. Moving pianos are dangerous. Buffalo buffalo buffalo buffalo buffalo buffalo buffalo. --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From schwern at pobox.com Thu Oct 18 11:47:24 2007 From: schwern at pobox.com (Michael G Schwern) Date: Thu, 18 Oct 2007 14:47:24 -0400 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail In-Reply-To: <200710181116.13170.ewilhelm@cpan.org> References: <200710172303.52160.ewilhelm@cpan.org> <47179E90.4080206@pobox.com> <200710181116.13170.ewilhelm@cpan.org> Message-ID: <4717AA3C.20008@pobox.com> Eric Wilhelm wrote: > # from Michael G Schwern > # on Thursday 18 October 2007 10:57: > >>> Note Abigail's method of using a dedicated, unprivileged user to >>> install code from CPAN. Then the only files at risk are your perl >>> tree. >> That's troublesome because you then have to have different bin and man >> paths and make sure PATH and MANPATH are all set up and oh god the >> burning. > > Well, yeah. Too bad the install is done via `make install`. Perhaps > adding a stow step to cpan.pm or something would make that easier. The install step is configurable and I don't think there's anything stopping you from saying... "make install DESTDIR=/usr/local/stow && stow ..." -- Stabbing you in the face for your own good. From scratchcomputing at gmail.com Thu Oct 18 14:28:34 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Thu, 18 Oct 2007 14:28:34 -0700 Subject: [Pdx-pm] I think the definition of failsafe is that things should do the safe thing if they fail In-Reply-To: <4717AA3C.20008@pobox.com> References: <200710181116.13170.ewilhelm@cpan.org> <4717AA3C.20008@pobox.com> Message-ID: <200710181428.35069.ewilhelm@cpan.org> # from Michael G Schwern # on Thursday 18 October 2007 11:47: >> Well, yeah. ?Too bad the install is done via `make install`. >> ?Perhaps adding a stow step to cpan.pm or something would make that >> easier. > >The install step is configurable and I don't think there's anything > stopping you from saying... "make install DESTDIR=/usr/local/stow && > stow ..." I suppose not. DESTDIR=/usr/local/stow/cpan or so and just sudo the stow then. Sounds like a presentation topic for Nov. 14th. Now all we need is a volunteer. --Eric -- I arise in the morning torn between a desire to improve the world and a desire to enjoy the world. This makes it hard to plan the day. --E.B. White --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From tex at off.org Tue Oct 23 14:22:16 2007 From: tex at off.org (Austin Schutz) Date: Tue, 23 Oct 2007 14:22:16 -0700 Subject: [Pdx-pm] Should be easy, but... Message-ID: <20071023212216.GA27663@gblx.net> Ok, so all I want to know is what the path is to my cgi script. Sounds easy, but modperl changes $0 to /usr/sbin/apache2. Some random postings on the web indicate FindBin or FindBin::Real. Perfect, even supposed to work with modperl. Ok, here we go.. ah... Bin: /usr/sbin, Script: apache2, Realbin: /usr/sbin. Super. This should be taking 10 seconds, instead I've wasted the better part of a day trying to figure this out. Surely I must be missing something obvious, yes? Shouldn't the path to the currently executing script be simple to find, like maybe even in the perl core simple? Austin From kellert at ohsu.edu Tue Oct 23 15:30:56 2007 From: kellert at ohsu.edu (Thomas Keller) Date: Tue, 23 Oct 2007 15:30:56 -0700 Subject: [Pdx-pm] Should be easy, but... In-Reply-To: <20071023212216.GA27663@gblx.net> References: <20071023212216.GA27663@gblx.net> Message-ID: install pmtools.pm and use the pmpath method ? Tom MMI Shared Resource Facility 503-494-2442 kellert at ohsu.edu On Oct 23, 2007, at 2:22 PM, Austin Schutz wrote: > Ok, so all I want to know is what the path is to my cgi script. > Sounds > easy, but modperl changes $0 to /usr/sbin/apache2. > Some random postings on the web indicate FindBin or FindBin::Real. > Perfect, even supposed to work with modperl. Ok, here we go.. ah... > Bin: /usr/sbin, Script: apache2, Realbin: /usr/sbin. Super. > > This should be taking 10 seconds, instead I've wasted the better part > of a day trying to figure this out. Surely I must be missing something > obvious, yes? Shouldn't the path to the currently executing script > be simple > to find, like maybe even in the perl core simple? > > Austin > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list From mike at collegenet.com Tue Oct 23 15:29:34 2007 From: mike at collegenet.com (Mike Hitchcock) Date: Tue, 23 Oct 2007 15:29:34 -0700 Subject: [Pdx-pm] Should be easy, but... In-Reply-To: <20071023212216.GA27663@gblx.net> References: <20071023212216.GA27663@gblx.net> Message-ID: <471E75CE.40001@collegenet.com> Use the SCRIPT_FILENAME environment variable? -- Mike Hitchcock VP, Systems Engineering CollegeNET, Inc. Austin Schutz wrote: > Ok, so all I want to know is what the path is to my cgi script. Sounds > easy, but modperl changes $0 to /usr/sbin/apache2. > Some random postings on the web indicate FindBin or FindBin::Real. > Perfect, even supposed to work with modperl. Ok, here we go.. ah... > Bin: /usr/sbin, Script: apache2, Realbin: /usr/sbin. Super. > > This should be taking 10 seconds, instead I've wasted the better part > of a day trying to figure this out. Surely I must be missing something > obvious, yes? Shouldn't the path to the currently executing script be simple > to find, like maybe even in the perl core simple? > > Austin > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > From tex at off.org Tue Oct 23 16:20:30 2007 From: tex at off.org (Austin Schutz) Date: Tue, 23 Oct 2007 16:20:30 -0700 Subject: [Pdx-pm] Should be easy, but... In-Reply-To: <20071023212216.GA27663@gblx.net> References: <20071023212216.GA27663@gblx.net> Message-ID: <20071023232029.GC27663@gblx.net> On Tue, Oct 23, 2007 at 02:22:16PM -0700, Austin Schutz wrote: > Ok, so all I want to know is what the path is to my cgi script. Sounds > easy, but modperl changes $0 to /usr/sbin/apache2. > Some random postings on the web indicate FindBin or FindBin::Real. > Perfect, even supposed to work with modperl. Ok, here we go.. ah... > Bin: /usr/sbin, Script: apache2, Realbin: /usr/sbin. Super. > > This should be taking 10 seconds, instead I've wasted the better part > of a day trying to figure this out. Surely I must be missing something > obvious, yes? Shouldn't the path to the currently executing script be simple > to find, like maybe even in the perl core simple? > Of course! There's a cgi environment variable for it: $ENV{SCRIPT_FILENAME}. So all I need to do is take the filename off the end and use lib $that. ..but mod_perl doesn't respect begin blocks, so I can't tweak the name and put it in a use lib. I know! I'll make a symlink to the current directory named $ENV{SCRIPT_FILENAME}foo, then use lib "$ENV{SCRIPT_FILENAME}foo/lib/perl" so I can find my modules. Am I the only one who runs into this stuff? Does mod_python do this nonsense? Austin From scratchcomputing at gmail.com Tue Oct 23 22:56:47 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Tue, 23 Oct 2007 22:56:47 -0700 Subject: [Pdx-pm] Should be easy, but... In-Reply-To: <20071023212216.GA27663@gblx.net> References: <20071023212216.GA27663@gblx.net> Message-ID: <200710232256.47789.ewilhelm@cpan.org> # from Austin Schutz # on Tuesday 23 October 2007 14:22: >Ok, so all I want to know is what the path is to my cgi script. Sounds >easy, but modperl changes $0 to /usr/sbin/apache2. If you really need $0 and something changed that, then yes, you'll have to look in the environment (which will be specific to the environment (see also PAR.)) If you just want something relative to the current compilation unit, there's always __FILE__. That is, if you're asking for $0 from within the main script, __FILE__ is the same -- and maybe closer to what you mean. Probably an aside: Anything looking at $0 from outside of the main script might smell like "action at a distance." --Eric -- Entia non sunt multiplicanda praeter necessitatem. --Occam's Razor --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From scratchcomputing at gmail.com Wed Oct 24 22:41:55 2007 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Wed, 24 Oct 2007 22:41:55 -0700 Subject: [Pdx-pm] Fwd: Apress User Group Newsletter, October 2007 Issue Message-ID: <200710242241.55494.ewilhelm@cpan.org> ---------- Forwarded Message: ---------- Subject: Apress User Group Newsletter, October 2007 Issue Date: Wednesday 24 October 2007 19:12 From: "Apress Newsletter" To: scratchcomputing at gmail.com Your email application doesn't appear to be displaying the HTML version of our newsletter. You can view it online here: http://www.apress.com/newsletter/76 http://app.streamsend.com/private/hbs1/6EqpCTn/unsubscribe/20791 ------------------------------------------------------- From jeff at vpservices.com Fri Oct 26 09:33:23 2007 From: jeff at vpservices.com (Jeff Zucker) Date: Fri, 26 Oct 2007 09:33:23 -0700 Subject: [Pdx-pm] OT : hosting providers Message-ID: <472216D3.5020802@vpservices.com> I need to find a hosting provider that has all of the usual suspects - *nix, shell access, modern perl, reasonable support, established track record, etc. - and some unusual ones (for this list at least) - PHP, well-tuned MySQL with drop, temp table, and lock table perms[1]. My immediate need is a home for a medium-sized Portland non-profit organization but eventually I'd like to move my own stuff there. Please email me off list unless someone else is interested in the answers. Thanks! [1] I mention those perms because amazingly I have had three different ISPs tell me they supported those and then, when I tried, it turned out they didn't and wouldn't. -- Jeff From david.brewer at gmail.com Fri Oct 26 13:20:25 2007 From: david.brewer at gmail.com (David Brewer) Date: Fri, 26 Oct 2007 13:20:25 -0700 Subject: [Pdx-pm] OT : hosting providers In-Reply-To: <472216D3.5020802@vpservices.com> References: <472216D3.5020802@vpservices.com> Message-ID: <2248649a0710261320r68b1eb03p79ec4b71ee9bc959@mail.gmail.com> I thought I'd post my answer to the list as I know that personally I'm always interested in gathering feedback about hosting providers. :-) If you're willing and able to do your server software installation yourself, Slicehost (http://www.slicehost.com/) is a pretty attractive choice. You get a virtual private server with a choice of Linux distribution and full access to do whatever you want, at what I consider to be a very reasonable price. David Brewer On 10/26/07, Jeff Zucker wrote: > I need to find a hosting provider that has all of the usual suspects - > *nix, shell access, modern perl, reasonable support, established track > record, etc. - and some unusual ones (for this list at least) - PHP, > well-tuned MySQL with drop, temp table, and lock table perms[1]. My > immediate need is a home for a medium-sized Portland non-profit > organization but eventually I'd like to move my own stuff there. > > Please email me off list unless someone else is interested in the answers. > > Thanks! > > [1] I mention those perms because amazingly I have had three different > ISPs tell me they supported those and then, when I tried, it turned out > they didn't and wouldn't. > > -- > Jeff > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > From jeff at vpservices.com Fri Oct 26 14:00:31 2007 From: jeff at vpservices.com (Jeff Zucker) Date: Fri, 26 Oct 2007 14:00:31 -0700 Subject: [Pdx-pm] OT : hosting providers In-Reply-To: <2248649a0710261320r68b1eb03p79ec4b71ee9bc959@mail.gmail.com> References: <472216D3.5020802@vpservices.com> <2248649a0710261320r68b1eb03p79ec4b71ee9bc959@mail.gmail.com> Message-ID: <4722556F.2020807@vpservices.com> David Brewer wrote: > I thought I'd post my answer to the list as I know that personally I'm > always interested in gathering feedback about hosting providers. :-) > > Thanks, and thanks to the others who are responding, I'll summarize back to the list. -- Jeff > If you're willing and able to do your server software installation > yourself, Slicehost (http://www.slicehost.com/) is a pretty attractive > choice. You get a virtual private server with a choice of Linux > distribution and full access to do whatever you want, at what I > consider to be a very reasonable price. > > David Brewer > > On 10/26/07, Jeff Zucker wrote: > >> I need to find a hosting provider that has all of the usual suspects - >> *nix, shell access, modern perl, reasonable support, established track >> record, etc. - and some unusual ones (for this list at least) - PHP, >> well-tuned MySQL with drop, temp table, and lock table perms[1]. My >> immediate need is a home for a medium-sized Portland non-profit >> organization but eventually I'd like to move my own stuff there. >> >> Please email me off list unless someone else is interested in the answers. >> >> Thanks! >> >> [1] I mention those perms because amazingly I have had three different >> ISPs tell me they supported those and then, when I tried, it turned out >> they didn't and wouldn't. >> >> -- >> Jeff >> _______________________________________________ >> Pdx-pm-list mailing list >> Pdx-pm-list at pm.org >> http://mail.pm.org/mailman/listinfo/pdx-pm-list >> >> > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > > > From cymberlaen at sprintpcs.com Sun Oct 28 08:25:56 2007 From: cymberlaen at sprintpcs.com (Dennis H. Medley) Date: Sun, 28 Oct 2007 08:25:56 -0700 Subject: [Pdx-pm] OT : hosting providers In-Reply-To: References: Message-ID: <20071028082556.620322cd@BartonGentoo.nhhorses.biz> On Sat, 27 Oct 2007 12:00:14 -0700 David Brewer wrote: > Slicehost My thanks as well for this -- they DO look good. Dennis H. Medley Cymberlaen Software From jeff at vpservices.com Mon Oct 29 15:42:06 2007 From: jeff at vpservices.com (Jeff Zucker) Date: Mon, 29 Oct 2007 15:42:06 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <472216D3.5020802@vpservices.com> References: <472216D3.5020802@vpservices.com> Message-ID: <472661BE.2070503@vpservices.com> Not surprisingly, TIMTOWTDI for hosting providers. I just wish two of you had recommended the same place to break the 7-way tie :-). These all got one vote each: linode johncompanies bluehost slicehost dreamhost pair westhost Thanks all! -- Jeff From jshirley at gmail.com Mon Oct 29 15:49:39 2007 From: jshirley at gmail.com (J. Shirley) Date: Mon, 29 Oct 2007 15:49:39 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <472661BE.2070503@vpservices.com> References: <472216D3.5020802@vpservices.com> <472661BE.2070503@vpservices.com> Message-ID: <756703690710291549r14a5a057sdeadb5f97ac10b28@mail.gmail.com> On 10/29/07, Jeff Zucker wrote: > > Not surprisingly, TIMTOWTDI for hosting providers. I just wish two of > you had recommended the same place to break the 7-way tie :-). These > all got one vote each: > > linode > johncompanies > bluehost > slicehost > dreamhost > pair > westhost > > Thanks all! > > -- > Jeff > > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list I vote for Linode and SliceHost equally. Does that help? :) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20071029/8a6f39af/attachment.html From david.brewer at gmail.com Mon Oct 29 16:03:07 2007 From: david.brewer at gmail.com (David Brewer) Date: Mon, 29 Oct 2007 16:03:07 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <472661BE.2070503@vpservices.com> References: <472216D3.5020802@vpservices.com> <472661BE.2070503@vpservices.com> Message-ID: <2248649a0710291603x6ebc91fai4845d0d6ffc8e760@mail.gmail.com> Looks like you can very quickly pare that list down if you decide if you're in the market for shared hosting (typically less setup work and often cheaper, but also much less control and very frequently heavily oversold) or VPS hosting (total control, but also total responsibility to configure everything). I'll be interested to see if anyone casts a tiebreaker vote now. :-) On 10/29/07, Jeff Zucker wrote: > Not surprisingly, TIMTOWTDI for hosting providers. I just wish two of > you had recommended the same place to break the 7-way tie :-). These > all got one vote each: > > linode > johncompanies > bluehost > slicehost > dreamhost > pair > westhost > > Thanks all! > > -- > Jeff > > _______________________________________________ > Pdx-pm-list mailing list > Pdx-pm-list at pm.org > http://mail.pm.org/mailman/listinfo/pdx-pm-list > From jeff at vpservices.com Mon Oct 29 16:11:11 2007 From: jeff at vpservices.com (Jeff Zucker) Date: Mon, 29 Oct 2007 16:11:11 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <2248649a0710291603x6ebc91fai4845d0d6ffc8e760@mail.gmail.com> References: <472216D3.5020802@vpservices.com> <472661BE.2070503@vpservices.com> <2248649a0710291603x6ebc91fai4845d0d6ffc8e760@mail.gmail.com> Message-ID: <4726688F.6070801@vpservices.com> David Brewer wrote: > Looks like you can very quickly pare that list down if you decide if > you're in the market for shared hosting (typically less setup work and > often cheaper, but also much less control and very frequently heavily > oversold) or VPS hosting (total control, but also total responsibility > to configure everything). > > Good point. I'm thinking I will probably want shared hosting for the non-profit organization and VPS for myself. -- Jeff > I'll be interested to see if anyone casts a tiebreaker vote now. :-) > > On 10/29/07, Jeff Zucker wrote: > >> Not surprisingly, TIMTOWTDI for hosting providers. I just wish two of >> you had recommended the same place to break the 7-way tie :-). These >> all got one vote each: >> >> linode >> johncompanies >> bluehost >> slicehost >> dreamhost >> pair >> westhost >> >> Thanks all! >> >> -- >> Jeff >> >> _______________________________________________ >> Pdx-pm-list mailing list >> Pdx-pm-list at pm.org >> http://mail.pm.org/mailman/listinfo/pdx-pm-list >> >> > > > From jeff at vpservices.com Tue Oct 30 11:54:37 2007 From: jeff at vpservices.com (Jeff Zucker) Date: Tue, 30 Oct 2007 11:54:37 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <472661BE.2070503@vpservices.com> References: <472216D3.5020802@vpservices.com> <472661BE.2070503@vpservices.com> Message-ID: <47277DED.6020900@vpservices.com> One last question on the (off) topic : has anyone ever heard of the provider digitalAid, supposedly they specialize in not-for-profits. -- Jeff From teknotus at gmail.com Tue Oct 30 12:18:02 2007 From: teknotus at gmail.com (Daniel Johnson) Date: Tue, 30 Oct 2007 12:18:02 -0700 Subject: [Pdx-pm] OT : hosting providers [Summary] In-Reply-To: <472661BE.2070503@vpservices.com> References: <472216D3.5020802@vpservices.com> <472661BE.2070503@vpservices.com> Message-ID: On 10/29/07, Jeff Zucker wrote: > Not surprisingly, TIMTOWTDI for hosting providers. I just wish two of > you had recommended the same place to break the 7-way tie :-). These > all got one vote each: > > linode > johncompanies > bluehost > slicehost > dreamhost > pair > westhost I work for a small webhosting provider. As such I am somewhat in tune with the hosting scene. I would plug my own operation but we aren't focused on perl hosting. From this list I would say dreamhost for shared hosting, and slicehost for VPS. Slicehost acts like they are much bigger than they are which is a standard practice in the biz. Always talk about your colo's data facility like it's your own. This doesn't nessisarily make them any better, or worse than the other guys though. The important part is what level of service they give you, and how well designed their software setup is. From a little DNS digging it looks like their data center is this [1] [1] http://www.datotel.com/virtualtour.htm -- teknotus Take Notice