distribution

How to set C# library path for an application?

Hello, I have C# application that uses a dll. When I try to run the application, it can't find the dll, unless it is in the same directory or in GAC. I do not want to have it in the same directory and I do not want to install it to GAC. Is there any way how to tell the application where to look for the library? (For example if I want to ...

How to create a private key for iPhone Distribution Certificate?

In iPhone Developer Program Portal, there's a video to demonstrate how to create a development certificate and assign a private key Now I have finished the development process and starting to distribute I have created a "Distribution Certificate", but how do I assign a private key to this certificate? As it got the "CodeSign error: c...

Stand alone Django app for OS X

For school, I have made a CMS in django for my major assessment task for Software. My teacher has asked to get the source code and, if applicable, the program compiled. Now, because i dont want my teacher to install django (Something might go wrong, he may get a different version, missing dependences), how can i package up my django app...

Java Generator for Poisson and Uniform Distributions?

From what I understand, the standard generator is for the Normal Distribution. I have to generate random numbers according to the Normal, Uniform and Poisson Distributions, but I can't seem to find a class for the last 2. I have to generate them in the range of 0 - 999999. ...

How to share objects across processes in .Net?

I'm trying to "share" .net objects across separate processes. I have one type of process that's a web service that manipulates a set of domain entities. Another type of process is a window service that's doing some automatic batch processing on the same set of objects. Beyond the typical solution of having the DB as the shared space whe...

What is the easiest way to build Python26.zip for embedded distribution?

Hello, I am using Python as a plug-in scripting language for an existing C++ application. I am able to embed the python interpreter as stated in the Python documentation. Everything works successfully with the initialization and de-initialization of the interpreter. I am, however, having trouble loading modules because I have not been a...

how to convert a beta distribution into a uniform one?

i want to convert a beta distribution with shape parameters a=b=0.5 into a uniform one. is this possible and if it is, how can i do it? ...

Python, SimPy: How to generate a value from a triangular probability distribution?

I want to run a simulation that uses as parameter a value generated from a triangular probability distribution with lower limit A, mode B and and upper limit C. How can I generate this value in Python? Is there something as simple as expovariate(lambda) (from random) for this distribution or do I have to code this thing? ...

Distribution of user accounts to N tables

There are millions of user accounts, and I want to distribute their data into N tables(user_1, user_2,..., user_N) of a database. User accounts are comprised of 3~8 characters. So, I want a function that returns table suffix like int getTableSuffix(String userAccount); The result is a uniform distribution from 1 to N. Do you kno...

How to deal with dead open-source dependencies?

Hi folks, I'm trying to prep a project for open-source release and have run into a problem... This project depends on a number of open-source components which I've just stored as JAR-files in my lib directory to date. Some of them date back a few years, and at least of them is from an open-source project whose site has disappeared and w...

How to make binary distribution of Qt application for Linux

I am developing cross-platform Qt application. It is freeware though not open-source. Therefore I want to distribute it as a compiled binary. On windows there is no problem, I pack my compiled 'exe' along with MinGW's and Qt's DLLs and everything goes great. But on Linux there is a problem because the user may have shared libraries in ...

Does user need SQL 2008 Express Installed if I deploy app with .mdf file?

I'm making a Win app on the 3.5 framework. I'd like to include a database file with the app. This would a single-user db. I looked at the 2 different types of db files I can add, the sdf and mdf. Thw sdf (compact) db is missing some functionality I need, so I prefer the mdf. The description on the mdf file "Service oriented database f...

Has anyone done any physical packaging/branding of their software?

I don't know if stackoverflow is the right place for this, but hopefully this is ok to ask. Has anyone here ever had their software packaged as a hard copy and distributed/sold that way? I'm just wondering if there are any options for getting nice packaging (professionaly printed cd sleeves, boxes, and documentation booklets) when you ar...

iPhone app without AppStore

We have an industrial app that currently runs on a very expensive ruggedized PDA. Since most of the engineers we sell to have iPhones we are considering moving to the much nicer newer platform. A couple of questions: Is it possible to sell iPhone apps with out the app store? Apple taking a 40% cut of a 99c iFart app is one thing but thi...

Is sending a potential employer the source of a program for them to evaluate you distribution under the GPL

I have some programs I wrote before understanding the GPL which I might find difficult to convey under its terms because I do not have the entire source (including libraries and the possibly modified source of a GPL program that the work I'm releasing may be adequately reliant upon to qualify as derived). If I am simply sending the sour...

Embed Identification Information into a file

Hello, I am wondering if it is possible in someway, to secretly embed information such as the purchase id in a file, so that if a file is being distributed, I know which purchase id it is. Something like MD5 + I don't know what. Something like steganography. Thank you for your time. ...

Best way to distribute Excel spreadsheet with VBA

I am trying to find out how to distribute an excel file on the net in such a way that most users will be able to use it. I am aware of the Microsoft Excel Viewer (which can open Excel files without having Office installed), but it doesn't run VBA code, which is a necessity for this file. Moreover, there are some changes to the API in O...

Split a list into X number of columns

The problem is to split a list of items into a variable number of columns to maximize the display on the web page ( note, they are displayed from left to right ) If there are 15 items in the list, they go in one column if there are 20 items on the list, they go in two columns if there are 30 items on the list, they go in two columns ...

Workload Distribution / Parallel Execution in JAVA

Dear All, I have a situation here where I need to distribute work over to multiple JAVA processes running in different JVMs, probably different machines. Lets say I have a table with records 1 to 1000. I am looking for work to be collected and distributed is sets of 10. Lets say records 1-10 to workerOne. Then records 11-20 to workerT...

Calculation of Poisson distribution in C

I need a C function to calculate Poisson distribution for values of k upto 720. I need a highly efficient solution. I urgently need this solution. Thanks in advance ...