Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 05 15:34
    adrianhuebner closed #172
  • May 05 15:33
    adrianhuebner closed #216
  • May 05 15:33
    adrianhuebner closed #219
  • May 05 15:32
    adrianhuebner closed #220
  • May 05 15:32
    adrianhuebner closed #222
  • May 05 15:32
    adrianhuebner closed #223
  • May 05 15:32
    adrianhuebner closed #235
  • May 05 15:32
    adrianhuebner closed #245
  • 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
Tyler Morgan
@toastynerd
It’s just past the couches in the easy
Nicholas Weber
@NEWeber
Thanks
Tyler Morgan
@toastynerd
np
Joe Elsey
@joeelsey
Yep. I've looped and iterated both as a string and as an array. Looping through the string gives you the character of the string and looping through the array gives you the position of the character in the array. Best results so far have been looping through the string and pushing characters into an array. But this way I get an array position for each character instead of how it looks in the homework example. I looked at indexOf, but I could only get indexOf to give me the position of the first '$' when iterating over the length.
BrockBeaudry
@BrockBeaudry
@joeelsey Another option would be to concatenate the character to a string, rather than push each individual character into an array. If you want more of an explanation let me know.
Jeff Battema
@thewocky
@joeelsey ...or instead of dealing with one character at a time, grab the set of characters between separators using substr() or substring().
Ivan Storck
@ivanoats
interesting JS story about our Dev Accelerator. Upvote for our mind-controlled quadcopter story please?! http://www.reddit.com/r/javascript/comments/2aw8xf/student_project_harnesses_brain_power_via/
CTownsdin
@CTownsdin
JSFiddle.net is a nice JS sandbox
press JSHint at the top and it will find pesky syntax errors for you too
Joaquin Guardado
@macikokoro
Does anyone know if we can use charAt() for the homework?
Joe Elsey
@joeelsey
@thewocky I tried substr() and substring() and couldn't figure it out. @BrockBeaudry I'll see what I can do with concatenating. I haven't really tried that yet.
Ivan Storck
@ivanoats
@toastynerd are you in the building?
jbassage
@jbassage
@Ctownsdin Hey thanks, I was looking for something like that
Tyler Morgan
@toastynerd
@macikokoro don’t use charAt() just do []
Joaquin Guardado
@macikokoro
@toastynerd any reason in particular?
Tyler Morgan
@toastynerd
@macikokoro not really, it just looks cleaner.
Joaquin Guardado
@macikokoro
@toastynerd ok got it
Joe Elsey
@joeelsey
My code works now. 11th hour fix. Thanks to everyone who replied.
Matt
@mahenry926
Quit using the internet ... i can't download node .... haha
Matt
@mahenry926
lets see if i get this. I could write this: var sum = _.reduce([1, 2, 3], function(sum, num) {
or i could do this: var sumNum = function(sum, num)
and then var sum = _.reduce([1, 2, 3], sumNum);
Jeff Adelman
@jeffadelman8
Big data...
Ivan Storck
@ivanoats
Package.json article/docs: https://www.npmjs.org/doc/package.json.html
Scott Romney Burbidge
@sburbidg
thanks @ivanoats
Mandi Grant
@MJGrant
Can you share a link to the github repository that contained the in-class examples?
Scott Romney Burbidge
@sburbidg
Mandi Grant
@MJGrant
Thank you!
Martin Genev
@mgenev
Tyler Morgan
@toastynerd
@jeffadelman8 lol, that’s the best big data implementation I’ve ever seen and probably ever will see.
Larry Scroggins
@lwscroggins
@mgenev referring to "foo bar"... foo bar == fubar == fouled up beyond all recognition (or whatever your favorite f-word is
Scott Romney Burbidge
@sburbidg
i've tried every thing I could think of, is there a way to do this so the left hand value value is only used once?
if(this.input.charAt(i) !== delim && this.input.charAt(i) !== '')
Martin Genev
@mgenev
@sburbidg you can store it in a var, you can also simply eval it for true instead of comparing it against ''
@lwscroggins haha, that i'm aware of, i guess it does apply to code ;)
Jeff Battema
@thewocky
For future homework assignments, any chance we can see the correct (best-practice) solution by the next class?
Joaquin Guardado
@macikokoro
I'm also interested in best practices. Most of the time I can make the code work but I'm not always sure if I'm doing it correctly
John Fahey
@faheydesign
I recommend running your code through jshint. You can use http://jshint.com/ or install a package for sublime text.
It will help with finding general errors and syntax mistakes.
Joaquin Guardado
@macikokoro
What is Cyclomatic complexity number for this function is 1?
Martin Genev
@mgenev
@thewocky are you in my class? I tend to demo a solution
@faheydesign yes, it's jshint is great, i can't do without it
@thewocky this is what i came up with for the last one http://jsbin.com/toquri/3/edit
Joaquin Guardado
@macikokoro
Cyclomatic complexity is a software metric (measurement). It was developed by Thomas J. McCabe, Sr. in 1976 and is used to indicate the complexity of a program. It is a quantitative measure of the complexity of programming instructions
Jeff Battema
@thewocky
@mgenev I'm in Hank's class. I went a little bit to town with mine, just to practice: http://jsfiddle.net/thewocky/Sc7Up/11/. I like the while loop best (as long as you don't mind destroying the array in the process).
Hank Yates
@hankyates
goodness
that one is going to take a littl ebit to work through