I want it, so my object is affected by light but not by the light from one light source.
I want to create an effect on a character where their skin and clothing are effected by two different light sources. The clothing should only reflect a bright bounce light, but have the skin should not be affected by this light source.    In the example image I have two objects a cube, a sphere and three emission  lights . I want the two white lights to hit both objects, and I need the purple light to hit and reflect off of the sphere, but ignore the cube entirely (no reflections).  Someone suggested to composite the layers together, it works... but this is very impractical and cumbersome because it forces the background to be transparent and it will be a pain to try and layer together a more complex scene, especially if its animated which is what I want this effect for.  I know you can have objects ignore shadows and all kinds of other things so im hoping someone knows how to get an object to ignore light with a few settings.
I have noticed a couple of kinds of behavior that seem to crop up in the SO community, and it really seems to artificially boost reputation. There may not be a solution (or it may not be a problem!) but here are some thoughts.  The first is the fact that "celebrity" users, or users with lots of reputation, are treated significantly better than others. Take Joel Spolsky's most recent question:    It was closed, opened, closed, and re-opened. And the question has earned Joel - what - 1030 reputation 103 votes, and lots of reputation! Wow! I'm not saying that Joel's question is a bad one. But lets compare to other questions that one might consider to be in the same equivalence class - easily answerable, specific questions, short questions:   (5 votes)   (5 votes)  If you look at the , I can hardly find any which are specific technical questions. So that Joel's question was so upvoted could only mean that:   It was upvoted based on his celebrity People have been interpreting the questions as a sort of zen-like wakeup call, designed to get people talking and thinking about they way they vote.   I do not mean any disrespect toward Joel, and again, I think his question was a good one. This post isn't about Joel! But the boost in reputation did not (imho) mean "Joel is really good at programming, and he has earned my trust as someone knowledgeable about computers." It may be true that Joel is a proficient computer expert, but not based on the merit of that one question.  Which leads me to an example about myself. I recently gave  (130 reputation) to a question about PHP's image-creating libraries. I am very appreciative of the community's support for my answer - an answer which I believe was well-thought and that I put effort into.  At the same time I can't look someone and tell them, with a straight face, that my reputation is a great reflection of my computer-related knowledge. Billions of people on the net have created tutorials for PHP's GD image library - I just happened to be the person to post a few of them. Heck if I know why it got 13 votes! (oh, but please don't downvote it!!)  SO is built by the community - so the community absolutely gets to decide what questions are important, and how they choose to dispense reputation. But in practice, I feel like peoples' reputation would be much lower if the community were more discriminating about the way they voted.  So: am I totally off base here? Is this even something that can be corrected with a different reputation algorithm? Or am I the only one who sees this as a detriment to the SO community?  (And, to be completely clear, I do not intend for this to be an ad hominem, and I am not jealous about not having a higher reputation. But I do take reputation with a grain of salt, in part for these reasons, and I thought I'd bring it up! It is meta, after all!) After much trial and tribulation, I thought I had drush all ready to roar. Much excitement. But then, no joy...  Drush is working. The sites operate fine via MAMP. Regardless, a "drush cc all" command returns:   No Drupal site found, only 'drush' cache was cleared.                                          [warning] 'all' cache was cleared.                                                                       [success]   This question has stumped drupalcon attendees and very experienced developers. Any ideas?  I am on Mac OS 10.9.3 using MAMP (free) Version 3.0.5  Here is my drush status:   Drupal version         :  7.29-dev                                 Site URI               :  http://default                           Database driver        :  mysql                                    Database hostname      :  localhost                                Database username      :  db_user                             Database name          :  db_name                        PHP executable         :  /usr/bin/php                             PHP configuration      :                                           PHP OS                 :  Darwin                                   Drush version          :  7.0-dev                                  Drush temp directory   :  /tmp                                     Drush configuration    :                                           Drush alias files      :                                           Drupal root            :  /Applications/MAMP/htdocs/mysite.dev   Site path              :  sites/default       Have tried executing drush from /Applications/MAMP/htdocs/mysite.dev; from /Applications/MAMP/htdocs/mysite.dev/sites/default; and using drush cc all --uri=http://localhost/mysite.dev  Tried running drush from sites/default. Same result. How to make putty to not break my session after some time? Each time putty is closing the session after some time if it is idle.  There is no time parameter on putty, so how can I keep my putty ssh session always Alive? How can I recover contact information from a stolen phone? Suppose that $f:[0,\infty)\rightarrow\mathbb{R}$ is continuous. Is it true that   $$\int_{0}^\infty|f(t)|dt&lt;\infty\Rightarrow \lim_{t\rightarrow\infty}f(t)=0?$$  If so can you provide a proof, otherwise a counter example. Thank you. How do I print my Java object without getting "SomeType@2f92e0f4"? Please let me know how to change the size of the camera view. The red dotted line of the square is too small for me. Cannot change lock screen background on Ubuntu 18.04 Before you mark the question as a duplicate, I read all of the posts regarding this, but nothing helped me. I'd like to change the background picture of the lock screen.    I changed the ubuntu.css and gdm3.css accordingly to   #lockDialogGroup {   background: #000000 url(file:///usr/share/wallpapers/minimalistic-gray_00323985.jpg);   background-repeat: no-repeat;   background-size: cover;   background-position: center; }   Which results in a change of the Background of the log in screen, not the lock screen. When I press super + L the screen containing time has the correct background. When I swipe it up to tipe in my password, the purple Ubuntu screen still appears. If I click to change the user, the log in screen appears with the right background. I have the same background picture enabled in gnome tweaks for desktop background and lock screen.   I'm running Ubuntu 18.04 GNOME on a TuXedo Laptop. And I use Communitheme - maybe thats the problem?  Any ideas why it doesn't work? (I rebooted multiple times, so that's not the problem.)  EDIT: The output of sudo nano /usr/share/gnome-shell/modes/ubuntu.json is  {     "parentMode": "user",     "stylesheetName": "ubuntu.css",     "enabledExtensions": ["ubuntu-dock@ubuntu.com", "ubuntu-appindicators@ubuntu.com"] } How should I invest my money as a young graduate in Europe? This is related to this , but that question's answers are 95% tailored for residents of the US, basically recommending to full out the 401k retirement plan and this and that about stock market investments. My question is, are there other types of investments that are good for a young person starting out a career? Pointers:  I live in a welfare state in Europe, so I don't have college debt, (debt of any kind actually). Rainy day funds are much less needed than in the US, since here there is unemployment insurance for at least 18 months. I can probably invest 500€-600€ monthly for something. (The question is what.) I am not looking to invest in my retirement (I am already forced to pay for that out of my salary). I want to maximize my earnings for medium term (5-15 years). I specially want to avoid the typical paradox of (be poor in your 20's,30's,40's and be able to use your money after your 50's). That is not an option for me, I want to use my money for X or Y. But the money used has to be earned from an investment. That is a general rule for me.  For example I want to earn from my investments at least 70k€ after 5-10 years. So I'm guessing this would be a high risk investment, correct? I would like to spend on travel, on courses, on sports etc... But I insist that the money I spend should be a result of an investment not from my salary. Additionally I am not looking to buy a house so I don't want a mortgage. Except if this would constitute a good investment? FYI: this applies to France. But I'd like a general answer so others can benefit. If the question is unclear, a duplicate or off-topic don't hesitate to comment I've got a development webserver on an Ubuntu box inside of VMWare Workstation 7.1.3. I'd like to run a web browser on a Windows machine (the host OS) for actually testing a web page I'm working on -- hard to run IE tests in Ubuntu :)  However, if I simply try to ping the IP given to the ubuntu VM (192.168.83.137) (or open it in my browser for that matter), it seems the host cannot communicate with the guest.  How do I allow the guest OS to communicate with the host when the guest is running in NAT mode? Penalized models can be used to estimate models where the number of parameters is equal to or even greater than the sample size. This situation can arise in log-linear models of large sparse tables of categorical or count data. In these settings, it is often also desirable or helpful to collapse tables by combining levels of a factor where those levels are not distinguishable in terms of how they interact with other factors. Two questions:   Is there a way to use penalized models such as LASSO or elastic net to test for the collapsibility of levels within each factor? If the answer to the first question is yes, can, and should, this be set up in such a way that the collapse of levels and the estimation of model coefficients occurs in a single step? Reflectivity of a glowing-hot metal surface When a polished piece of metal (or steel in particular) is heated to incandescence, how do its reflective properties change?  Given a mirror-like surface, would the object temporarily cease to act like a mirror at a certain temperature?  Would the specular reflection of light turn into diffuse reflection; in other words, would the surface temporarily become matte/dull?  I am not asking about permanent changes to the object such as melting, but rather can there be a temporary change in the reflectivity only while the the object is hot, that disappears when the object is cooled down?  Background of the question: I have a laser scanner that usually has trouble scanning shiny surfaces with high specular/ low diffuse reflectivity; and it seems to work a lot better for hot steel pieces than for cold ones. Glowing steel also looks less shiny to me than cold steel, but of course that is hard to tell with all the glowing How to change maximum number of cores? It says in  that there is a maximum number of 8 cores supported by default in Ubuntu 12.04 Desktop/Server 32-Bit. What is the way to increase the maximum number of cores from the default of 8 to a higher value, like 12?  The reason I ask is because I have just built a machine with 6 hyper threading cores.  There were issues installing the 64-bit version of the software from a CD (it "panicked" and crashed several times).  The 32-bit installed with no problem, but I only see 8 of the 12 cores.  The BIOS is fine.  If I turn hyper-threading off and reboot, I see 6 cores as expected.  I am nervous to try and compile a kernal, I am still new to all of this.  Is there a config setting somewhere that I should change? Predicting count data with random forest? I want to show for $x\in\mathbb{R}$, the following inequality holds. $$ \left|\sin x\right|+\left|\sin (x+1)\right|+\left|\sin (x+2)\right|&gt;8/5. $$ This trigonometric inequality has been verified by Mathematica using the Plot commend. However, using the sum formula for the sine function seems doesn't work, and I cannot give a rigorous proof of it. Any suggestion, idea, or comment is welcome, thanks! How to make a vf page with the same look &amp; feel as salesforce1, any ideas? Home screen icon for terminal program? I'm using terminal-ide  which is basically a terminal for android with all sorts of utilities. One is able to create bash scripts for example. Is there a way to create an icon on the home screen that will launch one of these scripts? What the reason the number of lines differs?  $ head -n 100000 ./access.log &gt; ./data/log.sample $ cat $_ | wc -l 1933424 I saw him crossing the road.   I saw him cross the road.   Which one is correct and why? Quantum computers are known to be able to crack  a broad range of cryptographic algorithms which were previously thought to be solvable only by resources increasing exponentially with the bit size of the key. An example for that is .  But, as far I know, not all problems fall into this category. On , we can read     Researchers have developed a computer algorithm that doesn’t solve problems but instead creates them for the purpose of evaluating quantum computers.   Can we still expect a new cryptographic algorithm which will be hard to crack using even a quantum computer? For clarity: the question refers to specifically to the design of new algorithms.