I imported an object with many faces and materials, but I only want some materials to apply to certain faces, how could I do this? When I add the material, it adds it to the entire thing, how do I do it for one face?
How do you add more than one material to a mesh?   I have tried adding two materials to the object, and then assigning one of the materials to a vertex-group, but I could not find a place to assign it.  I am making a striped bouncy ball that I want to deform, so adding a different material by separating the mesh into different objects would not be ideal.
Windows 10 internet speed capped at half the original speed on new PC Does eating infected flesh have an effect? I don't remember what actually happends when people eat infected flesh. I have in mind :  Gareth and the cannibals eating bitten Bob's leg in . It seems that the cannibals survive for a while after eating Bob's flesh and they seem OK.  The Saviors eating pigs that ate walkers in . We don't know for how long this process has been on, but  has his routine and looks used to doing that. Can we assume that Saviors are eating infected pig flesh for a while now ?  Does it have negative effect in long term ? WinForms: How to programmatically fire an event handler? I want to programmatically invoke an event handler for a control. For example:  DateTimePicker dtpLastConsummated;   I want to trigger the TextChanged event handler for the dtpLastConsummated, how can i do it?  In other languages I would call something akin to:  dtpLastConsummated.TextChanged(this, new EventArgs());   but in .NET you can have multiple event handlers:  dtpLastConsummated.Click +=new EventHandler(dtpLastConsummated_TextChanged); dtpLastConsummated.Click +=new EventHandler(dtpLastConsummated_AnotherHandler); dtpLastConsummated.Click +=new EventHandler(dtpLastConsummated_MoreHandlers); ... dtpLastConsummated.Click +=new EventHandler(dtpLastConsummated_Nminus1);   so you need a way to trigger all the attached event handlers.    Answer  The following code will fire the event:  Toolkit.FireEvent(dtpLastConsummated, "TextChanged", new EventArgs());   And here's the code of the static toolkit function:  /// &lt;summary&gt; /// Programatically fire an event handler of an object /// &lt;/summary&gt; /// &lt;param name="targetObject"&gt;&lt;/param&gt; /// &lt;param name="eventName"&gt;&lt;/param&gt; /// &lt;param name="e"&gt;&lt;/param&gt; public static void FireEvent(Object targetObject, string eventName, EventArgs e) {    /*     * By convention event handlers are internally called by a protected     * method called OnEventName     * e.g.     *     public event TextChanged     * is triggered by     *     protected void OnTextChanged     *      * If the object didn't create an OnXxxx protected method,     * then you're screwed. But your alternative was over override     * the method and call it - so you'd be screwed the other way too.     */     //Event thrower method name //e.g. OnTextChanged    String methodName = "On" + eventName;     MethodInfo mi = targetObject.GetType().GetMethod(          methodName,           BindingFlags.Instance | BindingFlags.NonPublic);     if (mi == null)       throw new ArgumentException("Cannot find event thrower named "+methodName);     mi.Invoke(targetObject, new object[] { e }); }     Note: I'm not creating a subclass of every control in the .NET framework, and every 3rd party control, and convincing an enterprise worth of developers to retrofit every form to use my custom controls. List of chat rooms with host stackoverflow.com is not the same as the actual list of rooms on stackoverflow.com chat itself Generally chat.&lt;site&gt;.com redirects to chat.stackexchange.com/?tab=site&amp;host=&lt;site&gt;.com and go for same thing but here you can check your self:       Both are Different!  If one visits  and select site: StackOverflow, then it outputs  and they miss rooms that are only listed by .  So, why does this happen? Is this a bug?  Note: I found this while  for general chat-room at StackOverflow; see chat-discussion I searched around, and currently there are two methods suggested; installing an enhancement for Windows Subsystem for Linux and installing an XServer.  I want to know which method is the most hassle-free (easy to install AND to use), and which one is less memory-heavy.  I just want Synaptic and CMake. Why couldn't that be a builtin feature? Ramanujan Summation It seems that under the light of  the following is plausible:  $$1 + {2^{2n - 1}} + {3^{2n - 1}} +  \cdots  =  - \frac{{{B_{2n}}}}{{2n}}(\Re)$$  Alas, I can't really find any concrete definition of Ramanujan Summation. Could someone provide a small explanation? iCloud Disassociation for a Mac Computer I had a Mid-2012 MacBook Pro that recently stopped booting. I narrowed this down based on troubleshooting of the boot device to likely the SATA/hard drive connector/cable no longer working for whatever reason.  I have decided to sell the system. I'd like to know if I remove the hard drive (or in this case, an after-market SSD I've installed) from the system, will there be any other data (i.e. iCloud data) stored on the system on any other chip that I can reset in any way? I plan to reset the SMC/NVRAM before I sell the system off of to someone else.  Additionally, if I remove the hard drive, is the system still associated to iCloud (specifically Find My Mac) or any other service? If so, how do I disassociate it? The system will no longer boot even if I put in my boot device.  Thanks! Are C++ Templates just Macros in disguise? How to convert all shapefiles in folder into KML using ArcPy? I was trying to convert all the shp in a folder into kml.  featureclasses = arcpy.ListFeatureClasses() for fc in featureclasses:  # Set Local Variables   composite = 'COMPOSITE'   pixels = 1024   dpi = 96   clamped = 'CLAMPED_TO_GROUND'   scale = 1   outKML = fc[:-4] + &quot;.kmz&quot;   arcpy.LayerToKML_conversion(fc,outKML, scale, composite,'', pixels, dpi, clamped)   It always says Failed to execute. Parameters are not valid. ERROR 000732: Layer: Dataset ZZZ.shp does not exist or is not supported Failed to execute (LayerToKML). But I can manually do it within ArcMap 10.1 Desktop... GTA V Online Character Transfer PS3 to PS4 I recently just bought a PS4 that I couldn't pass up (Price Wise) and decided to try and transfer my GTA V Online Character.  Stats: All stat bars full $204,000,000 Rank: 149  I've been playing the game since it came out, which was around 2013 I believe. I quit playing the game about 8 months ago because my hard drive in my PS3 died on me so I decided to put the console on the shelf for a while. Like stated above, I just bought me a new PS4 and was looking to try and transfer my character over. I tried calling Rockstar Support about my situation and all they told me was that they don't allow transfers anymore.   So here's my question... Is there absolutely any way that I can transfer my character to my next gen console? Does anyone know how to get your business map location displayed in the right hand sidebar of the Google search results page? As in the screenshot below:      I already added my business to this link: .  Is adding detail in above link enough or do I need to change my website coding? independent variables in Random forest model Positive and negative complex numbers? Can there be such a thing as positive and negative complex numbers? Why or why not?   What about positive or negative imaginary numbers?   It seems very tempting to say $+5i$ is a positive number while $-2i$ is a negative number. On an Argand diagram (complex plane) $+5i$ would be represented by a point above the horizontal axis while $-2i$ is a point below the horizontal axis. What does a "< <(...)" redirection mean? I've seen that rvm (ruby version manager) is installed using the following command:  bash &lt; &lt;(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer )   So as I understand we get the script content and pass it to the bash (I believe &lt; &lt; and &lt;&lt; is the same thing?) I am interested in the &lt; &lt; part, found following description on the net:     &lt;&lt; token    Means use the current input stream as STDIN for the program until token is seen.    This is somehow not clear for me, can someone make an example or explain it in more simple way? I have problem with CRS Bosnia and Herzegovina?  MGI 1901 / Balkans zone 6  EPSG:3908 MGI 31276 / Balkans zone 6  EPSG:31276  Which of these two is OK? When I open google sattelite image with openlayers plugin, MGI 1901 match an image, when I change to MGI 31276 vector layer mismatch about 300m. When I import my layers to Global Mapper, datum of vector is "MGI Austria"   I need this projection: Take the square $[0,1]^2$ we take $n$ random lines through the square. You can choose random lines by choosing a point on one of the sides of the squares and randomly choosing a different point on any of the other three sides and then drawing a line connecting them.   What is the probability that after $n$ of these random lines the largest region is greater than or equal to $0.5$?  Any tips or cases help, thanks. I have to determine how many six-integer subsets of $\{1, 2, 3, \ldots, 20\}$ are possible if no two consecutive integers are in a set. The $n$ complex $n$th roots of a complex number $z$ Suppose $z$ is a nonzero complex number, so $z=re^{i\theta}$. Show that there are only $n$ distinct complex $n$-th roots, given by $r^{1/n}e^{i(2\pi k+\theta)/n}$ for $0\leq k\leq n-1$.   My proof: Let $z=re^{i\theta}\in\mathbb{C}$ and $a\in\mathbb{C}$ s.t. $a^{n}=z$. Let $a=\rho e^{i\varphi}$. Then, $a^{n}=(\rho e^{i\varphi})^{n}$. Setting $\rho^{n}e^{i\varphi n}=re^{i\theta}$ and rewriting in polar form, we get $$\rho^{n}(\cos(n\varphi)+i\sin(n\varphi))=r(\cos(θ)+i\sin(\theta)).$$ Thus $\rho^{n}=r$ $\rightarrow$ $\rho=r^{1/n}$ and $n\varphi=\theta\rightarrow\varphi=\theta/n$. Thus the roots of $a\in\mathbb{C}$ have the form $$r^{1/n}(\cos(\tfrac{\theta}{n})+i\sin(\tfrac{\theta}{n}))=r^{1/n}(\cos(\tfrac{\theta}{n}+2\pi j)+i\sin(\tfrac{\theta}{n}+2\pi j))$$ for some $j\in\mathbb{Z}$ due to the periodicity of trig functions. Then, $$r^{1/n}(\cos(\tfrac{\theta}{n}+2\pi j)+i\sin(\tfrac{\theta}{n}+2\pi j))=r^{1/n}e^{i\left(2\pi j+\tfrac{\theta}{n}\right)}=r^{1/n}e^{i(\theta+2\pi k)/n}$$ for $0\leq k\leq n-1 ,j=nk\in\mathbb{Z} $.  I feel like there could be a more concise way to put this. Show that $3p^2=q^2$ implies $3|p$ and $3|q$ This is a problem from "" (specifically, exercise set 2 #9), which is one of my math texts. Please note that this isn't homework, but I would still appreciate hints rather than a complete answer.  The problem reads as follows:     If 3p2 = q2, where $p,q \in \mathbb{Z}$, show that 3 is a common divisor of p and q.   I am able to show that 3 divides q, simply by rearranging for p2 and showing that  $$p^2 \in \mathbb{Z} \Rightarrow q^2/3 \in \mathbb{Z} \Rightarrow 3|q$$  However, I'm not sure how to show that 3 divides p.    Edit:  Moron left a comment below in which I was prompted to apply the solution to this question as a proof of $\sqrt{3}$'s irrationality. Here's what I came up with...  [incorrect solution...]  ...is this correct?  Edit:  The correct solution is provided in the comments below by Bill Dubuque. I really miss the graphical "Services" tool from older versions of Ubuntu, but I understand why it had to go. I always have terminals open anyway, so I use (because I have to now, I guess) service --status-all to see what services are running. This would be ok except that the command produces output like the following:   [ + ]  winbind  [ ? ]  wpa-ifupdown  [ - ]  x11-common   I'm guessing that those symbols mean something like listening, blocked, or stopped, but which is which? More importantly, why doesn't the man page say?