Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Emre Surmeli
    @emresurmeli
    Eloquent Javascript is a great book if you are looking to do some self learning
    Gaye
    @gayegul
    Cool!
    Pablo Martinez
    @pmartinez1
    Are we going to have a quiz 5/6 due next week? I do not see it posted.
    Mel Quark
    @mel-quark
    @pmartinez1 yup. i haven't posted it yet, but it will be before eod today.
    Jayden0306
    @Jayden0306
    i couldn’t figure out the purpose of the function y.
    dakoch
    @dakoch
    If you find yourself spending $$$ on books, try https://www.safaribooksonline.com. There was a student discount when i signed up, $99 for two years.
    brandonburns
    @brandonburns
    @Jayden0306 In terms of the purpose of Y, it looks for the lowest number in the input. Look up "Math.min" to help you with how this function will be written, and remember to use three parameters. Let me know if this helps
    Jayden0306
    @Jayden0306
    thanks! brandon
    It really helps
    Amber Harmon
    @aharmo3
    Hi Guys! FYI, I will be at wayward today until 5:30 if anyone wants to geek out and do some pairing.
    Mel Quark
    @mel-quark
    @aharmo3 that warms my heart =)
    @Jayden0306 yup. it's the minimum.
    Amber Harmon
    @aharmo3
    @aharmo3 @mel-quark On the last question for the adv lab, is the function suppose to return multiple arrays? Like [10,10,10],[2,2,2],[1,1,1]? Or one array with all values? Thanks!
    Mel Quark
    @mel-quark
    @aharmo3 it doesn't have to return anything per se. it reorders the elements of the array you pass in.
    based on the sum of their values.
    savithabj
    @savithabj
    in lab 3 -- help me understand what this values assigned mean
    var hello = {
    klingon: "nuqneH", // home planet is Qo"noS
    romulan: "Jolan\"tru", // home planet is Romulus
    "federation standard": "hello" // home planet is Earth
    };
    what is klingon, .... what is "nuqneH" , ....
    Livingston Martin
    @LPM42

    @savithabj This hello object is how you say “hello” in a number of different languages from a TV show called “Star Trek”.
    “nuqneH” means “hello” for one of the species (Klingon) in this TV show.

    Just think of it as english, spanish and french.

    var hello = {
    english: “Hello”,
    spanish: “Hola”,
    french: “Bonjour"
    }

    savithabj
    @savithabj
    thanks
    Stephanie Beaton
    @StephanieBeaton

    Quiz 6 - question about "Have at least one child class over-ride a property"
    But how exactly does a child class override a property of its parent class?

    can the same property ("property1" for example) be in both parent and child constructors?

    Or do we say --

    function Child (x) {
    this.x = x;
    }

    function Parent(y) {
    this.z = "z1";
    this.y = y;
    }

    Child.prototype = new Parent("y");

    Child.prototype.z = "z2";

    I asked Mel the above question and got this answer.

    Child.prototype = new Parent("y");
    Child.prototype.z = "z2";

    would be over-writing the value of z in the parent. over-riding means putting the value earlier in the prototype chain.

    so:

    function Child() {
    this.z = "z2";
    }

    is over-riding

    Ansoo Chang
    @anschang
    Question 2 lab3 - is this a fibonacci sequence?
    Stephanie Beaton
    @StephanieBeaton

    Question 2 lab3 - i think this is not Fibonacci

    during hour 1 rate of consumption = 1
    during hour 2 rate of consumption = 2 total people eaten = 2 + 1 = 3
    during hour 3 rate of consumption = 3 total people eaten = 3 + 2 + 1 = 6
    .......

    at the end of hour n when there are no more people to eat
    rate of consumption = n
    total people eaten = n + (n-1) + (n-2) +... +3+2+ 1

    Stephanie Beaton
    @StephanieBeaton

    which equals (n+1)n/2 i think. google it.

    Fibonacci is n = (n-1) + (n-2)
    0
    1
    1 = 0 + 1
    3 = 2 + 1
    5 = 3 + 2
    8 = 5 + 3
    13 = 8 + 5
    n = (n-1) + (n-2)

    Stephanie Beaton
    @StephanieBeaton
    @lpm42 i looked at "bootstrap" website. Not sure where to start with installing it. Not sure if I should install on my Windows 8.1 laptop or on my Ubuntu latop. Do you have time to look at this sometime?
    'P divy' (Ingrid)
    @icuthy
    @anschang and @StephanieBeaton Question2 lab3. I think the key is that the blob gets faster and stronger after each person he eats. So we need to calculate the total amount of time considering that the first person takes 1 hour, (now the rate is 2 people per hour) so the second person would take an hour divided by 2, the third person an hour divided by 3....... and so on. And we add the totals until we reach the last unfortunate resident of Dowington. :)
    Livingston Martin
    @LPM42

    @StephanieBeaton
    Absolutly!
    So the easiest way to use/install it is to:

    1. Go to this link: http://getbootstrap.com/getting-started/

    2. Copy all 3 links of the “Bootstrap CDN” code and paste in the <head></head> section of your HTML file.
      (CDN = “Content Delivery Network”, it tells your page to grab the bootstrap information from another server. As opposed to needing store your own copy of bootstrap.)

    3. You should now be able to access bootstrap CSS classes.
      Scroll down on the http://getbootstrap.com/getting-started/ page, you can see (and copy) the starter template. Or, go to this page: http://getbootstrap.com/css/ to see a wide variety of avalable styles.

    I would be happy to walk you through it in class too if you want.

    Note: you need access to the internet for this to work, as your page needs to be able to access the CDN.

    Ansoo Chang
    @anschang
    @StephanieBeaton @icuthy Thank you :-)
    Ansoo Chang
    @anschang
    For anyone interested, there is a JavaScript Information Session today at CodeFellows 6pm - JavaScript Info Session
    Dec. 17, 2014
    Wednesday, 6:00 p.m.
    511 Boren Ave. N Seattle, WA
    Here's description from the website - Get more information about our JavaScript track in our in-depth, hour-long info session. Find out where you should start and what it takes to become a full-stack web developer.
    Find out more about the curriculum taught in Foundations II: JavaScript and our Full-Stack JavaScript Development Accelerator. An instructor will be on hand to answer your questions about upcoming JavaScript courses.
    Emre Surmeli
    @emresurmeli
    JQuery cheatsheet
    Sam Hamm
    @samhamm
    The cheatsheet is awesome
    Emre Surmeli
    @emresurmeli
    https://github.com/addyosmani Here is Addy Osmani's github. Tyler mentioned him during the info sesh. Look up his video presentations here: https://speakerdeck.com/addyosmani
    Pablo Martinez
    @pmartinez1
    Does anyone have good notes from Wednesday's class that they could share? I closed the PDF document without saving so all of my "sticky notes" were lost. :/ Thank you
    Stephanie Beaton
    @StephanieBeaton
    I have some notes ... hand written.. they are sketchy at best . I will type them into a file and post them, but I may not be able to do this until Sun Dec 21.
    akatz6
    @akatz6
    Is anyone else getting an error from the line "assert((new Human()).sayHello(new Klingon()) === "nuqneH","the klingon should hear nuqneH");" in problem number three in the advanced lab? The error I am getting is TypeError: undefined is not a function and I not sure how to go about fixing it.
    savithabj
    @savithabj
    you need to define the constructor Human & Klingon for the error to go away
    Pablo Martinez
    @pmartinez1
    Hi @StephanieBeaton , that would be helpful. I just want to have those notes for future reference. Thank you!
    Hiro-Protagonist
    @Hiro-Protagonist
    hey all
    anybody at the office hours?
    Mel Quark
    @mel-quark
    @emresurmeli nice! thanks =)
    Gaye
    @gayegul
    Is anybody doing the dev acc?
    savithabj
    @savithabj
    Happy New Year to all :)
    Hi Mel
    I completed both PPTs in 2nd workshop 2 weeks back. You will have any addition instructions on Jan 4th workshop? I wanted to check whether I should be coming or not. Thanks
    Ansoo Chang
    @anschang
    @gayegul I am, but I haven't been complete the code challenge yet.. the build Angular CRUD app =(
    Mel Quark
    @mel-quark
    @savithabj oops, didn't see your message til today. i added a database section to the second half of the lab. it's in the files section of canvas (simple site, part deux)