|
Maybe show a bar (or pie) chart for each article, showing the number of people for a given rep value that voted. So if you get someone votes your article as useful results in you getting 80 points (assuming "useful" means 5.0), and two vote that get you 48 points, the graph would be (and I don't know all the possible points values). Bar values (or pie slices) would represent a percentage of people that voted with a certain point value.
=
= =
-------------------------
1 8 16 24 32 48 80
This chart idea could also be carried over to the list of articles presented on the CP home page, and in the user's list of articles (and tips).
(I don't know if you've noticed or not, but the PRE tag handling is completely hosed up.)
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
You had "Use markdown" checked, so the markdown processor was getting confused about what's markup and what's not. I've unchecked that box for your post.
I just can't see how the pie chart would provide meaningful information. Statistically you'll mostly get low rep voters.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: Statistically you'll mostly get low rep voters.
Just an idea. You could also factor in bookmarks, views, downloads, etc.
I have no ideas regarding how these would factor in, but you have the metrics, so maybe you could run a few hundred test cases against whatever algorithm(s) you might devise. It would/should be a simple matter to convert existing article votes to the new system as well.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
As instructed, I dragged a file onto my article to provide a "Download source" link, and the link looks correct in that it ends with my code file, but it gives a 404 when clicking it. How do I give my readers my source?
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
—Aleister Crowley
|
|
|
|
|
When they browse the code, they can click on the ZIP file in the source tree.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
When they browse what code? They can't download it, and I see nothing looking like a source tree anywhere close to my article.
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
—Aleister Crowley
|
|
|
|
|
Which article?
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
Ooops. It is "A Folder Browser using the Bootstrap Treeview – Part 1", thanks.
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
—Aleister Crowley
|
|
|
|
|
hi, i cannot download the following code. File not found.
https://www.codeproject.com/Articles/1208668/From-MVC-to-Razor-Pages
|
|
|
|
|
I've emailed the author to get another copy up there.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
It is not only the download. The comment section on the bottom is also missing (there is just the header).
|
|
|
|
|
The forum has been fixed.
cheers
Chris Maunder
|
|
|
|
|
That was fast
|
|
|
|
|
|
Yeah, thanks for that, Avast.
(the page is fine)
cheers
Chris Maunder
|
|
|
|
|
It's probably picking up the sample script from the question, where the user was trying to write malware.
Even though that script isn't executable.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
probably.
I had classified as malware attempt just by looking at the tittle.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
I would have expected something along the lines of code submission with article submission but caught unawares, I now have an article with no source code.
"'Do what thou wilt...' is to bid Stars to shine, Vines to bear grapes, Water to seek its level; man is the only being in Nature that has striven to set himself at odds with himself."
—Aleister Crowley
|
|
|
|
|
Pack your code into a zip file (or two)...
Upload it just like you upload images...
Use the ' Add selected zip files to article' button, together with the checkbox next to your file to insert into your article a link to the code (probably at the top)...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
|
I'd like to be able to override the styles of various elements in my articles without having to do it in each one individually, via a <style>...</style> block. I really don't care for the way CP styles them.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
Sorry mate but a basic principle of CodeProject is we work hard to try and keep the styles across articles consistent. If we made it easy for authors to change styles then we'd have situations like this[^] and this[^]
Further, we need the flexibility to change the design occasionally and so we prefer that there actually be no styling (or the bare minimum) applied in to allow layout changes (eg responsive design).
If there are specific things you wish to have changed then let me know. Previously we've wrapped new elements into the overall design so everyone gets them.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: If we made it easy for authors to change styles then we'd have situations like this[^] and this[^]
LOL. Surely those two examples cannot be intentional?
|
|
|
|
|
These are the modifications I wanted to make:
<style>
body, p, h1, h2, h3, h4, h5, h6, li, tr, td, th, dd, dt {font-size: 14px;}
h1, h2, h3, h4, h5, h6 {color: #f90;}
h1 {font-size: 200%;font-weight: 600;}
h2 {font-size: 180%;font-weight: 400;}
h3 {font-size: 160%;font-weight: 400;}
h4 {font-size: 140%;font-weight: 200;}
h5 {font-size: 120%;font-weight: 200;}
h6 {font-size: 100%;font-weight: 200;}
img {border: 1px solid black;max-width: 640px;}
a {font-weight: 600;}
span.this_article {color: #f90;font-style: italic;font-weight: 600;}
</style>
My reasoning - it would be more appropriate to set the pixel height of the font in the first style element (or the body element), and in subsequent elements (for header text), set the height as a percentage of that height. It worked out really well when I was writing my articles.
I also wanted all of the headers to be the same color.
I like a 1-pixel border around my images.
If you go back and look at my recent SQLXAgent article, you'll see the intended results of the this_article class. I think the use of the Segoi font face kinda washes out the hyper links color, especially since you have underscore decoration turned off for links.
Mind you, these are just opinions, and like I said, I understand why you don't allow us to add styles like I showed above.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
modified 3-Oct-17 8:40am.
|
|
|
|
|
Relative font sizing isn't a tweak - it's something we just need to do.
Font-weights will probably get a tweak in the near future. Segoe UI lightweight is kinda 2013.. However, I'm not at all keen on making links different font-weight.
this_Article: The whole linked-article thing needs proper infrastructure (similar to multi-page articles we discussed)
Image borders? Lots of images are best left unbordered. If you want borders then add the border class to the image tag.
cheers
Chris Maunder
|
|
|
|