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

12:00 PM
We're refactoring my bot and making it support modules.
 
Oooohhh
That sounds like fun
I'd be careful though...
>>os.system("rm -rf")
:D
Maybe not all modules...
 
heh, that's a worry for the people who write eval-modules but not for me :P
 
like os and sys, and shutil and stuff
 
Also, my bot blocks any commands that contain "unsupported characters" and a quote is one of them, so that is not a problem.
 
Okay, you should be fine :)
 
12:02 PM
only a set of specific chars is allowed -- to avoid any security vulnerabilities if there are any
 
Bot started.
 
>>translate en nl Hello!
 
Another bot?
 
Bot started.
Oh yes
 
@Zizouz212 that's my bot
 
12:02 PM
More?
 
... and it crashed
 
lol
 
I'm nested!
 
>>utc
 
@Zizouz212 Wed Jul 1 12:03:06 2015
 
12:03 PM
@overactor You've got one too...
 
testing purposes
 
>>points
 
@Zizouz212 Command not found.
 
Bot started.
 
I'm helping @ProgramFox with refactoring
 
12:03 PM
Awwwww
 
>>translate en nl Hello!
 
@ProgramFOX Hallo!
 
@ProgramFOX Hallo!
 
heh
 
Commands go to both bots...
 
12:04 PM
>>translationchain 4 en nl This is a test.
 
@ProgramFOX You don't have the privilege to execute this command.
 
and mine crashed
 
>>listcommands
Commands: alive, help, listcommands, nested, random, randomchoice, randomint, shuffle, translate, utc, xkcd, xkcdrandomnumber
 
How do you translate?
 
can someone do '>>stop' ?
 
12:04 PM
>>stop
 
@Zizouz212 I use Google Translate
 
Ok
 
hmm
 
@overactor do we even have privileges for that?
 
That should've seemed obvious...
 
12:05 PM
stop is not implemented yet in mine?
 
Did you set the owners?
 
oh
nah
 
-_-
 
Stopped it from the commandline
 
Bot started.
 
12:06 PM
>>translationchain 4 en en This is a test.
more crashes
 
heh
 
Bot started.
 
>>translationchain 4 en en This is a test.
 
@ProgramFOX Translation chain started. Translation made by Google Translate. Some messages in the chain might not be posted due to a reason I don't know.
Translate en-sq: Kjo është një provë .
Translate sq-zh-CN: 这是一个测试。 Zhè shì yÄ«gè cèshì.
Translate zh-CN-el: Αυτό είναι ένα τεστ. Zhe Shi yÄ«gè cèshì . Af̱tó eínai éna test. Zhe Shi yÄ«gè cèshì .
Final translation result (el-en): This is a test . Zhe Shi yÄ«gè cèshì. Aftó eínai éna test. Zhe Shi yÄ«gè cèshì. Af̱tó eínai éna test. Zhe Shi yÄ«gè cèshì . Af̱tó eínai éna test. Zhe Shi yÄ«gè cèshì .
 
\o/
 
12:08 PM
sweet
 
>>translationswitch 4 en nl This is a test.
 
@ProgramFOX Translation switch started. Translation made by Google Translate. Some messages in the switch might not be posted due to a reason I don't know.
Translate en-nl: Dit is een test.
Translate nl-en: This is a test.
Final result (nl-en): This is a test.
 
I can learn dutch through chat now!
 
heh
 
>>translate nl en Is niet moeilijk, nederlands.
 
12:09 PM
@overactor Is not difficult, Dutch .
 
>>translate fr en Pourquoi y-a t-il des personnes bizarres ici?
 
@Zizouz212 Why does it -a strange people here?
 
-_-
 
lol
 
It's-a me, Fox9000!
 
12:11 PM
>>stop
 
@ProgramFOX Bot terminated.
 
@ProgramFOX Okay, the recursive paths have been pushed
 
nice job!
 
Each MetaModule now remembers where it is relative to the project root
just add the relative path to that and boom
it's relative to Module.py's postition again
pass that on to the constructor where it gets saved again
 
Bot started.
 
12:19 PM
Now testing builtins.admin.
>>disable
 
@ProgramFOX Bot disabled, run >>enable to enable it again.
 
btw, you should rewrite command_listcommands so it uses the functionality built into teh modules
 
>>enable
 
@ProgramFOX Bot enabled.
 
same for help
 
12:20 PM
@overactor That's already done, but command_help is still waiting for that.
 
ah
 
>>listcommands
 
@ProgramFOX Commands: alive, ban, delete, disable, enable, help, listcommands, random, randomchoice, randomint, shuffle, stop, translate, translationchain, translationswitch, unban, utc, xkcd, xkcdrandomnumber
 
^ as you can see
 
nice
 
12:20 PM
>>ban 118010
 
@ProgramFOX User @FOX9000 has been banned.
 
I can do the help command
 
>>unban 118010
 
@ProgramFOX User @FOX9000 has been unbanned.
 
>>stop
 
12:21 PM
@ProgramFOX Bot terminated.
 
@overactor That would be nice! The help data for the commands hasn't been passed in the module files yet, you can take them from CommandHelp.py.
 
Will do
 
leave the Shadow's Den help data there for now, I'll remove that soon
that will be the biggest refactoring
but I'll wait with that until the help is ready, to avoid having huge merge conflicts
 
okay
 
builtins.admin -> pushed
 
12:27 PM
Bot started.
crashed
Bot started.
Returns a list of all commands. Syntax: >>listcommands
Muhahahaahahaaa!
utils have help now
try it @ProgramFOX
 
>>help utc
 
@ProgramFOX Shows the current UTC time. Syntax: >>utc
 
\o/
 
Boom baby!
 
>>help help
>>alive
probably dead already
 
12:34 PM
I killed it
more refactoring to do
 
Who owns ParrotBot?
 
Yo :)
 
You have a bot too?
 
Parrot Bot's me parrot sidekick!
Except for he won't be playing fun and games...
I need to give it rep to get into chat, then wait for caching and the stuff...
 
12:41 PM
caching is always to blame
 
@Zizouz212 Oh, don't forget to create a network profile for ParrotBot once it has 20 rep (log on to stackexchange.com), because if you don't, the bot cannot log on.
 
Yep :)
 
I found this out when KarmaBot didn't want to log on, and the caching took waaay too long.
 
It's annoying how I have to switch out...
In fact, let me do that before I forget. See ya in a couple minutes :)
 
Switch? Just open Parrot's account in Private Browsing or Incognito window.
 
12:45 PM
Bot started.
 
>>help help
 
@ProgramFOX Shows information about the chat bot, or about a specific command. Syntax: >>help [ command ]
 
>>help stop
 
@ProgramFOX Owner-only command. Stops the bot. Syntax: >>stop
try them all, they should be there
 
>>help ban
 
12:46 PM
@ProgramFOX Owner-only command. Bans a user from using the bot. Syntax: >>ban user_id
 
>>help xkcd
 
@ProgramFOX Shows the specified xkcd comic. Syntax: >>xkcd comic_id
 
>>help notexisting
 
@ProgramFOX The command you want to look up, does not exist.
W00t!
 
12:47 PM
Hey!
Now I just need to get some votes on my parrot's answer :)
 
I stopped the bot and pushed the changes
 
0
A: Can I Open Source a software for a particular operating system?

ParrotBotYour reasoning for that would actually violate what Open Source is about. Look at this: No. The Open Source Definition specifies that Open Source licenses may not discriminate against persons or groups. Giving everyone freedom means giving evil people freedom, too. Fortunately, there are othe...

 
@ProgramFOX Shadow's Den could probably be a MetaModule, right?
 
Bot started.
 
>>help
 
12:50 PM
@overactor I'm FOX 9000, ProgramFOX's chatbot. You can find the source code on GitHub. You can get a list of all commands by running >>listcommands, or you can run >>help command to learn more about a specific command.
 
>>listcommands
 
@overactor Hmm... I don't think so as it's for one purpose.
 
@overactor Commands: alive, ban, delete, disable, enable, help, listcommands, random, randomchoice, randomint, shuffle, stop, translate, translationchain, translationswitch, unban, utc, xkcd, xkcdrandomnumber
 
I've made builtins a MetaModule.
>>utc
 
@ProgramFOX Wed Jul 1 12:51:10 2015
 
12:51 PM
@ProgramFOX Does it not have a few minigames?
 
I have a syntax error somewhere!
What?
Oh
a long lost comma
 
@ProgramFOX That's not a bad idea
 
-_-
 
@Zizouz212 heh
 
Hate commas in dictionaries...
Always forget them :/
 
12:51 PM
@overactor Hm, that's true. Good point.
I'll see what I end up with when I refactor that part.
 
yeah
What's next?
 
Grrr, another lost comma
 
The next step is to add something to Module that can make sure a module can be informed about all chat events, if it needs that.
 
HTTPError?
 
@ProgramFOX ah, add a callback?
 
12:53 PM
yep
working on that now
 
well, modules can access Client via Chatbot, no?
 
they can, but there is no need to bind two watchers to a client
I'll call the module-on_events from the Chatbot on_event.
 
@ProgramFOX And they can implement it in the Module file?
 
yes, they can
 
can they also add a list of events they want to listen to?
 
12:56 PM
that can be done with a simple if statement
so, yes
 
do MetaModules need it? no right?
 
I don't think so.
 
Does Shadow's Den need this?
btw, is it just me or did Shog9 bamboozle me there:
6
A: Will Open Sourcing Stack Overflow Destroy Our Business Model?

Shog9There's been a lot of talk here already. A LOT of talk. But it's all just that - talk. There's only ONE WAY to answer this question accurately, to peer into an alternate reality and send back the hard truth... Since someone was optimistic enough to post a bounty seeking an updated view, I felt ...

?
 
@overactor Yes, it does.
 

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