Does anyone know how to open Preview.app with the window maximised by default, in order to automatically fit the screen?  Right now, the Preview window opens almost half screen and I think it is quire annoying to enlarge it manually. Thanks.
Whenever I start an application like Terminal or Preview, they are always opened as a small window on the top left corner of the screen. Is there any way to set them to open in the center of the screen? Preferably maximized too?
According to the special theory of relativity, distant simultaneity depends on the observer's reference frame.  And, according to the quantum theory, in the case of two entangled particles, a measure on one of the particles simultaneously affects the second one. Under which reference frame is this simultaneous? As a developer of free software, I want to get my application into Ubuntu.  Should I provide a source tarball and ask for packaging? Or should I create a package myself? Should I target Ubuntu directly, or should I try to get into Debian and then into Ubuntu automatically? Can bug reports and feature requests requiring SE Dev attention be reported on per-site metas, or do they need to all go here? Automatically redirect anonymous user from unanswered duplicate question to corresponding answered version Duplicate questions that use different words to describe the same problem are important for people to find the content via search engines. But the user experience when an anonymous user arrives at a duplicate is less than ideal.  They have to notice the duplicate link and understand that the answer they are looking for is likely behind that link. I don't think this is all that obvious to someone without experience with an SE site.  I propose to just redirect users to the duplicate automatically if the closed duplicate has zero answers. In that case they need to follow the link to the duplicate in any case, so we might as well redirect them to it in the first place.  I could imagine this being problematic with search engines, as we would be displaying different content than what the search engines see. If that is too problematic I would suggest to show a very obvious link to the duplicate in the answers section for anonymous users. I'm currently making a Minesweeper in C#. I've already done the basics (generating minefield, rules and ui) but I don't know how I should implement when the user clicks a cell and the cell has no mines nearby and clicks nearby cells with also no mines nearby, like this:    And after click    This is my current code on this:  if (MineField(x,y) == false) // If the clicked cell isn't a mine {     if (GetNeighbours(x,y) == 0) // GetNeighbours returns the amount of mines in the closest 8 cells     {         // To be honest, no idea...     } } $g\in G$ maximal order in $G$ abelian then $G=\left\oplus H$ If $g\in G$ is an element of maximal order in a finite abelian group $G$ then exists $H\leq G$ such that $G=\left&lt;g\right&gt;\oplus H$  Attempt: Using fundamental theorem I know that $G=C_{n_1}\times\cdots\times C_{n_k}$ where $n_i|n_{i+1}$. With some work I proved $|\left&lt;g\right&gt;|=n_k$, so $C_{n_k}\cong \left&lt;g\right&gt;$. Then $G\cong H\times \left&lt;g\right&gt;$, but this is not an equality. Why does the air flow faster over the top of an airfoil? I understand the common explanation of lift, which describes the airflow over the top of the wing as moving faster than the air below the wing.  However, I don't quite understand why the air moves faster.  I've read some explanations citing a circulation effect among others, but haven't found a good, clear explanation for the exact cause.  Can someone help me out? Automatically redirect anonymous user from unanswered duplicate question to corresponding answered version Associativity of Cartesian Product Using wp_query is it possible to orderby taxonomy? My question is simple, I'm using WP_Query to retrieve some custom type posts filtering by a taxonomy using tax_query.  Now my problem is I would like to orderby the taxonomy, but from documentation and searching on the web I can't find a solution.  The orderby in WP_Query lets you order by a bunch of fields even custom meta fields but it doesn't seem to support taxonomy.  Any pointers in the right direction?  Thank you all. braces on the sides of an easybmat matrix I created the following matrix with , and I would like to add at the bottom (respectively right) something like an underbrace (resp. "rightbrace") under each of the two blocks, together with a number specifying the number of columns (resp. rows) of the block. This amounts to two braces on the bottom and two on the right, and each brace should have a number below (resp. at the right) of it.  I did not find anything about that on the easybmat manual. I think I see how to do the braces with the  package, but then I am not able to create the block structure of the matrix in the first place.  \documentclass{article} \usepackage{easybmat} \begin{document} \[  M(z)= \left[ \begin{BMAT}[5pt]{c|c}{c} \begin{BMAT}[5pt]{c:c:c}{ccccccc} &amp; &amp; \\ &amp; &amp; \\ &amp; &amp; \\ v_1 &amp; \dots &amp; v_m \\ &amp; &amp; \\ &amp; &amp; \\ &amp; &amp; \end{BMAT} &amp; \begin{BMAT}{c}{c|c} \begin{BMAT}[5pt]{c:c:c}{ccc} &amp; &amp; \\ w_1(a) &amp; \dots &amp; w_n(a) \\ &amp; &amp; \end{BMAT} \\ \begin{BMAT}[10pt]{c}{c} B(z) \end{BMAT} \end{BMAT} \end{BMAT}  \right] \] \end{document}     This is more or less what i wish: CG series about a beast planet Is expression for law of equipartion of energy valid for real gas? I know that according to law of equipartion of energy ,energy per molecule per degree of freedom is 1/2 Kb T I wanted to know if it is true for a real gas ? Elementary formula for permutations? Can we clarify to the OP that their question is not yet closed and the duplicates are only suggestions? If we're implementing , why don't we also require that users have at least 1.5 times the amount of reputation needed to ask their current question in order to answer their current question?  I believe this would really reduce the amount of non-answers that should have been edits to the original question, or perhaps a comment under another answer.  Edit  Inspired by marcog's excellent suggestion , perhaps it would make more sense to set a minimum amount of time that must pass before you can answer your own question. New users would need to wait in the neighborhood of six hours, while users with more reputation could answer their own question within minutes if they discovered the solution on their own.  This would get in the way of the behavior that we don't want, which is people posting answers that should have been edits while not annoying most. I try to write a simple Markdown parser in JavaScript. Therefore I want to check for the [link content][link id] syntax. I use the following code:  data = data.replace( /\[(.*?)\][ ]*\[([0-9]+)\]/g, '&lt;a href="$2"&gt;$1&lt;/a&gt;' );   It works well, but now I want to do this with a RegExp object. So I set up the following bit of code:  var r = new RegExp( '\[(.*?)\][ ]*\[([0-9]+)\]', 'g' ); data = data.replace( r, '&lt;a href="$2"&gt;$1&lt;/a&gt;' );   But it doesn't work. It even says that my regular expression (which works since the first example does a good job) is invalid:     unmatched ) in regular expression   I think it must have to do with some RegExp-object peculiarities I am not aware of. What am I doing wrong and how can the problem be solved? I'm starting to write a book on . Since I've been contributing on this tag for a long time, I had the opportunity to read &amp; answer several interesting threads on Stackoverflow related to this technology.  I would like to discuss some of the interesting cases published on Stackoverflow in my book, and I wonder if I could use the images and code shared on those threads in it.  I'm hoping somebody from StackExchange could clarify about the copyright status of the material shared on Stackoverflow questions/answers. sci-fi book where a meteorite gives 3 different kinds of telepathic powers to people who then vie for control 3 groups of telepaths each with different powers.  They received their powers from a meteorite.  One group is the strongest and are kind of in control.  Another group wants to gain control.  One group, I believe the strongest, have telepathic battles to determine the strength of one another conjuring up swords, walls, etc. in their minds. It was written by a lawyer.  Could have been written in the ‘80s, or earlier. Prove that $a^{2^n}=1 \mod 2^{n+2}$ I would like to prove that  $$a^{2^n}\equiv 1 \pmod {2^{n+2}}$$  I tried induction but could not get it.  Thank you very much!