|
The inline coloring seems useless much of the time. One of the editors did that to one of my articles and I felt it reduced the quality of the article. I could have changed it, but of course that becomes more difficult once an editor gets his/her grubby hands all over it. It can be useful to color code (or, say, italisize) code when it is needed, such as when emphasis is desired or when the term is ambiguous. But that doesn't always apply. For example, it is common practice to uppercase SQL terms when writing SQL code, and that's a practice I carry over to articles. Emphasizing that additionally by adding color is just too distracting, unnecessary, and purposeless. Especially if the article is already broken into small chunks of text with lots of PRE blocks (with so much emphasis, where's a reader to focus?).
|
|
|
|
|
I don't mind a single distinct color for highlighting .NET class names, C# keywords, or identifiers that should be taken literally and not be confused with the regular English words. So a teacher can explain about class and Form and bool initialized in class.
Unfortunately I had to add a lang="text" twice to get the above CODE snippets all in a single color, otherwise it would have looked like this:
I don't mind a single distinct color for highlighting class names, keywords, or identifiers that should be taken literally and not be confused with the regular English words. So a teacher can explain about class and Form and bool initialized in class.
|
|
|
|
|
Agreed. The former is much nicer looking.
3x12=36
2x12=24
1x12=12
0x12=18
|
|
|
|
|
I understand. I went back and forth a couple times writing the article. In the end, I remembered something I learned about typesetting from the perspective of an editor: four fonts and two colors is enough. (Fonts here includes weight, point size, and italics -- extremely minimalist.) Any deviation should have a compelling justification.
The reasoning is that the article should allow the reader to focus on the content, put them in the zone. Any deviation at all (including the four fonts and two colors) draws attention at the expense of pulling the reader out of the zone. (Note this doesn't preclude more, it's just that when you see more you should consider it the editorial equivalent of a code-smell.)
I'm not saying that this opinion is right, but I've never heard a compelling contending argument. Hey, newspapers and magazines were successful for hundreds of years -- they must have learned some useful lessons.
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
My feeling is that the "two colours" rule doesn't always hold, especially for technical content that needs to be visually broken (eg comments and code).
In any case, colourisation for CODE blocks has been removed and I'm hoping to do a final test and upload today.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Your colourizer is stumbling over arrays.
Private Sub InteropIsothermControl_Paint(ByVal sender As Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles Me.Paint
Dim IsothermColors As Double(,)
If Me.DesignMode Then
IsothermColors = New Double(,) {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}}
Else
IsothermColors = IsothermDataProvider.GetIsothermTemperatures()
End If
Check out the spans on the zeros. Only the last in each row is properly colourized.
Without darkness, there are no dreams.
-Karla Kuban
|
|
|
|
|
Added to the bug list.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
This[^] user posts answers in Q&A point only to his blog with contributing nothing else and he also tries to lure people in the Lounge into this!
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Thanks
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Most weeks I respond to the Code project news letter by clicking the link for the survey.
I can vote but the vote would be ignored because I am not logged in and I can not log in from that page.
|
|
|
|
|
Can we get a sort options implementation so we can list articles/blogs/tips sorted by :
Date Voted
Date Bookmarked
Date Posted
Date Modified
Score
Number of Views
Number of Bookmarks
Popularity
Number of Downloads
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
yeah, basically sortable by any piece of information provided. As if it were a DataGridView.
|
|
|
|
|
Tips/Tricks are no longer showing scores.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
A small but vocal group calling themselves the Downvoted and Downtrodden Tips and Tricks threatened a class action saying that but publicising their voting status and encouraging members to choose Tips with a higher score we were, in fact, discriminating against a minority group which was no only illegal and immoral but also unconstitutional.
Things escalated from email campaigns, posters taped to local fire hydrants, and finally escalated out of control with a Facebook group and, the final straw, tweets about the issue.
I had no choice. I caved.
(and I'll add it to the biug list)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Don't you just hate political action groups?
You know if you need to squash an uprising, all you gotta do is ask me (you've already cited the appropriate forum message)...
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
0) When you go to your My Articles page, click the Tips tab, click one of your tips, and then click the Back button in your browser, you are taken back to your "Articles" tab. This is highly annoying.
1) Let's say that when you go to your Tips tab, and scroll down to a tip, click the tip, and then click the browser's Back button, you are taken back to your Article tab, but the page seems to remember how far you scrolled your Tip tab to find the tip you wanted to click on (despite showing your Article tab.
Since I'm one of the few people on the site with enough Tips posted to find this problem, you'll probably have to go to my My Articles page to see these bugs in action.
JSOP's Articles Page[^]
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
In fact I noticed both phenomena early on, but since you would be the main victim here, I left you the privilege to report them.
BTW: A similar tab-control-returns-to-tabpage-zero phenomenon occurs on the home page, when looking at the latest blogs or tips, or the ones needing approval.
|
|
|
|
|
A bug that only annoys JSOP. I think I can hear Chris laughing from here.
|
|
|
|
|
|
You are wise beyond your years, young Jedi...
However, if you were REALLY worried, I would have a LOT more reputation points than I do right now, wouldn't I.
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
Weird, where'd that sudden spike of 100,000 reputation points on your profile come from? Maybe I should report that as a *bang*
|
|
|
|
|
CP Admin,
Auto-hyperlink on Paste does not work with Google Chrome. My browser details:
Google Inc.
Copyright © 2006-2010 Google Inc. All Rights Reserved.
Google Chrome 6.0.472.63 (Official Build 59945)
WebKit 534.3
V8 2.2.24.24
User Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.63 Safari/534.3
Rest of the features I feel are fine.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
No, it doesn't.
Working with Paste handlers in Webkit has been problematic. However, I'll have another crack at it and see if anything has changed since I last attempted it.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I'm very new to this forum/community. I'm really impressed with this forum. I have a suggestion to make.
In the Discussion Forums under "Question & Answer -> Programming Discussion". The question and the relative replies are listed.
Each replies should be displayed in alternating grid background should be really helpful. Because, when we view this discussion forum in a High resolution laptop monitors we are unable to see when is the post was posted and/ replied. Often, the date was mistaken either with the question post or with the next question/reply's date, due to the fact the question and the timestamp information are separated with long distance ends(question is at left most corner. The Time stamp information is at right most corner). It would be really helpful to have alternating grid background and/or while hovering on a question or a reply the row of the grid should get highlighted.
I know this forum has many far more important features/tasks in queue. But, I felt this would be really helpful. Let me know if you want some more details.
|
|
|
|
|
IMO the author's name, the post time, the revision information, in fact all the metadata (amounting to 2 lines) that now sits under the Question/Answer/Tip/Alternate should be above the actual content, just as it is in forum messages and articles; that would make reading them easier. One shouldn't have to scroll down to go look for the metadata. The current rating also belongs on top (it is), whereas the voting tool itself belongs at the bottom (one only needs it after having read all of it).
When laid out like that, there would be no need for alternating background colors.
|
|
|
|
|