Is there way to create a dynamic dependent picklist that can get the value from Salesforce metadata?  My workaround for now is to setup a hard-coded.
It's possible to define dependent picklist in the setup and the are supported out-of-the-box in Visualforce.  Are they also supported in Lightning natively? Is it on the roadmap to support them soon? If not: is there a best practice or a easily reusable workaround available right now?
How can I install a different version of Python using apt-get?  Obviously I realise I can install using the source tar ball, however I would prefer not to install from source and instead use the package manager, as that's what it's there for. Surely somewhere reputable builds .deb files for the latest Python releases (why python.org don't is beyond me) that I can reference.   What do I need to do to reference them and what issues might it create when upgrading to the next version?  If there is no way except for building from source, is there a (pseudo) package that I can can install that will provide all of the dependencies needed without having to find and install each individually? So that I don't get:  The necessary bits to build these optional modules were not found: _bz2                  _curses               _curses_panel       _dbm                  _gdbm                 _lzma               _sqlite3              _ssl                  _tkinter            readline              zlib arcpy.env.overwriteOutput = True not working for one dataset Mandatory child record when creating parent record What is Java's answer to WPF? Icons of Meta.SE and Stack Apps have gone missing I'm using a  freely downloadable latex class file and the style is set to \bibliographystyle{ieeetr}. But when I cite something with \cite{} I get it inside ().   For example I get it as abc et al. (1) but what I want to get is abc et al. [1].   Please tell me how to get my citations inside [ ] ? Can I use my Windows 7 license in a dual-boot configuration? Possible Duplicate:          I've purchased a retail license of Windows 7 Ultimate for my machine at home.  I'm thinking of creating a dual-boot install:   64-bit install for work apps (need the RAM for virtual machines and RAMDisk) 32-bit install for entertainment apps (Media Centre, games, etc)   How does retail licensing work in such situations? Can I activate the same license on both installations?  Edit:  I would like to add that I want to have separate partitions for work and play. What is a concise function that formats a (String) decimal into a currency format in Apex? We are doing research on monitor human activities to avoid adverse events. In part of it, we did an experiment in our MoCap lap to detect the human motion to monitor his activities. We have f-curves from that motion. But we need all the xyz coordinates values for that motion for that given time (just say about 2-3 minutes) to do a scientific analysis of the data.  Do anyone have an idea how to get xyz values from f-curves? "The news is good." Why? Is it possible to prevent DHCP service on SBS 2003 from shutting down due to rogue DHCP server? Is there a visual web editor based on bootstrap? Bootstrap is a great framework, and I want know if there is a tool that gives you the possibility of dragging html components, re-sizing and moving them, changing colours, all while generating the bootstrap html code.  I don't want to use Dreamweaver because you need to go and add classes and IDs to the html, which could be a pain sometimes. Uniform convergence for sequences of functions Blender image output is greyish and not white I already searched the internet but could not find a solution to this. Maybe it is the same question as  but there was no answer.  I want to render a video with tracking, but the output "loses" color information and gets kind of greyish. I first thought that it is related to the renderer, but it happens in Cycles and Eevee. Therefore i made a sample image, added it to the image sequence editor and rendered it as 1 frame. Resulting in the same problem.  I placed the original image beside blenders output so that you can see the difference. The only idea I came up with is that something with the lighting is not correct but I can't find a setting for that.  I am using Blender 2.80 with the default settings. Only set the output resolution to match the input resolution. How can I connect the top loop to the down loop with faces Hey I want to connect the bottom loop with the top loop so that it forms a solid.  I have tried selecting multiple vertices and pressing F but that just creates a large face which I do not want. I have tried using grid fill bu that doesn't work either. The solution that seems to work is by selecting four vertices and pressing F and then selecting the next 4 and pressing F and on and on. That just takes too long. bash variables in for loop range I want to print list of numbers from 1 to 100 and I use a for loop like the following:  number=100 for num in {1..$number} do   echo $num done   When I execute the command it only prints {1..100} and not the list of number from 1 to 100. Find the last two digits of $3^{45}$ I was wondering if there is a simpler way to find the last to digits of a power such as $3^{45}$. I reduced it modulo 100 to get the answer, which is 43. But I was curious if there was a simpler, or more eloquent way to get this result.  Here's my method:  Using the fact that $3^4=81\equiv -19 \pmod{100}$ and $19^5=2,476,099\equiv -1 \pmod{100}$  $$ 3^{45}\equiv 3(3^4)^{11}\equiv 3(-19)^{11}\equiv 3(-19)(19^5)^2\equiv 3(-19)(-1)^2 \equiv -57 \equiv 43 \pmod {100} $$  I just felt like this was sort of a messy way to find out that the last two digits are 43. Why was Hagrid's wand snapped in two when he was expelled from Hogwarts? Why was he banned from performing magic? Yes, he was expelled from Hogwarts after being framed by Tom Riddle as being responsible for Moaning Myrtle's death via Aragog the Acromantula. But why did he receive this punishment?  ‘What’ve you been feeding [the pumpkins]?’ said Harry. Hagrid looked over his shoulder to check that they were alone. ‘Well, I’ve bin givin’ them – you know – a bit o’ help.’ Harry noticed Hagrid’s flowery pink umbrella leaning against the back wall of the cabin. Harry had had reason to believe before now that this umbrella was not all it looked; in fact, he had the strong impression that Hagrid’s old school wand was concealed inside it. Hagrid wasn’t supposed to use magic. He had been expelled from Hogwarts in his third year[...] Chamber of Secrets - page 90 - Bloomsbury - chapter 7, Mudbloods and Murmurs  Why would Hagrid's wand be snapped in two and he not be allowed to do magic when:  Attendance and completion of an education at Hogwarts was not compulsory by wizarding law¹; homeschooled children were allowed to do magic for their lessons, and then do magic fully when they turned 17. The Weasley twins dropped out of Hogwarts after practically destroying parts of the castle with fireworks (and conjuring an awesome swamp on the fifth floor), yet were allowed to do magic despite not completing Hogwarts or any kind of homeschooling curriculum (that we know of). No Death Eater character that we know of was banned from using magic, despite their crimes and devotion to Voldemort. I don't recall any Death Eater wands being snapped and the owner banned from performing magic after being convicted of Death Eater crimes (please do correct me if I'm wrong). For example, Bellatrix Lestrange's wand was not snapped in Goblet of Fire when she received a life sentence in Azkaban and, as we know, her wand played a fairly significant part in Deathly Hallows.  ¹I realize in Deathly Hallows Voldemort made attendance at Hogwarts compulsory; however, by that time, Hagrid had been cleared of the charges of being responsible for Myrtle's death and was allowed to use magic again. Encode URL in JavaScript? How do you safely encode a URL using JavaScript such that it can be put into a GET string?  var myUrl = "http://example.com/index.html?param=1&amp;anotherParam=2"; var myOtherUrl = "http://example.com/index.html?url=" + myUrl;   I assume that you need to encode the myUrl variable on that second line? I am currently reading Murphy's ML: A Probabilistic Perspective. In CH 3 he explains that a batch update of the posterior is equivalent to a sequential update of the posterior, and I am trying to understand this in the context of his example.  Suppose $D_a$ and $D_b$ are two data sets and $\theta$ is the parameter to our model. We are trying to update the posterior $P(\theta \mid D_a, D_b)$. In a sequential update, he states that, $$ (1) \ \ \ \ \ \ \ \  P(\theta \mid D_{a}, D_{b}) \propto P(D_b \mid \theta) P(\theta \mid D_a) $$ However, I am slightly confused as to how he got this mathematically. Conceptually, I understand that he is saying the posterior $P(\theta \mid D_a)$ is now a prior used to update the new posterior, which includes the new data $D_b$, and is multiplying this prior with the likelihood $P(D_b \mid \theta)$. Expanding the last statement out, I have, $$  P(D_b \mid \theta) P(\theta \mid D_a) = P(D_b \mid \theta) P(D_a \mid \theta) P(\theta) $$  but are we allowed to say $P(D_a \mid \theta) P(D_b \mid \theta) = P(D_a, D_b \mid \theta)$ in order to make the connection in (1)?