By:  Greg
January 16, 2014 12:28 pm | Category: Quick Update, Skiing

It’s a word you’ve probably heard, and dismissed as being too many syllables to understand: “algorithm.” There’s no reason to fear however; you know what an algorithm is. I promise. I’ll just have to show you that you know before you know you know (trust me, I know).

Let’s start with an easy example I know you know you know: The Pow Algorithm.

(Note: in all that follows, the object MBBI is defined as follows.)

function Pow_Algorithm(var_arg_in)

1 IF snow_total_nearby() >= 10
2     find(location(snow_total_nearby()))
3     drive(location(snow_total_nearby()))
4     WHILE group_morale() >= cranky_pants
5         ascend(location(snow_total_nearby()))
6         descend(location(snow_total_nearby()))
7             WHILE pow_in_face()=1
8                 hoot()
9                 hollar()
10                giggle_like_little_kids()
11            END
12        IF num_MBBI() > 0
13            pop_MBBI() 
14        END
15    END
16 END


As you can see, this algorithm–or program if you will–tells one what to do when powder snow arrives nearby in quantities greater than 10 inches. Of course this is only pseudo-code, and a computer would be hard pressed to run this algorithm (mostly because computers don’t like skiing; in fact they don’t like anything; they have no consciousness [more on that at a later date]).

Another example is the code that your GPS-device writes for you to follow to get you lost when you want to get somewhere. It’s sad really. I’m crying right now thinking about the irony of this algorithm.

But not all algorithms involve tears. Here’s one that we wrote recently, and so I’d be surprised if you are familiar with it. It implements Pow_Algorithm() as a subroutine, so it’s a good third example for beginners. We developed this algorithm last week when Lake Ontario decided to unload its contents on surrounding environs. Here’s the code:

function Ontario_Pow_Hunt(var_arg_in)

1 let_Hutz_drive_angrily_as_friends_fart_in_newly_cleaned_upholstery()


2 drive_toward_pow_with_ThePeter_making_wierd_faces_at_the_smell_of_said_farts()


3 Pow_Algorithm(Day_1, 12_inches, lots_of_energy, only_group_skiing, lots_of_MBBI)







Continue Reading: 1 2 3 4 Next »

, , , , , ,


  1. brian
    wrote on January 16th, 2014 at 1:22 pm  

    JPG has two ‘g’s in the link to MBBI. otherwise sweet post!

    • Greg
      wrote on January 16th, 2014 at 1:24 pm  

      thanks! fixed. always glad when folks lend a hand debugging!

  2. Jake
    wrote on January 16th, 2014 at 10:21 pm  

    God I love this.

    I will take the acid before my 2nd read of this TR

  3. Skimohr
    wrote on January 17th, 2014 at 12:09 am  

    Looks like fun skiing. Some great shots/images here! Stoked to see it snowing again around here, too. Stoked no matter what happens…

  4. Sign Guy
    wrote on January 17th, 2014 at 9:54 am  

    F@#Ck*&G Awesome! I needed that post after the last couple of weeks of Firm. Nice creative take on the photos Brothers(and Sisters) of the Blower. Cold Brook?

  5. Jon Williams
    wrote on January 17th, 2014 at 6:43 pm  

    Where, when, how, why?????

    Nice abstract stoke!

  6. bushman
    wrote on January 18th, 2014 at 7:22 am  

    Some near-humans are born with instincts telling where and when pow exists which Siren-call them to drive, climb, and ski; no stinkin computer or algorithm can track pow even close to our breed. Surreal pics guys, and finally some real snow

  7. Peter
    wrote on January 21st, 2014 at 2:20 pm  
  8. Harvey
    wrote on January 22nd, 2014 at 4:16 pm  
  9. blah blah blah
    wrote on January 22nd, 2014 at 6:08 pm  

    well……you ought to at least give Snow Ridge a plug

    • Greg
      wrote on January 22nd, 2014 at 6:23 pm  


    • Greg
      wrote on January 22nd, 2014 at 6:24 pm  


  10. Talbert
    wrote on February 24th, 2014 at 4:13 pm  

    Woah Greg! These are awesome renditions of a cool TR. I had no idea Matlab could be so cool, I guess I should add some L.

Please consider visiting our sponsors.

Leave a Reply

(no login required)

Check for email notifications of new comments (valid email required)        

Next (newer) Post:
Random Post Previous (older) Post:
Stay in touch: Click here to follow us on Twitter. Click here to subscribe for updates to be delivered via RSS. Click here to become a fan on Facebook. Click here to read and share real time weather observations. Learn more over at the account. It's awesome. We promise!