I am trying to get this wall to look like this material (screenshot taken from the preview window in the material editor):    But, it just shows up like this (the gray area is the part that has the material applied to it):    This what the nodes look like:   Why does the correct material show up in the preview window, but not in the rendered version?
I am creating a model of a glass and I would like to put a drawing on it (a png picture).  I know how to do it using Blender Render, but not with Cycles Render. Help :)
Could someone explain this shebang line which uses sh and then does exec perl? This is from . It's about executing a Perl script.     Finally, if you are unfortunate enough to be on an ancient Unix system   that doesn’t support the magic #! line, or if the path to your   interpreter is longer than 32 characters (a built-in limit on many   systems), you may be able to work around it like this:   #!/bin/sh -- # perl, to stop looping eval 'exec /usr/bin/perl -S $0 ${1+"$@"}' if 0;   Can you explain step by step what's going on here? I'm trying to make it work or encompass, but to no avail.  At execution of just the above, I'm getting this:  /bin/sh: 0: Illegal option -- Is there a grammatical term for moving a word to the front or back of a sentence? "He is loved", is 'loved' an adjective or a verb? He is loved.   This is something that I've always kind of wondered.  In a sentence like this, is loved a verb or an adjective? Can it be considered either? What does the '=>' syntax in C# mean? How to use notify-send to notify users as root? #!/bin/bash export DISPLAY=:0 state=$(upower -i $(upower -e | grep BAT) | grep --color=never -E "state" ) stat=${state:25:32} batperct=$(upower -i $(upower -e | grep '/battery') | grep  -E "percentage:") bat=${batperct:24:26} intbat=$(echo $bat | cut -d'%' -f1) if [ "$intbat" -lt "15" -a "$stat" == "discharging" ]; then     notify-send 'battery low..! please plugin charger..... charge is only' "$intbat"     fi     The script runs fine when run as a normal user (bash script.sh). The desktop notification is displayed.  If I run it as root with sudo bash script.sh, the desktop notification is not displayed.  How can I use notify-send to notify users as root?  I am using Arch Linux. How do I prevent and/or handle a StackOverflowException? I would like to either prevent or handle a StackOverflowException that I am getting from a call to the XslCompiledTransform.Transform method within an Xsl Editor I am writing. The problem seems to be that the user can write an Xsl script that is infinitely recursive, and it just blows up on the call to the Transform method.  (That is, the problem is not just the typical programmatic error, which is usually the cause of such an exception.)  Is there a way to detect and/or limit how many recursions are allowed?  Or any other ideas to keep this code from just blowing up on me? $f$ be an analytic function defined on $\mathbb{D}=\{z\in\mathbb{C}:|z|<1\}$ I came across the following problem that says:  Let $f$ be an analytic function defined on $\mathbb{D}=\{z\in\mathbb{C}:|z|&lt;1\}$ such that the range of $f$ is contained in the set $\mathbb{C}\setminus (-\infty,0]$. Then  $f$ is necessarily a constant function. there exists an analytic function $g$ on $\mathbb{D}$ such that $g(x)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$. there exists an analytic function $g$ on $\mathbb{D}$ such that $\operatorname{Re}g(z)\geq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$. there exists an analytic function $g$ on $\mathbb{D}$ such that $\operatorname{Re}g(z)\leq 0$ and $g(z)$ is a square root of $f(z)$ for each $z\in\mathbb{D}$.   I have to determine which options are correct. Can someone help in the right direction? Thanks in advance for your time. Pre-print service like arXiv but with private option, so I can correct my mistakes without publicly advertising my mistakes? As a student, I make mistakes all the time, and stealing my idea will not face heavy retaliation. I don't mind if someone comes up with concurrent works, but I do mind if my key idea is leaked. Many graduate students in my field therefore only use pre-print services if their papers are either publicly presented or conditionally accepted. I am looking for a website that can do most of what ArXiv does, with an additional private option or limited visibility, for example an option to make the paper unindexed by search engines. This way, my paper cannot be seen for at least a few months. By doing so, I can at least claim that I am one of the first few researchers who got the idea right. And most importantly, I can privately correct my mistakes, if any. Publishing mistakes is embarrassing and sometimes harms one's career. Many mistakes will be revealed during the peer-review processes and I have a chance to correct them before publicizing. Please kindly think twice before giving ethically and &quot;politically correct&quot; comments like no one will scoop me, everyone will cite me, and the scoopers will be punished. At least in my field, scooping and idea-stealing is commonly observable, and big-names don't care about publicizing pre-prints because they have resources to punish the scoopers. I do understand that keeping my work private might harm the community as the information becomes less transparent. However, it could also be possible that my un-reviewed flawed works misguide the community, and a paper reviewed will benefit the society more. I personally wasted six months because of someone else's mistake in a published work.  I heard that in molecular biology there is a widely-used service to upload your research data, like protein structure and sequencing, to get a timestamp. The uploaded materials can be set to be private for a period, and fully disclosed later. A lot of people do use this function. This is not exactly what I am looking for but shares some similar ideas. If I remember correctly, there is an interesting paper studying the scooping patterns with the aid of this database.  Solutions found!  and some other university-run pre-print services do have an embargo function. Moreover,  is a widely used repository, that, unlike arxiv, only displays the newest version to the general public, although still keeps a tag on the first submitted date! How should I handle taxes for Minecraft server donations? I run a Minecraft server and there is a donation button so players can help support the costs. I pay out of pocket for the rest, it's $125/mo.  The money they donate goes right to paypal which is where the automatic payment to the server happens, so it works out nice as it will just pull the remaining amount from my account.  Do I need to claim the donations as income? Can I somehow write off the server costs? Etc. Best method for short time-series I have a question related to modeling short time-series. It is not a question , but how. What method would you recommend for modeling (very) short time-series (say of length $T \leq 20$)? By "best" I mean here the most robust one, that is the least prone to errors due the fact of limited numbers of observations. With short series single observations could influence the forecast, so the method should provide a cautious estimate of errors and possible variability connected to the forecast. I am generally interested in univariate time-series but it would be also interesting to know about other methods. How to show full date and time in Nautilus/Files 3.6+ list view? Does "the same number of people" behave as singular or plural? This hurts my eyes to read it and my ears to say it, but the writer stands by          About the same number of people was awarded bachelor's degrees in 2010 as filed for personal bankruptcy (1.6 million).   Is the subject in this sentence singular or plural? I'm currently developing a script for Blender to handle Mesh Frequency Decomposition.  The script is nearly complete, but i need one more thing: The SciPy library to compute eigenvalues and eigenvectors.  Following the installation instructions on , I'm able to install it as well as Numpy. Numpy works fine, but I can't even import SciPy:  Traceback (most recent call last): File "/CAF_FD.py", line 4, in &lt;module&gt; ImportError: No module named 'scipy' Error: Python script fail, look in the console for now...   By the way, I'm working on Linux 64 bit and I've installed SciPy and Numpy with my package manager.  Edit: When I try to use SciPy with a terminal prompt, it works. Proving the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain Please help me prove that      the quotient of a principal ideal domain by a prime ideal is again a principal ideal domain.   This was from Abstract Algebra Can Windows use a Linux shell instead of cmd? I was wondering if it is somehow technologically possible for Windows to add some sort of Linux interface?  I think it would win over many programmers to develop on Windows.  Any ideas on this? How to enable virtualization without using bios? I am using android studio.I want to run my app on simulator but it is asking me to install intel haxm,.When i install intel haxm it says that vitualization is not enabled/.To enable virtualization i need to goto bios but issue my bios is password protected &amp; i don't know password.So please tell me is there any other way by which i can enable the virtualization without going into bios? Problem:  Let $A_{n.n}$ be square complex matrix. Prove the following: $$\left \| A \right \|=\left \| A \right \|_{HS}\Leftrightarrow  rank(A)\leqslant 1$$. Where $\left \| . \right \|_{HS} $ is the Hilbert Schmidt Norm.  Please read my solution and tell me whether it is correct. If not, let me know where the mistake is.  Proof of the implication $\Leftarrow $:   If $rank(A)=0$, then in this case $A=0$. It follows that $\left \| A \right \|=\left \| A \right \|_{HS}=0$ If $rank(A)=1$, than: $ A=\begin{pmatrix} A_{1}\\  \alpha _{2}A_{1}\\  ...\\  \alpha _{n}A_{1} \end{pmatrix}$ where $A_{1}$ is the first row of $A$   and in this case: $\left \| A \right \|=\left \| A \right \|_{HS}=\left \| A_{1} \right \|\sqrt{1+\alpha _{1}^{2}+...+\alpha _{n}^{2}}$  Proof of the implication $\Rightarrow $   We know that $\left \| A \right \|=max_{\left \| x \right \|=1}\left \| Ax \right \|$  On the other hand: $ A=\begin{pmatrix} A_{1}\\  A_{2}\\  ... \\ A_{n}  \end{pmatrix}$. So, $$\left \| Ax \right \|=\left \| \begin{pmatrix} \left \langle A_{1},x \right \rangle\\  \left \langle A_{2},x \right \rangle\\  ...\\   \left \langle A_{n},x \right \rangle\end{pmatrix} \right \|=\sqrt{\left \langle A_{1},x \right \rangle^{2}+\left \langle A_{2},x \right \rangle^{2}+...+\left \langle A_{n},x \right \rangle^{2}} $$  Where $ \left \langle A_{i},x \right \rangle$ is the inner product of $A_{i}$ and $x$  Using the Cauchy-Schwarz inequality: $\left \langle A_{i},x \right \rangle^{2}\leq \left \| A_{i} \right \|^{2}\left \| x \right \|^{2}$, we get: $\left \| A \right \|=max_{\left \| x \right \|=1}\left \| Ax \right \|\leq max_{\left \| x \right \|=1}\left \| x \right \|\left \| A \right \|_{HS}=\left \| A \right \|_{HS}$. In order to have the equality: $\left \| A \right \|=\left \| A \right \|_{HS}$, we should have: $\left \langle A_{i},x \right \rangle^{2}=\left \| A_{i} \right \|^{2}\left \| x \right \|^{2} $ which occurs only if $A_{i}=\lambda _{i} x$. So, the rows of A are dependent, which implies that $rank(A)=1$. Note that the case $rank(A)=0$ happens when $A=0$  Please let me know if my solution makes sense. Are there any research careers except professorship for a person holding PhD in pure mathematics? How to show (or hide) a hidden file I wanted to add classpath to my JDK. While searching a way to do it I noticed everyone open .profile file using terminal. But when I want to open and edit it with a text editor I couldn't see that file in Home folder.  Can someone tell me why is this. And also if possible how can I access .profile in home folder the GUI way. IDW Publishing are bringing out a , Assimilation2, set in ST:TNG (presumably the TNG in the timeline prior to the events of the 2009 movie) featuring the 11th Doctor.  Is the canon of these two universes at all compatible?  Both feature a lot of time travel, so we've seen the development of humanity through many centuries in the future.  Are there direct contradictions that make it impossible for these two universes to merge, without some sort of trick like having the Doctor come from an alternate universe?  Or, given the vast spread of time, is it possible that the events of the Star Trek stories have taken place between Doctor Who stories?