Listings morekeywors is no adding special caracters like ::, + etc
Colorize symbols with lstdefinelanguage in latex
iOS 11-13 - unable to paste into comments I’m able to copy-paste from any application to any application. I’m able to copy from a comment or from a question or from an answer. I’m able to paste to a question or answer. However, if I attempt to paste into a comment, nothing happens. I am able to subsequently paste into another application, confirming that the text is actually on the clipboard.   However, copying SE links will paste them successfully, but all other text - including other links - still fails. This leads me to believe that it’s a SE issue and not an Apple one.   This has been an issue since 11.0 beta and persists through iOS 13 release. Show that $\prod (1- P(A_n))=0$ iff $\sum P(A_n) = \infty$ How to explain dropout regularization in simple terms? tikz relative coordinates Suppose one defines coordinates a and b. One may draw a line connecting these two coordinates (\draw (a) -- (b)). Suppose one desires to draw a line that is shifted upward 1 unit relative to a and b. A first guess is the command \draw (a){}+(0,1) -- (b){}+(0,1). This command, however, connects the point a+(0,1) to the point b, presumably because addition is subsequent to the draw command. How does one obtain the desired result (drawing from a+(0,1) to b+(0,1)?  MWE:  \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc} \begin{document} \begin{tikzpicture}  \draw[fill] (0,0) circle (2pt) coordinate (a);  \draw[fill] (5,0) circle (2pt) coordinate (b);  \draw (a) -- (b);  \draw (a){}+(0,1) -- (b){}+(0,1); \end{tikzpicture} \end{document}     Edit: How does one draw coordinates at a point shifted relative to the arithmetic average of the coordinates of two points (something akin to \node at ($(((s1)+(s2))/2)+(0,1)$)). Using 'for' as a coordinating conjunction at the beginning of a sentence – is this acceptable? As I understand it, 'for' is a coordinating conjunction. Learning German as a second language has taught me specifics about reforming sentences, but it is an awful lot less common in English. If I were to rearrange the sentence: "I ate lunch, for I was hungry," so that 'for' was the first word of the sentence, by my reckoning I should end up with "For that I was hungry, I ate lunch." Does this new sentence have any grammatical errors? I inserted the word 'that' after 'for', because without it the sentence didn't sound right. Should I have? Is there a rule for that? Thank you in advance, an aspiring author.  Additional Information:  I am not having problems with the sentence, this is a general question to increase my knowledge of the manipulations of coordinating conjuntions. How can I SELECT rows with MAX(Column value), PARTITION by another column in MYSQL? My table is:     id home datetime player resource     1 10 04/03/2009 john 399   2 11 04/03/2009 juliet 244   5 12 04/03/2009 borat 555   3 10 03/03/2009 john 300   4 11 03/03/2009 juliet 200   6 12 03/03/2009 borat 500   7 13 24/12/2008 borat 600   8 13 01/01/2009 borat 700     I need to select each distinct home holding the maximum value of datetime. Result would be:     id home datetime player resource     1 10 04/03/2009 john 399   2 11 04/03/2009 juliet 244   5 12 04/03/2009 borat 555   8 13 01/01/2009 borat 700     I have tried: -- 1 ..by the MySQL manual:   SELECT DISTINCT   home,   id,   datetime AS dt,   player,   resource FROM topten t1 WHERE datetime = (SELECT   MAX(t2.datetime) FROM topten t2 GROUP BY home) GROUP BY datetime ORDER BY datetime DESC  Doesn't work. Result-set has 130 rows although database holds 187. Result includes some duplicates of home. -- 2 ..join  SELECT   s1.id,   s1.home,   s1.datetime,   s1.player,   s1.resource FROM topten s1 JOIN (SELECT   id,   MAX(datetime) AS dt FROM topten GROUP BY id) AS s2   ON s1.id = s2.id ORDER BY datetime   Nope. Gives all the records. -- 3 ..something exotic:   With various results. CreateService get error: ERROR_INVALID_ADDRESS (0x000001e7) I need to show the following: $$\lim_{k\rightarrow \infty} \left(1 + \frac{z}{k}\right)^k=e^z$$  For all complex numbers z. I don't know how to start this. Should I use l'Hopitals rule somehow? I’m a newbie in Python. I’m learning regexes, but I need help here.  Here comes the HTML source:  &lt;a href="http://www.ptop.se" target="_blank"&gt;http://www.ptop.se&lt;/a&gt;   I’m trying to code a tool that only prints out http://ptop.se. Can you help me please? Where such a term would reference the location/time of an object, almost like it was of a property of the object. That is to say, if a duck is red, blue, yellow etc, we describe it has having a certain colour. If it's a nanometre, or 10km big, then it's property of size.  Now I know that where/when an object exists an object isn't a property of an object, but it is something unique to that object, so I think it would be useful to have a shorthand for 'geographical location', and 'time of existence'.  There are terms describing both time and location, such an event, or rendezvous (which I think is used to describe the when and where of a meeting between two humans) but I wan't a term that just describes one of each. Print box drawing characters with pdfLaTeX I need to print some unicode characters (of box drawing family) in my document. I found this  that is very similar to mine but is valid only for XeLaTeX. There is a valid way to do this with pdfLaTeX or I have to use XeLaTeX instead? Is Firefox 57 multithreaded? According to  on MDN, Firefox 57 finally runs things in different processes.  So is Firefox 57 multithreaded?  In particular, how many cores does it use at most? Say I open 20 tabs at once on a quad-core machine, will Firefox 57 launch as many threads, or at least as many as needed to max out my CPU?  (Chromium for instance spawns a number of sub-processes and very easily uses all the resources available. Firefox up to 56 in GNU/Linux is rarely seen going over 135 % of one core however many tabs I open.) if R is a commutative ring in which all the prime ideals are finitely generated then R is Noetherian Prove that if $R$ is a commutative ring in which all the prime ideals are finitely generated, then $R$ is Noetherian.   Here is what I been told to do: Suppose that $R$ is not Noetherian, and use Zorn’s lemma to obtain a maximal element $I$ in the collection of all ideals of $R$ that are not finitely generated.  Then use the following proposition: Let $I$ be an ideal of a commutative ring $R$, and let $r ∈ R$. If the ideals $I +rR$ and {$s ∈ R : sr ∈ I$} are finitely generated, then $I$ is a finitely generated ideal.  Can anyone help please. thanks a lot. How to configure lightdm to allow manual logins in Ubuntu 14.04 I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root.  Now I've just installed the new Ubuntu 14.04 and the file lightdm.conf is no longer located in /etc/lightdm. It's in /etc/init and has been totally modified.  How can I force lightdm login screen to show a field to input a login name? According to the Wikipedia page for the , "Use of the comma is consistent with conventional practice" and "Use of the comma is inconsistent with conventional practice." Did the Oxford Comma come before its omission, or was the Oxford Comma traditionally omitted?  It makes logical sense that every item in a list would be separated in the same way: by a comma. If the Oxford Comma is conventionally correct, when and why did people begin to omit it? What is the C# equivalent of NaN or IsNumeric? Avoiding "(Not Responding)" label in windows while processing lots of data in one lump I occasionally need to process a large amount of data from one package off the network, which takes sufficiently long that when the user tries to interact with the application windows adds the "(Not Responding)" string to the window title. I am aware this is because the processing is being done within a call to handle a message (some way up the stack) and therefore is blocking the message pump. I'm also aware the ideal way to deal with this is to process the data asynchronously in a separate thread so the pump can continue running, however this is a LARGE desktop application which is single threaded from top to toe and safely spinning this processing off is not feasible in our time frame.  So with that in mind, is there by any chance a way I can at least avoid the "not responding" moniker (which to most users reads as "has crashed") by telling windows my application is about to be busy before I begin the work? I believe there is something along these lines when responding to a request to close, one can keep asking windows for more time to avoid it proclaiming that your not "closing in a timely fashion"  I should add this is a C++ MFC application. Can I download and play games from a friend's PSN account on a PS4? In C#, should I use string.Empty or String.Empty or "" to intitialize a string? In C#, I want to initialize a string value with an empty string.  How should I do this?  What is the right way, and why?  string willi = string.Empty;   or  string willi = String.Empty;   or  string willi = "";   or what? How do I calculate the distance of an object in a photo?