Searching a file for a list of regexs, Python
List of lists changes reflected across sublists unexpectedly
Find the value of $\space\large i^{i^i}$? Is $\large i^{i^i}$ real ? How to find it?   Thank You! How to directly prove that $M$ is maximal ideal of $A$ iff $A/M$ is a field? An ideal $M$ of a commutative ring $A$ (with unity) is maximal iff $A/M$ is a field.  This is easy with the correspondence of ideals of $A/I$ with ideals of $A$ containing $I$, but how can you prove it directly?  Take $x + M \in A/M$.  How can you construct $y + M \in A/M$ such that $xy - 1 \in M$?  All I can deduce from the maximality of $M$ is that $(M,x) = A$. Do you use "a" or "an" before acronyms / initialisms? 99% of the time, I'm clear on when I should use "a" versus "an." There's one case, though, where people &amp; references I respect disagree.  Which of the following would you precede with "a" or "an," and why?   FAQ FUBAR SCUBA   [Note: I've read the questions  and , but the rules given there don't necessarily apply here.]    [Edited to add]  Here's a shorter (and hopefully clearer) version of the question…  In written English, which is correct (and why): "a FAQ" or "an FAQ"?  Some references with differing opinions:   an: the  and  a: the Microsoft Manual of Style for Tech Publications, 3e either: the  and Ok. I was playing mcpe and I noticed that mossy cobblestone isn't in the crafting table. And I wanted to make a house that looks old. So if its possible to get mossy cobblestone without mods, how can I get it on survival? If it is possible can somebody please leave a step by step guide. Thank you. We have a few cases of chat accounts remaining without valid parent account:  and  for example. What should mods do when that happens:  delete the chat account notify the SE team so they can reattach or clean it up leave it as is: it's a normal situation 1970s or 80s kids book: girl's life taken over by a robot doppelganger version of herself I read this book between 1980-82 but it could have been written earlier.  It's about a girl who is dissatisfied with her life, as her parents have her on a diet and she wants to be able to eat what she wants. Someone offers her a solution: to come live in this large building where she can eat all the chocolate eclairs and other junkfood she wants, while a robot doppelganger android version of herself will take her place at home and at school.  The girl agrees, but finds that after week of eating mainly eclairs, she is sick and wants to eat a decent meal. But she is not allowed to eat anything else and has found herself to be a prisoner, so she sets out to get rid of the android and get her life back.   I don't recall the ending but it seemed the 'people' behind it all might have been aliens and the building might have been a kind of ship that then disappears. How to add custom objects to the "add object" menu? Energy momentum tensor from Noether's theorem in the book Quantum Field Theory by Itzykson and Zuber the following derivation for the stress-energy tensor is proposed (p.22):  Assume a Lagrangian density depending on the spacetime coordinates $x$ only through fields and their gradients. Under a translation we have $$\mathcal L (x+a)=\mathcal L[\phi_i(x+a),\partial_\mu\phi_i(x+a)].$$  Consider an infinitesimal $x$-dependent transformation $$\delta\phi_i=\delta a^\mu(x)\partial_\mu\phi_i(x),$$ $$\delta\partial_u\phi_i(x)=\delta a^\nu \partial_\nu\partial_\mu\phi_i(x)+\partial_\mu[\delta a^\nu (x)]\partial_\nu \phi_i(x).$$  The proof then proceeds with variation of the action and integration by parts. But why do we consider an $x$-dependent local transformation instead of a global transformation? I need to package my Python application, its dependencies and Python into a single MSI installer. The end result should desirably be:   Python is installed in the standard location the package and its dependencies are installed in a separate directory (possibly site-packages) the installation directory should contain the Python uncompressed and a standalone executable is not required The score for the 4 questions are 111, 1218, 261 and 5 respectively, but they display 2 digits per line. This is an obvious bug in design. R cannot be resolved - Android error Why is file transfer speed decreased when copying multiple smaller files? Let's say I'm copying a portable apps directory from PC to an external HDD. An application.exe file is around 4 megabytes in size, but most other files are only tens of kilobytes in size, and most of those files take longer to copy/move than that bigger file having 4 megabytes.  Why is this? Solve system of simultaneous equations in $3$ variables: $x+y+xy=19$, $y+z+yz=11$, $z+x+zx=14$ ffmpeg - Create a video from image frame with a start and a count Watch Filesystem in Real Time on OS X and Ubuntu I'm looking for a CLI tool which will watch a directory and spit out the names of files that change in real time.   some_watch_command /path/to/some/folder | xargs some_callback   I'm aware of inotify (inotify-tools?) and it seems to be what I need, but I need something that is both Linux (in my case Ubuntu) and OSX compatible.  It doesn't need to be lightning fast, but it does need to trigger upon changes (within a second is reasonable). Also, I don't necessarily need the exact CLI program mentioned above.  If some underlying tech exists and is easily scriptable on both platforms that would be great too. Should the noun after "any" be singular or plural? I always thought with "any" I should use the plural, but on the internet I can find both:   It can be found in any book. It can be found in any books Do you have any books? It can be said in any language.  This can be understood by anyone.  It has been used in any form.   So, what's correct?  Is there any rule? How to prevent going to next row after editing a DataGridViewTextBoxColumn and pressing EnterKey? What is the net charge of the Earth? I have installed Ubuntu subsystem on Windows 10 (after enabling feature in settings), but where is the Ubuntu file system root directory located in the drive? How can I match multiple occurrences with a regex in JavaScript similar to PHP's preg_match_all()? I am trying to parse url-encoded strings that are made up of key=value pairs separated by either &amp; or &amp;amp;.   The following will only match the first occurrence, breaking apart the keys and values into separate result elements:  var result = mystring.match(/(?:&amp;|&amp;amp;)?([^=]+)=([^&amp;]+)/)   The results for the string '1111342=Adam%20Franco&amp;348572=Bob%20Jones' would be:  ['1111342', 'Adam%20Franco']   Using the global flag, 'g', will match all occurrences, but only return the fully matched sub-strings, not the separated keys and values:  var result = mystring.match(/(?:&amp;|&amp;amp;)?([^=]+)=([^&amp;]+)/g)   The results for the string '1111342=Adam%20Franco&amp;348572=Bob%20Jones' would be:  ['1111342=Adam%20Franco', '&amp;348572=Bob%20Jones']   While I could split the string on &amp; and break apart each key/value pair individually, is there any way using JavaScript's regular expression support to match multiple occurrences of the pattern /(?:&amp;|&amp;amp;)?([^=]+)=([^&amp;]+)/ similar to PHP's preg_match_all() function?  I'm aiming for some way to get results with the sub-matches separated like:  [['1111342', '348572'], ['Adam%20Franco', 'Bob%20Jones']]   or   [['1111342', 'Adam%20Franco'], ['348572', 'Bob%20Jones']]