I made a new Blender file and added Quick Smoke to the default cube. I changed the renderer from Eevee to Cycles and switched to GPU Compute. When I render, all I see is the cube; the smoke doesn't appear. I've tried switching the cache type to Final and rebaking the sim and nothing changes. When I save the file and close and re-open Blender, nothing changes, and if I rebake after that, nothing changes.  Viewport:    Render:   I should note that while I am on 2.9 alpha, this happens in 2.82 and 2.83 beta as well.  Before this gets marked as a duplicate, I've tried everything listed on other questions on this site and on Google that I could find.
Whenever I add a Quick Smoke effect, I can't preview it on the viewport unless I bake it.   And Yes, I added the Smoke Domain on the object.   I've seen tutorials like this  and this  that clearly shows the possibility of previewing the smoke before baking it.   I'm using Blender on a Mac with AMD GPU. I would guess that this is something related to OpenGL, as thoroughly explained here -  but that's for Windows.   Does anyone have any idea how to fix this?
How to get an enum value from a string value in Java? Say I have an enum which is just public enum Blah {     A, B, C, D }  and I would like to find the enum value of a string, for example &quot;A&quot; which would be Blah.A. How would it be possible to do this? Is the  the method I need? If so, how would I use this? I am testing against the following test document:  &lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"                        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;    &lt;head&gt;         &lt;title&gt;hi there&lt;/title&gt;     &lt;/head&gt;     &lt;body&gt;         &lt;img class="foo" src="bar.png"/&gt;     &lt;/body&gt; &lt;/html&gt;   If I parse the document using lxml.html, I can get the IMG with an xpath just fine:  &gt;&gt;&gt; root = lxml.html.fromstring(doc) &gt;&gt;&gt; root.xpath("//img") [&lt;Element img at 1879e30&gt;]   However, if I parse the document as XML and try to get the IMG tag, I get an empty result:  &gt;&gt;&gt; tree = etree.parse(StringIO(doc)) &gt;&gt;&gt; tree.getroot().xpath("//img") []   I can navigate to the element directly:  &gt;&gt;&gt; tree.getroot().getchildren()[1].getchildren()[0] &lt;Element {http://www.w3.org/1999/xhtml}img at f56810&gt;   But of course that doesn't help me process arbitrary documents.  I would also expect to be able to query etree to get an xpath expression that will directly identify this element, which, technically I can do:  &gt;&gt;&gt; tree.getpath(tree.getroot().getchildren()[1].getchildren()[0]) '/*/*[2]/*' &gt;&gt;&gt; tree.getroot().xpath('/*/*[2]/*') [&lt;Element {http://www.w3.org/1999/xhtml}img at fa1750&gt;]   But that xpath is, again, obviously not useful for parsing arbitrary documents.  Obviously I am missing some key issue here, but I don't know what it is.  My best guess is that it has something to do with namespaces but the only namespace defined is the default and I don't know what else I might need to consider in regards to namespaces.  So, what am I missing? How to create polygons with straight lines and right angles in QGIS? When creating a polygon, how do I do it so that the lines are straight (90, 0 degrees, etc.) and when I create corners they can be right angles? For instance, how do I create a perfect square or rectangle? proof that function is constant I'm annoyed by quite a simple problem in calculus (I apologize in advance if I'm not using adequate terms in English, I don't take the course in English nor am I a native speaker):  Let $f:\mathbb R\longrightarrow \mathbb R$ be a function which is continuous at $0$ and satisfies $f(x)=f(2x)\,\forall x\in\mathbb R$.  My question is how do I formally prove that for every $x&lt;0$ $f(x)=c_1$, and for every $x&gt;0$ $f(x)=c_2$, where $c_1,c_2\in \mathbb R$? After proving those two statements (or at least one of them WLOG) it would be quite easy to prove that $f(0)=c_1=c_2$ by the definition of continuity of $f(0)$ and thus $f(x)$ is constant. Those two statements are just so obvious to see that I can't think of any formal way of proving so without "cheating". Thanks in advance! I have a WinXP installation that is used to only connect to another PC with RDP.   A dummy user account gets logged in automatically, then the user must click a link to start the RDP connection with predefined parameters.  Is there a way to run the RDP client without Windows Explorer being accessible? jQuery get specific option tag text All right, say I have this:  &lt;select id='list'&gt;     &lt;option value='1'&gt;Option A&lt;/option&gt;     &lt;option value='2'&gt;Option B&lt;/option&gt;     &lt;option value='3'&gt;Option C&lt;/option&gt; &lt;/select&gt;   What would the selector look like if I wanted to get "Option B" when I have the value '2'?  Please note that this is not asking how to get the selected text value, but just any one of them, whether selected or not, depending on the value attribute. I tried:  $("#list[value='2']").text();   But it is not working. Why does Oracle 9i treat an empty string as NULL? I know that it does consider ' ' as NULL, but that doesn't do much to tell me why this is the case.  As I understand the SQL specifications, ' ' is not the same as NULL -- one is a valid datum, and the other is indicating the absence of that same information.  Feel free to speculate, but please indicate if that's the case.  If there's anyone from Oracle who can comment on it, that'd be fantastic! Can newsletters take into account a user's favorite tags on that site? Stack Overflow is huge and varied. Wouldn't it be great if I could just subscribe to a newsletter with a list of my favorite tags? If I love dealing with , I think it would make sense for my version of the newsletter to focus more on Android questions.  Or, if I sign up for the  newsletter, but don't own a Mac, it would be nice if I my newsletter would focus on the part of the site I do follow (i.e., iOS).  So I would like to suggest that the newsletters for each site (optionally) take into account the user's favorited and ignored tags for that site.  I know that you can receive emails about specific filters, but I don't think that's a good solution for users who already receive the newsletter. Most of the questions it highlights cover topics that I have no interest in. It would be much better if I could filter out all the noise and get down to my likely favorites. sum of the residue at all poles of the rational function p/q is 0. We are given two polynomials p, q with deg(q)>1+deg(p). Show that the sum of the residue at all poles of the rational function p/q is 0.   How do I go about solving this? Finding the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4 I have an exercise where I am supposed to find the left and right cosets of H = {(1), (12), (34), (12) ○ (34)} in S4. But how do I generate the cosets? As I have understood it you are supposed to pick a number that is not in the set H and multiply it with every number in H. But this does not exactly give the right answer. I would really appreciate it if someone gave an easy to understand explanation of how to generate the left and right cosets. Why is the harmonic oscillator so important? I've been wondering what makes the  such an important model. What I came up with:   It is a (relatively) simple system, making it a perfect example for physics students to learn principles of classical and quantum mechanics. The harmonic oscillator potential can be used as a model to approximate many physical phenomena quite well.   The first point is sort of meaningless though, I think the real reason is my second point. I'm looking for some materials to read about the different applications of the HO in different areas of physics. How to choose between learning algorithms I need to implement a program that will classify records into 2 categories (true/false) based on some training data, and I was wondering at which algorithm/methodology I should be looking at. There seem to be a lot of them to choose from -- Artificial Neural Network, Genetic Algorithm, Machine Learning, Bayesian Optimization etc. etc., and I wasn't sure where to start. So, my questions is:  How should I choose a learning algorithm I should use for my problem?  If this helps, here is the problem I need to solve.    The training data: The training data consists of many rows like this:    Precursor1, Precursor2, Boolean (true/false)   The run I will be given a bunch of precursors. Then,     I choose an algorithm A from different algorithms (or dynamically generate an algorithm), and apply it on every possible combinations of these precursors and collect the "record"s  that are emitted. The "record" consists of several key-value pairs*. I apply some awesome algorithm and classify these records in to 2 categories (true/false). I will generate a table that has the same format as the train data: Precursor1, Precursor2, Boolean   And the whole program is scored based on how many true/false I got right.  *:"Record"s will look like this (hope this makes sense)  Record         [1...*] Score -Precursor1             -Key -Precursor2             -Value   There are only a finite number of possible Keys. Records contain different subset of these keys (some records have key1, key2, key3... other records have key3, key4... etc.).  I actually need 2 learning. One is for step 1. I need to have a module that looks at the Precursor pairs etc. and decide what algorithm to apply in order to emit a record for the comparison. Another is for step 2. I need a module that analyzes the collection of records and categorize them into the 2 categories (true/false).    Thank you in advance! What antivirus programs are available? What antivirus programs are available for Ubuntu?  We previously used Symantec Endpoint Protection but it does not work in Ubuntu. Is it possible to interrupt spellcasting? I just wanted to know how to add "create node form" in a block  when i  copy the source code and make a block out of that code, only public could post from that. when i am posting as a user it says timeout and tells us to refresh the page. plz someone give me solution.  SO i tried to add the following code in page.tpl.php  $form = node_add('nodetype'); print drupal_render($form); How do I get an array of repeated characters from a string using LINQ? How do I convert seconds to hours, minutes and seconds? Why are there no other dragons in ASOIAF? Horizontal splash distance of water Trouble Viewing Whole HDR Image as cycles world When I load an HDR image into an environment texture using Cycles Render, only a small fraction of the image appears. I have a feeling it's an easy fix, but I can not find what needs to be changed.