I have encountered an instance where object properties look like this:  $this-&gt;property   and this:  $this-&gt;_property   What does the _ mean before -&gt;? What difference does it make in terms of coding?
While looking over various PHP libraries I've noticed that a lot of people choose to prefix some class methods with a single underscore, such as  public function _foo()   ...instead of...  public function foo()   I realize that ultimately this comes down to personal preference, but I was wondering if anyone had some insight into where this habit comes from.  My thought is that it's probably being carried over from PHP 4, before class methods could be marked as protected or private, as a way of implying "do not call this method from outside the class".  However, it also occurred to me that maybe it originates somewhere (a language) I'm not familiar with or that there may be good reasoning behind it that I would benefit from knowing.  Any thoughts, insights and/or opinions would be appreciated.
Warning  If you're looking for advice how to make your document look like it's been written in Word, this is most likely not the question you're looking for. This question is mostly of theoretical nature, as it results in tiny differences, which will most likely not be noticed by someone who doesn't allow the use of LaTeX.  Questions that might be more helpful for this matter are:           Question  I learned that MS Word uses a slightly different version of the unit "point" (pt) than TeX does:     The 12 point of Word will be PostScript point, which in TeX would be called 12bp. A TeX pt is slightly smaller: it's 1/72.27 inch, while a bp/PostScript point is 1/72 inch. See also    ( in )  I'm writing a paper that would usually be expected to be "typeset" in MS Word, thus I want to use the same font size as Word would.  How do I set a document e.g. in the "12pt" font size that MS Word would use?  In case it matters, I'm using the article document class, Latin Modern (lmodern) as a font with the T1 font encoding and compile with pdfLaTeX, but input on different set-ups is more than welcome. Apply empty style to the entire bibliography Spring's SecurityContextHolder.getContext().getAuthentication() returns null after RedirectView is used in HTTPS/SSL Dial PPPoE connection on Windows startup Is there a way to automatically dial a PPPoE connection on startup? In Mac OS X, this is done automatically after login. It was also possible in Windows XP: when creating a new connection, it also created a shortcut to it on the desktop. Adding it to the startup folder and setting it to not prompt for credentials solved the problem.  But in Vista and Windows 7, there are no shortcuts to the newly created connections, so I can't do the same thing here. Is there any other way to do this? Context Around this Code: I am making a schedulable class run each Sunday to track a couple of metrics important to the team.   Question: I am looking to consolidate DML operations and a big part of this is understanding pass by reference vs pass by value.  I want to pass the salesOps user object to the method SDREfficiencyLastWeek. I made the return type void, because I figured that I will be passing this by reference and I can make all the updates in the method without having to anything.   Why I am confused:    I read the above article and am thrown off by the following statement:  "Non-primitive data type arguments, such as sObjects, are also passed into methods by value. "   If the object is indeed passed by reference, then the query for the salesOps user in my code should be sufficient enough to edit all fields on that object without actually having to state each field in the query.  global class SDREfficientMetricsSchedulable implements Schedulable  {     global void execute(SchedulableContext sc)      {         User salesOps = [SELECT ID FROM USER WHERE id = '0056A000002Z3p9QAC'];         List&lt;String&gt; queries = new List&lt;String&gt;();          String contactsWorked_lastWeek  = 'select count(id) results from contact where LastActivityDate = last_week';         queries.add(contactsWorked_lastWeek);          String demosSet_lastWeek            = 'select count(id) results from form__c where CreatedDate = last_week';         queries.add(demosSet_lastWeek);          String demosCompleted_lastWeek  = 'select count(id) results from opportunity where (stagename = \'Unqualified Demo Completed\'  OR stagename = \'Qualified Demo Completed\' )  and RecordTypeId = \'0126A000000yudDQAQ\' and CloseDate = last_week';         queries.add(demosCompleted_lastWeek);          String qualifiedDemos_lastWeek  = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and isclosed = false and  SDR_Owner__c != null and CreatedDate = last_week';         queries.add(qualifiedDemos_lastWeek);          String closedWon_lastWeek       = 'select count(id) results  from opportunity where RecordTypeId = \'0126A0000004Ao6QAE\' and iswon = true and  SDR_Owner__c != null and CloseDate = last_week';         queries.add(qualifiedDemos_lastWeek);            SDREfficiencyLastWeek(queries, salesOps);          update salesOps;     }       public void SDREfficiencyLastWeek(List&lt;String&gt; queries, User salesOps )     {        }  } Inspired by question :  When do I need to invoke \phantomsection?  In what condition is invoking \phantomsection necessary? I'm having a problem finding out a way to project from top view and the side view so I texture better. It just replaces the current projection with the top view    So is it possible to project from view twice on the same image? CString to char* We are using the CString class throughout most of our code. However sometimes we need to convert to a char *. at the moment we have been doing this using variable.GetBuffer(0) and this seems to work ( this mainly happens when passing the Csting into a function where the function requires a char *). The function accepts this and we keep going.  However we have lately become worried about how this works, and whether there is a better way to do it.  The way i understand it to work is it passes a char pointer into the function that points at the first character in the CString and all works well.  I Guess we are just worried about memory leaks or any unforseen circumstances where this might not be a good idea. How to plot stacked bar plot inside table? I have following code in Latex. Which plots only one data series (data2). I would like to plot staked bar plot inside table for both data1 and data2 with different colours.  Any ideas.?  Many thanks.  \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{pgfplotstable} \usepackage{filecontents}  % The data \begin{filecontents}{data.txt} accession,data1,data2 C1,150708.4564,481.0388003 C2,49652.53112,275.2190163 C3,37379.1284,58.85806921 C4,34165.85698,26.06571636 C5,30856.19158,35.96802428 C6,15204.22768,26.71594573 \end{filecontents}   \pgfplotstableread[col sep=comma]{data.txt}\data  \newcommand{\errplot}{% \begin{tikzpicture}[trim axis right] \begin{axis}[y=-\baselineskip,   scale only axis,   width=5cm,   enlarge y limits={abs=0.5},   axis y line*=middle,   ytick=\empty,   axis x line*=bottom,   xbar,   bar width=1.5ex,   xmin=0,   visualization depends on=x \as \rawx,   nodes near coords,   every node near coord/.style={   anchor=east,   shift={(axis direction cs:-\rawx,0)}   }  ] %   \addplot [draw=black, fill=red]  table [x=data2,y expr=\coordindex]{\data}; \end{axis} \end{tikzpicture}% }  \begin{document}  % Get number of rows in datafile  \pgfplotstablegetrowsof{\data} \let\numberofrows=\pgfplotsretval  % Print the table \pgfplotstabletypeset[columns={accession,data1,data2},   % Booktabs rules   every head row/.style={before row=\toprule,after row=\midrule},   every last row/.style={after row=[3ex]\bottomrule},   % Set header name   columns/accession/.style={string type,column type=l,column name=accession},   columns/data1/.style={string type,column type=l,column name=data1},    columns/data2/.style={     column name={Data2},     assign cell content/.code={% use \multirow for Z column:    \ifnum\pgfplotstablerow=0    \pgfkeyssetvalue{/pgfplots/table/@cell content}    {\multirow{\numberofrows}{6.5cm}{\errplot}}%    \else    \pgfkeyssetvalue{/pgfplots/table/@cell content}{}%    \fi   }  }, ]{\data} \end{document} What is the meaning of “runneth” in ? Did English ever have a word for 'yes' for negative questions? The Germans have doch and the French have si as a word that means "yes" in response to a negative question, such as:     Don't you want some ice-cream?   Yes [I do]!   In English, we only have yes (as far as I know) and further clarification is required in order to be unambiguous.  Did we ever have such a word in English and, if so, what happened to it? If not, given the French and Germanic influences on English, any idea why not? Few font size-related layout issues I am using a default font size of 26px and stackoverflow's layout seems to not work well with such a large sizes.  The most important issue is that many inputs tend to overflow and partially get hidden below side text. This includes one with login, ‘Title’ and — the most important issue — the editor, which makes writing posts a little painful.  Another important one is that sometimes 'search' field doesn't fit in topbar and jumps lower, being partially hidden by logo. I met that issue on stackoverflow itself only while serverfault &amp; meta display fine (but that may be related to rep or sth).  There's one minor issue too — navbar is too narrow and ‘Ask Question’ jumps below — but this one looks quite nice (maybe it's even intended?).  Screenshot: (click to enlarge) Deleting comment removes "Add comment" link on Mobile If I delete a comment on the mobile version of the site (at least if it's the only comment on an answer), the "Add comment" link will vanish along with the comment, so I have to reload to leave another comment.     but got declined as , which is why I'm reposting this (as it may well be a new bug with the same symptoms).  I'm using Firefox 32.0.3 on Android. Topological Circuit Simulator Does something like  exist for topological (eg. braided) circuits?   Alternatively, any ideas on how @ is getting  (or something similar)? I am looking for an easy way to create in Illustrator vintage style corners like on the picture provided.  I have some technical ideas, but they are time consuming, there should be an easier way I believe. How do I fill arrays in Java? That car is way better than any car any of us have/has ever driven.      None of us know/knows which direction Ron's house is (in).    I have two questions here.   In both the cases, are we to use the singular verb, or the plural? In the end of the second sentence, is using the preposition where it's been used, necessary? Would it be okay if it had no prepositions in it? I think this is a very recent design change, because I've not seen it before:    Where before a small box with the bounty value dislocated the title a couple of characters to the right, now the additional text saying how long until it expires dislocates the title by about a quarter of the width of the column.  I find that this makes it much harder to read the title, and is counterproductive to the goal of attracting attention. How to convert Bedrock texture pack to Java Edition Minecraft I'm trying to use a texture pack designed for the Bedrock Edition of Minecraft, on Java Edition. I looked at the texture names for a Java Edition texture pack and compared those to the names of the Bedrock Edition texture names, and they aren't the same. A lot of the texture names are flipped, such as:   Jungle Log (Java = jungle_log.png) (Bedrock = log_jungle.png)   Most of the texture names are flipped, like the Jungle Log (and all of the other log types) and there are some .json files that are different and/or not there.  Trying to open the Bedrock texture pack would result in some animated blocks not being animated, other blocks play the wrong sound (or no sound) when broken, if OptiFine is in the mix, the skybox could be missing, which I am pretty sure would result in an always black sky, along with no sun and moon textures.  Any help in finding a program or site that can do this would be helpful, because I tried doing it manually, but almost every texture is different.  Any help is appreciated! Bottom of tool shelf grayed out