Cannot launch the Calibre ebook reader? Why isn't calibre starting below? nicholas@mordor:~$  nicholas@mordor:~$ sudo apt install calibre Reading package lists... Done Building dependency tree        Reading state information... Done calibre is already the newest version (4.99.4+dfsg+really4.12.0-1build1). The following packages were automatically installed and are no longer required:   linux-headers-5.4.0-51 linux-headers-5.4.0-51-generic linux-image-5.4.0-51-generic linux-modules-5.4.0-51-generic   linux-modules-extra-5.4.0-51-generic Use 'sudo apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 232 not upgraded. nicholas@mordor:~$  nicholas@mordor:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 20.04 LTS Release:    20.04 Codename:   focal nicholas@mordor:~$  nicholas@mordor:~$ calibre Traceback (most recent call last):   File &quot;/usr/bin/calibre&quot;, line 20, in &lt;module&gt;     sys.exit(calibre())   File &quot;/usr/lib/calibre/calibre/gui_launch.py&quot;, line 73, in calibre     main(args)   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 543, in main     listener = create_listener()   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 514, in create_listener     return Listener(address=gui_socket_address())   File &quot;/usr/lib/calibre/calibre/utils/ipc/server.py&quot;, line 110, in __init__     self._listener._unlink.cancel() AttributeError: 'NoneType' object has no attribute 'cancel' nicholas@mordor:~$   It's always run fine in the past, although I don't recall running it from this machine on which Ubuntu was recently installed.
Calibre No Longer Working Calibre stopped working recently. Tried uninstalling and reinstalling. When I open a terminal and call $calibre I get the following error message: Traceback (most recent call last):   File &quot;/usr/bin/calibre&quot;, line 20, in &lt;module&gt;     sys.exit(calibre())   File &quot;/usr/lib/calibre/calibre/gui_launch.py&quot;, line 73, in calibre     main(args)   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 543, in main     listener = create_listener()   File &quot;/usr/lib/calibre/calibre/gui2/main.py&quot;, line 514, in create_listener     return Listener(address=gui_socket_address())   File &quot;/usr/lib/calibre/calibre/utils/ipc/server.py&quot;, line 110, in __init__     self._listener._unlink.cancel() AttributeError: 'NoneType' object has no attribute 'cancel'  Do I need to install some dependency that the sudo apt install didn't get? I tried installing via command line and the software installer/updater GUI. I'm on version Ubuntu 20.04.1 LTS. I made sure that my software in general is up to date also.
How can I know if a branch has been already merged into master? I have a git repository with multiple branches.   How can I know which branches are already merged into the master branch? Possible Duplicate:             According to , Win 7 only supports 4 GB of RAM. I, however have been reading some forums and some say they are using 8 GB RAM with good performance. I am wondering if I can use 8 GB before I purchase. Limiting range of value types in C++ Probability of two uniform random numbers being more than $\frac{1}{2}$ apart Two numbers are chosen randomly and independently from the unit interval $(0,1)$.  What is the probability that they differ by more than $\frac{1}{2}$? Hint: Think of the $2$ numbers chosen as coordinates in the Cartesian plane. Draw a square with vertices at $(0,0)$,$(1,0)$,$(1,1)$, and $(0,1)$. Allowable choices for the $2$ points lie below the line $y=x-\frac{1}{2}$ or the above $y=x+\frac{1}{2}$. Find the combined area of these regions.  I need help on this. I know what $y=x-\frac{1}{2}$ and $y=x+\frac{1}{2}$ looks like but I am not understanding the problem as a whole I remember reading this as a kid and it starts out with:   a boy in his home village where the other kids are mean to him during sports and they heat up their home with floating logs or something.   The kid is being hunted by some reaper character and that reaper finds him at a place called "The Edge" or something similar.   He buys a glove covered in an expensive dust that purifies things and is really rare.  In one book they had to climb down the edge for some reason.  There was another part where people only communicated telepathically and when sneaking into somewhere he only thought of light.  One of the main things is the floating ships and how he is really good at flying them and he assembles a team for a mission or something.  There is like float powder and stuff.  I read this close to 10 years ago. Cannot see Samba configuration tool in the Dash in ubuntu 14.04 After a fresh installation of ubuntu 14.04 (my previous installation has seen to be broken somewhere reading .wmv file with VLC), I've installed Samba GUI tool from the software center.  It briefly appears in the launchpad then disappears. From this time I cannot the see in in the dash.  I've found this in askUbuntu   but the command sudo apt-get install samba samba-common gives me nothing to install.  Lecture des listes de paquets... Fait Construction de l'arbre des dépendances        Lecture des informations d'état... Fait samba est déjà la plus récente version disponible. samba passé en « installé manuellement ». samba-common est déjà la plus récente version disponible. Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :   kde-l10n-engb kde-l10n-fr Veuillez utiliser « apt-get autoremove » pour les supprimer. 0 mis à jour, 0 nouvellement installés, 0 à enlever et 8 non mis à jour.   The following guide  has no result either.  Any idea ?  Laurent06000 Let $X, Y$ be an exponentially distributed random variables with parameters $a, b$. Then $X$ has pdf:    $$f_X(x) =\begin{cases} a e^{-a x},&amp; x\geq 0\\ 0,&amp; \text{otherwise}.\end{cases}$$ Suppose $X$ and $Y$ independent. Show that $$\mathbb P(X&gt;Y) = \frac{b}{a+b}.$$   Now I thought the following: $$f(x,y) = f_X(x)\ f_Y(y) = abe^{-ax -by},\qquad\text{for } x,y &gt; 0.$$ And then $$\mathbb P(X&gt;Y) = \int_0^\infty \int_0^x a b e^{-ax -by}\,dydx$$ However, if I solve this (manually or using Wolframalpha), I can't seem to end up with $\frac{b}{a+b}$. Any ideas? After installing Windows 10 on my  it took my user name 'Jeremy' and created a user folder named C:\Users\jerem.  I want to rename the folder C:\Users\Jeremy.  does not work. There are a couple of reasons.   OneDrive is now a fully integrated part of the OS, and it completely breaks.  A find/replace in the registry seems to work, but it's hard to be confident in that approach. When the computer is rebooted, the TabletInputService writes a TextHarvester.dat file to the old user profile location (creating it if needed). This makes it impossible to keep the folder deleted. An old  doesn't work. This issue also causes an error message to pop up every time the computer boots. error tex capacity exceeded log files added I am having a hard time figuring out where the problem is with my code/workflow. I previously posted this question , but then the same problem came straight back. When I run it in tex, I get an error input limit exceeded. The exact log is pasted below:  This is pdfTeX, Version 3.14159265-2.6-1.40.17 (MiKTeX 2.9.6210 64-bit) (preloaded format=pdflatex 2017.1.26)  26 JAN 2017 20:45 entering extended mode **./master.tex (master.tex LaTeX2e &lt;2016/03/31&gt; patch level 3 Babel &lt;3.9r&gt; and hyphenation patterns for 75 language(s) loaded. ("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls" Document Class: article 2014/09/29 v1.4h Standard LaTeX document class ("C:\Program Files\MiKTeX 2.9\tex\latex\base\size11.clo" File: size11.clo 2014/09/29 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@section=\count80 \c@subsection=\count81 \c@subsubsection=\count82 \c@paragraph=\count83 \c@subparagraph=\count84 \c@figure=\count85 \c@table=\count86 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) ("C:\Program Files\MiKTeX 2.9\tex\latex\apacite\apacite.sty" Package: apacite 2013/07/21 v6.03 APA citation \c@BibCnt=\count87 \bibleftmargin=\skip43 \bibindent=\skip44 \bibparsep=\skip45 \bibitemsep=\skip46 \biblabelsep=\skip47 ) No file master.aux. \openout1 = `master.aux'.  LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 5. LaTeX Font Info:    ... okay on input line 5. \c@maskedRefs=\count88 ("C:\Program Files\MiKTeX 2.9\tex\latex\apacite\english.apc" File: english.apc 2013/07/21 v6.03 apacite language file LaTeX Info: Redefining \BPBI on input line 129. LaTeX Info: Redefining \BHBI on input line 130. ) ! TeX capacity exceeded, sorry [input stack size=5000]. \AtBeginDocument #1-&gt;#1  l.5 \begin{document}  If you really absolutely need more capacity, you can ask a wizard to enlarge me.   Here is how much of TeX's memory you used:  641 strings out of 493333  7639 string characters out of 3139188  74825 words of memory out of 3000000  4254 multiletter control sequences out of 15000+200000  3940 words of font info for 15 fonts, out of 3000000 for 9000  1141 hyphenation exceptions out of 8191  5000i,0n,4998p,136b,36s stack positions out of 5000i,500n,10000p,200000b,50000s !  ==&gt; Fatal error occurred, no output PDF file produced!   I previously posted this question and thought I solved it but am having the same problem again.   The latex code I am trying to execute is below:   \documentclass[11pt,twoside]{article} \usepackage{apacite} \nocite{*}  \begin{document}   % title page. Edit as needed for future publications.  \title{Research Proposal} \author{Teererai Marange \\ Department of Computer Science \\ University of Auckland\\ \texttt{t.marange@auckland.ac.nz}} \date{January 26, 2017} \maketitle % end title page.    % abstract goes here \newpage \begin{abstract} Abstract goes here  \end{abstract} \newpage   % table of contents  \tableofcontents \newpage   %begin introduction  \section {Introduction} Lorem Ipsum Doremifaso   %\cite{Nedakeyword} use to cite     %references our biliography. This must go whereever we use our bibtex references  \bibliography{references} \bibliographystyle{apacite}   \end{document}   and the bib file that I am using to build the bibliography is below:   @misc{wikipedia1,   title = "Scripting language",   author = "Wikipedia",   url = {http://en.wikipedia.org/wiki/Scripting_language},   year = 2014, } What is the number of automorphisms (including identity) for permutation group $S_3$ on 3 letters? What is the number of automorphisms (including identity) for permutation group $S_3$ on 3 letters?  I believe the answer for this is 6. As we can write the group elements as below   (a)(b)(C) (ab)(c) (ac)(b) (bc)(a) (abc) (bac)   Can we generalize that for any $S_n$ onto $n$ the number of automorphisms will be $n!$ Also I cannot find this anywhere in my text, can we have a permutation $S_n$ onto $m$ where $n\neq m$? (for eg: is it possible to have a permutation group say $S_5$ on say 2 elements?) What do you call a person that won’t act? What would you call a person that just stands by and won't act? Is kind of acting like a spectator when in reality that person should do something?  I know there is a word for this because I knew what it was a few hours ago but now I can’t remember it. How to solve the functional equation $f\left(x^2+f(y)\right)=y+f(x)^2$ How to solve the following functional equation:  Find all $f:\mathbb{R}\to\mathbb{R} $ such that: $$ f\left(x^2+f(y)\right)=y+f(x)^2 $$ Holds for every $x,y\in\mathbb{R}$.  A friend gave it to me, probably its an olympiad question.  I started with the equation $f(f(y))=y+f(0)^2$ which seems to be quite helpful, but I couldn't do it effectively. How to solve it properly? What is the best way to save values (like strings) for later use? I'm fairly new to LaTeX and I'm struggling with something apparently simple, but for which I can't find a fair solution. The problem (simplified) is as follows (please take care terms used may not have the traditional meaning in LaTeX):  I need to references to files (many) throughout a text. As example, the files:  "C:/Work/this_file1.c", "C:/MoreWork/this_file1.c" and "D:/MoreWork/another_file2.h".  So, now I would like to create an "alias" to each directory and each name file so I can reference them. A "pseudocode" could be:  % Definition \alias \c_dir = C:/Work/ \alias \d_dir = D:/MoreWork/ \alias \file1 = this_file1.c \alias \file2 = another_file2.h  % Reference in text \c_dir\file1    % For referencing C:/Work/this_file1.c \d_dir\file1    % For referencing D:/MoreWork/this_file1.c \c_dir\file2    % For referencing C:/Work/another_file2.h   My first approach was using \newcommand, but that caused numerous problems due to naming limitations. (I also tried other methods like pgfkeys, but it always gets stuck somewhere!)  Can you suggest a method? How do I get started playing Dungeons and Dragons 4th edition by myself? I've been wanting to start playing D&amp;D for some time, and I was wondering how I could get started by myself with relative ease. I own the first two player handbooks, and a set of dice. (mód 1) is not copied correctly Please consider the following MWE:  \documentclass{article} \usepackage[spanish]{babel} \selectlanguage{spanish} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \begin{document} Works: áéà  Does not work: \(\pmod1\) \end{document}   The áéà text is copied correctly, but if I try to copy (mód 1) it says: (m´od 1).  Does anyone know why this happens? How is it solved?  Thanks! Using singular "they" for an animal As I know,  (not only &quot;it&quot;). Also, if a person's gender is unknown, . Is it possible to use &quot;they&quot; when we talk about a specific animal and in what context? I have a many-to many relationship between three objects. LGFProducts, PartsinProducts, and Parts. PartsinProducts is the junction object. I want to be able to get data like the names of the parts that are related to the selected LGFProduct.   I understand that parent-child relationship can only traverse one level down while grandchild-grandpa can travel 5 levels at most. What is the parent-child or child-parent in a many-to-many relationship?  I assumed that I should be traversing upwards from Parts to the junction object partsinproduct and then LGFProducts? But my friend who is not a Salesforce expert but has knowledge in CS said that I should do a parent-child query (of LGFProducts to partsinproduct) to child-parent relationship query (PartsinProduct to Parts). Or perhaps both of these options are wrong and another is appropriate.   Also, I am having a little trouble traversing for custom objects. I understand that I need to append the letter r instead of c but get confused. For example, this is my attempt at a three level upward traversal that fails.   SELECT Id, Name, Parts__r.PartsinProducts__r,LGFProducts__r.Name FROM Parts__c   Also if three levels of upward traversal are needed, could one provide an example with custom relationships? As seen above, I am having difficulty successfully querying a three level upward traversal statement for custom objects.  This is my attempt at the parent-child relationship query of LGFProduct to PartsinProducts:  SELECT Name,   (     SELECT Name     FROM PartsinProduct__r   ) FROM LGFProduct__c    I am then given this error: What is the best way to convert seconds into (Hour:Minutes:Seconds:Milliseconds) time? What is the best way to convert seconds into (Hour:Minutes:Seconds:Milliseconds) time?  Let's say I have 80 seconds, are there any specialized classes/techniques in .NET that would allow me to convert those 80 seconds into (00h:00m:00s:00ms) format like to DateTime or something? Where should looking-for-resources questions go? Questions like looking for css templates, blog templates, icons ... In general, resources (let's leave the licensing terms aside for now) which you might need when building a project of your own. Where should those questions go?  They're definitely not on-topic on Stack', SuperUser maybe although I doubt it. Webapps? Hmm, probably not.  Is there a place where they would be on-topic on the SE network? Elegant proofs that similar matrices have the same characteristic polynomial?