Skip to content

canspice.org

photos

canspice.org
  • 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

  • Uncategorised

    Why I will be voting Green

    ByBrad Cavanagh May 12, 2013February 19, 2017

    Let’s face reality: the Green Party isn’t going to win the 2013 BC Election. They might win one or two seats. They’ll probably get 9-10% of the popular vote. And that is why I’m voting for the Green Party on Tuesday. I don’t like the first past the post elections we have in BC and…

    Read More Why I will be voting GreenContinue

  • Uncategorised

    Why I won’t be voting Conservative

    ByBrad Cavanagh May 12, 2013

    The BC Conservatives are planning on scrapping the carbon tax, bribing Lower Mainland drivers with a $408 tax credit for frequent toll and ferry users, expanding mining, supporting the Northern Gateway pipeline and Kinder Morgan pipeline expansion, and so on, and so on. Those who know me know that I’m pretty left-wing. That’s why I…

    Read More Why I won’t be voting ConservativeContinue

Page navigation

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

© 2026 canspice.org - WordPress Theme by Kadence WP