#! /bin/bash or #! /usr/bin/env bash?
Why is it better to use "#!/usr/bin/env NAME" instead of "#!/path/to/NAME" as my shebang?
If you know it, also try to include the precise reason why the proof is fallacious. To start this off, let me post the one that most people know already:    Let $a = b$.  Then $a^2 = ab$  $a^2 - b^2 = ab - b^2$  Factor to $(a-b)(a+b) = b(a-b)$  Then divide out $(a-b)$ to get $a+b = b$  Since $a = b$, then $b+b = b$  Therefore $2b = b$  Reduce to $2 = 1$   As @jan-gorzny pointed out, in this case, line 5 is wrong since $a = b$ implies $a-b = 0$, and so you can't divide out $(a-b)$. What is the difference between "owing to" and "due to"? "Due to" seems more common than "owing to" in modern English. Is "owing to" simply an old-fashioned way of saying the same thing, or is there a rule to using it? How do you assert that a certain exception is thrown in JUnit 4 tests? How can I use JUnit4 idiomatically to test that some code throws an exception?  While I can certainly do something like this:  @Test public void testFooThrowsIndexOutOfBoundsException() {   boolean thrown = false;    try {     foo.doStuff();   } catch (IndexOutOfBoundsException e) {     thrown = true;   }    assertTrue(thrown); }   I recall that there is an annotation or an Assert.xyz or something that is far less kludgy and far more in-the-spirit of JUnit for these sorts of situations. There is an exercise in Humphreys's An Introduction to Lie Algebras and Representation Theory: "Any nilpotent Lie algebra contains a codimension 1 ideal".  The proof I am thinking of is the following.  Suppose the Lie algebra $L$ satisfies $L\neq[L,L]$. Then $\pi\colon L\to L/[L,L]$ is a projection onto an abelian algebra. Choose a codimension 1 subspace $I\subset L/[L,L]$. Then $I$ is an ideal and its preimage $\pi^{-1}(I)$ is necessarily an ideal in $L$, because any subspace containing the derived algebra is an ideal. Moreover, $\pi^{-1}(I)$ has codimension 1. $\square$  The only condition on $L$ is that $L\neq[L,L]$, which holds for solvable Lie algebras as well. Is this proof correct? How come Humphreys didn't set the exercise with "nilpotent" replaced by "solvable"? Can I change the ordering for grouped dock items to be static? In the Ubuntu dock on Ubuntu 18.04, multiple windows of the same application are grouped and orange dots are shown to tell you how many windows of the application are opened. When you click on the icon, a small screen capture of each of the windows is shown.  However, these screen captures are shown in an order that's based on which window was last active on the desktop. This is something that clashes with the way I use the dock. I'm used to mentally mapping the windows to their dock positions. As such, I will often be trying to get to "the top one" and then I end up needing several clicks before I actually get to the terminal (or some other application) that I was looking for.  Is there some way to make sure that the order of these screen captures does not change whenever a window becomes active? Give a sequence such that root test works while ratio test fails Sometimes it is convenient to use an absolute path to include a preamble. To do so, I use the following "hack":  \documentclass[a4paper, 12pt]{article} \newcommand{\folder}{/path/to/folder} \input{\folder/preamble}  \begin{document} \end{document}   Now my question is, whether there is a more elegant way to do this, especially a way which is compatible with one of the flatten scripts from  ? Why not use a WAMP stack? This is a  about  the use of a *AMPP's stack.    I recently had a talk with some experienced people and they suggested to me not to use a WAMP stack, and instead install apache, mysql and php separately.  I don't understand why they have suggested this, though, so can anyone tell me?  Is there a particular disadvantage of WAMP, or a particular advantage to installing all of them separately?  Since a WAMP stack itself is composed of apache, mysql and php, then what's the difference between using the WAMP stack and installing them all separately? What are logic gates? So from what I understand transistors are one of the most important electronic elements for computers because of TTL (Transistors-Transistors Logic).  Is this true? If so, how exactly does this work? I have heard the terms "logic gate" and "logic block" tossed around. I'm playing as a khajit in skyrim, going to assassinate Beitlid in Dawnstar. Now, the first time I did it on her porch and just killed her with the Blade of Woe. I got caught somehow, whatever, so I loaded a previous save because mid-jailbreak the guards decided to just attack instead of attempt an arrest.  Then I tried sniping her... and now my arrows have FED, Flight Erectile Dysfunction. They fly... like two feet before suddenly dropping off. It's weird. It doesn't matter how long I hold the trigger, it just droops. What is the CVE-2014-6271 bash vulnerability (Shellshock) and how do I fix it? dd aplied to dev USB before connect corrupt /dev/sdX and dont work I have a USB where I'm coping an ISO of 5 Mb aprox with a small OS with its own grub. If I connect the device and check it sudo fdisk -l I get:  ... Device     Boot Start   End Sectors  Size Id Type /dev/sdb1  *        1  9551    9551  4.7M cd unknown   If I copy with dd the ISO sudo dd if=my_os.iso of=/dev/sdb   14852+0 records in 14852+0 records out 7604224 bytes (7.6 MB) copied, 0.538487 s, 14.1 MB/s   It works perfectly. An boot from BIOS in other PC.  The problem is, sometime I forget to connect the USB after update the BIOS, so I do ff WITHOUT the USB connected,  the output is:  14852+0 records in 14852+0 records out 7604224 bytes (7.6 MB) copied, 0.00987684 s, 770 MB/s   Now, the /dev/sdb register is corrupted, the copy speed (770 MB/s) have no sense, and cannot user again dd until reboot.  I have tried to repair it with ddrescue and it doesn't work  sudo ddrescue /dev/zero /dev/sdb conv=noerror,sync   My question is, what is happening exactly and if is possible, how to repair /dev/sdb to avoid reboot and dd start working again?  Thanks. From what I understand, the  states that there is a fundamental natural limit to how accurately we can measure velocity and momentum at the same time. It's not a limit on equipment but just a natural phenomenon.  However, isn't this just an observational limit? There is a definite velocity and momentum, we just don't know it. As in, we can only know so much about the universe, but the universe still has definite characteristics.  Considering this, how do a wide range of quantum mechanical phenomena work? For example, quantum tunneling - its based on the fact that the position of the object is indefinite. But the position is definite, we just don't know it definitely. Or the famous light slot experiment? The creation of more light slots due to uncertainty of the photon's positions?  What I am basically asking is why is a limit on the observer, affecting the phenomenon he is observing? Isn't that equivalent to saying  because we haven't seen Star X, it doesn't exist? It's limiting the definition of the universe to the limits of our observation! If $G$ is isomorphic to $H$, then ${\rm Aut}(G)$ is isomorphic to ${\rm Aut}(H)$ If a group $G$ is isomorphic to $H$, prove that ${\rm Aut}(G)$ is isomorphic to ${\rm Aut}(H)$.   Can someone provide a step by step solution? Explaining along the way our strategy in proving this. When I am at my desk and my laptop is in its docking station I want to ensure that it uses its wired connection and not my wireless network. I am hoping/guessing that the preference in connection is based on the order of the listed connections in the Network and Sharing Center. I could just switch the wireless off but I'd prefer to not have to go through the trouble. "The ticket is printing" vs "...is being printed" You're standing in front of a ticket vending machine and it says "The ticket is printing". Is that correct or should it be "The ticket is being printed"?  EDIT:  If both are correct, which one should be preferred or is more common? What can I actually do with a high credit score? I recently checked my credit score via two of my credit card providers. It seems to be hovering between 790 and 815. One service brands the score it provides as a FICO score and the other specifically says its score comes from Transunion.   What can I actually do to leverage this high credit score to my advantage?  The only new debt I might take on would be a small HELOC or car loan. Does a high score give me any negotiating power with the lender to get a better rate? Should I treat the score as a card in my hand or is it something I should show early in negotiations?  Does a high score make me eligible for any discounts on insurance?  Does a high score open up any options for earning more interest on savings accounts?  The typical advice I'm reading suggests refinancing a mortgage. That seems like good advice in general but it does not apply to my personal circumstances. I've got 3.5% on a 15 year note with 9 years left. A casual review of current rates suggest I could maybe scrape 0.5% off of that, hardly seems worth the effort and cost for half a percent. Q: Will there be, or have there been, any “late blooming” students in the school who come into their magic potential as adults, rather than as children? By the way, I loved meeting you, and hearing you speak, when you came to Anderson's in Naperville. I can hardly wait until you tour again. JKR: Ahhh! I loved the event at Anderson’s. It was one of my favorites. That is completely true. No, is the answer. In my books, magic almost always shows itself in a person before age 11; however, there is a character who does manage in desperate circumstances to do magic quite late in life, but that is very rare in the world I am writing about. (src: )  Who was JKR referring to in “there is a character”? Clearly, it not a student; so the most obvious guess of &quot;Neville Longbottom&quot; is wrong – both due to “no” answer regarding the question itself, and the fact that Neville bloomed in his 6th/7th year, well before you can legitimately term “quite late in life”. Multilingual careers CVs tl/dr : Is it/will it be possible to fill out our Careers CV with localized information ?  Is it/will it possible to have different versions of the CV posted at careers (not totally different but just translated)?  Being in non English oriented country, this can be very helpful if I send local companies a link to my Careers CV and they could read it in a language other than English. LinkedIn has an implementation of this feature where you can create your profile in another language and it's up to the user to fill in the information in that language (first and last name, past experiences, etc)  The reason for this is primarily because my CV on careers contains more than just a list of bullet points, it reveals who I really am as a software developer (top tags, top answers, links to github projects, etc). What should I do when I see a "question ban warning"? When I  question, It says following:     Wait! Some of your past questions have not been well-received, and   you're in danger of being blocked from asking any more.      For help formulating a clear, useful question, see: How do I ask a   good question?      Also, edit your previous questions to improve formatting and clarity.   Here is screen-shot:   So, What should I do? (How long to wait?)