I've encrypted my sd csrd on my old phone. This has since broken and wont turn on. I upgraded to a samsung s9 and put my sd card in. It wont let me decrypt the sd cre through any password or pin an tells me to decrypt it on my old phone first before being able to use it on my new phone. Help please
I have a Samsung Galaxy S5 duos with stock Android Marshmallow, and I'm considering encrypting my SD card to prevent access to its contents in case I lose my phone. The main reason of not doing this is that I'm not sure if there's a way to mount an encrypted SD card on Windows (or other desktop OS's)   When I encrypt the SD card on my Samsung Galaxy S5, is it using a known implementation of encryption, or is it something that only works on Android (or perhaps Samsung) phones?   I do not want to use USB connection to my phone to access my SD card, it's terrible. Mounting the SD card is much easier and faster and less annoying.   EDIT: just to clarify, I am NOT talking about adoptable storage. I want a portable encrypted SD card that can both be read on PCs and Android phones (i.e. I want to be able to remove the SD card from my phone, plug it into my PC, provide a password to decrypt and read/write it like any other SD card)
VBA array sort function? I'm looking for a decent sort implementation for arrays in VBA. A Quicksort would be preferred. Or any other  other than bubble or merge would suffice.  Please note that this is to work with MS Project 2003, so should avoid any of the Excel native functions and anything .net related. My proof is very different from my reference, hence I am wondering is I got this right?  Apparently, $F$ is continuous, and the identity matrix is closed. Now we want to show that the preimage of continuous function on closed set is closed.  Let $D$ be a closed set, Consider a sequence $x_n \to x_0$ in which $x_n \in f^{-1}(D)$, and we will show that $x_0 \in f^{-1}(D)$.  Since $f$ is continuous, we have a convergent sequence $$\lim_{n\to \infty} f(x_n) = f(x_0) = y.$$  But we know $y$ is in the range, hence, $x_0$ is in the domain. So the preimage is also closed since it contains all the limit points.  Thank you. Proof of an inequality by induction: $(1 + x_1)(1 + x_2)...(1 + x_n) \ge 1 + x_1 + x_2 + ... + x_n$ I would like to know how many switch can be stacked with fiber channel to get a best transfer rate between computers.  I have 200 computers connected to 12 3Com switches. All switches have two fiber ports.  Is the best way to have fiber backbone switch and connect fiber channel from every switch to the backbone? Or connect switch 1 to switch 2 to switch 3 to ... switch 12 to switch 1 again?  Thanks! There's vs There are For example:     There's two options here   or     There are two options here   I hear a lot of people say the first line (or something similar), but isn't that incorrect? Isn't it plural and therefore you should use "there are"? How to install the previous version of a .deb package and pin it? I am trying to install the latest version of subversion on Sid, and because it has a bug I receive a warning and I abort the installation. How do I get to locate the previous version version, install it and pin until the bug is resolved?  root@server01:~# apt-get install subversion   Reading package lists... Done                                                                                                                                                                                  Building dependency tree                                                                                                                                                                                       Reading state information... Done                                                                                                                                                                              Suggested packages:                                                                                                                                                                                              db5.3-util subversion-tools                                                                                                                                                                                  The following NEW packages will be installed:                                                                                                                                                                    subversion                                                                                                                                                                                                   0 upgraded, 1 newly installed, 0 to remove and 205 not upgraded.                                                                                                                                               Need to get 0 B/981 kB of archives.                                                                                                                                                                            After this operation, 4,844 kB of additional disk space will be used.                                                                                                                                          Retrieving bug reports... Done                                                                                                                                                                                 Parsing Found/Fixed information... Done                                                                                                                                                                        critical bugs of subversion (-&gt; 1.9.2-2) &lt;Outstanding&gt;                                                                                                                                                          b1 - #803725 - subversion: dump-load of a repository modifies verbose log output: M line lost serious bugs of subversion (-&gt; 1.9.2-2) &lt;Outstanding&gt;  b2 - #803589 - FTBFS with ruby2.2 (only) Summary:  subversion(2 bugs) Are you sure you want to install/upgrade the above packages? [Y/n/?/...] n ********************************************************************** ****** Exiting with an error in order to stop the installation. ****** ********************************************************************** E: Sub-process /usr/sbin/apt-listbugs apt returned an error code (10) E: Failure running script /usr/sbin/apt-listbugs apt Annoying FrontEnd bugs in Mathematica 10 How to change Function (Fn) Key behavior on wireless Logitech keyboard How to split one string into multiple strings separated by at least one space in bash shell? How to make text aligned left/center/right in the same line? Proof that the coefficients in an OLS model follow a t-distribution with (n-k) degrees of freedom Background  Suppose we have an Ordinary Least Squares model where we have $k$ coefficients in our regression model, $$\mathbf{y}=\mathbf{X}\mathbf{\beta} + \mathbf{\epsilon}$$  where $\mathbf{\beta}$ is an $(k\times1)$ vector of coefficients, $\mathbf{X}$ is the design matrix defined by  $$\mathbf{X} = \begin{pmatrix} 1 &amp; x_{11} &amp; x_{12} &amp; \dots &amp; x_{1\;(k-1)} \\ 1 &amp; x_{21} &amp; \dots  &amp;       &amp;   \vdots \\ \vdots &amp;   &amp; \ddots &amp;       &amp;   \vdots \\ 1 &amp; x_{n1} &amp; \dots  &amp; \dots &amp;   x_{n\;(k-1)}     \end{pmatrix}$$ and the errors are IID normal,  $$\mathbf{\epsilon} \sim \mathcal{N}\left(\mathbf{0},\sigma^2 \mathbf{I}\right) \;.$$  We minimize the sum-of-squared-errors by setting our estimates for $\mathbf{\beta}$ to be $$\mathbf{\hat{\beta}}= (\mathbf{X^T X})^{-1}\mathbf{X}^T \mathbf{y}\;. $$   An unbiased estimator of $\sigma^2$ is  $$s^2 = \frac{\left\Vert \mathbf{y}-\mathbf{\hat{y}}\right\Vert ^2}{n-p}$$ where $\mathbf{\hat{y}} \equiv \mathbf{X} \mathbf{\hat{\beta}}$ ().   The covariance of $\mathbf{\hat{\beta}}$ is given by $$\operatorname{Cov}\left(\mathbf{\hat{\beta}}\right) = \sigma^2 \mathbf{C}$$ where $\mathbf{C}\equiv(\mathbf{X}^T\mathbf{X})^{-1}$ () .  Question  How can I prove that for $\hat\beta_i$, $$\frac{\hat{\beta}_i - \beta_i} {s_{\hat{\beta}_i}} \sim t_{n-k}$$ where $t_{n-k}$ is a t-distribution with $(n-k)$ degrees of freedom, and the standard error of $\hat{\beta}_i$ is estimated by $s_{\hat{\beta}_i} = s\sqrt{c_{ii}}$.    My attempts  I know that for $n$ random variables sampled from $x\sim\mathcal{N}\left(\mu, \sigma^2\right)$, you can show that  $$\frac{\bar{x}-\mu}{s/\sqrt{n}} \sim t_{n-1} $$ by rewriting the LHS as $$\frac{ \left(\frac{\bar x - \mu}{\sigma/\sqrt{n}}\right)  }   {\sqrt{s^2/\sigma^2}}$$ and realizing that the numertor is a standard normal distribution, and the denominator is square root of a Chi-square distribution with df=(n-1) and divided by (n-1) ().  And therefore it follows a t-distribution with df=(n-1) ().  I was unable to extend this proof to my question...  Any ideas?  I'm aware of , but they don't explicitly prove it, they just give a rule of thumb, saying "each predictor costs you a degree of freedom". MySQL Database User: Which Privileges are needed? The short installation instruction for WordPress () state that:     Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.   While setting up a new blog professionally I was wondering how that maps to what the MySQL database user privileges/permissions configuration offers me:   Data: SELECT, INSERT, UPDATE, DELETE Definition: CREATE, ALTER, DROP Extra: INDEX More:  LOCK TABLES REFERENCES CREATE TEMPORARY TABLES CREATE VIEW SHOW VIEW CREATE ROUTINE EXECUTE ALTER ROUTINE    I'm pretty sure for the first three groups, I named them Data, Definition and Extra here. But what about the others below the More entry? Normally I would say, those are not needed, but I would like to get a second opinion. Why does no physical energy-momentum tensor exist for the gravitational field? I asked a question regarding a very specific feature of a program and whether or not it works with a larger program.  Within hours someone had marked it with "This question may already have an answer here of a similar question, but not related to my question.  The question I asked IS NOT ADDRESSED in the referred-to question. It's frustrating to spend half an hour putting together an intelligent and specific question, and then have someone mark it as a duplicate (or possible duplicate), which apparently causes people to skip over my question. I haven't received any more responses since the question was flagged.   Two questions:  (1) How do I get this flagging removed and (2) what's the best way to prevent these "helpful" flaggings in the future? Why does `md5sum` not give the same hash as the Internet does? I want to find the md5 hash of the string "a", but running echo "a" | md5sum gives me another hash than what I get if I search the internet (for example using  or ).  Running echo "a" | md5sum gives me "60b725f10c9c85c70d97880dfe8191b3", but it should be "0cc175b9c0f1b6a831c399e269772661".  If I make a reverse hash lookup for "60b725f10c9c85c70d97880dfe8191b3", I do however get "a". What happens when a caster targets an object that looks like a creature with a spell that targets only creatures? There are many spells which explicitly target creatures:     Choose one creature within range   The target creature is normally supposed to make a saving throw in this case.  What happens when the caster chooses a creature, that is actually an object? For instance, a scarecrow, a mannequin, an illusion, or a corpse.  Examples:   An evil mage is hiding in the bushes. He casts an illusion of himself on the road, using the Silent Image spell. A PC sorcerer walks down the road, sees the illusion and casts Magic Missile on it. A cleric is standing near a pile of dead bodies. He has suspicions that a few corpses are actually undead creatures. He casts Sacred Flame on every corpse, see which if them succeed, hence, reveals the undead. A wizard casts Acid Splash on a mannequin, trying to damage it with acid.   Possible outcomes I can think of are:   The caster cannot even try to cast the spell, regardless of their information about what the target actually is. The caster tries to cast the spell, the casting fails, not expending the spell slot. The caster casts the spell, it expends the spell slot, then fails. The caster casts the spell, but it hits the original and not the illusion. The caster casts the spell, it flies to the target illusion but deals no damage to it (passes through it).   References in the rules and Sage advice  I was trying to investigate, but it didn't make things clearer:    has an answer, that Magic Missile won't hit. It says nothing about if it can be targeted at all, it leaves it up to the DM. Magic Missile automatically finds the original, even when the caster targets an illusion. At least . Now . This supports the counter-intuitive option 4.   on the other hand   , if there were no perceivable effects (let's say you can try to cast the Command spell on an illusion). That assumes that casters can waste their spells on illusion, which means they at least can target it. This supports options 3 and 5. The cube of any number not a multiple of $7$, will equal one more or one less than a multiple of $7$ Yeah so I'm kind of stuck on this problem, and I have two questions.   Is there a way to define a number mathematically so that it cannot be a multiple of $7$? I know $7k+1,\ 7k+2,\ 7k+3,\ \cdots$, but that will take ages to prove for each case.  Is this a proof? $$(7k + a)^3 \equiv (0\cdot k + a)^3 \equiv a^3 \bmod 7$$    Thank you. Hubble's constant $a(t)$ appears to be changing over time. The fine stucture constant $\alpha$, like many others in QFT, is a running constant that varies, proportional to energy being used to measure it. Therefore, it could be agued that all running constants have 'evolved' over time as the Universe has expanded and cooled. Both the local and global curvature of the Universe changes over time implying that so too does the numerical value of $\pi$. All these things are however constants (well, let's say parameters since they are not really 'constant'.)   In  with astronomer Sir Fred Hoyle, Feynman said "what today, do we not consider to be part of physics, that may ultimately become part of physics?" He then goes on to say "..it's interesting that in many other sciences there's a historical question, like in geology - the question how did the Earth evolve into the present condition? In biology - how did the various species evolve to get to be the way they are? But the one field that hasn't admitted any evolutionary question - is physics."  So have the laws of physics remained form-invariant over the liftetime of the Universe? Does the recent understanding of the aforementioned not-so-constant constants somehow filter into the actual form of the equations being used? Has advances in astronomical observations, enabling us to peer back in time as far back as the CMB, given us any evidence to suggest that the laws of nature have evolved? If Feynman thinks that "It might turn out that they're not the same all the time and that there is a historical, evolutionary question." then this is surely a question worth asking.  NB/ To be clear: this is a question concerning purely physics, whether the equations therein change as the Universe ages, and whether there is any observational evidence for this. It is not intended as an oportunity for a philosophical discussion. Is cross-posting a question on multiple Stack Exchange sites permitted if the question is on-topic for each site? It is possible to migrate a question from one Stack Exchange site to another by closing, but if I have a question that I think is on-topic for multiple Stack Exchange sites, is it OK to post it on both (multipost)?   For example, I have a question that's earned me the tumbleweed badge on SO and I'm not sure what the best thing to do with it is. It's about a web server so it might be answerable on Server Fault but it's really more of a programming thing, hence the posting the question on Stack Overflow.    Is there any way to make the question visible on multiple sites (crosspost) and then accept the answer wherever it came from? grouped bar chart with pgfplots