last day (124 days later) » 
18:00 - 23:0023:00 - 00:00

11:00 PM
Are you locally hosting Data?
 
Bot started.
 
Anonymous
Nope, it's running from c9
 
Anonymous
!eval seriously H
 
Bot restarted after crash.
 
Anonymous
!stop
 
11:02 PM
@Mego Bot terminated.
 
What file?
Wait, found it.
 
Bot started.
 
Anonymous
!eval seriously H
 
Bot restarted after crash.
 
Anonymous
!stop
 
11:04 PM
@Mego Bot terminated.
 
Is there a way to test it from the c9 terminal?
 
Bot started.
 
Anonymous
!eval seriously H
 
Bot restarted after crash.
 
Anonymous
Umm
 
Anonymous
11:06 PM
I need to scroll up
 
Anonymous
And it's not letting me...
 
!eval seriously 'H'
 
Anonymous
!stop
 
Bot restarted after crash.
 
Oh, yeah, lemme deselect that window.
Can you scroll now?
 
11:07 PM
Bot started.
 
Anonymous
!eval seriously H
 
Bot restarted after crash.
 
Don't forget quotes!
 
Anonymous
!stop
 
@Mego Bot terminated.
 
Anonymous
11:08 PM
Quotes don't actually matter
 
They will get recognized, though, right?
Space is important in some langs.
 
Anonymous
I know; I haven't figured out how to allow spaces in code yet
 
Anonymous
Still working on getting the basic command working :P
 
Bot started.
 
Anonymous
!eval seriously H
 
11:09 PM
Bot restarted after crash.
 
Anonymous
!stop
 
@Mego Bot terminated.
 
Wait, why not just test the code through another python program?
 
Bot started.
 
Anonymous
!eval seriously H
 
11:10 PM
13260d9914eafdba1fe635b8c2e63456
Hello, World!
 
ASDFLASDJFASLD!
 
Anonymous
\o/
 
Anonymous
!stop
 
@Mego Bot terminated.
 
Can I try something?
 
11:11 PM
Bot started.
 
Anonymous
Sure
 
Anonymous
!eval seriously "hello"Q
 
"hello"Q
hello
 
Anonymous
\o/
 
Anonymous
I am the greatest!
 
11:11 PM
!eval vitsy X
 
:27203644
 
It's not using debug mode.
 
Anonymous
I can change that
 
Anonymous
!stop
 
@Mego Bot terminated.
Bot started.
 
Anonymous
11:12 PM
!eval vitsy X
 
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.remove(ArrayList.java:495)
at com.VTC.vitsy.Vitsy.rmtop(Vitsy.java:750)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:520)
at com.VTC.vitsy.Vitsy.main(Vitsy.java:88)
 
Coolio.
 
Anonymous
IT LIVES!
 
!eval vitsy "edoc"
 
:27203679
 
11:13 PM
!eval vitsy "edoc"Z
 
@FlagAsSpam code
@FlagAsSpam code
 
Anonymous
!eval brainfuck +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
 
@Mego A
 
That's cool.
That's really, really cool.
 
Anonymous
Would you say it's seriously cool?
 
11:14 PM
I would.
 
Anonymous
Now to break it
 
I really would. :D
 
Anonymous
!eval seriously N
 
99 bottles of beer on the wall, 99 bottles of beer.
Take one down and pass it around, 98 bottles of beer on the wall.

98 bottles of beer on the wall, 98 bottles of beer.
Take one down and pass it around, 97 bottles of beer on the wall.

97 bottles of beer on the wall, 97 bottles of beer.
Take one down and pass it around, 96 bottles of beer on the wall.

96 bottles of beer on the wall, 96 bottles of beer.
Take one down and pass it around, 95 bottles of beer on the wall.

95 bottles of beer on the wall, 95 bottles of beer.
 
!eval vitsy
 
11:14 PM
@FlagAsSpam not enough arguments: got ['vitsy']
 
Hmm.
It needs empty input.
What about waiting?
 
Anonymous
Yeah, that's on the to-do list
 
!eval vitsy "N"awO
 
@FlagAsSpam N
 
Anonymous
Right now it will wait up to 60 seconds (since that's the timeout on TIO)
 
11:15 PM
:27203747 N
 
^ That didn't ping me?
 
Anonymous
!eval seriously :30:P
 
@Mego 127
 
Anonymous
!eval seriously :30:PPPP
 
!eval brainfuck -[------->+<]>.-[->++++<]>.[->+++<]>+.++++++++++++.[->+++++<]>-.++[->++<]>.--[-->+++<]>--‌​.--[--->+<]>-.+[->+++<]>++.[->+++<]>--.
 
11:16 PM
@Mego 53381
@CᴏɴᴏʀO'Bʀɪᴇɴ I am Data!
 
Wanna start it up in Nineteenth Byte and show everyone? :D
 
Anonymous
Mine slowed it down :P n'th prime is slow in Seriously
 
Anonymous
No, it's not going to 19th just yet
 
Anonymous
We can have people come in here for now
 
11:17 PM
Awww.
 
Anonymous
But people probably wouldn't want it in 19th
 
Anonymous
!listcommands
 
Commands:
alive, utc, listcommands, help, cat, read, getcurrentusers, ping, flip, doubleflip, xkcdrandomnumber, xkcd, random, randomint, randomchoice, shuffle, detectlang, translate, translationchain, translationswitch, stop, disable, enable, ban, unban, delete, module, define, eval
 
!eval javascript alert(3)
 
Bot restarted after crash.
 
11:18 PM
o shit
 
@Mego Yes. As has been said a few times in TNB, mods hate bots. :P
 
Anonymous
javascript isn't a language on TIO
 
^ Handler for non-existing link?
 
I thought you said you'd add others...!
 
Anonymous
@AlexA. Hence why it's staying in here :)
 
Anonymous
11:19 PM
!xkcdrandomnumber
 
Anonymous
!xkcd 720
 
@Mego Not enough arguments.
 
Anonymous
!restart
 
@Mego Command not found. Did you mean: translate?
 
11:21 PM
What does translate do?
 
If it has the dictionaries, it'll translate one language to another.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Command contains invalid characters.
 
Anonymous
It doesn't have the dictionaries right now
 
Anonymous
!stop
 
11:21 PM
@Mego Bot terminated.
 
!xkcd 10000
darn
 
Bot started.
 
@CᴏɴᴏʀO'Bʀɪᴇɴ xkcd.com/10000
 
Anonymous
Had to reboot it so that it could handle invalid urls gracefully
 
11:22 PM
^ bug
 
Anonymous
Not a bug
 
Where does the source code for this guy live?
 
Anonymous
4 hours ago, by FlagAsSpam
Development place: https://ide.c9.io/vtcakavsmoace/databot-js
 
Oh, boo, registration and is not GitHub
 
Anonymous
Yeah it is
 
Anonymous
11:23 PM
GitHub is an option for registration
 
Anonymous
Oh you meant it's not actually hosted on GitHub... I can fix that
 
No, it's Cloud 9 IDE. I mean hosted on GitHub itself.
You ninja'd my own intent.
 
Anonymous
I'll add it to GitHub
 
Wait, the password for the bot is on that.
 
Anonymous
I can edit it out
 
11:24 PM
True.
 
What's the bot password for?
 
Logging onto SE?
 
I've made the workspace private - that'll prevent people from grabbing the bot's password.
 
11:29 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Command not found. Did you mean: listcommands?
 
!listcommands
 
Commands:
alive, utc, listcommands, help, cat, read, getcurrentusers, ping, flip, doubleflip, xkcdrandomnumber, xkcd, random, randomint, randomchoice, shuffle, detectlang, translate, translationchain, translationswitch, stop, disable, enable, ban, unban, delete, module, define, eval
 
!detectlang >>>>+++++
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Warning: no Yandex API Key found. Put one in botdata/translate/yandex_api_key.txt.
 
11:30 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ Not enough arguments.
 
!shuffle 1 2 3
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 1 3 2
 
Anonymous
The bot's password is now stored in bot.pwd
 
Anonymous
And that on the .gitignore list, so it's not on GitHub
 
11:31 PM
Ummm...?
Why am I listed as the person who updated README.md?
Is my github registration just automatically there?
 
Anonymous
Yeah, because you own the c9 workspace
 
Anonymous
!eval somedumbunknownlanguage foo
 
@Mego Something went wrong with your request, sorry!
 
!shuffle asd fasdf jansdoif hasdouifg haisudoghiua hasf
 
@CᴏɴᴏʀO'Bʀɪᴇɴ fasdf hasf jansdoif hasdouifg asd haisudoghiua
 
11:36 PM
!shuffle 123045
 
@CᴏɴᴏʀO'Bʀɪᴇɴ 123045
 
!listcommands
 
Commands:
alive, utc, listcommands, help, cat, read, getcurrentusers, ping, flip, doubleflip, xkcdrandomnumber, xkcd, random, randomint, randomchoice, shuffle, detectlang, translate, translationchain, translationswitch, stop, disable, enable, ban, unban, delete, module, define, eval
 
!getcurrentusers
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Cᴏɴᴏʀ O'Bʀɪᴇɴ, Data, Mego, FlagAsSpam, Roujo
 
11:36 PM
!ping Data
 
@CᴏɴᴏʀO'Bʀɪᴇɴ @Data
 
Anonymous
!doubleflip
 
@Mego Not enough arguments
 
Anonymous
!doubleflip 2
 
@Mego ᄅ ︵ヽ(゜Дಥ)ノ︵ ᄅ
 
11:37 PM
!doubleflip 10
 
@CᴏɴᴏʀO'Bʀɪᴇɴ І ︵ヽ(⇀Д⇀)ノ︵ І
@CᴏɴᴏʀO'Bʀɪᴇɴ І0 ︵ヽ(ಥل͜ಥ)ノ︵ 0І
 
Anonymous
I didn't know I needed this
 
!doubleflip a
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Command not found. Did you mean: doubleflip?
@CᴏɴᴏʀO'Bʀɪᴇɴ ɐ ︵ヽ(°Д^)ノ︵ ɐ
 
Anonymous
!doubleflip |___|
 
11:37 PM
!doubleflip ɐ ︵ヽ(°Д^)ノ︵ ɐ
 
@Mego |‾‾‾| ︵ヽ(^ᴥಠ)ノ︵ |‾‾‾|
@CᴏɴᴏʀO'Bʀɪᴇɴ a ︵ヽ)°Дᵥ(ノ︵ a ︵ヽ(ಥ益๑)ノ︵ a ︵ノ(ᵥД°)ヽ︵ a
 
Anonymous
what have you done
 
!doubleflip a ︵ヽ)°Дᵥ(ノ︵ a ︵ヽ(ಥ益๑)ノ︵ a ︵ノ(ᵥД°)ヽ︵ a
 
@CᴏɴᴏʀO'Bʀɪᴇɴ ɐ ︵ヽ(°Д^)ノ︵ ɐ ︵ヽ)ಥ益๑(ノ︵ ɐ ︵ノ)^Д°(ヽ︵ ɐ ︵ヽ(^ᴥಠ)ノ︵ ɐ ︵ヽ(°Д^)ノ︵ ɐ ︵ノ(๑益ಥ)ヽ︵ ɐ ︵ノ)^Д°(ヽ︵ ɐ
 
11:38 PM
This is beauty...
!randomchoice 1 2 3 5
 
Anonymous
!eval seriously '0,,u@xεjc 100 200
 
@Mego Can you push again? :P
I don't know how you did it, but you made it push from my account.
 
Anonymous
What have you done
 
Anonymous
How did you kill the bot
 
11:40 PM
!help
I am good.
 
Bot started.
 
Anonymous
Not you, Vesty
 
Anonymous
He somehow killed it by stealing my terminal window
 
Anonymous
!eval seriously '0,,u@xεjc 100 200
 
11:41 PM
@Mego Command contains invalid characters.
 
Anonymous
@Data You contain invalid characters
 
Oh, yeah, that was an accident. :P
 
1 min ago, by FlagAsSpam
I don't know how you did it, but you made it push from my account.
 
11:42 PM
Bot started.
 
Anonymous
So the bot doesn't like non-ascii chars
 
@CᴏɴᴏʀO'Bʀɪᴇɴ @mego
 
Anonymous
@FlagAsSpam Done
 
It's because of this line.
 
Anonymous
11:44 PM
No, the issue is with how the bot handles Unicode, I think
 
Anonymous
!eval seriously ñ
 
@Mego Command contains invalid characters.
 
!eval foo "Seriously?"
 
@CᴏɴᴏʀO'Bʀɪᴇɴ Seriously?
 
!eval vitsy "'two'1m
'lines'"
It did not like that.
 
Anonymous
11:47 PM
Nope
 
!eval jelly 2+2
 
Bot restarted after crash.
 
What would be the regex for " but not \"?
 
Anonymous
11:48 PM
!stop
 
@Mego Bot terminated.
 
What if we regexed the crap out of it, loaded until it found a matching quote?
 
Bot started.
 
Anonymous
That's something for someone smarter and more inebriated than me to try
 
@FlagAsSpam Just use a parser ...
 
11:50 PM
@CᴏɴᴏʀO'Bʀɪᴇɴ link plz
 
I can make one really quickly.
What does it need to do?
 
\o/ Match stuff. Examples:
3 mins ago, by FlagAsSpam
!eval vitsy "'two'1m
'lines'"
It should evaluate that it needs to run Vitsy with the command "'two'1m\n'lines'".
 
Another: !eval vitsy "\"escape\"rZ"
 
Anonymous
I'm not sure if the bot can understand multi-line messages
 
Anonymous
11:52 PM
!cat
 
@Mego Argument parsing failed.
 
Anonymous
!xkcd
720
 
Anonymous
...huh
 
!cat words
more words
 
Anonymous
11:52 PM
The issue, then, is that the newline is being interpreted as a command arg separator
 
words
more words
 
@Mego That's the fix that needs applying.
So .join(" "), followed by a parse.
 
Anonymous
That's what I'm doing
 
function parse(expression){
	var added, compile = "", stringmode = false;
	for(var i = 0; i < expression.length; i++){
		console.log(expression[i])
		var chr = expression[i];
		added = true;
		if(stringmode){
			if(chr=="\\") compile += "\\" + expression[++i];
			else if(chr=="\n") compile += "\\n";
			else added = false;
		} else added = false;
		if(chr == "\""){
			stringmode = !stringmode;
		}
		if(!added) compile += chr;
	}
	return compile;
}
See if that works
 
@Mego ^
 
18:00 - 23:0023:00 - 00:00

  last day (124 days later) »