by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 17 2014 18:57

    SwampGuzzler on master

    tabsProject initial commit Oldest Parent inital commit Merge pull request #230 from LP… (compare)

  • Aug 17 2014 18:57
    SwampGuzzler closed #230
  • Aug 17 2014 18:56
    SwampGuzzler commented #230
  • Aug 13 2014 22:51

    SwampGuzzler on master

    Added oldestlivingparent assign… Added tabs with ajax assignment added tab-angular assignment and 1 more (compare)

  • Aug 13 2014 22:51
    SwampGuzzler closed #232
  • Aug 13 2014 22:51
    SwampGuzzler commented #232
  • Aug 13 2014 19:01
    toastynerd closed #228
  • Aug 13 2014 18:52
    toastynerd closed #229
  • Aug 13 2014 18:52

    toastynerd on master

    adding assignment 5.1 adding 5.1 adding solution for last assign… and 1 more (compare)

  • Aug 13 2014 18:52
    toastynerd commented #229
  • Aug 13 2014 03:28

    hankyates on master

    Find oldest living parents from… Tab Example with GET request fr… Tab Example by using Angularjs and 1 more (compare)

  • Aug 13 2014 03:28
    hankyates closed #217
  • Aug 13 2014 03:28
    hankyates commented #217
  • Aug 13 2014 03:24
    hankyates commented #212
  • Aug 13 2014 03:24
    hankyates closed #212
  • Aug 12 2014 05:38

    hankyates on master

    First Commit of Ajax Assignment Merge branch 'master' of https:… Merge pull request #221 from st… (compare)

  • Aug 12 2014 05:38
    hankyates closed #221
  • Aug 12 2014 05:37
    hankyates commented #221
  • Aug 12 2014 05:35

    hankyates on master

    version 1, assignment 7.1 first version of assignment 6.1 first version of assignment 6.1 and 7 more (compare)

  • Aug 12 2014 05:35
    hankyates closed #200
Hank Yates
@hankyates
The shift operators >> and << are equivalent to divide by 2 and multiply by 2 respectively.
bitwise stuff can be a bit funky
the most common one you see is ~~ which is used as a faster Math.floor
CTownsdin
@CTownsdin
hank you around?
Hank Yates
@hankyates
im usually on and off
CTownsdin
@CTownsdin
going to pm ya
Hank Yates
@hankyates
kk
Scott Romney Burbidge
@sburbidg
can you not assign a value to a div like this?
<div class="tab" value="1">Proflies</div>
Jeff Adelman
@jeffadelman8
@sburbidg hmm... I'm not sure about that. The "value" attribute is typically used in a text input to set a default value for the input. What are you trying to do with it?
Scott Romney Burbidge
@sburbidg
@jeffadelman8 yeah it appears it has to be a list element to take a value.
Hank Yates
@hankyates
is anyone else planning on going to the lab tonight?
ill be there so itll be a good opportunity to get some feedback
Martin Genev
@mgenev
if you guys are curious what kind of apps people are using client mvc frameworks for here's a link with some http://builtwithember.io/
Stephanie Lingwood
@stephanielingwood
@hankyates I'm planning on being there tonight. Anyone else?
Scott Romney Burbidge
@sburbidg
I might pop in. Depends if I end up in seattle tonight
Hank Yates
@hankyates
@mgenev it looks like those are just ember apps though
Scott Romney Burbidge
@sburbidg
sorry couldn't make it in tonight, but I do have a question

I am using this so when you click on one image another appears in its place and then clicking on the new one brings in another new one.

  $(".image").click(function(){
    $(this).next().addClass("image").removeClass("noImage")
    $(this).removeClass("image").addClass("noImage")
     })

for some reason it is only working the first time. It seems like it should keep working because each new image is taking on the image class so it should respond to the next click, or thats what I thought.

Mandi Grant
@MJGrant
What is the purpose of .next() in your code? If you click an image, don't you want to operate on that image, not its sibling? (What is its sibling in this case?)
If you make a jsfiddle with it I wouldn't mind messing with it and seeing if I can find an answer for you. :)
Scott Romney Burbidge
@sburbidg
that would be awesome. the next is referring to the next sibling.
http://jsfiddle.net/#&togetherjs=FzVBI3KcVF
beware, it is not aesthetically pleasing yet
Aron Garavaglia
@agaravag
Hi hank, are you still planning on coming to the lab tonight? I'm here with one other F2 student.
Hank Yates
@hankyates
yup im here!
Joe Elsey
@joeelsey
Are for in loops supposed to be able to return an entire array or do they stop when they find the specific thing you're looking for?
Joe Elsey
@joeelsey
I figured out what I wanted to do without a for in loop. I didn't realize until now if I looped twice I could compare the loops. Honestly every time I figure out one of these homework assignments I'm pleasantly shocked. Still curious about the for in though.
Hank Yates
@hankyates
for in is for object
var myObject = {key: 'value', anotherKey: 1};

for (var key in myObject) {
  var value = myObject[key];
}
Joe Elsey
@joeelsey
ty
Walker
@walkermalling
Tip: jQuery has both append() and appendTo() methods.
append() is called on the target container, and takes the new element or markup as an argument.
appendTo() is the opposite: it takes the target container as its argument, and is called on the jQuery-wrapped element you wish to insert into the DOM.
Jostein Straume
@josteinstraume
Has anyone else in section B been denied into the accelerator program based on space constraints? I am incredibly frustrated that they would expand Foundations II into two sections if they couldn't actually meet that demand moving forward into the Development Accelerator.
Ivan Storck
@ivanoats
@jstraume Lindy got your email and is going to contact you directly
Scott Romney Burbidge
@sburbidg
Is there any kind of standard practice for organizing css or do people just use the find function when the css file gets large?
Mandi Grant
@MJGrant
I like to organize my CSS from broad to specific, and create sections (marked by comments) for various parts of the site. Like, maybe the author box has 5 selectors associated with it, so I group those together and start their names with authorbox. Dunno how much of that is just personal preference, but I've seen other stylesheets organized like that.
Ivan Storck
@ivanoats
Scott Romney Burbidge
@sburbidg

When I use

var fs = require('fs')

I get an error stating that require is not defined. I can still get the data from the server but it doesn't seem to let me access that data.

Ivan Storck
@ivanoats
require is not defined in the browser unless you’re using require.js
it is part of node
also browserify
fs - sounds like that’s code designed for node
fs = filesystem
Scott Romney Burbidge
@sburbidg
do I have to add anything beside node_modules for it to have access to fs?
Ivan Storck
@ivanoats
why would use use fs in the browser? browser doesn’t normally have access to file system
for security
Scott Romney Burbidge
@sburbidg
I was using it in my code. But I think I misunderstood something
Ivan Storck
@ivanoats
which code?
Scott Romney Burbidge
@sburbidg
The .js file for the Ajax assignment