too (1,677)


mailto link for large bodies

I have a page upon which a user can choose up to many differ paragraphs. When the link is clicked(or button), an email will open up and put all those paragraphs into the body of the email, address…


c# - sgen.exe fails during build

After changing the output directory of a visual studio project it started to fail to build with an error very much like: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\bin\sgen.exe/assembly:…



language agnostic - Do you use design patterns?

What's the penetration of design patterns in the real world? Do you use them in your day to day job-discussing how and where to apply them with your coworkers-or do they remain more of an academi…


What is a good way to denormalize a mysql database?

I have a large database of normalized order data that is becoming very slow to query for reporting. Many of the queries that I use in reports join five or six tables and are having to examine tens o…


XNA Unit Testing

So I'm interested in hearing different thoughts about what is the best way to go about unit testing XNA Game/Applications. Astute googlers can probably figure out why I'm asking, but I didn't want t…


How do I change the number of open files limit in Linux?

When running my application I sometimes get an error about too many files open. Running ulimit-a reports that the limit is 1024. How do I increase the limit above 1024? Edit ulimit-n 2048 results…


bash - Quick ls command

I've got to get a directory listing that contains about 2 million files, but when I do an ls command on it nothing comes back. I've waited 3 hours. I've tried ls | tee directory.txt, but that seems t…


parameters - How many constructor arguments is too many?

Let's say you have a class called Customer, which contains the following fields: UserName Email First Name Last Name Let's also say that according to your business logic, all Customer objects must h…


Speeding up mysql dumps and imports

Are there any documented techniques for speeding up mySQL dumps and imports? This would include my.cnf settings, using ramdisks, etc. Looking only for documented techniques, preferably with benchmar…


networking - How Many Network Connections Can a Computer Support?

When writing a custom server, what are the best practices or techniques to determine maximum number of users that can connect to the server at any given time? I would assume that the capabilities of…




how many long large for not the size error file