Skip to content

canspice.org

photos

canspice.org

Author: Brad Cavanagh

  • Cycling | New Westminster

    Cycling on sidewalks in New Westminster

    ByBrad Cavanagh July 10, 2013January 27, 2017

    Did you know that it’s perfectly legal to ride your bicycle on the sidewalk in New Westminster? Well, strictly speaking that’s not true, but it’s perfectly legal to ride your bicycle on most of the sidewalks in New Westminster. British Columbia’s Motor Vehicle Act Section 183(2)(a) states: A person operating a cycle must not ride…

    Read More Cycling on sidewalks in New WestminsterContinue

  • Uncategorised

    This might be the best thing I have ever done on the Internet

    ByBrad Cavanagh June 16, 2013

    Note to self, Baba O'Riley is best karaoke troll song. Everyone knows it and sings along, but forgets about the 2 minute instrumental outro. — Jason (@XaiaX) June 16, 2013 @XaiaX well hopefully people remember that so next time they *puts on sunglasses* won't get fooled again. YYEEAAHH! — Brad Cavanagh (@CanSpice) June 16, 2013

    Read More This might be the best thing I have ever done on the InternetContinue

  • Uncategorised

    When is an Array not an Array?

    ByBrad Cavanagh June 11, 2013February 13, 2018

    Short answer: When it’s a JavaScript arguments object. Long answer: In a JavaScript package I’m writing, I have a function that returns an object. There’s a bug in it where in certain situations it returns the JavaScript value true. I have a test framework set up with Mocha using the Chai assertion library. With it,…

    Read More When is an Array not an Array?Continue

  • Uncategorised

    CIBC Credit Card Fraud Department: You’re still doing it wrong

    ByBrad Cavanagh June 6, 2013June 20, 2016

    In part one of this saga I described how CIBC had sent me a text with a phone number to get them to call them, and how this is wrong. I just went through my spam folder and found this gem: Dear BradCavanagh, Please contact us as soon as possible at 1-866-454-4339 (in Canada & U.S.) or 416-785-1331…

    Read More CIBC Credit Card Fraud Department: You’re still doing it wrongContinue

  • Uncategorised

    CIBC Credit Card Fraud Department: You’re doing it wrong

    ByBrad Cavanagh June 6, 2013June 20, 2016

    This morning I received a text message purporting to be from CIBC: BRAD,¡ Please call CIBC at 1-866-454-4339 to verify recent transactions on your credit card ending in¡XXXX. Yes, the ¡s were part of the text message, and I’ve X’ed out the last four digits in my credit card. This text came from the number “242-222”. I signed…

    Read More CIBC Credit Card Fraud Department: You’re doing it wrongContinue

  • Uncategorised

    Querying for slashes in Elasticsearch 0.90

    ByBrad Cavanagh May 31, 2013

    If you upgrade Elasticsearch from 0.20 to 0.90, any queries you previously made using a front slash will fail with an error similar to: 1 2 3 4 5 6 7 8 9 10 11 “error” : “SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[tJ5MGSY_RnOHfeAN2O8gnQ][twitter][2]: SearchParseException[[twitter][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{\n…

    Read More Querying for slashes in Elasticsearch 0.90Continue

Page navigation

Previous PagePrevious 1 … 30 31 32 33 34 35 Next PageNext

© 2025 canspice.org - WordPress Theme by Kadence WP