|
There is a way to display long code blocks in an article shrinked, initially?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
We don't allow manual adjustment of how code is displayed (apart from line numbers) in order to have a consistent experience.
cheers
Chris Maunder
|
|
|
|
|
I think you didn't got me...
Above each code block there is a menu with 'expand', 'shrink', 'hide' and more...
As I have a long code block I would like to display that code block like after clicking 'shrink' from the beginning...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
I got you. What I meant is: "No, we don't offer that". The reason being is that if we were to offer that option we wouldn't make it an option: we would do it for all code blocks over a certain length.
At this point I'd rather have the code blocks exposed fully. If you feel your codeblock is too long, then maybe not all of the code block needs to be posted. Or maybe it does. Up to you.
cheers
Chris Maunder
|
|
|
|
|
When updating an article, is it eventually upvoted?
|
|
|
|
|
It's completely unrelated. It may be upvoted without updating it and it may not be upvoted albeit updating it. Updating an article leads to the article being listed under "Latest Articles" on the homepage again though, so it will probably get some more views, increasing the chances of any vote.
If the brain were so simple we could understand it, we would be so simple we couldn't. — Lyall Watson
|
|
|
|
|
|
You're new here so I'd like to take an opportunity to tell you a little bit about the CodeProject (as well as answer your question).
First of all, welcome! It is always great to have new authors join us. There are a lot of things we do at CodeProject, but our primary goal is to foster learning and teaching for developers. I can tell from your first article you're going to be a great asset.
Yes we have reputation and article ratings, and yes those are valuable and have their uses, but I can tell you many of the CodeProject greats weren't dedicated to either of those things -- they were dedicated to the community and the bettering of themselves and others. That they happened to achieve legendary article ratings and reputation along the way was almost a side effect. I would encourage all authors and members to keep this in mind.
If you update your article you will give it a boost in visibility and that, in turn, may garner you an upvote if a member likes your article. Please note, however, article updates are meant to be large changes to your article that you are informing readers about. Ideally those changes are documented in the History section of the article, so that the reader can go to the article and see something new.
In regard to upvotes, the reality is we are an online community and member behaviour is difficult to govern and predict. One day, a long time, high reputation CodeProject author might vote one of your articles with a 3, a 2, or even a 1. While this might be temporarily discouraging, we would ask you don't report such activity unless you catch a string of them (like a consistent, malicious downvoter). Members are entitled to their votes and opinions. They may even discuss their thoughts with on your article forums. We hope those discussions are passionate and civil.
I sense you are very curious about CodeProject. Please feel free to email me any time with your questions: sean@codeproject.com. This may actually be better as I can address a series of questions all in a single email (and potentially, faster too).
I am always here to help.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Congratulations Sean - you just got sent to moderation!
(Might be an idea if the detector always approved staff posts?)
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
Thanks for approving
That's a good idea, though this might be a rare case. You never know, one day my affections for Love Potion #9, movies, and baba (actually I don't know what this is) might need to be stopped.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Do you mean to have a bullet of cryptonite in the safe?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Even Superman gave Batman a kyrptonite glove Just in case ...
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Thanks a lot for your feedback. The subject I've created is closed.
|
|
|
|
|
And the last question: I'm just began to modify my article today, but I want also keep the previous version and paste the link to the new revised article. Is that actually worthy to do??
modified 18-Jun-15 10:58am.
|
|
|
|
|
If people really want to look at outdated versions of the article they can look at your revisions. It is best to keep your most current article revision live.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
And one more question if I can modify my article several times and every time submit it for the codeproject.com moderators approval??
modified 18-Jun-15 10:58am.
|
|
|
|
|
I've moved all your posts to this Article Writing forum as these are related specifically to Articles, not site bugs or suggestions.
Until you reach a certain author reputation, yes, every article update goes through moderator approval.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
Hi. I've got one more question why my article was never added to the codeproject.com daily newsletter??
modified 18-Jun-15 10:57am.
|
|
|
|
|
That's ... unusual. I wonder if your publish time was in a particular sweet spot that caused it to skip the newsletter.
In any case, I'll mark your next update as updated so it will show up in the next newsletter.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
|
Hi. Today 06-18-2015 my article was upvoted 2 times, but it happened to be actually downvoted. When I've noticed that my article was recently downvoted I first looked into this and seen that it was upvoted instead. I gained the first time 40 reputation points and 10 for the second voting, but the score the article was inspite lowered. So, I'm interested, what's happened with my article score, is that something wrong with the system or moderators, under some reason, purpously removed the up votes??
Now, I'm making changes to my article and about to publish the new revised version. Possibly, is that the reason for the article score is reduced ??
Waiting for your reply.
Thanks a lot. Arthur.
modified 18-Jun-15 10:57am.
|
|
|
|
|
I believe this formula was modified slightly recently for very specific scenarios, but here is how we calculate rating:
Code Project Rating and Reputation FAQ[^]
So a member with a high reputation voting 4 is weighted more than a member with a low reputation voting 5, which could be why you see scores go down sometimes.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
But my article was NOT downvoted for the last time. There was only 1 vote of 4 a few days ago. So what's actually the reason for downvoting the article??
P.S. A minute age I tried to post this message, but it ended with an error as follows:
Items that need attention:
•Message is missing or has inconsistent data
Isn't that a similar reason ??
|
|
|
|