|
Plagiarism is taken seriously and is not acceptable. We will review both the article and the Microsoft samples.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
The subject say it all! Though I would also like to know if it is possible to remove an article? If so how?
Jim Parsells
|
|
|
|
|
In the top green Nav bar under 'Articles' is an option "posting / Update guidelines"
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Today I cooked up some neat javascript code to provide a solution for a post in Q&A and I thought to myself that it would make decent material for a Tip/Trick.
I want to know if that would adhere to the code of conduct on CP. My doubt is, I already earned points for having my answer accepted and voted upon and posting it again as a Tip/Trick would look as if wanted to glean even more rep points from it. This concern is also keeping me from posting a link to said post as I don't wan't to take flak for illicit advertisement.
I'm looking forward to your advice.
Thanks!
|
|
|
|
|
That would be perfectly fine. Great idea!
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I wouldn't worry about it. The whole point about the tips and tricks is that they give a convenient place to find solutions. If you have a good tip then it's good to have a convenient place to get to it.
|
|
|
|
|
I have started on an article and I would appreciate a once over from someone who knows some Java. It is incomplete but I'd like to know if it will work as an article with more content or if I should cut and run and convert it to a simple tip/trick.
Is there a way to get some guidance without having to mark it complete only to get shot down in flames for posting an incomplete article...
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
|
|
|
|
|
Hi Big Bill,
I've done some Java over the years, and could have a look. What is the subject of your article? Is it focusing on an application domain I could relate to, or is it strictly language/tool oriented?
BTW: I hope it is way better than your subject line.
|
|
|
|
|
It looks at how to use Enum classes and some fancay tricks that you can do.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
|
|
|
|
|
I could like something fancy today. Where can I see it? Feel free to send me an e-mail if you must.
|
|
|
|
|
I've e-mailed it as I don't know how to make it vissible. It is marked editable by platinum members.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
|
|
|
|
|
I don't see it in your (empty) list of articles, so I have no idea how I could read it on the CP site. I did get your e-mail so I will look at it and report back in a few hours.
Cheers.
|
|
|
|
|
OK, the jury is out; here is the Belgian verdict:
1.
this definitely is article material. It is interesting to know, and it is bigger than a tip. It also not just solves a little problem, it is background knowledge that may or may not come in handy one day.
2.
I didn't like the title; I'd rather have something more descriptive and to the point. Some day soon, CP will have real search facilities and members will be able to search titles only for instance.
3.
I'd suggest to keep the order of the enum values constant, maybe regular season order would be great.
4.
I have been thinking about similar things in C# and it isn't really there. For one, in C# one can not inherit from enum. So the best I got working was a real class, something like:
public override void Test(int arg) {
String forcast = Season.WINTER.getForcast();
log(forcast);
log(Season.WINTER.ToString());
}
}
public class Season {
public static Season SUMMER=new Season("Summer", "Sun, sun, sun");
public static Season WINTER=new Season("Winter", "Snow and ice");
private string seasonName;
private string forcast;
private Season(String seasonName, String forcast)
{
this.seasonName = seasonName;
this.forcast = forcast;
Console.WriteLine("Creating " + this);
}
public string getForcast()
{
return this.forcast;
}
public override string ToString()
{
return seasonName + "{" + forcast + '}';
}
}
which is pretty obvious and actually completely unrelated to enums!
PIEBALD might be the right person to elaborate on possibilities and limitations of enums in C#, although I expect the subject is limited anyway, unlike the Java situation.
5.
Please go ahead!
|
|
|
|
|
Thanks a lot Luc. I'll carry on with my Opus as time allows.
Panic, Chaos, Destruction.
My work here is done.
or "Drink. Get drunk. Fall over." - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
|
|
|
|
|
You're welcome.
BTW: any first article (with a positive vote balance) gives you bronze authorship!
|
|
|
|
|
Nagy Vilmos wrote: editable by platinum members
Just figured it out. I'm barely gold in that department, that is why I can't see it. There's 40 platinum authors, from Sacha all the way down to Pete.
|
|
|
|
|
Hi, just a question, i created a small tip yestarday (3 lines of code), and it got pending status, and now i don't see it any more under my tips. I can see only one tip, but it should be two of them.
Is it possible that moderator found it useless? Well, the tip sure was small, it contained 3 lines of code which are used to find first date of week - but since it was different than those found on other places (using while) i thought it could be usefull to other people.
This is how tip looked like:
Private Function FirstDayOfWeek(ByVal dayInWeek As Date) As Date
' Calculate difference between specified date days of week and first day of week
Dim Days As Integer = dayInWeek.DayOfWeek - CurrentCulture.DateTimeFormat.FirstDayOfWeek
' Add day difference to number of days in week then devide sum with days in week, reminder is number of days we need to substract
Days = (7 + Days) Mod 7
' Substract difference of days from specified date
Return dayInWeek.AddDays(-Days)
End Function
It sure is small, but is it really useless?
|
|
|
|
|
I don't think it's useless, but the name is a little bit misleading. When I glanced at this here, I thought you were merely recreating the FirstDayOfWeek method, rather than one that identifies the first day of week based on a particular date. Repost it as a Tip/Trick with a slightly different name.
|
|
|
|
|
Thank you for your response, i see your point and i agree that title is a bit confusing.
I will post a new one with different name and with better description, even better i will steal your description of code (identifies the first day of week based on a particular date).
But i think that user should get some response like, your tip/trick was deleted and a reason for such action, since i did not understand what happened, i was not sure it got deleted, or was stuck somewhere or something like that.
|
|
|
|
|
Are you sure it's been deleted? Have a word on the suggestions forum, and see if anyone knows there.
|
|
|
|
|
Hi Enver,
1.
I can see your tip here[^], it is still awaiting approval.
2.
I'd change the title to something like: find first day of week containing given date.
3.
I think it is OK, however it is hardly original. I provided a similar technique as an alternative here[^].
|
|
|
|
|
Hi,
1. This is the new one i created, old one is really gone, lost in cyber universe
2. This was my second attempt of title, as soon as i find edit button on tip/trick i will change title again.
3. Yes indeed, our concepts seem to be the same.
Anyhow thanks for feedback.
|
|
|
|
|
you're welcome.
To edit a tip/trick title start by clicking the "improve tip/trick" widget. Then look for the first edit box, labeled "subject".
|
|
|
|
|
It instead shows No articles had been found for this author - Contributor but clicking on the Article/Tech Blogs link takes me to a page that lists it.
Also, no change is seen in my rep points after it being posted, voted and bookmarked.
This is my first article and it has been just four days since it was published on Oct 14th. Does time matter in any way?
|
|
|
|
|