Row count result from SELECT COUNT() not matching rows returned by SELECT id
count() returns a different amount than a simple select
Black flakes from new cast iron pan I bought a brand new Lodge 12" cast iron pan, washed it in soap and warm water and dried it with a paper towel thoroughly. Then I applied a thin layer of canola oil with a paper towel (paper towel was clean - not black after this application) and then heated the empty pan on my electric stove for 15-20 minutes. The oil on the pan smoked a bit, some parts of the pan turned slightly ashy (grey). Mostly everything looked OK.   After I turned it off and cooled the pan, I now take a clean paper towel and rub the surface and I see black flakes! What is this? Is this the oil broken down? Can I cook in the pan or wash it with soap to eliminate the black flakes? Once washed and dried should I rub canola oil again? This is my first experience with cast iron. Any pointers will help. How can I convert string to datetime with format specification in JavaScript? Anime with a boy hiring a creature from a stone, meets a man named Dante and starts a journey to collect crystals Orbiting a specific point - Orbiting Camera Does creating an object using reflection rather than calling the class constructor result in any significant performance differences? I have this run.sh file, and I've create a symbolic link into my desktop.   When I double-click on it the file the following dialog appearsr    And I have to click on "run" each time. How can I create a link that runs by default? How do I make my textures show in cycles? I am admittedly new to Blender, and of course cycles. I am working on a scene and I have textures set to my objects that render with internal engine just fine. However, when I go into cycles, everything is greyish. I have two light sources that should be sufficient (I think), I just don't know what I'm doing wrong. This is a screenshot of the cycles result. 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)) Rewriting Triple Integral in different order How can I rewrite, say: $$\int^1_0\int^{z^2}_0\int^y_0{f}dxdydz$$ In the orders $dzdxdy$ and $dydzdx$?  Would I have to solve this triple integral all the way or is there a simple way to do this? I'm using Ubuntu 13.04 on a Lenovo X220.  Why do I have so many .Xauthority.* files in my home directory? I.e  .Xauthority .Xauthority.0JW6UW .Xauthority.2HWRVW .Xauthority.2TA6VW .Xauthority.49F8VW .Xauthority.4E27UW .Xauthority.7CLTVW .Xauthority.8JGGXW .Xauthority.96SAVW .Xauthority.AOUFVW .Xauthority.ASDOVW .Xauthority.CGVJXW .Xauthority.E0ZSVW .Xauthority.E5VZWW .Xauthority.FE64UW .Xauthority.FIHDWW .Xauthority.HL45VW .Xauthority.HYCCVW .Xauthority.ILUEWW .Xauthority.JXJHVW .Xauthority.K1QJXW .Xauthority.KXSOVW .Xauthority.LEKEVW .Xauthority.M48WVW .Xauthority.M6QTVW .Xauthority.MW6NWW .Xauthority.N57TWW .Xauthority.O5HAWW .Xauthority.OIC5VW .Xauthority.P2RPVW .Xauthority.Q0FRVW .Xauthority.QW01WW .Xauthority.RDW5WW .Xauthority.T0TLWW .Xauthority.TSO4WW .Xauthority.U6R9VW .Xauthority.V3KAWW .Xauthority.W8Z1WW .Xauthority.XDLGVW .Xauthority.XOOHWW.Xauthority.XUICVW  They are all zero bytes except the first, with timestamps all over the place.  What are these, and are they safe to delete? Is there any way to save the order of spaces in Mission Control? Why is the Java main method static? The method signature of a Java main() method is:  public static void main(String[] args){     ... }   Is there a reason for this method to be static? What does `:-` mean in a shell script I saw this in the end of an awesome shell script but I can't understand the login here because I think it's being short-handed for a longer command.  spark ${@:-`cat`}   This apears at the end of . Any ideas?  + Marks for some one who extends it into a full segment of code, even if its slower (Better for explanation) Getting ssh to execute a command in the background on target machine I just recently completed a neutral run where I experimented seeing how the story would go on if I only killed certain characters (it was my second run, my first run was True Pacifist) and I ended up choosing to kill Flowey instead of letting him live. I planned to start a Genocide run after resetting the game, but Flowey was gone when i did. Flowey is basically the base for each story in undertale (pacifist and genocide) so I know I can't progress any further without him being here. I really just want to start anew and, without Flowey, I dont think I can access True Resets anymore. It may be possible if I did a genocide route, but then I'd have to fight Sans, and that would take FOREVER.  Basically, I am wondering if I can erase all my progress somehow. I heard that True Resets don't erase everything entirely, so is there another way? Please respond, Undertale is the only game I have that's any fun and I don't want to have to buy another game. If I create just a basic hello.tex file an compile it using   pdflatex hello.tex   The pdflatex program is creating a plethora of file which is a little annoying. Currently it writes all those files about which I really don't care:  hello.aux, hello.log, hello.nav, hello.out, hello.snm, hello.toc   Is there a way to tell pdflatex to only write hello.pdf if the build is successful ? If not, can I specify the output directory of those files ? Maybe I could just write them in /tmp. Is there a continuous bijection from $[0,1]$ onto $[0,1] \times [0,1]$? That is with $I=[0,1]$ and $S=[0,1] \times [0,1]$, is there a continuous bijection $$ f: I \to S? $$  I know there is a continuous bijection $g:C \to I$ from the Cantor set $C$ to $[0,1]$. The square $S$ is compact so there is a continuous function  $$ h: C \to S. $$ But this leads nowhere. Is there a way to construct such an $f$?  I ask because I have a continuous functional $F:S \to \mathbb R$. For numerical reason, I would like to convert it into the functional $$ G: I \to \mathbb R, \\ G = F \circ f , $$ so that $G$ is continuous. How can I tell if an ETF is expensive? For stocks, I can easily look at the price/earnings ratio, and, according to The Intelligent Investor, stand clear of those with a ratio higher than 20.  How can I tell if the current price of an ETF is a good price to buy it? Are there such simple metrics? This post has been locked; locked posts can't be voted on Extruding a circular shape from a non-circular object I need to extrude a circular shape from a surface that's basically just a grid of quads. What's the best practice to do this without screwing up the topology too much?  I basically want to have a circular face I can extrude, in order to have a cylinder like protuberance on the object, something like this: