Programming

Adding a Preview Window to Your Tab Completion

published on
A few days ago, I talked about how to add tab completion to a CLI program, using fzf. As usual, there’s more than one way to do it (TIMTOWDI) and I’d like to look at another approach which also uses fzf. One of the neat things about fzf is that it can provide you with configurable preview window. The following snippet will require fzf and bat, which is another handy tool which I encourage you to explore. Read More...

Adding Tab Completion to Your Favourite CLI Programs

published on
I like to find what I need quickly, so I make heavy use of tab completion at the command line. Lately, I’ve been using fzf more and more to do this. It’s a wonderful tool. I won’t go in depth about fzf here, but if you haven’t checked it out, please do. I think it’s well worth it. What I want to do today is to explain how to harness the power of fzf to add tab completion to an arbitrary command line program. Read More...

CPAN Bus Factor

published on
[The following post is the result of a collaboration with Neil Bowers] CPAN Bus Factor Perhaps you’ve noticed a new metric when browsing MetaCPAN? What is “bus factor”? Wikipedia defines “bus factor” as a measurement of the risk resulting from information and capabilities not being shared among team members, derived from the phrase “in case they get hit by a bus.” For CPAN our definition is “a measurement of how risky it might be to start relying on a CPAN module, which might not be actively maintained”. Read More...

perlimports

published on
Over the past 6 months or so, I’ve been working on a project to port goimports (or some version of it) to Perl. By now I’ve tested it on our Perl codebase at $work, on MetaCPAN and also some CPAN modules. It’s now at a state where I can say it’s getting to be a useful tool. You can find perlimports on MetaCPAN and GitHub. For a more thorough introduction, see my talk from the Perl and Raku Conference this past week. Read More...

Creating a Twitter List of CPAN Authors

published on
Recently I found a great little Twitter command line tool called t. It does a lot of useful things, including building and editing Twitter lists. For example, with the following commands we can: create a Twitter list called “my-list-of-people” add the @metacpan account to the list display the accounts which are now in the list we’ve just created I thought it would be fun to create a Twitter list of CPAN authors using some of the data in the MetaCPAN API. Read More...

Managing Your Travis CI Config Files with App::CISetup

published on
This post is brought to you by ServerCentral Turing Group in Chicago, a Platinum level sponsor of the meta::hack conference in 2018. For the past 3 years we’ve had the privilege of having meta::hack at the ServerCentral office space in Chicago. ServerCentral Turing Group (SCTG) is a trusted provider of AWS consulting, managed clouds, cloud-native software development, and global data center services for startups, enterprises, and Fortune 500 companies. Managing Your Travis CI Config Files with App::CISetup If you write software, you (hopefully) write tests. Read More...

How I Spent My Perl Toolchain Summit v2019

published on
PTS The Perl Toolchain Summit (PTS) is an annual event, held in Europe, where work on improving the Perl toolchain takes place. I was fortunate to be able to attend PTS again this year. I’d like to thank my employer, MaxMind, for sending me to PTS and for once again financially sponsoring this event. PTS has become something which I really look forward to. It’s a block of time to work, undistracted, on MetaCPAN. Read More...

About the Various PANs

published on
This post has been brought to you by booking.com, one of the Platinum sponsors of the 2018 meta::hack conference: About the Various PANs When it comes to CPAN, Perl has a lot of related acronyms, many of which can be hard to understand. Let’s take a moment to discuss some of them now. This discussion will focus mostly on the PANs. Let’s start with the most popular PAN in Perl: Read More...