The only options on the location privacy prompt are 'Allow' or 'Don't Allow', with a 'Remember my decision for one day' modifier checkbox as well. But what if there's a site that I trust in perpetuity? I want to give it permission to access my location forever. Why can't I do that?  Safari 8.0 on Mac OS X 10.10 Yosemite
In iOS, I only need to be asked once whether I want to allow a website to share my location data. Is it possible to permanently do this in OS X version of Safari as well?
Calculation of subgroups of $(Z_{12}, +)$ How calculate all subgroups of $(Z_{12}, +)$?  I know that the order of subgroups divide the order of the group, but there is such a smart way to calculate the subgroups of order 6? Cancelling special & general relativistic effects We know that for a GPS we need to make a correction for both general and special relativity: general relativity predicts that clocks go slower in a higher gravitational field (the clock aboard a GPS satellite moves faster than a clock down on Earth), while special Relativity predicts that a moving clock is slower than the stationary one (slow the clock compared to the one down on Earth).  My question is this: is it possible, in theory, to set up an orbit so that these two effects cancel each other out, allowing a clock on board a GPS satellite to tick as if it were on Earth? Is there a distance at which the special and general effects cancel?  Sorry if this is a stupid question - I'm still not entirely confident with the theory of general relativity. $\lim_{n\to\infty}a_nb_n=? $ given that $\lim_{n\to\infty}a_n=0$ and $\lim_{n\to\infty}b_n=\infty$ A. $\lim_{n\to\infty}a_nb_n=?$ given that $\lim_{n\to\infty}a_n=0$ and $ \lim_{n\to\infty}b_n=\infty$  B. $\lim_{n\to\infty}{a_n \over b_n}=?$ given that $\lim_{n\to\infty}a_n=0$ and $\lim_{n\to\infty}b_n=0$  C. $\lim_{n\to\infty}{a_n \over b_n}=?$ given that $\lim_{n\to\infty}a_n=\infty$ and $\lim_{n\to\infty}b_n= \infty$    These seem to be difficult situations I come across when I have to evaluate limits.   Some examples,    $\lim_{n\to\infty}n^a\sin(1/n^b)$ with $a,b&gt;1$   $\lim_{n\to\infty}{n^a\over \sin(1/n^b)}$ with $a,b&gt;1$   $\lim_{n\to\infty}{1/n^a\over \sin(1/n^b)}$ with $a,b&gt;1$   $\lim_{n\to\infty} nf(x_n)$ [where we only know that $\lim \ f(x_n) = 0]$    My first question is : Are the two situations  A and B  equivalent ? I feel that they are equivalent as $\lim_{n\to\infty}b_n=\infty \iff \lim_{n\to\infty}{1\over b_n}=0$, The problem is that I'm not sure if we can apply the product rule for limits to take the limit inside.  My second question is : What are some ways to solve such problems ? I only know that we can apply stolz- cesaro in some cases. How can I replace a string in a file(s)? Replacing strings in files based on certain search criteria is a very common task. How can I    replace string foo with bar in all files in the current directory? do the same recursively for sub directories? replace only if the file name matches another string? replace only if the string is found in a certain context? replace if the string is on a certain line number? replace multiple strings with the same replacement replace multiple strings with different replacements Inequality similar to the Schwarz-Pick theorem I am trying to put a server together to install Ubuntu. I bought an Intel S1200v3RPS motherboard and plugged an Intel Xeon E3 processor into it. I purchased a 1U chassis from Supermicro with a power supply.  The power supply does not have a 5-pin cable to the motherboard's Auxiliary Power Supply socket. A bit of research did not give any definite answer on the need for the 5-pin connection. The motherboard does not power on and the CPU fan is off. I tested the power supply on a desktop Intel motherboard and it works fine.   I would like to buy a new power supply but could not find one which expressly stated that it comes with the 5-pin aux power supply cable. Any recommendations on a power supply unit for this motherboard would be helpful. Any comments on the problem would be greatly appreciated. Which word to use when we ask for help?  Some conditions:     We know that the person asked is able to do it. We don't know if the person asked is able to do it. Can CBC ciphertext be decrypted if the key is known, but the IV not? Texture Channel animated, doesn't appear in viewport Is gcc 4.8 or earlier buggy about regular expressions? How can I get dramatic shallow DOF with a kit lens? What is the difference when you say "get off of something" and "get off something"? I've already installed Steam, but when I click on the program I get this message  ERROR- You are missing the following 32-bit libraries, and Steam may not run: not   I don't know what to install or even do. Is stopwatch benchmarking acceptable? Does anyone ever use stopwatch benchmarking, or should a performance tool always be used?  Are there any good free tools available for Java?  What tools do you use?  To clarify my concerns, stopwatch benchmarking is subject to error due to operating system scheduling.  On a given run of your program the OS might schedule another process (or several) in the middle of the function you're timing.  In Java, things are even a little bit worse if you're trying to time a threaded application, as the JVM scheduler throws even a little bit more randomness into the mix.  How do you address operating system scheduling when benchmarking? I want to transfer my current system hard drive to a larger hard drive. Doing so, I thought of creating an image of my system hard drive which is 320 GB in size.   Would I be able to restore this image on a larger hard drive? I plan buying a 1TB hard drive.  If yes, how? I prefer no data loss.  I am using Windows 7 I need to include code in the appendix of my thesis. The code contains comments and the compilation instantly breaks returning:  Unicode char �\lst@FillFixed@ (U+5A8) (inputenc)                not set up for use with LaTeX. l.160       if (lastArg &lt; 0, lastArg = 360°                                               + lastArg);   This is only one of many characters which produce problems. I cannot change my entire code just because this won't compile. Is there any way to include code with arbitrary unicode characters? Thank you.   Edit: complete sample code, as requested.  \RequirePackage[l2tabu,orthodox]{nag}   \documentclass[headsepline,footsepline,footinclude=false,oneside,fontsize=11pt,paper=a4,listof=totoc,bibliography=totoc]{scrbook} % one-sided   \usepackage[toc,page]{appendix} \usepackage{listings} \usepackage[utf8]{inputenc}  \lstset{     inputencoding=utf8,   extendedchars=true,   basicstyle=\footnotesize\ttfamily,   showstringspaces=false,   showspaces=false,   numbers=left,   numberstyle=\footnotesize,   numbersep=9pt,   tabsize=2,   breaklines=true,   showtabs=false,   captionpos=b,     literate={ö}{{\"o}}1 {ä}{{\"a}}1 {ü}{{\"u}}1  }  \begin{document}  \begin{appendices} \lstinputlisting{code/power_series.html} \end{appendices}  \end{document}   Relevant content of power_series.html:  if (lastArg &lt; 0, lastArg = 360° + lastArg);   There really is not much to say about this problem. I only want to be able to use all unicode characters inside a listing. Thank you. Calculator Program improvements I'm pretty new to programming and made a few programs so far. I recently made a Calculator program and I hope you guys could tell me what I could do to improve. int firstNumber; string sign; int secondNumber; int answer;  Console.WriteLine(&quot;Input Number:&quot;); firstNumber = Convert.ToInt32(Console.ReadLine()); Console.Clear();  Console.WriteLine(&quot;Input Sign:&quot;); sign = Console.ReadLine(); Console.Clear();  Console.WriteLine(&quot;Input Second Number:&quot;); secondNumber = Convert.ToInt32(Console.ReadLine()); Console.Clear();  switch (sign) {     case &quot;+&quot;:         answer = firstNumber + secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;-&quot;:         answer = firstNumber - secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;*&quot;:         answer = firstNumber * secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;/&quot;:         answer = firstNumber / secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     default:         Console.WriteLine(&quot;Invalid Input&quot;);     break; } According to Wikipedia      extra disks should not be mounted in /mnt/ according to the first link, but doesn't seams so according to the second link.  Both say thought that they shouldn't be in /media.  Question  So where should extra permanent disks be mounted? Rollup Summary Trigger Help I am trying to create an Apex Trigger that performs a Rollup from a custom object to Contacts.   Here is the error that I am receiving:      Didn't understand relationship 'Assignments__r' in FROM part of query   call. If you are attempting to use a custom relationship, be sure to   append the '__r' after the custom relationship name. Please reference   your WSDL or the describe call for the appropriate names.   The child relationship name is Assignments.  Below is the code:      trigger RollupActiveAssigmentLevelsToContact on pse__Assignment__c (after insert, after update, after delete) {      set&lt;Id&gt; set_id = new set&lt;Id&gt;();      List&lt;Contact&gt; con_list = new List&lt;Contact&gt;();      if(trigger.isInsert || trigger.isUpdate){         for(pse__Assignment__c myAssignment : trigger.New) {             set_id.add(myAssignment.pse__Resource__c);         }     }     else if(trigger.isDelete){         for(pse__Assignment__c myAssignment : trigger.Old){             set_id.add(myAssignment.pse__Resource__c);         }     }      if(trigger.isAfter &amp;&amp; (trigger.isInsert || trigger.isUpdate || trigger.isDelete)){         con_list = [SELECT id,Total_Levels__c, (SELECT id,name FROM Assignments__r WHERE Active_Assignment__c = TRUE) FROM Contact WHERE id IN :set_id];          for(Contact con : con_list){             if(con.Assignments__r.size()&gt;0)                 con.Total_Levels__c = con.Assignments__r.size();             else                 con.Total_Levels__c = 0;         }         if(!con_list.isEmpty())         update con_list;     } }   Below is a snap of the Child Relationship name: What is the distance a creature or player can travel if they have multiple types of movement speeds?