If I have a record type with picklist fields inside, how can I extract the enabled and non-enabled values ​​from them through a soql query?
How check if a picklist value is available or not for a specified record type ( through SOQL)? Thanks in advance
Getting hybrid graphics to work nvidia-prime GT650M I recently made the switch to Ubuntu. Everything on my laptop works fine except my hybrid graphics card. It is Intel graphics combined with Nvidia GeForce GT650M. I tried Bumblebee, but primusrun doesn't work (segmentation fault, core dumped) and optirun works with glxspheres64, but steam games look worse with optirun than with Intel graphics (e.g. Surgeon Simulator 2013 runs fine with Intel and hangs a lot with optirun)   I tried Nvidia Prime, but it gives me a black screen on startup after install, so I can't do anything and have to power off my PC with the power button. I also tried nvidia-prime 0.5 on Ubuntu 14.04, and then I get 'low-graphics mode' and I can't get to Unity. NoSuchMethodError error for getActionBar() (API-8) Triple Boot Lion+Win7+Linux C state-machine design What about lowering the edit character limit for characters in code snippets? , to correct a misspelled library enum in an answer. Since the edit was only one character, I also had to add a superfluous sentence to get over the character limit required to edit a post.  I've hit this problem before in other edits, always in code snippets. Since the edit limit exists to prevent trivial edits, and since there are many cases where one character code edits are not trivial (= to == etc), would it make sense to have a lower edit minimum inside code snippets? How to convert milliseconds into human readable form? How do I remove repeated elements from ArrayList? nvidia-libopencl1-331 has to be removed before installing WINE Showing that $f_0 (x_1, \ldots, x_m) \mathrm tr A =\displaystyle{ \sum_{i=1}^n} f_0(x_1, \ldots, Ax_i,\ldots, x_m)$ Question:  Consider $f: (-\epsilon, \epsilon) \to \mathbb R^{m^2}$ a differentiable path of matrices $m \times m$ such that $f(0) = I_m$ and the function $g: I \to \mathbb R$ is defined by $$g(t) = \det f(t)$$  Show that $g'(0) = \mathrm{tr} \,a $ (trace of the matrix $a$), where $a = f'(0)$.   Attempt:  First we use that $\det f(t) = \det (f_1(t), \ldots, f_m(t)) $, where $f_i$ is the $i$-th row of the matrix $f(t)$ $m \times m$. Considering the operator $': \mathbb R^m \to \mathbb R^m$, $f(t) \mapsto f'(t)$  With this in mind $$\begin{align}g'(t) = \det'f(t) &amp;= \sum_{i=1}^{m} \det (f_1(t),\ldots,f'_i(t),\ldots, f_m(t)) \\&amp;\underbrace{=}_{(*)}\det(f_1(t), \ldots, f_m(t))\, \mathrm tr f'(t) \end{align}$$  For $t = 0$ we have   $$\begin{align}g'(0) &amp;=\det(e_1, \ldots, e_m) \,\mathrm tr f'(0) \\&amp;= 1 \dot\, \mathrm tr \,a \\&amp; = \mathrm tr \, a\end{align}$$  I'm trying to come up with a proof using the fact that $\det$ is a $m$-linear form.   In order to prove $(*)$ I need the following equality, which according to this  holds.   If $A: V \to V$ is a linear operator and $f_0$ is a alternated $m$-linear form, such that $f_0 (e_1, \ldots, e_m) = 1$ then   $$f_0 (x_1, \ldots, x_m) \mathrm tr A = \sum_{i=1}^m f_0(x_1, \ldots, Ax_i,\ldots, x_m) $$  Could someone give a proof to this? Is full wave rectifier better than half wave one? How do I clean up my dconf database? I'd like to download automatically tons of papers listed on .bib file so I'm trying to find a way to facilitate the process by, e.g. I import or input to a tool a certain .bib file which contains a list of literature, the output is the literature's .pdf file. Any idea to do so? Table and figure side-by-side with independent captions Looking to put a table and a figure side by side so that the table and figure have their own captions. A crude sketch    ------------              -----------------     TABLE    | a |  b |                     FIGURE   | c |  d |  ------------              Table 2: Caption           -----------------                            Figure 7: Caption   The closest I've gotten is:  \begin{table}% \centering \parbox{0.4\textwidth}{ \begin{footnotesize} \begin{tabular}{| l | r |} \hline some &amp; table\\ \end{tabular} \end{footnotesize} \caption{Table} \label{tab:table} } \qquad \begin{minipage}[c]{0.53\textwidth}% \centering     \includegraphics[width=1\textwidth]{awesome} \caption{Figure} \label{fig:figure} \end{minipage} \end{table}   But that gives two Table X: Caption captions. I didn't find anything in subfig.  Help? When looking at used camera bodies, a question that comes up a lot, is "how many shutter actuations, or clicks, does it have?"   What I am wondering is, how many is too many. In other words, is there a reference for knowing when a sensor is more likely to go? How should I judge a camera body with 20000 vs 5000? Is that a significant difference, or is that not even relevant.  Obviously this might something that is dependent on model, so if there is some information based on model that would be even more interesting.  One of the guys at Canon Tech Support said that this is completely irrelevant for the Rebel series cameras, but he is obviously slightly biased. :) I am thinking of buying a camera to learn photography. Most of the time I'll be shooting portraits and landscapes. But I am not sure where I should start. Most of my friends tell me that I should get an entry level DSLR, but I am not sure if I have the persistence and enthusiasm to carry it all day in a backpack. But the camera on my cellphone doesn't seem to be enough to begin with.  So what I want is some expert advice (preferably with professional experience). Can most compact fixed-lens or mirrorless cameras fit the situations I mentioned? Or do I really need to go to a DSLR to get a tool to learn photography? Even/Odd Binomial Coefficients I was wondering if there's a nice general solution for the following problem:  How many numbers in the $n^\text{th}$ row of Pascal's triangle are even? How many are odd? Restore open applications, documents, and window state When working on a project, I generally have a couple of Explorer windows open to relevant folders and a couple of applications (e.g. Eclipse and a form development tool) open to specific project-related documents.  There's a lot of value in that context, and I'd like to find a way to save a set of open apps under a project name, then restore that state at a later date.    Thus far all of the utilities I've found are virtual desktop products that don't save/restore state.  I'm specifically looking for something that will run the applications I had running, open the documents I had open, and position the windows as they were.  I'm amazed that such a seemingly simple concept as "Save my workspace state" doesn't seem to be available.  I'm on Windows 7.  Any suggestions? What does “times” mean in the newspaper “Washington Times”?  I have always wanted to ask about this, but feared it might be so obvious that I would look like a fool. For that many times, I haven't before experienced that level of hesitation with any other question, but I think now is the right time to ask, anyway. In biblatex, treat periods in journal as abbreviation dots I would like to consistently have a comma between the journal and volume number for article references using biblatex with biber as the backend. Unfortunately, the punctuation between the journal and volume is not consistent. Journals whose last word is abbreviated have no comma between the journal and the volume, and the word "Vol." is capitalized. Journals whose last word is not abbreviated have a comma and the word "vol." is not capitalized. I can fix the capitalization by un-commenting the commented lines in the below MWE, but the comma problem is quite perplexing. Apologies if this fix is in an answer somewhere, but I cannot find it (or at least, I don't know what to search for!).  Current output: [1] First Author. “Blah Blah 2”. In: Am. J. Phys. Vol. 72, no. 3 (Mar. 2004), pp. 367–375. [2] Second Author. “Blah blah”. In: Energy Fuel, vol. 27, no. 12 (Dec. 2013), pp. 7778–7789.  Expected output: [1] First Author. “Blah Blah 2”. In: Am. J. Phys., vol. 72, no. 3 (Mar. 2004), pp. 367–375. [2] Second Author. “Blah blah”. In: Energy Fuel, vol. 27, no. 12 (Dec. 2013), pp. 7778–7789.  MWE:  \documentclass{article} \usepackage{filecontents} \usepackage[     backend=biber,     citestyle=numeric-comp, ]{biblatex} \addbibresource{\jobname} % \DefineBibliographyStrings{english}{%     % volume = {\lowercase{v}ol\adddot}, % avoid capitalization after dots. % } \DeclareFieldFormat[article]{volume}{\bibstring{volume}\addspace #1} \DeclareFieldFormat[article]{number}{\bibstring{number}\addspace #1} \renewbibmacro*{volume+number+eid}{%   \printfield{volume}%   \setunit{\addcomma\space}%&lt;---- was \setunit*{\adddot}%   \printfield{number}%   \setunit{\addcomma\space}%   \printfield{eid}} \renewbibmacro*{journal+issuetitle}{%   \usebibmacro{journal}%   \setunit*{\addcomma\addspace}%&lt;---- was \setunit*{\addspace}%   \iffieldundef{series}     {}     {\newunit      \printfield{series}%      \setunit{\addspace}}%   \usebibmacro{volume+number+eid}%   \setunit{\addspace}%   \usebibmacro{issue+date}%   \setunit{\addcolon\space}%   \usebibmacro{issue}%   \newunit}  \begin{filecontents*}{\jobname.bib} @article{York2004, author = {Author, First}, journal = {Am. J. Phys.}, month = mar, number = {3}, pages = {367--375}, title = {{Blah Blah 2}}, volume = {72}, year = {2004} } @article{Baumgardner2013a, author = {Author, Second}, journal = {Energy Fuel}, month = dec, number = {12}, pages = {7778--7789}, title = {{Blah blah}}, volume = {27}, year = {2013} } \end{filecontents*}  \begin{document} \nocite{*} \printbibliography \end{document} I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' article which seems to run well.   I have also used the syntax "\usepackage{amsmath}" and "\usepackage{amssymb}" in the beginning of my .tex file to write math symbols, only because some online tutorial said so.   My question is, firstly, are those the only packages I need to use for writing math, and secondly, I remember reading about some shortcuts(?) that can be used for writing math symbols, and/or user defined shortcuts that can be 'set' in the beginning so as to reduce the amount of LaTeX code needed to write mathematical symbols. However, I do not know if this is true, and if it is, how to go about 'installing' such a thing.   Does such a thing exist? Am I able to make my own shortcuts?  Thanks!