user-pic

Al Newkirk

  • Website: ana.im/
  • About: ... proud Perl hacker, ask me anything!
  • Commented on Modular, Decoupled, Best Practiced, Well Designed, Bullshit
    @JT, yes, I'd have to agree with you (100%). I too write code from dusk til dawn most days and find myself, quite often, bothered by my own wanting for my code and/or architecture to be perfect. I think it's...
  • Commented on Secrets, Security and Environment Configuration
    I thought about the HTTPS BasicAuth approach but didn't have time to implement it. There are a few unsophisticated treat detection mechanisms in-place. Thanks for the feedback. I'll probably move to the HTTPS model in the future....
  • Commented on Secrets, Security and Environment Configuration
    @Aristotle, you might be right about the system being overly complex although you may change your opinion given a bit more information. "the only relevant security in your system comes from the password protecting the 7zip file, and from prompting...
  • Commented on Secrets, Security and Environment Configuration
    Neil, I typically use the latest versions of Debian or Ubuntu which don't allow you to inspect other user's environments unless you're root. Is that not the case with other OS distributions?...
  • Posted Secrets, Security and Environment Configuration to Al Newkirk

    True story.

    Once upon a time there was a web application stack built atop of a particular CI (continue integration) pattern with particular security constraints which I had the pleasure of configuring. The application needed certain secrets (third-party API keys, passwords, trade-secrets,…

  • Posted HttpD On-Demand to Al Newkirk

    Every so often I have a need to debug static web content which is usually within which uses Python to start an HTTP daemon which serves static HTML content from the CWD (current working directory).

    This alias uses …

  • Commented on The Four Major Problems with CPAN
    I totally agree with your post, I also totally agree with the last comment, less the dismissive tone. Having used C# and the .NET framework I can attest to it's robustness and awesomeness. That being said, for the sake of...
  • Commented on The Main Problem With CPAN Modules On Github
    About a year ago I was squawked at about this so I altered my dist.ini file to copy the generated Makefile.PL and put in it the repo, then I worked this approach into my release process. The dist.ini file is...
  • Commented on Please build this for me, yesterday, also!
    Net::EmptyPort and Test::TCP both look great, I will use them....
  • Commented on Please build this for me, yesterday, also!
    Finding an "empty_port" is trivial, and there are many ways to do it. Finding an "empty_port" is not the "hot dog" (essential part of the experience), the "hot dog" is in being able to "reproduce results". For example, let's say...
  • Posted Please build this for me, yesterday, also! to Al Newkirk

    use Port::Authority;

    Port::Authority would be a module which assigns and tracks ports for use with multiple application servers running on the same box. It would need an algorithm, capable of generating reproducible results, to generate port numbers in which are available, maybe it could b…

  • Posted Please build this for me, yesterday! to Al Newkirk

    #!/usr/bin/env perl

    =head1 NAME

    App-sourcery

    =head1 USAGE

    # loads all @assets within $path and reports any not referenced in at-least one of the @sources
    ./sourcery --path=/var/www --asset=*.css --asset=*.js --asset=*.png --source=*.html

    =hea…

  • Posted The Power of the Sun, in the Palm of your Hand to Al Newkirk

    Over the weekend I worked on a new Perl library, MongoDB::QueryBuilder, a tool which is designed to simplify composing complex and dynamic queries for MongoDB in a chainable and object-oriented fashion.

    Seldomly do we see examples of querying a MongoDB datastore of significant size and com…

  • Commented on Form Rendering: Why Do We Even Bother?
    @Ron, yes, you're absolutely right. I fixed that shortly after the release went out. Validation-Class 7.900014 doesn't have that dependency at all. Also, you can cpanm the github tarball if you like....
  • Commented on Form Rendering: Why Do We Even Bother?
    @Ron/@Jerome, I encourage you to dive into the Validation::Class space, specifically, you should first read Validation::Class::Whitepaper. @Ron, you asked if I meant Regex/p/::Common, I'm not sure what you mean by this, please clarify. The module reviews page is pretty cool...
  • Posted Form Rendering: Why Do We Even Bother? to Al Newkirk

    Over the holiday I decided to do some development work even-though I had promised myself I wouldn't work on any open-source projects until all my commercial projects

    I was bored, and since the alcohol and party-favors had lost there seductiveness, I thought I might revisit …

  • Posted A Killer Feature for Mojolicious to Al Newkirk

    I just thought of a truly killer feature for Mojolicious. You are undoubtedly GitHub, etc. Most of you undoubtedly already know the answer to that, but I digress.

    Many shops that I've worked with have this conc…

  • Posted Say it once, Don't Repeat It to Al Newkirk

    The following is a story about me (you can call me "guy") who was working as a
    conversation with one of the lead system architects (herein after referred
    to as God).

    One day, Guy explained to G…

  • Posted Candy-Coated Data Validation; Codename: ShuhgaBear to Al Newkirk

    2-CENTS

    This week, in the intertubes, I came across a Node.js validation library which seemed to be popular amongst "those people". At-a-glance, as far as validation libraries go, I didn't think it was that well done, but I must admit to noticing a certain appeal in the expressiveness of…

  • Commented on Validation::Class: Released version 7.900001
    Hey Gabor, that's a great question, thanks for taking the time to ask. The previous versions had tests which thoroughly tested its directives, validations and most methods. The 5% refers to a handful of methods that aren't automatically exported (meaning...
  • Posted Validation::Class: Released version 7.900001 to Al Newkirk

    I wanted to formally annouce the release of Validation::Class, as of version compatibility at about 95%. The following is the current complete list of core directives (validation rules). As stated in the documentation, t…

  • Commented on Operate with Impunity
    Steven, Glad to meet another fellow author, especially one that develops in the same domain as I. :} Thanks for comments on the documentation, the synopsis in both Validation::Class and Validation::Class::Simple have been minimized for the sake of brevity so...
  • Posted Operate with Impunity to Al Newkirk

    I am 99.9999% done with a complete rewrite of Validation::Class. I have also written a decent amount of documentation on how you should use the library and why you should use the library.

    Within the documentation you can also find a whitepaper that offers insight into the rational behind t…

  • Posted Sexual Harassment? to Al Newkirk

    package Company::Connection;

    use Moose;

    ...

    sub connection {

    my ($self, @args) = @_;

    # @Linda: I hope this isn't creepy but if you're reading this I just
    # want to say I think you're awesome and we should go out on a date

  • Posted Les Misérables to Al Newkirk

    09:41 alnewkirk> sooo fucking frustrated
    09:41 alnewkirk> this line just save-my-sanity -- https://metacpan.org/source/XSAWYERX/Dancer-1.3100/lib/Dancer/Template/TemplateToolkit.pm#L37
    09:42 alnewkirk> I couldn't figure out why my TT ren…

  • Commented on Better, Faster, Funner - Part 1
    @Ben, its a web application (framework), its based on Dancer (which I mentioned) and simply talks about an approach I took towards deployment, template-rendering, form-handling, and configuration management. Also, I just like to clarify that I in no way am...
  • Posted Better, Faster, Funner - Part 1 to Al Newkirk

    I've recently started working on a new web app project using all sorts of build it out. The architecture of this application is different from what I'm used to but I like the direction I'm headed, everything seems to be…

  • Commented on Usability testing of CPAN modules
    Really great article and message, what we've basically done here is stumbled into our very own open-source quality assurance process, I hope others follow this lead. Also, for those that look beyond this article, Vyacheslav's critique was of Validation::Class version...
  • Commented on Haven't Blogged in a While...
    #!/usr/bin/env perl package Twit; use Command::Do; fld command => { required => 1, min_length => 2, filters => ['trim', 'strip', sub { $_[0] =~ s/\W/\_/g; $_[0] }] }; mth run => { input => ['command'], using => sub { my...
  • Commented on Haven't Blogged in a While...
    Flavio, good point with regards to the keyword usage. Making a change. Thanks. -Al...
Subscribe to feed Recent Actions from Al Newkirk

Subscribe to feed Responses to Comments from Al Newkirk

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.