I receive the weekly Pinterest newsletter. When I click on an image or the Available on Google Play logo inside, a built-in popup comes up on my phone offering me to open the link with Chrome or Pinterest. The key here is the Pinterest app. On my laptop it brings up a pinterest.com link.  So I was working on our newsletter and decided to do this. All I did was to set the google play link of our app in the &lt;a href /&gt; section, but it opens Google Play instead of offering me the option to open the app on my phone.  &lt;a href="https://play.google.com/store/apps/details?id=com.app.app"&gt;&lt;img src="http://www.website.com/mylogo.png"  width="100" height="35"/&gt;&lt;/a&gt;   How can I do this?  SOLUTION  I would like to answer this question for those who don't understand how it works, like me, but unfortunately stackoverflow doesn't let me do it.  This is what I did:  Manifest:  &lt;intent-filter&gt;    &lt;action android:name="android.intent.action.VIEW" /&gt;    &lt;category android:name="android.intent.category.DEFAULT" /&gt;    &lt;category android:name="android.intent.category.BROWSABLE" /&gt;    &lt;data android:scheme="http" android:host="yolify.net"      android:pathPrefix="/"/&gt; &lt;/intent-filter&gt;   Link:  &lt;a href="http://yolify.net"&gt;LINK&lt;/a&gt;   Your website (just before the &lt;/head&gt; tag)  &lt;script&gt; if (screen.width &lt;= 1080) {      document.location = "https://play.google.com/store/apps/details?id=com.yolify.android";   } &lt;/script&gt;   What's happening here?   You point your link to your website, not your google play URL.  In the manifest you set your app to listen to links pointing to your website. You send your mobile users to the Google Play URL, but this only happens when they don't have your app on their phones. Otherwise, your browser will offer you to open your app from the email.   I would like to highlight that even though there are about 5 similar questions on stackoverflow, none of them gives a real explanation on the background. I hope I could help others suffering with this question.
I want my intent to be launched when the user goes to a certain url: for example, the android market does this with  urls. so does youtube. I want mine to do that too.
How do we prove that $\lfloor0.999\cdots\rfloor = \lfloor 1 \rfloor$? Are the floor functions of $0.999\cdots$ and 1 equal?  It is true that $0.999\cdots=1$ but how does one justifies the integer part of $0.999\cdots$ being 1 , where it is not, or alternatively without using $0.999\cdots=1$ how can we show that  $\lfloor0.999\cdots\rfloor = \lfloor 1 \rfloor$ ? latexmk: jobname option and clean up incompatibility? I'm using  in a Makefile to compile my document. Since I want my output filename to be different from the input filename, I use latexmk's option jobname.  The problem is: it seems to be incompatible with latexmk -c to clean temporary files.  Here's the specific entry in my Makefile:  these.pdf: header.tex $(OBJS)     latexmk                 \         -pdf                \         -pdflatex="$(TEX)"  \         -jobname="these"    \         -use-make $&lt;   Input files are header.tex containing the latex instruction header and other latex content files. The output files are these.{aux,bbl,bcf,...}. Then latexmk -c does not remove temporary files: .{aux,bbl,bcf,...} files. Interpretation of LASSO regression coefficients I'm currently working on building a predictive model for a binary outcome on a dataset with ~300 variables and 800 observations. I've read much on this site about the problems associated with stepwise regression and why not to use it.  I've been reading into LASSO regression and its ability for feature selection and have been successful in implementing it with the use of the "caret" package and "glmnet".   I am able to extract the coefficient of the model with the optimal lambda and alpha from "caret"; however, I'm unfamiliar with how to interpret the coefficients.    Are the LASSO coefficients interpreted in the same method as logistic regression? Would it be appropriate to use the features selected from LASSO in logistic regression?   EDIT  Interpretation of the coefficients, as in the exponentiated coefficients from the LASSO regression as the log odds for a 1 unit change in the coefficient while holding all other coefficients constant. Can't run my hello world in C How to convince stakeholders to invest in proper UX? I'm working on a web app with a team of 5, including me. One database administrator, one project manager, two programmers and me the front-end designer. This project is an internal reporting system.  Anyways, I've struggling a little bit with my team, the DBA and two programmers seem to control our meetings with what Data we are going to pull and the best way to work it into an object model.  And then look to me to design some pretty interface.  Truth is, we've never measured the objectives of this application and what strategy will best meet them from a front-end design/UX standpoint. We've done no wire frames, no planning of content, no planning of pages, no conversations on specific interface components, nothing like that. It seems my team is content with designing and building the entire UX/UI based on a couple of ideas we've spit-balled in meetings.  Forgive me if this sounds too much like a gripe, but I'm at a loss. How do I get my team to understand, we can't just throw the front-end together based on back-end data and the interface HAS to be well planned out and organized? How do I manage double-faced cards in Innistrad (MTG) tournament play? Are commands complete sentences? seems to indirectly ask the question, but the upvoted answer says &quot;the actual sentence is...&quot;. So my question is this: Are commands considered to be grammatically sound, complete sentences in the English language? Some examples:  Go. Add a note. Do work. How to prove that $\quad\displaystyle\frac{4^{n}}{\sqrt{4n}}&lt;\binom{2n}{n}&lt;\frac{4^{n}}{\sqrt{3n+1}}\quad$ for all $n$ &gt; 1 ?     Does anyone know any better elementary estimates?   Attempt.  We have $$\frac1{2^n}\binom{2n}{n}=\prod_{k=0}^{n-1}\frac{2n-k}{2(n-k)}=\prod_{k=0}^{n-1}\left(1+\frac{k}{2(n-k)}\right).$$ Then we have $$\left(1+\frac{k}{2(n-k)}\right)&gt;\sqrt{1+\frac{k}{n-k}}=\frac{\sqrt{n}}{\sqrt{n-k}}.$$ So maybe, for the lower bound, we have $$\frac{n^{\frac{n}{2}}}{\sqrt{n!}}=\prod_{k=0}^{n-1}\frac{\sqrt{n}}{\sqrt{n-k}}&gt;\frac{2^n}{\sqrt{4n}}.$$ By Stirling, $n!\approx \sqrt{2\pi n}\left(\frac{n}{e}\right)^n$, so the lhs becomes $$\frac{e^{\frac{n}{2}}}{(2\pi n)^{\frac14}},$$ but this isn't $&gt;\frac{2^n}{\sqrt{4n}}$. Prevent specific sites from being overrepresented in the hot questions list Some sites appear far more often in the hot questions list than other sites. I don't have any hard data on that, as that kind of data is just not publicly available, but I'm pretty sure my subjective impression on that is reasonably accurate.  Those sites don't appear more often because they are inherently more interesting, but because they have certain voting and answering patterns that favor them in the hot questions algorithm. I would argue that the goal of the hot questions list is to present questions from a large variety of SE sites to the whole network, and to show possibly interesting questions to users that would not have found them otherwise.   To achieve this goal, the spots in the hot questions list should be distributed among all SE sites. The algorithm should try to get a good sampling of all sites, and it should try to normalize the results for varying voting behaviour. At the moment, sites that intrinsically get more votes and more answers per question seem favored in the algorithm.  So I think one part of the algorithm should try to identify questions that get an unusally high amount of votes and views for that site, and give the smaller sites a chance this way.  I'm not sure on how exactly this weighting should be done, as a complete normalization would likely not work across the huge difference in scale for all the SE sites.  As a specific example that the current algorithm is broken I'll present . I don't think any site should occupy a third of the whole list.   Here's another instance where one site is overrepresented at the top of the list: How do you make numbered equations in latex? I would like to put in a code that automatically assigns a number to the equations in my documents preferably aligned on the right hand side.   How can I go about this?   \documentclass[a4paper,11pt]{article} %\documentclass[a4paper,11pt]{scrartcl} \usepackage{amsmath}  \usepackage[utf8]{inputenc}  \begin{document}  $$\ddot{\underline{\mathbf{r}}} = \frac{d{^2}\underline{\mathbf{r}}}{dt^2}= 0$$.  \end{document} Should we put the references in slides/poster when we already have them in paper? After reading this question about  and asking myself two questions about  and , I realize that these activities are for showing what you found, make the audience be attracted. If they need further explanation, they should read your paper, which has successfully defensed and proved that your work is validated. One important thing when you attempt to attract people is concentrate on the important, which means unnecessary things need to be trimmed. I think the reference is one of those. So, should we put the references in slides/poster when we already have them in paper? Why do you lose reputation for downvoting answers? I've just upgraded to Windows 10 from Windows 8.1 on my partitioned laptop that has Ubuntu 14.04 installed. Grub no longer appeared on boot so I ran boot-repair from an Ubuntu liveUSB. This didn't seem to have any effect. I've checked and secure boot is still disabled. Log from boot-repair:  So what's next?  Update: I've attempted to use chroot to update grub from my Ubuntu partition. update-grub runs successfully finding both linux and windows boot manager but the process still doesn't have any effect. grub-install complains that it cannot find EFI directory (but I have mounted everything correctly).  Update2: Just discovered that running efibootmgr after chroot into ubuntu shows ubuntu as not being in the boot order at all. I manually changed the order and rebooted to discover that the bootorder was reset. I run in windows: bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi But this has no effect either even after reporting 'Operation Successful'. Let's consider two statements: Zorn's lemma and theorem about existence of maximal ideals in commutative ring with $1$.  It's easy to prove that Zorn's lemma implies existence of maximal ideals.  I wonder if the converse proposition is true, i. e., does existence of maximal ideals implies Zorn's lemma? My approach was to construct a ring structure on an ordered set which satisfies Zorn's lemma condition such that existence of maximal ideal implies existence of maximal element in the set, but I didn't succeed. Cartoon in a world with magic stones wielded by four children which combine to become stronger, and can summon creatures Can you please help me find this animated show? There is a four member team with two boys and two girls. The boys can summon, with their stones, a rock golem (black wearing summoner) and a robot (orange wearing summoner). The two girls can summon something like a dragonfly (green wearing summoner, little girl) and the blue girl, I don't remember what she can summon.  I don't know where the animated show comes from.  By throwing the stone, they activate the stone's power. Each stone has different characters on it. When you don't match them correctly, you get a rebound effect. Redshift and conformal time What is the relationship between redshift and conformal time ?   For example in a paper i found:   taking $z_e = 3234 $ at the time of radiaton-matter equality yields the conformal time $\frac{\eta_e}{\eta_0} = 0.007$ and taking $z_E=0.39$ at matter-$\Lambda$ equality yields $\frac{\eta_E}{\eta_0}=0.894$ and setting redshift at decoupling $z_d=1089$ yields $\frac{\eta_d}{\eta_0} = 0.0195$  where $\eta_0$ is the present decoupling time.  Further some cosmological parameters are given as :  $\Omega_r = 8.36 \times 10^{-5}, \Omega_m = \Omega_b + \Omega_{dm} = 0.044 +0.226, \Omega_\Lambda = 0.73,  H_0=0.72$  Now how can i calculate all those $\eta_e, \eta_E, \eta_d, \eta_0$ from given redshift values and/or above parameters ? I searched whole of my text books trying to find an explicit relation for conformal time $\eta$ but all i got was $ \mathrm{d}t=a(t)\mathrm{d}\eta$. Any help would be very helpful. BufferedWriter not writing everything to its output file Where will my bus be at the Port Authority Bus Terminal in New York? Why is a ConcurrentModificationException thrown and how to debug it The height of a string in a gravitational field in 2-dimensions is bounded by $h(x_0)=h(x_l)=0$ (nails in the wall)  and also $\int_0^l ds= l$. ($h(0)=h(l)=0$, if you take $h$ as a function of arc length) .  What shape does it take?  My try so far: minimise potential energy of the whole string,  $$J(x,h, \dot{h})=\int_0^l gh(x) \rho \frac{ds}{l}=\frac{g \rho }{l}\int_0^l h(x) \sqrt{1+\dot{h}^2} dx$$  With the constraint  $$\int_0^l \sqrt{1+\dot{h}^2} dx- l=0$$ If it helps, it's evident that $\dot{h}(\frac{l}{2})=0$.  Generally, this kind of equation is a case of a constrained variational problem, meaning that the integrand in  $$\int_0^l \frac{g \rho }{l}h(x) \sqrt{1+\dot{h}^2} +\lambda(\int_0^l \sqrt{1+\dot{h}^2} dx- l)dx$$  Must satisfy the Euler Lagrange equation. The constraint must also be satisfied.  But, in truth, by this point I am clueless. $\lambda$ is worked through $\nabla J  = \lambda \nabla(\int_0^l \sqrt{1+\dot{h}^2} dx- l)$. I have tried this , but get nonsensical answers.  Is this method the best? If so, in what ways am I going about it wrongly thusfar?