Mail Quits unexpectedly every time it opens
Mail.app crashes constantly, even after deleting mail profile and cache
A friend asked me to help her with her old iPhone 4 (she has upgraded to a 7). When I turn it on, it says, "iPhone is disabled" and "connect to iTunes."  When I do so, iTunes reports that it is locked with a passcode, and that I need to type that in to continue. However, the iPhone does not display a keypad or allow any sort of input.  Apple suggests the only solution is a wipe, but this will lose all of her photos.  Can photos be retrieved (at a minimum) from a disabled iPhone 4? CSS: Special Fluid Layout Problems Find all natural numbers $n$ such that ${(n+1)}^{1/2}-{(n-1)}^{1/2}$ is rational Ruby block and unparenthesized arguments I extracted simple example:  require 'pp' x = 1..3 pp x.map do |i| {:value =&gt; i, :double =&gt; (i*2)} end pp x.map { |i| {:value =&gt; i, :double =&gt; (i*2)} }  pp(x.map do |i| {:value =&gt; i, :double =&gt; (i*2)} end) pp(x.map { |i| {:value =&gt; i, :double =&gt; (i*2)} })   I am wondering why first pp produces:  [1, 2, 3]   While all the oders are giving:  [{:value=&gt;1, :double=&gt;2}, {:value=&gt;2, :double=&gt;4}, {:value=&gt;3, :double=&gt;6}]   I assume it has something to do with operator precedence. Where can I find good explanation? When working with an image in Photoshop, I'd like to have a simple keyboard shortcut, like in , that automatically does:   Export > Export As or Export > Save For Web  Resize to biggest dimension = 600px (either width or height) Add suffix _600.jpg to filename   How to do that?  I'm not sure how to edit a recorded macro to do that (add the suffix and choose 600px for the biggest dimension).  Example: you open myphoto.png, you press F6 and then you automatically get myphoto_600.jpg. Intuitively it's easy, but hard to prove by the epsilon-delta method:  $$ \lim_{n \to \infty} n x^{n} = 0$$ How can I retrieve mp3 metadata in Python? Investment options for f1 visa students in USA Show all the file up to the match grep --before-context 5 shows 5 lines before the match.  I want to show everything before the match. Doing grep --before-context 99999999 would work but it is not very... professional.  How to show all the file up to the match? Convince grep to output all lines, not just those with matches Say I have the following file:  $ cat test  test line 1 test line 2 line without the search word another line without it test line 3 with two test words test line 4   By default, grep returns each line that contains the search term:  $ grep test test  test line 1 test line 2 test line 3 with two test words test line 4   Passing the --color parameter to grep will make it highlight the portion of the line that matches the search expression, but it still only returns lines that contain the expression. Is there a way to get grep to output every line in the source file, but highlight the matches?  My current terrible hack to accomplish this (at least on files that don't have 10000+ consecutive lines with no matches) is:  $ grep -B 9999 -A 9999 test test     If grep can't accomplish this, is there another command-line tool that offers the same functionality? I've fiddled with , but it doesn't seem to have an option for it either. How to cleanly launch a GUI app via the Terminal? I'm asked to show that $a^{61} \equiv a\pmod{1001}$ for every $a \in \mathbb{N}$. I've tried to tackle this using Fermat's Little Theorem and Euler's Theorem, but I can't even get started. My main problem seems to be the "for every $a \in \mathbb{N}$" part, because if it restricted $\gcd(a, 1001) = 1$ I would be able to factor out 1001 and try to show that it's factors divide $a^{61} - a$. I'm kinda lost here. Any help is appreciated. How can a distribution have infinite mean and variance? Abort Ajax requests using jQuery I am taking a course in Mathematical Methods for physicsPhysics (Junior Level).   We are working from   > Mathematical Methods for physicists, George B.Arfken .    I just need online resources covering ( Matrices, Determinants, Vector Analysis, Tensors and differential forms and Vector spaces...etc) to study and understand from. Remove border of top left table cell I'd like to have Ubuntu installed on a USB stick, that I could plug in (almost) any computer and boot from it, and that I could use (almost) normally, as if it was installed on that computer. I'd also like to have a data partition on it that could be used by (almost) any computer, mostly to store some portable apps, just in case.    I've been told that if I installed Ubuntu in BIOS mode, I wouldn't be able to boot from a computer in UEFI mode, and vice versa.  Since I'd like to be able to boot on any computer, it's a big problem.  What can I do to be able to boot on computers in BIOS or UEFI modes in my case?  I've been searching for solutions but most of them are for specific needs that are different than mine, so it's difficult to extract the minimum requirements from those solutions to apply them to my problem.  Is there a simple, "clean" and quite generic solution to this problem?  I'd appreciate some explainations about the reasons why a specific solution is good or a specific step is needed.    My current setup:   USB stick:  OS: Xubuntu 16.04 i386 installation: full install (from a Live USB built with Rufus) drivers: none proprietary file systems:    partition table:    2: , /boot/efi, 128 Mio, FAT32, [boot,esp] 3: , 128 Mio, HFS+ 4: , 2 Mio, [bios_grub] 5: swap, 512 Mio 6: , /, 24 Gio, ext4, defaults,errors=remount-ro,lazytime,commit=60 1: , /media/data, ~3.6 Gio, FAT32, defaults,lazytime,check=strict  RAM:   /tmp, tmpfs, defaults,nosuid,nodev,noexec,mode=1777   swap:    vm.swappiness=5 swap partition: 512 Mio, for emergency zRAM swap files:    /var/swap/hib.swp: same size as RAM, for hibernation, generated by a script at startup /var/swap/opt.swp: if needed, generated by a script   overprovisioning: ~5.6%   built-in: ~1.2 Gio (apparently) added: 512 Mio  scheduler: deadline Why is unity feedback used? What is the command that lets me see what and where devices are mounted?  I'm having trouble changing songs on my old iPod, and I have a feeling it's because of the mount point. A locally constant sheaf on a locally connected space is a covering space; Proof? As part of my hobby i'm learning about sheaves from Mac Lane and Moerdijk. I have a problem with Ch 2 Q 5, to the extent that i don't believe the claim to be proven is actually true, currently. Here is the question repeated:     A sheaf on a locally connected space $X$ is locally constant if each point $x \in X$ has a basis of open neighborhoods  $\mathcal{N}_x$ such that whenever $U,V \in \mathcal{N}_x$ with $U \subset V$, the restriction $\mathcal{F}V \rightarrow \mathcal{F}U$ is a bijection. Prove that $\mathcal{F}$ is locally constant iff the associated etale space over $X$ is a covering.   I don't have a problem (i think) showing the "covering" $\rightarrow$ "locally constant" direction of the implication. My problem is in the reverse direction. In fact, in the process of trying to solve this problem i think i have come up with a very simple counterexample.  Here's my attempt at a counterexample:  Let $X = \{a,b,c\}$ be  finite space with open subsets $\{\{\},\{a\},\{a,b\},\{a,b,c\}\}$. I claim this is hyper-connected and locally connected.  Let $\mathcal{F}$ be the sheaf with $\mathcal{F}(\{a,b,c\}) = \{q\}$, $\mathcal{F}(\{a,b\}) = \{r,s\}$, and $\mathcal{F}(\{a\}) = \{t\}$, where $r = q|_{\{a,b\}}$, and $t = q|_{\{a\}} = r|_{\{a\}} = s|_{\{a\}}$. I claim this defines a locally constant sheaf. Indeed we can have $\mathcal{N}_{a} = \{\{a\}\}$, $\mathcal{N}_{b} = \{\{a,b\}\}$, and $\mathcal{N}_c = \{\{a,b,c\}\}$.  Now we can calculate the corresponding etale space $p : E \rightarrow X$ as follows: $E = \{\dot{q}(a), \dot{q}(b), \dot{q}(c), \dot{s}(b)\}$, and has these four distinct elements since $\dot{q}(a) = \dot{r}(a) = \dot{s}(a) = \dot{t}(a)$, and $\dot{q}(b) = \dot{r}(b)$. The action of $p$ follows by construction.  However, $p$ does not appear to me to be a covering space. In particular, the only neighborhoods of $b \in X$ are $\{a,b\}$and $\{a,b,c\}$ and we have $p^{-1}(\{a,b\}) = \{\dot{q}(a),\dot{q}(b),\dot{s}(b)\}$ and this cannot be partitioned into homeomorphic images of $\{a,b\}$ because $2 \nmid 3$. Similarly, $p^{-1}(\{a,b,c\}) = \{\dot{q}(a), \dot{q}(b), \dot{q}(c), \dot{s}(b)\}$ and this cannot be partitioned into homeomorphic images of $\{a,b,c\}$ since $3 \nmid 4$.  So i think i have a locally constant sheaf on a locally connected space whose corresponding etale space is not a covering. What have i done wrong? I have seen the claim mentioned elsewhere so i'm convinced i'm wrong somewhere. Perhaps someone knows where a correct proof is published otherwise?