Ubuntu phone office abilities
Office suite on Ubuntu Phone?
titlesec: loss of section numbering with the new update (2016/03/15) After reinstalling TeXLive distribution (install-tl-20160318, Ubuntu 14.04), a issue occurs with the updated version of the titlesec package: the section numbering is lost.  What could it be missing? Is there a modification I have not seen?  Below is a MWE comparison of the two versions. The prevtitlesec package is a reinstall of the previous version (2011/12/15).  \documentclass{book} \usepackage[margin=2cm,a4paper]{geometry} %\usepackage{prevtitlesec}% 2011/12/15 version \usepackage{titlesec}% 2016/03/15 version \usepackage{lipsum}  \begin{document}  \chapter{Title of the first chapter} \lipsum[1] \section{A test section} \lipsum[4] \subsection{A test subsection} \lipsum[4] \subsection{A test subsection} \lipsum[4]  \end{document}   titlesec package 2011/12/15:    titlesec package 2016/03/15: PostgreSQL multi-column unique constraint and NULL values I have a table like the following:  create table my_table (     id   int8 not null,     id_A int8 not null,     id_B int8 not null,     id_C int8 null,     constraint pk_my_table primary key (id),     constraint u_constrainte unique (id_A, id_B, id_C) );   And I want (id_A, id_B, id_C) to be distinct in any situation. So the following two inserts must result in an error:  INSERT INTO my_table VALUES (1, 1, 2, NULL); INSERT INTO my_table VALUES (2, 1, 2, NULL);   But it doesn't behave as expected because according to the documentation, two NULL values are not compared to each other, so both inserts pass without error.  How can I guarantee my unique constraint even if id_C can be NULL in this case? Actually, the real question is: can I guarantee this kind of uniqueness in "pure sql" or do I have to implement it on a higher level (java in my case)? How to approach a student with bad hygiene? I teach engineering at a community college in the US. I currently have a student with very poor hygiene. He stinks pretty badly, has obviously greasy hair, doesn’t change his clothes frequently, and I usually seat him in the back of the room (during exams and labs, when I have power over seating arrangements) so I don’t have to smell his (relatively strong) body odor.  This student has also spoken with a colleague of mine about his low self-esteem. He’s worried that he isn’t making friends, and doesn’t know if the people he hangs out with are hanging out with him because they want something from him (help with classwork) or because they are truly friends.   In my opinion, this student follows me around like a puppy, and he tries too hard to impress people (students and faculty alike). I am a young-ish female faculty member and I try to create very large boundaries, especially with my male students. As an example, he frequently finds the need to explain to me (in way too much detail) why he gets questions wrong on exams (I don’t care, and I don’t need to know, which I’ve told him several times with no success).  So, I would like to mention to this student that his hygiene is off-putting and isn’t helping him out in the friends department. However, because he already follows me around like a puppy dog, I don’t want to encourage any more interaction from him. Additionally, it frankly embarrasses me to have to bring up hygiene issues with somebody in their late teens / early twenties. How can I bring this issue up while still maintaining my boundary as a female faculty member who doesn’t want her male students following her around and asking her for advice all the time?  I was hoping that I would be finished up with this student by now, but I am the only professor who teaches Electrical Engineering courses, so I can’t recommend that he take classes with someone else, or ask another colleague to discuss this with him. He will be taking another of my courses next semester and I don’t personally know any of his other intended professors for next semester to ask them to bring it up. I'm trying to boot Canonical's Azure 16.04 .vhd file in a VirtualBox VM and it hangs at "non blocking pool is initialized".  It works in Hyper-V, so it may only be a bug in virtual box (5.0.20). How can I take a picture with my webcam in Windows 7? I know it existed as sort of a folder in Windows Explorer in at least Windows XP, but I just can't seem to find it in Windows 7...  How can I take a picture with my webcam in Windows 7 without using any 3rd party tools? Ball swung in a horizontal circle, can the string ever by exactly horizontal to the ground? You swing a ball on the end of a lightweight string in a horizontal circle at constant speed.  Can the string ever by truly horizontal?  If not, would it slope above the horizontal or below the horizontal?  Why? How to make Unicode charset in cmd.exe by default? If $xy + yz + zx = 1$, then show that      $$\dfrac{x}{1-x^2} + \dfrac{y}{1-y^2} + \dfrac{z}{1-z^2} = \dfrac{4xyz}{(1-x^2)(1-y^2)(1-z^2)}$$   I tried doing the sum algebraically, that is, by solving the LHS but, that method isn't really getting us anywhere.  Also, I found this sum in an a book on trigonometry. So how can I solve it with trigonometry? Coefficient changes sign when adding a variable in logistic regression In my logistic regression the sign of coefficients of a variable (location distance of an amenity) changes based on other variables (with time -ve, with travel distance +ve) in the model. When the location distance is the only variable in the model, it has +ve sign.    Should the variable need to maintain the +ve sign no matter what other variables are added in the model? Does changing sign signify a multicollinearity issue? Some IVs are gaining significance while in a bivariate model, they didn't show significance and vice versa. Is it okay to add variables that don't have much significance (ex: travel distance has a significance of 0.33 individually, but 0.05 when added with other variables) but becomes significant in the model? thanks. Different Google Searches return different titles for the same page I want to include something in my LaTeX article that will make all mathematical formulae appear in black, while all text (including everything inside \text{}s in the middle of mathematical formulae) appear in red.  Ideally I would like this to be something I could include in the preamble or in a .cls file or something like that.  What would be the quickest way to do that? how to get the current chapter name, section name, subsection name, etc? How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed? Why does the road look like it's wet on hot days? Often, I'll be driving down the road on a summer day, and as I look ahead toward the horizon, I notice that the road looks like there's a puddle of water on it, or that it was somehow wet. Of course, as I get closer, the effect disappears.  I know that it is some kind of atmospheric effect. What is it called, and how does it work? Change the display scaling on the fly I'm looking for a keyboard shortcut or a CLI instruction to change the display scale on the fly. Seems there's nothing in compiz-config manager to handle this? Easy to bypass "Are You paying Attention" test by viewing question in detail I think many of us already aware, still I wanted to let you know that First Post and Late Answers review posts are generated on specific time interval. When time comes for post generation I follow some tricks   Click and till a Post appears for review Then right-click and select Open in new tab 5-8 time. Then in every page follow the below steps   Open the Question of post appeared in review in New tab If Page/Question not exists then simply downvote since post was deleted because of -ve response. Else if page exists then   Check the review post's Net Reputation If reputation is -ve then simply downvote the post came in review Else one may select No Action needed.    This way if in any case a post comes for "Are you paying attention" can be handled easily.  I think if a post comes in review should not allow to view post. I have the following diagram:    However, this looks a bit ugly, I would like a version that looks a little bit better. For example, size the last arrow such that the T_\phi is moved to the right.  This is the code which I am using to do this:  \begin{align*}   \xi \colon &amp;\lb \to \mathcal{L}(\hh)\\   &amp;\phi \mapsto T_\phi. \end{align*}   Where \lb and \hh just give the names for those spaces. Does anybody have a suggestion how I would improve the look of this function definition? How to create a link to a URL provided in a bib file with custom text Using biblatex, how can I get a URL from the bib file so that I can use it in the \href command?  I am guessing that the \usefield command is what I am looking for and that in order to use that I would need the \entrydata command. But both are undefined.  \documentclass{article} \usepackage[backend=biber]{biblatex} \usepackage{hyperref}  \usepackage{filecontents} \begin{filecontents*}{sources.bib} @online{biblatex,     url = {http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf},     urldate = {2018-02-02}, } \end{filecontents*}  \addbibresource{sources.bib}  \begin{document}      % This would work, but I don't want to duplicate the URL from the bib file:     \href{http://mirrors.ctan.org/macros/latex/contrib/biblatex/doc/biblatex.pdf}{biblatex documentation}      % Does not work because \citeurl{biblatex} is already a link, not the URL:     %The \href{\citeurl{biblatex}}{biblatex documentation}      % Does not work because \usefield and \entrydata are undefined:     %The \entrydata{biblatex}{\usefield\href{url}{biblatex documentation}}      \printbibliography \end{document} Will Stack Overflow's engine be (someday, or ever) open sourced? How to placate a very angry priest? So whilst going to rescue the Moth Priest 'Dexion Evicus', I think I accidentally might have hit him, not sure how. Anyhow the bearded maniac has taken this as a personal attack and refuses to accept a yield. Because he's so angry with me he'll just not quit, but being a quest NPC he can't die, nor can my companion Mjoll. So aside from the hilarious infinity battle, I thought, fair enough I'll talk to him whilst he's 'downed' and lo, I progressed the quest.  So I go back to the Dawnguard fortress, and he's there in the middle shouting murder and attacking everyone in the fortress! Clearly his rage knows no bounds.    Is there a way to forcibly pacify him without interring him? Or do I need to roll back and do over? How to to resize an ext4 partition from the command line? What's the easiest way to resize an ext4 partition (or any type partition depending on the method) from the command line (potentially with the fewest commands, but also the easiest to understand)?  Using a tool like Gparted is obviously easy in a GUI, but what about in the command line? I guess text-based GUIs can count for the answer too since it's technically still in the command line. It just needs to be easy.  By partition I mean a simple partition on a single disk of a personal computer (e.g. on a laptop). For example, I want to resize /dev/sda4. There's no RAIDs, there's not more than one disk drive, there's not anything complicated here. Just a simple partition on a single disk (/dev/sdaX on /dev/sda).