Expected Expression before ... In Switch Statement
Why can't variables be declared in a switch statement?
Is the consciousness currently in oneself the same the the consciousness that used to be or in the future will be in oneself? People seem to believe that one's consciousness is a "different" consciousness than that of others, but the "same" consciousness as the one that has been in one's body in the past and the one that will be in one's body in the future. How likely is this to be true and why?   Also, I have almost no knowledge about neuroscience, so please refrain from using neuroscience jargon if feasible. Let $f(\sin x)$ be a given function of $\sin x$.   How would I show that $\int_0^\pi xf(\sin x)dx=\frac{1}{2}\pi\int_0^\pi f(\sin x)dx$? I was recently told (  ):     You cannot delete a class in production directly. You will need delete   the class from your sandbox and then deploy the deletions to your   production org.   When you deploy from sandbox to production, the   missing classes will come up in red and you can choose to deploy these   deletions to Production.   However, I'd like some clarification because finding information on how to do this is like pulling teeth, unfortunately.  Am I supposed to:   Delete the Trigger in Sandbox Make a deployment package in Sandbox Add the Trigger which is going to be listed in RED now Deploy (and that deletes it from Production)?   I am not seeing deleted Triggers in Red in Sandbox.  Are they NOT listed under "Triggers" for deployment, but elsewhere?   Frustrated = true.   Does this ONLY apply to Classes??  UPDATE:  I just tried again, with a CLASS, and it still doesn't show up at all as a Deployable package (red or not) after I delete it in the Sandbox.  UPDATE 2:  I was just able to delete a class, that I know was written via IDE from a third party, in both Sandbox and Production.  So now I'm wondering if it has to do with where it was originally deployed from (if from IDE, IDE can delete it - it from Sandbox, you have to jump through hoops).  :-( Looking for sci-fi short story anthology with a particular story of an Earth/Mars war children inheriting the surface I read this in the early to mid 80's.  It was a textbook sized hardcover anthology with color illustrations throughout.  Each story had a few images, some were full page illustrations.  The particular story I remember the most involved Earth survivors living underground.  Robots controlled the war from the surface.  A teenage girl and boy decided to sneak away to the surface as no one had been up there in a long time.  The kids discover greenery and a healthy environment, with rusted robot guardians.  The robots had been keeping the humans fooled that the war was still going on, and had kept them under the surface.  Mars had been wiped out from nearly the first volleys of missiles.    The robots judge the teenagers as worthy and let them remain on the surface.  The kids had silver jumpsuits that dissolved when they got wet.  The robot illustrations were blocky, almost weathered stone-like statues.  They had nearly spherical feet and square simple heads.  The faces had eyes and simple mouths.  -edit- The robots were similar in shape to the one in this picture, but smoother, and no arms.  The illustrations with them had the robots being several stories tall.  I kind of remember that the kids emerged from the belly of one or something like that. I'm wondering where a new path has to be added to the PATH environment variable. I know this can be accomplished by editing .bashrc (for example), but it's not clear how to do this.  This way:  export PATH=~/opt/bin:$PATH   or this?    export PATH=$PATH:~/opt/bin Female main character in an ice world earning gems/runes Here's what I remember:   The main character's female (99% sure) There is one part where she has to cross a big tundra and she has to kill a big ice creature The kids in the story go to a school-like place where they train for something. I'm pretty sure they earn gems or runes or something like that There's one part where the main character has to play a piece of music perfectly to earn her gem/rune thing It's definitely a series; young-adult (I read them in middle school)   Thanks! I'm looking for a simple, easy to understand algorithm to alphabetically sort an array of characters in C. Suspended user cannot award bounty How To Recover My Data From Not Detected Hard Disk? I am using Acer Laptop one day before my Hard Disk is not detected in BIOS and not booting it's shows Insert Boot Disk and I am try another H.D.D it's boot perfectly in my Laptop but,I want detect and recover my data on not detected hard disk. I am not experience about Hard Disk please, can any one help me how to recover my data from not detected Hard Disk. Question of remainder on dividing by 7 Question :  What is the remainder when   $$ 10^{10} + 10^{10^2} +10^{10^3} + \ldots + 10^{10^{100}} $$  is divided by $7$? This week I saw the definition of a measurable set for an outer measure.     Let $\mu^*$ be an outer measure on a set $X$. We call $A \subseteq X$ measurable if $$\mu^*(E) = \mu^*(A\cap E) + \mu^*(A^c\cap E)$$ for every $E \subseteq X$.   This is not the first time I've seen this definition. Unlike most other things in mathematics, over time I have gained absolutely no intuition as to why this is the definition.   The only explanation I've ever seen is that a set is measurable if it 'breaks up' other sets in the way you'd want. I don't really see why this is the motivation though. One reason I am not comfortable with it is that you require a measurable set to break up sets which, according to this definition, are non-measurable; why would you require that? Of course, you can't say what a non-measurable set is without first defining what it means to be measurable so I suppose no matter what your condition is, it will have to apply to all subsets of $X$.     Is there an intuitive way to think about the definition of measurable sets? Is there a good reason why we should use this definition, aside from "it works"? What's the maximum hand luggage volume you can take with you to match all (or important) airline regulations considering only international connections?  In case my question is not clear, I'm looking for the one biggest carry-on bag that is accepted by all (or important) airlines on international connections. Accepted dimensions tend to be somewhat different on different airlines, meaning that a specific bag might be allowed on one airline, but not on another.  So, my question is what is the biggest bag that meets all (or important) airline requirements? Conditional expection of gamma distribution on sum I have a process which consists of a number of events and what is known is the timings between the events. What I'm trying to determine is a distribution that allows me to determine a likelyhood that a new sample fits the distibution.  The issue is mainly that if you have lots of samples you can approximate the result using a standard gaussian and use the mean and standard deviation. But if you only have a handful of samples, the gaussian does not accurately represent the situation.  From what I've read it is common to model waiting times using the gamma distribution. Looking at how the process evolves it looks like it matches well. The unknown is the scale parameter, since the shape parameter I think should be the number of samples. What I've worked out so far is that given the timings $X_1 ... X_N$ you can say:  $$ \sum_{n=1}^N X_n \sim \Gamma(N,\theta) $$  ($N$ is known and fixed)  However, $\theta$ is unknown, but the maximum likelihood parameter is the average of the $X_i$ (according to wikipedia anyway).   My question is, can I use this to estimate a distribution for $X_i$, that is, since the $X_i$ are independent:  $$ N X_i | \sum_n X_n \sim \Gamma(N, \tfrac{1}{N}\sum_n X_n) $$  Something else I've wondered about. Suppose I do have information about $\theta$, say a distribution. How can I incorporate this into the model?  Edit: Clarified that N is fixed. header and footer of the first page of every chapter It maby be weird, I want to make header and footer for every page including the first page of each chapter, how can I do this? Windows 10 Icon Gone Missing TL;DR: The Windows 10 upgrade icon went missing. How do I get it back in order to update my system? I am running Windows 7 SP1.   I woke up this morning... er, noon all excited about Windows 10. I had reserved my copy using the clever little icon in the taskbar a few weeks back, so I thought I would be set to go. I booted my computer and checked the icon to see if it would download the update. It still behaved the same as if Windows 10 wasn't launched yet. I supposed this was normal behaviour. After all, Microsoft can't roll out the update to everyone at once.   Windows Update did want me to install several updates though. I installed KB2952664, KB3064209 and KB3048761. Everything went fine, and I was prompted to restart my system.   After restarting, the icon wasn't there anymore. I tried a lot of solutions including the answers provided by our awesome community on , and the answer provided to  posted on the Microsoft Windows support forums.   How do I get the icon back in order to update my system?  UPDATES:   Installing from the Media Creation Tool does not working with an error "Something Happened" with as description "Something Happened". Both are translated from Dutch.  I tried to install it from the Media Creation Tool using PowerISO to mount the created ISO. It will not accept my product key, even though I am able to verify my Windows installation is already registered and the product key is correct. I looked into the Event Log, and GWX-Ins has a bunch of error messages saying: Error message: GWX Main: App failed to start hresult. After that it says what is roughly translated to English as "Cannot find the element". Does Metal have to be Hemalurgically charged for Ruin to control someone? To explain the expansion of space I have often heard people saying that space is continuously created. This picture is usually applied to cosmological scales but I`m nevertheless curious if some microscopic description of this process could be found (or probably is already available?).  The first thing which comes into my mind by thinking about this is that in theories like loop quantum gravity, there is an idea that space is quantized. Would space expansion then be explained as the creation of new quanta in loop quantum cosmology? Or are there other different ideas, such as the quanta themselves changing properties? Do people actually working on this already have some interesting results? Partition of harddisk lost/unusable This might be subjective, I don't know. However, it's a serious problem for me. My electrical bill is outrageous. It's three times as large as my next-door neighbor, and four or five times the size of my neighbor's across the street. It's worse in the summer (I live in central TX), but I've had the air conditioner inspected, and while the house is right at the maximum capacity for our unit, the unit should still be able to take care of the load. That also doesn't explain why our winter bills are larger than the comparables.  What I would like to do is check the amount of current drawn by each running appliance and calculate where all my money is going. I just don't know how to go about doing this. How do I compare strings in Java?