When I git pull, I pull from the default branch on my default remote. If I would like to pull from the remote "upstream", I have to specify the upstream branch that I would like to pull from:   git pull upstream name_of_branch.  I would like to specify a default branch for a given remote, so that I can achieve the above just by  git pull upstream  The reason is one of laziness - name_of_branch is in this case a bit of an long awkward name, and I have to do this relatively often.  I have not found a way to do this. Do you have any suggestions?
I'm not a git master, but I have been working with it for some time now, with several different projects.  In each project, I always git clone [repository] and from that point, can always git pull, so long as I don't have outstanding changes, of course.  Recently, I had to revert to a previous branch, and did so with git checkout 4f82a29.  When I was again ready to pull, I found that I had to set my branch back to master.  Now, I can not pull using a straight git pull but instead, have to specify git pull origin master, which is annoying, and indicates to me that I don't fully understand what is going on.  What has changed which does not allow me to do a straight git pull without specifying origin master, and how to I change it back?  UPDATE:  -bash-3.1$ cat config [core]     repositoryformatversion = 0     filemode = true     bare = false     logallrefupdates = true [branch "master"] [remote "origin"]     url = git@github.com:user/project.git     fetch = refs/heads/*:refs/remotes/origin/*   UPDATE 2: To be clear, I understand that my original method may have been incorrect, but I need to fix this repo so that I can simply use git pull again.  Currently, git pull results in:  -bash-3.1$ git pull You asked me to pull without telling me which branch you want to merge with, and 'branch.master.merge' in your configuration file does not tell me either.  Please name which branch you want to merge on the command line and try again (e.g. 'git pull  '). See git-pull(1) for details on the refspec.  If you often merge with the same branch, you may want to configure the following variables in your configuration file:      branch.master.remote =      branch.master.merge =      remote..url =      remote..fetch =   See git-config(1) for details.   I can tell git pull which branch to merge, and it works correctly, but git pull does not work as it did originally before my git checkout.
Intuitive idea of the Lipschitz function I'm trying to understand intuitively the notion of Lipschitz function.   I can't understand why bounded function doesn't imply Lipschitz function.   I need a counterexample or an intuitive idea to clarify my notion of Lipschitz function.  I need help  Thanks a lot How to optimize images to improve pagespeeds / webpage loading times? This is almost a StackOverflow question, however it's completely related to Photoshop and other tools. With every Pagespeed test I do for all my website I get the comment "Optimize images by lossless compressing image X" which often increases my page rank a lot.  I already save EVERY image with 'save for web' with Photoshop, but I was wondering how I could "Optimize images by compressing lossless" even more. As far as I know I'm already doing everything I can.   How can I optimise images to improve my webpage loading speeds? Proving the AM-GM inequality for 2 numbers $\sqrt{xy}\le\frac{x+y}2$ I am having trouble with this problem from my latest homework.  Prove the arithmetic-geometric mean inequality. That is, for two positive real numbers $x,y$, we have $$ \sqrt{xy}≤ \frac{x+y}{2} .$$ Furthermore, equality occurs if and only if $x = y$.  Any and all help would be appreciated. I'm trying to use a mask to hide a part of a render layer, so that when the render layer is shown over a movie, some parts in the movie will appear to be in front of the render layer.  For example, assume I want to add a box to this image, so that it would look like it's behind the person:    I created the following simple object:    If I render the object, it looks great - the object is solid, everything else is transparent (I didn't use any 'sky'):     Now I create a mask to describe the standing person (or at least the part that would otherwise be covered by the box):    What I want now is to create a "hole" in the rendered box, so that when I use Alpha-over, the box look as if it's behind the person, but I can't find an easy way to do that. My first guess was to use 'Set alpha' to apply the mask (inverted) as an alpha for the rendered layer, but this doesn't look good:    The mask did create a "hole" where it should, but now all the other pixels are not transparent. How can I "retain" the transparent pixels while setting more pixels to be transparent based on the mask (use it as a matte)?  Note: I can do this with (I'm ashamed to say) some math work on the alpha channel, but it just doesn't seem right:    Thanks, and sorry for the [oh so] long question. No Wi-Fi Adaptor Found - Ubuntu - iwlwifi What is the difference in meaning among these sentences? Walking is good exercise. Walking is a good exercise. Walking is a good form of exercise.     I'd like to know the difference in meaning among these sentences. Thanks a lot. I'm using Ubuntu 16.04 and there's no fglrx! I'm using Ubuntu 16.04 and there's no fglrx! What happened? Assume  $$\lim_{n\to \infty}  (y_{2n} - y_n)=0$$  then  $$\lim_{n\to \infty} y_n$$  exists.  I know it's not true, and I can see a sequence that disprove that $(1,1,2,1,3,2,4,1,5,3,...)$ but I want a sequence that has formula.  hint/help?  thanks I've been told that when "the" is proceeded by a vowel sound, like "apple" or "hour", it's pronounced as "thee" and not as "thu".  But after listening to a couple of songs, I noticed that sometimes this "rule" is not followed. Take for example the two Katy Perry's songs, "Roar" and "The one that got away". In the first she sings "I got thee eye of thu tiger", but in the second she sings "Thu one that got away".  I don't know if it was sang this way to better suit the song melody (I understand nothing about those techniques), but I got confused. What's the correct pronunciation?  Thanks in advance. Let $f:\mathbb{R}_+ \to \mathbb{R}_+$ be a monotone decreasing function defined on the positive real numbers with $$\int_0^\infty f(x)dx &lt;\infty.$$ Show that $$\lim_{x\to\infty} xf(x)=0.$$   This is my proof: Suppose not. Then there is $\varepsilon$  such that for any $M&gt;0$ there exists $x\geq M$ such that $xf(x)\geq \varepsilon$. So we can construct a sequence $(x_n)$ such that $x_n \to \infty $ and $x_n f(x_n ) \geq \varepsilon$. So $$\frac{\varepsilon}{x_n}\leq f(x_n) \implies \sum_{n\in\mathbb{N}}\frac{\varepsilon}{x_n} \leq  \sum_{n\in\mathbb{N}} f(x_n) \leq \int_0^1 f(x)dx.$$ So we get a contradiction.  I feal like I have the correct idea but some details are wrong.  Any help would be appreciated. Suppose I have a function $f$ that is analytic on the unit disk $D = \{ z \in \mathbb{C} : |z| &lt; 1 \}$ that is also continuous up to $\bar{D}$. If $f$ is identically zero on some segment of of the boundary (e.g. $\{ e^{it}, 0 \leq t \leq \pi/2 \}$ ), is it then true that $f$ is identically zero on the entire boundary?   I know that analytic functions that are zero at an accumulation point inside the domain of analyticity are identically zero throughout the entire domain, but I don't know what (if anything) can be said if something similar occurs on the boundary of the domain. Intersection of Adiabatic curves Can paths of two adiabatic process intersect on a plot? This question is for both reversible and irreversible processes. There are some , but they mostly address only for reversible adiabatic processes. Also, I want a physical interpretation of the processes that is, if they don't intersect then why don't and what it would be like, physically for a system. Sphere inside a conical vessel touches the lid A conical vessel with semi-vertical angle 30 degrees and height 10.5 cm has a thin lid. A sphere kept in the vessel touches the lid. The radius of the sphere in cm is ... How to strike through obliquely, e.g. to indicate cancellation? How can I strike through an expression (e.g. "2x") obliquely, e.g. from bottom left to top right, so as to indicate cancellation? With the \sout command from the ulem package, I can only strike horizontally. How can i render the reflections i see in the Look Dev viewport in Blender 2.8 i'm finding blender 2.8 confusing and i'm relatively new to blender in general anyway. While looking at my model in the Look Dev view port i can see reflections.        However, when i render my scene in eevee (and cycles), the reflections aren't rendered     Is there something i'm doing wrong or an option i haven't enabled? The  EU book The Rise and Fall of Darth Vader reveals that Vader personally gave the stormtroopers the order to kill Owen and Beru Lars, and that he knew who he was condemning to death before he gave the order:  “Lord Vader,” said one of the sandtroopers, adjusting a control on his helmet so that only Vader could hear his voice.  “The Jawas sold a protocol droid and an astromech to these moisture farmers, but both droids are gone.” Moisture farmers? Intrigued, Vader examined the holograms of the kneeling couple and said, “The farmers’ names?” “Owen and Beru Lars, sir,” the sandtrooper responded. “They say they don’t know where the droids are, but it looks like a landspeeder is missing from their garage.” Owen and Beru, Vader recalled... “Tell Mr. and Mrs. Lars that they seem to have trouble keeping protocol droids on their property.”1 Not certain if he had heard correctly, the sandtrooper said, “Sir?” “Then you may extend to them every courtesy that you showed the Jawas before you continue your search. Establish checkpoints to detain any droids entering Mos Espa or Mos Eisley spaceports. And one more thing.” “Yes, Sir?” “Do not stop transmitting until I break the connection.” “Understood,” said the sandtrooper. Vader watched the sandtroopers carry out his orders on their helpless victims. He found the sight of rising flames — even holograms of flames burning millions of light years away — to be most satisfying.  I had always assumed that the stormtroopers killed the Larses on their own initiative, or in accordance with a previously given order.  The version of events in this book is interesting, but it raises the question of why it took Vader so long to figure out who Luke was. In canon, who gave the order to kill Owen and Beru Lars?  If Vader was involved, did he recognize the couple before he gave the order?  1 A reference to the fact that Anakin took C-3PO from the Lars homestead the last time he was on Tatooine, without informing the Larses that he would do so. Is there any table or any other way(metadata/rest api) we can query the list views of a particular object that a user/group  has access.  Example:  SELECT Name FROM table_x WHERE UserOrGroupId = '1234..' AND  SobjectType = 'Account'   I can see an object named UserListView in workbench, but query on that returns no data. Is it deprecated? Postfix SMTP banner show multiple hostnames We have a Postfix SMTP server that's bound to two IP addresses and serves mail for two different domains. We can't change the domains to both use the same, single IP. Both IP addresses have reverse DNS   1.1.1.1 reverses to mail.domain1.com 2.2.2.2 reverses to mail.domain2.com   In our Postfix config I have  myhostname = mail.domain1.com myhostname = mail.domain2.com  inet_interfaces = 1.1.1.1, 2.2.2.2  smtpd_banner = $myhostname Mail Server   (And some other stuff, which I think is irrelevant)  Using , running the smtp test command on mail.domain2.com returns everything as OK, however running it on mail.domain1.com returns an error because Postfix is identifying itself as 'mail.domain2.com' in the SMTP banner, how do I get it to return the correct banner based on the external IP address used? Set the maximum character length of a UITextField How can I set the maximum amount of characters in a UITextField on the iPhone SDK when I load up a UIView? I'm looking for a way to prove $$\sum_{n=0}^\infty\frac{(-1)^n}{(2n+1)^{2m+1}}=\frac{(-1)^m E_{2m}\pi^{2m+1}}{4^{m+1}(2m)!}$$ I know that $$\sum_{n=0}^\infty\frac{(-1)^n}{(2n+1)^{2m+1}}=\frac{1}{4^{2m+1}}\left(\zeta\left(2m+1,\frac14\right)-\zeta\left(2m+1,\frac34\right)\right)$$ so maybe I could simplify the above more?