Google script: compare variables in If statement
Which equals operator (== vs ===) should be used in JavaScript comparisons?
Monos in $\mathsf{Mon}$ are injective homomorphisms. Let $f: M \to N$ be a mono in $\mathsf{Mon}$. I want to prove that the underlying function $U(f): U(M) \to U(N)$ is injective.   How can this be done ? Thanks in advance. Take the following C# class:  c1 {  event EventHandler someEvent; }   If there are a lot of subscriptions to c1's someEvent event and I want to clear them all, what is the best way to achieve this? Also consider that subscriptions to this event could be/are lambdas/anonymous delegates.  Currently my solution is to add a ResetSubscriptions() method to c1 that sets someEvent to null. I don't know if this has any unseen consequences. How do I change the screen resolution using Ubuntu command line? When I restart httpd, I get the following error.  What am I missing?  [root@localhost ~]# service httpd restart Stopping httpd:                                            [  OK  ] Starting httpd: Syntax error on line 22 of /etc/httpd/conf.d/sites.conf: Invalid command 'SSLEngine', perhaps misspelled or defined by a module not included in the server configuration   I have installed mod_ssl using yum install mod_ssl openssh  Package 1:mod_ssl-2.2.15-15.el6.centos.x86_64 already installed and latest version Package openssh-5.3p1-70.el6_2.2.x86_64 already installed and latest version   My sites.conf looks like this  &lt;VirtualHost *:80&gt; #    ServerName shop.itmanx.com     ServerAdmin webmaster@itmanx.com      DocumentRoot /var/www/html/magento     &lt;Directory /var/www/html&gt;         Options -Indexes         AllowOverride All     &lt;/Directory&gt;      ErrorLog logs/shop-error.log     CustomLog logs/shop-access.log &lt;/VirtualHost&gt;  &lt;VirtualHost *:443&gt;     ServerName secure.itmanx.com     ServerAdmin webmaster@itmanx.com      SSLEngine on     SSLCertificateFile /etc/httpd/ssl/secure.itmanx.com/server.crt     SSLCertificateKeyFile /etc/httpd/ssl/secure.itmanx.com/server.key     SSLCertificateChainFile /etc/httpd/ssl/secure.itmanx.com/chain.crt      DocumentRoot /var/www/html/magento     &lt;Directory /var/www/html&gt;         Options -Indexes         AllowOverride All     &lt;/Directory&gt;      ErrorLog logs/shop-ssl-error.log     CustomLog logs/shop-ssl-access.log     &lt;/VirtualHost&gt; Is there any IC that interfaces any 3.3V Input/Output to 5V Output/Input? I need it primarily for an Arduino Due but if there any bidirectional IC that works like that it would be great.  Some people advised me to use the SN74AHC125 and CD4050 ICs, but I don't understand how they work or how to interface with them. I am trying to split a selected polygon ("regions") with a selected line from another layer ("streets") in QGIS 3.8.3. In the example below, I want to split the selected polygon coloured in yellow with the street pointed at by the blue arrow.    After reading the post , I realized I can't find it either. I installed the plugin, but the tool seems to be missing from my toolbar: Is there any way to get the ID of the element that fires an event?  I'm thinking something like:    $(document).ready(function() {   $("a").click(function() {     var test = caller.id;     alert(test.val());   }); }); &lt;script type="text/javascript" src="starterkit/jquery.js"&gt;&lt;/script&gt;  &lt;form class="item" id="aaa"&gt;   &lt;input class="title"&gt;&lt;/input&gt; &lt;/form&gt; &lt;form class="item" id="bbb"&gt;   &lt;input class="title"&gt;&lt;/input&gt; &lt;/form&gt;     Except of course that the var test should contain the id "aaa", if the event is fired from the first form, and "bbb", if the event is fired from the second form. Recently the cranks on my bike started to creak. I checked with my usual "bike-bible" . They recommended dis-assemble, lubricate, re-assemble.  So I did that.  Remove cranks. Remove spindle. Clean. Lubricate. Reassemble.  No, the creak is still there.  (To find out the source-area of the sound I had a friend riding the bike slowly while I ran alongside listening. And the sound where coming from the area of the bottom bracket/cranks. I am happy no neighbor saw me...)   For each revelation of the cranks there are two creak-noises.  If I, when on the bike, push down with both feet I hear a noise. Turn 180 degrees without pressure, push down again and there is the noise again. If I am "too soft", low pressure there are no sound. Since I have clips I have tried to only work with one foot to keep a constant load during a revelation, there where no detectable sound then.  Anyone have any idea what is wrong on the bike? And how I should fix it?  /Leif Solving the recurrence $T(n) = \sqrt n T(\sqrt{n}) + \sqrt{n}$ Which files shouldn't be checked in into version control in Android Studio List of generally believed conjectures which cannot all be true There are some conjectures which most leading experts believe in albeit no one can prove it yet. For example: $\mathcal{P} \neq \mathcal{NP}$, the Riemann hypothesis or the Collatz conjecture.  My question is whether there is a set of such conjectures which cannot all be true, eg. is a statement such as "Either $\mathcal{P} = \mathcal{NP}$ or the Riemann hypothesis is wrong" true? Getting the array length of a 2D array in Java Is it possible to connect two monitors on a laptop, one through HDMI and the other through DisplayPort? For example the Alienware m17x offers 3 connections, HDMI, DisplayPort, and VGA. Is it possible to connect two independent external monitors, one through the DisplayPort and one through the HDMI port? I'm writing a bash script that needs to delete old files.  It's currently implemented using :  find $LOCATION -name $REQUIRED_FILES -type f -mtime +1 -delete   This will delete of the files older than 1 day.  However, what if I need a finer resolution that 1 day, say like 6 hours old? Is there a nice clean way to do it, like there is using find and -mtime? Set of discontinuity of monotone function is countable The result I am trying to prove is the following:     Let $F:\Bbb R\to\Bbb R$ be increasing. Then the set of points, at which it is discontinuous, is countable.   I have been reading this form Folland's Real Analysis and he proves this by considering the sum $\sum_{|x|&lt;N}[F(x^+)-F(x^-)]$ which has to be finite by some sort of telescoping sum. Now, I am not sure how he defines this sum. I am assuming he does this by using nets (let me know if there is another way to look at this), but he doesn't introduce the concept of nets until the next chapter. So I was looking for some other ways to prove this result and I found the following result (from Stein-Shakarchi) which is quite similar but assumes $F$ to be bounded.      A bounded increasing function $F$ on $[a,b]$ has at most countably many discontinuities.   This is shown by using the density of rationals in $\Bbb R$, i.e. $\exists r_x\in\Bbb Q$ s. t. $F(x^-)&lt;r_x&lt;F(x^+)$ corresponding to each point of discontinuity $x$.   Now I feel like there shouldn't be a problem in doing the exact same thing for unbounded increasing function. Is this right? Secondly how does this proof relate to the first one? I feel like there isn't much of a difference between the two proofs. To be precise I think that the previous sum is well defined/finite because of this countability of discontinuous points. What do you think about this way of thinking?  Edit. Here is the Folland's proof in more detail:  Since $F$ is increasing, the intervals $(F(x^-),F(x^+))$ are disjoint for all $\forall x\in\Bbb R$. Moreover,  $\forall|x| &lt; N$ such intervals are contained in $(F(-N),F(N^+))$ and so  $$\sum_{|x|&lt;N}[F(x^+)-F(x^-)] \leqslant F(N) - F(-N) &lt; \infty. $$ Hence the set $\{ x \in (-N,N) : F(x^+) \neq F(x^-)\}$ is countable. How to redirect stderr and stdout to different files and also display in terminal? I want to see the output of a command in the terminal as if there was no redirection.  Also, stderr needs to be redirected to err.log and stdout needs to be redirected to stdout.log.  It would be nice to also have the exact copy of what is shown in terminal, i.e. errors printed as and when it occurs, in a separate file: stdouterr.log. Mutable or immutable class? According to some grammars[1][2] and CMS...  "Interjections and vocative should be separated from the rest of the sentence by commas".  The vocative case [1] is used to indicate direct address (i.e., to show when you are talking to somebody or something directly). Nouns in the vocative case are set off using commas. CMS 6.38  As direct address (i.e. vocative case), the parenthetical element should be set off using commas (CMS 6.30). An absolute phrase is always treated as a parenthetical element, as is an interjection.  So,      Hello, world!   That is a very classical way to hello the world.  But, languages change. I am not sure, but today, I feel that it is very uncommon helloing someone with an interjection, providing a small pause and clarifying who is helloed. I have an impression that usually people use hello as a ("kind of") verb, not an interjection.   Question: Is that just a personal (bad) impression or some linguistic has already studied that phenomenon?     [1] - Nelson, Gerald C., Director Survey of English Usage Sidney Greenbaum, and Sidney Greenbaum. An Introduction to English Grammar. Routledge, 2013. [2] - Advanced Grammar in Use with Answers: A Self-Study Reference and Practice Book for Advanced Learners of English. 3 edition. Cambridge University Press, 2013. CMS - Chicago Manual of Style In the 3d-view workspace, we can use a random color to give our separated object a distinct look.  What if I don't like the result and I want to randomize the color again?   Swapping the setting doesn't change the random seed in color.    (Blender 2.80.64.) Few font size-related layout issues I am using a default font size of 26px and stackoverflow's layout seems to not work well with such a large sizes.  The most important issue is that many inputs tend to overflow and partially get hidden below side text. This includes one with login, ‘Title’ and — the most important issue — the editor, which makes writing posts a little painful.  Another important one is that sometimes 'search' field doesn't fit in topbar and jumps lower, being partially hidden by logo. I met that issue on stackoverflow itself only while serverfault &amp; meta display fine (but that may be related to rep or sth).  There's one minor issue too — navbar is too narrow and ‘Ask Question’ jumps below — but this one looks quite nice (maybe it's even intended?).  Screenshot: (click to enlarge)