« first day (1 day earlier)      last day (482 days later) » 

3:00 PM
@ProgramFOX As in: what are you up to?
 
@overactor At the error it gives? Well, I don't get an error there. Perhaps it's related to the fact that you do not use separate accounts and are using your main account while you are still in the room.
@overactor Going to make a module out of the Shadow's Den code now.
 
@ProgramFOX I'm still getting the error when using KarmaBot's account.
 
"the error"? Which one?
 
On $-stop or $+stop
 
I never get an error there, honestly. Can you post a stack trace?
 
user153821
3:03 PM
Bot started.
 
Bot started.
 
@ProgramFOX No, I mean that it doesn't post
sure
that's a problem too
 
What happens if there will be two bots?
 
C:\Users\Owen\Documents\Work\Programming\Python\Points\SE-Chatbot-master\SE-Chat
bot>C:/Python27/python.exe main.py -c "dev"
Site: stackexchange.com
Room number: 25323
<< $+stop
KeyError: '25323'
2015-07-01 15:03:17.808000 UTC
  File "main.py", line 43, in <module>
    bot.main(config_data, additional_general_config)

  File "C:\Users\Owen\Documents\Work\Programming\Python\Points\SE-Chatbot-master
\SE-Chatbot\Chatbot.py", line 154, in main
    command_out = self.command(command_in, None, None)
 
@overactor Yeah, I know the cause, and that is that the bot attempts to post a message after the method call but the bot dies in that call.
 
3:04 PM
I get that error too
 
@ArtOfCode You'll only get that error in case your websocket is dead when you want to stop. Under normal circumstances, you shouldn't get that.
 
@ProgramFOX Well my socket is dead every time then
It doesn't happen when using >>stop
Just from the console
 
Anyway I'll take a look at ChatExchange's code, because the error leads there.
 
Bot started.
 
>>listcommands
 
3:05 PM
@ArtOfCode Commands: alive, help, listcommands, random, randomchoice, randomint, shuffle, translate, utc, xkcd, xkcdrandomnumber
 
>>points
 
@ArtOfCode Command not found.
 
?
Thought so
 
I've just got it started
today :)
 
What you planning to do with it?
 
3:06 PM
Check out its profile :)
ParrotBot, In the Skies, Flying above...
31 5
 
Ah nice
So PB is our OSI bot and KB is our points bot
>>stop
 
@ArtOfCode Bot terminated.
 
MWAHAHA
 
I can stop that...
 
Yeah you can just remove me from the owner list, but...
 
3:08 PM
Haha
 
Bot started.
 
@ProgramFOX you do msg.reply()
 
I can reply to messages
 
but if it's called from the command line msg is None, right?
how about you pass some object with a reply function?
which just prints whatever is passed to it
 
Bot started.
 
3:10 PM
Obviously, replace the markdown and angle bracketed things with actual values
 
(erm, posts it to chat)
 
Yeah, okay
I had something similar
 
Hey @ParrotBot
 
Hello!
 
Good idea. On it.
 
3:11 PM
I can do it if you want to
 
Fixing a websocket there are we?
 
Actually, no I didn't do anything :/
 
No, PB. The bots fix their websockets if they break - there's something about that in the dev room
 
Oh
Oh yeah :)
 
then again, this could cause trouble
 
3:12 PM
I'll write your library on creating stars soon :) Hopefully should have it done today
 
Thanks, but I'm already working on it :)
 
because ah but wait, no
 
@Zizouz212 KB can create stars, but I need a dict of who's starred what
 
I meant that...
But I just need to figure out how to get the post data
 
Speaking of which, everyone, meet the first significant version of KarmaBot.
 
3:14 PM
will you instantiate a new Message object and replace the reply function?
 
Let's see :D
 
user153821
Bot started.
 
No, I'm creating a separate class which has a reply method which passes it to send_message on the room attribute of Chatbot.
 
>>listcommands
 
user153821
@Zizouz212 Commands: alive, help, listcommands, points, random, randomchoice, randomint, shuffle, translate, utc, xkcd, xkcdrandomnumber
 
3:15 PM
>>points
 
user153821
@Zizouz212 Not enough arguments.
 
>>points get
 
user153821
@Zizouz212 1000
 
@ArtOfCode That error is extremely weird because there is even a check that room_id is in self.sockets...
 
>>points get overactor
 
3:15 PM
@ProgramFOX You could also make one for $-
 
user153821
@Zizouz212 232
 
that on would only print
although
no, not necessary I suppose
 
The datafile is the same, so points from dev have carried over here
 
What new things can it do?
 
or is it?
 
3:16 PM
same as last time it was on dev ;)
>>points star 22500536
 
I don't know :)
 
...
>>points get
 
Not really necessary, but makes the code a bit cleaner. And I can just reuse ConsoleCommandHandler.
 
Bot started.
 
user153821
@ArtOfCode 900
 
3:17 PM
OK thanks KarmaBot, take my points and don't give me my star :(
 
I think that contacting organisations to say we have "launched" is premature until we know whether we will reach public beta.
 
>>points admin ArtOfCode 100
 
@ArtOfCode Command not found.
 
user153821
@ArtOfCode Changed points for ArtOfCode by 100. New total: 1000
 
@Zizouz212 Perhaps you should change your command prefix...
 
3:18 PM
@ProgramFOX What if people want to use other functionality of Message though?
 
That would be a good idea...
 
>>points get trichoplax
 
user153821
@ArtOfCode 200
 
>>help points
 
@ArtOfCode hello
 
user153821
3:19 PM
@ArtOfCode Manages points. Syntax: >>points give <user> <amount> to give points, >>points get to view your points, >>points get <user> to view another user's points, >>points star <id> to star a message, and >>points pin <id> to pin a message.
 
There is no other functionality of Message which makes sense to be replaced in ConsoleCommandHandler. An isinstance check will be necessary and it should reject console commands.
 
I gotta go, i'll be back in half an hour or so
 
cya
 
good luck with things
 
thanks
 
3:19 PM
>>points give KarmaBot 200
 
user153821
@trichoplax Changed points for KarmaBot by 200. New total: 10000000000000000000199
 
@trichoplax evening
And no, that's not a bug
KB has 999999999999999999999 or so by default
 
@ArtOfCode I just saw "get trichoplax" and it felt like a summoning...
 
but now check your points
 
I gave mine away so I wouldn't have to check...
 
3:21 PM
Bot started.
 
I have enough distractions from main as it is ;)
 
Ja, you now have 0
 
>>points give admin Trichoplax 200
 
user153821
@Zizouz212 Invalid amount.
 
>>points admin Trichoplax 200
 
3:21 PM
@Zizouz212 I've blocked incoming points
 
user153821
@Zizouz212 Changed points for Trichoplax by 200. New total: 400
 
:)
 
What??
lol
 
@trichoplax blocked? How so?
 
>>points admin Trichoplax -200
 
user153821
3:22 PM
@Zizouz212 Changed points for Trichoplax by -200. New total: 200
 
Bot started.
 
:D
 
Was joking to discourage further attempts
 
@Zizouz212 It's because of capitalisation
>>points get trichoplax
 
user153821
@ArtOfCode 0
 
3:22 PM
How come the "invalid amount" was still added to give a total of 400?
 
I can make a fix for that
>> points admin trichoplax 200
 
user153821
@Zizouz212 Changed points for trichoplax by 200. New total: 200
 
Bot started.
 
I'll send a commit to the repo
 
@trichoplax It wasn't. The user Trichoplax started with 200 and Ziz gave him 200
 
3:23 PM
Bot terminated.
 
YAY!
@overactor ^ it works :)
 
Whereas you, trichoplax had 0
 
Ah i see - so the non-existent user was the one the 400 applied to
 
Yeah
You wouldn't have had access to those 400
 
Yep
 
3:24 PM
roughly what percentage of human2bot/human2human interaction do we deem acceptable in this chat. Playing with bots is fun, and they're still pretty new now, but I'm concerned it may become off-putting
 
I'm sending out a fix on that
 
@Martijn no worries, it'll settle down
 
I've seen this happen before, and lead to friction, so I'm bringing it up early
 
A number of rooms have bots and they just become a background thing
 
That's fine. We'll move it back to the other room (I didn't even realize we were in this room)
 
3:25 PM
I think bots in the main room are fine if they serve a purpose and are unobtrusive, otherwise they should have a room of their own
 
@ParrotBot :D
Will definitely serve a great purpose!
 
and KB is here for fun :)
 
Fun is a purpose
(as long as it's fun for everyone)
 
On the subject, I need people's help to get KB to 100 rep so I can make her a room owner so she can pin messages
6 more upvotes are needed
 
You could use a bounty...
 
3:26 PM
Bot started.
 
>>alive
 
@ProgramFOX Yes, I'm alive.
 
>>stop
 
@ProgramFOX Bot terminated.
 
3:27 PM
@trichoplax That is a good point
 
In fact...
 
For that, you get some points
 
102 messages moved from Open Source
 
\o
 
@ArtOfCode No! lol. I'm trying to avoid points
 
3:34 PM
my worries might be premature, but I've seen channels (IRC in this case) where there was a useful bot, and That One Guy always playing with the bot to a lot of the other peoples mild to strong annoyances. It ended up being really divisive between other people over what measures if any should be taken, so that's why I'm sort of scared of too much noise
you never know who the next That One Guy will be
 
@Martijn we'll be pretty strict about that
as in 'stop playing with the bot it's annoying'
If it comes to it, we can ban people
 
Why did you set the bounty to 7 days?
 
Bounties are all automatically 7 days
You can award it earlier
 
They are?
 
(though not before 24 hours)
Yep
 
3:35 PM
Interesting.
I've never really offered a bounty before so...
Well, at least my question will get some attention :D
 
Yeah, though people may read the bounty text and realise they're not going to get it
 
The views, and hopefully the votes... I'll get the benefits!
 
True true
Though views are always relative
It's 1000 views before you get a badge for it ;)
 
you're just hunting for that altruist badge, admit it.
 
Currently, the question with the most views is this:
14
Q: How do I attract new programmers?

Canadian LukeI am working on a project, currently by myself. It's a side project, I'm not expecting to make money on it. It's posted on GitHub, and I'm going to be building a project page for it. Once it's built, how do I get other programmers to want to contribute? I am checking in code constantly, but no o...

With 133 views
 
3:39 PM
Well i might be ;)
 
;P
 
ummm... yeah
 
Actually not benefactor, but Investor, which he's already got :)
 
@ProgramFOX sweet
 
4:27 PM
@ArtOfCode I get no mention in the KarmaBot explanation?
See my gravatar for my reaction
 
4:46 PM
Bot started.
This was so much easier now that setup.bat is here.
 
If I knew about pip on Windows, it was there a long time ago.
 
@ProgramFOX, I installed it on another windows machine, much improve
Bot terminated.
 
@overactor I'll add you, don't worry
 
\o/
Bot started.
Bot terminated.
 
user153821
5:14 PM
@overactor check my profile now
 
Bot started.
Bot terminated.
@KarmaBot atta girl
 
There's a lot of starting and terminating going on here...
 
@ArtOfCode Yeah, I'm implementing something that has to do with logging in
@ProgramFOX namely, that you can retry entering your password twice and it doesn't show a stacktrace if it fails
 
oh, nice!
 
Am I meant to be notified of flags..?
 
5:19 PM
you have 10k network rep, so yes
 
oooh that's why is it
I wondered for a moment xD
 
Hey! I'm back!
 
Hey there!
 
Hi!
 
Get ready, I've got a question nomination system on my bot!
 
5:20 PM
oh god
 
:D
 
Bot started.
 
@Zizouz212 Command not found.
 
@ParrotBot wazzup
 
5:21 PM
-_-
>>stop
 
@Zizouz212 Bot terminated.
 
@Zizouz212 is that space intended?
 
well...
 
That worked out :)
 
I didn't even add the command...
 
5:22 PM
@overactor the space doesn't matter
 
stupid me...
 
@ArtOfCode makes sense
Hi everyone who returned by the way
 
Oh, KeyError now...
 
room topic changed to Chatbot Dev: Discussion of development of chatbots for the SE chat network [chatbots] [code-problems] [stack-traces]
 
Also, @ArtOfCode Thanks for the bounty. I'm got two up votes since then :)
 
5:24 PM
heh, free promotion
 
I'm still a long way from you though...
 
Yeah, I shot ahead while you weren't looking
I got 220 ish yesterday
 
My rep from the first day... 248, 213, 226, 155, 110, 103, 89, 53, 68 (today)
I've just been going down and down...
I've been focusing on other things way too much...
 
Nah, voting has just gone down
 
Well you haven't exactly been absent from here
 
5:27 PM
I haven't answered or asked anything for a while...
 
Yeah but you've been editing away
 
lol
It's not like you get rep from that...
 
No but it means you're visibly participating
 
I guess
 
user153821
Bot started.
 
5:29 PM
ping
 
@ProgramFOX pushed
 
nice, thanks!
 
How's Parrot doing?
 
@ArtOfCode 5 reviews for KarmaBot?
 
@Zizouz212 Yeah, me forgetting which account I'm on :)
 
5:40 PM
You even disagree with KarmaBot on this one!
Don't worry, I caught myself voting with my parrot sidekick a couple times...
 
Bloody hell these flags D: I didn't think there were this many...
 
lol
 
whoops
3 flags in the past half-hour
I assume I don't have to deal with them, but still
 
Do you get a bug where you click log off but it doesn't always log off?
 
It's not a bug, it's bad design. The page you're taken to when you log out automatically logs you back in
 
5:43 PM
Seriously?
 
Yep
'S what happens to me anyway
 
Oh well
 
1 message moved from Open Source
Anyway, how's Parrot?
 
He's growing...
I screwed up the nominations, but it's going well
 
Good :)
 

« first day (1 day earlier)      last day (482 days later) »