« first day (3545 days earlier)      last day (1388 days later) » 
00:00 - 15:0015:00 - 00:00

12:11 AM
@X4748-IR you seem to have completely ignored Aran's key suggestion not to build your SQL queries by hand, which is a deadly mistake. Use parametrized queries or whatever they are called. This might not solve your error, but this will fix a terrible, gaping security hole in your code. Do it right, for the sake of the people whose data will be in your table.
@X4748-IR Unfortunately I'm not a huge fan of leaving discussion open for people who ignore responses because I hate to waste efforts, so I'll just move this repost of yours until you do something with your code beyond "didn't work".
 
Sry lol I had forgotten what he had said. There isn't any problem with using format when you know what variables you're passing to your queries. At least in my opinion!
 
@X4748-IR if you mean that no third party can touch your inputs, then yes, that's technically correct. However if you don't teach yourself good programming practices you will be using the bad ones even when you shouldn't. People usually don't go "okay, now I'll use parametrized queries because there's user input I'm using". They will just stick to habits. Same as storing password in plaintext. You just don't do that. Ever.
 
Of course in some queries, I use crawled data. Maybe someone put some SQL queries in its own website
 
@X4748-IR for the sake of breaking your insecure code? Probably.
programmers are the kind of people who might think "this would be a fun and educational experience for people with bad habits"
So as I said, do yourself and your users a favour and do it right. I'm pretty sure it will also be more readable.
 
+1 Thanks. I'll do something about this.
This project is just for practice and fun. I had made another crawler in another language. I was planning to move it to python
 
12:19 AM
Hobby projects are the best tasks to learn best practices with! No rush from your boss to get it working in some crappy form by yesterday.
 
I agree. I'm a web programmer. Unfortunately due to the price of the pythonic webserver I can't do serious python projects that much! At least these kinds of projects may teach me something.
 
Price of pythonic web servers?
 
What does an unpythonic web server look like? Nginx?
 
cbg
 
@cs95 I meant when you want to use python to make a website, the price goes much more than for example the PHP websites! To make a website with something like PHP providers use Cpanel to share the resources of a single virtual machine, and the price goes much less in this case.
 
12:33 AM
what's wrong with running them locally?
You can host your server on your laptop and use something like ngrok to expose a public address for it (at least, I've tried this long ago and it worked)
 
there is a free dev tier for deploying a web app on Azure
with limited features, but it's free, the cheapest options is probably only a few bucks a month
 
@cs95 To do this I need a public static IP address, and I don't know why my ISP doesn't let me forward router packets! Maybe I just couldn't do it.
@jigglypuff I'm from Iran! :) I doubt they sell me anything, even if I pay them the money with bitcoin or something!
 
you'd be surprised, they have servers everywhere. I don't really get how it works, but they don't offer Azure AD B2C in Australia, but they do have it in Somalia and other 3rd world countries, weird.
anyway, Google, AWS, pythonanywhere, all let you deploy python web apps for free as well, lots of options to choose from
 
@jigglypuff US companies block services in Iran due to sanctions
 
Hmmm, the discussion is going to be unrelated to the topic. Thanks for your advice and offer. I'll google about it. By the way, don't say that. I mean 3rd world country lol Thanks!
@LinkBerest +1
@LinkBerest Even GitHub and gitlab deleted some Iranian repositories!
 
12:50 AM
Even Stackoverflow blocks some of its paid services (IIRC)
 
My account has been locked due to the violates of Microsoft Services Agreement lol
I'll try it later.
 
bummer, that sucks, try pythonanywhere, they're English
 
1:23 AM
@Aran-Fey Thanks. I fixed it.
I'm trying to insert crawled data to my table using SQL queries, but when I try to insert some special characters to my table I get an error. What should I do? I tried '"{}"'.format(var), but didn't work.
 
@X4748-IR If you wonder why you should use parameterized queries (i.e. not f-strings or format) see this discussion on Bobby-Tables (the answer is always don't use .format)
 
@LinkBerest If I shouldn't use format what am I supposed to do? :thinking:!
I need to insert a long text into my database table.
 
1
A: How to insert data into database using prepared statement query in Django and Python

ExpratorPython's SQLite libraries don't have prepared statement objects, but they do allow you to use parameterized queries, and to provide more than one set of parameters. values_to_insert = [(location_name,rname,........other_fields)] cursor.execute(""" INSERT INTO some_table ('location_name', 'r...

 
@LinkBerest +1 Thanks.
 
@X4748-IR ah, your using a dictionary this is a good answer on how to use placeholders and attributes for your insert (i.e. using "named placeholders")
 
1:50 AM
@CodyGray That's the status of every moderator SO or otherwise (there's a reason we're called janitors)
I did have a question for the Q&A proposal about unpopular features and how a prospective moderator would see their role in such an instance but it would probably be deleted by employees or end up with some other drama so thought better of posting it
 
 
2 hours later…
3:35 AM
@smci yes it's a package decision which should be mandatory!
 
 
1 hour later…
4:45 AM
@LinkBerest I think that's actually a good question... What would you, as a moderator, do when faced with a controversial decision announced by the company, one which you personally disagreed with, and felt was bad for the community at large?
 
You could start your own company and run it the way you like?
 
5:10 AM
@jigglypuff Easier said than done. Besides, none of us are here for the company. We're here for/because of the community, and just starting a new company isn't going to do anything about the community.
 
Doesn't the company own the community though? Surely the community wouldn't exist if the company hadn't been founded?
 
@jigglypuff Are you owned by Stack Exchange, Inc.? I'm not.
 
obviously not, but we wouldn't be a part of this community if it wasn't for stack exchange. If they turned off the servers today, the community would go poof, out of existance.
 
Sure.
What's your point?
Does that mean that we must agree with and comply with everything they say/do?
 
My point is that the community is owned by the company. Yes, didn't you read their T&C's when you created your account?
 
5:22 AM
Hah. Yeah, but they were very different way back then.
I still don't agree that the community is "owned" by the company.
I don't know if it's just a word choice thing, but you aren't going to convince me that is true.
 
At least the data of your interactions is owned by the company which you trust GDPR to grant you access.
 
It is owned by the company because it's controlled by the company, not by the individual members, any power you have has been granted by the company's management team as explained in their T&Cs.
Of course people with common interests will form communities, I don't doubt that other similar communities would pop up if this one disappears, but this one in particular is owned by stack exchange.
it's literally their business model
 
5:48 AM
When people trust your company you can not change your policies in a way that you want. If it wasn't for the people you couldn't have the community or whatever you have in such cases.
I've made a great social media. I wish people were using it. That's my honor. Right now it's only me lol
 
6:12 AM
stackoverflow.com/questions/9058305/… Is there any better answer to this question in py 3.7?
I want all attributes of a class in dict form
 
If you really want all attributes, vars(cls) will do.
(For definitions of "all" that don't include metaclass attributes)
 
hmm, I just want all instance variables without any function objects.
the post is doing some nasty filtering
 
if not startswith ("__") and other stuff
 
? What exactly is an "instance variable"?
 
6:17 AM
let me show the code
Currently only one class with this interface is implemented but there will be a few more
so I want like all those number of insertions, deletions, failures.
s = Dematad(.., ..) , s.final_rows, s.initial_row....
 
So you want vars(instance_), then? I'm confused
 
give me a min
 
Something's wrong with that code. You inherit from ABCMeta, but your __init__ method isn't suitable for a metaclass. It needs name, bases, attrs parameters, not model, file_obj
 
noob here can you share some resources?
This is like my second code I wrote with classes
 
Have you tested that code? Does it work or does it crash?
 
6:25 AM
It's not complete
the run.py is left to be made which will basically create the instance and send back the json response to a django view and view will present these stats to the user.
 
The problem is that I'm not sure what you ultimately want that code to do, so it's hard to tell where you messed up. Are instances of GeneralModel supposed to be classes, i.e. is GeneralModel supposed to be a metaclass?
 
W'd it be ok to share full code?
I haven't pushed it to github yet because some cleaning up is left
 
I don't think it would help, because I don't know anything about django. I can't tell if it's intended to be a metaclass or not
 
there's another model Demathol with that same interface but with different update method
that's why I used a metaclass. These things aren't easy to digest from the docs or books
 
Anyway, the result you want is that dict with 4 elements?
{
       "Uploaded_file_rows":stats_Dematad.uploaded_file_rows,
     "Final Rows":stats_Dematad.final_rows,
     "inserts":stats_Dematad.inserts,
     "failures": stats_Dematad.failures}
^ that one?
 
6:30 AM
yep
with some built in method,
 
Then you're seriously overcomplicating it. Just construct it manually. It's 4 lines of code. No big deal
 
ok
I dont know , last month I was sitting on irc and they told to use vars
but it gives you a lot of junk
you never how how fast that dict might grow
 
Well, if stats_Dematad is a class then it will have plenty of attributes you're not interested in. No way around filtering in that case
 
hmm , yes I 'm indeed complicating things. Thanks. Coding a lot without knowing what I 'm doing, makes me ask idiot questions often.
 
For the number-theory puzzle fans (Kevin, PM2Ring, cs95, PaulMcG): trying to fill in the intuitive gaps in my solution to 'Pythagorean triplets wheat field', all suggestions welcome.
 
6:46 AM
@smci why don't you use simple maths and Lagrange multipliers with Karush–Kuhn–Tucker conditions?
 
@VisheshMangla You have to be joking, right? This is a (very) small integer puzzle which can be solved purely by considering divisibility by 2,3,5,7 like my solution shows. We don't even need to use 11. And I did use simple maths.
 
sorry, I misunderstood the problem I guess.
 
There is not a single decimal point in sight :)
 
Yes I just observed that it asks for integral solutions so that fails
I don't know maybe simplex method is to be used but that's something I forgot.
 
@VisheshMangla Yes and it asks for the minimal integer solution, so you don't need to go beyond 100. Also useful to know the list of highly composite numbers: 1, 2, 4, 6, 12, 24, 36, 48, 60, ...
 
6:53 AM
hmm, I might could have tried it if it was an year ago when I solved problems on Project Euler but now I 'm no more habitual in solving these problems.
 
@VisheshMangla Just read my solution. It's divisibility arguments being used to constrain the search. Ultimately we only have to consider three candidate primitive PTs.
 
Now we list all Pythagorean triples where the middle term is less than or equal to 24, which are: . good but not so great
this is programatically very tough problem
although there are a few tweaks m^2+1, 2m , m^2 -1
these form a pythagoream triplet if I m correct
again, I have forgotten quite a lot of stuff from back then
you may like to read simplex method , maybe it can solve it for you in a better way
it's after all constrained minimization
 
7:09 AM
@VisheshMangla No it's not programmatically very tough, did you even read my solution. I show how we can heavily constrain the search for a = 12,24,40,60,... down to small even numbers which are members of one primitive PT and one non-primitive PT, i.e. {(3,4,5), (5,12,13), (8,15,17), (7,24,25), (9,40,41), (11,60,61), ... } and for b, primitive PTs where the prime leg is p=3, 5, 7..., thus {(3,4,5), (5,12,13), (7,24,25), (11,60,61)...}.
...We only need a little small integer arithmetic on quantities below 100.
 
oh sorry, I read the answer at the top and didn't see the author
I will need time to digest it.
 
@VisheshMangla Sure, give it a read. Keep thinking about divisiblity by 2,3,5,7,11. That's all you need.
@VisheshMangla Nearly. The generator formula for all Pythagorean Triples (PTs) is k(m^2-n^2, 2mn, m^2+n^2), where (m,n) are coprime (no common factors). And the case k=1 is a called a 'primitive' PT, and k>1 a 'non-primitive' PT.
Alternative way to write the generator formula for all PTs is (m^2-n^2, 2mn, m^2+n^2), where (m,n) are no longer required to be coprime (i.e. m,n can have a common factor k).
Here it makes more sense to avoid redundancy by using the formula k(m^2-n^2, 2mn, m^2+n^2), because (m,n) have to be coprime means at most one of them is even (divisible-by-2), and at most one of them is divisible-by-3. Piecewise divisibility arguments. Oh and obviously m>n (so that m^2-n^2 is positive). Oh and note the factorization k(m^2-n^2) = k(m-n)(m+n), this becomes really useful when we consider divisibility on the primitive PT, where k=1...
...and in order for (m-n)(m+n) to be the prime leg, we must have (m-n)=1 and thus (m-n)(m+n) = (1)(m+n) = some odd prime p. (We can say 'odd prime' because p=2 is impossible in a PT.)
 
8:02 AM
@VisheshMangla FYI, 'Pythagorean triplet' always implies 'integers', specifically 'tuple of three integers that satisfy Pythagoras' Theorem'. (If we allowed irrationals like square roots, then pretty much any triangle would have a (possibly irrational) solution, then where would the fun be...)
 
Hey guys what do you guys think is the best way to pass data from a database in a flask application to the html page and allowing javascript to update the data on scroll?
 
8:18 AM
You'd probably need to paginate your query results on the backend and use something like this to build the table as you go. As to how you correlate changes in vertical page position with when you send AJAX requests for new data, I'm not so sure
I suspect it's non-trivial to get a smooth result to handle different viewport sizes or something like a responsive design, but that would all be front-end work. The only thing your flask app needs to care about is returning paginated results in specified block sizes
 
flask-sqlalchemy has a paginate option!
You can use bootstrap paginate component to display it
 
They don't want to use an ORM (from a prior discussion a few days back :P )
 
@roganjosh lol yeah still working on it struggling but learning alot by avoiding orm for this project
@roganjosh I'm currently trying to get it to work I have found server side it is working well in that when I work with the variables set in place it is changing results correctly and displaying a max of 20 at a time just trying to get the front end to send a signal to server to reload atm
 
8:40 AM
How to import nsdl/dematad.py in run.py?
stackoverflow.com/questions/4383571/… I saw this but what's that 0, 1?I can't understand it even after the comment
 
start by adding an __init__.py to every directory
 
I read that it was old convention
is it still used?
 
go back and downvote that
 
It was a blog
If I find it again and I 'll hand it over here
 
essentially, a directory with an __init__.py is a regular package, and a directory without an __init__.py is (part of) a namespace package. You don't want a namespace package? Then add an __init__.py
and then you can do from .nsdl import dematad
 
8:45 AM
oh ok, thanks there is so much old and new stuff mixed on google what confuses me. Adding to that disgrace the old stuff is often in the top results.
 
Rule of thumb: Everything you find on the internet about python imports is wrong or bad advice
3
excluding the official documentation
 
yep, I tried to see some pycon/pydata videos even that is confusing
well the docs, what are you exactly referring to in the docs?
there is often confusion about distuils, eggs , pip. I tried to install package from github by python setup.py develop, the people on #python irc said no don't do it
 
Nothing specific. The info in the docs is correct (duh), but it isn't exactly a big help in finding a solution to your real-world import troubles
 
If I try to find anything python setup.py develop/install is everywhere.
That is why I have to resort to other docs/posts.
 
You don't need that anymore, pip can install modules directly from github nowadays
 
8:49 AM
how?
pip install? that works only with pypi
 
pip install git+https://github.com/AUTHOR/MODULE.git#egg=MODULE
 
oh, yes I had seen these in installation guide for some packages. Too bad I couldn't observe the pattern.
Thanks for the great info.
2364
Q: What is __init__.py for?

MatWhat is __init__.py for in a Python source directory?

Yes this was the post. I couldn't understand it much than


It used to be a required part of a package (old, pre-3.3 "regular package", not newer 3.3+ "namespace package").
Hey @Aran-Fey plz tell I 'm lacking what info?
 
Hmm? I don't know, what are you lacking info about?
 
9:05 AM
Did this post really talked about whatever you told me?
 
It covers part of what I said, sure. Not everything though
 
If I 'm having understanding issues then I need to work on my comprehension reading skills and English
I 'm not a person who speaks English except for professional purposes
 
If one speaks English for professional purposes, wouldn't that mean they get paid to speak English?
 
nope, I mean my mother tongue is Hindi not English
Btw which is the SO channel to discuss issues in downvoted posts?
 
9:21 AM
@VisheshMangla What exactly do you mean by that?
There is no specific channel for discussing downvotes. Votes are anonymous and not meant to have any discussion associated with them.
 
9:38 AM
typo, OP did not inherit as claimed stackoverflow.com/questions/62645678/…
Q has been reopened after "needs details" CV, can't vote again for the new reason :/
 
@MisterMiyagi still no MCVE...
Reopened by OP and 2 more python experts (not)
 
Thanks for closing. Not a topic on which I'd like to see amateur advice.
 
10:16 AM
@Deepspace comment flaged — Att Righ 14 hours ago
Nuff said
 
10:39 AM
@CodyGray I mean if I have got a downvote in a question saying it's out of focus or without any reason where can I discuss about it and kow what do others expect to see as change in it?
 
in the comments or on meta
 
meta, really?
they mark it as duplicate instantly
0
Q: How to use AJAX spinner in django(prefer to use some library) while waiting until file is processed in backend

Vishesh ManglaThe Form I want that after I click the submit button a spinner/progressbar(preferred) should pop up on the screen while the uploaded file is being processed in the backend. A csv file will be processed and based on number of rows processed the width of the progressbar should change. I don't know...

no answer nothing
-2
Q: How to place Python 's Pyinstaller's built exe in desired folder?

Vishesh ManglaI have a file Automail.py. I want to create its .exe file and thus I m using pyinstaller. Pyinstaller has two options, build a single .exe (in this the exe is around 140 mb) build a module folder(in this the exe is surrounded by files/dependencies and .exe file is 10mb) Now I used the first opti...

It is an edited version. I even dropped this idea because I got 0 comments
and just downvotes
 
@VisheshMangla Please take a look at the How to Ask help page.
 
is Introduce the problem before you post any code being missed?
 
I have no idea what the pyinstaller question is asking. What folders are being created at runtime?
 
10:45 AM
In general, broad "How to do X?" questions are difficult to answer. Especially for complex tasks, it is not clear which parts you already have and which ones you still need.
 
can you understand something from the answer?
 
@VisheshMangla the first one is missing a language tag... no visibility
 
but python is mentioned there?
python pyinstaller
I have actually deleted that code and followed pyqt5 and some different approach. What should I do now since I have lost motivation on that question? I don't even have that project on my computer anymore.
 
generally, you want to fix your old questions so that they don't accumulate downvotes and get you question banned. If you don't care or can't improve it, delete it
 
Well, currently I got the perm question ban. I asked these questions when I was in the middle of something but now I have either dropped the idea or changed the route.
@Andra Deak sorry it wasn't obvious for me.
I have an installer for it and it's on github if you want to see the code
but definitely i can't answer/correct my question with this
 
10:59 AM
@VisheshMangla django implies python, yes. But most people only filter for and not subtags when looking on the main feed. If you don't have a language tag you miss a vast number of interested parties. Django has 79k watchers, python has 1.1M
 
^ Kevin'd
 
@AndrasDeak sorry it wasn't obvious to me because it's a django, javascript/jquery problem
a person who knows python can hardly help
 
then tag with javascript
A code problem with no language tag is mistagged, period.
but if python people can't help you then is also superfluous
 
Yes, but next time I 'll keep this in mind
 
yes, that's all I meant
when you're question banned you get a free try every 6 months if all else fails
 
11:02 AM
ok, should I delete this one stackoverflow.com/questions/61793832/… ?
 
deleting won't affect the ban in any way, so that's your call
 
stackoverflow.com/questions/61108611/… I can only explain this in words because my code is deleted
 
Code questions without actual code are rarely useful on Stack Overflow
 
11:05 AM
I should have put up the code there
 
You will normally see those downvoted and closed.
@VisheshMangla if you have question regarding code, you should always have an MCVE. Usually not your full code, just a short snippet that displays the actual problem you have, which can be copy-pasted by others to reproduce your issue. As little code as necessary to do that, not a single line more.
2 days ago, by Andras Deak
@AmacOS OK, let me spell this out real clear because moderate subtlety doesn't seem to work. We cannot debug code we can't see. I only suspect you're using flask-sqlalchemy because the question you linked contains 1/4 of a traceback. You're the only one who sees your code. We can't tell you what's wrong with it. We do not see your code. We need to see some code to be able to debug it. It is impossible to debug code without knowing what it is.
This ^ is about debugging problems where an MCVE is a must, but if you're asking how to do something it's often very similar. Context and desired behaviour and your attempt to implement something are all parts of the MCVE in these cases
 
yes, I understood now the issues with my posts. Thanks
 
no problem
 
but there is a slight contradiction
it's said explain what you want to do and post as little code as you can
this thing , how is it possible?
 
@AndrasDeak It seems to be one of these days. The Q is now accumulating even more amateur theories via typo edits and comments.
@VisheshMangla By explaining only the relevant parts.
 
11:11 AM
hmm, I don't know what else to explain in pyinstaller post. I can explain you what I was trying to do.
Can you then tell what else should I need to put in there?
 
Note that if you cannot properly explain the problem without missing details or adding too much, that should be a sign that you need to split or simplify your problem.
 
Asking on SO is much more difficult than asking on code review
Well, I 'm programming in python from 2 years but I don't have any mentors or anything expect people on IRC who help sometimes. I don't know how exactly that's done.
 
@MisterMiyagi edit by OP at least
 
stackoverflow.com/q/62656132/4799172 typo (and also a screenshot of code)
Closed, thanks
 
11:45 AM
so you know how os.environ['TOKEN'] raises an error if not found but os.getenv() just makes it empty if not found. well so far I thought raising an error is smart in case you forget to add the token but it's making it a pain when writing tests because os.environ doesn't get patched until the test class is reached while imports are at the top.
is it smarter to use getenv then?
 
I'd recommend fixing your tests, or not loading the TOKEN globally.
Compromising code robustness to make tests pass is usually a recipe for disaster.
 
the token isn't actually loaded globally but inside a function
 
the point is that you shouldn't try to access envvars at import time
 
in that case, your tests should be able to patch os.environ before the function runs, no?
 
the tests get patched, but the tests base file imports a function from a file at the top which is not patched
btw I noticed that the env var that throws the error is actually the default argument to a function
I'm assuming those get accessed at import time?
 
11:54 AM
yes, when the function is defined
 
You might want to use the def ...(arg=None):, val = arg if arg is not None else factory() idiom, then.
though it might be an alternative it to accept an empty default, but check the token inside the function.
 
I just moved imports to inside the test function and it works well now
by the way, are decorators accessed on function definition or execution? I'm trying to test a decorator will throw an error so using it on top of a fake function but it's throwing an error when the function is defined and not executed.
 
sounds like you answered your own question there
 
hah true
 
decorators are applied immediately after the function object has been created.
 
12:03 PM
yeah interesting, I did not know that
well I guess I don't even need to call the function to test it then :^)
 
Wow, that person sure put a lot of detail into their pointless answer
Is "Does this answer your question?" the new "Possible duplicate of:"?
 
Yes, it is.
Kinda misleading, since sometimes I really just want to ask and other times I just want to hammer.
@Aran-Fey I've seen a few "Your code works for me, and here are even more things that do the same and work as well" lately.
It's getting a bit demotivating lately. I should probably just join the rep farming crowd and stop worrying.
 
I'm not sure about the rep farming part, but not worrying about SO is something I can highly recommend
 
@MisterMiyagi you can edit the autocomment
 
12:36 PM
There's no hidden magic involved that allows nasal daemons to enter our dimension if I do? Neat!
 
you can even delete it so OP can't ping you with complaints
 
1:09 PM
@Aran-Fey I ran into this in sublime one has to install a plugin and then do the inputs like a "code site" format, so you paste the input in the format above and then the input() reads from there
by above I mean in a format that the plugin requires you to, I tried it once then stopped using it
 
1:22 PM
@Aran-Fey wanna bet there's something fishy about that question (and accepted answer)?
 
@cs95 I don't think so
 
perhaps, perhaps
 
Same. I'm gonna say everything's in order
 
@cs95 Q&A with a net negative score generally aren't fishy to me. Every random crap gets +2 upvotes for free these days, a negative score is a feat.
 
it wasn't the score, it was the lack of effort in the question from a new user who joined today receiving quite the answer. Perhaps those are just coincidental and we instead need to educate users on how to use the site properly
well, we need that regardless
 
1:34 PM
A brand new user doing weird things can be a malicious sock and a well-meaning but confused user with around equal probability
 
@cs95 The major reason I still write answers is so that I have the rep to downvote such crappy Q&A pairs. There are tons of these.
Unlike that pair, there are especially many high-rep users farming obvious no-effort dupes.
Many high-rep users are encouraging this behaviour by mechanically answering low-quality questions.
 
I'd like to think things have somewhat improved after reducing the minimum close votes to 3. Do you not see that?
Fundamentally the problem there is questions not being closed fast enough
 
@Aran-Fey We all knew this day would come: there is now more useless advice about Python than actual helpful stuff. All we can do is cling to our islands of sanity and watch it wash around us.
It reminds me of the VBScript fora 20 years ago. Newless cloobs formulating simplistic answers to irrelevant questions.
 
@cs95 Not much. Closing properly, even with a hammer, takes 1-2 minutes. That is more than enough time for some farmer to find the question. Just having the question opened in the browser allows them to still answer ages after the question has been closed, as long as they do not refresh. And it does not take ages to answer the n'th list-comp/regex/str-method/list-slice/... dupe.
 
epic I nearly wrote my own context manager to collect logs and then discovered self.assertLogs()
 
1:46 PM
@MisterMiyagi There was a somewhat famous post by @wim to incentivize people who close posts. Nothing has come off it thus far
 
@m8_ yes, please ask you simple questions elsewhere
 
Ooh, you're so masterful!
 
@cs95 There is no amount of voting-rep incentive that could outweigh the benefit/cost ratio of churning out cheap dupe answers. Unless people have something to lose for answering the crap, they will continue doing so.
Getting some vote/dupe rep would be nice for the people that gamble away their rep to moderate the trash, but it will not prevent the trash existing in the first place.
 
@MisterMiyagi +10/-10 for votes
never going to happen, of course
 
takes a deep breath
Jolly good day fellas, ain't it? :)
 
1:53 PM
or perhaps fix the cost of the downvotes to answers to be a function of how badly the question was received?
 
That just incentivises up-voting rings between question asker and answerer.
 
done
 
@CodyGray done (used your phrasing on my second question too)
 
almost any feature is prone to abuse, that shouldn't be a reason to not do something!
 
1:57 PM
@MisterMiyagi The answer is to not care about rep (which I mostly don't except I would like the ability to downvote more) ;)
 
@cs95 The problem is particularly acute on the Python tag because the simple questions now are literally streaming in vs people who you see active trying to moderate content. “I feel thin, sort of stretched, like butter scraped over too much bread.”
 
i am a student from harvard
 
lol
 
@LinkBerest Since tools are bound to rep, not caring about rep hurts moderator'ability. Every random rep-farmer has a dupe-hammer and doesn't use it. Many people who actually do the cleaning duties have to ask others to hammer.
 
2:01 PM
bhai wtf aadi lmao
 
@VisheshMangla As it should be: I've written up 12 questions for SO and ask none of them (2 I realized were dupes when I came up with their titles and searched for it, 2 I figured out the answer making an MVCE, the rest I realized I needed to re-factor the code so the questions were moot)
 
fancy seeing you here
 
@MisterMiyagi yep, why I said mostly :)
 
you shouldn't care about rep after you have 25k rep
 
@roganjosh I think its worse this year too if enrollments at my universities is any indicator - a lot more people are doing summer college courses this year than others (mostly online)
 
2:03 PM
or 20k, if you want to skip the last privilege (not related to moderation)
 
@cs95 I'll stop randomly venting frustration in two years or so, then.
 
the frustration will only intensify in two years :p
 
@LinkBerest Not to mention that the lockdown means that people potentially had a lot more time to pursue something that's talked about so much in adverts, which they might not otherwise have had the time to do
 
@cs95 none of the farmers want privileges. They want gratification
 
I want Number Go Up, my last remaining serotonin molecule demands it
 
2:07 PM
ah, yes. Google suggestions for me are all over "learn Java", "learn Python", "learn to be a data scientist" ... forgetting that I've been learning those 3 things for 20, 10, and depends on classification years respectively
 
if only farming IRL was as gratifying ... stick that hoe in the ground for +10 food... world hunger solved right there
 
@AndrasDeak true, even occasionally see moderator candidates in elections who have high rep and lower candidate scores because they don't moderate just answer/ask questions
 
@LinkBerest That sense might be developed with time but currently I 'm too far from sensing that with my posts.
 
2:23 PM
As none of the ones I looked at (admittedly I did not go through all of your questions) had an MVCE - it is a sense that will not develop because it requires practice
I wonder if the mods have to lock SE employee posts (from comments) on Meta - would kinda make sense so as to not bombard the CMs with pings (also is really annoying)
 
2:55 PM
Also , is there an abbreviation help page because I know only one of the abbreviation here that is OP(operational)
 
Not really. OP is "Original Poster".
 
00:00 - 15:0015:00 - 00:00

« first day (3545 days earlier)      last day (1388 days later) »