user-pic

BooK

  • Commented on Patreon and Perl
    Gratipay has a one-click migration to Liberapay, for the lazy ones among us....
  • Commented on What Time is Midnight?
    Well, according to https://en.wikipedia.org/wiki/Unix_time#Leap_seconds: The Unix time number increases by exactly 86,400 each day, regardless of how long the day is....
  • Commented on Split a .pm into a .pod and a .pm
    `perldoc -u` does half the job....
  • Posted Try this awesome trick to make your language toolchain better to BooK

    Get the lead developers together in a hotel for four days. Remove all distractions. Feed them. Stand back and watch bugs get fixed, problems get solved, and new ideas implemented.

    Earlier this month 38 Perl toolchain developers assembled in Lyon for the Perl Toolchain Summit, the event pre…

  • Posted Git::Database now supports seven different Git backends to BooK

    A few weeks ago, SROMANOV sent me a patch for Git::Database adding initial support for accessing the Git object database references…

  • Posted About the Perl Toolchain Summit to BooK

    We've had a few questions and discussions about the toolchain summit since our announcement in January. In this blog post we'll address some of those: why the name change, what things are fair game to be worked…

  • Posted The Perl Toolchain Summit 2017 to BooK

    It is my pleasure and honor to announce that the Perl Toolchain Summit will be held in Lyon, France from Thursday 11th May 2017 through Sunday 14th May 2017. This is the event previously known as the Perl QA Hackathon, where we bring together as many of the…

  • Commented on CPAN Testers RULE!
    Same happened to me recently. Thanks Slaven (for the report AND for looking for a probable cause) and CPAN Testers! I've come to rely * a lot* on the CPAN testers for picking up obscure issues in my code. This...
  • Commented on Looking for Eugene van der Pijll
    Eugene gave me co-maint of DateTime-Calendar-Pataphysical back in April 2014, so he was active somewhat recently. I contacted him via email at the address pijll at cpan dot org and he replied with pijll at gmx dot net....
  • Posted Introducing Git::Database to BooK

    Git::Database is yet another module I wrote to interact with Git. It wraps an OO-layer around Git objects (blobs, trees, commits, tags), in a way that's very similar to what Git::PurePerl does. It has no opinion on the actual means to get the…

  • Commented on POD speculation
    I'm using the title-based approach too, for the same reasons. I've also switched to putting only the function/method name in the title (as it makes the HTML anchor simpler), and putting a code example below in a verbatim block (which...
  • Commented on The Secret Life of Acronyms
    Actually, the French Perl Mongers have a claim for prior art. We have been using the name "patch" for our irregular hackathons since 2013: patch -p0 patch -p2 The patch -p2 hackathon in Lyon is over patch -p3 We're very...
  • Posted My Perl QA Hackathon 2016 to BooK

    I attended the Perl QA Hackathon 2016 in Rugby. I didn't come with any specific projects, and planned to participate in some of the discussions, help others if possible, learn a bit of Perl 6 and if all else failed, work on some of my own CPAN…

  • Posted test_requires_git to replace has_git to BooK

    About a year ago, a few weeks after the Perl QA Hackathon 2015, I started hacking on

  • Posted It's never too late to find a bug to BooK

    For the last five years, the version comparison code in Git::Repository started with this:

    my ( $r, $v, @o ) = ( shift, ( grep !ref, @_ )[0], grep ref, @_ );
    

    Th…

  • Commented on ...but which one is easier to learn?
    At some point in the past (2003?), "Learning Perl" was split in two, the second half being published as "Learning Perl Objects, References & Modules". That second half was then renamed "Intermediate Perl". So I think a far comparison should...
  • Posted Introducing Git::Version::Compare to BooK

    As explained last week, I took all the Git version comparison code out of Git::Repository, and moved it into a new module:

  • Posted Test your Git wrapper against 500 versions of Git to BooK

    Ever since I wrote Git::Repository, I've paid attention to supporting as many Git versions as possible.

    This is possible because it is a really thin wrapper around Git, that expects only a few sub-commands to exist. Therefore the burden of making sure the G…

  • Posted CPAN.io as a reference site to BooK

    While going through my repositories, looking for things to work on during the holidays, I found a draft blog post for the CPAN.io pulse, that I initially planned to publish in June 2015: CPAN.io…

  • Commented on In “Cede Your Soul”, an episode of a tv show called “Blindspot”...
    Does that mean you're a big endian?...
  • Posted CPAN authors and Gratipay 2.0 to BooK

    About a year and half ago, the CPAN community started to join Gratipay (formerly known as gittip), possibly under the influence of this post and

  • Posted patch -p3 to BooK

    The next edition of the patch.pm Perl hackathon will be held in Lyon on Saturday September 12, 2015.

    My plan for this one-day hackathon is first to take advantage of the visit of Liz and Wendy on their way home from Gra…

  • Commented on The newly-released Regexp::Assemble V 0.36
    If you can get DLAND to give you an archive of his repository, I'm volunteering to produce a Git repository with the whole module history....
  • Commented on RFC: Perl software of the year award
    And if the award needs a name, I think we can forget camels and butterflies for a moment, and call it the Onion Clock, or maybe the Clockwork Onion....
  • Commented on RFC: Perl software of the year award
    I think it would probably be best if the software in question was NOT just a CPAN module. I.e. it should be a complete program, not only a library (or a set of libraries). That restriction (program versus library) does...
  • Commented on MakeMaker among the stars
    Yay! Don't let sticklers spoil a good pun!...
  • Posted Introducing Test::Requires::Git to BooK

    Git is a wonderful tool, and there are lot of git ="https://metacpan.org/pod/Git::Ra…

  • Commented on Of course you can `requires` attributes!
    Sorry for replying a few month later, but your code example gives an error: perl -e ' package MyRole { use Moo::Role; requires "my_attr"; } package MyClass { use Moo; with "MyRole"; sub my_attr; has my_attr => ( is =>...
  • Posted My Perl QA Hackathon 2015 report to BooK

    I too was among the crowd that attended the Perl QA Hackathon 2015 in Berlin. Here's my report.

  • Commented on QA Hackathon 2015 (Berlin)
    Regarding a rework of Module::CoreList... I'm interested in writing another module with the same kind of role: Git::Features. At first, I thought about stealing from Module::CoreList, or convincing BinGOs to upload Module::CoreList::TieHashDelta as a separate module I could use. Now...
Subscribe to feed Recent Actions from BooK

  • steffenw commented on Split a .pm into a .pod and a .pm

    At the begin of line: = followed by letter a-f, then it is pod. There are much more keywords then in your script. To increase compiletime write pod after __END__ compiler stops reading file at this label.

  • yanick commented on Split a .pm into a .pod and a .pm

    For giggles, there are two modules of mine that also deal with that kind of stuff:

    Test::Pod::Snippets -- which turn code in the SYNOPSIS, and potentially elsewhere in the documentation -- into tests.

    Dist::Zilla::Plugin::CoalescePod -- merges related .pm and .pod files together when building the dist.

  • Tom Wyant commented on What Time is Midnight?

    What I tend to do when I want the current local day with core Perl is something like

    use Time::Local qw{ timelocal }; $today = timelocal( 0, 0, 0, (localtime)[3 .. 5]);

    (from eg/almanac in the Astro::Coord::ECI distribution).

    This algorithm should not be generalized to years far from the current year, because of the way Time::Local interprets the year. I ran into the "far from the current year" issue when a correspondent wanted to use Astro::Co…

  • Grinnz commented on What Time is Midnight?

    Correct, leap seconds do not affect the unix epoch time, as they're ignored or skipped for that purpose. Time zone offset changes are another matter, since they're applied "on top" of the epoch time. So the simplest method is to do all your date math in UTC, and use the epoch. This doesn't help when you want to know when midnight is in local time though.

  • Klaus Baldermann commented on What Time is Midnight?

    Is that a typo in your last paragraph, or did you really search for 23:53:40 (86000 seconds)?

Subscribe to feed Responses to Comments from BooK

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