Blockquotes in LateX
Block quote with big quotation marks
How can I control a servo motor with the PWM output of a microcontroller? I wanted to control the direction of servo motor with a switch. I am using an Atmega32.  Outputs are PIND4 and PIND5 and the input is PINA3, but the two servo motors turn only in 1 direction.  #ifndef F_CPU  #define F_CPU 1000000UL   #endif  #include &lt;avr/io.h&gt; #include &lt;util/delay.h&gt; #include &lt;avr/interrupt.h&gt;   int main(void) { DDRD= 0xFF ; DDRA=0x00; PORTA =0x00; // FAST PWM TCCR1A |= 1&lt;&lt;COM1A0 | 1&lt;&lt;COM1A1 | 1&lt;&lt;WGM11 |1&lt;&lt;COM1B0|1&lt;&lt;COM1B1 ; TCCR1B= 1&lt;&lt;WGM12|1&lt;&lt;WGM13 ; ICR1 = 19999 ;  TCCR1B |=1&lt;&lt;CS10 ; while (1) {    if(PORTA==0x08) //if pina3 is 1    {     OCR1A = ICR1 -2000 ;   //turn servo 1     _delay_ms(1000);          OCR1B=ICR1-2000;    //turn servo 2     _delay_ms(1000);     }     if(PORTA==0x00)// if pina3 is 0     {       OCR1A = ICR1 -900 ; //turn servo 1 in the other direction       _delay_ms(1000);               OCR1B=ICR1-900;     //turn servo 2 in the other direction       _delay_ms(1000);      } }       return 0 ;  } 16.04 VirtualBox VM (from vhd file) hangs at "non blocking pool is initialized" I'm trying to boot Canonical's Azure 16.04 .vhd file in a VirtualBox VM and it hangs at "non blocking pool is initialized".  It works in Hyper-V, so it may only be a bug in virtual box (5.0.20). How should we handle downvote retaliation? I have a situation where I'm trying to figure out what the right thing to do is on SO.    I see a question.  I answer the question.  I see there are a couple other answers.  One answers the question well, though with less explanation than my answer.  The other answer seems both wrong and irrelevant to the question (doesn't answer the question at all).  I comment to that effect.  The "wrong" part is edited out, but the author of the answer doesn't respond to how their answer actually answers the question.  In fact, they seem offended that I don't "get" it.  After giving them several chances to explain how their answer is relevant to the question and seeing their attitude, I decide to downvote their answer as I don't see how it addresses the question at all and the author won't explain.  They retaliate and downvote my answer and admit in their comments that their downvote of my answer has nothing to do with the content of my answer and only because they don't like me disputing their answer.  Did I do the right thing by downvoting their answer?  Do I just have to live with their downvote retaliation?  Anything I should have done differently?  I also have no way of knowing this for sure, but the next question I answered was upvoted, then downvoted so perhaps this same person is stalking my answers and downvoting other answers of mine too with no comment.  As long as this doesn't continue, I'm not losing sleep over a couple downvotes, but I do wonder if I should have done anything differently.  Followup Later After I Posted This Question: After thinking about it for a little while, the person who disagreed with me decided to delete their post.  So, eventually the message did get through to them.  I don't know if they rescinded their downvote or not (or if they even could). Possessive form of coordinated noun phrases? Which of the following is accurate in British English to describe our own wedding?        Alex and Jen's Wedding   Alex's and Jen's Wedding   Alex and Jens' Wedding What is the probability that $x_1+x_2+...+x_n \le n$? I was trying to install minted package in TeXLive. I installed it and then run sudo tlmgr update --all. It was running slow so I stopped it using Ctrl+Z in an ubuntu terminal and then I run sudo tlmgr update --list. After that I installed texlive-latex-extra and python-pygments. Later on I run sudo tlmgr update --all again and let it finish.  After that I am trying to run a simple code using listings and greek but I get an error     Bad Character code (256)   A MWE that illustrated the problem is the following  \documentclass{book}  \usepackage[english,greek]{babel} \usepackage[iso-8859-7]{inputenc} % %\usepackage[utf8]{inputenc} \usepackage{kerkis} \usepackage{pifont} % %  \newcommand{\sw}{\selectlanguage{english}} \newcommand{\sq}{\selectlanguage{greek}} \newcommand{\eng}[1]{\latintext#1\greektext} \newcommand{\gre}[1]{\greektext#1\latintext}  \usepackage{xcolor} \usepackage{listings} \usepackage{textcomp}  \definecolor{listinggray}{gray}{0.9} \definecolor{lbcolor}{rgb}{0.9,0.9,0.9}  \lstdefinestyle{JavaStyle}{         backgroundcolor=\color{lbcolor},     tabsize=4, %   rulecolor=,     language=Java,      % choose the language of the code         basicstyle=\scriptsize,     % the size of the fonts that are used for the code         upquote=true,         aboveskip={1.5\baselineskip},         columns=fixed,         showstringspaces=false,         extendedchars=false,         breaklines=true,         prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},         frame=single,         numbers=left,         showtabs=false,         showspaces=false,         showstringspaces=false,         identifierstyle=\ttfamily,         keywordstyle=\color[rgb]{0,0,1},         %commentstyle=\color[rgb]{0.026,0.112,0.095},         commentstyle=\itshape\color{green!40!black},         stringstyle=\itshape\color{red!90!black},         numberstyle=\itshape\color{yellow!50!black} }  \lstdefinestyle{CppStyle}{         backgroundcolor=\color{lbcolor},     tabsize=4, %   rulecolor=,     language=C++,       % choose the language of the code         basicstyle=\scriptsize,     % the size of the fonts that are used for the code         upquote=true,         aboveskip={1.5\baselineskip},         columns=fixed,         showstringspaces=false,         extendedchars=false,         breaklines=true,         prebreak = \raisebox{0ex}[0ex][0ex]{\ensuremath{\hookleftarrow}},         frame=single,         numbers=left,         showtabs=false,         showspaces=false,         showstringspaces=false,         identifierstyle=\ttfamily,         keywordstyle=\color[rgb]{0,0,1},         %commentstyle=\color[rgb]{0.026,0.112,0.095},         commentstyle=\itshape\color{green!40!black},         stringstyle=\itshape\color{red!90!black},         numberstyle=\itshape\color{yellow!50!black} } \begin{document}  This is a dummy text. kjhbki \end{document}   The .aux file says  \relax  \select@language{greek} \@writefile{toc}{\select@language{greek}} \@writefile{lof}{\select@language{greek}} \@writefile{lot}{\select@language{greek}}   while the .log file can be found   Any idea why is this happening and how to fix this? Note that if I remove the listings preamble, delete all produced files and build the document, everything works fine. Volume of bounded region between sphere and a plane How to disable auto-complete braces in TEXStudio? I want to disable auto-complete for braces in TeXstudio. In its simplest form, when I type {  I do not want it to automatically add a }.  When it does this, many times I end up deleting the brace, which is a hassle.  Also, when I hit Ctrl+I to get into italics mode I don't want it to auto-complete the ending brace either.  I have gone to Options -&gt; Configure TeXstudio... -&gt; Completion -&gt; Show Advanced Options and disabled everything.  But it still auto-completes them.  In case it matters the version I have is TeXstudio 2.8.4. If a Windows shop moves "everything" to the cloud, does it still need Active Directory? Taking a spin off of this question:  in a new direction for 2014.  Taking into account a basic Windows infrastructure:   domain controllers Exchange 2007/2010/2013 Sharepoint SQL File Servers / Print Servers AD Integrated DNS AD authenticated 3rd party devices (let's say 802.1X for networking and maybe some content-filtering, etc.) AD/LDAP authenticated "administrative" functions on IT apps/hardware/etc. perhaps some KMS stuff throw in a CA if you'd like home grown apps 3rd party in-house apps   Now, let's rip it all out and decide we are going to the cloud.  We've contracted to move Exchange/Sharepoint/File Services to Office 365.  SQL will now be hosted as well on  something like Azure.  We've gotten away from the need for AD-DNS and simply run everything via a simple Windows DNS server.  We still need 802.1X and would like SSO if possible to our various cloud apps.  Home grown and 3rd party in-house apps would likely stay, but have the ability to use internal user databases instead of AD authentication  The question is...do we really need Active Directory at all?  Or more to the point, AD on-premise or even hosted via Azure or similar (ADFS) or running ADDS on a hosted VM through Azure or similar.  Could/Should we look to something else like a 3rd party SSO option such as  or similar that can provide SSO functionality even if it is as simple as LastPass or similar for each user?  What kind of legitimate needs does AD fulfill if everything else in the cloud?  Could a MS-centric infrastructure get away with not having AD at all if they move everything that previously relied on AD to SaaS offerings that didn't rely on AD authentication? Graphical glitches using Ubuntu 18.04 on Dell XPS 13 2019 laptop My laptop keeps on having weird screen glitches, sometimes for a second, and that goes away just by moving the cursor, sometimes, making me restart the whole thing.  I could still use the play/pause key and it still played/paused the video that was running even though the screen was completely teared.  Also, printscreens actually print a normal screen and do not show the problem.  Some pictures of the screen when it happens :     Do you guys know what I could do to solve the issue ? $|p(z)| \leq M$ for $|z| \leq 1$ Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$ Let $p(z)= \sum_{k=0}^n a_k z^k$ ,  $a_n \neq 0$ , be a polynomial of degree $n$ such that $|p(z)| \leq M$ for $|z| \leq 1$.  Show that $|p(z)| \leq M|z|^n$ for $|z| \geq 1$  This was an exam question. Part (a) of this question asked the converse: if $|p(z)| \leq M|z|^n$ and $|z|$ is sufficiently large, then $p(z)$ is a polynomial. This question came straight out of Ahlfors' Complex Analysis, which I solved by showing, using the Cauchy Estimate,  $|p^n (z)|  \leq \frac{n!M|z|^k}{R^n} = 0$ as $R \to \infty$.   I would like to work backwards with this.   May I do this, or similar:   $p(z) = \frac{1}{2\pi i} \int_{c} \frac{f(\zeta)d\zeta}{\zeta-z}$  $\Rightarrow  |p(z)| \leq \frac{2\pi M|z|^n}{1(2\pi)}= M|z|^n$ I read recently that if you hold a bullet in one hand and a pistol in the other, both hands at the same height, and subsequently fired the pistol at the same time as dropping the bullet, both bullets would hit the ground at the same time (assuming the fired bullet encounters no obstacles).  Is this true, and if so can you explain the reasoning behind it with as few equations as possible? I assume it is essentially that gravity is unaffected by momentum, but it just sounds counter-intuitive. $a^m=b^m$ and $a^n=b^n$ imply $a=b$ Let $D$ be an integral domain and let $a^m=b^m$ and $a^n=b^n$ where $m$ and $n$ are relatively prime integers, $a,b \in D$.   How do I show $a=b$? When do you use at the office? And when do you use in the office? What's the difference between the phrases? Would the effect of gravity on me change if I were to dig a very deep hole and stand in it? If so, how would it change? Am I more likely to be pulled downwards, or pulled towards the edges of the hole? If there would be no change, why not? C#: code error while changing the active directory user's password Browse local copies of websites when possible (Firefox with slow internet connection) I am on a slow internet connection. I would like to use Firefox to load local copies of websites when it exists and is relatively recent (say one week).   An example usage would be browsing a lot of Wikipedia webpages, coming back to the same ones on a regular basis.  I would like to avoid having to manually specify to save single pages on each website I visit (which is what I guess I would need to do with a plugin like ). And I would also like to avoid having to switch between "work offline" or "work online".   Any suggestions? The following code best describes the situation.  Why is the last line not outputting the trailing newline char?  Each line's output is shown in the comment.  I'm using GNU bash, version 4.1.5          echo -n $'a\nb\n'                  | xxd -p  # 610a620a              x=$'a\nb\n'   ; echo -n "$x" | xxd -p  # 610a620a      echo -ne "a\nb\n"                  | xxd -p  # 610a620a x="$(echo -ne "a\nb\n")" ; echo -n "$x" | xxd -p  # 610a62 I'm  trying to create a FPS game in blender game engine. When I do KeyBoard[Spacebar] sensor and hook it up to a simple motion of z +1 or something like that, the guys pops up really fast as if he didn't have any motion between being on the ground and being in the air. Is there a way to make a more realistic, more slow jump in BGE? Okay setting the scene. I have three tables, (Table1, Table2 and DataTable) and I want to insert into Table1 and Table2 using DataTable as source. So for every row in DataTable I want a row in Table1 and Table2, and Table2 needs to have the inserted id (PK) from Table1...  If I were to do this...  INSERT INTO Table1 SELECT A, B, C FROM MyTable INSERT INTO Table2 SELECT IDENTITY_INSERT(), D, E, F FROM MyTable   I'd get the ID of the last inserted record into Table1.  Is a CURSOR or WHILE loop the only ways to do this?