Uncategorized

Hexagon grids: coordinate systems and distance calculations

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

Hexagon grids: coordinate systems and distance calculations [A] poorly implemented hex grid, at the base technical level, has the potential to create massive headaches for me (the programmer) and millions of wasted CPU cycles. The reason for this is the very nature of trying to assign Cartesian coordinates to a honeycomb grid. Quite frankly, all […]

Read Full Post | Make a Comment ( Comments Off on Hexagon grids: coordinate systems and distance calculations )

Git PSA: git-rev-parse

Posted on November 30, 2017. Filed under: Uncategorized | Tags: , , |

Git PSA: git-rev-parse Git has a bewildering variety of notations for referring to commits and other objects. If you type something like origin/master~3, which commit is that? git-rev-parse is your window into Git’s understanding of names

Read Full Post | Make a Comment ( Comments Off on Git PSA: git-rev-parse )

Flight rules for git

Posted on November 21, 2017. Filed under: Uncategorized | Tags: , , , |

Flight rules for git What are “flight rules”? A guide for astronauts (now, programmers using git) about what to do when things go wrong. Flight Rules are the hard-earned body of knowledge recorded in manuals that list, step-by-step, what to do if X occurs, and why. Essentially, they are extremely detailed, scenario-specific standard operating procedures. […]

Read Full Post | Make a Comment ( Comments Off on Flight rules for git )

Firefox Developer Tools | Browser Toolbox

Posted on November 17, 2017. Filed under: Uncategorized | Tags: , , |

Firefox Developer Tools | Browser Toolbox The Browser Toolbox enables you to debug add-ons and the browser’s own JavaScript code rather than just web pages like the normal Toolbox. The Browser Toolbox’s context is the whole browser rather than just single page on a single tab. Also discussed here: Inspect / discover editable css with […]

Read Full Post | Make a Comment ( Comments Off on Firefox Developer Tools | Browser Toolbox )

Sample Database: Chinook

Posted on November 6, 2017. Filed under: Uncategorized | Tags: , , , , , , , |

Chinook Database Chinook is a sample database available for SQL Server, Oracle, MySQL, etc. It can be created by running a single SQL script. Chinook database is an alternative to the Northwind database, being ideal for demos and testing ORM tools targeting single and multiple database servers. (Data is music oriented – artist, album, track […]

Read Full Post | Make a Comment ( Comments Off on Sample Database: Chinook )

Automated testing on Windows with AppVeyor

Posted on October 23, 2017. Filed under: Uncategorized | Tags: , , , , , |

Automated testing on Windows with AppVeyor AppVeyor is a continuous integration service similar to Travis CI, just on Windows. If you have a Perl module on GitHub, it’s not that hard to have it run tests automatically on Windows; it’s just not well documented.

Read Full Post | Make a Comment ( Comments Off on Automated testing on Windows with AppVeyor )

Introducing the PAUSE Operating Model

Posted on October 23, 2017. Filed under: Uncategorized | Tags: , , |

Introducing the PAUSE Operating Model At the Toolchain Summit this year, one of the discussion sessions was to reflect on how the DBIx::Class ownership conflict was handled. We didn’t only discuss DBIx::Class, but how a range of other situations were handled. One of the outcomes of that session was a request that the PAUSE admins […]

Read Full Post | Make a Comment ( Comments Off on Introducing the PAUSE Operating Model )

Fixing Legacy Perl Functions With Decorators

Posted on October 21, 2017. Filed under: Uncategorized | Tags: , , , , , , |

Fixing Legacy Perl Functions With Decorators Function decorators give us a way to modify a function’s behaviour without changing its source. This is useful in changing the behaviour of complex or legacy functions that you don’t want to touch. Although perl does not have a built-in syntax for creating or using decorators, typeglob manipulations are […]

Read Full Post | Make a Comment ( Comments Off on Fixing Legacy Perl Functions With Decorators )

Modern JavaScript Explained For Dinosaurs

Posted on October 19, 2017. Filed under: Uncategorized | Tags: , , , |

Modern JavaScript Explained For Dinosaurs The goal of this article to to provide a historical context of how JavaScript tools have evolved to what they are today in 2017. We’ll start from the beginning and build an example website like the dinosaurs did — no tools, just plain HTML and JavaScript. Then we’ll introduce different tools incrementally […]

Read Full Post | Make a Comment ( Comments Off on Modern JavaScript Explained For Dinosaurs )

Using GitHub for free Javascript and CSS hosting

Posted on October 17, 2017. Filed under: Uncategorized | Tags: , , , , , |

rawgit.com When you request certain types of files (like JavaScript, CSS, or HTML) from raw.githubusercontent.com or gist.githubusercontent.com, GitHub serves them with a Content-Type header set to text/plain. As a result, most modern browsers won’t actually interpret these files as JavaScript, CSS, or HTML and will instead just display them as text. RawGit acts as a […]

Read Full Post | Make a Comment ( Comments Off on Using GitHub for free Javascript and CSS hosting )

« Previous Entries

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