user-pic

chorny

Subscribe to feed Recent Actions from chorny

  • 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:

    1. set up axis with ranges and annotation text
    2. plot several data point array with line color choice
    3. 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…

Subscribe to feed Responses to Comments from chorny

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.