|
No joy.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
http://www.codeproject.com/script/Forums/View.aspx?fid=1642&msg=2656117[^]
That thread yesterday, my posts were both rated '1'. I remember because of the comment I made about voting in my second post. I also remember voting on both posts I replied to. Today both my posts are rated '5' with only a single vote! And the posts I replied to have no votes recorded!
Anyone have any idea how this could happen?
led mike
|
|
|
|
|
Someone was identified as having gone through and made a bunch of 1 votes targetting a specific user so all their votes were removed.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Chris Maunder wrote: so all their votes were removed.
So an administrative function. I see. However your reply indicates a single user while in the thread I refer to at least two users votes were removed?
led mike
|
|
|
|
|
Is this system implemented for articles as well as the forums?
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
yes
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
I remember to receive grade-1 votes in all my articles in the same day. Is it possible to "claim" ?
Some kind of "enemy detector" ?
Best regards,
Jaime.
|
|
|
|
|
Let me know what day (or week even) it happened and I'll check.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
It has been throwing the following message since early in the morning today:
The was a problem saving your vote. Please, try again later
Anyone else facing this issue?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
1227 others seem to have had no problem, and I can't see any error log.
Browser? Full web address (www.codeproject.com? java.codeproject?)
Also, were you doing a vote, a free-text entry or both?
All I can think of would be that it's a load error.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
After seeing you response, I called my friend and he tried from home and it seems to work.
But the PC I am on is like a quarantined Cellular Jail where nothing can be cleared. So if it works, I should be smiling else I need to kick the browser and logout.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Vasudevan Deepak Kumar wrote: Anyone else facing this issue?
Nope.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
It'll do that for me if i select a valid option and enter a text response. But, it actually saves both. So i don't mind.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Added to the bug list.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Um... i actually kinda like being able to enter two options...
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Don't worry - we'll fix the right bug
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
This should now be fixed.
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
If you google for CMPXHG8 (no, I don't do that every day) one of the first links points to a CP forum message, but not to the right one[^].
Anything CP can do to fix this?
|
|
|
|
|
It's difficult because Google indexes PermaLinks, and each permalink contains text to messages not actually referred to by the permalink.
We would make it so that when Google requests a Permalink all they see is that specific question, but I'm not 100% sure this would help
cheers,
Chris Maunder
CodeProject.com : C++ MVP
|
|
|
|
|
Hi Chris,
I'm not sure I understand all this, I am still struggling with the permalink concept.
But your speed today is amazing.
|
|
|
|
|
Luc Pattyn wrote: If you google for CMPXHG8 (no, I don't do that every day)
Me neither. But I do search for CMPXCHG8 occasionally, just for fun
And in fact Google return what you asked for, because you failed to initialize ECX:EBX pair in your search query, so Google returned random garbage that was there
|
|
|
|
|
Mladen Jankovic wrote: you failed to initialize ECX:EBX pair in your search query
O, my mistake. That is what you get when using strict language compilers most of the time.
Thanks for pointing this out.
|
|
|
|
|
Luc Pattyn wrote: CMPXHG8 (no, I don't do that every day)
Me neither. I've seen the instruction years ago, never have actually found a real use for it.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
//Me neither. I've seen the instruction years ago, never have actually found a real use for it.//
Not sure if I should continue this thread in the wrong forum, but anyway...
The double-length compare-exchange would be very handy if vb.net would allow it to be used on a structure containing an object reference and a counter. Among other things, it would make it much more practical to use pooled objects while operating on lock-free data structures.
As a simple example (and this is one that .net actually will facilitate) suppose that you have a 64-bit number in memory and you wish to perform bitwise 'and' and 'xor' operations upon it. Even though multiple threads may attempt to perform operations simultaneously, you want to guarantee that the number will not be corrupted. If in one thread you wrote var = var or 1 and in another thread var = var or 2 there would be no guarantee as to what var would end up containing.
CompareExchange allows a solution.
Sub BitMaskLong(ByRef Dest as Long, ByVal AndMask as Long, Byval XorMask as Long)
Dim OldVal, NewVal as Long
Do
OldVal = Dest
NewVal = (OldVal and AndMask) xor XorMask
Loop While Threading.Interlocked.CompareExchange(Dest, NewVal, OldVal) <> OldVal
End Sub The compare-exchange performed in the last statement will write the newly-computed value to the destination variable unless something else has change it since it was first read. If it has been changed, it will be reread and the new value recomputed. Provided that the computation between the read and the compare-exchange is shorter than a timeslice, the compare-exchange is unlikely to fail more than once for each processor in the system (indeed, most of the time it will succeed on the first try).
|
|
|
|
|
supercat9 wrote: double-length compare-exchange would be very handy if vb.net would allow it to be used on a structure containing an object reference and a counter.
Possibly so.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|