R Mateys!

For the first language of the month article, the choice was clear: I wanted to learn more about statistics, so I enrolled myself into a course on Coursera to learn about it. It just so happens that the course is taught using R, so I get to kill two birds with one stone, as it were. I won't bore you with an exhaustive overview of the syntax, so let's just touch upon some of the features R provides.

Read More…
Posted on 2016-02-08

Language of the Month

So, this year in 2016, I have a number of ambitious goals, two of which are related to this blog. The first goal is to write a blog post per week, which I've managed to do successfully thus far (although I'm often a bit off of my “publish every Monday morning” mark). The second is even more ambitious; so much so that I don't even know if I'll be able to keep with it the entire year.

Read More…
Posted on 2016-02-05

Anonymous State Variables And How They Work

When debugging code, I will often add a counter variable to a loop so I can keep track of what's going on, or so that I can process a fraction of my data set while I'm iterating on a piece of code:

Read More…
Posted on 2016-01-27

Getting End-of-Document POD and Declarative POD to Play Nice in Perl 6

When I wrote more Perl 5, than I do today, I followed Damian Conway's advice about documentation and embraced the so-called end of document style:

Read More…
Posted on 2016-01-20

Distributing Helper Libraries With Perl 6 Modules

NativeCall is a great feature in Perl 6; it's one of the features I like to showcase when showing off what Perl 6 can do! For those of you who don't know, NativeCall is a module that allows you to trivially bind to native libraries without having to write any C. For example, if you want to call write(2) from Perl 6, you can just do this:

Read More…
Posted on 2016-01-12