Objects not casting shadows in Eevee using HDRI
In Blender 2.8, how do I light an EEVEE scene with an HDR?
In PHP you can do:  print_r($var) or vardump($var)   which prints "human-readible" information about variable.  Is there equivalent functions / helpers for those in Ruby / Rails ? Switching between virtual console and GUI How to switch between virtual console and GUI in Ubuntu? I wanted to see what key functions would allow me to switch between the two. How to fill a mesh with solid color How do I get add-apt-repository to work through a proxy? I'm trying to follow the  (on my Ubuntu 10.04 VM).  The first step is:  sudo add-apt-repository ppa:linaro-maintainers/toolchain   But when I run that I get:  Error reading https://launchpad.net/api/1.0/~linaro-maintainers/+archive/toolchain: &lt;urlopen error [Errno 110] Connection timed out&gt;   I'm guessing the problem is with my configuration for my employer's proxy server, particularly for HTTPS.  When I opened  in Firefox, I got "The connection has timed out".  I then went into Firefox Preferences -> Advanced -> Network -> Settings... and set HTTP Proxy to "gateway" and Port to 8080, and checked "Use this proxy server for all protocols".  Then the page loaded.  This supports my theory.  I've tried setting the http_proxy and https_proxy environment variables (both lower and upper case):  $ set | grep -i proxy HTTPS_PROXY=https://gateway:8080 HTTP_PROXY=http://gateway:8080 http_proxy=http://gateway:8080 https_proxy=https://gateway:8080   I also tried changing them to:  $ set | grep -i proxy HTTPS_PROXY=gateway:8080 HTTP_PROXY=gateway:8080 http_proxy=gateway:8080 https_proxy=gateway:8080   And I tried adding this second line to /etc/apt/apt.conf:  Acquire::http::proxy "http://gateway:8080/"; Acquire::https::proxy "https://gateway:8080/";   But I continue to get the same error.  How do I troubleshoot this?  Update: I followed the instructions in the  to  and got further:  $ sudo add-apt-repository ppa:linaro-maintainers/toolchain Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1DD749B890A6F66D050D985CF1FCBACA7BE1F97B gpg: requesting key 7BE1F97B from hkp server keyserver.ubuntu.com gpgkeys: HTTP fetch error 7: couldn't connect to host gpg: no valid OpenPGP data found. gpg: Total number processed: 0   I wonder if the "HTTP fetch error" means I also need to add "Defaults env_keep = http_proxy" to /etc/sudoers...  Update #2: I added:  Defaults env_keep="http_proxy" Defaults env_keep="https_proxy"   ...as in , but I still get the same "gpgkeys: HTTP fetch error 7: couldn't connect to host" error.  And this is curious:  $ sudo env | grep proxy https_proxy=https://gateway:8080   ...because http_proxy isn't there.  Any advice is appreciated.  Update #3: Since the host of my VM is a laptop, I took it home and tried there (with no proxies):  $ sudo add-apt-repository ppa:linaro-maintainers/toolchain Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --secret-keyring /etc/apt/secring.gpg --trustdb-name /etc/apt/trustdb.gpg --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv 1DD749B890A6F66D050D985CF1FCBACA7BE1F97B gpg: requesting key 7BE1F97B from hkp server keyserver.ubuntu.com gpg: key 7BE1F97B: public key "Launchpad Linaro Overlay PPA" imported gpg: Total number processed: 1 gpg:               imported: 1  (RSA: 1)   It worked.  So problem is related to proxy configuration.  But I suppose I have a workaround. Which of the following is a correct sentence:   Does anyone know where's Linda?  Does anyone know where Linda is?    Does anyone know why and how to use above usage if #2 is correct. Also please let me know this kind of specific structures. 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? Adding Custom Menu "Run Script" Button Causes Duplicate Is there a way to use the Blender Text Editor for adding a custom menu and not get a duplicate every time I click on "Run Script" to test the menu? For example, in the text editor, load the template like so:  Template -> Python -> UI Menu  Then notice every time you press "Run Script" you get another menu in your main menu bar. How can I update my menu without getting a duplicate?  I tried simply commenting out register() but then new updates don't show up. Is there an idiom for people who boast too much? Rules of thumb for divisibility Given a number presented in decimal form $n=\sum_{k=0} d_k10^k$ there are some nice thumb rules to decide whether it is divisible with a prime number  $p\in\{7,11,13,17,19,23,29\}$.   For each of this numbers there is a number  $a_p$ such that $p|n\iff p|(a_p\cdot d_0+\sum_{k=0} d_{k+1}10^k)$.  $a_7=-2,\;a_{11}=-1,\;a_{13}=4,\;a_{17}=-5,\;a_{19}=2,\;a_{23}=7,\;a_{29}=3$  E.g. $\;19\cdot 17=323$ and $32+2\cdot 3=38=2\cdot 19$ and $32-5\cdot 3=17$.  Is there a number $a_{31}$ that works the same way? Or $a_p,\;p\ge37$? Generating random results by weight in PHP? I know how to generate a random number in PHP but lets say I want a random number between 1-10 but I want more 3,4,5's then 8,9,10's. How is this possible? I would post what I have tried but honestly, I don't even know where to start. Story about last 2 men on Earth. One very evil, and the other very ethical How does Earth's interior dynamo work? I'm interested in getting a basic physical understanding of how Earth's magnetic field is generated. I understand that it's a "dynamo" type of effect, driven by convection currents in the molten outer core. These currents cause charges to move, and this generates the field.  However, what I can't find a good explanation of is why there is a separation of charges in the first place. Presumably, moving neutrally charged molten iron would have the same effect as moving any other neutrally charged thing, i.e. it wouldn't create a field.  And presumably, if the fluid wasn't moving then it would become neutral pretty quickly, since molten iron is a good electrical conductor.  So am I right in thinking that the charge separation is the result of positive feedback, in that an intial deviation from neutrality would generate a field, and this would (somehow) cause a greater separation of charges, resulting in a kind of self-maintaining charge separation?  Or is there another explanation?  In either case, does anyone know of a good resource that explains the basic principles in physical terms?  I know that the interior dynamo is a very complex phenomenon, but I'd like something that gives a good physical picture of how the electromagnetic and fluid dynamical phenomena interact, rather than diving straight into partial differential equations. How do I get the full url of the page I am on in C# What's the arc length of an implicit function? While an explicit function $y(x)$'s arc length $s$ is easily obtained as  $$s = \int \sqrt{1+|y'(x)|^2}\,dx,$$   is there any formula for implicit functions given by $f(x,y) = 0$? One can use the implicit differentiation $y'(x) = -\frac{\partial_y f}{\partial_x f}$ to obtain  $$s = \int\sqrt{1 + |\partial_y f / \partial_x f|^2}\,dx,$$  but that still requires (locally) solving for $y(x)$. Is there any formulation that does not require this, e.g. another implicit equation involving $s$?    Thoughts so far:  One could rewrite $s$ as  $$s = \int |\nabla f|\, |\partial_x f|dx,$$  or symmetrize to  $$s = \int |\nabla f|\, \underbrace{(|\partial_x f|dx + |\partial_y f|dy)}_{(*)}/2$$  where $(*)$ might be strongly related to $|df|$ I guess (though it's not identical due to the $|\cdot|$), but then? Our GM won't let us affect the story; the more I play the less fun I have. What do I do? I was wondering if anyone could give me some advice or anything on a GM situation.   My current GM is running a campaign and it is very video game/anime like. It started out super fun and the deeper we get the less fun I have. The reason is, it feels like GM is telling us a story but we cannot interact or change anything during his, "cut scenes". No matter what any player does he just says, "No it didn't work," or, "Yeah you do that. See if you roll a 20." We also can't damage any boss he has until we reach the point in the story that he has planned, so our interactions we have with villains don't matter.  I feel like he is making us sit there and listen to an anime he has come up with in his head. Since the players can't change or react to the key situations. I find my self sitting there thinking, why would I react, it doesn't matter.  It's not just me either. Another player feels the same way. I am going to talk to my other fellow players soon about it and see how they feel.  Side note: the GM as a person is very defensive and I am afraid to confront him about it because I know he will throw a fit. We have also caught him straight lying about abilities and stats on his own PC in other campaigns, and he doesn't take to kindly when you call him out.  He is new to GMing. This is only the second game I have played with him as a GM. The first one had one session the he just never wrote more for.  Is there anything I can do to maybe get him to more lenient with his story? I really enjoy the story for the most part and if he would just let our characters do things and give us a chance at stopping his villians or letting us change the story based on our actions, everything would be cool. Can I transfer saved data from my old PS3 hard drive to my new PS3? A while ago, my PS3 completely broke. Every time I turn it on, it just completely shuts down a few seconds later. I decided to buy a new ps3 to play my old games. The problem is that I don't have my saved data, but I still have the original hard drive. Is it possible to somehow transfer the saved data from the old hard drive to my new PS3? I was thinking maybe I could clone the hard drive, but I don't have a spare hard drive to do it on. I do however have a 2 TB external hard drive. Would it be possible to clone it on the external? Are there any alternative methods? Getting a domain name off of the blacklist I have a friend who purchased a domain name recently that he found out (after buying it) is apparently blocked by many corporate firewalls or proxies b/c it's been tagged as porn by the blacklist db they're using.    Are there any common agencies he can appeal to in order to get the domain name off the black lists?  It's not just one corporation, either, he's looking at marketing a subscription-based service to a certain industry, so any contacting a particular firewall/proxy admin and have them manually update the blacklist won't scale well.  Thanks in advance. Paul Is there an easy way to convert a number to a word in PHP? How can I create an AddIn to ArcGIS Pro and where can I find it from ArcGIS Pro application? NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305] I get this error message   NMI watchdog: BUG: soft lockup - CPU#2 stuck for 23s! [plymouthd:305]    on the startup of my system (even with live-cd).  My PC is a dell inspiron 7559 with intel graphic and nvidia.  UPDATE - this issue also happens when attempting to install ubuntu 18.10 using LiveUSB