Connecting 12v 1A device
Choosing power supply, how to get the voltage and current ratings?
CLI path to ftp network connection I've setup a connectio to an FTP server in Nautilus / Nemo / Caja, the file manager. Now I can browse the contents via this file manager.  How can I browse these files via the command line? What is the path to this network connection? Is this possible, is this a system connection, or specific to the file manager, and do I have to setup a separate FTP connection to do that? If I open this connection in Caja, I see it in Nemo as well, so it seems like a system connection. No Drupal Site Found when clearing cache I installed drush using composer following the instructions here:   When trying to run drush cc all I get this error:     No Drupal site found, only 'drush' cache was cleared.[warning] 'all'   cache was cleared. [success]   I added this line:  export PATH="/Applications/MAMP/bin/php/php5.6.2/bin:$PATH"   to my .bash_profile and restarted bash and MAMP. Still no luck. Any ideas?   This is my drush status:   Drupal version         :  7.36                                                               Site URI               :  http://default                                                     Database driver        :  mysql                                                              Database hostname      :  localhost                                                          Database port          :                                                                     Database username      :  root                                                               Database name          :  srod                                                     PHP executable         :  /usr/bin/php                                                       PHP configuration      :                                                                     PHP OS                 :  Darwin                                                             Drush script           :  /Users/srod/.composer/vendor/drush/drush/drush.php   Drush version          :  7.0-dev                                                            Drush temp directory   :  /tmp                                                               Drush configuration    :                                                                     Drush alias files      :                                                                     Drupal root            :  /Applications/MAMP/htdocs/srodsite                             Site path              :  sites/default      I'm running it from Drupal project folder. How does dark matter halo outside a galaxy help to explain galaxy rotation curve? How does a   outside a galaxy help to explain a ?  Suppose for simplicity we use a model of a star rotating about a more massive star in a fixed circular orbit. For another star at larger radius, the velocity should be smaller but observationally for spiral galaxies, the opposite happens (moves at even more speed or at least at the same speed as the closer star).  People hypothesize that dark matter halo may be present “surrounding” the system (i.e., halo exists outside the system) to account for such observation. I feel that exactly the opposite should be the case that is, dark matter halo should be inside the galaxy rather than outside. Reason being, if dark matter is outside the galaxy then the effective gravitational pull on the rotating star towards the center will be reduced due to outward attraction on the star exerted by dark matter existing outside. Thus, its speed of rotation should be reduced; but we observe the opposite. So how does dark matter halo "surrounding" a galaxy help to explain galaxy rotation curve? Where am I making mistake in argument? I just bought a new config ( ASUS p8z68-v lx, i5-2500k + ram and new graphic card ). Coming back and installing it in my old computer, I just saw that my DVD player was on IDE (yup…).  So, I needed to install windows 7 64bits from my usb key. Fine, I made my usb key bootable and copy the official DVD on it (the same version that was on my old computer), set BIOS to boot on it first and started the computer up.  It worked fine until it asks me for cd/dvd drivers (which is funny since, I do it via USB because I can't plug in my DVD player :D) I have 3 SATA HDD plugged in and that's it.  I made a small google search and found that it could be SATA or RAID drivers. Fine, I took another USB KEY and put all my motherboard drivers on it (from the CD sold with the MB) and none of those drivers seemed to work. I tried downloading new drivers from ASUS website and same effect.  Any idea but no "buy a new DVD player", I'm now broke for the month :) ? The reply buttons in chat shouldn't reposition themselves on pinged messages echo text after curl command on same line #!/bin/bash echo "$(curl -s -I https://google.com|grep Server)" abc   returns:  abcer: gws   and bash -x shows:    ++ grep Server ++ curl -s -I https://google.com ' abco 'Server: gws  abcer: gws   but    echo abc "$(curl -s -I https://google.com|grep Server)"`    returns  abc Server: gws   In other words, if I add text AFTER the curl command, it gets mangled, but it's ok if I add it before curl. What is happening? I cannot figure it out. Prove that: area of triangle $S_{ABC}=p \cdot R$, where p is half perimeter of triangle $DEF$ Prove that: area of triangle $S_{ABC}=p \cdot R$, where p is half perimeter of triangle $DEF$. $AD,CF, BE$ are altitudes. Is there a simple way? When would I use a voltage regulator vs voltage divider? When would you use a voltage regulator vs a resistor voltage divider?  Are there any uses for which a resistor divider is particularly bad? How do I disable X at boot time so that the system boots in text mode? Why is expected value of random variable equal to mean What is JSON and what is it used for? I've looked on Wikipedia and Googled it and read the official documentation, but I still haven't got to the point where I really understand what JSON is, and why I'd use it. I have been building applications using PHP, MySQL and JavaScript / HTML for a while, and if JSON can do something to make my life easier or my code better or my user interface better, then I'd like to know about it. Can someone give me a succinct explanation? An example of a regular function over an open set I'm having trouble understanding how to access each individual result returned from a subquery. The picture shows the code which:   takes fields and objects chosen by a user and assigns them to String variables, the string vars are used to query a dynamic query string, the query string is feed into a database.query and the result is stored in an array I can individually access each of the query results from this array (parent object results),  But I have not been able to individually access the subquery results.   If I feed the subquery results into an array...something like:  SObject[] c = p.get(i).getSObjects(childO);   I still can't get to each individual child record per parent. I can only see all child records per each parent. I need to get to each child record per adult, so that I can roll up results.  Can anyone help?  // These strings will be populated dynamically from a VF page String parentO  = 'Account'; String parentF  = 'Products_Purchased__c'; String childO   = 'Opportunity';     if(childO  == 'Opportunity'){ childO = 'Opportunities'; } String childF   = 'Product_Type__c';  // create dynamic SOQL query string String query = 'SELECT id, (select ' +childF+ ' from ' +childO+') FROM ' +parentO;  // query and store 33 results in variable p SObject[] p = Database.query(query);  for(Integer i = 0; i &lt; p.size(); i++){     system.debug('Parent result from SOQL query: ' +p[i]);     if(p.get(i).getSObjects(childO) &lt;&gt; null){         system.debug('Child result(s) from SOQL query: ' +p.get(i).getSObjects(childO));         system.debug('Child field: ' +c.get(i).get(childF));     } } A rubber viewfinder cover is connected to my camera strap.  What's it for, and when do I use it?  What happens to a photo if I don't use it? Why aren't these loops homotopic? Let $S^1 = \{z \in \mathbb{C} : |z| = 1\}$.  Take the loops $f,g : [0,1] \rightarrow S^1$, $f(t) = 1$, $g(t) = e^{2\pi it}$.  I know these represent different elements in $\pi_1(S^1, 1)$, but I don't see why $F(t,s) = e^{2\pi its}$ isn't a homotopy between $f$ and $g$. Showing arrowheads in line end using QGIS? What do you wish someone had told you before your first commute? Local explanation of the Aharonov-Bohm effect in terms of force fields Here is an interesting paper for the Physics SE community:      On the role of potentials in the Aharonov-Bohm effect. Lev Vaidman. .  [quant-ph].   You should check it out because it's an amusing read, but I will summarise the argument to whet your appetite, assuming you have basic familiarity with the . In the traditional AB setup, one considers an electron in a superposition of paths, taking it in two opposite directions around a solenoid treated as a classical source of the electromagnetic field. The observable relative phase acquired between the electron's paths is attributed to the influence of the magnetic vector potential on the electron, which cannot be globally gauged away - despite the absence of a physical field anywhere along the electron's path(s) - due to a topological obstruction.  Instead, Vaidman considers the effect of the electron on the sources of the field, treating the latter as quantum particles. He shows that the relative phase between the two branches of the wavefunction can be considered as arising from the action of the physical field of the electron, which is not zero at the position of the sources. However, Vaidman uses highly contrived gedankenexperiments and completely semi-classical arguments, which begs a pair of concrete and related questions.  1) Can Vaidman's first, electric AB effect gedankenexperiment be described in a fully quantum manner, by solving (at least approximately) the three-particle Schroedinger equation? If not, why not?  2) Is it possible to explain within this formalism the experiments of Tonomura et al. (), who used a superconductor to completely shield the magnetic field of the source? Boarding a train in India at another station I have booked a ticket on a train from Mumbai to Chennai and boarding at Pune. Since my schedules have changed, I will be in Mumbai on that day. Can I board the same train in Mumbai in my own ticket and claim the seat/berth? The Royal Order of Adverbs I know that the pattern manner-place-time shouldn't be taken too seriously if one wants to speak natural English.   In real life, people rarely use a string of adverbs. Speakers will easily break the pattern for emphatic or stylistic reasons (usually placing the adverb at the beginning of the sentence). Other factors such as length and specificity will also override the arrangement.  But I'm constructing illustrative sentences that highlight (and stick to) the Royal Order of Adverbs.   What all the online sources are doing is mixing adverbs and prepositional phrases, but I can't have the concept of prepositional phrases in my examples just yet. This means I should include only one-word or two-word adverbs (without prepositions).   So, I have these:    He sat quietly upstairs all day. She waited impatiently outside this morning. They gather noisily downtown every Saturday night.   Are the sentences above still correct, as in natural-sounding? Somehow they started sounding a bit off to me. I guess I just need to test them with a second pair of ears.