So I was wondering or was hoping to get some clarity on the dependencies in a sfdx-project.json file.   I know that for my project / scratch org I can list managed package dependencies within the sfdx-project.json file using a packageId and versionNumber. But does that mean if I define all of the dependencies and create my scratch org will those managed packages automatically be installed or do I still need to manually install them using the sfdx-cli? I ask this because it's a bit tedious to have to install each managed package using the cli every time I recreate the scratch org.   Furthermore we have some packages that require an installationKey and after some digging I found that the key is not yet supported in the sfdx-project.json file in the following url: .   So even if it did in fact install the managed packages from the project config file, I would not be able to install any of the ones that require an installationkey, is that correct?
I am trying to follow the  and . I tried to push some of my Lightning components which depend on a managed package in App Exchange. I would like to know how to install a managed package using Salsforce DX CLI so that i can use that command in my travis.YML file for my CI integration.  Here is the script for my Travis file  sudo: true dist: trusty cache: false env: - URL=https://developer.salesforce.com/media/salesforce-cli/sfdx-linux- amd64.tar.xz before_install:  - export SFDX_AUTOUPDATE_DISABLE=true - export SFDX_USE_GENERIC_UNIX_KEYCHAIN=true - export SFDX_DOMAIN_RETRY=300 - wget -qO- $URL | tar xJf - - "./sfdx/install" - export PATH=./sfdx/$(pwd):$PATH - sfdx update - sfdx force:auth:jwt:grant --clientid $CONSUMERKEY --jwtkeyfile  assets/server.key --username $USERNAME --setdefaultdevhubusername -a DevHub script: - sfdx force:org:create -f config/project-scratch-def.json -s -a  PackageInstallation - sfdx force:org:list - sfdx force:org:display - sfdx force:user:password:generate -u PackageInstallation - sfdx force:org:display - sfdx force:org:open -u PackageInstallation - sfdx force:source:push -u PackageInstallation - sfdx force:apex:test:run -u PackageInstallation -c -r human   I get the following error as my components depend on the app exchange components:     No COMPONENT named markup://ldt:datatableDev found :
Any open subset of $\Bbb R$ is a countable union of disjoint open intervals Let $U$ be an open set in $\mathbb R$. Then $U$ is a countable union of disjoint intervals.    This question has probably been asked. However, I am not interested in just getting the answer to it. Rather, I am interested in collecting as many different proofs of it which are as diverse as possible. A professor told me that there are many. So, I invite everyone who has seen proofs of this fact to share them with the community. I think it is a result worth knowing how to prove in many different ways and having a post that combines as many of them as possible will, no doubt, be quite useful. After two days, I will place a bounty on this question to attract as many people as possible. Of course, any comments, corrections, suggestions, links to papers/notes etc. are more than welcome. combining results of two select statements Connection pooling in PHP 'setenv' command not working on tcsh shell when called explicitly I can run setenv command just fine in my tcsh shell like this:  echo $0 /usr/bin/tcsh echo $SHELL /usr/bin/tcsh setenv START_TIME `date +%s` echo $START_TIME 1499355967   But, whenever I run it explicitly like shown below, it doesn't work. I need to do this because I have to specify shell when executing it via python subprocess call, otherwise it will call a sh shell as default.  /usr/bin/tcsh -i -f -c 'setenv START_TIME `date +%s`' echo $START_TIME START_TIME: Undefined variable.   What's the problem here? I searched for this issue online, but couldn't find any issue similar to this. This is extremely frustrating. Appending to an ObjectOutputStream Proof of one inequality $a+b+c\leq\frac{a^3}{bc}+\frac{b^3}{ca}+\frac{c^3}{ab}$ How to prove this for positive real numbers? $$a+b+c\leq\frac{a^3}{bc}+\frac{b^3}{ca}+\frac{c^3}{ab}$$  I tried AM-GM, CS inequality but all failed. How to show $ \sin x \geq \frac{2x}{\pi}, x \in [0, \frac{\pi}{2}]$? I have tried the following: $$ f(x) = \sin x-\frac{2x}{\pi} \\ f'(x)= \cos x-\frac{2}{\pi} \\ f''(x) = -\sin x \leq 0 $$ But this doesn't seem to be heading in the right direction as it would appear $f'(x)$ is decreasing and has a zero within the domain, so I'm not sure how this might be used to prove the inequality. Is it possible to prove a null hypothesis? The dimension of the Hilbert space is determined by the number of independent basis vectors. There is a infinite discrete energy eigenbasis $\{|n\rangle\}$ in the problem of particle in a box which can be used to expand a general state $|\psi\rangle$ as: $$|\psi\rangle=\sum\limits_{n=0}^{\infty} C_n |n\rangle$$ Here, the basis implies that the Hilbert space has countably infinite number of basis vectors. But one could well expand $|\psi\rangle$ in any other basis as well, say the continuous position basis. Then that superposition, $$|\psi\rangle=\int dx \psi(x)|x\rangle$$ is also possible. But this basis $\{|x\rangle\}$ is continuous and uncountably infinite. Such sets cannot be equal because they have different cardinality. Then my questions is how many independent basis vectors are really there in this Hilbert space? Proof of -(-v)=v in a vector space The exercise is: Prove that $-(-v)=v$ for every $v \in V$  Proof Suppose  $v \in V$ and $V$ is a vector space. Then $-(-v) \in V$ as result of the scalar multiplication property and $-(-v)=-(-1\cdot v)=-1 \cdot(-1\cdot v) =(-1 \cdot-1)\cdot v = 1 \cdot v = v $ The desired result $-(-v)=v$ holds.  The solution manual gives the proof:  Proof   I just wanted to make sure that the way I did the proof isn't missing anything?Thanks What is the most efficient way to convert a MySQL query to CSV in PHP please?  It would be best to avoid temp files as this reduces portability (dir paths and setting file-system permissions required).  The CSV should also include one top line of field names. How to prove a general matrix invertible given by as below?  How to prove that $A^TA+I$ is always invertible for $\forall A \in \mathbb{R}^{n\times n}$? So, I'm working creating a lamp... yes, newbie here.  After modeling for a bit, I noticed that my point of origin was no longer the center of my object:    How to I reset an object origin point to the center of it's geometry? I'm having this Error when I try to compile my .tex file with xelatex:  ! Package hyperref Error: Wrong DVI mode driver option `dvips', (hyperref)                because XeTeX is running.  See the hyperref package documentation for explanation.   This is my LaTeX header  \documentclass[10pt, a4paper, dvips,]{moderncv}  \moderncvtheme[grey, roman]{classic}  \usepackage{ifxetex} \ifxetex % only for xelatex \usepackage{xltxtra} % this should load both fontspec &amp; xunicode \usepackage{fontspec} \setromanfont{Helvetica Neue} \else % \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \fi % \ifxetex   Any ideas?  EDIT:  I removed the 'dvips', now I get:  ! Package hyperref Error: Wrong driver option `pdftex', (hyperref)                because pdfTeX in PDF mode is not detected.  See the hyperref package documentation for explanation.   Now my first latex line  \documentclass[10pt, a4paper]{moderncv}   Any clues ? Does it exist a free interactive geometry software, like GeoGebra, which works for 3D geometry? I would be able to draw spheres, great circles, and so on. What is the actual mechanism behind the reflection of various colored light by material of different color? When light (composed of photons with different frequency and wavelength) falls on a material, some of it gets absorbed and some get reflected depending upon the color of the material on which it strikes. And the material reflects the light of its own color only, thereby absorbing all the other colored light. So, my questions are:  How would a photon with certain wavelength (say 400 nm) decide to get reflected after striking the material of red color?   What is the actual mechanism behind the reflection of various colored light by the material of different color? 'Search on Yammer' link in search center refiners I have a heavily branded site I'm working on and can't find where the "Search on Yammer" link is being populated from. It appears within the search refiner/filter web part in the left column but none of the display templates reference this.   I'd like to be able to customize the link, placement on the page, etc. without resorting to jQuery to move elements around the page.     And the markup coming through looks like this. The refiners themselves come through a series of display templates but the Yammer link is nowhere that I can see in any of them.   &lt;div webpartid="f09e98eb-6dc3-4a9b-8dbf-65d0fbc7b7c3" haspers="false" id="WebPartWPQ4" width="100%" class="ms-WPBody " allowdelete="false" style=""&gt;     &lt;div class="ms-ref-ctrl"&gt;         &lt;div class="ms-ref-refiner"&gt;             &lt;div id="Container"&gt;                 &lt;h2 class="ms-displayInline"&gt;                     &lt;a class="ms-ref-name ms-displayInlineBlock ms-srchnav-link-selected ms-link" href="javascript:void(window.open(                     'https://www.yammer.com/search?trk_event=o365_search&amp;amp;search='+                     encodeURIComponent(Srch.ScriptApplicationManager.get_current().queryGroups.                     Default.dataProvider.get_currentQueryState().k),'_blank'));" title="Open a new tab to search for this on Yammer"&gt;Search on Yammer&lt;/a&gt;                 &lt;/h2&gt;             &lt;/div&gt;         &lt;/div&gt;     &lt;/div&gt; &lt;/div&gt; &lt;div componentid="ctl00_SPWebPartManager1_g_f09e98eb_6dc3_4a9b_8dbf_65d0fbc7b7c3_csr" id="ctl00_SPWebPartManager1_g_f09e98eb_6dc3_4a9b_8dbf_65d0fbc7b7c3_csr"&gt;             ... refiners populated through display templates ... &lt;/div&gt; How much marmelade can I bring into the US? I want to bring homemade berry marmelade in little glass jars with me to the US from Europe as gifts for friends. I have found the following site on importing foods into the US  and would assume that marmelade falls under the condiments category, which should be admissible. However, I am wondering however if there is any limit to how much one is allowed to bring. Will there be any issues if, say, I bring 3 kilograms (6 lbs 10 oz)?   Also on related note, would they be suspiscious when they see many glass jars in my bag? Do I risk getting my bag searched or getting asked what the jars are? Is there anything I can do to avoid any such trouble? Long transit in Cairo (Egypt) Cardinality of set of real continuous functions I believe that the set of all $\mathbb{R\to R}$ continuous functions is $\mathfrak c$, the . However, I read in the book &quot;Metric spaces&quot; by Ó Searcóid that set of all $[0, 1]\to\mathbb{R}$ continuous functions is greater than $\mathfrak c$:  &quot;It is demonstrated in many textbooks that $\mathbb{Q}$ is countable, that $\mathbb{R}$ is uncountable, that every non-degenerate interval is uncountable, that the collection of continuous functions deﬁned on  $[0,1]$ is of a greater cardinality than $\mathbb{R}$, and that there are sets of greater and greater cardinality.&quot;  I understand that (via composition with the continuous function $\tan$ or $\arctan$) these sets of continuous functions have the same cardinality. Therefore, which claim is correct, and how do I prove this?