I had installed Photoshop under Playonlinux , but i got a problem with fonts in the dialog; for example when i want to create a new PSD document as shown:    I had searched in google for a solution , and i had seen many people said that they resolved the problem by installing Microsoft fonts but i din't find it.
When I install "Installer for Microsoft TrueType core fonts" (ttf-mscorefonts-installer) from the Software Center on 14.04, it gives a positive response--but after this I get a download error. It seems that the files actually providing the fonts are never retrieved. Is there any way to resolve this?
How to redirect a URL to a custom IP address? I have an Ubuntu machine that I'm using as my home Internet router.  It uses a USB mobile broadband modem as its Internet connection, and shares this with another router (via the router's "Internet" port) which I use as my LAN.  How do I redirect requests from within my LAN for a given URL to a custom IP address (ex have google.com redirect to x.x.x.x)? How do I load the contents of a text file into a javascript variable? I have a text file in the root of my web app  and I'd like to load it into a variable in javascript.. in groovy I would do this:  def fileContents = 'http://localhost/foo.txt'.toURL().text; println fileContents;   How can I get a similar result in javascript? In English, the number 0 is treated as plural. It is then:   0 seconds 1 second    1.2 seconds   2 seconds     Shouldn't it be "nobody want to go there," instead of "nobody wants to go there"?  I also saw in TOEFL that "any __" should be used with a singular.  But I see it very common that it is a plural also.  Why is that?  (updated: example, "we don't have any apples any more" vs "If you get any apple, please let me know.") Function with limits only at irrational points This is the starred example 5.1.8 in Krantz' Real Analysis and Foundations.     Give an example of a function $f: \mathbb{R} \rightarrow \mathbb{R}$ so that $\lim_{x\rightarrow c} f(x)$ exists when $c$ is irrational but does not exist when $c$ is rational.   I'm aware of the Dirichlet and Thomae functions but this seems slightly different. I'm not even sure a solution exists. Thanks for any help! I tried to follow the new Blender 2.8 tutorial from Blender Guru.   When entering "Sculpting" with the icing there were suddenly alot of holes in it. Why is this? How to solve this probability problem analytically (instead of using simulation)? Probability of Bill wins the game if he goes first How do I work with the Card Layout in the NetBeans GUI builder? Using Label Expression with Text Formatting Tags and Ampersand I need help to solve following problem from Rudin's Mathematical analysis book:    Convergence of the series $\sum a_n$  implies the convergence of $\sum \dfrac{\sqrt {a_n}}{n}$, if $a_n&gt;0$  I tried to construct a suitable convergence sequence $b_n$ such that $\sum b_n$ converges and $a_n \leq b_n$ but, I am not able to find such sequence $b_n$ .  Thanks for the help and sugestions. This question is pretty simple: I'd like to have the possibility to get the exact size of a picture in LaTeX with, for example, the macro \the.  In fact, I've founded the way \settoheight{} and so on, but it didn't work at all. What I've got doesn't match with what I can see in the image properties (I suppose that's the name in English). The result: 8pt versus 1300 pixels. It's may be a mis-use...  Edit: In the end, my aim was to find a way to fit the picture in LaTeX. If width and height were both less than the dimensions of the body, then it should just be centred. It look like this :     Require:   \usepackage{graphicx} \usepackage{xifthen} \usepackage{calc}   Code (pretty ugly, I agree):   % Centrering+fitting for image, with captation and label (not auto) \newlength\imageheight \newlength\imagewidth \newcommand{\pic}[3]{% \settoheight\imageheight{\includegraphics{pictures/#1.png}}% \settowidth\imagewidth{\includegraphics{pictures/#1.png}}% \ifthenelse{\lengthtest{\imagewidth &gt; \textwidth}}{\ifthenelse{\lengthtest{\imageheight &gt; \imagewidth}}{\par\vspace{0.95em}% \begin{figure}     \centering\includegraphics[height=0.85\textheight]{pictures/#1.png}     \caption{#2}     \label{#3} \end{figure}% \par\vspace{0.95em}}{\par\vspace{0.95em}% \begin{figure}     \centering\includegraphics[width=0.95\textwidth]{pictures/#1.png}     \caption{#2}     \label{#3} \end{figure}% \par\vspace{0.95em}}}{\ifthenelse{\lengthtest{\imageheight &gt; \textheight}}{\par\vspace{0.95em}% \begin{figure}     \centering\includegraphics[height=0.85\textheight]{pictures/#1.png}     \caption{#2}     \label{#3} \end{figure}% \par\vspace{0.95em}}{\par\vspace{0.95em}% \begin{figure}     \centering\includegraphics{pictures/#1.png}     \caption{#2}     \label{#3} \end{figure}% \par\vspace{0.95em}}}} %   To use it : put your png files in a "pictures" directory, then, just simply call the picture like this : \pic{name_whitout_extension}{Captation_if_needed}{Label_if_needed}.    Edit 2 :   Thanks to Martin Scharrer's easyfig package, I've got a more or less 1,6 times faster solution to put my pictures, centred, with the perfect size.  CTAN:   VC:   Version v1.2 – 2012/05/15    This could be useful for some others, I hope. Let $V=\{f : S \to \mathbb{R} \}$ be the set of all the functions $f : S \to \mathbb{R}$. Let $S=\{ 1,2,...,n$}, now my train of thought was that the basis of V must be a linearly independent set that Span V so somehow show that there is a set of functions on S that can compose as a linear combination and map to any number in $\mathbb{R}$. Any idea how to get a general answer for basis for dimension of V? Why is $(2, 1+\sqrt{-5})$ not principal? Why is $(2, 1+\sqrt{-5})$ not principal in $\mathbb{Z}[\sqrt{-5}]$?   Say $(2,1+\sqrt{-5})=(\alpha)$, then since $2\in(2,1+\sqrt{-5})$ we have $2\in (\alpha)$, so $\alpha\mid2$ in $\mathbb Z[\sqrt{-5}]$. Writing $2=\alpha\beta$ in $\mathbb Z[\sqrt{-5}]$ and taking norms, $4=N(\alpha)N(\beta)$ in $\mathbb Z$, so $N(\alpha)\mid4$ in $\mathbb Z$. Similarly, since $\sqrt{-5}\in(\alpha)$ we get $N(\alpha)\mid5$, thus $N(\alpha)$ is a common divisor of $4$ and $5$, therefore $N(\alpha)=(1)$, so $\alpha$ is a unit. But that means $1\in (2,1+\sqrt{-5})=(\alpha)$, so it must be the whole ring, but it cannot to reach a contradiction, so how can I find an element, which is not in $(2, 1+\sqrt{-5})$.  Or is there a simpler method ? (Maybe not UFD would imply not PID) How can I make something that looks like this?  --------   Text   ---------  where the horizontal rules extend to the margin on either side? Custom URL Hack - anybody know how can i find the fields IDs from "User" object? Most people know the famous equation:    What were his steps of thinking for this equation that helped us discover so much about our world? I saw this in Basic Topology by M.A.Armstrong. It gives three descriptions of real n-dimensional  projective space $P^n$. Two of them are:  (a) Begin with the unit sphere $S^n$ in $E^{n+1}$ and identify its antipodal points.  (c) Begin with the unit ball $B^n$ and identify antipodal points of its boundary sphere.  I find it hard to imagine why these two descriptions lead to the same space.  Can you please help? Thank you. Where do I ask a question about copyright? Is there a GUI IDE for programming python just like java has netbeans?  I wanted one where we could drag &amp; drop test boxes &amp; labels just as we do in swing components using netbeans or eclipse.  Or is there an add-on present in either netbeans or eclipse itself? I have a generic class in my project with derived classes.  public class GenericClass&lt;T&gt; : GenericInterface&lt;T&gt; { }  public class Test : GenericClass&lt;SomeType&gt; { }   Is there any way to find out if a Type object is derived from GenericClass?  t.IsSubclassOf(typeof(GenericClass&lt;&gt;))   does not work. Making adult decisions "is" or "are" really not fun: Which is correct? Making adult decisions are/is really not fun.     What is the proper answer and why? My gut says "is" but I can't explain why.