How to stop iPhone auto reducing volume when it is connected via BT to things that are NOT headphones? I understand apple has my wellbeing at heart by trying to lower the volume when listening to music (with the volume set to full), but this makes no sense why I am connected to a bluetooth speaker. It doesn't even ask me 'are these headphones?' like it does when you connect something to the lightning port. How can I make it realise these are not headphones that are being connected?
Stop making iPhone constantly change sound volume on its own? I regularly get interrupted in watching and listening to video by the volume randomly getting lowered without me asking for it. I get a system notification telling me &quot;the volume was lowered&quot;, telling me it's protecting my hearing based on the last 7 days of use. I've never been asked about enabling such a feature. I have already disabled what relevant items I can find under Sound &amp; Haptics, which is given as the source of the notification. It apparently doesn't matter though because it's not being respected. How can I make this stop? iPhone 8, iOS 14.2
Whenever a question pops up on SO about Java synchronization, some people are very eager to point out that synchronized(this) should be avoided. Instead, they claim, a lock on a private reference is to be preferred.  Some of the given reasons are:    (very popular this one, also has an "accidentally" variant)     Other people, including me, argue that synchronized(this) is an idiom that is used a lot (also in Java libraries), is safe and well understood. It should not be avoided because you have a bug and you don't have a clue of what is going on in your multithreaded program. In other words: if it is applicable, then use it.  I am interested in seeing some real-world examples (no foobar stuff) where avoiding a lock on this is preferable when synchronized(this) would also do the job.  Therefore: should you always avoid synchronized(this) and replace it with a lock on a private reference?      Some further info (updated as answers are given):   we are talking about instance synchronization both implicit (synchronized methods) and explicit form of synchronized(this) are considered if you quote Bloch or other authorities on the subject, don't leave out the parts you don't like (e.g. Effective Java, item on Thread Safety: Typically it is the lock on the instance itself, but there are exceptions.) if you need granularity in your locking other than synchronized(this) provides, then synchronized(this) is not applicable so that's not the issue Requirements for a clan war? I've been modeling an F-15, but when I rotate the flaps on Y-Axis the Flaps offset from the wing and they look like they are about to fall out, so I end up correcting it by rotating in the X and Z-axis to align them correctly.  However when I rotate them back from the Y-Axis they look distorted again because I did rotations on the X and Z axis. I tried riding it, no help. I saw something about custom orientation to fix it but that was not clearly explained and it was done on an ideal plane that was (0,0,0); mine is pre-rotated on all axis.   I'll take scripts if needed and I'm using Blender 2.8.  When I rotate it on the Y-Axis:    Fixing it using X and Z rotation:    Rotating it back on the Y distorted it again:    Here's the wing with ailerons and flaps: Retrieving Maxwell's equations from the minimum action principle I'm currently working at the start of Alexei Tsvelik's book Quantum Field Theory in Condensed Matter Physics. I'm kinda stumped on a few essential steps.  Starting with the action:  $$S = \int dt \int d^3 x \mathcal{L}_{\mathrm{EM}} = \int dt \int d^3 x \left( -\frac{1}{4} F_{\mu \nu} F^{\mu \nu} + j_\mu A^{\mu}\right).$$  In the absence of any sources $j_\mu = 0$ and $c=1$, which after pulling in the negative sign implies  $$S = \frac{1}{2}\int dt \int d^3 x  \,\,\left(E^2 - B^2\right)$$ The next step is to take $\vec{E} = -\vec{\nabla} \phi + \partial_t \vec{A}$ and $\vec{B} = \vec{\nabla} \times \vec{A}$. Letting $\phi = 0$ and directly inserting these into the above yields:  $$S = \frac{1}{2} \int dt \int d^3 x  \,\left( (\partial_t \vec{A})^2 - (\vec{\nabla} \times \vec{A})^2 \right) $$  Now considering $\vec{A} = \vec{A}_0 + \delta \vec{A}$ as some minimal change in our vector potential, with $\vec{A}_0$ gives a minimum for the action and putting this into the above expression we have: $$\delta S = \int dt \int d^3 x \left(\partial_0 \vec{A}_0 \partial_0 \delta \vec{A} + \left(\vec{\nabla} \times \vec{A}_0\right)\cdot\left(\vec{\nabla} \times \delta \vec{A} \right) \right)+ \mathcal{O}(A^2)\,\,\,\,\,\,\, (1)$$ where I have the term  $$\mathcal{O}(A^2) = \int dt \int d^3 x \left( (\partial_0 \vec{A}_0)^2 + (\partial_0 \delta \vec{A})^2 - (\vec{\nabla}\times\vec{A}_0)^2-(\vec{\nabla}\times \delta\vec{A})^2\right)$$  The next step is where I lose our author and go from "Oh ok I get this" to "completely clueless". He rewrites $\delta S$ as:  $$\delta S =  \int dt \int d^3 (\delta x) \vec{A} \mathcal{F(\vec{A}_0)}+ \mathcal{O}(A^2)$$  where $\mathcal{F} = \frac{\delta S}{\delta A}$. What is the purpose of $x\to \delta x$ in the above expression? Is the functional derivative $\mathcal{F}$ a vector quantity? He has it bolded with a bolded $\vec{A}$ in the above expression. One last question takes the above expression further. We assume $\delta \vec{A}$ vanishes at infinity, as it should, and integration by parts yields:  $$\delta S =  -\int dt \int d^3 x \left( \partial^2_0 \vec{A}_0 - (\vec{\nabla} \times \vec{\nabla})\times \vec{A}_0  \right)\delta \vec{A}\,\,\,\,\,\,\,\, (2)$$ How exactly did we go from (1) to (2)? Thanks I appreciate your time! I need a software, that emulates a printer, converts the printed documents to PDF/TIFF and send it via eMail to a specified address (for windows).  The virtual printer / PDF conversion is possible with a lot of PDF-converters. But I need a software, which is also able to directly mail me these PDFs. It's always the same mailaddress, and I have an SMTP server.  Any suggestions? Forest tree not symmetric How do I stop mod_rewrite from appending links to url? Does the integral $\int_{1}^{\infty} \sin(x\log x) \,\mathrm{d}x$ converge? Encrypting a folder I'm familiar with bitlocker, having been using it for a while, but I am looking at just encrypting a folder instead. But I just don't understand the options it's giving me.  When I right-click a folder > properties > advanced > [x] encrypt contents to secure data > OK &lt; apply > ...  I get:  () apply changes to this folder () apply changes to this folder, sub-folder and files.   This doesn't make sense to me at all, if I encrypt a folder then the whole folder, everything within it is encrypted, then why should I be given these options, how can I have a folder encrypted and files within that folder unencrypted, that seems stupid to me, it doesn't make sense at all.  Can anybody explain why these options exist and how can I simply encrypt a folder? Characterization convex function. Let $f:[0,1]\rightarrow\mathbb{R}$ be a continuous function such that for all $a,b\in [0,1]$ with $a&lt;b$ $$f\left(\frac{a+b}{2}\right)\leq\frac{1}{b-a}\int_a^b f(x)\,dx.$$ How to prove that $f$ is a convex function? Thank you for your help. So the stories of the Hunger Games are set in , a post-apocalyptic society situated in North America. Is there anything to explain what caused the Apocalypse? Whether from the main books, any extra material or interviews? (No fanfic please.)  As well as the cause, is there any indication of when the apocalypse happened? And how long after the apocalypse are the events of the Hunger Games? Can I create a Controller that simply returns an image asset?  I would like to route this logic through a controller, whenever a URL such as the following is requested:  www.mywebsite.com/resource/image/topbanner   The controller will look up topbanner.png and send that image directly back to the client.  I've seen examples of this where you have to create a View - I don't want to use a View. I want to do it all with just the Controller.  Is this possible? Solve this integral for free WiFi I saw this today, I checked in Mathematica and the integral comes out to $\pi$, but I have no idea how to solve it.     FREE Wi-Fi: The Wi-Fi password is the first $10$ digits of the answer.   $$\int_{-2}^2\left(x^3\cos\frac x2+\frac12\right)\sqrt{4-x^2}\ dx$$ How do I install Ubuntu from an USB drive / create a live USB-stick in Windows? I tried to use the usb-creator.exe from Ubuntu 10.10 desktop i386 ISO image and it does create an USB stick that doesn't boot. When I try to boot from it I get:     Operating System not found.   I try to do this from Windows 7 x64. I'm not looking to create a live Ubuntu media, only an installation USB disk.  I repeated the process several times and I even tried to reformat the USB drive (FAT32), no success yet.  The USB stick is a 8GB one. Changing trains in Lille - what's the transfer with luggage between Lille Europe and Lille Flanders stations like? Lille has two main train stations, Lille Europe and Lille Flanders. (Gare de Marchandises Saint-Saveur is no longer a station, and instead hosts art exhibitions and the like). Lille Europe is the new station on the high speed lines between London / Paris / Brussels, while Lille Flanders is the original station now used for a mixture of local and high speed trains.  For some rail journeys, changing trains in Lille is the best option (avoiding having to cross Paris to change trains), and for others it's the only option. Sometimes you get lucky and both trains use the same station in Lille, but not all.  For the cases when you find yourself needing to change between Lille Flanders and Lille Europe stations, what's the connection like? Does it take long? Is it outside / inside? Is it a faff with luggage, or is there a step-free route for most of it? Are you best to walk, or take public transport? And a lower concern, is there anything interesting to see of the town during the transfer? Why won't Amanita move in and settle down? I keep getting an alert that Amanita would like to settle down. I have a house ready for them however they still won't move in. Who is this NPC and why won't they settle down? Sounds of supersonic objects Would you, as a stationary observer, hear a sound in reverse when the source of the sound travels with twice the speed of sound? Of course, he wouldn't hear anything at all before the airplane passed by and the sound reaches him, but what about after? Does it reverse due to the Doppler effect? How do I escape a single quote in SQL Server? How can I run Debian stable but install some packages from testing? Say you're running a server and you don't want to upgrade to Testing (Squeeze) from Stable (Lenny) to just install a required package or two.  What's the best way of installing only certain packages from Testing? Is there a Stack Exchange site for both technical and behavioural interview questions? Where I could ask questions about, for example:   Sample questions and solutions, experiences, or seeking advice for interviews A place where I could ask interview questions and what the best way to answer it (not just a correct way or the most efficient).   What to do in a certain situation such as negotiation, unfair interviews, etc.   Experiences interviewing at so-and-so company.