These are chat archives for camperbot/testing

2nd
Sep 2015
John Sanchez
@john8801
Sep 02 2015 00:25
wiki
CamperBot
@camperbot
Sep 02 2015 00:25
usage:
wiki $topic info on that topic
topics for a list of topics
John Sanchez
@john8801
Sep 02 2015 00:25
topics
wiki topics
CamperBot
@camperbot
Sep 02 2015 00:25
no wiki entry for: topics
:pencil: click here to create one now!after creating your page type update to reload it here
John Sanchez
@john8801
Sep 02 2015 00:25
wiki hello
CamperBot
@camperbot
Sep 02 2015 00:25

:point_right: waypoint say hello to html elements [wiki]

HTML elements are written with a start tag, with an end tag, with the content in between:

<tagname>content</tagname> The HTML element is everything from the start tag to the end tag:

<p>My first HTML paragraph.</p>

Opening tags look like this: <h1>. Closing tags look like this: </h1> Note that the only difference between opening tags and closing tags is that closing tags have a slash after their opening angle bracket.
:pencil: read more about waypoint say hello to html elements on the FCC Wiki

John Sanchez
@john8801
Sep 02 2015 00:25
wiki weather
CamperBot
@camperbot
Sep 02 2015 00:25
no wiki entry for: weather
:pencil: click here to create one now!after creating your page type update to reload it here
John Sanchez
@john8801
Sep 02 2015 00:25
wiki json
CamperBot
@camperbot
Sep 02 2015 00:25

:point_right: zipline use the twitchtv json api [wiki]

If you're trying to tackle this challenge with jQuery's $.getJSON() method, chances are you'll get an error message concerning Cross-Origin Resource Sharing (CORS).

One way to get around this issue is to use the following code snippet:
```js
/*

  • Usage:
  • JSONP( 'someUrl.php?param1=value1', function(data) {
  • //do something with data, which is the JSON object retrieved from someUrl.php
  • });
    */
    var JSONP = (function(){ 'use strict';
    var counter = 0;

    var memoryleakcap = function() {

      if (this.readyState && this.readyState !== "loaded" && this.readyState !== "complete") { return; }
    
      try {
          this.onload = this.onreadystatechange = null;
          this.parentNode.removeChild(this);

    :pencil: read more about zipline use the twitchtv json api on the FCC Wiki

Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:32
update
CamperBot
@camperbot
Sep 02 2015 01:32
updating wiki...
Bonfire-Smallest-Common-Multiple.md | 34 +++++++++++++++++++ Brownie-Points.md | 4 +-- bonfire-check-for-palindromes.md | 67 ++++++++++++++++++++++++++++++++++++- bonfire-smallest-common-multiple.md | 21 ------------ 4 files changed, 102 insertions(+), 24 deletions(-) create mode 100644 Bonfire-Smallest-Common-Multiple.md delete mode 100644 bonfire-smallest-common-multiple.md
Updating e413ece..02b9269 Fast-forward
done code: 0
:computer:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:33
bf check for
CamperBot
@camperbot
Sep 02 2015 01:33

: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.

more info:  bf details | bf links | hint

Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:33
hint
CamperBot
@camperbot
Sep 02 2015 01:33
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:54
update
CamperBot
@camperbot
Sep 02 2015 01:54
updating wiki...
Updating 02b9269..6e6fed9 Fast-forward
Bonfire-Wiki-Template.md | 3 ++ bonfire-check-for-palindromes.md | 3 ++ bonfire-find-the-longest-word-in-a-string.md | 71 +++++++++++++++++++++++++++- bonfire-return-largest-numbers-in-arrays.md | 53 ++++++++++++++++++++- bonfire-title-case-a-sentence.md | 45 +++++++++++++++++- 5 files changed, 172 insertions(+), 3 deletions(-)
done code: 0
:computer:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:54
bf case
CamperBot
@camperbot
Sep 02 2015 01:54

:fire:Bonfire: Title Case a Sentence :link:

function titleCase(str) {
  return str;
}

titleCase("I'm a little tea pot");

Return the provided string with the first letter of each word capitalized.

more info:  bf details | bf links | hint

Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:54
hint
CamperBot
@camperbot
Sep 02 2015 01:54
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 01:59
update
CamperBot
@camperbot
Sep 02 2015 01:59
updating wiki...
Updating 6e6fed9..f9f33ca Fast-forward
Bonfire-Wiki-Template.md | 10 ++++++++++ bonfire-no-repeats-please.md | 22 ++++++++++++++++++++++ bonfire-return-largest-numbers-in-arrays.md | 2 +- bonfire-title-case-a-sentence.md | 9 +++++++-- 4 files changed, 40 insertions(+), 3 deletions(-) create mode 100644 bonfire-no-repeats-please.md
done code: 0
:computer:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 02:00
bf title case
CamperBot
@camperbot
Sep 02 2015 02:00

:fire:Bonfire: Title Case a Sentence :link:

function titleCase(str) {
  return str;
}

titleCase("I'm a little tea pot");

Return the provided string with the first letter of each word capitalized.

more info:  bf details | bf links | hint

Rafael J. Rodriguez
@Rafase282
Sep 02 2015 02:00
hint
CamperBot
@camperbot
Sep 02 2015 02:00
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 02:01
update
CamperBot
@camperbot
Sep 02 2015 02:01
updating wiki...
Updating f9f33ca..2a2af05 Fast-forward
bonfire-no-repeats-please.md | 1 + bonfire-title-case-a-sentence.md | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
done code: 0
:computer:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 02:18
help format
CamperBot
@camperbot
Sep 02 2015 02:18

:point_right: code formatting [wiki]

Inline code

This an inline `<paste code here>` code formatting with a single backtick(`) at start and end around the code.

Code Block

```js ⇦ Type 3 backticks, then type js or html and then press [shift + enter ⏎]

<paste your code here>,
then press [shift + enter ⏎]

``` ⇦ Type 3 backticks, then press [enter ⏎]

See also: ☛ How to type Backticks | ☯ Compose Mode | ❄ Gitter Formatting Basics

:pencil: read more about code formatting on the FCC Wiki

Rafael J. Rodriguez
@Rafase282
Sep 02 2015 03:09
update
CamperBot
@camperbot
Sep 02 2015 03:09
updating wiki...
Updating 2a2af05..ae6935b Fast-forward
Bonfire Seek and Destroy.md | 43 ++++++++++++++++++++++++++ Bonfire Where art thou.md | 43 ++++++++++++++++++++++++++ Bonfire Where do I belong.md | 45 +++++++++++++++++++++++++++ Bonfire-Wiki-Template.md | 10 +++--- bonfire-check-for-palindromes.md | 45 ++++++--------------------- bonfire-confirm-the-ending.md | 41 ++++++++++++++++++++++++- bonfire-find-the-longest-word-in-a-string.md | 43 ++++++-------------------- bonfire-repeat-a-string-repeat-a-string.md | 46 +++++++++++++++++++++++++++- bonfire-return-largest-numbers-in-arrays.md | 4 +-- 9 files changed, 243 insertions(+), 77 deletions(-) create mode 100644 Bonfire Seek and Destroy.md create mode 100644 Bonfire Where art thou.md create mode 100644 Bonfire Where do I belong.md
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 04:35
topis
topics
bf brownie
CamperBot
@camperbot
Sep 02 2015 04:35
Sorry, can't find a bonfire called brownie. [ Check the map? ]
Abhisek Pattnaik
@abhisekp
Sep 02 2015 04:35
explain brownie
CamperBot
@camperbot
Sep 02 2015 04:35

:point_right: brownie points [wiki]

The number beside your picture on Free Code Camp tells you how many Brownie Points you have.

A user profile picture next to a with Brownie Points score

There are three ways you can get Brownie Points:

  1. Complete challenges - you get one point per challenge you complete
  2. Post relevant links on Camper News - you get 1 point for posting a link, and another point for each upvote your link gets
  3. Help other campers in chat - each time you help another camper and they thank you (by typing "thanks @yourname"), you will get a point

Brownie Points help you look like the kind of person who codes a lot, shares relevant links, and helps people.

They also add to your Streak.
:pencil: read more about brownie points on the FCC Wiki

Saad Mehmood
@saadmehmood233
Sep 02 2015 05:26
This message was deleted
CamperBot
@camperbot
Sep 02 2015 05:26
no wiki entry for: streakk
:pencil: click here to create one now!after creating your page type update to reload it here
Saad Mehmood
@saadmehmood233
Sep 02 2015 05:27
explain streak
CamperBot
@camperbot
Sep 02 2015 05:27

:point_right: streaks [wiki]

Your user profile displays your recent activity. If you get Brownie Points on several consecutive days, you will start a streak.

A picture of a camper's streak readout showing a 21-day streak

This shows everyone that you are highly active in our community, and that you code a lot. When you're learning to code, it's important that you code at least some everyday.
:pencil: read more about streaks on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Sep 02 2015 05:33
update
CamperBot
@camperbot
Sep 02 2015 05:33
updating wiki...
Updating ae6935b..f8da365 Fast-forward
JS-Resources.md | 2 +- bonfire-no-repeats-please.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:34
update
CamperBot
@camperbot
Sep 02 2015 09:34
updating wiki...
How-to-install-Screenhero.md | 2 +- Official-Free-Code-Camp-Chat-Rooms.md | 2 +- bonfire-falsey-bouncer.md | 12 ++++-------- falsey.md => js-falsey.md | 2 +- js-regex.md | 2 +- truthy.md => js-truthy.md | 0 6 files changed, 8 insertions(+), 12 deletions(-) rename falsey.md => js-falsey.md (85%) rename truthy.md => js-truthy.md (100%)
Updating f8da365..fe5745e Fast-forward
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:34
explain js regex
CamperBot
@camperbot
Sep 02 2015 09:34

:point_right: js regex [wiki]

Links to useful RegEx resources.

See also: :clipboard: Tutorials | :syringe: Testing | :soccer: Games | :newspaper: Blogs | :package: Software

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

Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:39
update
CamperBot
@camperbot
Sep 02 2015 09:39
updating wiki...
Updating fe5745e..c45880a Fast-forward
js-falsey.md | 4 +--- js-regex.md | 2 +- js-truthy.md | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-)
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:40
bf where
CamperBot
@camperbot
Sep 02 2015 09:40

:fire:Bonfire: Where art thou :link:

function where(collection, source) {
  var arr = [];
  // What's in a name?
  return arr;
}

where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' });

Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).

more info:  bf details | bf links | hint

Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:40
bf details
CamperBot
@camperbot
Sep 02 2015 09:40

:fire:Bonfire: Where art thou :link:

function where(collection, source) {
  var arr = [];
  // What's in a name?
  return arr;
}

where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' });
Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.
links:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 09:40
hint
CamperBot
@camperbot
Sep 02 2015 09:40
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 11:51
update
CamperBot
@camperbot
Sep 02 2015 11:51
updating wiki...
Updating c45880a..3135e54 Fast-forward
Bonfire Where art thou.md | 43 ------------------------------ Bonfire-Where-art-thou.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++ bonfire-falsey-bouncer.md | 2 +- 3 files changed, 68 insertions(+), 44 deletions(-) delete mode 100644 Bonfire Where art thou.md create mode 100644 Bonfire-Where-art-thou.md
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 11:51
bf where
CamperBot
@camperbot
Sep 02 2015 11:51

:fire:Bonfire: Where art thou :link:

function where(collection, source) {
  var arr = [];
  // What's in a name?
  return arr;
}

where([{ first: 'Romeo', last: 'Montague' }, { first: 'Mercutio', last: null }, { first: 'Tybalt', last: 'Capulet' }], { last: 'Capulet' });

Make a function that looks through a list (first argument) and returns an array of all objects that have equivalent property values (second argument).

more info:  bf details | bf links | hint

Abhisek Pattnaik
@abhisekp
Sep 02 2015 11:51
hint
CamperBot
@camperbot
Sep 02 2015 11:51
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 11:57
update
CamperBot
@camperbot
Sep 02 2015 11:57
updating wiki...
Bonfire-Where-art-thou.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-)
Updating 3135e54..30ea92a Fast-forward
done code: 0
:computer:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 13:15
update
CamperBot
@camperbot
Sep 02 2015 13:15
updating wiki...
Bonfire-Where-art-thou.md | 5 ++++- bonfire-title-case-a-sentence.md | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-)
Updating 30ea92a..065feb1 Fast-forward
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:16
explain where
Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:16
explain where art
CamperBot
@camperbot
Sep 02 2015 13:16

:point_right: bonfire where art thou [wiki]

Problem Explanation

Write an algorithm that will take an array for the first argument and return an array with all the objects that matches all the properties and values in the Object passed as second parameter.

:pencil: read more about bonfire where art thou on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:16
hint
CamperBot
@camperbot
Sep 02 2015 13:16
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:16
hint
CamperBot
@camperbot
Sep 02 2015 13:16
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:16
hint
CamperBot
@camperbot
Sep 02 2015 13:16
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 13:18
oops!
Abhisek Pattnaik
@abhisekp
Sep 02 2015 19:12
update
CamperBot
@camperbot
Sep 02 2015 19:12
updating wiki...
Updating 065feb1..48701c8 Fast-forward
Bonfire-Reverse-a-String.md | 10 +++++----- Bonfire-Where-art-thou.md | 4 ++-- Waypoint-Generate-Random-Whole-Numbers-within-a-Range.md | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-)
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Sep 02 2015 19:35
explain reverse
CamperBot
@camperbot
Sep 02 2015 19:36

:point_right: bonfire reverse a string [wiki]

Problem Explanation:

You need to take the string and reverse it so if you had originally 'hello', it will turn into 'olleh'. Because you will need to split it, you will be working with Arrays too.

:pencil: read more about bonfire reverse a string on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Sep 02 2015 19:36
bf reverse
CamperBot
@camperbot
Sep 02 2015 19:36

:fire:Bonfire: Reverse a String :link:

function reverseString(str) {
  return str;
}

reverseString('hello');

Reverse the provided string.

more info:  bf details | bf links | hint

Abhisek Pattnaik
@abhisekp
Sep 02 2015 19:36
hint
CamperBot
@camperbot
Sep 02 2015 19:36
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Rafael J. Rodriguez
@Rafase282
Sep 02 2015 23:41
wiki chunky
CamperBot
@camperbot
Sep 02 2015 23:41

:point_right: bonfire chunky monkey [wiki]

Our goal for this bonfire is to split arr (first argument) into smaller chunks of arrays with the length provided by size (second argument). There are 4 green checks (objectives) our code needs to pass in order to complete this bonfire:

  1. (['a', 'b', 'c', 'd'], 2) is expected to be [['a', 'b'], ['c', 'd']]
  2. ([0, 1, 2, 3, 4, 5], 3) is expected to be [[0, 1, 2], [3, 4, 5]]
  3. ([0, 1, 2, 3, 4, 5], 2) is expected to be [[0, 1], [2, 3], [4, 5]]
  4. ([0, 1, 2, 3, 4, 5], 4) is expected to be [[0, 1, 2, 3], [4, 5]]

Click More information under the bonfire title and read the helpful links if you haven't yet.
 

:pencil: read more about bonfire chunky monkey on the FCC Wiki