Solve this equation using Bernoulli's equation
Solving of a seperable differential equation
I am new to working with IDS' such as Suricata/Snort. I am currently trying to using Suricata to log DNS requests and responses to malicious domains on my network. On my DNS server I made it so that any request to say, bad.com, would resolve to 127.0.0.1, thus not allowing anybody on my network to access that site.   I have set up Suricata to log all DNS requests, but how do I filter that down and narrow it and tell it to only log requests to 127.0.0.1 and let everything else go unlogged?   I tried to create a rule:  alert dns any any -&gt; 127.0.0.1 any (msg: "BLACKLISTED WEBSITE"; flow:to_client; content:"rrname";sid:2240001;rev:1;)   But that did not work.   What do I need to do to only log DNS requests to certain IPs? I cannot find any information in the documentation or anywhere else on the internet.   Thanks. How to extract the n-th elements from a list of tuples? I have dual US and UK citizenship, but the US citizenship has only just been realized (wasn't aware I had claim to US citizenship earlier).  Unfortunately I haven't received my US passport yet. Can I still travel to the US only using my UK passport?  I understand that the US does require citizens to travel on a US passport, but would they even know that I am a dual citizen if I've only ever traveled on my UK passport? (Especially considering that my US passport has never been used before in any form - as I haven't received it).  If I was only entering the US for a small trip,  would it show on the screen that I also have US citizenship when they scan my UK passport? How to find out who called a method? How to randomly subset X% of selected points? What methods are available in ArcGIS 10.2 to randomly subset a selection of points.  For example, in the attached screenshot I am interested in keeping 20% of the selected points and deleting the rest. I cannot find enable-interactive-search in    gsettings set org.gnome.nautilus.preferences enable-interactive-search true.     I searched using    gsettings list-recursively | grep search     and    gsettings list-recursively | grep interactive     but no such option.  Can you help me disable this in Ubuntu 17.10 and later? How does 3-wire RTD or resistance measurement works in bridge of wheatstone? I cannot understand how 3-wire measurement will improve the resistance measurement.    They say that IF lead resistance \$ R_L \$ is the same, it will compensate. How can this happen?  If bridge is balanced (without \$ R_L \$):  \$ \frac {R_1}{R_2} = \frac {R_g}{R_3} \$  If \$ R_L \$ is added: \$ \frac {R1}{R2}= \frac {R_g+R_L}{R_3+R_L} \$  \$ \frac {R_g}{R_3} \$ is not same as \$ \frac {R_g+R_L}{R_3+R_L}\$; is this true only if \$ R_G=R_3 \$ in the beginning? So this means that \$R_L\$ does not get compensated? How do you integrate $e^{x^2}$? I know that $\int{\frac{1}{x}}dx$ is simply $\ln{(x)}+c$ (-which is clearly unrelated to the problem but I just thought I would share anyway) but I am not sure how to approach $e^{x{^2}}$. Perhaps a substitution? When you send a group text message in iOS, it appears as if you automatically opt in to receive any and all replies to that message. Is there a way to avoid being included in group replies? Is there a way to remove oneself from a group chat? I had this problem a week or two ago and I posted here but nothing from the suggested solutions seemed to work. I have managed to get some more details on it, in case anyone can help me, because this issue is causing me huge productivity problems and I really want it solved.  So I'm using Linux mint distribution, and I've installed Lyx via the software manager. Every time that I open a new document, I get an error claiming that some files are missing, and until they are installed, compiling the files or exporting them as pdfs is not possible. The file in question is called "extarticle.cls". Additionally, under Document->Settings->Document Class, every document class is marked as unavailable.  Here is the thing though.. this file is not missing... I have located it inside a folder associated with Lyx. It's definitely not missing.  I really need help with this one guys... It's been weeks since the problem came up and I really just want to be rid of it.. Why does this thing not work? Any help? I'm using terminal-ide  which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts? How to convert std::string to LPCWSTR in C++ (Unicode) I have recently installed a custom ROM and cannot find the Play Store. It seems like all apps that belong to Google are missing.  How can I install the Google Apps Package (Play Store, ...) on my Android device? Prevent Use of the Back Button (in IE) I'm trying to prove the following statements.  Let $G$ be a finite abelian group $G = \{a_{1}, a_{2}, ..., a_{n}\}$.   If there is no element $x \neq e$ in $G$ such that $x = x^{-1}$, then $a_{1}a_{2} \cdot \cdot \cdot a_{n} = e$.   Since the only element in $G$ that is an inverse of itself is the identity element $e$, for every other element $k$, it must have an inverse $a_{k}^{-1} = a_{j}$ where $k \neq j$. Thus $a_{1}a_{1}^{-1}a_{2}a_{2}^{-1} \cdot \cdot \cdot a_{n}a_{n}^{-1} = e$.   If there is exactly one $x \neq e$ in $G$ such that $x = x^{-1}$, then $a_{1}a_{2} \cdot \cdot \cdot a_{n} = x$.   This is stating that $x$ is not the identity element but is its own inverse. Then every other element $p$ must also have an inverse $a_{p}^{-1} = a_{w}$ where $p \neq w$. Similarly to the first question, a rearrangement can be done: $a_{1}a_{1}^{-1}a_{2}a_{2}^{-1} \cdot \cdot \cdot xx^{-1} \cdot \cdot \cdot  a_{n}a_{n}^{-1} = xx^{-1} = e$. And this is where I am stuck since I proved another statement.    Any comments would be appreciated for both problems. I am trying to run a simple echo script via crontab. I set that to run every minute, but it doesn't give output on shell screen. However, it runs fine when I run the script independently.   Script  #!/bin/bash echo "Test Script"   Crontab entry:  root@example-server ~]# cat /etc/crontab SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/     # For details see man 4 crontabs  # Example of job definition: # .---------------- minute (0 - 59) # |  .------------- hour (0 - 23) # |  |  .---------- day of month (1 - 31) # |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ... # |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat # |  |  |  |  | # *  *  *  *  * user-name command to be executed   *  *  *  *  * root /root/test.sh New UI encourages askers to confirm or dispute duplicate votes , the banner shown to askers whose questions have attracted at least one duplicate close vote has a couple of new options:    If the author clicks the first button, they're shown a confirmation that clarifies the results of this action somewhat:    If they click "Ok", the question is instantly closed:    If, instead, they edit, they'll be offered this guidance:    ...and once an edit is submitted the choice will go away until another duplicate close-vote is cast.   In just the past day, 80 questions  network-wide have been closed in response to confirmation from the asker; edits by askers are up significantly as well.   We'll be monitoring the results to see if further adjustments are needed. A few open questions surrounding this change include:    Perhaps if the number of votes is below some threshold?   I'm posting this separately from  to allow room for discussion and . English equivalent of the expression “a longer arm than résumé” If $k>0$ is a positive integer and $p$ is any prime, when is $\mathbb Z_p[\sqrt{k}] =\{a + b\sqrt k~|~a,b \in\mathbb Z_p\}$ a field. Should I vote to close a duplicate question, even though it's much newer, and has more up to date answers? I have seen this many times, a question is being asked because a previous, duplicate question was asked and answered a few years ago and has no longer relevant answers.  The  is to edit the old question, or add new answers to it, but it is not always happening.  I was wondering, should I still mark it as duplicate and vote to close it? Or just leave it as is?