While using system.debug for a list  I get an already output statement added in the logs as     USER_DEBUG|[]|DEBUG|lstApprovalDetails   (ApprovalDetails:[startDate=2002-01-03, status=Rejected], (already   output))   CAppresponse.ApprovalDetails AppDet = new CAppresponse.ApprovalDetails();  for(Approval_RD__c appDetail:lstRD) {     AppDet.startDate=string.valueof(appDetail.Start_Date__c);     AppDet.status=appDetail.Status__c;      lstApprovalDetails.add(AppDet);      system.debug('lstApprovalDetails '+ lstApprovalDetails);     }    Wanted to know the meaning of this already output here .Thanks in advance
I am trying to add a list into an another nested list before adding values of a list to nested list it is getting the correct value but after adding i am getting (already output) in debug log when i checked.    public List&lt;String&gt; fieldName {get;set;}  public List&lt;List&lt;String&gt;&gt; fileValuesXML; // To get the field values of xml  for(Dom.XMLNode child : SalesforceObjecet.getChildElements()) {                        objecetName = child.getText();             system.debug('Object Name in XML field  ' + objecetName );              for(Dom.XMLNode subchild : child.getChildElements())              {                 system.debug('Sub child ' + subchild.getText() );                 for(Dom.XMLNode subchildfield : subchild.getChildElements())                 {                     system.debug('Sub child Field ' + subchildfield );                     fName  = subchildfield.getText();                     fieldName.add(fName);                     //fileValuesXML.add(fieldName);                     //system.debug('Filed Name in XML field  ' + fieldName);                 }                  system.debug('Filed Name before affing to filevalueXML  ' + fieldName);                                     fileValuesXML.add(fieldName);                 fieldName.clear();                 system.debug('Filed Name after affing to filevalueXML  ' + fileValuesXML);             }    }    I am getting values in debug log as:     Filed Name before affing to filevalueXML  (AccountSource, field3)   Filed Name after affing to filevalueXML  ((), (already output),   (already output))
Problem using atan in pgfplots How to fix a grub boot error : "symbol 'grub_calloc' not found Just ran the latest batch of updates on 20.04 (Xubuntu), and now I'm getting a GRUB error: symbol 'grub_calloc' not found  I'm dropped into the 'grub rescue' shell, but have no idea what to do there that might be useful. To me, 'symbol not found' implies some sort of build error with the grub package, but I don't really know how grub works. I noticed that this update also included 'firmware', not sure if that could be related. Is my best bet just to boot from a live CD and see if I can roll back the update to grub somehow? Edited to add: OK, thanks to lots of people ! Here's what I think I now understand.  On 'non-UEFI' systems, grub is installed in two separate parts. The first, most basic, part is the part that is started on bootup. But for most of it's functionality, it needs the second part. These parts must be aligned - neither part must require any functionality from the other part which is not actually there. The visible, run-time problem occurs when these parts are not aligned, and the function grub_calloc is not supplied. It's not 100% clear to me if grub_calloc belongs in the second, larger part or the first. I would have expected the second, but the grub build system is a work of considerable art, so I don't know :).  The root cause of the problem is that the grub update has not ensured that both parts have been updated. Ideally, failure to do this should cause grub installation to fail, and the system should be reverted to a safe state. This does not happen. This is actually still a bit of a mystery to me. All that the update needs to do by default is put each part where the current parts are, because obviously that worked. If the install locations/drives are configuration - driven, and one of these locations can't be reached, then somehow a mismatch has arisen between that configuration data and reality. This might not show up as a problem as long as no new dependency was introduced between the parts.   All flavours of solution involve reinstalling grub to ensure that the two parts are aligned. It's not actually necessary to go back to the previous version ( although that will work ), because it's not the grub runtime per se that is broken. There are numerous ways to achieve this, depending on your environment, but running the Boot-repair live disk worked for me. It may be useful, for the purpose of avoiding such a misalignment in future, to ensure that the grub installer on your system is configured to install to the correct devices. This update resolves some important bugs (). If you have reverted grub to resolve this problem, be aware that you are exposed to these issues. Operand Should Contain 1 Column - MySQL NOT IN dd writing on USB flash drive causes massive reads Why won't QGIS recognize my GPS? Rear fender angle For a 20" rear wheel with a this kind of fender, what would be the best angle to install it to minimize the spray on one's butt/legs? What counts as "entering a zone"? There are many actions that create persistent zones and have a trigger for their effect of among others: "...enters the zone..." What are the things that qualify as entering the zone?  Things that would seem to fit this would be:   Willing movement into the zone. Forced movement into the zone. Teleporting into the zone. Appearing inside the zone. Having the zone moved to include the square you occupy.   Do any of those listed not count as having entered the zone and why? And are there any that are not listed that would count as having entered the zone?  This is for D&amp;D 4e. The classical book on commutative algebra Introduction to Commutative Algebra, by Atiyah and Macdonald, has the following as exercise I.11.       A ring is Boolean if $x^2=x$ for any $x$ of $A$. In a Boolean ring $A$, show that     i) $2x=0$ for all $x\in A$;    ii) Every prime ideal of $A$ is maximal, and its residue field consists of two elements;   iii) Every finitely generated ideal of $A$ is principal.     I can but solve the first two of them; for the last one, I cannot even perceive the situation here, for it will not, generally speaking, be a Dedekind domain, whereof my knowledge is somewhat more. I have hitherto tried to find one element for each ideal of two generators which can stand the stead of them, and then proceed by induction. But even the first step fails to produce any result. Thanks for any hints and inspirations in advance. Tracking down an old sci-fi book I'm trying to track down an old sci-fi book I read when I was a teenager.  The book was at the Cottage Grove, OR Public Library around 1982-1985.  The plot followed a brother and sister who were scientists or spies, or both.  The brother once used a series of pills to change his weight, height and appearance.  Towards the end of the book, the brother takes a space ship that his sister invented, removes a governor so that he can travel faster than the speed of light and goes back in time several hours.  This is really vague, but thanks for any leads you can share. Automatic pyqgis categorized renderer classification I have some layers in my project and I would like to alter their styles, since ranges of values for underlying columns have changed.  Normally it would require to enter each layer style settings separately and trigger "Remove All", and "Classify" button, however I would like to execute it from the code.   I found such method for graduated symbol:  renderer.updateClasses(layer,0,bins)   ,however I'm having trouble to find corresponding method for categorized symbol class  Is there any way to do this from pyqgis without the need to specify the layer style from the scratch (create category, label etc.) ? Some equivalent of "Classify" button from below screenshot: Is the set of all unitary matrices in $M_2(\mathbb{C})$ is compact? I can show that as determinant map is continuous so unitary matrices are closed but how to show they are bounded?   Please help. I would like to know if anyone can help me with installing Ubuntu on VirtualBox What is the bug about: Keyword gets duplicated even when the query is not modified.  Impact: As far as i can tell - cosmetic.  How to replicate: Go to:  and keep pressing Search button. With each search there will be a duplicate python keyword appended to search box.  Best guess for what is causing it: I think you have somewhere a piece of code that appends tag as a keyword without checking if it is already present. My reasoning comes from this url:  not having the same issue - the tag is not present in it. 14.04 --> 16.04 failed; apt (>= 1.0.1ubuntu2.13)' is not installed I've been working on some animations recently, and I've noticed that I'm having poor luck with certain things, namely the fact that I don't really use Blender's graph editor very well.  One of the major issues that I have is pretty widespread among 3D graphics programs; when I create an animated object, it defaults to using a curved graph instead of a linear graph, which means that the most movement is at the middle of the animation, and stuff just practically stops near the beginning or the end. While this helps with organic camera movements or such, it's also not what I usually want. Can I set animation curves to default to linear? Partitions for Ubuntu and Windows 7 dual boot on SSD + HDD setup I was able to star my own message by pinning it and unpinning it.  Pinning a message adds a star, even to your own messages, but when the pin is removed, the star remains. Find files in directory with paired names I'm running tests of a variable-size-and-contents test set. Data files are added and removed frequently. I'm looking for an automated way of gathering a file list.  All files are in subdirectories of D; I need the full directory and name added to a text file. However, I only need those files that have a "paired" file, which has the same filename but a different extension (so... different filename, but in a structured way). So, if there is a MyFileName.A and MyFileName.B, then I want D/.../MyFileName added to the file list.  There are .A files without .B files, but no .B files without .A files. If a .A has a .B file, then both files are in the same directory.   Any advice? Aligning multiple figures/tikzpicture vertically and horizontally I'm trying to align four figures vertically and horizontally. But I couldn't get it right in spite of repeated tweaks.  Can someone help me out?   Here is a MWE -- there are no errors, but the figures don't come out scaled properly.  \documentclass[12pt]{llncs}  \usepackage{fullpage} \usepackage{graphicx}  \pdfoutput=1 \usepackage{epsf} \usepackage{epsfig} \usepackage{epstopdf} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \usepackage{latexsym} \usepackage[all]{xy} %\pagestyle{empty} \pagestyle{plain} %\usepackage{algorithmic} %\usepackage{algorithm} \usepackage{hyperref} \usepackage{nameref} %\usepackage{MnSymbol} \usepackage{tikz} \usepackage{caption} \usepackage{subfig}  \begin{document}  \begin{figure} \captionsetup[subfigure]{width=2in} \begin{minipage}[t][4em][s]{.5\textwidth} \subfloat[First]{ %\begin{subfigure}[b]{\textwidth} \begin{tikzpicture}[every node/.style={circle, draw, scale=1.0, fill=gray!50}, scale=1.0, rotate = 180, xscale = -1]  \node (1) at (0, 0) {$a$}; \node (2) at (3.0, 0) {$s$}; \node (3) at (4.5, 0) {$s'$}; \node (4) at (7.5, 0) {$t'$}; \node (5) at (9.0, 0) {$t$}; \node (6) at (12.0, 0) {$b$};   \draw[-&gt;] (1) -- (2); \draw[-&gt;] (2) -- (3); \draw[-&gt;] (3) -- (4); \draw[-&gt;] (4) -- (5); %\draw (8) -- (7); \draw[-&gt;] (5) -- (6);  \end{tikzpicture} %\label{fig:sto} } %%\qquad % %\bigskip % \subfloat[Second]{ \label{fig:st} %\begin{subfgure}[b]{\textwidth} \begin{tikzpicture}[every node/.style={circle, draw, scale=1.0, fill=gray!50}, scale=1.0, rotate = 180, xscale = -1]  \node (1) at (0, 0) {$a$}; \node (2) at (3.0, 0) {$s$}; \node (3) at (4.5, 0) {$s'$}; \node (4) at (7.5, 0) {$t'$}; \node (5) at (9.0, 0) {$t$}; \node (6) at (12.0, 0) {$b$};   \draw[-&gt;] (1) -- (2); \draw[thick, dashed, -&gt;] (2) to[out=-100,in=-150] (1); %\draw (3) -- (2); \draw[-&gt;] (3) -- (4); \draw[thick, dashed, -&gt;] (4) to[out=-100,in=-150] (3); %\draw (5) -- (4); \draw[thick, dashed, -&gt;] (2) to[out=-250,in=-350] (4); \draw[thick, dashed, -&gt;] (3) to[out=100,in=150] (1);     %\draw (8) -- (7); \draw[-&gt;] (5) -- (6); \draw[thick, dashed, -&gt;] (6) to[out=-100,in=-150] (5);   \end{tikzpicture} } \end{minipage} \begin{minipage}[t][4em][s]{0.5\textwidth} \subfloat[Third]{ %\begin{subfigure}[b]{\textwidth} %\centering \begin{tikzpicture}[every node/.style={circle, draw, scale=1.0, fill=gray!50}, scale=1.0, rotate = 180, xscale = -1]  \node (1) at (0, 0) {$a$}; \node (2) at (3.0, 0) {$t$}; \node (3) at (4.5, 0) {$t'$}; \node (4) at (7.5, 0) {$s'$}; \node (5) at (9.0, 0) {$s$}; \node (6) at (12.0, 0) {$b$};   \draw[-&gt;] (1) -- (2); \draw[-&gt;] (2) -- (3); \draw[-&gt;] (3) -- (4); \draw[-&gt;] (4) -- (5); %\draw (8) -- (7); \draw[-&gt;] (5) -- (6);   \end{tikzpicture} } %%\qquad % \subfloat[Fourth]{ \label{fig:ts} %\begin{subfigure} \begin{tikzpicture}[every node/.style={circle, draw, scale=1.0, fill=gray!50}, scale=1.0, rotate = 180, xscale = -1]  \node (1) at (0, 0) {$a$}; \node (2) at (3.0, 0) {$t$}; \node (3) at (4.5, 0) {$t'$}; \node (4) at (7.5, 0) {$s'$}; \node (5) at (9.0, 0) {$s$}; \node (6) at (12.0, 0) {$b$};   \draw[-&gt;] (1) -- (2); \draw[thick, dashed, -&gt;] (4) to[out=-100,in=-150] (1); %\draw (3) -- (2); \draw[-&gt;] (3) -- (4); \draw[thick, dashed, -&gt;] (5) to[out=100,in=150] (1); %\draw (5) -- (4); \draw[thick, dashed, -&gt;] (2) to[out=100,in=150] (5); \draw[thick, dashed, -&gt;] (4) to[out=-100,in=-160] (2);   %\draw (8) -- (7); \draw[-&gt;] (5) -- (6); \draw[thick, dashed, -&gt;] (6) to[out=100,in=150] (3);  \end{tikzpicture} } \end{minipage} \end{figure} \end{document} Fancyhdr does not apply same header/footer on chapter and non-chapter pages