Can only see the orange highlights on a selected object, not the actual object?
AMD GPU Material in "material preview mode" and "rendered mode", is entirely gray as background. Only outline is displayed
Post hoc test after ANOVA with repeated measures using R Fixing a code to highlight formulas and text on several lines In  I've found the following amazing code to highlight text on several lines.  The problem is that code dosen't work well with formulas : for example, fraction using the mode display are partially out of the highlighting frame.   Here is the code with one content showing the problem.  \documentclass{article}     \usepackage{soul}     \usepackage{tikz}     \usetikzlibrary{calc}     \usepackage{amsmath}     \usepackage{xcolor}      \makeatletter         \newcommand{\defhighlighter}[3][]{%             \tikzset{every highlighter/.style={color=#2, fill opacity=#3, #1}}%         }          \defhighlighter{yellow}{.5}          \newcommand{\highlight@DoHighlight}{             \fill[                 outer sep = -15pt, inner sep = 0pt,                  every highlighter, this highlighter              ](                 $(begin highlight)+(0,8pt)$) rectangle ($(end highlight)+(0,-3pt)$             );         }          \newcommand{\highlight@BeginHighlight}{             \coordinate (begin highlight) at (0,0) ;         }          \newcommand{\highlight@EndHighlight}{             \coordinate (end highlight) at (0,0) ;         }          \newdimen\highlight@previous         \newdimen\highlight@current          \DeclareRobustCommand*\highlight[1][]{%             \tikzset{this highlighter/.style={#1}}%             \SOUL@setup             %             \def\SOUL@preamble{%                 \begin{tikzpicture}[overlay, remember picture]                     \highlight@BeginHighlight                     \highlight@EndHighlight                 \end{tikzpicture}%             }%             %             \def\SOUL@postamble{%                 \begin{tikzpicture}[overlay, remember picture]                     \highlight@EndHighlight                     \highlight@DoHighlight                 \end{tikzpicture}%             }%             %             \def\SOUL@everyhyphen{%                 \discretionary{%                     \SOUL@setkern\SOUL@hyphkern                     \SOUL@sethyphenchar                     \tikz[overlay, remember picture] \highlight@EndHighlight ;%                 }{}{%                     \SOUL@setkern\SOUL@charkern                 }%             }%             %             \def\SOUL@everyexhyphen##1{%                 \SOUL@setkern\SOUL@hyphkern                 \hbox{##1}%                 \discretionary{%                     \tikz[overlay, remember picture] \highlight@EndHighlight ;%                 }{}{%                     \SOUL@setkern\SOUL@charkern                 }%             }%             %             \def\SOUL@everysyllable{%                 \begin{tikzpicture}[overlay, remember picture]                     \path let \p0 = (begin highlight), \p1 = (0,0) in \pgfextra                     \global\highlight@previous=\y0                     \global\highlight@current =\y1                     \endpgfextra (0,0) ;                     \ifdim\highlight@current &lt; \highlight@previous                         \highlight@DoHighlight                         \highlight@BeginHighlight                     \fi                 \end{tikzpicture}%                 \the\SOUL@syllable                 \tikz[overlay, remember picture] \highlight@EndHighlight ;%             }%             \SOUL@         }     \makeatother   \begin{document}  Lorem ipsum \highlight{dolor sit amet, consectetur adipis-icing elit, sed do eiusmod tempor} incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation \highlight[red]{ullamco $laboris$ nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit} in voluptate velit esse cillum dolore eu fugiat nulla pariatur.  Excepteur sint occaecat \highlight[green, draw=blue]{cupidatat non proident  $\dfrac{789}{7889}$ % The frame is not good for that formula ! suntinculpaquiofficiadeseruntmollitanimidestlaborum. Loremipsumdolorsitametconsecteturadipisicingelitseddoeiusmodtemporincididuntutlabore-etdoloremagnaaliqua.} I suppose I could write some more text here.  \end{document}     Is someone could help me to fix it? Convert String to Integer in QGIS tables I want it to know how to convert string field values to integer values in QGIS Dufour... there are numbers and strings in the same field, when I use toreal(string) it stops and it won´t create the field. What is a good reference for rigorous Electromagnetism and Electrodynamics? Is there any good book on Electromagnetism from a more mathematical point of view? By this I mean a book which makes use of differential forms and maybe De Rham cohomology. I was also searching for something that would include E&amp;M in the big picture of Gauge theories. How to pass parameters to an alias? For bash script, I can use "$@" to access arguments. What's the equivalent when I use an alias? trigger AccountReplicate on Account (after delete, after insert, after update) {     if ( trigger.isInsert ) {         for ( Account acc : trigger.new ) {             AccountOne__c ac = new AccountOne__c();             ac.Fax__c = acc.Fax;             ac.Phone__c = acc.Phone;             ac.Name =acc.Name;             insert ac;         }     }      if ( trigger.isUpdate ) {         integer  i = 0;         list&lt;AccountOne__c&gt; a2 = new list&lt;AccountOne__c&gt;([SELECT Id                                                         FROM AccountOne__c                                                         WHERE Name =: trigger.old[i].Name ]);         for ( AccountOne__c c1 : a2 ) {             c1.Name = trigger.new[i].name;             c1.Fax__C = trigger.new[i].Fax;             c1.Phone__C = trigger.new[i].Phone;             i++;         }         update a2;     } }   I tried bulk trigger for the update operation, but it's not working can anyone help me? How do I restore /usr/bin/env after overwriting it with start-tor-browser file I was installing Tor and wanted to access it directly from the terminal, so I was trying to copy start-tor-browser to /usr/bin. But by mistake, I have replaced the /usr/bin/env file with the start-tor-browser file. What should I do now?? Placement of varistor with respect to fuse My design includes a pretty standard AC/DC converter powered by mains for intended use at home. For overvoltage and overcurrent protection, I am planning to use a combination of varistor and fuse placed before the power converter.  I understand it is good practice to put the fuse before the varistor - in an overvoltage event, the varistor will draw a large current that may blow the fuse, protecting the rest of the circuit and even the upstream circuitry.  However, due to extremely tight layout, it is very hard to put the fuse before the varistor.  What risk am I running if I put the varistor before the fuse?  What if I put a second fuse in series with the varistor? Does it negate the varistor's protection of the downstream circuit? How to access the correct `this` inside a callback? Reason behind this self invoking anonymous function variant Hi I want to try Ubuntu 20.04 without installing it due to some driver issues in my laptop. But I already have 2 OS ( Windows 10 and Ubuntu 20.04 [Dualboot] ), so will trying Ubuntu mess with the already installed Operating systems? And I know how to make live usb and booting from it but don't know how to exit it and then bring my laptop back to normal. Tried finding procedure on internet but reliable results are not found. Watts P.M.P.O. and audio equipment power I am a beginner in electrical engineering, and to begin learning I decided to look into audio amplifiers. I have seen that the power of audio amplifiers is often described in the units of watts, watts RMS, and watts PMPO. So far, the only one of those units that I think I understand is watts. For instance, I just recently made . If I think: &quot;What is the power of my amplifier supposed to be?&quot;, then my thought process goes like this:  The transistors I used are the TIP120, which have a maximum rated power of 65W. Then, I decide that 60W is a safer maximum which would be reached if my amplifier runs 19V through one of my 6Ω speakers. Therefore, the power of my amplifier is 2x60W.  Then, I look at the datasheets of audio amplifier ICs, like the TPA3116 that says: &quot;50W into a 4Ω load at 21V&quot;, which makes me conclude that in that setting it'll output 14V maximum into the speaker, which I think makes sense. But then, I look at the datasheet of the TDA7294, and they talk about &quot;RMS Power&quot; and &quot;RMS Music Power&quot;, units which I couldn't find clear information about. Then, I look at home audio systems, like a Panasonic Stereo System I have which has &quot;9500 Watts P.M.P.O.&quot; written on the front. 9500W? That sounds stupidly high to me, but then I look again and it has 300W written on the back of it. If I'm correct, maybe a 1kW home stereo system could make sense, but a 2kW or greater one would not exist. So... Are my conclusions about  and the TPA3116 correct? Are my conclusions about audio equipment power correct? Are WattsPMPO, WattsRMS and RMSmusicpower, real useful units? Let $f$ be a bounded measurable function on a set of finite measure $E$.  For a measurable subset $A$ of $E$, show that $\int_A f = \int_E f \cdot \chi_A$     Lemma: Let $f$ be a bounded measurable function on a set of finite measure $E$.  Suppose $A$ and $B$ are disjoint measurable subsets of $E$.  Then $\int_{A \cup B} f = \int_A f + \int_B f$.   My first approach was to view the problem like this utilizing the above lemma:  $$\int_E  f \cdot \chi_A = \int_{E\setminus A} f \cdot X_A + \int_A f \cdot \chi_A $$  I'm not really sure how the result follows from the above. I would like to add in QGIS real time weather data.  I found this  and this  and I tried to follow the example, but without any success.  I've added a WMS weather data layer for precipitation to the QGIS map, as follows:  First, the parameters for the service:  service = 'crs=EPSG:900913&amp;dpiMode=7&amp;featureCount=10&amp;format=image/png&amp;layers=precipitation&amp;styles=&amp;url=http://wms.openweathermap.org/service'   Next, create the raster layer, specifying WMS as the type:  rlayer = QgsRasterLayer(service, "precip", "wms")   Finally, add the precipitation layer to the map:  QgsMapLayerRegistry.instance().addMapLayers([rlayer])   the example didn't show any error in the code and no data was added to the weather layer either, I'm not sure why? Define ≡ in this situation? Asking days badges A couple of months ago, I suggested a set of badges for . The responses were... mixed. The  can be summarized:  In practice, all this would do is encourage people to ask yet more stupid, worthless questions and we have quite enough of that as it is.  We believe that one of the main things holding back many of our beta sites is that when people have questions they aren't in the habit of asking on the site. Even our flagship site, Stack Overflow, doesn't get many questions from its most knowledgeable users. Perhaps they don't have questions, but far more likely they find answers without needing to ask. Our subtle bias against asking (questions =&gt; clueless) means we lose out on what might be our best source of excellent questions. So we went back to the drawing board and designed a badge set that should not encourage worthless questions:  Asked a well-received question on X separate days, and maintained a positive question record.  In order to award badges, we need to define our terms:  positive question record   (total questions - negative questions - closed - deleted)/total questions &gt;= 0.5  It triple counts a question that is downvoted, closed, and deleted. If you ask one that hits that trifecta, you'll need to ask three better questions to dig yourself out. My own record of asking does not meet the criteria:   (44 - 0 - 12 - 12)/44 = 0.4545...  My  looks a lot better; I had a bunch of questions from the beta period that have been subsequently (and rightfully) deleted. With care, I could bring my record into positive territory with 4 questions. The takeaway is that people can't sweep past indiscretions under the rug by deleting them. And they can recover from a bad start as long as they don't ask more bad questions.  well-received question on X separate days A well-received question is one that's open, not deleted, and has a score &gt; 0. If you ask at least one well-received question in a  and none of your questions that day are deleted, downvoted, or closed, you get one more day of credit toward the badge. Whenever the badge criteria is checked, previous asking days are re-evaluated so that there's an incentive to fix downvoted and/or closed questions. The no-deleted-questions criteria is to prevent people from asking several questions at once and deleting any that aren't upvoted or answered to ask another day. (Though this is a losing strategy in the long run.)   My proposed badge names and levels:  Asked a well-received question on 5 separate days, and maintained a positive question record.  Asked a well-received question on 30 separate days, and maintained a positive question record.  Asked a well-received question on 100 separate days, and maintained a positive question record. In addition, since some outstanding individuals ask on more than 100 days, the gold badge may be awarded multiple times. Over on English, Oishi-sama (now a ) would have a remarkable . Bronze and silver badges are only awarded once. We've decided to hold off on multiple awards for now. See the . Neither the names nor the levels nor even the descriptions are set in stone. Please play around with  to get an idea of how the badge works using our public data. Since the query does not account for deleted questions, it's a bit more generous than the actual badges would be. This version of the badge set should encourage a habit of well-received questions over time and encourage people to fix poorly received questions.  I'd like to express my gratitude to the Parenting community for participating in our . Under which assumptions a regression can be interpreted causally? First, don't panic. Yes, there are many similar question on this site. But I believe none gives a conclusive answer to the question below. Please bear with me.  Consider a data generation process $\text{D}_X(x_1, ... , x_n|\theta)$, where $\text{D}_X(\cdot)$ is a joint density function, with $n$ variables and parameter set $\theta$. It is well known that a regression of the form $x_n = f(x_1, ... , x_{n-1}|\theta)$ is estimating a conditional mean of the joint distribution, namely, $\text{E}(x_n|x_1,...,x_{n-1})$. In the specific case of a linear regression, we have something like $$ x_n = \theta_0 + \theta_1 x_1 + ... + \theta_{n-1}x_{n-1} + \epsilon $$ The question is: under which assumptions of the DGP $\text{D}_X(\cdot)$ can we infer the regression (linear or not) represents a causal relationship? It is well known that experimental data does allow for such interpretation. For what I can read elsewhere, it seems the condition required on the DGP is exogeneity: $$ \text{E}(x_1, ... x_{n-1}|\epsilon) = 0$$ The nature of randomisation involved in experimental data ensures the above is the case. The story goes then to argue why observational data normally fails in achieving such condition, reasons including omitted variable bias, reverse causality, self-selection, measurement errors, and so on. I am however uncertain about this condition. It seems too weak to encompass all potential arguments against regression implying causality. Hence my question above. UPDATE: I am not assuming any causal structure within my DGP. I am assuming that the DGP is complete, in the sense that there must be some causality (an ontological position it could well be debated), and all relevant variables are included. The key is to identify the set of assumptions which ensure me causality goes from certain variables to the other, without assuming from the outset such direction of causality.  Many similar posts on the site spend time mentioning why correlation does not imply causation, without providing hard arguments about when it does. That is the case, for instance, of  very popular post. Additionally, in the  on the site about the topic, the accepted answer gives the very vague answer:  Expose all hidden variables and you have causation.  I do not know how to translate that to my question above. Neither is the second most upvoted answer. And so on. That is why I believe this post does not have an answer elsewhere. How to change the name of document elements like "Figure", "Contents", "Bibliography", "Appendix", etc.? I'd like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from "Figure" to "Fig.", and my \tableofcontents sectioning heading shouldn't read "Contents", but "Table of Contents". How can I do that?  \documentclass{article} % \usepackage[english]{babel} \begin{document} \tableofcontents \section{foo} \begin{figure}[h] \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure} \end{document} How to reach local computer via machine name instead of IP? Developer here prototyping a mobile app, somewhat new to mobile:   I have a simple HTTP service running (currently) on my main laptop with machine name latitude. Another laptop named vaio sharing the same WiFi network can access that service via http://latitude:8080 -- in other words, it can easily resolve the (current) IP 192.168.x.y (or whatever dynamic IP it has at that moment) of latitude somehow. Now my HTC Android phones, connected to the same WiFi network, can reach the IP address of latitude so opening in its browser http://192.168.x.y:8080 works. But I'd like to use the machine name here, too, like when I access the HTTP service from vaio, simply by typing http://latitude:8080 and have the phone resolve the current dynamic IP of latitude. This doesn't work, only get the standard browser error page: "Webpage not available".   Is there some DNS setting in Android I need to tweak? Haven't found anything from playing around with Settings, and a question like this is notoriously hard to google, too...  The One V has Android 4.0, and the One M7 has Android 4.2 in case that makes a difference.  (Note, this should work even when the Android is not USB-connected to my computers and is not acting as a WiFi Hotspot -- obviously, since it's consuming my main WiFi network anyway). Cannot refer to a non-final variable inside an inner class defined in a different method