SOQL order when list of ID's passed I have list of Account ids and when pass the account list to SOQL, what will order of the record return by salesforce? It will be same order where list of id is present ?   exmaple :  List&lt;ID&gt; accountIds=new List&lt;ID&gt;{'id1','id2','id3'}; List&lt;Account&gt; accountList=[SELECT Id,Name FROM WHERE Id in:accountIds];   What will be the order of the accountList i get ? Any article on this ?
SOQL result ordering in the absence of an Order By clause In the absence of an  in a SOQL query, what order will Salesforce return results in?  Clearly if ordering is important then Order By should be specified, but I recently encountered a question about what the order would be if it was undefined.  My initial thoughts were Salesforce would return them in whatever order suited them. Much like .  For simple queries this would typically line up with the creation date descending and the Id ascending. For more complex queries it would depend on the joins being performed.
If $f: D(0,1)\to \mathbb C$ is holomorphic, then there is a sequence $\{z_n\}$ in $D(0,1)$ such that $|z_n| \to 1$ and $\{f(z_n)\}$ is bounded What would you call a person who systematically dumps his work on you in a bid to evade responsibilities (with a work philosophy that when you don't learn or do it, you are never given the responsibilities and thus have no fear of making mistakes) but cluelessly whines to the same people around him for not having all the benefits that they (the higher ranking hardest working colleagues) earn.  PS: Owing to a bad management (Racial discrimination, Poor work ethic,ignorance, etc), if it helps. How to kill applications I have been playing around with Ubuntu installing new themes and and docks. Sometimes during the installation, whole screen just hangs. What is the best way in Ubuntu to Kill a process/application? Anything similar to Ctrl + Alt + Del of windows? Abiword starts automatically each restart Abiword starts automatically each restart, on any user. Already checked out Startup Applications. Remember session is turned off.   ()  Additional info, may be it'll give a clue - I configured VNC server on this machine to run, so sometimes, in additional to regular Ubuntu/Unity sessions I start XFCE4 session. I think this behavior started after VNC4 configuration, but ~/.vnc/xstartup does not contain abiword - just regular xfce startup stuff.  What are additional places where I can look? Resubmitted rejected suggested edits It seems that when a user’s suggested edit gets rejected they can simply re-suggest it, and given the  of affairs of the suggested review queue the suggested edit is quite likely to be approved (or if not this time, then it will almost certainly be approved if they are persistent).    As an example I saw the following  which was rejected, very shortly after I saw almost the  suggested again, this time it got two approvals.  Should there perhaps be some sort of delay until a user can suggest an edit after their suggestion was rejected for the same post? Perhaps a check can be made how large of a difference there is between the two suggestions (though I’m not sure it’s worth doing just for this, and a delay is probably sufficient)?   I do understand that a user should be able to re-suggest an edit after it was rejected, since after all perhaps they made a better suggestion after seeing that it was rejected, however in cases like these I don’t think that is what is happening.  I did see  saying that after some rejected edits a user cannot suggest any further edits until a week has passed, but as this is clearly not happening here I guess that may have changed since that post. jquery's append not working with svg element? Order of some quotient ring of Gaussian integers Let $$G_\beta(w) = e^{\beta w^2}$$  Now I get the process of applying a fourier transform (or inverse) to get a new  gaussian:  $$G_\beta(x) = G_\beta(0) e^{\frac{-x^2}{4\beta}}$$  but in doing the derivation the constant $G_\beta(0)$ never arose. I know how to calculate the constant, but where did it come from in the derivation?  edit: Fourier form used: $$\int_{-\infty}^{\infty} f(w) e^{-iwx} dw$$ Does the Planck scale imply that spacetime is discrete? Redirecting stdout to a file you don't have write permission on When you attempt to modify a file without having write permissions on it, you get an error:  &gt; touch /tmp/foo &amp;&amp; sudo chown root /tmp/foo &gt; echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Sudoing doesn't help, because it runs the command as root, but the shell handles redirecting stdout and opens the file as you anyway:  &gt; sudo echo test &gt; /tmp/foo zsh: permission denied: /tmp/foo   Is there an easy way to redirect stdout to a file you don't have permission to write to, besides opening a shell as root and manipulating the file that way?  &gt; sudo su # echo test &gt; /tmp/foo I am wondering what the differences are between mixed and unmixed GLMs. For instance, in SPSS the drop down menu allows users to fit either:   analyze-&gt; generalized linear models-&gt; generalized linear models &amp; analyze-&gt; mixed models-&gt; generalized linear     Do they deal with missing values differently?    My dependent variable is binary and I have several categorical and continuous independent variables. I am looking for instructions on how to install cedarview graphics drivers on Ubuntu 13.04 32bit.  My graphics hardware is a GMA3600 aka Power VR SGX545.  EDIT: It seems that they are not in Raring yet, but only Precise:   EDIT2: they seem to be closed source. How to convert numbers between hexadecimal and decimal Fix half-installed package I am getting error while using sudo apt-get upgrade stating:  dpkg: error processing libgfortran3:amd64 (--configure):   package libgfortran3:amd64 is not ready for configuration   cannot configure (current status `half-installed') Errors were encountered while processing:   libgfortran3:amd64 E: Sub-process /usr/bin/dpkg returned an error code (1)   It does not seem to block the installation/upgrade other applications. I believe this problem arose due to direct shutting down of my PC while the application was being upgraded.  How can I fix this? Solving Keplerian two-body problem numerically? I'm trying to solve the two-body problem numerically, setting up G, m1 and m2 =1.0.  The masses are placed at the positions -10 and 10 respectively along the x-axis and gave them both 0 on the y-axis. I am having some real issue with the initial conditions fitting for a keplerian orbit with a given eccentricity (e=0.9)! Also how would the initial condition change for different mass ratios? Mcrypt extension is missing in 14.04 server for mysql The php mcrypt extension on ubuntu 14.04 shows that it is installed properly, but phpmyadmin says:   The mcrypt extension is missing. Please check your PHP configuration.   My current php config is . If you need anymore information, please contact me through the comments.  $ sudo apt-get install php5-mcrypt     Reading package lists... Done     Building dependency tree            Reading state information... Done     php5-mcrypt is already the newest version.     0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Find a parabola touches the line $y=x$ and $y=-x$ at $A(3,3)$ and $B(1,-1)$ If a parabola touches the line $y=x$ and $y=-x$ at $A(3,3)$ and $B(1,-1)$, then find the focus, axis of the parabola and its directrix.   What I thought: Since the 2 tangents are perpendicular,the origin must lie on the directrix and the line joining A and B is a focal chord. Don't know how to proceed from here.. Center of a free product Let $A$ and $B$ be two groups and let $G=A*B$ be their free product. Suppose both $A$ and $B$ are nontrivial. I want now to prove that $G$ is infinite and that $Z(G)$ is trivial.  I think I can prove that $G$ is infinite using this argument: two reduced words of $A*B$ are equal if and only if they have the same length and the ith letter of the first word is the same as the ith letter of the second one. Hence one can find a reduced word of $G$ of length arbitrarily big (since we are sure it won't be equal to a shorter word). Do you think it works? Has anyone another suggestion?  On the other hand, I don't really have a clue for the second part except trying to analyze a long list of cases of reduced words and prove for each one that the only element with which they commute is the identity. Does anyone have a smarter idea?  Thanks in advance! How do I restore a Places folder I accidentally deleted in Nautilus? How to "grep" for line length in a given range?