« first day (1278 days earlier)      last day (3734 days later) » 

11:00 PM
We are the Tavern. We break chatbots. :D
 
fixed
booting up
Bot ready. Type >>ruby code to eval that code.
 
>>puts PI(100_000)
 
@hichris123: Error in eval: undefined method `PI' for SafeEval:Class
 
ha!
 
try Math::PI
 
11:00 PM
>>982374776109646783592641087492971353815747069278050853296506743104881316035862‌​‌​92‌​270805194885767317401314700765181948254950177440989513845657429669970116865‌​6**‌​2
 
@Undo: Error in eval: undefined local variable or method `zwnj' for SafeEval:Class
 
huh wha?
 
>>puts math.PI(100_000)
 
@hichris123: Error in eval: undefined local variable or method `math' for SafeEval:Class
 
@DoorknobofSnow What?
 
11:01 PM
uhhh
 
no, not math, Math, and not ., but ::
 
>>1+1
 
@hichris123 Capitalised, silly.
 
@Undo: 2
 
>> puts Math::PI(100_000)
 
11:01 PM
>>982374776109646783592641087492971353815747069278050853296506743104881316035862‌​‌​92‌​270805194885767317401314700765181948254950177440989513845657429669970116865‌​6**‌​2
 
lol, chat was adding invisible characters
@hichris123: Error in eval: undefined method `PI' for Math:Module
@Undo: Error in eval: undefined local variable or method `zwnj' for SafeEval:Class
 
@DoorknobofSnow Oh dear.
 
It has decided that a big number is now four letters.
 
>> puts bigdecimal/math::PI(100_000)
 
@hichris123: Error in eval: undefined local variable or method `bigdecimal' for SafeEval:Class
 
11:02 PM
>> puts bigdecimal::PI(100_000)
 
@hichris123: Error in eval: undefined local variable or method `bigdecimal' for SafeEval:Class
 
:( WHY U NO WORKY?
 
such rate-limit
 
@Doorknob Is there a way to include/require stuff?
 
loop{}
 
11:03 PM
@hichris123 require BigDecimal;
 
@DoorknobofSnow Your bot is off?
 
Oh, that acually works?
 
@ManofSnow no...
 
@DoorknobofSnow Did I break it with the loop thing?
loop{}
 
:1790419 no >>, and it doesn't support multiline
 
11:04 PM
>>loop{}
 
@Man of Snow: {}
 
>>loop{}
Did I break it?
 
@Man of Snow:
 
@DoorknobofSnow Darn.
 
I'm going to stop talking because I'm being rate-limited so much :P you guys play with/try to break it; I'll do homework
 
11:05 PM
>>loop{}
 
@ManofSnow No, we tried that earlier. It has an execution time limit.
 
@Man of Snow:
 
>> require 'bigdecimal' require 'bigdecimal/math' include BigMath puts PI(100_000)
 
@DoorknobofSnow I did it all this morning @8am
 
@hichris123: Error in eval: (eval):1: syntax error, unexpected tIDENTIFIER, expecting $end
require 'bigdecimal' require 'bigdecimal/math' include Bi...
^
@hichris123 No semicolons :P
 
11:05 PM
>>{{{{{{{}}}}}}}
 
@Doorknob How do you terminate statements in Ruby?
Nevermind...
 
@Man of Snow: Error in eval: (eval):1: syntax error, unexpected '}', expecting tASSOC
{{{{{{{}}}}}}}
^
 
@hichris123 You don't
 
okay, bye everyone now really. @hichris Semicolons :P
 
@hichris123 ;
 
11:06 PM
Jk :P
 
>> require 'bigdecimal';require 'bigdecimal/math';include BigMath;puts PI(100_000);
 
It's just semicolons end the thing he's parsing our code with
 
@hichris123: Error in eval: Insecure operation `file?' at level 4
 
@hichris Think of it like 'eval('cheese';);'
 
Huh wha?
Why you giving me error?
 
11:07 PM
The semicolon breaks it
>>2+42^3
 
>> require 'bigdecimal';require 'bigdecimal/math';include BigMath;puts PI(100_000)
 
@Man of Snow: 47
@hichris123: Error in eval: Insecure operation `file?' at level 4
 
>>1+1
 
@Man of Snow: 2
 
@ManofSnow What's the error for?
 
11:08 PM
everyone rate limit him
>>1+1
 
@Man of Snow: 2
 
>>require 'bigdecimal'
 
@hichris123 apparently require uses file operations which are insecure :P
 
>>1+1
 
@Man of Snow: Error in eval: Insecure operation `file?' at level 4
 
11:08 PM
@DoorknobofSnow Darn. Again. Remove that insecurity?
 
@DoorknobofSnow This is like the irc bot days :P
 
@Man of Snow: 2
 
>>1+1
 
>>pi
 
>>1+29
>>1+3
 
11:09 PM
>>1+2
Where are you?
 
>>1+4
@hichris123 He's rate-limited :D
 
@Doorknob I think I killed it. :P
 
too many requests! :P
 
>>0+0
Hehe
 
>>0/0
 
11:10 PM
@Man of Snow: 2
it keeps saying conflict, sleeping but I never made it tell me what the conflict is :P
@hichris123: Error in eval: undefined local variable or method `pi' for SafeEval:Class
@Man of Snow: 30
@Man of Snow: 4
@hichris123: 3
@Man of Snow: 5
@Man of Snow: 0
@hichris123: Error in eval: divided by 0
okay, I'm actually going to stop talking now because rate-limits and because homework. I should make a separate user for it later. anyway, bye
 
>> i = 0;while i != 10 i += 1; end puts i
 
@hichris123: Error in eval: (eval):1: syntax error, unexpected tIDENTIFIER, expecting keyword_do_cond or ';' or '\n'
i = 0;while i != 10 i += 1; end puts i
^
(eval):1: syntax error, unexpected keyword_end, expecting $end
i = 0;while i != 10 i += 1; end puts i
^
 
>> i = 0;while i != 10000000000000; i += 1; end; puts i
 
@hichris123:
 
11:15 PM
@ManofSnow What's the problem?
 
It says 'this method cannot be called this way' when I try
 
 
@hichris123 I'm requesting api.stackexchange.com/2.2/comments/7115887/flags/…*CGGifPg((&access_token=lJetxzv(mP9im5zPgImARQ))
 
@ManofSnow POST the request.
 
11:15 PM
@ManofSnow HTTP POST.
 
ohhh
But still
What URL do I post to???
 
@Undo Why are you in Bridgeland?
 
@ManofSnow That same one.
 
@hichris123 Because I'm watching their election.
 
11:16 PM
Lol :D
It won't work now, anyways, because I need a post, and I'm not adding one until I publish the app
 
@ManofSnow Use the Sandbox thread.
 
@Undo ?
 
@Undo When's it over?
 
@Undo URL to the Sandbox thread
The superbowl starts in 10 minutes :D
(Broncos vs. Seahawks)
 
restarting bot (added more error messages and stuff)
Bot ready. Type >>some ruby code to eval the code.
 
11:22 PM
>>some ruby code
 
@Undo There's no sandbox on SA.
 
@Man of Snow: Error in eval: undefined method `ruby' for SafeEval:Class
 
It didn't eval the code at all D:
 
@ManofSnow Nice one.
 
:P
Where's the stackapps sandbox thread???
 
11:23 PM
There isn't one. I searched.
 
Accademia mods are somewhere else...
 
What do you guys think so far?
 
> what is upvote
Baby don't close me...
 
I'm testing room leave/join events so I can greet users as they come in
(although I know the problems that's caused...)
I'll just have it say "Hello! Type >>listcommands for bot help" or something (no ping)
Bot ready. Type >>some ruby code to eval the code.
I'm going to leave and join
 
>>some ruby code
 
11:28 PM
@Man of Snow: Error in eval: undefined method `ruby' for SafeEval:Class
 
That didn't eval the code at all... again.
 
No one's reviewing my Arqade suggested edits. :P
 
>>some ruby code
 
@Braiam: Error in eval: undefined method `ruby' for SafeEval:Class
 
what the...
 
11:29 PM
ok, killed bot
 
Is there a dummy question on stackapps?
 
so event type 3 is join, and 4 is leave
Bot ready. Type >>some ruby code to eval the code.
I'm going to leave and join to test the bot :P
Goodbye, 180276!
Welcome, 180276! Type >>some ruby code to eval the code.
lol, I used user_id instead of user_name
Bot ready. Type >>some ruby code to eval the code.
Goodbye, Doorknob of Snow!
Welcome, Doorknob of Snow! Type >>some ruby code to eval the code.
it works :P
 
I'm confused
Am I supposed to post the variables to that request, or just post request with the URL?
 
ooooh, it sends an event to my bot when a message is edited
I'm going to make editing work
Bot ready. Type >>help for help on the chatbot. (not yet)
someone post a random message like >>1+1 and then edit it to >>2+2 (@ManofSnow @Braiam @hichris)
 
>>2+2
 
11:38 PM
>>2+2
 
wat.
it broke!
 
That's good, right? :P
 
fixed :P
wait for it to boot up...
Bot ready. Type >>help for help on the chatbot. (not yet)
 
>>2+2
 
11:39 PM
@hichris123: 2
@hichris123: 4
yay!
 
I leave for fifteen minutes and come back to four pings :P
 
@Undo :P New status of bot: it has leave/join messages (goodbye and welcome) and it reruns code when edited now :P
someone try leaving and then joining this room again :P
 
Bye
 
Goodbye, Manishearth!
it worked :P Manish left
@ManofSnow where are you going? And you never actually left the room :P
>>1+1
@Doorknob of Snow: 2
>>help
@Doorknob of Snow: Error in eval: undefined local variable or method `help' for SafeEval:Class
Goodbye, Daniel Fischer!
Goodbye, Undo!
Bot ready. Type >>help for help on the chatbot.
Goodbye, Man of Snow!
>>help
Bot ready. Type >>help for help on the chatbot.
>>help
 
11:57 PM
Hi people.
 
@DoorknobofSnow: type >>listcommands to list all commands, or >>help COMMANDNAME for help on a specific command
Welcome, hichris123! Type >>help for help on the chatbot.
Goodbye, hichris123!
 
Not annoying at all. :P
 
>>listcommands
@DoorknobofSnow: listcommands, help, eval
@hichris123 wait, how did you just talk without joining? :P
I need to make a new user for this bot :P
Welcome, hichris123! Type >>help for help on the chatbot.
 
@DoorknobofSnow Heck if I know. :P
 
Ok, seriously. Enough with the bots. Take them to some other room.
9
 
11:59 PM
@animuson it's only configured for the Tavern -_- I'll work on making the room variable
Welcome, Manishearth! Type >>help for help on the chatbot.
 
@DoorknobofSnow um, don't
 

« first day (1278 days earlier)      last day (3734 days later) »