Wolfgang Kinkeldei
- About: I blog about Perl.
Recent Actions
-
Posted Pinto::Remote and Pinto::Server to Wolfgang Kinkeldei
Today I was glad to read that the successful merge of Pinto::Remote and Pinto::Server into its main Pinto repository made Pinto::Remote work again.
I wanted to know how difficult a setup of a Pinto server could b…
-
Commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
Great to read that more people are deciding towards the nginx/Starman combo. Recently we started moving the first Catalyst applications to new virtual machines and also used nginx and Starman. We added a couple of things for optimization and convenience:...
-
Commented on How many ways to start a process do you know?
Aside from the builtin functions (system, qx, exec and fork) as well as the '|' modes for the open builtin you will probably receive a lot of CPAN modules to include in your comparison. My favorite is IPC::Run3. It offers...
-
Commented on Simple Singleton in a few lines
actually, I prevented others from calling new on my class but omitted this detail here, as it was more complicated than checking caller(0) because in my actual implementation I used ->new_with_options in a similar way MooseX::Getopt is working, so I...
-
Posted Simple Singleton in a few lines to Wolfgang Kinkeldei
The other day I was working on a library which needed to have a small list of dependencies and guaranteed to run on Perl versions 5.10 and above. In order to keep the dependencies minimal I decided to code a
singleton()method like this:="pret… -
Commented on Teaching Perl with Comedy
lichtkind: a mail is on the way to you :-) :m): I am not planning to blame beginners for their code. Every example is kept without any reference to the author. However, some people prefer to try things instead of...
-
Commented on Teaching Perl with Comedy
depending on Lichtind's interest in getting some material, I will think about putting together a few things into a blog entry. As mentionned before, the document is not very long, as I just started collecting beginners' mistakes....
-
Commented on Teaching Perl with Comedy
Actually I started to collect 'bad' code from modules or beginners' tries in current or recent projects. Not a huge collection at the moment but growing. If you like to get the file periodically, give me a hint :-)...
-
Posted Create PDF from many POD files to Wolfgang Kinkeldei
Using POD as the basis of documentation for Perl projects is the usual way to do. There are many modules available to convert POD into several formats. However, I was not able to find a module that creates a single PDF file from all the documentation available for e.g. a single project. Typically…
-
Posted Be nice to your speakers to Wolfgang Kinkeldei
This year we decided not to disturb our speakers on the german perl workshop during their talks to tell them the time remaining. Instead, we printed simple tags in different colors with a short meaningful text on it. As far as we got feedback from our speakers, they liked it.
-
Commented on Date arithmetic can be dangerous
For the latest tests concerning dates and times I have written, I used this pattern: my $dt = DateTime->new( some date ); no warnings 'redefine'; local *DateTime::now = sub { $dt->clone }; # run the test and compare against $dt...
-
Commented on Date arithmetic can be dangerous
Maybe my acceptance of a pull request without decent knowledge of date arithmetic was wrong. Let me assume that most of us do not know every bit of every Topic they are involved. This is exactly the point where modules...
-
Posted Date arithmetic can be dangerous to Wolfgang Kinkeldei
Every time I review code others have written, I blame people for doing date arithmetic of their own. However, some time ago, I received a pull request for a module that had some date arithmetic inside. As all tests passed, I could not see something dangerous in it and followed the pull request.…
-
Posted Perl is faster than C -- can benchmarks get compared? to Wolfgang Kinkeldei
Interpreting byte code can never be faster than native code. We all know. But two benchmarks generated in different programs might tell a different story. So I thought I should share my wisdom.
Some days ago, I was experimenting with the Redis noSQL Database i…
-
Commented on MetaCPAN Logo
Thanks for your compliment and your criticism. As I wrote in my intro, I am not graphically-educated. So I did not expect to get famous for this simple creation....
-
Commented on MetaCPAN Logo
Thank you very much for this hint. I have changed the preview here and it really looks much better....
-
Posted MetaCPAN Logo to Wolfgang Kinkeldei
very often, when I see a logo drawn by somebody else, I highly appreciate his or her work. Many logos are simple but very easy to remember and recognize. Graphics is not my business. Maybe I just made more than 1000 graphical mistakes. However, my father-in-law when he was some 80 years old…
-
Commented on What! No Lexer?
Thanks for the flowers. The code snippet you are referring to only is a very quick and dirty first try I made using Marpa. Nice to hear that you like the Lexer. Howerver using this approach it is hard to...
-
Posted Trying Marpa to parse CSS to Wolfgang Kinkeldei
Some days ago, Marpa::XS reached version 1.0. Jeffrey Kegler, Marpa's godfather already wrote a some blogs about the algorithm operating behind.
In order to get a feeling on how to use Marpa, I decided to try it for parsing CSS. Thankfull…
-
Posted German talk about some perl tricks to Wolfgang Kinkeldei
Last weekend, a local group around Nuremberg had their annual convention, called the KNF Kongress. I talked about some collected tricks around using perl. The key points were perlbrew, cpanm, minicpan and Dist::Zilla. All slides (in german language) collected from the speakers are online now:
… -
Posted German Perl Workshop day 3 to Wolfgang Kinkeldei
Yesterday was the last day of the german perl workshop.
Denis Banovic started with a live demo demonstrating development and deployment of a dancer app in the "Cloud". It looked very easy to do.
Karl Gaissmaier was the next speaker explaining a lot of details about Captive::Portal,…
-
Posted German Perl Workshop day 2 to Wolfgang Kinkeldei
Today, we had more talks than yesterday. Marc Chantreux talked about his module, 'Perlude', an interesting CPAN module porting some of Haskel's ideas to perl.
Gerhard Schwanz presenting Mapweaver was the next speaker, directly followed by Denis Banovic presenting the simplicity of Dancer. …
-
Posted German Perl Workshop day 1 to Wolfgang Kinkeldei
Today, the german perl workshop 2011 started. Today's keynote was done by Heiner Kuhlmann, who talked about software architectures and refactoring. The interesting point was the parallelism between data structures and software structure. All the time I was comparing his talk with Robert C.…
-
Commented on Test::DBIx::Class
Today I received Gabor Szabo's perl weekly. Gabor interpreted my words above as a complaint for too much documentation. I am so sorry if my first phrase above leaves this impression. A module offering lots of things might need a...
-
Posted Test::DBIx::Class to Wolfgang Kinkeldei
Today, I tried to test a freshly created DB schema using
Test::DBIx::Class. Scanning through the documentation was impossible -- it knows far too many options to get captured within a few minutes. But carefully reading the brilliant manual is worth the time spent.… -
Commented on Initself's Retarded Guide to Building a Package
Thanks for your post which will definitely help others. However, you are responsible for handling everything right. There are a couple of modules on CPAN that could make this job even easier. My personal favorite is to use Dist::Zilla to...
-
Commented on DBIx::Class populate Gotcha
@Peter: thanks for your reply. I hope you did not misunderstand me. My intention was not to blame anybody for the behavior I described. I like using DBIx::Class and I strongly appreciate everybody's work for this great project. I discovered...
-
Posted DBIx::Class populate Gotcha to Wolfgang Kinkeldei
Today, we watched a series of test cases failing. Our tests started with a blank database and a series of populate method-calls to create their own test records.
Everything looked obviously right, but after a while of debugging, we found out that the populate method of DBIx::Class::ResultS…
-
Commented on Wishlist: filter CPAN modules
well, mentionning "Task::Kensho" to newbies is a very good idea. Thanks for this advice....
-
Posted Wishlist: filter CPAN modules to Wolfgang Kinkeldei
Sometimes I wish I could apply a filter named "only list serious modules" when browsing through CPAN. More and more people are mis-using CPAN as a personal storage for modules that are not usable for other people. Other useless modules (aside from those in the 'ACME' namespace) act as a pun on…
Comment Threads
-
davewood commented on
Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
Nope.
Benchmark and other comparison metrics sure would be nice to have. Perhaps if I find some time in 2013 I will put something together. But there might be some data available in the internets.
http://www.wikivs.com/wiki/Apache_vs_nginx
https://timmehosting.de/blog/benchmark-nginx-12-vs-apache-24-statische-dateien-drupal-typo3
And this just elaborates a bit on a similiar case. ="http://www…
- revmischa commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
-
freyfogle commented on
Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
Hi Wolfgang,
I'd love to see a copy of your nginx config, can you post it on github or similar?
specifically how to serve css, js, etc via nginx and not hit starman
thanks -
davewood commented on
Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
There is something missing in my nginx config which results in the following error msg.
Use of uninitialized value in string eq at /var/www/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Catalyst.pm line 2787.
probably some config that passes the originating IP to the starman worker.
more info tomorrow.
- davewood commented on Moving my Catalyst Apps from Apache/FCGI to Nginx/Starman
About blogs.perl.org
blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.