I'm still new to electronics and signals.   I'm currently doing a project, and i have to detect the type of earpiece connected to an audio jack. So far, i found out that when you plug in your earphone/headphone, your mobile device detects that a earphone is connected, meaning, there is some sort of data being transferred when connected. Is it possible to detect the type of earpiece(or any sort of info) through the audio jack.   Thanking in advance.
I have an android phone to which i have plugged an earphones. So at the top of the phone, I get the headphone symbol which indicates that the earphone is connected (In other words, the circuit at the 3.5 mm jack is closed).   Then I cut the two earphones (transducers) from it, and still the headphone symbol shows. When I later cut this cable, below where it branches out, even then it shows circuit completion.   So my question is this:   How does the phone detect circuit completion at the 3.5 mm jack and thus trigger all sound and music to be directed through the 3.5mm jack?
Notepad ignoring linebreaks Most documents I'm opening in notepad.exe under windows 7 lately, there are no linebreaks... everything just runs together.  The same documents in any other program, even previewed directly in Explorer, will show the linebreaks correctly.  this is happening with many .info files, .css, .js.. but not all of them.   I am guessing it's some kind of character encoding unix line endings something or other, but wondering if there's anything I can do or if anyone else has experienced similar and if I can make notepad work correctly. I prefer it to notepad++/other text editors for certain uses. What are acceptable reasons for flagging as "Requires Moderator attention"? After reading , I feel I don't quite understand this function. What are the guidelines for flagging a question as &quot;Requires Moderator attention&quot;? Intuition behind why order of a subgroup divides order of a group. Counting traversed arcs on routes to write attributes using ArcGIS for Desktop? I have number of persons located on a road network and I have calculated their shortest distance to a particular location.  From the routes output created from Closest Facility can I   break the routes down into the individual arcs traversed by each person? assign each arc a count attribute indicating the number of individuals who use that arc to get to their destination?   I am using Network Analyst in ArcGIS 10.2 for Desktop. Okay, this should be super easy to do but I just can't find the way.  I have a background image with a solid colour layer on top of it, and I would like to add text on top of everything in such a way that the filling of the text is the image in the background. I have tried selecting the text shape and deleting that selection shape in the solid colour layer, but it just looks wrong.   Can anyone help me with this? Many thanks in advance. Is this box bonded properly to the ground? The receptacle is from the mid-1950's and my multimeter shows that it is grounded. There are a solid 120 volts when testing between live and ground. I noticed a bare copper wire coming from the cloth wiring in the back tied to a screw connected to the box. I looked around for usable screw holes in the box to screw a ground screw into but they were all way too large. Does this look okay? I get good continuity here between the green insulated copper ground wire I added and the rest of the box.  The green wire goes to the ground screw on the new outlet in this case. What does the comma operator , do? I am a n00b to physics. What physics I know comes from high school and popular science books.  At school we were taught about atoms and what make up atoms, but we weren't actually told what the particles were!  So sure an atom has electrons orbiting around a nucleus made of protons and neutrons, but what exactly is an ?  And if we don't know, how can we fire them from guns, like they do in experiments ... etc  Any clarification on this would be great. PHP 5.5.13 on CentOS 6.5 with yum As part of the definition of a cone spell in the handbook:     A cone's point of origin is not included in the cone's area of effect, unless you decide otherwise.   As an example, what would either case be for a casting of Burning Hands?   Could the caster include themselves? or does this mean that they can exclude the first square of the cone? How to choose the number of hidden layers and nodes in a feedforward neural network? Is there a standard and accepted method for selecting the number of layers, and the number of nodes in each layer, in a feed-forward neural network? I'm interested in automated ways of building neural networks. How do I upgrade to the unreleased version of Ubuntu for testing? A couple years ago, it was easy to root any device: Install KingRoot, KingoRoot, or a similar app, hit the large ROOT button, and let it do the rest. After 5 minutes or so, a green "Root Succeeded!" prompt will pop up, and we can choose to keep the root app, or uninstall it and install a clean root manager app like SuperSU/Superuser.  How do they work? Why aren't they working anymore? And if they work, should I use them or not? Proof that the One-Dimensional Simple Harmonic Oscillator is Non-Degenerate? The standard treatment of the one-dimensional  (SHO) using the raising and lowering operators arrives at the countable basis of eigenstates $\{\vert n \rangle\}_{n = 0}^{\infty}$ each with corresponding eigenvalue $E_n = \omega \left(n + \frac{1}{2}\right)$. Refer to this construction as the abstract solution.  How does the abstract solution also prove uniqueness? Why is there only one unique sequence of countable eigenstates? In particular, can one prove the state $\vert 0\rangle$ is the unique ground state without resorting to coordinate representation? (It would then follow that the set $\{\vert n \rangle\}_{n = 0}^{\infty}$ is also unique.)  The uniqueness condition is obvious if one solves the problem in coordinate representation since then one works in the realm of differential equations where uniqueness theorems abound. Most textbooks ignore this detail (especially since they often solve the problem both in coordinate representation and abstractly), however I have found two exceptions:   Shankar appeals to a theorem which proves one-dimensional systems are non-degenerate, however this is unsatisfactory for two reasons:   Not every one-dimensional system is non-degenerate, however a general result can be proven for a large class of potentials (the SHO potential is in such a class). The proof requires a departure from the abstract solution since it classifies the potentials according to their functional properties.  Griffiths addresses this concern in a footnote stating that the equation $a \vert 0\rangle = 0$ uniquely determines the state $\vert 0\rangle$. Perhaps this follows from the abstract solution, however I do not see how. Is there a formula for $(1+i)^n+(1-i)^n$? I'm wondering if there is a formula for the value of $(1+i)^n+(1-i)^n$?  I calculated the first terms starting with $n=1$ to be, in order, $2$, $0$, $-4$, $-8$, $-8$, $0$, $16$, $\dots$  So it seems to be some sequence of positive and negative powers of $2$ with $0$s thrown in. Is there a more explicit formulation of what $(1+i)^n+(1-i)^n$ is, based on $n$?   With the binomial theorem, I get it equal to $$ \sum_{k=0}^n\binom{n}{k}i^{n-k}(1+(-1)^{n-k}). $$ Can this be made nicer? Thanks. Simple: every other race in Middle Earth has rings, why do Hobbits and Orcs not? How do I copyright my website? My website has been in development for a long time and cost a lot of money.  How do I go about securing an enforceable copyright on my website design and what is the proper way to post a copyright notice on the site so others know the work is copyrighted? How can I search tags on StackOverflow Careers? I am attempting to search jobs by tag on StackOverflow Careers. On SO, this is done using square brackets, but that is simply doing a keyword search, and I still get results that don't have the tag I am looking for.  For example, when I search for the keyword "android", I get this:        which is the same as when I search for the keyword "[android]":        Is there a format I can use to search jobs by tag? If not, I believe this would be a nice feature (seems intuitive for the Stack Exchange invite-only job site). I have been reading Hamilton Chapter 13 and he has the following state space representation for an ARMA(p,q). Let $r = \max(p,q+1)$.Then the ARMA (p,q) process is as follows: $$ \begin{aligned}  y_t -\mu &amp;= \phi_1(y_{t-1} -\mu) + \phi_2(y_{t-2} -\mu) + ... + \phi_3(y_{t-3} -\mu) \\ &amp;+ \epsilon_t + \theta_1\epsilon_{t-1} + ... + \theta_{r-1}\epsilon_{t-r+1}.  \end{aligned} $$ Then, he defines the State Equation as follows:   $$  \xi_{t+1} = \begin{bmatrix}      \phi_1 &amp; \phi_2 &amp; \dots &amp; \phi_{r-1} &amp; \phi_r \\      1 &amp; 0  &amp; \dots &amp; 0 &amp; 0  \\      \vdots &amp; \vdots &amp; \dots &amp; 0 &amp; 0 \\      0 &amp; 0 &amp; \dots &amp;1 &amp;0 \end{bmatrix} \xi_t  +  \begin{bmatrix}      \epsilon_{t+1} \\     0\\\vdots  \\     0       \end{bmatrix}  $$  and the observation equation as:  $$y_t = \mu + \begin{bmatrix}      1 &amp; \theta_1 &amp; \theta_2 &amp; \dots &amp; \theta_{r-1} \\     \end{bmatrix} \xi_t. $$  I do not understand what the $\xi_t$ is in this case. Because in his AR(p) representation it is $\begin{bmatrix}      y_{t} - \mu \\     y_{t-1} - \mu\\\vdots  \\     y_{t-p+1} - \mu       \end{bmatrix}  $ and in his MA (1) representation it is $\begin{bmatrix}      \epsilon_{t} \\     \epsilon_{t-1}      \end{bmatrix}  $.  Could someone explain this to me a little bit better? Where to find my Favorites in Google Chrome? Where can I find my Favorites in Google Chrome ?  Where to find the folder that contains them ?