Search Results

Search found 5 results on 1 pages for 'vitalik'.

Page 1/1 | 1 

  • Low coupling processing big quantities of data

    - by vitalik
    Usually I achieve low coupling by creating classes that exchange lists, sets, and maps between them. Now I am developing a batch application and I can't put all the data inside a data structure because there isn't enough memory. I have to read and process one chunk of data and then going to the next one. So having low coupling is much more difficult because I have to check somewhere if there is still data to read, etc. What I am using now is: Source - Process - Persist The classes that process have to ask to the Source classes if there are more rows to read. What are the best practices and or useful patterns in such situations? I hope I am explaining myself, if not tell me.

    Read the article

  • unable to kill process / logout on windows server 2003

    - by vitalik
    My own console .net application stuck in a "ghost" stage. It just shows a window that i can't close. It doesn't show up as a process in the task manager. when i try to "find windows process" using Process Explorer (from sysinternals) it says there is no process that owns that window or something like that. The problem is that it doesn't allow me to logout or reboot the server (remotely) because logoff process keeps waiting on that window to close. shutdown /r /f also is stuck waiting for it. I can probably have somebody go an reboot the server but i'd like to know if there is a way to close that process, close that session or force logout remotely. This is windows server 2003, but i had the same issue on XP just a few days ago.

    Read the article

  • Restricting access to records. Is claim-based permissions a good idea.

    - by Vitalik
    in .net Claim-based identity framework If i wanted to restrict users to do an operation (view or edit) on let's say an account, a particular account #123456.(i am talking about business entity, like a bank account.) Is it a good idea to create a claim for each account they can view or edit? Any disadvantages of having a lot of claims in a set? a system admin might have access to all accounts in the system thus creating hundreds of claims (maybe more than one for each account)

    Read the article

  • how to turn off percentage sign in .net/wpf?

    - by Vitalik
    I would like my WPF application to display all percentages without % sign. For example 20% would be displayed as "20" but i still want to use the standard formatting for percentages (so i get the benefit of string formatter to multiply it by 100 for me) in other words, how do i get string.Format("0.00%", 0.2) to output "20" but not "20%"? Is it possible to globally define PercentSymbol as empty string for the entire application? In particular i am using ContentStringFormat in my WPF application to format the numbers and percentages. Maybe i can do it directly in WPF.

    Read the article

1