I have an idea for a new multi-part feature.
A flag that one would raise on questions which appear to be soliciting work from the community.
Questions flagged as such would enter a new review queue. This new review queue would be available to users after reaching a certain amount of rep. In thi...
Some sites appear far more often in the hot questions list than other sites. I don't have any hard data on that, as that kind of data is just not publicly available, but I'm pretty sure my subjective impression on that is reasonably accurate.
Those sites don't appear more often because they are ...
i made a management command by copying syncdb sources so python manage.py createshadow would create tables in an alternative db from these models (I made a list of tuples in settings.py that contains models to be cloned). It works. Boss prefers to import models in myapp/models/__init__.py.
I have a function that returns django models class and would like to import them in my app/models/__init__.py.
My function is a slight modification of this dynamic model exemple (Django Wiki). It clones a model and returns a <class 'django.db.models.base.ModelBase'>, a slightly modified ...
at 10k you can vote to delete a closed question after 24 hours
at 20k you can do the same immediately, plus can vote to delete negatively voted answers
sorry at 10k it's 48 hours - not 24 hours
plus the number of required delete votes increases depending on the number of answers and upvotes
As to the rep. - I'm not 100% sure - but there's a lock time, where they still count
So umm - there's 3,606 users that have 10k+ and 1,055 that are 25k + - that's out of 1.8 million, and you only get n many delete votes a day anyway
(not quite sure why it ranks 25k+, 20k+ would be more useful, but we can guess somewhere in the middle? 2,000 ~1900 20k+ users)?
So then, if we go for active users, that are 10k+, that hang around looking at python, maybe we get a 100 that could cast deletes, or 40/50 that could cast immediate deletes?
which - I think strengthens your meta post - or at the very least - doesn't make it any weaker
Would you be willing to make an answer to my meta post and include these statistical ponderings as well as what we discussed earlier about having a similar feature in the 'protect' which also creates a notice on the post to warn users from answering it?
340GB might be only one song if you include the full genome of each performer, and HD video of the important events in their lives. That's the only way to reproduce the true sound, really.
I was given an assignment in Python and it's due in 2 days. The client knows that I do not have any Python programming background but still would like to get that done. Can you please help me? Thanks in advance.
(1) Task Description:
• In the Python language, write a program that takes a confi...
@InbarRose, I especially dislike it when they copy-paste the assignment in without even looking at the preview to make sure it didn't mangle their formatting. Markup does not parse your bullet points the way you expect, Irina I!
As long as I'm complaining, you ever see a post that ends like, "regards, -~LoneWolf420~-", but their user name is "user4815162342"? They're in such a hurry they don't even choose a user name before posting.
I was wondering about using my real name, but thought screw it - my writing style is distinctive and I've been on public forums with my name 10 years before that - so what kind of thing
@Poik True - then more likely - music I forget I have is probably more appropriate
I have to admit though, when we host parties, and I forget to set up play lists properly, or let the player go on random, we end up with the scooby doo theme tune ;)
True music fans have, for every song they possess, the original version, the remastered version, the recorded-at-a-concert version, and the Weird Al parody version.
And true true music fans have all possible combinations of those. You haven't heard "Eye of the tiger" until you've heard the remastered Weird Al parody concert version.
ACTUALLY, my friend and colleague @Bethany wanted to share that we'll be at PyCon, so I was just escorting her here - thought this room might be interested, but wasn't sure it'd be safe to come alone. : )
@JonClements, poor @Bethany doesn't have enough rep to chat yet. BUT, she said to share that we're not doing anything exciting enough to try to get you on a plane. Just hosting a booth in the expo hall, but wanted to give a heads up that they'd love to say hi and offer tee shirts to the faithful (like you guys)!
@Jaydles well - that's cool - we're trying to build our own little Python world and pass on our experiences in that sense - so yeah - go for promoting SE/SO and good luck - it's a very valuable resource
@Kevin Well. I must say that though chivalrous and gallant and whatever other word you want to use, you are most definitely wrong. Actual studies have been conducted, and it is proven that there are significantly more male internet users than female.
Sigh, I hesitated posting a solution to this question, and someone else posted the exact code I came up with. Those eleven upvotes could have been mine!
Next time I'll submit an answer and then check it for correctness :-)
Aaand Martijn finishes editing a post in the time it takes me to read the post. O_O
I'm pretty sure it has other algorithmic purposes. But it's mostly for algorithms, not 'standard' programming (even though algorithms is all I (want to) do, personally).
@Kevin I don't know. I for one welcome our new robotic overlords.
@InbarRose: I am leaning towards BoltClock there; I don't think we need to complicate things. I also agree with Lance, penalizing answerers is not the way to go.
@JonClements: I recently did learn that older python versions did not have standard values for positive, negative infinity and NaN.
@JonClements: Trying to get those values on Windows in Python 2.5 and before (IIRC) was... challenging.
when calling a function which wants three arguments with only two, it will write to console that func() takes exactly 3 arguments (2 given). Can I somehow store this mesage to a variable? I am embedding a python into C++ wxwidget app and I want to see the error message, but I can't turn on the console, so I am thinking about a way to display the error msg
Yes, by registering a sys.excepthook() function:
import sys
def myexcepthook(type, value, tb):
dump(type, value, tb)
sys.excepthook = myexcepthook
This replaces the default hook, which prints out the traceback to stderr. It is called whenever an uncaught exception is raised, and the inte...
Calling a function with too few arguments is just another exception.
Either catch that and log it (the logging module already can handle exception logging properly) or install an exception hook to log that information for you.
You need to earn 2000 points for the rel="nofollow" restriction for your website link to be lifted.
Note that links in your "About me" section will always have the rel="nofollow" restriction applied except for the link in your Website field. It has to be an exact match though, if one has a trail...
shrugs
Free rep! Everyone is upvoting my answer instead of adding another one, which is good.
Maybe if you put a dofollow link in your own profile, with screenshots showing the process? That may satisfy him. Although it may not be worth the effort for 50 points.
anyway, I am out for today, see you guys tomorrow, though we will have house-warming party. (don't know the exact phrase, I googled it, haha^^) The point is that our working group is moving.