user-pic

Salvador Fandiño

  • About: yaph
  • 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 t4.pl 
    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`
    FileHandle::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...
  • Commented on Suprisingly hard task of writing logs
    Don't wait forever, just a little bit!...
  • Commented on Suprisingly hard task of writing logs
    When the reader finds that some byte in the file is zero it should (busy) wait until it becomes non zero....
  • Commented on Suprisingly hard task of writing logs
    then replace the zeros by "\n" when the reserved space is not big enough: my $zeros = "\x00" x length $line; while (1) { my $bytes = syswrite $afh, $zeros; last if $bytes == length $line; if($bytes > 0) {...
  • Commented on Suprisingly hard task of writing logs
    oops, in my previous comment code, a s/seek/sysseek/g is required!...
  • Commented on Suprisingly hard task of writing logs
    A simple way to solve your problem without locks: open my $afh, '>>', $log_filename; open my $wfh, '>' , $log_filename; then, in order to write a line $line: my $zeros = "\x00" x length $line; 1 while (syswrite $afh, $zeros...
  • Commented on Perl's Built-In OO
    This is my wishlist for a core OO system (in no particular order): CLOS like supported by dedicated syntax fast compilation & fast runtime its performance penalty should be "proportional" to the set of features actually used. ...or maybe the...
  • Commented on Online compiler/interpreter
    Perl 5.8.0 compiled for Linux 2.4? Please, upgrade!...
  • Commented on Using CPAN Ratings as a bug report
    It's funny because I got one of this reviews just yesterday, for a module at version 0.01 and clearly marked as experimental on the docs. I hate it! Anyway, I agree with Steven Haryanto, the problem with CPAN ratings is...
  • Commented on Benchmarking perl 5 and perl 6: part I - loading overhead
    $ time ./perl6 -e 'say "hello world"' hello world real 0m2.149s user 0m1.890s sys 0m0.240s $ time jython -c 'print "hello world"' hello world real 0m3.169s user 0m5.040s sys 0m0.180s...
  • Commented on Combinatory Substitution
    it is like counting in base two: my $word = 'raataacaataacaataamooonpaapaa'; my $zero = 'aa'; my $one = 'ooo'; my $qzero = quotemeta $zero; my @frag = split /($qzero)/, $word; my @ix = grep $frag[$_] eq $zero, 0..$#frag; sub forward...
  • Commented on Perl, a multi paradigm language
    you don't really need to push: sub addBMI { @_, $_[-2]/$_[-1]**2 }...
  • Commented on What I would change about Test::SFTP
    Well, actually, Net::SFTP::Foreign is not a wrapper but a full implementation of the SFTP protocol! It just happens to require an external SSH client for the transport layer, but this is how most SFTP clients work (i.e. sftp in OpenSSH,...
  • Commented on Poll: What is the primary operating system you use for developing Perl applications?
    Ubuntu and OpenBSD...
Subscribe to feed Recent Actions from Salvador Fandiño

  • CosmicNet commented on Perl 7 - Final Thoughts

    Lets just rename it to Peril, then go on rapid release cycle like FireFox. Then we can have a new major release every couple of months, and all the huge benefits that have come with that: https://wiki.mozilla.org/RapidRelease/Calendar

    Of course, I'm joking.

    I can't help the feeling that if the effort from all these years of Perl 5/Perl 6 attrition, had been directed into Perl 6 as they naturally should have been, it would have been ready some time ago. Instead the dog chooses to keep chewing on it's own leg.

  • salowrey commented on On CPAN Namespaces: Urban Namespace Planning

    @chimerix I am a post grad student working in communications. Can you email me? I have a question for you. My email is annlowreycommunication@gmail.com I am a post grad student working in communications.

  • salowrey commented on On CPAN Namespaces: Urban Namespace Planning

    @chimerix I repeated myself… its late sorry!.

  • Joel Berger commented on On CPAN Namespaces: Urban Namespace Planning

    salowrey, the way this site is set up, there is almost no chance that chimerix will see your comment on this old post. Sorry.

  • Toby Inkster commented on p5-MOP gets p6 style traits (sorta)

    I would expect it to result in some metaclass method being called.

    But then you need to create a subclass of the metaclass which implements the method in question. And if you've got multiple traits, then normal subclasses are probably out of the question, and you need to instead build a subclass by composing various roles. This is what people do with Moose, and it's one of the things Stevan's trying to avoid for p5-mop.

    That said, the sub that gets called does get passed the metaclass as an argument, so it may apply a role to it, or call a method on i…

Subscribe to feed Responses to Comments from Salvador Fandiño

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.