Ubuntu Touch and device compatibilities
What hardware does Ubuntu Touch support?
Why is it sensical for a proposition with a false antecedent to validate to true? In propositional logic, the statement "If pigs can fly, then elephants can lay eggs." validates to true because the antecedent validates to false.  In other words, given $a \rightarrow b$, if a is false, the entire statement is true. Why?  Just because the antecendent is false doesn't mean that another fact depends on it, right? How many attacks can a fighter with two-weapon fighting make at 5th level? I have a 5th level fighter with the Two-Weapon Fighting fighting style.   What is the number of attacks I can make?   I say 4 attacks, but others say 3 because they say the rule on page 72 states that I get (only) 1 extra attack. Does the Darkness spell block vision? In discussing , I came to realize that the real question was whether Darkness blocks vision or merely creates "darkness".    Per the wording of the spell:     Magical darkness spreads from a point you choose within range to fill a 15-foot-radius sphere for the duration. The darkness spreads around corners. A creature with darkvision can’t see through this darkness, and nonmagical light can’t illuminate it. (emphasis mine)   Normal darkness is defined in the game as creating a heavily obscured area and the only description added to the darkness is that it is magical, which (to me) just means that it is created by magic and is subject to the magical rules.    Darkvision is defined in the game as basically being able to see in darkness as if they were seeing in dim light. So, the text "darkvision can’t see through this darkness" merely means that it affects darkvision in the same way it affects normal vision. (See earlier versions of the spell below, which had similar wordings.)    I see nothing there that implies it is a barrier to vision, just an active  and utter absence of illumination.    Previous editions have varying descriptions.  and  give accurate accountings of the various versions.   The 1e Wizard version seems to actually imply a sphere of opaque blackness that even blocks infra/ultravision, while the 1e Cleric version is a reversal of the Light spell and creates totally normal darkness, with no block to special visions.   The 2e version is similar to the 1e Cleric spell. It creates an area of darkness "equal to an unlit interior room".   The 3.0e version comes closest to the 5e version. It "causes an object   to radiate darkness out to a 20-foot radius. Not even creatures who can normally see in the dark (such as with darkvision) can see in an area shrouded in magical darkness." Still no reference to any sort of opacity and the wording makes it clear that darkvision is being treated specifically here.   3.5e Darkness is similar, although instead of darkness, it creates "shadowy illumination". This affects darkvision as well as normal vision.   4e doesn't have a Darkness spell, but rather a Cleric Utility called Veil of Darkness, which creates "a zone that is heavily obscured and blocks line of sight." So, finally, a reference to opacity, in "blocks line of sight", although I question if opacity was the intent. I have a very stupid question. I developed a website that has only one page at the public html directory(index.php).  all content are dynamically loaded as different pages.   How can i SEO my pages for google?  i mean like the what we type in this site are .............i believe stored in database and search engine find these pages like any static pages...  Just a little tip would be appreciable.......! Diagnostics for logistic regression? Is there a simple way to explain how Kepler's third law follows from the inverse square law that of gravity  (and laws of motion)  For example for Kepler's second law we can say it's because Gravity is a central force  What is it about the law of gravity which ultimately gives rise to Kepler's third law? "On/at/for/over the weekend" in American English Some sources say that "at the weekend" is wrong, while other ones say it's correct. Which form is acceptable in American English?        On Saturdays her sister Ann usually comes to stay with Mary on/at/for/over the weekend/s.   What are you going to do at/on/for/over the weekend/s?    We are going to Paris on/at/for/over the weekend/s.   Are you going to stay here for/at/on/over the weekend/s?      Which preposition do American English speakers use — at, on, for, over? I keep getting this warning whenever I try to run sudo apt-get update.  W: Duplicate sources.list entry http://archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages) W: You may want to run apt-get update to correct these problems   Below is the output from /etc/apt/sources.list file:  deb http://archive.ubuntu.com/ubuntu precise main restricted deb-src http://archive.ubuntu.com/ubuntu precise main restricted  deb http://archive.ubuntu.com/ubuntu precise-updates main restricted deb-src http://archive.ubuntu.com/ubuntu precise-updates main restricted  deb http://archive.ubuntu.com/ubuntu precise universe deb-src http://archive.ubuntu.com/ubuntu precise universe deb http://archive.ubuntu.com/ubuntu precise-updates universe deb-src http://archive.ubuntu.com/ubuntu precise-updates universe  deb http://archive.ubuntu.com/ubuntu precise multiverse deb-src http://archive.ubuntu.com/ubuntu precise multiverse deb http://archive.ubuntu.com/ubuntu precise-updates multiverse deb-src http://archive.ubuntu.com/ubuntu precise-updates multiverse  deb http://archive.ubuntu.com/ubuntu precise-security main restricted deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted deb http://archive.ubuntu.com/ubuntu precise-security universe deb-src http://archive.ubuntu.com/ubuntu precise-security universe deb http://archive.ubuntu.com/ubuntu precise-security multiverse deb-src http://archive.ubuntu.com/ubuntu precise-security multiverse   How do I fix it? Over the time I've been able to vote for closure on SO, I've gotten into the habit of clicking on the reason itself in order to select the radio button corresponding to it. Since the reasons have changed, there are also now links in the middle of the text, which I also happen to accidentally keep clicking on. More annoyingly, these links don't open in a new tab so I have to click back and redo it. This happens most often with the "FAQ" link in the off-topic dialog, which is right there in the top left corner where I normally click.        Basically, those pieces of text now have two functions. One function of it is selecting the corresponding radio button and the other function is loading a new page. Obviously loading the new page trumps simple selection.  This has become even more painful now with the new off-topic messages, where a large portion of the message is a link:        A simple feature request: can the vote-to-close dialog itself not render the links? I have the following reference:  @MISC{EX2012,   author = {{S}ingle {A}uthor {O}rganization},   year = {2012},   title = {Example} }   A citation for this is breaking after "Author", but extending beyond the margin, as shown in the following example layout in the PDF:  Demo text demo text demo to margin Demo text which cites it (Single Author Organization, 2012) and flows over the margin.   How can I solve this? I am using natbib and citing with \citep{EX2012}. What is a StackOverflowError? What is a StackOverflowError, what causes it, and how should I deal with them? I have hundreds of figures with filenames containing "#" to include using \includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so that I don't need to change hundreds of file names? Thanks.  Update: 1. I'm using Windows. 2. When I compile it, it shows "Illegal parameter number in definition" I'm looking for a more politically correct substitute for the expression "poor man's", meaning an inferior improvised or makeshift substitute. Usage examples:   "Guncotton is the poor man's TNT" "Poor man's oyster" (mussels, or coughed up phlegm)    My hesitance is mainly because it is not as gender neutral as perhaps it once was. The closest I can think of is "pauper's", but I don't know many examples of usage. It's so annoying to drag it over and over again. How to change default position of a console? How to define servlet filter order of execution using annotations in WAR Am I Running as a Service I am currently writing a little bootstrap code for a service that can be run in the console. It essentially boils down to calling the OnStart() method instead of using the ServiceBase to start and stop the service (because it doesn't run the application if it isn't installed as a service and makes debugging a nightmare).  Right now I am using Debugger.IsAttached to determine if I should use ServiceBase.Run or [service].OnStart, but I know that isn't the best idea because some times end users want to run the service in a console (to see the output etc. realtime).  Any ideas on how I could determine if the Windows service controller started 'me', or if the user started 'me' in the console? Apparantly  is not the answer. I thought about using commandline args, but that seems 'dirty'.  I could always see about a try-catch statement around ServiceBase.Run, but that seems dirty. Edit: Try catch doesn't work.  I have a solution: putting it up here for all the other interested stackers:      public void Run()     {         if (Debugger.IsAttached || Environment.GetCommandLineArgs().Contains&lt;string&gt;("-console"))         {             RunAllServices();         }         else         {             try             {                 string temp = Console.Title;                 ServiceBase.Run((ServiceBase[])ComponentsToRun);             }             catch             {                 RunAllServices();             }         }     } // void Run      private void RunAllServices()     {         foreach (ConsoleService component in ComponentsToRun)         {             component.Start();         }         WaitForCTRLC();         foreach (ConsoleService component in ComponentsToRun)         {             component.Stop();         }     }   EDIT: There was another question on StackOverflow where the guy had problems with the Environment.CurrentDirectory being "C:\Windows\System32" looks like that may be the answer. I will test today. What documentation does a Mexican citizen need to fly domestically within Mexico? If a Mexican citizen, residing in Mexico, wants to fly domestically, what documents are needed?   Example: Flying from Torreon to Cancun (different states in Mexico) What's the best way to build a string of delimited items in Java? While working in a Java app, I recently needed to assemble a comma-delimited list of values to pass to another web service without knowing how many elements there would be in advance. The best I could come up with off the top of my head was something like this:  public String appendWithDelimiter( String original, String addition, String delimiter ) {     if ( original.equals( "" ) ) {         return addition;     } else {         return original + delimiter + addition;     } }  String parameterString = ""; if ( condition ) parameterString = appendWithDelimiter( parameterString, "elementName", "," ); if ( anotherCondition ) parameterString = appendWithDelimiter( parameterString, "anotherElementName", "," );   I realize this isn't particularly efficient, since there are strings being created all over the place, but I was going for clarity more than optimization.  In Ruby, I can do something like this instead, which feels much more elegant:  parameterArray = []; parameterArray &lt;&lt; "elementName" if condition; parameterArray &lt;&lt; "anotherElementName" if anotherCondition; parameterString = parameterArray.join(",");   But since Java lacks a join command, I couldn't figure out anything equivalent.  So, what's the best way to do this in Java? Proving a graph has no Hamiltonian cycle How to echo output of a top into a text file? I want to write batch or something, that will write output of top into a file on login.  I did top &gt;&gt; output-file, but it contains some strange character!  Can somebody give a simple tutorial about how to write batch file in Linux?