distribution

Generation of uniformly distributed random noise

I've been working on generating Perlin noise for a map generator of mine. The problem I've run into is that the random noise is not distributed normally, and is more likely a normal distribution of kinds. Given two integers X and Y, and a seed value, I do the following: Use MurmurHash2 to generate a random number (-1,1). This is unifo...

Packaging python applications with PyQt and PyQwt (for linux only)

This is a follow on from my question here, I think I will have to look at a different method. I'm wanting to package my python program with some of it's dependencies. I'm aware of tools like cx freeze or bb freeze, but as you can see in the linked question they have issues for my situation. I don't want my users to have to install my ...

How to compare different distribution means with reference truth value in Matlab?

I have production (q) values from 4 different methods stored in the 4 matrices. Each of the 4 matrices contains q values from a different method as: Matrix_1 = 1 row x 20 column Matrix_2 = 100 rows x 20 columns Matrix_3 = 100 rows x 20 columns Matrix_4 = 100 rows x 20 columns The number of columns indicate the number of years. ...

iphone Application Loader problem

I successfully followed and completed all the steps in the apple provisioning portal for creating the distribution certificates/profiles needed. Got everything loaded upto xCode and my project compiles correctly. However, when I insert my last app.zip file into the Application Loader, I get this single error: Bundle identifer: com.you...

Java: Generating a random numbers with a logarithmic distribution

I am attempting to generate a random numbers with a logarithmic distribution. Where n=1 occurs half of the time, n=2 occurs a aurter of the time, n=3 occurs an eight of the time, etc. int maxN = 5; int t = 1 << (maxN); // 2^maxN int n = maxN - ((int) (Math.log((Math.random() * t)) / Math.log(2))); //...

iphone: appID creation problem ?

Whenever I create an app ID on my provisioning profile, the 10 digit bundle seed ID keeps getting imported in front of it... e.g. YVW2UMA3HV.com.yourcompany.ytj ..As a result, the project i'm trying to compile (which as bundleID com.yourcompany.ytj gives an error in Application Loader. ..Is there a way to create an appID without the '...

iPhone / iPad enterprise distribution problem

Hi all, I've just set up our iPhone / iPad Universal app to support Enterprise Distribution. I've hosted the provisioning profile, the plist file, and the application itself (the IPA file) on our private servers. Users can go to Safari on their device and download the provisioning profile and it installs itself just fine. They can also...

What is Best Practice for persisting configuration settings in EAR files?

My application is deployed as an EAR file. The application has traditionally required that some post installation configuration changes be made. This was easy with the Oracle 10G OAS as the EAR was exploded into a directory thus allowing easy access to configuration files. With 11G, the EAR is not exploded resulting in additional d...

How to calculate axis ticks at a uniform distribution?

Given a data range by its minimum and maximum value, how can one calculate the distribution of buckets on a an axis? The requirements are: - The axis ticks shall be evenly distributed (equal size). - Further, all ticks shall appear as numbers like 10, 20, 30, ... or -0.3, 0.1, 0.2, 0.4, ... - The calculation shall accept a parameter that...

Codesign verification failed in Xcode for iphone app distribution

Hi, I am trying to prepare my app for distribution to the app store and am getting the following warning in Xcode which is causing an error in ApplicationLoader. I know this is a common problem from searching but I have yet to find a proper solution? I went thru Apple's steps for distribution on the iOS provisioning portal and still get...

Upload iphone app error "The CodeResources file must be a symbolic link ...."

Hi, I have been working on this issue for over a week with no luck and tried every possible solution e.g. delete and reinstall certificates, profiles, and everything seems to be ok. My problem show up when I try to upload with Application Uploader where it shows ""The CodeResources file must be a symbolic link .... " error , so I check...

'ttest' function error in Matlab - "??? Error using ==> nanmean. Too many input arguments."

Following is the statement inside my code I am using in Matlab: [h_sgsim,p_sgsim,ci_sgsim] = ttest(q_mean_sgsim_yearly_TankMethod,q_mean_reference_truth_yearly_TankMethod(1)); where q_mean_sgsim_yearly_TankMethod is a 100 X 1 vector and q_mean_reference_truth_yearly_TankMethod(1) is a scalar. I don't know why its giving the error ev...

How do I remove the distribution .plist from my app build settings?

I developed an app on a computer I no longer have and forgot to export my signing key. I am currently running into issues when I try and update the app. I submit the binary that has been signed with the new dist cert and key, and in ITC it says application loaded, but then when it refreshes, it goes red and just says "invalid binary", wi...

How should one distribute the Javadoc for a Library?

I am writing a custom library. It's build into a .jar archive. I am fully able to generate the javadoc, but I don't know how I should distribute it? Put it in the same .jar with the library Put it in a different .jar Some other way? And how to include the javadoc in another project that uses my lib? If I had put it in the same .jar...

How to pack efficiently apache server in desktop application

Hello all I need Apache server with php interpreter to distribute in my desktop application The reason is that my application create reports that are basically php code that runes under Apache web server Is it user friendly to distribute Apache server with php interpreter with your desktop application ? Also I like to be able to start /...

Which Linux distribution does Facebook, Twitter, and Reddit use?

Most probably customize the hell out of the base distributions, but I was wondering which one is more popular among most startups...RHEL, ubuntu, fedora, centos..etc ? ...

iphone : revoke distribution certificate and push notifications

I have an iPhone app with push notifications enabled and it's working pretty well. But my mac mini just "died" and I realize I did forgot to backup my public / private keys :/ So I guess my only solution now is to create new certificates (both developer and distribution) so I can continue my work ... but what happens with my push notific...

iPhone Build Error (Entitlements)

I'm getting this error when trying to build: The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016). This is not my first time building apps. This will be my sixth app, so this thing is tripping. I'm making an AppStore distribution build, s...

The executable was signed with invalid entitlements (iPhone build)

Ok I'm no rookie to this stuff. I know what I'm doing, so please dont take me through the basics. I updated Xcode to the newest version the other day, and now every new project and saved projects from the past that HAVE succesfully been built using its own distribution certificate are no longer succeeding with the following error: The e...

Non-Android Market distributers, who's legit and who's not?

I recently logged into my Gmail account which is tied to my Android Developer account and I found two emails regarding distribution of my application through markets other than the Android Market. The first was from "Ubinuri, Inc., a distributor of Android-based mobile applications through local app stores in Korea" which wanted me to ...