I have a mantaflow liquid simulation in the 2.92 version of Blender. This simulation starts at the beginning of the animation but stops before the animation ends. When the animation plays past the last frame of the fluid sim, the domain becomes rendered as a giant cuboid because there is no more fluid data. I would like the fluid simulation to stay frozen on its last frame, rather than be a cuboid for the rest of the animation.  I know that it is possible to make a duplicate of the simulation with the fluid modifier applied on the last frame of the sim, but this causes shading inconsistencies and I would rather not do that.  Instead, is there a way to freeze the fluid simulation on the last frame without making duplicate objects? Possibly manipulating data, or a setting that I am not aware of?
So  i have a scene with a few objects, and a water simulation in the scene. However I want to animate the camera turning around in the scene, while the water simulation is frozen in time. So something like a time freeze effect. But when ever I try to render an animation it renders the water simulation too. I just need one frame of the water simulation. Is there a way to do this?
Why does unlocking the bootloader wipe phone? Evaluate : $1+\frac{2}{6}+\frac{2\cdot 5}{6\cdot 12}+\frac{2\cdot 5\cdot 8}{6\cdot12\cdot 18}+\ldots$ Evaluate : $$1+\frac{2}{6}+\frac{2\cdot 5}{6\cdot 12}+\frac{2\cdot 5\cdot 8}{6\cdot12\cdot 18}+\ldots$$  thought: I have tried to manipulate the series so that the sum upto n terms , can be simplified. But I can't figure out any profitable result. Using Either a Comma or a Semicolon My teacher was explaining how sometimes a comma isn't enough to make a sentence correct, and that sometimes you have to use a semicolon. I am having trouble figuring out when you should use which.   Can someone please explain? Has Marvel commented on the extra Infinity Gauntlet? Way back in Thor, there was an Easter Egg Infinity Gauntlet in Odin's vault.  They even  that year to show it off.  Presently in the Marvel Cinematic Universe, they're clearly building to an Infinity Gauntlet story, and they've shown several Infinity Stones out in the universe.  The Infinity Stones are clearly not all sitting in Odin's vault, on a gauntlet.  Has Marvel commented on this issue at all in interviews?  Has the gauntlet been retconned into being some other gauntlet, or some other piece of the Infinity Gauntlet puzzle? Marginal probability derived from joint probability distribution of a poisson process and binomial process I thought I figured out this problem, but my answer is different than the solutions manual. Hoping someone here can stear me in the correct direction:     Assume the number of automobile collisions that occur on a given stretch of highway per year is a Poisson random variable $X$ with $\mu = 20$. The probability is $p=0.05$ that there will be one or more fatalities in each accident; occurrences of fatalities are independent from one collision to the next. If $Y$ is the number of collisions with one or more fatalities on this stretch of road in one year, find the probability law for $Y$.   So as said, X is poisson, so:  $$p_X(x) = \frac{20^x}{x!}e^{-20}$$  The conditional probability of $Y$ given $X=x$ is a Binomial random variable:  $$p_{Y\mid X}(y\mid x) = \binom{x}{y}p^yq^{x-y}$$  where $Y =$ number of fatal traffic accidents and $x =$ given number of accidents (from poisson distribution)  Therefore the joint probability for $X$ and $Y$ is:  $$p_{X,Y}(x,y)= p_{Y\mid X}\cdot p_X(x) = \binom{x}{y}p^yq^{x-y}\frac{20^x}{x!} e^{-20}$$  to find the marginal probability of $Y$, I sum over $P_{X,Y}$ for all $x$:  \begin{align} p_Y(y) &amp; = \sum_{x=y}^\infty{\binom{x}{y}p^yq^{x-y}\frac{20^x}{x!}e^{-20}} = \frac{(20p)^ye^{-20}}{y!} \sum_{x=y}^\infty {20^{x-y}\frac{q^{x-y}}{(x-y)!}} \\[10pt] &amp; = \frac{(20p)^ye^{-20}}{y!} \sum_{x-y=0}^\infty {20^{x-y}\frac{q^{x-y}}{(x-y)!}} = \frac{(20p)^ye^{-20}}{y!}e^{20q} \end{align}  So:   $$p_Y(y) = \frac{(20p)^ye^{-20p}}{y!}$$  however, the correct answer is apparently $p_Y(y)=\dfrac{e^{-1}}{y!}$ MacOS 10.14 Mojave public beta public Wi-Fi problem I can not connect to a single public Wi-Fi hotspot that does not require a password but instead shows a pop-up window pointed to captive.apple.com  The pop-up opens blank with the error "The web page couldn't be loaded"  Any idea on how to fix this? Do PhD courses in engineering fields in European non-English speaking countries require knowledge of the native language? Can a Ph.D. student who only knows how to speak English study in a European non-English speaking country (e.g., Austria, Netherlands, Switzerland, Italy, etc.)  without any problems? Does applying to these universities require knowledge of that country's language? Can this identity be derived from the binomial theorem?  $$n(n+1)2^{n-2} = \sum_{i=1}^{n}  i^2 \binom{n}{i}$$    I tried starting from $2^n = \displaystyle\sum_{i=0}^{n} \binom{n}{i}$ and dividing it by $4$ in order to get $2^{n-2}$. Is there any way to add if elif and else in drivers?  Given the way we do if and else, here are two examples out of few other things i tried to get the statement right but unable to do so:  var-3.5 if (var&lt;0) var+3.5 elif (var&gt;0) else 1  var-3.5 if (var&lt;0) elif var+3.5 (var&gt;0) else 1   And also if there's any other way to add multiple if/else similarly? I have a lightning component that displays Knowledge Articles based on Topic IDs that it is configured for. This works great so I went to create my test coverage for it and discovered that the inserted test Knowledge Articles can only ever be 'Draft' making my tests fail since the apex class only looks for 'Online'. Instead of rewriting my component I decided to overload the apex method so that when called without the status parameter it passes in 'Online' allowing my tests to pass in 'Draft' instead. However, the first method signature does not get called from the component resulting in null for the status parameter.  Here is the component controller:  ({     "retrieveArticles" : function(component, event, helper) {         var action = component.get("c.returnArticlesWithTwoTopicIds");         action.setParams({             mainTopicId : component.get("v.mainTopicId"),             secondaryTopicId : component.get("v.secondaryTopicId"),             limitAmount : component.get("v.limitAmount")         });          action.setCallback(this, function(response) {             var state = response.getState();             if (component.isValid() &amp;&amp; state === "SUCCESS") {                 // handle SUCCESS             }             else if (component.isValid() &amp;&amp; state === "ERROR") {                 // handle ERROR             }         });         $A.enqueueAction(action);     } })   Here is the apex class:  public with sharing class KnowledgeArticleVersionCtrl {     @AuraEnabled     public static List&lt;KnowledgeArticleVersion&gt; returnArticlesWithTwoTopicIds(String mainTopicId, String secondaryTopicId, Integer limitAmount) {         return returnArticlesWithTwoTopicIds(mainTopicId, secondaryTopicId, limitAmount, 'Online');     }      @AuraEnabled     public static List&lt;KnowledgeArticleVersion&gt; returnArticlesWithTwoTopicIds(String mainTopicId, String secondaryTopicId, Integer limitAmount, String status) {         // build query string         List&lt;KnowledgeArticleVersion&gt; articles = Database.query(query);         return articles;     } }   Is there something about the component that would cause it to not use the first signature, the one it should match, in place of the second one, which it shouldn't match? I am using texlive 2013, and just ran the following command to update the packages.  sudo ./tlmgr update  -all   After it finished, I tried to compile tex documents that uses tikz package as the following MWE shows:   \documentclass{article}  \usepackage{tikz}  \begin{document}       aaaa  \end{document}   Then pdflatex complains; it said:   (/usr/local/texlive/2013/texmf-dist/tex/latex/pgf/utilities/pgfrcs.sty  (/usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/pgfutil-common.tex  ! I can't find file `pgfutil-common-lists.tex'.  l.556 \input pgfutil-common-lists.tex   The problem is that, pgfutil-common-lists.tex is indeed in the directory:   /usr/local/texlive/2013/texmf-dist/tex/generic/pgf/utilities/   Why is that? pdflatex should be able to find it, right? I even download the  again, and replace the pgf directory in   /usr/local/texlive/2013/texmf-dist/tex/generic/   Nothing changed at all........... Any idea? Thank you for your critics.  %=====================================================================  Then followed the comments, I type the following command in the terminal:    sudo mktexlsr gives me command not found;  mktexlsr gives me:  mktexlsr: /usr/local/texlive/2013/../texmf-local: directory not writable.     Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-config: directory not writable. Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-dist: directory not writable. Skipping...  mktexlsr: /usr/local/texlive/2013/texmf-var: directory not writable. Skipping... mktexlsr: Done; Forkpsewhich pgfutil-common-lists.tex, nothing pops up. We're injecting records into a journey using a Salesforce data event.  I also want to advance the people in the journey based on updates that happen in Salesforce (e.g., as an Opportunity record advances through the sales process), but I can't figure out how to do that.  I've read all the documentation I can find, but there doesn't seem to be a Journey Builder widget that will wait to be prompted by an event in Salesforce before continuing someone on a journey.  At the moment, I'm completely stuck.    I'd greatly appreciate any advice or information on how I can make journeys event-driven in this way.  Thanks very much! Combining jquery functions - on() hover/mouseenter/mouseleave Why do I see a saddle in this picture of a computer screen? I am not entirely sure this is an appropriate question for PSE, however since many of you have such diverse backgrounds, I'll give it a shot.  I have noticed that when one takes a picture of a computer, TV screen with a phone, you can "see" what looks like a saddle phase portrait.     Why does this happen? Does it have any relevance to differential equations or other areas of math? How I can recover files when the folder shows empty but the files are not deleted? I'm having difficulty with exercise 1.43 of Lang's Algebra. The question states     Let $H$ be a subgroup of a finite abelian group $G$. Show that $G$ has a subgroup that is isomorphic to $G/H$.   Thinking about this for a bit, the only reasonable approach I could think of was to construct some surjective homomorphism $\phi\colon G\to K$ for $K\leq G$, and $\ker\phi=H$, and then just use the isomorphism theorems to get the result.  After a while of trying, I've failed to come up with a good map, since $H$ seems so arbitrary. I'm curious, how can one construct the desired homomorphism? This is just the approach I thought of, if there's a better one, I wouldn't mind seeing that either/instead. Thank you. running script with ". " and with "source " I was wondering if the following two ways of running a bash script are equivalent?  . ./myScript.sh  source myScript.sh  Are they both running the content of the script instead of running the script, i.e. not creating a subshell for running the script? How to really clear the terminal? I can issue the clear command or press Ctrl + L to clear the current Ubuntu terminal, but this just shifts previous output upwards and if you use mouse scroll or PgUP and PgDown keys it's hard to distinguish where the output of previous command ends and output of current command begins.  Is there a way to really clear the terminal so I won't see previous command results? After upgrading from Ubuntu 13.04 server, the www pages won't display themselves.     Error 403 Forbidden You don't have permission to access / on this server.   I've changed access control saves from apache2.2 to apache2.4, but that didn't work. What else could I do? What is the fastest way to create a list of directories specified in a file? I have a text file, "foo.txt", that specifies a directory in each line:  data/bar/foo data/bar/foo/chum data/bar/chum/foo ...   There could be millions of directories and subdirectories What is the quickest way to create all the directories in bulk, using a terminal command ?  By quickest, I mean quickest to create all the directories. Since there are millions of directories there are many write operations.   I am using ubuntu 12.04.  EDIT: Keep in mind, the list may not fit in memory, since there are MILLIONS of lines, each representing a directory.  EDIT: My file has 4.5 million lines, each representing a directory, composed of alphanumeric characters, the path separator "/" , and possibly "../"  When I ran xargs -d '\n' mkdir -p &lt; foo.txt after a while it kept printing errors until i did ctrl + c:  mkdir: cannot create directory `../myData/data/a/m/e/d': No space left on device  But running df -h gives the following output:  Filesystem      Size  Used Avail Use% Mounted on /dev/xvda        48G   20G   28G  42% / devtmpfs        2.0G  4.0K  2.0G   1% /dev none            401M  164K  401M   1% /run none            5.0M     0  5.0M   0% /run/lock none            2.0G     0  2.0G   0% /run/shm   free -m   total       used       free     shared    buffers     cached Mem:          4002       3743        258          0       2870         13 -/+ buffers/cache:        859       3143 Swap:          255         26        229   EDIT: df -i  Filesystem      Inodes   IUsed  IFree IUse% Mounted on /dev/xvda      2872640 1878464 994176   66% / devtmpfs        512053    1388 510665    1% /dev none            512347     775 511572    1% /run none            512347       1 512346    1% /run/lock none            512347       1 512346    1% /run/shm   df -T  Filesystem     Type     1K-blocks     Used Available Use% Mounted on /dev/xvda      ext4      49315312 11447636  37350680  24% / devtmpfs       devtmpfs   2048212        4   2048208   1% /dev none           tmpfs       409880      164    409716   1% /run none           tmpfs         5120        0      5120   0% /run/lock none           tmpfs      2049388        0   2049388   0% /run/shm   EDIT: I increased the number of inodes, and reduced the depth of my directories, and it seemed to work. It took 2m16seconds this time round.