Posts

Showing posts from December 1, 2018

Airprint not working on IOS Devices

Image
up vote 0 down vote favorite I am running Ubuntu 16.04.5 LTS I have a Canon Image Runner Advance C5035 I have setup CUPS and can print to the printer via: Mac Mojave Windows 10 Galaxy Note I can't print via any iOS Device so far: iPhone 8 iPhone 6 iPad So I followed Linux magazine to the word Now the interesting thing is that I can airprint from the Mac using the Airprint printer that magically appeared after following the magazine article The Airprint Printer I can't see any errors being reported in /var/log/cups so unsure if I am looking in the wrong files or not. Any help/suggestions are greatly appreciated. Thanks printing canon iphone share | improve this question

Expected minimum absolute difference to a given point correctly computed?

Image
up vote 0 down vote favorite I am trying to compute the expected absolute difference between $n$ iid uniformly between $[- epsilon, epsilon]$ sampled points to a given point $- epsilon< c < epsilon$ : $$ mathrm{E}(mathrm{min}(|x_1-c|,|x_2-c|,...,|x_n-c|)) $$ I know, that the expected minimum of n iid uniformly between $[0, epsilon]$ sampled points is $frac{epsilon}{n+1}$ . Can I simply put my coordinate systems origin onto c and say I have an expected minimum value of $frac{epsilon - c}{n+1}$ on the right, and $frac{epsilon + c}{n+1}$ on the left, and for the overall distribution I have an weighted average (wheigted with the width, so $epsilon-c$ and $epsilon+c$ respectively) of $frac{1}{2 epsilon} cdotfrac{(epsilon-c)^2 + (epsilon+c)^2}{n+1}$ ? If not, how would I go about this problem?