These are chat archives for camperbot/testing

5th
Aug 2015
dc
@dcsan
Aug 05 2015 01:48
update
CamperBot
@camperbot
Aug 05 2015 01:48
updating wiki...
Updating fb808f8..df697aa Fast-forward
August-Live-Stream.md | 3 ++- beta-before-continuing.md | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 beta-before-continuing.md
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 01:49
wiki august
CamperBot
@camperbot
Aug 05 2015 01:49

:pencil: august live stream [edit]

Free Code Camp's [August Live Stream] (https://youtu.be/UhoxoYrJ6Qs) was the largest yet.

:pencil: read more about august live stream on the FCC Wiki
dc
@dcsan
Aug 05 2015 01:52
find how free
dc
@dcsan
Aug 05 2015 01:53
update
CamperBot
@camperbot
Aug 05 2015 01:53
updating wiki...
Updating df697aa..2333851 Fast-forward
...it-Projects-work.md => How-FreeCodeCamp-Nonprofit-Projects-work.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename How-Free-Code-Camp's-Nonprofit-Projects-work.md => How-FreeCodeCamp-Nonprofit-Projects-work.md (98%)
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 01:53
find how free
dc
@dcsan
Aug 05 2015 01:53
help how free
CamperBot
@camperbot
Aug 05 2015 01:53

:pencil: how free code camp works [edit]

Free Code Camp offers you a free, self-paced, browser-based program that takes about 1,600 hours to complete.An image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code Camp
:pencil: read more about how free code camp works on the FCC Wiki
dc
@dcsan
Aug 05 2015 01:54
update
CamperBot
@camperbot
Aug 05 2015 01:54
updating wiki...
Updating 2333851..f58e212 Fast-forward
How-Free-Code-Camp-works.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 01:54
help how
CamperBot
@camperbot
Aug 05 2015 01:54

:pencil: how free code camp works [edit]

Free Code Camp offers you a free, self-paced, browser-based program that takes about 1,600 hours to complete.

:pencil: read more about how free code camp works on the FCC Wiki

dc
@dcsan
Aug 05 2015 01:54
update
CamperBot
@camperbot
Aug 05 2015 01:54
updating wiki...
How-Free-Code-Camp-works.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
done code: 0
:computer:
Updating f58e212..ce441b9 Fast-forward
dc
@dcsan
Aug 05 2015 01:54
help how free
CamperBot
@camperbot
Aug 05 2015 01:54

:pencil: how free code camp works [edit]

Free Code Camp offers you a free, self-paced, browser-based program that takes about 1,600 hours to complete.

An image of a table showing the different segments of Free Code CampAn image of a table showing the different segments of Free Code Camp

:pencil: read more about how free code camp works on the FCC Wiki

dc
@dcsan
Aug 05 2015 01:55
update
CamperBot
@camperbot
Aug 05 2015 01:55
updating wiki...
Updating ce441b9..6c8ca50 Fast-forward
How-Free-Code-Camp-works.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 01:55
help how free
CamperBot
@camperbot
Aug 05 2015 01:55

:pencil: how free code camp works [edit]

Free Code Camp offers you a free, self-paced, browser-based program that takes about 1,600 hours to complete.

An image of a table showing the different segments of Free Code Camp

:pencil: read more about how free code camp works on the FCC Wiki

dc
@dcsan
Aug 05 2015 05:37
botstatus
CamperBot
@camperbot
Aug 05 2015 05:37
All bot systems are go!
botVersion: 0.0.6a
env: prod
botname: camperbot
dc
@dcsan
Aug 05 2015 05:37
bf
CamperBot
@camperbot
Aug 05 2015 05:37
give the name of the bonfire and I'll try to look it up!
dc
@dcsan
Aug 05 2015 05:37
bf rom
CamperBot
@camperbot
Aug 05 2015 05:37

:fire:Bonfire: Check for Palindromes :link:

function palindrome(str) {
  // Good luck!
  return true;
}



palindrome("eye");

Return true if the given string is a palindrome. Otherwise, return false.
A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
You'll need to remove punctuation and turn everything lower case in order to check for palindromes.
We'll pass strings with varying formats, such as "racecar", "RaceCar", and "race CAR" among others.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 05:37
bf spoiler
CamperBot
@camperbot
Aug 05 2015 05:37
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 05:38
bf details
CamperBot
@camperbot
Aug 05 2015 05:38

:fire:Bonfire: Check for Palindromes :link:

function palindrome(str) {
  // Good luck!
  return true;
}



palindrome("eye");
Return true if the given string is a palindrome. Otherwise, return false.
A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.
You'll need to remove punctuation and turn everything lower case in order to check for palindromes.
We'll pass strings with varying formats, such as "racecar", "RaceCar", and "race CAR" among others.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
dc
@dcsan
Aug 05 2015 05:38
bf links
dc
@dcsan
Aug 05 2015 05:39
bf fac
CamperBot
@camperbot
Aug 05 2015 05:39

:fire:Bonfire: Factorialize a Number :link:

function factorialize(num) {
  return num;
}

factorialize(5);

Return the factorial of the provided integer.
If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n.
Factorials are often represented with the shorthand notation n!
For example: 5! = 1 2 3 4 5 = 120f
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 05:39
bf details
CamperBot
@camperbot
Aug 05 2015 05:39

:fire:Bonfire: Factorialize a Number :link:

function factorialize(num) {
  return num;
}

factorialize(5);
Return the factorial of the provided integer.
If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n.
Factorials are often represented with the shorthand notation n!
For example: 5! = 1 2 3 4 5 = 120f
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
dc
@dcsan
Aug 05 2015 05:39
bf spoiler
CamperBot
@camperbot
Aug 05 2015 05:39
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 06:00
bf
CamperBot
@camperbot
Aug 05 2015 06:00
we're talking about bonfire :fire: Bonfire: Arguments Optional
dc
@dcsan
Aug 05 2015 06:00
hint
CamperBot
@camperbot
Aug 05 2015 06:00
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 06:12
bf
CamperBot
@camperbot
Aug 05 2015 06:12
give the name of the bonfire and I'll try to look it up!
dc
@dcsan
Aug 05 2015 06:12
bf monkey
CamperBot
@camperbot
Aug 05 2015 06:12

:fire:Bonfire: Chunky Monkey :link:

function chunk(arr, size) {
  // Break it up.
  return arr;
}

chunk(['a', 'b', 'c', 'd'], 2);

Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 06:12
bf
CamperBot
@camperbot
Aug 05 2015 06:12
we're talking about bonfire :fire: Bonfire: Chunky Monkey
dc
@dcsan
Aug 05 2015 06:12
hint
CamperBot
@camperbot
Aug 05 2015 06:12
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 06:15
bf string
CamperBot
@camperbot
Aug 05 2015 06:15

:fire:Bonfire: Reverse a String :link:

function reverseString(str) {
  return str;
}

reverseString('hello');

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 06:15
hint
CamperBot
@camperbot
Aug 05 2015 06:15
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 06:28
@camperbot thanks
thanks @camperbot
CamperBot
@camperbot
Aug 05 2015 06:28
dcsan sends brownie points to @camperbot :sparkles: :thumbsup: :sparkles:
dc
@dcsan
Aug 05 2015 06:28
about @camperbot
about @dcsan
CamperBot
@camperbot
Aug 05 2015 06:28
:star: 29 | @dcsan | http://www.freecodecamp.com/dcsan
dc
@dcsan
Aug 05 2015 06:30
hints for what
hint me
CamperBot
@camperbot
Aug 05 2015 06:30
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 06:30
bf
CamperBot
@camperbot
Aug 05 2015 06:30
we're talking about bonfire :fire: Bonfire: Chunky Monkey
dc
@dcsan
Aug 05 2015 06:31
bonfire monkey
CamperBot
@camperbot
Aug 05 2015 06:31

:fire:Bonfire: Chunky Monkey :link:

function chunk(arr, size) {
  // Break it up.
  return arr;
}

chunk(['a', 'b', 'c', 'd'], 2);

Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 06:31
bonfire spoiler
CamperBot
@camperbot
Aug 05 2015 06:31
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Matthew Vogel
@matthewsvm
Aug 05 2015 06:33
zipline links
dc
@dcsan
Aug 05 2015 06:33
ziplines are next :)
Matthew Vogel
@matthewsvm
Aug 05 2015 06:33
:)
dc
@dcsan
Aug 05 2015 07:05
about @kirah1314
CamperBot
@camperbot
Aug 05 2015 07:05
:star: 89 | @kirah1314 | http://www.freecodecamp.com/kirah1314
Bill
@kirah1314
Aug 05 2015 07:07
@dcsan awesome! By the way, how can we help with this bot?
dc
@dcsan
Aug 05 2015 07:07
it would be much appreciated!
on the coding site, please haev a look at some of the "help wanted" tickets
some of them are quite easy, others a bit harder
on the content side, we need to start getting "hints" organized for the bonfires
its pretty simple to add them to the wiki
bf monkey
CamperBot
@camperbot
Aug 05 2015 07:08

:fire:Bonfire: Chunky Monkey :link:

function chunk(arr, size) {
  // Break it up.
  return arr;
}

chunk(['a', 'b', 'c', 'd'], 2);

Write a function that splits an array (first argument) into groups the length of size (second argument) and returns them as a multidimensional array.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 07:08
hint
CamperBot
@camperbot
Aug 05 2015 07:08
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Bill
@kirah1314
Aug 05 2015 07:08
ok, I can help the easy stuff haha
dc
@dcsan
Aug 05 2015 07:09
it seems you've done a lot of the bonfires pretty well
CamperBot
@camperbot
Aug 05 2015 07:09
type bonfire name to get some info on that bonfire. And check HelpBonfires chatroom
dc
@dcsan
Aug 05 2015 07:09
and thought them through?
so each BF will have a wiki page like
CamperBot
@camperbot
Aug 05 2015 07:09
type bonfire name to get some info on that bonfire. And check HelpBonfires chatroom
Bill
@kirah1314
Aug 05 2015 07:09
how do i go to those wiki pages?
dc
@dcsan
Aug 05 2015 07:09
click!
then [edit] button
Bill
@kirah1314
Aug 05 2015 07:10
i know but how do i go to the other pages?
dc
@dcsan
Aug 05 2015 07:10
blob
find bonfire
dc
@dcsan
Aug 05 2015 07:10
these are ones i have so far
M Used
@mildused
Aug 05 2015 07:10
@dcsan, are scripts in the hugit folder?
dc
@dcsan
Aug 05 2015 07:10
no, i was just messing with hubot
its all in /nap
Bill
@kirah1314
Aug 05 2015 07:10
ok so find bonfire then go in and edit, cool!
dc
@dcsan
Aug 05 2015 07:11
yeah
for ones without a wiki yet, i've created rooms
just lookup the BF name
bf roman
CamperBot
@camperbot
Aug 05 2015 07:11

:fire:Bonfire: Roman Numeral Converter :link:

function convert(num) {
 return num;
}

convert(36);

Convert the given number into a roman numeral.
All <a href="http://www.mathsisfun.com/roman-numerals.html">roman numerals</a> answers should be provided in upper-case.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 07:11
then type "bf spoiler"
bf spoiler
CamperBot
@camperbot
Aug 05 2015 07:11
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 07:11
and follow that link
Bill
@kirah1314
Aug 05 2015 07:11
ah ok
dc
@dcsan
Aug 05 2015 07:11
then type hint
Bill
@kirah1314
Aug 05 2015 07:12
for the bot improvements, small means easy task right?
dc
@dcsan
Aug 05 2015 07:13
yep
Bill
@kirah1314
Aug 05 2015 07:13
:thumbsup:
@dcsan got it, I'll look at what others did for reference then help out
dc
@dcsan
Aug 05 2015 07:15
@kirah1314 that would be super cool
btw for dev related stuff
https://gitter.im/dcsan/gitterbot
lets use that chat room
it has a lot of all changes on the side
dc
@dcsan
Aug 05 2015 08:58
botstatus
CamperBot
@camperbot
Aug 05 2015 08:58
All bot systems are go!
botVersion: 0.0.6a
env: prod
botname: camperbot
dc
@dcsan
Aug 05 2015 08:59
update
CamperBot
@camperbot
Aug 05 2015 08:59
updating wiki...
Updating 73e8327..247508a Fast-forward
List-of-Free-Code-Camp-city-based-Campsites.md | 2 +- bonfire-roman-numeral-converter.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 bonfire-roman-numeral-converter.md
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 08:59
bf roman
CamperBot
@camperbot
Aug 05 2015 08:59

:fire:Bonfire: Roman Numeral Converter :link:

function convert(num) {
 return num;
}

convert(36);

Convert the given number into a roman numeral.
All <a href="http://www.mathsisfun.com/roman-numerals.html">roman numerals</a> answers should be provided in upper-case.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 08:59
hint
CamperBot
@camperbot
Aug 05 2015 08:59
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Jorge Almeida
@Jorgixhallo
Aug 05 2015 09:21
bf sum
CamperBot
@camperbot
Aug 05 2015 09:21

:fire:Bonfire: Sum All Numbers in a Range :link:

function sumAll(arr) {
  return(1);
}

sumAll([1, 4]);

We'll pass you an array of two numbers. Return the sum of those two numbers and all numbers between them.
The lowest number will not always come first.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

Jorge Almeida
@Jorgixhallo
Aug 05 2015 09:21
bf spoiler
CamperBot
@camperbot
Aug 05 2015 09:21
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 09:49
:smile:
CamperBot
@camperbot
Aug 05 2015 11:34

a question on: betatesting
Jason Wood
@catapixel
Aug 05 2015 15:54
bf symmetrical
CamperBot
@camperbot
Aug 05 2015 15:54
Sorry, can't find a bonfire called symmetrical. [ Check the map? ]
Jason Wood
@catapixel
Aug 05 2015 15:54
about @catapixel
CamperBot
@camperbot
Aug 05 2015 15:54
:star: 0 | @catapixel | http://www.freecodecamp.com/catapixel
Jason Wood
@catapixel
Aug 05 2015 15:55
wiki camperbot
CamperBot
@camperbot
Aug 05 2015 15:55

:point_right: camperbot [wiki]

Hi this is CamperBot! I can assist you in this chatroom :smile:

Basic commands:

  • find TOPIC find all entries about topic. ex: find js
  • wiki TOPIC show contents of topic page
  • thanks @username send brownie points to another user
  • about @username shows info on that user
  • bonfire BFNAME info on a bonfire

:unlock: More commands and info

:pencil: read more about camperbot on the FCC Wiki

Jason Wood
@catapixel
Aug 05 2015 15:55
thanks @raincode
CamperBot
@camperbot
Aug 05 2015 15:55
catapixel sends brownie points to @raincode :sparkles: :thumbsup: :sparkles:
Jason Wood
@catapixel
Aug 05 2015 15:56
about @raincode
@camperbot about @raincode
rollem
CamperBot
@camperbot
Aug 05 2015 15:58
Jason Wood
@catapixel
Aug 05 2015 16:01
bonfire no repeats
CamperBot
@camperbot
Aug 05 2015 16:01
Sorry, can't find a bonfire called no repeats. [ Check the map? ]
Jason Wood
@catapixel
Aug 05 2015 16:01
bonfire no
CamperBot
@camperbot
Aug 05 2015 16:01
Sorry, can't find a bonfire called no. [ Check the map? ]
Jason Wood
@catapixel
Aug 05 2015 16:01
bonfire norepeats
CamperBot
@camperbot
Aug 05 2015 16:01
Sorry, can't find a bonfire called norepeats. [ Check the map? ]
Jason Wood
@catapixel
Aug 05 2015 16:01
bonfire meet
CamperBot
@camperbot
Aug 05 2015 16:01

:fire:Bonfire: Meet Bonfire :link:

function meetBonfire(argument) {
  // Good luck!
  console.log("you can read this function's argument in the developer tools", argument);

  return false;
}



meetBonfire("You can do this!");

Your goal is to fix the failing test.
First, run all the tests by clicking "Run code" or by pressing Control + Enter.
The failing test is in red. Fix the code so that all tests pass. Then you can move on to the next Bonfire.
Make this function return true no matter what.

type: bf details bf links bf spoiler

Jason Wood
@catapixel
Aug 05 2015 16:01
bf details
CamperBot
@camperbot
Aug 05 2015 16:01

:fire:Bonfire: Meet Bonfire :link:

function meetBonfire(argument) {
  // Good luck!
  console.log("you can read this function's argument in the developer tools", argument);

  return false;
}



meetBonfire("You can do this!");
Your goal is to fix the failing test.
First, run all the tests by clicking "Run code" or by pressing Control + Enter.
The failing test is in red. Fix the code so that all tests pass. Then you can move on to the next Bonfire.
Make this function return true no matter what.
links:
Jason Wood
@catapixel
Aug 05 2015 16:02
bf spoiler
CamperBot
@camperbot
Aug 05 2015 16:02
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 19:43
Explain ternary
CamperBot
@camperbot
Aug 05 2015 19:43

:point_right: js ternary [wiki]

The Ternary operator replaces an if/then block.

It's mostly used in one liners for simple tests and replacements, like this:

var x = false;
var s = x ? "yes" : "no";
console.log(s)  //→ "no"

:pencil: read more about js ternary on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Aug 05 2015 19:44
@dcsan do you like the comment of the output showing an arrow head?
copied the concept from Eloquent JS Book
dc
@dcsan
Aug 05 2015 19:45
Find js
dc
@dcsan
Aug 05 2015 19:46
Hint
CamperBot
@camperbot
Aug 05 2015 19:46
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Aug 05 2015 19:46
update
CamperBot
@camperbot
Aug 05 2015 19:46
updating wiki...
Bonfire:-Reverse-a-String.md | 19 +++++++++++++++++++ bonfire-reverse-a-string.md | 13 ------------- js-immutable.md | 5 +++-- js-ternary.md | 2 +- 4 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 Bonfire:-Reverse-a-String.md delete mode 100644 bonfire-reverse-a-string.md
Updating 247508a..2fbef9e Fast-forward
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Aug 05 2015 19:46
help tern
CamperBot
@camperbot
Aug 05 2015 19:46

:point_right: js ternary [wiki]

The Ternary operator replaces an if/then block.

It's mostly used in one liners for simple tests and replacements, like this:

var x = false;
var s = x ? "yes" : "no";
console.log(s);  //→ "no"

:pencil: read more about js ternary on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Aug 05 2015 19:48
@dcsan you removed the edit option. You said you will move it to footer and then you can link it to wikiURL/_edit
help immu
CamperBot
@camperbot
Aug 05 2015 19:48

:point_right: js immutable [wiki]

Immutable means unchangeable i.e. you can't change.

Javascript has lots of immutable types e.g. string primitive type. Try this in your console.

s = "red";
console.log(s[1]); //→ "e"
s[1] = "x";
console.log(s) //→ "red"

the s didn't change! WAT!

:pencil: read more about js immutable on the FCC Wiki

Bill
@kirah1314
Aug 05 2015 20:05
bonfire reverse
CamperBot
@camperbot
Aug 05 2015 20:05

:fire:Bonfire: Reverse a String :link:

function reverseString(str) {
  return str;
}

reverseString('hello');

Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

Bill
@kirah1314
Aug 05 2015 20:05
bf spoiler
CamperBot
@camperbot
Aug 05 2015 20:05
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Bill
@kirah1314
Aug 05 2015 20:06
bf details
CamperBot
@camperbot
Aug 05 2015 20:06

:fire:Bonfire: Reverse a String :link:

function reverseString(str) {
  return str;
}

reverseString('hello');
Reverse the provided string.
You may need to turn the string into an array before you can reverse it.
Your result must be a string.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
Bill
@kirah1314
Aug 05 2015 20:07
bonfire
CamperBot
@camperbot
Aug 05 2015 20:07
we're talking about bonfire :fire: Bonfire: Reverse a String
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:08
bf
CamperBot
@camperbot
Aug 05 2015 20:08
we're talking about bonfire :fire: Bonfire: Check for Palindromes
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:10
WTH!!!
@dcsan Serious issue.
Switching bonfire in one chat room changes it in all chat rooms like a state machine. :worried:
dc
@dcsan
Aug 05 2015 20:17
Not in the bonfire specific rooms
but testing channel and main help are shared atm
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:17
@dcsan ah! ok
Dayne Wright
@daynewright
Aug 05 2015 20:18
Bonfire: Everything Be True
CamperBot
@camperbot
Aug 05 2015 20:18

:fire:Bonfire: Everything Be True :link:

function every(collection, pre) {
  // Does everyone have one of these?
  return pre;
}

every([{'user': 'Tinky-Winky', 'sex': 'male'}, {'user': 'Dipsy', 'sex': 'male'}, {'user': 'Laa-Laa', 'sex': 'female'}, {'user': 'Po', 'sex': 'female'}], 'sex');

Check if the predicate (second argument) returns truthy (defined) for all elements of a collection (first argument).
For this, check to see if the property defined in the second argument is present on every element of the collection.
Remember, you can access object properties through either dot notation or [] notation.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 20:18
I need to move to a real oop model which I was gonna do when I add conversation feature for topic context.
Big take tho
*task
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:19
yep! So it seems.
I think, you should've implemented some good design pattern from beginning for easy maintainability.
dc
@dcsan
Aug 05 2015 20:21
Didn't we discuss that?
I guess I work more iteratively.
Feel free to code review and suggest where you think I should pattern / how
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:22
@dcsan so how does you "iterative" workflow going... :P
@dcsan i'm not an expert in JS
dc
@dcsan
Aug 05 2015 20:22
Fast
Anyway I'm afk atm. Heading back now and will probly work on modular refactoring
appreciate any ideas u may have
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:24
i'm not competent enough to provide u ideas about that. :(
dc
@dcsan
Aug 05 2015 20:24
What class syntax does node support ?
Afair it doesn't have new es6 class patterns still that prototype mess. ?
Since I was gonna try and support node just for you :)
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:26
oh! don't.
But I was suggesting to keep the app ES5 compliant for now since ES6 is very new.
and collaboration might be a problem. Not everyone know about ES6 features.
nvm
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:31
This message was deleted
M Used
@mildused
Aug 05 2015 20:32
I plus one @abhisekp, but the bandaid has to be ripped off at somepoint
Abhisek Pattnaik
@abhisekp
Aug 05 2015 20:33
@mildused that could be a breeze had the app been using some good design patterns. :sparkles:
dc
@dcsan
Aug 05 2015 21:16
bf fac
CamperBot
@camperbot
Aug 05 2015 21:16

:fire:Bonfire: Factorialize a Number :link:

function factorialize(num) {
  return num;
}

factorialize(5);

Return the factorial of the provided integer.
If the integer is represented with the letter n, a factorial is the product of all positive integers less than or equal to n.
Factorials are often represented with the shorthand notation n!
For example: 5! = 1 2 3 4 5 = 120f
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

dc
@dcsan
Aug 05 2015 21:16
hint
CamperBot
@camperbot
Aug 05 2015 21:16
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 05 2015 21:29
rooms
help rooms
CamperBot
@camperbot
Aug 05 2015 21:29

:point_right: casual chat rooms [wiki]

The following are our casual chat rooms.

Please note that all chat rooms listed here are publicly accessible and indexed by search engines, so only share email addresses or other sensitive information in private messages.

Chat Room Description
Hardware chat about computer hardware and Internet of Things
GameDev chat about designing and developing video games
Gaming chat about gaming of all kinds, such as video games and table top games
TVandMovies chat about TV shows and movies Sports chat about sports
Music chat about music
Art and Photography chat about art, photography and videography
Business chat about business and entrepreneurship
Saving chat about saving, investing, and home economics
SelfImprovement chat about productivity, self improvement and quantified self

By joining these chat rooms, you accept our Code of Conduct. If you think we should add a chat room, please message @quincylarson in Gitter.

Official Free Code Camp chat rooms
:pencil: read more about casual chat rooms on the FCC Wiki

dc
@dcsan
Aug 05 2015 21:29
find rooms
Abhisek Pattnaik
@abhisekp
Aug 05 2015 21:34
update
CamperBot
@camperbot
Aug 05 2015 21:34
updating wiki...
Updating acbeae9..990c1bd Fast-forward
done code: 0
:computer:
Bonfire-Reverse-a-String.md | 6 ------ Casual-Chat-Rooms.md | 3 ++- 2 files changed, 2 insertions(+), 7 deletions(-)
Abhisek Pattnaik
@abhisekp
Aug 05 2015 21:34
help rooms
CamperBot
@camperbot
Aug 05 2015 21:34

:point_right: casual chat rooms [wiki]

The following are our casual chat rooms.

Please note that all chat rooms listed here are publicly accessible and indexed by search engines, so only share email addresses or other sensitive information in private messages.

Chat Room Description
Hardware chat about computer hardware and Internet of Things
GameDev chat about designing and developing video games
Gaming chat about gaming of all kinds, such as video games and table top games
TVandMovies chat about TV shows and movies
Sports chat about sports
Music chat about music
Art and Photography chat about art, photography and videography
Business chat about business and entrepreneurship
Saving chat about saving, investing, and home economics
SelfImprovement chat about productivity, self improvement and quantified self

By joining these chat rooms, you accept our Code of Conduct. If you think we should add a chat room, please message @quincylarson in Gitter.

Official Free Code Camp chat rooms
:pencil: read more about casual chat rooms on the FCC Wiki

dc
@dcsan
Aug 05 2015 22:32
update
CamperBot
@camperbot
Aug 05 2015 22:32
updating wiki...
Updating 990c1bd..ab04625 Fast-forward
Bonfire-Reverse-a-String.md | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-)
done code: 0
:computer:
dc
@dcsan
Aug 05 2015 22:32
@kirah1314
edited a bit
use backticks on code
add some line breaks
Bill
@kirah1314
Aug 05 2015 22:33
@dcsan ah ok, looks much better now!
dc
@dcsan
Aug 05 2015 22:35
thanks @kirah1314 :)
CamperBot
@camperbot
Aug 05 2015 22:35
dcsan sends brownie points to @kirah1314 :sparkles: :thumbsup: :sparkles:
:star: 90 | @kirah1314 | http://www.freecodecamp.com/kirah1314
dc
@dcsan
Aug 05 2015 22:35
shame you can't buy airline tickets with those points
Bill
@kirah1314
Aug 05 2015 22:41
we'll need like 1 billion points lol
Jason Wood
@catapixel
Aug 05 2015 22:46
thanks a billion @kirah1314
CamperBot
@camperbot
Aug 05 2015 22:46
catapixel sends brownie points to @kirah1314 :sparkles: :thumbsup: :sparkles:
:star: 91 | @kirah1314 | http://www.freecodecamp.com/kirah1314
Jason Wood
@catapixel
Aug 05 2015 22:46
Just wanted to see what would happen lol
Bill
@kirah1314
Aug 05 2015 22:47
lol it's not happening