I always wondered about scenes in movies or tv shows that show a child dealing with some sort of a disturbing, gruesome or difficult situation. I'm talking about how the child actors are dealt with and how the hard scenes they have to act in are explained to them.  For example, in some movies (mostly horror/thriller genre) we see a child as a antagonist: a villain with a twisted mind, a killer or abuser. Some of this type of movies are really disturbing and hardcore, with explicit content (blood, vulgar language etc.). Or movies where said child's parents are killed, the child is abused/beaten/assaulted in any other way.  How is it explained to child actors that this is just "pretend"? Of course this applies to really young actors, I guess that teenagers or 9/10 year olds are fully aware that the movie is just a movie and it's not real. Same goes for little, little kids like infants - they probably don't even know what's really happening.  Is there some sort of a psychologist or counselor involved in the movie that talks to the child actors and helps them go through the often really though content they have to act through?  Or maybe those scenes are shot or edited in a specific way that the child actor is not really involved in a difficult scene but it is then edited and added to the final piece in post-production.
Some movies feature child characters put in violent situations. This can range from crude language to extreme horror (e.g. torture, gore, etc.). As an example,  and its sequel has plenty of those scenes. It looks like a paradox that children can be actors in movies that are definitely not for children.  Do the directors usually try and avoid exposing the very young actors to the violence of such scenes, e.g. by clever dubbing and editing? Are there laws that require them to do so, just like there are ratings that prevent children from seeing some movies?
To be specific, I was trying this code:  package hello;  public class Hello {      Clock clock = new Clock();      public static void main(String args[]) {         clock.sayTime();     } }   But it gave the error      Cannot access non-static field in static method main   So I changed the declaration of clock to this:  static Clock clock = new Clock();   And it worked. What does it mean to put that keyword before the declaration? What exactly will it do and/or restrict in terms of what can be done to that object? How to determine exact contrast ratio Because of the recent Web accessibility Law in my region, I need to ensure I'm designing with an appropriate contrast ratio.  WCAG says the value of this ratio is 4.5:1    How do I figure this out in in Photoshop and Illustrator? Suppose I sold an option on stock X, with strike price Y, and expiry date Z. Suppose I later buy an option on the same stock, with the same strike price, and the same expiry date. Do these two positions cancel out each other (i.e. both contracts cease to exist anywhere), or will I end up with two separate contracts?  Is it the same with the reverse situation? e.g. I bought an option on stock A, with strike price B, and expiry date C. If I later sell an option on the same stock, with the same strike price and expiry date, will I end up with two contracts (one long position, one short position)? My question is simple.  Let $f(x)=x^3\sin(\frac{1}{x}), x\in \mathbb{R}$. Is this function uniformly continuous on $\mathbb{R}$?  I think it is not uniformly continuous when $x$ goes to $\infty$ Use of substitution into the integral $\int_0^2 \frac{\arctan x}{x^2+2x+2}dx$ Fundamental Theorem of Algebra - an elementary complex analysis proof? We begin by assuming that a non-constant complex polynomial $$p(z)=a_n z^n+a_{n-1}z^{n-1}+...+a_1 z+a_0,$$ where $a_0 \neq 0$, doesn't vanish in $\mathbb{C}$. Therefore $1/p$ is also an analytical function everywhere. Note that $(p(z)-a_0)/z$ is a polynomial and therefore, due to Cauchy's theorem, the following integral must be zero.  $$\int_{S_r^1}\frac{(p(z)-a_0)/z}{p(z)}dz=\int_{S_r^1}\frac{a_nz^{n-1}+a_{n-1}z^{n-2}+...+a_1}{a_nz^n+a_{n-1}z^{n-1}+...+a_1 z+a_0}dz=0.$$  On the other hand  $$\int_{S_r^1}\frac{a_nz^{n-1}+a_{n-1}z^{n-2}+...+a_1}{a_nz^n+a_{n-1}z^{n-1}+...+a_1 z+a_0}dz$$  $$=\int_{0}^{2\pi}\frac{a_n(re^{i\theta})^{n-1}+a_{n-1}(re^{i\theta})^{n-2}+...+a_1}{a_n(re^{\theta})^n+a_{n-1}(re^{i\theta})^{n-1}+...+a_1 (re^{i\theta})+a_0}(ire^{i\theta})d\theta$$  $$=\int_{0}^{2\pi}i d\theta - \int_{0}^{2\pi}\frac{a_0 i}{a_n(re^{i\theta})^n+a_{n-1}(re^{i\theta})^{n-1}+...+a_1 (re^{i\theta})+a_0}d\theta$$ $$=2\pi i -\int_{0}^{2\pi}\frac{a_0i}{p(re^{i\theta})}d\theta.$$  Let $r \rightarrow \infty$ and the integral approaches value $2\pi i$ - a contradiction. Therefore $1/p$ can't be entire and $p$ must vanish somewhere in the complex plane.  EDIT: I have changed this post and deleted the idea that the integral $\int_{\partial D_r}\frac{(p(z)-a_0)/z}{p(z)}dz=0$ could be evaluated with the fundamental theorem of calculus. Now, as it stands, this proof is essentially the same as the one that Mr. José Carlos Santos points out in his comment. Request Web Page in c# spoofing the Host I need to create a request for a web page delivered to our web sites, but I need to be able to set the host header information too.  I have tried this using HttpWebRequest, but the Header information is read only (Or at least the Host part of it is).  I need to do this because we want to perform the initial request for a page before the user can.  We have 10 web server which are load balanced, so we need to request the file from each of the web servers.    I have tried the following:  HttpWebRequest request = (HttpWebRequest)WebRequest.Create("http://192.168.1.5/filename.htm"); request.Headers.Set("Host", "www.mywebsite.com"); WebResponse response = request.GetResponse();   Obviously this does not work, as I can't update the header, and I don't know if this is indeed the right way to do it. error tex capacity exceeded log files added "Whether" Vs. "If" How can I connect the top loop to the down loop with faces Hey I want to connect the bottom loop with the top loop so that it forms a solid.  I have tried selecting multiple vertices and pressing F but that just creates a large face which I do not want. I have tried using grid fill bu that doesn't work either. The solution that seems to work is by selecting four vertices and pressing F and then selecting the next 4 and pressing F and on and on. That just takes too long. How do you prove that $e=\sum_{n=0}^{\infty}\frac{1}{n!}$? Here I am assuming $e:=\lim_{n\to\infty}(1+\frac{1}{n})^n$. Do you have any good PDF file or booklet available online on this? I do not like how my analysis text handles this... cmd has wildcard bug? Files in folder:  a.j ab.jp abc.jpg abcd.jpeg   dir command results:  Command       Result (Files shown) ----------    -------------------- dir ?.*       a.j dir ??.*      a.j, ab.jp dir ???.*     a.j, ab.jp, abc.jpg dir ????.*    a.j, ab.jp, abc.jpg, abcd.jpeg   So we can see single ? it means "0 or 1 letter".  Now more dir command results:  Command       Result (Files shown) ----------    -------------------- dir *.?       a.j dir *.??      a.j, ab.jp dir *.???     a.j, ab.jp, abc.jpg, abcd.jpeg --&gt; What is this?! dir *.????    a.j, ab.jp, abc.jpg, abcd.jpeg   In 3rd command why ??? is showing jpeg? Can you explain? Is this bug in cmd? Attributing contributions to academic work that occur in Stack Exchange Sometimes we may ask questions on stack exchange or online forums wherein the response is helpful or even essential to a piece of work that gets published in an academic journal. If this occurs, how should credit be given to those involved in the exchange? Should they all be included as authors? Should a link to the forum be included as a reference in the paper?  Once something is in a stack exchange or forum, it's "published". Perhaps in the future, the current peer review model will transform into people writing blogs and posting in forums and databases. But for now, how might this issue be dealt with while forums, blogs, etc coexist with journals? This is what I see:  GNU GRUB version 2.02~beta2-9ubuntu1  Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.  grub&gt; _   What should I do now? How to move boot and root partitions to another drive "There are currently N bounties, worth X reputation" dynamic ad and the new sidebar width You've probably seen this sidebar ad on one or more -enabled Stack Exchange sites over the years:    The image is dynamically generated from a non-officially SE app that uses the Stack Exchange API to fetch the bounties from a given site.  As far as I understand, the rendered image automatically scales to the allotted ad space - when the sidebar ads were 220x250, it would render in the sidebar as a 220x250 image while still looking quite oversized in the  meta (as it does right here).  With the new 2016 campaign starting, can we test whether this awesome dynamic ad works with the new sidebar width? I've posted a question  that I have a 32bits windows 7 on a dual boot machine with ubuntu 10.04 upgraded to 11.04. From the responses I had from the questions, I decided to reinstall the windows 7 but this time a 64bits version.  I've install the grub on the first section of the HDD on which ubuntu is install, meaning the 2nd Drive.  I still want guidance before I proceed.  What would you suggest me as best way to achieve that without disturbing the boot loading.  thank you for reading this. Recursivly Deleted Root Directory I recursively deleted the contents of my root directory with sudo privileges. My display reset, and windowing stopped working. I could no longer run non-buitin commands. Most of my directories (including the home directory disappeared).  What I meant to run:  sudo rm ./* -rf   What I believe I ran:  sudo rm /* -rf   I understand how this command works (see ).  I'm trying to get a better sense of how much (and what parts) of the original files and directory-structure physically remains on the hard-drive.  How much of these "remains" are recoverable? E.g is it possible to use data recovery software like TestDisk/PhotoRec to recover the full home dir itself? What about config files? Suppose we have a natural number $n \ge 0$.  Given natural numbers $\alpha_1,\ldots,\alpha_k$ such that   $k\le n$ $\sum_i \alpha_i = n$   what is the maximum value that $\Pi_i \alpha_i$ can take?  I'm quite sure that there is a theorem telling me the result, but I cannot find it. For sure an upper bound is $n^k$ but I'm searching for a real upper bound. I'm pretty sure that upper the bound should be $n^2$, but I don't know I could prove it. How do I get Gmail to ask me to be a mailto handler again?