Why do stocks go up? Is it due to companies performing well, or what else?
Why does demand for stock rise when a company appears to have high future value?
Skype app in my Ubuntu system work perfectly. But today when I run the app, I see this:    How Can I fix this? How do I troubleshoot high 'svchost.exe' usage in Windows 7? Number of sigma algebras for set with 4 elements How to get a function name as a string? In Python, how do I get a function name as a string, without calling the function?  def my_function():     pass  print get_function_name_as_string(my_function) # my_function is not in quotes   should output "my_function".  Is such function available in Python? If not, any ideas on how to implement get_function_name_as_string, in Python? Increasing post view count automatically Does one need a visa to transfer between two airports during a transit through the Schengen area? I am an Indian citizen travelling from New York to Delhi with a layover in Paris where I need to transfer between Paris Orly Airport (ORY) and Paris Charles de Gaulle Airport (CDG).  Do I need to have a visa to make this transfer?  I didn't notice that while booking the ticket. How can I re-write the conditionals for this button I've been trying out React for a couple of days and I tried to build a button component with some conditionals. Everything works but I feel like I am not doing it the right way. Could anyone review my code and give me some advice and tell me what I am doing wrong or what i could do better. I think I am using too many return statements. I use Typescript for type checking. Would appreciate any help! import { Link } from &quot;gatsby&quot;;  interface Props {   content: string,   color: string,   path?: string,   type?: string }  export default function Button(props: Props): JSX.Element {   let elementType;    const checkProps = () =&gt; {     const availableColors = ['blue', 'grey', 'dark-grey', 'white'];     const borderColors = [''];     let buttonStyle;      // Check if props.color exists in availableColors     if(!availableColors.includes(props.color)) {       console.error(`&quot;${props.color} color key not available for button style`);       return;     }          buttonStyle = buttonStyles[`button--${props.color}`];      // Check if props.content is valid     if(!props.content) {       console.error(`&quot;${props.content} is not valid as content`);       return;     }      // Check if props.type exists     if(!props.type) {       elementType = &lt;button className={ buttonStyle }&gt;{ props.content }&lt;/button&gt;       return;     }      if(props.type !== 'link') {       console.error(`&quot;${props.type} is not a valid type, use 'link' instead or use nothing for default button`);       return;     } else {         elementType = &lt;Link to={ props.path } className={ buttonStyle }&gt;{ props.content }&lt;/Link&gt;     }   }    checkProps();    return (     &lt;React.Fragment&gt;       { elementType }     &lt;/React.Fragment&gt;   ); }``` How do I find the privileges I have earned and will earn in Stack Overflow? It used to be off the top bar, now its gone  Where has it moved?  EDIT:  It moved onto the profile page !  Right side same row as your name in profile:    Thank you Snap face to grid I need to move an entire object, so that one of the faces is exactly at Z=0. What is the best way to do this? Basically, if I could select Grid or 3D Cursor in the Snap To menu, that would be perfect:    My current workaround is to select the face, copy its Z coordinate, select all, move it all down by that same amount. Is there a faster way? can't create a jobs user profile Ubuntu has been crashing on me recently. I think its because it runs out of memory so I ran the free -m command and found that my memory usage was really high. So then, i ran top to find the culprit, but the displayed processes were using less than 1.5% of memory. How do I know which program is making ubuntu crash/run out of memory? Below is the output:  shafee@shafee-pc:~$ free -m              total       used       free     shared    buffers     cached Mem:          3824       3714        110          0        978       1954 -/+ buffers/cache:        780       3044 Swap:           99          0         99  shafee@shafee-pc:~$ top top - 02:12:14 up  1:24,  2 users,  load average: 0.16, 0.42, 1.49 Tasks: 182 total,   1 running, 181 sleeping,   0 stopped,   0 zombie Cpu(s):  2.9%us,  1.9%sy,  0.3%ni, 79.3%id, 15.5%wa,  0.0%hi,  0.2%si,  0.0%st Mem:   3916708k total,  3803848k used,   112860k free,  1002308k buffers Swap:   102396k total,        0k used,   102396k free,  2001852k cached    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND              4200 root      20   0  289m  53m  38m S    2  1.4   1:06.45 Xorg                 5590 shafee    20   0 19348 1368  956 R    2  0.0   0:00.01 top                     1 root      20   0 24124 2136 1264 S    0  0.1   0:02.05 init                    2 root      20   0     0    0    0 S    0  0.0   0:00.00 kthreadd                3 root      20   0     0    0    0 S    0  0.0   0:24.23 ksoftirqd/0             6 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/0             7 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/1             9 root      20   0     0    0    0 S    0  0.0   0:00.11 ksoftirqd/1            11 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/2            13 root      20   0     0    0    0 S    0  0.0   0:03.89 ksoftirqd/2            14 root      RT   0     0    0    0 S    0  0.0   0:00.00 migration/3            16 root      20   0     0    0    0 S    0  0.0   0:00.16 ksoftirqd/3            17 root       0 -20     0    0    0 S    0  0.0   0:00.00 cpuset                 18 root       0 -20     0    0    0 S    0  0.0   0:00.00 khelper                19 root       0 -20     0    0    0 S    0  0.0   0:00.00 netns                  21 root      20   0     0    0    0 S    0  0.0   0:00.01 sync_supers         shafee@shafee-pc:~$   Or is it normal to have 110mb of free memory and is my issue related to something else? Add an image to an object I want to put a 2D image on a 3D object in Blender. How do I do that?  I have found the "textures" tab in the "properties" window, but I can't figure out what to do with it.  Preferably, I would like to click and drag an image off my desktop right onto the object. If we allow that the energy to allow quantum tunnelling through a potential barrier has been borrowed by the Heisenberg energy-time uncertainty relation, from the vacuum energy. How is the borrowed energy paid back? Show that $S$ is compact. Let $A \in M_n(\bf C)$ and let   $S=\{ A \in M_n(\bf C) : A=A ^*$ and  $\rho (A) \leq 1 \}$, $\rho(A)$ denotes spectral radius of $A$.     Show that $S$ is compact subset of $M_n(\bf C) \cong \bf C^{n^2} $ with usual topology.    $S$ is subset of $\bf O_n(C)$ which is compact so I think its enough to show that $S$ is closed.Please help. Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal How to properly typeset multiletter quantities, e.g. Re or Nu (Reynolds, Nusselt numbers) Let's say I have a generic member in a class or method, like so: public class Foo&lt;T&gt; {     public List&lt;T&gt; Bar { get; set; }          public void Baz()     {         // get type of T     }    }  When I instantiate the class, the T becomes MyTypeObject1, so the class has a generic list property: List&lt;MyTypeObject1&gt;. The same applies to a generic method in a non-generic class: public class Foo {     public void Bar&lt;T&gt;()     {         var baz = new List&lt;T&gt;();                  // get type of T     } }  I would like to know what type of objects the list of my class contains. So what type of T does the list property called Bar or the local variable baz contain? I cannot do Bar[0].GetType(), because the list might contain zero elements. How can I do it? Can a monk make a bonus unarmed attack after using shocking grasp? I'm playing a 5e Wizard/ Monk build. My DM and I are questioning the viability of the cantrip Shocking Grasp. As a monk I can do another unarmed strike as a bonus action after I attack with a melee attack. Being a touch spell, can I punch (touch) with Shocking Grasp and then do my monk's bonus action? I installed Android studio some time ago using the following suggested method:     To set up Android Studio on Linux:      Unpack the downloaded Tar file,   android-studio-ide--linux.zip, into an appropriate location   for your applications. To launch Android Studio, navigate to the   android-studio/bin/ directory in a terminal and execute studio.sh. You   may want to add android-studio/bin/ to your PATH environmental   variable so that you can start Android Studio from any directory.   Follow the links to install the SDK outside of the Android Studio   directories.   For whatever reason it has become corrupt and insists I must un-install and re-install. I can't for the life of me find how to un-install it however.  I didn't use apt-get so I can't do apt-get remove.  Does anyone have any suggestions? Get the real width and height of an image with JavaScript? (in Safari/Chrome) I am creating a jQuery plugin.  How do I get the real image width and height with Javascript in Safari?  The following works with Firefox 3, IE7 and Opera 9:  var pic = $("img")  // need to remove these in of case img-element has set width and height pic.removeAttr("width");  pic.removeAttr("height");  var pic_real_width = pic.width(); var pic_real_height = pic.height();   But in Webkit browsers like Safari and Google Chrome values are 0.