Salvador Fandiño

  • About: yaph
  • Posted I was at the London Perl Workshop 2017 to Salvador Fandino

    ... and have blogged about it here!

  • Posted YAPC::Europe::2016 to Salvador Fandino

    My impressions on this year conference are here!

  • Commented on Brutally Solving a Logic Puzzle with Perl 6
    That kind of puzzles can usually be nicely and efficiently solved using constraint programming. For instance, this Gist solves it in Prolog using a finite domain constraint solver. With Perl 6 trying to be a multi-paradigm programming language, I would...
  • Posted Another release of Net::SSH2 is comming... test it, please! to Salvador Fandino

    I have been working on a new release of Net::SSH2 that has undergone mayor, mostly internal, changes.

    There are not too many new features. The aim has been to simplify the code, made it reliable and improve the overall consistency and behavior of the module.

    Most important changes are …

  • Commented on I think subroutine signatures don't need arguments count checking
    In relative terms, the time required to check that the number of arguments given matches the signature is probably insignificant. Have you run any benchmark?...
  • Posted Help me test Net::SSH2 to Salvador Fandino

    Short story

    I have released a new development version of Net::SSH2.

    Help me test it, please!

    Really long story

    Some years ago, I started working on

  • Commented on PDL features I'd like to see in Perl 6
    In my perfect world, you don't need autoloop at all. The compiler should be able to infer the dimmensions mismatch and do the autoloop itself, and on the way, use multiple CPUs when available and vectorization extensions efficiently....
  • Commented on YAPC::EU 2015 from 2nd to 4th September
    In my case, I can seldom attend YAPC::Europe because of it happening during my kids holidays (that BTW, in Spain last until mid September!)...
  • Posted Granada Perl Workshop to Salvador Fandino

    Less than three weeks remain for the Granada Perl Workshop that will take place on the Friday 27th of June in Granada (Spain).

    The good news is that, thanks to our sponsors, finally, th…

  • Commented on On Giving Back
    Hi Alex, I really like and applaud your module-of-the-month initiative. I just hope more companies take you as an example and start doing the same!...
  • Commented on On Giving Back
    It is not my intention to get anybody to pay me, I was just using me as an example. My point is that if some company, uses somebody module and they help that somebody to get work done on that...
  • Posted On Giving Back to Salvador Fandino

    A few days ago I published Math::Vector::Real::Farthest, my 100th CPAN module. I got into CPAN in 1999 so it has been a long, mostly quiet, way.

    Some modules were a side effect of my paid work, done while contracting or, l…

  • Commented on Smoke testing on Windows
    AFAIK, Net::SFTP::Foreign, Net::SSH2 and Net::SSH::Any work on Windows....
  • Posted Finding my computer to Salvador Fandino

    A couple of days ago I replaced my computer at work with a new one. This morning, working from home, when I tried to log in, it didn't respond.

    I realized promptly that I had forgotten to ask the sys admin to update the MAC address on the DHCP server and so it just got some random IP from …

  • Commented on p5-MOP gets p6 style traits (sorta)
    The idea is that the "argument" to the trait actually points to an in-scope subroutine I would expect it to result in some metaclass method being called....
  • Commented on Perl 7 - Final Thoughts
    Pe(a)rl++ == Rhodochrosite Though, I would be more worried about who is going to make the successor of Perl 5 a reality than about its name!...
  • Commented on Perl 5, Perl 6, Perl 7, Perl 2013, whatever
    Ricardo, thank you for your detailed and thoughtful answer....
  • Commented on Perl 5, Perl 6, Perl 7, Perl 2013, whatever
    Ricardo, sorry if I didn't make it clear, but that sentence was mostly a joke. Well, just lets blame my limited English skills for that. In any case, now that you are here, and seeing all the people worried about...
  • Posted Perl 5, Perl 6, Perl 7, Perl 2013, whatever to Salvador Fandino

    It seems people outside our community sees Perl as an stalled language because we have not released a new mayor version for so many years. We have to do something to show them they are wrong, right?

    Well, no, maybe the problem is ours, unable to see what we don't want to see: They are righ…

  • Commented on Subroutine Signatures - my Plan (v.1)
    You are doing language design, this is not something that can start simple and then grow. It just doesn't work that way. You have to plan the the new feature on the whole, consider all the things you want to...
  • Commented on On CPAN Namespaces: Urban Namespace Planning
    I have never used Math::GSL, but know enough about SWIG* to know that writing good Perl modules using it is almost impossible. So, IMO, the GSL namespace should be untouched just in case somebody volunteers to make a full wrapper...
  • Posted Solving Carl Mäsak's "Counting t4 configurations" problem... in pure Perl 5 to Salvador Fandino

    The problem: Counting t4 configurations

    The solution:

    $ time perl 
    total: 4783154184978
    real    0m0.185s
    user    0m0.176s
    sys     0m0.00…
  • Posted My English stinks, thank you for patching it! to Salvador Fandino

    As a non native English speaker, writing good documentation is a hard task for me and often grammatical and spelling errors slip into my modules pod causing me great embarrassment.

    I could use the spell checker more often*, but writing documentation is already a time consuming task, no fu…

  • Commented on A localizable interface to `select`
  • Commented on What do we, Perl programmers, want?
    An almost complete and fast Perl 6 implementation....
  • Commented on The life and death (well, deprecation) of a wrapper module
    The idea about adding an autodie mode to Net::SFTP::Foreign had being in my mind for a long time, probably since soon after I attended Paul Fenwick talk about autodie at some YAPC::Europe (Lisbon 2009?), but my dislike for overbloating the...
  • Commented on Perl, Perl 5, Perl 6, and names
    Alberto, sorry, mi post was not really a direct reply to your post but mostly a dump of my thoughts after reading it. Probably centered around this thing about dropping the 5 and calling the next perl "Perl 16". That...
  • Commented on Perl, Perl 5, Perl 6, and names
    Maybe you don't like how Perl 6 has ended, but the reasons behind its inception are still valid. Quoting from the Perl wiki: At that time, the primary goals were to remove "historical warts" from the language; "easy things should...
  • Commented on Moose and Fatal Type Constraints
    Being less strict validating input in production that in testing is a very bad idea as it would cause your code to take untested paths! If you want to be permissive with the inputs from your providers, be so also...
  • Commented on Failing your way to success with A/B Testing
    Then, there is the time variable. The initial response from your users may not be the same as the response you could get after months or years of usage. For how long are you able to run A/B testing (or...
Subscribe to feed Recent Actions from Salvador Fandiño

  • Yuki Kimoto commented on I think subroutine signatures don't need arguments count checking

    >I think argument checks are a good thing because correctness is more important than speed (who cares how fast you are at getting the wrong result?).

    >Checking the arguments manually is annoying boilerplate code that no user wants to bother with. It's much better to be able to abstract it away and have the language do it for you automatically.

    Perl is dynamic language. Argument count checking should be optional. Logically run-time checking is one performance cost. In static language, arugument count checking can be done in compile-time, but in dynamic lanugage, it is done in …

  • Yuki Kimoto commented on I think subroutine signatures don't need arguments count checking

    I assume javascript function.

    function foo(x, y) {


    foo(1) // ok
    foo(1, 2) // ok
    foo(1, 2, 3) // ok

    Perl should implement javascript subroutine signatures at first step.

  • Yuki Kimoto commented on I think subroutine signatures don't need arguments count checking

    and PHP

    function foo($x, $y) {


    foo(1) // ok
    foo(1, 2) // ok
    foo(1, 2, 3) // ok

    I like JavaScript and PHP way. This is natural.

  • weissel commented on I think subroutine signatures don't need arguments count checking


    Yuki, you seem to have a strong opinion here.
    Not that there is anything wrong with having strong opinions --- but it would be much better if you could at least point to some facts that support your opinion.
    Like, say, benchmarks. Like, say, code (show the source code!) that does run appreciably faster without argument checking.

    Performance at all costs of programmer usability, maintenance and bug finding ease would mean that you write highly optimized, hand-polished assembler running on the bare metal of the machine, with no OS to slow things down…

  • Pawel bbkr Pabian commented on Brutally Solving a Logic Puzzle with Perl 6

    I got some weird results when using multiple cores.
    Your code ran on my machine in 4 minutes 43 seconds.
    I've added slight modification:

    for @primes.combinations(4).race() {
    check(|$_) for |.permutations;

    And it ran on 4 cores (default parallelism degree) but took... 8 minutes 13 seconds.

    Could parallel dispatch be THAT expensive?

Subscribe to feed Responses to Comments from Salvador Fandiño

About 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 hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.