Uncategorized

Distar – A CPAN Distribution Author Tool

Posted on March 31, 2021. Filed under: Uncategorized | Tags: , , , , , , , , |

Distar – A CPAN Distribution Author Tool Not all authors agree with the trade-offs made by tools like Dist::Zilla. Matt S Trout wanted an author tool, but started from a different perspective. What needs to be added on top of what ExtUtils::MakeMaker provides to make it a viable author tool? The result of this thought […]

Read Full Post | Make a Comment ( Comments Off on Distar – A CPAN Distribution Author Tool )

Building a microservice in Perl

Posted on February 28, 2021. Filed under: Uncategorized | Tags: , , , , , , , , , |

A microservice can be thought of as the distributed computing implementation of the Unix philosophy of “Do one thing and do it well.” Usually modeled around specific business domains, a well-designed set of microservices each have their own lifecycle and communicate with each other and with consuming applications via technology-agnostic protocols like HTTP. A series […]

Read Full Post | Make a Comment ( Comments Off on Building a microservice in Perl )

Writing a Perl Core Feature

Posted on February 1, 2021. Filed under: Uncategorized | Tags: , |

Writing a Perl Core Feature An in-depth examination of the implementation of an operator (isa) added to perl CORE. A series of 10 11 posts (not including this intro, apparently): feature.pm warnings.pm Keywords Opcodes Lexer Parser Support functions Interpreter internals Tests Documentation Core modules

Read Full Post | Make a Comment ( Comments Off on Writing a Perl Core Feature )

Permutations with Heap’s Algorithm

Posted on January 30, 2021. Filed under: Uncategorized | Tags: , , , , |

Permutations with Heap’s Algorithm The good thing with the current version of the Wikipedia page (as of this writing) is the pseudo-code for an iterative (i.e. non-recursive) version of the algorithm. The following is taken from there, without the comments and with variable names that are a bit more readable in my opinion… There’s a […]

Read Full Post | Make a Comment ( Comments Off on Permutations with Heap’s Algorithm )

QSCM – A Smooth Blend of Scheme and C

Posted on January 22, 2021. Filed under: Uncategorized | Tags: , , , |

QSCM – A Smooth Blend of Scheme and C … I became interested in compilers, and more specifically bootstrapped compilers. These compilers are able to ingest their own source code and compile themselves. This page describes my first attempt at writing such a compiler.

Read Full Post | Make a Comment ( Comments Off on QSCM – A Smooth Blend of Scheme and C )

SOLID dumbed down

Posted on January 15, 2021. Filed under: Uncategorized | Tags: , , , |

Extracted from This xkcd comic speaks on how some things are deceptively hard to program. What are some other examples of this? posted to r/learnprogramming Single-responsibility principle – A class should only have a single responsibility, that is, only changes to one part of the software’s specification should be able to affect the specification of […]

Read Full Post | Make a Comment ( Comments Off on SOLID dumbed down )

mal – Make a Lisp

Posted on December 11, 2020. Filed under: Uncategorized | Tags: , |

mal – Make a Lisp Learn Lisp by creating a Lisp Interpreter The project gamifies the writing of a Lisp interpreter. Users have submitted implementations in ~80 different languages (including make and bash).

Read Full Post | Make a Comment ( Comments Off on mal – Make a Lisp )

How to find the last non blank entry in an incomplete range

Posted on December 6, 2020. Filed under: Uncategorized | Tags: , , , , |

How to find the last non blank entry in an incomplete range Can anyone point me in the direction of a way to return the last non blank entry from a range where individual cells may or may not contain data and the cells aren’t necessarilly in alphabetic order

Read Full Post | Make a Comment ( Comments Off on How to find the last non blank entry in an incomplete range )

CI for CPAN

Posted on November 13, 2020. Filed under: Uncategorized | Tags: , , , , , , , , |

A series of posts about continuous integration for perl repositories on GitHub using GitHub Actions. A Continuous Integration system (aka CI) can shorten the feedback cycle you get for your code. Usually it will run your unit tests, (or whatever you tell it to run) every time you push code to your VCS – Version […]

Read Full Post | Make a Comment ( Comments Off on CI for CPAN )

Going for Perl [Go from Perl]

Posted on October 18, 2020. Filed under: Uncategorized | Tags: , , , , , , |

Going for Perl More recently the Wise Old Elf had been running a small team of elves that had been experimenting with writing some of their more speed critical code in Go. Previously at the North Pole they’d resorted to using C code – often called via Inline::C – when their beloved Perl just wasn’t […]

Read Full Post | Make a Comment ( Comments Off on Going for Perl [Go from Perl] )

« Previous Entries

Liked it here?
Why not try sites on the blogroll...