by Heather | Mar 16, 2021 | Uncategorized
My life was recently improved by the addition of a border collie to our household. And if there’s one thing everyone knows about border collies? That they’re smart? Energetic? A bit insane? Sure, all true, but also that they rock a bandana! The really good...
by Heather | Dec 23, 2019 | Sewing
As I’m preparing for Christmas, I’ve been making some grocery bags for my family. I made one for myself as a trial and found that it was strong enough to hold 8 cans of beer, 2 pints of milk, and a bottle of rum. Impressive stuff. The aim here was to bulk...
by Heather | Oct 1, 2017 | Uncategorized
Duplicating arrays is a pretty common task for developers. Here’s 3 ways to copy $myArray to $arrayCopy: Method 1: Reference (shallow copy) In this example, $arrayCopy becomes another reference to $myArray. Updates to $myArray also update $arrayCopy. $arrayCopy...
by Heather | Nov 11, 2013 | CodeIgniter, Object-Oriented Programming, PHP
Today I found a major shortcoming of CodeIgniter. Basically, in a project I’m working on, there were a bunch of different things that a User could add to their account that would need to be approved by an AdminUser before they would appear. For fairness and ease of...
by Heather | Oct 29, 2013 | Uncategorized
If you don’t know me then this will seem to come out of nowhere. I made a thing that tells you the results of NHL games (to Brits, that’s the American/Canadian ice hockey league) without telling you the scores. Basically, I’m a fan of the Pittsburgh Penguins, but I...
Recent Comments