« first day (887 days earlier)      last day (1273 days later) » 
00:00 - 15:0015:00 - 00:00

3:00 PM
I'll just look for it on MSE
 
Sam
@michaelpri I know a meta post just a sec..
76
A: How do I change my OpenID provider(s)?

Shog9This gets a bit more complicated when you're trying to add a Stack Exchange OpenID, particularly if you're already using a different SE OpenID. You can't change the email associated with an existing Stack Exchange OpenID. You can create a new one, but the Add Login page doesn't give you this opti...

I believe that's the one.
 
@michaelpri You can create an SE login and bind it to your account. Then you can use both Google and SE login.
 
@michaelpri I already made one, it also has the required rep :D
 
Made a twitch.tv account for when I stream a chess tournament or something.
Now that I think about it, I'll probably use Google Hangouts on Air instead.
 
Found my mistake.
 
3:04 PM
AAAAARRRRRGGGGGHHHH
dammit why can't I delete my twitch.tv account
 
@Unihedron O.O"
 
@michaelpri :P
 
Eh.
 
3:18 PM
@ProgramFOX Do I need to run setp.sh at all?
 
@michaelpri No, it's only optional if you want to set some environment variables to store username and password for CE to use.
 
I have it setup, but I'm really bad at it :P
 
yay free honor
 
3:22 PM
not very interesting but at least not as boring as + :P
 
Huh?
 
"Huh"?
 
Oh.
Heh, python.
~reasonsToHatePython++;
 
Interesting to know that it wasn't as obvious as I thought :P
 
in Java, 12 secs ago, by Unihedron
!!>((a, b)=>a -- b)(5, 7)
in Java, 14 secs ago, by Caprica Six
@Unihedron "SyntaxError: missing ) in parenthetical"
Any sane language should treat -- as pre|post fix operator. :P
 
3:24 PM
Yeah, but the -- operator doesn't exist in python
 
!!
 
@JacobGray What are the credentials for the bot?
 
Sam
...
Wait, wait. Since when did this message get 6 stars?!
 
@michaelpri email me, And i'll reply with them :P
 
Hey, six stars in two hours, not bad.
 
Sam
Heh.
 
why is that even a kata?
 
@JacobGray Reasons.
 
@JacobGray What's your email?
 
jacob@debonairstudios.com
 
Sam
3:29 PM
Hmm, Byte has 5 more honour than me...
Time for some more katas.
 
@Catgocat has ~300 honor more than me.
determined face
composes Katas like crazy
... so meta
 
@JacobGray We need to get it some rep on other SE sites
 
okay
which ones?
 
"it"?
 
it.
 
3:40 PM
... who/what is "it"?
 
me
 
ah I see :P
 
Sam
I'm "The It".
 
And I'm "The IT".
 
I am AI
 
3:41 PM
I am sick of these jokes.
 
meow
 
Sam
woof
 
flags as offensive
 
3:44 PM
Which sites are easy to get rep on?
 
hmm...
 
Sam
MSE mwahahahaha
 
Bahhh
 
If you want to make it talk on all rooms on the whole network, you need to have 20 rep on SO and MSE. Then you can talk on chat.SE, chat.MSE and chat.SO.
 
Oh, then MSE it is :)
 
3:46 PM
@michaelpri MSE
 
Time to go Nicael style :)
 
Bzzzz
 
someone teach me haskell
I feel my three days of hell training has been unfruitful once I tried to solve this: codewars.com/kata/arithmetic-sequence/train/haskell
 
@michaelpri if you speak English then english.stackexchange.com
 
AWOOOOOOO!
 
3:47 PM
@TristanWiley that site sucks
 
Sam
^
 
(^ should have had appeared after the meow, woof, ... - had a timeout.)
 
Unihedron you suck... OHHHHHHHHHHH (•_•) / ( •_•)>⌐■-■ / (⌐■_■)
 
@michaelpri Give it 200 rep on one site, then it automatically gets 100 on every site.
 
Alright, anybody have a feature request/bug?
 
3:48 PM
It can even create and own rooms then.
Just do 100 edits... ;)
 
I need rep for "it"
 
@michaelpri Just answer stuff.
Upvotes for questions are inefficient.
I got ~800 rep on MSE lately from a stupid answer.
221
A: A/B testing the sticky vote controls - give your feedback, please

UnihedronI don't like how it's following me. If it does get deployed, I hope there's a setting to turn it off.

 
There should be no rep on MSE anyway - as there is no rep on any site meta-sites.
 
@ByteCommander MSE is not a child meta.
 
Yes, but it is there for the same purpose, right?
Just globally instead of site-specific.
 
3:54 PM
Your "just" is scary here.
 
Do you think it'd be weird if I posted something only moderators can do on this question?
 
you can add a note that you post it, or something
 
What, say that I'm using a bot?
 
Why not? Chatbots are no problem on the network.
 
4:11 PM
And it's done
0
A: How can I move a discussion to chat before being prompted?

TPCyborgThere are a few options to move comments to chat. You can create your own chat room and manually invite the other user to chat. You can also add a few extra messages to the conversation in the comments so that the option to move the conversation to chat comes up. You can then delete the extra mes...

 
@michaelpri Typo in the TPCyborg's about-me:
> I am a robot, and I basically just sit around the TPC (Teenage Programers Chat-room).
 
It's Chatroom
 
And "Programmers" with "mm"
 
Damnit wrong image
Screw it, nevermind
 
I just wondered what you wanted to tell us with that...
 
4:20 PM
how do you author katas in codewar?
 
I do
 
@JacobGray Got 20 rep on MSE :)
 
Yeah, I'm on my school computer so Imgur is blocked. I have to use a web proxy to get around it so it took me a while to realize I had the wrong picture.
 
@michaelpri nice :D
 
School computer's restrictions suck!
 
4:23 PM
I know! I will get around it. I will
 
One should abolish them world wide by law.
 
Well sometimes I get it, but they restrict too much
 
@JacobGray We can start working on the actual bot now
At my school, SE chat was blocked and proxy were too, so I could never go on it
 
SE isn't! Proxy are, I just found one that works lol
 
I can still go on SE sites, but I just couldn't chat. Good thing it's summer now :)
 
4:29 PM
@michaelpri you have installed chatexchange, right?
 
Yeah
 
how do you put in the login credentials?
 
I just ran sudo make and it prompted me for them
 
oh, that's easy :D
is there a file it runs so we can set what it does?
 
@JacobGray setp.sh
 
4:35 PM
I'm still kinda trying to learn hot ChatExchange works, but I think so
 
That one asks you for your mail and SE-password and stores them as local environment variables.
But I prefer entering them manually everytime I need it.
YOu don't have to store them there - it will prompt you if needed.
 
@ByteCommander so lets start simple :P how do we make it post a message?
 
Look at the examples.
There is a directory with 3 or 4 simple example scripts.
 
oh, duh. thanks!
 
4:38 PM
We can always ask @ProgramFOX too. I've heard he's some sort of programming wizard :)
 
Grrr, why is Github blocked!???
 
brb chess
 
lol
 
he said that to me as well
 
4:39 PM
I haven't played codewars for a long time now
Reading the python tutorial and learning, I should do some python katas when I finish reading this
 
I use it to support my python learning for a week or so now.
but most py katas are betas.
 
Who wants to worship me? I need followers/minions
 
@michaelpri github.com/DebonairStudios/ChatExchange/blob/master/examples/… try this i guess, and see what it does :P
 
I've run it already, it says "Hello World!" in this chatroom
@JacobGray Once we can get the first simple bot done, I have an idea for another one.
 
okay :D
 
4:44 PM
 
okay, I'm back!
was fun
got ~40 rating points :D
@michaelpri Got it working? Nice :)
 
@ProgramFOX with CE how do we listen for changes in the room?
messages, pings, etc
 
@JacobGray Use the watch_socket method.
Take a look at examples/chat.py @JacobGray
 
you don't have to, but it's interesting background info
 
4:48 PM
Btw - what's the difference between watch-socket and watch-http?
 
@ProgramFOX Yeah, I'm currently using it from the terminal
 
@ByteCommander watch_socket uses web sockets. watch_http uses HTTP polling
 
Yes, but I mean (dis-)advantages of either of them.
Why are there two methods/which is the better one (for what)?
 
@ProgramFOX is watch_socket a function?
 
brb gotta go eat some waffles
 
4:49 PM
Advantage of sockets: it's faster.
Disadvantage of sockets: it sometimes breaks and needs recovery (CE does this automatically).
Advantage of HTTP: it breaks less easy.
Disadvantage of HTTP: it's slower.
So, I'd go with watch_socket, because even while it can break, CE has recovery for that.
 
do I use watch()?
 
Sam
@ProgramFOX And you can't get that all-important starrer info (when using polling). ;)
 
DO you get star info at all?
 
yep
 
4:51 PM
Or do you mean just the number of stars?
 
It's wrapped in an event with ID 6.
When someone stars/unstars a message, you get that event.
 
Because I did not see a chance to detect WHO starred somthing, and I fear this is intended.
You just see who pinned something.
 
Oh, that data is available in the sockets.
 
You see the starrers IDs?
 
If it wasn't there, I would never have been able to write this app to detect "star trolls" during Winterbash: github.com/ProgramFOX/HeavyStarrerDetector
 
4:52 PM
Oh cool.
It is not documented in the CE though...
 
@ProgramFOX so, if I do this:
def on_message(message, client):
room.send_message("Message Detected")
 
nope
not exactly
that will post "Message Detected" on any event, including UserJoined, UserLeft, MessageStarred, etc.
also, fix your indentation
 
You have to check the type, see the example file
 
ah, so i have to check it with an if
if not isinstance(message, chatexchange.events.MessagePosted):
so more like:
 
4:58 PM
yup
 
def on_message(message, client):
    if not isinstance(message, chatexchange.events.MessagePosted):
        room.send_message("Message Detected")
@michaelpri try that instead :P
 
ouch
now that posts a message for any event except message posted
 
Sam
lol
 
oh, that's what not does :P
 
Sam
facepalm
 
5:03 PM
@michaelpri remove the not >.<
 
@ProgramFOX what is the event for user entering? chatexchange.events.UserEnter or something similar?
 
@JacobGray let me check...
UserEntered
 
okay :D
 
@JacobGray See chatexchange/events.py, line 149
There are all possible events listed.
 
5:06 PM
thanks!
@ProgramFOX one more question, I saw it somewhere in the code but can't find it again >.< how do I get the users name who enters the room?
nvm
i found it again ;p
message.user.name
 
python is great
 
@ProgramFOX so will room.send_message('@ProgramFOX') ping you?
 
yup
 
what do you guys use to make chatbots?
is it tcp connection?
 
@ProgramFOX does this look okay? pastebin.com/c6XUwsbn hehe
 
5:12 PM
you guys are very good at ignoring
 
we are using chat exchange
@michaelpri try using this: pastebin.com/c6XUwsbn
it should welcome users to the room :P
 
so you parse the html in a loop
 
@JacobGray Shouldn't it be if isinstance?
 
@JacobGray What @michaelpri said.
 
@Catgocat If I saw it right, it can either poll the HTTP and check for changes or use the WebSockets package.
 
5:32 PM
@ByteCommander very nice
 
@JacobGray It's not working, it says NameError: global name 'room' is not defined
 
room is outside the scope of the other method
 
@michaelpri which room are you using for tests currently? (would you use if it worked yet)
 
Should I pass it in as a parameter to on_message?
@ByteCommander This room
 
And have you uploaded the code on GitHub or sth like that?
 
5:39 PM
So far I'm only using ChatExchange
 
6:22 PM
@michaelpri You could also use the general sandbox or even my bot garage.
It is so quiet in there anyway...
 
@ByteCommander That room is just default for a bot using ChatExchange, so that's why I'm using it
 
I know.
Just suggesting.
I need somebody to keep my garage warm anyway.
And I could add you as owner.
 
Yeah, that's sounds good. I won't be able to go in right now, but I'll test out the bot in there later
 
Additionally, it has a nice and easy to remember room number: 22622 ;)
Too bad I did not get 22222... That would have been cool.
 
hello all
 
6:30 PM
Hello ! Can someone help me with an algorithm ?
 
hello to both of you.
 
Hey guys
 
@Silviu Don't ask whether to ask, just ask. ;)
 
ok thats awesome because I have a question too :)
 
Even I need some help about android code
@silviu : what algorithm ?
 
6:33 PM
What would cause messages using parse.com send and receive and show up during IOS testing in Xcode, but once on the app store the messages don't show up in the chat window at all?
 
let me to write ( translate in english )
 
@DiplomaticMedic Sorry, not my cup of tea. My domains are Ubuntu and Java and some basic Python mainly...
 
Roger ;)
 
Maybe someone else knows it... :)
 
@diplo
 
6:37 PM
Yes?
 
@DiplomaticMedic : even I am having an issue with parse notifications, how do I redirect users to a particular url in my apllication using JSON push messages in parse.com
 
Oh boy JSON is something I haven't tackled yet bud, i'm using OBJ C
 
YOu are using parse.com right to send notifications ?
 
Ok my question is how I want to open links using my application not a browser when I click the notification
 
 
2 hours later…
8:41 PM
@Unihedron hey
chess anyone
?
 
@JABFreeware I'll play you, but I'm absolutely terrible. I've only played against computers :P
 
thats fine, I'll let you choose the color. Just send the link
 
On Lichess, right?
Standard?
@JABFreeware Did my move work?
 
yep
sorry multitasking
 
Oh, no problem
 
8:56 PM
good night.
 
@ByteCommander Cya o/
 
pppp[s
 
It was supposed to make a noise, but I had to turn it off :P I'll play you again?
 
9:18 PM
@michaelpri im too angry right now
I could kill someone
maybe later
 
Uhh, whats wrong?
 
THESE IDIOTS
They dont understand there own damned product
okay Im better now
@michaelpri another?
 
Sure
 
link?
 
10:10 PM
@michaelpri so, what are we going too do with the bot now?
I worked on the website a little bit more, it no longer looks as bad :D
 
@JacobGray I was gonna look over ChatExchange soon. Learn how it works and stuff. We might be able to start it tonight if that works for you. What time zone are you?
 
@michaelpri Eastern
 
Alright, same. That's good, we won't be all mixed up timewise
 
@michaelpri with the paste bin, try just typing room on line 15 to define a global variable
then it should work in any function
 
Alright
 
10:17 PM
what room is it running on?
I'll join and we can see if it works :D
 
Here, but give me a second to set it up.
 
okay
 
You're saying I should move room = client.get_room(room_id) to line 15 right?
 
no, just type room on line 15
logger = logging.getLogger(__name__)

room
def main():
like that ^^
 
Shouldn't I do global room. I think just room will throw an error
Yeah, it does
 
10:24 PM
I don't know, do you have to add global to make a variable global in python?
aha, add room to line 15 like above
but on line 36, add global:
global room = client.get_room(room_id)
that should work, i think...
lol, does that throw an error?
 
Hmm, I did
global room
room = client.get_room(room_id)
 
does that work?
 
watsupfam
 
and I didn't get room not defined error, but now it sat message doesn't an attribute user
 
@Darkstar you have entered the dominion of the Zombie Pony Queen.
@michaelpri did it tell you the line number?
 
10:30 PM
lol
jacob get the free cloudflare for that fair site
 
It's the line where it says `room.send_message("@" + message.user.name + " you have....."
 
@Darkstar it isn't mine, but they have reallllly cruddy hosting
 
lol i bet
u getting paid
 
@michaelpri change " + message.user.name + " to kitty like
room.send_message("@kitty you have....."
@Darkstar No, I volunteered :D
They are paying $90 a year for there hosting, it is a really bad plan
@michaelpri any luck?
 
No errors yet
 
10:34 PM
lol
ive got like the $10 a year hosting from namecheap and its fine
 
Now lets get to work on the name :)
 
yeah, i have $12/year from another company
 
namecheap is nice cause u can pay with bitcoin
 
lol, well, I don't have any bitcoin
@michaelpri why is the name not working :/
 
That's what I'm trying to figure out now
 
10:39 PM
anyone understand image rendering
ive got a large background image that isnt displayed at full quality
but image-rendering:crisp-edges doesnt work
 
@michaelpri can you put the whole code on git hub so we can both look at the same thing :P
 
Yeah, I'll make a repo
 
@Darkstar css-tricks.com/almanac/properties/i/image-rendering does that answer anything?
 
1 sec eating dinner
ya i already checked that out
added crisp edges
nothing worked
0
Q: Background-image rendering causes blurring of HD background

DarkstarGo to http://willhay.io in Safari for the best example of this issue I can't seem to solve. Change the size of the browser and the background image will blur itself noticeably. I know it has something to do with how the browser renders the image, and I tried using image-rendering:crisp edges; bo...

 
@Darkstar does the $10 namecheap plan have console access?
 
10:53 PM
i dont think so
its shared
i just use ftp
 
@JacobGray Here's the repo. The file to run is testbot.py
 
@michaelpri i don't know why user doesn't work...
def on_message(message, client):
    if not isinstance(message, chatexchange.events.MessagePosted):
        # Ignore non-message_posted events.
        logger.debug("event: %r", message)
        return

    print ""
    print ">> (%s) %s" % (message.user.name, message.content)
    if message.content.startswith('!!/random'):
        print message
        print "Spawning thread"
        message.message.reply(str(random.random()))
 
I think it's because there is no message to read on UserEntered. Instead I think we must do something like UserEntered.user
 
@ProgramFOX is that how it works?
@michaelpri could be
I have to go now anyway, dinner :D
 
11:08 PM
Alright, cya
 
11:25 PM
Hah, got it :)
@JacobGray I had to change ChatExchange a bit, but I was able to make it so that it will ping the user
 
00:00 - 15:0015:00 - 00:00

« first day (887 days earlier)      last day (1273 days later) »