Is it possible to get PdfEdit running on Ubuntu 12.10 using qt3to4?
How do I install pdfedit?
How to reshape data from long to wide format Which document class is being used? Is there a way to programmatically determine which document class is in effect?  I'd like to be able to write conditional macros that behave differently depending on which document class is currently being used. Adding values to a picklist using apex Big-O Notation Proof Given the definition of Big-O, prove that $f(n) = n^2 - n$ is $O(n^2)$.  When I use the given definition, I get $n^2 - n \leq n^2 - n^2$ which means that $n^2 -n \leq 0$, which is not true. Is there some step I'm missing? Split a string by a delimiter in python Definite Integral: $\int_0^1\frac{x^{2} -1}{\log x}\,dx$ How to figure out the following integral? I have not been able to solve it from some time. $$\int_0^1\frac{x^{2} -1}{\log x}\,dx$$ JavaScript raises SyntaxError with data rendered in Jinja template Ways of getting three of a kind in a 52 card deck This question has probably been asked before, but just to be clear here, I am NOT asking for the answer, I know the answer.  What i want to know is why my solution is not equivalent to the actual solution.  Three of a kind in a deck means you draw 3 cards of the same rank, and 2 other cards each of different ranks.  So. The solution in my book is the following: (13 C 1)(4 C 3) * (12 C 2)(4 C 1)(4 C 1)  The logic is the following:  1) Choose 1 out of the 13 ranks, then for the 4 cards in the chosen rank, pick 3.  2) Choose a combination of 2 ranks from the remaining 12, then for the 4 cards in each rank, choose 1.  Total combinations: 54912  My solution is the following:  ((13 C 1)(4 C 3)) * ((12 C 1)(4 C 1)) * ((11 C 1)(4 C 1))  1) My logic for the 3 of a kind is the same as the solution.   2) Choose 1 of the remaining 12 ranks, and 1 card from the 4 cards in the rank.  3) Choose 1 of the remaining 11 ranks, and 1 card from the 4 cards in the rank.  Total combinations: 109824  My solution says that the combinations are exactly double of the book's solution.  I'm just very confused as to why this is. If anyone could explain this to me I would be very appreciative, thank you. LaTeX seems to be having problems handling nested optional arguments. I've included a minimal code example that generates the error:  \documentclass[12pt,oneside]{book} \begin{document}  \newcommand{\termbad}[2][]{#2#1} \newcommand{\termgood}[2][]{#2#1}  \newcommand{\up}[1]{#1} \newcommand{\dd}[1][]{#1}  \termgood{\up{Tart}}{Pop} \termbad[\up{Tart}]{Pop}      \termgood{\dd[Tart]}{Pop} \termbad[{\dd[Tart]}]{Pop} %\termbad[\dd[Tart]]{Pop}   \end{document}   If you run this code, it works. If you remove the % in the second to last line, it fails with:  Runaway argument?  Tart{Pop} \par \par \end {document}  !File ended while scanning use of \dd.   After further tinkering, I have discovered the problem: LaTeX is reading the ] for the inner optional argument as the end of the outer optional argument and then passing a malformed argument in. So it is passing in \dd[Tart as the optional argument to \termbad instead of \dd[Tart].  This still feels like a bug to me. Nesting braces in arguments works, brackets should as well. The following are workarounds:   Enclose the inner optional argument in braces (as in the line before %). Redefine your inner function to require its argument instead of using optional arguments. Redefine your outer function to require its argument instead of using optional arguments.   Any one of the three works around the issue.  (Reposted here; question was originally posted to stackexchange and then closed instead of being migrated.) How do I set up a supply line? In chapter 1, of Landau-Lifshitz Mechanics' book, Landau through isotropy and homogeneity of space and homogeneity of time proves that the Lagrangian must depend of magnitude of velocity of the particle.  This seemed fine. But he didn't give a reason as to why it must depend of $|v|^2$ and not on some $|v|^n$ where $n\neq2$. Textarea CSS issue on "needs moderator attention" To reproduce:   Click Flag (question or answer) Click other (needs moderator attention)   The textarea is too wide:  StackOverflow        AskUbuntu        StackExchange        Most probably affects other sites, but didn't check. I think it's enough. :-)  Reproducing on:   Chromium Version 40.0.2214.111 Ubuntu 15.04 (64-bit) Google Chrome Version 41.0.2272.76 (64-bit) Firefox 36.0   (I'm using Ubuntu 15.04) Every word is marked as misspelled in TeXstudio Why is that most of the words, almost 90 percent, are marked as misspelled words when there is no error? And the spellchecking suggestions don't even look like English.  I am using TeXstudio as my editor. What is $\lim_{n\to \infty}\sum_{k=1}^n \left(\frac{k}{n}\right)^n$? I'm asked to find $\displaystyle\lim_{n\to \infty}\sum_{k=1}^n \left(\frac{k}{n}\right)^n$.  It seems that the sum converges.  I managed to prove that $\forall n,1&lt;\sum_{k=1}^n \left(\frac{k}{n}\right)^n&lt;e$  But I don't know how to prove convergence, nor find the value of the limit. Hero rescues a minor deity, granted a wish of small value; gets a girl As a high school student just starting in science fiction, I read a short story collection in paperback that included this story – not quite a short-short, but not very long either.  I think that it was written by a familiar author, since the collection was one of those “Best Of…” anthologies.    Our hero is a sympathetic young guy trying to get ahead, in love with a beautiful neighbor, but hopeless in love.  He rescues a miniature Minor Deity (and I've forgotten the mechanism – rescued from a cat perhaps?) and gets a wish in return.  The catch is that since this is only a minor deity, the value of the wish is small – and I forget the actual value, perhaps $2.49.  He asks for help winning at the races to help get the girl – and the minor deity says sure, but the payoff can only be $2.49.  How about help rescuing her from a calamity like an earthquake?  Sure, but the total damage can only be $2.49. Other alternatives are discussed, but the value can only be $2.49. Frustrated, our hero thinks about the problem, but the Minor Deity thinks he has a solution.    Later that evening, the girl knocks on the door, he opens it to her welcoming arms, and the night passes.  The next morning, our hero finds a small clipping on the floor, an article stating the latest estimates of the total value of the elements in the human body were… $2.49.  (The whole story was building to that punch line.) Proof of Convergence: Babylonian Method $x_{n+1}=\frac{1}{2}(x_n + \frac{a}{x_n})$ Can I get from Gatwick airport to London by Oyster card? I read many contradictions as to whether one can use a Oyster card from Gatwick Airport to central London.  What is the most time-efficient way to go from Gatwick to "Old Billingsgate" (Monument tube station is nearby)? Public transportation is preferred over taxi. If a graph with $n$ vertices and $n$ edges there must a cycle? Media keys behaving like function keys Can one executable be both a console and GUI application? I want to make a  program that can be run as a CLI or GUI application depending on what flags are passed into it. Can this be done?  I have found these related questions, but they don't exactly cover my situation: