|
That tag doesn't appear to work.
I just submitted an article that contained some sql code, I put <pre lang=sql> in front of the sql code and closed it properly, it shows preformatted ok, but the syntax highlighting appears to be c++.
The article is here:
http://www.codeproject.com/useritems/Breaker.asp[^]
|
|
|
|
|
You wrapped you PRE tags with CODE tags. PRE is for blocks, CODE is for inline text such as variable names. Also note that the SQL syntax colorizer doesn't include some keywords and is case sensitive. We've got a new one but we're still building infrastructure in order to move it into place.
cheers,
Chris Maunder
|
|
|
|
|
Ahh! I understand now. I thought pre was just to preserve formatting and code was required to indicate it was code for the colorization process to take place.
The info in the section entitled "Syntax Colorisation" here:
http://www.codeproject.com/info/submit.asp#Update[^]
Doesn't actually explain that as well as you just did.
Cheers and thanks for updating that!
"In our civilization, and under our republican form of government, intelligence is so highly honored that it is rewarded by exemption from the cares of office."
- Ambrose Bierce
|
|
|
|
|
just a note, this may have been fixed in the more recent version that isn't in place yet, but I noticed the current sql colorizer doesn't seem to recognize multiline comment style like this:
/*
comment
more comments
*/
"In our civilization, and under our republican form of government, intelligence is so highly honored that it is rewarded by exemption from the cares of office."
- Ambrose Bierce
|
|
|
|
|
I think that You should open new section of Code Project.
.NET 2.0 section.
Tancev
|
|
|
|
|
And that will be a beta section ? .
|
|
|
|
|
If it were at the bottom of the pages, it would be less annoying - i could still read the page while waiting for a response from the realmedia server.
Medication for us all
You think you know me, well you're wrong
|
|
|
|
|
Shog9 wrote:
Insight SE include
|
|
|
|
|
View source, look right up at the top. Had me scouring my system for spyware this morning...
Medication for us all
You think you know me, well you're wrong
|
|
|
|
|
We've forked out the money to get audited so we have accurate and unbiased figures on how many people are viewing the site per month. The include is meant to have almost zero impact on load time. Can you please do a tracert to the realmedia server and send it to me? I'll yell loudly for you if there's a problem.
cheers,
Chris Maunder
|
|
|
|
|
The only times i see problems are when i'm connected through VPN... unfortunately, tracert doesn't do anything useful in that scenario, as i'm using a proxy. For the time being, i'm just grounding the server name in my hosts file on my work machine. It hasn't caused significant delays on my home machine, so i'll leave that be.
Medication for us all
You think you know me, well you're wrong
|
|
|
|
|
Hi,
I would like to suggest a few things in order to improve the article rating system:
1.)
Is it possible to add a download counter to codeproject? When writing articles this could give a better indication for the popularity than the popularity as it is at the moment or the number of hits.
As the author i would like to know how many people actually downloaded the archives in order to estimate if it is worth to put more work on it. Also if you include the number of downloads you will get a better estimate for the overall popularity of an article.
2.)
Why not include the number of forum entries into the popularity. After all if people ask about a project they are interested in it.
3.)
Members should be allowed to change their vote after an article has been updated. Sometimes I find articles which I rated badly but the article changed since and the original vote does no longer reflect my opinion.
Regards,
Ingo
|
|
|
|
|
1. That's something that I definitely want to do
2. I'm not sure this is a good reflection of popularity. Take a look at Bill Sergio's article boards
3. Yep - this will be done too
cheers,
Chris Maunder
|
|
|
|
|
Chris Maunder wrote:
Bill Sergio's
Is that the Nazi sex tape guy?
/\ |_ E X E GG
|
|
|
|
|
Hey Chris...
[^]...the original post was rather long, so I tried to modify it and put in a link to the article...but, even though the text box only showed down just the '***' line, the post still shows the addition text that was deleted
Steve
|
|
|
|
|
Hmm - looks like you've found a bug.
argh. Thanks Steve.
cheers,
Chris Maunder
|
|
|
|
|
I originally just posted a link to a page that had the text of the article I was making reference to...but the page also had adult humor, so I modified the original message text replacing the link with just the text of the article...later, I found other links that only contained the article and tried to modify the post again trying to replace the (long) text with one of the newly discovered link (in consideration of those who still have to deal with dialup). That is when the "oops" showed up...
Steve
|
|
|
|
|
We need to have a few other discussion boards.
1. Assembly Discussion Board
2. Reverse Engineering Discussion Board
3. Debugging Discussion Board
4. C Programming Discussion Board
5. Driver Discussion Board
6. OpenGL/D3D/DDraw/Graphics Discussion Board
7. Mathematics/Algorithms Discussion Board
8. Security Discussion Board
9. AI/Nueral Nets Discussion Board
10. OS Development Dicussion Board
At a minimal we need #1.
|
|
|
|
|
Ok... first thing... the one-point vote is not mine.
Reverse Engineering is generally a bad idea. Did you ever read software licences (EULA)?
Most companies don't allow reverse engineering their software. This is an official site, and so I think that "illegal" discussions will just make trouble.
C Programming board doesn't many any sense either, because we have a VC++ forum for both c and c++.
A driver discussion board is a nice idea, but the problem will be that there are not many driver programmers, so the forum will be as recently visited as the managed c++ board .
OS development board? Why should we need such a thing? It's a microsoft site, so why supporting OS development?
Maths board is a good idea, I also proposed it some month ago. Chris read it, said that it's a nice idea, but nothing happend so far .
Debugging board is also a nice idea, but all your other boards won't have many visitors.
Regards,
Alex
Don't try it, just do it!
|
|
|
|
|
So, I guess I shouldn't post articles on how to use PSP for free?
Don't compare driver developers to managed C++
So I can't bring all my buddies here?
|
|
|
|
|
Hehe, I'd never compare driver developers to managed C++ (I'm a driver developer myself).
Don't try it, just do it!
|
|
|
|
|
Reverse engineering IS legal in most countries, patent stealing is not.
|
|
|
|
|
One thing to keep in mind -- Reverse Engineering is legal if it's for the purpose of maintaining compatibility. This is very typical when getting code to work on one system to another or implementing a product feature. I do this at my job, I know people who have worked at other places (such as star dock) who have done the same for the same reason.
|
|
|
|
|
General Discussions is a redundant forum.
Maybe the following forums should be added as a replacement for "General Discussions":
Application Software Discussion - talking about application software only
Software Under Development - talking about software you're writing, but not talking about the coding part.
Hardware Discussion - duh...
And while I'm on the subject:
I still think that CP should adopt a better message board setup. I think something like PHP-BBS would be better than what we have now. It takes FOREVER to scrollback through posts if you simply want to monitor a thread in the current system.
And how about an honest-to-god IRC channel for live chat? I say "honest-to-god" because I prefer to use a real IRC client instead of web-based solutions because a real client app is *faster* than anything you could do through the browser. For people that insist on using the browser, you could still setup a feed from an IRC chat room.
------- sig starts
"I've heard some drivers saying, 'We're going too fast here...'. If you're not here to race, go the hell home - don't come here and grumble about going too fast. Why don't you tie a kerosene rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
|
|
|
|
|
I agree with having a code project IRC channel and a better message board. Of course there is always existing channels
#asm
#win32asm
#winprog
#gamedev
#coders
|
|
|
|