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

12:31 AM
@Rawing Hey, I was just thinking about your question earlier about tests that fail and prioritizing them. It seems to me that the test suite is the wrong tool for this. Instead, use a bug tracker to document bugs/features and prioritize which ones are worth spending resources on first.
 
Yeah, that makes sense. Bugs are just one of many things that need to be assigned a priority (along with feature requests, etc). I was working on a teeny tiny script though, so setting up a bug tracker would've been overkill. Pytest's mark.xfail that davidism suggested was the perfect solution for me.
 
wim
1:05 AM
that's not a good use of xfail
it's more for marking stuff where, for example, you know this particular db backend does not work with this particular lib feature and it's not a bug.
for genuine bugs, I agree with poke - failing tests should either be let to fail, or the code and/or test should be fixed
 
@wim that sounds like a task for skip, not xfail. Anyway, this was a tiny script and the 3 failing test cases were annoying when I was trying to fix a real problem, so xfail was perfect. There's a short message about (x)failed tests, but they don't get in the way of my work
 
1:27 AM
@Rawing I use GitHub's issue tracker for my personal projects. Anything worth keeping is already on GH (and much that probably isn't worth keeping), so making notes in the issue tracker for known issues/bugs and planned features keeps me somewhat organized.
 
I should probably start doing that. In every project, issue #1 will be "make the code less horrible" and #2 will be "write documentation"
 
1:46 AM
and those will never be finished
I try to make my issues more specific than that
the most recent ones are automatically created by Crashlytics
 
I was about to say... you even included the line numbers; that's very specific!
 
2:01 AM
saturday evening cabbage
o/
 
 
3 hours later…
5:11 AM
@idjaw cabbage
@cᴏʟᴅsᴘᴇᴇᴅ cabbage
@Simon is there a way to review previous games on lichess? Or better yet... Is there a friends list?
 
 
2 hours later…
7:41 AM
cabbage
 
8:18 AM
cbg
 
 
2 hours later…
10:12 AM
@Code-Apprentice Sorry about the late reply. Yes you can review old games by going into your profile (IE the place that shows your game statistics), Underneath you should see two tabs "activity" and "games". Under games you will see all the games you have ever played on the site. Click on the one you want to view and just underneath your username (in the green box) are various commands you can use to review your games (they looks like a microscope and play/skip buttons).
@Code-Apprentice Yes there is a friends list (but it's not called that on this site) and it works a little differently. the other player (I'll assume it's me in this case) must go to the profile he wants and press the thumbs up button or "follow" this will add him to your following list. I have already done this so you should just go in your profile you should see a tab named followers and I will be there. If you go in my profile and press follow you will appear on my following list.
@Code-Apprentice Also in a users profile you will see a speech bubble. Press this and it will allow you to send a message to that player. Once sent it will appear in the player's notifications bar. That player can also reply.
Cabbage all btw
 
10:51 AM
Should've known there'd be a duplicate for that question... RIP my first pandas answer
 
@Rawing Don't let that detract our attention from the fact that... you wrote an answer!!! :D
Well, you've deleted it now >> but still...
Please continue to answer more of them :)
 
@cᴏʟᴅsᴘᴇᴇᴅ I see 10 answers in less than 10 days. That's active answering, IMO. So, I guess you can drop the "you wrote an answer" taunts :-p
 
Taunts? Oh no... it was a running meme for a bit... but I guess it's dying now that Rawing's seriously answering them Qs :)
 
haha, memes taunt the guy being memed right?
 
Naw... well, it really depends on how offensive of a meme it is. My intention though, was not to offend, only poke fun
 
10:59 AM
On that topic, I need to improve my 1 answer a month rate now :|
 
Of course, if Rawing feels offended at any point, I'll stop
 
I will. I realized I may have been too fixated on finding duplicates for everything. The main reasons for my not answering many questions were
1) "I'm sure there's a dupe for this, even if I can't find it"
2) \*facepalm\* \*sigh\* \*closes tab\*
So I'm trying to change how I react to these questions :D
ah, RIP formatting. Oh well.
 
yeah, chat is hard to format.
 
@AshishNitinPatil Guess it'll be your turn to get memed next ;-)
 
I'm lacking time right now, more than motivation. Might resume next month, hopefully.
 
11:03 AM
@Rawing So, my policy for 1) is that, if I've answered it before, or if it is a blatant dupe, I'll hammer. Otherwise, I'll answer and wait for it to be hammered if I want to delete. As for 2), that happens... yes... but there are still a decent few questions you can answer if you ignore those -- and also lower your standards like hell --
 
Also, yes, the "Rawing wrote an answer 🎉" memes were starting to get old, but I'd have told you if I wanted you stop them. So no worries.
 
I meant to strikethrough that last bit. I failed
 
^ see ^^^^^
 
Grr it was 3 hyphens and no spaces either
 
It was is :-p
 
11:09 AM
 
11:28 AM
@cᴏʟᴅsᴘᴇᴇᴅ You can use chat.stackoverflow.com/rooms/1/sandbox for practice :p
 
After creating virtual env and installing django, we are ready to write webapp, but where did we install wsgi server that actually bridge between apache(C) api to wsgi api(python)?
Did I miss something in understanding this part?
 
I was recently fixing an Apache issue on an AWS AMI Elastic Beanstalk instance, I created an image and hence it restarted. After restarting, the application is not working. Do I have to run any command after restarting?
 
@AshishNitinPatil +1
 
Does django installation take care of installing wen server and wsgi server internally?
 
cbg
 
11:38 AM
@AndrasDeak B C abbage
 
@overexchange nope Django does not touch deployments, see How to deploy docs
It's a web "framework", it's decoupled from the web "server"
You will typically have a wsgi.py file somewhere (most likely in the same folder as settings.py), which should handle the wsgi stuff. But for linking Apache / nginx, you'll have to set those up on your own.
 
11:57 AM
Polling station cbg
 
@AnttiHaapala which elections?
 
12:26 PM
What the yam? It's not possible to retag a question while it has a pending edit? What's up with that?
 
Nope, you could however "improve" the edit.
 
Looks like some SO devs were lazy when they implemented that...
 
And you can speed up the edit review by posting the link :-p (it only takes 2 more votes, apart from yours)
 
"improve edit" bypasses the review anyway
 
More often "reject and edit" than not
 
12:30 PM
Not exactly, it still takes the edit under review, and asks you to make change on top of that
 
@AshishNitinPatil President, Finland, first round.
 
12:56 PM
I read "polling station" as "police station" and became very concerned for a second...
 
@cᴏʟᴅsᴘᴇᴇᴅ :P
 
@Rawing I'd have thought that just auto-rejects the edit suggestion
 
Well, the last few edits I improved showed up in the edit history. I only made minor changes though, so maybe they get rejected if you modify the post a lot, idunno
 
No, "improve edit" auto-approves, "reject and edit" auto-rejects
I meant high-rep edits outside review
 
Oh, that. The "edit tags" button actually disappears when there's a pending edit, and if the edit is submitted while you're still in the process of retagging, you get an error message
Not sure if it's the same for "real" edits though
 
1:13 PM
Ah, I see! Next time try a full edit; tag-only edits are just a convenience feature. Makes sense not to just reject any edit because of retagging (in another universe)
 
 
1 hour later…
2:35 PM
@Rawing thanks for writing this. I'm not going to use it, because it's insane. :-) Still interesting.
 
No problem, I had fun writing it :D
 
At some point you have to leave it to the user, they brought it on themselves with their weird use case.
I linked it in the issue so other people can reference it.
 
 
1 hour later…
4:08 PM
recbg
 
4:56 PM
@Simon well...I installed the mobile app and none of that was available...then I realized I hadn't logged in
@Simon And now I finally found your challenge, too.
 
5:21 PM
@Code-Apprentice XD I've got the app. I like it. Not having problems now are you? Ready for a game then?
 
yah, I accepted. Waiting for your first move
the app seems pretty good. I did some of the training puzzles
and now I get notifications on my phone about moves!
 
Could you accept again the game is aborted my end for some reason. Yeah that's why I got it.
 
oh...I might have aborted the wrong game.
I challenged you before I saw you had already challenged me.
we have another game, though, where I'm white.
 
I think you must have done. Yeah that's fine
 
5:44 PM
re-recbg
 
rererecbg
 
6:42 PM
@Rawing not sure if this is an improvement, but: only unwrap the function if the decorator call succeeded, then only unwrap one level at a time, to ensure that each decorator passed.
The problem is that who's to say whether the decorated or wrapped function args are the "more correct" ones? Maybe the decorated function was really called with the correct args, but passed them to the wrapped function incorrectly. We want the traceback in that case.
I'm probably going to ignore decorators completely, it gets too complicated.
 
7:19 PM
Thank you for nothing — Igor Cova 13 mins ago
Cabbage
 
7:42 PM
@davidism Nice catch. It didn't matter in my earlier versions (if the call to the decorator failed, then the wrapped function wouldn't show up in the traceback and the result would've been correct anyway), but now that I'm explicitly checking if the error message matches the function name, that is indeed a problem
 
 
1 hour later…
9:05 PM
I added 4 broken test cases and fixed all of them. The number of things you have to look out for is through the roof...
 
 
1 hour later…
10:34 PM
 
11:11 PM
hi
 
cbg
 
I hammered a question, and ten minutes later someone posted a long but completely incorrect explanation in comments. He probably didn't bother clicking on the duplicate
Classic
Then someone posted a correct explanation, and the OP is very grateful to them. Not me, I'm the bad guy
Classic x2
 
11:35 PM
You horrible monster :D
 
From the OP's perspective you're a hammer-wielding tyrant who likes to hit struggling beginners. He's gonna go on facebook/twitter/reddit and post "SO is full of elitists" :P
4
 
@vaultah And to think you are actually finding a solution for them and they are ungrateful for it.
 
OPs want personal attention. Being told "We've already answered this, go read this over here" is much less pleasant than being spoonfed a customized answer.
 
+1 That is indeed what they think. I used to think (something) like that but I was always ready to listen at least. I guess most starters hate high rep users. Some OPs when someone suggests a dupe or edit and they start getting angry. "why can't you just solve my problem?"
 
All this lines up perfectly with the comment poke posted several messages above
 
11:43 PM
@Rawing If SO wasn’t full of elitists, nobody could get any real help there… *rolls eyes*
 
Tangentially related:
Developers first ever question on StackOverflow and it was downvoted twice in less than 1 minute. You wanna fix attitudes in dev industry? Start with that wretched hole. https://stackoverflow.com/questions/47738744/html-button-pink-css-color
That Twitter thread was an enjoyable read (not)
 
In reality it's all the OPs' fault for attracting the hammer-wielding tyrants' attention. They should try to get their questions into a better shape, a shape that looks less like a thumb
 
Being a beginner it is hard but they could at least not get angry when they show up. I doubt any hammer wielding tyrant (at least I hope not) enjoys bashing questions.
 
ehm
 
Are there objections to my last post?
 
11:52 PM
nope, I was referring to what vaultah linked
although there are a few gold badgers who hammer blatantly wrong things
 
Just trying out their new badges I suppose? That's reassuring :/
 
nope
 
@Simon who gets angry when who shows up? I’m confused of your “they”s
 
@Simon Sorry, didn't see your message on lichess till just now
 
Ah I'm being bombarded with pings from all angles!
 
11:57 PM
ping ping ping
 
@vaultah Literally googling “create pink button html” gives me huge amount of tutorials… so I cannot really blame the down- and closevoters there…
 
@poke The green beans get angry when those possessing the golden hammers show up.
 
@poke those must have been written as a response to the need ;)
 
And it really doesn’t help commenting “You asked a great question Monika. Nothing wrong with it at all.” on such a question then… *sigh*
@vaultah Very true :P
 

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