program (8,310)


c# Robust Random Number Generation

c# Robust Random Number Generation

I'm looking for a performant, reasonably robust RNG using no special hardware. It can use mathematical methods(Mersenne Twister, etc), it can "collect entropy" from the machine, whatever. On Linux/et…


Easy-to-Use Regular Expression Support in C++?

I'm looking for a robust, easy-to-use, regular expression evaluator for native C++, either platform-independent or Windows-specific. Requirements: Can't use Boost or ACE regex libraries(unfortunate…


How can I modify.xfdl files?(Update#1)

The.XFDL file extension identifies XFDL Formatted Document files. These belong to the XML-based document and template formatting standard. This format is exactly like the XML file format however, co…


asp.net Visual Studio “Unable to start debugging on the web server. The web server did not respond in a timely manner.”

I get the following error pretty regularly when compiling in Visual Studio and running my web application: "Unable to start debugging on the web server. The web server did not respond in a timely mann…


linux Shell scripting input redirection oddities

Can anyone explain this behavior? Running:#!/bin/sh echo "hello world" | read var1 var2 echo $var1 echo $var2 results in nothing being ouput, while:#!/bin/sh echo "hello world">test.file read var…


c# Convert integers to written numbers

Is there an efficient method of converting an integer into the written numbers, for example: string Written=IntegerToWritten(21); would return "Twenty One". Is there any way of doing this that does…



c# Searching directories for tons of files?

I'm using MSVE, and I have my own tiles I'm displaying in layers on top. Problem is, there's a ton of them, and they're on a network server. In certain directories, there are something on the order o…


java IllegalArgumentException or NullPointerException for a null parameter?

I have a simple setter method for a property and null is not appropriate for this particular property. I have always been torn in this situation: should I throw an IllegalArgumentException, or a NullP…


What is the best way to create a sparse array in C++?

I am working on a project that requires the manipulation of enormous matrices, specifically pyramidal summation for a copula calculation. In short, I need to keep track of a relatively small number…


java Eclipse on win64

Is anyone successfully using the latest 64-bit Ganymede release of Eclipse on Windows XP or Vista 64-bit? Currently I run the normal Eclipse 3.4 distribution on a 32bit JDK and launch & compile my ap…




how java example and using for with the write code