These are chat archives for FreeCodeCamp/Help

9th
Oct 2017
Ogundele Olumide
@Lumexralph
Oct 09 2017 00:17
@knight2 i have noticed that with FCC for a while and i raised it to some good friends that FCC instructions might be buggy sometimes so I feel your frustration, I don't think FCC ignored the issues work should be going on backstage hopefully it's soon
Claudio Restifo
@Marmiz
Oct 09 2017 03:03

@knight2

Yeah, it is free. But make a good platform. The amount of errors is incredible

Good thing that this is OS , so now that you've experienced this issue, you can fix it and submit it so the next camper won't have to go through what you just did :+1:

Mike
@MikeJSchorah
Oct 09 2017 03:46
How long would it take to do a 300 product eCommerce website in Magento?
heroiczero
@heroiczero
Oct 09 2017 04:12
@Manish-Giri @DarrenfJ @kiranjd TY for visiting Help and keeping the community active :) @Marmiz @Lumexralph
CamperBot
@camperbot
Oct 09 2017 04:12
heroiczero sends brownie points to @manish-giri and @darrenfj and @kiranjd and @marmiz and @lumexralph :sparkles: :thumbsup: :sparkles:
:cookie: 253 | @kiranjd |http://www.freecodecamp.com/kiranjd
:star2: 1059 | @marmiz |http://www.freecodecamp.com/marmiz
:star2: 2106 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 2055 | @lumexralph |http://www.freecodecamp.com/lumexralph
:star2: 6636 | @manish-giri |http://www.freecodecamp.com/manish-giri
Ogundele Olumide
@Lumexralph
Oct 09 2017 04:20
@heroiczero thank you too
CamperBot
@camperbot
Oct 09 2017 04:20
lumexralph sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1845 | @heroiczero |http://www.freecodecamp.com/heroiczero
Claudio Restifo
@Marmiz
Oct 09 2017 04:27
@heroiczero :) :) :)
@heroiczero thank you <3
CamperBot
@camperbot
Oct 09 2017 04:27
:star2: 1846 | @heroiczero |http://www.freecodecamp.com/heroiczero
marmiz sends brownie points to @heroiczero :sparkles: :thumbsup: :sparkles:
Alex
@cyberpunk1971
Oct 09 2017 05:05
Hello, anyone around?
piteto
@piteto
Oct 09 2017 05:06
Hello
Ai rui 艾瑞
@aisolae
Oct 09 2017 05:26
hi
i have a weird question
i encountered some problems with bootstrap 4 while attempting what was done with bootstrap 3.8. should i use bootstrap 3 for my ongoing work/project or find a solution using bootstrap 4
Thanh Son Nguyen
@nguyen-thanhson
Oct 09 2017 05:41
Use bootstrap 3. Bootstrap 4 is unstable
Albert Cardona II
@daddycardona
Oct 09 2017 06:06
@piteto @GitHub-Henry @daddycardona @khaduch @DarrenfJ @longnt80 A New Day :) TY for Keeping Help Alive :) @sjames1958gm @heroiczero
CamperBot
@camperbot
Oct 09 2017 06:06
daddycardona sends brownie points to @piteto and @github-henry and @khaduch and @darrenfj and @longnt80 and @sjames1958gm and @heroiczero :sparkles: :thumbsup: :sparkles:
:cookie: 225 | @piteto |http://www.freecodecamp.com/piteto
:star2: 1848 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 3353 | @khaduch |http://www.freecodecamp.com/khaduch
:cookie: 379 | @github-henry |http://www.freecodecamp.com/github-henry
:cookie: 596 | @longnt80 |http://www.freecodecamp.com/longnt80
:star2: 2107 | @darrenfj |http://www.freecodecamp.com/darrenfj
:star2: 8529 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
Albert Cardona II
@daddycardona
Oct 09 2017 06:07
copy and paste lol
question yall, is there a way to document.write('something') then retrive what is writtent?
Long Nguyen
@longnt80
Oct 09 2017 06:38
@daddycardona
let body = document.getElementsByTagName('body');
console.log(body.textContent);
Albert Cardona II
@daddycardona
Oct 09 2017 06:39
@longnt80
I usee var s = document.body.textContent;
it also worked lol
Long Nguyen
@longnt80
Oct 09 2017 06:39
@daddycardona oh, nice :+1:
Albert Cardona II
@daddycardona
Oct 09 2017 06:39
I had steam roller working with my code but the last one which wanted you to show {}
unconventional but did almost what i need it to do lol
function steamrollArray(arr) {
    // I'm a steamroller, baby

    var flattened = arr.reduce(function(a, b) {
        return a.concat(b);
    }, []);
    document.write(flattened);
    var s = document.body.textContent;
    var ss = s.split(',');
    console.log(ss)
    document.close();
    return ss;

}
that document.body.textContent took me 2 days to find I found it like 10 mins ago lmao LOL
Albert Cardona II
@daddycardona
Oct 09 2017 06:51
thank you and good night @longnt80
CamperBot
@camperbot
Oct 09 2017 06:51
daddycardona sends brownie points to @longnt80 :sparkles: :thumbsup: :sparkles:
api offline
Long Nguyen
@longnt80
Oct 09 2017 06:52
@daddycardona good night
thanks for the :cookie:
CamperBot
@camperbot
Oct 09 2017 06:52
longnt80 sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 375 | @daddycardona |http://www.freecodecamp.com/daddycardona
1LifeLess
@1LifeLess
Oct 09 2017 08:01
Hello, Someone sent me a .NET solution project, it has .CS file in it, is there a way in VS properties that tells me if it's a Console application class, or C# regular class?
Ahmad Abdolsaheb
@ahmadabdolsaheb
Oct 09 2017 08:04
hey everyone, I have am making two different put calls to the server. one to add to a document and one to update a document. how should I manage these call? how should the server differentiate these calls from one another?
Machiel Van Der Toorn
@mcvdt07
Oct 09 2017 09:26
hi all
I need help regarding a splice test that I am busy with for a job application. They supplied me with a .zip file with assests, preview and fonts and colors. I want to build it on c9.io. Is anyone availible to help me with specific questions?
Pethaf
@Pethaf
Oct 09 2017 09:52
What is a splice test?
Bogdan3
@Bogdan3
Oct 09 2017 11:12
what's the maximum capacity of a position array?
in c/c++
Stephen James
@sjames1958gm
Oct 09 2017 11:23
@Bogdan3 What is a position array - And I imagine that it is available memory size.
Bogdan3
@Bogdan3
Oct 09 2017 11:43
is a array (like nay other)(instead of doing a[n]=x; (n being the index number ) you do a[x]++ (at the end you will have an ordered array)(i don't know what is the name in english and maybe there is the confusion) @sjames1958gm
Stephen James
@sjames1958gm
Oct 09 2017 11:44
@Bogdan3 associative array?
Bogdan3
@Bogdan3
Oct 09 2017 11:44
i think so
Stephen James
@sjames1958gm
Oct 09 2017 11:44
Or map
There is no specified limit - although there will be a practical limit based on performance and memory
Bogdan3
@Bogdan3
Oct 09 2017 11:45
in the end i found the answer is 8 digits @sjames1958gm
@sjames1958gm at least in C
Stephen James
@sjames1958gm
Oct 09 2017 11:56
@Bogdan3 hmm, ok
knight2
@knight2
Oct 09 2017 14:23
Daily post about FCC being buggy

"Add mongodb and mongoose to the project’s package.json. Then require mongoose. Store your mLab database URI in the private .env file as MONGO_URI. Connect to the database using mongoose.connect()

"

"Store your mLab database URI"
freeCodeCamp/freeCodeCamp#14912
Open issue from May
On the other hand, web dev is getting much more fun with this back end stuff.
Dylan
@dhcodes
Oct 09 2017 15:32
@knight2 a PR has been submitted so it will be added to beta soon.
knight2
@knight2
Oct 09 2017 15:40
@dhcodes saw someone was going to add a mlab tutorial but didn't know if they already made it or not
There seems to be a huge difference in quality for the api & micro services section.
Compared to the rest of FCC sections
Or is it that at this point we are supposed to just find things/tutorials ourself?

The fcc page says '- Person Prototype -


name : string [required]

age : number

favoriteFoods : array of strings (*)

'

Then they say go look at mongoose DOC
The syntax they use for the requirements for the schema isn't even correct
knight2
@knight2
Oct 09 2017 15:53

The entire section seems so sloppy compared to the rest of FCC.

Go look at the mongoose doc? That is your tutorial? At that point, sure, i'll look at the doc, and no need for FCC's section.

and yeah i've been pretty critical lately, because it is a problem.
Ah, this tweet from a year ago makes more sense.
Very low percentage of people actually complete/do back end
ah updated stats on about page
Front End: 6,654earned
Data Viz: 868earned
Back End: 578earned
All three: 371earned
Ken Haduch
@khaduch
Oct 09 2017 16:07

@knight2 - interesting... I've been seeing some of your chats about this, and it is a problem. One thing that I see that I think might contribute is people coming in, for example you see in the Contributors room or if you look at some of the bug reports, comments like "I'm new and want to contribute - how do I do a pull request"? So it's commendable that people would want to contribute, but I wonder if some of the inexperienced contributions leads to the kind of results that you are commenting on? That, plus too few people trying to put together a more comprehensive curriculum means that they are getting spread very thin?

This is all a very worthwhile effort, and I comment the freeCodeCamp people who are behind it all, but it certainly takes a lot of time and investment of resources to get a good program put together... Just my 2 cents on the topic....

@aisolae - well, in regards to your question here :point_up: October 9, 2017 1:26 AM - I agree with @nguyen-thanhson and would recommend Bootstrap 3. For the primary reason that most of the lessons are based on that version, and secondarily that V4 is undergoing changes. It's possible to go to the migration documents and find out what the changes are and incorporate them, but I think that sticking with 3 is a better move at this point?
Ai rui 艾瑞
@aisolae
Oct 09 2017 16:11
thanks @khaduch
CamperBot
@camperbot
Oct 09 2017 16:11
aisolae sends brownie points to @khaduch :sparkles: :thumbsup: :sparkles:
:star2: 3354 | @khaduch |http://www.freecodecamp.com/khaduch
Henry
@GitHub-Henry
Oct 09 2017 16:40
@daddycardona hello, and thanks for the brownies
CamperBot
@camperbot
Oct 09 2017 16:40
github-henry sends brownie points to @daddycardona :sparkles: :thumbsup: :sparkles:
:cookie: 376 | @daddycardona |http://www.freecodecamp.com/daddycardona
Dylan
@dhcodes
Oct 09 2017 17:25
@khaduch I'd say it's the latter. @knight2 a few things. a) it's beta for a reason; b) the beta added a significant amount of curriculum; c) most of fcc contributions are by volunteers. You seem far enough along that a great use of your time might be to complete the backend part and then update the mongo lessons to be of better quality. Setting up a local instance is fairly straightforward and your help would be greatly appreciated.
gishy1
@gishy1
Oct 09 2017 20:01
hello world
need help
image.png
korzo
@korzo
Oct 09 2017 20:03
@gishy1 use ; instead of ,
inside for()
gishy1
@gishy1
Oct 09 2017 20:04
image.png
@korzo inside where?
korzo
@korzo
Oct 09 2017 20:07
@gishy1 Now you don't have errors in your code, but algorithm is wrong
@gishy1 5! = 1 * 2 * 3 * 4 * 5 = 120
@gishy1 You have to create numbers from 1 to num and multiply them
gishy1
@gishy1
Oct 09 2017 20:27
@korzo yes but i thought you could use a for loop in this case
korzo
@korzo
Oct 09 2017 20:27
@gishy1 Yes, you can
gishy1
@gishy1
Oct 09 2017 20:28
@korzo so why is mine no working
korzo
@korzo
Oct 09 2017 20:28
@gishy1 But you have to collect multiplication of all numbers and return it after loop
@gishy1 your code returns num*num in first iteration
gishy1
@gishy1
Oct 09 2017 20:29
image.png
image.png
@korzo how do i get the loop to run
its not running
korzo
@korzo
Oct 09 2017 20:34
@gishy1 next time post your code , not screenshot
Put your code between
'''
'''
replace ' with ` (backtick)
CamperBot
@camperbot
Oct 09 2017 20:34
:bulb: to format code use backticks! ``` more info
gishy1
@gishy1
Oct 09 2017 20:35
@korzo ok
knight2
@knight2
Oct 09 2017 20:35

@dhcodes @khaduch yeah I guess I can go back and add whatever is missing for mongodb, like you said it is pretty simple.

Although asides from the actual material, not sure why the entire section has unit test problems. They have a work-around here https://narrow-plane.glitch.me/

korzo
@korzo
Oct 09 2017 20:35
@gishy1 your code run, but you return from inside the loop at first iteration
so instead if 1* 2 * 3* 4* 5
you return 5*5
knight2
@knight2
Oct 09 2017 20:36
@gishy1 yeah you exit out of your function the first iteration of your for loop.
gishy1
@gishy1
Oct 09 2017 20:36
@knight2 hmmm what can i change
knight2
@knight2
Oct 09 2017 20:37
You can make it into a recursive function
or do a for loo
korzo
@korzo
Oct 09 2017 20:38
@gishy1 :point_up: October 9, 2017 10:28 PM
@gishy1 create variable sum, collect multiplications into it and return sum after loop
knight2
@knight2
Oct 09 2017 20:39
Yeah the main issue is you are returning too early. you do need return, but at the END of your function, outside of your for loop (if you choose to use a for loop). Inside the for loop you'll want to go from 1 to N, and each time multiply it to whatever your previous sum was

function factorialize(num) {
  var total = 1;

  for (var i = 1; i <= num; i++){
    total = total * i;
    console.log(i)
  }
  return total;
}
-- doing it without recursive function

Your for loop has some issues

var i = num; i <= num || i>=1; i++

You set your counter variable, i, equal to number. Then you want the for loop to stop IF i is less than or equal to number, OR if I is greater than or equal to 1. then you have i increment in amounts of 1 each for loop.

Even if you removed your return statement, I think your for loop will only execute once?
knight2
@knight2
Oct 09 2017 20:46
Because you set i = to num, and it will stop after first loop or not run yeah...
gishy1
@gishy1
Oct 09 2017 20:46
@knight2 its starting to slowly make sense to me the loops were a bitch when i was learning
knight2
@knight2
Oct 09 2017 20:46
Write things piece by piece
First understand that you want to count from 1 to the number
so write code that has a for loop that counts from 1 to the number
aka
for (var i = 1; i<= num; i++)
gishy1
@gishy1
Oct 09 2017 20:46
@knight2 why do we decla @knight2 e the total variable first?
knight2
@knight2
Oct 09 2017 20:46
what?
e?
we declare the total variable outside of the for loop scope
to make it available for all future for loop scopes
But I think javascript is weird in that it allows some variables to be accessible outside of their intended scope... unlike other languages.
But I am pretty sure overall you want to declare any total/sum variables OUTSIDE of the scope of your for/while loops
gishy1
@gishy1
Oct 09 2017 20:48
@knight2 so we declare the var total variable first to start with 1?
if that makes sense
knight2
@knight2
Oct 09 2017 20:48
Because we think about what the problem asked for.
Factorials. We are multiplying the numbers.
If we start with 0, you'll always get 0.
If you were adding numbers, you'd start with 0
This isn't related to coding lol
You might find using some code editor while working on the javscript to be useful
So you can console.log() your items to see what is happening
then copy paste your code into the FCC website for passing the challenges.

look what happens when I change my initialized variable total to 0...


function factorialize(num) {
  var total = 0;

  for (var i = 1; i <= num; i++){
    total = total * i;
  }
  return total;
}

console.log(factorialize(5))

--- it logs 0. Because that for loop is multipling 1,2,3,4,5 to ttotal. Which becomes 0 each time.....

gishy1
@gishy1
Oct 09 2017 20:52
@knight2 slowly starting make sense thanks!!
CamperBot
@camperbot
Oct 09 2017 20:52
gishy1 sends brownie points to @knight2 :sparkles: :thumbsup: :sparkles:
:cookie: 128 | @knight2 |http://www.freecodecamp.com/knight2
knight2
@knight2
Oct 09 2017 20:53
@gishy1 yup just post here again. But i'd recommend using an IDE or the online javascript editor I sent you. Just log everything to console. You should be able to debug most of those basic things
gishy1
@gishy1
Oct 09 2017 20:53
@knight2 will do
@knight2 im a first time coder so i think it will help me make sense
knight2
@knight2
Oct 09 2017 20:54
Also I don't think FCC is a very good place to have a foundation in actual programming.
https://interactivepython.org/runestone/static/thinkcspy/index.html
Is a nice website for understanding how to 'think like a computer scientist', (python, not javascript, but simple and all languages are the same concept)
also codecademy has more javscript coding lessons too
FCC teaches you front end and back end web dev, but doesn't really teach you any software dev, not really.
(so doing something for that, at the same time as FCC, would be beneficial)
gishy1
@gishy1
Oct 09 2017 20:59
@knight2 ya i guess sometimes the explanation is insufficient
knight2
@knight2
Oct 09 2017 21:01
No, all of the FCC material that you are viewing is sufficient
For making websites
I haven't seen a case of any explanation on the MAIN sections to be insufficient.
So if you think you aren't being given sufficient information, you should re-read the page, or go check previous challenges in that section.
Uriel Guzmán
@Burinson
Oct 09 2017 21:49
Does FCC teach Python?
Eric Leung
@erictleung
Oct 09 2017 21:52
@Burinson not officially, but there is content in the forums on learning Python. There is also some effort into creating interactive Python challenges.
Uriel Guzmán
@Burinson
Oct 09 2017 21:59
@erictleung So is FCC pure Javascript?
Talking about programming languages
I know it has html and css at first
Eric Leung
@erictleung
Oct 09 2017 22:04
@Burinson for now, yes.
knight2
@knight2
Oct 09 2017 22:28
@Burinson i'd use the interactivepython website I linked to for python. FCC is front end web development + back -end. They do have some javascript algo challenges, but FCC is more web pages than computer scientist type of programming.
kiran JD
@kiranjd
Oct 09 2017 22:30
check out this Quote Generator I just developed. Suggestion or feedback please
Uriel Guzmán
@Burinson
Oct 09 2017 22:42
@knight2 a'ight, thanks
CamperBot
@camperbot
Oct 09 2017 22:42
burinson sends brownie points to @knight2 :sparkles: :thumbsup: :sparkles:
:cookie: 129 | @knight2 |http://www.freecodecamp.com/knight2
Uriel Guzmán
@Burinson
Oct 09 2017 22:42
@erictleung thanks
@kiranjd Personally, I would change the font color, it doesn't look too sharp
But it works fine, good job
kiran JD
@kiranjd
Oct 09 2017 22:44
Which one would you recommend
Yeah thanks
knight2
@knight2
Oct 09 2017 22:44
@kiranjd looks fine. I would change the quotebox background color, change the opacity, and change the color to a lighter grey
make the background color opacity like .5 or something
Uriel Guzmán
@Burinson
Oct 09 2017 22:45
Yeah, that's what I usually do on my apps
You can use the rgba method
It looks much neater
kiran JD
@kiranjd
Oct 09 2017 22:45
What do you use for opacity?
Uriel Guzmán
@Burinson
Oct 09 2017 22:45
Wait
kiran JD
@kiranjd
Oct 09 2017 22:45
okay
Uriel Guzmán
@Burinson
Oct 09 2017 22:46
background-color: rgba(50, 0, 100, 0.7); Something like that
You can set opacity directly
as well
Uriel Guzmán
@Burinson
Oct 09 2017 22:46
Look for the shade of grey you want and place in the first 3 values
The last value (0.7) is the opacity, change it to 0.5 or something
knight2
@knight2
Oct 09 2017 22:47
.style('opacity', 0.5)
or just add it to the CSS
kiran JD
@kiranjd
Oct 09 2017 22:47
Wow Looks amazing now
Uriel Guzmán
@Burinson
Oct 09 2017 22:47
Send link
:)
kiran JD
@kiranjd
Oct 09 2017 22:48
knight2
@knight2
Oct 09 2017 22:48
didn't update.
kiran JD
@kiranjd
Oct 09 2017 22:48
yeah wait a sec
knight2
@knight2
Oct 09 2017 22:48
and it broke updating background images with next quote click
Uriel Guzmán
@Burinson
Oct 09 2017 22:49
Oh, you have a changing background, I would recommend to place a neutral color that always flatters the background like black or white maybe
For the font
kiran JD
@kiranjd
Oct 09 2017 22:49
Okay, I'll note of everything
Uriel Guzmán
@Burinson
Oct 09 2017 22:50
I like to use the white font with black border, it always looks good, you can do it like this color: white; text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
And it's easy to read
kiran JD
@kiranjd
Oct 09 2017 22:52
Yes! Did all that. Looks excellent now.
for some reason, It's not updating online
Uriel Guzmán
@Burinson
Oct 09 2017 22:54
@kiranjd Change the purple to the color you already had if you like, I gave you purple because my app was using purple, heh
kiran JD
@kiranjd
Oct 09 2017 22:54
now checkout here
Looks good
Thanks a lot @Burinson . But, got to go it's 4.30 am here
CamperBot
@camperbot
Oct 09 2017 22:56
kiranjd sends brownie points to @burinson :sparkles: :thumbsup: :sparkles:
:cookie: 276 | @burinson |http://www.freecodecamp.com/burinson
kiran JD
@kiranjd
Oct 09 2017 22:56
night Uriel
David Chen
@Obiwan777
Oct 09 2017 23:01

python question.
hi guys, quick question. I am trying to search thing from a log file.
log file line example is like this

109.86.167.47 - - [29/Aug/2017:10:22:49 -0400] "GET /isomaster/releases/isomaster-1.3.13.tar.bz2 HTTP/1.1" 200 245085 "http://littlesvr.ca/isomaster/download/" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0"

my script is like this now

    for line in f:
        line = line.strip()
        line = line.split(' ')[6]
                if line.find("/apng/assembler/data")!= -1:
            count +=1

if I want to add another string that I want to find, how would it be done.
like this? find("/apng/","/.php")or put it behind like if line.find("/apng/assembler/data")!= -1 and line.find("/apng/php")!=-1?

Stephen James
@sjames1958gm
Oct 09 2017 23:03
@Obiwan777 The second one, but you need or not and because no line will match both strings
Eric Miller
@ericmiller777
Oct 09 2017 23:05
i dont see a &&
David Chen
@Obiwan777
Oct 09 2017 23:05
@sjames1958gm what if I want to find both /apng/assembler/data and code 200 in one search
is that possible?
Stephen James
@sjames1958gm
Oct 09 2017 23:06
@Obiwan777 You want them all on the same line?
David Chen
@Obiwan777
Oct 09 2017 23:07
as I want to calculate the result afterwards
if you see the log file example up there
Stephen James
@sjames1958gm
Oct 09 2017 23:07
So you want to find every line with both strings and 200 ok
David Chen
@Obiwan777
Oct 09 2017 23:07
yes\
Stephen James
@sjames1958gm
Oct 09 2017 23:08
@Obiwan777 I would use regular expression.
David Chen
@Obiwan777
Oct 09 2017 23:09
so find() wont achieve this
line.re(r'/apng/assembler/data, [^200]') ?
Stephen James
@sjames1958gm
Oct 09 2017 23:12
@Obiwan777 You probably could do it with find
David Chen
@Obiwan777
Oct 09 2017 23:13
if line.find("/apng/assembler/data")!= -1 and line.find("200")!=-1
?
Stephen James
@sjames1958gm
Oct 09 2017 23:13
@Obiwan777 Yes. I would do it without the split
David Chen
@Obiwan777
Oct 09 2017 23:14
reason why im using split
is because there are 200 elsewhere as well, but i just want the result from that index
thats why I located it first
then do the calculate
Stephen James
@sjames1958gm
Oct 09 2017 23:18
@Obiwan777 you could find " 200 " -
David Chen
@Obiwan777
Oct 09 2017 23:32
@sjames1958gm it works with and
Stephen James
@sjames1958gm
Oct 09 2017 23:32
@Obiwan777 :+1:
David Chen
@Obiwan777
Oct 09 2017 23:32
@sjames1958gm thx for the help
CamperBot
@camperbot
Oct 09 2017 23:32
obiwan777 sends brownie points to @sjames1958gm :sparkles: :thumbsup: :sparkles:
:star2: 8531 | @sjames1958gm |http://www.freecodecamp.com/sjames1958gm
David Chen
@Obiwan777
Oct 09 2017 23:32
@sjames1958gm btw do you know
if I wand to find something not in the line. like no 200 how should I use it in the find()
line.find('!200') ?
Stephen James
@sjames1958gm
Oct 09 2017 23:38
@Obiwan777 == -1 vs != -1 ?
David Chen
@Obiwan777
Oct 09 2017 23:39
@sjames1958gm haha you are right just realize it
Stephen James
@sjames1958gm
Oct 09 2017 23:39
:)
Manish Giri
@Manish-Giri
Oct 09 2017 23:52
@DarrenfJ @heroiczero ty for all those delicious :cookie: s
CamperBot
@camperbot
Oct 09 2017 23:52
manish-giri sends brownie points to @darrenfj and @heroiczero :sparkles: :thumbsup: :sparkles:
:star2: 1851 | @heroiczero |http://www.freecodecamp.com/heroiczero
:star2: 2108 | @darrenfj |http://www.freecodecamp.com/darrenfj