Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 59481

To chat is to talk in a friendly and informal way. A chatroom is a place where two or more users can post messages to talk with each other. A chat service is a service providing two or more users with the ability to communicate.

6 votes
Accepted

"The 2nd Monitor" chatroom translator

Be careful when using setInterval: setInterval(translate, 5000); If for some reason something started to hang up, maybe your browser or your client's connection to the server, a thread will stall, …
SirPython's user avatar
  • 13.3k
2 votes
Accepted

Smoke the SmokeDetector

I'm sorry, but my review is going to be short; your code looks pretty good. Refactor node deletion You did a very good job of refactoring your code for the most part. The only repetition that I ca …
SirPython's user avatar
  • 13.3k
2 votes

Badge Oneboxer for Chat.SE

Don't check all elements Every time a new chat message is added, you are searching through all the chat messages on the page for messages to one-box. …
SirPython's user avatar
  • 13.3k
3 votes
Accepted

IRC server implementation in Python

In the method IRCServer._ping_check_thread, you seem to be checking if a client's connection with the server has timed out. However, you seem to be re-inventing the wheel there. The python socket lib …
SirPython's user avatar
  • 13.3k
6 votes
Accepted

Another JavaScript Stack Exchange chat bot

I'm assuming that you aren't going to only have these three commands for your chat bot; you're probably going to want to add more in the future. …
SirPython's user avatar
  • 13.3k
3 votes
Accepted

Lorem ipsum chat bot

The design of your getXHR function is very confusing. First off, by the top of the code, we learn that there is a variable xhr that is in a scope for all these functions to see. Then, looking at thi …
SirPython's user avatar
  • 13.3k
1 vote

Userscript for easily replying in Stack Exchange chat

Simplify with regex After creating some sample chat messages and looking over them, this is the format that special beginning part of the chat message: /^@(.+)(@|*)/ In case, you aren't familiar with … Now, let's use this chat message as an example: "@SirPython@ You are so cool!" …
SirPython's user avatar
  • 13.3k
2 votes
Accepted

Realtime chat service

var entry = $("#entry").val(); var reply_msg = {"content" : entry, "group":groupid}; socket.emit('reply',reply_msg); $("#entry").val(""); }); var groupname = groupid + "chat … "; //got the msg and append to chat window socket.on( groupname , function(data){ var new_msg = $("<p>" + data.content + "</p>"); $('#msg').append(new_msg); }); }) This code …
SirPython's user avatar
  • 13.3k