I'm trying to test for a specific item in an item frame and I'm sure I have the correct code.   /testfor @e[type=Item_Frame,x=-1285,y=72,z=788}] {Item:{id:minecraft:leather}}   However I get this error:  [02:46:44] Data tag parsing failed: Expected '}' but got ':' at: {Item:{id:minecraft:&lt;--[HERE]   This is a fairly simple code. I follow the 'mold' everyone else is using for this specific testfor command, but I get an error. There may be a different way to write it 1.12?   Thanks in advance for the help!
I am trying to lock some boxes in a map of mine, and I used this command:   /blockdata 10 4 9 {Lock:Elyiana's Mage Key}   At first it worked, but then when I logged back on the next day it gave me this error message:    Data tag parsing failed: Expected '}' but ''' at: {Lock:Elyiana'&lt;--[HERE]     I don't know why it doesn't like the apostrophe in the key's name. I would change it, but it already worked and locked some other items. My version is 1.12, does anyone have an answer to my problem?
Legend in tikzpicture Car accident, put in park or neutral? On , sorted by votes, the accepted answer is #3 in order of votes.  It appears as number 3 in the list as well. Is this new behavior intended? Why doesn't the tilde (~) expand inside double quotes? What is the difference between "Redirection" and "Pipe"? This question may sound a bit stupid, but I can not really see the difference between redirection and pipes.  Redirection is used to redirect the stdout/stdin/stderr, e.g. ls &gt; log.txt.  Pipes are used to give the output of a command as input to another command, e.g. ls | grep file.txt.  But why are there two operators for the same thing?  Why not just write ls &gt; grep to pass the output through, isn't this just a kind of redirection also? What I am missing? Draw integers independently & uniformly at random from 1 to $N$ using fair d6? I wish to draw integers from 1 to some specific $N$ by rolling some number of fair six-sided dice (d6). A good answer will explain why its method produces uniform and independent integers.  As an illustrative example, it would be helpful to explain how a solution works for the case of $N=150$.  Furthermore, I wish for the procedure to be as efficient as possible: roll the least number of d6 on average for each number generated.  Conversions from  to decimal are permissible.    . Is a differentiable function always continuous? Continuous Functions are not Always Differentiable. But can we safely say that if a function f(x) is differentiable within range $(a,b)$ then it is continuous in the interval $[a,b]$ . If so , what is the logic behind it ? Reading ODBC connection using QGIS? I have a co-worker who manages a large MS Access database that contains X &amp; Y fields for various locations he tracks.  We have previously exported the data to CSV and used the QGIS Delimited Text Plugin to plot the locations.  We would now like to be plot this data directly in QGIS by connecting to the MS Access db via an ODBC connection (as opposed to export to CSV).   Can QGIS consume the data from the ODBC connection to plot the X-Y locations? Can it be "live linked" to the ODBC connection so that when a project is re-opened, the layer "replots" all old and newly added locations dynamically (as opposed to exporting to shapefile, which would create a snapshot in time)? Can you create tabular ODBC connections that can be joined to spatial tables within QGIS?   You can do all of this in ArcGIS ("Add XY Data" tool), so it would be great if this capability existed in QGIS. I just cannot find anywhere that mentions its existence.  I am not planning to move to a spatial database.  As a GIS person myself, yes I know that it makes sense to move to a spatial database, and yes I have used PostGIS to manage this kind of data.  But these are not options right now.  The user is not a GIS person nor wants to be, and he manages his own database in MS Access and that will not change.  I am and am pulling him kicking and screaming into the GIS world and want to make it easy as possible.  He can live with exporting to CSV, I was just hoping there is a better solution USING ODBC FOR MS ACCESS and displaying the XY data in QGIS. How do I know which edition of Dungeons and Dragons (D&D) the books I'm looking at are for? , each of which has loads of rules, source, and splat books.  But how do I know which edition the books I'm looking at are for?  A lot of the time the ones in hobby stores are wrapped up, or you'll buy from elsewhere that doesn't say in the description, and the covers just say D&amp;D.  Is there a way to identify which edition of D&amp;D the books I'm buying are for, either from the cover or some description in the book?  For the purposes of this question I'm asking about core rule books only. Eg. PHB, MM, and DMG. Hopefully the answer to this can be carried over to other books. Is there a setup where I can leave the water on all summer? Under the U.S.'s Copyright Law, is it an act of copyright infringement if we changed the color of another artist's image to black and white? "debconf: DbDriver "config": config.dat is locked by another process: Resource temporarily unavailable" while installing packages I'm trying to install the flashybrid but when I enter the apt-get install flashybrid command, I get this error:  root@user-desktop:/home/user# apt-get install flashybrid Reading package lists... Done Building dependency tree Reading state information... Done flashybrid is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0B of additional disk space will be used. debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable Setting up flashybrid (0.15+nmu2) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing flashybrid (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: flashybrid E: Sub-process /usr/bin/dpkg returned an error code (1)   I also tried this one to find what is already using that file:  root@user-desktop:/home/user# lsof | grep /var/cache/debconf/config.dat lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/user/.gvfs Output information may be incomplete. dpkg-prec 4672 root 4rW REG 8,6 39658 1697827 /var/cache/debconf/config.dat   But I don't know how to fix this. With 5 images I have to create a video of 60 seconds in ffmpeg, each image has to display for 15 seconds. after  15 seconds, first image has to fade out and 2nd image has to fade in, after that 2nd image has to fade out, 3rd image has to fade in..etc. Please guide me how can I achieve this using ffmpeg commands. How can I implement a comprehensive apa-style citation and bibliography I am really new to LaTeX and I need a comprehensive solution for my Thesis  I have this problem since two days and I couldn't find any solution in any other post.  I work with BibDesk on Mac  And I used Packages apacite and natbib  @article{Ha89, Author = {Peter M. Haas}, Date-Added = {2017-02-06 21:15:57 +0000}, Date-Modified = {2017-02-06 21:45:06 +0000}, Journal = {International Organization}, Lastchecked = {03/02/2010 12:54}, Number = {3}, Pages = {377-403}, Publisher = {Peter Haas}, Read = {0}, Title = {Do regimes matter? Epistemic communities and Mediterranean pollution control}, Urldate = { http://www.jstor.org/stable/2706652}, Volume = {43}, Year = {1989}}   this is a stripped version of my document:  \documentclass[11pt, oneside]{article}  \usepackage{lipsum} \usepackage[margin=1in, left=1.5in, includefoot]{geometry}   \usepackage{ragged2e} % REFERENCE PREAMBLE %\usepackage{url} \usepackage{apacite} \usepackage{natbib} %\usepackage{biblatex-apa}                                                   % Bullet preamble \renewcommand{\labelitemi}{$\bullet$} \renewcommand{\labelitemii}{$\diamond$} \renewcommand{\labelitemiii}{$\circ$} % graphics preamble \usepackage{graphicx}   %Allows you to import images \usepackage{float}      %Allows for control of float positions %HEADER AND FOOTER STUFF \usepackage{fancyhdr}  \pagestyle{fancy} \usepackage{graphicx}        \usepackage{amssymb} %Zeilenabstand 1,5 wenn aktiviert  \usepackage{setspace}\makeatletter\newcommand{\MSonehalfspacing}{\setstretch{1.44}\ifcase \@ptsize \relax\setstretch {1.448}\or\setstretch {1.399}\or\setstretch {1.433}\fi}\newcommand{\MSdoublespacing}{\setstretch {1.92}\ifcase \@ptsize \relax\setstretch {1.936}\or\setstretch {1.866}\or\setstretch{1.902}\fi}\makeatother\MSonehalfspacing %Zeilenabstand Code fertig \usepackage[hidelinks]{hyperref}   %allows for clickable reference %                       BEGIN OF DOCUMENT \citeA{source} %                       REFERENCES  \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}} \fancyhf{} \rhead{\fancyplain{}{Identifying the Regime}} \lhead{\fancyplain{}{List of References}} \cfoot{\fancyplain{}{\thepage}}  \setlength\bibitemsep{1.9\itemsep} \bibliography{/User/Desktop/Thesis/references/mybib.bib}                   \bibliographystyle{apa} \addcontentsline{toc}{section {\numberline{}References}                                                       \end{document}   I would like to have the bibliography entry include a retrieved from    I tried to deactivate hyperref – as suggested in another post – but it didn't work. I also tried to activate and deactivate natbib and apacite as well.   I would really appreciate any help... Ways to obtain new portrait photography clients? I'd like to increase my portrait business. I've had good experiences with family, pet portraits and High School seniors.  My local newspaper is quite expensive. I've had okay luck with Craigslist, although Craiglist shoppers are far from my ideal client that is willing to pay for quality images, fast turn around and a great experience.  I have a flyer on my community message board, but not enough traffic walks by it. I was thinking about posting at my local churches. I get a few of referrals from friends and family of clients.   What are good ways to reach my local base and increase sales? How should I understand "$A$ unless $B$"? plotting discrete signals The new GNU Octave 4.0.1 was released March 23, 2016.  I would like to find some standard way to install it in El Capitan (mine OS X 10.11.3) because it has significantly better support in some functions than Matlab, discussed in the thread .  I do brew search octave and get  homebrew/science/octave    Caskroom/cask/octave       Caskroom/cask/xoctave       where one of the first two should be a correct one. The project's homepage  for OS X is down  about installing Octave on OS X systems.  There is also ruby's way of installing Octave described in the thread  but for Yosemite.  I would like to find some standard way of getting Octave for OS X.   I do successfully brew update and brew upgrade before the commands. My Homebrew is 0.9.5 (git revision 80d1; last commit 2016-03-24).  . I run brew info octave but I get  Error: No available formula with the name "octave"     How can you install Octave in some standard way for El Capitan? Advantages of ROC curves Prove that $Ax=0$ has infinite solutions if and only if $ \text{rank}(A)&lt;n$   Here is one way of my if proof, but I don't know how to proof the other part.  Let $r$ be the rank of $A$. Then $ r\leq  n$. If $ r&lt;n$, then there are $n-r$ linearly independent solutions. Furthermore any linear combination of these solutions will also be a solution of $Ax=0$. Hence, in this case, the equation $Ax=0$ has infinite number of solutions