Ubunto terminal on windows 10 | I can't detect my C: files using this terminal
How to navigate to C drive in bash on WSL-Ubuntu?
How to sum a variable by group How to convert image file data in a byte array to a Bitmap? Other users have been leaving me angry and hostile comments accusing me of plagiarism and saying that I'm a liar and I should stop stealing answers. But I have only been copying content from other sites, not taking answers from other users.   I don't understand what is wrong here. Shouldn't we be focused on building all the content and knowledge in a single place, much like Wikipedia does?  What does it matter that I copy and paste content I've found elsewhere so long as the question gets an answer? How do I iterate over a range of numbers in Bash when the range is given by a variable?  I know I can do this (called "sequence expression" in the Bash ):   for i in {1..5}; do echo $i; done   Which gives:     1    2    3    4    5   Yet, how can I replace either of the range endpoints with a variable? This doesn't work:  END=5 for i in {1..$END}; do echo $i; done   Which prints:     {1..5} I'm editing a book that includes about 25 papers written in LaTeX by different authors.  Since many of them use the same \label, to avoid collisions I redefined the \label command (and \ref and \pageref and \cite and \bibitem)  so that if the third paper has  \label{main_theorem} the aux file actually uses the tag "iii:main_theorem", and \ref{main_theorem} actually refers to the same tag.  I did a similar thing for \cite and \bibitem.  %*************** bib/cite hacks \let\TheReal@citex=\@citex \let\TheReal@bibitem=\@bibitem \let\TheReal@lbibitem=\@lbibitem \gdef\@lbibitem[#1]#2{\TheReal@lbibitem[{#1}]{#2\roman{chapter}}} \gdef\@bibitem#1{\TheReal@bibitem{#1\roman{chapter}}} \gdef\@citex[#1]#2{% \toks@={}\count@=0% \@for\@citec:=#2\do{% \advance\count@ 1 \ifnum\count@=1\edef\0{\the\toks@\expandafter\expandafter\noexpand\@citec\roman{chapter}}% \else\edef\0{\the\toks@,\expandafter\expandafter\noexpand\@citec\roman{chapter}} \fi% \toks@=\expandafter{\0}}% \TheReal@citex[#1]{\the\toks@}% } %************** label/ref/pageref hacks  %%%%%%%%%%%%% must be before ams pkgs \let\TheRealLabel=\label \let\TheRealRef=\ref \let\TheRealPageref=\pageref \gdef\label#1{\TheRealLabel{\roman{chapter}:#1}} \gdef\ref#1{\TheRealRef{\roman{chapter}:#1}} \gdef\pageref#1{\TheRealPageref{\roman{chapter}:#1}}   This all worked fine until I used hyperref, which seems to ignore the redefinition of \label, whether I load it before or after the above code.  Any suggestions?  It would be nice if the redefinition would work whether or not hyperref was loaded, so I don't want to just grab the defintion of \label out of the package and tweak it.  I'm also open to alternative methods.  Redefining \label and \ref just seemed the most straightforward (to me) solution.  Note that I also want to be able to refer to the inner labels from outside, as well.  For example, I might want to say "the main theorem of the third paper is  \ChapRef{iii}{main_theorem}  from within the introduction (a different chapter). Let $\mathbf{FinVec}$ denote the category of finite-dimensional real vector spaces and linear maps, let $F\colon\mathbf{FinVec}\rightarrow\mathbf{FinVec}$ be a functor. For each pair of objects $V,W$, the Hom-set $\operatorname{Hom}(V,W)$ is itself a finite-dimensional vector space and we equip it with the unique structure of a topological space/of a smooth manifold that is compatible with its vector space structure. The composition maps are then continuous/smooth. In this way, we view $\mathbf{FinVec}$ as enriched over the category $\mathbf{Top}$/$\mathbf{Diff}$ respectively. It then makes sense to ask whether the functor $F$ is enriched over $\mathbf{Top}$/$\mathbf{Diff}$. That is just to ask whether the induced map $F\colon\operatorname{Hom}(V,W)\rightarrow\operatorname{Hom}(FV,FW)$ is continuous/smooth for all $V,W$. (Irrelevant to the rest of the question, but the reason this is a useful notion is that it is the natural hypothesis assuring that the functor induces another functor on the category of topological/smooth vector bundles, applying the original functor fiberwise.) In the case $V=W$, by functoriality, we can restrict $F$ to a group homomorphism $\operatorname{GL}(V)\rightarrow\operatorname{GL}(V)$. If the functor is continuous/smooth, so is this map. Note that $\operatorname{GL}(V)$ is a Lie group. It is a general result that a measurable group homomorphism between Lie groups is automatically smooth. This begs the following questions:  What's an argument for the existence of functors that aren't continuous? Can we construct one? Given the above, it either happens that the restrictions to $\operatorname{GL}(V)\rightarrow\operatorname{GL}(V)$ are continuous and continuity fails elsewhere, or the induced maps will be non-measurable, so that the construction will necessarily have to involve choice to some extent. Are there continuous functors that aren't smooth? Given the above, a continuous functor will have smooth restrictions to $\operatorname{GL}(V)\rightarrow\operatorname{GL}(V)$, but smoothness may fail elsewhere. I've stumbled upon a strange behaviour with Windows machines, which seems to be fairly consistent between all Windows versions from Vista/2008 to 8.1/2012 R2; it doesn't happen instead when using Windows XP or Windows Server 2003.  The problem is this: when the network adapter is configured for DHCP and the DHCP server doesn't register DNS records on behalf of its clients (because it can't, or because it's not configured to do so), then the forward A record gets registered, but the reverse PTR record doesn't.  Some more details:   Both the forward and the reverse DNS zones are AD-integrated and accept dynamic updates. All computers are joined to the domain. All computers use the correct internal DNS servers, both when configured statically and when getting their configuration from DHCP. "Register this connection's addresses in DNS" is enabled in the network adapters. Everything is fine when a computer has a static IP address; both the forward and the reverse records get automatically registered. When the same computer is configured for DHCP, the forward record is registered, but the reverse record isn't. This happens for all computers with an OS version >= 6.0, and it's definitely not related to a single machine. No amount of ipconfig /registerdns will change anything. No errors are logged anywhere.   Why does this happen, and how can it be fixed?  And no, configuring the DHCP server to perform DNS registration is not an option here. We've tried this a few times. First time we used an old ceramic container and it started sheding on the inside and ruined it. Next time we used a new metal garbage can with one of those super sized 10 gallon zip lock bags as a liner. It went rank very quickly. This could have been due to our packing though. Before we get into this again, what is you recommendation for a good container? I hate the thought of plastics but it seems it might just be the best choice as long as it's made for food storage. What's the application extension? (aka .exe, .app, etc.) I'm new to Ubuntu. What's the application extension for development reasons? I know Windows is mainly .exe and Mac is .dmg or .app. Does Linux have an unique one? How to disable the skype ads (advertisement)? Velocity Maxwell-Boltzmann distribution for dummies I have a volume with $N$ molecules; I need to assign to each particle a velocity vector: $$|\mathbf{v}_{i}|=[v_{x}, v_{y}, v_{z}]^{T}$$ for the $i$-th molecule; the velocities must follow the Maxwell-Boltzmann distribution; here is the question: I know the definition of the M.B. distribution, how do I extract the velocities that I have to assign to each molecule? Basically what I want to know is how to calculate $$v_{x}=?$$ $$v_{y}=?$$ $$v_{z}=?$$ for each molecule. Global JavaScript Variable Scope: Why doesn't this work? Where is .bash_profile? I want to put new aliases to my .bash_profile file, but I cannot find this file. Where is it supposed to be? freezing header in a table in html Should Luke's lightsaber have given away his plan? During Luke's confrontation of Kylo Ren toward the end of The Last Jedi we see that       the lightsaber Luke uses a blue lightsaber (which I thought was his original one but that really doesn't matter), not the green one of his own construction.   Given that Kylo Ren  and Rey has just     fought over and broken the blue lightsaber   Why did Kylo Ren not notice this "inconsistency" and realize that      Luke's physical body was not there? Proving that an ideal in a PID is maximal if and only if it is generated by an irreducible I was setting up up android-studio referring to . While installing oracle-java7-installer, this error is displayed:  sudo apt-get install oracle-java7-installer [sudo] password for cyan:  Reading package lists... Done Building dependency tree        Reading state information... Done oracle-java7-installer is already the newest version (7u80+7u60arm-0~webupd8~1). The following package was automatically installed and is no longer required:   snap-confine Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ... Downloading Oracle Java 7... --2017-11-27 08:40:47--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving download.oracle.com (download.oracle.com)... 223.223.158.138, 223.223.158.136 Connecting to download.oracle.com (download.oracle.com)|223.223.158.138|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following] --2017-11-27 08:40:47--  https://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.58.58.93, 2600:140f:7:18e::2d3e, 2600:140f:7:18d::2d3e Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.58.58.93|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1511752368_824528560c20825821ecbcac8f4e9be9 [following] --2017-11-27 08:40:48--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1511752368_824528560c20825821ecbcac8f4e9be9 Connecting to download.oracle.com (download.oracle.com)|223.223.158.138|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-11-27 08:40:50 ERROR 404: Not Found.  download failed Oracle JDK 7 is NOT installed. dpkg: error processing package oracle-java7-installer (--configure):  subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing:  oracle-java7-installer E: Sub-process /usr/bin/dpkg returned an error code (1)   How do I fix this error? I did a fresh installation of Ubuntu 16.04. Using special auto start servlet to initialize on startup and share application data Area 51 layout breaks when zoomed to 90% Can a lingering injury that requires "magical healing of 6th level or higher" be healed by an upcast lower-level spell? The  table in the DMG (p. 272) contains some wounds that can only be fixed by powerful healing magic, for instance:     Horrible Scar. You are disfigured to the extent that the wound cannot be easily concealed. You have disadvantage on Charisma (Persuasion) checks and advantage on Charisma (Intimidation) checks. Magical healing of 6th level or higher, such as heal and regenerate, removes the injury.   Can the necessary magical healing described here be a lower-level spell (such as cure wounds) that is upcast to 6th level? Or must it be a healing spell that is already 6th level or above before upcasting?