$\epsilon-\delta$ graph
Adding Labels and arrows in Tikz graph
Arraylist to List using .Net? Most of the time, it should be really easy to determine who is my ally and who is not. The people who try to kill me are most likely my foes, whereas the people who entered the dungeon with me are probably my allies.   But sometimes it’s not that simple. What if one of my party members got replaced by an evil doppelganger, who plans to kill me in the near future? What if one of my allies infiltrated the court of the evil king and I accidentally have to fight her, while she is (unbeknownst to me) under the effect of a  spell? What if a character fell in love with the BBEG and just wants to save him from himself, while the BBEG hates the character and actively tries to murder him?  Most spells and abilities that affect others specify the targets as “creatures” or “willing creatures”. Some explicitly affect allies only. That’s why I want to know, how to determine who’s allied with whom. Do I have to think that someone is my ally for someone to count as my ally? Does someone else have to believe to be my ally in order to count? Do both of us have to agree on being allies? Is there an objective observer who determines who’s allied? Can Person A be the ally of Person B, while Person B is not the ally of Person A?  There are many examples for spells/abilities that care about allies, among others:   the Exalted Champion feature from the  (SCAG, p. 132-133), that grants allies within 30 feet advantage on Wisdom saving throws. the Inspiring Surge feature from the  (SCAG, p. 128), that allows one or two allies within 60 feet to make a melee weapon attack as a reaction.   With features like this, you could accidentally affect someone who’s not actually your ally. You could fail to affect someone who is actually your ally, but you don’t know it (yet). Or you could affect someone who doesn’t want to be affected (because they don’t want to be allied with you). This all depends on the interpretation of the word “ally”. I’m not sure if "ally" is a defined game term (but I don’t think so), or if I have to rely on the dictionary definition. That’s why I want to ask:  How do I determine who’s allied with whom? How to proof the the derivative of $x^2$ is $2x$? Iterating through a Collection, avoiding ConcurrentModificationException when removing objects in a loop Mutual Independence Definition Clarification How do you match only valid roman numerals with a regular expression? Thinking about , i decided I can't even create a regular expression that will match roman numerals (let alone a context-free grammar that will generate them)  The problem is matching only valid roman numerals.  Eg, 990 is NOT "XM", it's "CMXC"  My problem in making the regex for this is that in order to allow or not allow certain characters, I need to look back. Let's take thousands and hundreds, for example.  I can allow M{0,2}C?M (to allow for 900, 1000, 1900, 2000, 2900 and 3000). However, If the match is on CM, I can't allow following characters to be C or D (because I'm already at 900).  How can I express this in a regex? If it's simply not expressible in a regex, is it expressible in a context-free grammar? How to stop reordering of the same kind multiple preview windows in task switching? Is it possible to keep publishing under my professional (maiden) name, different from my married legal name? Batch renaming files Forcefully update to new windows Updating to latest Blender version I currently have version 2.74. How do I update to version 2.76? I do not see any links in the UI to update my version of Blender $\nabla U=0 \implies U=\mathrm{constant}$ only if $U$ is defined on a connected set? Meaning: To This Day Why is the Star Trek 2009 reboot called a reboot? How add 14 days on end date I have End Date column and I want to add 14 Days on it auto when created, can I do it by workflow? Can I do it via jQuery. If yes how? if no how I can do it? I was about to reconfigure some of my code to use the newer Schema.describeSObjects(types) method that I had heard was faster than using a globalDescribe.   I made some code to quickly check this and I was dismayed to find that the newer technique is not only not faster, it's about twice as slow as using a global describe. Here's the code I used :  New DescribeSObjects() method  //each block was run separately for timing purposes String obj = 'Account'; String[] types = new String[]{obj}; System.debug('START DESCRIBE SOBJECTS');  for (Integer i = 0; i &lt; 50; i++) {   List&lt;Schema.DescribeSobjectResult&gt; results = Schema.describeSObjects(types);  } System.debug('FINISH DESCRIBE SOBJECTS');   Old getGlobalDescribe() method  String obj1 = 'Account'; System.debug('START DESCRIBE GLOBAL');  for (Integer i = 0; i &lt; 50; i++) {    Map&lt;String,Schema.SObjectType&gt; gd = Schema.getGlobalDescribe();    Schema.SObjectType sobjType = gd.get(obj1);    Schema.DescribeSObjectResult describeResult = sobjType.getDescribe();  } System.debug('FINISH DESCRIBE GLOBAL');   Over 5 runs of each, the getGlobalDescribe() method took an average of 337ms for 50 describes and the describeSObjects() method took and average of 658ms. This is basically twice as long.  Does anyone have any insight as to why this would be? Any improvements that will significantly improve the accuracy of the resulting data?  As this data stands, I'm sticking with the old method.  One final note: the old technique uses 3 times a much heap (67kb vs 27kb) What to do when witches appear early in the game? How do I use Linq to obtain a unique list of properties from a list of objects? I'm trying to use Linq to return a list of ids given a list of objects where the id is a property. I'd like to be able to do this without looping through each object and pulling out the unique ids that I find.  I have a list of objects of type MyClass and one of the properties of this class is an ID.  public class MyClass {   public int ID { get; set; } }   What I want to do is write a Linq query to return me a list of those Ids  How do I do that given an IList&lt;MyClass&gt; such that it returns an IEnumerable&lt;int&gt; of the ids?  I'm sure it must be possible to do it in one or two lines using Linq rather than looping through each item in the MyClass list and adding the unique values into a list.  Any help in creating an elegant solution would be much appreciated! What is LINQ? I know it's for databases, but what does it do? I was told that computers with more than 2 gig's memory need a 64 bit operating system to utilize all RAM.  Is the 64bit Ubuntu download really JUST for AMD processors? I am asking because the disk image I downloaded says AMD64.  So will my new Intel 2.3Ghz Core i3 Dual Core processor work with 64 bit Ubuntu?  It runs the 64bit version of Windows without any qualm.