Right ND for filter size for Nikon 24-85 mm lens
How do I find the right size of filters for a lens?
Here is my player code.  Rigidbody rb;  Vector3 currMovement; public float jumpSpeed = 10; public float moveSpeed = 10; public float rotSpeed = 180;  float distToGround;  public float posSmoothTime = 0.5f; float currPos; float targetPos; float posVel;  public float rotSmoothTime = 0.5f; float currRot; float targetRot; float rotVel;  void Start() {     rb = GetComponent&lt;Rigidbody&gt;();     distToGround = GetComponent&lt;Collider&gt;().bounds.extents.y; }  bool isGrounded() { return Physics.Raycast(transform.position, Vector3.down, distToGround + 0.1f); }  void Update() {     Move(); }  void Move() {     // Rotation smoothing.     targetRot = Input.GetAxisRaw("Horizontal") * rotSpeed * Time.smoothDeltaTime;      if (targetRot &gt; 360)         targetRot -= 360;     if (targetRot &lt; 0)         targetRot += 360;     currRot = Mathf.SmoothDampAngle(currRot, targetRot, ref rotVel, rotSmoothTime * Time.smoothDeltaTime);      transform.eulerAngles += new Vector3(0, currRot, 0);      // Movement smoothing.     targetPos = Input.GetAxisRaw("Vertical") * moveSpeed;      currPos = Mathf.SmoothDamp(currPos, targetPos, ref posVel, posSmoothTime * Time.smoothDeltaTime);     currMovement = new Vector3(0, 0, currPos);     currMovement = transform.rotation * currMovement;      if (isGrounded())     {         if (Input.GetButtonDown("Jump"))             rb.velocity += Vector3.up * jumpSpeed;     }      rb.position += currMovement * Time.smoothDeltaTime; }   I have a Rigidbody attached to my player. I think the problem is with my camera script. Here is my camera script.  public Transform player; Quaternion targetLook; Vector3 targetMove; public float smoothLook = 0.5f; public float smoothMove = 0.5f; public float distFromPlayer = 5, heightFromPlayer = 3; Vector3 moveVel;  void LateUpdate() {     CameraMove(); }  void CameraMove() {     targetMove = player.position + (player.rotation * new Vector3(0, heightFromPlayer, -distFromPlayer));     transform.position = Vector3.SmoothDamp(transform.position, targetMove, ref moveVel, smoothMove);      targetLook = Quaternion.LookRotation(player.position - transform.position);     transform.rotation = Quaternion.Slerp(transform.rotation, targetLook, smoothLook); }   }  The player is not an parent of my camera. When I parent the player to my camera the shake stops. But I want a custom smooth camera movement with my custom scirpt, so I can't make the player a parent of the camera. Can't select and delete an object How to activate hyphenation in \ttfamily without explictly setting a font? I am suprised that in the code below no hyphenation is done. And I can not find something about that on the web. Maybe I used the wrong words for searching.  \documentclass{scrartcl} \usepackage{xltxtra} \usepackage{polyglossia} \setdefaultlanguage[spelling=new]{german} \usepackage{tabu}  \begin{document} \begin{ttfamily} \begin{tabu} spread \textwidth {X[l]|X[l]|X[l]|X[l]}     A&amp;     B&amp;     Sichtweise, Haltung, Akzeptanz, useability, Anwenderfreundlichkeit&amp;     D\\ \end{tabu} \end{ttfamily} \end{document} Which is correct? - "Guess, what it is?" or "Guess, what is it?" I want to know which sentence is correct. If i say     Guess, what it is?   or     Guess, what is it?   which one is correct? Change \textwidth and \textheight in mid-document Is there any way to erase personal information from my phone that has already been stolen? My phone has been stolen. I do not want the thief to have access to any of my personal information such as calls, texts, and information saved in the phones contents. Is there any possible way I can get this information erased from my phone? A square matrix $n \times n$ is an invertible matrix iff the rank of the matrix is $n$. I write financial applications where I constantly battle the decision to use a double vs using a decimal.  All of my math works on numbers with no more than 5 decimal places and are not larger than ~100,000. I have a feeling that all of these can be represented as doubles anyways without rounding error, but have never been sure.  I would go ahead and make the switch from decimals to doubles for the obvious speed advantage, except that at the end of the day, I still use the ToString method to transmit prices to exchanges, and need to make sure it always outputs the number I expect. (89.99 instead of 89.99000000001)  Questions:   Is the speed advantage really as large as naive tests suggest? (~100 times) Is there a way to guarantee the output from ToString to be what I want? Is this assured by the fact that my number is always representable?   UPDATE: I have to process ~ 10 billion price updates before my app can run, and I have implemented with decimal right now for the obvious protective reasons, but it takes ~3 hours just to turn on, doubles would dramatically reduce my turn on time. Is there a safe way to do it with doubles? How to clear current “read-only” state on a USB flash drive I setup with Rufus? Three weeks ago I used  2.2 to install Windows 10 on my machine, and it has write-protected my flash drive. I’ve tried diskpart:  diskpart att disk clear readonly  clean create partition primary format fs=fat32 quick   And it kinda worked, it removed the image off the USB, but now it’s showing:  Current Read-only State : Yes Read-only  : No Boot Disk  : No Pagefile Disk  : No Hibernation File Disk  : No Crashdump Disk  : No Clustered Disk  : No   And I can’t format it or write on it.    The drive is a a Kingston DataTraveler G4 32GB model, without physical switches. How would I restore it back to normal (rw) state? If an astronaut had stationed in International Space Station for the duration of mission, 17 years, would he be older? Today the NASA International Space Station started the 100000 orbit after 17 years in the space. I just wonder if there were a team of astronauts which were in the Lab for all the duration of last 17 years, how much older they would be due to the combination of Einstein's especial theory of relativity and general theory of relativity?   Here is the link to NASA's youtube video. If you know the Index, Value or Text. also if you don't have an ID for a direct reference.  ,  and  are all helpful answers.  Example markup  &lt;div class="selDiv"&gt;   &lt;select class="opts"&gt;     &lt;option selected value="DEFAULT"&gt;Default&lt;/option&gt;     &lt;option value="SEL1"&gt;Selection 1&lt;/option&gt;     &lt;option value="SEL2"&gt;Selection 2&lt;/option&gt;   &lt;/select&gt; &lt;/div&gt; Show that $a(-1) = (-1)a = -a $. In a ring $R$ with identity 1, show that $$a(-1) = (-1)a = -a \qquad\forall\, a \in R$$ I have started with $a + (-a) = 0$ but cant proceed from here. How do you import CA certificates onto an Android phone? I want to connect to my University's wireless using my Nexus One. When I go to "Add Wi-Fi network" in Wireless Settings I fill in the Network SSID and select 802.1x Enterprise for the security and fill everything out.  The problem is that our university's wireless uses Thawte Premium Server CA certificate for certification.  When I click the drop down list for CA certificate I get nothing in the list (just N/A)  Now I have the certificate (Thawte Premium Server CA.pem) and have moved it to my SD card, but it doesn't look like Android automatically detects it.  Where should I put the certificate so that the Android wireless manager recognizes it. In other words, how can I import a CA certificate so that Android recognizes that it is on the phone and displays it in the CA Certificate drop down list.  Thanks for any help,  Tomek  P.S. My phone is not rooted  EDIT: After doing some research it looks like you are able to install certificates by going to your phone's settings > Location &amp; Security > Install from SD card  Unfortunately it looks like the only accepted file extension is .p12. It does not look like there is a way to import .cer or .pem files (which are the only two files that come with the Thawte certificates) at this moment.  It does look like you can use a converter to convert your .cer or .pem files to .p12, however a key file is needed.    I do not know where to get this key file for the Thawte certificates. Why won't this ocelot do anything but breed? In a finite cyclic group, the generator has the order of the group Let $G$ be a finite cyclic group of order $n$ generated by an element $g$. I want to show that the order of $g$ is exactly the order of $G$.   My try:   We can write $G=\{g^i\;|\;i\in \mathbb Z\}$. Since $G$ is finite, we know that there will be identifications $g^i=g^j$ that will make $G$ finite. By the multiplication law on $G$ we must have $g^0=1$. Also if $i&lt;j$ and if $g^i=g^j$ then $g^{j-i}=1$. I can see all these but not see why $g^n=1$ and not $g^k=1$ for all $0&lt;k&lt;n$? Thank your for your help!! Can X.org Load Two Different Drivers? (Triple-Head Setup with Intel and NVidia Card) We want to set up a 3 screens with an onboard intel graphics adapter and an nvidia card.  Both cards are recognized in lspci   01:00.0 VGA compatible controller: NVIDIA Corporation GT218 [GeForce 210] (rev a2) 00:02.0 Display controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)   And bascially work: If I switch to the console, I see output on the Intel card, X is only running on the Nvidia card.  But when I type xrandr | grep conn I get only one connected port:   DVI-I-0 disconnected (normal left inverted right x axis y axis) VGA-0 disconnected (normal left inverted right x axis y axis) DVI-I-1 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm HDMI-0 disconnected (normal left inverted right x axis y axis)   I am on Ubuntu 12.10 (and XFCE) and installed the proprietary nvidia driver.  I was assuming that X maybe has a problem to autodetect both cards, so I thought the following xorg.conf could help:   Section "ServerLayout"     Identifier     "Layout0"     Screen      0  "Screen0"     Screen      1  "Screen1"     InputDevice    "Keyboard0" "CoreKeyboard"     InputDevice    "Mouse0" "CorePointer" EndSection  Section "Files" EndSection  Section "InputDevice"     # generated from default     Identifier     "Mouse0"     Driver         "mouse"     Option         "Protocol" "auto"     Option         "Device" "/dev/psaux"     Option         "Emulate3Buttons" "no"     Option         "ZAxisMapping" "4 5" EndSection  Section "InputDevice"     # generated from default     Identifier     "Keyboard0"     Driver         "kbd" EndSection  Section "Monitor"     Identifier     "Monitor0"     VendorName     "Unknown"     ModelName      "Unknown"     HorizSync       28.0 - 33.0     VertRefresh     43.0 - 72.0     Option         "DPMS" EndSection  Section "Device"     Identifier     "Device0"     Driver         "nvidia"     VendorName     "NVIDIA Corporation"     BoardName      "GeForce 210" EndSection  Section "Screen"     Identifier     "Screen0"     Device         "Device0"     Monitor        "Monitor0"     DefaultDepth    24     SubSection     "Display"         Depth       24     EndSubSection EndSection   Section "Monitor"     Identifier     "Monitor1"     VendorName     "Unknown"     ModelName      "Unknown"     HorizSync       28.0 - 33.0     VertRefresh     43.0 - 72.0     Option         "DPMS" EndSection  Section "Device"     Identifier     "Device1"     Driver         "intel"     VendorName     "Intel"     BoardName      "Internal Intel Graphics" EndSection  Section "Screen"     Identifier     "Screen1"     Device         "Device1"     Monitor        "Monitor1"     DefaultDepth    24     SubSection     "Display"         Depth       24     EndSubSection EndSection   But it is still not working.   Is this generally possible to use two different drivers in X ? Is it necessary to create an xorg.conf manually then? (because Ubuntu 12.10 normally works without the xorg.conf) Are there any errors in my xorg.conf? What is the "show desktop" keyboard shortcut? I just upgraded to 11.10 from 11.04. Previously the shortcut to show the desktop was Super +D (same as in Windows), But now it is not working. What is the new shortcut? How can I model flips until N successes? You and I decide to play a game where we take turns flipping a coin. The first player to flip 10 heads in total wins the game. Naturally, there is an argument about who should go first.  Simulations of this game show that the player to flips first wins 6% more than the player who flips second (the first player wins approx 53% of the time).  I'm interested in modelling this analytically.  This isn't a binomial random variable, as there are no fixed number of trials (flip until someone gets 10 heads). How can I model this?  Is it the negative binomial distribution?    So as to be able to recreate my results, here is my python code:  import numpy as np from numba import jit   @jit def sim(N):      P1_wins = 0     P2_wins = 0      for i in range(N):          P1_heads = 0         P2_heads = 0         while True:              P1_heads += np.random.randint(0,2)              if P1_heads == 10:                 P1_wins+=1                 break              P2_heads+= np.random.randint(0,2)             if P2_heads==10:                 P2_wins+=1                 break     return P1_wins/N, P2_wins/N   a,b = sim(1000000) Analyzing a sentence Do my analyze is correct? If don't then correct it.  Sentence: The tsunami and the undersea earthquake which triggered it, the largest ever recorded in the region, killed nearly 20,000 people, destroyed over 100,000 homes and threw the lives of tens of millions into turmoil.  Subject: The tsunami and the undersea earthquake Principal verb: triggered Adjective clause of subject:the largest ever recorded in the region, killed nearly 20,000 people, destroyed over 100,000 homes Use of parallelism:threw the lives of tens of millions into turmoil. Which countries require a 24-hour transit visa in China? I'm transiting through China in Kunming, China.  I'm a South African national and do NOT fall under the 72-hour visa free program. However on [their official (travelchina) website][1] it says:     Nationals of most countries are eligible for the 24-hour direct   transit, while a visa is needed for the passengers transiting on   Afghanistan, Azerbaijan, Iran, Iraq, Kazakhstan, Kyrgyzstan, Malaysia,   Nigeria, Oman, Pakistan, Saudi Arabia, Sri Lanka, Thailand, Turkey,   United Arab Emirates and Yemen passports.   I'm sorry if I'm missing this, but the above is rather badly worded for me does "nationals of most countries" include ALL countries except those mentioned in the list shown?  Also again sorry if I'm missing this but again it is rather badly worded for me. I will fly via Thailand to China and then via China to Canada with an 8-hour layover in China. I see Thailand is mentioned on the list. I have a Thailand residency permit where I currently reside... Would that affect me at all?  Also, any idea if I can exit the airport in China and come back under the 24-hour visa exemption (should I be exempt)?  Many thanks.