|
I'm a champion in switching vowels even in my first language
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
This is how reporting works in the forums: A spam/abuse report triggers a downvote and increments the "abuse" points on that post. When it hits the threshold the message is removed.
cheers
Chris Maunder
|
|
|
|
|
It wasn't that way - in the Lounge at least... I got some abusive reports on this http://www.codeproject.com/Insider.aspx?msg=4891301#xx4891301xx[^] but no downvote...
(It not a problem for me, but may be a bug/change?)
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
It's part of a bug fix from a couple of days ago: Previously you couldn't mark messages as spam if the forum didn't allow downvoting. Marking a message as spam automatically adds a downvote (and hence was blocked). Fixed, and so the joy is now spreading.
cheers
Chris Maunder
|
|
|
|
|
|
Fixed.
cheers
Chris Maunder
|
|
|
|
|
|
Would you please make reply button on comment somewhat brighter?
I have seen too many comments which is getting no response because OP and some of the members are posting comment directly without using that button,hence no notification to intended recipient.
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|
|
the sample Console application given in the API Documentation doesn't work? It was returning a 504: "Unknown Host" response with the baseUri http://testapi.codeproject.com/ . So I tried changing it to http://api.codeproject.com/ . And now it's giving a 404 response with the following trace:
[HttpException]: The controller for path '/Token' was not found or does not implement IController.
at System.Web.Mvc.DefaultControllerFactory.GetControllerInstance(RequestContext requestContext, Type controllerType)
at System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName)
at System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory)
at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
--><!--
This error page might contain sensitive information because ASP.NET is configured to show verbose error messages using <customErrors mode="Off"/>. Consider using <customErrors mode="On"/> or <customErrors mode="RemoteOnly"/> in production environments
Also, an https:// doesn't seem to be helping. Any suggestions?
PS: Also on related note, are we planning on having a separate forum for the API specific questions/discussions?
Whether I think I can, or think I can't, I am always bloody right!
modified 18-Sep-14 5:15am.
|
|
|
|
|
The APIs have not been officially released yet - Matthew is still hunting down some annoying bugs.
cheers
Chris Maunder
|
|
|
|
|
Yeah, I had my Test version instead of the Production version in the sample. I've fixed it as well as preventing the dump of errors to non-local clients.
Also, the request MUST be made using HTTPS or they will 404.
I'll talk to Chris about setting up a forum.
|
|
|
|
|
Thank you, Sir!
Whether I think I can, or think I can't, I am always bloody right!
|
|
|
|
|
Has there been any consideration given to removing the rel=nofollow from a users biography on articles as a reward for giving to the community? This is even alluded to as strategy by Google at Use rel="nofollow" for specific links[^].
Quote: If you want to recognize and reward trustworthy contributors, you could decide to automatically or manually remove the nofollow attribute on links posted by members or users who have consistently made high-quality contributions over time.
I would expect this would be limited to certain conditions to prevent spamming, a couple of obvious ones to me would be:
- Specific articles where views >=50k and rating >=4
- All articles for a user where the user has a certain reputation say gold or platinum
My personal preference if this were to go ahead would be specific articles over a certain threshold this ensures that the reward is given to articles that haven proven to be useful to the community at large.
-David
|
|
|
|
|
Yep, my tender rep was wounded today, and it's showing up in my rep summary as a vote on a Lounge post: [^].
Find that hard to believe: looky-here: [^].
The down-vote is shown bracketed by two abuse reports.
interesting, and about as disturbing as a quiet fly.
cheers, Bill
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
|
Thanks, KEP, for pointing that out to me.
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
Note: the text of the OP's question is appended below, since I assume his post will disappear soon.
The question at: [^] was closed rather quickly by two CP members:
"Closed because This post is not a question, or has not been phrased in a way that allows a reasonable answer to be provided. Reported by Wes Aday, Rohan Leuva on Wednesday, September 17, 2014 8:13pm."
imho it's a valid QA question with quite a bit more detail, and quality, than most of the QA questions. The fact that SAK himselves edited the question suggests to me it has some value as a question, given his propensity to apply "the kiss of death" in QA liberally
So happens, I have a useful piece of code I developed a long time ago that I'd be happy to share with the OP.
Does a mere mortal, like myself, have the power to re-open the question ?
thanks, Bill
OP's question (as edited by SAK):
I have an application that needs to scan folders and if the folder is empty it should return the name of the folder.This how my folders are been structure
1. You have the Main Folder "Folder 1"
2. Inside the Main Folder "Folder 1" they is a Sub Folder - "Folder 2"
3. Inside Sub Folder "Folder 2" they is "Multiple Sub Folder" namely
a. "Folder 001"
b. "Folder 002"
c. "Folder 003"
4. inside each "Multiple Sub Folder" they are other Folders with the same name e.g
i. "Sub-Sub Folder 1"
ii. "Sub-Sub Folder 2"
iii. Sub-Sub Folder 3"
In the system i need to just select the Sub Folder - "Folder 2" and the system needs to scan "Multiple Sub Folders" and "Sub-Sub Folder 2" and if the "Sub-Sub Folder 2" is empty the it should return the name of the "Multiple Sub Folder" e.g "Folder 001","Folder 002"
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
modified 17-Sep-14 9:59am.
|
|
|
|
|
I have to agree with the closing of that question since it's not a question: it's a description of a task and not a specific question regarding an issue someone is "stuck" on. If the person had said "where can I get some help designing this" or "Is this approach sensible?" or best of all "I've got to [insert point] but this bit of code [insert snippet] doesn't work and so I'm unable to get to the next step. Help"
cheers
Chris Maunder
|
|
|
|
|
Hi Chris,
imho the title of the OP's post: "How to search a directory, folder and sub folder and return folder name" is the question.
If the question had not been snuffed so quickly, I would have asked the OP what code he had tried, and might have edited the question myself.
thanks, Bill
« I had therefore to remove knowledge, in order to make room for belief » Immanuel Kant
|
|
|
|
|
I have to agree with Bill here - there do seem to be a couple of over-zealous "this isn't a question" voters these days.
I'd say that's a genuine question, that he wants help with, and while not perfect the subject gives enough to at least start discussions to find out exactly what help the OP needs. But with his question closed, nobody can do that.
And as you say: "Let's work to help developers, not make them feel stupid." And having your question removed before it's answered isn't helping them.
Yes, we get "do my homework", yes we get a code dump without any clues (but even then, the sensible thing is to ask what the problem is), and yes there are questions which aren't. But some people don't seem to look at anything past the body and if they can't answer it immediately it's "Not a question" and it closes. Even if there is a discussion going on in the comments to establish what the problem is.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I am not sure about the approved ones, but when i commented one of the Article in moderation, i got 10 points stated Post a Programming Forum Answer. It should not be because
- I did not answer anything
- It can be used for rep farming e.g. Nice work, Useful, Thanks for sharing like comments.
Just a thought.
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|
|
I posted suggestion on a blog and got only 1 point...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
See this : Not an Article
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|
|
Should it be that the post you replied to was categorized as question, and your as an answer because of that?
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Its not available any more so i can't show you that post, but i am almost sure it was not a question. Even if that is the case then it needs to be changed i think.
"When you don't know what you're doing it's best to do it quickly"- SoMad
|
|
|
|