In minecraft I heard creepy music while mining A couple minutes ago, I was mining in minecraft and then there was about ten seconds of creepy music. Whats going on? I'm freaking out!
What does Minecraft's scary music mean? Apparently it means there is a dungeon around but I can never find any?  If it does mean dungeons how far away will it trigger?
I want to assign a class attribute via a string object - but how?  Example:  class test(object):   pass  a = test() test.value = 5 a.value # -&gt; 5 test.__dict__['value'] # -&gt; 5  # BUT: attr_name = 'next_value'  test.__dict__[attr_name] = 10 # -&gt; 'dictproxy' object does not support item assignment Is $\cot(z)-\frac1z$ bounded on a given circle? 2018 Macbook Pro & Dual Monitors I'm trying to hook up dual monitors (Samsung CF390) to my MacBook Pro, but when I do, I only have the desktop image projecting on both screens. When I go into Settings > Display, the "Arrangement" option isn't available.  I have both monitors' HDMI cables running through 1 USB-C to HDMI adapter. (The adapter has two ports.)  Is the solution to this problem having two adapters? My thinking is even though the adapter has 2 ports, the MacBook hardware or software can't Fully make use of both displays.   What can I change to get three total displays working on macOS High Sierra (10.13.x)? How can I download an APK file from the Play Store? I can't download apps from the Play Store on my Android device (maybe due to a network issue), so I'm wondering how could I download the APK file of an app on my PC from ? In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template &lt;typename T, typename Tail&gt; // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template&lt;typename U&gt; struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion&lt;U&gt; dummy;      };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; }; template &lt;typename T&gt; // For the last node Tn. struct UnionNode&lt;T, void&gt; {     // ...     template&lt;typename U&gt; struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; };   The problem I have is in the typedef Tail::inUnion&lt;U&gt; dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion&lt;U&gt; names a type and not a function? Black screen after suspend-after moving to the nvidia official drivers (not priority) So, when I used the priority drivers, the suspend worked normal. But the official drivers works better, so I installed the official driver. Then suspend won't work.  Should I change any text/documants to make it work? Any solution will be aprreciated, thanks you all! Having line color vary with data index for line graph in matplotlib? How do I time a method's execution in Java? Why do we use Hermitian operators in QM? Position, momentum, energy and other observables yield real-valued measurements. The Hilbert-space formalism accounts for this physical fact by associating observables with Hermitian ('self-adjoint') operators. The eigenvalues of the operator are the allowed values of the observable. Since Hermitian operators have a real spectrum, all is well.  However, there are non-Hermitian operators with real eigenvalues, too. Consider the real triangular matrix:  $$ \left( \begin{array}{ccc} 1 &amp; 0 &amp; 0 \\ 8 &amp; 4 &amp; 0 \\ 5 &amp; 9 &amp; 3 \end{array} \right)  $$  Obviously this matrix isn't Hermitian, but it does have real eigenvalues, as can be easily verified.  Why can't this matrix represent an observable in QM? What other properties do Hermitian matrices have, which (for example) triangular matrices lack, that makes them desirable for this purpose? How does one go about and try to find all subclasses of a given class (or all implementors of a given interface) in Java? As of now, I have a method to do this, but I find it quite inefficient (to say the least). The method is:    Get a list of all class names that exist on the class path Load each class and test to see if it is a subclass or implementor of the desired class or interface   In Eclipse, there is a nice feature called the Type Hierarchy that manages to show this quite efficiently. How does one go about and do it programmatically? Assuming file2 already exists, the command   &gt; file1 &lt; file2 cat   appears to be copying the content of file2 to file1.  But I cannot understand this structure.  I understand that "Nothing" is being directed to file1 (creating or erasing its content). Then the content of file2 is being directed to file1.  Why is cat after file2? How does it know to cat file2 if the operands are not in the correct order? Why does the speed of light in vacuum have no uncertainty? I could understand that the definition of a second wouldn't have an uncertainty when related to the transition of the Cs atom, so it doesn't have an error because it's an absolute reference and we measure other stuff using the physical definition of a second, like atomic clocks do.  But why doesn't the speed of light have uncertainty? Isn't the speed of light something that's measured physically?  Check out that . Estimating the integrated Tchebychev function and calculating its error "exec: gnome-session: not found" when logging in using lightdm On login the password is accepted but I'm returned to the login screen. Tried multiple times even after reboot... same behavior.  I left my laptop (Lenovo Ideapad z510) in suspend mode (lid down) last night, but it did not resume this morning, as it usually does. It had shutdown or crashed, and on booting with Ubuntu the login failure mentioned above started.  cat ~/.xsession-errors /usr/sbin/lightdm-session: 1: /usr/sbin/lightdm-session: ls: not found /usr/sbin/lightdm-session: 104: exec: gnome-session: not found   Okay. I've tried a bunch of suggestions from    Changed id to /usr/sbin/id in /etc/profile removed .Xauthority removed /tmp removed,  purged and re-installed lightdm checked .profile for syntax errors (source .profile worked fine, so I guess no syntax errors)   Nothing worked. My guest login is working fine, so another user should also work. I'm now going to create another user and continue working, but a solution to this problem is still warranted... it's likely going to repeat in future.  Installing and reconfiguring gdm also did not work.  sudo apt-get install gdm C, C++ and Java IDE for Ubuntu Is there an IDE which can run on Ubuntu that supports C, C++ and Java? I installed , but it only supported Java. I installed the C/C++ package manually, but that package gives an error if I include iostream.   Is there any other IDE which can satisfy my needs? Or can I get NetBeans with all packages pre-installed in it? Is there an "exists" function for jQuery? Tachyons and Photons Is there a particle called a "tachyon" that can travel faster than light?  If so, would Einstein's relativity be wrong?  According to Einstein no particle can travel faster than light. Is drawing multiple cards an atomic action? Is drawing multiple cards an atomic action, or do effects triggered by drawing a card trigger for each card drawn instead?  Consider , which reads:     Whenever a player draws a card, Spiteful Visions deals 1 damage to that player.   If a player were to be compelled to draw more than one card, would that player be dealt the damage all at once, or one at a time? For example, how many times would  need to be activated to prevent all damage?  Furthermore, if there exist additional effects that are triggered by damage dealt in this way, are such effects resolved together atomically or is each resultant effect resolved individually?    How about tutors, or other cards not using the word 'draw', eg:      If you would draw a card, look at the top three cards of your library instead. Put one of those cards into your hand and the rest on the bottom of your library in any order. Can a wizard choose where to place their soul piece when creating a horcrux? What does % do to strings in Python?