Abandoned instances that will not continue execution (zombie instances)
AppFabric / WF 4.0 instances stuck despite no bookmark and pending timer
What is the speed of time? Choose a default app for opening files with no extension? Is it possible to set a default application to open files with no extension?  I'm not referring to files with hidden extensions, but those completely lacking an extension -- e.g. README, CHANGELOG, mbox, etc.  "Open With" => "Change All" on these files doesn't work, returning the error shown below:    Ideally, I would like the system to try opening all such files in TextMate.  I know I can drag files onto Dock icons to open them in specific apps, but I'm looking for a more seamless solution than that (especially since I have my Dock auto-hide, which makes it much more cumbersome).  I am familiar with the  QuickLook plugin that can enable QuickLook for some of these files, but I would prefer a solution with selecting/copying/editing capabilities. Sometimes I hear sentences that sound conditional to me, just because of the (unassertive) ordering of the words. I don't know if I can come up with a proper example. Consider this:          I'd be a lot better, had she stayed with me.        And I guess it's equivalent to this conditional form: If she had stayed with me, I would have been a lot better.  So, this is my question: In what ways can you make a sentence conditional without using conditional conjunctions (if, unless, etc)? And what are their equivalent conditional forms? Difference between Loading a class using ClassLoader and Class.forName I want to put some symbols in green color with lstdefinelanguage in latex, but it seems that symbols are not recognized.  The symbols I need to be colored are =, > and &lt;. Is it possible? How can I do this?  The main file:  \documentclass{article}   \usepackage{graphicx,color} \usepackage{booktabs} \usepackage{listings}   \lstdefinelanguage{NeoIDL}{   sensitive = true,   keywords = [1]{module, resource, enum, annotation, for, import, entity, path,   @get, @post, @put, @delete, require, ensure, otherwise, call},   %ndkeywords={int, \char{}  },   %ndkeywordstyle=\color{blue}\bfseries,   morekeywords=[2]{&gt;, &lt;, ==},   keywordstyle=[2]\color{green},   numbers=left,   numberstyle=\scriptsize,   stepnumber=1,   numbersep=8pt,   showstringspaces=false,   breaklines=true,   frame=top,   comment=[l]{//},   morecomment=[s]{/*}{*/},   commentstyle=\color{purple}\ttfamily,   stringstyle=\color{red}\ttfamily,   morestring=[b]',   morestring=[b]"   }  \begin{document}  \begin{figure}[htb] \begin{small} \lstinputlisting[language=NeoIDL,firstnumber=1]{store_pos_servico.neo} \end{small} \caption{Service 1} \end{figure}   \end{document}   The file to be formatted:  module store {    (...)     resource order  {      path = "/order/{id}";       @post   int postOrder (Order order)     require (call store.getOrder(id) == "NotFound"),     otherwise "InvalidPrecondition"    }; } Local collection of Python packages: best way to import them? Map a function across a list conditionally Clicking on a spoiler tag to reveal the text shouldn't navigate you to another page This is an issue I noticed when reading . On multiple occasions I ended up inadvertently clicking a link that I could not see when I was just trying to reveal the spoiler text.         Can links be deactivated in spoilers until the text is revealed?  (Edit: this issue seems particularly to apply to those using touch screen devices with the "full site" theme) Side-by-side source and output when documenting a style file Is $\{0\}$ a field? Consider the set $F$ consisting of the single element $I$.  Define addition and multiplication such that $I+I=I$ and $I \times I=I$ .  This ring satisfies the field axioms:   Closure under addition.  If $x, y \in F$, then $x = y = I$, so $x + y = I + I = I \in F$. Closure under multiplication.  $x \times y = I \times I = I \in F$ Existence of additive identity.  $\forall x \in F$ (i.e., for $x=I$), $x + I = x$, so $I$ is the additive identity. Existence of mulitiplicative identity. $\forall x \in F, x \times I = x$, so $I$ is the multiplicative identity. Additive inverse. $\forall x \in F, \exists y = I \in F: x + y = I$ Multiplicative inverse. $\forall x \in F, \exists y = I \in F: x \times y = I$.  However, because the additive identity need not have a multiplicative inverse, this is a vacuous truth. Commutativity of addition.  $\forall x, y \in F, x + y = I = y + x$ Commutativity of multiplication.  $\forall x, y \in F, x \times y = I = y \times x$ Associativity of addition.  $\forall x, y, z \in F$, $(x + y) + z = I + I = I$ and $x + (y + z) = I + I = I$, so $(x + y) + z = x + (y + z)$ Associativity of multiplication.  $\forall x, y, z \in F$, $(x \times y) \times z = I \times I = I$ and $x \times (y \times z) = I \times I = I$, so $(x \times y) \times z = x \times (y \times z)$ Distributivity of multiplication over addition. $I \times (I + I) = I$ and $I \times I + I \times I = I$, so $\forall x,y,z \in F, x(y+z) = xy+xz$   Based on the above, $\{I\}$ seems to qualify as a field.  If $I$ is assumed to be a real number, then the unique solution of $I + I = I$ and $I \times I = I$ is, of course, $I = 0$.  So, is {0} a field, or is there generally considered to be an additional field axiom which would exclude it?  Specifically, is it required for the multiplicative identity to be distinct from the additive identity? In this case what is correct?        Keep Tom and I updated.      or         Keep Tom and me updated.      I understand that me is an object pronoun. And therefore I feel the second option is correct.  Especially, because I would say "Keep him updated" and also "Keep me updated". Instead of "Keep he updated" or "Keep I updated". But something about saying "Keep him and me updated" feels wrong.  However I am not sure, because several people have told me that in this case I is the correct option because it is being used in conjunction with a name (Tom) and not a pronoun. Is that correct? A physical explanation for negative kelvin temperatures Is it possible to make a sequence of renders and give the user the option to cancel the process through the UI at any given time? I'm trying to make a script where I have to render several images of the same scene at the same frame, and write to disk with appropriate names. The problem is that although this works fine with a non-responsive UI, it doesn't work well when the render progress appears in the Blender UI.  I mean,  bpy.ops.render.render()   uses "EXEC_DEFAULT" when called from a script. This leaves a blocked User Interface until the render finishes, meaning that you can't cancel the process, except by killing Blender. The problem is that the render may be too big in resolution, and the user could want to stop the process when realizing that the render could take hours, so the idea is to cancel this process without losing the currently opened project.  If I call,  bpy.ops.render.render("INVOKE_DEFAULT")   I get a nice preview bar in the Info Window with a clickable "X" button. I want the user to be able to press that button to cancel the operation if needed, but for a series of renders (not animation).  The problem here seems to be when trying to loop this command with the INVOKE_DEFAULT context to write several renders. I made a lot of testing, and this way of calling the render operator seems to continue with whatever is next in the script, so it loops very fast and ends before the rendering actually finishes.  I think that I need some way to stop the script and make it wait until render finishes to continue looping with the next ones. I tried the "render_complete" and "render_cancel" handlers, but I can't use them to start a new render or even make the rest of the script wait until the loop of renders is complete. I tried threading and events without success either. Maybe I'm doing something wrong.  import bpy  render = bpy.context.scene.render path = render.filepath = "/tmp/" shots = ["one", "two", "three"]  for x in shots:     render.filepath = path + x     bpy.ops.render.render("INVOKE_DEFAULT", write_still=True) # this doesn't work      # but if I use:     # bpy.ops.render.render(write_still=True)     # without the INVOKE thing, images are written as expected,     # but losing the possibility to see the progress and cancel rendering What is the average number of times it would it take to roll a fair 6-sided die and get all numbers on the die?  The order in which the numbers appear does not matter.  I had this questions explained to me by a professor (not math professor), but it was not clear in the explanation.  We were given the answer $(1-(\frac56)^n)^6 = .5$ or $n = 12.152$  Can someone please explain this to me, possibly with a link to a general topic? Choosing OpenLayers or Leaflet? I was debating with one of my collegues on OpenLayers v/s Leaflet. I made a point that OpenLayers is much better API if we wish to build a project, where you need direct connectivity to the Geoserver and PostGIS.  Then I found , which looks pretty new but has the features of connectivity with the Geoserver and PostGIS.  So my project details are as follows,   Use the map interface to fetch Feature Info Create a customized tool that takes the lat/lon from user as to where he/she clicks on the map and then fetches the Climate Data from the raster (which is handled by a py script on the server) Allows user to upload excel, which is sent to the py script, which returns a GeoJSON, which creates Vector Features on the map Allow user to create vector polygons, which will fetch the Features it intersects from the WFS Layer. Fetches Layer from the PostGIS Datastore on GeoServer and displays the layers on the map.   So now I am confused on which is better and why using OpenLayers over Leaflet makes more sense or not? Very similar to , except for Java.  What is the recommended way of encoding strings for an XML output in Java. The strings might contain characters like "&amp;", "&lt;", etc. Visualization for Euclidean Algorithm How to know if something is a primitive concept, a law, a definition or a theorem Some basic Physics books are often misguiding in the sense that they don't make clear whether something is a primitive concept, a law, a definition or a theorem. This is often a little confusing. I've asked here some moments ago if there's a definition of force, and I've been redirected to a question about whether Newton's Laws are laws or definitions of mass and force.  This is just an example, but there are many others, like for instance, the conservation of energy, which some books present as a theorem, and some places says that this is a law of Physics. Time on the other hand, is something that according to Feynman's lectures on Physics, cannot be defined, so we just say how to measure it and leave it as a primitive concept.  In this context: how in general can we identify whether something is a primitive concept, a fundamental law of Physics, a definition or a theorem? I was held at the Polish borders when I attempted to enter by train. They took my fingerprints and sent me back with a written document. I respected the decision and returned immediately.   The document is in Polish concerning the decision taken, and I don't understand it. I am from Cameroon. My limited understanding from what was explained in English at the time was that the asylum status I requested was denied me. I only realised later that I asked the wrong authorities (border guards instead of immigration officers).  This was exactly one year and three months ago now. Do I still have access to any Schengen country? What if my State / Country doesn't have a Ubuntu LoCo Team? How can I start one? I know what an Ubuntu Team is and , but what can users do if their area doesn't have a LoCo team?