What gesture is triggered by wiggling your finger on the home button?
Placing finger twice on Finger Scanner on iPhone 6 plus changes view
Can you have a class in a struct? Why have the subjunctive and indicative converged in Modern English? "I didn't realize it was him." How to prevent the screen lock while watching video (Netflix, Youtube, Amazon Prime) in Ubuntu 17.10 In earlier Ubuntu versions like 16.04 and 17.04 while watching YouTube videos in full-screen mode, the screen would not get locked automatically.  In Ubuntu 17.10 while watching videos in browser, system is getting locked. So Ubuntu 17.10 is considering this scenario as user is not doing anything.  Kindly suggest a solution for that. Microsoft.ACE.OLEDB.12.0 provider is not registered I have a Visual Studio 2008 solution with two projects (a Word-Template project and a VB.Net console application for testing).  Both projects reference a database project which opens a connection to an MS-Access 2007 database file and have references to System.Data.OleDb.  In the database project I have a function which retrieves a data table as follows   private class AdminDatabase    ' stores the connection string which is set in the New() method    dim strAdminConnection as string     public sub New()    ...    adminName = dlgopen.FileName    conAdminDB = New OleDbConnection    conAdminDB.ConnectionString = "Data Source='" + adminName + "';" + _        "Provider=Microsoft.ACE.OLEDB.12.0"     ' store the connection string in strAdminConnection    strAdminConnection = conAdminDB.ConnectionString.ToString()    My.Settings.SetUserOverride("AdminConnectionString", strAdminConnection)    ...    End Sub     ' retrieves data from the database    Public Function getDataTable(ByVal sqlStatement As String) As DataTable         Dim ds As New DataSet         Dim dt As New DataTable         Dim da As New OleDbDataAdapter         Dim localCon As New OleDbConnection           localCon.ConnectionString = strAdminConnection          Using localCon             Dim command As OleDbCommand = localCon.CreateCommand()             command.CommandText = sqlStatement             localCon.Open()             da.SelectCommand = command             da.Fill(dt)             getDataTable = dt         End Using      End Function End Class   When I call this function from my Word 2007 Template project everything works fine; no errors. But when I run it from the console application it throws the following exception     ex = {"The 'Microsoft.ACE.OLEDB.12.0'   provider is not registered on the   local machine."}   Both projects have the same reference and the console application did work when I first wrote it (a while ago) but now it has stopped work.  I must be missing something but I don't know what.  Any ideas? I'm trying out  with gnuplot to generate the data.  This works by having pgfplots write some stuff to an external file, run gnuplot on the file, and then use the generated data to plot the graph.  The problem I'm having is that I get different behaviour under xelatex as pdflatex or lualatex.  In xelatex, the data file is littered with ^^I whereas in the other two formats these are tabs.  It appears that the code ^^I is getting stored as a macro which then gets written out to the file, so possibly there's something funny going on with the ^^I syntax: xelatex is reading it literally.  Indeed, when I do \show\pgfplots@TAB (the macro in question) then for pdflatex and lualatex then I get a literal tab whereas for xelatex I get ^^I.  So how do I get a tab in xelatex?  And why isn't \gdef\pgfplots@TAB{^^I} working?  (The previous line in the code, by the way, is \catcode`\^^I=12 - I don't know if that has anything to do with it.) I'm trying to find a copy of 6.20 to run a diff on a client's Drupal install. I believe there's been changes to core.   How can I get version 6.20? Additionally, how can I download any older Drupal versions? Helix on a cylinder How should I deal with becoming discouraged as a graduate student? What sources of randomness can be made with commands in Minecraft? I want to make a mini game in Minecraft were I need a random command generator for 9 commands. I need a random command to give the player a random item. I can't do the command block in the dispenser any more because it will just drop out instead of being placed. What different ways are there for generating randomness in commands, and which one would be best for my use? This question is similar to the one about , but I am specifically attempting to get randomness when using commands - the redstone solutions do not apply here. Parse XML with Namespace using SimpleXML Set HDMI sound output automatically on connect/disconnect I have a dual screen setup on my laptop (using 12.04 LTS) using a HDMI connected display. Everything works fine, but everytime I connect/disconnect the cable I have to go to Sound preferences and change the sound output device manually.  Is there any way to change the sound output device on connect/disconnection of cable, so when I connect my display the sound output is set to HDMI and when I disconnect it the sound goes back to laptop speakers? Let $f: \mathbb R^2 \to \mathbb R$ defined as   $f(x,y)=(x^2+y^2)\sin(\dfrac{1}{\sqrt{x^2+y^2}})$ if $(x,y) \neq (0,0)$, $f(x,y)=(0,0)$ if $(x,y)=(0,0)$  Prove that $f$ is differentiable at $(0,0)$ but that the partial derivatives of $f$ are not continuous at the origin.  The attempt at a solution:  I had some problems at the first part of the exercise:  I've calculated $\dfrac{\partial f}{\partial x}(0,0)$ and $\dfrac{\partial f}{\partial y}(0,0)$, both exist and are equal to $1$.  So, to prove $f$ is differentiable at the origin, I have to show that   $\lim_{(x,y) \to (0,0)} \dfrac{|f(x,y)-(f(0,0)+&lt;\nabla f(0,0),(x,y)&gt;)|}{\|(x,y)\|}=0$ But $\lim_{(x,y) \to (0,0)} \dfrac{|f(x,y)-(f(0,0)+&lt;\nabla f(0,0),(x,y)&gt;)|}{\|(x,y)\|}$ equals  $\lim_{(x,y) \to (0,0)} \dfrac{|(x^2+y^2)\sin(\dfrac{1}{\sqrt{x^2+y^2}})-(x+y)|}{\|(x,y)\|}$. I don't know how to show this limit equals $0$.  For the second part (I've only analyzed $\dfrac{\partial f}{\partial x}$ since both cases are the same), what I did was try to show that $\lim_{(x,y) \to (0,0)} \dfrac{\partial f}{\partial x}(x,y) \neq \dfrac{\partial f}{\partial x}(0,0)$   I thought of considering the curve $\phi(t)=(t,0)$, so   $\lim_{t \to 0} (f\circ \phi)(t)=\lim_{t \to 0} 2t\sin(|t|^{-1})-\dfrac{t\cos(|t|^{-1})}{|t|^{-1}}$. But $\lim_{t \to 0^{+}} \dfrac{t\cos(|t|^{-1})}{|t|^{-1}}=\lim_{t \to 0^{+}} \cos(\dfrac{1}{t})$ and this limit doesn't exist, so the original limit doesn't exist. This shows the partial derivative with respect to $x$ at the point $(0,0)$ is not continuous.   I would appreciate if someone could help me to finish the first part and tell me if what I did in the second part of the problem is correct. Seeking Mobile Data collection software recommendations? How to overwrite only part of a file in c++ Probability to obtain more than X with 3 dice. I am writing a bash script to look for a file if it doesn't exist then create it and append this to it:  Host localhost     ForwardAgent yes   So "line then new line 'tab' then text" I think its a sensitive format.  I know you can do this:  cat temp.txt &gt;&gt; data.txt   But it seems weird since its two lines. Is there a way to append that in this format:  echo "hello" &gt;&gt; greetings.txt On machine A I have the folder /home/a/  On machine B I have the folder /home/b/  I wish transfer all files, directories and sub-directories of /home/a in /home/b with sftp On machine A I tried the commands: sftp fibon82@machineB.com put /home/a/* /home/b/  but it doesn't work, i get the error message: &quot;skipping non-regular file /home/a/a1&quot;... [a1 is a sub-directory of a] How could I modify the put instruction? Thanks! :) EDIT: I solved using scp: scp -r /home/a/ fibon82@machineB.com:/home/b/ Why are integer literals with leading zeroes interpreted strangely? This prints 83  System.out.println(0123)   However this prints 123  System.out.println(123)   Why does it work that way? How to code an automated bot that can browse and do operations on a webpage