How to install package
How can I manually install a package on MiKTeX (Windows)
Disable chat migration notification if one of the users has insufficient rep? I have gcc 7.3.0 on Ubuntu 18.04. But I am working on a project where I need gcc less than version 6. When I tried to install gcc 5.4 using sudo apt install gcc-5.4, I got this error:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package gcc-5.4 E: Couldn't find any package by glob 'gcc-5.4' E: Couldn't find any package by regex 'gcc-5.4'     What is the appropriate way to install gcc 5.4? Flagging summary improvement: filters Here is my flagging summary on SU:   Your flagging history   32 posts flagged as requiring moderator attention    2 are waiting for review   3 were marked valid   1 were marked invalid   (older flags were not recorded valid/invalid)    2 posts marked as spam    It is too complicated to look for invalid flags. Would it be possible to make filters on the top of the page (like on favorites for example) with:  By date, By type (off-topic, spam, dupes), By status (accepted, pending, rejected)  It would make it easier for reviewers to check their flagging and eventually know what to improve on.  Or is there another easy way to audit this? I'm working on this problem from Elementary Analysis by Ross which is intuitive when sketched but keeps stymieing me when I try to write it out.  Let $f$ be a continuous function on $[a,b] \subset \mathbb{R}$. Define $f^\star (x)$ as:  $$ f^\star(x) = \sup \{f(y)\mid a \leq y \leq x \} $$ Prove that $f^\star$ is a continuous increasing function on $[a,b]$.  Things I've figured out: (these are mostly trivial)   $f$ is uniformly continuous on $[a,b]$. Since $[a,b]$ is closed and bounded there exists some $c \in [a,b]$ such that $f(c) \geq f(x)\ \forall x \in [a,b]$. (In words: the supremum is actually attained.) If $c \in [a,b]$ is as above, then $f^\star$ is constant (and hence continuous) on $[c,b]$ (which is possibly a singleton).   This seems completely obvious when you actually draw a continuous function but translating that to a formal proof eludes me... Proving that an integral domain has at most two elements that satisfy the equation $x^2 = 1$. Using find with grep, one can locate files that match a pattern:  # find | grep error ./solr-modifiedSolr4/SolrPhpClient/phpdocs/errors.html ./error_log ./includes/classes/error_log   However, using find alone the first file is not found:  # find . -name error* ./error_log ./includes/classes/error_log   Why doesn't find locate the errors.html file when not used with grep? How is find used to show this file as well? $n &gt; 2$ and $n$ is a prime number then $n$ is odd.  Prove by contradiction assume $n$ is even then there is some $k\in\Bbb N, n = 2k$ then $n &gt;2, 2k &gt; 2 , k &gt; 1$  Is this  a sufficient proof? I frequently login to a server, then cd into a specific directory. Is it possible to simplify these two commands into one?   ssh bob@foo   cd /home/guest   I'd like to avoid changing anything on 'foo' if possible, as I'll have to clear it with the server administrator. I use bash, but I am open to answers in other shells. How do I cash a USD cheque in Europe, quickly? I'll receive a USD cheque shortly. I prefered payment by money transfer, but all attempts to do so - i.e. SWIFT/IBAN, Payoneer, transferwise - failed. Now I will receive a cheque by mail.  I contacted my bank and they say that they can cash a cheque for me, given a (prob hefty) fee. The bank employee was so kind to warn me, that in case of a cheque the funds are cashed, but reserved until the legal reimbursement period ends, which apparently is between 3 and 6 months.   Is there really no quicker way to receive payments by cheque and have access to the funds quickly? Powershell Rename Multiple Files with LastWriteTime Prefix I am trying to put together a Powershell script that will:  -Search recursively from a root directory -Exclude files with existing "yyyyMMdd " file name prefix -Rename the files not excluded above with ""yyyyMMdd " file name prefix based on their specific LastWriteTime  Note: ideally, this script should include all file type extensions  I have tried myself, but it would seem to be above my head, as my attempts are not going well.  Thanks, in advance.    #StampMe.ps1 param( [string] $fileName)  # Check the file exists if (-not(Test-Path $fileName)) {break}  # Display the original name "Original filename: $fileName"  $fileObj = get-item $fileName  # Get the date $DateStamp = get-date -uformat "%Y-%m-%d@%H-%M-%S"  $extOnly = $fileObj.extension  if ($extOnly.length -eq 0) {    $nameOnly = $fileObj.Name    rename-item "$fileObj" "$nameOnly-$DateStamp"    } else {    $nameOnly = $fileObj.Name.Replace( $fileObj.Extension,'')    rename-item "$fileName" "$nameOnly-$DateStamp$extOnly"    }  # Display the new name "New filename: $nameOnly-$DateStamp$extOnly"   I am hoping to change the line:  $DateStamp = get-date -uformat "%Y-%m-%d@%H-%M-%S"   To be LastWriteTime instead of get-date, but I have no idea how to make this happen.  This code (from another Super User question):  Get-ChildItem "Test.pdf" | Rename-Item -newname {$_.LastWriteTime.toString("yyyyMMdd") + " Test.pdf"}   ...successfully renames a single file, but I can't seem to integrate this into the larger script.    With regards to running the above recursively, I have tried this (also from ):  foreach ($file in get-ChildItem *.* -recurse) { ./StampMe.ps1 $file.name }   Which succeeds to apply the PS script to files in the root directory, but fails to apply to any files in the sub-folder tree that propagates from the root directory. If tenured staff are virtually unsackable, why is the drive to find funding so strong? Alternative of `route -n` of Linux in Mac How can I see the list of routes and its corresponding gateway in a Mac ? The command in linux is route -n .  For a particular IP address, I am able to get the routes for an particular IP address via route get 10.0.0.0. How to find out if my system is i386 or x86_64 before installing Ubuntu? I am using Windows as of now and want to install Ubuntu. I want to find out if my system is i386 or x86_64? How do I do that? How do I remove objects after building them, for example a fence that I placed without taking into account its orientation? I have right clicked on it like you would a structure but nothing happened. I have also tried Shift+Alt+Click and nothing has happened. I couldn't think of any other solutions as this is my first game. Calculating large Bell number modulo a composite number How to retrieve and display images from a database in a JSP page? I'm studying measure theory and two question came to my mind:        If $f:\mathbb{R}\to\mathbb{R}$ is monotone and $B\subseteq\mathbb{R}$ is borel, is the image $f(B)$ borel?   If $f:\mathbb{R}\to\mathbb{R}$ is a monotone function (say, non-decreasing), does there exist a sequence of continuous functions $f_n:\mathbb{R}\to\mathbb{R}$ converging pointwise to $f$?      Here's the motivation for those questions: Let $(X,M)$ and $(Y,N)$ be measure spaces.   It's known that if $\mu$ is a measure on $(X,M)$ and $f:X\to Y$ is measure, then we have the pushforward measure $f_*\mu(A)=\mu(f^{-1}(A))$ on $(Y,N)$. What if we were to define a "pullback measure"? Given a function $f:X\to Y$ such that $f(M)\subseteq N$ (i.e. $f$ maps measurable sets to measurable sets) and a measure $\nu$ on $N$, the natural formula would be $f^*\nu(A)=\nu(f(A))$. So we ask if is there a good amount of functions which map measurable sets to measurable sets in $\mathbb{R}$, and monotone functions seem like good candidates (for strictly monotone, continuous functions, the result is valid and there are several answers on the web). If this were true, maybe we could use some convergence argument to solve the problem above. Is there any way to import a .json model into Blender? I need to find a way to import some .json models into Blender, and it seems I can't just import them the same way I can import a .obj model. So is there some way to convert a .json model to a .obj model, or another file type Blender can import? I've tried using Blockbench for this, but I think it only works with Minecraft recourse pack .json models, as those are the only models that will ever actually load in it. Thank you to anyone who can help me figure this out. Interpreting plot.lm() I had a question about interpreting the graphs generated by plot(lm) in R.  I was wondering if you guys could tell me how to interpret the scale-location and leverage-residual plots?  Any comments would be appreciated.  Assume basic knowledge of statistics, regression and econometrics. In Heaviside-Lorentz units the Maxwell's equations are:  $$\nabla \cdot \vec{E} = \rho $$  $$ \nabla \times \vec{B} - \frac{\partial \vec{E}}{\partial t} = \vec{J}$$ $$ \nabla \times \vec{E} + \frac{\partial \vec{B}}{\partial t} = 0 $$ $$ \nabla \cdot \vec{B} = 0$$  From EM Lagrangian density: $$\mathcal{L} = \frac{-1}{4} F^{\mu \nu}F_{\mu\nu} - J^\mu A_\mu$$   I can derive the first two equations from the variation of the action integral: $S[A] = \int \mathcal{L} \, d^4x$. Is it possible to derive the last two equations from it?