Writing a programming command in the same line as text
How to format an inline source code
By the end of The Force Awakens, who knows about Kylo Ren's family? Summation equation for $2^{x-1}$ Intuition for uniform continuity of a function on $\mathbb{R}$ Is there an comparison of the various mapping libraries for Android? I am currently looking at the various libraries that I can use to show a map in my custom Android App. I have found several like Mapsforge, OSMDroid, ArcGIS runtime for Android, Google Maps for Android and so on. I'm sure that I am missing a few.   Is there a comparison chart somewhere about the differences in functionalities and pros and cons of each one?   If there isn't one, we could make this question community wiki, to serve alongside  &amp; . How was Nearly Headless Nick unpetrified? File Save dialog unreadable I just updated my iMac to Mojave, and am still trying to setup my preferences.  I tried dark mode, but did not like it (half of me apps seem to ignore it anyway).  I switched to light mode, but this too has problems. The File Save dialog shows a list of Directories and existing files, but the latter are very light grey, almost indistinguishable from the background.    I have searched the Preferences menu, but can't seem to find any setting to set normal contrast levels like in High Sierra. Say for a game with irregular hotspots (say Risk, or a strategy game like Paradox's Hearts of Iron or Crusader Kings), how do you   Define a non-rectangular hotspot of irregular shape (much like a territory on a map?), in code? What tool can you use to trace out the hotspot and import into your game? What is the algorithm for detecting if someone has clicked within such a hotspot? Negative energy levels in the diagram for a hydrogen atom I have asked this question on SO but perhaps that was the wrong location. Apologies for double posting but the question may have a better audience here.  The original question is:   And the text is below. Thanks.    When running the postgresql [9.3] "COPY TO" functionality, the postgres user creates a file. I have told it to put the file in the tmp directory (although this can be changed if needed).  This is run as part of a cron job, the user is an "export" user set up especially for this task. The end goal is for the exported file to end up in /home/export/created_file.csv.  1) postgres can't stash the exported file straight into the home directory of another user without setting up the folder to be overly permissive.  2) the export user can copy the file from /tmp to it's home directory, but then can not clean up (delete) the postgres owned file in /tmp.  This is a daily process and so old files will need to be deleted in some way. I can add a cron job to clean up the files afterwards but I was hoping for a cleaner solution - either a way to change the permissions on the file that postgres creates, or some way to give the export user the additional permission of being able to delete that file in advance of it's creation.  Giving the export user the same permissions as postgres in general however isn't an option, as it would then have free reign over the database.  Any advice, be it unix based or postgres based would be very welcome, thanks. Prove using natural deduction $((P \land Q) \rightarrow R) \vdash (P \rightarrow R) \lor (Q\rightarrow R)$ How do I prove the following using Natural Deduction?  $$((P \land Q) \rightarrow R) \vdash (P \rightarrow R) \lor (Q\rightarrow R)$$   My current approach:  So instead of proving $(P \rightarrow R) \lor (Q\rightarrow R)$, I figure I just need to prove $(P \rightarrow R)$ and use disjunction introduction.  The problem is my hypothesis requires $P$ and $Q$. How do I "create" this Q? I tried using the Law of the Excluded middle, but it does not seem to work.  Any help or insights is deeply appreciated. diff a ruby string or array How do I do a diff of two strings or arrays in Ruby? One-sided Fisher's exact test and its complement Today, comparing processors is obviously not just looking at the frequency and the number of cores.  When choosing a new PC, how do you compare processors? Is there some resource, like a site or something that does (not necessarily super-precise) processor comparisons?  Thanks. I'm new to tikz-qtree, and can't find an automatic way to do something that qtree did very nicely.  With qtree, if you don't have a label for a single intermediate node, you get a straight line from the grandmother to the granddaughter.  With tikz-qtree, you get a "kink".  Compare the following:  With qtree:  \documentclass{article} \usepackage{qtree}  \begin{document}  \Tree [ Wiiiiiiiiiide [ nar- -row ] ]  \Tree [ nrw [ wiiiiiiiiiiiii- -iiiiiiiiiiiide ] ]  \end{document}   With tikz-qtree  \documentclass{article} \usepackage{tikz,tikz-qtree}  \begin{document}  \Tree [ Wiiiiiiiiiide [ nar- -row ] ]  \Tree [ nrw [ wiiiiiiiiiiiii- -iiiiiiiiiiiide ] ]  \end{document}   Is there any way to get the nice straight line in tikz-qtree, or do I have to adjust it manually?  Thanks in advance. How to connect a Nokia Lumia 730 to Ubuntu 14.04? Is it possible to instantiate an object at runtime if I only have the DLL name and the class name, without adding a reference to the assembly in the project? The class implements a interface, so once I instantiate the class, I will then cast it to the interface.  Assembly name:     library.dll    Type name:      Company.Project.Classname     EDIT: I dont have the absolute path of the DLL, so Assembly.LoadFile won't work. The DLL might be in the application root, system32, or even loaded in the GAC. I have this function:  $$ f(x,y) = \frac {xy}{|x|+|y|} $$  And I want to evaluate it's limit when $$ (x,y) \to (0,0)$$ My guess is that it tends to zero. So, by definition, if:  $$ \forall \varepsilon \gt 0, \exists \delta \gt 0 \diagup \\ 0\lt||(x,y)||\lt \delta , \left|\frac{xy}{|x|+|y|}\right| \lt \varepsilon $$ Then $$ \lim_{(x,y)\to(0,0)}\frac {xy}{|x|+|y|} = 0 $$ So:  $$ \left|\frac{xy}{|x|+|y|}\right| = \frac{|xy|}{|x|+|y|} = \frac{|x||y|}{|x|+|y|} \le 1 |y| \lt \delta $$  So for any $$\delta \lt \varepsilon$$ the inequality is true. Hence, the limit exists and is equal to zero.  . Am I wrong or is Wolfram|Alpha wrong? How to get the type of T from a member of a generic class or method How can you enumerate an enum in C#?  E.g. the following code does not compile:  public enum Suit {     Spades,     Hearts,     Clubs,     Diamonds }  public void EnumerateAllSuitsDemoMethod() {     foreach (Suit suit in Suit)     {         DoSomething(suit);     } }   And it gives the following compile-time error:     'Suit' is a 'type' but is used like a 'variable'   It fails on the Suit keyword, the second one. How can I expand a partition into non adjacent free space using GParted? My dual-boot machine has partitions as follows:   sda1 50 GB NTFS sda2 15 GB unallocated sda3 20 GB ext3 sda4 20 GB ext4   I would like to allocate the unused space on sda2 to my Ubuntu partition on sda4, hopefully leaving the other two partitions untouched, leaving this configuration:    sda1 50 GB NTFS sda3 20 GB ext3 sda4 35 GB ext4   Is this possible? If so, how can it be done, preferably using GParted?