19h
comment Placeholder Answers: Will update with answer soon!
Simply downvote the answer and assume the user will learn from it because they probably dislike getting downvoted?
20h
revised How can an answer be down-voted two seconds after posting?
edited body
20h
answered How can an answer be down-voted two seconds after posting?
1d
comment What is the difference between a cyclic list and an infinite list in haskell?
There is the semantic difference that a cyclic list repeats a number of elements over and over again, while an infinite list might not do that. Not every infinite list can be turned into a cyclic one.
1d
comment How to return a generator object in python
Do you have a code example that illustrates the problem? Because a generator function creates a new generator every time it's called and an existing generator object would be returned with a simple return. I suspect you have something different in mind, but it's not clear what that is.
Aug
22
answered Line breaks/paragraphs for bounty text
Aug
21
comment How can I select all of the Sundays for a year using Python?
@sjpatel: You need to change the offset calculation to start with the first saturday instead of sunday. This could be done with timedelta(days = (5 - d.weekday() + 7) % 7). Or, more explicitly timedelta(days = (5 - d.weekday() if d.weekday() <= 5 else 7 + 5 - d.weekday()))
Aug
20
answered Send image through C socket
Aug
20
comment Python is reusing variables from one instance of an object for a new one
See also stackoverflow.com/questions/1132941/…
Aug
19
comment Shouldn't this answer be converted into a comment or just deleted?
@chris: I don't really care about this specific case. The problem is that generally all answers that point to external solutions get deleted. If the answer uses completely unoffensive language and points to an external solution that works and was found by other means than google and whatnot it's usually deleted just the same, from what I've seen. I think that makes the content on SO worse, not better. I think thats bad. The snarkyness and the references to Google are not really relevant, they could easily be edited, but the resulting answer would likely be deleted anyway because "link-only".
Aug
19
comment Passing argv as const
With what arguments are you trying to call the function when you get the warning? With which types are they declared?
Aug
19
comment Shouldn't this answer be converted into a comment or just deleted?
@Chris: It seems that lots of people found it helpful and upvoted. Without having really looked into the subject I assume you can fairly easily create a good implementation from the linked code and the upvoted comment. But more generally, I just don't agree with the idea that a deleted answer is somehow more useful than an answer with a link to helpful content.
Aug
18
comment Shouldn't this answer be converted into a comment or just deleted?
@Chris: Who knows exactly they googled for and which results they got/looked at. And for technical problems with the answer: isn't that what votes/comments are for? The slight rudeness in the question certainly isn't appropriate and should be edited out, but I didn't think that's what this flag was about. If people really feel strongly about that they should just flag as "offensive".
Aug
18
comment Shouldn't this answer be converted into a comment or just deleted?
@Kendra: What use will it be to future readers if it is deleted? Of course the link might go bad and the answer might become useless by that, but deleting it makes it useless immediately. The rude tone of the answer would be much better removed by editing.
Aug
18
comment Shouldn't this answer be converted into a comment or just deleted?
@Chris: The answer doesn't say "go to google", it says "here's the solution I found". The utility of a link pointing to a solution seems obvious to me.
Aug
18
comment Shouldn't this answer be converted into a comment or just deleted?
Is that question now really more likely to help people since the answer was deleted?
Aug
17
comment Creating referenced table element
The answer completely depends on how you implemented this complex table.
Aug
14
awarded Good Answer
Aug
13
awarded Yearling
Aug
13
awarded Yearling
1 2 3 4 5