python add float numbers and keep largest decimal part
Is floating point math broken?
Using a non-centralized structure for tex files - similar to \graphicspath Speed $v$ of a wave on a tightrope "I have never said" versus "I never said" I have never said this.   I never said this.    Is the usage of have in the first sentence justified or grammatically correct?   What is the difference in meaning?   When should I use one form over the other? modulo version of the quadratic formula and Euler's criterion What do people who are using a pensieve look like? As far as I remember from the books, there's no description of what a person using a Pensieve looks like. When Harry is using the Pensieve, he describes it as if he were falling into it, but it's never stated whether his body really enters the Pensieve, because the experience is just told from his point of view.   Now let's say Dumbledore enters his office while Harry was using the Pensieve -- what would Dumbledore see? Is there an answer in the books/canon? `test` and `[` - different binaries, any difference? I noticed while answering another question that test and [ are different binaries, but the [ manpage pulls up test's. Besides the requirement for an ending ], is there any difference?  If not, why are they separate binaries instead of being symlinked? (They are also bash builtins, and bash doesn't show a difference either.) Can you provide a list of objects that needs to be disposed in SharePoint? What does my internet provider know about my online activities? What does my internet service provider know about my online activites in these cases?   plain server (www, ftp, whatever) connection and provider's DNS secured (e.g. TLS) server connection and provider's DNS plain server (www, ftp, whatever) connection and an non-provider non-logging DNS secured (e.g. TLS) server (www, ftp, whatever) connection and non-provider non-logging DNS   In case 4) does my provider know anything more about my online behaviour than "IP w.x.y.z was assigned to Foo Bar between connect-time and disconnect-time" (i.e. only the duration my router was connected)?  What traffic does need to go through the provider's infrastructure to make my connection work at all? hard self collision: make particles occupy space External arrows in tables How to achieve similar arrows as in the picture?    The main issue cause of arrow   a(2,1) -> a(1,3), a(3,1) -> a(1,4), etc. Or at least how to make them on top of the table, but to make it look readable.  \documentclass[border=10mm]{standalone} \usepackage{tikz} \usetikzlibrary{matrix}  \begin{document} \begin{tikzpicture}[&gt;=stealth] \matrix (A) [matrix of nodes,row sep=3mm,column sep=3mm,nodes in empty cells] {   $a_{11}$ &amp; $a_{12}$ &amp; $a_{13}$ &amp; $a_{14}$ &amp; $a_{15}$ &amp;  $\dots$ \\   $a_{21}$ &amp; $a_{22}$ &amp; $a_{23}$ &amp; $a_{24}$ &amp; $a_{25}$ &amp;          \\   $a_{31}$ &amp; $a_{32}$ &amp; $a_{33}$ &amp; $a_{34}$ &amp; $a_{35}$ &amp;          \\   $a_{41}$ &amp; $a_{42}$ &amp; $a_{43}$ &amp; $a_{44}$ &amp; $a_{45}$ &amp;          \\   $a_{51}$ &amp; $a_{52}$ &amp; $a_{53}$ &amp; $a_{54}$ &amp; $a_{55}$ &amp;          \\   $\vdots$ &amp;          &amp;          &amp;          &amp;          &amp; $\ddots$ \\ };  \begin{scope}[thick,black,-&gt;] \draw (A-1-1)--(A-1-2); \draw (A-1-2)--(A-2-2); \draw (A-2-2)--(A-2-1); %\draw (A-2-1)--(A-1-3); \draw (A-1-3)--(A-2-3); \draw (A-2-3)--(A-3-3); \draw (A-3-3)--(A-3-2); \draw (A-3-2)--(A-3-1); %\draw (A-3-1)--(A-1-4); % etc. \end{scope} \end{tikzpicture} \end{document} Why does my pilot light keep going out? My furnace pilot light keeps going out so I changed the thermocouple. Now the furnace will come on and heat up to the degree set on my thermostat, then the pilot light will go out and the furnace will not come back on.    Could the thermostat be bad and cause the pilot light to go out? No "waiting for review" for comment flags Let me explain using screenshot and Free Hand Red Circles and Arrows:        As comment flags are now fully showing in the summary, I would expect the same behavior by showing how many are still active. I am working on a BLDC sensorless motor. I need to detect BEMF Zero-cross event. My Motor is working on 24 Volt power.  Now I need to detect the back E.M.F. As refered in .  My MCU is working on 5V. And ADC range is 0 to 5V. I need to convert the BEMF feedback signal to ADC channed in this.  As we know voltage divider rule says:   In Figure I :-- Now signal (U) which I need to feed is applied at the middle of the two resistors R1 &amp; R7. So what is the value of voltage VU ?   In Figure II :-- Sum of U,V,W  is applied at the middle of the two resistors R11 &amp; R15. So what is the value of voltage VN ?  Also, what are the roles of capacitors C1 &amp; C4?  Please can someone explain the MATH behind this ? How do I remove the limit on PC keyboard button presses? Whenever I play a PC game with the directional keys, I can only press two buttons at a time.  For instance if I am playing a shooter like R-Type, I cannot hold down the fire button while moving diagonally at the same time.  The computer simply ignores the extra button press.  How do I remove this limit so I can shoot while moving diagonally?  This limitation seems to apply for every game.  I am running Windows 7 if it makes any difference.  I noticed the same problem back when I used Windows XP. I have heard that most spam filters use a reverse DNS lookup on the originating IP address of the sending SMTP server (or something like that) as part of the verification process.  I want to make sure my emails will pass this check.  How exactly can I verify that my emails are OK?  In researching it, I've noticed that if I look at the header of a valid email message coming from Gmail, I will see something like this:  Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185])         by mx.google.com with ESMTP id 10si2346996pxi.164.2009.07.22.22.26.19;         Wed, 22 Jul 2009 22:26:19 -0700 (PDT)   When I do an nslookup on 209.85.222.18, it responds with mail-pz0-f185.google.com, which is what I would expect.  If it responded with a different domain, then I assume that would indicate a problem and it would fail the check.  Is this what the reverse DNS lookup is all about or am I barking up the wrong tree? Prove that if $a^2 = a$ for all elements of the ring $R$, then $R$ has characteristic 2. Is the converse of the statement true?  Attempt:  by the definition of characteristic of a ring, the first statement implies that characteristic of the ring is $\leq 2$. If the ring is assumed to be non trivial ring then, characteristic is 2.  About the last statement can we construct a field of say 8 elements and show that there exists a an element of order $\neq 2$?  Is there a simpler example ? How do TTL NAND gates work? This is supposed to be a simple NAND gate. I understand how the output is 1 if one of the inputs is zero but if both inputs are 1 then the base of Q1 is supposed to be zero. This is what I don't understand. I know that Q2 and Q3 will be in cut off so the base of Q1 is floating. If that is true, how is it zero then?When A and B are open does current flow through Q2  Q3 via R1 to turn on Q1? Blank screen after installing nvidia restricted driver i am getting a weird error - white screen in the list of posts for a specific Custom post type (just for that one)   tried deactivating all the plugins tried checking for error (debugging = true)   Still nothing the page just doesnt echos anything... (nothing in source too)  I am talking about such a url in the admin:     Here is register_post_type part i am using:    function register_submodelcpt() {     $labels = array(         'name'                  =&gt; __('Sub Models', THEME_NAME),         'singular_name'         =&gt; __('Sub Models', THEME_NAME),         'add_new'               =&gt; __('New Model', THEME_NAME),         'add_new_item'          =&gt; __('Add new Model', THEME_NAME),         'edit_item'             =&gt; __('Edit Model', THEME_NAME),         'new_item'              =&gt; __('New Model', THEME_NAME),         'all_items'             =&gt; __('All Sub Models', THEME_NAME),         'view_item'             =&gt; __('Watch Model', THEME_NAME),         'search_items'          =&gt; __('Search Models', THEME_NAME),         'not_found'             =&gt;  __('No Models found', THEME_NAME),         'not_found_in_trash'    =&gt; __('No Models found in trash', THEME_NAME),          'parent_item_colon'     =&gt; '',         'menu_name'             =&gt; __('Sub Models', THEME_NAME),      );      $args = array(         'labels'                =&gt; $labels,         'public'                =&gt; true,         'publicly_queryable'    =&gt; true,         'show_ui'               =&gt; true,          'show_in_menu'          =&gt; true,          'query_var'             =&gt; true,         'rewrite'               =&gt; array('slug' =&gt; 'submodels'),         'capability_type'       =&gt; 'post',         'has_archive'           =&gt; true,          'hierarchical'          =&gt; true,         'menu_position'         =&gt; 5,         'menu_icon'             =&gt; get_stylesheet_directory_uri().'/images/cpt/subcars.png',                     'supports'              =&gt; array('title', 'thumbnail', 'revisions', 'page-attributes')     );      register_post_type('submodelscpt',$args); } add_action('init', 'register_submodelcpt');   Did anyone encounter such an issuse? can you think of a reason this might happen?   Another weird thing when i change this:    To this:     The posts list loads correctly... include svg images with the svg package