|
How can you be a member of CodeProject for 14 years and 6 months and not report it?
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
How can you two be members for approximately a century and still have no other problems?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
How can you be a member for over eight years and still have such bad arithmetic skills?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Which finally leads me to asking a programming question here:
How do I get a computer to add days, months and years accurately?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Threats.
Eddie: I'm waiting. I can wait all day if necessary.
Zaphod Beeblebrox: Computer, if you don't open that exit hatch pretty damn pronto, I shall go straight to your major data banks with a very large axe and give you a reprogramming you will never forget. Capisco?
Works for me!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
And what if that thing is threat safe?
The language is JavaScript. that of Mordor, which I will not utter here
This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.
"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."
If software development were a circus, we would all be the clowns.
|
|
|
|
|
Escalate to "Promises"
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
You assume I did not report it.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
I know you didn't report it, because I checked the OP's message log, and only one person had downvoted the post (and that was me)...
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Are you thinking about performance? If so, use the fastest but more inaccurate checks first. If they fail, return false. If they pass, then do the slower but more accurate checks. That way, the false results would be really fast. The true results would be a touch slower.
|
|
|
|
|
Should have waited until Friday, then post a Friday Programming Challenge (haven't had one for a while).
If you care about only ASCII characters, use an array of ints
If you want to support Unicode, use a Dictionary of ints
Iterate the strings
For each character in the first string, increment its respective value
For each character in the second string, decrement its respective value
At the end, all values should be zero
|
|
|
|
|
|
It could be a misunderstanding that 1 == best.
|
|
|
|
|
I see nothing there indicating that this is the person who voted.
This space for rent
|
|
|
|
|
The downvote and the comment came almost the same time, and there was only one vote when I posted the message.As downvote wants you to comment, I assume there wouldn't any other case.
|
|
|
|
|
Grasshopper.iics wrote: As downvote wants you to comment, That's no longer true. Hasn't been true in quite a while now.
This space for rent
|
|
|
|
|
Ah, in that case,I probably made a mistake.
Will delete this post. Thanks for clarification Pete.
|
|
|
|
|
How do you know who down-voted, and why are you complaining about it "in public."
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
I am not complaining. Just indicating an one of cases where person downvotes and then appreciates. Nothing else.
|
|
|
|
|
As you can't see who downvotes you, how do you know it was this user? I saw nothing indicating that this was the case.
This space for rent
|
|
|
|
|
Grasshopper.iics wrote: I am not complaining. bullsh*t !
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008
|
|
|
|
|
How did you know that he down-voted you?
|
|
|
|
|
He probably voted it down so that people won't read it, so won't recognise it when he plagiarises it.
At first glance, it looks pretty damned good. I've bookmarked it to read it properly later.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Actually, he didn't vote for you at all ...
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Why do people always have to muddy the water with facts!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|