Given $n$, exist $k$ such that $2^k$ contains $n$ as string.
Starting digits of $2^n$.
What's the difference between TRUNCATE and DELETE in SQL What's the difference between TRUNCATE and DELETE in SQL?  If your answer is platform specific, please indicate that. Installing Ubuntu 13.04 on a MSATA SSD I am trying to install Ubuntu 13.04 on my 24Gb MSATA SSD. In my laptop, I've also got a 500Gb SATA HDD. I realize that in order for this to work I need to put my /home directory on the 500Gb HDD.   I've tried installing it by creating a ext4 partition on the SSD and a 8Gb swap partition on my HDD. This resulted in an error saying something similar to Cannot install bootloader, please select an other location for the bootloader.   Now before I waste any more time trying to get it to work I'm going to ask a bunch of questions:   Where should I put the swap partition? How big should I make the swap partition? (I've got 12Gb RAM) My 500Gb HDD is currently in Raid mode. Should I change that (to AHCI or IDE)? Where should I put the bootloader if the error message occurs again? How do I make the home directory point to the HDD instead of the SSD? Can I configure Ubuntu to install software/packages on the HDD instead of the SSD? How to Remove URLs from Google Search Engine Why can't I update my Nexus 4 to Lollipop? As I understand it, Android Lollipop (5.0) is now generally available over-the-air. My Nexus 4 briefly offered for an hour or two to install it. I said yes, and watched it start to download. When I next went to unlock my phone, it obviously wasn't installed. Now, when I go into the Settings app, and manually check for updates, it says my phone is up-to-date. It's still on Android 4.4.4.  I don't particularly want to install the developer image, as that'll wipe all the data from my phone. Is there any way I can encourage it to update?  I'm in the UK, if it's relevant. In a comment on this , someone said that they weren't sure what functools.wraps was doing. So, I'm asking this question so that there will be a record of it on StackOverflow for future reference: what does functools.wraps do, exactly? How do I tell which point-and-shoot cameras take good low light photos? I have a Canon Powershot A710 and I previously had a previous Powershot A-series model. I love them due to the high amount of control they offer. Sadly, they both suck in low light conditions, their flash is very unresponsive, and the camera takes several seconds preparing itself for the next shot after a flash shot. And even then, the pictures they take in low light/flash are as bad as good are those with good light.  I'd like a camera which gives a lot of control options, but what do I need to look for to find one that's great in low light, with or without flash? If $f(xy)=f(x)f(y)$ then show that $f(x) = x^t$ for some t Let  $f(xy) =f(x)f(y)$ for all $x,y\geq 0$. Show that $f(x) = x^p$ for some $p$.    I am not very experienced with proof. If we let $g(x)=\log (f(x))$ then this is the same as  $g(xy) = g(x) + g(y)$   I looked up the hint and it says let $g(x) = \log f(a^x) $   The wikipedia page for functional equations only states the form of the solutions without proof.  Attempt  Using the hint (which was like pulling a rabbit out of the hat)  Restricting the codomain $f:(0,+\infty)\rightarrow (0,+\infty)$ so that we can define the real function $g(x) =  \log f(a^x)$ and we have $$g(x+y) = g(x)+ g(y)$$   i.e $g(x) = xg(1)$ as $g(x)$ is continuous (assuming $f$ is).  Letting $\log_a f(a) = p$ we get $f(a^x) =a^p $. I do not have a rigorous argument but I think I can conclude that $f(x) = x^p$ (please fill any holes or unspecified assumptions) Different solutions are invited Some say that we can connect two points with a continuous curve and a small contractible neighborhood of the path together with the charts of the points can be regarded as the chart. But I don't know how to verify this statement. The Download CSV link seems broken in SEDE query result window I've created   which works nice. I would really like to download those results as an CSV file. Therefor I click on the provided link on the right hand side of the screen called Download CSV. The result is:  The webpage cannot be found  https://data.stackexchange.com/stackoverflow/csv/202355?UserId=187606 I expected: A file in CSV format. It looks like a regression of  Queries without a parameter work as advertised. Can this be fixed? "It was me" or "It was I" It was ... salted the earth around your flower deck.    I wrote the second form "It was me". I have chosen the most "appropriate" answer to this question as somebody who is learning English.  This decision was made on a phonetic basis so it's for sure I made a mistake.   Surely you have a rational explanation to this exercise, maybe a grammar rule, or is it an English expression? I think every single one of us has experienced a dark dot in his/her sight when looking at a white surface such as a white ceiling, there's something in our eye that with a little focus we can see it, and when we move our eyes around, that thing floats around quickly in your sight. It's like a substance on eye's surface, I want to know what is it called. Hope I'm clear enough. In case of shell-builtins (eg type itself):  $ type type type is a shell builtin  $ which type &lt;Doesn't return anything since it's a shell builtin, silently exits&gt;   In case of commands (normally) (eg python):  $ type python python is /usr/bin/python  $ which python /usr/bin/python   In case of which (which is a command located at /usr/bin/which)  $ type which which is hashed (/usr/bin/which) $ which which /usr/bin/which   Why does type which say that which is hashed? What is the significance of which being hashed and what does it actually mean? What is meant by "object serialization"? Can you please explain it with some examples? SSH in shell script with password I normally write using the American English forms, but for some particular words, I tend to naturally write it in the British manner (like with the word favourite rather than favorite).  Is it wrong to mix both styles? If not *wrong*, does it looks weird? How do I create silhouettes in a studio environment? The trick to creating silhouettes in the field, as far as I know, is to use spot-metering and to expose for the background. However, this is a bit more difficult in a studio environment. What is the key to creating "artificial" silhouettes?  One solution that I'm considering is placing a bright flash directly behind the subject - would that work? How to stop an animation in C# / WPF? I have something like this:   barProgress.BeginAnimation(RangeBase.ValueProperty, new DoubleAnimation(     barProgress.Value, dNextProgressValue,     new Duration(TimeSpan.FromSeconds(dDuration)));   Now, how would you stop that animation (the DoubleAnimation)? The reason I want to do this, is because I would like to start new animations (this seems to work, but it's hard to tell) and eventually stop the last animation... How to select the nth row in a SQL database table? "Similar questions" overlaps footer and has no background Is there a symbol for "unitless"?