I am trying to make a Custom Trade on a villager. I need to make him buy 8 gold nuggets and sell a Cow Spawn Egg.  basically you pay 8 nuggets for a Cow Spawner.  The ID of the Cow Spawn Egg is 92 but I don't know where to put it in the command /summon Villager ~ ~2 ~ {Invulnerable:1,CustomName:Spawner_Vendor,Profession:2,Career:1,Offers:{Recipes:[{buy:{id:gold_nugget,Count:8},sell:{id:spawn_egg,Count:1}}]}}
Recently I have been working on a mini-game that gives a few players custom spawn eggs. I want the mob to simply have a name and be on a team. I'm attempting to use this command:   /give @p[x=-102,y=48,z=81,distance=..1] shulker_spawn_egg{Team:PurpleTeam,CustomName:"\"Purple Turret\""}   It does give the player a spawn egg, but the resulting shulker spawn does not have a team or a name. Any ideas why this isn't working?
How to append something to an array? How do I append an object (such as a string or number) to an array in JavaScript? Version tags reloaded I'm getting sick of version numbers in tag names (aka version tags). Look,      I just want them all to be just . They are all about JSF. I browse and answer questions about JSF. I don't want to browse in all those different tags. I don't want gold badges for both  and . I can't hammer a duplicate  question because I don't have a gold badge for that. Across years I observed that a version tag is usually only picked by the asker when a &quot;relatively new&quot; or &quot;relatively old&quot; version is being treated in the question. When the &quot;currently mainstream&quot; version is being treated,  or when the asker is &quot;more proficient&quot; in the language, then askers often just pick the versionless . While moving in time, this may cause confusion by future readers when the version isn't explicitly specified anywhere in the question. I try to maintain them by adding/removing the version tag depending on its relevance, and by adding the versionless tag when it's absent. It only feels a neverending story. I'm sure other tag caretakers also have mixed feelings on this. I propose to normalize the version from the tag name:  Ban version numbers in tag names in the model (not in the UI). Add an optional single-choice version field to the Tag entity in the model. Users with edit privileges (no suggested edits please) must be able to change versions. Users with gold tagbadges must be able to add and edit versions. I'd imagine the version edit thing to be reachable via that tag info popover (when you hover the tag). Tags themselves however should look exactly the same, the version just separated with e.g. a hyphen from the tag name.  When in place, migration of existing version tags should be piece of cake. There's apparently already a script in place which recognizes version tags, it could be reused to re-match current tags and extract the version from it into the new version field. The alternative would be to automatically add the versionless tag when a version tag is being used. But this is IMO only tag pollution.  I'm posting this on meta.se instead of meta.so because version numbers aren't only on SO a problem, but on basically all HW/SW related sites. Windows 8 upgrade Recovery Disk I have upgraded to Windows 8 from Win 7. I want to create a recovery disk for Windows 8, just in case something goes wrong. I didn't find the option of creating it from the control panel.  How do I create a Recovery CD/DVD? Solve this integral for free WiFi shortcut for commands I use following commands very often, and they're too long.  sudo /etc/init.d/kerio-kvc start sudo /etc/init.d/kerio-kvc stop   how can I create a shortcut command for them? something like sudo kerio start or sudo kerio stop How to prove that r is a double root if and only if it is a root of a polynomial and of its derivative. How does one parse XML files? Let $G$ be a connected planar graph with a planar embedding where every face boundary is a cycle of even length. Prove that $G$ is bipartite.  Any hints/tips will be greatly appreciated. Technical term for associating a group with the actions of a few Find examples of two series $\sum a_n$ and $\sum b_n$ both of which diverge but for which $\sum \min(a_n, b_n)$ converges. To make it more challenging, produce examples where $a_n$ and $b_n$ are positive and decreasing.  Edit: This problem is taken verbatim from Exercise 2.7.11 on page 68 of Abbott's Understanding analysis. What is the difference between image size and image quality? List of Ubuntu Versions with Corresponding Linux Kernel Version A story where technology is forbidden, but used by priests I am looking for a story I remember reading in the mid-90s. I can't remember if it was a trilogy or just a three part book, but I know it was in paperback book form. I also know it was found in the Young Adult section of the library at that time.  The general premise was that there had been some sort of war in the past and machines were outlawed. People visited priests who used magic. I remember that the main character discovers that the priest aren't using magic but are actually using machines.  I can also remember the main character ends up leaving the nation he is in and ends up in a neighboring nation where machines are allowed. I remember there being a scene where he watches a "movie" which I think was more like an old fashioned moving picture.  For some reason I keep wanting to tie this whole thing back to a sword, or blue sword, or something like that, but I might be mixing stories. Other things I keep linking to it: the character was in training to be a priest, he was forced to leave, he ended up using the neighboring nation to conquer his homeland. Again, still not sure if I am mixing things but they keep popping up.  I do know that it is not The Blue Sword by Robin McKinley, or its prequel, The Hero and the Crown. Primary ideals of $\mathbb{Z}$ Let $R=\mathbb{Z}$ I must prove that      In $\mathbb{Z}$ the primary ideals s are precisely the ideals $(p^k)$ where $p$ is a prime number and $n\ge 1$.   $$$$ The definition of primary ideal.     Definition. An ideal $I$ of the ring $R$ is called primary if for all $a,b\in R$ $$(ab\in I\quad\text{and}\quad a\notin I)\Rightarrow b^n\in I, \text{for some positive integer $n$}.$$   Therefore I must prove that      $$(n)\;\text{is primary in}\;\mathbb{Z}\iff n=p^k, k\ge1,p\ge2,\;\text{where}\;p\;\text{is a prime}.$$   Proof ($\Leftarrow$) We suppose that $n=p^k$ for same prime $p$ and $k\ge 1$. Let $a,b\in\mathbb{Z}$ such that $ab\in(p^k)$ and $a\notin (p^k)$. Then $p^k\nmid a$, but $p^k \mid ab$ I no longer know how to proceed.  $(\Rightarrow)$ Let $(n)$ a primary ideal and we suppose for absurd that $n$ is not a power of a prime, then? how could I proceed?  Now, let $ab\in (p^k)$ with $a\notin(p^k)$, then $p^k\mid ab.$ Can I conclude that $p^k\mid b$?   How can I set up the other implication? Thanks Completely synchronise multiple Macs Show the existence of a certain subgroup of F2 Consider these two ways of coining a name: 1) Bolzano's theorem, Rolle's theorem 2) the Poincare conjecture, the Kantorovich theorem. What is the difference between these ways, why do people choose one over the other?  My guess is that the main difference is when you put 's at the end of a name, you strictly imply that the theorem/conjecture was written by this very person (Bolzano wrote Bolzano's theorem). But when it is "the [Name] theorem/conjecture," it doesn't mean that the person which name is used actually created this thing, maybe he just inspired it (Poincare might have only inspired the Poincare conjecture but did not propose it).  Sometimes there is only one way: ; you can not call it hairy ball's theorem. Multiple SSL domains on the same IP address and same port? This is a  about Hosting multiple SSL websites on the same IP.   I was under the impression that each SSL Certificate required it's own unique IP Address/Port combination. But the  is at odds with this claim.  Using information from that Question, I was able to get multiple SSL certificates to work on the same IP address and on port 443. I am very confused as to why this works given the assumption above and reinforced by others that each SSL domain website on the same server requires its own IP/Port.  I am suspicious that I did something wrong.  Can multiple SSL Certificates be used this way? Where and why do I have to put the "template" and "typename" keywords? In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template &lt;typename T, typename Tail&gt; // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template&lt;typename U&gt; struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion&lt;U&gt; dummy;      };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; }; template &lt;typename T&gt; // For the last node Tn. struct UnionNode&lt;T, void&gt; {     // ...     template&lt;typename U&gt; struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template&lt; &gt; struct inUnion&lt;T&gt; {     }; };   The problem I have is in the typedef Tail::inUnion&lt;U&gt; dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion&lt;U&gt; names a type and not a function? I have 238gb of timelapse photos which was taken over a period of twenty days and all the photos are split up into 20 folders. I would like to put this together into a timelapse, I tried using Premiere Pro but that is taking very very long, any tips on putting it together fast btw Im on a Mac, thanks.