« first day (4 days earlier)      last day (119 days later) » 
00:00 - 02:0002:00 - 22:00

02:08
@Mego you still there?
Anonymous
I'm here now
Anonymous
Was on mobile so I couldn't do it
i wonder if theres a way to ssh into c9
Anonymous
Done
kthx
02:12
Bot started.
!eval marbelous "64"
Bot restarted after crash.
Anonymous
Uhh
Anonymous
Oh crap
Anonymous
02:13
My copy was while you were in the middle of editing marbelous
Anonymous
One sec, I'll fix it
Anonymous
!stop
@Mego Bot terminating...
oh k
02:16
Bot started.
Anonymous
Try now
!eval marbelous "64"
Bot restarted after crash.
Anonymous
Uhh
Anonymous
That's odd
02:17
stack trace
Anonymous
TypeError: 'str' does not support the buffer interface
2016-02-03 02:17:21.794584 UTC
  File "/home/ubuntu/workspace/RUNNING/SE-Chatbot/ExceptHook.py", line 38, in run_with_except_hook
    run_old(*args, **kw)

  File "/usr/lib/python3.4/threading.py", line 868, in run
    self._target(*self._args, **self._kwargs)

  File "/home/ubuntu/workspace/RUNNING/SE-Chatbot/Chatbot.py", line 268, in concurrent_command
    output = self.command(cmd_args1, message1, event1)

  File "/home/ubuntu/workspace/RUNNING/SE-Chatbot/botbuiltins/parameters.py", line 16, in replace_paras
dafuq
Bot started.
Anonymous
I think I know the issue
Anonymous
!eval marbelous "64"
02:19
Bot restarted after crash.
Anonymous
hwat
Anonymous
!stop
@Mego Bot terminating...
Bot started.
Anonymous
!eval marbelous "64"
@Mego d
Anonymous
02:20
Fixed
Anonymous
Stupid tempfile and its binary file shenanigans
all right
@overactor Marbelous should be working. Come give it a try.
Anonymous
!eval marbelous "00@0..\n@0/\\\\]]" "1"
@Mego Board MB row 1 ends with unexpected cells: ]]
:27300443 Board MB row 1 ends with unexpected cells: ]]
Sorry, your code took too long to run!
Partial output:
1
Anonymous
That's what I expected
Anonymous
02:25
Backslashes are awful
:27300443 Sorry, your code took too long to run!
Partial output:
1
Anonymous
03:20
0
A: Where to find an online testing environment for specific programming languages?

MegoDataBot Thanks to the work of myself (Mego), VoteToClose, quartata, and CᴏɴᴏʀO'Bʀɪᴇɴ (and building upon the work of ProgramFOX et. al.), a chat bot named Data has been built that can run code for several different languages. Stop by the PPCG Code Snippet Chat Bot room to see it in action. Langu...

2
Victory.
Anonymous
I would really love to be able to add Python to the list, but I don't know of a way to do it safely
Ideone backend?
Anonymous
Restricting builtins is pointless because it can just be circumvented
Anonymous
...that's not a terrible idea
03:25
Lemme look into raw output Python interpreters online.
Can we use skulpt.org?
An ideone back end would be cool. I could probably do that
Its interface is Flash Player. x.x
Anonymous
Anonymous
ideone doesn't have a public API
@Mego We'd have to pay for repl.
Anonymous
03:30
Ahh crap
Anonymous
We could run it locally, but we'd need security stuffs
Anonymous
What if we used Sage?
03:33
That looks viable.
Anonymous
It's not
...and?
Anonymous
It's not secure, methinks
ideone is the best idea
Anonymous
Gah
@quartata We'd have to develop interactions with it, though, which would majorly suck.
Just use Selenium
little slower but it should work with the flash stuff
er on mobile google it
its essentially a web browser simulator of sorts
Anonymous
03:40
Wait a second
Anonymous
We have node on the server
Anonymous
Why not just run skulpt locally?
I've mentioned this twice now, lol.
skulpt has security holes surely
and besides if we take the time to do ideone we will be rewarded with liek 40+ languages
^ Also true.
Wait, when you download the page for ideone, does it run the program after it finishes loading, or before?
Anonymous
03:43
After
Is that a detectable thing?
with js yeah
Anonymous
I have an idea
Anonymous
Brb, need to make my net presence quieter for this
o-o
This doesn't sound shady.
So, output for ideone is either:
<pre id="output-text">output</pre>
Or:
03:48
@Mego dont rush into anything I'm still thinking
<pre id="output-text"><p class="empty">Standard output is empty</p></pre>
It's now 4AM.
I gotta sleep, guys.
4AM on a weekday gg
Anonymous
I'm trying to work out how the POST request to ideone is done
@Mego Do you have snort?
Anonymous
I dunno what that is
03:57
a better tcpdump
Anonymous
Oh
Anonymous
I'm using WireShark
ah k
Snort is really for network intrusion detection but I have used it in the past for this stuff
I've heard of wireshark but never used it
Anonymous
ye gods
Anonymous
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Content-Disposition: form-data; name="p1"

e42901754c199985c2a986ad4a3c6d01
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Content-Disposition: form-data; name="p2"

8
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Content-Disposition: form-data; name="p3"

13
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Content-Disposition: form-data; name="p4"

624
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Content-Disposition: form-data; name="clone_link"

/
------WebKitFormBoundaryuLJYX3IwuIQrnYMT
Anonymous
04:03
^ full post data
LOL gg
Anonymous
I'm thinking ideone may not be the way to go
wtf is p4
Anonymous
I have no idea
Hey I just thought of a really good feature
Anonymous
04:06
> "really good"
!eval_answer <post id>
@quartata Command not found.
Anonymous
Oh god
Anonymous
That'll take more than a simple regex to do
scans the header for the language name and evals the first code block
Not that tricky; we already had that identify the header challenge
simple html parsing to get the <code>
And we can use Undo's library thing for getting the answer
04:13
!help
@GamrCorps 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.
!listcommands
Commands:
module, stop, disable, enable, ban, unban, delete, alive, utc, listcommands, help, eval, evaldebug
!eval javascript "a=2;"
@GamrCorps Something went wrong with your request, sorry! Are you sure that language is on Try It Online?
Anonymous
04:15
!stop
@Mego Bot terminating...
Bot started.
Anonymous
There, updated github link
Anonymous
!help
@Mego 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.
@GamrCorps Only TIO langs Pyth and Marbelous work
04:16
oh ok
!eval golfscript "$" "hello"
@quartata ehllo
!eval rotor "3*" "a"
@quartata <no output>
oops you would think I'd know my own language better
!eval pyth "XzG" "abc"
04:19
@quartata zyx
Anyways you get the idea
Anonymous
!eval seriously "5p"
@Mego 1
!eval jelly "¬" "" "1"
@quartata 0
04:21
!eval_debug rotor "'a3*"
@quartata Command not found.
? What happened to that
Anonymous
I dunno
Anonymous
Oh, no underscore
!evaldebug "'a3*"
04:26
@quartata Argument parsing failed.
oh der
!evaldebug rotor "'a3*"
@quartata Argument parsing failed.
Bot started.
Anonymous
That one is my fault
Anonymous
!evaldebug rotor "'a3*"
@Mego Something went wrong with your request, sorry! Are you sure that language is on Try It Online?
04:28
Huh?
Bot started.
Anonymous
I'm bad at math
Anonymous
Disregard
Anonymous
!evaldebug rotor "'a3*"
Caught: groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [a]
Possible solutions: multiply(java.lang.Character), multiply(java.lang.Number)
groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.multiply() is applicable for argument types: (java.lang.String) values: [a]
Possible solutions: multiply(java.lang.Character), multiply(java.lang.Number)
at Block.parse(RotorNoEval.groovy:157)
04:31
k
!evaldebug rotor "3'a*"
@quartata aaa
damn groovy you suck
Anonymous
!eval seriously "3'a*"
@Mego aaa
Anonymous
!eval seriously "'a3*"
04:33
@Mego aaa
Anonymous
Python is so great
It isn't groovy's fault exactly
x * y is equivlent to x.multiply(y) and the standard JVM Integer class probably doesn't have support for that while the custom Groovy String class does
#justOOPthings
Anonymous
#OOPisPoop
nah OOP keeps your code clean and modular
Anonymous
But it violates commutivity!
04:43
don't blame the paradigm blame the implementation
Anonymous
Damn you Oracle!
Anonymous
You break everything you touch!
14:30
@quartata cc @Mego You can't do that on an instance of the MessagePosted event class. I'm unsure what you're actually trying to do, but that's definitely not right. Are you trying to get the message content? In that case, use event1.content_source
14:48
We fixed it already; someone had mucked with the bot code
!alive
@quartata Yes, I'm alive.
15:04
!eval marbelous "48 65 6C 6C 6F 2C 20 77 6F 72 6C 64 21 0A"
@overactor Hello, world!
15:34
@overactor newlines can be done with \n
 
6 hours later…
21:32
@Mego @quartata Is there anything else we need/want to do?
yes
some sort of ideone/repl.it/thing and !eval_answer
So, shall we make a pinned message?
After we list them. :P
So, ideone backend integration.
What would !eval_answer do?
Anonymous
!eval_answer <post_id> -> !eval <language of post> <first code block>
Ah.
So, a decompiler of the link.
00:00 - 02:0002:00 - 22:00

« first day (4 days earlier)      last day (119 days later) »