enlightened perl organisation

enlightened |en'litnd|: adjective:
having or showing a rational, modern, and well-informed outlook

  

Planet Perl Iron Man

signup banner
Join the program |  Learn about the program |  Report a problem

Only showing posts tagged "perl", "cpan" or "ironman" (or containing those words).

Last updated: 22:29:31 08-Feb-2010 First Previous 1 2 3 4 5 Next Last
Robert Norris (robn): location location location
My laptop has had an interesting couple of days. The main filesystem wentread-only a couple of nights ago after a couple of random journal errors.After being fsck'd and cleaned up it did it again, so I reinstalled it andrestored it from backup yesterday. Then last night it overheated, leading meto open the case and clean the wall of dust out of the fan. Its back togethernow, but a couple of lost of tiny parts means I have no indicator lights andno trackpoint. Fortunately the trackpad still works, but its taking a littlegetting used to. On the other hand, its not burning my lap or my handsanymore, so its probably an overall victory though its not quite feeling thatway yet.
Andrew Shitov (ash): Template::Semantic
Один из бешеных японцев™ — Наоки Томита — сегодня опубликовал на спане интересный модуль Tempalte::Semantic, один из немногих yet another-шаблонизаторов, на который стоит обратить внимание. Сам шаблон представляет собой обычный HTML-фрагмент, а данные в него подставляются из хеша, структура которого похожа на описание правил CSS или путей XPath. Важно, что в HTML-код шаблона не требуется вписывать никаких искусственных конструкций для интерполяции переменных. Например, чтобы вывести заголовок на страницу, сначала создаем HTML-заготовку: <html>    <head>        <title></title>    </head></html> А затем описываем правила а-ля CSS: use v5.10;use strict;use Template::Semantic; say Template::Semantic->process(    'title.html',    {        'html title' => 'My Title',    }); Эта программа напечатает HTML-код с подставленным заголовком: <html>   ...
Clinton Gormley (PerlDr): Forcing IE to accept script tags in innerHTML
So, my first blog post, and instead of Perl, I'm writing about Javascript. I'm using a common idiom: AJAX call returns HTML with embedded script tagscreate a temporary <div>div.innerHTML = request.responseTextmove the children of the div to the appropriate spotFirefox...
Alexis Sukrieh (sukria): Dancer&#8217;s development update, near to release 1.140
Lots of good things happened recently in Dancer's development, here they are: HTTP::Server::Simple::PSGI After my last post about Dancer, Tatsuiko Miyagawa suggested to build Dancer's standalone server upon a PSGI-aware layer, rather than on HTTP::Server::Simple::CGI. A couple of days later, he released HTTP::Server::Simple::PSGI, which is actually based HTTP::Server::Simple (which itself doesn't depend on any non-core modules). A few [...]
Tokuhiro Matsuno: Faster.pm とデバッグ
FASTER_VERBOSE=2 FASTER_DEBUG=1 perl -Mblib -MFaster -e 'use IO::Socket; IO::Socket->new()'

とかやって適当にデバッグするわけだが、FASTER_VERBOSE は冗長なデバッグメッセージの表示がでるようになる。レベルに1 と 2 があることに注意。

FASTER_DEBUG=1 にすると、中間ファイルの .c が消えなくなる。

Tokuhiro Matsuno: [perl]Today’s assertion failure on Perl5.10.1

Perl5.10.1 をメインでつかっているのだが、あいかわらずすげー微妙なエッジケースにバグがある。5.8.9 よりもやはりバグを踏む可能性がちとたかい。とはいえ、すげーくさいところなので、普通の人はまず踏まないとおもうけど。

今日ふんだのはこんなの。「そんなことする方が悪い」のだが、Assertion failed で落ちるのはバグなので、perlbug っといた。

なおこれ perl5.10 だと segv するが、perl5.10.1 だと assertion failure で、perl5.8.9 だと no problem だった。

use 5.008001;
{

    packa [...]
Dave Cross (perlhacks): Building RPMs from CPAN Distributions
Regular readers will know that in the past I've shown some interest in building RPMs from CPAN distributions. It's been a while since I did much work in this area (although I do still release the occasional module to my...
Carl Masak (masak): The typo trap: a farcical FAQ

Help! I'm getting the error "invoke() not implemented in class 'Undef'" in my large application. What did I do wrong?

You've mistyped a class name which sits inside a namespace.

How am I supposed to figure that out?

I didn't say it was a particularly good error message.

It's like this: if you mistype a [...]

Andy Brown (setitesuk): Rebuilding my development area
I thought it was about time to get around to rebuilding my development area, for a few reasons:

1) Housekeeping - My dev area was getting a lot of junk floating around, and rather than just go through and delete, I thought it better to restart

2) About time I upgraded to perl-5.10.1

3) I need to start [...]
100% Telch: Ataque de denegación de servicio dedicado a Perl
Ataque de denegación de servicio dedicado a Perl CPAN se origina desde redes de Microsoft.

En recientes días, los usuarios de CPAN de Perl han estado experimentando problemas para acceder hacia sus sitios, bases de datos ...
Tokuhiro Matsuno: Faster.pm のベンチ結果メモ

今んとここんなかんじだ。ここまで恣意的な例だと、さすがに差がかなりでる。

tokuhirom@gpath% time FASTER_VERBOSE=1 perl -Mblib -MFaster -e 'sub calc { $s=1;$i=0;$s+=$i while 100000000>($i+=1);print "$s\n"}; calc()'
optimising main
4999999950000001
FASTER_VERBOSE=1 perl -Mblib -MFaster -e   13.16s user 0.03s system 99% cpu 13.194 total
to [...]
Daniel Ruoso (ruoso): Writing games in Perl - Part 2 - Controlling the Ball

Following the first post on the subject of writing games in Perl, where we created a bouncing ball (I know, it is a rectangle, but I trust your imagination), this post is going to add something very important when dealing with games: input.

Silveira Neto suggested that I should include more specific [...]

fREW Schmidt (fREW): New stuff in DBIx::Class::Helpers 2.00200
A new release of the resplendent Perl ORM DBIx::Class means new release of DBIx::Class::Helpers The ResultSet::Random helper had the wrong function used for MySQL. That was fixed thanks to an RT from pldoh. get_namespace_parts from the util package was unnecessarily strict. Thanks to melo for the prodding to do that. I refactored some of the code [...]
Goro Fuji (GFUJI): [Perl]ホットスポットを最適化する

最適化するのに相応しいサブルーチンのみ最適化できるように,optimizer::hotspotというモジュールを考えてみた。まだCPANクオリティではないのでgithubのみ。

仕組みとしては,PL_peeppをフックして,生成されるサブルーチンの頭にホットスポット計測のためのopcode*1を仕込み,そのopcodeが一定数呼ばれると,最適化器*2を起動するというものだ。

最適化の基本は,いまのところ特定パターンをもつ構文木を高速な一つのノードに置き換えるというもの。少し実装してみたところ,以下のような結果と [...]

Phil Ironside (redspike): Its not kept behind the scullery maid under an aarvark

How to learn how to get help in Perl

I made a great discovery today but it has taken me a few years to get to it. I have wondered why it has been so hard to get into the shiny ball that surrounds some of the programming languages. This is not just Perl but many of them. I started to compare the way [...]

Yanick Champoux (yanick): Contributing to CPAN: PAUSE Id, Bug Tracking, and Code Repositories
originally published on the Pythian blog. Want to contribute to your favorite CPAN module, or maybe create your own, but don't have the foggiest idea how to do it? Here are a few notes, tips, tricks, and links that might...
Karen Pauley (khaos): Pittsburgh Snowpocalypse
I’ve just looked out the window and there are two people using cross-country skies to make their way up the street.  Apparently there is 2 and a half feet of snow outside.  I say “apparently” as there is no way I’m going out there to find out. The worry though is that I do need to [...]
Jay Hannah (jhannah): ...so complex that you need a large IDE to comprehend it
This is an excerpt from an Omaha.pm thread today.

We're discussing Eliminating Inheritance Via Smalltalk-Style Traits by Curtis "Ovid" Poe.

In his paper, Curtis wrote:
Anyone forced to use "vi" (not even "vim") while trying to create an emergency patch of broken code over a slow telnet connection at 2 [...]
David Golden: An English-only Planet Iron Man
I’m very happy to know that Perl has global appeal from seeing all the non-English Perl blogs aggregated on Planet Iron Man, but since I’m a (typical American) monoglot, I’d prefer an Iron Man feed with only English articles. So I made one. It’s available at http://feeds.dagolden.com/ironman-english.xml. It updates hourly from the master feed. And [...]
Ahmad M. Zawawi (azawawi): Padre, Firefox and Chrome
Lately there have been a discussion in #padre about integrating Padre with "Edit with Emacs" Chrome extension. We found out that we need to implement a server that services XmlHttp requests at port 9292 in Padre to be able to integrate with that extension. It was a very interesting discussion that l [...]