« first day (1157 days earlier)      last day (2661 days later) » 

5:00 PM
[ SmokeDetector | MS ] Few unique characters in body, no whitespace in body: asdfdsfsdfsdfsdfsdfsdfsdfsdfsdfsdfsdfsdf by darren sim on stackoverflow.com (@dorukayhan)
 
@SmokeDetector v
 
5:10 PM
[ SmokeDetector | MS ] Blacklisted website in answer: How to mention that a specific time is already over? by Scarlet Kleen on ell.stackexchange.com
 
@SmokeDetector k
 
!!/rev
 
!!/blacklist-keyword This is a test of the Emergency Broadcast System.
 
@ThomasWard Blacklisted
 
5:21 PM
wtf really
 
CI on 7c507f6 succeeded. Message contains 'autopull', pulling...
 
okay i'm tired of this, it looks like changing the blacklist system structure breaks things o.O
 
Restart: API quota is 4418.
 
@SmokeDetector f
 
okay so there will be more restarts, because apparently I am derping with code stuff.
(E: Not Enough Coffee)
 
5:25 PM
CI on 61bf830 succeeded.
 
!!/coffee
 
@Glorfindel brews coffee for @Glorfindel
 
!!/pull
 
Restart: API quota is 4397.
 
WORK DAMN YOU OR I WILL STRIP YOU OF YOUR CODE AND THEN BURN YOUR BYTES INTO NOTHING
>.>
!!/blacklist-keyword This is a test of the Emergency Broadcast System.
 
5:26 PM
@ThomasWard Blacklisted
 
WTF okay i'm pissed now
 
@ThomasWard Can we have a Will it Burn video of that?
 
heh, take a break if it's becoming work :)
 
@Undo well, here's the thing, it's not sending the payload over right
 
CI on 3bb1418 succeeded. Message contains 'autopull', pulling...
Restart: API quota is 4383.
 
5:27 PM
it's sending an empty payload, so either it's not parsing args right, or something else is wonky
well there's the problem
I refactored code
but fatfingered an argument being passed to git handlers
someone shoot me please.
 
i feel silly since i should have caught this first >.>
 
CI on 966aa4c succeeded.
 
!!/pull
 
Might I suggest a test case get added so that we can check for this in the future too
 
5:30 PM
Restart: API quota is 4362.
 
i can add a test code into gitmanager, set the default for the getArgs to "None" as it should be, and if it's "None" throw a "CODE ERROR: Nothing to blacklist!" response
i have a handful of such test cases in gitmanager already
for coding screwups
(error checking 101: always make sure to catch stupid mistakes)
 
CI on 3b3b3ab succeeded.
 
!!/pull
 
[ SmokeDetector ] SmokeDetector started at rev 3b3b3ab (Thomas Ward: Sanity Checks for GitManager arguments) (running on Undo's EC2)
Restart: API quota is 4322.
[ SmokeDetector | MS ] Link at end of answer: Serial port reading using Command Prompt BATCH by AKLAIN on stackoverflow.com (@dorukayhan)
 
@JanDvorak lol
!!/blacklist-keyword This is a test of the Emergency Broadcast System
please work?
i think it died
!!/alive
 
5:37 PM
@ThomasWard Of course
 
o.O
 
!!/errorlogs 100
 
  File "/home/ubuntu/SmokeDetector/ChatExchange/chatexchange/browser.py", line 224, in _load_user
    user_id, user_name = self.user_id_and_name_from_link(user_link_soup)

  File "/home/ubuntu/SmokeDetector/ChatExchange/chatexchange/browser.py", line 232, in user_id_and_name_from_link
    user_id = int(link_soup['href'].split('/')[-2])


ZeroDivisionError: integer division or modulo by zero
2017-01-16 01:00:25.535700 UTC
  File "/home/ubuntu/SmokeDetector/excepthook.py", line 47, in run_with_except_hook
 
buwahahahaha. Sarcastic Smokey is learning on it's own.
2
 
I thought I removed that code already what the heck
 
5:38 PM
@ThomasWard ^ Last error there. Also, my timestamps are all wrong.
 
@Undo yeah but that code doesn't exist in master or deploy anymore
or rather it shouldn't
checks git
 
Hold on, that was an hour ago
Wrong error
almost exactly an hour ago, which is why it threw me off
 
@Undo @ArtOfCode if (when) you guys make a big meta post about autoflagging, and mention Metasmoke in it, you may want to disable the automatic giving of reviewer groups to everyone
I can see a whole lot of people signing up just because there's a button for it on the dashboard
 
@Undo yeah, i'm confused on what happened, can you see why smokey did nothing?
 
heck, just disable signup for a while
that'd be easier
 
5:40 PM
or remove the button
on the dashboard
 
Or that, yeah
@ThomasWard Not sure, let me review some code
 
may sound elitist but I don't think like 100 flyby signups would be good for our project at all
 
@Undo thanks, it's odd that it did nothing when I called the command, so unless I totally broke it... shrugs
 
@SmokeDetector Huh, looks like homepage bumps also trigger Smokey scans. Good to know.
@SmokeDetector f
 
@Magisch On the other hand, what harm would a bunch of new users do? Might get a few more invalid feedbacks, but we have admin invalidations and user ignores for a reason.
Which reminds me, I should start writing that post
 
5:45 PM
I don't want to post that before running it past SE, by the way
Not yet, anyway
 
@ArtOfCode Right now we have kind of a "we're few people and everybody who's here has a very good idea what they're doing and very low invalidation rates, so the risk is very low"
 
back in a moment
 
thing going to alleviate the people accusing us of being a draconic voting ring
 
@Undo Yeah, of course. I'm just thinking it's gonna take a while to write properly, so I may as well start.
 
!!/blacklist-keyword This is a test of the Emergency Broadcast System
 
5:46 PM
@Undo Blacklisted This is a test of the Emergency Broadcast System
 
seems to be working
!!/blacklist-website This is a test website
 
@Undo Blacklisted This is a test website
CI on 8d9bb40 succeeded. Message contains 'autopull', pulling...
 
!!/blacklist-username this is a test username
 
Restart: API quota is 4236.
 
!!/blacklist-username this is a test username
 
5:48 PM
@Undo Blacklisted this is a test username
 
@ThomasWard I have no idea what I did, but it works now
I'm reverting
 
CI on 081b5ba succeeded. Message contains 'autopull', pulling...
Restart: API quota is 4226.
 
@Undo test keyword as well
they should all work, Keyword wasn't working
oh hey it's weird
maybe i issued the command before it synced shrugs
 
Something like that
 
well, it's working
so I don't have to beat myself :P
that was an interesting little mini hackathon for me :P
and showed me that I really need more coffee
 
5:51 PM
CI on f9bec13 succeeded. Message contains 'autopull', pulling...
[ SmokeDetector ] SmokeDetector started at rev f9bec13 (Undo1: Revert blacklist tests --autopull) (running on Undo's EC2)
 
well, it's working, so I guess all is good.
 
Restart: API quota is 4207.
 
yep
 
!!/coffee
 
@dorukayhan brews coffee for @dorukayhan
 
5:52 PM
@ThomasWard hands the coffee here you have it
 
@Undo i did add a sanity check into the gitmanager - it'll check for things like whether the blacklist type is defined, or if a pattern is defined, and if not fail gracefully
so there's that.
 
heh
@Undo we've changed the structure of the blacklist commands, we should probably update the wiki to remove the multiple-regex documentation
(updated the commands wiki page)
 
[ SmokeDetector | MS ] Bad keyword in link text in answer: WIndows7 - suddenly hibernation stop working by user686952 on superuser.com
fp- by Glorfindel
 
0
A: Changing a smoke detector battery with a too-short ladder

MANEESH MOHANIf you could search for this product on your neighborhood, it would be great that you can borrow it for this purpose. I would suggest you purchase a similar one and keep it in store as you will have to face this problem frequently for other smoke detectors. If your smoke detectors are at the cen...

this answer is terrifying
 
6:03 PM
@Undo I'm glad I led you to it. :P
 
6:28 PM
@Undo, was there a graph made showing API usage? I seem to recall it being discussed but I don't see such a graph on the MS graphs page.
Every time I see a lifehacks answer linked in a chat room I wonder why the site isn't named "Death Traps"
2
 
6:40 PM
@Andy the site should have a permanent banner "don't try this at home".
 
6:57 PM
[ SmokeDetector | MS ] Bad keyword in body: ,TOEIC,TOEFL,SAT,GRE Certificates by user67853 on academia.stackexchange.com
 
7:22 PM
[ SmokeDetector | MS ] Few unique characters in answer, no whitespace in answer, repeating characters in answer: How did "little tsu" become a lengthener? by Nsndjfj on japanese.stackexchange.com
tpu- by Glorfindel
 
lol
 
lel
 
7:56 PM
[ SmokeDetector | MS ] Offensive answer detected: What programming language is Stuxnet written in? by Jim on security.stackexchange.com
tpu- by Glorfindel
 
8:11 PM
[ SmokeDetector | MS ] Shortened URL in answer: How to change the colour of row in jquery mobile by a deleted user on stackoverflow.com (@dorukayhan)
naa- by Floern
 
@ArtOfCode 10/10
 
nice
@Undo still want Smokey on your infra, or do you want me to toss it back up onto Aurora?
 
8:49 PM
I'll keep it for now
 
cool, just gonna check every so often :)
goes back to poking servers
jesus some packages take an eternity to install...
 
9:22 PM
CI on 8fa2af5 failed.
 
something about the flake tests
and of course I'll wait an eternity for them to show up
stupid style, and of course I have that shut off because line ending problems
 
CI on 25b8eaf failed.
 
WHY
grrrr
stupid flake8
@ArtOfCode @Undo if we're running flake8 for style checks we should start considering following PEP8 with a 120-line-length limit
or 100-char line length limit
and then actually follow PEP8.
assuming we can agree on an upper bound value
(I use 100 or 120 depending on project/systems)
 
CI on 78b5f46 succeeded.
 
thank you finally
 
9:36 PM
@ThomasWard Yeah, we decided a long time ago that it's a little onerous
 
!!/pull
 
I'd be happy to revisit it, though
 
@Undo well, PEP8 says 80
 
[ SmokeDetector ] SmokeDetector started at rev 78b5f46 (Thomas Ward: Fix flake8 tests (again)) (running on Undo's EC2)
Restart: API quota is 2665.
 
but it allows the team to decide a different upper length
 
9:37 PM
@ThomasWard Is that not what flake8 enforces? And if not, what does it enforce?
 
even if we go with 200 as our upper line length, so long as we're all OK with that length PEP8 accepts (though it discourages > 120)
@ArtOfCode currently? enforcing the rest of pep8 style such as blank lines, etc. but not line length restricts
otherwise it'd blow up on many of the lines in chatcommands.py and others
because they're far longer than the char limit
 
@ArtOfCode We've disabled it.
 
that too
@Undo we can leave it disabled in flake8 if we really care about it
 
120 is a sane maximum. 80 is just far too restrictive, but more than 120 is impractical for people with SxS windows.
 
i'm more concerned about the rest of the style world
@ArtOfCode This is also my logic
 
9:38 PM
Speaking of Python, I should really do that coursework...
 
Python coursework? You ought to be able to do that easy enough
Yeah, it's flake's E501 we've disabled
Been like that since two years ago
 
if we're OK with a line length of 120, and not making it flake8 enforced (so that I can just get my IDE to stop bitching, but capture the rest of the style guidelines we enforce on) then I can do that refactor. And then just fix 120-char-limit as we go along when I fuss with things
i could care less about line length in the build testing
i care about failing to capture stupid style errors like the last two fails I had because I have to disable the inspection on my end to not see a wall of white notification icons
 
If we're going to do it, let's go all in
 
@Undo oh, yeah. First year of this course is the "get everyone up to speed" year. Also known as the year in which I can do a minimum of work and get top marks.
 
who all makes the call? you two, or is it more a group collective decision
 
9:42 PM
It's easier to stay under 120 lines when you're writing code than when you're looking at code someone else wrote later
just a sec, doing some research
 
no rush, i just wanted the rest of the inspections I really don't care about to go away hence the mini flood of comments
OH by the way did you know the md5 module is deprecated
(there's a new TODO item in there about it)
the proper suggestion is hashlib.md5 nowadays
 
@ThomasWard That's just used to obfuscate my name, it's not critical.
 
@ThomasWard most decisions around here are made by some group of people having a discussion, one of them pinging Undo or me, Undo or me telling them that the fire extinguisher isn't locked and that their idea sounds sane, and then it happens.
 
@Undo ACK, but we use it so :P
mind if I refactor to use hashlib.md5 instead?
 
Sure, if you're wanting to
Okay, so there are 297 instances of line length >120. That's... a lot.
 
9:44 PM
@ThomasWard Is the API the same? If it is, s/import md5/import hashlib.md5 as md5/
 
@Undo Yes. It is.
@ArtOfCode It's similar, but i'm not doing the change over until i know it would work.
 
@Undo considering how big Smokey is, that's nothing we can't handle. I can do some of 'em tonight
 
it's not identical
 
@ArtOfCode yeah, splitting it among a bunch of people should work fine
We'll touch every file, but I don't think we have any outstanding pull requests to worry about conflicting
 
@Undo how did you get that number?
 
9:46 PM
Changed tox.ini to:
  1 [flake8]
  2 ignore = F403,E402,F405,N804
  3 exclude = ChatExchange/*,.idea/*,.git/*
  4 max-line-length = 120
(ignore vim line numbers)
 
I can do the line length changes my side if you care or want me to
 
And ran flake8 | wc -l
@ThomasWard I can help. It's a noble cause.
 
cool. I'll enable my inspection again. (I call chatcommands.py though xD)
should we have a line length refactor specific branch or is Master OK?
 
@ThomasWard Master's okay
Just be careful to not break stuff
I'm taking the stragglers in ws.py first, probably parsing and metasmoke after that
120, right?
 
yep, at most.
@Undo FWIW, one line change for hashlib.md5 vs. the standard md5 library
 
9:49 PM
great
 
CI on 8302a66 succeeded.
 
instead of md5.new(commit_author).hexdigest() it's just md5(commit_author).hexdigest() (with the obligatory from hashlib import md5 in place of import md5 above)
 
Also, this dark theme for GH is awesome.
 
>>> import md5
>>> md5.new('ThomasWard').hexdigest()
'3c607525000b6d09255cd5ddbd1a21a2'
^-- old ||| new --v
>>> from hashlib import md5
>>> md5('ThomasWard').hexdigest()
'3c607525000b6d09255cd5ddbd1a21a2'
 
9:52 PM
pretty much a drop in replacement.
!!/pull
 
@ThomasWard CI build is still pending, wait until the build has finished and then pull again.
 
oh gosh, parsing has a bunch of giant regexes
 
[ SmokeDetector | MS ] Link at end of answer: What software can correct pronunciation? by Alex Loube on chinese.stackexchange.com
 
CI on 336944f succeeded.
 
9:52 PM
@Undo yes it does
 
CI on b843665 succeeded.
 
chatcommands.py should be done now
 
CI on b242440 succeeded.
 
Four-space indents are killing me in metasmoke.py
Maybe it needs to be flatter anyway :P
 
I'mma look at gitmanager now
 
10:02 PM
I'll take findspam
 
we also should probably move the import statements to the top at some of these modules, but that's after-line-length cleanup
(PEP8 complaints on that too)
gitmanager is done
@Undo which are you working on now?
 
Is this spring cleaning? :P
 
CI on cfe9ef2 succeeded.
 
@quartata PEP8 line character length enforcement (at 120 chars) cleanup time
I got tired of all the PEP8 issues and started complaining
so we're going through and fixing that
@quartata but yes, spring style cleanup time
can I work on spamhandling?
or is that already on someone's radar
spamhandling.py should be done
 
CI on a2917e9 failed.
 
10:09 PM
wat
what did i do this time
 
CI on 092afba failed.
 
oh that's fixed in my latest commit :)
 
CI on 2cd7c3a succeeded.
 
neato
 
@ArtOfCode spamhandling.py is now completely non-complaining and line length limited
I think @Undo was working on metasmoke.py?
and you're on findspam.py?
@Undo Fun fact is indentation doesn't have to always line up in every single case, there are cases where it can just wrap to the next line. (IDEs help xD)
 
10:18 PM
PyCharm pro is awesome at code inspections
 
@ArtOfCode guess what I have :)
I have PyCharm Pro.
for $0
for the past two years.
and good up through next year (January) too.
so useful
@ArtOfCode it doesn't have a code inspection for a line break before a binary operator, but that's less of an issue than one might think
now, the only two inspections (other than spell check) that I turn off are whether encoding is defined for every file, and missing/empty docstring warnings.
PEP8 is otherwise being enforced, except for ws.py, because we have fragile code imports there so we don't have all the imports at the beginning.
but i never open that thing 'cause it never really breaks, so I don't have to worry about that file so much
the only thing i opened it for today, otehr than my PEP8 complaining, was to put the rest of the inspection suppressions in.
Which, of course, nobody cares about (they're just comments lol)
 
@ThomasWard likewise. I'm a student, remember
 
indeed
is it just me or is this something we should have done an eternity ago, trimming down line lengths :p
 
@ThomasWard Aye
 
@Undo mind if I stab parsing?
wheeee, that should fix PEP8 line length for parsing...
and parsing should now be handled, too. :)
 
10:30 PM
Sure
 
so i'm just gonna sit back and relax, and grab something to eat 'cause I'm hungry
(back in a bit)
 
CI on a892a06 succeeded.
CI on 69a6757 succeeded.
 
!!/pull
 
[ SmokeDetector ] SmokeDetector started at rev 69a6757 (Undo1: Bring metasmoke line length to under 120) (running on Undo's EC2)
Restart: API quota is 2307.
foo
 
Welp, I didn't completely break the metasmoke code
Status pings working okay
 
10:36 PM
something broke
did it?
 
@ThomasWard Where?
 
oh wow I just read the page fast nevermind
i saw a restart after a command, thought it blew up
the only thing i won't touch PEP8-wise is ws.py's fragile imports
because PEP8 (not flake8) is actually complaining about the imports not being at the top
but that's not something i care about as much
(line length is more important heh)
!!/alive
 
@ThomasWard Of course
 
!!/gitstatus
 
On branch deploy
Your branch is up-to-date with 'origin/deploy'.
nothing to commit, working directory clean
 
10:39 PM
hopefully you don't mind me throwing a wrench into everything by being picky about pep8 :)
 
nah, big refactors are good. There's some chance of seeing something stupid we're doing in some obscure place.
 
yup
but yeah, replacing md5 with hashlib.md5 was quick and painless for the most part
just gotta remember to not fubar the rest when coding :)
@Undo Probably also helps splitting up the work a bit too
so everyone does a little bit
(we were probably due for a huge refactor anyways for some things)
 
I'm taking datahandling
 
CI on 086264f succeeded.
 
i'll take apigetpost
and that's done :P
 
10:48 PM
Taking bodyfetcher
 
CI on 95d0854 succeeded.
CI on ffde671 succeeded.
CI on 1262b5a succeeded.
 
Man there are a lot of PEP8 things in findspam
 
there's really not much else left but findspam.py
@ArtOfCode yes, there are
 
CI on 7a15942 succeeded.
 
oh, @Undo, I did push another IDE suppression into metasmoke.py something about a potentially uninitialized variable being called
it works so i'm not changing code :)
 
10:51 PM
kk
 
if it works and hasn't died yet, it gets a suppress. Otherwise, I don't worry about it :)
 

« first day (1157 days earlier)      last day (2661 days later) »