I had answered  and ran into a problem tagging a dropped item.    The command I gave will tag a leather chestplate with a protection level 1 enchantment.  Here is the command:  /scoreboard players tag @e[type=Item] add example {Item:{id:"minecraft:leather_chestplate",tag:{ench:[{id:0,lvl:1}]}},OnGround:1b}   This works properly if the item is obtained using the command:  /give @p minecraft:leather_chestplate 1 0 {ench:[{id:0,lvl:1}]}   The problem is that if the chest plate is enchanted with a book at the anvil, it gives the item another tag of  so the item has increased repair costs.  I attempted to add RepairCost:1 to the command inside the tag brackets:  /scoreboard players tag @e[type=Item] add example {Item:{id:"minecraft:leather_chestplate",tag:{RepairCost:1,ench:[{id:0,lvl:1}]}},OnGround:1b}   Over at , I found:     when you are testing for/giving a score depending on its tag you often need to specify that data type   I have never seen integers specified so I tried RepairCost:1i.  This did not work either.  Then over at  I found:     "auto:1b" is read as a Byte tag, while "auto:1" is read as an Integer tag.   byte:1b OR byte:true OR byte:false   short:1s   integer:1   long:1l   float:1f OR float:1.0f   double:1.0 OR double:1.0d   compound:{}   list:["data","data"]   intArray:[1,1,1]   string:"text"   It seems, integer is the default if unspecified.    I even took a look at the item in my inventory using :   I ended up building a testfor command where I just guessed at different variations and different positions within the command:  testfor @p {SelectedItem:{id:"minecraft:leather_chestplate",tag:{ench:[{id:0,lvl:1}],RepairCost:1}}}   Nothing I have tried has worked.  Is there some way to include RepairCost in detection commands like this?
I am trying to build a custom Adventure Island. At this moment I am trying to limit the allowed items on this island. I'm trying to do this by filtering on a certain enchantment which is not item-specific.  For example.   When you want to filter an wooden sword with a custom name, you use this command:  /testfor @p[r=5] {Inventory:[{tag:{display:{Name:"Custom Sword"}}}]} &lt;   When you want to filter a wooden sword with a custom name and specific enchantement, you can use:  /testfor @p[r=5] {Inventory:[{tag:{display:{Name:"Custom Sword"},ench:[{id:16,lvl:1}]}}]} &lt;   But how can I filter on items with a specific enchantment on ANY item? I tried:  /testfor @p[r=5] {Inventory:[{tag:{ench:[{id:16,lvl:1}]}}]} &lt;   But this ain't work. Does anyone know how to solve this issue?
Where did my default brushes go? I was working on a logo design for a client in Illustrator CS4 when suddenly the default brushes were no longer there. The brush files are still in place but they do not show up in the brushes panel. The options to show the brushes by type are checked but greyed out.   I tried a preference reset, that didn't fix it. I haven't tried any new brushes because the brush I needed was in the stock set. I know its bad form not to try everything but I needed one of the stock brushes to tweak an existing design. How to convert PDF to (La)TeX? I know that hardly any information is passed to the PDF when a .tex file is compiled.  But is there a tool that can convert a PDF document back to (La)TeX? I have been having extreme difficulties with this integral. I would appreciate any and all help. $$ \int \sqrt{\tan x} ~ \mathrm{d}{x}. $$ General integral to find resistance We've all wanted to express certain questions, rhetorical or not, with annoyance, excitement, surprise, frustration and so on. What better way than with both a question mark (?) and an exclamation mark (!), right? I've seen two ways of punctuating such questions:  Where is this place?!    Who do you think you are!?  (Things like ?!?, !?!, ?????!!!!!, ??!?!!?!?!!??, etc are irrelevant here.) Which is the proper way to order the two symbols? Or does each of the above two have a distinct and grammatically correct meaning? Or is the interrobang (‽) the clear winner here? ;) Limit $\lim\limits_{x\to0}{\frac{\ln{(e+x)}-e^x}{\cos^2{x} -e^x}}$ convert a html book to a pdf file? How can I convert a html book (consisting of a number of html files linked to each other) to a pdf file on Ubuntu?   Hope the resulting pdf file can have bookmarks according to the structures of the html book.  The html book can be downloaded from . Extract it, and go to help, and the directory manual is the html book. What is the significance of a mostly blank user card? How to convert image file data in a byte array to a Bitmap? Let $X$ and $Y$ be independent $N(0; 1)$ random variables. Let $Z = \sqrt{X^2+Y^2}$.  (a) Derive the marginal pdf of $Z$ and then using the marginal pdf to compute ${\rm E}[Z^2]$  (b) Can you propose a different way other than that in (a) to compute ${\rm E}[Z^2]$  (c) Compute ${\rm E}[Z]$.  This is the whole question that I was asked. I can do (c) but I don't know how to find the marginal pdf of $Z$ with the given information and can't seem to find any formulas. Any help would be appreciated. Why does this sort ignore the +/- character prefix? order of a sylow p-subgroup Puzzle: Find largest rectangle (maximal rectangle problem) From all the hard drives I have bought, they never seem to be as large as the advertised size; from 320 GB down to 290 GB, from 500 GB down to 450 GB, etc. Is there a technical reason for this? How to disable the skype ads (advertisement)? Is there a software utility to adjust screen gamma/brightness/contrast? I use to work at night and it is eye-hurting to watch at lightbulb-bright screens (I've got two - laptop's built-in panel and an external 18-inch CRT) in a dark environment. So I adjust my screens to be darker.  Can I do this a software way instead of pressing monitors' buttons that many times every time? Capitalization of "Theorem 1" in mathematics papers In many mathematics papers, I read sentences like:     With an appeal to Theorem 4.5 we get …   Is the capitalization of theorem in this case correct? If it is correct why do we capitalize the word? INT(5) vs SMALLINT(5): numbers in parenthesis after the numeric type How to make tr aware of non-ascii(unicode) characters? Differentiating $y=x^{2}$ I am reading in a book about differentiating, but I am confused with one of the steps he takes.  We start with:  $$ \begin{align} y &amp;= x^{2} \\ y + \mathrm{d}y &amp;= (x + \mathrm{d}x)^2 \\ y + \mathrm{d}y &amp;= x^2 + x\mathrm{d}x + x\mathrm{d}x + (\mathrm{d}x^2) \end{align} $$  Now the author simplifies this to:  $$y + dy = x^2 + 2x\mathrm{d}x + (\mathrm{d}x^2)$$  I dislike how the middle term is simplified to $2x\mathrm{d}x$ instead of $2(x\mathrm{d}x)$, as I feel like it is more intuitive on what is going.  As in, $2$ of the term $x\mathrm{d}x$, instead of $2x\mathrm{d}x$.  But I fear writing it as $2(x\mathrm{d}x)$ may result in an incorrect distributive property.  Next, he omits the $(dx^2)$:  $$y + \mathrm{d}y = x^2 + 2x \mathrm{d}x$$  Subtract the original $y = x^2$:  $$\mathrm{d}y = 2x \mathrm{d}x$$  Now here is where I get confused:  $$\frac{\mathrm{d}y}{\mathrm{d}x} = 2x$$  How can he just divide both sides by $\mathrm{d}x$!?  If the original term was $2$ of $x\mathrm{d}x$, wouldn't it have to be written out as $2x * 2\mathrm{d}x$, and thus divide both sides by $2\mathrm{d}x$ instead?  I think the root of my confusion is how to properly simplify: $$x\mathrm{d}x + x\mathrm{d}x$$  I trust that he is right, but I am looking for an explanation of why his simplification can work, and why $2(x\mathrm{d}x)$ would be incorrect!  Thank you!