I have a brand new iPhone SE, literally opened it two days ago, and for some reason my apps won't download or update? I do not have any paused downloads, and I made sure my iTunes works without internet, and I really do NOT want to restore my iPhone to factory settings, what should I do?
I'm using iPhone 6s 16 GB. My storage isn't full but still I can't download anything. Every time I wanted to start a download it keeps telling:  app name* could not be download at this time
Way to go from recursion to iteration I've used recursion quite a lot on my many years of programming to solve simple problems, but I'm fully aware that sometimes you need iteration due to memory/speed problems.  So, sometime in the very far past I went to try and find if there existed any "pattern" or text-book way of transforming a common recursion approach to iteration and found nothing. Or at least nothing that I can remember it would help.   Are there general rules? Is there a "pattern"? Mid-1980s animated theatrical release Though at the time I saw it I did not know it, this would be called "anime" today. It was in English, and I don't remember if the characters lips matched the audio track. I couldn't have been older than about 3rd grade, so that puts it around 1985ish I believe.  It was released theatrically in the United States, I do not know if it was a limited release. I saw it in Cincinnati, Ohio. No idea what movie theater chain.  The story was rather typical, young man who goes on the hero's journey. Definitely science fiction elements (flying vehicles, maybe spaceships). He comes across or is given a sword hilt without a blade. He learns to use it, and when he does it acts as if the blade is there. At the finale, he has lost the hilt entirely and, thinking that he has lost, almost gives up. But a (voice in his head, his mentor, can't remember what) something tells him to try despite this, and it's as if he has the sword even without the hilt. He then triumphs.  Can anyone identify this movie? Why is the harmonic oscillator so important? I've been wondering what makes the  such an important model. What I came up with:   It is a (relatively) simple system, making it a perfect example for physics students to learn principles of classical and quantum mechanics. The harmonic oscillator potential can be used as a model to approximate many physical phenomena quite well.   The first point is sort of meaningless though, I think the real reason is my second point. I'm looking for some materials to read about the different applications of the HO in different areas of physics. Calculating lat/lons from PostGIS table which has projected coordinate system? I have a PostGIS table in a projected coordinate system (EPSG: 28355 or MGA94 Zone 55). In QGIS (with the PostGIS manager plugin) I calculate a coordinate by performing the following SQL:  UPDATE gisprod.buildings SET easting = x(centroid(the_geom))    Now I want to add a "lat" and "lon" field to this table and calculate the values using the appropriate coordinate system, in this case that would be (EPSG:4283 or GDA94).   Is there a way I can specify in the SQL statement to calculate the x/y coord using a different coordinate system? I can't run Cisco packet tracer 7.1 on Ubuntu I have downloaded and extracted the packet tracer file, then I used this command as root  chmod +x install   then I ran (as root)  ./install    Then I used this command   ./set_ptenv.sh   but whenever I run this command   packettracer    it just doesn't start Javascript multiple replace Excel: I need a formula that will count months between two dates. If it's 1-15 it should be a half month. Any ideas? So I am trying to find a formula for excel. Bascically I have two dates and I need to know the number of months between them. But to add complexity, I need a rule in there that if the earlier date is the 1st to 15th it will be a whole month but if it is 16th to end of the month it will be a half month.  For example: Date 1: April 4, 2012 Date 2: December 31, 2012 Answer: Number of months would be 9 months  If Date 1 was April 16, 2012, with the same Date 2 of December 31, 2012, then the number of months would equal 8.5.  Can anyone help me with this one? You help would be greatly appreciated. many thanks What Lagrangian counterterms might be needed in a $\phi^ 6$ theory in 3D? I've been working a bash script to automate the process of opening and closing an LVM over LUKS external hard drive. However I continue to receive errors on line 28:   $(vgchange -a n ; cryptsetup luksClose vol)   The error I receive:  $ sudo ./encryption.sh -l Locking System.............. ./encryption.sh: line 28: 0: command not found System Locked!   Here is the rest of the code for reference:  if [ $1 = -u ] ; then     $(cryptsetup luksOpen /dev/sdb2 vol)     echo "Unlocking.................." | pv -qL 10     $(mount /dev/mapper/vol-lvroot /mnt ; mount /dev/mapper/vol-lvvar /mnt/var ; mount /dev/mapper/vol-lvhome /mnt/home ; mount /dev/sdb1 /mnt/boot)     echo "System Mounted!" | pv -qL 10 #   exit 0 fi  if [ $1 = -l ] ; then     $(umount /mnt/var ; umount /mnt/home ; umount /mnt/boot ; umount /mnt/)     echo "Locking System.............." | pv -qL 10     $(vgchange -a n ; cryptsetup luksClose vol)     echo "System Locked!" | pv -qL 10     exit 0 fi   Other information:   I receive no apparent error when running the command in question by itself interactively. I'm new to writing bash, so any recommendations and constructive criticism is appreciated. The process appears to complete successfully, but I don't understand the error or how to make them go away. Upon further research when running the troubled code alone in interactive mode it does provide output after being executed.   This is given after posting the troubled code interactively.   0 logical volume(s) in volume group "vol" now active Is there a systematic way to obtain all conserved quantities of a system? What does: Error Broken count >0 mean? How to recognise/thank great cabin crew? Those of us who fly a lot will know that there is a bit of a variety in cabin crew. Some (sadly more common on certain airlines) do the very bare minimum to ensure a safe flight, but nothing more. Many (especially on airlines noted for good customer service) provide a good service.  Every so often though, you come across a flight crew who go the extra mile. These are the ones always friendly, always helpful, always thinking ahead and solving the problem before it has happened. One moment they're serving you your drink, the next reassuring a little old lady about the flight, the next magicing a colouring book to turn an impending toddler crisis into a happy small child, then answering queries on arrivals and immigration for a first time travaller, then back to offer you a top up of what you're drinking (which they've remembered exactly). Not very often found, but very much appreciated when you happen across them on your travels!  In the case when you do luck out and find yourself on a flight with a great cabin crew (who go well beyond what you normally experience as "good" on that airline/kind of airline), is there a standard/common way to recognise them at the end of the flight? Not just to thank them then and there, but also to let the airline know that this person/group are what the rest of their staff should be aspiring to. Is there any standard way, or does it vary entirely by carrier? How do I expire a PHP session after 30 minutes? I need to keep a session alive for 30 minutes and then destroy it. When to use LinkedList over ArrayList in Java? How to delay or slowly loop commands? I'd like to put some shared Javascript to Resource file to reuse it between several components. This Javascript is general purpose set of utility functions. However, functions from my resource file are not available from the Components. Static resource (named TestScript):  function helloWorld() {      return 42; }   Component:  &lt;ltng:require scripts="{!$Resource.TestScript}" &lt;ui:button label="Do job" press="{!c.doJob}"/&gt;   Controller:  doJob: function(cmp, event, helper) {      var i = helloWorld();      // failed with Uncaught ReferenceError: helloWorld is not defined }   I don't like to use  &lt;ltng:require scripts="{!$Resource.***resourceName***}" afterScriptsLoaded="{!c.afterScriptsLoaded}" /&gt;   because my static resource is a set of functions and I'd like just use them as functions later in my controllers. How can I achieve that (if possible)? If not, what's the suggested solution? Add-on for blocking sites in Google Search I want to block Yahoo Answers from Google searches. As there is no option from Google for that, are there any extensions for Chrome or add-ons for Firefox that can block sub-domain results from Google search? What can you say about the range space and null space Let $V$ be a vector space over a field $F$ and $T$ a linear operator on $V$. If $T^2$$=$ $0$, what can you say about the relation of the range of $T$ to the null space of $T$? Assume $x$ doesn't occur free in $\alpha$, show that: $$\vdash (\forall x \beta \to \alpha) \leftrightarrow \exists x (\beta \to \alpha)$$   This is an exercise on page 130, A Mathematical Introduction to Logic, Herbert B. Enderton（2ed).   Here's my attempt: For the '$\to$' direction, since $x$ doesn't occur free in $\alpha$, we have $α→∀x α$ and $\forall x \alpha \to \alpha$ as logical axiom(In the second formula, we have$\alpha_x^x = \alpha$). Thus it suffice to show $\vdash (\forall x \beta \to \forall x \alpha) \rightarrow \exists x (\beta \to \alpha)$. By logical axiom $∀ x(α→β)→( ∀ x α→∀x β)$, it would suffice to show $\vdash \forall x (\beta \to   \alpha) \rightarrow (\exists x (\beta \to \alpha))$. It has been shown in a previous exercise that there's a deduction $∀ x ϕ→∃x ϕ$, so we are done for the "$\to$" part.  The problem for me is how to show the "$\leftarrow$" direction.  Added: Here's logical axioms that we can employ:         Tautologies(in the sense of propositional logic);   $∀ x α →α^x_ t $, where $t$ is substitutable for $x$ in $α$ ($α^x_ t$ is the formula derived from $\alpha$ by replacing $x$ by a term $t$);   $∀ x(α→β)→( ∀ x α→∀x β)$;   $α→∀x α$, where $x$ does not occur free in $α$.      Besides, generalization theorem and deduction principle can be utilized:     If $\Gamma \vdash ϕ$ and $x$ do not occur free in any   formula in$\Gamma$, then$\Gamma \vdash ∀ x ϕ$.      If $\Gamma ; γ \vdash ϕ,$ then $\Gamma \vdash  γ \to ϕ$. How to write 1, 2, ... as a subscript to a letter?