|
We cache messages, and unfortunately we still haven't had a chance to move to a central cache - we're still caching server by server.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I got this email yesterday :
Subj: CodeProject | Your latest changes have been approved
Hi John Simmons / outlaw programmer,
Congratulations!
The changes you have made to your alternative tip 'Could not find a part of the path while doing a File Copy'
(http://www.codeproject.com/Tips/142949/Could-not-find-a-part-of-the-path-while-doing-a-Fi) have been approved and your article is now
publicly available.
I think a recent change to CP hosed it up, and it looks like it is now an original tip instead of being the alternative tip that it actually is. Luk voted it as if it was its own tiup, and left a comment, but I can't find the comment anywhere on CP.
".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 ----- "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
|
|
|
|
|
Looks like your alternative tip was never associated with the original tip correctly. I've fixed this, but the original tip has been deleted which means that all alternatives are also deleted.
Doing this made sense in the old system, but I'll make a change so that even if the original article is nuked, the alternatives live on.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
But on its own, an alternative tip won't always make sense. I see two possible solutions:
0) Remove all alternatives when the original is deleted
1) When an original is "deleted", it becomes non-votable, non-editable, and the poster looses/gains points as appropriate. That way, the alternatives that remain have some context.
".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 ----- "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
|
|
|
|
|
It really depends on how authors write alternatives. If they write them as something that can stand on its own, then there's less of a problem.
When articles are deleted they are usually deleted because either they are spam, they are too poor to be displayed, or because the author really doesn't want it visible anymore. In all cases it doesn't make sense to still show the content. Kinda defeats the purpose of deleting something.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Having all kinds of articles (real and tiny ones) unified seems like a good idea. All isn't well yet though:
I couldn't find a way to add a message to an existing tip (this one[^]) under the new presentation, I was hoping to find a "Add new message" button/widget but didn't see one. I was however capable of voting and typing some text in the tiny box one then gets (why does it have to be such a hobgoblin box anyway?). And then, I can't see the message that I hope I created???
[ADDED] I was rewarded one participant point for an "Add Comment" event, so the message probably exists [/ADDED]
|
|
|
|
|
|
You made a comment on an alternative tip I made (I think it's the one you posted above) that appears to now be posted as it's own tip. Something Chris did is hosing things up a bit. (And I'm not sure a vote of 3 is applicable in that context - ).
".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 ----- "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
|
|
|
|
|
Hi John,
I had to vote some number to get a way to enter my message.
4 or 5 seemed unjustifiable, and 1 or 2 I'd probably not survive, so I went for the middle of the road, which also is rep-neutral.
And you're right about things currently being hosed up in T&T land.
|
|
|
|
|
All fixed. A few stragglers were missing forums but they have been added.
UI update (clarification for John's concerns) coming (hopefully) within the hour.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
My reputation history shows me posting a message March 2, 2012 @ 11:52AM. Though the link points to this message[^]. I posted that back in August 2010.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
|
|
We moved a bunch of comments into forums as part of the UI update to tips and tricks. Since we moved them yesterday, that's when the rep points were awarded.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks Chris.
Did the comments then get moved back? And wouldn't the points be removed if the comment was moved back out of a forum. What's confusing is that it isn't a forum message, but rather an article comment.
It's not a big deal. Just my thick skull trying to understand.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
No, the comments haven't been moved back (they still exist).
We actually have two comment systems: The original forum system, which is used to allow comments to be made to articles, and a lighter weight Comment system that is used for Quick Answers (and previously Tips).
Tips used to have comments attached to them. We've ditched this and instead moved to having Forums attached to tips (same as articles) and so we've imported the comments attached to tips into the new forums we've created for each tip.
I hope that, um, clears it up.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Thanks Chris.
It's beginning to sound like something I don't want to understand.
Chris Meech
I am Canadian. [heard in a local bar]
In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]
|
|
|
|
|
I just visited my alternate tip: No More Session Variable Misspellings.
Issue #1. When I do so, I noticed that the "Tip" tab is highlighted, even though it's not the primary tip. Maybe add a dynamic tab "Alternate Tip" that only displays when viewing an alternate tip? I suspect this also applies to articles, though I haven't seen any alternate articles yet.
Issue #2. When I visit the latest articles page, there are checkboxes for everything except for "Alternative Article".
|
|
|
|
|
Fixed, and will be fixed this afternoon.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
When I paste a link to a Code Project article, the title is filled in for me. Looks like you probably use some AJAX to to ask the server for the title, which takes a second or two. You could probably avoid that AJAX call as follows...
When I paste a link to an article, I typically have the article open in another window. That means you could drop a cookie when a user visits an article to associate the article ID (or even the full URL) with an article title. When a user pastes a link to that article, the cookie can be inspected to get the article title. As a fallback, you could still hit the server with some AJAX.
|
|
|
|
|
If you are editing a message in window 1, then visit window 2 which drops a cookie, do you have access to that new cookie in window 1 immediately? I doubt you would. It's also extremely hit and miss.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
I'm not sure, but I suspect so (I'll try make time to create a quick test this weekend). Though, cookies are sent to the server with each page request. If a user views enough articles, that data could grow and slow down their page load times a bit. One possible way to overcome that would be to only store info on the last 25 articles viewed.
I don't think it would be very hit and miss. How often do you think users paste article URL's without having recently viewed that article? I usually copy the URL's directly from the browser address bar.
|
|
|
|
|
You can copy a URL from a favorite button, i.e. without opening the page. Your articles are amongst your favorites, aren't they?
|
|
|
|
|
Nope, I use Code Project's bookmark feature. Also, that doesn't seem to work from IE9 (I suspect IE copies the shortcut file rather than the text URL). Unless you are talking about going to the properties for the favorite and copying the link from there, which somebody COULD do. And I'm sure somebody COULD view an article in one browser then paste it into a different browser, or they COULD have a giant list of URL's stored in a text file... but I doubt that happens often.
|
|
|
|
|
I was referring to the bookmarks bar as it exists in FireFox, Chrome, and probably the others as well. Just right-click and choose "Copy".
And no, I seldom use the "CP bookmark feature", as that only works for CP material; I have a universal bookmark system in place, with an actual database so I can store whatever I choose, then search, list, sort, etc.
|
|
|
|