total (707)

How do you page through a collection in LINQ given that you have a startIndex and a count ?…
Appropriate Windows O/S pagefile size for SQL Server
Does any know a good rule of thumb for the appropriate pagefile size for a Windows 2003 server running SQL Server?…
I need to know how much disk space a table is using in SQL Server
I think most people know how to do this via the GUI(right click table, properties), but doing this in T-SQL totally rocks.…
Refactoring away labeled loops
After I was convinced that labeled breaks/continues are a total "nono" over here, I need help to remove the label out of my code. I have a square matrix and a vector that has the same length. The vec…
language agnostic - Most efficient implementation of a large number class
When doing calculations on very large numbers where integral data types such as double or int64 falls short, a separate class to handle such large numbers may be needed. Does anyone care to offer a…
sql server - CPU utilization by database?
Is it possible to get a breakdown of CPU utilization by database? I'm ideally looking for a Task Manager type interface for SQL server, but instead of looking at the CPU utilization of each PID(like…
language agnostic - Continue Considered Harmful?
Should developers avoid using continue in C# or its equivalent in other languages to force the next iteration of a loop? Would arguments for or against overlap with arguments about Goto?…
Displaying build times in Visual Studio?
Our build server is taking too long to build one of our C++ projects. It uses Visual Studio 2008. Is there any way to get devenv.com to log the time taken to build each project in the solution, so tha…
c# - How do you get total amount of RAM the computer has?
Using C#, I want to get the total amount of RAM that my computer has. With the PerformanceCounter I can get the amount of Available ram, by setting: counter.CategoryName="Memory"; counter.Counternam…
algorithm - How to count the number of set bits in a 32-bit integer?
8 bits representing the number 7 look like this: 00000111 Three bits are set. What are algorithms to determine the number of set bits in a 32-bit integer?…