I've got about 20-30 filters set up in my work Gmail account doing a range of things, from filtering newsletters that won’t let me unsubscribe into the bin, to marking messages that come through a web form and putting them in a separate folder etc.   One of the filters is acting odd because when I reply to some emails, instead of the response ending up in the sent for some reason it’s getting moved into my inbox—so that my sent message now sits in my inbox.  Because I’ve got quite a few filters, I’m not sure which one is doing this—is there a way to see which filters have been applied to an email in Gmail?
I created a bunch of filters in Gmail for a "master account" that receives forwarded mail from all of my accounts.  The filter list and web of labels/folders has grown to be rather long, and therefore a bit burdensome to manage. I would like to edit / delete / consolidate a lot of these filter rules (and folders) but it seems the only way I can interface with them is through the laundry list at Setting/Filters. It'd be cool there was an option to "View/Edit Filter" on an individual email's page, but I'm not sure if something like that currently exists.  What's the best way to view a filter rule currently being applied to an email (in Gmail)?
Delete all files except specified files/folders using command line? I have a folder containing a lot of folders and different files with the following structures :  NASA │ ├── a │   ├── doc1 │   ├── doc2 │   ├── doc3 │   ├── folder1 │   └── folder2 │ ├── b │   ├── doc1 │   ├── doc2 │   ├── doc3 │   ├── folder1 │   └── folder2 │ ├── c │   ├── doc1 │   ├── doc2 │   ├── doc3 │   ├── folder1 │   └── folder2 │ ├─ x ├─ y └─ z          I want to delete the content of the folder (NASA/) except specified folders and files.   For example I want to keep a folder, b folder and x file.     I tried   :   rm !(a/) -r NASA/   And (as explained in the answer ):  find NASA/ -type f ! -iname "x" -delete   But this is not very straight forward and I have to use a bash script.    Am I missing a more easy way ? How can I do this in a single command? How to minimize residual sum of squares of an exponential fit? I have the following data and would like to fit a negative exponential growth model to it:  Days &lt;- c( 1,5,12,16,22,27,36,43) Emissions &lt;- c( 936.76, 1458.68, 1787.23, 1840.04, 1928.97, 1963.63, 1965.37, 1985.71) plot(Days, Emissions) fit &lt;- nls(Emissions ~ a* (1-exp(-b*Days)), start = list(a = 2000, b = 0.55)) curve((y = 1882 * (1 - exp(-0.5108*x))), from = 0, to =45, add = T, col = "green", lwd = 4)   The code is working and a fitting line is plotted. However, the fit is visually not ideal, and the residual sum of squares seems to be quite huge (147073).   How can we improve our fit? Does the data allow a better fit at all?  We could not find a solution to this challenge on the net. Any direct help or linkage to other websites/posts is greatly appreciated. What are these auxiliary file descriptors? While poking around /proc/self folder for my mksh shell,  I found a peculiar thing: in /proc/self/fd/* there are all the standard file descriptors (0 for stdin, 1 for stdout, and 2 stderr) some file descriptors, but also some extra ones - 24, 25, 3. And I technically can list them with a glob in the shell:  $ for fd in /proc/self/fd/* ; do echo $fd ; done                                                       /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/24 /proc/self/fd/25 /proc/self/fd/3   But when I try to stat them or use find on them, they are reported as non-existent.  $ find  /proc/self/fd/*                                                                                /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/24’: No such file or directory find: ‘/proc/self/fd/25’: No such file or directory /proc/self/fd/3   Same occurs in bash , but just with just one auxiliary file descriptor.  $ for fd in /proc/self/fd/* ; do echo $fd; done /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 /proc/self/fd/255 /proc/self/fd/3  $ find /proc/self/fd/* /proc/self/fd/0 /proc/self/fd/1 /proc/self/fd/2 find: ‘/proc/self/fd/255’: No such file or directory /proc/self/fd/3   Question is: what are those additional file descriptors? What is their purpose? Why do we assume $a+b=b+a$ in a Ring with 1. Also, is it true with Rings without 1? I was wondering why do some people use redundant axioms in definitions?  If you just expand $(a+1)(b+1)=(a+1)b+a+1=ab+b+a+1$ $(a+1)(b+1)=a(b+1)+b+1=ab+a+b+1$. Hence, $ab+a+b+1=ab+b+a+1$, then cancel ab and 1. Then, you get it's commutative for free.   Why do we then assume it?   Also, is it even stronger. If we drop the condition that 1 is in R, then can we still deduce a+b=b+a? As clearly the argument just done falls apart if you haven't got 1 in R. Avoiding confusion over the term "Research Assistant" How to get full query text from performance_schema.threads? According to : Access to the threads table does not require a mutex  and has minimal impact on server  performance. The other sources have negative performance consequences because they require a mutex.   So yes, I want to use threads table to examine running queries. The trouble is, the PROCESSLIST_INFO column does not contain the full query. It just contains a truncated version of the query. There is a flag viz performance_schema_max_sql_text_length which controls how many bytes are allocated for the SQL query. But it seems to affect the events_statements_history_long table. There is no change in the thread table output. There is also the events_statement_current table. But it is not clear if accessing that table affects performance or not. Implications of parity violation for molecular biology In biology, the concept of parity emerges in the context of chiral molecules, where two molecules exist with the same structure but opposite parity. Interestingly, one enantiomer often strongly predominates over the other in natural biological systems (e.g. D-glucose is ubiquitous, L-glucose is rare in nature).  In physics, it has been established that weak interactions violate parity, which (if I understand correctly) implies a physical difference between left- and right-handed systems.  This suggests to me the following questions: Does parity violation in physics affect the physical or chemical properties of chiral molecules? And does this have any implications for our understanding of biological homochirality? Limit FTP access only to the /var/www with vsftpd I am running vsftpd as ftp server on my linux (rasbian), I log in to the machine as a root user.  I would like to be still locked to using only /var/www, how can I configure vsftpd conf to accomplish it? Insert only half a pdf page I'd like to include papers of mine which can easily be done with the pdfpages packages:  \usepackage{pdfpages} \includepdf[pages=-]{mypaper.pdf}   However, my thesis has an A5 format. Which means that each page is "half" an A4 page. Basically, I'd like two include each PDF page on two pages, like illustrated below:    While I found how to rotate the PDF using the angle parameter, I did not find how to split it... Is it possible to bring built-in lightning components into aura component? I have a form that needs to let the user select 3 out of 5 products, something similar to Order > Add Product (Modal). I was wondering if there was a way to bring that piece into my component (markup) and add some sort of filter that only shows the products I want to show.  What I found so far:  &lt;lightning:listView objectApiName="Products2" listName="productsView" showActionBar="true" enableInlineEdit="true" showRowLevelActions="true"/&gt;   But Product2 is not supported for that component.  also these from browser inspector:  forceMultiAddUsingLVM forceListViewManager   These are data-aura-class attributes when rendered.  I'm looking for directions here. Thanks in advance. What are the best strategies for assessing if a journal is a &quot;vanity&quot; or &quot;predatory&quot; journal that should be avoided (both for publishing in and reviewing for)? For example, how would one go about determining if a journal/publisher belongs on ? I am getting a warning when trying to include the .net 3.5 sp1 prerequisite for my setup project.  The warning states Prerequisite could not found for bootstrapping.  Any suggestions?  Thanks Can you reduce yourself, crawl into the Tarrasque's airway, and try to collapse its lung by enlarging inside of it? A player tried to use the spell  on his PC while in the mouth of the Tarrasque to shrink himself, then go deeper into its airway and to try to collapse its lung by enlarging himself inside of it. I imagine there's no real rule for this but I felt silly just denying it, because it seemed like a cool idea that you could only probably do with a creature as large as the Tarrasque.  Can you crawl into a gargantuan creature’s mouth or into its airway via reduce/enlarge and attack its brain or internal organs? How do I calculate $\lim_{x\rightarrow 0} x\ln x$ I was thinking about the reasons behind $0^0=1$ and I remember one of my friends studying math arguing about the continuity of the function $x^x$ in $0$. But when I write as $$x^x=e^{x\ln x}$$ I am now looking at $$\lim_{x\rightarrow 0} x\ln x$$ Graphically I can see in Mathematica that it goes to $0.$ But I can't calculate by using a Taylor expansion, because I can't expand log around $0$. How do you prove that? Is it possible to paint only inside a stroke on illustrator? what i actually want to do is paint the same stroke with different colors in diferent segments of it but i can't do it...   Also... I've seen some tutorials that include editing a gradient but that would be very complicated and so would be to make a new stroke over this one, I just hope theres an easyer way XD  Edit per comment:  thats cool but not really what im looking for, what i want is lets say my stroke has the shape of a burger i want part of i to be bread color and part of it to be meat color... not one stroke over the other... i want something like this, imagine the jelly worm is my stroke: How do I calculate the power consumed by a lightbulb? Energy-Momentum Tensor in QFT vs. GR best way to pick a random subset from a collection? I have a set of objects in a Vector from which I'd like to select a random subset (e.g. 100 items coming back; pick 5 randomly). In my first (very hasty) pass I did an extremely simple and perhaps overly clever solution:  Vector itemsVector = getItems();  Collections.shuffle(itemsVector); itemsVector.setSize(5);   While this has the advantage of being nice and simple, I suspect it's not going to scale very well, i.e. Collections.shuffle() must be O(n) at least. My less clever alternative is  Vector itemsVector = getItems();  Random rand = new Random(System.currentTimeMillis()); // would make this static to the class      List subsetList = new ArrayList(5); for (int i = 0; i &lt; 5; i++) {      // be sure to use Vector.remove() or you may get the same item twice      subsetList.add(itemsVector.remove(rand.nextInt(itemsVector.size()))); }   Any suggestions on better ways to draw out a random subset from a Collection? Why does String.split need pipe delimiter to be escaped? dynamic does not contain a definition for a property from a project reference