« first day (1277 days earlier)      last day (3756 days later) » 

8:00 PM
amazingness!!!
1
A: How do the Stack Exchange WebSockets work? What are all the options you can send to them?

ManishearthWebsocket-endpoints (You can play with these on http://www.websocket.org/echo.html if you don't want to do it in JS) (wss://qa.sockets.stackexchange.com) <userid>-topbar: User topbar. <userid>-inbox: User inbox/achievements <siteid>-<userid>-reputation: User's rep on a site <siteid>-home-...

 
@Bart I say your point is valid.
 
@hichris123: yes, but the next target is 35K ... to delete, delete, delete. :)
 
@Undo ^
 
Why 35k?
 
@LaszloPapp Have fun with that. :P I'll tell you when I get to 3K, so I can help you close those questions and you can delete them. :P
 
8:02 PM
Isn't that 20k @LaszloPapp?
 
@animuson: as far as I know, that is the rep level when you reach the maximum delete vote count.
30 is the max, and you get 5 at 10K, and then 1 at each K.
(daily)
 
Lies. I don't even have 20k and I have unlimited!
 
in Sandbox, 24 secs ago, by Doorknob of Snow
while(true){}
bot troll ^
 
@animuson * disclaimer: mods don't get counted in this. :P
 
@animuson: you are a moderator. I would like to be free. Sometimes, I disappear if I have other priorities, sometimes I am back. :)
 
8:03 PM
:P I once made a JS bot that used web workers to abort running code after 2 seconds, but @ManofSnow didn't do that :D
 
Ok bot running
 
a Moderator life is difficult and committed.
 
Nobody mess it up
Please :P
 
Just type JS code, and it will evaluate it
 
8:04 PM
1+1
 
3, 5, 8
(fibonacci stuff :) )
 
while(true) { /* no-op */ }
 
100000000000000000000000000000000000000+100000000000000000000000000000000000000
):
 
I is the bot breaker :D
 
8:05 PM
Door: while(1);
 
Don't mess it up
I said not to
 
$('#leave').click()
6
 
[object Object]
3
 
var taskList=[10757522,10841159,11645251,12500694,12505417,13197440,13198258,14449114,14432805,14664394,14697849];
var originallength=taskList.length;
console.log("Flagging comment #"+(originallength - taskList.length+1) +" of "+ originallength)
 
hah!
@DoorknobofSnow You are awesome
 
8:05 PM
he left :D
lol
 
hahaha
 
Well then. :P
 
Never ever tell programmers not to mess with something
6
 
@Bart Then you just put in blocking code. :)
 
8:06 PM
Maybe I just won't turn on the bot...
 
Hiya @ManofSnow
 
BECAUSE YOU GUYS KEEP BREAKING IT/TROLLING ME
 
@ManofSnow In the Sandbox?
 
We need animuson to run the bot. Then we could timeout the room and stuff
 
8:07 PM
@Undo And burn users and suspend users.
 
@hichris123 Nah, it would probably be limited to chat
 
The bot is on, please no trolling
 
!!learn troll "$('#leave').click()"
 
ok
@DoorknobofSnow Noooo!
 
:P my bot apparently doesn't listen to me
 
8:07 PM
1+1
 
50*827
 
41350
 
var taskList=[10757522,10841159,11645251,12500694,12505417,13197440,13198258,1444911‌​4,14432805,14664394,14697849]; originallength=taskList.length;
 
awesome
@hichris123 It might need to be a one-liner
 
8:08 PM
Hmm...
 
It uses eval
So...
try wrapping it in a function..?
 
plans evil scheme to make his account upvote me
 
Or maybe it's working, but it has no output
 
$("doorknob").downvote('posts', 'all')
 
alert("test")
 
8:09 PM
@JanDvorak I think that would only alert him.
 
var w = new WebSocket("ws://sockets.ny.stackexchange.com/"); w.onmessage = function(e) { $('#input').text(e.data) }; w.onopen = function() { w.send("155-questions-active") };
 
oooh
 
$.('#img vote').click()
 
Why is my console saying 'Flagging comment #1 of 11' ?
 
ha. @hichris123 ^
 
8:10 PM
@Undo that's what I expect
 
@ManofSnow Um... nothing. :P
 
@Undo Exactly. Try doing a while (1) { alert('Have fun!'); }
 
hahahahaha :D
 
@hichris123 What did you do....
 
He tried to run Charcoal code :P
 
8:10 PM
var w = new WebSocket("ws://sockets.ny.stackexchange.com/"); w.onmessage = function(e) { $('#input').text(e.data); $('#sayit-button').click() }; w.onopen = function() { w.send("155-questions-active") };
 
No, just calculated the length of it. :P
You want to flag stuff?
 
But it looks like it's running
 
1+2
 
M?
huh
 
8:11 PM
Somewhere @ManofSnow must go "I can't believe I thought this was a good idea"
 
I was typing :P
Maybe I should use a webworker so @DoorknobofSnow can't... you know....
 
var sock = new WebSocket("ws://sockets.ny.stackexchange.com/"); sock.onmessage = function(e) { $('#input').val(e.data); $('#sayit-button').click() }; sock.onopen = function() { w.send("155-questions-active") };
 
I turned off bot
 
8:11 PM
awww
 
1+!
1+1
 
Turn it on!
 
turn it back on :O I want to try that code
 
I'm guno put it on in a sec
Improving so @DoorknobofSnow can't kill me
 
8:12 PM
Giving a tavern full of programmers a bot that blindly runs JS on someone else's machine: you better be careful :P
 
var taskList=[5884383,6127428];var flagoption=23;var originallength=taskList.length;POSTFlag=function (){if(taskList.length>0){console.log("Flagging comment #"+(originallength taskList.length+1)+"of"+originallength)$.post("/flags/comments/"+taskList.shift(‌​)+"/add/"+flagoption{"fkey":StackExchange.options.user.fkey,"otherText":""},funct‌​ion({console.log('(done)');setTimeout(POSTFlag,5100);});}else{console.log("Finish‌​ed");}}POSTFlag()
 
@hichris123 Won't work.
 
/finds out how to make his account upvote my post
 
Fkey invalid + CORS
 
8:13 PM
Would any community manager mind taking a look at meta.stackoverflow.com/q/217836/210016 ?
 
@Undo Oh, not on the right site. :(
 
awwww, cross-origin policy :P
@Pops (see @Benjamin's above message)
 
@BenjaminGruenbaum I'd say, turn it on already, and if someone complains, point to this meta question
 
^ this
 
@JanDvorak I don't want to disrespect stack exchange or disobey any instructions. I'd much rather ask than do and have them be maybe ok with it.
 
8:17 PM
maybe we could even say "if you were scared or creeped out by our bot speaking to you on arrival, please tell us before running away in terror :-)
 
Bot is up
Not sure it works... someone try
 
1+2
 
var sock = new WebSocket("ws://sockets.ny.stackexchange.com/"); sock.onmessage = function(e) { $('#input').val(e.data); $('#sayit-button').click() }; sock.onopen = function() { w.send("155-questions-active") };
 
8:17 PM
@DoorknobofSnow I've violated the cross-origin policy before, it's easy :)
 
@BenjaminGruenbaum I'd say the lack of answer is an answer
 
@DoorknobofSnow Nice try, it's in a webworker
 
Object.keys(this)
 
8:18 PM
onmessage,webkitNotifications,indexedDB,webkitIndexedDB,navigator,console,onerro‌​r,location,self
 
onmessage = onerror = null
1+1
>:D I borked it
 
D:
Need to fix
 
null == null
 
8:19 PM
Also: my new meta question from 10 minutes ago meta.stackoverflow.com/q/218356/210016
 
null = null
null > null
 
@hichris I borked the bot
1 min ago, by Doorknob of Snow
onmessage = onerror = null
 
Darn. :P
 
temporary fix is on for bot
Will fix, it's bad practice
 
Object.keys(this)
 
8:22 PM
So bot is on :P
 
onmessage = onerror = null
 
Object.keys(this)
 
onmessage,webkitNotifications,indexedDB,webkitIndexedDB,navigator,console,onerro‌​r,location,self
 
8:22 PM
window['o
oops
window['o'+'n'+'me'+'ssa'+'ge'] = null
 
Yeah that broke it
I think
 
this['o'+'n'+'me'+'ssa'+'ge'] = null
 
:-)
 
1+1
yay >:D
 
fail
 
8:23 PM
location.href = "http://example.com"; location.href = "http://example.com"; location.href = "http://example.com"; location.href = "http://example.com";
 
@hichris123 I already borked it again! :D
 
@hichris123 won't work, worker
 
@BenjaminGruenbaum Why?
 
@hichris123 it's a web worker
 
@hichris123 web workers don't have DOM access.
 
8:24 PM
Bot on again
 
What is a web worker? Me no know JS terms...
 
Try to break, @Doorknob, without while
 
1+1
 
Object.keys(this)
 
8:25 PM
onmessage,webkitNotifications,indexedDB,webkitIndexedDB,navigator,console,onerro‌​r,location,self
 
^ it works
onmessage('hi')
no idea what that does :P
 
var i=0;

function timedCount()
{
i=i+1;
postMessage(i);
setTimeout("timedCount()",1);
}

timedCount();
 
Object.defineProperty(this,"onmessage",{value:null})
 
8:26 PM
1+1
 
window['o'+'n'+'m'+'e'+'s'+'s'+'a'+'g'+'e'] = 1
 
Object.keys(this)
 
it doesnt do anything if it finds onmessage
 
8:26 PM
is it borked?
 
1+1
 
nope
 
haha
 
this['o'+'n'+'m'+'e'+'s'+'s'+'a'+'g'+'e'] = 1
 
8:26 PM
1
 
2+2
...borked
>:D
 
i have if(texts.eq(texts.length - 1).text().replace("'", '').replace('+', '').indexOf('onmessage') === -1)
 
user image
5
Spammers beware!
 
@Undo WOW
 
>:D
It's not real spam, just a push test.
 
8:27 PM
it should make apostrophes and '+' go away and check for onmessage
 
that's amazing :D
 
But I'm almost there :D
 
@ManofSnow ...so then " would work just fine. or spaces...
and still I borked it
1+1
 
Object.defineProperty(this,"egassemno".split("").reverse().join(""),{value:null}‌​)
 
8:28 PM
alert("I love Stack Exchange.")
 
ha
 
lol, reverse
 
1+1
 
@hichris123 alert is dom api
 
8:28 PM
borked ^^ this is fun
 
I think we borked it
 
@BenjaminGruenbaum Still? What isn't...
 
Doing something with bot
 
yay
we should do this during happy hour
 
8:29 PM
It's on try to break
 
have someone set up a JS running-bot and we poke at it with sticks
1+1
 
892173891723916723816273+9812749817267381937127648123
 
9.813641991159106e+27
 
drat
 
8:29 PM
hehe
 
1=0
 
1+1
 
@hichris123 No breaky ;(
 
this["ponfttbhf".replace(/./g,function(x){return String.fromCharCode(x.charCodeAt(0)-1)})] = 1
 
8:30 PM
1
 
1+1
 
borked!
 
...
fixing
 
;)
 
8:30 PM
>:D
 
@Undo so, the chat websocket thing isn't as confusing as I thought. Want to write a python chatbot?
We'll need a class that takes in commands and spits out results, basically
 
I'm going to write a Ruby chatbot because I like Ruby :D
 
@Manishearth Right now I'm working on my push notifs.
 
@DoorknobofSnow but...chat api!
Will you write your own?
 
oh yeah, I forgot you made one :P
 
8:31 PM
@Manish Why do we need another one?
 
I have a half working websockets thing for reading messages but I borked it totally
 
I'm not as good at Python as I am at Ruby. :/
 
@hichris123 headless
 
@Manishearth make the SO-ChatBot from Zirak connect with ws properly
 
run on server :>
 
8:32 PM
looks for way to interact with APNS from Python
 
anyway, off to work on my Ruby bot
 
I'm pretty sure it runs headless, with Phantom atm.
 
I made one for IRC, shouldn't be too hard to adapt
 
@Manishearth Oh, yours isn't headless? That makes sense now...
 
(using $SAFE = 4 to avoid messing with my computer :P)
 
8:32 PM
@ManofSnow Finished yet?
 
@hichris123 mine is headless
 
@hichris123 No, trying to make it a safe environment
 
Oh come on, I was just about to do eval(atob("b25tZXNzYWdlID0gbnVsbDs="))
 
@Manishearth I don't follow you... then why do we need another one?
 
this is how my Ruby one worked to make it a safe environment:
        mCount = 0
        safeLevel = m.user.nick == 'OddLlama' ? 0 : 4

        class ChatbotEval
          def self.safeEval code, safeLevel
            Thread.kill $mthread
            $mthread = Thread.new {
              $SAFE = safeLevel
              result = begin
                eval code
              rescue Exception => e
                "Error in eval: #{e}"
              end
              Thread.current[:evalResult] = result
            }
            $mthread.join
            String($mthread[:evalResult])
 
8:34 PM
doesn't seem to work
From
35
Q: Making WebWorkers a safe environment

ZirakIn a quest to have an interface capable of running arbitrary javascript code inside the browser, without having a security hole the size of a typical yo-mama joke, Esailija proposed using Web Workers. They run in a semi-sandboxed environment (no DOM access and already inside the browser) and can ...

 
so, goal #1: make myself say something via Ruby.
I'm going to reference @Manish's Python implementation for this :P
(link?)
 
@DoorknobofSnow It's on GH
 
:1788292 I'm not running Zirak's bot now
 
I see. :P
 
var global = this;

/* Could possibly create some helper functions here so they are always available when executing code in chat?*/

/* Most extra functions could be possibly unsafe */

var wl = {
"self": 1,
"onmessage": 1,
"postMessage": 1,
"global": 1,
"wl": 1,
"eval": 1,
"Array": 1,
"Boolean": 1,
"Date": 1,
"Function": 1,
"Number" : 1,
"Object": 1,
"RegExp": 1,
"String": 1,
"Error": 1,
"EvalError": 1,
"RangeError": 1,
"ReferenceError": 1,
"SyntaxError": 1,
"TypeError": 1,
"URIError": 1,
"decodeURI": 1,
 
8:36 PM
@DoorknobofSnow anything stopping me from borking threads with endless loop? Or opening other threads? Or whatever?
 
@BenjaminGruenbaum it auto-kills the previous thread when it recieves a new message
and $SAFE mode is 4, so you can't create threads
 
@ManofSnow Still not working?
 
@hichris123 Trying to make it un-loopholish
 
Ruby's $SAFE is awesome
 
8:37 PM
I turned on Zirak's bot
So... do things!
 
!!listcommands
 
...fail?
 
Got lots of errors and console refreshed
 
huh
odd
 
8:38 PM
@hichris123 headless = without a GUI
 
I'm just going to port @Manish 's Python chat thingy to Ruby, and then work on making it bot-ish
 
hey!
But...python!
 
ok Zirak's bot is on
 
:P I don't know Python as well as Ruby
 
@Manishearth Yes, so if yours is headless, why do we need another?
 
8:40 PM
Do stuff
 
!!listcommands
 
@DoorknobofSnow help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, doge, domain, findcommand, github, google, hang, inhistory, jquery, learn, live, die, mdn, meme, mustache, norris, nudge, parse, spec, stat, stats, summon, unsummon, timer, todo, undo, unonebox, urban, user, weather, welcome, wiki, xkcd, youtube, zalgo
 
All I did was run this: (function(){var a=document.createElement("script");a.src="https://raw.github.com/Zirak/SO-ChatBo‌​t/master/master.js",document.head.appendChild(a)})()
 
hey everyone let's all overload him so he rate-limits! :D
!!doge
 
8:40 PM
  wow
               so fail
                      very user
many pro
 
!! doge
 
  wow
           very fail
                             so user
much pro
 
!! doge
 
         wow
            many fail
                          such user
very pro
 
8:40 PM
!! coffee
 
    wow
               so fail
                          very user
such pro
Adding as userscript for this page
@rene "undefined"
 
!!slidepoop
 
!!eval 1+1
 
@BenjaminGruenbaum That didn't make much sense. Use the !!/help command to learn more.
@DoorknobofSnow 2
 
8:41 PM
@BenjaminGruenbaum no custom commands like in JS room :P
 
@DoorknobofSnow also, you'd need to figure out the websockets thing for receiving messages
 
@Manishearth yeah, not sure how Ruby handles websockets
 
!!help
 
@hichris123 Information on interacting with me can be found at this page
 
@DoorknobofSnow there must be a gem
 
8:41 PM
Yay, so the bot dispute is over :P It is now un-breakable
 
!!google ruby websocket
 
@ManofSnow I can break our bot.
 
!!eval 1111111111111111111111111+111111111111111111111111111111111111111111111111111111‌​111111111111111111111111111111111111111111111111111111111111111111111111111111111‌​111111111111111111111111111111111111111111111111111111111111111111111111111111111‌​11.111111111111111111111111111111111111111111111111111111111111111111111111111111‌​11111111
 
8:42 PM
!!eval 1+(close())
 
@BenjaminGruenbaum Break it.
@Manishearth "SyntaxError: Unexpected token ILLEGAL"
 
@ManofSnow no, that'd tell you how to break it in our room.
 
@Manishearth "ReferenceError: window is not defined"
 
Are you using Chrome?
 
!!> Array(5000000000).join("adasdadadasd")
 
8:43 PM
@BenjaminGruenbaum yes
@DoorknobofSnow "RangeError: Invalid array length"
 
!!c> [1...10].map(x -> 2*x)
 
!!> Array(5000000).join("adasdadadasd")
 
@Manishearth "NaN"
@DoorknobofSnow "Exception: too many items"
 
!!doge
(ratelimiting ftw)
 
@BenjaminGruenbaum I don't believe you that you can break it
 
8:43 PM
!!listcommands
 
@DoorknobofSnow help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, doge, domain, findcommand, github, google, hang, inhistory, jquery, learn, live, die, mdn, meme, mustache, norris, nudge, parse, spec, stat, stats, summon, unsummon, timer, todo, undo, unonebox, urban, user, weather, welcome, wiki, xkcd, youtube, zalgo
 
@ManofSnow I don't care :D
 
!!eval 1+1
 
!!stats
 
@BenjaminGruenbaum Darn it
@DoorknobofSnow 2
 
8:43 PM
!!mute ManofSnow
 
!!user 1223693
I think he's rate-limited ;D
 
!!eval var Pi=0;var n=1;for (i=0;i<=1000;i++){Pi=Pi+(4/n)-(4/(n+2))n=n+4}
 
!!google Llama
 
!!1+2
 
8:44 PM
!!>1+1
 
It's borked, don't worry ^_^
 
!!eval 1+2
 
@hichris123 3
@DoorknobofSnow 2
 
!!muted away.
 
!!listcommands
 
8:44 PM
It's borked.
 
!!helps
 
@DoorknobofSnow help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, doge, domain, findcommand, github, google, hang, inhistory, jquery, learn, live, die, mdn, meme, mustache, norris, nudge, parse, spec, stat, stats, summon, unsummon, timer, todo, undo, unonebox, urban, user, weather, welcome, wiki, xkcd, youtube, zalgo
@hichris123 Information on interacting with me can be found at this page
 
!!google I am rate-limiting you
 
!!mute ManofSnow
!!ban ManofSnow
 
@BenjaminGruenbaum Registered; need 1 more to execute
 
8:45 PM
!!tell ManOfSnow 5
 
@hichris123 Command 5 does not exist.
 
two more people type !!ban ManofSnow
 
!!ban ManofSnow
 
!!ban ManofSnow
 
@DoorknobofSnow User ManofSnow added to mindjail.
@Bart Registered; need 1 more to execute
 
8:45 PM
@BenjaminGruenbaum What's it do?
 
ha
 
mindjail? :P
 
@hichris123 he can't run bot commands now
 
!!unban ManOfSnow
 
!!unban ManOfSnow
 
!!info
 
!!unban ManOfSnow
 
!!listcommands 2
 
8:46 PM
!!where's my pi calculation?
 
@hichris123 That didn't make much sense. Use the !!/help command to learn more.
 
!!ban ManofSnow
 
@DoorknobofSnow Registered; need 1 more to execute
 
noooo
 
@DoorknobofSnow I like Jonathan Hobbs's answer a lot. For what it's worth, my personal experience? A little while before "What should be the limits for chat bots interacting with regular users?" I happened to drop into that room, and was confused by the thing that greeted me. It said it accepted commands, so I tried some out. Then the room yelled at me to stop spamming. Terrible user experience.
 
8:47 PM
!!ban ManofSnow
 
!!unban ManofSnow
 
!!unban ManofSnow
@BenjaminGruenbaum User ManofSnow already in mindjail.
 
@Pops Alright, tell @Benjamin that :P
 
!!unban ManofSnow
 
Hey, you're the one who pinged me. And he's here right now anyways.
 
8:47 PM
!!eval var Pi=0;var n=1;for (i=0;i<=1000;i++){Pi=Pi+(4/n)-(4/(n+2))n=n+4}
 
I haven't been working on Charcoal :P
@hichris123 "SyntaxError: Unexpected identifier"
 
ha
 
@Undo What's wrong with it?
 
okay, I have to go. bye all
 
@hichris123 You do not have permission to use the command unban
 
8:48 PM
cya
 
@Undo You do not have permission to use the command unban
 
@Pops right here, so it's OK we turn !!welcome on for new users again? (IIRC it only targets new users with over 20 (can speak) but under 1000 rep).
 
!!eval var Pi=0;var n=1;for (i=0;i<1000;i++){Pi=Pi+(4/n)-(4/(n+2))n=n+4}
 
@ManofSnow ;(
 
@hichris123 "SyntaxError: Unexpected identifier"
 
8:48 PM
Way rate-limited. :P
 
!!eval (Array.prototype.f=function(){return window})+[].f()
 
@Manishearth "ReferenceError: window is not defined"
 
nooo
 
!!eval var Pi=0;var n=1;for (i=0;i<=1000;i++){Pi=Pi+(4/n)-(4/(n+2)); n=n+4}
 
@hichris123 4005
 
8:50 PM
!!> Function.prototype.call = function(){}
 
@BenjaminGruenbaum [object ErrorEvent]
 
!!eval var Pi=0;var n=1;for (i=0;i<=100000000000000000;i++){Pi=Pi+(4/n)-(4/(n+2)); n=n+4}
 
@hichris123 Maximum execution time exceeded
 
Noooooo
 
!!tell hichris google exponential notation numeric literal javascript
 
@JanDvorak Um, what?
 
!!tell hichris eval 1e12
 
@hichris 1000000000000
 
I want to evaluate pi. :P
 
APNS credentials are crazy:
 
8:53 PM
@BenjaminGruenbaum I'm not really enthusiastic about trying to govern every little situation with an ever-growing rule system. If you find something that the room is okay with (and, as Jonathan's answer says, you're okay with maybe alienating some potential users) then go for it. The only other stipulation is that you can't do anything that's so objectionable that we don't want it associated with Stack Exchange. And yes, that is subjective.
 
3 pems, 2 1 cer, and a p12 :P
 
@Pops Thanks. That answers my question.
 
!!eval (function(){return arguments.callee.caller})()
 
@Manishearth "function ( code ) {\n\treturn eval( 'undefined;\\n' + code );\n}"
 
8:57 PM
aw
 
@Manishearth "TypeError: Cannot read property 'caller' of null"
 
!!eval null=null
 
@hichris123 "ReferenceError: Invalid left-hand side in assignment"
 
@BenjaminGruenbaum I know. /me is trying to haxx
!!eval (function(){arguments.callee.caller=alert("hello")})()
 
@Manishearth "ReferenceError: alert is not defined"
 
8:59 PM
nooo
 
we need more lerts
 

« first day (1277 days earlier)      last day (3756 days later) »