Installed Ubuntu 15.04 alongside Win8 with something else option in a new partition of HDD. But Ubuntu starts directly without letting me choose an OS I am a Windows 8.1 user. I want to use dual boot with Ubuntu. I installed Ubuntu 15.04 with the Something Else option. Installed correctly in swap and ext4. When I start the PC Ubuntu boots. But I want to select win 8 or Ubuntu OS. During the installation of Ubuntu it showed a warning, something about BIOS UEFI mode.   Now how can I solve this problem? What setting can I use to be able to choose an OS to boot?  My motherboard is Gigabyte H81M-S2PV
Can't boot Windows 7 after installing Ubuntu I installed Ubuntu yesterday alongside Windows 7 and whenever I start my computer I don't have the option to boot Windows. When the computer starts it goes straight to Ubuntu without giving me an OS selection menu. When it goes to Ubuntu it gives me Ubuntu repair options and Ubuntu normal start option. I still have all of the Windows 7 files on my hard drive, but Windows 7 has no way to boot.
product of two uniformly continuous functions is uniformly continuous Suppose that $f$ and $g$ are uniformly continuous functions defined on $(a,b)$. Prove that $fg$ is also uniformly continuous on $(a,b)$.   My attempt: Since $f$ is uniformly continuous on $(a,b)$, for all $\epsilon&gt;0$, we have $\delta_f(\epsilon)&gt;0$ such that for all $x,y \in (a,b)$, $|x-y|&lt;\delta_f$, $|f(x)-f(y)|&lt;\epsilon$  Since $g$ is uniformly continuous on $(a,b)$, for all $\epsilon&gt;0$, we have $\delta_g(\epsilon)&gt;0$ such that for all $x,y \in (a,b)$, $|x-y|&lt;\delta_g$, $|g(x)-g(y)|&lt;\epsilon$  Notice that $$|f(x)g(x)-f(y)g(y)|=|f(x)g(x)-f(x)g(y)+f(x)g(y)-f(y)g(y)| \leq |f(x)||g(x)-g(y)| + |g(y)||f(x)-f(y)|$$  Here I don't know how to bound $|f(x)|$ and $|g(y)|$. I have proven that uniformly continuous functions preserve boundedness of an interval , i.e. $f$ is bounded on $(a,b)$. Can anyone help me? Why doesn't Zorn's lemma apply to $[0,1)$? How To Get Command Blocks Talking in Chat Is it costly to do array.length or list.count in a loop I know that in JavaScript, creating a for loop like this: for(int i = 0; i &lt; arr.length; i++) is costly as it computes the array length each time. Is this behavior costly in c# for lists and arrays as well. Or at compile-time is it optimized?  Also what about other languages such as Java, how is this handled? When is "self" required? Finding the remainder of $\overbrace{11\ldots1}^{123 \text{ times}}$ divided by $271$ java.net.SocketException: Connection reset I am getting the following error trying to read from a socket. I'm doing a readInt() on that InputStream, and I am getting this error. Perusing the documentation this suggests that the client part of the connection closed the connection. In this scenario, I am the server.  I have access to the client log files and it is not closing the connection, and in fact its log files suggest I am closing the connection. So does anybody have an idea why this is happening? What else to check for? Does this arise when there are local resources that are perhaps reaching thresholds?    I do note that I have the following line:  socket.setSoTimeout(10000);   just prior to the readInt(). There is a reason for this (long story), but just curious, are there circumstances under which this might lead to the indicated error? I have the server running in my IDE, and I happened to leave my IDE stuck on a breakpoint, and I then noticed the exact same errors begin appearing in my own logs in my IDE.  Anyway, just mentioning it, hopefully not a red herring. :-( Duty Free in the USA. Why do I have to be given my purchase as I board the plane? I am not one for buying things in airports but recently my wife asked me to get her an alcoholic beverage while flying from the USA to Ireland (JFK-DUB). I made the purchase in JFK and was surprised to be told I had to collect it when departing for my flight as I board the plane. The sales assistant's English wasn't their best so I may have misheard and my Yorkshire twang may have thrown her, but I was somewhat surprised as to why I couldn't carry the bag myself to the plane.  Is there a law that prevents me from carrying my purchase to the plane or is this an added service I was charged, which I was duped into paying?  When boarding the plane there were several others who had to pick up their sealed duty free bags (why sealed?) so it wasn't just me. No explanation was given. Can a shadow move faster than the speed of light? Contraction Map on Compact Normed Space has a Fixed Point What are the difference between the following sentence?    I ate apples. I have eaten apples.    When should we use simple past tense? When should we use perfect past tense? Pronoun question: referring to inanimate objects as 'he' or 'she' I read the following claim concerning pronouns referring to inanimate objects:      Anything that is meant to contain you, protect you or provide you with something beneficial is [often referred to as] a she; anything that is a perceived threat is a he. That's why cars, boats and some countries are she.    Is this really the case, or is it just a subjective claim? (According to the  using he/she for inanimate objects is not recommended and it should be used instead.) Is there a 'rule' for determining whether to use he, she or it based on the impression one would like to express? (I only know the 'rule' for animals: In the case where you know their gender and they are important to you, you refer to them using he/she. E.g. A dog attacked me in the street. It bit me. versus This is my dog Roger. He is 7 years old.) Have these practices changed over time?   Note 1: There is already a similar question (), but that considers only the feminine case and none of the answers offers an objective discussion of the matter.  Note 2: My native language is Czech, where the gender of the pronoun is based only on the grammatical gender of the noun. E.g. a cat (kočka) is always she, a dog (pes) is always he, a boat (loď) is always she and a car (auto) is always it. Tips to extend battery life for laptops and notebooks This question is present as a matter of historical interest.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   It is possible to greatly extend the usage time of a laptop or netbook running on battery by disabling various services and installing various packages.   What tricks or tips do people have for getting an extra hour or two out of their batteries? What if my State / Country doesn't have a Ubuntu LoCo Team? How can I start one? I know what an Ubuntu Team is and , but what can users do if their area doesn't have a LoCo team? Projecting a point onto a convex set decreases its distance from each point of that set For a convex set $K$, $x\in \mathbb{R}^d$ and $y=\Pi_K(x) $ (the projection of $x$ onto $K$), we want to show that for any $z\in K$ it holds that: $\|x-z\| \ge \|y-z\|$.  $$ $$  I'm not sure if the following proof is valid:  $$ y=\Pi_K(x) = \arg \min_{y\in K} ||y-x||  \Rightarrow \forall z\in K \langle y-x,y-z\rangle =0 $$ $$ ||y-x||^2_2+||y-z||^2_2=||x-z||^2_2  \quad (Pythagoras)$$  $$ \Rightarrow ||y-z||^2_2 \le ||x-z||^2_2 $$ $$ \Rightarrow||y-z|| \le ||x-z|| $$ Set the size of pgf picture? I have a pgf picture which I insert with:  \input{m1.pgf}   But the image is too big. Instead of regenerating a smaller image, I'd rather take advantage of vector graphics, and have XeLaTeX scale it. How do I set the width of pgf picture (keeping its aspect ratio)?  MWE  tex:  \documentclass{article}  \usepackage{fontspec} % enagles loading of OpenType fonts \usepackage{polyglossia} % support for languages  % fonts: \defaultfontfeatures{Scale=MatchLowercase,Mapping=tex-text} % without this XeLaTeX won't turn "--" into dashes \setmainfont{DejaVu Sans} \setsansfont{DejaVu Sans} \setmonofont{DejaVu Sans Mono}  % pgf: \usepackage{pgf}  \begin{document}  \input{m1.pgf}  \end{document}   Sample pgf:  (it's too big to cite it here, and I can't make much smaller). says:  SSH_ASKPASS    If  ssh needs a passphrase, it will read the passphrase from the    current terminal if it was run from a terminal.  If ssh does not    have  a  terminal associated with it but DISPLAY and SSH_ASKPASS    are set, it will execute the program  specified  by  SSH_ASKPASS    and open an X11 window to read the passphrase.   I'd like SSH to use an askpass program even if it was run from a terminal.  On occasion, I have to connect to servers, where there's some delay in showing a password prompt (maybe due to network issues, maybe due to attempted reverse DNS lookups, …). I get annoyed and switch to something else, and forget about the attempted connection. (Insert joke about attention span of a goldfish.) When I finally get back to it, the prompt's timed out and even a correct password would just result in a closed connection.  Keys would be one solution, but not every system I use has my usual SSH keys. However, I usually use Ubuntu systems, and Ubuntu has an SSH askpass program installed by default.  If an askpass window popped up, however, I'd be immediately aware of it. That's a good enough compromise for me, if only I can get it to work. Prove that there exists some $c\in(-3,3)$ such that$ \ \ g(c) \cdot g''(c)<0$. $f(x)$ is a differentiable function and $g(x)$ is a double differentiable function such that $|f(x)|\leqslant 1$ and $f'(x)=g(x)$. If $$f(0)^2+g(0)^2=9$$ then prove that there exists some $c\in(-3,3)$ such that$ \ \ g(c) \cdot g''(c)&lt;0$.  Attempt: Let us define a function $h(x) = g(x) g~'(x)$. Then $$h'(x) =  g(x)g''(x) + \left( g'(x) \right)^2 \tag 1$$ If we prove that for some $c \in (-3,3), h~'(c) &lt; 0,$ then $$g(c)g''(c) &lt;0 \tag 2$$ Also, $$\left|f(0)\right| &lt; 1 \implies f'(0) \in (-3,-2\sqrt 2 ) \cup (2\sqrt 2,3) $$ Could someone please advise me how do I move forward from here. Thank you very much for your help in this regard. How many ways can we let people into a movie theater if they only have half-dollars and dollars? My interest in combinatorics was recently sparked when I read about the many things that the Catalan numbers count, as found by Richard Stanley. I picked up a copy of Brualdi's Combinatorics, and while browsing the section on counting sequences I found a nice little puzzle that has definitely puzzled me.     Let $m$ and $n$ be nonnegative integers with $n\geq m$. There are $m+n$ people in line to get into a theater for which admission if $50$ cents. Of the $m+n$ people, $n$ have a $50$-cent piece and $m$ have a $\$ 1$ dollar bill. The box offices opens with an empty cash register. Show that the number of ways the people can line up so that change is available when needed is   $$ \frac{n-m+1}{n+1}\binom{m+n}{m}. $$     I first noted that the first person to enter must be one of the $n$ with a half-dollar. Now the register has a half-dollar change. The second person can be either a person with a half-dollar or a dollar. In the first case, the register will now have two half-dollars, in the second case, the register will now have one dollar bill. So it seems to me that when one of the $n$ people with a half-dollar enters, the number of half-dollars in the register increases by $1$, and when one of the $m$ people with a bill enters, the number of half-dollars decreases by $1$ but the number of bills increases by $1$.   I tried to model this by looking at paths in $\mathbb{Z}^2$. The $x$-axis is like the number of half-dollars, and the $y$-axis is the number of bills. You start at $(0,0)$, and you can take steps forward $(1,0)$ or backwards diagonally $(-1,1)$ corresponding to who enters, but you must always stay in the first quadrant of the plane without crossing over the axes. The goal is to make $m+n$ moves, and I figured maybe the number of such paths is counted by $\frac{n-m+1}{n+1}\binom{m+n}{m}$, but I'm not sure how to show this. I don't know if this observation simplifies the problem at all, as I don't know how to finish up. I'd be happy to see how this problem is done, thank you. class variable vs instance variable --Python