testfor a cocoa bean in a player inventory
How can I filter items with a certain enchantement?
Why is no root pass needed to access MariaDB after upgrade to Ubuntu 16.04? Annoying FrontEnd bugs in Mathematica 10 What does different focal length offer me? I'm trying to factorise $$ x^3z - x^3y - y^3z + yz^3 + xy^3 - xz^3 $$ into four linear factors.  By plugging it into WolframAlpha I've learned that it's $$-(x-y)(x-z)(y-z)(x+y+z)$$  My question is: what are the steps involved in factorising the expression? Is there a method I don't know about that I'd have access to with my limited maths?  Really appreciate any help! Food in the Star Wars Universe? Are the foods in the Star Wars Universe the same as ours'? Do they have strawberries or potatoes or something? I know that they might have some food other than the food that we also have, but I'm wondering if they have any food like ours'. I am not sure what caused this error, but here is what the whole error says, and also this is sitting as a notification, and preventing me from updating any software using Update Manager - Please provide some assistance or tell me how to figure out what to do to fix it.  Could not calculate the upgrade  An unresolvable problem occurred while calculating the upgrade.  Please report this bug against the 'update-manager' package and include the following error message: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.' I have a 10 stock portfolio and considering market conditions that are on the rise when this question in being asked, a few of them did hit their 52-week high price.  I would like to call myself a long term investor and I do not like to trade so much. If I take "Buy low sell high" as gospel then this is in my opinion a good selling position.  On one hand, I think I should lock my profit because stocks don't hit a 52-week high every day, but on the other hand, there is nothing wrong with the company and it is very well positioned to go up even further.  Any suggestions? Citing papers, that are cited within a paper? I am reading a paper which discussing the change in a specific idea in a field of science over time. I would like to basically summarize the points in the paper but in a smaller fashion by taking some quotes and explaining how they relate to my situation.   For instance, in the paper I am reading the author said "in 2002, Stanley and Miikkulainen [SM02b] argued that the topology of a neural network also affects their functionality" where the tag [SM02b] is a reference to a entry in the author's bibliography.   Is it sufficient to only cite the author of the paper, or do I need to cite both the author of the paper and the author of the paper the author cited in the paper? I want to bake some displacement maps for Unity Engine. I want to use Cycles renderer. I have read that it's only available in Experimental version of Cycles, but when I changed Cycles to Experimental version there isn't baking type for Displacement map, there are UV, Normals, Shadows etc. but there isn't any Displacement/Depth map choice. I have Blender 2.78a (2016-10-24) downloaded yesterday. Where can I find this option or how can I enable it? Option to hide rep/badges on the avatar block displayed of you The annihilator of a module is an ideal Let $R$ be a ring and let $M$ be an $R$-module. Define the annihilator of $M$ to be the following subset of $R$:  $Ann_R(M) =\{r\in R \mid rm = 0_M  \text{ for all } m\in M \}$  Prove that $Ann_R(M)$ is an ideal of $R$.  please help as much as you can a full answer is greatly appreciated   Thanks Do I need a visa to transit (or layover) in the Schengen area? I found many related questions on this site but I am still not sure about the rules. How can I decide if I need a visa to transit? Schengen members as of May 2021 are as follows:  Austria Belgium Czech Republic Denmark (excluding Greenland and the Faroe Islands - but an open border with the Schengen Area is maintained) Estonia Finland France (excluding overseas departments and collectivities) Germany Greece Hungary Iceland Italy Latvia Liechtenstein Lithuania Luxembourg Malta Netherlands (excluding Aruba, Curaçao, Sint Maarten and the Caribbean Netherlands) Norway (excluding Svalbard) Poland Portugal Slovakia Slovenia Spain (except Ceuta and Melilla) Sweden Switzerland In The Last Jedi:     The Resistance fleet is tracked through hyperspace by the First Order after they make their jump away from their old base.   As soon as the FO ships appear, the Resistance immediately come to the (correct) conclusion as to the tech that was used.  Why would they assume the use of this tech, that they have never encountered before, as opposed to the more common technique of     tracking a ship through the use of a homing beacon. Are configurations written and read directly to/from .yaml files or still to the database? Background  Drupal 7 and previous versions have attracted criticism for Drupal web site admin configuration being stored in the MySQL database, the criticism being that being in a database means that it cannot be directly managed in git together with the PHP code based development for a Drupal site (custom modules, themes etc.).   Secondly with configuration being in the database along with content, transporting configuration between development, test, staging and live servers as part of development activity is complicated, though Features module (and related) can help.  Reading through:   ...I'm getting the impression that, in Drupal 8, the database is still used to store the config, when for example a site builder creates a new content type, rather than this being written to a .yaml file which is used directly.  So actually it seems that the role of the yaml file(s) is a much more purer (than Features) vehicle for the configuration. Whereas with Features it was PHP code which was harder to read what the configuration was, including if doing diffs between commits where config had been updated resulting in a new version of the Features-based config export. By that I mean not that PHP itself is hard to read, as I'm familiar enough with it, having written custom modules, hooks, themes. What I mean is that to express a configuration in PHP is perhaps not the most legible way to do it. So I can see the rationale of using yaml. The difference is that yaml will be read by a parser to apply a config. The complexity of applying the config is in the parser, which most folks need not concern themselves with most of the time, so the yaml can more cleanly describe the config. whereas in Features, there is no parser / yaml (or other script) separation. The descripton of the config and the means to apply it are necessarily in the same place as PHP code which is executed directly, so it's bound to be a bit harder to read the config, particularly if doing git commit diffs.  So there's the rationale for yaml, a Declarative Programming approach to storing configuration management in Git, contrasted with Features which is an Imperative Programming approach. And next what I need to know is this the case that Drupal 8 does still store config in the database does still and yaml files are the means for transporting config (replacing what Features did in D7 and before)?  (By the way I am a big fan of Drupal and spend most of my time at work, working with it for the sites that my organisation produces and maintained and am also involved in the community. So this question is not a stealth campaign against Drupal in favour of other platforms. It is a genuine question to try to dispel the apparent mystique around Drupal 8 and the new config management system)  Update @Berdir's answer (accepted) is a great definitive summary as to the state of Drupal 8 regarding configuration management.  I recently discovered that using yaml for config in Drupal 8 is a concept that has been developed for Drupal 7 with the  module, also read a  on it which includes comparing features.   Update   Is a definitive answer about making config active from DB storage, which corroborates with @Berdir's answer. My phone was just stolen an hour or so ago. Are there any options for tracking? "No root file system defined" error while installing ubuntu I am new to linux/ ubuntu and just downloaded the v11 of ubuntu to learn linux. I faced this "No root file system is defined" error while trying to install it. This is how I was proceeding -    Downloaded ubuntu v11 from the ubuntu.com website, wrote the iso into a bootable cd, and then got into the linux installation process on restarting; everything fine till here. In one of the screen during installation, there are three choices - install alongside windows, something else etc.. Since I have windows 7 in the C drive, I selected the first option - "Install alongside another OS".      Let me interrupt here to give my existing system details - HardDisk   size: 640GB.  Number of existing partitions - 5 C drive - label   windows - 160GB - has windows 7 installed D drive - label linux -   160GB - does not have any data E drive - label backup - 100GB - has   some data F drive - label entertainment - 100GB  - has some data G   drive - label work - 90GB  - has some data All of the above are in   NTFS format.    In the screen that follows, an image is shown with 2 parts and each part is shown to have size equal to 80GB. There is a horizontal slider in the middle of these two images, with which I can resize the partitions. The right side partition is labeled Linux. There is also an option to do 'advanced partitions'. On clicking advanced partitions on the above screen, a new screen is shown in which the partitions existing in my computer are shown - but the labels are different. I see that there are two partitions with size = 160GB each (as expected), and so I assumed that the first 160GB would be my existing C drive and the second on would be the partition which I had labeled as linux (drive D). So I selected the linux partition and clicked on proceed/ install now, and then this error was shown - "No root file system defined".. and I cannot proceed after this.   Please let me know two things here:   During the screen in point number 3 above, the image with slider was shown. Which partition (drive c: or d: or anyother) is being referred to here? Which one am I actually resizing - is it the existing c: drive which has windows 7 installed already, that is getting shrunk and then ubuntu getting installed in the remaining space? What does ""No root file system defined" error mean? How do I select the proper partition and continue with the installation?    P.S.:  I had already partitioned my drives as mentioned above, and the D drive with 160GB was specifically left free for installing ubuntu. I would like to Select D drive during setup and install ubuntu here, while still keeping the already installed windows7 in C drive.  Thanks! General solution to the PDE $xU_x+yU_y=0$ Solve the equation $xU_x+yU_y=0$.   From Partial Differential Equations: An Introduction, 2nd Ed. (Strauss, pg. 10). There are no boundary conditions.  Solution: The PDE can be written $(x,y)\cdot\nabla U(x,y)=0$, implying that the vector $(x,y)$ is tangent to the PDE's characteristic equation. Then I can write $dy/dx=y/x$, and to solve this ODE,  $$\frac{dy}{dx}=\frac yx \\ \ln y=\ln x+c_1 \\ y=cx \\ y/x=c$$  Hence, the PDE is dependent on $c$ and I can write $U(x,y)=f(y/x)$ for some function $f$, solving the problem.  Question: Is this solution correct? The hint for the question (supplied by the professor) said I should use a substitution of variables, but this seems reasonably valid. I know that python has a len() function that is used to determine the size of a string, but I was wondering why it's not a method of the string object.  Update  Ok, I realized I was embarrassingly mistaken. __len__() is actually a method of a string object. It just seems weird to see object oriented code in Python using the len function on string objects. Furthermore, it's also weird to see __len__ as the name instead of just len. Where to say thanks? Where is the right place to say "thanks" to all those that answered my question? In a comment to my original post, or in a comment to the latest answer or where? How do I develop black and white negatives at home?