Good Morning. At the moment I am new in the topic of creating graphics in latex. I know how to handle the editor on average, but I'm just getting started on this topic. I would like you to guide me on how to create graphs of this type and if they have information material that could help me, it would be very useful. Thank you very much.
Which is the best way to put function plots into a LaTeX document?
What is the best indicator in finding out whether a database is utilized or accessed?  I tried index statistics and  based on I/O utilization but none seem to be a good indicator.   Problem: I have a lot of databases on a development environment and due to space issues we are trying to decommission those that are not used without actually messing with the ones that are really needed. Which preposition in front of "line" — "on", "in", "at"? Every time I read the tips for installing an SDK, IDE, some extension and so on, it says, that I should unpack them in /opt folder. Why do I need to do that?   When I was installing Ubuntu, I read that I should set only 10-20 GiB for the / file system and remaining space set for /home. So should I extend the space for root folder, or leave all stuff at /home? Is there any difference? Keyboard shortcut to switch between applications in Mission Control Does Apple have keyboard shortcuts to switch between applications in Mission Control? (Instead of hovering over with the cursor)?  e.g., which key combination cal I press to get me from "preview" to "app store?" How can you tell when a roast is done? How can you tell when a roast is done?  How long should they roast for? Are recommendation questions an acceptable kind of list-type question or should they be closed? Recommendations are a recurring topic on multiple Stack Exchange (SE) sites. Some sites allow recommendations (ex: ), some do not (ex: ). There are many reasons for that and I can still remember animated discussions on this subject on the Gaming meta. Then there is that existential problem with Sci-Fi SE, &quot;What problems does answering a question on this site solve?&quot;  The only common problem I can think of is What to read/watch next?, which obviously led to a big number of recommendation questions, later slightly disguised as list question. And the main trouble with these questions isn't objectivity at all, some of them aren't even subjective. It's the fact that they don't have an answer - they are open ended. -  Those questions are monstrously popular because:  There's an actual problem to be solved,  or  This problem is quite common.  In view of the  blog post, a recommendation question fails the &quot;real questions have answers, not items or ideas or opinions.&quot; criteria. But it's still a &quot;practical, answerable questions based on actual problems that you face. &quot; and it requires expertise to answer. The problem is that there are multiple acceptable answers, and the asker is not the best person to evaluate the best answer because he doesn't know which one is the best compared to the others, and he cannot test it in short term. Even the need to accept an answer is questionable. So, is a recommendation question an acceptable kind of list-type question or should it be closed just like any other list-type questions? How bad for TeX is omitting braces {}, even if the result is the same? Sometimes writing braces and omitting them produces the same result:  \tilde{\psi}  \mathrm{e}^{\mathrm{i} \pi}   vs  \tilde \psi   \mathrm e^{\mathrm i \pi}   Or (taken from Werner's comment below)   \frac{1}{2} vs \frac12   If that's the case, how bad for the quality of my code is omitting them? Of course, if one compiles a pair of formulas, there is no difference. But, since I ignore how TeX works, my point is: if one writes long codes with these habits,   doesn't TeX go somehow crazy because I'm not writing as it expects?   For instance, does it have any effect on how fast are long documents compiled? Any reason to keep them? I found this math "problem" on the internet, and I'm wondering if it has an answer:     Question: If you choose an answer to this question at random, what is the probability that you will be correct?      a. $25\%$      b. $50\%$      c. $0\%$      d. $25\%$   Does this question have a correct answer? Javascript Array.sort implementation? Which algorithm does the JavaScript Array#sort() function use?  I understand that it can take all manner of arguments and functions to perform different kinds of sorts, I'm simply interested in which algorithm the vanilla sort uses. To show that $2$ | $x^{2n} - x^n$, $n \in \mathbb{Z^+}$ is the following adequate? Show that $2$ | $x^{2n} - x^n$, $n \in \mathbb{Z^+}$   Let $x^n = a$ then $\frac{a}{2}$ $\implies a = 2q + r$ such that $r = 0 \vee r = 1$.   So $x^{2n} = (x^n)^2 = a^2 = (2q + r)^2$, which means that $2|[x^{2n} - x^n ]= 2| [(2q + r)^2 - (2q + r)]$. If $r = 1$ we get $(4q^2 + 4q + 1) - 2q - 1 = 4q^2 + 2q = 2(2q^2 +1)$. Thus $2$|$x^{2n} - x^n$, $n \in \mathbb{Z^+}$. Is this reasoning correct? Is it adequate? I've created a Lightning component to view key details for the Account and Contact lookups from a Case, like so:    The problem is, I have been unable to get field content to render when  using the &lt;force:inputField/&gt; or &lt;force:outputField/&gt; components when I place them inside the markup to style them as cards. I've used &lt;ui:outputText/&gt; as a workaround, but that means I don't get any of the built-in behaviors I would get with the &lt;force:*Field/&gt; components -- like Lightning styling, which means I have to manually do it using SLDS.  This displays the contact name as expected:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;force:outputField value="{!v.contact.Name}"/&gt;   &lt;force:inputField value="{!v.contact.Name}"/&gt;  &lt;/aura:component&gt;   This does not:  &lt;aura:component implements="flexipage:availableForRecordHome,force:hasRecordId" access="global" controller="LightningCaseTestController"&gt;   &lt;aura:handler name="init" value="{!this}" action="{!c.doInit}" /&gt;   &lt;aura:attribute name="recordId" type="Id" /&gt;   &lt;aura:attribute name="contact" type="Contact" default="{sobjectType: 'Contact'}"/&gt;    &lt;article&gt;     &lt;force:outputField value="{!v.contact.Name}"/&gt;     &lt;force:inputField value="{!v.contact.Name}"/&gt;   &lt;/article&gt;  &lt;/aura:component&gt;   Basically, it appears that as soon as any markup is placed around the &lt;force:*Field/&gt; tags -- even just a &lt;div&gt; -- they no longer render. Examples in Trailhead and other places all seem to use &lt;ui:outputText/&gt; or &lt;ui:input*/&gt;.  This seems like a lot of extra manual work. Am I missing something?  Update: it only fails when the component is included in a Lightning page -- such as the record detail page -- from Lightning App Builder. If I add it to a simple Lightning app, it works:  &lt;aura:application &gt;     &lt;c:LightningCaseTest recordId="SOMECASEID" /&gt; &lt;/aura:application&gt;   So it appears to be a bug? Why do stars flicker? Why do stars flicker and planets don't? At least this is what I've read online and seen on the night sky. I've heard that it has to do something with the fact that stars emit light and planets reflect it. But I don't get it, isn't this light, just "light"? What happens to the reflected light that it doesn't flicker anymore?  I was thinking that it has to do something with Earth's atmosphere, different temperatures or something (if this has any role at all). How would I change file permissions if the file name has a space in it in linux I would like to know how would I rename and change file permissions of a file that contains a space in the name on Linux.  Example  The name of my file is: my file   I have tried mv my%20file my_file  I have also tried chown -R 755 my%20file  but both of these don't work! How can I access the apache basic-auth username in a PHP script? 403 error after upgrading to apache2.4 Using crontab to execute script every minute and another every 24 hours "Has been" vs "was" Would you please explain the difference between these two sentences?     Spain ceded (or gave) Puerto Rico to the United States. Since then, Puerto Rico has been a U.S. territory.      Spain ceded(or gave) Puerto Rico to the United States. Since then, Puerto Rico was a U.S. territory.   I am stuck between 'has been' and 'was' in the above sentences. Proving that $d(f,g)=\|f-g\| = \sup \limits_{0\leq x \leq 1} |f(x)-g(x)|$ is a metric on $X=C[0,1]$ Draw a bivariate normal distribution in TikZ For a small class I want to draw a bivariate normal distribution and show where the means from the two variables meet in the space. Has anyone done this in TikZ? I have a .bash_profile in my home directory, but it isn't getting run on login. If I do the following, then things seem to be as I expect:  ssh myhost bash source ~/.bash_profile   But normally that all happens on login. Thoughts?