Me and my friend have leveled up to level 51 and fought Pyro Pete on TVHM 3-4 times and he hasn't dropped a single crystal. The quest was on the first time and we just farmed him but nothing was happening. What are we doing wrong?
There's someone much like Crazy Earl in Oasis behind a locked door. He tells me to leave until I've killed a seraph guardian or I get some sort of guardian crystal.  I just beat the DLC and did many of the sidequests and I'm still stumped as to how to get such a crystal. I assumed there would be Guardian foes just like in Borderlands 1, and they'd drop this item. After completing the story...there were no such enemies. So what do I do?
I think it's something like  this: (Fedora14/bash)  #!/bin/bash  for i in {0..10..1}; do echo -e "$i"'\c' echo -e "\n\r" sleep 1 done   But it doesn't work. Purpose: like this, but without the "clear":   #!/bin/bash  for i in {0..10..1}; do echo -e "$i" sleep 1 clear done   So a counting script that doesn't deletes the whole screen to output +1 number, instead it only deletes the line, where the counting is, so that there could be ex.: a beatifull "progress bar".. Run command on another(new) terminal window How to run any command in another terminal window?  Example: I opened one terminal window and if I run command like apropos editor, then it run and out-puts on that window. But I want to run same command on another terminal window (new window) instead on present window from first terminal.   Further clarification:  I need suggest-command &lt;command&gt; that open new terminal window and run mentioned &lt;command&gt; in that (newly opened) window. (where suggest-command is example of suggestion of command.)  How to do that? How can I remap a keyboard key? One of my laptop's keys has fallen off. Is there any way I can remap another key to serve as that key?  I'll 'sacrifice' the other key because I never use it. Center of mass in a straight rod I got an assignment to prove that in a straight homogeneous rod, you can always choose a coordinate system in such a way that  $$\int_S x_1 \, dx_1 \, dx_2=0 $$  $$\int_S x_2 \, dx_1 \, dx_2=0 $$  $$\int_S x_1x_2 \, dx_1 \, dx_2=0$$  where $S$ is the cross section of the rod  Now, intuitively, I can understand that the first two expressions basically state that if you find the mass center of the rod, then all you have to do is to put the origin of the coordinate system in the mass center, and the integrals turn out to be zero. What I'm curious about is whether or not this is a good enough of an explanation, and also, a hint on how to obtain the third equality. I would like to associate the last installed version of my Mac OS X application with a certain type of file. A little experimentation shows that the info.plist file seems to be read and interpreted by the operating system when launching the application, not when dragging the application bundle to the disk.  does not say much on that topic.  Is there any way, using a simple .dmg image as installation medium, to make sure the system associates that particular file type with my newly installed app without having to launch it first?  I should clarify that I want this to be done automatically during the installation (I don't want my users to have to do it themselves). How to prove $ \prod_{d|n} d= n^{\frac{\tau (n)}{2}}$ How to update Wine to the latest version? Custom blocks created as a plugin in a module not showing for Block::load() I have a couple of blocks that have been created using the ... extends BlockBase syntax in my module. They work perfectly fine, and I can add them on the blocks layout page, can add them into DS as a field, etc. They definitely exist fine.  However, when I try and render them using Block::load(), they won't show up, unlike other blocks that work fine.  For example, if I have the following docblock:  /**  * Provides a 'Cute Cats' Block.  *  * @Block(  *   id = "cute_cats",  *   admin_label = @Translation("Cute cats yo"),  * )  */  class CuteCats extends BlockBase { ... }   ... and then try and call it like this:  $block = \Drupal\block\Entity\Block::load('cute_cats'); return render(\Drupal::entityTypeManager()   -&gt;getViewBuilder('block')   -&gt;view($block));   Any idea why? Thanks in advance. I'm struggling to understand the core reason to invest in stocks as a minority shareholder. Majority shareholding makes more sense as you effectively control the company, so you can pay yourself dividends or even sell the entire company at will. You can guarantee your own payback.  However, as a minority shareholder, you don't get to make any of these decisions. You're basically just hoping to eventually, some day get paid, if the majority holders decide so.  Why do so many investors agree to pay now huge sums of money (trillions in total) for something that may eventually pay dividends, and even in the best case, these dividends are only a fraction of the price you paid to acquire these stocks?  The average annual dividend rate for the US stock market is 2%. That means if you bought 100 million worth of shares, you'd have to wait 50 years to recover your investment.  Of course, the most probable way you'd eventually get liquidity for these shares is by selling them to some other starry-eyed investor - which makes the whole thing seem like a giant Ponzi scheme.  Given all that, it's unclear to me why the public is willing to spend so much money to acquire minority shares in companies. python list in sql query as parameter I have a python list, say l  l = [1,5,8]   I want to write a sql query to get the data for all the elements of the list, say  select name from students where id = |IN THE LIST l|   How do I accomplish this? Attempt to de-reference a null object: Trigger There were custom validation error(s) encountered while saving the affected record(s). The first validation error encountered was:      Apex trigger updatequotestatus caused an unexpected exception, contact your administrator: updatequotestatus: execution of AfterInsert caused by: System.NullPointerException: Attempt to de-reference a null object: Trigger.updatequotestatus line 5, column 1.   Error Occured at Line:     if((t.what.getsobjecttype() == quote__c.sobjecttype) &amp;&amp; (t.subject.substring(0,5) == 'Email')  trigger updatequotestatus on task (after insert, after update){     Set&lt;Id&gt; quoteIds = new Set&lt;Id&gt;();     List&lt;quote__c&gt; quotes = new List&lt;quote__c&gt;();      for(task t:trigger.new){         if(t.whatId!=null){             if((t.what.getsobjecttype() == quote__c.sobjecttype) &amp;&amp; (t.subject.substring(0,5) == 'Email')){                 quoteIds.add(t.whatId);             }         }     }      for(quote__c q:[select StageName__c from quote__c where Id IN : quoteIds]){         quote__c qt = new quote__c();         qt.Id = q.Id;         qt.StageName__c = 'Proposal Sent';         quotes.add(qt);     }      if(quotes.size()&gt;0){         update quotes;     } } Confused! Are there any differences between "I have to go", "I had to go", "I've had to go", "I get to go", "I got to go", "I've got to go"? I am Confused!   Are there any differences between "I have to go", "I had to go", "I've had to go", "I get to go", "I got to go", "I've got to go"?  In which situation is each term used?  I checked this dictionary , &amp; found that      get to do something:  to have the opportunity to do something   Seem like if you have a opportunity to do something, then use "get".  The expression is in present but why we use present perfect tense (Ex: I've got to go) here? When should you use a class vs a struct in C++? In what scenarios is it better to use a struct vs a class in C++? I'm using the official Stack Exchange mobile app for iOS or Android, and  My app crashed! It doesn't look good on my new smartphone. It won't run after I updated my device. I noticed another bug. I have an idea for a new feature which is currently not in the app.  How do I report bugs with or request features for the iOS and Android apps? Also:  I've used the built-in functionality of the app to report a bug or submit a feature request. Did I do the right thing? The app prompted me to post on Meta after an error occurred. Should I post about it here? I'm wondering why the latest version is from 2017. I've heard rumors that the apps are no longer supported; is that true? I can't find the app on my device's app store anymore! Where did it go?     We get a lot of bug reports from users about the mobile apps, which are unsupported, and at the moment, there is no centralized Q&amp;A pair for those to be closed as duplicates of (the relevant answers are spread across multiple unrelated questions). This question is an FAQ proposal, to serve as a directly-related duplicate target for those questions. I know from reading  that the "primary" use of the IDisposable interface is to clean up unmanaged resources.  To me, "unmanaged" means things like database connections, sockets, window handles, etc.  But, I've seen code where the Dispose() method is implemented to free managed resources, which seems redundant to me, since the garbage collector should take care of that for you.  For example:  public class MyCollection : IDisposable {     private List&lt;String&gt; _theList = new List&lt;String&gt;();     private Dictionary&lt;String, Point&gt; _theDict = new Dictionary&lt;String, Point&gt;();      // Die, clear it up! (free unmanaged resources)     public void Dispose()     {         _theList.clear();         _theDict.clear();         _theList = null;         _theDict = null;     }   My question is, does this make the garbage collector free memory used by MyCollection any faster than it normally would?  edit:  So far people have posted some good examples of using IDisposable to clean up unmanaged resources such as database connections and bitmaps.  But suppose that _theList in the above code contained a million strings, and you wanted to free that memory now, rather than waiting for the garbage collector.  Would the above code accomplish that? Rocket Altitude Calculation Assignment Basic data I was launching a rocket model and I tried to calculate the reached altitude.  The engine (C6-0) impulse is 10 Ns Total weight is 65,7 g (includes the engine)  I calculated speed = 152 m/s $$\vec F \cdot t = \Delta m \vec v$$ Then I calculated the altitude 1007 m which seems too much to me. I guess something about 200 m (you may see the video) $$y_{\max} = \frac{v_0^2 \ }{2 g}$$ Drag I guess, I have to consider drag  Diameter of rocket 2,5 cm Drag coefficient 0,05 (I guess)  $$F_D\, =\, \tfrac12\, \rho\, v^2\, C_D\, A$$ But what about now, what is really achieved altitude? Engine description  (source: )  (source: ) Rocket Altitude Calculation What is Hawking radiation and how does it cause a black hole to evaporate? My understanding is that  isn't really radiated from a black hole, but rather occurs when a particle anti-particle pair spontaneously pop into existence, and before they can annihilate each other, the antiparticle gets sucked into the black hole while the particle escapes. In this way it appears that matter has escaped the black hole because it has lost some mass and that amount of mass is now zipping away from it.  Is this correct? If so, wouldn't it be equally likely that the particle be trapped in the black hole and the antiparticle go zipping away, appearing as if the black hole is spontaneously growing and emitting antimatter?  How is it that this process can become unbalanced and cause a black hole to eventually emerge from its event horizon and evaporate into cosmic soup over eons? The Pauli group for $n$-qubits is defined as $G_n=\{I,X,Y,Z \}^{\otimes n}$, that is as the group containing all the possible tensor products between $n$ Pauli matrices. It is clear that the Pauli matrices form a basis for the $2\times 2$ complex matrix vector spaces, that is $\mathbb{C}^{2\times 2}$. Apart from it, from the definition of the tensor product, it is known that the $n$-qubit Pauli group will form a basis for the tensor product space $(\mathbb{C}^{2\times 2})^{\otimes n}$.  I am wondering if the Pauli group in $n$-qubits forms a basis for the complex vector space where the elements of this tensor product space act, that is $\mathbb{C}^{2^n\times 2^n}$. Summarizing, the question would be, is $(\mathbb{C}^{2\times 2})^{\otimes n}=\mathbb{C}^{2^n\times 2^n}$ true?  I have been trying to prove it using arguments about the dimensions of both spaces, but I have not been able to get anything yet. Using `M` instead of `k` when rep is >= 1M on https://chat.stackexchange.com/users I read on  ()    Shouldn't it be 1.03m or (if we really follow the conventions of the metric system) 1.03M instead? My professor was lecturing today and he made this statement which I was unable to verify.  (I worded it nicer)  There is no map which is both smooth and onto from $S^1$ to $S^1$$\times$ $S^1$.  When he said this he included the original "one can clearly see" statement which is usually when the most people seem to be confused in his class.  Thus, I was hesitant to ask why.  So, please no one lecture me on the fact that I should have asked anyway.  If it is really that obvious, I would rather look stupid here than in class :)