These are chat archives for camperbot/testing

6th
Aug 2015
bothelp
@bothelp
Aug 06 2015 00:00

@webuser has a question on

bonfire-meet-bonfire

dc
@dcsan
Aug 06 2015 00:04
bf fac
CamperBot
@camperbot
Aug 06 2015 00:04

: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 06 2015 00:04
hint
CamperBot
@camperbot
Aug 06 2015 00:04
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
bothelp
@bothelp
Aug 06 2015 00:06

@webuser has a question on

bonfire-meet-bonfire


@webuser has a question on

bonfire-where-art-thou

CamperBot
@camperbot
Aug 06 2015 00:08
type bonfire name to get some info on that bonfire. And check HelpBonfires chatroom
CamperBot
@camperbot
Aug 06 2015 01:46

@webuser has a question on

bonfire-sum-all-primes


@webuser has a question on

bonfire-drop-it


@webuser has a question on

bonfire-boo-who


@webuser has a question on

bonfire-pig-latin


@webuser has a question on

bonfire-mutations


@webuser has a question on

bonfire-steamroller


@webuser has a question on

bonfire-dna-pairing


@webuser has a question on

bonfire-meet-bonfire


@webuser has a question on

bonfire-sorted-union


@webuser has a question on

bonfire-chunky-monkey


@webuser has a question on

bonfire-slasher-flick


@webuser has a question on

bonfire-binary-agents


@webuser has a question on

bonfire-where-art-thou


@webuser has a question on

bonfire-falsey-bouncer


@webuser has a question on

bonfire-spinal-tap-case


@webuser has a question on

bonfire-missing-letters


@webuser has a question on

bonfire-diff-two-arrays


@webuser has a question on

bonfire-finders-keepers


@webuser has a question on

bonfire-reverse-a-string


@webuser has a question on

bonfire-seek-and-destroy


@webuser has a question on

bonfire-where-do-i-belong


@webuser has a question on

bonfire-truncate-a-string


@webuser has a question on

bonfire-arguments-optional


@webuser has a question on

bonfire-confirm-the-ending


@webuser has a question on

bonfire-search-and-replace


@webuser has a question on

bonfire-everything-be-true


@webuser has a question on

bonfire-convert-html-entities


@webuser has a question on

bonfire-factorialize-a-number


@webuser has a question on

bonfire-check-for-palindromes


@webuser has a question on

bonfire-title-case-a-sentence


@webuser has a question on

bonfire-roman-numeral-converter


@webuser has a question on

bonfire-sum-all-numbers-in-a-range


@webuser has a question on

bonfire-smallest-common-multiple


@webuser has a question on

bonfire-return-largest-numbers-in-arrays


@webuser has a question on

bonfire-find-the-longest-word-in-a-string


@webuser has a question on

bonfire-repeat-a-string-repeat-a-string

dc
@dcsan
Aug 06 2015 01:52
about
CamperBot
@camperbot
Aug 06 2015 01:52
you need to ask about @someone!
dc
@dcsan
Aug 06 2015 01:52
botstatus
CamperBot
@camperbot
Aug 06 2015 01:52
All bot systems are go!
botVersion: 0.0.6a
env: prod
botname: camperbot
dc
@dcsan
Aug 06 2015 01:52
help
CamperBot
@camperbot
Aug 06 2015 01:52

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

dc
@dcsan
Aug 06 2015 01:52
hello
testing
Bill
@kirah1314
Aug 06 2015 01:55
bot lag?
CamperBot
@camperbot
Aug 06 2015 01:55
no wiki entry for: lag
:pencil: click here to create one now!after creating your page type update to reload it here
dc
@dcsan
Aug 06 2015 01:57
bot reboot
CamperBot
@camperbot
Aug 06 2015 01:57
no wiki entry for: reboot
:pencil: click here to create one now!after creating your page type update to reload it here
dc
@dcsan
Aug 06 2015 01:57
i had to fix sth
Rex Schrader
@SaintPeter
Aug 06 2015 02:16
define falsy
wiki falsy
CamperBot
@camperbot
Aug 06 2015 02:16
no wiki entry for: falsy
:pencil: click here to create one now!after creating your page type update to reload it here
Rex Schrader
@SaintPeter
Aug 06 2015 02:16
help
CamperBot
@camperbot
Aug 06 2015 02:16

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

dc
@dcsan
Aug 06 2015 04:28
Define falsey
help falsey
CamperBot
@camperbot
Aug 06 2015 04:29

:point_right: falsey [wiki]

Something which evaluates to FALSE. There are only five falsey values in JavaScript:
undefined, null, NaN, 0, "" (empty string), and false of course.

:pencil: read more about falsey on the FCC Wiki

dc
@dcsan
Aug 06 2015 04:29
@saintpeter us spelling maybe?
Rex Schrader
@SaintPeter
Aug 06 2015 04:31
@dcsan bad spelling, actually.
help truthy
CamperBot
@camperbot
Aug 06 2015 04:31

:point_right: truthy [wiki]

In JavaScript, a truthy value is a value that translates to true when evaluated in a Boolean context. All values are truthy unless they are defined as falsy (i.e., except for false, 0, "", null, undefined, and NaN).

MDN
:pencil: read more about truthy on the FCC Wiki

dc
@dcsan
Aug 06 2015 04:33
I probably need a way to alias parameters to wiki.
I have that for bonfire
Rex Schrader
@SaintPeter
Aug 06 2015 04:34
Random thought: I'm concerned about the wiki getting . . . full
crowded
hard to find stuff in
dc
@dcsan
Aug 06 2015 04:34
Or do some Regex declaration
find try
CamperBot
@camperbot
Aug 06 2015 04:34
dc
@dcsan
Aug 06 2015 04:34
find tru
CamperBot
@camperbot
Aug 06 2015 04:34

find tru

[0] truthy

Rex Schrader
@SaintPeter
Aug 06 2015 04:34
Alternative to Namespacing (since it's not supported) - have multiple Wikis
wiki tru
CamperBot
@camperbot
Aug 06 2015 04:35

:point_right: truthy [wiki]

In JavaScript, a truthy value is a value that translates to true when evaluated in a Boolean context. All values are truthy unless they are defined as falsy (i.e., except for false, 0, "", null, undefined, and NaN).

MDN
:pencil: read more about truthy on the FCC Wiki

dc
@dcsan
Aug 06 2015 04:35
yeah. I was thinking something like that for a reference wiki
Help chain
CamperBot
@camperbot
Aug 06 2015 04:35
no wiki entry for: chain
:pencil: click here to create one now!after creating your page type update to reload it here
dc
@dcsan
Aug 06 2015 04:35
help chai
CamperBot
@camperbot
Aug 06 2015 04:35

:point_right: chai assert [wiki]

assert(expression, message)

  • @param{ Mixed }expressionto test for truthiness
  • @param{ String }messageto display on error

Write your own test expressions.

assert('foo' !== 'bar', 'foo is not bar');
assert(Array.isArray([]), 'empty arrays are arrays');

details: http://chaijs.com/api/assert/

:pencil: read more about chai assert on the FCC Wiki

Rex Schrader
@SaintPeter
Aug 06 2015 04:35
I was kinda thinkign there could be a FreeCodeCamp/bonfires project - it could have canonical solutions
dc
@dcsan
Aug 06 2015 04:36
interesting
The bonfires have many different layers of solution
But not linear.
The wiki itself is also a bit hard to edit offline. It's not obvious how to fork and clone it.
Rex Schrader
@SaintPeter
Aug 06 2015 04:40
@dcsan I was thinking that the bonfire solutions would be .js file - code files.
CamperBot
@camperbot
Aug 06 2015 04:40
type bonfire name to get some info on that bonfire. And check HelpBonfires chatroom
Bill
@kirah1314
Aug 06 2015 05:25
bonfire
CamperBot
@camperbot
Aug 06 2015 05:25
we're talking about bonfire :fire: Bonfire: Pig Latin
Bill
@kirah1314
Aug 06 2015 05:25
bonfire list
CamperBot
@camperbot
Aug 06 2015 05:25
Sorry, can't find a bonfire called list. [ Check the map? ]
Bill
@kirah1314
Aug 06 2015 05:25
bf
CamperBot
@camperbot
Aug 06 2015 05:25
we're talking about bonfire :fire: Bonfire: Pig Latin
Bill
@kirah1314
Aug 06 2015 05:25
update
CamperBot
@camperbot
Aug 06 2015 05:25
updating wiki...
How-to-clone-the-FreeCodeCamp-website-on-a-Windows-pc.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
done code: 0
:computer:
Updating 9ef0a6e..4d32732 Fast-forward
Bill
@kirah1314
Aug 06 2015 05:26
bonfire
CamperBot
@camperbot
Aug 06 2015 05:26
we're talking about bonfire :fire: Bonfire: Pig Latin
Bill
@kirah1314
Aug 06 2015 05:26
pig
bonfire pig
CamperBot
@camperbot
Aug 06 2015 05:26

:fire:Bonfire: Pig Latin :link:

function translate(str) {
 return str;
}

translate("consonant");

Translate the provided string to pig latin.
<a href="http://en.wikipedia.org/wiki/Pig_Latin">Pig Latin</a> takes the first consonant (or consonant cluster) of an English word, moves it to the end of the word and suffixes an "ay".
If a word begins with a vowel you just add "way" to the end.
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 06 2015 05:26
bf spoiler
CamperBot
@camperbot
Aug 06 2015 05:26
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
Bill
@kirah1314
Aug 06 2015 05:26
bonfire
CamperBot
@camperbot
Aug 06 2015 05:26
we're talking about bonfire :fire: Bonfire: Pig Latin
Bill
@kirah1314
Aug 06 2015 05:26
bonfire stop
CamperBot
@camperbot
Aug 06 2015 05:26
Sorry, can't find a bonfire called stop. [ Check the map? ]
Bill
@kirah1314
Aug 06 2015 05:27
bonfire reverse
CamperBot
@camperbot
Aug 06 2015 05:27

: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

Jorge Almeida
@Jorgixhallo
Aug 06 2015 08:44
thanks @jorgixhallo
CamperBot
@camperbot
Aug 06 2015 08:44
sorry jorgixhallo, you can't send brownie points to yourself! :sparkles: :sparkles:
Jorge Almeida
@Jorgixhallo
Aug 06 2015 08:44
it's fixed :)
Abhisek Pattnaik
@abhisekp
Aug 06 2015 10:18
update
CamperBot
@camperbot
Aug 06 2015 10:18
updating wiki...
Official-Free-Code-Camp-Chat-Rooms.md | 3 ++- truthy.md | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-)
Updating 4d32732..fa64464 Fast-forward
done code: 0
:computer:
Abhisek Pattnaik
@abhisekp
Aug 06 2015 10:18
help truth
CamperBot
@camperbot
Aug 06 2015 10:18

:point_right: truthy [wiki]

A truthy value is a value that translates to true when evaluated in a Boolean context.

All values are truthy unless they are defined as falsy (i.e. except for false, 0, "", null, undefined and NaN).

See Also: MDN
:pencil: read more about truthy on the FCC Wiki

CamperBot
@camperbot
Aug 06 2015 11:26
This message was deleted
Jason Wood
@catapixel
Aug 06 2015 12:59
rooms
help rooms
CamperBot
@camperbot
Aug 06 2015 12:59

: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

Abhisek Pattnaik
@abhisekp
Aug 06 2015 16:12
wow! Camperbot can now delete its own messages which are more than 4 mins old. :D
Bill
@kirah1314
Aug 06 2015 21:24
bf chunk
CamperBot
@camperbot
Aug 06 2015 21:24

: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

Bill
@kirah1314
Aug 06 2015 21:24
bf spoiler
CamperBot
@camperbot
Aug 06 2015 21:24
:construction: Spoilers are only in the Bonfire's Custom Room :point_right:
dc
@dcsan
Aug 06 2015 21:25
update
CamperBot
@camperbot
Aug 06 2015 21:25
updating wiki...
Code-Style-Guide.md | 49 +++++++++++++++++++++ Gitter.md | 4 +- List-of-Free-Code-Camp-city-based-Campsites.md | 28 +++++++++++- Pasting-Formatted-Code-in-Gitter.md | 8 ++++ bonfire-chunky-monkey.md | 60 ++++++++++++++++++++++++-- example.md | 6 +-- 6 files changed, 146 insertions(+), 9 deletions(-) create mode 100644 Pasting-Formatted-Code-in-Gitter.md
done code: 0
:computer:
Updating fa64464..78a70ca Fast-forward
Rex Schrader
@SaintPeter
Aug 06 2015 22:57
Random thought: Bot support for 'signing in' as a helper in a channel.
dc
@dcsan
Aug 06 2015 22:58
interesting idea @SaintPeter what would that do?
give you some superpowers in the channel?
Rex Schrader
@SaintPeter
Aug 06 2015 22:58
Muahaha
dc
@dcsan
Aug 06 2015 22:58
one thing i was thinking (one day) was a way to "send links" to ppl
Rex Schrader
@SaintPeter
Aug 06 2015 22:58
Maybe some sort of list of who helpers are
dc
@dcsan
Aug 06 2015 22:58
to allow co-browsing
Rex Schrader
@SaintPeter
Aug 06 2015 22:59
Like . . who is "on duty"
dc
@dcsan
Aug 06 2015 22:59
yeah
Rex Schrader
@SaintPeter
Aug 06 2015 22:59
I just popped into help and saw a guy I know to be a good helper on duty
or answering questions
so maybe I'm not needed there
dc
@dcsan
Aug 06 2015 22:59
right
Rex Schrader
@SaintPeter
Aug 06 2015 22:59
it can be hard to "patrol" the channels
maybe an idea that it's less a channel thing and more a FCC wide thing - allow you to page someone
dc
@dcsan
Aug 06 2015 23:00
mayeb more time you spend "on active patrol" you get double brownie points :)
Rex Schrader
@SaintPeter
Aug 06 2015 23:00
Does the API allow you to find a users current channel
I'm less worried about awards and more about being able to serve people
dc
@dcsan
Aug 06 2015 23:00
yes, the input param has a room
Rex Schrader
@SaintPeter
Aug 06 2015 23:01
So maybe someone is "on duty" or whatever they could be paged
the only issue is if they're super busy
dc
@dcsan
Aug 06 2015 23:02
you mean across channels?
Rex Schrader
@SaintPeter
Aug 06 2015 23:03
Yeah
I guess I'd like to be able to say "I'm availible to help for the next X minutes" and not always have to patrol all N help channels
Sorry for the incomplete thought - just throwing it out for disucssion
Like . .
How many times does someone ping in HelpBonfires, and get no response
dc
@dcsan
Aug 06 2015 23:06
allyourbase
allyourbase
Rex Schrader
@SaintPeter
Aug 06 2015 23:09
arebelongtous
arebelongtous
Rex Schrader
@SaintPeter
Aug 06 2015 23:18
More random ideas: Have a way of displaying the tests for a given bonfire
IE: bf tests
fb random
bf random
CamperBot
@camperbot
Aug 06 2015 23:19
Sorry, can't find a bonfire called random. [ Check the map? ]
Rex Schrader
@SaintPeter
Aug 06 2015 23:19
bf mutation
CamperBot
@camperbot
Aug 06 2015 23:19

:fire:Bonfire: Mutations :link:

function mutation(arr) {
  return arr;
}

mutation(['hello', 'hey']);

Return true if the string in the first element of the array contains all of the letters of the string in the second element of the array.
For example, ['hello', 'Hello'], should return true because all of the letters in the second string are present in the first, ignoring case.
The arguments ['hello', 'hey'] should return false because the string 'hello' does not contain a 'y'.
Lastly, ['Alien', 'line'], should return true because all of the letters in 'line' are present in 'Alien'.
Remember to use RSAP if you get stuck. Try to pair program. Write your own code.

type: bf details bf links bf spoiler

Rex Schrader
@SaintPeter
Aug 06 2015 23:19
bf links
CamperBot
@camperbot
Aug 06 2015 23:19
links: