@animuson No. I don't go back and vote to close old questions much at all, much less those that I've answered - too biased, and too late to stop someone from answering anyway.
Always worth looking for ways you can edit to make them more generally-applicable though.
@Shog9: I did for this question: stackoverflow.com/questions/8481474/… - But only because I was updating some tags and I just ran across it not realizing I had even answered it. Haha
Yeah, I've probably got a few like that around. In hindsight, would have been better answering in a "here's how you debug" fashion, but web debugging is just so much fun ;-)
I'm given the following homework question and I can't seem to solve it:
"Assume you need to test a function named max . The function max receives two int arguments and returns the larger. Write the definition of driver function testmax whose job it is to determine whether max is correct. So testmax returns true if max is correct and returns false otherwise."
@Moshe Here's another way of looking at it: that max() function I just wrote will implement the spec fine, so long as the second argument is always greater than the first. So you need a test that verifies - at very least - that it fails when that is not the case.
Thanks for your great feedback and input.
I wanted to start a fresh post, and share the changes with you.
Major changes
No conspiracy theory looking stuff
Images are of actual scientific docs, readouts etc. all available for review...
Cleaner style
More modern
No mono-spaced courier type
More...
@Moshe - it happens so rarely that I discover worthwhile music with German lyrics - here's something with a lot of words. Probably really hard to parse but also really cool IMO
See this page:
http://stackoverflow.com/posts/2315476/revisions
I edited this post, but I only made one change: adding a dollar sign before the line "func_name();". But it says that I also added some text, "that consumes a lot of resources".
I'm certain that I didn't add that text; in fact, I'...
I have seen an answer to a question on Stack Overflow.
It contains a typo, so it is edited.
The editing shows that it should be fixed, but it isn't.
Link to answer: sticky div in sidebar
I cleared my cache, cookies etc. and then reloaded the page, same thing
EDIT: I went to my friend's h...
Haha well right now I'm sitting at 260 for the day, but I'll lose 80 whenever that serial vote thing kicks in. I have one other legitimate upvote that I didn't get +10 for, so I'm hoping it will grant it to me when the others get scratched.