What is the difference between:   "I promise not to misbehave." "I promise to not misbehave."   as in something a kid would say to convince its parents that it will behave well?
Which is more appropriate in the following sentence?     "I asked him to not judge her according to (or: based on) her beauty"   vs     "I asked him not to judge her according to (or:based on) her beauty"   or maybe you wouldn't choose either of the above, but something else?
Discrete Probability: Four dice are thrown, what's the probability that... Four dice are thrown, what's the probability that:  a) None of them fall higher than three?  b) None of them fall higher than four?  c) That four is the highest number thrown?  So for a, I wanna think about the denominator first. There are 6 possible outcomes for each dice, and we have four dice. So we're technically picking r out of n objects, aka picking 4 possible values out of 6. So the denominator/sample space should be $6^4$ right?  Now this is where I'm getting tripped up. Order technically shouldn't count, because we only care about the quadruplets that don't have a value higher than 3. I might be wrong, maybe I am, but could someone explain a bit more? My professor stated that typically in the sample space/denominator, we want order to count.   So I'm trying to think of the numerator now, so we want to find the probability that no values appear higher than 3, so some events that can occur are: $(1, 1, 2, 3), (1, 2, 2, 3), (1, 1, 1, 1)$ etc. Again, I can't see why order should count here, because if we only are concerned about what appears rather than how they appear, then we can say $(1, 1, 2, 3)$ is equal to $(1, 2, 1, 3)$? So if order does not count, and we have replacement, then does this lead the case where we use $$\binom{n-1+r}{r}$$to find out the probability?   I'm pretty sure if I can do a), I could prob do b), but if someone could maybe lead me in the right direction for c) I would appreciate that too! What is the difference between read() and fread()? Currently I am using Outlook 2010, and sometimes customers claim that they will received an attachment in Windows.dat format.  I have searched online for possible solutions, but mostly the suggestion is to change the sending format to plain text. However, by using plain text format, there is some limitation.  So I just wonder, besides the plain text format, is there a ways to solve the winmail.dat issue?  Besides, does plain text format really 100% avoid the issue? Is there a hack to force Twitter not to convert words like ASP.NET to links? Currently, Twitter converts anything that has dot inside it into a link, e.g. ASP.NET becomes , Any.DO becomes  etc. I currently make a space if I want the word to stay the way it should, e.g. "ASP. NET" though it is not right.  Is there a hack around this Twitter bug? Like if there would be some unicode character that looked like a dot and could be inserted there or something like that. What is ambient occlusion? I've heard about ambient occlusion and it looks nice, but what exactly is it? I work sometimes till 4 am and my friends and the rest of the world obviously don't know in advance that I don't want to be called at 8 am.  Is there an app or setting that can allow me to have an emergency override list of people I need to be woken up for if a possible emergency arises but ignore all other calls until I wake up?    I'm familiar with the Do Not Disturb option, but it has limitations that it blocks all calls. What if there is an emergency at night?  What if I want to allow certain callers during the Do not Disturb time? Is there a way to have an emergency list that allows calls during silent? I am trying to sniff on a custom SPI-like bus protocol, which uses a unified bidirectional data line instead of separate MISO/MOSI. To make sense of the communication, I need to split it up into unidirectional lines before feeding them to my logic analyzer. Otherwise I wouldn't be able to see which device is responsible for which part of the signal. Since my devices won't talk to each other unless the protocol is carried out correctly, it's obvious that the bus splitting device has to be transparent to the actual agents communicating.  I tried to construct a bus splitting device, but failed as described . Since this question was maybe too specific and has not been answered, I want to ask more generally: Is there a bidirectional bus splitter that is able to split  into four wire SPI? Where could I buy such a device? (This seems similar to  question, only that I'm not talking about two really different protocols, so the answer does not apply). In principle only getting one direction would also suffice, since I could just subtract it from the full signal in order to retrieve the other half. And I'm also only interested in the master side of the communication.    The  seems to be a good candidate. Although it's advertised for use with I2C, it seems to be agnostic to the actual protocol on the lines. (As it does not even differentiate between DATA and CLOCK line for I2C.)     Splits I2C-bus signal into pairs of forward/reverse Tx/Rx, Ty/Ry signals for interface with opto-electrical isolators and similar devices that need unidirectional input and output signal paths.   As my devices operate on SPI mode 3 (polarity 1, idling on HIGH), the implementation of the receive pin should work:        sense the voltage state of the I2C-bus pin Sx (or Sy) and transmit this state to the pinTx (Ty respectively), and   sense the state of the pin Rx (Ry) and pull the I2C-bus pin LOW whenever Rx (Ry) is LOW.      But I am still puzzled on how this would actually work in sniffing this bidirectional bus. I could connect one device with the I2C line and grab its MOSI at Tx and MISO at Rx, but I would eventually have to connect both lines before feeding it to the other device, therefore making it impossible to separate the signals at my logic analyzer again. How can I connect the Tx/Rx for the slave while still being able to read them separately with a third device?  Edit: I now think this is actually not helping at all, since it leaves me with the same splitting issue as with out the device. I already have separate master and slave lines, I just don't know how to join them while still retrieving the separate directions.    I also stumbled upon the . It seems like this is a device designed for sniffing on buses, but I don't think it can help me in my case. Is there a mode where I can use it as a bridge on a bidirectional line and grab unidirectional signals off of it simultaneously?    Edit: I found this  which seems related to the issue. This does supposedly split the bidirectional line to feed it to two unidirectional isolators. The question is: Does this work for my setup? It describes the I2C lines being open-drain, whereas my lines are open-collector and also I'm not entirely sure if I could just leave out the isolator part and grab the signals from the lines or if these would have to be also hooked up to some transistor or be pulled high. I recently bought  white LED reading lamp. I like it a lot, but the "white" light produced is significantly blue; I'll guess its  is about 5000K.  I've noticed that, when this is the only source of light, printed text appears slightly fuzzy, and is more difficult to read than with a standard incandescent reading lamp. My guess is that this is  causing color fringing in my eyes, making it harder to read with this new lamp.  Is there a way to make this lamp less blue using some sort of transparent/translucent filter over the lens? This could filter out some of the blue end of the spectrum, or include a  to convert some of the blue to yellow (as  do). The fluorescence idea would be better, as there'd be less light lost. I don't want to go too far, though; a strongly yellow lamp might be worse for reading than this currently blueish lamp. Add the Same Modifier to Multiple Objects at Once? What causes the tension in the strap between Dr. Ryan and Matt? In the scene where Dr. Ryan Stone's (Sandra Bullock) leg is entangled in Soyuz's parachute cords and she is tethered with Matt Kowalski (George Clooney) through a strap, there is tension in the strap, suggesting act of some external force. Where is this force coming form that is causing tension in the strap and pushing both Dr. Ryan and Matt outwards?  I'm guessing that the tension might be coming from centrifugal force, but immediate events before this scene, as well as other parts of ISS in same scene do not suggest presence of such force (or presence of any kind of rotation). USB composite device driver I am wondering if it possible to create a USB device (in following the device) composed from   a custom circuit (eg arduino) and  a flash storage   in such a manner that the device is recognized as a standard usb flash storage (and as such is operable with standart OS drivers), while said storage holds the utilities to operate with the custom circuit (dispalying the data colled by the circuit); and if so, how?  My first thought was to smack a cheap usb-hub and usb-pen before my circuit but that solution, is not pleasing to me.  My goal is to eliminate the need to carry an extra flash-drive just for the operating software, and use default os drivers, make it plug-and-just-work:   i plug the device in the os (windows) mounts a new flash-drive without needing a special driver is start (manually or via autorun) my custom.exe from that flash-drive i recive data measured by the circuit Prove that $x^{2} \equiv -1 \pmod p$ has no solutions if prime $p \equiv 3 \pmod 4$. Show a connected metric space (X,d) is $\epsilon$-chainable for $\epsilon &gt;0$       $\epsilon$-chainable Definition      (X,d) is $\epsilon$-chainable if given any two points $a,b \in X$, $\exists$ a finite set $\{ x_0,x_1,...,x_n\}$ of points in X with $x_0 = a$, $x_n=b$ and $d(x_{n-1},x_n)&lt;\epsilon$, $\forall$ n      Clopen Definition      A set is clopen $iff$ its boundary is empty      Connected Metric Definition      Let $(X,d)$ be a metric space. It is connected $iff$ it has no proper subsets which are clopen      The following are equivalent:         $X$ is connected   The only subsets of $X$ that are clopen are $\emptyset$ and $X$   $\nexists$ non-empty, disjoint, open sets $A$ and $B$ such that $X=A\bigcup B$   $\nexists$ non-empty, disjoint, closed sets $A$ and $B$ such that $X=A\bigcup B$         Theorem      Let $(X,d)$ be a metric space, and let $S$ be any subset of $X$. Then $S$ is closed $iff$ $S^c$ is open.     So how would someone show this exactly?  Let the set $A$ be the set of all elements in $(X,d)$ that can be reached from $a\in X$ in a finite number of steps with length less than $\epsilon$.  Does this mean that there should be no isolated points? (an isolated point would be at distance infinity from any other point, or distance zero from itself, since $\epsilon &gt;0$ we don't want this?)  Knowing that $X$ is connected $\implies$the only subsets of X that are clopen are $\emptyset$ and $X$  Also, by construction of A;   A is the set of all $\epsilon$-chains between any element and $a$  And, so $A^c = \emptyset$ if $A$ was $\epsilon$-chainable (because A has to have a path from all elements to a, for this to be true, the complement wouldn't have anything in it)  Leaving only $A$ as the remaining clopen set  Does this make any sense? Or should an alternative be used, and how to formalize it.  Thanks. Evaluating $\int_0^\infty \frac{dx}{1+x^4}$. Can anyone give me a hint to evaluate this integral?  $$\int_0^\infty \frac{dx}{1+x^4}$$  I know it will involve the gamma function, but how? How do I calculate the distance between two points specified by latitude and longitude?  For clarification, I'd like the distance in kilometers; the points use the WGS84 system and I'd like to understand the relative accuracies of the approaches available. Apparently, at one time, there was a directory of core-blocks for building Gutenberg templates on GitHub, but I'm not finding it anywhere. I talking about core/paragraph, etc.     array( 'core/paragraph', array(         'placeholder' =&gt; 'Content goes here',     ) ),     array( 'core/image', array(         ...  Thanks! How to add current date to cell if the rest of the cells (or some cells) in that row are edited, but only the first time? I was just testing Eevee and found that you cannot view a glass object through another glass. Is there any workaround? It works fine only If I rotate the glass window or put my camera to the back side of the scene Salesforce REST API authentication? I feel like this should be really easy to do, but I can't find anything about it on the web. Is there a way, through either javascript or a java web servlet, to skip the subsequent authentication?  We are trying to use the REST Api in production, but the problem is, that each time you refresh the page in javascript, or delete the cookies in java, you have to login again to salesforce.  Is there some way to do an ajax call or the login in the background or whatever, so that you can have your application connecting to salesforce right away? Is there a way to disable a specific JS script from a specific website? I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?