|
Luc Pattyn wrote: I would not compose an article on-line! I always keep my source locally, and use whatever editor I like, then copy-paste all of it in the CP edit box.
I wish it would be that easy. At least in Tips/Tricks it is a mish-mash of text and XHTML (apparently <br> tags are added where newlines are), so what you see is not what you get. I'd wish there would be a wiki format - or alternatively pure XHTML.
/M
|
|
|
|
|
Moak wrote: apparently tags are added where newlines are
Only if you choose not to allow HTML in your messages. Tips and Tricks uses the same editor and layout engine as the article system, and you can use full HTML in that*
* with a few exceptions. Some HTML is dangerous and gets stripped.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: Only if you choose not to allow HTML in your messages.
There is no such option when improving a tip/trick. When pasting there is "allow HTML", which I used.
Btw, in the forum editor I have "Use HTML in this post" enabled per default.
[edit]
The newline issue is also mentioned in the Code Project Tips & Tricks FAQ.
[/edit]
|
|
|
|
|
I found the issue, and found the issue for all the other blank pages that have been ocurring. yay.
Upload soon.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
It needs approving by a member with sufficient status - at the weekend there aren't as many members around to look it over. Just be patient I'll have a look at myself shortly...
Approved
|
|
|
|
|
Thanks! I'll wait until monday morning next time before whinging,
Cheers,
Ash
|
|
|
|
|
your alternate seems to need approval for reasons unknown to me. As you posted another T&T today (to which I added a comment!), you might have known that already.
I'm not going to approve it, as I am not sufficiently comfortable with C++, and don't see the added value; I do agree with most that was said in the original T&T. I'm also afraid your alternate is making the compiler do the inefficient recursions. IMO Fibonacci is the prime example of things that should NOT be done with recursion, in the app nor in the compiler.
|
|
|
|
|
I've approved it anyway Luc. I agree with all your points but it adheres to the approval recommendations, the rest is up to the community to judge/vote on now it's 'in the wild'.
|
|
|
|
|
No problem, the Force is with you.
|
|
|
|
|
[Probably the wrong place to mention this] The point I was trying to make in the tip (oops, obviously failed) was:
"Interestingly, the compiler doesn't take very long to work this out while the recursive technique the original poster outlined was incredibly slow. So how does the compiler do it?"
Cheers,
Ash
|
|
|
|
|
I don't know. Maybe it did take long (and you didn't notice) the first time the file got compiled, and did not bother recompiling the file later on as nothing had been changed?
|
|
|
|
|
I got an email from CP that states:'Reason for my vote of 5 Automatic vote of 5 for accepting answer'
I opened up the link[^]. The comment was there but answer is not marked as accepted. I doubt if this is the expected behaviour. If so, then comments/notification needs a change and if not, then there is a bug - answer marked as accepted is missing(and probably the reputation points related to it!).
UPDATE:
Another instance[^] of similar thing I just came across.
modified on Saturday, September 18, 2010 9:39 AM
|
|
|
|
|
Could just be the author rejecting the answer they previously accepted (not sure if they can do that). I also noticed similar behavior here. The author accepts the answers, says thanks, I see a message that says "Automatic vote of 5 for accepting answer", yet there is only one vote of 2.
|
|
|
|
|
What you reported is different from mine and surely again something to look at.
I reported, 1 5-vote with comment of answer accepted but when we go to that answer it is not marked as accepted where as your case is, NO 1 5-vote inspite of comment of answer accepted and answer also marked accepted.
|
|
|
|
|
I know, I was just pointing out that there are other parts of this functionality that are broken. They might as well kill 2 birds with one stone when they get around to fixing this (if they indeed need to fix anything).
|
|
|
|
|
aspdotnetdev wrote: They might as well kill 2 birds with one stone when they get around to fixing this
I was just re-phrasing to make sure we show them both the birds to kill (as you already said, iff they need to be killed!)
|
|
|
|
|
Tenacious D sang: That's ******* teamwork!
|
|
|
|
|
Sandeep, I think you commented my answer, instead of the OPs question. Here.[^].
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Replied back!
|
|
|
|
|
People can accept, then unaccept (or have it unaccepted).
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Ok. It's just that I see this quite often.
Further, if OP accepts and then unaccepts, can system internally remove the comment too? If so, it would not confuse anyone.
EDIT: Another thought to the issue of having comment even after vote is removed - Why do we need a comment for an auto-vote at all?
modified on Monday, September 20, 2010 12:36 PM
|
|
|
|
|
When I view this question in the list of questions (under the "active" tab), it says "Activity 2 hours ago by Chris Maunder." However, I don't see any indication on that question or its answers that CM touched a thing. No revisions by him, no comments by him, and no answers by him. Perhaps votes count as "activity" now? Or deletions of answers/comments? Or maybe he did add an answer, then it was deleted? It seems this Chris Maunder is a ninja, leaving no evidence behind that he was ever there, aside from the path of devastation in his wake.
|
|
|
|
|
He is known to impersonate other people occasionally, rumor has it dear Henry was his latest victim.
PS: no, the bucket is still alright.
|
|
|
|
|
Luc Pattyn wrote: bucket
Bucket?
|
|
|
|