Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    matt
    @mechlo
    Thanks.
    Benjamin Hrach
    @bhrach
    @all It appears I may not be down there for class tonight. I’m dealing with a plumbing leak in my apartment that is seriously no bueno. If I can get this resolved by 4, I’ll try to make it. If not, then I’ll see everyone tomorrow during lab time.
    Leah Silber
    @wifelette
    The front door is locked, FYI.
    There's something jammed in there for now, but if it gets moved you may need to catch someone's attention...
    matt
    @mechlo
    Door got closed. Let us in?
    JoeyHayden
    @JoeyHayden
    The Ross Island is a parking lot, I'm gonna be about 10 minutes late.
    chiclechew
    @chiclechew
    yeah I heard the Sellwood bridge is closed for the next 3 days, hence doubling Ross Island traffice
    traffic.
    Ivan Storck
    @ivanoats
    you guys get in ok?
    matt
    @mechlo
    Yup.
    Sorting gif table - http://i.imgur.com/fq0A8hx.jpg
    Chris Tsongas
    @tsongas
    Byte7e4
    @ToddJ101
    hey @tsongas could you post up that example of the cards? preferable with the shuffle from the data structures last night
    Preet Dha
    @preetdha
    @tsongas Would you be mind posting slides for this week on Canvas? Thank you!
    Benjamin Hrach
    @bhrach
    @all I'm in the middle of cleaning up a huge mess and moving to a different apartment. I'd be a serious jerk if I left my girlfriend to do this herself. I won't be down there for lab tonight. I will see all you guys next Wednesday for the final class. I'm very sorry.
    Stephen Fasano
    @sfasano
    Hey all, I just got this notice from tuts+ about their upcoming cyber Monday deal. I really liked their sublime text videos, so I was going to look into some of their others. @tsongas or @ivanoats, do you have any others you'd recommend? http://tutsplus.com/cyber_monday
    Mike (Mikey) Bedney
    @PolishZeus
    I find myself circling the same two errors in my code. Is it bad to ask someone else to take a peek to offer insight? I'd consider myself a fairly big newb & the code is a mess---I'm just trying to get something that runs before enhancing it with textboxes or CSS
    It is either "Unexpected end of input" on line 1 or "Unexpected token" of a semicolon on the very last line of my code
    Mike (Mikey) Bedney
    @PolishZeus
    FIXED IT!!!WOOOOOOOT!
    It doesn't do anything...but at least I'm not returning errors happy dance
    Chris Tsongas
    @tsongas
    @sfasano you might check out the courses in their javascript bundle http://tutsplus.com/bundles/javascript-web-app-launchpad.
    Chris Tsongas
    @tsongas
    @preetdha and everyone else class 4 and 6 slide decks are now up in Canvas under Files (no class 5 slides).
    Chris Tsongas
    @tsongas
    @OhYeahPortland you'll find that in the class 6 slide deck. I also posted links to examples from class in the Canvas discussions about class 4 and 6.
    Benjamin Hrach
    @bhrach
    I’m grading assignments today and have suggested a free Code School course to a few of you. I found it really helpful in learning jQuery https://www.codeschool.com/courses/try-jquery
    Benjamin Hrach
    @bhrach
    Here’s another handy resource that diagrams which HTML5 elements to use, if you get confused. http://html5doctor.com/downloads/h5d-sectioning-flowchart.png
    Stephen Fasano
    @sfasano
    @bhrach or another TA, I'm having trouble with some code. Could you take a look and either provide some feedback now or during class? I've included my issue in the comment on the gist. Thanks. https://gist.github.com/sfasano/82a3701b70e86478cc19
    Ivan Storck
    @ivanoats
    @sfasano I am looking into it. I am getting a syntax error when you load the page, is that happening for you and is that the issue you are experiencing?
    Stephen Fasano
    @sfasano
    @ivanoats That's likely my fault. I tried merging 3 files into 1 html file inorder to consolidate, and never tested it to make sure it ran.
    Ivan Storck
    @ivanoats
    looks like you’re missing an opening html tag too
    what error or behavior are you trying to fix?
    paste your js into jshint.com - you’ll see some warnings about unmatched {
    that’s probably the syntax error
    Ivan Storck
    @ivanoats
    there’s a reason jshint says always to use “!==“ instead of “!=“
    Stephen Fasano
    @sfasano
    My issue is mainly summarized by this....

    $('.first').click(function() {
    alert("made it to 1");
    $(this).addClass("second").removeClass("first");

    });

    $('.second').click(function() {
    alert("made it to 2");

    } );

    I want to get two different alerts each time the button is clicked, but instead it runs the first alert twice.
    Ivan Storck
    @ivanoats
    right - it comes down to line 67
    Stephen Fasano
    @sfasano
    @ivanoats , I rewrote this issue in it's stripped down form without the "!=" syntax. Hopefully we can take a look during class. https://gist.github.com/sfasano/82a3701b70e86478cc19
    Ivan Storck
    @ivanoats
    Ivan Storck
    @ivanoats
    var course = {
      name: 'Foundations',
      students: []
    }
    Ivan Storck
    @ivanoats
    'use strict';
    
    var Queue = function() {
      this.dataStore = [];
    };
    
    Queue.prototype.enqueue = function (element) {
      this.dataStore.push(element);
    };
    
    Queue.prototype.dequeue = function () {
      return this.dataStore.shift();
    };
    And, http://codefellows.github.io/CodeFlower/ (don’t do on an old computer )
    BST.prototype.insert = function(data) {
      var n = new this._Node(data, null, null);
      if (this.root === null) {
        this.root = n;
      } else {
        var current = this.root;
        var parent;
        while (true) {
          parent = current;
          if (data < current.data) {
            current = current.left;
            if (current === null) {
              parent.left = n;
              break;
            }
          } else {
            current = current.right;
            if (current === null) {
              parent.right = n;
              break;
            }
          }
        }
      }
    };