« first day (787 days earlier)      last day (4136 days later) » 

12:36 AM
undefined hours later…
 
anyone here can help me with my bot?
 
ok, i'm using linux and every time i try node master.js i get this error:


node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
ReferenceError: window is not defined
at Object.<anonymous> (/home/m44m31/SO-ChatBot/master.js:1:72)
at Module._compile (module.js:441:26)
at Object..js (module.js:459:10)
at Module.load (module.js:348:32)
at Function._load (module.js:308:12)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:41)
not expert @ node.js but all i want is to get the bot to work
 
Only the build script is meant for node. The bot itself runs in the browser.
 
so do i run it localy then?
 
thanks
so theres no server ran by node.js? node just builds?
 
Correct. Sucky, I know.
 
so i run bookmarklet.js in browser?
 
Yes
 
12:51 AM
do i open it with or put it on a server
 
> The bot is currently a big dangle-on script running in your browser. Run bookmarklet.js in your browser to get it up an' running.
Read the readme, dude. There's not much to it.
 
@m44m31 Copy the contents into the URL of a bookmark.
 
i did
 
Then click it
 
okay make since now
 
12:53 AM
Of course, it only works on the chat sites, since these are the only places it was designed for.
It should theoretically work elsewhere, but only if you mess around with it.
 
sorry for the misunderstanding but i inject the js via browser?
 
Try it
 
did and it wont inject
 
!!/listcommands
 
@ShaquinTrifonoff Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, slap, nudge, ring, roll, spec, stat, todo, undo
 
12:57 AM
...meaning?
 
okay sorry for bein pain in ass but you have to run me through the process lol
 
okay thanks
 
ok, before we continue...why do you want to run the bot yourself?
 
never seen js ran by bookmark xD
wont let me add bookmark
says invalid url
 
1:06 AM
8 mins ago, by Zirak
ok, before we continue...why do you want to run the bot yourself?
There's the account I publish to (SO ChatBot) and I've seen at least a couple of clones
 
all i wanted was to see it run...mess around with it
 
@m44m31 What browser are you using? :-P
 
Your lack of ability to run it tells me you don't want to run one for tinkering.
 
maybe learn a little js in the process
chrome via ubuntu
 
Version?
 
1:08 AM
If you want to see it run, you can either play with it here or in the demo.
Hit Ctrl+Shift+J
Paste the contents of the bookmarklet
 
@Zirak not much of a web programmer...just use it for research lol...@Shaquin Version 20.0.1132.47 Ubuntu 12.04 (144678)
 
When it shows a log (should just say Object after a short amount of time), change bot.invocationPattern to something other than !!
 
i was going to do the console next...the bookmark thing confused me
 
@m44 try clearing your cache
 
i got it to work
thanks
 
1:14 AM
@ShaquinTrifonoff Y U NO MAEK SENSE!? Could not understand ``
 
permissions are set by the userid right?
 
yep
bot.owners.push(12345);
 
lol i already did it by the time u typed it xD
 
Yul
2:00 AM
Hi :D
 
hey @Yul
 
Yul
1 bot in room :D
 
:)
It varies between 1 (very rarely 0) and 4.
or 5
 
Yul
is there any bot upgrade ?
 
It gets the script directly from GitHub, so any changes apply the next time the bot is started.
 
2:14 AM
!!
 
@m44m31 Y U NO MAEK SENSE!? Could not understand ``
 
!!>self.global
 
@m44m31 [object ErrorEvent]
 
!!>var x = ""; for(var i in self.global) x += i + " "; x
 
@m44m31 "global whitey onmessage webkitNotifications FileException FileError webkitIDBTransaction webkitIDBRequest webkitIDBObjectStore webkitIDBKeyRange webkitIDBIndex webkitIDBFactory webkitIDBDatabaseException webkitIDBDatabase webkitIDBCursor webkitIndexedDB WebSocket DataView Float64Array Float32Array Uint32Array Int32Array Uint16Array Int16Array Uint8ClampedArray Uint8Array Int8Array ArrayBuffer web (snip)
 
2:18 AM
!!>self.Document = "Owned";
 
@m44m31 "Owned"
 
!!>2+2
 
@m44m31 Congrats, you managed to set a property of self, which has absolutely no effect on anything
 
@m44m31 4
 
!!>self.Document = "@Zirak was fun anyways"
 
2:21 AM
@m44m31 "SyntaxError: Unexpected string"
@m44m31 "@Zirak was fun anyways"
 
3:04 AM
!!/\x41
 
@ShaquinTrifonoff Invalid command /\x41
 
!!/learn echo "$0"
 
@ShaquinTrifonoff Command echo learned
 
!!/echo \x41
 
@ShaquinTrifonoff \x41
 
3:05 AM
heelloooooooooo
cool, I just got enough rep to join chat rooms XD
 
Hey @Anthony
 
hi @Shaquin
can someone tell me how can I access the other chat features?
 
!!>global
 
@m44m31 [object ErrorEvent]
 
@Anthony Such as...?
 
3:09 AM
i don't know... anything i guess LOL
 
!!>self.getComputedStyle();
 
@m44m31 "TypeError: Object #<DedicatedWorkerContext> has no method 'getComputedStyle'"
 
!!>self.getComputedStyle();
 
@m44m31 "TypeError: Object #<DedicatedWorkerContext> has no method 'getComputedStyle'"
 
3:11 AM
@m44m31 The bot runs in a secure sandbox.
 
so there's not much features in here. i see
 
3:32 AM
!!>self.bot
 
@m44m31 "undefined"
 
!!>self.body.msgCount
 
@m44m31 "TypeError: Cannot read property 'msgCount' of undefined"
 
3:49 AM
@ShaquinTrifonoff Got any ideas on how to hack the bot?
 
 
2 hours later…
5:25 AM
2 hours later…
@coolguyxp lol no
It's well coded
Although, you can make an infinite loop that lasts 50ms.
 
lol
its not infi if it last 50ms
 
5:52 AM
I know :D
That reminds me of a Stack Overflow question: run an infinite loop for a while
1
Q: run an infinite loop for a while in c

the_drugI want to run an infinite loop for a while. Basically, i want to have something like this //do something while(1){ //do some work } //do some other thing but i want the running time of the loop to be fixed, example, the loop could be running for 5 seconds. Do somebody have an idea?

for a while, lol
 
 
3 hours later…
9:19 AM
@R.MartinhoFernandes Your test case is not broken because of percent encoding, it's being eliminated because you are using the default port so the browser is discarding it on parsing the HTML.
It works if you do this with something other than port 80.
0
A: Markdown borks URLs with port numbers

CalebThis actually does work, the problem in your example is that you are using port 80. Since this is the default port, most browsers drop the extra bit from the URL when they parse the link and render it. I just tested it in SE chat, and if you use a non-default port number, the link processing wor...

 
@Caleb No, not all.
@Caleb That does not work. Sends me over to http://www.example.com%3a8080/
(Just like mine sends me over to http://www.example.com%3a80/)
 
@R.MartinhoFernandes Well that's funky. I've got an addon or userscript or something going on that is correcting it so that it works here, but looking at the generated HTML you are correct, the colon is getting percent encoded. I've updated your question with more detail and deleted my bogus answer.
 
Yeah, thanks.
 
9:57 AM
hmm; so it is actually the markdown processing, not the naked link processing
 
Not retroactive?
:(
I have borked a starred message.
@MarcGravell Can you fix just this one chat.stackoverflow.com/transcript/message/6639142#6639142 in particular? Pretty please with sugar on top?
I promise I won't complain about how much chat search sucks for a week.
Thanks, you're awesome.
 
Done; I just edited it
 
 
3 hours later…
1:24 PM
cc/image s
cc/image s
cc/image s
cc/image s
cc/image 20 s
@coolguyxp USE NUMBERS LESS THAN 5
@coolguyxp USE NUMBERS LESS THAN 5
@coolguyxp USE NUMBERS LESS THAN 5
cc/image 20 s
@coolguyxp USE NUMBERS LESS THAN 5
@coolguyxp USE NUMBERS LESS THAN 5
cc/image 20 s
@coolguyxp USE NUMBERS LESS THAN 5
@coolguyxp USE NUMBERS LESS THAN 5
cc/image 6 rudi visser
@coolguyxp USE NUMBERS LESS THAN 5
@coolguyxp USE NUMBERS LESS THAN 5
cc/image 6 rudi visser
cc/image 7 rudi visser
cc/image 5 rudi visser
cc/image 4 rudi visser
cc/image 3 rudi visser
 
2:02 PM
!!/urban rlemon
 
Server error (status 500) occured
 
just do it jerk face!
 
2:14 PM
!!/learn command recursion "!!/tell 'SO ChatBot' recursion"
 
`null`
@rlemon Command command learned
 
!!/tell "SO ChatBot" command
 
@rlemon Command recursion does not exist.
@jAndy null
@SOChatBot recursion
 
!!/eval new Function("Object.getOwnPropertyNamse(this)")();
 
!!/forget command
 
2:15 PM
@rlemon Command command forgotten.
 
NaN + NaN cannot be null !!
 
!!/learn recursion "tell SOChatBot recursion"
 
@rlemon Command recursion learned
 
!!/tell SOChatBot recursion
 
@SOChatBot tell SOChatBot recursion
 
2:15 PM
meh,
 
@jAndy "TypeError: Object.getOwnPropertyNames called on non-object"
 
!!/forget recursion
 
@rlemon Command recursion forgotten.
@jAndy "undefined"
@jAndy "TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNamse'"
 
!!/eval new Function("return delete this.whitey")();
 
@jAndy "TypeError: Object function Object() { [native code] } has no method 'getOwnPropertyNamse'"
@jAndy "undefined"
@jAndy ["eval","encodeURI","Function","EvalError","JSON","RangeError","parseInt","Numb‌​er","Object","URIError","RegExp","NaN","SyntaxError","decodeURIComponent","Math","‌​whitey","Array","String","parseFloat","isNaN","Date","Error","TypeError","Infinit‌​y","undefined","global","escape","decodeURI","ReferenceError","Boolean","unescape"‌​,"isFinite","encodeURIComponent"]
 
2:18 PM
!!/eval (function() { return { this(); } )();
 
@Neil "SyntaxError: Unexpected token ("
 
!!/eval (function() { return { this(); } })();
 
@Neil "SyntaxError: Unexpected token ("
 
Bah humbug
 
@jAndy false
 
2:20 PM
33 messages moved from JavaScript
 
 
1 hour later…
3:43 PM
beer!> 2 + 2;
@Zirak "SyntaxError: Unexpected identifier"
 
4:06 PM
!!/eval "foobar"
 
@jAndy "foobar"
 
you can't give it commands in the middle of a line can you ?
 
beer!> 2
@Zirak "SyntaxError: Unexpected identifier"
@jAndy Nope, only looks at beginning of lines
 
damn :p
give it a quit message which can get configured by yourself :p
nah, might be annoying after a while tho
 
beer!> 2
@Zirak "SyntaxError: Unexpected identifier"
@Zirak "SyntaxError: Unexpected identifier"
facepalm
@Zirak 2
beer!> NaN;
@Zirak null
@Zirak "NaN"
Good enough
Let's try on FF...
beer!> 2
@Zirak 2
SUCCESS!
HAHAHA!
 
4:21 PM
!!help
 
!!/choose "ask question" "eat food" "do work"
 
@NullPointer eat food
 
!!/hang 3
!!/hang a
 
  +---+
  |   |
  |
  |
  |
__+__

----------
  +---+
  |   |
  |   O
  |
  |
__+__
a
----------
 
4:28 PM
!!/todo get 2
 
@NullPointer No items on your todo
 
!!/todo add eat
 
@NullPointer Item(s) added.
 
!!/todo get 1
 
@NullPointer No items on your todo
 
4:29 PM
!!/todo get eat
 
@NullPointer (0)eat
 
!!/listcommands
 
@jhonraymos Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, slap, nudge, ring, roll, spec, stat, todo, undo, echo, whatswhat, rimshot
 
!!/listen give me a lick
 
@NullPointer Mmmm! you taste just like raisin
@NullPointer true
 
4:32 PM
!!/google apple
 
!!/google nullpointer
 
!!/live
 
@jhonraymos You do not have permission to use the command live
 
4:33 PM
!!/hang r
 
  +---+
  |   |
  |   O
  |
  |
__+__
a, r
--------r-
 
!!/hang a
 
@NullPointer a was already submitted
 
!!/hang
!!/hang m
 
  +---+
  |   |
  |   O
  |   |
  |
__+__
a, m, r
--------r-
 
4:35 PM
!!/urban stackoverflow
 
@jhonraymos hi A quick way of saying [hello].
Server error (status 500) occured
@jhonraymos [Lokesh](http://lokesh.urbanup.com/4563315) Loveable, popular, generous and a great aficionado of bacon and eggs, Lokesh is larger than life Indian dude, always the central magnet of any group male or female. Works hard, plays harder. Storyteller extraordinaire, prone to gross exaggeration, always working overtime to keep track of every tall story, exaggeration and white lie, occasionally gets caught in his intricate self constructed web of deceit. But lives with the philosophy that "it's not a lie unless you admit its a lie"
 
!!/urban whatwhat
 
@NullPointer whatwhat A monster that hides up youre bum ands comes out at night to feast on your shit . A stupid mofo how should be slapped across hi s face for his faggness
@jhonraymos [stackoverflow](http://stackoverflow.urbanup.com/5997436) A programming Q&A site, where users get upvotes for good questions, answers and comments, and also get downvotes for bad answers, questions and comments. The votes determine your rep (the highest I've seen there is 300k Skeet Skeet)

The users don't play around better not fuck with them. And don't post silly questions, answers, and comments except your Jon Skeet (He has a lifetime supply of upvotes, if you downvote him your wasting your time) . Can be a horror to new users though. Plus its perfectly designed.
 
!!/urban stackoverflow users
 
@jhonraymos Y U NO MAEK SENSE!!!???!!?11 No results for stackoverflow user::1160198
@jhonraymos Y U NO MAEK SENSE!!!???!!?11 No results for stackoverflow johnraymos
@jhonraymos [stackoverflow users](http://stackoverflow.urbanup.com/5997436) A programming Q&A site, where users get upvotes for good questions, answers and comments, and also get downvotes for bad answers, questions and comments. The votes determine your rep (the highest I've seen there is 300k Skeet Skeet)

The users don't play around better not fuck with them. And don't post silly questions, answers, and comments except your Jon Skeet (He has a lifetime supply of upvotes, if you downvote him your wasting your time) . Can be a horror to new users though. Plus its perfectly designed.
 
4:38 PM
!!/user 1160198
 
jhonraymos, Bikaner, India
3.4k 1 3 22
 
@jhonraymos its like above
 
@NullPointer cool
 
!!/user
 
4:40 PM
!!/todo add Microsoft
 
@jhonraymos Could not process input. Error: Cannot call method 'replace' of undefined
 
!!/learn echo "echo is echo not "
 
@NullPointer Command echo already exists
 
!!/learn null"nullpointer id 1723893"
 
@NullPointer Could not process input. Error: Cannot call method 'replace' of undefined
 
4:41 PM
!!/learn null "nullpointer id 1723893"
 
@NullPointer Command null learned
@jhonraymos No items on your todo
 
!!/null
 
@NullPointer nullpointer id 1723893
@jhonraymos Item(s) added.
 
!!/todo get 1
 
@jhonraymos (0)Microsoft
 
4:42 PM
!!/bye
 
@jhonraymos Command bye does not exist.
 
test
this needs
a time stamp
jesus, why does my own post not get one
test
ffs
!!/listcommands
 
@rlemon Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, slap, nudge, ring, roll, spec, stat, todo, undo, echo, whatswhat, rimshot, null
 
test
 
!!/user 829835
 
4:44 PM
rlemon, Ontario
6.2k 1 14 35
 
hrmm. didn't work
 
!!/test
 
@rlemon this thing is awesome ...
 
@jhonraymos Command test does not exist.
 
!!/norris
 
4:45 PM
Oh don't mind me, that isn't difficult at all...
@NullPointer President Roosevelt once rode his horse 100 miles. Chuck Norris carried his the same distance in half the time.
 
!!/slap
 
@NullPointer what's that...?
 
Oh don't mind me, that isn't difficult at all...
@NullPointer 0 got slapped around a bit with a large trout
 
!!/google stackoverflow
 
Oh don't mind me, that isn't difficult at all...
@jhonraymos [Stack Overflow](http://stackoverflow.com/) ; [Log In - Stack Overflow](http://stackoverflow.com/users/login) ; [Stack Overflow Careers 2.0](http://careers.stackoverflow.com/)
 
4:46 PM
@jhonraymos !!/norris
??
 
yes
 
Excuse me for a sec, pushed improvements:
!!/refresh
!!/listcommands
 
@Zirak Available commands: help, listen, eval, live, die, refresh, forget, ban, unban, regex, jquery, choose, user, listcommands, purgecommands, define, norris, urban, parse, tell, mdn, beautify, convert, get, google, hang, learn, slap, echo, whatswhat, rimshot, null, nudge, ring, roll, spec, stat, todo, undo
 
k, it works
 
5:02 PM
8 mins ago, by Zirak
k, it works
10 secs ago, by NullPointer
8 mins ago, by Zirak
k, it works
29 secs ago, by NullPointer
10 secs ago, by NullPointer
8 mins ago, by Zirak
k, it works
22 secs ago, by NullPointer
29 secs ago, by NullPointer
10 secs ago, by NullPointer
8 mins ago, by Zirak
k, it works
@SOChatBot hello
!!/hello
 
@NullPointer Command hello does not exist. Did you mean: help, tell
 
!!/hi
!!/hell
 
@NullPointer Command hi does not exist.
@NullPointer Command hell does not exist. Did you mean: help, tell
 
!!/what
 
@NullPointer Command what does not exist.
 
5:05 PM
!!/nudge
 
@NullPointer Many things can be labeled Not a Number; a delay should not be one of them.
 
!!/rimshot
 
@NullPointer *Buh
 
 
4 hours later…
9:33 PM
@RyanTernier Registered; need 2 more to execute
@RyanTernier Already registered; still need 1 more
@RyanTernier Already registered; still need 1 more
@RyanTernier Already registered; still need 1 more
@RyanTernier Already registered; still need 1 more

@RyanTernier Already registered; still need 1 more
@RyanTernier Already registered; still need 1 more
4 messages moved from C#
 

« first day (787 days earlier)      last day (4136 days later) »