|
Thanks for the explanation. You're right, I don't have control over my RSS feed, so I've done the micro format option. As far as I can tell I've done it correctly, but it's not picking up any of my articles. The page (http://www.codeproject.com/script/Articles/BlogFeedList.aspx?amid=4645031[^]) says it polls once per hour, so as far as I can tell it should have picked up articles by now. Can you recommend any other troubleshooting techniques?
Thanks,
Lee
|
|
|
|
|
Chris,
I've posted a new blog entry and confirmed that the RSS contains this link. But it still isn't getting picked up. How often does the polling actually happen? Is it truly once per hour? Can you suggest any other debugging techniques?
Thanks,
Lee
|
|
|
|
|
Got it. Should be good from now on.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
Today I was giving an alternate way, on QA, to set the BackColor of an MDI Form: in a Code block the line using the word "MdiClient" within <> delimiters was consistently changed to "mdiclient," and a strange extra closing tag </mdiclient> was added.
This was a straight paste of working code from Visual Studio.
The fix was to go into the code between pre tags and use the &..; formats for the <> delimiters around "MdiClient."
Let's see if I can reproduce it here:
private void Form1_Load(object sender, EventArgs e)
{
this.Controls.OfType<MdiClient>().First().BackColor = Color.Red;
}
Hah ! Now, of course, I cannot reproduce it.
Considering it possible I made a mistake and somehow selected an option that was not "Code" after pasting, I reviewed the results of all other format-after-paste options: none of them would give anything near what was reproduced when this intermittent thing was happening.
Oh well, cosmic-ray ?
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
modified 27-Nov-11 22:32pm.
|
|
|
|
|
< is, as you know, a marker meaning "start a HTML tag". So, <MdiClient> will be treated as the HTML tag "MdiClient", and since you didn't close this tag, the editor will go ahead and close it for you: </MdiClient>. Changing it to lower case is done by the editor when it reformats the HTML - all tags are set as lowercase.
Next time when you paste something, just choose "Text + Encoded HTML" (or check out the preview box in the paste dialog straight after you paste, and you can see the result.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
|
No one is going to read a sticky post in the bugs board before posting an article or message, and only a small number will read the post before posting a bug report.
The only thing to do is either make the problem go away, or make it so that it's obvious that something's going weird (or could go weird) at the time of posting.
1. We could switch to Markdown and ditch HTML support (or support a limited set)
2. We could have the HTML parsers test every tag they find against the known set of valid HTML tags and escape the <'s around unknown ones. Possible, but it slows things down nicely
3. Have the auto-preview do something like highlight in yellow tags that seem "odd" (how we determine "odd" can be done in a variety of ways).
(2) is probably the best idea for all forums that don't actually expect HTML tags in text. ie any web-focused forum will have the same issue.
(1) is a very neat solution but means none of the formatting we're all enjoying such as divs and tables.
There's always (4) which is:
4. Implement Markdown and set it as the default format method, but allow members to move to HTML if they wish.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
This is not a major "bitch"
In this case I pasted an example of working code copied direct from the Visual Studio Pro editor into the solution, and clicked 'Code' from the pop-up format menu.
That this was mis-translated, a keyword was changed to lower-case, and a strange closing tag added: means there is a bug in the editor.
That this behavior is nor repeatable, regularly, means there is some intermittent bug in the CP parser/formatter.
I have seen other intermittent bugs where, either pasting in plain text with no code, no delimiters, the pasted text is suddenly bracketed in <pre> tags, or where pasting in content ... as code ... containing complex nested generic definitions which have multiple angle brackets, the entire contents of the post past the start of the generic delimiters angle brackets is deleted.
I am very familiar with the CP editor now, and it has intermittent variances in behavior which are ... well ... that's software
Of course, anytime I can reliably replicate a buggy behavior, I will report it here, as I have done several times in the past.
I am now expert in fixing code translated by the CP editor to substitute ampersands-followed-by-acronyms-for-angle-brackets-followed-by-a-semicolon, for where angle brackets should be in plain text, and the reverse in code: unfortunately, I'm not sure that skill makes me any more employable
best, Bill
p.s. I was "infamous" at Adobe in the QA division for continuing to find bugs in PhotoShop and Illustrator (I was on the programming side of things there) with every release candidate after they had been pounded for hours, and signed off on by QA. I sent them a photograph of myself, and a box of red-tipped push-pins, and suggested they enjoy sticking a pin in my photo for each bug I found they had missed Of course I had, previously, sacrificed a black chicken to Papa Legba to protect my physical body from harm.
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
|
|
|
|
|
Great story!
BillWoodruff wrote: I pasted an example of working code copied direct from the Visual Studio Pro editor into the solution, and clicked 'Code' from the pop-up format menu
Next time this happens can you please send me a screen shot of the editor post-"code" click? I'd like to track this one down.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Use the < and > tags - the < and > clickies at the top of the edit screen.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
This report is about an intermittent bug seen in pasting code valid C# code copied in Visual Studio into a QA answer, after choosing "Code" from the pop-up format option, thanks, Richard.
Yes, I am aware of those doo-dads in the editor ui.
best, Bill
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
|
|
|
|
|
Sorry, I mis-read what you said; but I did not think that this was intermittent, but always happened. Obviously time for me to do some (serious and logical) testing!
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
|
Looks like it was a cache issue.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
In the last few months, while I've been fairly active on QA forums, I lose count of how many messages I've posted asking the OP to clarify if it's a WinForms, or WPF question, and asking for other basic vital information necessary to even begin to respond to a question.
Similarly, many of the most frequent QA responders, far more active than this blade-of-grass, ask many of the same basic questions in comments. We beg the OP to tag, give us a clue to what they are doing, repeatedly.
And, very often these requests for clarification are ignored. And then, answers are posted, and then the OP finally reveals something about the question they asked that means the answers posted (to date) are not relevant.
I call this all: a waste of valuable time, aka "static."
Is there a way to reduce this "static" while not discouraging posters, newcomers, etc. ?
I believe there is, and it's a strategy we are already "socialized to" in terms of on-line behavior:
1. when entering a new QA question: a simple web-form appears with some required fields (indicated as required in the usual manner by asterisks or whatever). And without checking, entering, selecting, or whatever, the required fields, the question will not be accepted for posting.
2. these 'required fields' can be very sparse:
a. a list of CheckBoxes for languages: C#, JavaScript, Delphi, F#, C++, etc.: at least one must be checked. Or you can have an "other" CheckBox, that, if checked, shows a Textbox where you can enter a small number of characters.
b. a list of RadioButtons (?) for 'FrameWorks:' WinForms, ASP.NET, Mono, WRT, Metro, Delphi, WPF, SilverLight, etc. Only one can be checked ? Or use CheckBoxes, and allow a bunch to be checked ?
I leave it up to your imagination what other optional fields might be available on this web-form. I have several ideas, but would rather hear yours.
In my humble opinion, this very simple requirement which will, of course, be used to generate tags for the question displayed in QA:
Will not impose a burden on any but the most lazy, confused, or cdz-plz and homework-urgentz posters.
It will also contribute to QA responders being able to more efficiently to address the questions asked, and help eliminate the redundant asking for information about context by responders that now prevails.
Please note that: I am not proposing that questioners cannot add their own tags, and/or edit tags in the posted questions.
Whether something like this could have any possible "discouraging" effect on spammers: I don't have a clue.
best, Bill
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
|
|
|
|
|
Old threads related to this
Restrict Enquirers to post Answers[^]
Complete question[^]
We may show 2 tabs there like Simple View(Default) & Advanced View. Simple View will show the current one & Advanced View will show the above suggested things.
IMO we must hide the Add your solution here textbox from enquirers so they'll automatically use comments link below the solutions.
|
|
|
|
|
The "ask a question" page already enforces minimum title and content requirements as well as requiring a tag (eg C#, ASP.NET).
Our tag chooser has a mode whereby it displays a list of languages, platforms and frameworks, but that list was getting out of control so we opted for a simple plain-text auto-complete box. We also can't enforce a language or framework because what if the question is generic (eg an algorithm)?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: what if the question is generic (eg an algorithm)? Hi Chris,
Okay, user checks "Other" ... or "All" for Language ... no further entry required
Okay, another row of CheckBoxes: appears if user checks Other/All for language:
"Algorithm" "DataBase" "Threading" "Extensions" "Remoting" "XML" "JSON" "WCF," "Serialization"
I offer these suggestions, I hope, constructively, but my honest opinion is that QA, as is, is far less than it could be, and is accumulating a vast clutter of rare good questions, and great answers, submerged in a tsunami of homework, cdz plz, and absurd questions, and OT answers.
A small requirement of those who ask questions will, I believe, generate more respect for QA because, in my experience, people generally do not respect what they get with no effort, or for "free." And, imho, this is demonstrated every day in QA by numerous posters who never bother to even respond to well-thought out questions in comments that could focus their question.
Ideally, I'd like to see very high-technical rep members (that rep not including Lounge rep points) be able to put a hold on any answers being given to a question until the OP answers a question in a comment that is vital to grasping what the question even ... is. But, I doubt you'd go for that
There's also the reward idea that: if a poster has a certain rep on QA, they can post on QA without filling out the initial form, but my hope would be that would be based only on reputation points not earned on the Lounge; i.e., posts that are direct technical contributions.
Perhaps you are wondering if I have something "against" Lounge rep-points: well, let's just say that for me to have received 72 points for a one-line satiric response to a post from DD on the Lounge, but one point for a carefully thought-out comment to try and help a QA OP clarify their question, seems about as logical as the success of Lady Gaga
best, Bill
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
|
|
|
|
|
BillWoodruff wrote: Ideally, I'd like to see very high-technical rep members (that rep not including Lounge rep points) be able to put a hold on any answers being given to a question until the OP answers a question in a comment that is vital to grasping what the question even ... is.
I have already put in place a reporting system that allows many, many members to simply report questions poorly phrased as just that. If more people vote to close questions that show zero effort then we'd have these questions gone, and you'd end up with more of the correct form of example for others to post by.
Putting a hold doesn't really help because while one person puts a hold, another may actually understand the question and can then provide an answer (I've seen this many times). I, personally, would rather see questions that are phrased with no consideration for others' time and effort simply be removed. If you don't care enough to make an effort to phrase your problem intelligently then don't expect an intelligent answer. In fact, don't expect an answer at all.
On the topic of Lounge rep points (Debator points) these do not come into considering when giving people the power to close questions. I have very deliberately created a points system that awards members based on what they do, and provides extra powers on that same basis. The FAQ[^] explains the different types of points for each activity.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
One of the issues, which I raised once before, is that the edit screen for a new question is the first thing the user sees when clicking "Ask a Question". Perhaps it would be better if the first thing the poster saw was the list of rules, and then had to scroll down to actually enter the question.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Chris Maunder wrote: I have already put in place a reporting system that allows many, many members to simply report questions poorly phrased as just that. If more people vote to close questions that show zero effort then we'd have these questions gone, and you'd end up with more of the correct form of example for others to post by. Hi Chris, yes, I am aware I can red-flag questions, but here, in my way of thinking is the "Catch-22" there:
1. Many people, including me, are willing to work with people for whom, obviously, English is not their native language, and whose questions are obscure, confused, because of lack of language mastery. Having spent going on now 13 years of my adult life living in countries where English was not the mother-tongue, and having known what it's like to teach English to non-native speakers, I think I have a lot of patience in this area.
2. Posting, in simple language, in a comment, detailed questions designed to help the author of the "obscure" question clarify the question:
... for example see my comment here:[^]
... even being willing to have a dialog, via comments, until the question is clarified is, I think, a good thing, for those of us who are willing to do this. Just as valuable, if not more valuable, than the countless minor edits that are being done of the questions (which are, of course, valuable, also).
But, that does not deal with the issue of getting just the basic tags you need to focus the question ... into the question: when it's first posted.
I believe even the most limited speakers of English, when they post a question know whether they are using C# WinForms, or WPF, SilverLight, or ASP.NET; they know if their question is about something do with databases, or something to do with UserControls, or AJAX, or JavaScript.
My proposal focuses on what can be asked of the questioner in a simple way that's non intrusive, that does not penalize them for lack of English language skills: a way that you already use in many other places in the web, when you fill out forms with required and optional fields.
I am very reluctant to ever 'red flag' a post, and I suspect that the CP norm is very infrequent red-flagging.
Of course you are very right: the issue of putting a hold on a question is "sticky."
Requiring the questioner to spend thirty seconds of their time to select appropriate tags, in my opinion, makes that undesirable option irrelevant.
My apologies for having incorrectly implied a generalization between Lounge-earned points, and certain "powers" based on points earned non-Lounge.
best, Bill
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill
modified 28-Nov-11 6:20am.
|
|
|
|
|
I notice most of these "questions" (In quotes, since many aren't) have less than 100 characters. I almost wonder if entry length needs to play a role.
I know, I know... people will just add "plase plese plase please please answer soon i n33d the codes now thank you in avance god bless you all".
I guess I just share your frustration. I take time I could be spending on paying clients' work to answer questions because I want to give something back. Many posters don't get that.
|
|
|
|
|
Today I noticed, I received Email Notification of my own comments posted on Code Project in Question-Answer section. Is this an additional feature or Bug, I am not sure.
Just wanted to inform about this to Code Project.
|
|
|
|
|
I was about the mention the same thing!
I posted a reply to a reply to my answer to a question, and received an email to tell me.
Every time I press one of these all black switches, which are labelled in black on a black background, a small black light lights up black to let me know I've done it...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|