A way of defining particle colours by where they emit form and have them stay that colour instead of just mirroring the emission object?
How to color particles based on the texture of the object from which they are emitted, using the "grid" emission setting?
comment.sty and UTF8 encoding I noted that if I use comment.sty and a there is a block of text containing UTF8 characters inside a comment environment, the compilation aborts!  Minimal Example  \documentclass{article} \usepackage[T1]{fontenc} \RequirePackage[utf8]{inputenc}%this file is stored as UTF8 file! \RequirePackage{comment} \specialcomment{privateSolution}     {\begingroup\itshape\noindent\textbf{Solution}\\}     {\endgroup} %\excludecomment{privateSolution}%Use it to remove solutions!  \begin{document} \title{Comment.sty and UTF8 test file} \maketitle \section{UTF8 character test} In which alphabet characters àìùòè are common? \begin{privateSolution}     The Italian alphabet contains àìùòè. \end{privateSolution}  \begin{comment}     The Italian one! It contains àìùòè. \end{comment} \end{document}   Has anyone the same problem? Any workaround?  Thanks in advance. Suppose $X, Y$ are independent random variables with $X\sim NB(r,p)$ and $Y\sim NB(s,p)$. Then $$X + Y \sim NB(r+s,p)$$  How do I go about proving this? I'm not sure where to begin, I'd be glad for any hint. Stargate - Destiny's Gate Address from Icarus base Simple question - What is the address they dial to connect with the Ancient ship Destiny in Stargate Universe from Icarus base.  I have found the address on  - however they have an unconfirmed order, and not sure of the validity of this.  Any help deciphering the above would be great! Does there exist an automorphism of $\mathbb{C}$ that does not keep $\mathbb{R}$ fixed? What would happen if you put your hand in front of the 7 TeV beam at LHC? Some speculation here:   Is there a possibility it would pass 'undetected' through your hand, or is it certain death?  Can you conclude it to be vital, or only loose your hand?  Would it simply make a small cylindrical hole through your hand, or is there some sort of explosion-effect?  Assume your hand has a cross section of 50cm², and a thickness of 2cm, how much of the beam's energy would be transferred to your hand? Confusion on Derived Sets and the $n$-the Derived Set I want to solve the following exercise 1.3.C. from page 27 of R. Engelking: General Topology.  For every positive integer $n$ the $n$-th derived set $A^{(n)}$ of a subset $A$ of a topological space $X$ is defined inductively by the formulas: $$  A^{(1)} = A^d \quad \textrm{and} \quad A^{(n)} = (A^{(n-1)})^d. $$ (a) Give an example of a set of real numbers that has three consecutive derived sets distinct from each other.  (b) Give an example of a set of real numbers that has infinitely many derived sets distinct from each other.   The definition is $$   A^d := \{ x \in X \mid x \in \overline{A \setminus \{ x \}} \}. $$ I am confused, cause the set $A^d$ ist closed, i.e. $\overline{A^d} = A^d$. And closed means it already contains all its limit points, so how can than $(A^d)^d$ be different from $A^d$? OpenVPN restriction Ive set up an OpenVPN server at my place and handed out a certificate to a client who has an openvpn client at his place.  I need require that he should be able to connect to the vpn server only from one IP address (his current one).  How can I do this? Is there a command that outputs ONLY the packages explicitly installed by the user? (ubuntu/debian) I have tried searching for this but there seems to be no command that can output a list of packages (ideally in Ubuntu) that I have installed, not including any dependencies. access parent object in javascript I am a girl in my early twenties traveling to USA from India and in my visa application I have provided the contact address for a relative in San Francisco, and their invitation letter. I would like to visit LA first. Will I face problems during immigration if I land in LA (with an immediate on wards ticket to SF)? I dont plan to get on the flight from LA to SFO.  Initially I was planning to fly to SFO from India and then fly to LA immediately after completing immigration at SFO airport. How to import a .sid Raster File in QGIS 2.6.0 On Linux Mint 17 I need some help importing MrSID Raster files in QGIS. I am running 2.6.0 on Linux Mint 17. After an internet search I have found a couple of resources that are perhaps outdated. The most promising is found here :    However when I attempted to follow the instructions my terminal and I could not find the file "libgdal-mrsid-src" on either the stable or unstable Ubuntu GIS repos. Has anyone had success or could lead me in the right direction? How to get hardware specs of Android device? Height of an HTML select box (dropdown) I am trying to prove the following statement.     If a field $K$ is not algebraically closed, then any $K$-variety $V\subset\mathbb{A}^n$ can be written as the zero set of a single polynomial in $K[X_1,X_2,...,X_n].$     Suppose $V=V(f_1,f_2,...,f_n)$, and I would want to find a polynomial $g\in K[X_1,X_2,...,X_n]$ such that $V=V(g)$.  I know that if I can find a polynomial $\phi\in K[X_1,X_2,...,X_n]$ whose only zero is $(0,0,...,0)$, then it is done, since we could take $g=\phi(f_1,f_2,...,f_n)$.  For $n=1$, then I would just choose $\phi=X$, but I do not even know how to proceed to the case $n=2$. Maybe we could choose an irreducible polynomial of degree $&gt;1$.  Any help will be appreciated. lualatex MWE not working Is there a way to make a true toon shader material in Cycles?  Here's, in order of importance, what would be ideal to find in such a shader:   Must use Cycles Must be an actual shader Must not rely on lighting Must be independent of camera position Must react directly to lighting rather than manually having to change it to emulate it Should be easily made into a node-group Should have the following configurability:   Main color Darkness color Shadow depth (how far the shadow goes from the unlit side)    Below, I'll be listing some already-found methods and their flaws:    Cycles's Toon BDSF:  Source: Blender  Result:    Node setup:    Cons:   Not a clear-cut two-color shading Reacts to diffusion of surrounding objects      Mask &amp; Ramp:  Source:   Result:    Node setup (Compositor):    Cons:   Very grainy Does not support colour textures Not easy to change shadow depth in a nodegroup Not a material, requires compositor Requires use of object indexes     Shadeless Fresnel:  Source:   Result:    Node setup:    Cons:   Uses camera's direction Ignores lighting Not easy to change shadow depth in a nodegroup     Shadeless Normal:  Source:   Result:    Node setup:    Cons:   Ignores lighting Direction of shadow is manually changed Not easy to change shadow depth in a nodegroup   However, this one is easily the best one. It's pretty great, and would work still images very well.    That's all I've got. Does anyone else have any methods that fall under most of the criteria I listed above? Also note that OSL is totally fine, if it works. Convert all text from uppercase to lowercase and vice versa? My question is how can I convert all text from uppercase to lowercase and vice versa? That is to change the cases of all the letters. It has to be done with a sed replacement somehow. Bash script doesn't see SIGHUP? I've got the following script:  #!/bin/bash echo "We are $$" trap "echo HUP" SIGHUP cat    # wait indefinitely   When I send SIGHUP (using kill -HUP pid), nothing happens.  If I change the script slightly:  #!/bin/bash echo "We are $$" trap "kill -- -$BASHPID" EXIT    # add this trap "echo HUP" SIGHUP cat    # wait indefinitely   ...then the script does the echo HUP thing right as it exits (when I press Ctrl+C):  roger@roger-pc:~ $ ./hupper.sh  We are 6233 ^CHUP   What's going on? How should I send a signal (it doesn't necessarily have to be SIGHUP) to this script? Show that $a^{61} \equiv a\pmod{1001}$ for every $a \in \mathbb{N}$ A girl who transcends time I remember quite a bit, but can't seem to find the title or (female) author.   A girl accompanies her father as he captains a mission to travel at near-light speed in order to experience the effects of time dilation and return to Earth 100 years into its future. She leaves behind her boyfriend (Tal or Tel or something), who promises he'll find a way to stay with her despite the time travel that will render him, well, dead before her return. She's accompanied by a close friend who is deaf but lip-reads and speaks so well as to occasionally fool others into believing she is hearing. They spend a lot of time in the ship's garden. I believe he ends up either getting on a different ship to survive into the future via time dilation, or else having himself frozen. Either way, if I recall correctly, Earth isn't doing well at all by the time the mission with the girl returns. There's been a war or some other disaster. There's an extended period of vague, ambiguous, existential crap in which the girl (now a woman) eventually ends up transferring her consciousness into her own daughter, presumably in order to go on living. Everything wraps up somehow and the girl and her boyfriend walk together hand in hand on a desolate planet into the sunset near the end of time.   It was all really rather trashy and silly, I remember, and took itself entirely way too seriously, but I'd like to at least know what it was so I could read it again. Either it'll be worth a laugh, or it'll turn out to be surprisingly good.