« first day (302 days earlier)      last day (3505 days later) » 

12:01 AM
okay, turned it off in the Tavern. Here goes nothing...
 
[ SmokeDetector ] SmokeDetector started at rev 1236180 (@Undo)
[ SmokeDetector ] Matches .*: Blowing your own sail? on physics.stackexchange.com
 
!!/block
 
!!!
 
blocked
 
12:02 AM
yay
 
... uh...
 
... @hichris123 ^
 
wait, did it fix itself?
 
12:03 AM
no, me killed it :P
 
Oh.
Well, hmm...
@Undo just log blockedTime and time.time()
 
k
incoming...
 
[ SmokeDetector ] SmokeDetector started at rev 1236180 (@Undo)
[ SmokeDetector ] Matches .*: Linear Regression In R and test of constant variance on stats.stackexchange.com (blockedTime: 0 | time.time(): 1410739577.25)
 
!!/block
 
blocked
[ SmokeDetector ] Matches .*: How do I help create story around the table without writing it? on rpg.stackexchange.com (blockedTime: 0 | time.time(): 1410739587.2)
 
12:07 AM
(killed)
That's using:
s="[ [SmokeDetector](github.com/Charcoal-SE/SmokeDetector) ] %s: [%s](%s) on `%s` (blockedTime: `%s` | time.time(): `%s`)" % (reason,titleToPost,d["url"],d["siteBaseHostAddress"],blockedTime,time.time())
 
huh, so blockedTime didn't get changed.
Try doing global blockedTime at the top, @Undo.
 
  File "ws.py", line 22
    global blockedTime = 0
                       ^
SyntaxError: invalid syntax
 
global blockedTime
blockedTime = 0
^ try that
 
here we go
 
[ SmokeDetector ] SmokeDetector started at rev 1236180 (@Undo)
[ SmokeDetector ] Matches .*: Empirical Bayes estimates of fixed effects (STATA 12) on stats.stackexchange.com (blockedTime: 0 | time.time(): 1410739831.27)
 
12:11 AM
!!/block
 
blocked
[ SmokeDetector ] Matches .*: How do I get better at narrating/storytelling as a GM? on rpg.stackexchange.com (blockedTime: 0 | time.time(): 1410739845.03)
 
... nope
 
gah
 
[ SmokeDetector ] Matches .*: How to prove math theorems in formal logic or at least in the style of natural deduction? on math.stackexchange.com (blockedTime: 0 | time.time(): 1410739845.49)
[ SmokeDetector ] Matches .*: Joining QGIS extent table with shapefile on gis.stackexchange.com (blockedTime: 0 | time.time(): 1410739848.61)
 
(killed)
here, let me commit what I have
 
12:13 AM
wait, I think I got it. maybe.
Change line 23 back to just blockedTime = 0, and then in the watcher method do a global BlockedTime.
 
huh?
Edit it in the repo, I'm not understanding
 
I'll edit it in.
There.
 
incoming
 
[ SmokeDetector ] SmokeDetector started at rev 713fb43 (@Undo)
[ SmokeDetector ] Matches .*: If 0° ≤ x < 90°, then tan x cos x simplifies on math.stackexchange.com (blockedTime: 0 | time.time(): 1410740217.17)
 
!!/block
 
12:17 AM
!!/block
 
[ SmokeDetector ] Matches .*: How can I install an app given only its APK file? on android.stackexchange.com (blockedTime: 0 | time.time(): 1410740217.57)
 
backlog now
 
[ SmokeDetector ] Matches .*: What is the pixels to units property in Unity sprites used for? on gamedev.stackexchange.com (blockedTime: 0 | time.time(): 1410740217.87)
blocked
blocked
 
heh
 
hey, did it... work?
 
12:18 AM
no
it's trying to post:
[ [SmokeDetector](github.com/Charcoal-SE/SmokeDetector) ] Matches .*: [When did ?ain't? become slang](english.stackexchange.com/questions/196395/…) on `english.stackexchange.com` (blockedTime: `1410741120.73` | time.time(): `1410740251.6`)
I think
 
That's okay.
 
might be ratelimited
 
It just blocks it from posting.
 
@hichris123 oh, so it's working?
 
yep.
 
12:19 AM
Yay!
 
blockedTime != 0 anymore.
 
so...
!!/unblock
 
unblocked
 
...
 
[ SmokeDetector ] Matches .*: Asynchronously remove JSON object from screen on stackoverflow.com (blockedTime: 1410740331.82 | time.time(): 1410740340.02)
 
12:19 AM
there.
 
awesome
 
[ SmokeDetector ] Matches .*: Requiring a pin instead of password for websites? on security.stackexchange.com (blockedTime: 1410740331.82 | time.time(): 1410740351.92)
 
!!/block
 
blocked
 
okay, I'm gonna kill the .* thing and merge into master
 
12:20 AM
okay.
Or, I can do it if it's easier.
 
nah, I'm already in vim
 
@Undo Are you going to let the Tavern see when it starts, or just keep it out?
 
Is there any reason they need to see?
Right now it won't.
 
meh.
 
We could add a !!/isawake command, available to anyone.
or !!/alive?
 
12:25 AM
Hmm, that's a good idea.
 
[ SmokeDetector ] SmokeDetector started at rev ec398e9 (@Undo)
 
okay, all set :D
 
!!/block
 
blocked
 
!!/unblock
 
12:27 AM
unblocked
 
!!/block
 
heh
That ain't gonna work, @bjb568
 
Why?
 
'cause
 
Uh... you broke something @Undo.
 
12:28 AM
I did?
 
@Undo Cause what?
 
... oh :P
 
@Undo might want to pull...
 
12:33 AM
I'm trying to.
Fighting screen atm :P
 
@Undo Add me!
 
[ SmokeDetector ] SmokeDetector started at rev 73b9bdc (@Undo)
 
@bjb568 I sure would if you demonstrate that you wouldn't abuse it and are trustworthy ;)
 
@Undo Kittens are always trustworthy.
Now… what kind of demonstration?
 
@Undo what would you think of using deploy keys? I'm not sure how they work, looking into it, but looks cool.
 
12:37 AM
@hichris123 never heard of them, I'll look them up.
@bjb568 By acting near-perfect on chat and the main sites over the next few months ;)
Oh, on that note: @hichris123 have any objections to adding ProgramFOX to the whitelist?
He can push to the repo anyway.
 
nope, no objection.
2 hours ago, by Annonomus Penguin
Let me finish the code... also you should make the array of user IDs that are allowed into one string so it is easy to kick Undo out adaptable.
@Undo ^
 
meh, maybe.
although how we have it works for now
 
@hichris how is it going?
 
@AnnonomusPenguin !!/block
 
Transcript too long: me is lazy
 
12:41 AM
!!/block
 
blocked
 
new message needed
!!/unblock
 
unblocked
 
So it works then?
 
yup
 
12:42 AM
yup :D
 
@Undo Can't you look at the last past months?
 
Did you test it with a message to make sure it works?
 
[ SmokeDetector ] SmokeDetector started at rev 7d63638 (@Undo)
 
we tested it with .*, @AnnonomusPenguin
 
12:42 AM
So what are you two working on?
 
nothing right now.
Looking at deploy keys
 
@Undo for what?
 
huh, so it would make GH call a thing on the server to automatically pull new commits @hichris123?
@AnnonomusPenguin Smokey
 
@Undo are you talking about deployment keys, still?
 
yeah
 
12:48 AM
@Undo I think.
 
That'd be cool... the only issue is would it restart Smoke?
 
yeah, I think we can do that.
I've got to go, thanks for the block code :D
cya everyone
 
cya.
 
Have you guys seen this? ConnectionError: HTTPConnectionPool(host='chat.meta.stackexchange.com', port=80): Max retries exceeded with url: /events (Caused by <class 'httplib.BadStatusLine'>: '')?
 
Oh hi @Andy!
 
12:57 AM
Hi
 
@Andy That error from Smokey?
 
No. Using ChatExchange though
 
It looks like the connection code is getting looped and then the server is blocking you.
Even thought what is this?: httplib.BadStatusLine
> A subclass of HTTPException. Raised if a server responds with a HTTP status code that we don’t understand.
@Andy can you try using cURL in the command line to see what status code it returns?
 
1:02 AM
@Undo Regex false positive ^^^
@Andy read my messages before your last message
The server is basically returning an error code (404, 301, etc.) that the HTTP library being used doesn't understand.
Makes sense?
 
@AnnonomusPenguin I'll have to figure out what is being sent. I will give that a shot though.
Thanks
 
1:15 AM
Use cURL on your server @Andy
If it's installed, of course.
 
1:40 AM
@Undo 59776? ;)
 
2:15 AM
@Doorknob sure ;)
 
[ SmokeDetector ] SmokeDetector started at rev b2e9cda (@Undo)
 
!!/alive?
 
Of course
 
:D
 
2:19 AM
(anyone can use that)
 
Does it work in other rooms?
 
nope, only here
 
We could probably extend it to the Tavern, but that'd be tomorrow if I'm doing it
 
@Undo Or... push it to GH, y'know. :P
 
2:21 AM
just did
I think I messed up the commit message, though :P
 
add git add
yup
 
"!!/alive?" must be chock full of bash keywords or something :P
 
[ SmokeDetector ] SmokeDetector started at rev 2f10c22 (@Undo)
 
!!/alive?
 
!!/alive?
!!/dead
 
2:24 AM
i messed it up
Trying to make it reply to the message
 
[ SmokeDetector ] SmokeDetector started at rev 2f10c22 (@Undo)
 
!!/alive?
 
@Undo Of course
 
yay
 
hey, that's cool.
 
2:28 AM
!!/alive
!!/alive?
 
@AnnonomusPenguin Of course
 
!!/dead?
 
heh
 
One second....
!!/dead?
 
@AnnonomusPenguin Of course
 
2:29 AM
@Undo ^ :P
 
... the heck?
>:( you tricked me
 
@Undo should work on mSE now.
 
But @Undo do you have any tasks that need to be done on SmokeDetector? I don't know a ton of Python but I'd be eager to learn and I pick up new languages fast!
 
@hichris123 I think you're going to need a roomm.join
 
2:31 AM
Oh, gotcha.
There @Undo.
 
The Python doesn't look that modular. I'm not an expert, but you should be able to just use an array and a foreach() loop so you can modify things very quickly without bugs.
Maybe it's faster this way though
Trade offs, I guess
Shrugs
 
@AnnonomusPenguin hmm?
Can I has pull @Undo?
 
@hichris123 things like roomm and wrapm should be in arrays with room and wrap methinks so you can do a simple foreach(room[] as currentRoom) { currentRoom.foobar()
With the correct syntax, of course.
 
@AnnonomusPenguin Ah, you could do that.
I'm doing it this way for the watcher since if anyone were to ever have our chat ID's on chat.mSE, I don't want them to be able to kill the bot.
 
@AnnonomusPenguin Really, just pick out any annoyance you have with it, any feature you want, etc. and work on it.
We don't really have a list.
okay, pulling...
 
2:37 AM
@Undo Do you know how eerily familiar this sounds? I swear you said that to me about Charcoal.
Dec 30 '13 at 3:18, by Undo
@hichris123 Anything you want.
 
[ SmokeDetector ] SmokeDetector started at rev dc69211 (@Undo)
:2406956 Of course
 
... you made a mistake :P
 
:2406957 Of course
 
Oh, ooops.
 
I'll fix
 
2:39 AM
thanks. ;P
 
@Undo Of course
:P
6 mins ago, by Annonomus Penguin
The Python doesn't look that modular. I'm not an expert, but you should be able to just use an array and a foreach() loop so you can modify things very quickly without bugs.
 
[ SmokeDetector ] SmokeDetector started at rev e8fb171 (@Undo)
 
@AnnonomusPenguin Fork it and do it :D
 
:D I might have to work on this some if I have time. I have two other major projects so I'll have to wait on this for a month or so.
Do you guys use Github issues when you have new ideas? You should; I think a lot of others might see that and try to work on this.
 
@AnnonomusPenguin usually when we have new ideas we just do them.
But hichris did put the block idea in issues.
 
2:43 AM
@Undo that works :)
BTW do the smoke detector messages ever get deleted?
 
Not automatically, no.
 
Going to bed, 'night
 
'night
 
night
@Undo yeah, since I didn't know if it was a good idea/how to do it. :P
 
 
7 hours later…
9:45 AM
[ SmokeDetector ] All-caps title: BUSINESS LOANS AVAILABLE? on money.stackexchange.com
 
 
3 hours later…
1:08 PM
!!/alive?
 
@Undo Of course
 
I love that :D
 
1:59 PM
@Undo, when SmokeDetector throws an exception and dies, how do you restart it automatically?
 
[ SmokeDetector ] All-caps title: IBM MQ 7.1 RC 2035 MQRC_NOT_AUTHORIZED on stackoverflow.com
 
2:21 PM
#!/bin/bash
read -p "Username: " u
export ChatExchangeU=$u
export CEU="h"
stty -echo
read -p "Password: " p
export ChatExchangeP=$p
stty echo
while :
do
   python ws.py
done
@Andy ^
 
2:36 PM
Ah. Not from within Smoke Detector. That explains why I wasn't seeing it in the code.
Thank you
Wait, so that means if just one of the rooms Smoke Detector is in has an issue you rejoin all of them. Right?
 
I think
 
[ SmokeDetector ] SmokeDetector started at rev e8fb171 (@Undo)
 
(I just realized I started it wrong last night :P)
 
3:18 PM
[ SmokeDetector ] SmokeDetector started at rev e8fb171 (@Undo)
[ SmokeDetector ] SmokeDetector started at rev e8fb171 (@Undo)
 
!!/alive?
 
@Undo Of course
 
3:33 PM
@ManishEarth Of course
 
!!/alive?
 
@hichris123 That's a nice feature!
!!/alive?
 
@ProgramFOX Of course
 
4:25 PM
@SmokeDetector How did Smokey reply before the question was asked and can it be taught how to do this with lottery numbers?
Wow...that's an amazingly helpful onebox
He replied to ManishEarth's alive prompt before it was asked
 
@Andy Errmm... it didn't.
 
Says it did on my window.
pokes window
 
@Andy ^
 
What do you see in the transcript?
I see it as Smokey replying first
 
Hmm... there is shows Smokey's reply before ManishEarth's message.
Though Manish's message has a smaller ID than Smokey's message.
 
4:29 PM
I'm not crazy, people!
 
Probably it's a glitch in the transcript-building page, because Manish's message actually was there before Smokey's message, according to the message IDs.
 
 
2 hours later…
7:29 PM
Feature request: limit command usage to known approved users. Especially with the new alive command.
See this block on the tavern for reference on why responding to anyone seems to be ripe for abuse/annoyance: chat.meta.stackexchange.com/transcript/message/2410147#2410147
 
8:28 PM
@Andy !!/alive is the only command given to everyone.
IMO, it's fine as it's just supposed to be a easy way to check it's alive, but... depends on if people start abusing it.
 
9:22 PM
Do you consider editing messages to make a conversation with SD an abuse?
 
meh.
 
!!/alive?
 
@Doorknob Of course
 
Hey, it works!
It might be less prone to abuse if it just said "yes" instead of funny yet not really necessary random messages
 
9:47 PM
@Doorknob That's only in the Tavern.
I'm not sure yet -- we'll see if people abuse it.
 
!!/alive?
 
@AnnonomusPenguin Of course
 
!!/hi?
@hichris it'd be bad if a lot of bots all replied to you at the same time... we have to be careful with permissions :)
!!/alive?
Of course
...Of course
Of course
...Of course
Of course
 
10:14 PM
@AnnonomusPenguin ?
oh.
 

« first day (302 days earlier)      last day (3505 days later) »