So I'm trying to make a testfor command, here is the command:  /testfor @p[7586,198,698,r=1,name=BrodieBolt]   My problem is that the output says:  Invalid selector argument: '7586'   Can anyone help me with this?
I've been making a map for 1.10 and it's going great, but 1.11 shows great mobs to use for it. However, most things have channged in command syntax. For example, /kill @e[type=ArmorStand,r=6] is now /kill @e[type=Armor_Stand,r=6]  What about /testfor? I can't find a way to testfor a player to stand on a block and give them an effect.   What's is going on in this image is that a redstone clock is running into this command /testfor @a[1117,20,507,r=1] (if I was to stand on them cords the comparator would turn on and power that command block), but it only works in 1.10... from 1.11 snapshots, I've seen some errors of it, like it now needs to have {} at the beginning and end of it. (e.g. /testfor @a{[1117,20,507,r=1]})   It's still not working, though, so does anyone know how to get it to work?
Prove that $\frac{ 5^{125}-1}{ 5^{25}-1}$ is a composite number probability that exactly two accidents happen in any day of a week if 7 accidents happen in a week If 7 accidents happen in a week, what is the probability that exactly 2 accidents happen in any day of the week.  I tried to work it this way.  2 accidents out of 7 can be taken in ${7}\choose{2}$$= 21$.  Now this can happen in any of the 7 days, so we have $7 \times 21$.  Now, the remaining 5 can happen in $6^5$ ways.  So the probability is  $\frac{7\times 21 \times 6^5}{7^7} = \frac{3 \times 6^5}{7^5}$   But this gives me a value greater than 1.   I know I am doing something wrong.  Can anyone help me ? Scanner issue when using nextLine after nextXXX Why is the voltage across a capacitor and the current across an inductor continuous? Why is the voltage across a capacitor (as a function of time) continuous? Why is the current across an inductor (as a function of time) continuous? Plotting complex numbers as an Argand Diagram 'He don't have knowledge ' vs 'He doesn't have knowledge' Separate and visually indicate reversed events from the day's reputation changes We've been getting a lot of questions  ever since the feature to see event reversals such as deleted posts and serial voting was added into the reputation history; and their confusion is legitimate. Even well-respected users have become confused by that number above the day. It should display the reputation changes for that day. I propose that reversal events such as these be visually separated from the main events for that day and not included in the total reputation change for that day. After all, their reputation isn't actually changing for that day, but reversing changes from previous days. These events already seem to get bumped down to the bottom of the events for the day, why not add a simple separator between them? Events indicating reversals    Events which have been reversed     Perhaps a second, smaller number could be added next to the main one to indicate that other events took place on that day, but I feel most users who really care will have noticed or went looking for the events anyways. However, including them in the actual change only serves to confuse people. Which are safe and unsafe regions in Iran? Now there's a lot of propaganda in the west that leads us to believe Iran is dangerous and travellers shouldn't go there.  Obviously there are major political disagreements between several governments and the Iranian government and this should be taken into account.  But at a human level I have met many Iranians travelling elsewhere in the world and have found them to be friendly, charming, and hospitable. I have also met several western travellers who spent time in Iran, including hitchhiking around the country, who only have wonderful things to say about the country and its people.  As a traveller I've learned to trust the most what I hear from other travellers about a destination, especially ones which prefer similar ways of travel to myself. I've also learned to trust the opinions of inhabitants of countries bordering on the destination country the least.  Yet some people still insist that Iran is not safe for a traveller, or that .  I can look up for myself the general travel advisories issued by governments and disclaimers in WikiVoyage. So please don't regurgitate those an answers.  I want to know from travellers who've been there, from Iranians, or from references to specific incidents targeting foreigners/westers about which parts of Iran are no problem, and which parts should be avoided, even by experienced intrepid travellers.  (I realize any advice won't apply to Israeli citizens unfortunately. I'm Australian.) I am stuck with the proof of below expression;  "If F is an infinite field, then no infinite subgroup of F* (the multiplicative group of F) is cyclic."  anyone can help? Show inline math as if it were display math (and vice versa) I'm very familiar with how symbols display differently in inline mode (with $ ... $) vs. how display math shows them (with \[ ... \] or $$ ... $$).  Two examples would be with limits  $\lim_{n\rightarrow \infty}f(x)$   vs.  \[ \lim_{n\rightarrow \infty}f(x) \]   and with sums  $\sum_{n=1}^{x} n^2$   vs.  \[ \sum_{n=1}^{x} n^2 \]   My Question is:     How do you display these things in inline mode (with all the nice inline formatting) as if they were in display mode ?   The inverse -- how to display things in display mode as if they were in inline mode -- is also of interest. Can I use an "if" clause without "then"? What is the terminal's graphic API? How can certain programs set background and font colors, write characters to the same location on screen (e.g. to the third row, fifth column) more than once?  Some examples are the progress bar displayed by curl google.com &gt; a, some installation screens and nearly any text editor. Ready to use leaderboard service. Is any? I'm looking for ready to use thirdparty leaderboard service where player's achivementes and scores can be placed. I'd intagrate it into my game to allow players push scores and locate themselves in the tables of tops. It would be nice whether anybody experienced share some points with me. Why, microscopically, is the voltage drop across a resistor affected by the current through it? If voltage is a potential difference, describing how much energy will be lost per unit charge as charge carriers pass through the resistor, why would the rate at which charge flows (i.e. current, $=dq/dt$) affect the amount of energy lost per unit charge?  I suppose I am asking why a quasi-"extensive" property of the system (current) would affect a quasi-"intensive" property of the system (voltage drop across the resistor).  Apologies if the answer is obvious; I was having trouble understanding why the rate of charge flow would factor into voltage drop whilst trying to rationalize Ohm's law for myself. SQlite: select into? Automatic code reindent button Why is "idea" sometimes pronounced as "idear"? I know that idea is pronounced as /aɪˈdiə/, but I've meet several people in real life who put an 'r' at the end of the word. How come? Am not doing anything fancy, just trying to update a field on Contact in JS of LWC but getting this exception.  Uncaught TypeError: 'set' on proxy: trap returned falsish for property 'Name' throws at mydomain/auraFW/javascript/mhontaYdOya4Y_lBu7v9yg/aura_prod.js:2:27687  HTML Code:   &lt;template&gt;      &lt;template if:true={wiredContact}&gt;          {wiredContact.Name}          &lt;lightning-input value={wiredContact.Name} onchange={updateName}&gt;&lt;/lightning-input&gt;     &lt;/template&gt;  &lt;/template&gt;   JS:   import { LightningElement ,wire,track,api } from 'lwc'; import myContact from "@salesforce/apex/ContactController.fetchContact";  export default class Myrefreshapextest extends LightningElement {    @track wiredContact;   @wire (myContact)         fetchedContact({error, data}){             if(data){                 console.log(JSON.stringify(data));                 this.wiredContact = data;             }else if (error){                 console.log(error);             }     }      updateName (event){         console.log(JSON.stringify(event.detail.value));         console.log(JSON.stringify(this.wiredContact));         this.wiredContact.Name = event.detail.value;     }  }   Apex:  public class ContactController {      @AuraEnabled(cacheable=true)     public static Contact fetchContact(){         return [SELECT Id,Name FROM COntact LIMIT  1];     } }   On top of my head, am not doing anything wrong, anyone has idea what's wrong with my code?  When I print console.log(JSON.stringify(this.wiredContact)); I get old values so am pretty sure it exists.  I tried with @track and @api, but same response. Can anyone shed some light? How do i make my ubuntu server public? I want to know how to make my ubuntu server ip public. I'm not asking for a domain, if people would be able to access my website by ip, it would be great! (just for now) Does someone have an idea how to do this? Given this (very) tricky determinant, how can we calculate it easily?  $$\begin{pmatrix} \alpha + \beta &amp; \alpha \beta &amp; 0 &amp; ... &amp; ... &amp; 0 \\ 1 &amp; \alpha + \beta &amp;  \alpha \beta &amp; 0 &amp; ... &amp; 0 \\ 0 &amp; 1 &amp; \alpha + \beta &amp; \alpha \beta &amp; ... &amp; ... \\ ... &amp; ... &amp; ... &amp; ... &amp; ... &amp; 0 \\ ... &amp; ... &amp; .... &amp; ... &amp; ... &amp; \alpha \beta \\ 0 &amp; 0 &amp; 0 &amp; ... &amp; 1 &amp; \alpha + \beta   \\ \end{pmatrix} \in M_{n\times n}$$  EDIT:     I have to prove it is equal to $\frac{{\alpha}^{n+1} - {\beta}^{n+1}}{\alpha - \beta}$   Any help is appreciated, I just could not find a trick to ease it up!