I have a 2012 15" MacBook Pro and the Bluetooth is "unavailable". It has been like this for a while actually, probably about a year and a half. Sometimes it randomly becomes available and turns on only to become unavailable again only minutes later. Also a Bluetooth setup wizard app opens sometimes, usually after I turn the computer on after it had shut off from low battery, but when I click on it nothing happens. I haven't cared about this issue too much because I didn't have anything connected using Bluetooth, but now I actually do have something that I want to connect. I have tried resetting the SMC, deleting the .plist file and restarting, but neither of these worked. Does anyone know what might solve this issue?
I have a MacBook Pro Retina (2015). After updating to OS Mojave, Bluetooth has stopped working. I get an error message that "No Bluetooth Hardware Found".  I have already tried to do the following:   Go to the /Library/Preferences and delete the com.apple.Bluetooth.plist file Successfully resetting SMC. (pressing Shift+ctrl+alt + power button) Removing the Bluetooth icon from the menu bar    None of the above solutions has worked for me.
Windows 10 default programs keep changing Since the fall update last month, Windows 10 automatically keeps changing the default apps for certain types (mostly browser,pdf,mp3,jpg). I have tried changing them back from the Settings app as well as the Control Panel.  I have observed that this happens mostly while unzipping files using WinZip. Windows changes the default programs back to Microsoft recommended programs such as Edge, Photos, Groove etc.  Is there a way to restrict this from happening? Has anybody else encountered a similar situation? I couldn't find similar question anywhere so I'm asking this here. CPU usage is too high with Yosemite and an external monitor I use Yosemite 10.10.4 on my MacBook Pro (2012).  I used to work with an external monitor: Apple Thunderbolt 27" monitor.  The issue is that, according to Activity Monitor, the kernel_task process consumes more than 600% of CPU even when no tasks are running! The computer becomes totally unusable.   The workaround is to disconnect the external monitor, but I really need this secondary screen to work.  Why didn't Apple fix this issue in the latest Yosemite update?  Is there a fix for this? Show that $\mathbb{E}(T) = \sum\limits^\infty_{k=1}\mathbb{P}(T \geq k)$ for $T$ nonnegative integer valued and $E[T] < \infty$ Let T be a non-negative integer-valued random variable with $\mathbb{E}(T) &lt; \infty $. Prove that $\mathbb{E}(T) = \sum^\infty_{k=1}\mathbb{P}(T \geq k)$.  Had a few attempts, haven't really got anywhere. I'm wondering as I'm typing this if proof by induction is a good way to go.  Edit: One major thing I forgot to add, am I correct in thinking that also, $\mathbb{E}(T) = \sum^\infty_{k=1}k\mathbb{P}(T = k)$? There is some conflict or error I don't understand. I can skip it and nothing visible happens. The output is okay and everything seems to be fine. Still I would like to get rid of the error message. If I run the following minimal example:   \documentclass[]{scrbook}  \usepackage[applemac, grafiken]{tahbiblatex} \usepackage[ngerman]{babel}   \begin{document}  Testing äüöaüä.  \end{document}   I get the error message:      ! Missing = inserted for \ifnum. &lt;to be read again&gt;                     , l.4 \usepackage                [ngerman]{babel} ?  ! Missing number, treated as zero. &lt;to be read again&gt;                     , l.4 \usepackage                [ngerman]{babel}   Here is my .sty file:  \NeedsTeXFormat{LaTeX2e}\relax \ProvidesPackage{tahbiblatex}[2012, by tah modified by sm]  \RequirePackage{ifthen}  \DeclareOption{latin1}{\PassOptionsToPackage{\CurrentOption}{inputenc}} \DeclareOption{applemac}{\PassOptionsToPackage{\CurrentOption}{inputenc}} \DeclareOption{cp850}{\PassOptionsToPackage{\CurrentOption}{inputenc}} \DeclareOption{utf8}{\PassOptionsToPackage{\CurrentOption}{inputenc}}  \DeclareOption{dvi}{% \newif\ifpdf \ifx\pdfoutput\undefined     \pdffalse \else     \pdfoutput=0     \pdftrue \fi}  \newcounter{Grafiken}\setcounter{Grafiken}{0} \DeclareOption{grafiken}{\setcounter{Grafiken}{1}}  \newcounter{Randausgleich}\setcounter{Randausgleich}{0} \DeclareOption{randausgleich}{\setcounter{Randausgleich}{1}}  \newcounter{Tabellen}\setcounter{Tabellen}{0} \DeclareOption{tabellen}{\setcounter{Tabellen}{1}}  \newcounter{Sync}\setcounter{Sync}{0} \DeclareOption{sync}{\setcounter{Sync}{1}}  \ProcessOptions  \RequirePackage{fixltx2e} \RequirePackage{inputenc} \RequirePackage[T1]{fontenc} \RequirePackage[T1]{url} \RequirePackage{setspace} %\RequirePackage[german]{varioref} \RequirePackage{textcomp}  \newcommand{\urlangabe}[2]{% $\langle$\url{#1}$\rangle$ -- Zugriff am #2}  \def\hierlockern {\begingroup \def\par{\endgraf\endgroup}%   \tolerance 1414%   \hbadness 1414%   \emergencystretch 1.5em%   \hfuzz 0.3pt%   \vfuzz \hfuzz%   \raggedbottom% }  \newcommand{\alleslockern}{%   \tolerance 1414%   \hbadness 1414%   \emergencystretch 1.5em%   \hfuzz 0.3pt%   \vfuzz \hfuzz%   \raggedbottom% } \ifthenelse{\value{Grafiken}=1}   {   \ifx\pdfoutput\undefined \newcount\pdfoutput \fi   \ifcase\pdfoutput       \RequirePackage[dvips]{graphicx}       \DeclareGraphicsExtensions{.eps}       \typeout{Paket tah Meldung: Die Option `grafiken' fuer DVI wurde gewaehlt.}% \else     \RequirePackage[pdftex]{graphicx}     \DeclareGraphicsExtensions{.jpg,.tif,.png,.pdf}     \typeout{Paket tah Meldung: Die Option `grafiken' fuer PDF wurde gewaehlt.}%   \fi}   {}  \ifthenelse{\value{Sync}=1}   {     \ifx\pdfoutput\undefined \newcount\pdfoutput \fi     \ifcase\pdfoutput     \RequirePackage{srcltx}     \typeout{Paket tah Meldung: Die Option `sync' fuer DVI wurde gewaehlt.}%     \else     \RequirePackage{pdfsync}     \typeout{Paket tah Meldung: Die Option `sync' fuer PDF wurde gewaehlt.}%     \fi }   {}   \ifthenelse{\value{Randausgleich}=1}   {\typeout{Paket tah Meldung: Die Option `randausgleich' wurde gewaehlt.}%   \RequirePackage[activate]{pdfcprot}}   {}  \ifthenelse{\value{Tabellen}=1}   {\typeout{Paket tah Meldung: Die Option `tabellen' wurde gewaehlt.}%   \RequirePackage{tabularx}   \RequirePackage{ragged2e}   \RequirePackage{dcolumn}   \RequirePackage{booktabs}   \newcolumntype{L}{&gt;{\RaggedRight\hspace{0pt}\arraybackslash}l}   \newcolumntype{Y}{&gt;{\RaggedRight\hspace{0pt}\arraybackslash}X}   \newcolumntype{d}[1]{&gt;{\DC@{.}{,}{#1}}l&lt;{\DC@end}}   }   {}    \endinput   I also don't really need all the features. So it would be nice to reduce it to minimal features, which are needed.. Transit Visas for South Africa Undesirable-Overstay Tourists I received an undesirable status for overstaying a SA visa while hospitalized for injuries sustained in Lesotho. I had to cross into SA from Lesotho. Now I am banned entry into SA until Feb 2016 and though I have submitted a waiver request to remove the undesirable status, I hear from some the waiver request may take 4-5 months or even take longer than the time of banishment.  I have a pre-paid safari planned in October in which I need to fly through Johannesburg to get to Botswana. The Jburg border control requires tourists to pass through SA immigration even when simply changing planes.  1) Will SA grant me "transit" access if I don't leave the airport?  2) Will SA allow me to spend a night in the airport as the layover is 12 hours>  Thanks for passing on any info. How do I autohide the top panel in Unity? When windows are not maximized, the top panel is basically wasted space for me in Unity.  Is there a way to make it autohide? i.e. make it appear on mouse over. clerics have the ability  (PHB, p. 62):     When a creature within 5 feet of you that you can see hits you with an attack, you can use your reaction to cause the creature to make a Dexterity saving throw. The creature takes 2d8 lightning or thunder damage (your choice) on a failed saving throw, and half as much damage on a successful one.   It doesn't specify what the DC of the saving throw is.   I assume it uses the spell save DC, even though it technically isn't a spell?     Spell save DC = 8 + your proficiency bonus + your Wisdom modifier If we minimize the Wasserstein loss, $$W_1 (P_S, P_T) = \underset{\gamma \in \Pi}{\text{min }} \sum_{x,y} |x-y|\gamma(x,y)$$ which means we are looking for the coupling $\gamma(x,y)$ that minimizes the cost of moving mass from the source distribution $P_S$ to the target distribution $P_T$,  Do the masses of the source and target distributions have to be identical? If so or not, how are the masses of $P_T$ and $P_S$ accounted for mathematically in, or when minimizing, the shown formula, or what might be missing/overlooked by the Wasserstein approach overall due to the mass differences? Steam Bollywood Achievement:     As Gandhi, win a cultural victory with   3 or fewer cities in your empire.   I wish to do this achievement on a Pangaea Standard map size or larger and on Prince difficulty or higher,  What tactics do people recommend to achieve this. Any tips on the use of, Social Policies, Wonders, Diplomacy, City States and Military. My daughter bought a ticket for a flight with a layover in Emirates (from Dallas, Texas to India). She had a stop of 48 hours in Dubai. When she was checking in in Dubai for Delhi, she was informed that her visa for India has expired in 2012. Did Emirates not have an obligation to check the visa for India before selling a ticket? When I'm going through a whole bunch of shots to determine which to delete and which to flag, it's fastest for me to just keep both hands on the keyboard.  However, if I want to zoom in to 100% on a picture and then pan to a specific area, it seems I can only get halfway there -- 'Z' to zoom, but then I'm stuck having to pick up the mouse to pan around.  I was excited to find page-up/page-down/home/end can be used, but they seem to exist to provide an exhaustive, linear scrolling of the image, panning top-to-bottom then left-to-right, without unconstrained 2d movement.  Is there some way to toggle the arrow keys so they can pan instead of navigate to the next/prev photo?  Something else?  Or am I out of luck? I am comfortable with the different sizes of infinities and Cantor's "diagonal argument" to prove that the set of all subsets of an infinite set has cardinality strictly greater than the set itself. So if we have a set $\Omega$ and $|\Omega| = \aleph_i$, then (assuming continuum hypothesis) the cardinality of $2^{\Omega}$ is $|2^{\Omega}| = \aleph_{i+1} &gt; \aleph_i$ and we have $\aleph_{i+1} = 2^{\aleph_i}$.  I am fine with these argument.  What I don't understand is why should there be a smallest $\infty$? Is there a proof (or) an axiom that there exists a smallest $\infty$ and that this is what we address as "countably infinite"? or to rephrase the question "why can't I find a set whose power set gives us $\mathbb{N}$"?  The reason why I am asking this question is in "some sense" $\aleph_i = \log_2(\aleph_{i+1})$. I do not completely understand why this process should stop when $\aleph_i = \aleph_0$.  (Though coming to think about it I can feel that if I take an infinite set with $\log_2 \aleph_0$ elements I can still put it in one-to-one correspondence with the Natural number set. So Is $\log_2 \aleph_0 = \aleph_0$ (or) am I just confused? If $n \rightarrow \infty$, then $2^n \rightarrow \infty$ faster while $\log (n) \rightarrow \infty$ slower and $\log (\log (n)) \rightarrow \infty$ even slower and $\log(\log(\log (n))) \rightarrow \infty$ even "more" slower and so on).  Is there a clean (and relatively elementary) way to explain this to me?  (I am totally fine if you direct me to some paper (or) webpage. I tried googling but could not find an answer to my question) How do I use superposition to solve a circuit? Yes, this is a pedagogical question. While answering another recent question, I wanted to refer the OP to concise instructions for using superposition to solve circuits. I found that all the easily found resources online were somewhat deficient. Typically they were unclear about what kinds of circuits superposition applies to, or about the actual method to apply the superposition theorem to a circuit problem. So,   What kinds of circuits can be solved by superposition?  How are different kinds of sources treated when solving by superposition?  What are the steps to solve a circuit using the superposition theorem? What are some important applications of the Erdős-Szekeres Theorem? Problem numbering environment "It was me" or "It was I" It was ... salted the earth around your flower deck.    I wrote the second form "It was me". I have chosen the most "appropriate" answer to this question as somebody who is learning English.  This decision was made on a phonetic basis so it's for sure I made a mistake.   Surely you have a rational explanation to this exercise, maybe a grammar rule, or is it an English expression? Get most common value for each value of another column in SQL I have a table like this:   Column  | Type | Modifiers  ---------+------+-----------  country | text |   food_id | int  |   eaten   | date |    And for each country, I want to get the food that is eaten most often.  The best I can think of (I'm using postgres) is:  CREATE TEMP TABLE counts AS     SELECT country, food_id, count(*) as count FROM munch GROUP BY country, food_id;  CREATE TEMP TABLE max_counts AS     SELECT country, max(count) as max_count FROM counts GROUP BY country;  SELECT country, max(food_id) FROM counts     WHERE (country, count) IN (SELECT * from max_counts) GROUP BY country;   In that last statement, the GROUP BY and max() are needed to break ties, where two different foods have the same count.  This seems like a lot of work for something conceptually simple.  Is there a more straight forward way to do it? How to redirect output to screen as well as a file? Let's say I have Table A: BookingsPerPerson  Person_Id    ArrivalDate    DepartureDate 123456       2012-01-01     2012-01-04 213415       2012-01-02     2012-01-07   What I need to achieve with a view is the following:  Person_Id    ArrivalDate    DepartureDate    Jan-01    Jan-02    Jan-03    Jan-04    Jan-05    Jan-06    Jan-07 123456       2012-01-01     2012-01-04       1         1         1         1 213415       2012-01-02     2012-01-07                 1         1         1         1         1         1   The system is for events, so each hotel booking could take anything between 1 to 15 days but no more than that. Any ideas would be very much appreciated. How do I show that $\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge 4$ for $a^2 + b^2 + c^2 + d^2 = 4$? Let $a, b, c, d$ be positive real numbers such that $a^2 + b^2 + c^2 + d^2 = 4$, show that $$\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge 4.$$  My try:  $$\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a \ge a + b + c + d,$$  yet $$a + b + c + d \le \sqrt{4(a^2 + b^2 + c^2 + d^2)} = 4.$$  Thus, direct application of Cauchy-Schwarz inequality is too weak. I tried other methods but with no significant progress:  $$(\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a)^2 \ge \frac {(a^{4/3} + b^{4/3} + c^{4/3})^3}{a^2 + b^2 + c^2 + d^2} = \frac {(a^{4/3} + b^{4/3} + c^{4/3})^3}4.$$  I also observed that  $$(\frac {a^2}b + \frac {b^2}c + \frac {c^2}d + \frac {d^2}a) + (\frac {a^2}c + \frac {b^2}d + \frac {c^2}a + \frac {d^2}b) + (\frac {a^2}d + \frac {b^2}a + \frac {c^2}b + \frac {d^2}c) + (\frac {a^2}a + \frac {b^2}b + \frac {c^2}c + \frac {d^2}d) = 4 (\frac 1a + \frac 1b + \frac 1c + \frac 1d) \ge 16,$$  since $$\frac 1a + \frac 1b + \frac 1c + \frac 1d \ge \sqrt{\frac {(1 + 1 + 1 + 1)^3}{a^2 + b^2 + c^2 + d^2}} = 4.$$  Now my work might seem stupid or off-topic here, but I provide it here because I wish any of these attempts will lead to a solution. Any hints will be appreciated.