Click here to Skip to main content
Page 1 of 47
Page Size: 10 · 25 · 50


Author filtered by: Paulo Zemek [x]
Re: My vote of 5 by Paulo Zemek
Forum Message 11 May 2013  
Thanks!
420 Frames Per Second by Paulo Zemek
Article 10 May 2013   license: CPOL
This article presents a class to manage enumerator based animations in WPF that can deal with different framerated animations independent of the hardware framerate
Article 7 May 2013   license: CPOL
This article presents a pattern to create immutable objects, which have thread-safe guarantee among others, and which also support modifications throught clonning, yet avoiding excessive intermediate clones.
Forum Message 6 May 2013  
Thanks for the comments. About the TransactionScope I should really review it. But about the other details, well, I understand that simply getting a new library and using it in an existing project m
Re: My vote of 5 by Paulo Zemek
Re: My vote of 2 by Paulo Zemek
Forum Message 6 May 2013  
The final answer: Did you try to reflect the SemaphoreSlim, found in the mscorlib? If you reflect it, you will see it uses Monitor.Pulse (when releasing a single thread), Monitor
Forum Message 6 May 2013  
I saw the new version, yet you are not really showing the Liskov substitution. In the first example, the "Computer" class was, in fact, the "Desktop" class. But in your code, you did:
Re: My vote of 1 by Paulo Zemek
Forum Message 6 May 2013  
You should also note that your link goes to this link: http://blogs.msdn.com/b/ericlippert
Re: My vote of 2 by Paulo Zemek
Forum Message 6 May 2013  
There is no ordering problem, as the state set and the state read are done inside the lock, and Pulse/PulseAll/Wait should use the appropriate fences (if they don't in some implementation, then there
Re: My vote of 1 by Paulo Zemek
Forum Message 6 May 2013  
Again you are not reading the article (or you are not understanding it). I explain the problem of using a Mutable Until Frozen object... the link you shown presents that pattern and, well I explain
Re: My vote of 5 by Paulo Zemek
Forum Message 6 May 2013  
Thanks!
Re: My vote of 2 by Paulo Zemek
Forum Message 6 May 2013  
If Mono behaves differently it is not the focus, and when I said it is non-sense to talk about Mono I am simply saying that telling me that Mono works differently does not help at all with the "proble
Re: My vote of 2 by Paulo Zemek
Forum Message 6 May 2013  
Pulse is not flawed. It simple did not keep the state signalled. It will only release an already waiting thread. We can say that AutoResetEvent has the same problem, but not at the first Set(). But
Re: My vote of 5 by Paulo Zemek
Forum Message 6 May 2013  
Thanks! :-)
Forum Message 6 May 2013  
Thanks Sacha! It's always great to have a five from you.
Re: My vote of 2 by Paulo Zemek
Forum Message 5 May 2013  
Great... you didn't read the article and so you saw that it is flawed. In the beginning of the article, I say this: "When I first saw Pulse() I thought it could solve the problem, but the MSD
Forum Message 5 May 2013  
I think you confused what the "I am not the author" means. I did not publish this article, but I am answering a question in the forum.
ADO+.NET by Paulo Zemek
Article 5 May 2013   license: CPOL
This library is intended to "replace" ADO.NET by solving type mismatches and by creating typed readers that are faster and easier to use than DataTables.
Forum Message 5 May 2013  
I am not the author, but the calc is correct. It should be c.GetPrice() * 1.20 or c.getPrice() + c.GetPrice() * 0.20. The idea is to get the final value (value + 20%)... I will prefer a single c
Forum Message 5 May 2013  
I know the principle, but I simple didn't get your example. Liskov substitution is not directly related to the Open-Closed Principle. Doing things with ifs or the like has nothing to do with this p
Forum Message 5 May 2013  
Even if Monitor.TryEnter() is fully managed and may be considered better than the normal lock keyword (which uses Monitor.Enter()), it is not the purpose of this
Re: Performance tests... by Paulo Zemek
Forum Message 4 May 2013  
The sample is, in fact, a performance test... But to be more realist: Do you have already built items to add and remove? Or you do a lock and then build the item? If you already have the items buil
Re: My vote of 5 by Paulo Zemek
Forum Message 4 May 2013  
Thanks!
Article 3 May 2013   license: CPOL
Using only Managed Resources to create Thread Synchronization
C#
MultiKeyDictionary by Paulo Zemek
Forum Message 2 May 2013  
For your MultiKeyDictionary, I should say that it could be faster and use less memory if you used the Tuples as the key on a normal dictionary (in this case, your tuples must implement the IEquatable&

Page 1 of 47
1 2 3 4 5 6 7 8 9 10


Advertise | Privacy | Mobile
Web04 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid