chorny
- Website: chorny.net
- About: I blog about Perl.
Recent Actions
-
Commented on How to find CPAN modules that need help on Windows?
Manually edited list exists here: http://win32.perl.org/wiki/index.php?title=Vanilla_Perl_Problem_Modules#Test_Failures , but it is not maintained regularly. Automatic tool, but without distinction by OS was written by Adam and is available here: http://ali.as/top100/index.html , but, AFAIK, also is not updated....
-
Commented on Smoke testing on Windows
Forgot to mention that modules, that were killed by using command_timeout, will not be tested again unless they will be tested as a dependency for other module....
-
Commented on Smoke testing on Windows
CPAN::Reporter::Smoker can use Win32::Job to kill hanging processes. Install it and add "command_timeout=2000" (or some other value in seconds) to .cpanreporter/config.ini. Any installations that takes more that this amount will be killed. distroprefs can be used to skip hanging modules...
-
Commented on Facing the unlikely-but-perhaps-possible emotion
Re "timeline of incidents". I especially like that a Debian leaders response that joining to Debian developers group is based only on meritocracy was considered an incident. I'd say that the original question (by female) that included statement that Debian...
-
Commented on How to install into 5.6.2
Latest EU::MM should work on perl 5.6. If we look at cpantesters results for Linux, there is one PASS for 5.6.1 and no FAIL's and 4/1 for 5.6.2....
-
Commented on DateTime is annoying
Devel::REPL has readline/history (shared with debugger :) ) and prints results too....
-
Commented on Cpan Module not installing properly
Does http://cpan.strawberryperl.com load in browser?...
-
Commented on My take on Modern Perl
I like optional strong typing in subroutine parameters because it helps when you know to which class parameter belongs. Sometimes it is very hard to found it out if you are fixing a bug in someone's code. Of course, it...
-
Commented on perlanalyst approaching ...
Better sub declaration search in Padre would be useful. In general it would be good to have type guessing....
-
Commented on perlanalyst approaching ...
It would be useful to have in Padre IDE....
-
Posted How to get rid of withoutworldwriteables? to chorny
When you upload module to CPAN, PAUSE checks that archive does not contain world writable files, because if If files are found, PAUSE creates modified archive, with correct permissions and uploads it with the same name, only "…
-
Commented on Rethinking smart matching
My use of smart match is $str ~~ ['str1','str3',qr/str3/,...]. It is very useful for this. And it is hard to rewrite because it is not possible to easily check if string is regex or not....
-
Commented on Perl code refactoring
AFAIK, such feature is planned by Perl::Critic developers fro certain policies, but it is not yet implemented....
-
Commented on Perl 5.14.0 benchmarks and RPMS
Higher numbers are better, so 5.14 without DEBUGGING is 1.27 times better than 5.12 with DEBUGGING....
-
Commented on Mojo ppl, what have you done?!
RHEL 6 (Novemeber 2010) has 5.10.1. But most hosting providers have CentOS. Latest version of CentOS is still based on RHEL 5....
-
Posted about compatibility to chorny
From article Carmack: Direct3D is now better than OpenGL.
John Carmack, co-founder of id Software: "I actually think that Direct3D is a rather better API today. ... Microsoft had the courage to con…
-
Commented on What should be core in Perl 5.16?
local::lib DBD::sqlite - adding DBD::sqlite will allow moving to distributing sqlite-based CPAN index. And it would be at least one DB in core. Archive::Zip Mouse (it is already in core, but as submodule of Test::More) File::Which PAR (or at least...
-
Commented on What should be core in Perl 5.16?
JSON and HTTP::Tiny will be added in 5.14....
-
Commented on Putting Perl Back on Top in the Fields of Scientific and Financial Computing
If I understand correctly, Chart::Clicker depends on Graphics::Primitive::Driver::Cairo (which depends on Cairo graphics library), but can work with any other Graphics::Primitive driver. P.S. GD::Graph is also easy to use....
- Posted mention of Perl in a fun story to chorny
-
Posted Playing games and fixing bugs to chorny
Playing games can be useful too. While playing "Lacuna Expanse" and using a bot to find a good asteroid to mine, I found a bug in YAML and fixed it. Later I found out that this bug was already reported 4…
-
Posted blog moving to chorny
Moving my blog here from blog on use.perl.org
-
Commented on CPAN Testers Summary - July 2010 - Earth Inferno
For me (at least part of me on Linux) old system was much simpler. All you need to enter is email. New system requires uploading file somewhere, and recalling 'transport' configuration string....
-
Commented on Startup overhead still matters
Perl compiler was deprecated only in core, because p5p group didn't wanted to maintain it. Now B::C is available on CPAN....
-
Commented on SQL scripts? Just do it.
Semicolon may also be in the string content (for ex. if you also fill database with data). I usually split on \n\n....
-
Commented on To Depend Or Not To Depend
How about use FindBin qw($Bin); use lib "$Bin/../lib"; ?...
-
Commented on Thinking on a couple things
Munin has some similarity with Nagios....
Comment Threads
-
Matt Perry commented on
Smoke testing on Windows
I've been smoke testing on Windows since reading this blog post. I'm also getting hangs. I've used Process Explorer to see what is hanging and it's always due to Capture::Tiny. When things stop I'll see two Perl processes that look like this but with different filenames used for the last argument.
C:\strawberry\perl\bin\perl.exe -e "$SIG{HUP}=sub{exit}; if( my $fn=shift ){ open my $fh, qq{>$fn}; print {$fh} $$; close $fh;} my $buf; while (sysread(STDIN, $buf, 2048)) { syswrite(STDOUT, $buf); syswrite(STDERR, $buf)}" C:\Users\smoker\AppData\Local\Temp\2\qdJ32OEk0b
Killing one …
-
pm commented on
Putting Perl Back on Top in the Fields of Scientific and Financial Computing
What I would like to see are some examples that do some graph work like the following:
- set up axis with ranges and annotation text
- plot several data point array with line color choice
- put multiple cross hairs on the screen in both x and y dirs
I can do this with mathplotlib with about a dozen measly lines of code
Because of this I have been looking at using mathplotlib even though I rather do it in perl.
-
Mithaldu commented on
Smoke testing on Windows
My solution so far has been: Smoke on ActivePerl. I haven't tried smoking with Strawberry yet, but ActivePerl smoking has never hung in the manner you described.
-
Randy Olson commented on
Putting Perl Back on Top in the Fields of Scientific and Financial Computing
I've never used Perl so I can't comment on Perl vs. Python, but you missed two critical libraries/tools that Python also brings to scientific computing:
pandas (http://pandas.pydata.org/): offers efficient R-like DataFrames with tons of built-in capability
IPython Notebook (http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html): provides a web-based notebook that enables scientists to log their research in HTML-like cells; embed images, figures, videos, and external web pages; run Python/R/octave code in code cells; and do all kinds of shell commands, data manageme…
-
taiwai commented on
Putting Perl Back on Top in the Fields of Scientific and Financial Computing
I am not sure what (3) exactly mean. For (1) and (2), Perl can also be done with just few lines. For example, with Chart::Gnuplot, it would be like:
my $chart = Chart::Gnuplot->new( output => "test.png", xlabel => "x-axis", # annotation text xrange => [0, 10], # axis range );# About data point array 1
my $dataSet1 = Chart::Gnuplot::DataSet->new(
points => \@data1,
color => "blue", # line color chosen
);# About data point array 2
my $dataSet2 = Chart::Gnuplot::DataSet->new(
points => \@data…
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.