Is $\mathbb R-\mathbb Q$ open or closed?
Are the rationals a closed or open set in $\mathbb{R}$?
I am going to shoot a wedding this weekend, and I want to do my best for my friend's big day.    What can I do to prepare for the day in order to minimize failures and mistakes? How do I avoid missing important shots? What backup plan should I have?   I have been shooting for 6 years or so, and I know wedding is one of the hardest thing to do. I have told my friend what I end up producing will be of no match with the work of dedicated wedding photographers, not even the ones that are about to fall out of business.  They are on a tight budget, they said some photos are still better than none, they really must minimize the cost as much as they can. I exaggerated again that my photos will be worse off than the cheapest wedding photographer you can find.  She has been a close friends for years, I want to do everything I can to help her.  Their wedding is at 12:30pm coming Sunday, I have visited the venue last Sunday at 12:30pm to check traffic condition and also the lighting.  The setup is mainly outdoor (no church), the indoor area will not have a good ceiling for bounce. Being at the middle of the day, this can mean some tricky fill flash. I have jot down a list of must-have shots. I am also asking for the seating plan and the event run-down.  Gear:   Canon EOS 60D , EF-S 15-85mm f/3.5-5.6 IS USM Canon EOS 450D (or I can borrow a 550D), EF 50mm f/1.4 Speedlite 580 EXII Speedlite 270 EXII Yongnuo 460 (a cheap but powerful manual flash as backup) Samsung EX-1 f/1.8 point and shoot (backup of a backup...?)   Other lenses that I have but I don't think will be useful:   50mm f/1.8 EF-S 50-250mm f/4.0-5.6 IS II EF-S 18-135mm f/3.5-5.6 IS (I have the better 15-85 on 60D, should I put this on the 450D as a backup allrounder?) EF-S 60mm f/2.8 Macro (should I replace 50mm f/1.4 with this for added macro? You can hardly use f/1.4 under direct sunlight if you want to have fill-flash)   I have two batteries for all cameras (60D 450D and EX1). I have like in total 64GB SD card (I am really inclined to get more, or bring a laptop for on-the-fly backup, or do both). I recently repaired my 580EXII, it has a brand new flash head so the recycle time is as good as it can be, I just need a tonne of batteries. No I don't have external power pack or battery grip for my cameras.  I have a great monopod, but a cheap tripod.  I am happy to bring everything, just putting them in the boot of my car. The carpark is on-site, walking from venue to my car is under 1 minute.  I will have my girlfriend carry the 450D and shoot details / non-portraits.  One concern that I have is fill flash, I really do not have a large surface to bounce off  from. I have shot events before but they are not as dynamic/critical as a wedding.  How do I prepare for differing weather conditions?  If its sunny, fill flash is probably going to be in every single shot. If its cloudy, I probably will turn off the flash. If it rains, my 60D should be fine I have used it in slight rain before, but I really don't know their plan and if they have extendable shelters etc.  What else should I prepare for? Having no experience I want to be as prepared as I can be. Maybe I have overlooked something, maybe there is something else I can do to ensure the shooting will go smoothly. Your help is greatly appreciated! If I upload my brain into a computer is it still me? I think the answer is yes but I know a lot of people disagree. So, I would like to ask these people when exactly does it stop being me.  Let's say I want to upload my brain into a computer using the following procedure:  I have each of my neurons replaced by electronic neurons. By electronic neurons I mean chips with the necessary hardware and software to perform the exact same function that the neuron being replaced was performing. This means that given the same inputs that the biological neuron was given it would produce the same outputs. Then I connect that electronic neuron to all the neurons that former biological neuron was connected to.   At the end of this process is it still me? If not when did it stop being me? When one neuron was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  (assuming it is still me)  Then, I divide these electronic neurons into groups and for each group I perform the following:   Write software to simulate the group of electrical neurons in my computer such that given the same inputs that go into the group of electronic neurons in my brain, it will produce the same outputs. Replace each group of neurons with another chip that communicates with my computer. Each of the chips will communicate to the corresponding software module in order to determine how to transform its inputs into the necessary outputs. Connect all of the inputs and outputs of the group of electronic neurons to that new chip.   At the end of this process is it still me? If not when did it stop being me? When one group was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  (assuming it is still me) Now, what I have is a bunch of these new chips in my head, connected to each other and for each of these chips I have a small neural network software module in my computer. So, now for each pair of chip/software module I do this:   Transfer all connections going into and out of the chip into the computer version (i.e. connect the software module to the other software modules that represent the other chips that this chip is connected to) Disconnect the chip from the other chips and remove it   At the end of this process is it still me? If not when did it stop being me? When one of the new chips was replaced? When 1,000 were replaced? When 1,000,000 were replaced?  If it is still me then I have successfully moved my brain into a computer without ceasing being myself.  So, again the question is if at the end it is not me anymore when exactly does it stop being me and why does it stop being me?  EDIT: This question assumes that our universe and everything in it (including ourselves) follows the (testable) laws of physics. As it stands it also assumes that neuroscience is mostly right, although the question could also be considered without that requirement if instead of neural simulations we were to implement physics simulation of the brain. Of course this is a lot less practical. However, if your view is that our minds have a supernatural component then the question does not make any sense.  It was also pointed out that this is related to the Ship of Theseus, i.e. is something still the same if all its parts have been changed. With regards to that I think it is useful to consider that most of the cells in our body (not including brain cells) are regularly replaced anyway and some people even get entire organs replaced. Yet, we don't say that they stopped being themselves. Note, however, that if you are assuming a supernatural component of the mind that this explanation is not really adequate or relevant. Parameter evaluation order before a function calling in C Can it be assumed a evaluation order of the function parameters when calling it in C ? According to the following program, it seems that there is not a particular order when I executed it.   #include &lt;stdio.h&gt;  int main() {    int a[] = {1, 2, 3};    int * pa;      pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa), *(pa++),*(++pa));    /* Result: a[0] = 3  a[1] = 2    a[2] = 2 */     pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa++),*(pa),*(++pa));    /* Result: a[0] = 2  a[1] = 2     a[2] = 2 */     pa = &amp;a[0];    printf("a[0] = %d\ta[1] = %d\ta[2] = %d\n",*(pa++),*(++pa), *(pa));    /* a[0] = 2  a[1] = 2 a[2] = 1 */  } I've seen many boads with weird zig-zag shaped tracks just like the one below. Why are they designed like that? I saw her dance/dancing? I saw a flash of lightning strike/striking? I caught her steal/stealing? Remove a marker from a GoogleMap Wrapper for package managers There are a lot of language-specific package managers like cpan for perl, cabal for haskell etc. When we want to install some software, it can sometimes be installed from a corresponding repo, with installation instruction just like (say, ) npm install yaxy or cpan something or cabal install something.   These package managers have slightly different syntaxes, they all need root privileges and/or custom setup, or (in case of Yaxy) just a newer version of interpreter (nodejs packaged by Ubuntu was too old to run it).  Is there a wrapper for different package managers that unifies/automates setup for different package managers?  Edit: what I want is a way to execute installation command like that npm install yaxy and make it working without manual installing system npm+nodejs, getting non-functional executable, finding the simplest way to install fresher nodejs on my system, reinstalling... proving combinatorics identity - $\sum_{k=0}^m{n-k \choose m-k}={n+1 \choose m}$ Prove that for every $n \ge m \ge 1 , \sum_{k=0}^m{n-k \choose m-k}={n+1 \choose m}$    I've tried saying that the RHS represents the number of binary series with m "1" 's and n+1-m "0"'s, but I couldn't find out what k represents at the LHS. Thanks I want to create an effect on a character where their skin and clothing are effected by two different light sources. The clothing should only reflect a bright bounce light, but have the skin should not be affected by this light source.    In the example image I have two objects a cube, a sphere and three emission  lights . I want the two white lights to hit both objects, and I need the purple light to hit and reflect off of the sphere, but ignore the cube entirely (no reflections).  Someone suggested to composite the layers together, it works... but this is very impractical and cumbersome because it forces the background to be transparent and it will be a pain to try and layer together a more complex scene, especially if its animated which is what I want this effect for.  I know you can have objects ignore shadows and all kinds of other things so im hoping someone knows how to get an object to ignore light with a few settings. Failed to upload an image, "An error occurred at imgur" Currently I'm unable to upload an image to anywhere on site: e.g. posts or chat.                Is this problem with Imgur? How can you change the href for a hyperlink using jQuery? Intuitive idea of the Lipschitz function I'm trying to understand intuitively the notion of Lipschitz function.   I can't understand why bounded function doesn't imply Lipschitz function.   I need a counterexample or an intuitive idea to clarify my notion of Lipschitz function.  I need help  Thanks a lot How to create a separate subnet for wireless access? I need to configure my wireless router so all wireless devices are on a different subnet (192.168.2.1).  The wireless devices should be able to access the internet, but ideally not the workstations on the LAN.  Here is my network:    All suggestions welcome! Relationship between complex number and vectors What is the relation  between complex numbers and vectors?  I have read in some places "a complex number a 2-dimensional vector".  One can easily observe that $i\cdot i=-1$ in complex multiplication like the cross product of vectors.    Is  vector only the generalisation of complex number to n dimensions?   Is there any fundamental difference between those two? Is it possible to accept the alternative hypothesis? I'm aware of several related questions here (e.g., , ) but I don't know the definitive answer for my question below.  Suppose a hypothesis test where we want to test whether a coin is fair or not. We have two hypotheses:  $H_0: p(head)=0.5$  $H_1: p(head)\neq0.5$  Suppose we use 5% significance level, there are two possible cases:   When we obtain the data and find that the p-value is less than 0.05, we say "With significance level 5%, we reject $H_0$."  p-value is greater than 0.05, then we say "With 5% significance level, we cannot reject $H_0$."   My question is:      In case 1, is it correct to say "we accept $H_1$"?   Intuitively, and from what I have learned in the past, I feel that "accepting" anything as a result of hypothesis testing is always incorrect. On the other hand, in this case, since the union on $H_0$ of $H_1$ covers the whole "space", "reject $H_0$" and "accepting $H_1$" look exactly the same to me. On another thought, I can also think of the following idea, which says it is incorrect to say "we accept $H_1$":     We have an evidence strong enough to believe that $H_0$ is not true, but we may not have an evidence strong enough to believe that $H_1$ is true. Therefore, "rejecting $H_0$" does not automatically imply "accepting $H_1$"   So, what is the right answer? Style Guide: Bold, Italic, or Quotes When I Want to Emphasize Something Let’s say I have many lists of this kind on a page:   Click on the Foo button. Tick the Bar box. Click on the Save button.   How should I emphasize Foo, Bar, and Save?   Bold?   Click on the Foo button. Tick the Bar box. Click on the Save button.  Italic?   Click on the Foo button. Tick the Bar box. Click on the Save button.  Quotes?   Click on the “Foo” button. Tick the “Bar” box. Click on the “Save” button.    NOTE: I want the lists to be read as easy as possible. I'm trying to create record Type selection screen in LWC, but getting this error  afterRender threw an error in 'c:createContact' [Cannot read property 'recordTypeInfos' of undefined]  HTML:  &lt;template&gt;     &lt;lightning-combobox name="recordType" label="Record Type" placeholder="Choose Status"                         value={value}                          options={recordTypeId}&gt;      &lt;/lightning-combobox&gt; &lt;/template&gt;   JS:  import { LightningElement, track, wire, api } from 'lwc'; import { getObjectInfo } from 'lightning/uiObjectInfoApi'; import CONTACT_OBJECT from '@salesforce/schema/Contact';  export default class CreateContact extends LightningElement {      @track statusOptions;     @track value;     @api objectApiName;      @track objectInfo;      @wire(getObjectInfo, { objectApiName: CONTACT_OBJECT,})     objectInfo;       get recordTypeId() {         // Returns a map of record type Ids          console.log(this.objectInfo);         const rtis = this.objectInfo.data.recordTypeInfos;         return rtis;     }  } Why does $(\frac{p-1}{2}!)^2 = (-1)^{\frac{p+1}{2}}$ mod $p$? Assume $p$ is prime and $p\ge 3$.  Through experimentation, I can see that it's probably true. Using Wilson's theorem and Fermat's little theorem, it's equivalent to saying $2^2 4^2 6^2 \cdots (p-1)^2 = (-1)^{\frac{p+1}{2}}$ mod $p$, but I can't figure out any more than that. Can I put 700c tires on rims made for 27 x 1.25"? Is it possible to flash a smartphone like the Samsung Galaxy SIII or an LG Optimus 4X with a vanilla Android ROM like the one that has been flashed on Galaxy Nexus or Motorola phones (I think)?  I am asking because manufacturers like Samsung, LG, HTC tend to make ROMs for their smartphones and tablets with preinstalled launchers like Touchwiz or HTC Sense. They explain their decision by saying that they want to make their devices to look unique against their rival devices. The problem is that Android updates for their phones and tablets get delayed and there are incidents in which some devices - which are more than capable of running the upcoming version of Android - fall way behind or never get updated at all.   So, what I am basically asking here is if there is a way to install vanilla Android, excluding CyanogenMod or any other modified vanilla ROMs, on an Android based smartphone?