Cِhange the colors of some blocks
Different colors for different types of blocks in beamer
No Wifi-Adapter found on new Lenovo Yoga C930 with Ubuntu 18.10 Is given metric space $(M, d)$. Let $A\cap B = \emptyset; \,\,\text{dist}(A,B):=\inf\{d(x,y):x\in A, y\in B\}$. $A, B$ are both closed sets. Is it possible that $\text{dist}(A,B)=0$?  The first thought comes into mind is that obviously $\text{dist}(A,B)&gt;0$, but possibly there are some tricky $d$ and $A, B$ so that it's untrue.  Thanks in advance! I'm currently building a town in Minecraft Pocket Edition and I'm wondering how many blocks long and how many blocks wide the world is. Why is CDC capture failing due to a missing dbo principal Why don't shell builtins have proper man pages? All shell builtins share the same manual page:  BUILTIN(1)                BSD General Commands Manual               BUILTIN(1)  NAME      builtin, !   etc.   Then there is a little text describing what shell builtins are, and then a list that  looks something like this:    Command       External    csh(1)    sh(1)        !             No          No        Yes        %             No          Yes       No   But if we do man grep we get sections such as   Bugs History See also Standards Description   etc.  Don't shell builtins have their own history, description and arguments like -A or -r? Why isn't that provided in the manual pages and how would I learn to use them correctly and efficiently? Which Stack Exchange site is best for AutoCAD questions like using Blender for graphical design? In normal line integration, from what I understand, you are measuring the area underneath $f(x,y)$ along a curve in the $x\text{-}y$ plane from point $a$ to point $b$.  But what is being measured with complex line integration, when you go from a point $z_1$ to a point $z_2$ in the complex plane?  With regular line integration I can see $f(x,y)$ maps $(x,y)$ to a point on the $z$ axis directly above above/below $(x,y)$.  But in the complex case, when you map from the domain $Z$ to the image $W$, you are mapping from $\mathbb{R^2}$ to $\mathbb{R^2}$ ...it is not mapping a point to 'directly above/below'...so I don't have any intuition of what is happening with complex line integration. All-in-One Event Calendar: Custom Query - Getting each event Instance What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final? Django templates offer the builtin tag cycle for alternating between several values at different points in a template (or for loop in a template) but this tag does not reset when it is accessed in a scope outside of the cycles definition.  I.e., if you have two or more lists in your template, the rows of all of which you'd like to use some css definitions odd and even, the first row of a list will pick up where the last left off, not with a fresh iteration from the choices (odd and even)  E.g., in the following code, if the first blog has an odd number of entries, then the first entry in a second blog will start as even, when I want it to start at odd.  {% for blog in blogs %}   {% for entry in blog.entries %}     &lt;div class="{% cycle 'odd' 'even' %}" id="{{entry.id}}"&gt;       {{entry.text}}     &lt;/div&gt;   {% endfor %} {% endfor %}   I've tried obviating this by patching with the resetcycle tag offered here:    to no avail.  (The code didn't work for me.)  I've also tried moving my inner loop into a custom tag, but this also did not work, perhaps because the compile/render cycle moves the loop back into the outer loop?  (Regardless of why, it didn't work for me.)  How can I accomplish this simple task!?  I'd prefer not to create a data structure in my view with this information pre-compiled; that seems unnecessary.  Thanks in advance. When is the present perfect tense used instead of the past tense?    I know that the present perfect tense is used when some adverbs (e.g., never, ever) are present in the sentence; the same is true for sentences like the following one.     When you returned, I have been at home since 3:00 PM.   In which other cases should I use the present perfect? Do the following sentences require it?     I have walked downtown everyday for a year.        I have been at home since 3:00 PM. What is the relationship between philosophy and science? While philosophy and science as held as separate disciplines (and often taught in completely different colleges within a university [i.e. College of Liberal Arts vs. College of Science]), it is patently clear that there is an immutable relationship between philosophy and science. Philosophy can often be seen as providing justification for particular scientific theories -- but why/how is this so?  In science:   A theory must have observable consequences that can be tested and be falsified.   Theories also must agree with previous theories in the domains where they had been successfully tested.   For example,  special relativity reduces to Newton mechanics in the domain of velocities much less than the speed of light.  In philosophy, while new theories must comply with existing theories, there is clearly much less testing/retesting.  So, how does philosophy fit into this framework while maintaining the rigor required for scientific inquiry?  Are there any examples of philosophical discussions that have significantly influenced or changed scientific theory? Easy is to beginner as medium is to I want to display three levels in my game...but I don't know what the text should say.  easy -&gt; Beginner  medium -&gt; ?  hard -&gt; Expert   Basically, I want the form that describes the person playing the game, instead of the game itself. What adjective is best?  I have considered adept.  I doubt my users will know what adept means. Also, I need something in between expert and beginner. Adept falls into the expert category. Is there anything more common that I can use, that has the same impact as the other two words I mentioned?  Proficient would work, theoretically, but in day-to-day term, the levels "beginner - proficient - expert" won't sound great. I understand that you can (in principle) measure whether "free particles" (no forces) experience accelerations in order to tell whether a frame is inertial. But fundamentally, what determines which frames are inertial (i.e. what principle selects in which frames free particles will not appear to accelerate)? I've been told that the cosmic microwaves determine the ultimate rest frame of the universe, but that doesn't make sense to me, since one can still ask why that frame is an inertial frame.  Also, I understand that there are no real inertial frames in general relativity, but it seems like there certainly exists approximate inertial frames and we can ask why those frames are approximately inertial and not others. For example, in the frame of a person riding a merry go round, free particles appear to greatly accelerate; while in the frame of someone standing next to the merry go round there are no such great accelerations. Why does the guy (or gal) on the merry go round see free particles accelerating while the other guy doesn't.   And if you're gonna tell me that it's "the rest of the stuff in the universe" that determines whether the person on the merry go round sees free particles accelerate, I'll ask how you know that all that stuff is not spinning.  I hope this question sort of makes sense, it's been bothering me for a while and my study of relativity (most of special relativity and just the outline of general relativity) hasn't really clarified it for me much. Why is looping over find's output bad practice? This question is inspired by    I see these constructs  for file in `find . -type f -name ...`; do smth with ${file}; done   and  for dir in $(find . -type d -name ...); do smth with ${dir}; done   being used here almost on a daily basis even if some people take the time to comment on those posts explaining why this kind of stuff should be avoided... Seeing the number of such posts (and the fact that sometimes those comments are simply ignored) I thought I might as well ask a question:  Why is looping over find's output bad practice and what's the proper way to run one or more commands for each file name/path returned by find ? I have a very simple question that can be stated without proof. Are all eigenvectors, of any matrix, always orthogonal? I am trying to understand Principal components and it is cruucial for me to see the basis of eigenvectors. What is the difference between Newtonian and Lagrangian mechanics in a nutshell? How can I resize an LVM partition? (i.e: physical volume) I want to shrink my second (LVM) partition, in order to create a new partition in the newly freed space. I am using the Live CD to do so, because I know I can't resize/move this partition while it is in use. When I opened GParted in the Live CD, I realized that I could not resize the partition, because when I right-click it, the option "resize/move" is disabled.  I tried to unmount it, to "lazy" unmount it (umount -l /dev/sda2) but it didn't work.  A screenshot from GParted: Show that  $$t(n) = 1 + \sum_{ j=0}^{n-1} t(j)$$  is the same as  $$t(n) = 2^n$$  Initial condition $t(0) = 1$ When typing &lt; or &gt; in LaTeX and compiling with pdflatex, the less than and greater than symbols appear at upside down exclamation points. I'm not in math mode.