|
The Adserve bug is back and this time it also affects the top banner. (seems to be completely random tho)
|
|
|
|
|
I'm getting those all over the site
|
|
|
|
|
Thanks Tom. I'm staring at it in a hopeful manner right now.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: 'm staring at it in a hopeful manner right now.
Well as long as its still in a hopeful manner there is still hope
|
|
|
|
|
Tom Deketelaere wrote: Well as long as its still in a hopeful manner there is still hope
Perhaps soon there will be a change we can believe in.
Jon
'When once a republic is corrupted, there is no possibility of remedying any of the growing evils but by removing the corruption and restoring its lost principles; every other correction is either useless or a new evil.' ~ Montesquieu
Soap Box 1.0: the first, the original, reborn troll-less
|
|
|
|
|
|
The following Featured Article are not showing...
SQL Server –Active Directory Interaction
by ThomasMiller
Descripe the SQL Server 2000/2005 interaction with Active Directory on Windows 2000 or 2003 server
Thanks
Md. Marufuzzaman
Don't forget to click [Vote] / [Good Answer] on the post(s) that helped you.
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Odd one. I've made a note and will chase this one up.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
It just shows 3 latest posts/questions in the first page. Rest of the pages seem fine. (checked in Chrome, FF 3.0.11, IE 8 and Ctrl + F5 didn't helped either)
It's not necessary to be so stupid, either, but people manage it. - Christian Graus, 2009 AD
|
|
|
|
|
|
Fixed
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Browsing the CP Who's Who, ordered by Article count, the first page took a long time (ca 15 seconds) to show up, then yielded 25 people, starting with Marc Clifton (135 articles), and ending on razesh.kolla@gmail.com (0 articles). In fact the last three showed 0 articles, so that would imply a total of less than 2000 articles.
The second page starts with Uwe Keim (38 articles) and ends with Red Gate Software (1 article).
Page 3 starts with Roger Allen (26 articles), etc.
Something definitely is wrong, nothing serious, but wrong it is.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
This is partly a load issue (the time) and partly a bug (the article counts).
It's actually good timing because we've been discussing the specific manner in which we count articles for members and have been looking to denormalise our tables a little in order to help with performance in the case of sorting by article count. The debate was whether or not there is currently an issue with sorting by article count. We never saw it ourselves, but clearly it's an issue. Discussion ended.
As to the counts themselves, this is easily fixed.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks.
Not sure I understand all this, according to the home page there's some 26K articles.
If they were all in one table, I would expect grouping and sorting that could be almost immediate. I guess having multiple authors (and maybe groups) complicates things a bit.
Anyway, I don't mind waiting a few seconds for this info, as I don't need it frequently; I do hope we always get correct data however.
FWIW: I would be very interested in reading a couple of articles on the CP database stuff itself, how things are organized: the infrastructure, maintainance, DB design, code structure, ... It is after all a big application we are familiar with as a user, and could learn from a lot.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
Counting articles is easy. Sorting 6.5 million members joined to a table 26,000 rows long takes time. You can always pre-aggregate the article table and then join these results with the member table and then sort on that, but that reduces the join from 6.5M on 26K to 6.5M on around 9K and so it doesn't save you much, and in fact means you have a massive temp table. So we'll add a new "ArticleCount' column to the user's table and ensure it stays in sync with reality. Kinda yuk, but the speed improvement will be massive because we can then put an index on that column.
As to the articles we've been tossing around a few ideas on exactly this - though possibly in podcast form where it's more of a thing where we sit down and you get to hear how we work through issues (and also get to hear about the bizarre and odd issues that you guys never see).
I like articles, but a podcast is something that can be created while we're actually working.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: "ArticleCount' column
I understand now, thanks. I hope you will use the new ArticleCount column only in situations where it doesn't really have to be real-time exact (as in listing users by article count); I would hope to see the real value when looking at my own page, say while I am in the process of adding/editing/removing articles and tips&tricks and what-have-you.
Chris Maunder wrote: podcast
looking forward to that.
Chris Maunder wrote: bizarre and odd issues that you guys never see
we sometimes do get our share of bizarre and odd results though.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
It will be an up-to-date value, always.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks Chris, and Elina.
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
|
|
|
|
|
When you post a message, the 'new' image doesn't appear (which is ), but the menu link for the forum which you just posted in is still bold, even though no-one elses posts are new.
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Checking each forum for whether or not *you* have a new message in there is too much load. Sorry
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
In this[^] post, the color formatting has a couple of issues, such as strings not closing properly and comments not in a different color.
Also, I had to change the < to < (and > ) manually for the links and the divs, even though they were within pre tags.
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
I agree that the syntax colorizer has problems (I've noted that problem in the past). However, the pre tag is a different story...
The pre tag is not supposed to escape inequality symbols. It preserves spaces and line breaks. To encode inequality symbols automatically, click the "Encode HTML tags when pasting" option below new messages.
There will be a line break after this sentence because pre does not escape inequality symbols.<br />See?
If I select the aformentioned option to encode HTML tags, copy the above pre tag in its entirety (i.e., including its content), then paste it and surround it with pre tags again, I get the following:
<pre lang="text">There will be a line break after this sentence because pre does not escape inequality symbols.<br />See?</pre>
Visual Studio is an excellent GUIIDE.
|
|
|
|
|
I believe you missed my point.
pre tags are used on this site to show code in messages. My point is that if you paste code directly into the pre tags (such as html) then the editor should automatically escape it, without the need to select "Do not interpret HTML tags (good for code snippets)". Like when a url is pasted into the editor it automatically adds the link etc.
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
I tend to agree with you, for several reasons:
1. it would be more comfortable when code can simply be copied in VS and pasted in CP without having to worry about some checkboxes hidden underneath the edit window;
2. it would reduce the number of unreadable messages, where people did it wrong and never notice; a lot of questions about generics are completely lost right now;
3. it would be more consistent with other editors and HTML viewers.
The official reply seems to be people want the ability to have some HTML formatting going on inside PRE blocks; as an example, <b> is often considered useful to highlight the line where something goes wrong.
Therefore my suggestion has been to get automatic escaping of whatever gets pasted inside PRE tags, leaving the possibility to apply internal HTML tags once everything got pasted in. As a refinement, the automatic escape logic could (optionally) skip a limited set of tags, such as <b>
Luc Pattyn
I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages
Local announcement (Antwerp region): Lange Wapper? Neen!
|
|
|
|
|
What if we simply used a WYSIWYG editor?
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|