I've been trying for several days to get this to work, but i haven't been successful yet. I'm new to latex and I don't have a very good idea of what I'm doing, which is why I'm using LyX.   I put the hmcpset.cls file in the directory /usr/local/texlive/texmf-local/tex/latex/Max's classes. I think the MacTex distribution uses TEX Live Utility for managing packages, so that's where I'm looking to find hmcpset. But hmcpset doesn't show up in available packages inside TEX LIVE.  Is there a way to let TEX Live know where I put a new .cls files?  Once TEX Live, or whatever the package manager is, knows where the .cls file is, will I be able to use the hmpcpset class in LyX?
I've searched online, but I have not found any clear instructions how to permanently add .sty files to my TeXShop installation. I'm using a Mac with OSX (TeXShop is a mac only program).  What is the best way of doing this? The one comprehensive set of instructions I found .   I've got as far as extracting the files (running LaTeX on the .ins and . dtx files) but after that I don't know what to do. I also don't understand how to update the index of my distribution, and whether there are particular OSX specifics (the instructions are for Windows).
How do you mark a struct template as friend? Anamorphic Perspective in Illustrator or Photoshop? When will my phone get the Android 2.3 update (Gingerbread)? In a P.I.D., if $a^m = b^m$ and $a^n = b^n$ for $m, n \in \mathbb{N}$ with $\gcd(m,n) = 1$, then $a=b$ Let $R$ be a principal ideal domain, and $a, b \in R$ with $a^m = b^m$ and $a^n = b^n$ for $m, n \in \mathbb{N}$, and $\gcd(m, n) = 1$. I now want to show that we then already have $a = b$.   I think the statement is easily seen to be true if $a = 0$ (or $b = 0$), since if $a = 0$ and $a^m = b^m$, then $a = b$ since $R$ doesn't contain any nontrivial zero divisors, so $b ≠ 0$ already implicates $b^m = b \cdot b^{m-1} ≠ 0$.  I don't really know how to prove the statement for the general case, where I can't directly apply the fact that $R$ doesn't have any zero divisors except $0$. I most likely have to use the fact at some point that $gcd(a, b) = 1$, but I'm not sure how. In the Futurama episode "" they save the world by rotating the Earth backwards saying it shouldn't matter (which direction Earth rotates). If Earth rotated clockwise and remained in it's current counter-clockwise orbit around the Sun, would it affect anything beyond the direction the constellations move across the sky? Layers with different directional drop shadows in Photoshop I am wondering how to have 2 different directional drop shadows in the one file with Photoshop. e.g. 2 different type layers — one has a drop shadow at 90 degrees, the other at -45 degrees.  Currently it seems Photoshop only lets me have 1 universal direction for the whole file, which I find really pointless.   I know how to apply different drop shadows and merge down layers to achieve the same thing, but its tedious and not exactly streamlined for making future changes to that layer.  How is this achieved? To show that Fermat number $F_{5}$ is divisible by $641$. How can I show that  $F_{5}=2^{2^5}+1$ is divisible by $641$. Evaluate $$\int \frac{2-3x}{2+3x}\sqrt\frac{1+x}{1-x}d x$$ What substitution should I use ? $\sqrt\frac{1+x}{1-x}$ suggests $x=cos2\theta $ but its not useful in $\frac{2-3x}{2+3x}$ Why does input capacity of an opamp increase noise gain? On the image below you can see an inverting amplifier with input capacity C1 and capacity C_F for general stability.     Now my book shows me following frequency plot:  A_n ... Noise-Gain  A_D ... open-loop gain  A_U ... V_out / V_in --> inverting amplifier gain     You can clearly see that C1 is increasing the noise gain at some point. And C_f is stabilizing A_n and A_U.   But why exactly does C1 increase the noise gain exactly? Switching to HTTPS - redirect question I'm working from the URL I found here:    My ssh client is Ubuntu 64 bit 11.10 desktop and my server is Centos 6.2 64 bit. I have followed the directions. I still get a password prompt on ssh.  I'm not sure what to do next. Why don't we feel the subtle speed change of Earth's elliptical orbit? Earth's orbit is a slight ellipse, so to conserve momentum its speed increases when it is closest to the Sun. If the speed changes there is an acceleration. If there is an acceleration there is a force. Even if the change is small and gradual, wouldn't we experience a force because the Earth is so massive? When I'm editing a stack snippet, I often want to copy code from the original question into the snippet. But while the snippet editor is on display, there's no way to access the question, other than opening another tab/window. What I often do instead is copy all the code in the question to the clipboard, open the snippet editor, then paste it all in and revise it to what I want. But when the original code is poorly designed, that ends up being more work than just copying the bits and pieces that I want.  There could be a "View Question" button that pops up the question over the snippet editor and allows copying. Or maybe the Snippet Editor could be draggable and resizable, so you can reveal the question and copy from it; but this would require that it not be purely modal. Prevent malicious bots from posting spam I remember  due to misuse and I wonder if bots have a part of it. If the bot is POSTing something to my site what are ways I can combat it? I was thinking of setting some cookies and having the cookies changed via JavaScript + timestamp and sign (so yesterday's cookies can't be used today and next week).  I'm sure most people/bots would just use another site instead of enabling JavaScript in their bot.  What else can I do? I'm thinking daily POST limit and a honeypot for generic bots who just randomly post spam. Can a professor influence the graduate admissions committee if he or she is interested in a particular student? Here's a situation that came up during a back lot league softball game a few weeks ago. (Note: While our league has some of its own rules we try to defer to MLB rules in all causes that aren't specifically addressed.)  There is a runner on second (R2) and a runner on first, with no outs. A ground ball is hit to the third baseman (3B) who cleanly fields the ball away from third base. Seeing that R2 is running toward him, 3B does not go to third and instead waits to tag the incoming R2. R2, in an attempt to buy some time for the other runners, stops advancing to third base. As soon as R2 stops, 3B declares R2 is out (without making a tag) and throws the ball to first to make a play.  During the discussion after the play, the 3B claimed that any player advancing on a force cannot stop moving toward their next bag or they are automatically out (the same way a runner leaving the baseline to avoid a tag is considered out). Our rules don't have a specific clause that addresses this situation and I couldn't find anything in official MLB rules (though it's possible I missed something, as 3B claims it is an MLB rule).  So, is 3B’s claim correct? That if a runner who is forced to advance to their next base stops (in particular to avoid/delay a tag) they are automatically out? I have CSV data loaded into a multidimensional array. In this way each "row" is a record and each "column" contains the same type of data.  I am using the function below to load my CSV file.  function f_parse_csv($file, $longest, $delimiter) {   $mdarray = array();   $file    = fopen($file, "r");   while ($line = fgetcsv($file, $longest, $delimiter))   {     array_push($mdarray, $line);   }   fclose($file);   return $mdarray; }   I need to be able to specify a column to sort so that it rearranges the rows.  One of the columns contains date information in the format of Y-m-d H:i:s and I would like to be able to sort with the most recent date being the first row. As we know a first order theory $T$ is finitely axiomatizable if there is a finite set $F\subseteq T$ of axioms such that $F\vdash \sigma$ for every $\sigma \in T$.   How we can prove if $\mathsf{ZF}$ is consistent, then $\mathsf{ZF}$ is not finitely axiomatizable? By using the Reflection Theorem or any other if we could use? Duplicated Onedrive icon in explorer I've installed windows 10 on a new pc, with a secondary hard disk containing my onedrive folder, taken from my old pc. I've configured onedrive in order to use that folder, and it's working fine.  The problem is that when I open Explorer I can see two onedrive icons on the sidebar, both of them pointing at the same folder.  How can I remove the duplicated onedrive entry from the sidebar? This is a problem from Rudin's Functional Analysis:  Show that there is a sequence of functions $\{ f_n \}$ in $X$ (the vector space of all complex functions) such that $f_n \to 0$ pointwise, but if any sequence $\{ \gamma_n \}$ tends to $\infty$, $\gamma_n f_n \not\to 0$.  The hint says to use the fact that the collections of all complex sequences converging to $0$ has the same cardinality as $[0,1]$. Honestly, this confused me more than it helped me.  My main issue is through the method of showing existence: I am not sure if I should attempt to construct an explicit sequence $f_n$, or if I need to appeal to other nonconstructive means such as Zorn's Lemma, etc. I have been trying to construct clever choices of sequences for a good bit now, but it always seems like I will be able to find a sequence that diverges slowly enough to allow that $\gamma_n f_n \to 0$.   Thanks!