I've been working on something that uses lots of blockdata commands. It was all going well until I needed to put a enchanted book that works with anvils into the command so that I could get it out of the chest above and be able to use it to enchant something with efficiency v but I don't know how to make it work. Here is the command so far:  /blockdata ~ ~3 ~ {Items:[{id:403,StoredEnchantments:,Count:1,Slot:0}]}   When I put in the correct stuff for StoredEnchantments it doesn't appear. What I'm trying to do is make this command into a blockdata command where the enchanted book will appear in the chest instead of my inventory:  /give @p minecraft:enchanted_book 1 0 {StoredEnchantments:[{id:32,lvl:5}]}
I am making a Minecraft Mini Game adventure map, and one of the levels has a /setblock command, I am using the command in a way to spawn an item in a chest (Wooden Button) I need the wooden button to have CanPlaceOn tag so it can be placed on a log. I have tried this command: setblock 294 5 -1251 minecraft:chest 0 replace {Items:[{Count:1,Slot:0,id:minecraft:wooden_button,CanPlaceOn:[log]}]}`
Correct use of 'with' or 'at' when talking about percentages? I'm writing the following sentence:     Women lead uptake at XX%.   But a friend is saying that it should be written:     Women lead uptake with XX%.   Which one is correct? I often need to view on the canvas the (selected or not) features from the current active vector layer.  In this situation, I only need to view something on the canvas, without doing anything on the canvas itself (so, the active window is always the Attribute Table).  This is what I usually do:   Open the Attribute Table for the current active layer; Select the first feature; Press Ctrl+P button (i.e. the "Pan map to the selected row" button); Minimize the Attribute Table; View something on the canvas for the current feature; Go to the first step until needed.   Is there a way (a method, a shortcut) for directly browsing every feature on the canvas without the needing of going backwards and forwards with the Attribute Table? I mean, something like a "next" button?  (I may use the workaround of splitting the windows of the Attribute Table and of the canvas within the monitor, or also docking the Atrribute Table, but I would like to work on the full QGIS window).    EDIT I saw that my question was casted as a duplicate of  question. The two questions are very similiar, but I think it should be left as open for two reasons:   the related duplicated question doesn't have an accepted answer; my question is slightly different because I'm looking for the possibility of displaying only the selected features (and the @Joseph's , that I marked as accepted, answers well to my request). "The product key entered does not match any of the Windows image" I have a HP with Windows 7 installed. I want to do a clean installation of Windows 8 from a bootable DVD.   I purchased my Windows 8 32-bit core from the Microsoft store and I received my product key. I then burned the .ISO file to a blank DVD using imgburn. When I restart and change my BIOS to boot from internal CD/DVD and then boot from my internal DVD, I start the installation process.  After I pass the screen where I select the language and location, and click Install it stays there for a minute and then it says:     The product key entered does not match any of the Windows image   I did my research and learned that I need to add a PID.txt file to my source file containing the Windows 8 .ISO but the thing is: I do not know how to add files to the .ISO. The guide I researched is for a bootable USB and I am using a DVD. Compute $E(X\mid X+Y)$ for independent random variables $X$ and $Y$ with standard exponential distributions Being $X$ and $Y$ independent random variables distributed as $\mathrm{Exponential}(1)$ and let $T=X+Y$ Calculate $E(X|T)$.  This is my attempt at solving this:  Being $Z=\sum_{i=1}^{n}P_{i}$ where $P_{i}$~$\mathrm{Exp}(\lambda)$ then using it's MFG you have that $$M_{P_i}(t)=\frac{\lambda}{\lambda-t}$$ then $$M_{Z}(t)=M_{\sum{P_{i}}}(t)=(M_{P_{1}})...(M_{P_{n}})=(\frac{\lambda}{\lambda-t})^n$$ with this being the MFG of a $\mathrm{Gamma}$ distribution with parameters $(n,\lambda)$  With this result is easy to see that $T$~$\mathrm{Gamma}(2,1)$  Now $E[X|T]=\int xf_{X|T}(x|t)dx$  Then using Bayes' theorem we can make $$f_{X|T}(x|t)=\frac{f_{T|X}(t|x)f_{X}(x)}{f_{T}(t)}$$ then $$f_{T|X}(t|x)=Pr(T=t|X=x)$$ $$=Pr(X+Y=t|X=x)$$ $$=Pr(x+Y=t|X=x)$$ $$=Pr(Y=t-x)=f_{Y}(t-x)$$  Using this result we can now rearrenge $$f_{X|T}(x|t)=\frac{f_{Y}(t-x)f_{X}(x)}{f_{T}(t)}$$ $$=\frac{e^{-(t-x)}.e^{-x}}{\frac{te^{-t}}{\Gamma(2)}}$$ $$=\frac{1}{t}$$ then $$E[X|T]=\int (x)(\frac{1}{t})dx$$  And this where I got stuck because $1_{x\epsilon(0,\infty})$, I made this explanation step-by-step hoping that someone can se easily check where I went wrong. I would aprecciate a step-by-step answer, thanks. How can I disable the “News and Interests” Widget on the Windows 10 Taskbar? On Windows 10 version 1909 and newer releases, Microsoft has added a &quot;News and Interests&quot; widget on the Taskbar (see ):  How can I remove this Widget from the Taskbar? Formula for calculating $\sum_{n=0}^{m}nr^n$ What is an intuitive way of understanding Ostrogradsky instability? Is there a way of explaining why no differential equations in physics exceed order two without delving into Lagrangian and Hamiltonian mechanics - i.e. from Newtonian mechanics? Moreover, is there such an alternative proof, which focuses more on physical reasoning than abstract mathematics? Is it true that a dihedral group is nonabelian? Is it true that a dihedral group is nonabelian?  I'm not sure if the result is true. I checked it for some lower order and I think the result may correct.   But I failed to prove/disprove the result. There are several Q&amp;A threads that explain how to download youtube videos using the terminal.  However, I would also like to learn how to extract the video's soundtracks as MP3 files--also using only the terminal.  Answers briefly explaining how to use youtube-dl or other similar utilities before explaining how to extract the MP3 would be ideal for the sake of having all the information in one place--even though this aspect has been covered in other posts. pgfplots: Clipping Everything Outside a Specific Area I want to add information to each column of a histogram. every node near coord is probably the best approach. It works well with bar plots but not with the histogram:  \documentclass{article}  \usepackage{pgfplots} \pgfplotsset{compat=newest} \usetikzlibrary{pgfplots.statistics}  \begin{document}  \begin{tikzpicture} \begin{axis}[ ybar interval, xticklabel=\pgfmathprintnumber\tick--\pgfmathprintnumber\nexttick, % Code to generate labels nodes near coords={ \pgfmathprintnumber{\pgfkeysvalueof{/data point/y}} }, every node near coord/.style={ anchor=south,xshift=9mm, }, % ] \addplot+[hist={bins=3}] table[row sep=\\,y index=0] { data\\ 1\\ 2\\ 1\\ 5\\ 4\\ 10\\ 7\\ 10\\ 9\\ 8\\ 9\\ 9\\ }; \end{axis} \end{tikzpicture}  \end{document}   I used every node near coord/.style to shift the labels.  The problem is that I have four labels for three columns/bars:    I addition I would like to center the labels. A workaround will be a manual adjustment (every node near coord/.style) just like in the shown example.  Update  Maybe clipping is a possibility. Is there a way to clip the labels (in this case the 7 in the right) away?  Like this: What does -y mean in apt-get -y install command? I always see commands like this  apt-get -y install    What is the -y tag for and what is the difference between apt-get install with and without the -y tag? Why use "need not" instead of "do not need to"? I know questions on the "hot" tab of a site homepage are based on some sort of views/velocity criteria, but does anyone know the actual algorithm used?  Background: I was considering a feature-request about the "hot" tab, but I don't have enough information to speak about it intelligently. How are constraint forces represented in Lagrangian mechanics? I need to build a list of files present in a directory but also pass in a file containing a list of directories to exclude.  I've seen the below suggestion but I've had no luck with it when it comes to the type flag:  find $dir_name $(printf "! -name %s " $(cat $exclude_file))   Is there a way I can do it or will I need to create the entire list and then work through it removing ones that partially match ones in the exclude directory. I would like to know if there are any other tenses or grammatical structures to use for speaking about the future apart from will (perfect tense included), going to, simple and continuous present.  I mean not the obvious ones. For example, simple present (I could never have imagined it could be used for the future).     My mom arrives tomorrow.   I go to the doctor at 4 o'clock this afternoon. skype 4.3 cannot connect to account on ubuntu 14.04 LTS I have being using Skype for a long time on my Ubuntu 14.04 LTS. From this morning on, Skype simple cannot connect to my account anymore.  That is my Skype version:     Skype 4.3.0.37   © 2014 Skype and/or Microsoft   My Ubuntu system:  LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch:core-4.1-amd64:core-4.1-noarch:cxx-3.0-amd64:cxx-3.0-noarch:cxx-3.1-amd64:cxx-3.1-noarch:cxx-3.2-amd64:cxx-3.2-noarch:cxx-4.0-amd64:cxx-4.0-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-3.1-amd64:desktop-3.1-noarch:desktop-3.2-amd64:desktop-3.2-noarch:desktop-4.0-amd64:desktop-4.0-noarch:desktop-4.1-amd64:desktop-4.1-noarch:graphics-2.0-amd64:graphics-2.0-noarch:graphics-3.0-amd64:graphics-3.0-noarch:graphics-3.1-amd64:graphics-3.1-noarch:graphics-3.2-amd64:graphics-3.2-noarch:graphics-4.0-amd64:graphics-4.0-noarch:graphics-4.1-amd64:graphics-4.1-noarch:languages-3.2-amd64:languages-3.2-noarch:languages-4.0-amd64:languages-4.0-noarch:languages-4.1-amd64:languages-4.1-noarch:multimedia-3.2-amd64:multimedia-3.2-noarch:multimedia-4.0-amd64:multimedia-4.0-noarch:multimedia-4.1-amd64:multimedia-4.1-noarch:printing-3.2-amd64:printing-3.2-noarch:printing-4.0-amd64:printing-4.0-noarch:printing-4.1-amd64:printing-4.1-noarch:qt4-3.1-amd64:qt4-3.1-noarch:security-4.0-amd64:security-4.0-noarch:security-4.1-amd64:security-4.1-noarch Distributor ID: Ubuntu Description:    Ubuntu 14.04.3 LTS Release:    14.04 Codename:   trusty   Any suggestion why or how to fix it?  Thanks in advance. I have windows 7 in Arabic. Now I dowloaded QGIS 2.14.3-2 in French.  But when I installed it shows Arabic menu/tools...  How can I change the menu language to French? How to retrieve a module's path? I've used Ubuntu before, but I'm still very new. I just installed 16.10 on a new computer yesterday, and the Wi-Fi has been considerably slower than my Windows laptop. I put the computer together mainly to play Dota 2, and I experience decent ping but constant 5%-10% packet loss while playing. Occasionally, after the computer has been left on for a while, the Wi-Fi connection will drop completely- I can still see networks in the drop down menu, including my home network, but my computer will not reconnect without a reboot. I've looked all over for a solution, but my inexperience has prevented me from getting anything to work. My Wi-Fi card is a Ralink RT2561/RT61, here's some info  The output of sudo lshw -C network   *-network                          description: Wireless interface         product: RT2561/RT61 802.11g PCI         vendor: Ralink corp.         physical id: 6         bus info: pci@0000:01:06.0         logical name: wlp1s6         version: 00         serial: 00:0e:2e:de:df:c0         width: 32 bits         clock: 33MHz         capabilities: pm bus_master cap_list ethernet physical wireless         configuration: broadcast=yes driver=rt61pci driverversion=4.8.0-22-generic firmware=0.8 ip=192.168.1.107  latency=64 link=yes multicast=yes wireless=IEEE 802.11         resources: irq:17 memory:dfef8000-dfefffff   Here is the output of sudo iwconfig:   *-network                          description: Wireless interface         product: RT2561/RT61 802.11g PCI         vendor: Ralink corp.         physical id: 6         bus info: pci@0000:01:06.0         logical name: wlp1s6         version: 00         serial: 00:0e:2e:de:df:c0         width: 32 bits         clock: 33MHz         capabilities: pm bus_master cap_list ethernet physical wireless         configuration: broadcast=yes driver=rt61pci driverversion=4.8.0-22-generic firmware=0.8 ip=192.168.1.107  latency=64 link=yes multicast=yes wireless=IEEE 802.11         resources: irq:17 memory:dfef8000-dfefffff   I'm at a loss, I'm very bad at this. If any additional info is needed I can provide it