What value pull up resistors does the MPU9250 use?
Is there a correct resistance value for I2C pull-up resistors?
Mac mini Mac OS 10.6 server migration to new hardware I have a Mac Mini with Mac OS X 10.6 Server installed. It has two external drives attached to it. One is for Time Machine and other contains data. I have bought the latest Mac Mini with Mac OS X 10.7 and two new hard drives. I want to migrate to the new hardware (the new Mac Mini and the new hard disks). Can Migration Assistant do that for me or do I have to transfer the data in the external drive manually? Is the phrase "for free" correct? "Please ask a new question" encourages question repetition for duplicates I just had a case of a user who re-posted his question because his first question was closed as a duplicate. And, logically, I closed his re-post as a duplicate of his original, asking him to edit his original and explain why it's not a duplicate, so we can reopen it.  This process has worked like that for years now, but suddenly I realized that with the new message, question repetition is even encouraged:     This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.   Clearly, a new user who finds their questions closed will now be happy to just post their question again and again, until it's not a duplicate anymore, instead of just fixing their original post.  We need to be more explicit about this, and show this message to the OP of the question:     If those answers do not fully address your question, please edit your question and explain why it is not a duplicate.   The original message should still be visible to other users and visitors, as they can't fix that question, of course. Shell script zips a folder, but exclude parameters not working IF its run from cron.daily 1970s scifi/horror novel where protagonist is used by a crablike creature to feed its larvae, goes mad, and is defeated by retraumatising him zero matrix to the power of 0 Why $0^0=I$?   I'd tried prove that considering $N^0$ where N is a Nilpotent matrix and then using the Cayley -Hamilton theorem  Thanks in advance. Sequential renaming of files I found an answer for  which works fine for renaming filenames as follows :  1.jpg &gt; 00001.jpg 2.jpg &gt; 00002.jpg . . . 9.jpg &gt; 00009.jpg   That uses the following command:  rename 's/\d+/sprintf("%05d", $&amp;)/e' *.jpg   But my filenames aren't numeric. They are an alphanumeric sequence, like: a.jpg, b.jpg, c.jpg...... m.jpg.  In a similar way to the original question, I want to rename these so they display in the correct sequence. How do I do this? Limiting range of value types in C++ Suppose I have a LimitedValue class which holds a value, and is parameterized on int types 'min' and 'max'.  You'd use it as a container for holding values which can only be in a certain range.  You could use it such:  LimitedValue&lt; float, 0, 360 &gt; someAngle( 45.0 ); someTrigFunction( someAngle );   so that 'someTrigFunction' knows that it is guaranteed to be supplied a valid input (The constructor would throw an exception if the parameter is invalid).  Copy-construction and assignment are limited to exactly equal types, though.  I'd like to be able to do:  LimitedValue&lt; float, 0, 90 &gt; smallAngle( 45.0 ); LimitedValue&lt; float, 0, 360 &gt; anyAngle( smallAngle );   and have that operation checked at compile-time, so this next example gives an error:  LimitedValue&lt; float, -90, 0 &gt; negativeAngle( -45.0 ); LimitedValue&lt; float, 0, 360 &gt; postiveAngle( negativeAngle ); // ERROR!   Is this possible?  Is there some practical way of doing this, or any examples out there which approach this? How can I reset my menus? Uncaught TypeError: 'set' on proxy: trap returned falsish for property Name 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? Does any particle ever reach any singularity inside the black hole? Change bookmark depth I want all bookmarks after "Anhang" (appendix) to be a level deeper, but I need them to be \chapter{} for the right numbering.  I write a scrbook document and that's what I got:    Is it possible to change the depth of the chapter to act like a section in the bookmarks?  UPDATE  MWE:  \documentclass[12pt,a4paper,oneside]{scrbook}  \usepackage[ngerman]{babel}     % deutsche Worttrennung \usepackage[T1]{fontenc}        % Ausgabe von Sonderzeichen und Akzenten in PDF verbessert \usepackage[utf8]{inputenc}         % Eingabe von Sonderzeichen möglich \usepackage{lipsum}  \setcounter{secnumdepth}{3}     % subsubsections nummerieren \setcounter{tocdepth}{3}        % subsubsections in TOC  \usepackage[ %     pdfproducer={Texmaker},     %      pdfcreator={pdfLaTeX},      %      hidelinks,          % versteckt die Boxen um die Links in der PDF     bookmarksnumbered,      % nummereiert Lesezeichen     ]{hyperref}         % PDF Metainformationen hinzufügen   \begin{document}  \appendix \pagenumbering{alph}  \thispagestyle{empty}  \vspace*{3em} \begin{center} \begin{Huge} \textbf{\textsf{Anhang}} \pdfbookmark{Anhang}{Anhang} \end{Huge} \end{center}  \chapter{Appendix 1}  \chapter{Appendix 2}  \section{Appendix 2.1}  \section{Appendix 2.2}  \chapter{Appendix 3}  \end{document} Javascript Date: next month How to re-enable the systray (indicator panel) after latest updates I will be traveling from Australia to Austria, transferring in Abu Dhabi. Is it alright for me to bring a vibrator in the check-in luggage, or are there laws against that?  It is approximately 17cm long. Are there any precautions to take? What do you do in Dungeon World when someone wants to perform an action they don't have a move for? So in Dungeon World, everything breaks down to 'moves'.  What about situations where a move is not available, but a check of some sort is called for, such as in the case of a non-fighter who wants to kick down the door?  What mechanism do you use to resolve that situation? Is there the equivalent of a skill check? Top Down RPG Movement w/ Correction? I would hope that we have all played Zelda: A Link to the Past, please correct me if I'm wrong, but I want to emulate that kind of 2D, top-down character movement with a touch of correction. It has been done in other games, but I feel this reference would be the easiest to relate to.  More specifically the kind of movement and correction I'm talking about is:   Floating movement not restricted to tile based movement like Pokemon and other games where one tap of the movement pad moves you one square in that cardinal direction. This floating movement should be able to achieve diagonal motion. If you're walking West and you come to a wall that is diagonal in a North East/South West fashion, you are corrected into a South West movement even if you continue holding left (West) on the controller. This should work for both diagonals correcting in both directions. If you're a few pixels off from walking squarely into a door or hallway, you are corrected into walking through the hall or down the hallway, i.e. bumping into the corner causes you to be pushed into the hall/door.   I've hunted for efficient ways to achieve this and have had no luck. To be clear I'm talking about the human character's movement, not an NPC's movement. Are their resources available on this kind of movement? Equations or algorithms explained on a wiki or something?  I'm using the XNA Framework, is there anything in it to help with this? I launch a batch which call a lot of scheduled job. But I reach the governor limit :     Maximum number of Apex classes scheduled concurrently : 100   I'm wondering what happens when this limit is reached. The next scheduled jobs are waiting the number of scheduled jobs is lower than 100 for being executed or are they all cancelled ?  And is there to way to manage the number of scheduled jobs to avoir reaching this limit ? For example wait before schedule a new job if we are near the limit. My understanding is that in machine learning it can be a problem if your dataset has highly correlated features, as they effectively encode the same information.  Recently someone pointed out that when you do one-hot encoding on a categorical variable you end up with correlated features, so you should drop one of them as a "reference".  For example, encoding gender as two variables, is_male and is_female, produces two features which are perfectly negatively correlated, so they suggested just using one of them, effectively setting the baseline to say male, and then seeing if the is_female column is important in the predictive algorithm.  That made sense to me but I haven't found anything online to suggest this may be the case, so is this wrong or am I missing something?  Possible (unanswered) duplicate: Number of surjective functions from A to B