Can Bruce Banner Have Sex Without Becoming the Hulk?

In the marvel movies, they reference how Bruce Banner measures his heart rate and that if it gets too high, that he becomes the Hulk. In the avenger movie, he states how his trick is he is "always angry".   My original understanding was that Bruce becomes the Hulk when he gets angry. But if he is always angry, then this isn't the case, and if its related to just his heart rate, then I'm curious if the Hulk can have sex, as heart rate increases when you approach climax.  Can Bruce have sex without becoming the Hulk?  Clarification: This is not a question if they can procreate. That is answered in other links, where he has a kid with Shehulk, and an alien chick. They also have a 3rd kid that was created from his DNA and a 4th which is just a rumor. Based on these facts, the only two that are confirmed through traditional methods (sex), where not with ordinary people, which means he may turn into the hulk upon orgasm. The question is can he have sex without becoming the hulk. Him having sex as the hulk is one thing, but him having sex to completion as Bruce is another.


The question is:  If $$A=\frac{1}{1.2}+\frac{1}{2.3}+\frac{1}{3.4}+\cdots+\frac{1}{1997.1998}$$ and  $$B=\frac{1}{1000.1998}+\frac{1}{1001.1997}+\cdots+\frac{1}{1998.1000}$$ then what is the value of $\frac{A}{B}$?   I could figure out that $A=\frac{1997}{1998}$, but I have no idea how to proceed with $B$. Could somebody help?  Thanks for any help :-)


Preventing entries in brackets from going over margins

How can I prevent the following text from exceeding the margins of my document?  \documentclass{article}  \begin{document}  We first left the DC loop open and inputted AC at frequencies of $\{50, 51, 67, 95, 102, 127, 147, 150\}$ Hz into the AC loop. Text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text.  \end{document}   Output:


How to properly export scene to 3ds Max?

How can I export 3D geometry object/scene, camera and textures to a .3DS format? I tried importing the file I created into 3DsMax but it didn't work properly.


Let $a$, $b$ and $c$ be positive numbers. Prove that:   $$\frac{a^3}{13a^2+5b^2}+\frac{b^3}{13b^2+5c^2}+\frac{c^3}{13c^2+5a^2}\geq\frac{a+b+c}{18}$$   This inequality is strengthening of the following Vasile Cirtoaje's one, which he  created in 2005.     Let $a$, $b$ and $c$ be positive numbers. Prove that:   $$\frac{a^3}{2a^2+b^2}+\frac{b^3}{2b^2+c^2}+\frac{c^3}{2c^2+a^2}\geq\frac{a+b+c}{3}.$$   My proof of this inequality you can see here:   But this way does not help for the starting inequality.  A big problem we have around the point $(a,b,c)=(0.785, 1.25, 1.861)$ because the difference between the LHS and the RHS in this point is  $0.0000158...$.  I tried also to use Cauchy-Schwarz, but without success.  Also, I think the BW (see here  I tryed!) does not help.


Balancedness - is this a valid word in American English?

I am writing a scientific manuscript, where I wrote the following sentence:  The balancedness of a chemical reaction implies that the stoichiometric coefficients satisfy the law of mass conservation.  Is "balanced" a real American English word? If no, what are the ways to avoid it?


Why svg icons takes so many space on disk?

I have an icon:  Windows says that the size of the file is 575 byte, while size on disk is 4 096 byte which is about 7 times more. Can somebody explain why so?


Create a bootable USB from iso file in Linux

Do you want to write your favorite Linux-iso to a USB-stick?  Are you confused by all the forum posts on the internet?  Below is the quick and mostly fail safe way to do it.


Can a UK citizen travel to a country in Schengen without a passport?

Under what circumstances can a UK citizen travel to a country in the Schengen area without a passport?  My understanding is that because the UK does not have national ID cards, it is not possible, but work colleagues assert that a driving license would be sufficient.  I have experience of re-entering the UK on the Eurostar without a passport, but suspect that it would not be possible to leave.


Text is spilling over the margin with standard margin settings

I have default margin settings, but certain text is spilling over the margin boundary. It happens when the final word on the line includes a hyphen. For example, if eye-movement happens to be at the end of the line, this can break the margin boundary.  It doesn't happen very often, but frequently enough to be a eyesore.  Thanks for any tips.


Compare 1st column of the 1st file and 2nd column of the 2nd file and get the the output as following


object.ray_cast() is not behaving as I would expect in Blender 2.77. I understand that it expects object local coordinates, but this problem happens when the object is not translated, rotated, or scaled.  If I edit the shape of the cube mesh without moving the cube, the results of ray_cast() seem plain wrong.  Steps to reproduce   Create a cube at 0,0,0 Move a vertex of the cube from 1,1,1 to 5,5,5 Create an empty called "src" at 2,2,2 Create an empty called "dst" at 2,2,6   Run this python  cb = bpy.data.objects['Cube'] src = bpy.data.objects['src'] dst = bpy.data.objects['dst'] hit, loc, norm, face = cb.ray_cast(src.location, dst.location) bpy.ops.object.empty_add(location = loc)   This is the result on my system. The new Empty created at the interesection point is selected:    The source and the destination are both at x = 2 and y = 2. The cube has a surface at x = 2 and y = 2. So why on earth is the intersection point at x = 2.22222, y = 2.22222?


DP-1 connected primary 1440x900+1920+0 (normal left inverted right x axis y axis) 160mm x 90mm    1440x900      59.89*+    1920x1080     60.05    60.00    50.04      1280x720      60.00    59.94    50.00      1024x768      60.00      800x600       60.32      720x576       50.00      720x480       59.94      640x480       59.94    This is the output I get from xrandr -q  $ lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1c82 (rev a1)   All of the resolutions work (are bad looking though), but the only one that doesn't work (the one I want) does not. All I get is No signal from my monitor when I do this:  xrandr --output DP-1 --mode 1440x900   Additional info:  $ dpkg -l | grep nvidia ii  nvidia-370                                 370.28-0ubuntu0~gpu16.04.2                    amd64        NVIDIA binary driver - version 370.28 ii  nvidia-opencl-icd-370                      370.28-0ubuntu0~gpu16.04.2                    amd64        NVIDIA OpenCL ICD ii  nvidia-prime                               0.8.2                                         amd64        Tools to enable NVIDIA's Prime ii  nvidia-settings                            370.28-0ubuntu0~gpu16.04.1                    amd64        Tool for configuring the NVIDIA graphics driver   Model: Samsung LE19R86BD  $ cvt 1440 900 # 1440x900 59.89 Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz Modeline "1440x900_60.00"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync $ xrandr --newmode "1440x900_59.89"  106.50  1440 1528 1672 1904  900 903 909 934 -hsync +vsync $ xrandr --addmode DP-1 "1440x900_59.89"   X Error of failed request:  BadMatch (invalid parameter attributes)   Major opcode of failed request:  140 (RANDR)   Minor opcode of failed request:  18 (RRAddOutputMode)   Serial number of failed request:  37   Current serial number in output stream:  38


An acquaintance figured out a way to get me banned from Stack Exchange Sites

I use English Language Learners forums a lot. In fact, I was in the top 0.48% of reputation earners, but just a couple days ago, I was sitting in an English Lecture, when I noticed that a little of my reputation (about 40 pts) was gone. Almost immediately afterwards, I received a message from the moderators of the site saying that I had been banned for 30 days for "sock puppeting". Turns out that they thought I had used another account to upvote a number of my own posts. I contacted the moderators regarding this issue--obviously I had no reason to do this, surely they'd repeal the ban--but this action was to no avail. They didn't even respond. The next day, I come into class and my classmate was joking about how he was able to successfully get my account banned on the English Language Learning site. Here's the problem:   Same IP Address because it's the school Wi-Fi. Said student can continue to create accounts and upvote my posts until I become suspended. There's no way for me to prove that it's not me upvoting my posts. I can't post or participate if I am continuously banned. I upvoted some of this students posts, because I know him and found his answers to be helpful (one of his answers was also accepted by another user, putting his reputation over the top)   How should I go about this without getting suspended anymore, and being able to keep my account where I've earned a decent amount of reputation? I'm asking about someone intentionally trying to get me suspended.


When installing a package with pacman, I am seeing:  error: failed to commit transaction (conflicting files) station: /usr/bin/station exists in filesystem   How do I tell pacman to install the package anyway, overwriting the existing file(s)?


So, I tried to search it but what does drw-r--r-- mean in Ubuntu?


Is $\sum_{p\text{ is a prime}}\frac{1}{p^{2}}$ known to be irrational/transcendental? The sum exists, because $\sum_{p\text{ is a prime}}\frac{1}{p^{2}}\leq\sum_{n=1}^{\infty}\frac{1}{n^{2}}=\frac{\pi^{2}}{6}$.


Checking if user is logged in or not using sessions: java servlet

I have two type of users: admin and user. Here's what I am doing in Login servlet  protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {     PrintWriter out = response.getWriter();     String user=request.getParameter("user");     String pass=request.getParameter("pass");      HttpSession session=request.getSession();       String name="user",type;     try     {         Class.forName("com.mysql.jdbc.Driver");         Connection con=DriverManager.getConnection(url,user,pass);          PreparedStatement ps=con.prepareStatement("select utype from users where email=? and pass=?");          ps.setString(1, user);         ps.setString(2, pass);          ResultSet rs=ps.executeQuery();          if(rs.next())          {             type=rs.getString(1);             if(type.equals("a"))             {                 session.setAttribute("loggedIn", "admin");                 RequestDispatcher rd=request.getRequestDispatcher("admin.jsp");                 rd.forward(request, response);             }             else             {                 session.setAttribute("loggedIn", "user");                 RequestDispatcher rd=request.getRequestDispatcher("home.jsp");                 rd.include(request, response);             }           }         else         {             request.setAttribute("message","Username or password error!");                 RequestDispatcher rd=request.getRequestDispatcher("login.jsp");             rd.include(request, response);         }     }     catch(Exception e)     {         e.printStackTrace();     }  }   And on account.jsp page I am checking is user is logged in or not.Here's the code:  <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>  <%@ include file="headpl.jsp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/html4/loose.dtd"> <html>     <head>         <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">         <script>               //have some code here         </script>     </head>     <body>      <%         if(session.getAttribute("loggedIn").equals("admin"))             {                 response.sendRedirect("admin.jsp");           }else            if(!session.getAttribute("loggedIn").equals("user"))         {             response.sendRedirect("index.jsp");          }      %>      //some html code here   </body>   </html>   The code was running fine before I added the session checks. Now, when the admin is logged in and types the URL of the account page, he is redirected to admin.jsp (that's fine), when user is logged in he is allowed t go to account page  , But when no one is logged in I get an exception:    exception  org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) root cause  java.lang.NullPointerException org.apache.jsp.account_jsp._jspService(org.apache.jsp.account_jsp:128) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.11 logs.   I think that the NullPointerException is due to the fact that no session variable exists since No one is logged in. I saw several answers on SO but none of them worked for me.  Any suggestions?


How to vertically shift an arm of a cascode current mirror to make two different gate connections

I need to make a connection like the red one without making short circuit with  the blue connection in the following circuit.     In the answered question ,both P1 and P2 are already shifted at x-axis "cascaded", but in my case the two mosfets M1 and M4 are y-axis shifted "cascoded".   \begin{circuitikz} \ctikzset{tripoles/mos style/arrows} \draw (0,0)     node[nmos] (nmos2) {}  node[right] at (nmos2) {M2} (nmos2.G) node[nmos, xscale=-1, anchor=G] (nmos1) {} node[left] at (nmos1)          {M1}  %below left,yshift=0.3cm (nmos1.S) -- (nmos2.S) node[sground] {} (nmos2.D) node[nmos, anchor=S] (nmos3) {} node[right] at (nmos3) {M3} (nmos3.G) node[nmos, xscale=-1, anchor=G] (nmos4) {} node[left] at (nmos4)           {M4}  (nmos3.D) to[short] ++(0,2) node[inputarrow,rotate=270] {} node [right,]{$i_{OUT}$} to[short] ++(0,0.5) (nmos4.D) to[R,l=$R_1$,n=R1] ++(0,2)  to[short] ++(0,0.5) node[inputarrow,rotate=270] {} node [left,]{$i_{IN}$} to[short] ++(0,0.5)  (nmos4.D) node[circ]    {} -| (nmos2.G) node[circ] {} (R1) ++(0,1) node[circ] {} -| (nmos3.G) node[circ] {}  ; \end{circuitikz}


Are One Piece movies necessary to watch to understand what happens in the anime/manga?

I am up-to-date on every One Piece episode, but I have never watched any of the animated movies.  Are they necessary to watch to understand what happens in the anime/manga?


Is clearing pending close votes with diamond power / gold tag badge power considered abuse?

Recently, I saw a moderator on Android Enthusiasts telling folks to stop voting to close a question. The mod was clever to find out that the question is actually on topic, and I added that the title was attracting close votes. I then  if he could clear the votes, by closing it and immediately reopening it:     Can't you clear the CVs? Even if not, you can close and the immediately reopen it (but that'd be kind of abuse to the system).   He then responded that it's indeed an abuse of the system.  Later, I saw :     Not a duplicate at all, used hammer to clear pending close votes. – Shadow Wizard   Which doesn't conform with what the Android Enthusiasts mod told me.  So, since moderators are supposed to he problem solvers, as well final decision makers when there's controversy, if one with a gold tag badge was allowed to do so, a ♦ moderator should definitely be allowed to do the same.  Is what the mod told me right? Or is it actually allowed to use one's binding close power to clear pending close votes?


Rearranging a formula containing a non-square matrix

Given $4 \times 2$ matrix $V$ and $4 \times 1$ matrix $K$, solve the linear system $V A = K$ for $A$.   If V was a square matrix I could just multiply by the inverse, but I cannot since it is not. Apparently, the solution is of the form  $$A=(V'*V)\(V' K)$$  where $V'$ is the transpose of $V$.  What is this called? The algebra seems to be out of nowhere. I know that the transpose of $V$ theoretically is cancelled out, but it seems like dividing which is not allowed in matrix algebra.


group capturing multiple times behind stable prefix

Is it possible to create a regex that retrieves all capturing groups matching that type of html input:  word1 word2 word3 prefix: word4 word5 word6 word7   That matches  word4 word5   I have tried with Lookahead and Lookbehind Zero-Length Assertions but with no success.  Here is my try    But I do know how to make groups repeating on every next occurence following my 'prefix: '  Thanks a lot,  Julien


Getting polygon boundaries of City in JSON from Google Maps API?

When searching Google Maps for a city, the city's administrative boundary is displayed.    Is there a way to get the polygon boundaries of City in a JSON format using google maps api?


Why we add _ (underscore) before variable name?

I know this can be silly question but I actually don't know that why we add _ (underscore) before variable name in java while Variable declaration.  I have tried on google but I actually can't find exact answer of it. So anyone tell me is it just a type of declaration as user want or is there any proper mechanism and reason to do so.  Thank You In Advance.


I'm currently reviewing ideals and I'm struggling specifically on how to express ideals of matrix rings. For instance, what would be the ideals of $M_2(\mathbb{Z}_6)$? I know that the ideals of $\mathbb{Z}_6$ are $(0),(1) = (5),(2) = (4)$, and $(3)$ and in general, if $I$ is an ideal of $R$ then $M_n(I)$ is an ideal of $M_n(R)$. Would it be valid to express the ideals of $M_2(\mathbb{Z}_6)$ as $M_2((0))$, $M_2((1))$, and so on?


Test for significance with data representing the whole population?

Is it even possible to use a statistical test in this case? Specifically, I'm analysing cities in two different regions. The aim is to determine if there is a statistically significant difference between the amount of cities that have UK names in each region.   The data look like this:                   region1    region2 UK_named_cities  553        3255 total_cities     9155       55327   The percentages of cities with UK names:  region 1: 6.07% region 2: 5.88%   The difference is 0.19%.   My first thought was an $χ2$ test, which yielded this result:  Test Statistic (X-squared): 0.2840672425979418 p-value: 0.5940477093071286 Degrees of Freedom: 1   I'm not sure this is right though. I don't have expected and observed counts as such. And a p-value of 0.59 doesn't seem that intuitive when there is a difference (albeit a very small one). I can't see how a t-test or z-test or reporting CI's would apply either.  Fundamentally, I'm confused. Can I only report that there is indeed a difference, but not test it for significance?


Punctuating questions containing questions

For example,  ‘Did you just ask, “Why me?”?’, Rita Queried  I know using two question marks is not right, but is this sentence right? Because both are questions.


I have two Apple IDs and would like to close one and move the apps from one to the other. Is this possible and how?


I can't change the tags for a question if the question fails validation

I tried to change the tags on   When I tried to save my change, I was chastised that the question contained a jsfiddle with no code. Since validation failed, I couldn't save my change.  I shouldn't be held responsible for someone else's problematic question if all I'm doing is changing a tag.


Inferring the conservation of angular momentum from linear momentum

Working in 3-dimensions, if we are given a Lagrangian containing $N$ particles.  Say, through Noether's theorem, we know that the sum of the linear momentum of all $N$ particles in each direction are constant.  We also know that the sum of the angular momentum in each direction are constant.  My question is, if I know that linear momentum is conserved, can I actually automatically say that angular momentum is also conserved?


I have the following shell script code that is not running at boot time.   The boot.sh file is located in /home/icrs/boot.sh:    #!/bin/bash cd /home/icrs/manipulator_proj source devel/setup.bash  xterm -hold -e "roscore" & //xterm -hold -e "cd ~/manipulator_proj/ && ls && catkin_make"   //xterm -hold -e "cd ~/manipulator_proj/ && source devel/setup.bash" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control  dynamixel_control" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control ik" xterm -hold -e "cd ~/manipulator_proj/ && rosrun dynamixel_control server_node"   In terminal it's running fine and excuting, but at boot time it's not running. I placed this file in /etc/rc.local:  #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing.  /home/icrs/boot.sh: exit 0   Kindly suggest us any solution for this issue.


Possible Duplicate:             Is the use of "who", as applied to non-human animals, ever considered grammatically correct? Would it be correct to refer to a cat as "the same cat who I saw yesterday" instead of "the cat that I saw yesterday", or is this considered incorrect?


Please add Right To Left text support in Stack Exchange

You know, some of us read right to left...  Certain sites like  and  have an obvious need for this, as Arabic and Hebrew are Right To Left (RTL) languages. Many answers on those sites cite the Torah and the Quran respectively. Directly quoting these sources properly requires RTL text.


Is storing rice in original sealed bag a good idea?

I have a 25lbs bag of rice in its original sealed plastic bag. Do I have to open the bag when I store it in a plastic sealed container?


How to remove the Day field from a Date?

I want to remove the day field from a Date dropdown of a webform. How to do that? I tried with hook_form_alter() without success. Any suggestions? Thanks


When I type any command and after that it asks for password but I can't type that. For example in terminal I type sudo apt-get update and after pressing enter, it asks for password. I type password but nothing appears in the terminal. Whatever i type it don't get typed in case of password. And for each command it asks for password. Any Solution for this?


inconsistent variable values in C# multithreading

I am trying to learn how to use multithreading in C#. I am working from , which explains using lambda expressions to pass arguments. I built a toy program to test this, but am confused by the output.  Here is my code:  using System; using System.Threading;  namespace MultithreadingApplication {    class ThreadCreationProgram    {       public static void CallToChildThread(int id)       {          Console.WriteLine(string.Format("Child thread {0} starts", id));       }        static void Main(string[] args)       {         for (int i=0; i<10; i++)         {             Console.WriteLine(string.Format("i: {0}", i));             Thread childThread = new Thread( () => CallToChildThread (i) );              childThread.Start();         }       }    } }   And here is the output:  i: 0 i: 1 Child thread 1 starts i: 2 Child thread 2 starts i: 3 Child thread 3 starts i: 4 Child thread 4 starts Child thread 5 starts i: 5 i: 6 Child thread 6 starts i: 7 i: 8 Child thread 7 starts i: 9 Child thread 9 starts Child thread 8 starts Child thread 10 starts   The Child function only prints out the value of the id it is passed. I expected these to range from 0 to 9, but CallToChildThread is instead showing 1 to 10. Can someone please explain why?


order evaluation pre and post iterator increment

I am sorry. I should change my question. I have the following code std::vector<int> v = {10, 20, 30}; auto it = v.begin();  std::cout << *it++ << std::endl;    // 1. no parenthesis  std::cout << *(it++) << std::endl;  // 2. with parenthesis  it++;                               // 3. post-increment first std::cout << *it << std::endl;   std::cout << *(it + 1) << std::endl;// 4. increment index  What is the difference between the above 4 statements? Is the parenthesis matter in post increment? All outputs are the same as my expectations except 2(with parenthesis).


Why are time dilation and length contraction needed to fix time?

In many textbooks and online answers I have heard people go on about how time dilation accounts for the gap of time experienced between two observers. However, they continue that in reality this is not enough and we must have length contraction as well to truly close the gap.   From an intuitive perspective, can't time just slow down a lot and then this can cover the gap in time all by itself? Why must there also be length contraction to help cover the gap? Can't time just slow down more? I would really like to understand this on both the intuitive and mathematical level.


When should spaces after full stop be escaped?

Athough discussion on that question is  (), it seems that larger spaces after the end of a sentence is preferable in English. By default, LaTeX puts wider spaces after a period (full stop).  I took the habit of escaping spaces (i.e., writing i.e.\, or to make it more clear, i.e.\␣) after    Latin locutions, as   etc. cf.  Mathematical expressions, as    s.t. (such that) w.r.t. (with respect to) resp. (respectively)    However, according to , which quotes Chapter 14 of the Texbook, and according to any bbl file, spaces after names initial should not be escaped. That is, one write  Donald~E. Knuth   and not  Donald~E.\ Knuth   I'm confused: shouldn't that space be escaped as well?


Add a new mesh object while also specifying its vertices count during creation (in 2.8 and later)--yet how to edit that same vertex count afterward?

For example: Object Mode!Layout!Add!Mesh!Cylinder.  Then, in lower left of the viewport, the dropdown Add Cylinder!Vertices is where you can change the number of vertices on the curve that comprises the cylinder before the creation of the cylinder is finalized. But once the cylinder (or other curved object) is added, where is it possible to come back later and change its number of vertices?


How do I record a screen cap video of the iPad?

I'm looking for a method to record the video without actually filming the device. Does such a method exist?


Are there any issues with using credit cards in Germany?

On my last trip to Germany my credit cards (chip-based Visa and MasterCard) were declined more than usual. I've been there like 10 times and haven't noticed this before but on this trip train ticket machines refused to service them, small shops didn't accept them and even a huge consumer electronics network store Mediamarkt said "EC cards only". (Whatever "EC card" is)  Has anything changed in regard to credit cards in Germany in recent years or was I just unlucky this time? And what's the root of this problem? As far as I understand these chip-based credit cards technically are not that different (if at all) from debit/atm cards.


Construct a monotone function which has countably many discontinuities

I read in a textbook, which had seemed to have other dubious errors, that one may construct a monotone function with discontinuities at every point in a countable set $C \subset [a,b]$ by enumerating the points as $c_1, c_2, \dots$ and defining $f(x) = \sum_{c_n < x}2^{-n}$. However, if seems that if we let $[a,b] = [0,1], C = \mathbb{Q} \cap [0,1]$, then $f(x)$ is constant $1$ everywhere except 0, an apparent counterexample.  So my question is: how does one construct a monotonic function which has discontinuities precisely on a countable set $C$? Further, are there any relatively easy-to-visualize constructions?


No bootable devices ubuntu 14.04 dual boot with win7

I am having dual boot ubuntu 14.04 and Win7.   I found that one of my drive in my laptop had ard 200gb with Windows for other erp applications which i was not using so i opened gparted in live usb and deleted that partition thinking i will use that free space for my ubuntu 14.04 which was running out of space. I also unswaped one ubuntu partition before gpart deletion of that.  I got that 200GB as unallocated but thought will increase /home later so came out. When i rebooted my system i lost my grub. I could see hd0,msdos5 as my ext2 bootable drive but when i entered insmod normal then it said no such file.  Tried several forums and used fixboot in bootrec.This created a new problem that i am now getting error No bootable devices --strike F1 to retry boot , F2 for set up etc. Through F2 i  moved my HDD to top but no result.   I am having live ubuntu 14.04 to boot and would like to move ahead with that to recover grub (not grub2)/bootable device and use my ubuntu and win7 per choice.   Please suggest. shaukatkhan


Can I return a variable inside a function for more than one time?

I have 2 functions fun_1 and fun_2 fun_1 → loops over fun_2 and stores the output of it in a variable named X. I want the return value of fun_1 to be the value of each iteration of the loop, so the return value I need is a tuple of 5 values, each value for X in one of the iteration instead of the value of only the last iteration. Note:fun_1 and fun_2 are just examples for functions just to demonstrate the idea and understand it so that I can apply it to complex function. def fun_1():     N = 0     while N <= 5:         X = fun_2()         N = N+1     return(X)


Conjugation: Do we cite authors or papers?

When referencing to another work in a scientific paper, do we cite the paper or its author(s)?  This question is intended to clarify the conjugation of the verb that follows the reference -- especially in these cases:   One author, two papers:     Jane Doe (2015a, 2015b) list-s the very specific conditions under which...   -> lists (singular: referencing to Jane Doe) or list (plural: referencing to both papers) Several authors, one paper:     John Doe, et al. (2015) claim-s this and that.   -> claim (plural: referencing to the multiple authors of the paper) or claims (singular: referencing to the single paper).


Friends  I want to split the one string after some specific symbol in java script(JS) this this was dynamic come anything but i want to separate it with = sign   Like  var string = "Hello = World" i want to split it using = sign  like   string[0] = Hello; string[1] = World;   Please Give me a Solution.


Hi there everyone how can I detect if the user input has just empty spaces?  Detect this:  input = ' '; input = '          '; etc...   DO NOT detect this:  input 'hi there';   I just want to detect if there is a space in the input and that's it?    Here is what i have tried:  function whitespaceDetect(s) {   return /\s/g.test(s); }  if(whitespaceDetect(document.getElementById("name").value)) {     alert('error!'); }   but this comes up with an error if the name is "john doe";  What way is the fastest to process? How can i achieve this with or without jquery?


I have the following question :  Proof if $I+AB$ invertible then $I+BA$ invertible and $(I+BA)^{-1}=I-B(I+AB)^{-1}A$  I managed to proof that $I+BA$ invertible  My proof :  We know that $AB$ and $BA$ has the same eigenvalues, and Since $I+AB$ invertible $-1$ is not an eigenvalue for $I+AB$ since if $-1$ is an eigenvalue then $I+AB$ is singular which is a contradiction. and since $AB$ and $BA$ has the same eigenvalues then $-1$ is also not an eigenvalue for $I+BA$ therefore $I+BA$ is also invertible.  But how do I show that $(I+BA)^{-1}=I-B(I+AB)^{-1}A$  I tried to "play" with the equations to reach one end to other end meaning that $(I+BA)^{-1}=...=...=...=I-B(I+AB)^{-1}A$  Or to show that $ I=(I+BA)^{-1}(I-B(I+AB)^{-1}A)$  But wasn't successful.  Any ideas?  Thank you!


How to grant only certain roles permissons over certain field?

I have a content type with a number of fields. But one of the fields in the edit form must be seen by administer and people with "Reviewer" role. How can i do it?


How to center image inside a div, using CSS?

Here's my HTML:

   I want to make it centered vertically and horizontally. The image is only centered horizontally, as shown on the screenshot below:   My CSS looks like this:  .overlay {    background: #e9e9e9;    display: none;    position: absolute;    top: 0;    right: 0;    bottom: 0;    left: 0;    opacity: .5; }  #loading {    text-align: center; }  #loading img {    display: table-cell;    margin: 0 auto; }   What should I do to make it centered vertically? Thanks in advance.


If $a$ and $b$ are prime to each other and $n$ is prime then$\frac{a^n+b^n}{a+b}$ and $a+b$ have no common factor.

Question is:     If $a$ and $b$ are prime to each other and $n$ is prime then prove that $\frac{a^n+b^n}{a+b}$ and   $a+b$ have no common factor unless $a+b$ is a multiple of $n$.   This is what I thought so far:  $a^n$ is also prime to $b^n$ because of the theorem (If $a$ is prime to $b$ then $a^n$ is also prime to $b^n$), Also $a^n$ and $b^n$ is a divisor of $(a+b)$ therefore by theorem (If $a$ is prime to $b$, and each of these numbers is a divisors of $N$, then $ab$ is a divisor of $N$) $a^nb^n$ is a divisor of $(a+b)$.  Thereafter no idea, How should I proceed further if I'm thinking in a right way and If not, How should I prove this?  Source: Higher Algebra by Barnard and Child


Whose job is to check if the passenger has a valid visa to the destination he is travelling to?

Is it the airport security at the country you flying from? I highly doubt it because I have been to countries where it's so corrupted that you buy the airport officials for the price of a dinner.   Is it the aircrew' responsibility? Again I don't think they care much - unless there is severe punishments - in corrupted third world countries.   I have been personally in a situation when an officer at a certain airport insisted on examining my British passport before he allowed me to move to the gate because I refused to slip him a $100 note. I was travelling to the UK yet I have another passport which is valid and it is issued by the country I was flying from, which means he had no reason whatsoever - nor I think he cared - to examine my British passport to check if it's valid.  Edit to summarize it, I want to expose as little as possible of information about my dual nationality. For that I need to know whom I am obligated to show my passport(s)


Lenovo Legion Y720 laptop Keyboard backlight

I just moved from Windows to Ubuntu, but I cannot get the keyboard backlight to work at all. On Windows there was a specific program for controlling the backlight. I have searched for days now without luck. Anyone got a solution?  I am using Ubuntu 18.04


I am kind of new to ubuntu, and during the installation of it I made the mistake of assigning little space to the root partition (/), but a huge one to the home (/home). I thought that it was going to be as easy as in Windows to extend the space of one partition, sike!, it is not.  Is there any way I could increase my root partition (/) with the all the unallocated space I freeded ? Any tutorial or so to follow ?


I am trying to create a function template containing a QList iterator :  template <typename T> void funcTemplate() {     QList<T>::ConstIterator it; }   I get:     In function 'void funcTemplate()': error: expected ';' before 'it'   I tried lots of things but I can't make it compile. It is really strange because I can create a QList without problems:  template <typename T> void funcTemplate() {     QList<T> list; }   Does anybody has an idea?  Thanks!


Remove windows XP after installing Ubuntu

Possible Duplicate:          OK, I am kind of illiterate when it comes to computers.  I have a Gateway 6018GZ laptop which I loaded Ubuntu 11.10 on....It has 2 partitions; one has windows xp and the other ubuntu-how can I delete windows xp from it completely?


If Harry Potter went to Lord Voldemort AFTER Nagini had been killed, would he have survived Voldemort's killing curse?

So Harry went to Voldemort in the forest and let Voldemort kill him (thus killing the piece of Voldemort's soul within Harry). If this had taken place AFTER Nagini had been killed, would Harry have been able to come back from that?  Dumbledore says Voldemort tied his life to Harry's when he took Lily's blood into himself. If all of Voldemort's other horcruxes had been destroyed already, would both Harry and Voldemort have been killed at this time?  Thanks!


Let $M_n(\mathbb{C})$ denote the vector space over $\mathbb{C}$ of all $n\times n$ complex matrices. Prove that if $M$ is a complex $n\times n$ matrix then $C(M)=\{A\in M_n(\mathbb{C}) \mid AM=MA\}$ is a subspace of dimension at least $n$.   My Try:  I proved that $C(M)$ is a subspace. But how can I show that it is of dimension at least $n$. No idea how to do it. I found similar questions posted in MSE but could not find a clear answer. So, please do not mark this as duplicate.  Can somebody please help me how to find this?   EDIT: Non of the given answers were clear to me. I would appreciate if somebody check my try below:  If $J$ is a Jordan Canonical form of $A$, then they are similar. Similar matrices have same rank. $J$ has dimension at least $n$. So does $A$. Am I correct?


My son has an impression tablet 10 and has forgot the lock pattern. How can we reset it without knowing the code?


Change ext4 to NTFS for installing Windows 7

I have a new installation of Ubuntu Mate and I would like to go back to Windows. I'm aware I need to convert it to NTFS and I have tried to make Disks work but it would not allow me to change/shrink my hard drive.


How to use wc, grep and ls to list all files that are at least 10,000,000 bytes in a directory?

Now I find that wc -c could show the size of file, then how to select them and list them? It should be a single pipeline of commands.


"We are committed to continually investing in ourselves" or "We are committed to continually invest in ourselves"?

Which is correct? Also why? For some reason the continually is throwing me off here. Thanks.


Prevent from starting a new page between list of figures and tables

I used the following code:  \listoffigures \listoftables   However, for some reason it automatically starts a new page in between. I'm using \documentclass{report}. Before, I used document class article and it didn't happen, but I need to use report. Does anybody know how to get the list of figures and tables on the same page?  Thanks in advance!


What are the left and right ideals of matrix ring? How about the two sided ideals?


Select distinct values of two columns as single

For starters: yes, I've seen there are lots of questions on combining two/multiple columns - but so far I neither found the answer to my question nor something to get me started trying further (which I did).    I have: a table consisting of two INT fields. I want: a single column holding the distinct values of both fields.  Examle table:  | a | b | |---|---| | 1 | 2 | | 1 | 3 | | 1 | 7 | | 2 | 3 | | 3 | 5 | | 5 | 7 |   My desired result would in that case be:  | 1 | | 2 | | 3 | | 5 | | 7 |   Can this be done with a single query? What would that look like?  // EDIT: some side info (which I think is irrelevant, however, I don't want to hide it): b is always greater than a.


Order of resolution of creatures abilities triggered by combat damage

If multiple creatures that have an ability that gets triggered when the creature deals damage to an opponent, in what order should those abilities be resolved?  For example, if I attack with an  and a  and both are not blocked, should my opponent discard a card at random and then choose and discard one, or viceversa?  If my opponent has 3 cards in hand, 2 of which are bad and one is good, if he discards randomly first, he has a probability of 1/3 to discard the good card, and if he chooses first he has a probability of 1/2 to discard the good card, so I think that in this case the order does matter...  Maybe I'm just overthinking :)


What follows if we fail to reject the null hypothesis?

What conclusions can we draw if $p>\alpha$? Does not rejecting the $H_0$ mean anything?


Idiom for doing something that has already been done before

I have the distinct perception that there is an idiom similar to such a meaning. I just can't remember it. An example to clarify:  John writes a program to solve something. Bob writes another program (probably unaware of John's) to do the same thing although he could have just used John's program. Bob has [idiom]


What is the correct term for a story that sits alongside another one in time and place?

What is the correct term for a book that sits alongside another book in time and universe, sharing some characters and events? Not after (a sequel) or before (a prequel), but parallel.  Example: I've just read "Ender's Shadow". It's a [something] of "Ender's Game".


Why [:1] and [0] do not generate the same result?

Why do method 1 and method 2 not print the same output?   >>> names = ["Apple", "Samsung", ]  # Method 1/Print the first item in names >>> print(names[:1]) ['Apple']  # Method 2/Print the first item in names >>> print(names[0]) Apple


Calculate $$\int\limits_{-2}^{0} \frac{x}{\sqrt{e^x+(x+2)^2}}dx$$   First I tried the substitution $t=x+2$ and obtained $$\int\limits_{0}^{2} \frac{t-2}{\sqrt{e^{t-2}+t^2}}dt$$ and than I thought to write it as $$\int\limits_{0}^{2} (t-2)\frac{1}{\sqrt{e^{t-2}+t^2}}dt$$ and use the fact that $$2(\sqrt{e^{t-2}+t^2})'=\frac{1}{\sqrt{e^{t-2}+t^2}} \cdot(e^{t-2}+2t)$$ Using integration by parts we get that we have to calculate (excluding some terms we know) $$\int\limits_{0}^{2} \sqrt{e^{t-2}+t^2}\cdot \frac{6e^{t-2}-2te^{t-2}+8}{(e^{t-2}+2t)^2}dt$$ which is uglier then the initial problem. Do you have any idea how to solve the problem?


Prove that $\mathbb{Q}(\sqrt3) = \{a + b\sqrt{3} | a, b \in \mathbb{Q}\}$ is a field assuming addition and multiplication is commutative since $\mathbb{Q} \subset \mathbb{R}$.  In my book, I have a list of field axioms, but I am not so sure on how to prove each one.   Any help is much appreciated, but I would like it if someone could please explain rather than just posting a solution.  Thank you


I have a secondary hard drive on my computer. It has a partition that is ext4 that I set up for Ubuntu. I would like for it to be mounted automatically. I tried using the Disk Utility that I installed form the software center. But the version is only 3.0 and the new one that has the auto-mount feature is 3.8, which is not available to 12.04. How can U auto mount my ext4 partition that is on a secondary hard drive?  This is what the disk utility looks like.


What is the simplest way to check my actual broadband connection speed?


Changing one dict changes all dicts in a list of dicts

I have a list of dicts for storing data. When I make change in one dict, that change is reflected in all dicts.  students = [{"marks": [], "subjects": 0}]*3 specific_student = 2 print("Before updating", students) students[specific_student]["marks"].append(50) students[specific_student]["subjects"] += 1 print("After updating", students)   I was expecting that, only last dict will get updated. but surprisingly all dicts were changed.  The obtained result of above program is  Before editing [{'subjects': 0, 'marks': []}, {'subjects': 0, 'marks': []}, {'subjects': 0, 'marks': []}] After editing [{'subjects': 1, 'marks': [50]}, {'subjects': 1, 'marks': [50]}, {'subjects': 1, 'marks': [50]}]   But the expected result(only dict at position 2 gets changed) was  Before editing [{'subjects': 0, 'marks': []}, {'subjects': 0, 'marks': []}, {'subjects': 0, 'marks': []}] After editing [{'subjects': 0, 'marks': []}, {'subjects': 0, 'marks': []}, {'subjects': 1, 'marks': [50]}]   Can some one explain this strange behavior and suggest a solution to obtain the expected result?


$$\int \frac{\mathrm{d}x}{x}$$ If I integrate this by parts ($\displaystyle u=\frac{1}{x}, \mathrm{d}u = -\frac{\mathrm{d}x}{x^2}, \mathrm{d}v= \mathrm{d}x, v = x$), then why does this happen?  $$\int \frac{1}{x} \: \mathrm{d}x = u v - \int v \:\mathrm{d}u = \frac{x}{x} - \int x\left(\frac{-1}{x^2}\right) \:\mathrm{d}x=1+\int \frac{1}{x}\:\mathrm{d}x$$  So $\displaystyle\int \frac{1}{x}\:\mathrm{d}x = 1 + \int \frac{1}{x} \:\mathrm{d}x$ and cancel out both sides of $\displaystyle\int \frac{1}{x} \:\mathrm{d}x$ and I get $0=1$. How can I find the error in the process because right now I cant see it.


Can I easily view all songs that iTunes can't locate in Finder?

I recently had a mishap with my music library, resulting in the untimely termination of hundreds of innocent music files. These songs were not removed from iTunes, so there are many tracks that are seemingly normal, but upon closer inspection are actually gone, never to be seen again.  Is there any way I can make a smart playlist or something that'll show me only tracks whose source file can't be found?


Attempting to remove old kernels in /boot led to broken wlan, display resolution on ubuntu 14.04

Following the steps here:  to free some space in /boot I was lazy. So instead of deleting every file seperately with sudo apt-get remove linux-image-VERSION, I typed sudo apt-get remove linux-image-3* after some time I realized that this maybe was a huge mistake and i stopped it with ctrl-c.   After a reboot I find my system with no usb connectivity, no wlan, no sound and the lowest possible display resolution. Can someone explain what I have done wrong and/or how I can fix this?


How do I change the order in which systemd services are started up

Ubuntu 18.04 server on my home network I'm running:     dnsmasq for DHCP and DNS nginx as a reverse proxy to some web applications (running on localhost and on other hosts)   The nginx reverse proxy config uses hostnames, eg:  location / {         proxy_pass http://nas.mydomain.com:8080;   However, when rebooting the server, nginx tries to start up but fails due to not being able to resolve the hostnames in its config. If I start nginx up manually after boot, it starts up without error.  This leads me to believe that nginx is starting before dnsmasq is available to resolve the hostnames.  Is there a way to force nginx to start after dnsmasq?


How do I move Steam games to a new computer without re-downloading them?

I have just bought a new computer and I have everything migrated over except for my Steam games.  I looked in Program Files/Steam/ and I found a folder full of the games I have downloaded, but I do not know if it is safe to just copy these folders from one computer to another (seeing as a lot of other applications will not work if you do this), or is there another recommended way?  I don't really feel like re-downloading all my games. I don't have the time nor bandwidth to download 20GB over a 1.5mbps connection.  Is it possible to contact Valve and get a disk with the games on it?


When did the word "so" begin to be used to start a sentence?

In the last few years, I've noticed a growing usage of the word "so" to begin a sentence, especially in the context of higher education.  For example:   Interviewer: "What is the nature of your research"  Researcher: "So, what we wanted to find out is..."  It seems to be a replacement the word "well", or, more informally, "ok".  Has this usage of the word been around for a long time and I'm just now noticing it?  Do you think that is a valid use of the word?


How does positive charge spread out in conductors?

I know that when there are excess positive charges in a conductor, for example, a metal sphere, the positive charges will spread out over its surface. However, I am confused about how this excess charge spreads out over the surface, if protons cannot move and only electrons can move. Can someone please inform me on how the excess positive charge spreads out over the surfaces of conductors?


Is there a way to Import old 3ds max files into blender

I have models from an old game called Trespasser that were made on 3ds max back around 1998, and I cant figure out how to see or use them in blender.  I can provide one as a sample if needed, but I would like to see these models, and use them if possible.  Thank you  I do not have 3ds max software, but I also did not realize they had a trial version, so I may do as suggested. I also did not see anything about this in the forum, so I do apologize about the duplicate question.  EDIT : I cannot install  3ds max 2015, for some reason, but assuming it has to do with me using Windows Vista Ultimate instead of 7 or 8. I am looking into other means.  Thank you for the help though, maybe I can figure it out now.


Shoenfield introductory mathematical logic book alternatives

I was originally intending on reading Mathematical Logic by Joseph R. Shoenfield (1967) though after reading  I get the impression that despite being influential for the time it was written, there now exist many new books written from our current perspective that tend to be easier on non-experts by offering more thorough explanations for each new topic being introduced.   As of now I have a basic knowledge of abstract algebra (basics on vector spaces, rings, groups etc.) from doing elementary number theory and taking a course on linear algebra, also I have completed  a year long course on real analysis which used a lot of elementary set theory and some order theory.   With all that said, I was hoping based on my current basic knowledge of math that someone could recommend me an introductory book on mathematical logic which I could use as an alternative to Shoenfield's and which addresses Peter Smith's criticisms - any help would be greatly appreciated.


Why are there exactly $2^{\aleph_0}$ Turing degrees?

I know that there are exactly $2^{\aleph_0}$ Turing degrees, but I am trying to realize the reason: I am convinced there can't be more than $2^{\aleph_0}$ of them, but why can't there be less? I know it should be trivial...


System properties showing only 2.75 gb ram instead of 4gb

I am using windows 10 and i am trying to install adobe xd software.recently i upgraded my system ram to 2 gb to 4gb just to install this software.  after upgrading the system to 4gb, i am able to see only 2.75 gb in installed memory and because of this i am unable to install Adobe xd software.   any idea how can i utilize the full ram of 4gb so that it shows 4gb ram and so that i can install the software.


Strange environment variable !::=::\ in Cygwin

Using Cygwin, I installed Environment Modules by downloading source code, running configure, make, and make install. Every time I run a module command, I get:  init.c(718):WARN:165: Cannot set TCL variable '!::'   I've traced this down to the fact that Cygwin has the following environment variable set:  $ env | grep :: !::=::\   Does anyone know what this is, where it is set, why it might be necessary, or how to get rid of it?  I might add that it's exceedingly difficult to Google, or even get to display correctly in Markdown.    From the comments:  $ unset '!::'  -bash: unset: `!::': not a valid identifier


Reconfiguring TexStudio after upgrade to OS X El Capitan

Texstudio doesn't work for me anymore after updating to Mac OS X 10.11 El Capitan. I have the latest version of TexStudio installed (2.10.2). As pointed out by , this is due to a change in the places OS X allows files to be saved. When I started TexStudio, I received a message "PDFLatex could not be launched". In the settings, I had to change the folder of the compiler from user/texbin/ to /Library/Tex/texbin, as shown in the screenshot below:    Can anybody tell me if I have to make further changes in order to make TexStudio fully working (bibliography and the like), and if yes, which?   I hope TexStudio are very soon going to release an update (there is an issue for this on their issue queue.  Thank you for your help. This is my first post here, so please apologize any imprecisions.


Why are search queries inconsistently converted into tags?

Asume the following search queries: osx, cocoa, iphone, xcode, applescript, mac, carbon    Searching for osx, cocoa, iphone or xcode like:   http://stackoverflow.com/search?q=osx   Results into searching by tag:   http://stackoverflow.com/questions/tagged/osx   While searching for applescript, mac and carbon like:   http://stackoverflow.com/search?q=applescript   Results into searching by string.  Yes, I know how to search by tags using brackets: [applescript] But why are the queries above interpreted differently? All queries are valid Stack Overflow tags! Why not convert all queries into search by string or search by tag? What is the logic behind? Tag popularity? It seems rather inconsistent to me.


Why do we have to repeat factors in partial integration?

I still have not grasped the intuitive reason for adding a coefficient for each degree in denominator when doing partial fraction integration. For example  $\int_a^b  \frac {R(x)}{(x+2)^3} $ , we need to do  $\frac {A}{(x+2)^1} + \frac {B}{(x+2)^2} + \frac {C}{(x+2)^3}$.   Why?


Put equation on same line as \item in beamer

Consider this standard MWE:  \documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usetheme{default} \begin{document}  \begin{frame}  \begin{itemize}     \item Equation 1 here:           \begin{equation}         Pr( Y= n)  = \frac{e^{-7}\times 7^n}{n!}          \end{equation}      \item Equation 2 here:          \begin{equation}          Pr( Y= n)  = \dfrac{e^{-7}\times 7^n}{n!}         \end{equation}  \end{itemize}  \end{frame} \end{document}   It produces:    I want to achieve this:    I can do it manually adding \vspace{-1.05cm} before both equations.  Instead, I would like this to be done automatically.  Notice I want to preserve the equation number, so using inline $ equation $ at the \item level is not enough (plus it would need manual centering, depending on equation length.   Is there a way to achieve what I want?   Related posts that haven't helped me are  and .


"Give him a box that everyone knows what it contains."  Is this correct English? It sounds wrong to me.


Using bibtex, how to combine two references such that they are mentioned as one in the bibliography

Instead of  [1] reference 1 [2] reference 2  How can I have  [1] reference 1; reference 2  ?


I have 2 hosts in a cluster (running vSphere Client version 6.7). how can i be sure that when i want to enter one of them into maintenance mode, the other one would be able to hold all VM's resources? Thanks, John


A matrix $A$ is given with a known Jordan decomposition, what is the Jordan decomposition of $A^2+A+I$?

This is a duplicate of a question I've already asked, but got no answer to. I would appreciated any help.


What was the point of the stormtroopers' armour?

It seems that it didn't actually protect them from any form of attack.   Every direct hit from a laser seemed to kill a stormtrooper outright, and a slice from a lightsaber cuts straight through.


Flagging question as off topic - where is ServerFault option?

I notice a lot of questions tagged VMware should be migrated to ServerFault, but the option is not available as you can see in the picture below.  Is there a way to pick what options show up here?


Why would a bank not "buy a house for me" if they own the house until I've paid it anyway?

I find myself in a situation where I'm trying to buy a house, but don't have the money readily available. And my bank won't give me a loan, in spite of not having any problems with loans/money in the past, because I can only promise them that I will pay them the money I get when I sell the apartment we own, as well as our small monthly income, and then profits from my Bitcoin in the future. At the end of the day, I won't be able to start paying off the loan if they hand me the full amount to buy the house right now and expect the typical monthly "payback fee". It's a very specific house with sentimental ties to me, up for sale right now, which is why this is time-sensitive. But then I had this thought: Why would they not pay for the house right now, and then simply let me "rent it" from them until I've either paid it off, die, or go completely broke? Does the house lose any value while I live there and pay them back as much as I can? I'm guessing that I'm missing something painfully obvious, but it seems to me that the bank risks nothing by buying the house "for" me, then have me live there for any amount of time, and when I'm gone, they still have the house and it may even have appreciated in value at that point. Plus they got all that money I paid them while I was around/alive, so they didn't lose any money, but gained a bunch. In my mind, this seems like a win-win situation. I get to move in to the house and they get their money and then some no matter what. Why would they not want to do this, assuming that I'm not some kind of dangerous criminal who brings home a whole gang and have shootouts every other day, decreasing the value of the property?


Number of words that can be formed using "DAUGHTER" so that vowels never come together.

How many words can be formed from the letters of the word "d a u g h t   e r" so that the vowels never come together?   There are $3$ vowels and $5$ consonants. I first arranged $5$ consonants in five places in $5!$ ways. $6$ gaps are created. Out of these $6$ gaps, I selected $3$ gaps in ${}_6C_3$ ways and then made the vowels permute in those $3$ selected places in $3!$ ways. This leads me to my answer $5!\cdot {}_6C_3 \cdot 3! = 14400$.   The answer given in my textbook is  $36000$. Which cases did I miss? What is wrong in my method?


"He didn't do nothing" Vs. "He didn't do anything" Vs. "He didn't do something at all"

I found the following sentences as some of the sentences that confuse a lot of ELL, and I, as a part of them, would like to understand them correctly.      "He didn't do nothing."   Means that he did something (minus+minus=plus). Correct?  Vs.      "He did nothing".   Means that he didn't do something. This a correct sentence?      "He didn't do something at all."   Simply understood that it is the same as saying "he did 0".   Vs.      "He didn't do anything."   Here I have another big confusion. Once I've been told that it means that the man didn't do anything in world but something he did. But in other time I was told that the meaning is as the same as He didn't do something at all. This sentence can be said when someone suspected but we say about him that "He didn't do anything." or alternatively when complaining about someone that he didn't work at all.


Problem converting a std::string of digits to vector

I am supposed to get two big integer numbers (up to 600 digits) from console screen and write the result on the console again.  I defined two variables of type std::string to store two big integer numbers .I take their values from the user. To take the sum of that two numbers, I defined two vectors to store the digits of that two strings of numbers .   Here is the problem, when I try to loop through the vector to print the digits  that I took from strings of numbers I get the following result .The Ascii values of the digits are printed on The Console. Could anyone tell me how to fix this problem please.   Note: The code is still not complete .  For the first string I took the numbers 9 8 7 6 5 4 3 2 1 from the user , on the console window I got the following result.   [0]57  [1]56  [2]55  [3]54  [4]53  [5]52  [6]51  [7]50  [8]49      #include <iostream>     #include <sstream>     #include <vector>     #include <algorithm>       std::string Sum_Of_Two_Long_Integers()     {       std::string First_String ;       std::string Second_String ;       std::string Result_String ;        std::cout << "Please enter the first number: " ;       std::getline(std::cin, First_String);       std::cout << "Please enter the second number: " ;       std::getline(std::cin, Second_String);        std::vector <int> First_String_Vector (First_String.length()) ;       std::vector <int> Second_String_Vector (Second_String.length()) ;        for(int Counter = 0 ; Counter  < First_String_Vector.size() ; ++ Counter)       {          First_String_Vector[Counter] = First_String[Counter] ;          Second_String_Vector[Counter] = Second_String[Counter] ;          std::cout << "[" << Counter << "]" << First_String_Vector[Counter] << std::endl ;       }        return Result_String ;    }     int main()    {       std::string Result_String  = Sum_Of_Two_Long_Integers() ;       std::cout << "Result = " << Result_String << std::endl ;        return 0 ;    }


Hello Mighty Stackexchange, I'm trying to subtract some cylinders (place for LED's) from an object. It looks like this before subtraction.   But when done subtracting, I'm left with this. Info on modifier, Solver = BMesh, Overlap Threshold = 0.000001.   I'm kinda new to blender, I studied autoCAD in school, so blender isnt entirely new. But I'm still clueless on what is going wrong, I've searched but havent found anyone who encountered the same/similar problem. I'd be happy to give more data/settings if required/asked. Thanks in advance.


Tension in an Atwoods machine conceptual?

Assuming $T_1$ is the force that acts on box $1$ and $T_2$ is the force that acts on box $2$.  Exactly what causes the Tension? Why does $T_1 = T_2$?  The problem is we are told to memorize that $T_1 = T_2$ for mass less ropes, but I do not understand why, especially in an Atwoods machine.  When I think about it, I know it has something to do with the force $m_2g$ which causes the box with mass $m_1$ to rise, and vice versa.  But I cannot apply physics terminology to this, or really understand whats going on.


Inserting a tuple in sqlite db using android studio

I'm trying ti insert a tuple (record) on a sqlite db. it has one integer primary key. but when I try to insert I got an error "null object reference".  I searched a lot but unfortunately I can't resolved the error with respect to my case. Would you please give me hand?  here are the codes:  and the logcat says there is fatal exception.   this is how I created the the table. my sql insert function works correctly , but I think there is a problem with the datatype I have.  public class AccountHolder_to implements Parcelable {      private  Integer A_A_accountNumber;     private  String A_email;     private  String A_username;     private  String A_password;     private  String A_syncedURL;      private  Demographics_to A_A_patientID;      public AccountHolder_to () {         super();     }      private AccountHolder_to(Parcel in) {         super();         this.A_A_accountNumber= in.readInt();         this.A_email = in.readString();         this.A_username = in.readString();         this.A_password = in.readString();         this.A_syncedURL = in.readString();          this.A_A_patientID = in.readParcelable(Demographics_to.class.getClassLoader());      }      public int getA_A_accountNumber() {return A_A_accountNumber;}      public void setA_A_accountNumber(int id) {         this.A_A_accountNumber = id;     }      public String getA_email() {         return A_email;     }      public void setA_email(String email) {         this.A_email = email;     }      public String getA_username() {         return A_username;     }      public void setA_username(String un) {         this.A_username = un;     }      public String getA_password() {         return A_password;     }      public void setA_password(String pw) {         this.A_password = pw;     }      public String getA_syncedURL() {         return A_syncedURL;     }      public void setA_syncedURL(String sr) {         this.A_syncedURL = sr;     }      public Demographics_to getA_A_patientID() {         return A_A_patientID;     }     public void setA_A_patientID(Demographics_to pi) {        this.A_A_patientID = pi;    }      @Override     public String toString() {         return "accountHolder_Table [A_accountNumber:" + A_A_accountNumber + ", name:" + A_email                 + ",username:" + A_username + "password:" + A_password                 + "syncedurl:" +A_syncedURL +"patientid:" + A_A_patientID+ "]";     }      @Override     public int describeContents() {         return 0;     }     @Override     public void writeToParcel(Parcel parcel, int flags) {         parcel.writeInt(getA_A_accountNumber());         parcel.writeString(getA_email());         parcel.writeString(getA_username());         parcel.writeString(getA_password());         parcel.writeString(getA_syncedURL());          parcel.writeParcelable(getA_A_patientID(), flags);     }      public static final Parcelable.Creator<AccountHolder_to> CREATOR = new Parcelable.Creator<AccountHolder_to>() {         public AccountHolder_to createFromParcel(Parcel in) {             return new AccountHolder_to(in);         }          public AccountHolder_to[] newArray(int size) {             return new AccountHolder_to[size];         }     };      @Override     public int hashCode() {         final int prime = 31;         int result = 1;         result = prime * result + A_A_accountNumber;         return result;     }      @Override     public boolean equals(Object obj) {         if (this == obj)             return true;         if (obj == null)             return false;         if (getClass() != obj.getClass())             return false;         AccountHolder_to other = (AccountHolder_to) obj;         if (A_A_accountNumber != other.A_A_accountNumber)             return false;         return true;     } }   Thank you in advance !


Possible to "flatten" linq output into a period delimited list?

I have a key-value pair array that contains an LDAP distinguished name, and I want to retrieve the DNS domain name of the host.  (Only the DC's not the fqdn)  Assume that the LDAP parsing is done correctly, and the DC entries when combined constitute the DNS domain name of the host.  Given the code below, is it possible to convert  DC = my DC = domain DC = com   into  my.domain.com   I could use a for...each with a stringbuilder but it doesn't feel elegant.  Is there a better way?   My code is below:  var kvList = ParseDistinguishedName(ldapName); StringBuilder sb = new StringBuilder(); var names = (from k in kvList              where k.Key == "DC"               select k.Value);


How long can I store a food in the pantry, refrigerator, or freezer?

How do I know if a given food or ingredient I have is still good, or if I should discard it?  How can I best preserve a food or ingredient?     This broad question is intended as a "general reference" question to quickly answer many how long will food keep for? questions. Please feel free to edit this question to expand and clarify as needed.


Portal 2 Peer Review DLC didn't download

I have downloaded the Portal 2 DLC from the PSN and then installed the DLC onto my system.  When I go to play the game, the only new thing in any of the menus is "Download Free DLC" in the main menu. When I choose that, it says "there are no new items to purchase". When I go into co-op, the new area that is supposed to be open is not. I have completed both the single player and co-op parts of the game.  Anyone have any idea why I can't access the DLC?


Is there a way to transfer more than one Pokemon at a time?

Is there a way to transfer more than one Pokemon at a time to the professor?  Or possibly an addon that gives me this ability?  Vendoring all the trash Pokemon for candies individually is really annoying and time consuming.


I have a 2 GB Kingston Usb drive. This is working fine-  I am able to format and access from 'My computer'  I am trying to format this drive using HP USB Storage format tool to load a bootable image on to the drive,  it says "device media is write protected"  OS : Windows XP  what could be wrong ?  Thanks!


Story title: Slaves rescued by their compatriots?

A short story written probably before 1980 and after 1960 but not sure. An alien race sometimes abused sexually (using orifices not meant for this purpose) by humans, they see the fact that humans drink a kind of "wine" made by torturing one member of some delicate race (this is a third race in the story) in front of its mate or something and collecting its tears as an indication of how degenerate humans are. Then these enslaved aliens are rescued by a warship from their home world. The aliens from their home world are larger (perhaps due to not being abused) and their planet is beautiful. But as a banquet celebrating their rescue, they are offered this same "wine."  EDIT: This is We Who Stole the Dream.


Why use spellotape instead of the reparo spell?

In Chapter 10 of Harry Potter and the Goblet of Fire, Ginny mends her schoolbook with Spellotape:     "Why are they all sending Howlers?" asked Ginny, who was mending her   copy of One Thousand Magical Herbs and Fungi with Spellotape on the   rug in front of the living room fire.   Wouldn't it be quicker and cleaner if for example Molly just mended it with the Reparo spell?


$\int \sec ^4(x) ~\mathrm dx$  I did this in two ways:  1)  \begin{align} \int\sec^4(x) ~\mathrm dx & = \int \sec^2(x)\sec^2(x) ~\mathrm dx \\ & = \sec^2(x)\tan(x) - 2\int \sec(x) \tan(x) \sec(x) \tan(x) ~\mathrm dx \\ & = \sec^2(x) \tan(x) - 2 \int \sec^2(x) (\sec^2(x)-1) ~\mathrm dx \\ & = \int \sec^4(x) ~\mathrm dx \\ & = \sec^2(x)\tan(x)-2\int \sec^4(x) ~\mathrm dx +2\int\sec^2(x) ~\mathrm dx \\ & = \int \sec^4(x) ~\mathrm dx \\ & = \frac{\sec^2(x)\tan(x)}{3}+2\tan(x) / 3 +C \end{align}  2) \begin{align} \int \sec^4(x) ~\mathrm dx & = \int (\tan^2(x)+1)^2 ~\mathrm dx \\ & = \int \tan^4(x) + 2\tan^2(x) +1 ~\mathrm dx \\ & = \int \tan^4(x) ~\mathrm dx +2\int \tan^2(x) ~\mathrm dx + x \\ & = (...) \\ & = \frac{\tan^3(x)}{3}-\tan(x) \end{align}  So... which one is wrong( or both?)


Laptop crashes when starting on battery, okay otherwise

I have a Dell Precision M6800 running Windows 10 that consistently crashes when starting on battery.  It automatically logs in like I've set it to, shows a complete desktop for a few seconds, and then BSOD's every time with WHEA_UNCORRECTABLE_ERROR.  It only does this when starting on battery.  I can start on AC, let it log in, then unplug and use it until it's dead, including any amount of sleep/wake cycles.  I just can't cold-boot on battery.  So it's practically useless on a trip if I forget to start at home and then sleep.  , the answers to which seem reasonable, but didn't help at all for my system:   Identical power settings for AC and battery Disable the power manager   Windows Update found a "Cumulative Update for Windows 10" today...which didn't make any difference either.  , and even that still crashes.  I've been in the BIOS settings too, and disabled everything I thought might be power-related.  Still no luck.  After several failed starts, the OS offers some troubleshooting options, so I tried Safe Mode.  That doesn't crash, but it also doesn't support the apps that I need.  :-/  Any ideas what's going on?


What is the purpose of the fourth line of code particularly "l[j][-1]" here?

The ff is a code to find the longest increasing subsequence of an array/list in this case it is d. The 4th line confuses me like what does l[j][-1] mean. Let's say i=1. What would l[j][-1] be?  d = [10,300,40,43,2,69] l = [] for i in range(len(d)):     l.append(max([l[j] for j in range(i) if l[j][-1] < d[i]] or [[]], key=len) + [d[i]])


vertex --> vertices  matrix --> matrices  vortex --> vortices  complex --> complexes  I don't see the pattern. It's not -ix versus -ex, so is there a rule (or at least linguistic explanation) for why some words take ces and some words take xes?


Getting from Denver International Airport to the 16th Street Mall by public transport?

When I need to work out how to get from an airport to a city I'm visiting, my first port of call is normally . Unfortunately, in the case of , the article is (currently...) a bit vague on public transport from the airport to the city, especially on how late things might stop.   When arriving mid evening into Denver International Airport, is it possible to get to the city centre (say, around the 16th Street Mall at Lawrence Street) by public transport? Ideally direct to around there, or failing that with minimal transfers?  (We've a , but that's for a different area in the city)


How can I create 3D graphics like this in Blender? (Vintage 80s/90s 3D graphics)

How could you achieve this look (simple, 90s 3D with minimal lighting and shading) in Blender? Rendering it at a small size is a given. Any other ways to make it look like this?


Problem with almost sure converges random variable with Bernoulli distribution.

Let's define $$P(X_n)=\begin{cases}1,&w.p=\; \frac1n \\0,&w.p = 1-\frac1n\end{cases}$$ I want to show that does not exist X such that :  ${\displaystyle {\overset {}{X_{n}\,{\xrightarrow {\mathrm {a.s.} }}\,X.}}}$  We know that  $$ X_{n} \xrightarrow{\mathrm{a.s.}} X \iff \mathbb{P}\left(\omega:\lim_{n\to \infty}X_n(\omega)=X(\omega)\right)=1.  $$  Can you please help me with that ?


How can I create a mirror material for the game engine?

A google search found this demo of a mirror in the BGE  but I can't find out how to setup the material. Unlike in the BI renderer the option Mirror isn't available when in BGE.  What tricks do I need to know?


How can I publish apps under my own name if I'm under 18?

In order to sign up for a developer account, I'll need my parents credit card. However, after going through the signup process, my Dad's name shows up because he is the credit card holder. How can I publish an app under my name, if I don't have access to my own credit card? Should I buy a prepaid one?


Why won't Ubuntu installed using Wubi accept my password?

I can boot into Ubuntu just fine as a guest but it refuses to accept my login name and password that were set during the Wubi install. I reinstalled it again with basic login and password just to make sure and it still won't let me in.


I am testing the  website   I have found a issue on the site with searching. When I have entered very long values in the what and where textboxes, you end up at a blank screen   See these screenshots:  Search Page     Result Page     I know the URL is very long, but you need to check for this and display some message to the users if they enter wrong values in the search textbox.


Determine which software product a Microsoft Product Key activates

Without a product key being labelled, is there is any way to identify what Microsoft software product a given product key is meant to activate?   Let's say for example I had the product key ABCDE-FGHIJ-KLMNO-PQRST-UVWXY, but I had no clue if was meant for Windows 7 Ultimate, Windows 7 Home Premium, Vista Ultimate, or even Office 2010. Is there a way I could identify the software product the key is meant for (or at least get a good estimate)?     Note: I have searched and searched many times on the Internet, but the only results I ever find are how to recover a lost product key by using something like . This is not what I am looking for.


Do the following (1) and (2)sentences have the same meaning ?   Being taken to the hospital, he died. While being taken to the hospital, he died.   ( Do both sentences mean: while he was being taken to the hospital, he died)?  Is it correct to use No1 and No2 sentence? What kind of sentence construction they have? I Was told by @P.E Dent in previous question  that first example sentence is in "continueous participle clause in passive voice". I don't understand what "continueous participle clause in passive voice" mean.


Mathematical differences between GBM, XGBoost, LightGBM, CatBoost?

There exist several implementations of the GBDT family of model such as:   GBM XGBoost LightGBM Catboost.    What are the mathematical differences between these different implementations?  Catboost seems to outperform the other implementations even by using only its default parameters according to , but it is still very slow.  My guess is that catboost doesn't use the dummified variables, so the weight given to each (categorical) variable is more balanced compared to the other implementations, so the high-cardinality variables don't have more weight than the others. It allows the weak categorical (with low cardinality) to enter to some trees, hence better performance. Other than that, I have no further explanation.


Can a metric in General Relativity, Supergravity, String Theory, etc., be asymmetric?

Why is it that all problems I encountered until now have  that when represented in a matrix form turn out to be symmetric? Aren't there asymmetric matrices representing some metrics?


Show that f is not differentiable at the origin of the following function.

Show that f is not differentiable at the origin of the following function:  $f(x,y) = \left\{\begin{matrix}\frac{2xy}{x^2+y^2}, (x,y) \neq (0,0)\\ 0, (x,y) = (0,0) \end{matrix}\right.$  I was thinking that I would have to approach the origin from the left and right of the x and y-axis.  But given that it is a conditional function I have myself confused.  Could someone show me how to approach this question. Thanks !


Why do questions on Stack Overflow have to be based on facts?

I don't understand: Is the main motto of Stack Overflow to build reputation or to get your problems related to programming get answered?   So what if someone has a problem that may not be answered in terms of facts? As long as it is related to programming, it should be fine. I think that's what SO should be about!


Assume we are given a general proper hyperbola $  a_{11}x^2 + 2 a_{12} x y + a_{22} y^2 + 2 a_{13}x +2 a_{23}y + a_{33} = 0$ with  $D =\det \begin{pmatrix}   a_{11} & a_{12} \\   a_{12} & a_{22} \end{pmatrix} < 0$ and $ A = \det \begin{pmatrix}   a_{11} & a_{12} & a_{13} \\   a_{12} & a_{22} & a_{23} \\   a_{13} & a_{23} & a_{33} \end{pmatrix} \neq 0$.  Is there an easy way to find the implicit description of the conjugate hyperbola?  I could translate and rotate the hyperbola and obtain a canonical representation of the form $\frac{x^2}{a^2} - \frac{y^2}{b^2} = \pm 1$, find the conjugate of the canonical one and the transform back. However, I'm looking for a more straightforward way to achieve this.


I am working with python and doing the following.  x = [1,2,3,4,5]  def function1():   print(x)  function1()   I would think that I would get the error name 'x' is not defined but I do not, it prints the variable x even though it is not defined in the function. Why does python let me use variables that are defined outside of a function inside a function even though they have different scopes?


Can I upgrade from Windows 7 32-bit to Windows 7 64 bit without reinstalling all of my software?

Possible Duplicate:          I'm getting a new PC soon and thinking that I'll start with Win 7/32 bit then upgrade later (if needed) to 64 bit and add RAM (beyond 4 GB).  Is this fairly easy to do?


Quicksort random pivot leads to stackoverflow exception

Hello Stackoverflow community,  I'm doing an assignment for my algorithm class. We should implement a quicksort algorithm which uses as pivot a random element of the array. I tried to implement this with Random and Math, but in both cases I get an exception when I'm trying to print the field in the method printField. Where am I doing something wrong? I'm guessing I am having a problem with the recursive use of the method, but I don't know.  This is my code:   public static void quickSort(int[] field, int left, int right) {             if (field== null || field.length == 0)         return;      if (left >= right)         return;          // pick the pivot         int middle = left + (right - left) / 2;         int pivot;         if(field.length>1){         pivot = ((int) Math.random()) % field.length;         pivot = field[pivot];}         else         {             pivot = field[0];         }         //int pivot = field[middle];          // make left < pivot and right > pivot         int i = left, j = right;         while (i <= j) {             while (field[i] < pivot) {                 i++;             }              while (field[j] > pivot) {                 j--;             }              if (i <= j) {                 int temp = field[i];                 field[i] = field[j];                 field[j] = temp;                 i++;                 j--;                 }                  printField(field);                 System.out.println("");             }              // recursively sort two sub parts             if (left < j)                 quickSort(field, left, j);              if (right > i)                 quickSort(field, i, right);     }     //--EDIT-- //printField method  public static void printField (int[] field)         {             for(int i = 0; i<field.length; i++)             {                 System.out.print(""+field[i]);                 if(i!=field.length-1)                 {                     System.out.print(", ");                 }                 else                 {                     System.out.print(";");                 }             }     }     Thank you already for your help!  Have a nice day! Molly    Edit: 1)This is the exception I get:  2)In the code quotation there is now my implementation of the method printField()


How does the Axiom of Extensionality prove the uniqueness of Specified sets?

says:  Note that there is one axiom for every such predicate φ; thus, this is an axiom schema. To understand this axiom schema, note that the set B must be a subset of A. Thus, what the axiom schema is really saying is that, given a set A and a predicate P, we can find a subset B of A whose members are precisely the members of A that satisfy P. By the axiom of extensionality this set is unique  (Emphasis added) My question is why, by the axiom of extensionality, is this set unique? The Axiom of Extensionality is about set equality; what is the relation between the Axiom of Extensionality with uniqueness of this set?


How do I prevent players from riding a donkey, but still be able to access its inventory?

I am trying to make a data pack in Minecraft 1.16 where you can equip gear without taking up space in the player's inventory.  I have it set up that when a player holds a specific item, a donkey is teleported in front of them.  So then the player can access its inventory, but I don't want the players riding the donkey.  How do I make the donkey unrideable, but players can still access its inventory.  I tried putting an armor stand on the donkey that works to prevent me from riding the donkey, but I can't access the donkey's inventory.  I can't use a chest in a minecart because I can't make that invisible without removing the minecart texture (which I don't want to do).  If mules work but donkeys don't that's fine. Any Ideas?


Connecting two Ethernet PHY without magnetics?

In a (tentative) new design I want to connect two 100 Mbit/s Ethernet PHY similar to , separated by few inches on the same PCB, with same ground plane (but different power supplies). I have the choice of one of my PHY, but the other is embedded in an as-yet-unspecified PCIe to Ethernet IC (perhaps Gigabit but used in 100 Mbit/s mode), and it is critical that this PHY thinks there is a bona fide 100 Mbit/s Ethernet connection.  I could use the following         – Schematic created using   but I would like to achieve the same without the magnetics, in order to save on cost, purchasing headaches, and if at all possible power consumption.  I can imagine an RC network, perhaps as simple as in this , found thanks to a ; or maybe engineered with attenuation and lowpass, but that will not emulate the fact that with real magnetics, when there is a negative pulse on TX1P, there is a positive pulse on TX1M and RX2M. I am uncertain about if that would prevent some PHYs from working normally.  Anything to suggest that one is confident will work for practically any PHY around?


Carrying two laptops (one personal and one for work) to India

Is it okay to carry two laptops (one personal and one for work) from Sweden to India (Bangalore International Airport)?


Difference between electric field $\mathbf E$ and electric displacement field $\mathbf D$

$$\mathbf D = \varepsilon \mathbf E$$ I don't understand the difference between $\mathbf D$ and $\mathbf E$.  When I have a plate capacitor, a different medium inside will change $\mathbf D$, right? $\mathbf E$ is only dependent from the charges right?


Move Lifejacket and Lifeboat to Answer Badges section in Help Center

The new blog post  mentions the new badges  and  are answer badges, but they are listed on the  under Question Badges:    Since you earn these primarily by posting an answer (you're not required to do anything about the question, though editing it will probably help), they definitely belong to the Answer Badges.


I realize servers such as Google, Yahoo,  which use RSA has 2048 bits public key. After comparing those keys, I realize that the public keys share a common property, that is first 9 bytes and last 5 bytes are always the same. Since those public keys have 270 bytes altogether, this means there are only 256 useful bytes, which is 2048 bits. Is this 2048 bits of key secure? I google online and found that it takes a very long time to break 2048 bits of key as mentioned . But I am not convincing enough. Can anyone explain to me?


Can anybody tell how to completely clean up your desktop computer from QGIS files ( Windows Registry, user folders and program folders)?  It's for QGIS version 2.4 and 2.10.  'Ok' and 'cancel' buttons are missing from dialog boxes in QGIS project, and despite uninstalling QGIS the same error appear when installing new version, even 2.8.5 (Long term release).  Therefore a complete clean up of QGIS is needed.


I have reached the question limit but I haven't asked any questions

I just got a Stack Exchange account a week or so ago, and I have not posted any questions. I went to post my first question and I got a message saying, "You can only ask 50 questions in a 30-day period." I haven't posted a single question yet. Any ideas how I can get around this?


Hi ı not using blender very much but ı know something about using. Yesterday ı wanted to make wheel for just fun but when ı duplicate something and wants to move my all meshs moving not ı selected what can ı do for it? Thanks for reading anyway ı hope you can help me ıf you cant no problem :)


Downloaded Ubuntu 12.04.3 package for bootable CD. This package is 707MB and will not fit on normal 700MB CD, please advise. Thanks.


SQL Server 2012 Page Life Expectancy resets to 0 after about 50 days

I've noticed an odd behavior on a 2-server HA cluster and I was hoping someone could confirm my suspicion, or maybe offer some other explanation... Here is my setup:   A 2-server SQL 2012 SP1 installation SQL AlwaysOn HA has been enabled for a few databases CPUs are 2.4GHz, 4 cores RAM is 34 GB (it is an AWS instance, hence the odd number) Resource utilization is relatively low - each server has 14+ GB memory free, and SQL is not capped on how much memory to use Disk access time is fine - rarely going over 15ms/Read or Write Databases are not big - 1 GB, 1.5 GB, 7.5 GB SQL server process is using 16 GB Private Bytes, 15 GB Working Set   Overall, no resource issues are noted. Now for the odd part. SQL is not restarted (process has been running for almost 6 months) but it seems that every ~50 days, the Page Life Expectancy counter drops to (almost) 0. Up until that point it climbs steadily, no drops. Here is a perf graph:    When I look at the counter data (I don't have the exact number, just an hourly aggregation) it seems the PLE counter value reached about 4,295,000 sec (roughly 50 days) every time (at least every time I have data for).   My crazy theory is that the PLE number is held as milliseconds as an unsigned long int (which has a limit of 4,294,967,295) and at 49.71 days it resets, either by design, or because of a bug. This would explain the behavior of the two servers and the identical pattern they have. Or it could be something totally different and I am just not making any sense. :)  Has anyone seen anything like that, or can explain this behavior?


Redirecting standard output causes program to not exit

I'm calling qaac.exe (AAC encoder) from Process.Start(). The qaac.exe program outputs to the same line while it is encoding. I'm not sure what the technical term for it is, but it causes the program to not exit even though it is done processing the file. Here is my code:  string output = null;  var proc = new Process();  proc.StartInfo.FileName = "qaac.exe"; proc.StartInfo.Arguments = "-v256 -q2 file.wav"; proc.StartInfo.WorkingDirectory = @"C:\"; proc.StartInfo.CreateNoWindow = true; proc.StartInfo.RedirectStandardOutput = true; proc.StartInfo.RedirectStandardError = true; proc.StartInfo.UseShellExecute = false;  proc.Start();  output = proc.StandardOutput.ReadToEnd(); output += "\r\n"; output += proc.StandardError.ReadToEnd();  proc.WaitForExit();   If I pass in the -s argument (suppress console messages) to the qaac.exe app in the code above it works fine. So my question is how do I grab the output from an external program that writes to the same line in the console window?


Probability that Professor sends k correct addresses

A Professor prepares n letters and puts them in envelopes and closes them. Then realizes he has to write addresses, now he randomly writes addresses in the closed envelopes. What is the probability that he sends exactly k letters with correct addresses?  Attempt: Fix the k correct letters. We can choose them in $ n\choose k$ ways. Total number of combination is n!. Could I say answer is $\frac {n\choose k} {n!}$.  I am just getting started with probability, please post answers considering this.


Visual Studios Link.exe error: "extra operand"

Our build process uses Visual Studios 2003 link.exe for linking.  On one machine we're seeing the following error:  _X86_Win32/Debug/Intermediate/OurApp.exe LINK: extra operand `/subsystem:windows' Try `LINK --help' for more information   It appears to be using the same version of visual studios as the other machines.  Has anyone encountered this problem before?


Can we directly use the likelihood function for Bayesian inference?

I'm new to statistics, so this might be obvious. When doing full Bayesian inference, we first compute the parameter posterior $P(\theta | \text{data})$ using Bayes' rule. Then, to make a prediction, we compute the predictive posterior by averaging different prediction distributions at different values of $\theta$. So what happens if we just use the likelihood function $L(\theta)$ in place of $P(\theta | \text{data})$? My hand-wavy motivation is we can average over the likelihoods of different $\theta$s. (For the sake of argument, let's say we can scale $L(\theta)$ to integrate to 1.)


verifiying ubuntu iso with repository gpg-keys

I want to verify that a downloaded ISO is not being poisoned by the NSA or any other immoral agent. To do this I would very much use a signing-checking way.  I am aware of . Still I am not very happy with offered. If some agent can manipulate one file download he surely can manipulate all file downloads. So the public key I get from a key-server can just be cheated to make the manipulated ISO file check okay, while indeed it has been injected a rootkit or worse.  Now I am aware of that there is unfortunatelly no 100% sure way. But starting with the assumption that my current system is safe I have those keys used in the  mechanism.   My Question therefore:  How can the keys that I already trust in SecureApt (= the ordinary Ubuntu repository keys) be used to verify a freshly downloaded ISO?  Indeed it would serve me well also if I could via the Ubuntu Repo (and hence in a deb that is verified implicitly via SecureApt) get those public keys which would be necessary to verify the signature of the iso.  Any help would be greatly appreciated.  PS: of course I am aware that if Canonical is immoral and colaborates with NSA (which has money hey) we are all poisend anyhow. Let's just assume something like this could never happen, ok?


What is the Maclaurin series of $$z^3\sin(z^2)$$  I'm able to differentiate it but can't figure out how to write it in general series form, can somebody help me please.


Proving the claim that the Cantor set $C$ is perfect

I am self-learning Real Analysis. Stephen Abbott's book leaves the proof of the fact that the Cantor set $C$ has no isolated points as an exercise. I'd like someone to verify, if my construction is correct, or point out any fallacies.  [Abbott, 3.4.3] Review the portion of the proof given in Example 3.4.2 to show that the Cantor set is perfect and follow these steps to complete the argument.   (a) Because $\displaystyle x\in C_{1}$, argue that there exists an $\displaystyle x_{1} \in C\cap C_{1}$ with $\displaystyle x_{1} \neq x$ satisfying $\displaystyle | x-x_{1}| \leq 1/3$.   (b) Finish the proof by showing that for each $\displaystyle n\in \mathbf{N}$, there exists $\displaystyle n\in \mathbf{N}$, there exists $\displaystyle x_{n} \in C\cap C_{n}$, different from $\displaystyle x$, satisfying $\displaystyle | x-x_{n}| \leq 1/3^{n}$.  Proof. Let $\displaystyle x\in C$ be an arbitrary element. Since, $\displaystyle C=\bigcap _{n=0}^{\infty } C_{n}$, $\displaystyle x\in C_{1}$. Exactly, one of the below two possibilities must be true. (1) $\displaystyle x\in \left[ 0,\frac{1}{3}\right]$ (2) $\displaystyle x\in \left[\frac{2}{3} ,1\right]$ In either case, we can pick a number $\displaystyle x_{1}$ to be the left or right end-point of one of the two intervals in $\displaystyle C_{1}$ different from $\displaystyle x$. Since the end-points of $\displaystyle C_{n}$ are contained in $\displaystyle C$, we can pick an $\displaystyle x_{1} \in C\cap C_{1}$, such that $\displaystyle x_{1} \neq x$ and $\displaystyle | x_{1} -x| \leq \frac{1}{3}$. Similarly, $\displaystyle x\in C_{2}$. If $\displaystyle x\in \left[ 0,\frac{1}{3}\right]$, then we have a dichotomy. Either $\displaystyle x\in \left[ 0,\frac{1}{9}\right]$ or $\displaystyle x\in \left[\frac{2}{9} ,\frac{3}{9}\right]$. If $\displaystyle x\in \left[\frac{2}{3} ,1\right]$, then either $\displaystyle x\in \left[\frac{6}{9} ,\frac{7}{9}\right]$ or $\displaystyle x\in \left[\frac{8}{9} ,1\right]$. So, we can pick $\displaystyle x_{2}$ to be the left or right end-point of one of the two intervals in $\displaystyle C_{2}$ different from $\displaystyle x$. Since the end-points of $\displaystyle C_{n}$ are contained in $\displaystyle C$, we can pick an $\displaystyle x_{2} \in C\cap C_{2}$, such that $\displaystyle x_{2} \neq x$ and $\displaystyle | x_{2} -x| \leq \frac{1}{9}$. In general, we can pick a number $\displaystyle x_{n}$ to be the left or right end-point of one of two intervals in $\displaystyle C_{n}$, such that $\displaystyle x_{n} \neq x$ and $\displaystyle | x_{n} -x| \leq \frac{1}{3^{n}}$. Now, consider the sequence $\displaystyle ( x_{n}) =( x_{1} ,x_{2} ,\dotsc )$. Given any arbitrary $\displaystyle \epsilon  >0$, pick $\displaystyle n_{0}$ such that \begin{equation*} \frac{1}{3^{n_{0}}} < \epsilon \quad \text{ or } \quad n_{0}  >\left(\log\frac{1}{\epsilon }\right) /(\log 3) \end{equation*} then for $\displaystyle n\geq n_{0}$, we have $\displaystyle | x_{n} -x| < \epsilon $. So, $\displaystyle ( x_{n})\rightarrow x$. Thus, $\displaystyle C$ is a perfect set.


Question about higher order function JavaScript

He everyone, today see some code from a web, and i don't know how is function (a) call to function zero(), one()... ? Why this can happen ? function zero(func)   { return func ? func(0) : 0; }; function one(func)    { return func ? func(1) : 1; }; function two(func)    { return func ? func(2) : 2; }; function three(func)  { return func ? func(3) : 3; }; function four(func)   { return func ? func(4) : 4; }; function five(func)   { return func ? func(5) : 5; }; function six(func)    { return func ? func(6) : 6; }; function seven(func)  { return func ? func(7) : 7; }; function eight(func)  { return func ? func(8) : 8; }; function nine(func)   { return func ? func(9) : 9; };  function plus( b )      { return function( a ) { return a + b; }; }; function minus( b )     { return function( a ) { return a - b; }; }; function times( b )     { return function( a ) { return a * b; }; }; function dividedBy( b ) { return function( a ) { return a / b; }; };  // seven(times(five())) => 12


Has anyone had any luck with getting QGIS working on Ubuntu 12.04? I have tried the stable and unstable versions and with not luck. I also get the following:  "Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies: qgis : Depends: qgis-providers (= 1.8.0-1~precise1) but 1.9.90+git20120502+6229eec~precise1 is to be installed     Depends: qgis-common (= 1.8.0-1~precise1) but 1.9.90+git20120502+6229eec~precise1 is to be installed     Recommends: qgis-plugin-globe but it is not going to be installed     Recommends: qgis-plugin-grass but it is not going to be installed E: Unable to correct problems, you have held broken packages."