|
Trivial, but briefly confusing:
Looking at my Questions and Answers recently, I noticed that a couple of my answers were stated to have been posted just a couple weeks ago. But they were posted a LOT longer ago than that--over a year ago. If memory serves me, the date being shown is the date I looked at those answers earlier this month.
Similarly, a few days after posting a recent question, the list said I posted the question "Yesterday" instead of the correct 2 or 3 days earlier.
|
|
|
|
|
Can you point me to the specific answer that has the wrong date, please?
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Well, I thought I could, but I see that I got confused. The Q&A Answer times are correct. I was confusing prior Article message activity with the Q&A forum. I think I need a nap.
However, the "posted by xxxx yesterday" error was real. The displayed times are correct now, but the info on this one[^] did say "yesterday" when it should have said "3 days ago" (Aug 13). At the same time, it also said "yesterday" for the Last Activity that actually occurred "2 days ago."
|
|
|
|
|
I normally create forum messages without allowing private email replies, i.e. my setting "Allow private email replies to this message" normally is unchecked and all seemed well. I did create one message yesterday, enabling e-mail replies on the edit page itself; ever since, the feature is acting up, I'm unable to turn it consistently off again. Sometimes "Sace settings" in "My Settings/Forum" stores it unchecked and later it is still unchecked, most often on a later inspection it is checked again.
Vista, FF3.0; I did try some CTRL/F5.
If there were a particular cookie involved, please tell me which, I'll delete it right away.
If there were caching effects causing this, I'd suggest to broadcast changes to settings immediately to all servers, I don't expect it to be a frequent operation at all.
Could you throw some interactive SQL and turn that checkbox off asap, pretty please. It is getting quite obstinate and annoying.
|
|
|
|
|
This has happened to me twice in the last 18 hours or so. I don't think it's a caching issue, as I've never enabled it before. But, twice now, it's apparently checked itself.
Mine just re-checked itself for the third time...
L u n a t i c F r i n g e
modified on Tuesday, August 24, 2010 2:29 PM
|
|
|
|
|
LunaticFringe wrote: I don't think it's a caching issue, as I've never enabled it before. But, twice now, it's apparently checked itself.
+1. Me too.
|
|
|
|
|
I've replied privately since I will need you to send me some private data from your browser.
My guess is there are two conflicting rows of preferences being stored for you. We have in place a system that automatically combines and discards superflous settings (which can happen when you browse logged in and not logged in on separate browsers) so it could be this.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
What about our case? My settings looks changed.
'Allow private email replies to this message' is always checked when I try to reply a message. Unchecking it, does not help for next time. By default always checked - a change which I have not done.
Earlier it was fine.
UPDATE: I found my default settings updated. 'Allow private emails..." was checked. Was that updated by CP off late? As, I don't remember updating it myself.
Further, this default setting is getting overriden for now. It is always checked when I reply. Probably a cookie expiration needed.
|
|
|
|
|
Keep cool Sandeep, Chris is on it.
|
|
|
|
|
okie-dokie
|
|
|
|
|
Chris - I've changed my settings, but everytime I create a new message I get all the options checked again which is a real PITA as I don't want the Send me an e-mail option checked.
|
|
|
|
|
I've never checked this box, and it's now checked on mine. I've unchecked, posted, gone to a new reply, it's checked again... something odd is going on!!
Aaaaaaargh... just went to click Post Message on this one and it's checked again!!!
|
|
|
|
|
Working on it this second
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
E-mail Checkbox Oddness has disappeared. Thanks a lot!
|
|
|
|
|
|
And now it's fixed... yay!! Thanks...
|
|
|
|
|
That goes down as the most many-tentacled bug I've fought with in a long time.
A brief history:
I made a change to the way I was retrieving records for members' preferences. This change resulted in 2 recordsets each with 1 record instead of 1 recordset with 2 records being returned. It was done as an optimisation.
This caused a bit of weirdness in the code that was meant to sort and combine the data from the two records (1 could be from when you were logged in, 1 could be from when you weren't logged in on another machine). Guess who forgot to check whether the two rows were, in fact, the same. This scenario simply wasn't possible with 1 recordset, 2 rows.
However, this unearthed a head-slapper of a bug whereby when a settings value was being changed I was setting a dirty bit using
_dirty = (_currentValue != value);
_currentValue = value
This is all well and good unless you plan to test all your properties. Then you need to do
_dirty = dirty || (_currentValue != value);
_currentValue = value
The irony being that the original optimisation turns out to no longer be needed after a little more work in the table indices. (Though I am seeing an option for more improvement that, I think, will bring me back 180 degrees yet again...)
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: _dirty = dirty || (_currentValue != value);
yeah, it can only get more dirty.
thanks for the insight, I really do appreciate that.
|
|
|
|
|
There's two of them in the main page left nav pane.
The bearing of a child takes nine months, no matter
how many women are assigned.
|
|
|
|
|
Thanks Uros,
Fixed
Thanks,
Sean Ewington
The Code Project
|
|
|
|
|
Hi Guys:
As a learner point of view; most of the times I search for a very basic level questions and I always wonder that the search results most of the time contain some intermediate or advanced level articles and tips/tricks as well. Is the code Project only for the intermediate or advanced level developers?
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Md. Marufuzzaman wrote: Is the code Project only for the intermediate or advanced level developers?
It's for all developers. Articles can be submitted for any level. The author of the article gets to choose the level, so the actual level of the article may not be what the author selected, depending on how the author percieves his/her own work. However, more advanced articles are held in a higher regard and beginner articles are sometimes viewed as "what's the point when this info is on MSDN or in beginner books or can be found already using Google".
|
|
|
|
|
somewhat i agree with you.
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|
|
Md. Marufuzzaman wrote: Is the code Project only for the intermediate or advanced level developers?
Of course it isn't. Most of my articles are aimed at a beginner audience - be they beginner in a technology, or in programming in general. I'm a great believer in trying to provide that leg up for developers who haven't got a huge amount of experience - they deserve as much information as somebody who wants to go deep dive into a technology.
|
|
|
|
|
Pete O'Hanlon wrote: Most of my articles are aimed at a beginner audience - be they beginner in a technology, or in programming in general.
I agree, do you see that most of the article does not have basic information in explanation section / example of code snippets.
For example :
if (HttpContext.Current.User.Identity is FormsIdentity)
{
FormsIdentity id =
(FormsIdentity)HttpContext.Current.User.Identity;
FormsAuthenticationTicket ticket = id.Ticket;
string userData = ticket.UserData;
string[] roles = userData.Split(',');
HttpContext.Current.User = new GenericPrincipal(id, roles);
}
If i consider the above code snippets, How could I know what about FormsIdentity , FormsAuthenticationTicket, HttpContext .
However If you suggest me to buy a book first, So why should I use online resources, my goal is to learn within a very short time & all the resource should be in my hand.
NOTE: The above code snippets taken for the link below:
Authenticate user by roles in asp.net[^]
Thanks
Md. Marufuzzaman
I will not say I have failed 1000 times; I will say that I have discovered 1000 ways that can cause failure – Thomas Edison.
|
|
|
|