How To Stop Spam Calls on Your Twilio Numbers in 8 Easy Steps

    I'm starting to get spam calls on my Twilio numbers. It wouldn't be so bad, but each one is a robot recording of bull$hit that goes ON AND ON for a full hour, the default length of my OpenVBX voicemail call length.

    So each call costs me about $.01/min for local calls, and almost $.03/min for my toll free number. So the cost of these useless 3,600 second calls is starting to add up. Besides, it just pisses me off that I am paying *anything* to be spammed.
    So, I fixed it.

    Code Correlation: The Most Important Thing At Your SaaS Company

    I received my Finance MBA waaay back when, but I still remember a core concept regarding investing: Correlation.

    Investment correlation is, "In the world of finance, a statistical measure of how two securities move in relation to each other."

    The Science of Self Storage Location Optimization, Part 3

    As usual, I'd like to start with a question:

    How many storage units do you think Public Storage has in all its facilities?

    I have tried looking for this information on several occasions, and have never found it.

    The Science Of Self Storage Location Optimization, Part 2

    First, a question: How far do you think the average observable star is from Earth?

    If you are not an astronomer, this is the kind of question that might make you shrug your shoulders and respond, "I have no idea."

    But let's say I give you the distance to 100 random stars. Do you think your guess would then be pretty close by using this data? Actually it would. Despite the fact there are billions and trillions of stars, knowing the average distance to just 100 would give you an enormous amount of information about how far, on average, it is to all stars.

    The Science of Self Storage Location Optimization, Part 1

    Location Can Make Or Break Your Business

    The decision about where to locate a new business is one of the most important in determining its success or failure. The difference between a bad location and a great location can mean millions of dollars either made or lost.

    The physical location of a self storage facility is especially important. First, the initial investment in land can be enormous. Second, and possibly more important, is the dedicated nature of a storage facility.

    Capybara, Poltergeist, PhantomJS and the dreaded Capybara::Poltergeist::ObsoleteNode errors

    Just a short post for anyone who might be struggling with Capybara::Poltergeist::ObsoleteNode errors, like I was yesterday.

    Here is the scenario: I was trying to scrape a site that has a lot of javascript. I mean A Lot. In fact, when I would right click on an element and choose "Inspect Element", Developer Tools would pop up, and I could clearly see that the element I was interested in (usually a link) was clearly present. Or so I thought.

    (One possible) Future of Smartphones

    I was at Safeway this morning stocking up for New Years, and when I was walking out, I saw something odd: A kiosk that would pay you for your phone. It looked like you stuck your phone in a slot (like at the bank drive thru), and I guess you somehow got money for it.

    I didn't stop to see how it actually worked, maybe I'll do that later. But as I was walking to my car, I started thinking about how phones could be distributed via vending machines or small kiosks, like Redbox.

    GMap Macros in Drupal show "Javascript is required to view this map"

    Problem: Was pasting in the code for GMap macros into the body of Drupal content, but instead of seeing a map, it just says, "Javascript is required to view this map".

    Solution: After much fruitless searching, found that enabling GMap macro filtering on "Filtered HTML" does not work, but it does work for "Full HTML".


    Changing the GMap popup window in Drupal

    This is just a quick how-to regarding the info-window information that pops up when you use GMap & Drupal.

    The problem is the info-window was displaying zip-code, city, state on the 3rd line of the info-window. I didn't want that. I wanted the canonical city, state zip-code.

    After searching my modules folder, I found the template that controls the output of the GMap popup window is in the Location module, and the template is location.tpl.php.


    Some Drupal Fixes

    I have run into several Drupal problems recently with enough regularity, that I thought I should at least note them for my own sanity.

    1) Google maps not displaying.


    Subscribe to RSS