I appear to be having some issues with setting up both Mist and Sun Beams for cycles in Blender 2.8. I'm attempting to to get a god ray/fake-volumetric effect from the window in my scenes. However, it doesn't appear that the rays or mist are being calculated correctly. It's supposed to look like a beam of light coming through the windows, now it just looks like a muddy mess!    Here is an example of what I want it to look like:    Here is the blend file as well if this helps any:    I'm using an HDRI map to light the scene.  This is the node set-up I'm trying to go for:
I have a scene below where I am wanting to get an HDRI image to come in through the windows and light the scene in the window areas and have a god ray like effect.  I want to do this with a volumetric effect and have the HDRI lighting create throw patterns in the scene.  Is this possible?  To have volumetric lighting where the HDRI creates throw patterns?  Thanks for the help
Do you have any useful awk and grep scripts for parsing apache logs? I can use log analyzers, but often I need to parse recent web logs to see what's happening at the moment.   I sometimes do things like to figure out top 10 ips that request a certain file  cat foo.log | grep request_to_file_foo | awk '{print $1}' |  sort -n | uniq -c | sort -rn | head   What do you have in your toolbox? Necromancy In Harry Potter How is Necromancy accomplished in the Harry Potter universe?  I thought that people cannot be raised from the dead in Harry Potter.  Were bodies just use as puppets that can only do simple tasks, for instance when Dumbledore and Harry were getting the locket, the  were there to guard the locket.  Also, besides Inferi were there any Zombies in Harry Potter? Compute $\mathbb{P}\{ W_t < 0 \, \, \text{for all} \, \, 1 < t < 2\}$ for a Brownian motion $(W_t)_{t \geq 0}$ Let $(W_t)_{t \ge 0}$ be a standard one-dimensional Brownian motion. Calculate $$\mathbb{P}\{ W_t &lt; 0 \, \, \text{for all} \, \, 1 &lt; t &lt; 2\}.$$ I can only think that this will be conditional on $W_1$. Please tell how to proceed? How to disable creation of desktop workspaces on macbook?   Somehow they get created when I don't need them. [OS: Mojave] Why not brew wine and make beer? Non native speaker so I can't fully discern the difference.  Thanks. I have only seen infinite vector spaces and the one finite vector space i.e the trivial vector space $\{0\}$. Is there any other finite vector space? Visiting USA as a German with Iranian parents How do you check for whether a device is in a wifi deadzone? What is the difference between find . and /home/user/* as an input to for command.? For example:  for var in $(find .) do echo "$var" done   or  for var in /home/user/* do echo "$var" done   In the first case for command breaks up the file with names containing spaces. While in the second case it does not. Why? Prove $\int_0^\infty \frac{\sin^4x}{x^4}dx = \frac{\pi}{3}$ I need to show that  $$ \int_0^\infty \frac{\sin^4x}{x^4}dx = \frac{\pi}{3} $$  I have already derived the result $\int_0^\infty \frac{\sin^2x}{x^2} = \frac{\pi}{2}$ using complex analysis, a result which I am supposed to start from.  Using a change of variable $ x \mapsto 2x $ :  $$ \int_0^\infty \frac{\sin^2(2x)}{x^2}dx = \pi $$  Now using the identity $\sin^2(2x) = 4\sin^2x - 4\sin^4x $, we obtain  $$ \int_0^\infty \frac{\sin^2x - \sin^4x}{x^2}dx = \frac{\pi}{4} $$ $$ \frac{\pi}{2} - \int_0^\infty \frac{\sin^4x}{x^2}dx = \frac{\pi}{4} $$ $$ \int_0^\infty \frac{\sin^4x}{x^2}dx = \frac{\pi}{4} $$  But I am now at a loss as to how to make $x^4$ appear at the denominator.  Any ideas appreciated.  Important: I must start from $ \int_0^\infty \frac{\sin^2x}{x^2}dx $, and use the change of variable and identity mentioned above Python import coding style I've discovered a new pattern.  Is this pattern well known or what is the opinion about it?  Basically, I have a hard time scrubbing up and down source files to figure out what module imports are available and so forth, so now, instead of  import foo from bar.baz import quux  def myFunction():     foo.this.that(quux)   I move all my imports into the function where they're actually used., like this:  def myFunction():     import foo     from bar.baz import quux      foo.this.that(quux)   This does a few things.  First, I rarely accidentally pollute my modules with the contents of other modules.  I could set the __all__ variable for the module, but then I'd have to update it as the module evolves, and that doesn't help the namespace pollution for code that actually lives in the module.  Second, I rarely end up with a litany of imports at the top of my modules, half or more of which I no longer need because I've refactored it.  Finally, I find this pattern MUCH easier to read, since every referenced name is right there in the function body. Pass C# ASP.NET array to Javascript array What exactly can a financial advisor do for me, and is it worth the money? I've been managing my own expenses pretty meticulously for the past 4-5 years since being out of college and on my own. Because of this, I feel I have more of a clue about finances than the average 28-year-old.  I use  to manage pretty much all of my accounts, though I realize this is just a quick and easy personal finance solution. Plus, there's no personally customized advice on how I invest or set up my monthly budget.  These are the reasons I think I may want to find a good financial advisor. However, I don't know what I don't know. That is, there could be a long list of things I should be doing with my money to plan for retirement or just for general financial wellbeing.  Are these the functions of a financial advisor? What can I expect if I sit down to meet with one? Most importantly, how much would I be paying for this advice and is it worth it? Find a formula for a sequence $\{\sqrt{3},\sqrt{3\sqrt{3}},\sqrt{3\sqrt{3\sqrt{3}}},...\}$ Can there be only one extension to the factorial? Usually, when someone says something like $\left(\frac12\right)!$, they are probably referring to the Gamma function, which extends the factorial to any value of $x$.  The usual definition of the factorial is $x!=1\times2\times3\times\dots x$, but for $x\notin\mathbb{N}$, the Gamma function results in $x!=\int_0^\infty t^xe^{-t}dt$.  However, back a while ago, someone mentioned that there may be more than one way to define the factorial for non-integer arguments, and so, I wished to disprove that statement with some assumptions about the factorial function.    the factorial   is a  for $x\in\mathbb{C}$ except at $\mathbb{Z}_{&lt;0}$ because of singularities, which we will see later. is a monotone increasing function that is concave up for $x&gt;1$. satisfies the relation $x!=x(x-1)!$ and lastly $1!=1$     From $3$ and $4$, one can define $x!$ for $x\in\mathbb{N}$, and we can see that for negative integer arguments, the factorial is undefined.  We can also see that $0!=1$.  Since we assumed $2$, we should be able to sketch the factorial for $x&gt;1$, using our points found from $3,4$ as guidelines.  At the same time, when sketching the graph, we remember $1$, so there can be no jumps or gaps from one value of $x$ to the next.  Then we reapply $3$, correcting values for $x\in\mathbb{R}$, since all values of $x$ must satisfy this relationship.  Again, because of $1$, we must re-correct our graph, since having $3$ makes the derivative of $x!$ for $x\in\mathbb N$ undefined.  So, because of $1$ and $3$, I realized that there can only be one way to define the factorial for $x\in\mathbb R$.  Is my reasoning correct?  And can there be only one extension to the factorial?    Oh, and here is a  to how I almost differentiated the factorial only with a few assumptions, like that it is even possible to differentiate.  Putting that in mind, it could be possible to define the factorial with Taylor's theorem? I have a bathroom door that is quite loud when operated. And when someone goes to the bathroom at night, it innevatibly wakes someone up (and baby room is just across from the bathroom!) there are 3 components of noise, and I was wondering if there is an alternative to fixing them:   door bangs against the jamb (this is fixed with simple foam bumpers) latch mechanism makes a loud CLUNK when door is pushed closed (I was able to dampen it just a bit by putting foam inside strike plate, but it is still quite loud) lock button also makes a CLUNK when the knob is turned and it is released (this can be battled by replacing with a mechanism that needs to be manually opened [twist instead of push] but it is less convenient, and I would prefer something that automatically unlocks)   Any suggestions as to a knob that has a dampening of the latch and lock button? I have only found one youtube video of my ideal handle, but there is no information on how it works, where to buy it, or anything else: What exactly happens when you browse a website in your browser? How can I find color codes on Mac? I used to find color codes which I want to use for texts or background colors on htmls with color edit tool of MS paint which pre-installed on Windows. But now I use Mac instead of Windows. How can I find color codes with Mac? Is an software like MS paint pre-installed on Mac? Variable wavelength IR Diode? I was thinking of building a DIY IR Spectroscope but for this, I need to find an IR diode that can do variable wavelengths. So far I have looked at Farnell and Mouser but all the diodes I have looked at seem to be fixed on a wavelength.   Is this possible? or would I need some sort of filters and optical equipment, if so which parts would I need?  Thanks. Why is there a mismatch between size reported by LVM and the size reported by df -h? I'm new to LVM and have been very confused by this:  I am transfering a large file to a partition that I thought had about 1.5 terabytes of space on it.  Near the end of the transfer, rsync exits with an error claiming that the partition is full.  I investigate and find the following:  $ sudo lvm lvs   LV        VG     Attr   LSize   Origin Snap%  Move Log Copy%  Convert   home      system -wi-ao  97.66G                                         log       system -wi-ao  48.81G                                         log.audit system -wi-ao   9.75G                                         root      system -wi-ao 341.59G                                         swap      system -wi-ao   4.88G                                         temp      system -wi-ao  97.66G                                         var       system -wi-ao   1.46T     This seems to imply that /var (the partition that I'm transfering to, has the amount of storage I expect.  However, then I see:  $ sudo df -h Filesystem            Size  Used Avail Use% Mounted on /dev/mapper/system-root                       331G  1.3G  313G   1% / /dev/mapper/system-temp                        95G  188M   90G   1% /tmp /dev/mapper/system-var                        95G   90G     0 100% /var /dev/mapper/system-home                        95G  188M   90G   1% /home /dev/mapper/system-log                        48G  264M   45G   1% /var/log /dev/mapper/system-log.audit                       9.5G  340M  8.7G   4% /var/log/audit /dev/sda1              99M   25M   70M  26% /boot tmpfs                 8.0G     0  8.0G   0% /dev/shm   I'm guessing this has something to do with the volume being resized at some point.  While I have reliable backups, I'd rather not interrupt services for the time it will take to get the backup and restore.  Thus, is there anyway to make the filesystem seen by the OS match the space available according to lvm without losing data?