|
OK, that makes sense. I thought it was the awful sense of finality that was causing you grief.
"Do I vote? Do I not vote? If I vote a 2 will I regret it later? But I don't want to vote it a 4 because it's not good enough. Oh, if only I could vote it a 2, just for a day, then take it away, rest, and then, maybe, vote a 3 the following day."
So it's more about having your vote stay relevant to the article as the article changes.
That is something I can definitely add to the TODO.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: So it's more about having your vote stay relevant to the article as the article
changes.
Yes, with an optimistic hope that it will be improved.
However, I feel that the ability to report poor articles is more powerful than low-voting.
|
|
|
|
|
just now i tried to improve this solution [^], I got the below screen
Error[^].
I tried second time, then it's fine. i don't know why this error is occurred. This is only the information am giving to the CP team.
Thanks
|
|
|
|
|
Thanks for letting us know.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
I've just revisited my previous posts in Quick Questions & Answers and found that the rendering of source HTML code has changed.
In the past, double line breaks in the source was rendered as line break. The same posts viewed now don't have them (or there is no an vertical intervals between them, I'm not quite sure).
If I enter explicit <br/> between lines, it works properly, but the problem is: what to do with the already posted material? It was not designed to be rendered the way it looks now.
Thank you for attention to this matter. Best wished in New Year!
—SASergey A Kryukov
|
|
|
|
|
More than likely this is related to the bug below.
I will dig in. I can't replicate PIEBALDconsult's issue, but maybe if I focus on the line breaks (I know the code to fix) it will fix his issue too.
Hope you had a good break yourself!
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris,
Thank you for this reply. After some more observations, it looks like modified "br". A line break automatically adds a "br" tag, as it probably was before. I checked it up on my old posts. Maybe new code is better, because repeated line break is accumulated in just one "br" break (is it so? you could check it up, as to test it I would need to create a fake question/answer and remove it).
The only problem is that before "br" was probably rendered by a style with 1 em vertical interval (margin), and not it is not.
Could something be done to preserve old rendering of the past posts, as those posts are used, referenced, etc.?
Thank you,
—SA
P.S.: to make this post rendered properly, I've used "p" tags. It would not be a problem; the problem is rendering of past posts designed to the old rendering style.
Sergey A Kryukov
|
|
|
|
|
OOPS! It looks like old style is back. Did you changed anything when I was editing my previous post?
—SASergey A Kryukov
|
|
|
|
|
No! It looks like now the stile in this forum is different form Questions & Answers where the vertical intervals between lines are zeros.
In this forum, multiple line breaks cause multiple "br".
See below:
—SASergey A Kryukov
|
|
|
|
|
When I edit questions this morning, the formatting for the "text" part won't keep blank lines. It moves everthing up instead. It only keeps the blank lines if I have the "plain text" checkbox checked.
I know you have your hand full and this might have been mentioned already.
-- cheers
Just along for the ride.
"the meat from that butcher is just the dogs danglies, absolutely amazing cuts of beef." - DaveAuld (2011) "No, that is just the earthly manifestation of the Great God Retardon." - Nagy Vilmos (2011)
"It is the celestial scrotum of good luck!" - Nagy Vilmos (2011)
|
|
|
|
|
Just edited this question[^] and had the same issue with the line breaks.
In addition to that the indent & unindent feature also seems to be broken.
Regards,
Manfred
"With sufficient thrust, pigs fly just fine."
Ross Callon, The Twelve Networking Truths, RFC1925
|
|
|
|
|
I've fixed the issue on dev and will update the site this morning.
As an aside, may I say it's a pleasure conversing with someone so polite. You're a gentleman, SA.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Hi Chris,
First, thank you very much for your nice words.
By the moment I've read your message, I did not see that it was fixed. Today, I re-tested the rendering on few old posts taken randomly; it looks like they appear as expected.
Thank you very much for taking care of those issues.
Cheers,
—SASergey A Kryukov
|
|
|
|
|
It looks like indenting in pre blocks has taken the day off.
(Win7, IE8)
|
|
|
|
|
Testing:
This is not indented.
This is space indented.
this is tab indented
Seems to be working for me...
[Edit: Found and fixed the issue. It was a QA thing only]
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 4-Jan-12 8:49am.
|
|
|
|
|
|
Maybe it's just under Tips? Articles seem OK.
|
|
|
|
|
Try:
string s = "12345678";
string toAlpha = s.Substring(0, 4);
string toDigit = s.Substring(4);
StringBuilder sb = new StringBuilder(8);
foreach (char c in toAlpha)
{
sb.Append((char)('A' + (c - '0')));
}
sb.Append(toDigit);
string output = sb.ToString();
In Q&A!
Combination of 4 alphabet character and 4 digits[^]
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
I just checked a couple of my tips and they still show the same. IE8, and I did a Ctrl-F5 refresh as well.
TextBox cursor position[^] for instance.
|
|
|
|
|
My apologies. I answered a couple of other related bugs to this one with "fixed, and will upload the code this morning" but didn't add the "will upload..." bit to my quick reply here.
Soon.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
OK, I'll work on the programming challenge while I wait.
|
|
|
|
|
Ah, I see it's fixed now, thanks.
|
|
|
|
|
Hi Chris, I think you know why I am saying this. Yes, it's long time that the blog posts were not fetched and your servers need a pull once again. Not only my posts, but there are some other people too whose posts were not fetched for some time.
|
|
|
|
|
Yep, mine too. I have posted a blogpost on yesterday.
|
|
|
|