I am looking for ways to put tilde over regular text. In math mode, we can put tilde above letters by $\widetilde{ASK}$. Is there a way to do the same thing for regular text longer than three letters? I mean: not in math mode, how to do big tilde over texts? The questions being answered all require math mode.
How do I get a really wide tilde?  I need to cover at least  abcdefghijklmnopqrstuvwxyz  The \widetilde command does not work. Nor using \stackrel with \sim.
map collections I am new to Apex and just starting to understand using maps to avoid loops within loops and hitting limits. My trigger below updates opp line items with the internal cost from another object using a map and the one value - "Service_Name".  My issue is I need to update another field on the Opp line item with "Agent Fee" in the same way  - but there are 4 criteria to get the right Agent Fee from another object. I cant see how do so this other than have a loop of agent Fees object with the opp line loop? How else can I do this? Is it possible with Maps ?  trigger sectortest on Opportunity (after update) {          for (Opportunity eachopportunity : Trigger.new){                                        //Get costs for the Opps FY and put in map         List&lt;Internal_Costs__c&gt; costs = [SELECT Id, Financial_Year__c, Service_Name__c, Standard_Cost__c  FROM Internal_Costs__c WHERE Financial_Year__c =: eachopportunity.Financial_Year__c];          Map&lt;string, Decimal&gt; costmap = new Map&lt;string, Decimal&gt;();         for (Internal_Costs__c eachcost : costs){                                         costmap.put(eachcost.Service_Name__c, eachcost.Standard_Cost__c);                         }                 //Get Line Items for Opp         List&lt;OpportunityLineItem&gt; opplines = new List&lt;OpportunityLineItem&gt;();           opplines = [SELECT Id, DS_Status__c, Country__c, Product2Id, UnitPrice FROM OpportunityLineItem WHERE OpportunityId =: EachOpportunity.Id];           List&lt;OpportunityLineItem&gt; opplinesupdate = new List&lt;OpportunityLineItem&gt;();                //assign cost to line items              for (OpportunityLineItem EachOppline : opplines) {                                                                                              decimal cost = costmap.get(EachOppline.Service_Name__c);                                                                 EachOppLine.Internal_Cost__c = cost;                                                                             opplinesupdate.add(EachOppline);                                                                                                                                                        }              update opplinesupdate;                        }                       } Sarrus Rule with LaTeX How do I move Steam games to a new computer without re-downloading them? I have just bought a new computer and I have everything migrated over except for my Steam games.  I looked in Program Files/Steam/ and I found a folder full of the games I have downloaded, but I do not know if it is safe to just copy these folders from one computer to another (seeing as a lot of other applications will not work if you do this), or is there another recommended way?  I don't really feel like re-downloading all my games. I don't have the time nor bandwidth to download 20GB over a 1.5mbps connection.  Is it possible to contact Valve and get a disk with the games on it? $\LaTeX$ and Mathematica Any Video formats that render with Alpha Channel? Does anyone know if there are any video formats (besides the HUGE uncompressed avis) that you can render in that maintain the alpha channel? (i.e. for after FX etc.)   I used to use quicktime, but that's no longer an option.  I know you can render in png. or other image formats, but video is significantly smaller, and I often work on machines with less space &amp; resources. Reading a huge .csv file For mathematics, is it ever disadvantageous to use \left(  and \right)  in equations?  I can't see any way that doing this would hinder the typesetting, so why isn't () just converted into \left( \right) automatically? This would save a lot of typing.  Cheers! ON an American street, but IN a British one. Do the twain ever meet? In the United States, we say that someone lives on a street, whereas I've noticed that British people say in. For instance:     Bubba lives on Washington Street.   Colin lives in Cavendish Avenue.   I believe we both would use at when a number is given. For instance:     Bubba lives at 16 Washington Street.   Colin lives at 7 Cavendish Avenue.   I don't think it matters if it's a road, avenue, street, circle, or lane — as far as I know, in America, we always live on a street. Does it vary in British English, or is it always in? If it varies, what are the rules? I want to install selenium webdriver in my Ubuntu 16.04 system for python Motivation for Kolmogorov distance between distributions There are many ways to measure how similar two probability distributions are.  Among methods which are popular (in different circles) are:   the Kolmogorov distance: the sup-distance between the distribution functions; the Kantorovich-Rubinstein distance: the maximum difference between the expectations w.r.t. the two distributions of functions with Lipschitz constant $1$, which also turns out to be the $L^1$ distance between the distribution functions; the bounded-Lipschitz distance: like the K-R distance but the functions are also required to have absolute value at most $1$.   These have different advantages and disadvantages.  Only convergence in the sense of 3. actually corresponds precisely to convergence in distribution; convergence in the sense of 1. or 2. is slightly stronger in general.  (In particular, if $X_n=\frac{1}{n}$ with probability $1$, then $X_n$ converges to $0$ in distribution, but not in the Kolmogorov distance. However, if the limit distribution is continuous then this pathology doesn't occur.)   From the perspective of elementary probability or measure theory, 1. is very natural because it compares the probabilities of being in some set. A more sophisticated probabilistic perspective, on the other hand, tends to focus more on expectations than probabilities. Also, from the perspective of functional analysis, distances like 2. or 3. based on duality with some function space are very appealing, because there is a large set of mathematical tools for working with such things.  However, my impression (correct me if I'm wrong!) is that in statistics, the Kolmogorov distance is the usually preferred way of measuring similarity of distributions.  I can guess one reason: if one of the distributions is discrete with finite support -- in particular, if it is the distribution of some real-world data -- then the Kolmogorov distance to a model distribution is easy to compute.  (The K-R distance would be slightly harder to compute, and the B-L distance would probably be impossible in practical terms.)  So my question (finally) is, are there other reasons, either practical or theoretical, to favor the Kolmogorov distance (or some other distance) for statistical purposes? Are there any disadvantages to always using nvarchar(MAX)? In SQL Server 2005, are there any disadvantages to making all character fields nvarchar(MAX) rather than specifying a length explicitly, e.g. nvarchar(255)? (Apart from the obvious one that you aren't able to limit the field length at the database level) I want to simplify the following:  $\sum_{n=0}^x 1 - (1 - I[a \ne 0] * I[a \ge b]) * (1 - I[b \ne 0] * I[b \ge c]) * (1 - I[c \ne 0] * I[c \ge d]) * (1 - I[d = 0])$ Casting nines and elevens in other bases (radix) and doing check sums for binary Relationship between complex number and vectors What is the relation  between complex numbers and vectors?  I have read in some places "a complex number a 2-dimensional vector".  One can easily observe that $i\cdot i=-1$ in complex multiplication like the cross product of vectors.    Is  vector only the generalisation of complex number to n dimensions?   Is there any fundamental difference between those two? Parsing JSON with Unix tools How does the garage system work in GTA V? Today I got what I presume was the update that should take care of Spectre and Meltdown. That didn't go very well. What do I do now? See screen photo.    I can't boot the 4.4.0-108-generic kernel because of a kernel panic. I'm running 16.04 on an Intel Core i5-4670K CPU @ 3.40GHz × 4. What is the difference between currying and partial application? I quite often see on the Internet various complaints that other peoples examples of currying are not currying, but are actually just partial application.  I've not found a decent explanation of what partial application is, or how it differs from currying. There seems to be a general confusion, with equivalent examples being described as currying in some places, and partial application in others.  Could someone provide me with a definition of both terms, and details of how they differ? How can I control HDD spin down time? I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it?  I tried GNOME power management but did not find it useful. As you may know, Facebook allows users to choose a "vanity URL," allowing easy linking to one's profile. However, once set, this URL cannot be changed and this was done for security reasons, understandably.  I have a friend whose now ex-partner set the URL to be "herfirstname.hislastname" without her permission. She tried to change it after this, but to no avail.  Has anyone successfully contacted Facebook and got them to either disable the name and revert back to an ID or change the name to another?