chrisv's Journal http://use.perl.org/~chrisv/journal/ chrisv's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:43:15+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 chrisv's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~chrisv/journal/ Perl is dead! Long live PROPERL! http://use.perl.org/~chrisv/journal/38721?from=rss <p> <b>Update 20090424chrisv: ProPerl.org now redirects to <a href="http://enlightenedperl.org/">EnlightenedPerl.org</a> as they basically have the same goals.</b> </p><p>Thank you for your attention. This is a rant. A long one. <b>If you love Perl</b> just like I do and you want it back on its feet as the good (or best) choice for professional software development, <b>please bear with me and read on</b>. If you don't want to invest in Perl anymore for your future and you think all is lost, please move out of the way.</p><p>Ok, here I go. Hold on and <b>please keep reading. It's really important.</b> </p><p>I'm sick of hearing that "Perl is dying" and to have to observe how the share of Perl in the programming community is diminshing in favor of other dynamic languages like Python and Ruby, in all sorts of areas: books published, novice programmers adopting Perl, share of Perl on open source repos and major conferences, etc.</p><p>What I'm even more sick of is having such a difficult time finding local Perl programmers to work with me on professional projects, let alone customer-friendly and experienced analysts to go help customers out onsite.</p><p>I've seen lots of colleagues in my part of the world (Belgium) simply leave Perl behind as a professional languague and jump ship to more "popular" ones like PHP, Python, Ruby and even ASP.NET. None of them came back. Perl is clearly not where the money is anymore.</p><p>If you really <i>really</i> want to keep on making money with creating software in Perl, it seems you have no choice but to join the few listed powerhouses like Booking.com that were built on Perl a decade ago and have too big an investment in it to even consider another, more programmer-friendly programming language even if they wanted to, or move to South-California to hook up with a startup that was created out of stuff that Bradfitz or Ingy wrote [1] or stubbornly go into the consulting business and try to get Perl contract jobs, in which case you end up just keeping old Perl 4 stuff running most of the time. I wish you good luck finding a Perl contracting job if you live in Belgium BTW.</p><p>But what made me want to finally stand up and DO something was Louis-David Mitterand's post on the modperl mailinglist a few days ago which he titled the "decline and fall of modperl?" [2]. What ensued was a fantastic thread, with feedback from both the older and new generation of perl programmers, but most importantly: from recruiters (!).</p><p>What I got from this thread, from many previous rants about the would-be demise of Perl (based on sales-figures, opensource repo-stats and the like), as well as from the seemingly neverending deathmarch that is Perl6 (and the resulting fatalistic nihilism of many Perlers), is that there is nothing wrong with Perl, but that there is a problem with its perceived image, and the hippie-mentality of its community.</p><p>I am kicking around right now, and I'm gonna step on lots of toes. I know this. Some people will probably also think I'm a complete nitwit and say I don't know what I'm talking about. I don't care about them (although I will probably allow their hurtful words get to me personally, but I am prepared to stand up to that). I don't want to be the popular guy. I care about Perl and I don't see anybody in the Perl community stand up and say that we need to do something (although Matt Trout came very close when we talked about Enlightened Perl [3] during the Belgian Perl Workshop). I'm in a stage where it's all or nothing. If this doesn't work, at least I will have tried and done what I could as a member of the Perl community before I hike up my pants and move on. My ego and popularity is nothing compared to the potential loss if we don't act now and try to save Perl from obscurity and neglect. Because let's face it: Perl is <i>never</i> going to die, just like COBOL is never going to die. I'm sure COBOL once was in the same situation Perl is in now.</p><p>I want to make an attempt at rallying people to get real, wake up and smell the coffee. Because there are basically 2 types of people: a very small percentage that doesn't care what other people think and simply use what they consider the best tool for the job (which is, as we all know, Perl). This small majority has the luxury of not caring what other people think because they don't have any responsibilities beyond themselves. Then there is the other type, which makes up most of us. We look around, see and hear, and adapt to the change around us. We do this to survive. On both a financial and social level. Again: Perl is not where the money is anymore.</p><p>Now, if Perl wants to remain a viable way of building both great products and allowing one to make a living of it, we need new blood. Lots of it. And fast. We need new projects. Major projects built in Perl. They will convince those people that look around and observe change that Perl is, indeed, great. That people are actually using it to build great things with.</p><p>This is becoming a long rant. Please bear with me a little longer. I'm almost there.</p><p>To let Perl shine and attract people and projects, we need to lock down on the freedom a bit. We need to step back and describe in one (1) single clear and lucid way of how you go about building great stuff in Perl. We need to carefully pick a single toolset, sex it up, document it towards normal people, and market the hell out of it in all ways possible. The most efficient way being building cool and highly visible products with it.</p><p>So what I did (because nobody else has AFAIK) is set up a project called PROPERL that proposes and aims to popularize the idea that there should be one &#8212; and preferably only one &#8212; obvious way to do it in Perl in order to make it more accessible, adoptable and maintainable. If this sounds like The Zen of Python, it's because it is. I realize this is utter blasphemy towards the basic notion of TIMTOWTDI, but I don't want to wait voicing my heresy until I'm almost dead like Darwin. It will be too late by then.</p><p>So if any of this makes any sense to you, please head over to the PROPERL wiki [4] and subscribe to the Google Group [5].</p><p>I've also set up a twitter account to log all progress as we go along [6] - please follow, and I will make sure that you're followed back, because that is the curteous thing to do<nobr> <wbr></nobr>;-)</p><p>If on the other hand all of this does NOT make sense to you, please don't start nitpicking on things I've written here. If you can't say anything constructive, I'd rather that you didn't say anything at all, because you won't be helping at all.</p><p>Please join me in giving Perl a good ass-kicking. It needs one badly. If you really love Perl, you know this can't go on and you know it needs some tough love. It's hard, but it really needs to be done.</p><p>I'm all ears for all your suggestions at chrisv(at)cpan(dot)org. But maybe instead of mailing only me, put your suggestions and (constructive) critiques on the PROPERL google group [5] - that way everybody can chime in.</p><p>Let's RIDE the Camel!</p><p>Thanks for reading this. Really appreciate it.</p><p>All the best -- <a href="http://twitter.com/chrisv">@chrisv</a> </p><p> [1] Socialtext, Livejournal, Vox,<nobr> <wbr></nobr>...<br> [2] <a href="http://mail-archives.apache.org/mod_mbox/perl-modperl/200903.mbox/browser">http://mail-archives.apache.org/mod_mbox/perl-modperl/200903.mbox/browser</a> <br> [3] <a href="http://enlightened.perl.org/">http://enlightened.perl.org</a> <br> [4] <a href="http://properl.org/">http://PROPERL.org</a> <br> [5] <a href="http://groups.google.com/group/PROPERL">http://groups.google.com/group/PROPERL</a> <br> [6] <a href="http://twitter.com/PROPERL">http://twitter.com/PROPERL</a></p> chrisv 2009-03-30T10:33:07+00:00 journal howto (temporarily) disable edits in pmwiki http://use.perl.org/~chrisv/journal/38422?from=rss <p> How to (temporarily disable edits) in pmwiki (this is a dirty quickfix; Auth is obviously a better solution): </p><p> edit the <tt>pmwiki.php</tt> file and change: </p><p> <code> 179 'edit' =&gt; 'HandleEdit', 'source' =&gt; 'HandleSource', </code> </p><p> to: </p><p> <code> 179 'edit' =&gt; 'HandleBrowse', 'source' =&gt; 'HandleSource', </code> </p><p> To enable the editing, just switch back. </p> chrisv 2009-02-07T10:15:47+00:00 journal err debian upgrade http://use.perl.org/~chrisv/journal/38421?from=rss <p>Upgraded 2 Debian Etch servers today (with an "<tt>apt-get update</tt>" and subsequent "<tt>apt-get upgrade</tt>") one of which hosts the <a href="http://vlaanderen.pm.org/">http://vlaanderen.pm.org/</a> site. There was an upgrade for the kernel included (2.6.18-6-686) but after reboot Apache2+mod_perl wouldn't come up again, complaining about Errno.pm. </p><p> I tried an apt-get remove perl (which yielded the debian packages below), but to no avail. </p><p> <code> apache-common build-essential defoma dpkg-dev fontconfig-config libalgorithm-c3-perl libapache-mod-perl libapache2-mod-perl2 libapache2-request-perl libappconfig-perl libarchive-tar-perl libbit-vector-perl libcache-cache-perl libcache-fastmmap-perl libcarp-assert-more-perl libcarp-assert-perl libcarp-clan-perl libcatalyst-engine-apache-perl libcatalyst-modules-extra-perl libcatalyst-modules-perl libcatalyst-perl libcatalyst-view-tt-perl libcgi-simple-perl libclass-accessor-chained-perl libclass-accessor-perl libclass-c3-perl libclass-container-perl libclass-data-accessor-perl libclass-data-inheritable-perl libclass-dbi-perl libclass-factory-util-perl libclass-inspector-perl libclass-singleton-perl libclass-throwable-perl libclass-trigger-perl libclone-perl libcompress-zlib-perl libconfig-any-perl libdata-dump-perl libdata-page-perl libdata-visitor-perl libdate-calc-perl libdatetime-format-strptime-perl libdatetime-locale-perl libdatetime-perl libdatetime-timezone-perl libdbd-mysql-perl libdbi-perl libdbix-class-perl libdbix-class-schema-loader-perl libdbix-contextualfetch-perl libdevel-stacktrace-perl libdevel-symdump-perl libdigest-hmac-perl libdigest-sha1-perl libemail-valid-loose-perl libemail-valid-perl liberror-perl libexception-class-perl libexporter-lite-perl libextutils-autoinstall-perl libextutils-cbuilder-perl libextutils-parsexs-perl libfile-copy-recursive-perl libfile-modified-perl libfile-slurp-perl libfontconfig1 libformvalidator-simple-perl libgd-gd2-perl libgd-securityimage-perl libgd2-xpm libhtml-fillinform-perl libhtml-mason-perl libhtml-parser-perl libhtml-prototype-perl libhtml-scrubber-perl libhtml-tagset-perl libhtml-tree-perl libhtml-widget-perl libhttp-body-perl libhttp-request-ascgi-perl libhttp-server-simple-perl libima-dbi-perl libio-stringy-perl libio-zlib-perl libipc-sharelite-perl libjson-perl liblingua-en-inflect-number-perl liblingua-en-inflect-perl liblist-moreutils-perl liblocale-maketext-lexicon-perl liblocale-maketext-simple-perl liblog-log4perl-perl libmailtools-perl libmime-types-perl libmodule-build-perl libmodule-find-perl libmodule-install-perl libmodule-pluggable-fast-perl libmodule-pluggable-perl libmodule-scandeps-perl libnet-daemon-perl libnet-dns-perl libnet-domain-tld-perl libnet-ip-perl libobject-signature-perl libossp-uuid-perl libpar-dist-perl libparams-validate-perl libpath-class-perl libplrpc-perl librpc-xml-perl libset-object-perl libsql-abstract-limit-perl libsql-abstract-perl libsub-uplevel-perl libtemplate-perl libtemplate-plugin-class-perl libtemplate-timer-perl libtest-exception-perl libtest-longstring-perl libtest-mockobject-perl libtest-use-ok-perl libtest-www-mechanize-perl libtext-simpletable-perl libtie-ixhash-perl libtimedate-perl libtree-simple-perl libtree-simple-visitorfactory-perl libuniversal-can-perl libuniversal-exports-perl libuniversal-isa-perl libuniversal-moniker-perl libuniversal-require-perl liburi-perl libversion-perl libwww-mechanize-perl libwww-perl libxml-parser-perl libyaml-perl mysql-client-5.0 mysql-server mysql-server-5.0 perl perl-modules perltidy ttf-dejavu </code> </p><p> After some googling, I found the following thread on Google Groups: </p><p> <a href="http://groups.google.ca/group/linux.debian.user/browse_thread/thread/30d00213e0d936bb">http://groups.google.ca/group/linux.debian.user/browse_thread/thread/30d00213e0<nobr>d<wbr></nobr> 936bb</a> </p><p> which talks about a "buggy" arch-check in<nobr> <wbr></nobr><tt>/usr/local/share/perl/5.8.8/Errno.pm</tt>: </p><p> <code> 11 "$Config{'archname'}-$Config{'osvers'}" eq<br> 12 "i486-linux-gnu-thread-multi-2.6.24.4" or<br> 13 die "Errno architecture (i486-linux-gnu-thread-multi-2.6.24.4) does not match executable architecture ($Config{'archname'}-$Config{'osvers'})"; </code> </p><p> So I commented these lines out and perl worked fine again (after having reinstalled Perl and accompanying debian packages of course), so apparently this "bug" hasn't been fixed yet in the current perl-base package. </p><p> Also, mod_perl2 had been disabled from the Apache modules-loading after the upgrade of the Apache2 server, so I had to create a new (symbolic) link: </p><p> <code> ln -s<nobr> <wbr></nobr>/etc/apache2/mods-enabled/perl.load<nobr> <wbr></nobr>/etc/apache2/mods-available/perl.load </code> </p> chrisv 2009-02-07T09:55:39+00:00 journal BPW2007 photos &amp; slides http://use.perl.org/~chrisv/journal/34764?from=rss The first <a href="http://conferences.mongueurs.net/bpw2007/">Belgian Perl Workshop </a>was, IMHO, a success. My congrats to the <a href="http://bruxelles.pm.org/">Bruxelles Perl Mongers</a> to organize it. Hopefully there are many more BPWs to come. Here are the slides from my talks: <ul> <li> <a href="http://www.slideshare.net/chrisv/openid-authentication-by-example/">OpenID Authentication by example</a></li> <li> <a href="http://www.slideshare.net/chrisv/htmlmason-by-example/">HTML::Mason by example</a></li> </ul><p> And <a href="http://www.flickr.com/photos/vertonghen/sets/72157602741869116/">here are the photos I took</a>. I for one am already looking forward to next year.</p> chrisv 2007-10-28T04:11:10+00:00 journal Howto install mod_perl2 and HTML::Mason on Debian-etch http://use.perl.org/~chrisv/journal/34629?from=rss <tt>I ordered myself some webservers at iWeb.ca recently with Debian (etch) preconfigured on them.<br><br>Apache2 (2.2.3) was already installed on them; this is how I added mod_perl2 and HTML::Mason:<br><br>#uname --all<br>Linux cl-t088-250cl 2.6.18-5-686 #1 SMP Sun Aug 12 21:57:02 UTC 2007 i686 GNU/Linux<br><br>#apt-get install apache2-dev<br>...<br>#apt-get install libapreq2<br>...<br>#apt-get install libapache2-mod-perl2<br>...<br>#apt-get install libhtml-mason-perl<br>...<br><br>#mkdir<nobr> <wbr></nobr>/etc/apache2/mason<br>#mkdir<nobr> <wbr></nobr>/etc/apache2/obj<br>#mkdir<nobr> <wbr></nobr>/etc/apache2/cache<br>#chown -R www-data<nobr> <wbr></nobr>/etc/apache2/mason<br><br>#vim<nobr> <wbr></nobr>/etc/apache2/mods-available/perl.load<br>LoadModule perl_module<nobr> <wbr></nobr>/usr/lib/apache2/modules/mod_perl.so<br><br>#ln -s<nobr> <wbr></nobr>/etc/apache2/mods-available/perl.load<nobr> <wbr></nobr>/etc/apache2/mods-enabled/perl.load<br><br>then update the<nobr> <wbr></nobr>/etc/apache2/sites-available with HTML::Mason configs (see masonhq.com)</tt> chrisv 2007-10-08T00:17:36+00:00 journal vlaanderen.pm.org website resurected http://use.perl.org/~chrisv/journal/34620?from=rss The long comatose vlaanderen.pm.org website just received an adrenaline shot right in the heart and is now back alive. Now we get busy reviving the community itself, which no doubt will be helped a lot by the upcoming Belgium Perl Workshop. http://vlaanderen.pm.org chrisv 2007-10-05T19:30:09+00:00 groups