These are chat archives for FreeCodeCamp/Help

21st
Oct 2018
Anand Potukuchi
@anandpotukchi
Oct 21 2018 02:26
Good morning
Christopher McCormack
@cmccormack
Oct 21 2018 03:29
@anandpotukchi morning
Tom
@moT01
Oct 21 2018 04:07
@cmccormack you around still?
Christopher McCormack
@cmccormack
Oct 21 2018 04:11
@moT01 yo
Tom
@moT01
Oct 21 2018 04:14
nevermind
was having an issue
not happening anymore
gonna make some contributions?
Christopher McCormack
@cmccormack
Oct 21 2018 04:15
@moT01 I'll remember to wait 4 minutes to respond from now on :)
I made a few today!
Tom
@moT01
Oct 21 2018 04:15
nice
you get the repo running locally?
Christopher McCormack
@cmccormack
Oct 21 2018 04:15
nope
didn't even try
Tom
@moT01
Oct 21 2018 04:16
they look good
like you put in a good effort
Christopher McCormack
@cmccormack
Oct 21 2018 04:17
I didn't want my first contributions to be low effort
and thanks!
Tom
@moT01
Oct 21 2018 04:18
i was just merging a bunch of guide PR's and there's a lot that dont seem necessary
but i dunno, i guess if a semi colon is missing - its missing
Christopher McCormack
@cmccormack
Oct 21 2018 04:18
Ah so not the guide but the PR itself?
I don't think I clicked on a single PR that was worth much when browsing around
Tom
@moT01
Oct 21 2018 04:19
right
Christopher McCormack
@cmccormack
Oct 21 2018 04:19
many of them seemed like outright trying to game the system
Tom
@moT01
Oct 21 2018 04:19
yea
and its insane, there's so many PRs being added right now
Christopher McCormack
@cmccormack
Oct 21 2018 04:19
like someone put the link for https://www.freecodecamp.org in the additional resources... of an FCC guide...
Tom
@moT01
Oct 21 2018 04:20
yea
Christopher McCormack
@cmccormack
Oct 21 2018 04:21
Someone should make a Tinder app for approving merges
swipe right or left or whatever to reject
Tom
@moT01
Oct 21 2018 04:21
yea, something
Christopher McCormack
@cmccormack
Oct 21 2018 04:21
See, personally, I would approve that one
Tom
@moT01
Oct 21 2018 04:22
yea, i did
the hyphen is missing
Christopher McCormack
@cmccormack
Oct 21 2018 04:22
I don't know if I understand why some of the approvers are so loathe to approve some changes, if it adds even a little bit of detail is it not fine?
Tom
@moT01
Oct 21 2018 04:22
it improves it
Christopher McCormack
@cmccormack
Oct 21 2018 04:22
yeah
it's not like it costs anything to approve it right?
Tom
@moT01
Oct 21 2018 04:22
the very minimum, but better none the less
im not paying anything that's for sure
Christopher McCormack
@cmccormack
Oct 21 2018 04:23
haha
Tom
@moT01
Oct 21 2018 04:23
donating time
Christopher McCormack
@cmccormack
Oct 21 2018 04:23
yeah great point
man I really would not like to see what that donation looked like if equated to dollars haha
Tom
@moT01
Oct 21 2018 04:25
me alone, i feel pretty good about donating my time - helping out a little anyway
this one got rejected
Christopher McCormack
@cmccormack
Oct 21 2018 04:26
It provides some benefit to us I guess, satisfaction, good conversation, etc..
Good
I don't know if I've ever seen a header with periods at the end
Tom
@moT01
Oct 21 2018 04:29
im hesitant to merge things
Christopher McCormack
@cmccormack
Oct 21 2018 04:31
probably a good idea
do you invalidate a lot more than you approve?
Tom
@moT01
Oct 21 2018 04:32
no
not on the guides
ive only merged a couple things before tonight
i usually just close issues that suck
Christopher McCormack
@cmccormack
Oct 21 2018 04:37
close or invalid?
Tom
@moT01
Oct 21 2018 04:38
what
Christopher McCormack
@cmccormack
Oct 21 2018 04:38
I thought I read they should be marked invalid or whatever
or do you mark them that way then close?
Tom
@moT01
Oct 21 2018 04:40
ill just close them if I think they're no good
usually when their a duplicate
Ill try and get some issue's moving that have been stale, by commenting and seeing if there's still a problem
and if there's no response after a while I might close it
Christopher McCormack
@cmccormack
Oct 21 2018 04:41
Is that easy to track?
Tom
@moT01
Oct 21 2018 04:42
not at all
i havent been doing it as much lately
but i went through most of the issues a couple times
so when a new one would open, i would remember if I had seen it before
so you kinda gotta stay on top of it
Christopher McCormack
@cmccormack
Oct 21 2018 04:43
Sounds rough
Tom
@moT01
Oct 21 2018 04:43
just like you would with the codebase
it's changed so much lately, gotta go figure out where everything is and how to work it again
if you dont stay on top of it
Christopher McCormack
@cmccormack
Oct 21 2018 04:45
Sounds like they are close to improving the local version so it's easier to clone and work from locally
Tom
@moT01
Oct 21 2018 04:46
I hope so
I couldnt get it running the last couple times I tried
Christopher McCormack
@cmccormack
Oct 21 2018 04:47
hopefully it's been simplified to make it easier in the future
Tom
@moT01
Oct 21 2018 04:49
about 10 new PR's in the last 20 minutes
im going to bed, cya
Christopher McCormack
@cmccormack
Oct 21 2018 04:51
See ya
Danny McVey
@dannymcvey
Oct 21 2018 05:06
Hello fCC. I’ll be here working on my tribute page if anybody needs help with HTML or CSS stuff.
Christopher McCormack
@cmccormack
Oct 21 2018 05:11
@dannymcvey hiya
Danny McVey
@dannymcvey
Oct 21 2018 05:16
Hi @cmccormack .
Did you do the tribute page challenge?
Christopher McCormack
@cmccormack
Oct 21 2018 05:17
I did
Danny McVey
@dannymcvey
Oct 21 2018 05:17
Mind if I look at yours?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:17
So nice of you @dannymcvey
I'm pretty sure his skills have improved a ton since then
So, just starting out with the projects eh, @dannymcvey
Danny McVey
@dannymcvey
Oct 21 2018 05:22
I’ve been playing around with HTML and CSS for 20 years or so. New to JavaScript. I struggle with design…I can church out a page like the example in a matter of minutes, but I feel compelled to go beyond that.
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:24
Try adding animation, good typography and experiment with Colors
It's pretty much just that
Christopher McCormack
@cmccormack
Oct 21 2018 05:24
Yup I made this almost two years ago so no judgement :) Codepen
Danny McVey
@dannymcvey
Oct 21 2018 05:24
Yeah, I know about all that stuff…I just keep overthinking the design and end up making little progress over long periods of time.
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:25
(note that a search will give you a ton of resources)
Danny McVey
@dannymcvey
Oct 21 2018 05:26
Actually @cmccormack , I went ahead and cloned your FreeCodeCamp respository and took a look already. Thanks anyway! Good stuff btw
Christopher McCormack
@cmccormack
Oct 21 2018 05:26
Thanks!
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:26
@dannymcvey i get that. The best thing to do is draw a minimalistic layout on a piece of paper and recreate it
@cmccormack you have a repo.. like with all your code?
Danny McVey
@dannymcvey
Oct 21 2018 05:26
Good idea…wire framing…I always forget!
@anandpotukchi His GitHub is linked in his Gitter profile.
Christopher McCormack
@cmccormack
Oct 21 2018 05:28
@anandpotukchi yeah man I like to keep it all public to share
https://wireframe.cc/ is pretty simple to use
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:28
Or you could do it the digital way – sketch , Photoshop , experience design
@cmccormack people could just copy off it
Christopher McCormack
@cmccormack
Oct 21 2018 05:29
@anandpotukchi doesn't bother me
Danny McVey
@dannymcvey
Oct 21 2018 05:29
YES. Thank you @cmccormack
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:29
What else is going on
Christopher McCormack
@cmccormack
Oct 21 2018 05:29
doesn't help them if they just copy it, the point is to learn
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:30
My laptop is shot again
Did you know that gitter on phone sucks?
Danny McVey
@dannymcvey
Oct 21 2018 05:30
How so @anandpotukchi ?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:31
Can't edit sent messages
@dannymcvey ?
Danny McVey
@dannymcvey
Oct 21 2018 05:31
It does indeed suck.
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:33
See? I can't delete my last message
And autocorrect is worse. So embarrassing
Danny McVey
@dannymcvey
Oct 21 2018 05:34
Just try and slow down. That’s all.
Danny McVey
@dannymcvey
Oct 21 2018 05:42
How about you, @anandpotukchi ? Can I see your tribute page?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 05:50
@dannymcvey sure
Danny McVey
@dannymcvey
Oct 21 2018 05:51
Nice.
glitz20
@glitz20
Oct 21 2018 07:12
anybody knows solution to this
   this.props.history.push('/login');
in react
Cannot read property 'push' of undefined
Anand Potukuchi
@anandpotukchi
Oct 21 2018 08:26
@sabin20 have you tried removing the '/'
Oops
glitz20
@glitz20
Oct 21 2018 08:29
yeah its not working
@anandpotukchi
~~~
class AddItem extends Component {

    constructor(props) {
        super(props);
        this.state = {
            title: '',
            prize: '',
            introduction: '',
            question: '',

        };
        this.addItemService = new ItemService();

        this.handleChange = this.handleChange.bind(this);
        this.handleSubmit = this.handleSubmit.bind(this);
    }

    handleChange(event) {
        this.setState({ [event.target.name]: event.target.value });
    }




    handleSubmit(event) {
        event.preventDefault();
        this.addItemService.sendData({
            title: this.state.title,
            prize: this.state.prize,
            introduction: this.state.introduction,
            question: this.state.question
        })
        this.props.history.push('/'); 
    }
here is the code
glitz20
@glitz20
Oct 21 2018 08:37
@anandpotukchi
Manish Giri
@Manish-Giri
Oct 21 2018 08:49
@sabin20 console.log(this.props.history)
check what that prints
Ahmad Abdolsaheb
@ahmadabdolsaheb
Oct 21 2018 09:00
hey everyone, where can I get some freecodecamp statistics? such as active users? certificated completions? .... thank you.
Bjorn van de Peut
@bjorno43
Oct 21 2018 10:25
@ahmadabdolsaheb I'm not sure if that information is publicly available. But if it is, your best chance of getting an answer to that question is by asking it in our Contributors room
Niraj Nandish
@Nirajn2311
Oct 21 2018 11:49
2018-10-21 15.05.51.jpg
@thekholm80 looks like @bjorno43 is going to win hacktoberfest
Anand Potukuchi
@anandpotukchi
Oct 21 2018 12:25
Lol
Is there anyduch thing as winning? I thought everyone got t-shirts and stickers
*any such
Niraj Nandish
@Nirajn2311
Oct 21 2018 12:26
@anandpotukchi and yet people are fighting for that like cats
Anand Potukuchi
@anandpotukchi
Oct 21 2018 12:34
and dogs?
what are the dogs doing
Niraj Nandish
@Nirajn2311
Oct 21 2018 12:38
:cat: and :dog:
Niraj Nandish
@Nirajn2311
Oct 21 2018 12:44
The dogs were busy
Kyle Holm
@thekholm80
Oct 21 2018 13:14
@Nirajn2311 lol
Anand Potukuchi
@anandpotukchi
Oct 21 2018 13:29
has anyoen watched Sierra Burgess is a a Loser on Netflix?
May Kittens Devour Your Soul
@diomed
Oct 21 2018 13:30
no, but I heard it's good
Anand Potukuchi
@anandpotukchi
Oct 21 2018 13:30
lol
Aita Kane
@aita-kane
Oct 21 2018 13:30
@anandpotukchi yes I did and i love it
May Kittens Devour Your Soul
@diomed
Oct 21 2018 13:30
@aita-kane told me it is good
that's how I've heard
Anand Potukuchi
@anandpotukchi
Oct 21 2018 13:31
Good. Because im getting 20+ ads per day
:angry:
anyone here attend University of Illinois at Springfield?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 13:36
anyone from Illinois?
May Kittens Devour Your Soul
@diomed
Oct 21 2018 13:50
@anandpotukchi 8th grade is a good movie . I saw it today
Aita Kane
@aita-kane
Oct 21 2018 14:10
@diomed lol
hello can someone help me please with codeigniter
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:26
@thekholm80
const data = [
  { id: 'snare', letter: 'Q', src: 'https://www.myinstants.com/media/sounds/snare.mp3' },
  { id: 'bass 1', letter: 'W', src: 'https://www.myinstants.com/media/sounds/bass-drum.mp3' },
  { id: 'bongo', letter: 'E', src: 'http://tipiwiki.free.fr/snd/Percussion(4e)2.wav' },
  { id: 'tom tom', letter: 'A', src: 'http://www.denhaku.com/r_box/sr16/sr16tom/loelectm.wav' },
  { id: 'bass 3', letter: 'S', src: 'http://billor.chsh.chc.edu.tw/sound/bass4.wav' },
  { id: 'shotgun', letter: 'D', src: 'http://david.guerrero.free.fr/Effects/ShotgunReload.wav' },
  { id: 'high hat', letter: 'Z', src: 'http://www.denhaku.com/r_box/tr707/closed.wav' },
  { id: 'drum hit', letter: 'X', src: 'http://www.masterbits.de/sc_docu/sounds1/1TM00013.MP3' },
  { id: 'laser', letter: 'C', src: 'http://www.sa-matra.net/sounds/starcontrol/Umgah-Backzip.wav'  },
]


class DrumPad extends React.Component {
  constructor(props){
    super(props);

    this.handleClick  = this.handleClick.bind(this);
  }


  handleClick => (e) {
      this.audio.play()
      this.audio.currentTime = 0
  }

  render() {
    return(
      <div className='container'>
         <div className='row'>

<button className="btn drum-pad" onClick={ this.handleOnClick } id={this.props.id}>
           {this.props.letter}
            <audio id={this.props.letter}
               className='clip'
               src={this.props.src}
               ref={ref => this.audio = ref}
          ></audio>
          </button>

            </div>
      </div>
    );
  }
} 

class App extends React.Component {

  render() {
    return(

        <div id="drum-machine">
        <div id="display"></div>


        {data.map(d => (
          <DrumPad
            key={d.id}
            id={d.id}
            letter={d.letter}
            src={d.src}
            handleDisplay={this.handleDisplay}
          />   
         ))}
        </div>
    );
  }
}

ReactDOM.render(
   <App />,
    document.getElementById('root')
  );
any idea wjuy my click isn't working
Aditya
@ezioda004
Oct 21 2018 14:27
handleClick => (e) {
      this.audio.play()
      this.audio.currentTime = 0
  }
Syntax error
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:29
@ezioda004 added a ;
and a =
Niraj Nandish
@Nirajn2311
Oct 21 2018 14:30
@anandpotukchi did you try binding? I'm not sure if I am right
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:30
@Nirajn2311 yup
Aditya
@ezioda004
Oct 21 2018 14:31
@anandpotukchi Is it still not working?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:32
nope
Aditya
@ezioda004
Oct 21 2018 14:32
Check console for error? You have to learn debugging at some point ya know?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:34
@ezioda004 console is empty
I logged the event
Aditya
@ezioda004
Oct 21 2018 14:35
Codepen or something?
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:36
browser console
Aditya
@ezioda004
Oct 21 2018 14:38
I meant - do you have link to your project?
Aditya
@ezioda004
Oct 21 2018 14:41
onClick={ this.handleOnClick }
Change it to this.handleClick
You need a linter
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:48
oops
Ahmad Abdolsaheb
@ahmadabdolsaheb
Oct 21 2018 14:49
Thanks @bjorno43
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:49
still not working
Aditya
@ezioda004
Oct 21 2018 14:52
@anandpotukchi Works for me
Niraj Nandish
@Nirajn2311
Oct 21 2018 14:52
is it advisory to put heroku api key in travis.yml and push it to github
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:54
yup
works thansks
Anand Potukuchi
@anandpotukchi
Oct 21 2018 14:59
how do I demonstrate the button press on keypress
@ezioda004
Aditya
@ezioda004
Oct 21 2018 15:04
I dont get your question.
Anand Potukuchi
@anandpotukchi
Oct 21 2018 15:05
i want the button to be pressd on keypress
Aditya
@ezioda004
Oct 21 2018 15:10
You're pressing the keyboards button on keypress :trollface:
Anand Potukuchi
@anandpotukchi
Oct 21 2018 15:12
can a afew of you please shar e your drum machines
in need iseas to imoprove design
Niraj Nandish
@Nirajn2311
Oct 21 2018 15:13
is it advisory to put heroku api key in travis.yml and push it to github
@ezioda004 👆
Anand Potukuchi
@anandpotukchi
Oct 21 2018 15:15
@Nirajn2311 nope
put in an env
and then call it
Aita Kane
@aita-kane
Oct 21 2018 16:19
hello who knows a great ajax ACL for codeigniter ?
Niraj Nandish
@Nirajn2311
Oct 21 2018 16:23
@anandpotukchi ohkayyy, so how do i do it?
i havent used env files before, so could you please help me out
Anand Potukuchi
@anandpotukchi
Oct 21 2018 16:46
@Nirajn2311 google
My drum machine is done - at last
Aditya
@ezioda004
Oct 21 2018 17:14
Doesnt seem to pass some tests
Anand Potukuchi
@anandpotukchi
Oct 21 2018 17:16
are you sure
I just checked
@ezioda004
Aditya
@ezioda004
Oct 21 2018 17:18
6/8
Anand Potukuchi
@anandpotukchi
Oct 21 2018 17:18
@ezioda004 the only thing I couldn't do is chnage css on button click
you sure
because in my broswer it passes all
can someone verify this
Aditya
@ezioda004
Oct 21 2018 17:19
Now it works :thumbsup:
Anand Potukuchi
@anandpotukchi
Oct 21 2018 17:20
:thumbsup:
A tip on the css thing?
Aditya
@ezioda004
Oct 21 2018 17:22
Add tab index to the buttons.
Anand Potukuchi
@anandpotukchi
Oct 21 2018 17:23
:thumbsup:
May Kittens Devour Your Soul
@diomed
Oct 21 2018 19:13
just the tip
Niraj Nandish
@Nirajn2311
Oct 21 2018 19:14
Heres a tip @diomed - :fish: :fish:
May Kittens Devour Your Soul
@diomed
Oct 21 2018 19:17
here fishy fishy fishy
Niraj Nandish
@Nirajn2311
Oct 21 2018 19:18
@diomed do you know how to use env files
diomed @diomed assumes Jon Snow
Tom
@moT01
Oct 21 2018 19:44
@Nirajn2311 any luck?
Christopher McCormack
@cmccormack
Oct 21 2018 19:46
@Nirajn2311 what kind of project are you doing? .env files are usually just a text file that sits at the root of your package, and you can use something like dotenv package to easily access that file. In Heroku, they use a custom options section to enter environmental variables
dotenv and Heroku both store the values in your process.env object for later access
These are used often for Database and API secrets
Tom
@moT01
Oct 21 2018 19:47
there he is again, trying to steal my brownies
Christopher McCormack
@cmccormack
Oct 21 2018 19:48
all mine!
I'm actually kind of glad there aren't cookies anymore
Tom
@moT01
Oct 21 2018 19:48
why
Christopher McCormack
@cmccormack
Oct 21 2018 19:49
Before it felt kind of strange to say thanks about something because you camperbot was going to butt in
made the whole thing feel somewhat fake for some reason
Tom
@moT01
Oct 21 2018 19:51
the worst was explaining to people to go in the room and click your name and type thanks
Aditya
@ezioda004
Oct 21 2018 19:51
@cmccormack Idk about you but I liked approval of strangers on the internet via cookies
Christopher McCormack
@cmccormack
Oct 21 2018 19:51
haha
@ezioda004 oh don't get me wrong it was nice when actually answering questions, but if you were just jaw jacking with other people we didn't want to keep tossing cookies around, or have the error message pop up all the time
ew tossing cookies
Tom
@moT01
Oct 21 2018 19:53
i remember one guy whos name was "gracia"
with something attached to it
Niraj Nandish
@Nirajn2311
Oct 21 2018 19:53
@cmccormack i didnt want to put my heroku api key in travis.yml so Anand suggested me to use env files, and i have no experince in them
Tom
@moT01
Oct 21 2018 19:53
so anytime you wanted to tag him, camperbot would butt in
Aditya
@ezioda004
Oct 21 2018 19:53
@cmccormack I remember busting a guy who made a bot to thank him every day lol
But I guess he wanted to keep the coding streak alive rather than cookies or maybe both
Niraj Nandish
@Nirajn2311
Oct 21 2018 19:56
@ezioda004 for every PR that is related to translation, we have to put the label corresponding to that language??
Christopher McCormack
@cmccormack
Oct 21 2018 19:56
I bet @chris got a lot of cookies due to a lack of understanding haha
@jason too probably
Aditya
@ezioda004
Oct 21 2018 19:56
@Nirajn2311 Not really, but if you can then go ahead
Tom
@moT01
Oct 21 2018 19:57
gotta work for some points these days
i wonder if james got to 10k yet
Christopher McCormack
@cmccormack
Oct 21 2018 19:58
he was close, I wonder if he did all the Interview Prep exercises to get there haha
Niraj Nandish
@Nirajn2311
Oct 21 2018 19:58
What cookies are we talking about
Tom
@moT01
Oct 21 2018 19:58
there was some talk about giving points for github activity at one point
Christopher McCormack
@cmccormack
Oct 21 2018 19:59
@Nirajn2311 if you go to your FCC settings you probably have a point value
Tom
@moT01
Oct 21 2018 19:59
(fcc github activity)
Aditya
@ezioda004
Oct 21 2018 19:59

Bring camper bot back 🤖

Christopher McCormack
@cmccormack
Oct 21 2018 20:00
used to be if you helped someone in Gitter and they @mentioned you and included some variation of "thanks" you would get a cookie
or brownie point
Tom
@moT01
Oct 21 2018 20:03
i had an idea to have camperbot control github issues
force issue creators to follow a naming convention
Aditya
@ezioda004
Oct 21 2018 20:04
Is the API for camper leaderboard ever going to be fixed?
Tom
@moT01
Oct 21 2018 20:04
or close it
May Kittens Devour Your Soul
@diomed
Oct 21 2018 20:04
this place used to run on cookies. now it runs on desperation
Tom
@moT01
Oct 21 2018 20:06
now its just a place for people used to eat a lot of cookies, all the people who need help now go to the forum
Christopher McCormack
@cmccormack
Oct 21 2018 20:08
@ezioda004 I ask every other day who maintains those apis/boilerplates/exercise examples and never get a response. I bet we could contact the creator and ask if we can submit pull requests to fix though
Tom
@moT01
Oct 21 2018 20:09
get on it @cmccormack
Aditya
@ezioda004
Oct 21 2018 20:09
@cmccormack Yeah where is the repo for it? I believe we can make a PR and ask Quincy to merge it (assuming the repo is under fcc)
Christopher McCormack
@cmccormack
Oct 21 2018 20:10
@moT01 I don't have rights yet :)
I usually just search the name in glitch if they host it there
@moT01 wait that was dumb, don't need rights for a pull request
haha
Tom
@moT01
Oct 21 2018 20:10
im pretty sure quincy will allow anything that helps, especially from someone who doesnt suck
Christopher McCormack
@cmccormack
Oct 21 2018 20:11
I worry those are not maintained at all, I see PRs on some of them going back at least a year
Tom
@moT01
Oct 21 2018 20:11
cept camperbot was an essential part of the leaderboard, so you would have to fix that first
lookin pretty quiet lately
Niraj Nandish
@Nirajn2311
Oct 21 2018 20:14
@moT01 don't you feel that it is odd to not have a log out button in nav bar
Tom
@moT01
Oct 21 2018 20:15
i think the navbar has a lot of issues, that one.... really not a big deal in my opinion
Tom
@moT01
Oct 21 2018 20:15
prime real estate to dedicate an area for a logout button
Niraj Nandish
@Nirajn2311
Oct 21 2018 20:16
What about a dropdown
Christopher McCormack
@cmccormack
Oct 21 2018 20:16
@moT01 he's been pretty busy with work last I heard
Tom
@moT01
Oct 21 2018 20:16
@Nirajn2311 that, I like
Niraj Nandish
@Nirajn2311
Oct 21 2018 20:16
As i think some people might miss the sign out in settings
Christopher McCormack
@cmccormack
Oct 21 2018 20:17
@Nirajn2311 why encourage users to sign out :)
Tom
@moT01
Oct 21 2018 20:17
@cmccormack well, someone should call his boss - and tell him there other matters he needs to take care of
Christopher McCormack
@cmccormack
Oct 21 2018 20:17
haha
Aditya
@ezioda004
Oct 21 2018 20:17
A dropdown hover over avatar would be nice
Niraj Nandish
@Nirajn2311
Oct 21 2018 20:18
@cmccormack not encourage, but you never know when a person wants to logout for what so ever reaso
Tom
@moT01
Oct 21 2018 20:18
i tried to attempt some changes to the navbar a few times - but it was too complicated for me to continue
@Nirajn2311 on discord its even harder to logout
Aditya
@ezioda004
Oct 21 2018 20:19
Discord is a totally different webapp
Christopher McCormack
@cmccormack
Oct 21 2018 20:19
Clicking your face/settings brings you to settings and sign out is right at the top
making it a drop down now means two clicks for settings
Tom
@moT01
Oct 21 2018 20:20
@ezioda004 how? the browser version...
Christopher McCormack
@cmccormack
Oct 21 2018 20:20
but you could add a gear that brings you to settings and keep the avatar for sign-out/profile something
Tom
@moT01
Oct 21 2018 20:20
gotta click the settings, and find a tiny little logout button at the bottom
Aditya
@ezioda004
Oct 21 2018 20:21
@moT01 How can you compare it with fcc? Discord is an app like slack. You might as well compare fcc to facebook
Tom
@moT01
Oct 21 2018 20:21
took me like 10 minutes to find the logout button the first time
Ghost
@ghost~5b53da7dd73408ce4fa1d2e5
Oct 21 2018 20:22
In, express js. Why we have to do app.use(express.static("public")); and the one with app.get ("/" ..... like the one below. Why don't we just use the second one?
app.use(express.static("public"));  

app.get("/", (req, res) => {
  res.sendFile(__dirname + "/public/index.html");
})
Tom
@moT01
Oct 21 2018 20:22
cause I use it in the browser
its not an app if you use it in the browser
well, maybe
semantics
Aditya
@ezioda004
Oct 21 2018 20:24
Ofcourse, its also an electron app, not a fair comparison IMO
Christopher McCormack
@cmccormack
Oct 21 2018 20:25
@isemaj_gitlab the static server is to handle all types of files like CSS files, etc.. it takes care of mimetypes and all that I believe
you probably don't want to deal with serving each file individually if you have a bunch of stylesheets/images/scripts
May Kittens Devour Your Soul
@diomed
Oct 21 2018 20:26
one by one they all fall down... like toy soldiers
Christopher McCormack
@cmccormack
Oct 21 2018 20:26
On a normal webserver the server handles all that for you, but an express app isn't a standard web server, by default you program all the work, so static helps make it a lot easier
@diomed so melancholy today
Aditya
@ezioda004
Oct 21 2018 20:27
express.static() just needs the root directory, other express methods require absolute file paths
Ghost
@ghost~5b53da7dd73408ce4fa1d2e5
Oct 21 2018 20:28
ok. thank you. Btw why we have Freecodecamp Discord and then we have here in Gitter?
Aditya
@ezioda004
Oct 21 2018 20:28
Its not an "official" discord server
Christopher McCormack
@cmccormack
Oct 21 2018 20:28
@isemaj_gitlab Those are the rebels
Ghost
@ghost~5b53da7dd73408ce4fa1d2e5
Oct 21 2018 20:30
oh ok
May Kittens Devour Your Soul
@diomed
Oct 21 2018 20:30
those are just rats that left the sinking ship
hue hue hue :smiling_imp:
Ghost
@ghost~5b53da7dd73408ce4fa1d2e5
Oct 21 2018 20:31
Then I think we have to put on the website this is the official chat room. For the benefit of newcomers.
Christopher McCormack
@cmccormack
Oct 21 2018 20:33
I think the chat room is being intentionally deprecated as the forum is the preferred venue for asking questions. I don't personally agree with that, but I can understand it some
There used to be floods of the same questions in the channels over and over all day
May Kittens Devour Your Soul
@diomed
Oct 21 2018 20:35
this way forum is flooded and I dont go to forum so that's ok
Christopher McCormack
@cmccormack
Oct 21 2018 20:35
@diomed I agree :)
Aditya
@ezioda004
Oct 21 2018 20:56
There should still be a choice provided - like if you click on "Get Help" it should give you 2 options: chat or forums
Christopher McCormack
@cmccormack
Oct 21 2018 20:57
Chat used to be there in Settings but I don't see it now
May Kittens Devour Your Soul
@diomed
Oct 21 2018 21:12
@Nirajn2311 make me vue cards
Bjorn van de Peut
@bjorno43
Oct 21 2018 22:02
@cmccormack Chat has been removed for quite some time now. We prefered people going to the forums when in need of help because of the benefits that the forum provides. Like usually faster response, but also searchable history etc
Christopher McCormack
@cmccormack
Oct 21 2018 22:03
Faster than chat?
no way
unless it's slow I guess :)
Bjorn van de Peut
@bjorno43
Oct 21 2018 22:04
It is though. I mean, not really when we're around. But during daytime (for me), the chat is quite "dead". It can take hours before someone gets an answer
Philip Durbin
@pdurbin
Oct 21 2018 22:05
Nothing is faster than chat. :)
Bjorn van de Peut
@bjorno43
Oct 21 2018 22:05
@pdurbin Tell that to quantum entanglement :joy:
Philip Durbin
@pdurbin
Oct 21 2018 22:05
!
My kid's soccer team came up with a chant that started with "faster than light" but the coaches quickly corrected them.
Bjorn van de Peut
@bjorno43
Oct 21 2018 22:08
Ghehe. So far there isn't any proof of something being faster than light. The most viable theory might be tachyons. Quantum entanglement might seem "faster", but because it's instant, there isn't any speed involved
Philip Durbin
@pdurbin
Oct 21 2018 22:10
I'm reading Leviathan Wakes right now and I can't remember how they get around. Seems pretty fast though.
Christopher McCormack
@cmccormack
Oct 21 2018 22:10
it's still relativistic
I think they had some super drive but they have to spin around halfway there then accelerate backward to slow down or risk slamming into their destination
Bjorn van de Peut
@bjorno43
Oct 21 2018 22:14
Then again, the rate at which the universe expanded during the big bang, was much faster than the speed of light. So ye, it's possible