Wing

Wing :

Woot. Just got my first non-Plain Black employee patch for Wing.

[From my blog.]

Extended Exuberant Ctags rules for Perl?

Some time ago I made a tiny github repo to share my .ctags file that I use for better Perl support . I use it for my Mojolicious projects, yet it should be good enough for any Modern Perl project.

I would be happy if we can improve it!

Please feel invited!

META.yml is not my friend today

I want my github repo to show up in a module's META.yml file. And given that META.yml is generated by ExtUtils::MakeMaker, I put some META_MERGE stuff in my Makefile.PL, having carefully checked the documentation in CPAN::Meta::Spec to see what we're supposed to do this week (META.yml's structure has always been a bit of a moveable feast). And, of course, it doesn't work. Grrr.

Can someone tell me who fucked up what?

https://metacpan.org/source/DCANTRELL/CPAN-ParseDistribution-1.51/Makefile.PL

Counting the number of statements in a Perl codebase

I'm looking for ways to count the number of statements (or lines) in a Perl codebase. Any tools out there that do it?

JT's New Blog

A lot of people have asked me over the years if I had a blog or twitter feed that they could follow, and I've always answered with the blog or twitter feed of the various ventures I'm involved with. I've decided that it's high time for me to release my own blog and twitter feed for the things that aren't appropriate to any of those ventures. 

If you're interested, you can subscribe to my new blog or my new twitter feed now.

I'll still be posting relevant Perl-related articles to blogs.perl.org, but I've decided to create a new primary blog, because I often want to blog about non-Perl topics such as creating startups and designing games. So if you want to follow more than just my Perl activities, please subscribe to my new blog or twitter feed.

Creepy perl stat functions on Windows

I get realy strange behavior of POE::Wheel::FollowTail on Windows.
I need tailing some files on Windows and POE::Wheel::FollowTail is great for that.
It works fine, but if file reduced or recreated my script hanged to infinity loop.
I could not find anything about this problem in web and here is it.

Austin Question

IMG194.jpg
Still in Austin for a few more hours, and encountered this sight. Can anyone explain why liquid nitrogen is connected to a utility box on a street corner? Never seen this in my hometown.

Slideshows in Vroom: So Noted

Occasionally I give presentations.  Most often at work, but sometimes at my local PerlMongers.  Typically, a presentation is accompanied by some sort of slideshow.  And there are many, many different applications out there to create slideshows in.  Power Point is sort of the default of these, and I’ve used it before, and it sucks.  Google Docs Presentations uses the same basic model, and I’ve used that before too, and it sucks slightly less ... but it still sucks.  I just want some basic slides with a little bit of code on it, and maybe some text, but mostly in the “header” category.  I don’t like text-heavy slides.  You end up just reading your slides to people, most of whom can actually read themselves, and tend to be a bit insulted when you feel the need to do it for them.

Regexp::Debugger saved me twice today

I just wanted to say that if you stumble with a regex try Regexp::Debugger.
It saved me twice today facing problems too silly to describe here. :-)

Here is how I proceeded:
- write regex and see it not doing what I want
- think, rewrite, think again, rising anger
- insert Regexp::Debugger the line before regex
- play the regex, facepalm (in a positive way)

I now think about writing more complicated regexes. I want to enjoy the debugger even longer. ;-)

A Test::Class Anti-Pattern

I've been having a great time at YAPC::NA (my first YAPC In the US) and so far everything's been going swimmingly ... well, except for when I was giving a lightning talk and my phone kept buzzing in my pocket because my wife was lost.

I gave a talk on Test::Class::Moose and there were plenty of interesting questions and many of them were about topics I would like to have included in the talk, but simply didn't have time. One person emailed me later asking me a detailed question about test control methods and while I've discussed this before, I thought it was important to re-explain a common anti-pattern I see in Test::Class test suites.

Web Services Part 2: Using Joyent

I recently started trying out different cloud providers to find one that meets my Perl needs. I see many uses for cloud computing in the form of on demand, ubiquitus computing nodes that I can launch with a range of "hardware" specifications. This translates directly into saving money, the prices are different for each hardware plan and you pick what you think you need and erase it when you are done. This article is focused on using Joyent to run Perl applications, not using Perl to interact with the Joyent API, that is a future article already in the works.

Announcing App::Midgen v0.24

So what’s new?

  • Some extra speed taking advantage of some new developments in:
    • PPI::XS
    • Perl::MinimumVersion::Fast
  • Re-factor the Output formats to composed Roles
  • Start of conversion to Type::Tiny

for the rest of the blog go here

Any comments leave them here.

Making web applications like LEGO blocks - YAPC::NA 2013

It's like a LEGO blocks to making web applications for me. I'm using the Mojolicious as a web application framework. Mojolicious is a very good framework that is thin and simple, but it does not support a model, database accessing, form validation and others. So, we should choose CPAN modules to construct my web application and use the modules with the framework.

On YAPC::NA, I'll introduce my best practices of choosing CPAN modules and composing for web application that I'm developing in Japan. My application depends on many modules written by Japanese authors. The libraries I'll talk about are below.


  • Plack - Interface between web applications and servers
  • Mouse - Class builder
  • DBIx::Skinny or Teng - O/R Mapper
  • FormValidator::Lite - Simple form validator
  • HTML::FillInForm::Lite - Fast fill in form
  • Data::Validator - Validator for args
  • Devel::KYTProf - I/O profiler
  • Carton - Like a ruby bundler
  • Cinnamon - Cool deployment tool
  • And Others

Do you know these modules ? :-)

My presentation will be talked on Wednesday at YAPC::NA 2013 Austin .

Very fun to compose CPAN modules that I chose, it's like a LEGO blocks !

Ab(Using) the MetaCPAN API for Fun and Profit v2013

I'll be speaking about using (and abusing) the MetaCPAN API on day 2 of YAPC::NA. If you think you might be attending (or even if you're not), I thought I'd post some links to some helpful info. No, you don't need to do any prep for this talk, but for those who are interested, this is just some background info that will help you get your head around MetaCPAN.

This talk will touch on and expand on some of the points I discussed last year, so you could have a quick look at last year's slides. I've also put together some sample code for tomorrow's talk. If you use Carton, you can follow the instructions in the top-level README to get started in just a couple of minutes.

On a barely related note, iCPAN 2.1.0 is now in the app store. I used it on the flight down to prepare for my talk. Seemed to work well for my purposes. :)

Web Services Part 1: YouTube playlists

It started off with just a simple problem; a friend recommended some songs from various artists on YouTube. I go and listen to the songs, like them, and start looking for more from the same artists. Browsing around I find some interesting playlists but notice some of them have the same songs and I think "I'll just download the playlists and remove duplicates with a quick script".

Perl 5 Porters Weekly: May 27-June 2, 2013

Welcome to Perl 5 Porters Weekly, a summary of the email traffic of the perl5-porters email list. I'll be at YAPC all week, so be sure to say "Hi!" if you see me or come to my talk.

Topics this week include:

  • CGI.pm and Module::Build to leave core
  • CGI.pm is dead, long live CGI.pm
  • Building foundations...
  • Storable refactoring

Announcing: UAV::Pilot v0.2

UAV::Pilot, a library for controlling UAVs like the Parrot AR.Drone, has now released version 0.2. Details on my blog.

Some Diagnostic Features of Middle Irish

A friend of mine, with whom I am teaching Old Irish, asked for some diagnostic features of Middle Irish so I thought I would put it here to help them and anyone else who may want to know.

Introduction

There are many different features which mark the change from Old to Middle Irish. Much of this is discussed in much more detail in Kim McCone’s ”A First Old Irish Grammar and Reader” pp. 173—217. I will give a small précis of this here. For a more full account for verbs, see Kim McCone ”The Early Irish Verb” pp. 163—240. A full analysis by Liam Breatnach is detailed in ”Stair na Gaelige” pp. 221—333. The main problem with Breatnach’s analysis is that it is entirely in Modern Irish so unless you know that language first, or you enjoy typing and trust Google Translate, it will be inaccessible to you.

The "sky" command-line application and other Recent hacktivity

If you have a good web hosting, you may have run into a pattern, where you are uploading files to it for other people to download and need to find the URL where they were uploaded to. Thing is - recalling the exact Rsync (= a file uploader) command and then going to the web browser to access the URL is time-consuming, and repetitive. sky, written in Perl using Moo and available on CPAN, aims to fix all that.

Here is a sample invocation from the web-site:

The Design of Four

[ This is cross-posted from the Ocean of Awareness blog. ]

In the Perl world at this moment, a lot is being said about the consequences of bad design. And it is useful to study design failures. But the exercise will come to nothing without a road to good design. This post will point out four Perl-centric projects that are worth study as models of good design.

The projects are ack, cpanm, local::lib and perlbrew. Each of these is perfect in the older sense of "having all that is requisite to its nature and kind" (Webster's 1828). If you are into Perl, they are all widely useful, and looking at them as a potential or an actual user is the best way to gain an appreciation of the art behind them.

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.