I have cells for whom the numeric value can be anything between 0 and Integer.MAX_VALUE. I would like to color code these cells correspondingly.
If the value = 0, then r = 0. If the value is Integer.MAX_VALUE, then r = 255. But what about the values in between?
I'm thinking I need a function whose limit as x => Integer.MAX_VALUE is 25...
My application looks like this:
main.py
windows/
__init__.py
mainwindow.py
...
model/
__init__.py
orders.py
...
resources/
image1.png
logo.jpg
...
The program is started with main.py. Is there a good way to create a 'final' application out of it? I'm thinking of something like py2exe/py2app, but wi...
I have a project divided into several sub-modules (each of them are jar libraries):
myapp
myapp-commons
myapp-client
myapp-server
I've configured my pom.xml in order to create 3 assemblies (client.zip, oracle.tar.gz and server.tar.gz) that are finally stored in the myapp/target directory.
I want now is to distribute two of...
I'm wondering how Software Development Team distribute their Standard IDE(s)?
E.g. developing with Eclipse, custom Code formatter, svn Resository, Copyright Header..
At the moment my Team has a standard zip File which is then distributed withhin the developers.
Problem:
If one file, a Plugin or the IDE itself changes, e.g. new Coding...
I have a client that wises to distribute their iphone application to only their employees and not on the iTunes App Store. To me this sounds like a situation for Enterprise Distribution.
Could someone explain to me in as much detail as possible this process. I know we will need to enroll as an Enterprise Distribution Member before a...
Which Linux version is the most comfortable for haskell development? I want to install ghc and compile Leksah in it.
I'm using CentOS now but it's repository is not rich and fresh enough.
...
I have a function which I know to be a multivariate distribution in (x,y), and mathematica is having numerical stability issues when I form the marginal distributions.
For example, marginalizing along y yields the following:
0.e^(154.88-0.5x^2)
Since I know the result must be a distribution, I would like to extract just the e^(-.5x^2) ...
Hello,
I have been programming in Python for a few years now and have always used CPython without thinking about it. The books and documentation I have read always refer to CPython too.
When does it make sense to use an alternative distribution (PyPy, Stackless, etc)?
Thanks!
...
I've been having problems withe getting setup.py to do the sdist thing correctly. I boiled it down to this. I have the following directory structure:
my_package\
my_subpackage\
__init__.py
deep_module.py
__init__.py
module.py
setup.py
And here's what I have in setup.py:
#!/usr/bin/env python
from dist...
I have written an open source (GPL) application for Linux and OSX and now wish to distribute it. Is it normal to distribute the source code along with the binaries by default, or just provide a link to where it can be obtained?
If I include the source files, where is the normal location for writing them on the users system for Linux an...
I have likelihood functions LFi,i=1,2 with parameters [lambda,p] and [lambda]:
LF1<-lambda^sp^(n-n0)(1-p)^n0/((1-1/exp(lambda))^(n-n0)(exp(lambda))^(n-n0));
LF2<-lambda^s/(exp(lambda))^n
where s is the sum of observed counts, n is the number of observations, and n0 is the number of observed zeros. As usual, maximised log(LFi)s and AI...
Hey All.
I am making an app that needs to be released by the client.
Am I able to build and sign the final binary with my distribution certificate and send it to the client to upload?
Or will I have to send them the source to compile with there own certificate?
Cheers
...
I have an ad-hoc provision profile for my iPhone application and I have installed them on several devices. If I need to add a new device, I will need to re-compile the application with the new mobileprovision file so that it can be distributed to the new device. But what about those existing devices? Do I need to re-deploy the re-compile...
I have an open-source Python project (called GarlicSim), and I maintain 4 different versions of it for Python versions 2.4, 2.5, 2.6 and 3.1. Yes, maybe it's unusual, but I like using as much features as possible. I keep them in 4 different forks of the repository.
Now I want to upload my project to the cheeseshop. What's the way to do ...
i have an app that runs like a dream on a 3gs, but can be a bit glitchy on the ipod touch, anyone have any similiar experiences, with distribution?
The app still works, on the ipod touch (which is a year old, forgotten which gen), but just not as well.
...
If I have a distribution with X and X::Y also in it, how do I make Module::Build install both the modules? I have put X.pm in lib, written a file Build.PL with the line
my $build = Module::Build->new
(
module_name => "X",
);
This installs X OK, but how do I tell Module::Build to also include X::Y in the distribution?
...
How can someone distribute native (non-"compiled/perl2exe/...") Perl scripts without forcing users to be aware of the custom (non-CPAN) modules that the scripts needs in order to run?
The problem is users will inevitably copy the script somewhere else on the system and take the script out of its native environment and then it can no lon...
I'm using Distribute's pkg_resources.require() in my project to check if prerequisites are installed on the user's machine. One of the prerequisites is wxPython. But when I try pkg_resources.require('wxPython'), I'm getting the DistributionNotFound error, even though it's definitely installed and operable on my machine.
I also tried the...
Right now, I have my own homegrown testing harness/directory structure/support doc strucure/distribution tools for my libraries. However, reading the blog post Write your code like it's going on CPAN, it sounded like a good idea. Then it occurred to me, I'm really not sure how to do that.
What are some good resources to get started ma...
I'm trying to use Distribute for my project's setup.py. I want it to include all the files in the package folder, which are text and image files, but not .pyc files of course. I read that the files should either be tracked by CVS and SVN, or there should be a MAINFEST.in.
So:
I use neither CVS nor SVN, I use git. I know that it's poss...