« first day (1176 days earlier)      last day (2938 days later) » 

J F
J F
00:00
Also, the newest version is at the top of github.com/j-f1/coal/releases
I'm just about to download it and check it out, let's see how it goes
@JF any idea how to fix this problem?
After running npm start
J F
J F
01:02
@angussidney Sorry, I was AFK, but the master branch on GitHub should have a fix.
Thanks
For some reason, every time I click the login link it opens it in my actual browser
J F
J F
@angussidney Should be fixed on master.
Sent from your app
@JF it works well, thanks for the tech support!
J F
J F
Now wait for a post from Smokey :)
01:38
!!/alive
@angussidney Of course
01:52
@angussidney it hasn't died yet lol
!!/location
@ThomasWard teward/ESXi
so I'm leaving it on the ESXi until it starts dying
i wonder if it's Aurora's tree not being completely clean or something freezing it up, but i'll blow it away soon enough
02:25
@JF would this work with other chatrooms?
J F
J F
02:50
@MarkYisri Yeah, it should, and it’s pretty simple to inject scripts into the page.
Restart: API quota is 6903.
Hey, guys, how do I put Python code into chat
(83 characters)
Oh, I think I got it
Test:
i = 9 ** 9 ** 9
b = 2

B = lambda y,x=0:y and y % b * (b*b)**B(x) + B(y/b,x+1)

while i:
    i = B(i)-1
    b *= b
print(b)
OK
@AkivaWeinberger That’s golf-code, I hope.
Yeah, it was from a contest I found online of trying to get a huge number with the least amount of characters @Wrzlprmft
03:05
@AkivaWeinberger what does this have to do with spam?
@ArtOfCode This isn't the Stack Exchange chatroom? Sorry
@ArtOfCode The room description isn't very helpful.
@ArtOfCode well it’s spamming this chatroom with off-topic content
Where would I find the chatroom for coding
@AkivaWeinberger nope, it's just a room with Stack Exchange as a parent. That doesn't mean it's global.
[ SmokeDetector ] SmokeDetector started in reverted mode at rev fbc55d2 (ArtOfCode: Merge pull request #504 from Glorfindel83/master) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
03:07
@AkivaWeinberger try Python on SO chat
@SmokeDetector playing with something, disregard
!!/location
@angussidney teward/ESXi
@Undo Would you object to putting some more stats on the dashboard of MS? Something like '87 filters have caught 55,971 posts \n 54321 true positives, 12345 false positives, 123 NAA (xx% accuracy)'
03:14
[ SmokeDetector ] SmokeDetector started in reverted mode at rev fbc55d2 (ArtOfCode: Merge pull request #504 from Glorfindel83/master) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9999.
!!/status
@Undo Running since 02:54:40 UTC (20 minutes)
@angussidney depends on if it can be done cleanly and without a big performance hit
Should be possible
Restart: API quota is 9997.
!!/location
03:16
@Undo teward/ESXi
Restart: API quota is 9996.
!!/location
@Undo teward/ESXi
@Undo Undo's DigitalOcean (ubuntu-512mb-nyc3-01))
test
fo
Yeah, so we need a way to direct stappit to specific instances. I'm doing that.
Sorta like !!/stappit <location>?
Aye
More like !!/stappit <location-to-match>
So that !!/stappit Undo would kill mine without me needing to think about it too much
03:20
True
And would !!/stappit be global or just 'please direct it at the correct bot'?
I don't see a reason to change it from being global
Alternatively we could introduce some code to allow us to add confirmations to commands, so people don't accidentally shut down everything
that'd be another nice thing to have, yeah
It would be good if we could use it for other commands too e.g. !!/block etc
!!/pull
03:29
[ SmokeDetector ] SmokeDetector started at rev fbc55d2 (ArtOfCode: Merge pull request #504 from Glorfindel83/master) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9962.
Restart: API quota is 6798.
what
!!/master
[ SmokeDetector ] SmokeDetector started at rev fbc55d2 (ArtOfCode: Merge pull request #504 from Glorfindel83/master) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9960.
Restart: API quota is 6796.
Restart: API quota is 9952.
!!/rev
!!/pull
!!/alive
I may have just killed everything, somehow. Oops.
03:34
Watching you trying to direct two Smokeys makes me think of this: youtube.com/watch?v=F_-ieqRLCc4
fairly accurate
yup, it's dead.
Not sure why, though
@ThomasWard Just in case you happen to see this, your smokey was accidentally killed, so could you bring it back online when possible
I'd still like to know how I killed it
What does the rails method to_a do?
Turns an ActiveRecord collection into a plain old array
Useful when you want to override AR's usually-helpful magic
I.e. an Array's select method does something entirely different than an AR collection's select method.
03:38
[ SmokeDetector ] SmokeDetector started at rev 00f0150 (Undo1: Allow scoping of stappit to specific location --autopull) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
I'll take it for now, seeing as I killed it :P
Restart: API quota is 9951.
now, let's try this...
!!/stappit completelynotrelevant
syntax issue.
!!/location
@angussidney Undo's DigitalOcean (ubuntu-512mb-nyc3-01))
Restart: API quota is 9948.
03:42
!!/alive
@Undo Of course
CI on f763814 succeeded. Message contains 'autopull', pulling...
[ SmokeDetector ] SmokeDetector started at rev f763814 (angussidney: Make !!/stappit <location> case-insensitive --autopull) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9937.
These location messages are starting to get a little long
@angussidney Due to my startup script; we could shorten them to whatever we want if it's a real issue
CI on be0a44c succeeded. Message contains 'autopull', pulling...
[ SmokeDetector ] SmokeDetector started at rev be0a44c (Undo1: Merge branch 'master' of github.com:Charcoal-SE/SmokeDetector --autopull) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9932.
!!/stappit completelynotrelevant
03:46
@Undo Undo's DigitalOcean (ubuntu-512mb-nyc3-01)) is ignoring this command.
sweet
!!/stappit Undo
Goodbye, cruel world
[ SmokeDetector ] SmokeDetector started at rev be0a44c (Undo1: Merge branch 'master' of github.com:Charcoal-SE/SmokeDetector --autopull) (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9927.
04:05
!!/errorlogs 50
04:28
!!/alive
@Undo Of course
!!/alive?
@Undo Of course
wow
how'd you kill it dude
like seriously
@ThomasWard I have no idea, actually
04:32
(I broke SSL on fifteen sites, i was fixing that)
ugh, that sounds like a terrible thing to be doing
@Undo same symptoms as Aurora had
it restarted, but then hung
so i think i'd like to revert a commit and test something
@ThomasWard Sure, go ahead
because i think that infinite loop we had might be the problem
we started having this problem, what, about a week ago, when I took a stab at the invalid literal problem, right?
Sounds about right
04:36
alright, well i'm reverting that commit...
CI on b2408b8 succeeded.
Seems plausible too, that's super early in the startup cycle
[ SmokeDetector | MS ] Manually reported question: You are lifting heavy weights by user85709 on graphicdesign.stackexchange.com
which should remove the issue if that was the cause
@Undo I believe it could very well be
!!/pull
@Undo that's the only thing I can think of for it dying
[ SmokeDetector ] SmokeDetector started at rev b2408b8 (Thomas Ward: Revert "Attempt to transparently handle "invalid literal" ValueErrors in ws.") (running on Undo's DigitalOcean (ubuntu-512mb-nyc3-01)))
Restart: API quota is 9791.
04:37
!!/stappit
Goodbye, cruel world
hey, valueerror lol
Restart: API quota is 6787.
@Undo that's why it blew up
Network issues?
04:38
@Undo valueerror'd a few times
took 45sec. to resolve
then it got the socket up
I'd like to know why we get those errors.
@ThomasWard yeesh, that's an awful long time
same here, but without a lot more debug logging that'll be hard
@Undo yes, but that explains why the infinite loop caused the errors
yeah, probably not worth digging into. But... it'd be nice to know
Maybe SE has logs on it
@Undo possibly.
@Undo at this point though i'd rather ValueError than infinite-loop into unusability so it won't reboot
yeah
04:39
but this sheds light onto the core problem we had starting a week ago
also it's mostly not my fault, so yay!
in this case we can blame me, yes.
but we can also sorta slap you for approving the merge, but we did think it would work
in this case, we both agree to revert
and yay, things're working
and we still have the MS timeout checker, in case we do desync and restart because of the MS socket not responding or such
!!/location
@Undo teward/ESXi
@Undo we may want to consider pruning branches in the git tree on the server as well
automatically after the PRs are made, or the blacklists pushed
because i have a whole slew of blacklist branches taking up cruft-space in the .git dir
while the branches are already cleaned on github
04:43
@ThomasWard That'd be a good idea. Metasmoke could probably take care of it
@Undo indeed. Or, we could do it on a timer, I have bash code that works, conversion to Python is easy, and it can just run on a 6-hour timer or something just to clean up the autoblacklist branches
@ThomasWard Any reason we couldn't run something like that on every start/pull? Check for autoblacklist branches that aren't connected to an open PR and nuke them.
@Undo Well, we don't have to push any changes up to GitHub
the idea is we just prune the local branch on the server after we've checked out Deploy
and after it's already been pushed up
because origin (github) will still have the branch there
which explains why on new clones 'git checkout deploy' works :P
@Undo here's what I see currently on esxi:
  auto-blacklist-1486142030.53
  auto-blacklist-1486195471.91
  auto-blacklist-1486196621.52
  auto-blacklist-1486203229.45
  auto-blacklist-1486203509.09
  auto-blacklist-1486207477.46
  auto-blacklist-1486212696.07
  auto-blacklist-1486216631.58
  auto-blacklist-1486219993.99
* deploy
  master
the * is the current branch
i'm going to make a local push on my laptop to a branch up to GitHub, switch back to 'master', and then delete locally, it'll remain on GitHub until merged/closed
8 messages moved to Trashcan
Hi. Just got back.
What is Smokey Beta?
04:50
@MarkYisri Smokey testing
my play account
you'll see 'testbranch'
aye
now, I've already deleted this branch locally on my system
note it's still on GitHub
because it only deletes the local reference unless I issue the delete with git remote or similar
Right
04:52
so we can add a git branch -D right after we are done with the branch
either for the PR or for the direct blacklist commit
once it pushes up successfully, we go back to deploy and local-delete
How do you handle both Smokey's receiving the same command?
^ WONDERFUL
that was needed heh
05:16
@Undo github.com/Charcoal-SE/SmokeDetector/pull/506 needs review at some point, provided the CI doesn't blow up horribly.
it passed on Circle
6 messages moved to Trashcan
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, blacklisted website in body, pattern-matching website in body, repeated URL at end of long post: It has the central inclination of redesiging sex alpha x boost Reviews by Higue1950 on apple.stackexchange.com
i also caught a very evil error I forgot to handle lol
If it passed on Circle, it's good
sd k
@Undo it could still use a functional once-over review - me coding after midnight has varying results :P
(UTC-05:00, 00:17 currently)
I slept to noon though so eh
sorta
05:18
Yep, I'll look it over once I'm done with this
no rush :)
@Undo mind if I ask what you're working on?
4 messages moved to Trashcan
@ThomasWard Just playing with cloud-init. It's fascinating.
heheh, indeed.
Trying to get to a point where I can push one button to launch a Smokey instance and walk away.
heh, cool
then we can spawn failover instances FAST and automatically lol
05:22
CI on 65d2692 succeeded.
Looks good to me
CI on 4690300 succeeded. Message contains 'autopull', pulling...
hey, an all-numbers commit short hash. I always like those for some reason.
HEH
because rare
Restart: API quota is 6620.
05:24
@ThomasWard Not really that rare, even.
Sort of rare -- letters are more common than numbers, and there's 7 characters
hexidecimal, so 10 numbers and 6 letters
!!/rev
@Undo oh, that's right
05:26
Probability is (10/16)^7 =~ 3.7%
!!/blacklist-website this-is-a-test-of-the-emergency-broadcast\.system
@AquariusOne You don't have code privileges, but I've created a pull request for you.
@Undo or about 1 in 27
and let me check the local tree...
@SmokeDetector yep, it works isn't broken
05:26
not 1 in 7,836 as it would be with all letters
i think it worked but it needs another test after I clean my tree again, I missed 5 branches in my cleanup
And once more...
!!/blacklist-website this-is-a-test-of-the-emergency-broadcast\.system
@AquariusOne You don't have code privileges, but I've created a pull request for you.
root@smokey:/home/smokey/SmokeDetector# git branch
* deploy
  master
holy crap I think it works
nice
now Smokey cleans up after itself.
so on that system we won't have a billion auto-blacklist branches xD
05:30
At least they're not SVN branches.
Git branches are light
urgh don't remind me
@Undo but many of them makes things eventually sluggish
light or not
tpu- by teward
@SmokeDetector well that's interesting spam
05:31
@Undo still better to have Smokey clean up after itself so it's only locally tracking Master and Deploy, even when Git blows up or similar
[ SmokeDetector | MS ] Manually reported answer: iPhone 6 contacts appearing that I don't know by Mehak Bansal on apple.stackexchange.com
tpu- by teward
!!/blacklist-website valentinesday2017i.com
@NobodyNada You don't have code privileges, but I've created a pull request for you.
did we forget the \ before the .?
05:32
not a real issue
but I'll edit it anyway
@ThomasWard did *I* forget the "\"?
Yes
@Undo thanks!
:)
someone beat me to it
@Undo it actually i think structured the item wrong
because it was turned into a link
@Undo i was already poking it :P
CI on f3f9c75 succeeded.
@ThomasWard My fault again; I just copied the link instead of typing the URL
so it included an http://
05:34
!!/pull
@ThomasWard CI build is still pending, wait until the build has finished and then pull again.
autopull will get it
Sorry about that; I'll be more careful next time!
CI on 867ca22 succeeded. Message contains 'autopull', pulling...
cool
@NobodyNada no problem, that's why we have code commit privileges to fix evils :)
@NobodyNada We could/should probably optimize it out, actually
Restart: API quota is 6590.
@Undo we could probably set up a list of things we'd want to strip, and run it through "strip_to_regex" as a function or something, that would strip out the evil parts
if str contains "http://" or something, then str.strip('http://')
or whatever
yawns
i should be asleep
yet i can't sleep
CODING IS FUN
@Undo I could re-add the handling code for that InvalidLiteral error, but make it so it actually dies after a number of loops
say, 15 or what not, and forcibly restarts
@ThomasWard Whatever you think is best; you know more about that part of the codebase than I do
with an errorlog message similar to the ones I wrote for the MS ping handler
I'm tempted to leave it as is, or try/catch with a nicer error output to errorLog
as is now without the loop we don't die off with infinite hanging loops
05:37
@ThomasWard Better might be to run it through a URL parser, see if it's comprised only of a protocol and domain. If so, optimize it; otherwise just leave it.
@Undo agreed.
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, bad keyword in username, repeated URL at end of long post: Say Good bye to Fine lines or Firm Skin with Junivive by juniviveskincare on stackoverflow.com (@dorukayhan)
hmm I think i have a potential optin..
tpu- by Yvette
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, blacklisted website in body, link at end of body, pattern-matching website in body, repeated URL at end of long post: Advances Alpha X Boost recovery condition by pudrisicro on workplace.stackexchange.com
tpu- by Yvette
from urlparse import urlparse
try:
    parsed_input = urlparse(inputFromCommand)
    if [result.scheme, result.netloc]:
        pass
    else:
        raise ValueError("Invalid URL")
except:
    return ... #you know what i mean
as a general idea, though we'd put something in "pass" to optimize the .
05:42
@ThomasWard You'd probably want to let it through instead of raising a valueerror, in case it's intentional
and such.
@Undo Just an example
Yep, looks sane
remember this was not an actual code example, just the gist of things
Does if [x, y] actually work?
why not just if x or y instead though; it's clearer to read
05:44
>>> urlparse('http://darkness.dark-net')
ParseResult(scheme='http', netloc='darkness.dark-net', path='', params='', query='', fragment='')
>>> urlparse('http://dark-net')
ParseResult(scheme='http', netloc='dark-net', path='', params='', query='', fragment='')
>>> urlparse('dark-net')
ParseResult(scheme='', netloc='', path='dark-net', params='', query='', fragment='')
Probably because evils.
also probably because we need x and y, for a valid URL, technically
at the least we could just need netloc
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, pattern-matching website in body, repeated URL at end of long post: Final Verdict Biogenic XR provides men by elizadaisy78 on graphicdesign.stackexchange.com
[ SmokeDetector | MS ] Few unique characters in body: Radio Button Action form does not work by Aditya Mahakulkar on stackoverflow.com (@dorukayhan)
tpu- by Yvette
hmm...*may* not be abusive
if not, unclear
it's tagged HTML
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, link at end of body, pattern-matching website in body: Biogenic XR Ingredient List L-Arginine Hydrochloride – This is a particular by user18436 on patents.stackexchange.com
tpu- by NobodyNada
@NobodyNada abusive of the site's ToS
certainly not spam. Did you mean abusive?
05:50
@JanDvorak thanks
@YvetteColomb are you sure? It could be a genuine question
No, it couldn't
@NobodyNada lol you are joking?
I don't know...it didn't seem too different from many crap questions, but it's 10:00 here and I'm tired and need to get to bed, so I'm probably wrong.
Thomas, how can you even think at 1am?
You're way overdue. Unless you meant 22:00?
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, link at end of body: What are the side effects of this anti-aging cream? by creamjunivive on askubuntu.com (@ThomasWard)
tpu- by Jan Dvorak
05:54
@JanDvorak it's almost 01:00 where @ThomasWard is; it's 22:00 here
Then why did you say 10:00?
@JanDvorak 10 pm here
I guess the colon made it confusing
I need to go to bed
No. The lack of AM/PM did. Or rather the use of 12-hour time.
[ SmokeDetector | MS ] Bad keyword with email in answer, email in answer: US gave me Visa Waiver stamp rather than stamp on Visa by Ann Baker on travel.stackexchange.com
tpu- by NobodyNada
Before I say any more stupid things: goodnight; see you soon!
06:12
naa- by angussidney
[ SmokeDetector | MS ] Blacklisted website in answer, link at end of answer, blacklisted user: iPhone 6 contacts appearing that I don't know by Mehak Bansal on apple.stackexchange.com
[ SmokeDetector ] URL in title, bad keyword in body, bad keyword in title, link at end of body, link following arrow in body, pattern-matching website in body, pattern-matching website in title, repeated URL at end of long post: newmusclesupplements.com/alpha-monster-advanced/ by Dewaynebax on workplace.stackexchange.com
[ SmokeDetector | MS ] Bad keyword in body, bad keyword in title, pattern-matching website in body, repeated URL at end of long post: Lumanere serum Skin Care by chich urori on apple.stackexchange.com
tpu- by Jan Dvorak
@JanDvorak way overdue indeed, but i tend to stay up sometimes to 2:00 AM at times (02:00)
but eh
i'm going to sleep now, since Smokey's behaving
good night all
06:31
[ SmokeDetector | MS ] Link at end of body, link following arrow in body, pattern-matching website in body: Iron Bull Edge Male Edge No1 by user72429 on drupal.stackexchange.com
tpu- by Jan Dvorak
@Glorfindel I would like to edit the UI of your userscript a bit so that the flag icon stays in the same spot, no matter the length of the name/number of names. Here's a quick mockup: i.sstatic.net/8LSek.png Would you object to that?
You could fork, pull request and see what happens. I'd use the fork if it doesn't get merged
06:51
[ SmokeDetector | MS ] Few unique characters in body: Multiple if statements - stuck by Daniel Shields on arduino.stackexchange.com
@SmokeDetector it appears the OP edited in spam
@SmokeDetector v
looks like regular vandalism to me
Which flag should you use?
06:55
none
just rollback
if it was not an edit, instead a new post with that content, flag as abusive. But in this case it was edited
so that means its just vandalism
if the user doesn't stop, mod flag
Just did the edit
Now waiting for approval
07:13
[ SmokeDetector | MS ] Blacklisted website in answer, link at end of answer: How to get RSS feeds and display it in Mobile application by Himanshu purohit on stackoverflow.com (@dorukayhan)
tpu- by Ashish Ahuja
07:45
[ SmokeDetector | MS ] Link at end of answer: Music database like IMDb by cjf on opendata.stackexchange.com
@SmokeDetector f
@angussidney sure, please go ahead.

« first day (1176 days earlier)      last day (2938 days later) »