An object reference is required for the non-static field, method, or property 'CustDAL.AddNewCust(ref Customer)
CS0120: An object reference is required for the nonstatic field, method, or property 'foo'
Schema.org Type for Online Business Are PS+ free games region-locked? I have a PSN account that belongs to region X. It has a PS+ subscription. I have acquired many games throughout the years; some are PS+ free games, some are digital medias bought from PS Store. I'm moving to region Y.   Question: will I be able to play all of them normally on while I'm in region Y, specially those free PS+?  In other words, will I be able to keep using the same PSN and PS+ accounts and get access to my games in the library?  PS: I believe it is not possible to change country of a PSN account, isn't that so? Let $p, q \in \mathbb R$ be positive reals for which $p + q = 1$. How to prove that for any two natural numbers $n, m$ the following inequality is true?  $(1 - p^n)^m + (1 - q^m)^n \ge 1$  I don't have a big knowledge about solving inequalities, so I tried to use cauchy-schwarz inequality, binomial theorem and some other baisc techniques, but it lead me nowhere. I've been thinking about it for a long time and now I'm completly stuck. $x^p-c$ has no root in a field $F$ if and only if $x^p-c$ is irreducible? Hungerford's book of algebra has exercise $6$ chapter $3$ section $6$ [Probably impossible with the tools at hand.]:     Let $p \in \mathbb{Z}$ be a prime; let $F$ be a field  and let $c \in  F$. Then $x^p - c$ is irreducible in $F[x]$ if and only if $x^p - c$   has no root  in $F$. [Hint: consider two cases: char$(F) = p$ and   char$(F)$ different of $p$.]   I have attempted this a lot. Anyone has an answer? Is (rest) mass conserved in special relativity? I don't understand why it is said that the (rest) mass of a system is not conserved in relativity. I mean, the momentum of a system is conserved (i.e.: it remains constant in a frame of reference without any external influence). Also the energy of a system is conserved in relativity: it doesn't change without any external agency  and the (rest) mass of a system is just  $$m^2=E^2-p^2$$  $E$ is constant, $p$ is constant, how can $m$ change?  For example, entropy is not conserved in a system, that means that the entropy of the system will increase spontaneously with time, which is really the case. But, is this true for mass?   here is the problem from Griffiths and exact solution as given in the Griffiths,  Two lumps of clay, each of rest mass $m$, collide head-on at $3c/5$ and they stick together. Question: what is the rest mass $M$ of the composite lump?  Solution: In this case conservation of momentum is trivial it is zero before and zero after. The energy of each lump prior to the collision is $$mc^2/\sqrt{1-v^2/c^2} =5mc^2/4.$$ The energy of the composite lump after the collision is $Mc^2$ (since its at rest). so the conservation of energy says: $5mc^2/4 + 5mc^2/4 =Mc^2$ and hence $M=5m/2$.  Notice that this is greater than the sum of the initial masses! Mass was not conserved in this collision; kinetic energy was converted into rest energy, so the rest mass increased. What to include in my portfolio? I am a relatively recent graphic design graduate. I have been working at a small printing house for about two years, but will soon be interviewing for a different position in another city.  My question is about what to include in my design portfolio. When I was in school, my professors all insisted that work included in a portfolio should be 100% original: my original photography, my original logos, my original layout, my original written content etc. However, at my current office, we rely heavily on client-supplied logos, type content, and photography—and stock photography (shutterstock, etc).  What do other designers include in their portfolios? Has anyone else had this issue and can I reasonable include these more recent projects in my portfolio if I label them appropriately (something like "layout design")? Rotation Path Not Shown in Graph Editor I created a couple of LocRot keyframes but the rotation path and keyframes aren't shown in the graph editor (no, they aren't hidden). $X$ and $Y$ are independent rv having pdf $f(t)=\frac{1}{\pi} \frac{1}{1+t^2}$ determine pdf of $Z=\frac{X+Y}{3}$ Convert a line drawing from raster to vector "At least one" - singular or plural subject? So I'm going to be starting a Job here in a few weeks, I've been doing QA for about 6 years now. Pretty much your standard Test Plans/Testing with a little normal SysAdmin stuff that sometimes comes with the task. I've had some good ideas implemented in companies, as far as tracking requirements/test plans/issues differently, and they seem successful. However, this new position will be me laying down the foundation for QA. Right now things are done in what seems to be as needed as far as QA goes, requirements are gathered and sometimes kept in different locations, same with test plans (which are done by developers right now). So my job will be sort of centralizing this, or developing a Flexible way of QA'ing the Software (Web/Mobile development). So it seems the challenge will be centralizing everything, while creating test plans/ or ways of testing similar requirements that is flexible enough to span projects. I've had a few ideas, however, all my previous test work was windows based (So test plans in TFS or Microsoft Test Manager). I wanted to get some ideas from everyone here, or anyone that has started a QA department from scratch. I was also going to see if there were any books on the subject. My thoughts were mainly keeping projects separated for issue tracking (not sure of the software we will use yet). And keeping test plans for common I guess &quot;actions/elements&quot; that are repeated between different customers and executing those. Eventually maybe using selenium to save those &quot;common&quot; elements as test scripts. But I've never set something up like this before solo, so I've been doing quite a bit of reading. Any books/suggestions would be appreciated! I am going to put an additional (non-USB) hard drive in my system. I already have Ubuntu on my other hard drive so I do not want to install Ubuntu on the additional drive but only use it for storage. How do I add the additional hard drive to my Ubuntu system, e.g. make Ubuntu recognize it and mount it properly? I'm trying to delete some folder but this error is preventing from doing it:     Cannot delete [FileName]: It is being used by another person or program.      Close any programs that might be using the file and try again.   How can I identify what application is using the file?   I want to end the application using a Task Manager, but I didn't know what application is using it.  The folder is not shared and my user account is an administrator. How do I space quads evenly? Is there a way in blender or an addon that allows me to select a bunch of faces (or verts) and evenly distributes (or relaxes) them into quads clean quads.  Without screwing up the vert ID/order.  Edit: I would like to have the shapes of my quads to turn into perfect squares while maintaining the volume of the object and the vertex order. Getting a File's MD5 Checksum in Java I am looking to use Java to get the MD5 checksum of a file.  I was really surprised but I haven't been able to find anything that shows how to get the MD5 checksum of a file.  How is it done? Why do popular but not ideal questions keep being closed? I notice a really worrying trend of some really popular questions being closed and eventually deleted. Some of them became legends already, like this one  ? Yes, it does not fit the format ideally, but what is point of obeying the letter of the law to such extent that it becomes ridiculous? Ok, closing is fine if community leaders became so pedantic, but why go so far as to even delete it? At this point it looks like burning old pictures just because you don't like them.  Update: Summary  For now I heard only two clear arguments:   Those questions pollute search results.  Those questions don't play well with enforcing question and answer standards.   Both of that statements are easily verifiable and to my experience are just false. Does Wasserstein distance require the source and target distributions to have the same mass? If we minimize the Wasserstein loss, $$W_1 (P_S, P_T) = \underset{\gamma \in \Pi}{\text{min }} \sum_{x,y} |x-y|\gamma(x,y)$$ which means we are looking for the coupling $\gamma(x,y)$ that minimizes the cost of moving mass from the source distribution $P_S$ to the target distribution $P_T$,  Do the masses of the source and target distributions have to be identical? If so or not, how are the masses of $P_T$ and $P_S$ accounted for mathematically in, or when minimizing, the shown formula, or what might be missing/overlooked by the Wasserstein approach overall due to the mass differences? ElasticSearch doesn't start after installing 5.6.4 I have been struggling to install VirtualBox Guest Additions in a Debian Virtual Machine (Debian 7, Debian 8 and Debian 9). How do you correctly say large numbers