user-pic

Rafaël Garcia-Suarez

  • Commented on What prevent warnings pragma become default feature?
    In short, warnings::register prevents it. In other words you aren't sure about the set of warnings that are going to be enabled implicitly. Let me add that warnings are often used to detected edge conditions in the program environment (input...
  • Commented on booking.com - a toxic company for developers
    There is in this post a part where the anonymous author personally targets me and questions the value of my work. I'll debunk the lies. No, I'm not active in hiring; no-one ever got an interview with me. I don't...
  • Commented on It’s the things we know that just ain’t so
    Indeed....
  • Commented on The Case of the Incompatible Safe -- Epilog
    Cool! (But you really should thank Paul Johnson instead:)...
  • Posted Rvalue references to Rafaël Garcia-Suarez

    From the C++11 FAQ, section on rvalue references, about a simple incrementation function incr:

    If that incr(0) were allowed either some temporary that nobody ever saw would be …

  • Commented on I was called "fucking asshole"
    I guessed the identity of the offender before looking at the ticket. His communication style is so peculiar that many people are actively avoiding to pull his modules in their dependency chain, in spite of their usually good technical value....
  • Posted Perl documentation word clouds to Rafaël Garcia-Suarez
    This is totally useless, but I've written a script to create word clouds from perl's core pod files. As an example, here's the word cloud from perlunifaq : perlunifaq.png="http://blogs.perl.org/user…
  • Commented on Truth about Booking.com
    Well, I work for Booking, the tables I work with have FK constraints, and I explicitly forbid people in my team to cut and paste code or going for other quick and dirty hacks that will hurt maintainability. On the...
  • Commented on Unicode and Passwords
    If your password comes from a browser, you have also the interesting problem to detect the encoding of the raw data you're receiving. For your specific purpose, I'd choose a normal form (NFC probably, so stuff like the Dutch ij...
  • Posted Why Dart is not the language of the future to Rafaël Garcia-Suarez
    So I've been looking at the Dart language specification recently published by Google (draft version 0.01). So far, I'm not really enthusiastic. Here's my reading notes.

    Class-based OO and Interfaces

    At first glance Dart code looks like Java (and nothing's wrong with that, I'm not going…
  • Commented on Expanding Your MetaCPAN Author Profile
    A few remarks to make it more awesome: 1. I can't find where to put my IRC nickname ? 2. What's the benefit of signing on with github ? It doesn't even add a github profile link. (Likewise for twitter)...
  • Commented on Failing your way to success with A/B Testing
    Yes but what we really really want to know is, did your wife A/B-test this orange thing on her head ?...
  • Commented on A Module::CoreList for vendor distributions
    Porting/corelist.pl might be a start to collect data for such a tool, if anyone wants to pick that up....
  • Commented on Perl101: Red to Green Gradient
    This is quite a naive way to calculate colour gradients, since linear interpolation in the RGB space will yield colours that are not "between" the two limits neither in hue or in intensity. IIRC it's possible to get better results...
  • Commented on Perl-based Massively Multiplayer Online Game
    Reading this entry's title, I thought you were referring to the CPAN :)...
  • Posted New Safe.pm fixes security hole to Rafaël Garcia-Suarez

    Safe.pm, originally released with perl 5.002, has been an experiment to bring compile-time safety to perl. It allows to compile a (usually user-provided) snippet of perl code and execute it, while forbidding a configurable list of operations -- for example, all perl built-ins that would require…

  • Commented on While on humor... best error msg in a while
    perl probably can't figure out either what went wrong, since that's the default warning message: $ perl -ewarn Warning: something's wrong at -e line 1....
  • Posted C, Perl, and cut and paste to Rafaël Garcia-Suarez
    On all released 5.10.* versions of Perl to date, the smart match operator can segfault if passed recursive data structures (like arrays that contain a reference to themselves). I fixed that. The fix…
Subscribe to feed Recent Actions from Rafaël Garcia-Suarez

  • Yuki Kimoto commented on What prevent warnings pragma become default feature?

    Helmut Wollmersdorfer

    >But sometimes it is necessary to turn it off, e.g.

    Is this resolve "no warnings"?

  • Yuki Kimoto commented on What prevent warnings pragma become default feature?

    >In short, warnings::register prevents it. In other words you aren't sure about the set of warnings that are going to be enabled implicitly.

    That is true. But if we don't need warnings, we can do "no warnings". It is good that warnings is default.

    >so enabling warnings by default everywhere might cause unwanted problems.

    No, No. What I say is that "use VERSION" enable warnings pragma by default.

    It have no effect to users who don't use use VERSION.


  • fluca1978 commented on What prevent warnings pragma become default feature?

    I suspect retro cvompatibility is the issue. If you enable warnings on default you nave to refactor old code to USS no warnings.

  • Yuki Kimoto commented on What prevent warnings pragma become default feature?

    fluca1978

    >I suspect retro cvompatibility is the issue. If you enable warnings on default you nave to refactor old code to USS no warnings.

    No, No, I insist that "use VERSION" enable warnings pragma by default. retro compatibility is no matter.


  • Luca Ferrari commented on What prevent warnings pragma become default feature?

    If retro compatibility is not an issue, I suspect that Perl developers would have already enabled warnings by default.

    On the same line of thoughts, why is not "my" a default for variables?

    Why not automatically using a predefined set of modules without having to specify "use"?

    The language has been built and evolved in a specific way, so while we can change the future, we cannot destroy the past.

Subscribe to feed Responses to Comments from Rafaël Garcia-Suarez

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.