« first day (1655 days earlier)      last day (1584 days later) » 

12:13 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832769
 
12:35 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832796 | Approved by OP
 
 
1 hour later…
1:44 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832868
 
2:42 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832899 | Edited by reviewer
 
 
1 hour later…
3:43 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832939
 
4:11 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832964 | Approved by OP
 
4:21 AM
[ EditMonitor ] Approved with 2 rejection votes: 1832957
[ EditMonitor ] Approved with 2 rejection votes: 1832959 | Edited by reviewer
 
 
2 hours later…
6:17 AM
[ EditMonitor ] Approved with 2 rejection votes: 1833113 | Approved by OP
 
6:28 AM
morn
 
6:56 AM
Morning
 
7:15 AM
Wish I knew how to program a robot into brewing coffee each morning
 
Sam
morning
 
7:34 AM
[ EditMonitor ] Approved with 2 rejection votes: 1833318 | Approved by OP
 
 
4 hours later…
11:53 AM
[ EditMonitor ] Approved with 2 rejection votes: 1834013 | Approved by OP
 
12:27 PM
!>apiquota
 
@gunr2171 9595
 
 
1 hour later…
1:31 PM
[ EditMonitor ] Potentially bad edit (Offensive summary): 1834326
 
2:02 PM
[ EditMonitor ] Approved with 2 rejection votes: 1834342
 
 
1 hour later…
3:25 PM
hey @ProgramFOX, is there a required file (like a config file) you need to make before the Edit Bot will work?
I think I've narrowed down my problem to that, maybe
ah, it was the api key file....
if the api key file doesn't exist then it crashes on startup
ok, NOW jenkins should work better
!>stop
uh....well, got another error:
  File "main.py", line 128, in <module>
    fetcher.do_work(150)

  File "/home/kevin/code/so-editmonitor/editfetcher.py", line 134, in do_work
    self.empty_queue()

  File "/home/kevin/code/so-editmonitor/editfetcher.py", line 89, in empty_queue
    soup = BeautifulSoup(EditFetcher.get_review_data(s_id))

  File "/home/kevin/code/so-editmonitor/editfetcher.py", line 62, in get_review_data
    raise Exception("Review data response status code is not 200.")
and that's on the copy I always run.
 
4:03 PM
@gunr2171 Ah. Then it fails to send the request somehow. SSL issue, perhaps?
 
but it's on my own account, that I've used with no problems so far
 
Hmm...
 
it shouldn't be an ssl problem. it can login and send a message to chat
 
the code posts the "hello" message, it shows that there are 10 items in the queue, then that error happens and the program closes
 
4:06 PM
Alright... before that exception line, can you please add the following line, to see what the status code is? :
print response.status_code
 
oh boy, I get to edit python source code...
 
be sure the indentation is the same as the Exception raise
 
418
 
hm...
 
WHAT
> 418 I'm a teapot (RFC 2324)
 
4:08 PM
yeah, "I'm a teapot"
 
......ok
 
That error message is used frequently on SE, but I never found out when exactly it occurs.
afaik it means something like "you cannot do this"
 
so is the API mad at me for some reason?
 
@gunr2171 API request goes fine, it's fetching the review data from /review that doesn't work.
 
would this be a problem isolated to me, or the code base?
 
4:09 PM
going to test that now
 
(ie does it work for you)
 
EditMonitor started.
 
... and I got the same error :/
 
ok, I'm not crazy
 
This probably means that I have to pass some more parameters for the review data.
 
4:11 PM
ok, I wonder if they changed something recently. The site doesn't hint at that though
 
I believe it doesn't hint that because it's something very internal; none of the users would care, except people who write bots.
 
ah, ok
 
and because the API does not provide enough information for the bot, so we rely on the /review AJAX request
Ugh... so suddenly, it requires passing the fkey, but it did not require that before.
 
this is why I don't like all this web-stuff. Posting the such is so complicated
 
true
 
4:16 PM
well, uh, good luck!
 
In a previous version I already did the fkey stuff but when I found out I didn't need it anymore, I dropped it.
time to look at that commit again
 
Just don't get too emotional. I don't want you blameing yourself.
 
I don't blame me; I blame the devs :P
 
(it was a joke on the "blame" tool in git, to look at the history of a file)
 
I found that out when switching to another tab... first I didn't notice the code-formatting
and I also need the usr cookie, it seems
 
4:22 PM
there's a userscript I use for making the inline code formatting very obvious
3
Q: Highlight Code in Chat - Highlights <code> elements contained in chat messages

Nathan Osman Screenshot About Inspired by this question, I have developed a UserScript that highlights code elements in chat messages so that they stand out more on the page. Simply install the script and your messages will be automatically highlighted. License The script is released under the MIT Lic...

 
oh, nice
 
EditMonitor started.
 
hmpf, still that teapot thing :/
 
: (
 
eh, I forgot to fetch the fkey
 
4:29 PM
ask it to BREW coffee
 
EditMonitor started.
 
... and now I try to fetch the fkey before setting the ChatExchange object
 
EditMonitor started.
 
trying again...
"Queue length: 19", no crashes
now going to write data to a file, to check
 
EditMonitor started.
 
4:32 PM
yay! \o/
 
woot, push and I'll pull
 
done
 
EditMonitor started.
 
AttributeError: 'NoneType' object has no attribute 'group'
2015-04-28 16:34:47.087746 UTC
  File "main.py", line 129, in <module>
    fetcher.get_se_fkey()

  File "/home/kevin/code/so-editmonitor/editfetcher.py", line 36, in get_se_fkey
    .search(script_with_fkey).group(1)
 
uh oh
for me it worked fine
do you still get that when re-trying?
 
4:35 PM
trying again
 
EditMonitor started.
 
same error
 
arrrgggghhhh
for me, it works fine
@gunr2171 Can you pull again? I removed some debugging things.
 
EditMonitor started.
 
pulling
 
4:38 PM
EditMonitor started.
 
still same thing
 
@gunr2171 If you log in to Closey's account, view the page's source, and search for fkey, can you please check: a) that it exists, b) that it is in the format "fkey":"some hex here" (with double quotes)
 
what page do you want me going to?
 
just the home page, stackoverflow.com
 
I do see the "fkey" in StackExchange.init()
 
4:40 PM
that's correct, then
 
looks fine to me
 
@gunr2171 One more thing to try: can you please log out with the logout link (on Closey's account), then run EditMonitor again. Maybe...
 
ok, i'm logged out...
 
EditMonitor started.
 
same, let me try leaving chat as well
 
4:43 PM
EditMonitor started.
 
: (
 
I need to take a shower now, be right back
 
well, this is mildly annoying
also tried with a different linux user in a different chat room, same error
 
5:02 PM
I'm back
 
hey
 
going to try something different
the .init thing is the only location of the fkey, so I can simplify my query to fetch it
 
EditMonitor started.
 
> Internal Server Error
wat
 
EditMonitor started.
 
5:07 PM
it's getting weirder and weirder
 
yeah, you can say that again
 
still a 500 error
 
on what, the home page / review page?
 
home page
 
and I'm guessing you can get there on your own browser
SE didn't block you
 
5:08 PM
indeed
aha, I should not add the chat root
so actually it tried to send a request to http://chat.stackoverflow.com/http://stackoverflow.com/
 
EditMonitor started.
 
yeah, that I could understand wouldn't work
 
and... no errors! \o/
 
EditMonitor started.
 
@gunr2171 Can you please pull and run again?
 
5:12 PM
EditMonitor started.
 
no error so far
!>apiquota
 
@gunr2171 9543
 
:D
 
\o/
 
ok, I think we're back to normal now
trying on a few other configurations
!>stop
seems to be working so far manually
going to try jenkins again
 
5:18 PM
EditMonitor started.
 
> Finished: Failure
what's in the error logs?
 
looking...
also, does your bot output to something other than "standard output"
I notice that errors and messages don't get shown in jenkins
 
I believe print outputs on stdout
 
weird
WebSocketConnectionClosedException: Connection is already closed.
2015-04-28 17:20:11.196923 UTC
  File "/mnt/storage/jenkins/workspace/SO-Editbot_Run/excepthook.py", line 39, in run_with_except_hook
    run_old(*args, **kw)

  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)

  File "/mnt/storage/jenkins/workspace/SO-Editbot_Run/ChatExchange/chatexchange/browser.py", line 646, in _runner
    raise e
 
5:22 PM
uh oh... I believe my websocket recovery is not working
 
that happened to me the last time I tried to run "apiquota" before it was "ready"
 
EditMonitor started.
 
going to run it again, go to the bathroom, then ask it about the api
 
and print does print on STDOUT, yes
 
werid, so it should be picked up by jenkins
 
5:23 PM
> Finished: Failure
more errors
 
and back
and it seems to be the same error
 
I think it's better to wait a minute now, then try again
 
so start it and wait?
 
yep, you can start again now
 
EditMonitor started.
[ EditMonitor ] Approved with 2 rejection votes: 1834833 | Edited by reviewer
 
5:27 PM
aha!
 
!>apiquota
 
@gunr2171 9537
 
HOLY SHIT, IT'S WORKING
 
not really, there's no Jenkins output
 
well, besides that
 
5:28 PM
I might need to flush output, perhaps
 
@Closey added "Suggestions and guidance for this are appreciated." which I wouldn't have done
@Closey everything else should be ok
 
Flushing enabled, you can pull and try again @gunr2171
 
yup. good news is that by starting the jenkins job, it pulls before it begins
!>stop
 
oh, nice
 
EditMonitor started.
 
5:31 PM
IT WORKS
 
woot!
 
> Queue length: 26
 
virtual high-five!
 
[ EditMonitor ] Approved with 2 rejection votes: 1834833 | Edited by reviewer
 
oh boy, well it crashed, but you can see it this time
 
5:32 PM
uggh those websockets
 
also I'm going to add timestamps to the output
 
nice!
 
run it again?
 
yep
 
EditMonitor started.
 
5:33 PM
I'll have to tweak ChatExchange to fix the broken websockets.
 
[ EditMonitor ] Approved with 2 rejection votes: 1834833 | Edited by reviewer
 
tri-tri-triple post
!>apiquota
 
@gunr2171 9534
 
well, still alive so far
rebooting, back soon
(my computer)
 
5:49 PM
Intellij is so polite :-)
 
@JonasCz lol that's great
(i'm back)
and the bot died again
going to run it as myself, see if that makes a difference
 
EditMonitor started.
 
 
1 hour later…
6:58 PM
!>apiquota
 
@gunr2171 9502
 
7:51 PM
What do you think about this edit: stackoverflow.com/review/suggested-edits/7870214
I had the "not real code" since I'm sure someone will put that in a compiler and complain to me about it
does it detract from the answer?
 
reading
I'd say that phrase is important. You could replace it with a few extra words if you want, like "this is pseudo code"
and I think the comma addition is unnecessary
 
Rejected and improved
thanks for the feedback!
 
no problem!
 
Not sure why the copy-constructor answer is getting up-voted
You almost never do deep-copies in C#
 
I'm doing an edit of the question...
@BradleyDotNET wouldn't it be better to create a constructor for Father for the properties you want set, then use that with a base in Child's constructor?
 
8:02 PM
It depends on what the relationship from Father to Child to be
Given the names, a Child has a Father, so its composition
 
ok, you're assuming that the Father relationship would be a property rather than inheritance
 
Right
Given the question, I don't see a need for his inheritance relationship
 
true, given the names
the right claas names are, class Audit; class AuditRegister : Audit; class Order : AuditRegister; the scene is between AuditRegister and Order — Cesar Romeroo 6 mins ago
 
Yeah, those names don't help me much :)
 
@CesarRomeroo Bradley believes that, because of the code example currently in your post, there is no need for the inheritance you currently have. If you have better names for the classes you are actually working with it would be really helpful to make a small example in your post. That would help to flush out if you need inheritance or not. — gunr2171 5 secs ago
hope that helps as well (and is correct)
 
> I cleared the cash million times but it does not help.
 
@gunr2171 Yeah, better stated than my comment
 
yeah.....I'm sure you did
voting to close that question
 
sounds good. no-code?
 
8:13 PM
yep
 
2 more
 
I hate that once you VTC for off-topic, you can't go back and see which one you put it for
 
^ [feature-request]
I'll vote for it.
Post the link [or a dup link, if found]
 
i'll search around meta
 
k
@BradleyDotNET That was a crappy useless edit.
 
8:16 PM
@LynnCrumbling I thought so to, but wasn't sure if the removal of my caveat was warranted
 
@BradleyDotNET No, it had merit.
 
closest I've found so far
0
Q: Can you see history of off topic close votes?

Roger RowlandI'm not sure if there are still problems with off topic votes, but I'm pretty sure I cast an off-topic vote with suggestion to migrate to superuser, and yet the question just got closed as off topic. The OP actually emailed me because he couldn't understand. Is anyone able to see what happened ...

Man, I'm happy I was not around when the site looked like this: meta.stackexchange.com/a/82298/213671
 
@gunr2171 And that doesn't really seem like the same question as "how do I tell which ot reason I picked...?"
 
I'm not saying that post answers my question, it's just the closest thing I've found
 
(yep, I'm agreeing ;)
 
8:25 PM
hum, can't find anything else
 
see what I did there? ^ It doubles as a smiley AND a close paren for my thought :)
saves a full 8 bits.
Or 16 if unicode!
Of course, my analysis probably just used several k in network traffic, tcp headers, etc.
 
It was so brilliant that my brain accepted it without debate
 
HAHAHAHA
 
@BradleyDotNET did you see that OP's code update?
 
@gunr2171 Yeah. Its really hard to tell whats going on with the language barrier
 
8:32 PM
true, and it's a semi-large code dump
 
8:43 PM
So, what happens if we get 2 more duplicate votes here: meta.stackoverflow.com/questions/291482/…
ehh... the other question has been marked as a duplicate of this and this one has three votes to close as a duplicate of that one. Nice. — eis 15 hours ago
If this question gets closed as a dupe of 290541, and 290541 is closed as a dupe of this question, Stack Overflow will quality for it's name. — Claus Jørgensen 49 mins ago
 
 
1 hour later…
9:57 PM
/me just realized he's not in tavern on the meta..... runs away screaming
Oddly enough, it wasn't the color scheme that caused me to realize this; it was the number of people in the room.
 
10:31 PM
Hi! Not sure if it's on topic here, but could some kind souls have a look at this deleted question
http://stackoverflow.com/questions/29663150/c-programming-converting-a-hex-file-to-assembly-language
and cast some undelete votes if they agree? I would desperately want to point the OP of a new question there.
 
@Jester Why do you think it should be undeleted?
It reads an awful lot like a homework assignment
 
yeah so it's homework, but those are not banned, are they?
he asked for a sample implementation of a single function, not to write all of it for him
"I was wondering if I could just have some help with this first function: void printAdd(int instruction);"
so he can then proceed to write the rest by himself
and I think he did that by now :)
 
I read that. You could argue that its still in violation of "Homework questions must include code".
but regardless of whether it exactly matches the rules, its still basically "give me codez that does X".
You could edit it to make it better, but in its current state I don't see it worth undeleting
though scrolling down, your answer along may be worth preserving
 
thanks for looking, apparently it wasn't applicable to the new question anyway
 
I'll vote to undelete in order to preserve what looks like a good answer
Someone should seriously fix that question though
 
10:53 PM
okay I have edited it, is it something along the lines you had in mind?
 
Better, the title would still scare me if I saw it on the active list
How about "Parsing hex into an LC3 Add instruction"
toss the "in C" since its in a tag
 
ok, applied the title and removed the stuff about the extra functions that were not needed anyway
 
That looks way better
I'd give it an upvote if I could :)
 
thanks for your help
 
no problem
I'm not sure there are any other 10K around right now
but I can ask in the morning
 
11:03 PM
it's no longer urgent, I guess it will turn up in the queue
 
not deleted
unless people are looking through the mod tools
 
oh
 
11:15 PM
>!apiquota
meh
 
EditMonitor started.
 

« first day (1655 days earlier)      last day (1584 days later) »