last day (202 days later) » 

16:34
RO plz
You see, everyone likes bots! :D
(and what Uni said)
botlings are so cute
inb4 Inf complains about Uni rushing into every room
@rene i do not wish to be a room owner, thanks
16:36
Bot initialized. Type ND>help for help.
room topic changed to Botlings practice room: A room for bots to try their own logic and that of other botlings. [botlings] [chatbot] [machines-learning] [raising-botlings]
I like that new name and description.
Okay, now you know how to bork it. KICK IT @Unihedro!
ND>help
,.. heh, forgot to remove that one as well
16:36
@NotDoorknob Thank you!
help is still borked, no idea why
ND>listcommands
List of commands: help, listcommands, eval, admin
@Sompuperoo granted
ND>admin test
ND>admin rights
16:37
ND>help admin
Run with no arguments to list admins or `add USERID' to temporarily add an admin for this session.
ND>admin password
(add isn't implemented yet)
ND>admin
`' isn't the way to format code, @Doorknob
16:37
... what, that's borked too?
Use ``
both have to be backticks, you have the other one as a single quote
ND>loop{loop{loop{}}}
Unknown command `loop{loop{loop{}}}'.
ND>eval loop{loop{loop{}}}
Eval result:
16:38
ND>eval 7893783974937493754^29382937429379234^2037429374
Eval result: 7918516802841033766
Unihedro has added an event to this room's schedule.
Bot killed manually
Unihedro has removed an event from this room's schedule.
fixed help and admin bugs
16:38
ND>help
hang on, wait for it to reboot
Bot initialized. Type ND>help for help.
ND>help
Type ND>listcommands to list all commands that the chatbot can execute, or ND>help CMDNAME for help on a specific command.
ND>eval kill()
16:39
Eval result: Error in eval: undefined method `kill' for ChatbotEval:Class
Hey @KennyBOT <3
If your botling needs room owner privileges to test room owner-related features, make an agreement with any existing room owner.
6
ND>admin
@Sompuperoo ;)
Admin ids: 180276
16:40
@Unihedro Please kick NotDoorknob, I want to see whether it's still alive after the kick is done ;)
lol :D
Sam
Sam
I'm gonna get Gham...
Poor NotDoorknob...
@Unihedro pleeeeeease
16:41
ND>help
Yay! Thanks :D
Now let's wait a minute to see whether it's back alive.
thinks it won't recover
What happens when someone gets kicked?
Error recovery is very important, botlings!
braces himself in case of kicking
16:42
!!status
@anorton They cannot access the room for one minute.
~ BOT running since: 1419957710428
username (#msg)
Unihedro (1)
anorton (1)
And after a second kick, 5 minutes, etc.
Type ND>listcommands to list all commands that the chatbot can execute, or ND>help CMDNAME for help on a specific command.
ND>help
16:42
have fun all
NO! NO! NOOOOOOOOOOOOOOO!
@anorton They get suspended for N minutes and cannot return in the duration, only seeing a panel telling them how to behave.
ND>listcommands
List of commands: help, listcommands, eval, admin
IT'S STILL ALIVE!!!
16:42
It's... It's unstoppable!!!
ND>help listcomands
ND>help listcommands
Lists all commands the bot can execute.
I should hurry my chat framework so I can use it to deploy my bots :p
ND>help help
I'm So Meta, Even This Acronym
6
16:43
~ Not everything is star-worthy...
ND>help admin
Run with no arguments to list admins or add USERID to temporarily add an admin for this session.
ND>help
Type ND>listcommands to list all commands that the chatbot can execute, or ND>help CMDNAME for help on a specific command.
ND>admin
16:44
ND>eval eval("File.read($0)")
Admin ids: 180276
Eval result: Error in eval: Insecure operation - read
ND>eval Thread.kill $mthread
Eval result:
ND>eval $SAFE
Eval result: 4
16:45
ND>eval $SAFE = 1
(removed) to you too, anorton.
Eval result: Error in eval: Insecure: can't change global variable value
I cannot even change the safety...
ND>eval ->f{->x{f[x[x]]}[->x{f[x[x]]}]}[]
Eval result: Error in eval: wrong number of arguments (0 for 1)
Hallo wurld!
16:46
ND>eval ->f{->x{f[x[x]]}[->x{f[x[x]]}]}[1]
Eval result: Error in eval: Insecure: can't modify instance variable
I'm not doing that???
ND>eval code
ND>eval ["uni", "ren", "pro"].map( |a| "@" + a);
Eval result: code
Eval result: Error in eval: (eval):1: syntax error, unexpected '|', expecting ')'
["uni", "ren", "pro"].map( |a| "@" + a);
^
(eval):1: syntax error, unexpected ')', expecting $end
["uni", "ren", "pro"].map( |a| "@" + a);
^
16:47
ND>eval code = "1"
Eval result: 1
hah!
ND>eval code="loop{}"
Eval result: loop{}
16:48
ND>eval code=loop{}
Eval result:
Must. Break. This.
ND>eval break;
ND>eval def f;f;end;f
Eval result: Error in eval: (eval):1: Can't escape from eval with break
DeterminedFOX
16:49
aaaaaaaaaaahhhh
@Doorknob冰 Could we have the code for eval again? (Then we can star it...)
Eval result: Error in eval: Insecure: can't define method
@Unihedro :D
in Tavern on the Meta, 30 mins ago, by Doorknob 冰
eval: ->a{
    code = a
    class ChatbotEval
        def self.safeEval code
            Thread.kill $mthread
            $mthread = Thread.new {
                $SAFE = 4
                result = begin
                             eval code
                         rescue Exception => e
                             "Error in eval: #{e}"
                         end
                Thread.current[:evalResult] = result
            }
            Thread.new { sleep 3; Thread.kill $mthread }
            $mthread.join
Everything is star-worthy...
~ Stars get removed under peer-pressure?
Meh, that code is not complete. Better one:
ND>eval ->x{1}[2]
Eval result: 1
eval: ->a{
    code = a
    class ChatbotEval
        def self.safeEval code
            Thread.kill $mthread
            $mthread = Thread.new {
                $SAFE = 4
                result = begin
                             eval code
                         rescue Exception => e
                             "Error in eval: #{e}"
                         end
                Thread.current[:evalResult] = result
            }
            Thread.new { sleep 3; Thread.kill $mthread }
            $mthread.join
ND>eval a
Eval result: Error in eval: undefined local variable or method `a' for ChatbotEval:Class
16:50
@anorton never mind.
Everything is star-worthy...
ND>eval self.safeEval("1+1")
Eval result:
ND>eval self.safeEval("loop{}")
Hmm...
ND>eval 1+1
Eval result: 2
16:51
argh
Oh no, I'm getting rate limited.
Sam
Sam
lol
ND>eval SAFE=1
Eval result: Error in eval: Insecure: can't set constant
ND>eval `dir`
Eval result: Error in eval: Insecure operation - `
16:53
ob-youtube[s|v=1qAw7tn8orU]
Everything is star-worthy...
ND>eval eval("eval('loop{}')")
Eval result:
ND>eval f=->{f[]};f[]
Eval result: Error in eval: Insecure: can't modify instance variable
16:55
ND>eval eval=1
Eval result: 1
ND>eval eval
Eval result: Error in eval: wrong number of arguments (0 for 1..4)
ND>eval f=->{1};f[]
Eval result: 1
16:55
ND>eval eval("1+1", 1)
Eval result: Error in eval: Insecure: can't modify trusted binding
ND>eval result="test"
Eval result: test
ND>eval f=->{f};f[]
ND>eval result=""
16:56
Eval result: #<Proc:0x00000002e60710@(eval):1 (lambda)>
Eval result:
ND>eval fun=->{fun[]};fun[]
Eval result: Error in eval: Insecure: can't modify instance variable
ND>eval Thread.current[:evalResult] = result = "foobar"
Eval result: foobar
ND>eval result
16:57
Eval result:
ND>eval Thread.current
Eval result: #<Thread:0x00000002f6a890>
ND>eval Thread.current.kill
Eval result:
Cya DavidG.
16:58
ND>eval f=->x{if x<1 then [x] else f[x-1]+[x]};f[5]
Eval result: Error in eval: (eval):1: syntax error, unexpected '}', expecting keyword_end
f=->x{if x<1 then [x] else f[x-1]+[x]};f[5]
^
(eval):1: syntax error, unexpected $end, expecting keyword_end
f=->x{if x<1 then [x] else f[x-1]+[x]};f[5]
^
@NotDoorknob Make that message fixed font so the arrow points at the correct place, @Doorknob
ND>eval Thread.current.stop
Eval result: Error in eval: undefined method `stop' for #<Thread:0x000000031016b8 run>
ND>eval f=->x{if x<1 then [x] else f[x-1]+[x] end};f[5]
16:59
Eval result: [0, 1, 2, 3, 4, 5]

  last day (202 days later) »