Is it possible to somehow retrieve all metadata for a single custom metadata type via ant or sfdx mdapi ?   I've tried this:  &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt; &lt;Package xmlns="http://soap.sforce.com/2006/04/metadata"&gt;     &lt;types&gt;         &lt;members&gt;Env_Var__mdt.*&lt;/members&gt;         &lt;name&gt;CustomMetadata&lt;/name&gt;     &lt;/types&gt;     &lt;version&gt;45.0&lt;/version&gt; &lt;/Package&gt;   but it doesn't work...  I know I can get EVERYTHING with &lt;members&gt;*&lt;/members&gt; but that's not really helpful...
I'm trying to use the ant migration tool to retrieve all the Custom Metadata records for a single Custom Metadata Type.  However, I can't figure out the syntax.  I would think that something like this would work:    &lt;Package xmlns="http://soap.sforce.com/2006/04/metadata"&gt;     &lt;types&gt;         &lt;members&gt;State_Sales_Tax.*&lt;/members&gt;         &lt;name&gt;CustomMetadata&lt;/name&gt;     &lt;/types&gt;     &lt;types&gt;         &lt;members&gt;State_Sales_Tax__mdt&lt;/members&gt;         &lt;name&gt;CustomObject&lt;/name&gt;     &lt;/types&gt;     &lt;version&gt;36.0&lt;/version&gt; &lt;/Package&gt;   but no dice.
“community wiki” checkbox in new question shows a dialog twice when self-answering Click Answer your own question Check community wiki A dialog box     Are you sure you want to make this post Community Wiki?   will appear, Click OK or Cancel; The same dialog will appear again.   Google Chrome 44.0.2403.107 / Windows8.1 / site rev 2015.7.25.3609 Links to the Wayback Machine are broken in chat transcript is an example of the bug. It looks like this in regular chat:  That link points to: http://web.archive.org/web/20080409050311/http://personalpages.manchester.ac.uk/staff/daryn.lehoux/Tropes.pdf  In the transcript, it looks like this:  That link points to: http://web.archive.org/web/20080409050311/%3Ca%20href=  ... which doesn't work so well! Could this be fixed? I'm not sure if this impacts links to elsewhere. Let $p, q \in \mathbb R$ be positive reals for which $p + q = 1$. How to prove that for any two natural numbers $n, m$ the following inequality is true?  $(1 - p^n)^m + (1 - q^m)^n \ge 1$  I don't have a big knowledge about solving inequalities, so I tried to use cauchy-schwarz inequality, binomial theorem and some other baisc techniques, but it lead me nowhere. I've been thinking about it for a long time and now I'm completly stuck. I am looking for a way to identify primitives types in a template class definition.  I mean, having this class :  template&lt;class T&gt; class A{ void doWork(){    if(T isPrimitiveType())      doSomething();    else      doSomethingElse();  } private: T *t;  };   Is there is any way to "implement" isPrimitiveType(). How to extract the decimal part from a floating point number in C? How can we extract the decimal part of a floating point number and store the decimal part and the integer part into two separate integer variables? Are there 'stack' sites for Mac or Windows? How do I execute a string containing Python code in Python? How do I execute a string containing Python code in Python? I have two systems installed previously Windows 7 and Ubuntu. I was trying to reinstall Ubuntu and format the Ubuntu OS partition using a tool in Windows 7.   When I have Ubuntu ready on a USB stick and restart my laptop, it prompts me with the GRUB rescue screen. If I boot from USB to install Ubuntu, it just hangs.   Anyway, I messed up everything. So my question is how can I boot Windows 7 now? $\mathbb Z^n/\langle (a,...,a) \rangle \cong \mathbb Z^{n-1} \oplus \mathbb Z/\langle a \rangle$ OED says:     doobie: a marijuana cigarette    Origin unknown. A relationship with dobby has been suggested.    dobby/dobbie: A silly old man, a dotard, a booby. Dialectal.      First citations:    1967   J. B. Williams Narcotics &amp; Hallucinogenics. Dubbe, Negro slang for a marijuana roach.    1982   A. Maupin Further Tales of City 95,  I smoke a doobie at lunch.   But I just chanced upon  in Yahoo Answers (don't laugh! :) where someone posted:     "It's obvious that Shaggy's a , I'm sure he's been feeding Scoob a bit of his hash and whatnot."    Scoob = , cartoon "pet" dog of constantly-hungry hippie/village idiot Shaggy (from 1969)   I'm not entirely convinced that 1967 dubbe was necessarily a significant factor in the appearance of  since around 1970 (the hippie era, some might say).  So I'd like to know whether it's credible to claim the usage arose (primarily?) through association with the TV show (specifically, the two characters therein closely associated with marijuana). Computing the $n^{\textrm{th}}$ permutation of bits. I've seen  post about the $n^{\textrm{th}}$ permutation of a set but that is not what I need. If you have a bit string (ones and zeros only) there are  to quickly permute the NEXT lexicographically ordered bit permutation. For example take $$000111 \rightarrow 001011 \rightarrow 001101\rightarrow\cdots$$ etc. If the string is long then there are going to be approximately one Bajillion of these things. And I want to know how to compute the $n^{\textrm{th}}$ guy without doing the exhaust.  Backgound: This is for a parallel computing job where I need to farm out the search space of elements of a set.  Foreground: I own a copy of Knuth's 4th volume of "The Art of Computer Programming" and I think the answer is in there but I can't seem to find it. (It's like 900 pages).  I'm posting here in the hopes that someone has knowledge of this (obviously). Even if you can point me to a source, say the part in Knuth's book where he describes this problem I would be most grateful. Macro with lstlisting inside I have been following  about using \NewDocuentCommand with lstlisting and the accepted answer is nice except it is too big and it doesn't quite work for me.   I came up with this example to test xparse:    \documentclass{article} \usepackage{xparse} \usepackage{listings}  \ExplSyntaxOn \NewDocumentCommand{\code}{m +v}{     \begin{lstlisting}[style=#1,numbers=none,xleftmargin=0.35cm,framesep=0mm]         #2     \end{lstlisting} } \ExplSyntaxOff  \begin{document}  \code{C}{ int x = 200; unsigned int y = 0; }  \end{document}   Like stated in the  I first used m as a normal parameter and then +v as a multiline verbatim parameter, but it fails. It looks like I am still missing something... How to get own process pid from the command prompt in Windows I'm trying to find a way to get my own PID from a command prompt (for later use in bat scripts).  So far the only useful way I found was to use getpids.exe from here : , but I'm looking for a command that's "built in" to Windows.  I'm looking for a "bullet proof" way. No assumptions about my process being the only cmd.exe or anything. Change Windows 7/8/10 system language - welcome screen, login, etc What is an example of pairwise independent random variables which are not independent? Is there any way I can see at what time the commands were executed from the bash history? We can see the order but is there any way I can get the time also?  Bottom-Line: Execution time in the Bash history Should questions having lots of downvotes be downvoted further? Is down-voting an already heavily down-voted/closed question kind of like kicking a dead horse? Is this bad practice? Determining direction of longest segment of polygon using ArcGIS Desktop? I have a shapefile with 9000 agriculture fields and what I like to do is to determine for each field (=each polygon) the direction of the longest segment.  For instance, the selected polygon in the screenshot has its longest segment from west to east so I would like to mark give the polygon the attribute W (for west) or either E (for east).   Is there any solution to solve my problem in a fast but generalized way?   I do not need very detailed results. It's just for the interpretation of a question.   I'm seeking an answer using ArcGIS 10.2 for Desktop.  To be more precise on what I'm looking for I try to explain more practical: I'm doing winderosion analysis for a specific area with 9000 fields. As result I have a potential susceptibility for each field. I like to check, if the fields with high susceptibility are correlated to a certain orientation of the fields, e.g. check if most of the fields with high risk are oriented in the main winddirection or not.   The search for the longest segment is not really important for me. It was just an idea I had to determine the direction. So forget about the longest segment if there is a way to determine the direction with another method ;) Warn new users when they ask a question after a previous question is closed, downvoted, or deleted Another &quot;miséricorde&quot;:  Consider  (emphasis added):  I think its okay, please dont take any efforts for me. I personally do not feel the system helps ask good questions. I dont know why asking for a software in this case is bad. Basically I needed a command that would give me this data. There is no other way I could have asked the question. I could have changed the question just for the sake of changing. I feel I am better off elsewhere. Thanks for your very very prompt responses. Regards. Bye. – user1744649  We just lost another user due to inadequate guidance on what questions are allowed.  The  by the time they are banned has been proven incorrect. Given that , we need a better way to make sure that users can understand how to ask good questions and what types of questions are allowed. I suggest that we warn newcomers, in a clear but positive tone, when one of their questions has been closed, downvoted (to a score of -2 or lower), or deleted, so that they don't repeat the same mistake.  This is probably best done the next time the user asks a question, and should appear as an &quot;interstitial&quot; page prior to reaching the actual Ask Question form.  The page should not appear to users:  with at least 50 (or perhaps 75 or 100) reputation that have asked a good question since the last downvoted/closed/deleted question that have fixed a bad question and had it reopened/undeleted/upvoted.  The content of the page should be adapted based on the specific problem with the previous question.  I would imagine something similar to the following (example for a question closed as off topic on Super User):  Before you ask another question... One or more of your previous questions have been closed as off topic. The scope of on-topic questions is defined in the , as follows:  What kind of questions can I ask here? Super User is for computer enthusiasts and power users. If you have a question about …  computer hardware, computer software, or personal and home computer networking  and it is not about …  programming and software development, video games or consoles, websites or web services like Facebook, Twitter, and WordPress, electronic devices, media players, cell phones or smart phones, except insofar as they interface with your computer, issues specific to corporate IT support and networks, asking for a shopping or product recommendation,  … then you’re in the right place to ask your question!  Please make sure that the question you are about to ask is on topic as described above. If you need help determining whether your question can be asked on this site, you can ask for advice on  or . You may also want to edit your previous question to address any problems associated with it. To ensure a high standard of content quality and prevent disruption to the community, users who repeatedly post low-quality questions  Continue  The  doesn't address this issue as it is shown only to users with 10 reputation or less (rather than up to 50 and possibly higher) and does not address the specific problem with previous low-quality questions.  The point of this feature request is to provide a easily understood targeted message that actually teaches the user about what happened with the previous question he or she asked.  The EULA is generic and may not have conveyed the intended message clearly if the user still asked a low-quality or off-topic question. For reference,  currently has 143 reputation and the proposed message would probably have been shown after the first closed or deleted question. I know this can be a complex feature to implement, since it needs to be adaptive, but this should help eliminate confusion on what the rules are and minimize the incidence of good-faith users getting post-banned. What is a contrast matrix? What exactly is contrast matrix (a term, pertaining to an analysis with categorical predictors) and how exactly is contrast matrix specified? I.e. what are columns, what are rows, what are the constraints on that matrix and what does number in column j and row i mean? I tried to look into the docs and web but it seems that everyone uses it yet there's no defition anywhere. I could backward-engineer the available pre-defined contrasts, but I think the definition should be available without that.  &gt; contr.treatment(4)   2 3 4 1 0 0 0 2 1 0 0 3 0 1 0 4 0 0 1 &gt; contr.sum(4)   [,1] [,2] [,3] 1    1    0    0 2    0    1    0 3    0    0    1 4   -1   -1   -1 &gt; contr.helmert(4)   [,1] [,2] [,3] 1   -1   -1   -1 2    1   -1   -1 3    0    2   -1 4    0    0    3 &gt; contr.SAS(4)   1 2 3 1 1 0 0 2 0 1 0 3 0 0 1 4 0 0 0