While running a single run in cricket, If the non striker does not leave the crease and the striker reaches the other end and a fielder hits the non striker stumps, Is anyone out?
The situation is as below:  -------|----------------------------        |  stump |batsmen2   broken|batsmen1  here  |  -------|----------------------------   Is it a runout in the above situation?
Java: splitting a comma-separated string but ignoring commas in quotes How do I fix this "E: Type '*' is not known on line * in source list ..." update error? I computed the homology groups of the torus, can someone tell me if this is correct? The calculation, not the result that is. Thanks!  The cells of $T^2$ are $e^0, e^1_a, e^1_b, e^2$  The chain groups are  $$ C_0(T^2) = \{ k e^0 |&#160;k \in \mathbb{Z} \} = \mathbb{Z}$$  $$ C_1(T^2) = \{&#160;k_1 e^1_a + k_2 e^1_b |&#160;k_1 , k_2 \in \mathbb{Z} \} = \mathbb{Z} \oplus \mathbb{Z}$$  $$ C_2(T^2) = \mathbb{Z}$$  $$ C_k(T^2) = \{ 0 \} , k &gt; 2$$  Now the homology groups:  $$ H_0(T^2) = \ker \partial_0 / im \partial_1 = \mathbb{Z} / 0 = \mathbb{Z}$$  where $im \partial_1 = 0$ because there is no chain in $C_1(T^2)$ whose boundary is a zero-chain in $C_0(T^2)$. (Is this reasoning correct?)  $$ H_1(T^2) = \ker \partial_1 / im \partial_2 = \mathbb{Z} \oplus \mathbb{Z}$$  where $\ker \partial_1 =  \mathbb{Z} \oplus \mathbb{Z} $, i.e. again everything maps to zero because there is no element in $C_1$ whose boundary maps to an element in $C_0$.  $im \partial_2 = 0$ again because there is no element in $C_2$ whose boundary is an element of $C_1$.  I don't want to use Hurewicz to do $H_1$.  $$ H_2(T^2) = \mathbb{Z}$$ using similar arguments as above.  Thanks for your help.  Edit  I posted the computations as an answer below. I got two up votes but I don't know by who so I'm not yet sure I can trust them... proof by induction: sum of binomial coefficients $\sum_{k=0}^n (^n_k) = 2^n$ Assume I have a flight ticket from A->B->C and at A I checked in luggage all the way to C. However after the first flight I don't board the second flight but decide to remain in B.  As I understand procedures my luggage will need to be unloaded again from the plane in B when they notice I did not board the flight.    How and when can I retrieve my luggage at B? (Or if not, what is the fate of my luggage?) Is there any way I can advise airport/airline staff in B to not load my luggage in the first place? (I understand that asking to do so when checking in in A would be declined / met with a fare recalculation)   This question is different from  in that I am looking for a general answer, whereas in that case B happened to be the port of entry to the US where you have to collect your luggage in any case. Also it is different from   in that I do want to check in  luggage from A to B. Finally I am also aware that possible further legs of my trip would be cancelled.  is asking essentially the same but was marked duplicate to the above two questions that do not answer my question. I know that $\operatorname{Spec} \mathbb{C}[x]$ can be identified with the set $\mathbb{C}\cup *$, where $*$ is a generic point via the correspondence  $$ \prod_{i}(x-a_i) \leftrightarrow \{a_i\}_i , \ \ \ \ (0)\leftrightarrow *. $$ This correspondence holds for any $\operatorname{Spec} k[x]$ with algebraic closed field $k$.   When $k$ is not algebraic closed, how should one understand $\operatorname{Spec} k[x]$? I have been using the app for 3 days now. I just opened it up again, and it asked me to sign "up" again with either Google or the Trainer server.   So I signed up with the same Google account as when I first started with and the game started again.   Is there Any way I can get my progress back? Where can I find web design projects? I am a recently graduated graphic designer. I would like to know if there are any worthwhile websites that I could present my portfolio and receive or look for job offers.  I have came across the following freelancewebsites by searching the web that seem to meet my criteria:       (the most famous website for people seeking for employers and employees)   I've also found two articles providing reviews on these types of sites:       I am new to the online freelance market. As a result, I don't have any clue which websites are mainstream for graphic designers and illustrators (which are my specialties). It's not immediately discernible to me which sites are the ones that are not a scam and are also good place for establishing myself.  I'm mainly looking for the resources that experienced designers are familiar with. I'm looking to narrow it down to the ones that have been used by those established in the industry. As a result I decided to consult the matter here and ask for input. every planar graph can be expressed as a union of five edge-disjoint forests How can I prove that every planar graph can be expressed as a union of (maximum) five edge-disjoint forests?  Only thing I can think about is going somehow like the $5$ color theorem but I get stuck in the middle. Or with induction, but still something doesn't fit. Can you help? Is there a reason the British omit the article when they "go to hospital"? I have recently installed Ubuntu 14.04 LTS on my laptop Sony Vaio VPCEA16FG. I have been getting system freezes (everything including display, mouse, keyboard stops working and I have to do a restart with the power switch) and there are random popups of "System program problem Detected"  On startup my screen is all splashed with black and white pixels and a System program problem detected message.  My video card info:    01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Madison [Mobility Radeon HD 5650/5750 / 6530M/6550M Pointer vs. Reference What would be better practice when giving a function the original variable to work with:  unsigned long x = 4;  void func1(unsigned long&amp; val) {      val = 5;             } func1(x);   or:  void func2(unsigned long* val) {      *val = 5; } func2(&amp;x);   IOW: Is there any reason to pick one over another? Should I capitalize the word "that" in a title? Since the version of the word "that" might matter to the correct answer, I'll provide the actual title in question:  Title:  Existing Solutions that Didn't Work  If someone could explain the why of the answer, I would be appreciative.  EDIT:  It has been suggested that this is a duplicate, and that may be, in a sense.  However, the after reading the suggested prior question, I'm no closer to my answer.  I think it may have to do with my use of the word "that."  Perhaps it is incorrect?  Using these definitions of the word "that:" I'm having trouble figuring out which definition of that matches my title.  Am I even using it correctly?  Perhaps I should use which instead:  Possible Title:  Existing Solutions which Didn't Work  If my original usage is incorrect, and I should use which, then the answer is simple since which is always a pronoun or adjective, and those are both capitalized in a title.  However, I'm having difficulty understanding which part of speech that is in my original title. Capacitor on USB cable? I was messing around with a USB camera. I wanted to change the cable because is trimmed but as I was cutting it I saw a small thing (image below). As I was trying to cut the casing and see what it has inside I saw a spark. I tried to connect it with another cable but I don't know if I'm gonna damage the camera or the USB port.    What is it and can I connect the camera without it? In my D&amp;D 5e campaign one of the PCs who's a wood elf started dating a dark elf, and as a result she got pregnant and she is about to give birth. One of the other players had their PC die and he is considering playing as the child of the couple.  My question is, which race is the child going to be? preventDefault() on an  tag I have a NOPASSWD line in /etc/sudoers (edited with visudo)  gatoatigrado    ALL=(ALL) NOPASSWD: /bin/set-slow-cpufreq   However, the output is,  gatoatigrado@coral:~&gt; sudo -n /bin/set-slow-cpufreq sudo: sorry, a password is required to run sudo   This kind of command works on an OpenSuSE machine, but not on Ubuntu 11.10. What am I doing wrong?  Note: I cannot find any relevant system log messages, e.g. via tail -f /var/log/syslog.  edit  Here is /etc/sudoers.  Defaults    env_reset  # things I've tried copying from an opensuse machine Defaults always_set_home Defaults env_keep = "LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS XDG_SESSION_COOKIE"  root    ALL=(ALL:ALL) ALL gatoatigrado ALL=NOPASSWD: /bin/set-slow-cpufreq %admin ALL=(ALL) ALL %sudo   ALL=(ALL:ALL) ALL Linear regression with non-symmetric cost function? I want to predict some value $Y(x)$ and I am trying to get some prediction $\hat Y(x)$ that optimizes between being as low as possible, but still being larger than $Y(x)$. In other words: $$\text{cost}\left\{ Y(x) \gtrsim \hat Y(x) \right\}  &gt;&gt; \text{cost}\left\{ \hat Y(x) \gtrsim Y(x) \right\}  $$  I think a simple linear regression should do totally fine. So I somewhat know how to implement this manually, but I guess I'm not the first one with this kind of problem. Are there any packages/libraries (preferably python) out there doing what I want to do? What's the keyword I need to look for?  What if I knew a function $Y_0(x) &gt; 0$ where $Y(x) &gt; Y_0(x)$. What's the best way to implement these restrictions? I read this story 30+ years ago in grade school. A man crashes on an alien planet. He has a small amount of water and accidentally spills some, and the planet replicates it but it must destroy part of itself to do so.  The man then finds some stale crumbs in his pocket, puts them in a trough, and the planet replicates them as well, but it's disgusting to eat. The man eventually decides that his situation is hopeless, so he lays down to die on a table in a hot room and thinks he can at least give back to the planet some of the nutrients it sacrificed for him. He falls asleep, and when he awakens, he has been transformed into an alien creature that is perfectly suited and adapted to live on the planet without discomfort to himself or damage the planet. How to overwrite an excel application without prompting the users