So...  I am making a simplish maze game.  My Issue at the moment is with making the character jump. I have a keyboard sensor for SPACEBAR that when the player presses it, it gives them 0.05 motion upwards.  Well, you keep going upwards until you let go of SPACEBAR, and when you do, you go slamming back down to the ground.  Another thing, you can jump 1. when your in the middle of a jump, or when you have fallen off the edge...
I'm  trying to create a FPS game in blender game engine. When I do KeyBoard[Spacebar] sensor and hook it up to a simple motion of z +1 or something like that, the guys pops up really fast as if he didn't have any motion between being on the ground and being in the air. Is there a way to make a more realistic, more slow jump in BGE?
Let's say I want a way to display just the the center 50x50px of an image that's 250x250px in HTML. How can I do that. Also, is there a way to do this for css:url() references?  I'm aware of clip in CSS, but that seems to only work when used with absolute positioning. What do you call an 'unselfish' action made with a selfish reason? There are many examples of this, and I'd like to give a few:   A person who puts a lot of effort to help the community and earns reputation points. But that reputation is the motivation behind helping the community, not because they really want to. A student approaches a professor, and helps them in their teaching and doing research in order to have a good LOR (letter of recommendation). To a SEO, the content of the website must be good (well, this one is a little tricky, but you get the spirit.)   I'm not saying that the reputation/LOR/high-ranked is not deserved. It is. I just want to focus more on the selfish reason(s) behind that.  Any kind of answer can be accepted: single word, phrase, proverb or idiom. Is it possible in Latex to make a triangular hat? The one that is used in math over three letters representing points to indicate a triangle.  Something like: How can I change my Minecraft username? I want to list a company name in the author field of a bibliographic entry:  @book{CUDA,   author    = {NVIDIA Corporation},   title     = {NVIDIA CUDA Compute Unified Device Architecture Programming Guide},   publisher = {NVIDIA Corporation},   year      = {2007} }   But the entry keeps showing up "N. Corporation".  Is there a way to get the full author name to show up?  I'm currently using the siam BibTEX style. Let $T,S$ be linear transformations, $T:\mathbb R^4 \rightarrow \mathbb R^4$, such that $T^3+3T^2=4I, S=T^4+3T^3-4I$. Then S is:   one-one but not onto onto but not one one invertible non-invertible   (One or more correct options)  My attempt: $S=T^4+3T^3-4I=T(T^3+3T^2)-4I=T(4I)-4I=4T-4I$  How do I go about proving or disproving my options?   My thoughts on options # 1. and 2.: I'm guessing $S$ is one-one if $Ker(S)=\theta$ is one way to go, but how do I obtain the kernel when I don't know what the transformation is? $Ker(S)=\theta$ if $T=I$, which does satisfy $T^3+3T^2=4I$. But so can other $T$s.   My thoughts on options # 3. and 4.: $S$ is invertible if $det(S)\neq0$, which is possible $det(T-I)\neq0$, i.e. $T\neq I$. How do I show that?  Please help! When would you call java's thread.run() instead of thread.start()? How to turn off notifications for individual apps? Complex integral over a circle In an exercise, I'm supposed to assume that $|a| &lt; r &lt; |b|$ and prove that $\displaystyle\int_{\gamma} \frac{1}{(z - a)(z - b)} dz = \frac{2 \pi i}{a - b}$, where $\gamma$ is a circle of radius $r$ centered at the origin with positive orientation. So I had the idea to express this integral as $\frac{1}{a - b} \displaystyle\int_{\gamma} \frac{1}{z - a} - \frac{1}{z - b} dz$. Then I tried to evaluate each of these separately, but I don't really know what to do. I get $\displaystyle\int_{0}^{2 \pi} \frac{i r e^{it}}{r e^{it} - a} dt$ for the first term. How am I supposed to integrate this? I can't substitute $u = re^{it}$, can I? R script line numbers at error? Natural Sounding Text to Speech? I am looking for some easy to install text to speech software for Ubuntu that sounds natural. I've installed Festival, Gespeaker, etc., but nothing sounds very natural. All very synthetic and hard to understand.  Any recommendations out there? I created a partition for Ubuntu so I could dual-boot Windows Vista with it. However, Windows is no longer necessary and I want Ubuntu to take up the entire hard drive. I was wondering how to safely resize the Ubuntu (11.10) partition and take Windows out all together, without having to reinstall Ubuntu and lose all of the files. Connected graph with colored edges We have connected undirected graph with colored edges in two way (green or blue). And also each vertex have the same number of green and blue edges. How to prove that there are alternate colored (green-blue) path between any two nodes? Hello Physics StackExchange!  I will put the TL;DR in the beginning: I need a self contained, relatively hand-holding sequence of textbooks that covers up from the end of Griffith's Intro to QM to relativistic QM/particle physics to QFT.    This will be my first post. I'm a medical physics grad student who majored in biomedical engineering for my undergrad, with serious regrets about not doing math/physics double major in hindsight. Oh well. I've made it my goal to eventually understand QFT.  My background in relevant subjects is Calc 1 to 3 and Diff EQ, 2 part freshman physics, an E&amp;M course that used Griffiths Electrodynamics, a summer of self studying Griffith's QM (got most of the way through). I will also be officially taking a class in QM using Griffith's textbook this next spring. I am aware of the Lagrangian and Hamiltonian approaches to mechanics as well. In addition I have familiarity with special and basic general relativity using tensors and all this. What would be the best way for me to get from where I am now to a strong understanding of QFT autodidactically? I have no aversion to studying pure maths where I need to.  EDIT: My question is much different than simply asking for a handholding explanation of QFT. Generally these textbooks assume a certain amount of physics/math background, and I was asking for a sequence of textbooks leading up to QFT from the end of a specific textbook, Griffith's QM. Did you even read my question? Did you read the thing you linked me to? How can I discover any USB storage devices and/or CD/DVD writers available at a given time (using C# .Net2.0).  I would like to present users with a choice of devices onto which a file can be stored for physically removal - i.e. not the hard drive. First off I'll let you know I'm a total noob at blender I've used 3ds Max up until this point, but the company I'm working for at the moment needs me to use blender so I'm trying to make the transition over.  Literally all I'm making at the moment is a simple book and cannot understand how the bevel tool isn't working similar to how the chamfer tool would in 3ds Max.  I want a nice curved edge for the spine of the book however when I press control + B and try to bevel it bevels the edge unevenly with the new bevel pushing forward.    Is there a way I can get it to bevel evenly like it does in Max? how do I get my code to use the value of the $HOME variable? I'm trying to put together a generic script that will check the existence of several key directories for various users on different servers. Additionally, I want to leverage each user's $HOME variable.  For eg, let's say this were true:   on server 1: jdoe's home is /home/jdoe  on server 2: jdoe's home is /opt/jdoe2 server 3 hasn't been built yet; we won't know where they build his $HOME until the server is built. on server 4: mysql's home is /opt/home/mysql   This is what I have for my important directories (ordered from most to least impt):  $ cat mylist.txt $HOME/most_impt_dir1 $HOME/most_impt_dir2 $HOME/most_impt_dir3 $HOME/misc $HOME/junk   ...I want to find the most impt dir owned by this user.   Here's what I'm trying:  for i in `cat mylist.txt` do    if [[ -O $i ]] &amp;&amp; [[ -d $i ]]; then     echo "found it: $i"     break   else     echo "$i is not it."   fi  done   The above code does not work for anything in my list because it is literally checking for dirs beginning with $HOME. How do I get my code to use the value of the user's $HOME variable? How do I handle partially correct edits in the Suggested Edits review queue? Contradicting Instructions While going through the suggested edits review queue, one sometimes stumbles upon partially useful edits like . Trying to follow the instructions listed in the descriptions doesn't lead to a conclusive answer. Considering our example:   Approve edits that clearly improve the post ↳ No, not *clearly* Improve Edit when you can make additional improvements to the post ↳ I most definitively can Reject and Edit to replace an ineffective edit with your own substantive changes ↳ It is ineffective in the sense that it made the post worse overall (imho) Reject edits that fail to improve the post or that make it worse ↳ Like the last option: yes Skip if you are not sure and want to go to the next suggested edit ↳ Well, yes. But that is really why I am here, asking this question   Reasoning about the remaining Choices This leaves us with three choices: Improve Edit, Reject and Edit and Reject (the last one slightly modified):  Improve Edit  + Acknowledges that some things in the edit where correct - Learning effect for author might vanish, as the improvement might get overlooked - Can't leave a custom message for edit author (except in comments, which pollutes the thread) - Doesn't trigger the system which &quot;punishes&quot; users who repeatedly have their edits rejected - Rewards the edit author with reputation for a poor edit   Reject and Edit  + Clearly shows the author that there were problems with the edit - Still can't leave a custom message explaining the problems of the original post. - One has to partially redo parts of the edit that have just been rejected, which might feel unjust to the original editor   Reject with a custom note and come back immediately to make a good Edit  + Clearly shows the author that there were problems with the edit + Possibility to leave an explanation as to what was wrong with the edit - One still has to redo parts of the edit that has just been rejected - Seems to be a weird workaround for Reject and Edit   Something else?   Each of the three options come with their distinct advantages/disadvantages making it non trivial to decide which one to pick.  Or does the answer simply depend on the quality of the edit? Like:  Improve Edit for subjectively slightly positive edits Reject and Edit (Or Reject and Edit) for subjectively slightly negative edits How can I show that $(n-1)!\equiv-1 \pmod{n}$ if and only if $n$ is prime? Thanks. Is there another saying/idiom similar to crocodile tears?