Why does "edited" have one "t" and  and "emitted" has two? "Edit" and "emit" are so similar in spelling and pronunciation.  I keep wanting to type "editted" for some reason.
Initially, my question was: is "focussed" or "focused" the correct past tense of "focus", but since this applies to a lot of words, I would like to generalize and ask: is there supposed to be a rule when to double the consonant?
Can I ever go wrong if I keep thinking of derivatives as ratios? Reference - What does this regex mean? Android popup window dismissal Importing two classes with same name. How to handle? How to detect Windows 64-bit platform with .NET? In a  2.0 C# application I use the following code to detect the operating system platform:  string os_platform = System.Environment.OSVersion.Platform.ToString();   This returns "Win32NT". The problem is that it returns "Win32NT" even when running on Windows Vista 64-bit.  Is there any other method to know the correct platform (32&nbsp;or 64&nbsp;bit)?  Note that it should also detect 64&nbsp;bit when run as a 32&nbsp;bit application on Windows 64&nbsp;bit. Journal of Finance Template German '*.bst' Margin of caption different than text body in 2-column table (cas-dc) Why do sunbeams diverge even though the sun is much more than a few kilometers away? Consider this picture of sun beams streaming onto the valley through the clouds.    Given that the valley is only (at a guess) 3km wide, with simple trigonometry and the angles of the beams, this gives the result that the position of the light source is being a few tens of km away at most.   What is wrong with the analysis? How to increase camera frames view area? The Camera view area is so small (see picture). How can I increase it? What does the [Flags] Enum Attribute mean in C#? From time to time I see an enum like the following:  [Flags] public enum Options  {     None    = 0,     Option1 = 1,     Option2 = 2,     Option3 = 4,     Option4 = 8 }   I don't understand what exactly the [Flags] attribute does.  Anyone have a good explanation or example they could post? How to create UEFI-only bootable USB live media? Adverb sentence query How to count occurrences of one field grouped by values of another? I am aware of what hyperfocal distance is and the general principles behind it. However, most of the tutorials I have seen and read regarding it make use of lenses with focus distance indicators. Unfortunately, neither of my lenses (Nikkor 18-55mm &amp; 35mm f1.8) have indicators.  I have read that you can 'cheat' and simply focus a third of the way into the shot (which I have done previously simply by spot-focusing on the lowest focus point in my VF). I also assume you could pace out the distance and note an object to focus on when you get back to the camera (though that might be easier said than done).  Does anyone have any suggestions on how to achieve maximum sharpness from front to back without focus distance markers. A new lens is not an option; global economic crisis and all that! Display date/time in user's locale format and time offset I want the server to always serve dates in UTC in the HTML, and have JavaScript on the client site convert it to the user's local timezone.  Bonus if I can output in the user's locale date format. Omitting the Milliseconds in a Date Choosing my name as an author when publishing a scientific paper, can I use my "unofficial" first name? I have one official first name which appears on my ID card. I have another first name which friends call me by. Is it possible to use my unofficial first name and official family name to publish scientific papers? How can I prove to someone that I am one of the authors? What is the difference when you say "get off of something" and "get off something"? How can I bring STAG back if I have 100% completion? There's a couple of the Saintsbook challenges that require you to have STAG forces available to kill.  After you complete the game, however, the STAG forces are nowhere to be found.  I believe that you can fight a few more STAG forces if you replay the final mission, but I think my save is glitched, so that's not an option.    Is there any way post-game completion to bring STAG back?  I miss their much nicer tanks and VTOLs for hijacking :( Since multiple inheritance is bad (it makes the source more complicated) C# does not provide such a pattern directly. But sometimes it would be helpful to have this ability. For instance I'm able to implement the missing multiple inheritance pattern using interfaces and three classes like that: public interface IFirst { void FirstMethod(); } public interface ISecond { void SecondMethod(); }  public class First:IFirst  {      public void FirstMethod() { Console.WriteLine(&quot;First&quot;); }  }  public class Second:ISecond  {      public void SecondMethod() { Console.WriteLine(&quot;Second&quot;); }  }  public class FirstAndSecond: IFirst, ISecond {     First first = new First();     Second second = new Second();     public void FirstMethod() { first.FirstMethod(); }     public void SecondMethod() { second.SecondMethod(); } }  Every time I add a method to one of the interfaces I need to change the class FirstAndSecond as well. Is there a way to inject multiple existing classes into one new class like it is possible in C++? Maybe there is a solution using some kind of code generation? Or it may look like this (imaginary c# syntax): public class FirstAndSecond: IFirst from First, ISecond from Second { }  So that there won't be a need to update the class FirstAndSecond when I modify one of the interfaces.  EDIT Maybe it would be better to consider a practical example: You have an existing class (e.g. a text based TCP client based on ITextTcpClient) which you do already use at different locations inside your project.  Now you feel the need to create a component of your class to be easy accessible for windows forms developers. As far as I know you currently have two ways to do this:  Write a new class that is inherited from components and implements the interface of the TextTcpClient class using an instance of the class itself as shown with FirstAndSecond.  Write a new class that inherits from TextTcpClient and somehow implements IComponent (haven't actually tried this yet).   In both cases you need to do work per method and not per class. Since you know that we will need all the methods of TextTcpClient and Component it would be the easiest solution to just combine those two into one class. To avoid conflicts this may be done by code generation where the result could be altered afterwards but typing this by hand is a pure pain in the ass.