Let’s see some data.
Are people interested in it or using it – measured by google search trends:
How about the newest Perl 6? (By the way: do people use Perl 6 in real, big projects? Please post examples in comments 🙂 )
Not good either…
Perhaps all those people dumped Perl and started using PHP and Python…
WTF? They did not. PHP is declining too!
Python is on one level, rising just slightly. Going head to head with Ruby.
BTW: interesting article here about Perl and Python – but Python did nor rise as much as the author expected.
Let’s look closer:
Yes, Angular rising a little, but come on, it is still nothing compared to JS, Python etc.
So maybe we’ll look at job trends?
Well… Perl going down fastest, but PHP and JS nearly as fast. Ruby is on the same level, after some ups and downs, and Python… rises.
If everything (except Python) goes down – what goes up? What language will be most popular in next years? Go? C-something, Swift? CoffeeScript or another JS-something? Please post your thoughts in comments.
Nice, WTFish riddle for You today. Imagine this – there is a XAMPP server – Windows, apache, Perl and PHP (from www.apachefriends.org) installed on your laptop.
I hope the previous sentence did not put you off, linux fans 😉
Still with me? Read on: you have a typical hello world type perl script, serving as an example and test, that is delivered with that whole bunch.
It works. Shows “OK” via CGI.
You write your own small script – get server error 500 – “End of script output before headers“.
You put your script in the same directory as that example – still get 500.
You copy your example script to other file in the same directory and edit it – 500.
You copy your example script to other file in the same directory and NOT edit it this time – 500.
You edit your example script (that original file) , do the slightest change – for example change string to “OK2” – 500.
You edit your example script back to be exactly as it was before – it works.
Good text editor was used – Notepad++ (saving as UTF8 without BOM, line endings were not messed with), so it was not the cause of problems.
Guess where the problem was.
You can think for yourself, the answer to the riddle, cause and solution is below (scroll if you have no idea)
The antivirus/firewall program, COMODO Internet Security was causing the problem. It did not allow to run neither new perl files, nor modified existing perl files. I guess it somehow accepted the original file that was created during XAMPP installation, but when someone tried to modify it or make new one – it won’t run.
Solution – temporarily turn off sandbox feature or the whole COMODO antivirus/firewall at all. Or change it to other product.
Suddenly I’m becoming expert in fixing FUMP script. FUMP stands for Follow Up Mailing List Processor and is a script used as autoresponder, with followup messages. One person asked me to fix a problem with it (strange error). I fixed it, wrote about FUMP on my other blog, and since then a few more people asked me for help.
So, nolens volens, I became FUMP fixing expert. Quite often it is fixing “Error(s) detected” error (when logging in), but sometimes there are other problems, like the aforementioned problem with additional libraries. The interesting thing is, that the script works flawlessly, and then out of sudden it stops, showing detected error message.
If your FUMP is broken, you can write to me at following e-mail:
poczta [ “at” sign ] arystoteles.pl
I’ll fix it.
The e-mail above is changed so the spammers don’t get it, but you know what to put between poczta and arystoteles: @
Usually I need to check what is wrong, think, find the problem, then fix it.
What is FUMP?
It is an autoresponder script, that you host on your own server (thus avoiding monthly or yearly costs of using other autoresponders like GetResponse, Aweber etc.). Youcan have as many mailing lists as you want for no additional costs. The server you host Follow Up Mailing List Processor must be able to run perl (obviously). The script is old and not supported by sellwide now, so if it stops working you need to find somebody who is not afraid of diving into mess of it’s code and will fix it. (The code of that script by Konstantin Ursaloff is not bad, but it definitely is not beautiful either).
I accept those task to mend the fump because it is good diversion form what i usually do.
So, to get your FUMP fixed, write to me at:
poczta [ “at” sign ] arystoteles.pl
You know what to put between poczta and arystoteles: @
Common types of erros:
Error(s) detected (with no other message) – the most common problem.
SQL error: : ERROR: 1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(14) , `procnomber` tinyint(4) NOT NULL default ‘0’, `pid` varchar(6) NOT NU’ at line 1 at lib/dbfunc.pm line 154.
ERROR: 1064 – You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘TYPE=MyISAM AUTO_INCREMENT=2’
and so much more 🙂
If you want me to install and configure FUMP script
you can contact me too. I can configure your FUMP to be fully compatible with all diactricts, umlauts, international characters with very capable Unicode encoding UTF-8.
- fump error(s) detected
I found this nice site, that takes you step by step through installing perl modules without root access, using local::lib
Here is my presentation for YAPC::EU 2010 in Pisa:
Here is article (in Polish language, but you will surely understand the first bar graph) http://interaktywnie.com/biznes/newsy/raporty-i-badania/tak-w-polsce-placi-sie-pracownikom-it-12414 that shows that Perl developers earn the highest salaries in Poland (50% more than PHP coders) 😉
The numbers on graph means: length of bar – monthly salary in polish złoty (currency) – divde by 4 to get values in Euro, percentage in pink box – percentage of that language users (perl – 5%)
Some news about YAPC EU 2010:
- Regular fee: 100 EUR
- Student fee (for full-time students): 40 EUR
- Corporate fee (invoice available): 250 EUR
All prices include Italian VAT (20%).
For speakers free 🙂 (lightning-talk speakers not included)
Guests: Wall, Conway, Randall, Rolsky…
There will be courses before and after conference:
- Understanding Regular Expressions, by Damian Conway
- Introducing Modern Perl, by Dave Cross
- Presentation Aikido, by Damian Conway
- Introduction to Moose, by Dave Rolsky
- Catalyst 5.80 Master Class, by Matt S. Trout (Shadowcat Systems Ltd.)
- WxPerl in Details, by Herbert Breunung
- Effective Perl Programming, by brian d foy
Priced 150-220 euro each.
And a trip to Florence is very likely to be arranged on Saturday, August 7th (just after the conference). Yay! Remener Hannibal Lecter drawing Duomo on the wall in his cell? 😉
Every Wednesday I write a post here. But, due to national mourning, nothing about perl today.
As you know, near the airport of Smolensk Tupolev 154-M aircraft with President Lech Kaczynski crashed. President of the Polish National Bank also died, the head of the IPN (National Memory Institute), the Sejms and Senats (both chambers of parliament) vice heads – (Putra, Bochenek, Szmajdzinski), the former president in exile Kaczorowski, presidential ministers, Chief Gen. Gągor, the ombudsman Janusz Kochanowski, wife of the President, members of Parliament (Gosiewski, Wasserman, Jaruga-Nowacka, Szymanek-Deresz and others), bishop Tadeusz Płoski and others. Probably when making the second approach to landing plane collided with trees and crashed.
A few rather obvious parallels arise:
– that in the Katyn Polish intelligentsia perished and now again, many representatives of the Polish intelligentsia died there.
– Second, the General Sikorski and his unexplained aircraft accident
– Third – that 5 years ago, in the day before the Divine Mercy Sunday, 7 days after Eastern died Pope John Paul II. This year, exactly the same vigil before that Sunday, the President and others died.
There ads on this blog. Really. You probably do not see it, if you use adblock for firefox or similar solution.
Turn AdBlock off and look at right column. First, there are ads about perl – form Gabor – I wrote about it here. Then a few adsense (from Google). They should match the content of this blog. And then is a link to one particular book I like very much.
And guess what? No one clicks the ads from Google. I see that in my stats. Even though those ads are matched to site content – as you can see. I doubt if anyone clicks the ads from Gabor either (by analogy – beside, I guess, most geeks use adblock and similar solutions – so they do not even see it – and those ads are intended for THEM). If you have clicked and ad here – either from Gabors perl ad server, or google – raise your hand (add a comment).
I’m reading now a book by Dan Brown, author of “DaVinci code”, titled “Lost symbol”. It is mostly about masons. And it quite resemble the previous books by this author. Anyway, it is riveting.
This seemingly off-topic introduction leads to the on-topic perl thing: the mason. It is a “High-performance, dynamic web site authoring system” and “solves the common problems of site development: caching, debugging, templating, maintaining development and production sites, and more.” and “you can embed Perl code in your HTML and construct pages from shared, reusable components.”. Well, sound nice. How it looks? Like this:
(there was something wrong here. I removed it 🙂 )
Sadly, the FAQ on the official page seems to be neglected and is spammed by merchants of medications made to make your weenie harder. On the other hand, newest version is 1.44 form Jan 4, 2010 – so it is still developed.
Assuming that I would like to learn something new, like “something big, modern, to easy make web applications – with templates, cache, scalability, quick development” should I dive into mason, or better look for something else?
So, I have question, asking YOU for an insight about this like:
– mason is cool, and at least better to do the same by your own from scratch
– forget it, it is so 1990’s, learn catalyst instead
– forget mason and catalyst, learn PHP symphony (- no problem for me, I know PHP – more or less 🙂 )
– ruby on rails is the real thing (no, I will not learn ruby – at least now 🙂 )
– the best is framework …. (something not mentioned above)
Please write your opinion below. Thank you.