Remap: CTRL+P to be ArrowUp?
How do I remap a key in macOS Sierra, e.g., Right Alt to Right Control?
If "I'm thinking" is correct, why isn't "I'm knowing" correct in formal English?  think+ing = thinking is correct know+ing  = knowing isn't correct   Why? Why don't self-closing script elements work? Using something like this:  try:    # Something... except Exception as excep:    logger = logging.getLogger("component")    logger.warning("something raised an exception: " + excep)    logger.info("something raised an exception: " + excep)   I would rather not have it on the error-level cause in my special case it is not an error. Does the MacBook battery cycle count reset when replacing a battery I've been  on battery cycle counts and checked out my current count on my MacBook (13-inch, Aluminum, Late 2008) - recommended maximum cycle count is 500.  I've had this laptop now for over 4 years and at the 2 year mark I had the battery replaced by AppleCare. The first time I checked out the cycle count was today and it's currently on 1004. Now my question is, is this the cycle count of the battery since I replaced it (as in, it reads the cycle count from the battery), or is it the combined cycle count (as in, it stores the count somewhere and increments occasionally)? My assumption is that it's the count of that battery but I have no idea how to verify this.  Either way, it looks like I need a new battery ;) How to fix apt: Signature by key uses weak digest algorithm (SHA1)? I am applying for a UK visa. Can I show 5 months worth of bank statements for the UK visa, or is 6 months a requirement, as its not mentioned on their website?  There are no appointment dates showing in April. Is there any time limit in which we have to book an appointment after paying the fee? Is it acceptable to say "We'll get back to you as quick as we can"? Is "quick" a flat adverb in this case? indefinite article before proper names Kafka, discovered in the 1920s by the Expressionists, damned by the Nazis in the 1930s and by the Marxists at more or less the same time, was reinvented after World War II by the French Existentialists. They saw in him the father of Angst and the Angst for the father: an Albert Camus before his time.   Can you tell me what the purpose of using the indefinite article before the proper name is in the sentence above. What it be a mistake to write just "Albert Camus" without the article? Has the Magical Community breached the Final Frontier? (aka Wizards in Space?) Have they? Given that Muggles put the first man in space in 1961, even by 1991 a lot of Muggleborns perfectly aware of the space-travel would have passed through Hogwarts and into the Ministry, even the Department of Mysteries (which seems to be a bit like their research division/Area 51 combo) And even leaving Muggle technology (which Wizards don't care for or about) aside, Humans have wondered about air travel to &quot;other worlds&quot; and meeting aliens from the time of the Ancient Greeks, surely some Witch or Wizard somewhere might have wondered if it really was possible to fly to the moon? So, is there any canon (aka Books + Pottermore + Rowling interviews) evidence of the Wizarding community having ever travelled or trying to travel to space / other planets or satellites? ETA: Note, I am also totally okay (and in fact would be eager for) historical &quot;Famous Wizard&quot; card-like tidbits from canon-sources.  AWESOME example (that I'm frankly not expecting): When the Muggles managed to land on the Moon, the Department of Mysteries had to scramble to hide the Silver-backed Moon Dragon conservatory they had been maintaining near the landing site. ALSO AWESOME example (that I am hoping for): Warlock Flibberti and Witch Tigget misused this earth-based spell and amusingly found themselves on the moon with their pet monkey instead! Should you gain rep for asking a duplicate question? Compute $P(X_1+\cdots+X_k\lt 1)$ for $(X_i)$ i.i.d. uniform on $(0,1)$ Consider $N=\min\{n: S_n&gt;1\}$, where $S_n=X_1+\cdots+X_n$ and $(X_i)_{i=1}^\infty$ is i.i.d. uniform on $(0,1)$. So, $N$ is the first time that $(S_n)_{n=1}^\infty$ crosses $1$. I'd like to calculate $E(N)$. To this end I'd like to calculate $\Pr(N\gt k)=\Pr(S_k\lt 1)$.  Is there a way to actually do this for any arbitrary $k$? I mean, certainly there is as I know about the distribution of $S_n$ but the formula is just formidable when you move with $k$ toward $\infty$ and even though tractable with a computer, I don't think it's tractable without it.  Is there maybe a better way to calculate the expectation? Thanks for any help. In addition to whatever files I may choose to exclude, what files does the system exclude by rule or classification?    It might make sense not to backup Trash or Caches, but I'm looking for a way to tell what files are skipped "behind the scenes." Knowing if the system maintains an exclusion list or exclusion pattern would be very helpful in managing larger groups of macs. How to find the mime type of a file in python? Is there any way to get a specific angle using the knife tool? Instead of the constrained 45 degrees that happens when you press C, is there a specific angle I can get for example 35 degrees instead?   It's currently cut at 45 degrees in the attached image and I need it to be 35. every rank 2 oriented matroid is realizable Norms Induced by Inner Products and the Parallelogram Law Attributive nouns vs. of-genitive I would be very grateful for some advice on how to decide whether to use an attributive noun or the "of genitive" (periphrastic genitive).  It seems to me that an attributive noun is generally preferable, except when it leads to ambiguity, often due to the combination of several modifiers with mixed dependent relationships.  Additionally, the of-genitive, when used stand-alone, seems to impart a more formal tone, a higher register.  Simple examples (preferred first, less-preferred second):  The department secretary vs. the secretary of the department.  But:  The excellent secretary of the department vs. the excellent department secretary.  Any additional guidelines would be most welcome. What are the differences between git pull and git fetch? I have an equation like this:     \begin{align}       P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega)       = P(A) + P(B)     \end{align}   For some reason, LaTeX is automatically labeling the equation. How do I turn that off? Secondly how do I write something in LaTeX on this site. I tried enclosing in '$' but it doesn't work. Catch multiple exceptions at once?