19h
comment Repeated values in an array in C
The test case you've posted a screenshot of appears to give the right answer. (although you haven't actually stated what you're trying to do, so I can't be sure)
20h
comment If magic is real, can it be true that rational scientific thought should exclude it?
"A person with a rational mindset should not look to magic as the first answer." I feel like this would have to imply that magic is not really useful for any purpose; e.g. it would have to be cheaper, faster, and safer to book passage on a ship than to hire magical transport across the ocean, mundane buildings would be sturdier, cheaper, and faster to build than their magically constructed counterparts, and so forth. Otherwise, your rational person would have rational reasons to turn to magic as a first choice if it suited their needs.
21h
comment When is the category of small (pre)sheaves a(n elementary) topos?
Regarding whether restricting to sheaves in a topology makes a difference, Giraud's theorem gives examples: if $C$ is a Grothendieck topos, then $Sh(C) \equiv C$.
1d
comment Downvoting is not needed.
Also, be aware that, in some respects, question visibility is a zero-sum game. Every time you fail to downvote, you are damaging the other questions that would have appeared in its stead. And you are telling the readers, who rely on the ratings to rank postings, that this posting is the equal to all of the other ones. (barring the ones you actually upvote, of course)
1d
comment Downvoting is not needed.
@Self: I can't speak for everyone, but I rather like to answer on elementary topics. It's just that the elementary topics make up the bulk of the problem; my downvotes are not for people who (appear to) come here to learn, my downvotes are for people who (appear to) come here because they have a problem to do.
1d
answered How can I make sense of $A+(-B)=A-B$?
1d
comment How can I make sense of $A+(-B)=A-B$?
I don't understand what the words you are using mean.
1d
comment Downvoting is not needed.
Feedback to people who post problematic questions isn't the only purpose behind downvotes. Voting is also to crowdsource a rating so that everybody else who uses the site can see which questions and answers are probably good and which are probably bad (or more to the point, not see the latter type at all). Requiring every downvote to be accompanied with a comment cripples the ability of voting to correlate with the crowd's opinion on how a question should be rated.
1d
comment Generate random exponential value correctly c++
You should decide something to do when value >= size that isn't "write to an invalid memory address". Why is it an array of double instead of an array of int? Why did you decide not to use std::vector? (if that didn't even cross your mind, you really should get in the habit of thinking of using std::vector as your default solution to dynamically allocated arrays)
1d
comment No match for 'operator==' in function
@Michael: You do have something of char type: textInit[i].
1d
awarded Good Answer
2d
comment How does a mathematician sees the numbers?
How many leaves does the tree have? Are they all green? How high up was the lowest branch? Were there any gashes in the trunk? Did you notice the bird's nest? Is it diseased? Healthy? Dying? Young? Old? You didn't see everything about the tree: you only saw what you've trained yourself to see about trees through casual observation.
2d
comment Obtaining graphics of functions in non-standard analysis
I can't figure out what those graphics are supposed to be. e.g. there is a full period of $\sin$ between $\epsilon$ and $\epsilon / (1 + 2 \pi \epsilon)$. The graph of $\sin(1/x)$ should look like a solid rectangle.
2d
revised Why didn't Malfoy take the cloak after performing Petrificus Totalus
added 21 characters in body
2d
answered Why didn't Malfoy take the cloak after performing Petrificus Totalus
2d
comment Why didn't Malfoy take the cloak after performing Petrificus Totalus
@Richard: I imagine getting one up on Harry is more valuable than an invisibility cloak to Malfoy.
2d
comment c++11 variadic templates and std::endl
Possibly silly question: why isn't your logger a stream?
Mar
28
revised Why does inserting a printf statement make my function work correctly?
added 301 characters in body
Mar
28
comment Applications of set theory in physics
IMO, at least 99 times out of 100, when someone says mathematicians are doing set theory wrong, that person is interested in some other structure, but wants to use the word "set" for the other thing.
Mar
28
answered Why does inserting a printf statement make my function work correctly?
1 2 3 4 5