« first day (3 days earlier)      last day (120 days later) » 

8:03 PM
@ProgramFOX @ArtOfCode Like what we've done with the place? ;)
 
@VoteToClose What place?
The bot? Looking good so far, but it could do with working ;)
 
@ArtOfCode Yeah, we started work on it 4 days ago. :P
 
@VoteToClose Good progress then. Do give us a shout if you hit issues with SEC. Pro, overactor and myself are the devs for the current version, Pro was the original author.
 
\o/ Awesome. How did you find this? Activity on GitHub?
 
@VoteToClose PPCG's sidebar :)
 
8:09 PM
@ArtOfCode Just a lot of people chatting at once or something? :P
 
You lot showed up as an active chatroom, which had bot in the title, so I came along to do some shameless promotion of SEC then realised you were already on it.
 
@Mego Yes, both - it was being used for spammy stuff, and the bonus threads for eval borked it somehow.
@ArtOfCode Heh, yeah. This is actually the first time I used python.
 
@VoteToClose Extra not bad then. In fact, give me a moment to get my own SEC mod...
 
My first task in Python was concurrence. \o/ I feel special.
!alive
Hmm.
 
user153821
Bot started.
 
8:11 PM
>>givemedal VoteToClose
 
user153821
@ArtOfCode Given VoteToClose a genius medal. Total: 1
 
:)
 
Bot started.
 
\o/
>>cat !eval vitsy "'Does this work?'rZ"
 
user153821
@VoteToClose !eval vitsy "'Does this work?'rZ"
 
8:13 PM
Oh, wait, it's a response.
I see.
 
No, because that's on your bot not mine :)
 
!eval vitsy "'Does this work?'rZ"
 
@VoteToClose Does this work?
 
cat is literally just repeat what I say
 
@ArtOfCode I know. I was trying to make the KarmaBot make Data eval.
 
8:13 PM
Oooh. Hmmm...
 
Except that replies are parts of a message, so it didn't work. :P
 
I don't think there is a way to do that
 
Yeah - unless you can make it not reply, which probably isn't ideal.
Have we invited you to the workspace?
 
Not for this bot
 
See the pinned 6-starred message titled "Development place"? If you're signed in on GitHub, we can give you perms for that.
 
8:17 PM
There's an access request sent for you :)
 
Granted. :P
Yeah, it's running on a VM so that we can all see it.
 
Node?
 
Nah.
 
No? databot.js looks Node-ish to me...
 
The JS thing is only a backend, we've requested its use in the userscript.
 
8:22 PM
>>alive
 
user153821
@overactor Yes, I'm alive.
 
>>xkcd {{randomint 1600}}
 
user153821
 
!listcommands
 
Commands:
module, stop, disable, enable, ban, unban, delete, alive, utc, listcommands, help, eval, version
 
8:24 PM
You'll notice that we took that out. ;P
 
Yep :) The new bot we're doing just disables the unnecessary stuff on startup so we don't have to delete it every time we update SEC
 
We'll never use that other stuff anyways. xD I just commented it out.
 
That works
Hmmm, I wonder...
!module disable admin
 
@ArtOfCode You don't have the privilege to execute this command.
 
Damn. We designed this thing too well.
 
8:26 PM
!eval vitsy "'http://xkcd.com/1'rZ"
 
@overactor Something went wrong with your request, sorry! Are you sure that language is on Try It Online?
 
!eval vitsy "lDv\[}D(X]lv-i*\\0rl\[NaO]" "" "1" "2" "0" "4" "0" "0" "5"
 
1
2
0
0
0
0
0
0
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at com.VTC.vitsy.Vitsy.index(Vitsy.java:735)
at com.VTC.vitsy.Vitsy.top(Vitsy.java:732)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:416)
at com.VTC.vitsy.Vitsy.loopHandler(Vitsy.java:152)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:365)
at com.VTC.vitsy.Vitsy.forLoopHandler(Vitsy.java:123)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:395)
 
@overactor xkcd.com/1
 
8:27 PM
!eval vitsy "lDv\[}D(X]lv-i*\0rl\[NaO]" "" "1" "2" "0" "4" "0" "0" "5"
 
1
2
4
0
0
0
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.ArrayList.elementData(ArrayList.java:418)
at java.util.ArrayList.get(ArrayList.java:431)
at com.VTC.vitsy.Vitsy.index(Vitsy.java:735)
at com.VTC.vitsy.Vitsy.top(Vitsy.java:732)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:416)
at com.VTC.vitsy.Vitsy.loopHandler(Vitsy.java:152)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:365)
at com.VTC.vitsy.Vitsy.forLoopHandler(Vitsy.java:123)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:395)
 
Huh.
 
@overactor You want the http as well.
 
!eval vitsy "lDv[}D(X]lv-i*\0rl[NaO]" "" "1" "2" "0" "4" "0" "0" "5"
 
8:28 PM
1
2
4
5
0
0
0
 
Coolio.
 
I'll stop with the xkcd stuff
 
There's always a way :)
 
is data multithreaded (yet)?
 
@ArtOfCode Problem: your bot doesn't parse for \ escapes.
@overactor Yes, it is. c:
!eval pyth "^T^T T"
^ (10^(10^10))
!eval vitsy "'concurrence'rZ"
 
8:30 PM
@VoteToClose concurrence
 
@VoteToClose How d'you mean?
 
@VoteToClose Sorry, your code took too long to run!
 
!help
 
@overactor I'm Data, Mego'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.
 
Haven't updated the github link yet?
 
8:31 PM
It's not on GH
 
lDv[}D(X]lv-i*\0rl[NaO] is really eval vitsy "lDv\[}D(X]lv-i*\0rl\[NaO]
 
or is it?
 
@VoteToClose cool beans
 
@ArtOfCode It is, I'll update that really quick.
 
Cool :)
 
Bot started.
 
So how is this thing not really dangerous?
 
"not really dangerous"?
 
Surely someone can find a way of executing rm -rf / --no-preserve-root?
 
@ArtOfCode We don't support bash, and Pyth is on safe mode.
 
8:35 PM
and the others?
 
All other requests are handled through tryitonline.net
 
Nice one.
Outsourcing FTW.
 
Which, in turn, is all on safe mode.
@ArtOfCode That's why databot.js is still there for the userscript.
 
@VoteToClose What is databot?
 
!help
 
8:36 PM
@VoteToClose I'm Data, Mego'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.
 
i.e. what are you meant to do with it
as in the script, not the bot
 
There's no Marbelous on TiO :(
 
We want this repo to use it.
@overactor @quartata We can run this interpreter, right?
 
This thing is cool :)
 
The user script? Yeah, it's pretty awesome. c:
 
8:41 PM
The bot
 
Oh, thanks. :D
The currently running copy is in the folder called RUNNING.
 
That's useful
I was looking at v12
 
I know. ;P I can see open files.
!alive
 
@VoteToClose Yes, I'm alive.
 
8:57 PM
!eval vitsy "'{{help}'rZ"
 
@overactor Something went wrong with your request, sorry! Are you sure that language is on Try It Online?
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 73, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.VTC.vitsy.Vitsy.methodHandler(Vitsy.java:101)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:245)
at com.VTC.vitsy.Vitsy.main(Vitsy.java:88)
@overactor Your nesting brackets '{{' and '}}' don't match up
 
!eval vitsy "'{{help}}'rZ"
 
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 73, Size: 1
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at com.VTC.vitsy.Vitsy.methodHandler(Vitsy.java:101)
at com.VTC.vitsy.Vitsy.opHandle(Vitsy.java:245)
at com.VTC.vitsy.Vitsy.main(Vitsy.java:88)
 
!eval minkolang "e"
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
9:00 PM
!eval minkolang "e" ""
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
?
!eval minkolang "N."
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
@El'endiaStarman It don't like you, apparently.
 
It was working last night...
 
9:00 PM
Oh wait, that's the bot's error not yours
or is it
 
Well, for Minkolang, it uses TIO.
 
Huh.
 
!eval minkolang "N." ""
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
['minkolang', '"N."']
['N.']
N.
Seems to be running fine.
 
9:03 PM
Yeah, TIO issue. They've got the wrong arg index. Should be sys.argv[1].
 
It worked last night, though. And I don't think Dennis changed his code in that time.
 
@El'endiaStarman Dennis?
Why Dennis?
 
Dennis owns TIO.
 
That's pretty cool.
 
9:05 PM
Ask him about it :)
 
Well, see, I think the bot is doing this when it should be doing this.
 
Did you run it? ;)
 
.....did you click the links?
 
@El'endiaStarman That would make sense
 
The root problem is really that I didn't code defensively enough.
Which I do plan on fixing sooner rather than later.
 
9:10 PM
@El'endiaStarman Yes.
 
Second one works.
 
Ohhhh.
!eval minkolang "N." ""
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
:27290990 Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
!eval minkolang "N." "1"
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
9:13 PM
Uhhhh.
Oh, wait, duh.
!eval minkolang "N." "" ""
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
!eval minkolang "N." "" "1"
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
@VoteToClose 0
 
@El'endiaStarman We can't force arg input because it confuses other langs.
 
hmm
I'll shape up my code. Maybe that'll fix it.
!eval minkolang "nN." "1"
 
9:17 PM
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
!eval minkolang "nN." "" "1"
 
@El'endiaStarman 1
 
@VoteToClose We can
It's a one line change one second
 
@quartata But it confuses stuff like jelly and rotor, no?
I remember us removing that yesterday.
 
Anonymous
I'm alive
 
Anonymous
9:19 PM
I can do the special arg parsing in a few mins
 
!eval minkolang "e" "" " "
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
File "/opt/Minkolang/minkolang_0.14.py", line 185, in run
raise Exception("'e'")
Exception: 'e'
 
That worked as intended.
 
@VoteToClose It's different
@Mego No let me do it pls
 
Anonymous
Ok sure
 
9:19 PM
How would I match both " 0" and "0 " in Java regex?
 
Anonymous
Was just skimming the transcript, didn't notice you saying you were gonne do it
 
Anonymous
@VoteToClose \s?\d\s?
 
@Mego Thanks.
 
Anonymous
Or better: (\s\d)|(\d\s)
 
Anonymous
@VoteToClose You were very lucky that your first concurrency project in Python was relatively simple. Usually you have to think about things like the GIL and use multiprocessing instead of threads.
 
9:21 PM
Most-golfed form is the first one, though.
 
Anonymous
The first one will also match "0", so I dunno if you want that
 
@Mego (~-.-)~ Let me think I did something important.
@Mego That's fine. :P
 
Anonymous
@VoteToClose You did. I'm just saying, it could have been a whole lot more hellish :P
 
Bot started.
 
@Mego \o/ I'm glad that it wasn't.
 
9:23 PM
This is unstable but with the args fixed
@El'endiaStarman try it but make sure the code doesn't contain any spaces since that breaks in unstable
 
!eval minkolang "e"
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
Anonymous
Since Data's bottleneck is I/O (specifically network I/O), threading is a piece of cake. Especially since it's Python >=3.4, with the new GIL handing.
 
Nope.
 
@VoteToClose with an empty arg....
!eval minkolang "e" "" ""
 
9:24 PM
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
File "/opt/Minkolang/minkolang_0.14.py", line 185, in run
raise Exception("'e'")
Exception: 'e'
 
That was working anyways. o-o
Oh, wait, nvm.
 
@VoteToClose no it wasn't
 
Yupyup.
 
As soon as I fix the arg parsing I need you to shift UNSTABLE back to STABLE
it'll work after this I swear
!stop
 
@quartata Bot terminated.
Bot restarted after crash.
 
9:27 PM
dafuq
@VoteToClose what did you do
!stop
 
@quartata Bot terminated.
 
You need to kill it in the run config.
 
@VoteToClose It shouldn't respawn
 
Stop kills one thread at a time.
Idk why.
 
ah k
@VoteToClose I think sure
 
Anonymous
9:29 PM
I can look into making stop actually, y'know, stop
 
@Mego I need it also to not recognize other numbers. Just 0.
@Mego \o/
 
Anonymous
@VoteToClose \s?0\s?
 
Oh.
 
Anonymous
Also \s matches any whitespace, so if you only want spaces, replace those with spaces, for " ?0 ?"
 
time to regex
Actually wait
@Mego what's the re command for returning an array of matches
I just realized split isn't the right choice for this
nvm it's re.findall
@Mego I think I have the args parser ready in UNSTABLE
but I can't regex very well so I probably did it wrong
 
9:35 PM
@quartata Move it to EDIT_THIS, I'll copy it over to RUNNING and push to github.
 
Oh wait
wait nevermind
 
9:47 PM
@quartata Didja fix it?
!alive
 
Apparently not.
:P
 
10:13 PM
@VoteToClose afk but I know how
@RikerW it isn't running I stopped it
 
10:30 PM
ok i'm 99% confident this works
 
Anonymous
That won't work
 
Run it. :P
 
@Mego jeez
 
Anonymous
What about escaped quotes?
 
This is just for parsing the arguments.
It'll return an array that gets passed to eval
 
10:32 PM
literal_eval, right?
 
The whole function
cmd_eval
Ok there we go that's better
 
Anonymous
 
@Mego Try the new version
 
Anonymous
Done, worse now :P
 
Anonymous
I edited the ideone, so just reload
 
10:41 PM
@Mego take off the !
prefix is auto stripped before parsing
 
Anonymous
There is no !
 
oh
ideone isnt working for me on mobile
 
Anonymous
I'm working on getting a functioning regex
 
@Mego ok but dont forget about the language name
 
Anonymous
I got it
 
Anonymous
10:45 PM
Try that on for size :)
 
not on c9
can you start the bot
 
Bot started.
 
thx
 
Anonymous
!eval seriously "'1\"foo\""
 
Bot restarted after crash.
 
Anonymous
10:47 PM
Err what
 
Anonymous
That wasn't even in our code
 
exception?
 
!eval minkolang "N." "" ""
 
Bot restarted after crash.
 
Anonymous
Unhandled exception in thread started by <function Chatbot.on_event.<locals>.concurrent_command at 0x7f8a5e055158>
TypeError: 'MessagePosted' object is not subscriptable
2016-02-02 22:47:54.595798 UTC
  File "/home/ubuntu/workspace/UNSTABLE v. 10/SE-Chatbot/Chatbot.py", line 250, in concurrent_command
    cmd_args1 = event1[len(self.prefix):]
 
10:48 PM
wtf
oh whats the prefix
wait what
 
Bot restarted after crash.
 
@ArtOfCode @ProgramFOX errrr
 
Anonymous
Who edited that code? o_O
 
Um.
 
Anonymous
That's not the same code as the original bot repo
 
10:51 PM
vtc for concurrency? but it was working
 
It does say it's an unstable version :)
 
Anonymous
I dunno, I'll try to fix it
 
Bot started.
 
If it's not the original bot code, I can't help right now - I'm on mobile and away from all the code and tools
 
Anonymous
!eval seriously "'1\"foo\""
 
10:53 PM
foo
1
 
Anonymous
Fixed it
 
Anonymous
VTC was using the wrong parameter :P
 
I will take a look tomorrow, though.
 
Anonymous
!eval seriously "'1 \"foo\""
 
That helps
 
10:53 PM
foo
1
1
 
Anonymous
It's all good now
 
!eval rotor "\" a q \""
 
@quartata a q
 
nailed it
 
!eval minkolang "N." "" ""
 
10:54 PM
@El'endiaStarman 0
 
!eval minkolang "N."
 
Anonymous
\o/
 
Traceback (most recent call last):
File "/opt/Minkolang/minkolang_0.14.py", line 1687, in <module>
Program(file, sys.argv[2]).run()
IndexError: list index out of range
 
Anonymous
Thank you @PhiLho for that damn fine regex
 
10:54 PM
!eval minkolang "N." ""
 
@El'endiaStarman 0
 
@El'endiaStarman yep I fixed that just for you
 
!eval minkolang "nN." "5"
 
@El'endiaStarman -1
 
Anonymous
I wonder...
 
10:55 PM
!eval minkolang "nN." "" "5"
 
@El'endiaStarman 5
 
Anonymous
!eval seriously "," "__import__('os').system('ls ~')"
 
@Mego __import__('os').system('ls ~')
 
Anonymous
Gooood
 
@VoteToClose we can merge unstable back now
 
Anonymous
10:55 PM
Wait hang on I added another input command thingy a while ago
 
@Mego Huhwat?
@quartata Copy/paste. c:
 
on mobile
cant access github either since forkhub is being annoying
 
Anonymous
!eval seriously "╩╜" "__import__('os').system('ls ~')"
 
ls: cannot access ~: No such file or directory
512
 
Anonymous
Crap
 
Anonymous
10:57 PM
I need to fix that, too
 
@Dennis pull seriously unless you want to be hacked by chinese and russian hackers this time
 
Ohai @David. Welcome to the party.
 
Anonymous
I think my project for today will be experimenting with getting JS (and therefore js-based languages) running
 

« first day (3 days earlier)      last day (120 days later) »