These are chat archives for dcsan/gitterbot

19th
Aug 2015
dc
@dcsan
Aug 19 2015 04:14
@abhisekp did you finish that contribution, you know removing the comment from that line of code?
here's the line ^
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:16
@dcsan ok. Doing it in local bot and testing.
dc
@dcsan
Aug 19 2015 04:17
tho its possible i did it already.
i wanted to leave something for you to do so you could be productive
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:17
I've my bot playground at https://gitter.im/GitterBotX/playground
dc
@dcsan
Aug 19 2015 04:18
it doesnt really matter unless you actually finish something
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:18
ok. I understand.
you said to just remove that line. But I can't do that blindly. I need to understand the bot overall and what it's doing.
I'm trying to know about the bot.
I think, that way I could be more productive. :)
dc
@dcsan
Aug 19 2015 04:21
only way to do find out is to start
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:22
could you suggest a direction in the bot repo to look for getting to know about the bot?
Currently, all I could do is Room management of the bot
dc
@dcsan
Aug 19 2015 04:22
walk through the demo command
echo
and figure out the flow
you could use a debugger and see what gets called in order
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:23

What does the following do:

{
            title: "fccbhubaneswar",
            name: "FreeCodeCamp/Bhubaneswar",
            icon: "star",
            topics: ["getting started"]
}

What's the title, icon and topicsfor?

dc
@dcsan
Aug 19 2015 04:23
not used anymoer
rooms could just be a flat array now
quincy wants me to add the bot to a bunch of other rooms
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:24
so it needs refactoring
dc
@dcsan
Aug 19 2015 04:24
do you think you'd be up for doing that?
you could also refac that as a flat array too
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:25
it would have been nice to refactor it just in a single file without worrying about breaking other things. Is that the case here?
or it might break other things?
dc
@dcsan
Aug 19 2015 04:27
dcsan/gitterbot#148
i think it should work
there are some tests
one thing is that joining rooms only runs on production server
so you can't really test it easily
gitter API will fail too as you go over the rate limit
for api calls

these are the differences of writing real software vs playing with regexes
Abhisek Pattnaik
@abhisekp
Aug 19 2015 04:29
hmm... there are many factors playing around in the environment.
Abhisek Pattnaik
@abhisekp
Aug 19 2015 13:29

What's the issue when I clone it?

Doesn't happen when i clone it in C9.io
Abhisek Pattnaik
@abhisekp
Aug 19 2015 13:52
@dcsan Serious error! I can't edit this repo in Windows because of the colon : character in the filename. :( :point_up: August 19, 2015 6:59 PM
Abhisek Pattnaik
@abhisekp
Aug 19 2015 13:58
shouldn't the node_modules directory and this wiki directory be gitignored so that they don't show up in the repo? Technically, they shouldn't be included in the repo because they're not source files. They're only additional files which can be download later.
@dcsan see what happens when I try to commit my changes.
Since I'm on windows, that wiki .md file doesn't get added in the working tree after cloning. So it means for git the file is deleted outside of git and when I try to commit my changes, it automatically adds that file to staging and ready for commit. And hence I'm unable to make a commit. :(
Abhisek Pattnaik
@abhisekp
Aug 19 2015 14:33

@dcsan I've worked 2 hours 29 minutes 32 seconds on d:/GitRepos/gitterbot/nap/data/RoomData.js file but was unable to commit :( . Will find a way to commit my changes :) .

https://wakatime.com/@abhisekp/projects/xsfbwyikst

WakaTime GitterBot

Abhisek Pattnaik
@abhisekp
Aug 19 2015 15:14
This message was deleted
dc
@dcsan
Aug 19 2015 16:45
find quick
CamperBot
@camperbot
Aug 19 2015 16:45

find quick

:zero: quick tip: keep data in sync

dc
@dcsan
Aug 19 2015 16:46
@abhisekp OK i renamed that file, that's a temp fix
can you try pulling?
Abhisek Pattnaik
@abhisekp
Aug 19 2015 16:47
@dcsan i think we should ignore node_modules and data/wiki directories
dc
@dcsan
Aug 19 2015 16:47
yeh we could but then i need to change the deploy script
i dont have any time today maybe tmrw
look at bin/wiki-update.sh
and bin/deploy.sh
bin/git-clean.sh
Abhisek Pattnaik
@abhisekp
Aug 19 2015 16:48
it's not required to include them in the repo. They're redundant.
The files in data/wiki directory are auto created anyway!
with the update command, i guess
dc
@dcsan
Aug 19 2015 16:48
yea
well, be my guest to try it out
just do it in a branch
and bear in mind - submodules
so what you expect to happen may not
Abhisek Pattnaik
@abhisekp
Aug 19 2015 16:49
sure! But I'm currently linting and js-beautifying. :P
@dcsan I've already done the fcc room additions. Will push soon.
dc
@dcsan
Aug 19 2015 16:50
k
Abhisek Pattnaik
@abhisekp
Aug 19 2015 16:51
you can then review and suggest any modifications. :)
Abhisek Pattnaik
@abhisekp
Aug 19 2015 18:41
@dcsan Demo http://repl.it/BC6k/7
DTing
@dting
Aug 19 2015 19:11
@dcsan We should make camperbot echo @freecodecamp tweets into the chat rooms
Abhisek Pattnaik
@abhisekp
Aug 19 2015 19:12
@dting you can post an issue
DTing
@dting
Aug 19 2015 19:13
sure
DTing
@dting
Aug 19 2015 19:54
haha when you type controller the bot picks up troll
CamperBot
@camperbot
Aug 19 2015 19:54
:trollface: troll problems? notify admins here
Abhisek Pattnaik
@abhisekp
Aug 19 2015 19:54
bot
CamperBot
@camperbot
Aug 19 2015 19:54

Hi, I'm CamperBot! I can help 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 BONFIRENAME info on a bonfire

:speech_balloon: meet CamperBot in this room!

:pencil: read more about camperbot on the FCC Wiki

Abhisek Pattnaik
@abhisekp
Aug 19 2015 19:54
controller
CamperBot
@camperbot
Aug 19 2015 19:54
:trollface: troll problems? notify admins here
dc
@dcsan
Aug 19 2015 20:46
@dting welcome back
do you have time to look at some camperbot code?
DTing
@dting
Aug 19 2015 20:46
sure
these are all "help wanted"
and these are the P1s that are outstanding
DTing
@dting
Aug 19 2015 20:52
@dcsan are we still switching to the realtime api?
dc
@dcsan
Aug 19 2015 20:53
thats the plan
DTing
@dting
Aug 19 2015 20:53
and does that effect dcsan/gitterbot#77
dc
@dcsan
Aug 19 2015 20:53
but i havent made a start on it yet
DMs? yeah
actually that's not DMs but related yes
picking up an event when someone enters a room
if you did feel like looking into that, it would be great
its a bit more complex stuff, but it may be able to live alongside our current code
DTing
@dting
Aug 19 2015 20:59
hmm. maybe i'll wait for the api refactor for that one. I added an issue about echoing tweets from @freecodecamp into the channels. any thoughts on that?
dc
@dcsan
Aug 19 2015 20:59
could do
not a big prio tho...
only occasionally would i tget used