I've having some trouble animating my donut. When it reaches the surface there's a gap between the objects, and sometimes the object jitters and bounces when it reaches the surface and I don't understand why that happens.
I've been trying to play with a rigid body simulations.  I prepared a project of a building made of domino tails. I've placed all objects very tight, but as soon as I start animation it looks like there was some tiny gap between objects, so they all fall down a little bit. For a high building it leads to a construction disaster as the whole building colapses.  Here is an example:  (I'd suggest to use 0.25x speed).  How can I fix it?
What does a program do when it's sent SIGKILL signal? When I used killall -9 name to kill a program, the state become zombie. Some minutes later, it stopped really. So, what's happening during those minutes? Can I learn Dual Talent Specialization? World of Warcraft has an ability to have two different talent builds and switch between them with a button press.  Does this exist in Star Wars: The Old Republic?  If so, where (and when) do I learn it and how much does it cost to learn? In , one learns two definitions of free groups associating with sets.        Let $A$ be a set, the free group of $A$, $F(A)$ is the initial object in the category $\mathcal{C}$, where \begin{equation} \operatorname{Obj}(\mathcal{C})=\{A\xrightarrow{g}G\}, \end{equation}where the codomain $G$ are groups, and \begin{equation} \operatorname{Hom}(\mathcal{C})=\{\text{Commutative Diagrams } A\xrightarrow{g_1}G_1\xrightarrow{\phi}G_2\xleftarrow{g_2}A\}  \end{equation} where $\phi$ are group homomorphisms.   Also $F(A)$ has the concrete construction with elements being non-redundant words with alphabet $A$, and the group multiplication being juxtaposition and reduction.      But what good are free groups? Why are they useful?  says they are useful in topology, but does not explain why explicity.   Can someone give some examples that an undergraduate can understand? I am asking about examples that can show the usefulness of this abstract construction. So I guess the identification of $\mathbb{Z}=F({a})$ does not really count. line 56 syntax error: unexpected end of file I have typed out the code for this mychoice.sh bash example and I keep getting the syntax error: unexpected end of file.  Am I missing something?  mychoice.sh  #!/bin/bash  E='echo -e';e='echo -en';trap ";exit" 2 ESC=$( $e "\e") TPUT(){ $e "\e[${1};${2}H";} CLEAR(){ $e "\ec";} CIVIS(){ $e "\e[25l"} DRAW(){ $e "\e%\e(0";} WRITE(){ $e "\e(B";} MARK(){ $e "\e[7m";} UNMARK(){ $e "\e[27m";} R(){ CLEAR ;stty sane;$e "\ec\e[37;44m[J";}; HEAD(){ DRAW     for each in $(seq 1 13);do     $E "   x                    x"     done     WRITE;MARK;TPUT; 1 5     $E "BASH SELECTION MENU         ";UNMARK;}     i=0; CLEAR; CIVIS;NULL=/dev/null FOOT(){ MARK;TPUT 13 5     printf "ENTER - SELECT,NEXT         ";UNMARK;} ARROW(){ read -s -n3 key 2&gt;/dev/null &gt;&amp;2      if [[$key = $ESC[A ]];then echo up;fi      if [[$key = $ESC[B ]];then echo dn;fi;} M0(){ TPUT  4 20; $e "Login info";} M1(){ TPUT  5 20; $e "Network";} M2(){ TPUT  6 20; $e "Disk";} M3(){ TPUT  7 20; $e "Routing";} M4(){ TPUT  8 20; $e "Time";} M5(){ TPUT  9 20; $e "About  ";} M6(){ TPUT 10 20; $e "Exit   ";} LM=6 MENU(){ for each in $(seq 0 $LM);do M${each};done;} POS(){ if [[ $cur == up ]];then ((i--));fi     if [[ $cur == dn ]];then ((i++));fi     if [[ $i -lt 0 ]];then i=$LM;fi     if [[ $i -gt $LM ]];then i=0;fi;} REFRESH(){ after=$((i+1)); before=$((i-!))     if [[ $before -lt 0 ]];then before=$LM;fi     if [[ $after -gt 0 ]];then after=0;fi     if [[ $j -lt $i ]];then UNMARK;M$before;else UNMARK;M$after;fi     if [[ $after -eq 0 ]] || [$before -eq $LM ];then          UNMARK; M$before; M$after;fi;j=$i;UNMARK;M$before;M$after;} INIT(){ R;HEAD;FOOT;MENU;} SC(){ REFRESH;MARK;$S;$b;cur='ARROW';} ES(){ MARK;$e "ENTER = main menu ";$b;read;INIT;};INIT while [[ "$0" != " " ]]; do case $i in     0) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS(w     )\n";ES;fi;;     1) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS(ifconfig  )\n";ES;fi;;     2) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS(df -h )\n";ES;fi;;     3) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS(route -n  )\n";ES;fi;;     4) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS(date  )\n";ES;fi;;     5) S=M2;SC;if [[ $cur == "" ]];then R;$e "\nS($e by oTo )\n";ES;fi;;     6) S=M2;SC;if [[ $cur == "" ]];then R;exit 0;fi;;  esac;POS;done; I was compiling a tool called Rejoystick so I installed a few packages and dependencies. But now I don't need it any more so I removed those packages. Running apt-get shows that I have some packages that are automatically installed and are no longer needed.   But I have a bad experience with apt-get autoremove. It broke my desktop environment when I uninstalled wine some time ago. Luckily, I had a clonezilla partition backup then, but this time, I don't have a backup. So I'm cautious. Running apt-get shows these packages are orphaned     gir1.2-gtk-2.0 libasound2-dev libavahi-client-dev libavahi-common-dev   libcaca-dev libcairo-script-interpreter2 libdbus-1-dev libdrm-dev   libexpat1-dev libfontconfig1-dev libfreetype6-dev libgl1-mesa-dev   libglu1-mesa-dev libharfbuzz-dev libharfbuzz-gobject0 libice-dev   libpcre3-dev libpcrecpp0 libpixman-1-dev libpng12-dev libpthread-stubs0-dev   libslang2-dev libsm-dev libx11-dev libx11-doc libx11-xcb-dev libxau-dev   libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev   libxcb-randr0-dev libxcb-render0-dev libxcb-shape0-dev libxcb-shm0-dev   libxcb-sync-dev libxcb-xfixes0-dev libxcb1-dev libxcomposite-dev   libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev libxfixes-dev   libxft-dev libxi-dev libxinerama-dev libxrandr-dev libxrender-dev   libxshmfence-dev libxxf86vm-dev mesa-common-dev x11proto-composite-dev   x11proto-core-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev   x11proto-gl-dev x11proto-input-dev x11proto-kb-dev x11proto-randr-dev   x11proto-record-dev x11proto-render-dev x11proto-xext-dev   x11proto-xf86vidmode-dev x11proto-xinerama-dev xorg-sgml-doctools xtrans-dev   zlib1g-dev   I'm not sure if I should run apt-get autoremove. I was searching details related to each of these packages so that I can understand which ones are needed but they all seem important e.g.     gir1.2-gtk-2.0    I have Cinnamon, GNOME and Unity installed, I think apt-get autoremove will break something. Any help will be appreciated.   Thanks for reading. Is there any difference in equals and == for String variables? if ('text'.equals(str))   or   if ('text' == str)   Is there any difference? If yes, then what is it?   Added, after answered.  String q = 'teXt'; system.debug('teXt'.equals(q)); // true system.debug('teXt' == q);      // true system.debug('text'.equals(q)); // false system.debug('text' == q);      // true Making an invisible pressure plate I'm trying to build a teleporter. I want the player to be teleported from the first sign(left) to the right sign(right). So, when the player steps on the red wool on the left, he will automatically be teleported to the red wool on the right. I do not want to use any pressure plats.It might work with the testfor comment, but I didn't figure out, put that only works with a radius. BTW I'm in 1.10.2 bou I could probably change the version if necessary.     The testfor command block should activate the teleport command block,when the player is detected. Now, I'm not really the expert, so I know non of the commands that you would need to build this construction. Please help, I would highly appreciate it! If you need any more details, ask me! Can a ring of positive characteristic have infinite number of elements? On a "1-D line", the point that minimizes the sum of the distances is the median, WHY? There is a set A which contains some discrete points (1-dimension), for example {1, 3, 37, 59}. And I want to pick one point from A which can minimize the sum of distances between this point and others.  For this "1-D line", many people say the median is the right point, but could anybody give me a concrete proof on it? How do I set the proper exposure for nighttime moon photos? All my attempts to get a good shot of the full moon with my DSLR result in an overexposed circle on a black background.  I've tried using a tripod, remote shutter release, low ISO, and long exposure, but nothing has worked so far.  What combination of ISO and exposure time that will produce good results?   I particularly want to catch a full moon with the reddish effect when it is close to the horizon. Are antiparticles just particle-shaped holes? If particles are simply regions of space where certain quantum fields have non-zero divergence, are anti-particles simply the corresponding regions of opposite divergence?    This seems like the intuitive answer, especially when considering the process of annihilation.  I have heard before that anti-particles are analogous to particles moving through time in reverse, which seems to indicate that an annihilation event is just a point of symmetry in that (arguably, single) particle's history.  This analogy breaks down, however, when it comes to gravitation, since there seems to be no evidence of a negative-mass particle.    So what then is the meaning of an anti-particle, when their symmetry is preserved across certain fields, but not other? Is centripetal acceleration mandatory for circular motion? How to generate a simple cartesian plane system? I need to make a cartesian plane for plotting the straight line joining the points (-3,1) and (6,-2). This is a very simple cartesian plane plotting. When I looked at the manual for tikz the graphics for cartesian planes are for more advance plotting, and what I need is very simple.  Something like this: Keyboard shortcut for switching between different keyboard layouts in Ubuntu Mate Is there a pre-assigned keyboard shortcut for switching between different keyboard layouts in Ubuntu Mate? SQL Server: Examples of PIVOTing String data "not a valid identifier" when I do "export $PATH" When I run export $PATH in bash, I get the error not a valid identifier. Why? I am unable to figure out simple solution to add "Bookman Old Style"  as a main font in my latex document. I have used below line but does not give me required font.  \usepackage{bookman}   Could not find any Simple correct answer for this. Pl. suggest how to do it.  I am using windows, pdflatex.  thank you Does SQLDeveloper support executing scripts? How to overlay images Can I access private members from outside the class without using friends? Disclaimer Yes, I am fully aware that what I am asking about is totally stupid and that anyone who would wish to try such a thing in production code should be fired and/or shot.  I'm mainly looking to see if can be done. Now that that's out of the way, is there any way to access private class members in C++ from outside the class?  For example, is there any way to do this with pointer offsets? (Naive and otherwise non-production-ready techniques welcome) Update As noted in the comments, I asked this question because I wanted to write a blog post on over-encapsulation (and how it affects TDD).  I wanted to see if there was a way to say &quot;using private variables isn't a 100% reliable way to enforce encapsulation, even in C++.&quot;  At the end, I decided to focus more on how to solve the problem rather than why it's a problem, so I didn't feature some of the stuff brought up here as prominently as I had planned, but I still left a link. At any rate, if anyone's interested in how it came out, here it is:   (I suggest reading it before you decide that I'm crazy).