Why is it possible to do something like: mov %rbx, %rcx  But not to do: mov %rip, %rax # lea (%rip), %rax  Why is this the case, and how does call go about calculating the return address?
Can the program counter on Intel CPUs can be read directly (that is without 'tricks') in kernel mode or some other mode?
I am having a problem running the CDC change capture job against some of my test databases.  The error message I'm getting is the following:     Executed as user: NT AUTHORITY\NETWORK SERVICE. Cannot execute as the database principal because the principal "dbo" does not exist, this type of principal cannot be impersonated, or you do not have permission. [SQLSTATE 42000] (Error 15517).   How can I fix this? Assigning Float Pointers in C What does this notation mean? $f(x) \equiv A$? If $\lim_{x\rightarrow\infty}f(x) = A$, prove that $f(x)\equiv A$.  Any help would be appreciated! I just don't even understand the question. I am a Indian citizen in the United States on a F-1 visa.  For the summer break, I am traveling (round-trip) from Chicago to New Delhi via Dusseldorf-Frankfurt by Lufthansa airlines. My onward Journey would be on July - 8 and return Journey on Aug - 11.  My layover will be of 1 hour 10 mins in Frankfurt and 3 hours in Dusseldorf.  I would like to know if I require Category A or Category B Visa. If not, what type of visa do I require for the Schengen visa for my transit. How I can apply for the same?  I tried to find slots in German consulate but all slots are full before my departure date. If I don't get the Schengen visa, I cannot travel and will loose all the fare (since my ticket is a non-refundable ticket). Is there any other way I can tackle this situation. Make window always on top? Some applications do not have the functionality like Task Manager's &quot;Always on top&quot; feature.  Is there a way around this? Nobody owner (99 99) in FTP caused by php functions? Completeness and Incompleteness I just had a case of a user who re-posted his question because his first question was closed as a duplicate. And, logically, I closed his re-post as a duplicate of his original, asking him to edit his original and explain why it's not a duplicate, so we can reopen it.  This process has worked like that for years now, but suddenly I realized that with the new message, question repetition is even encouraged:     This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.   Clearly, a new user who finds their questions closed will now be happy to just post their question again and again, until it's not a duplicate anymore, instead of just fixing their original post.  We need to be more explicit about this, and show this message to the OP of the question:     If those answers do not fully address your question, please edit your question and explain why it is not a duplicate.   The original message should still be visible to other users and visitors, as they can't fix that question, of course. I want to install Win Xp on my Ideapad Z 570 laptop but i always get blue screen with message with some drive related problem which asks me to run CHKDSK command. I tried with that but no luck. Is there any way i can install Win Xp with SP 2 ?  Edit: i searched across the sites and came to know there could be some Compatibility problems, and i could fix it by setting HDD mode to IDE; will it solve the problem? Why Do Glueballs Have Mass, When Individual Gluons Are Massless? How to pivot rows into columns MySQL Been looking to pivot rows (progress_check) into columns check 1, check 2 etc... No sum or totals required, just to display the results hopefully... Can anyone help, Thanks Ad Changing Posts Per Page and offset with pre_get_posts I have a filter using pre_get_posts to change the number of posts per page from 4 on the news landing page to 8 on all other pages (page 2, 3, etc). However I don't seem to have got the offset correct, or something, because my get_next_posts_page_link doesn't show a page 3, even though it does exist if I go to the url manually. The current offset is something I somehow managed to conjure up accidentally, I thought it worked as page 2 was correct but as I added more test posts, I realised it didn't work.  function page_2_posts_per_page_filter( $query ) {      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;      if ( !is_admin() &amp;&amp; $query-&gt;is_paged &amp;&amp; $query-&gt;is_main_query() ) {          $offset = 4 + (($paged - 2) * 8);         $query-&gt;set( 'offset', $offset );         $query-&gt;set( 'posts_per_page', 8 );      } else if (!is_admin() &amp;&amp; $query-&gt;is_main_query()) {          $query-&gt;set( 'posts_per_page', 4 );      }     return; } add_action( 'pre_get_posts', 'page_2_posts_per_page_filter', 1 );   EDIT: SOLUTION  function page_2_posts_per_page_filter( $query ) {      $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;     $offset = 4;      if ( !is_admin() &amp;&amp; $query-&gt;is_paged &amp;&amp; $query-&gt;is_main_query() ) {          $offset = (($paged - 1) * 8) - $offset;         $query-&gt;set( 'posts_per_page', 8 );         $query-&gt;set( 'offset', $offset );      } else if (!is_admin() &amp;&amp; $query-&gt;is_main_query()) {          $query-&gt;set( 'posts_per_page', 4 );      }     return; } add_action( 'pre_get_posts', 'page_2_posts_per_page_filter');  function found_offset( $found_posts, $query ) {      $offset = 4;      if( !is_admin() &amp;&amp; $query-&gt;is_main_query() ) {         $found_posts = $found_posts + $offset;     }     return $found_posts; } add_action( 'found_posts', 'found_offset', 10, 2 ); I recently obtained a Seagate Expansion 3TB external harddrive. I'm trying to copy over all of my stuff to prepare for reformatting and installing a new OS. A handful of my mp3s did not transfer when I was doing my music folder. I checked them after the fact and the ORIGINAL files became corrupted somehow. I am certain of at least a few that were not corrupted in anyway before doing this. Every now and then during my transfer I got  There was an error copying the file into /media/***/Seagate Expansion Drive. Error splicing file: Input/output error   Each of these files that I check after are corrupted at some point in the duration and will not play. Why did this happen and what can I do to fix it? Why is energy in a wave proportional to amplitude squared? I'm a mathematics student trying to grasp some basics about wave propagation. A sentence I find very often in introductive physics textbooks is the following:      In a wave, energy is proportional to amplitude squared.   This is something I would like to understand better in the case of mechanical (linear) waves.  The simplest model is the vibrating string of mass density $\mu$ and tension $T$: here an element of string of rest length $dx$ and vertical displacement $y(x, t)$ possesses a kinetic energy $\frac{1}{2}\mu dx \left( \frac{\partial y}{\partial t}\right)^2$ and a potential elastic energy $\frac{1}{2}T dx \left( \frac{\partial y}{\partial x}\right)^2$. So we have the total energy   $$dE=\frac{1}{2}\mu dx \left( \frac{\partial y}{\partial t}\right)^2+\frac{1}{2}T dx \left( \frac{\partial y}{\partial x}\right)^2,$$  which completely explains the sentence. Can we obtain a similar formula for higher-dimensional waves? How should I modify the above formula for a (simplified model of an) elastic membrane, for example? I would expect something like   $$dE=\text{some constant}\left(\frac{\partial z}{\partial t}\right)^2+\text{some other constant}\left\lvert\nabla z\right\rvert^2,$$  where $z=z(x, y, t)$ is the vertical displacement. Am I right? Regular expression: match start or whitespace I need a compact representation of an array of booleans, does Python have a builtin bitfield type or will I need to find an alternate solution? Weird large K symbol I want to create buffer polygon(with curved edges) from  points like this using ArcGIS for Desktop.   distance toward North from a point 5, toward South 1.5, toward west 1, toward East 2.   all this distance is attached as attribute in point in different fields. An equivalence relation is defined by three properties: reflexivity, symmetry and transitivity.  Doesn't symmetry and transitivity implies reflexivity? Consider the following argument.  For any $a$ and $b$, $a R b$ implies $b R a$ by symmetry. Using transitivity, we have $a R a$.  Source: Exercise 8.46, P195 of Mathematical Proofs, 2nd (not 3rd) ed. by Chartrand et al How is Cooper's age justified?