Why cannot the Ubuntu installer recognize my SSD?

I am attempting to install Ubuntu 17.04 on my Dell XPS 15. I have disabled secure boot and hibernation mode in Windows. When I run the Ubuntu installer from a USB drive, it skips asking me what "installation type" I would prefer, and brings me right to the manual partitioning option. The problem is that nothing shows up, and clicking on the "+" and "change" buttons causes the installer to freeze: . According to GParted, Ubuntu is not recognizing my computer's SSD, merely the USB drive that I am using to boot it: . Is there a fixable bug that could be causing Ubuntu to fail to recognize the SSD?


\begin{tabular}{ |p{3cm}||p{3cm}|p{3cm}|p{3cm}|  }      \hline      \multicolumn{3}{|c|}{States} \\      \hline      cpu &  Higher--Lower & Lower-Higher \\      \hline      \multicolumn{3}{|c|}{Average, Standard deviation, 95\%Confidence}  %     Afghanistan    &AFG&   004\\ %     Aland Islands  &ALA   &248\\ %     Albania        &A  &08\\ %     Algeria        &DZ &012\\ %     American Samoa &ASM &016\\ %     Andorra        &AND   &020\\ %     Angola         &GO &024\\      \hline     \end{tabular}   How do I have multicolumns for higher-lower and lower-higher?  Each multicolumn in higher-lower and lower-higher will have the subcolumns, average, standard deviation, 95% confidence  \begin{table}[!htb]   \centering   \caption{States}   \begin{tabular}{|c|l|l|c|c|c|c|c|c|}     \hline     \multirow{2}{*}{Benchmarks} &      \multicolumn{2}{c|}{\multirow{2}{*}{\textbf{Designation}}} &      \multicolumn{4}{c|}{\textbf{Shifts}}\\     \cline{4-7}     & \multicolumn{2}{c|}{} & \textbf{A} & \textbf{B} & \textbf{C} & \textbf{G}\\     \hline     1 & \multicolumn{2}{l|}{Plant Engineer} & & & & 1  \\     \hline   \end{tabular}   \label{tab:pro_pro} \end{table}   How do I have another column like shifts right next to it and remove the col: designation?  Here is the solution:  \begin{table}[h] \begin{center} {\footnotesize \scalebox{0.45}{ \begin{tabular}{|c|ccccccccc|ccccccccc|} \hline Benchmarks & \multicolumn{9}{c|}{Higher-Lower}   & \multicolumn{9}{c|}{Lower-Higher}\\  & \multicolumn{3}{c|}{0.8-1.0} & \multicolumn{3}{c|}{0.8-1.6} & \multicolumn{3}{c|}{0.8-2.4} & \multicolumn{3}{c|}{0.8-1.0} & \multicolumn{3}{c|}{0.8-1.6} & \multicolumn{3}{c|}{0.8-2.4}  \\ \hline  &  \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} & \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} & \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} & \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} & \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} & \multicolumn{1}{c|}{Average} & \multicolumn{1}{c|}{Standard Deviation} & \multicolumn{1}{c|}{Confidence} \\ \hline  \end{tabular} } } \end{center} \caption{\footnotesize P--States: PAAE and Confidence for SPECcpu2006 benchmarks.} \label{turns} \end{table}


Why do I see these messages while updating Ubuntu 14.04

LC MESSAGES  LC TYPE  LC ALL as Default locale :No such file or directory.   Please let me know how to correct this?


I want to add "debug" optio to my script, for that I added a read commands in specific places in the code. Basically it look like this:  #define it READ_USER_INPUT_IF_IN_DEBUG_MODE="read -p 'press any key to continue:'"  #calling it ${READ_USER_INPUT_IF_IN_DEBUG_MODE}   the screen output is not as desired;  sm2edolt01.corp.nyx.com:/home/oracle/nir >./a.sh 'press   Tried to replace the ' with \" as well.


Increase size of window resize drag area

Not sure if this is a Ubuntu specific question or something specific to the DE I am using (MATE).  Is there any way to increase the area to drag-resize windows on the desktop? This is the spot in the lower right of each desktop window. When you hover over you see the 'drag-resize' icon with a diagonal arrow. It can be very difficult to precisely select.


Is there any difference is placing a question mark before the exclamation mark and placing a question mark after the exclamation mark? More like... the speaker is astonished more or confused more?


LaTeX article to Prezi-style zooming dia -presention?

Prezi is a proprietary software .   I found beamer, powerdot, HA -prosper, prosper, slides and seminar. Which one or something similar should I use to create something like Prezi-style zooming dia -presentation?


arch:what is the sync database? It located at /var/lib/pacman/sync

I know that the local database stores the information about the installed packages，but I do not know what the sync database is. So what is that ? Why i need it ?


Require password on elevate in Windows 8.1

I'm setting up a new laptop that has Windows 8.1 installed. What I'd like to do: require the account password to be entered whenever I get an elevate prompt ("Allow the following program to make changes to your system?").  My main use case is that I want to let my kids use my laptop, but ensure that they can't install programs or change settings. I know I could give them a separate login with lower permissions, but I'd rather just have one login.


Monotonicity and convergence of the sequence $a_n=\sum_{k=1}^{n}\frac{1}{k+n}$

Let we have the following sequence $(a_n)$ such that $$a_n=\sum_{k=1}^n\frac{1}{n+k}$$ How can I prove that $(a_n)$ is increasing bounded sequence, then prove it is convergent and find its limit?


Can I vent my dryer into the crawl space without creating mold and moisture problems?

We have a crawl space with a combination of sandy and clay soil in it.  The crawl space is about 3' deep.  To eliminate a long dryer vent run, I'd like to vent the dryer directly into the crawl space.  We have vents built into the foundation that I open each spring and close in the fall.  Will this help dissipate the moisture enough to prevent mold?


I have recently installed Edubuntu in my school computer lab computers so that the students can become familiar with the Linux environment. It's going well except I tried to install the Basic 256 application in Edubuntu, but I am facing problems with it.  The terminal commands which I used are shown below:  saint@saint-System-Product-Name:~$ sudo apt install basic256 [sudo] password for saint:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package basic256 saint@saint-System-Product-Name:~$


Word order: Can a sentence start with its object?

Can the following sentence be considered as grammatically correct? :  "That(,) he doesn't need any more."


I know this has been asked and answered here but since I don't have enough rep to ask a clarifying question to the person who answered it I am having to post a completely different question.  I am trying to perform zonal stats on a geotiff with 6 bands (RGB and three thermal and NIR bands). Like the post below it only calculates the stats on the first band.     In the screen shot in the above post, it appears that you can select a specific band when you select the "Input value raster", however mine doesn't look like this. I simply get the Raster Datasets rather than the Raster Bands.   So my question is, how do I get the individual bands so I can calculate zonal stats on each band in this way? Is it that I have to somehow export single bands as new rasters - if so how do you go about doing this?


How do you delete a folder that contains spaces?

So I finally got my Ubuntu box up and running, ran the LAMP install, and successfully loaded up the apache2 webserver, and php5.  The one thing I didn't want is for Ubuntu during the installation to take one whole 1TB drive that contained a ton of stuff, but it was a backup drive so no biggie.  But now I was transferring pics to the /var/www location and it copied a directory that contains spaces. Terminal seems to hang when I use the rm command, any ideas would be appreciated, thanks guys.


How can I type this format of equation in latex?

I specifically want braces on right side of the set of equations in given format.


NullPointerException at Graphics2d.drawImage() without null objects

I'm making a game engine and got stuck at one point.  g.drawImage(BPaint.g2dToImage(bgo.render()), 100, 100, null);   does NullPointerException, even though I check EVERYTHING that connects to Image parameter. The code is used in paintComponent(Graphics) method, written below.  @Override public void paintComponent(Graphics g){     g2d = (Graphics2D) g;     g2d.setColor(Color.BLACK);     g2d.fillRect(0, 0, getWidth(), getHeight());     BWindow current = BWindow.getCurrentBWindow();     if (current != null) {         for (BGO bgo : current.getBGOs().getBgos()) {             g.drawImage(BPaint.g2dToImage(bgo.render()), 100, 100, null);         }     } }   This is pretty forward, but you may be stuck while reading at 2 methods - bgo.render() and BPaint.g2dToImage.  BGO is game object, which has Graphics2d method  public Graphics2D render(){     if (bgsu == null) {         return sprite.getGraphics();     } else {         return bgsu.getRule();     } }   Ignoring BGSU, because it is null, and not used, sprite is an object containing Graphics2D that I want to get. Now to BPaint.g2dToImage(Graphics2D), a method turning Graphics2D to Image.  public static Image g2dToImage(Graphics2D g){     JLabel j = new JLabel();     j.paintAll(g);     return j.createImage(null); }   After checking everything that should not be null, I don't really know the cause. I hope you can tell me. Below is full stacktrace of NPE. (line 34 is line of method in beginning)  java.lang.NullPointerException at sun.awt.image.ImageRepresentation.startProduction(ImageRepresentation.java:732) at sun.awt.image.ImageRepresentation.drawToBufImage(ImageRepresentation.java:807) at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:1021) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3318) at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3296) at bdk.bjgl.components.BGraphics.paintComponent(BGraphics.java:34) at javax.swing.JComponent.paint(JComponent.java:1056) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1572) at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1495) at javax.swing.RepaintManager.paint(RepaintManager.java:1265) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$4.run(RepaintManager.java:824) at javax.swing.RepaintManager$4.run(RepaintManager.java:807) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:807) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:782) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.java:731) at javax.swing.RepaintManager.access$1300(RepaintManager.java:64) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager.java:1720) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:726) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


Consider:  char *p=NULL; free(p) // or delete p;   What will happen if I use free and delete on p? If a program takes a long time to execute, say 10 minutes, is there any way to reduce its running time to 5 minutes?


It seems a simple apt-get remove apache2 does not completely remove apache2 as I can still see it on one of the processes when running top. How does one remove apache2 completely on his ubuntu server?  It's not removed indeed:  ~# which apache2 /usr/sbin/apache2 ~# whereis apache2 apache2: /usr/sbin/apache2 /etc/apache2 /usr/lib/apache2 /usr/share/apache2 /usr/share/man/man8/apache2.8.gz   But when I do apt-get remove apache2 again:  # apt-get remove apache2 Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


Did Dumbledore know during Tom Riddle's time at Hogwarts that Riddle was the heir of Slytherin?

I remember in The Chamber of Secrets during the flashback scene that while Dumbledore distrusted Riddle, there didn't seem to be any indication that he knew that Tom was the one unleashing the basilisk. That said, we also know Dumbledore is a great chess master and may not have had a reason to show he knew at that time. At the same time, we can't know if Dumbledore could at the time verify Hagrid's innocence (or even knew of it himself). It wasn't until Armando Dippet retired that Dumbledore was able to hire Hagrid, and at that point there may or may not have been several intervening years for Dumbledore to discover the true culprit.  Is there conclusive canon evidence to show if or if not Dumbledore knew the true culprit during the first time the chamber was opened?


How to calculate hash value of a file in Java?

I wrote the following program to calculate SHA-256 hash value of a string in Java:  public class ToHash {      public static void main(String[] args)  {          byte[] data = "test".getBytes("UTF8");         MessageDigest digest = MessageDigest.getInstance("SHA-256");         byte[] hash = digest.digest(data);         System.out.println(new BASE64Encoder().encode(hash));      } }   Well, that works fine. In the next step I want to develop it in a way to accept a file and calculate its hash value. My solution is to read whole the file in a string array and the call the digest() method on that string array. But there are two problems :   I don't have any idea how to read whole the file into an array? Currently I think I must read it line by line and append an array with the new lines! Above methodology  need a lot of memory for big files!     This is my current program to read a file:  public class ToHash {      public static void main(String[] args) throws NoSuchAlgorithmException, UnsupportedEncodingException, FileNotFoundException, IOException {         // TODO code application logic here          // The name of the file to open.         String fileName = "C:\\Users\\ghasemi\\Desktop\\1.png";         BufferedReader br = null;          try {              String sCurrentLine;             br = new BufferedReader(new FileReader(fileName));             while ((sCurrentLine = br.readLine()) != null) {                 byte[] data = sCurrentLine.getBytes("UTF8");                 System.out.println(new BASE64Encoder().encode(data));             }          } catch (IOException e) {             e.printStackTrace();         } finally {             try {                 if (br != null) {                     br.close();                 }             } catch (IOException ex) {                 ex.printStackTrace();             }         }      } }   It seems that there is no method for BufferedReader object to read whole the file with one call.


How to add space to home directory from Windows partition

I have little space in my home directory and plenty of space in my Windows partition that I don't use very much. I'm trying to move this space to my home directory.  It currently looks like that:  df -h  Filesystem      Size  Used Avail Use% Mounted on udev            3,9G  4,0K  3,9G   1% /dev tmpfs           789M  1,8M  787M   1% /run /dev/sda5        46G   40G  4,1G  91% / none            4,0K     0  4,0K   0% /sys/fs/cgroup none            5,0M     0  5,0M   0% /run/lock none            3,9G   56M  3,8G   2% /run/shm none            100M   16K  100M   1% /run/user /dev/sda7        48G   45G  806M  99% /home /dev/sda4       324G   31G  294G  10% /media/myUser/00FABDE2FABDD3DE /dev/sda3       107G   77G   31G  72% /media/myUser/F05C219E5C216118   I want to move space from /dev/sda4 to /dev/sda7.  I tried using:  sudo mount /dev/sda4 /dev/sda7  Mount is denied because the NTFS volume is already exclusively opened. The volume may be already mounted, or another software may use it which could be identified for example by the help of the 'fuser' command.   What's the correct way?


Create an interface which is similar to the material list box

How can I make a Interface which is similar to the Material-Interface within Blender via Python?    It should look like these. Could you guide me to the right direction? I don't think it's in bpy.ops, right?  Thank you very much!


Auto-generated "Comments moved to chat" comment uses HTML instead of Markdown, causing the link to appear broken

I just tried moving some comments to chat; however, the link to the chat room appears to be broken:  It turns out the link isn't really broken; instead, the auto-generated comment uses HTML anchor tags instead of Markdown. I edited the comment so the link isn't broken. Here is the original: Comments are not for extended discussion; this conversation has  been moved to chat.  Here's a screenshot of what the comment looked like:  Here's the link to the question where the problem occurred:


How to make a polygon and point shapefile line up to do a spatial join?

I have a polygon with a North_America_Lambert_Conformal_Conic coordinate system and a point shapefile which had a WGS 1984(DD) coordinate system.   I defined projection and projected both of them to North_America_Lambert_Conformal_Conic coordinate system. The two shapefiles do not overlay. If checked in the screen shot of ArcGIS 10.2, only one of the layer appears (whichever I have zoomed to).  Can someone please guide me on how I can get this to shapes to line up or overlay?   My intention is to do a spatial join on them so that I can count some point features within the polygons.


Can a wormhole be created if it has not always existed?

I know there are solutions to Einstein's field equations that give a wormhole geometry. But they are time independent. They are static. Is there a process where empty flat spacetime can evolve into a wormhole by an appropriate flow of matter and energy and negative energy?   If so, it would change the topology of spacetime. Does General Relativity permit this? How would a hole in spacetime form? What determines where the other mouth of the wormhole would be located?


Euler-Lagrange equations using $\vec{E}$ and $\vec{B}$ instead of $A^\mu$

We all know that the lagrangian for the free electromagnetic field is given by $$ \mathscr{L} = -\frac{1}{4}F^{\mu \nu}F_{\mu \nu} $$ where $ F^{\mu \nu} = \partial^\mu A^\nu -\partial^\nu A^\mu $ is the . But also we know that     Lets consider $c=1$ for simplicity. Then, doing the math, the lagrangian can be written as $$ \mathscr{L} = \frac{1}{2} (|\vec{E}|^2 - |\vec{B}|^2) $$   By applying , i.e. $$ \partial_\mu \left( \frac{\partial \mathscr{L}}{\partial (\partial_\mu \phi_i)} \right) - \frac{\partial \mathscr{L}}{\partial \phi_i} = 0 $$  where $\phi_i$ is each of the components of each field, I find $$ \vec{E} = 0 $$ and $$ \vec{B} = 0 $$ but not the Maxwell equations... What is going on?


How to remove the table header from a lightning:datatable?

I have multiple datatables on my lightning page and I need to remove the Header  element from certain tables. I cannot use direct styling in CSS because the styling would apply to ALL the tables on the page. I tried something like this but I wasn't able to reach the thead element as the Locker Services doesn't allow us to traverse through the DOM object (correct me if am wrong or is there a way?): var adjTable = component.find("adjustmentData"); //How to get the thead element here? $A.util.addClass(adjTable, 'slds-hide'); //Add my class here which might be display:none;  Before:  After:  Appreciate any kind of info/articles. Thanks in advance.


Do I have to install the first disc to grand theft auto five or can I just play the second disc. What do I need to do.


How do you measure wavelength/frequency of light

I'm sure this is a trivial question for someone who knows something about electromagnetic radiation, but: how do experimenters measure the wavelength/frequency of light? For example, how do we know that red light has $650-700~\text{nm}$ wavelength?


How do I install and switch to the Unity 2D desktop?

I  that there is now a 2D version of Unity built on . How do I install it, and once it's installed, how do I switch to it?


Installing ArcGIS Python API with deep learning dependencies

I am a GIS guy and do not know much about deep learning and AI. How can I start using ArcGIS Python API to do GeoAI ?


I need to amend my return but I already received check from IRS with my refund. Should I cash it out now or wait until I amend my return?

I need to amend my return, but I have already received a check from IRS (they approved my return that I need to amend). Should I cash out this check and then amend my return, or should I dispose this check and wait for a check from an amended return?


Is transit visa required for Munich/Frankfurt for a connecting flight?

I know this question had been asked in the past also and I had read those answers but some of them are outdated and may not hold good now. So, I am just asking it again to get the latest info.  I am holding an Indian passport and with an expired US visa. Can I travel with Lufthansa without having a transit visa from the USA to India via Munich?   As per this document, it looks an Indian citizen can travel with an expired US visa.    I also read other conflicting answers which says you can't transit via Germany if you have an expired visa.  My itinerary is  -> Boston - Munich - New Delhi with 3 hours layover in Munich.  Can anyone please help with this.  Update: Today I had sent an email to German consulate in Boston about the same and below is the reply which I had received from them.   Dear Applicant, When leaving the US while holding a valid US resident status (eg. Green Card, Visa),  no Airport Transit Visa is required.  If your resident status has expired, even if you  hold an I-797 Approval notice, please note:  The longer the time gap between, the expiration date  of the visa and the return from the USA, the higher  the likeliness of facing complications when transiting  through Germany.  The final decision whether an airplane can be boarded  or a transit zone can be entered, without a transit  visa, lies with the Airlines or German Border Police,  respectively.  Therefore the Embassy advises clients, whose US-Visa  has expired to apply for a transit visa.  Please note:  Airport transit privilege does not apply and you  will need a visitor visa  1. if you have to pick up your baggage and/or have  to check-in again (please verify with your airline).  2. if you are transiting through two or more airports  in the Schengen Countries (for example:  Miami-Frankfurt-Paris-India or  New York-Frankfurt-Munich-India).  3. if you hold an open ticket.  You will find additional information regarding airport  transit visas on our website here:  https://www.germany.info/us-en/service/05-VisaEinreise/ airport-transit-visa/924624   So, I am going to avoid my travel via Germany.


I need to solve the following logical equivalence:   (p ↔  q) ↔ ((p∧q)∨(¬p∧¬q)) I know i need to solve the problem in 2 parts, and i think i can do it with raa but im stuck. So  if someone could give me some help it would be great. Thanks


Is there an app or option that allows phone to ring for emergency contacts only when silent or Do not disturb?

I work sometimes till 4 am and my friends and the rest of the world obviously don't know in advance that I don't want to be called at 8 am.  Is there an app or setting that can allow me to have an emergency override list of people I need to be woken up for if a possible emergency arises but ignore all other calls until I wake up?    I'm familiar with the Do Not Disturb option, but it has limitations that it blocks all calls. What if there is an emergency at night?  What if I want to allow certain callers during the Do not Disturb time? Is there a way to have an emergency list that allows calls during silent?


Prove that $\frac{1}{a^{3}(b+c)} +\frac{1}{b^{3}(a+c)} +\frac{1}{c^{3}(a+b)} \ge \frac{3}{2}$ if abc=1  My approach A= $\frac{1}{a^{3}(b+c)}$,B= $\frac{1}{b^{3}(c+a)}$ &C=$\frac{1}{c^{3}(a+b)}$  A.M$\ge$G.M  $\frac{A+B+C}{3} \ge ({ABC})^{\frac{1}{3}}$  As abc=1  $\frac{A+B+C}{3} \ge ({\frac{1}{(b+c)(a+c)(a+b)}})^\frac{1}{3}$  I am struck after this step, I even tried to compare G.M$\ge$H.M but not able to eliminate the terms


Values() of HashMap returning incorrect output

To my understanding, the following code should print true in both cases, since values are some not changed.  However, when I run the following code it is printing true and false:     public class Test {     public static void main(String[] args) {         HashMap<String, Boolean> map1 = new HashMap<String, Boolean>();         HashMap<String, Boolean> map2 = new HashMap<String, Boolean>();          map1.put("true", Boolean.TRUE);         map1.put("false", Boolean.FALSE);          map2.put("true", Boolean.TRUE);         map2.put("false", Boolean.FALSE);          System.out.println(map1.equals(map2)); // prints true as expected          // prints false even though the values are indeed equal:         System.out.println(map1.values().equals(map2.values()));     }  }   Can some one help me understand why it is printing false in second case.


I want to know which structure is right when forming past perfect tense?     "She was very sad because she hadn't got the package."   or     "She was very sad because she hadn't gotten the package."   As far as I know, including Had + past participle is a must when forming past perfect tense. So basically the "She had gotten" must be the right choice but my English guide book suggests the "She had got" is right and I asked from a few of friends and they said that the "She had got" is ok and normal in British English. I don't which one should I go with and it is so important for me to know the difference since I deal with academic lessons and writings.


Where can I suggest something to Ubuntu devs?

Ubuntu torrent downloads should include the PGP signature and the SHA256SUM. That would guarantee that the PGP signature and the S256SUM (current available at releases.ubuntu.com) aren't tampered.


A sequence $\{a_n\}$ that diverges but $\displaystyle\lim_{n\to 0} |a_n-a_{n+1}| =0$

What is a sequence $\{a_n\}$ that diverges and $\displaystyle\lim_{n\to 0} |a_n-a_{n+1}| =0$


If something increase $50$ to $200$, I know that it is $400\%$ increment using common sense.  I can get this using $\dfrac{200}{50}\times 100\% =  400\%$.  If something increase $50$ to $52$, I know that it is $4\%$ increment using common sense.  But if I apply the same logic, $\dfrac{52}{50}\times 100\% = 104\%$.  What is the problem in my logic?


Derivation of the low-energy effective Hamiltonian

In the quantum mechanics, the Hamiltonian $H$ satisfies the Schroedinger equation $$ H\psi = E\psi. $$ Suppose that $P$ is a projection operator, and $Q=1-P$. The low-energy effective Hamiltonian is $$ H_{eff} = H_{PP} + \frac{H_{PQ}H_{QP}}{E-H_{QQ}}. $$ My method to do so is a combination of two algebraic equations. Recently, I found a good (L. Petersen $et~~al.$ A simple tight-binding model of spin–orbit splitting of sp-derived surface states), whose authors declared that one can obtain (EQ. 13) $$ P\frac{1}{\epsilon-H}P = \frac{1}{\epsilon-H_{eff}} $$ from a standard theorem in linear algebra. Here, I just wonder that "what's the standard theorem"? Please inform me of the omited detail in the above paper.


I'm currently looking into the how redstone works in Minecraft and I stumbled across this behaviour and I can't explain why this works.  Legend: Obsidian Block:  O Redstone Wire: |, +, - Glowstone Lamp: L  OLO LOL  |   |   Right so if I power the redstone wire, all three Lamps light up although there is no real connection to them. This however won't light the Lamp:  -+ L| O|   I read through the Minecraft wiki but there was nothing explaining this. How does this work?


I need to understand some things about direct I/O in C.  I have a toy code that uses direct I/O to write a character array and it works just fine: #include <stdio.h> #include <stdlib.h> #include <fcntl.h> #include <errno.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h>   #define MSG_SIZE 4500 #define BLOCK_SIZE 4096  int main(int argc, char **argv) {    char thefile[64];   int fd;   int write_success, bytes_to_write, block_size=BLOCK_SIZE;    // set array size to some multiple of BLOCKSIZE:   bytes_to_write = ((MSG_SIZE + block_size - 1)/block_size)*block_size;   char message[bytes_to_write]  __attribute__ ((aligned(BLOCKSIZE)));    memset(message, 0, bytes_to_write);   sprintf(message,"The curfew tolls the knell of parting day");   printf("%s\n", message);    sprintf(thefile, "diotestfile.dat");    if ((fd = open(thefile,O_DIRECT | O_RDWR | O_CREAT, S_IRWXU)) == -1) {           printf("error opening file\n");           exit(1);   }   printf("%s\n", strerror(errno));   write_success = write(fd, message, bytes_to_write);   printf("write succes?  %s\n", strerror(errno));    close(fd);   }  A cat of the output file gives the message.  But I need to be able to do this with a pointer instead an array.  If I redefine message as a pointer, that is, I replace char message[bytes_to_write]  __attribute__ ((aligned(BLOCKSIZE))); memset(message, 0, bytes_to_write);  with   char *__attribute__ ((aligned(BLOCKSIZE))) message;   message = (char *__attribute__ ((aligned(BLOCKSIZE))))calloc(bytes_to_write, sizeof(char));  then the write function returns an error of invalid argument. The things that haven't worked so far are trying several different alignment sizes, casting message to a void pointer in write(), and defining message as char *__attribute__ ((aligned(BLOCKSIZE))) message;  instead of char *__attribute__ ((aligned(BLOCKSIZE))) message;  Anyone see what I'm doing wrong?


-1 as a Quadratic Residue mod $p$ $\Rightarrow$ $p \equiv_4 1$

Suppose $p$ is odd prime.  If $x^2 \equiv_p -1$, show $(x^2)^{\frac{p-1}{2}} \equiv_p 1$, and conclude that $p \equiv_4 1$ ( I cannot get to this part for some stupid reason)  Here is what I have,   We wish to show   $(x^2)^{\frac{p-1}{2}} \equiv_p 1$  if we square both sides we have   $(x^2)^{p-1} \equiv_p 1$ **  but $x^2 \equiv_p -1$  hence ** becomes   $(-1)^{p-1} \equiv_p 1$ and $p - 1$ is even, we get   $1 \equiv_p 1$ which clearly holds.  Now how do I go from assuming   $(x^2)^{\frac{p-1}{2}} \equiv_p 1$  and concluding that $p \equiv_4 1$?   I tried saying $p \vert (x^{\frac{p-1}{2}} - 1)(x^{\frac{p-1}{2}} + 1)$   and since $p$ is prime is has to divide one of the two?


I just started using Ubuntu-Mate 16.04 and after setting everything up, I then installed my printer. The driver itself installed smoothly without any problem and it showed up in the printer menu.  But sadly it couldn't print any document. Even trying to print the test-page was merely a dream. When I looked at the Print Queue, the document actually was sent there, but in a second it got completed without any of them being printed.  I can use the printer alright in win10.  What's wrong, eh?


Path of an object in gravitational field

How do you prove that path of a satellite or a planet is a second degree curve? In other words, how do you prove Kepler's law which states that planets move in elliptical paths?


What is this business about mail and Mail? [On a CentOS box] Why mail does not work but won't return an error either while Mail works fine with the exact same syntax?  Mail is basically a link to mail, isn't it?  Sorry, this was a mixup, apparently (for historical reasons?!) there is a mail and a Mail  Nowadays it looks like they both point to the same thing, on my machine:  sr-linux> ls -l `which mail` -rwxr-xr-x    1 root     mail        66492 Jun 24  2001 /bin/mail sr-linux> ls -l `which Mail` lrwxrwxrwx    1 root     root           14 Nov 19  2001 /usr/bin/Mail -> ../../bin/mail


How to check if a variable contains a rect in Pygame?

So if I add a rect to a variable like so box = pygame.Rect(x, y, w, h)  How do I check if the variable rect holds a pygame.Rect? Ideally it would return something similar to this int = 9  #int is not a rect #box is a rect


I'm using the babel package along with the greek language and I want to insert a List of Listings in my document.  I used  \addcontentsline{toc}{section}{\numberline{}Κατάλογος Αλγορίθμων} \lstlistoflistings \cleardoublepage   and the output is   I don't care about the listings caption not showing up correctly, but I want to change the title "Λιστινγς" to something else like "Κατάλογος Αλγορίθμων" (which translates to "Table of algorithms").  Is that possible?


can i add custom disc Brakes to the front at all ?   Bike info here   Thanks


How to safely erase elements in a std::vector

I'm getting segfault errors when I use the erase() method in a class vector container.  I'm comparing two vectors and, so I want to remove from one of them the elements that are not present in the another. To do so, I'm using iterators and erase() as follow:  #include <vector>  int main () {  std::vector<int> vector1 {6,7,5,44,3,10,9,17,1}; std::vector<int> vector2 {1,2,3,5,8};  for (std::vector<int>::iterator it (vector2.begin()); it != vector2.end(); ++it) {     bool equal (false);     for (std::vector<int>::iterator jt (vector1.begin()); jt != vector1.end(); ++jt) {         if (*it == *jt) {             equal = true;             break       ;         }     }     if (!equal) {         vector2.erase(it);     } }  return 0; }   What is causing the segfault is the deletion of the last element in vector2 (8), because erase() cannot succesfully move the iterator from the previous end() position (no longer existant) to a new one.  How can this be prevented? I'm aware that unordered_set could be a proper container for this operation, but here I'm interested in vector.


I am trying to install ubuntu 12.04, but every time I get to the restart computer screen my computer freezes. Then when I try to restart my computer manually I get a black screen with a flashing -


Can I expect Gnome 3.32 in the next point release of Ubuntu 18.04?

I was looking for a PPA of Gnome 3.32 for Ubuntu 18.04.2 . But I couldn't find one . Currently Ubuntu 19.04 has Gnome 3.32 . Then Will Ubuntu 18.04.3 include Gnome 3.32 ?


How to install Wine application on particular disk

I’m new to Ubuntu so I don’t know much on how the file system works. I have Ubuntu 18.04 on my 256GB SSD and I have mounted a 1TB drive in my media directory. My question is how can I install a large AAA game (through Wine) so that the folders for the game are on the 1TB HDD?  I know that in Windows it’s easy, just select that dir as install dir in the installation wizard. I heard something that it cannot be done because of the way the file system is used in Linux. But I refuse to believe that we live in a world where Linux can’t do something Windows can...


I am new to QM but I don't really understand when to use time dependent or time independent schrodingers equation? For example, for a free particle in a box, how do we know we should use TISE. more specifically, how do you determine if a wave function should be time dependent?


Continues Line numbers printed all the environments

I am using lineno.sty package. I am using package in two column layout. I am using the lot environments like "Opening page mini page concept, Keybox, figures, tables, lot of user defined environments is used. But I can't get the line number output all the environments.   My requirement is I would like to control single command like "\linenumbers" all the environments automatically print the line numbers. Any other option is available in the lineno.sty style file or any other packages is available to create the line numbers without disturbing any environments.  My tex file coding below mentioned:  \documentclass{article}  \usepackage[switch]{lineno} \begin{document}  \linenumbers  \title{Hormonal crosstalk for root development: a combined experimental and modeling perspective} \author[1]{Junli Liu}} \author[2]{James Rowe} \author[2]{Keith Lindsey} \affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK} \editor{Wagner L. Ara\'{u}jo, Universidade Federal de Vi\c{c}osa, Brazil} \reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany } \reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil} \correspondence{%\protect\includegraphics{Saravana.jpg}\newline Keith Lindsey is Professor of Plant Molecular Biology in the School of Biological and Biomedical Science sat Durham University, UK. His research interests are in understanding how genes and signaling systems regulate the development of plants. Most of his work is with the model experimental organism Arabidopsis thaliana.\newline} \abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment. Understanding how hormones and genes interact to coordinate plant growth in a changing environment is a major challenge in developmental biology. Although a localized auxin concentration maximum in the root tip is important for root development, auxin concentration cannot change independently of multiple interacting hormones and genes. In this review, we discuss the experimental evidence showing that the POLARIS peptide of Arabidopsis plays an important role in hormonal crosstalk and root growth, and review the crosstalk between auxin and other hormones for root growth with and without osmotic stress. Moreover, we discuss that experimental evidence showing that, in root development, hormones and the associated regulatory and target genes form a network, in which relevant genes regulate hormone activities and hormones regulate gene expression. We further discuss how it is increasingly evident that mathematical modeling is a valuable tool for studying hormonal crosstalk. Therefore, a combined experimental and modeling study on hormonal crosstalk is important for elucidating the complexity of root development.} \metanote{$\dagger$Joint corresponding authors} \keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin} \firstpara{\section*{Introduction} Hormone signaling systems coordinate plant growth and development through a range of com- plex interactions. The activities of hormones such as auxin, ethylene, cytokinin, abscisic acid, gibberellin, and brassinosteroids depend on cellular context and exhibit either synergistic or antagonistic interactions. Additionally, auxin is directionally transported through plant tissues, providing positional and vectorial information during development (Vanneste and Friml, 2009).\hfilneg} \maketitle   \noindent Patterning in Arabidopsis root development is coordinated via a localized auxin concentration maximum   My output pages below mentioned    Kindly advice and provide the solution


I have ubuntu linux 32 and need to change to 64. My processor will handle 64. I upgraded to 18.04.1

This is my first time posting. I need to do the above upgrade.  I am not very tech savvy; a friend switched me from windows to linux some yrs ago. I am familiar with using the terminal a bit. Can someone please advise how to do the upgrade?


How to create ubuntu iso with extra selected packages?

I want to create a new ubuntu iso, with extra packages like mysql, pip, etc  I want to install ubuntu on all computers of our computer lab(around 300 computers). for various courses, a set of packages need to be installed. The lab has very slow Internet connection. So i'm looking for a way to create a new ubuntu iso with extra packages?


I was trying to find out the sizeof a structure, which I thought should show up as  24 bytes on my 64 bit Mac OS, instead it was shown as 32 bytes. what am i missing?   #include<stdio.h>   int main() {   struct Test{       int a;       int *b;       char *c;       float d;   }m;   int size = sizeof(m);   printf("%d\n",size);  }


Ubuntu 18.04 iso without desktop environment

I was wondering if anyone knows any link to an iso of 18.04 Desktop (not server) without a desktop environment. Sure i could install ubuntu and uninstall the desktop environment, but that would be too much work.


If a stock assures that they will never pay out any dividends in the whole future of the company, is it worth anything?

I've had this discussion a lot with friends. It is simalar to  this question:   ...But it is actually not the same. Most answers still talk about the company reinvesting now, and eventual payout in a (far) future. A really good reason for a stock to have value.  But what if a company would state they will never pay out any dividends ever? To make the case simple, let's assume the stocks also don't have voting rights and the rule is defined in the company constitution.  I notice that a lot of people still think the stock has value because the company itself can grow. My personal feeling is that the only thing is left is a ponzi scheme.  What's the truth?


Induction proof that the number of edges of a complete graph with $x$ vertices is always $\frac{x^2-x}{2}$

I am trying to prove that the number of edges of a complete graph with $x$ vertices is always $\frac{x^2-x}{2}$.  I'm having trouble figuring out this proof by induction.  I've only just started doing induction proofs and I'm not entirely sure where to begin.  Thank you very much!


Are bicategories and lax 2-categories the same?

My question is that whether the definition of bicategories is the same as the definition of lax 2-categories.  I heard that they are both week versions of 2-categories.  Are they the same? If not, how do they differ?  I would like to know answers and reference that defines these definitions rigorously.  Thank you.


How to prove $R$ is an equivalence relation where: $\forall x, y \in A$, $xRy \iff 4|(x − y)$

$A = \{ 2, 4, 6, 8, 10 \}$  I'm unsure how to 'show' that $R$ is an equivalence relation. My conclusion is it is not as $x-x$ reflexive as given any number in the set will equal $0$ therefore $4$ divides $0$ Am I Wrong?


I have the next sentence in past simple tense.  Yesterday, I went to visit my friends.  So, I make past simple with verb go in past simple form (went), but why do I need to use the verb visit in infinitive form? Why not use visited? I know that I could use on this way.  Yesterday, I went and visited my friends.  But question is, why in first case is possible just to put first verb in past simple and all other verbs in infitive after word to?


Search for a file with part of the file name in Google Drive?

There’s a folder with a file named “Physio_Invoice_June21_img001.jpg” and typing "Physio" into the search bar at the top turns up nothing. Why is this? I tried using regular expressions (including *) but it didn't help. How do I search when I only know part of the file name, and want to search all of my Google Drive?


My nikon D90 is showing FEE error on all settings and is not clicking pictures at the moment. Nikon support says the answer lies in page 26 of the User's manual but i didn't find anything helpful. I've used this lens for about a year and this is the first time this has occurred. It works with my kit lens (18-105mm AF/MF). What can be done to reset this?


This is analogous to , but I need a concrete explanation of the induction part.   Prove that $$ \sum_{n=0}^{\infty} {n+k \choose k}x^n = \frac{1}{(1-x)^{k+1}} $$ for all $k \in \mathbb{N}$ and all $x \in (-1,1)$.  My attempt:  When $k=0$, this reduces to geometric series: $\sum_{0}^{\infty}x^n = \frac{1}{1-x}$.  When $k \geq 1$, suppose $S(k) = \sum_{n=0}^{\infty} {n+k \choose k}x^n = \frac{1}{(1-x)^{k+1}}$, how can I show that it holds for $S(k+1)$?  In particular, how can I show that $S(k+1) = S(k)+xS(k+1)$?


Bibliography shows only article_key and book_key but not other references on The Legrand Orange Book template

To whom it may concern,   I compiled the Legrand Orange Book template via TeXmaker successfully. I did not modify anything on the template. However, when I am running Biber (2.13) to build bibliography section by inputting  @book{book_key,     address = {City},     publisher = {Publisher},     author = {Smith, John},     title = {Book title},     year = {2012},     volume = {3},     series = {5},     edition = {1},     pages = {123--200},     month = {1} }  @book{book_key1,     address = {City},     publisher = {Publisher},     author = {Smith, John},     title = {Book title},     year = {2012},     volume = {3},     series = {5},     edition = {1},     pages = {123--200},     month = {1} }  @article{article_key,     address = {City},     publisher = {Publisher},     author = {Smith, James},     title = {Article title},     year = {2013},     volume = {15},     number = {6},     pages = {1--8},     month = {3} }  @article{article_key1,     address = {City},     publisher = {Publisher},     author = {Smith, James},     title = {Article title},     year = {2013},     volume = {14},     number = {6},     pages = {1--8},     month = {3} }   to bibliography.bib file. Unfortunately, only references with book_key and article_key appear on the pdf but not the rest. I attempts to find the solutions myself such as deleting main.bcf and main.bbl before recompile but still cannot solve it now. Could anyone suggest me on this?


Simple Mode - Is using checkpoints to truncate the transaction log a bad practice?

I have a database with simple recovery mode. For that database I have a job running every morning. This job imports data and executes plenty stored procedures that inserts data, updates records, delete records, makes calculations... The job takes approximately 30 minutes and makes the transaction log be 10GB big. To avoid growth of the log file during the job I set the log size to 11GB. With that amount it is never autogrowing. Nevertheless it is blocking 11GB of disk space.  I just read that putting checkpoints truncates the log. So my idea is to put checkpoints at several location in my stored procedures in order to be able to minimize the size of the log (from 11GB to lot less: 3GB for instance).  Question: is it dangerous to do that take into consideration once again that I will never have to make recoveries?


Why can’t light induce a current while microwaves can?

Microwaves can induce current in a coil of wire why cant visible light do the same?


Can we have a "log out on this computer only" button?

While it's great to have the ability to clear all session cookies for all devices, I'd like the ability to log out on one computer only, and not come home to have to relogin on all of my devices. It can really be a pain.   Is there a technical reason we don't have this, or why don't we?


For which numbers $n$ does every group with order $n$ have a non-trivial center?


So I am in love with Ubutnu, but haven't really looked into the mobile platform until just recently. I think it looks beautiful, and am excited to have the power of a fully functional computer in my hand.   I have also heard of some devices being able to dual boot into both Android and the Ubuntu mobile OS. Is this the case with all Android devices, or are there only a few capable of this? If only select devices can do it, what causes them to be able to do so? (For example, do they need access to a sort of "phone bios"?)  I am looking to buy the HTC One here in a month or so when my version contract renews, but was interested if it could also run Ubuntu Mobile.   Thanks Guys!


How do I enable the source code repositories?

I need to install build-dependencies of something, how do I ensure the source code section of my software sources is enabled?


Does `mv` just unlink and relink? Or does it actually somehow change the file metainfo in place?

I was looking through a Git tutorial, where it said basically that all git mv does is remove from index, and add to index with a different name, so I wondered about how the actual mv UNIX Utility worked.


In my database the age is 1946 and when we get the log is 2046, we need 1946 as calculate the Global.age. May I ask what wrong with my code? Is that any wrong of my code?  timespan = DateTime.Now.Subtract(Convert.ToDateTime(patientInfo[0].DOB));  Global.age = Convert.ToInt32(timespan.TotalDays) / 365; log.EventLog("DoB: " + patientInfo[0].DOB); log.EventLog("Scan Page Age: " + timespan.ToString() + " " + Global.age.ToString()); this.NavigationService.Navigate(Global.bmiPage);


I am writing my thesis and using latex for first time. I would like to modify the the first page of my thesis, as it shows only name of thesis, my name etc. I would like to move all text little-bit to right-side, just on the first page, without effecting the other pages of thesis. Any idea how can I do it? I use ''right'' alignment instead of center, but it did not work.  \documentclass[a4paper,      12pt,      twoside,      openright,      cleardoublepage=empty,      numbers=noenddot,      appendixprefix,      BCOR1.5cm,      bibliography=totoc       ]{scrbook}     \thispagestyle{empty} \begin{titlepage} \begin{center}   %xyz   \end{center} \end{titlepage} \clearpage


I've been Googling around with no luck.  I'm looking for a way to do getc() or gets() or whatever that does not echo to the terminal.  I saw kbhit() but this doesn't appear to be part of ANSI.  Ideally, I'd like code that looks like  char s[100]; no_echo_gets(s); /* Won't echo to screen while being typed */ printf("%s\n", s);   Does anybody know a good ANSI compliant way to do this?


Cartesian products as sets of all functions.

I can't fully understand the general definition of the Cartesian products of an arbitrary collection of sets defined by an index set. The general definition states that it is simply the set of all functions from the index set to the union of the sets in the collection. Now since functions are formally defined as ordered pairs, how can the set of all functions generate a set of n-tuples, given that the collection contains n sets?  Thanks.


Term to define the phenomenon of explaining poorly by assuming your audience is more knowledgeable than it is on a subject

Before I get started, I am not looking for "layman's terms". That involves "dumbing down" concepts to make them simple to understand, but often result in the analogies and descriptions being inaccurate. What I am referring to is the phenomenon of a subject matter expert writing a poor or unclear explanation due to not realizing that some aspects of what they are describing are not obvious. or common knowledge in the target audience. It is something that I see repeatedly happening when reviewing software documentation and SOPs (Standard Operating Procedures) but am unsure if a word to describe the whole thing without having to explain it every time exists in english. For example, you may write extensive documentation on how to resolve Alert 1875 on System X. Your document goes into extensive detail about what logs you are looking for in order to establish the root cause of the alert, etc. And a neophyte to the team raises their hand and asks "Ok, how do I check the logs?" because the expert took for granted that people reading the document would be familiar with what convention/system/application is used to access said logs. If such a term exists in english, I would want to use it when telling someone I want my SOP to be reviewed by a person who is my contemporary but is not knowledgeable on the subject in order to catch myself being guilty of <insert-word-here> Or "Dan hasn't touched System X yet, be sure to have him review your SOP to avoid <insert-word-here>"


If a character has a higher horizontal jump speed than movement speed, is their jump paused midair once their movement is finished?

If a character has a higher horizontal jump speed than movement speed, is their jump paused mid-air once their movement is finished?  Or, do they continue moving? If so, what stops a player from jumping everywhere instead of walking?


Hide the term id on autocomplete widget  How can I hide the term id on autocomplete widget ?  I use drupal 8.


What's a common phrase that means "To put it simply though not 100% correctly"?

Like when you want to say that you'll tell a short version of something which would alter the accuracy of the original version.  I was thinking of "In a nutshell" and "To make a long story short", but I felt like those phrases did not place emphasis on the "there might be an insignificant loss of accuracy" aspect.


Functions which satisfy $f(m^2+n^2)=f(m)^2+f(n)^2$

Find all $f$: $f(m^2+n^2)$=$f(m)^2+f(n)^2$ for all $m,n\in \mathbb{N_0}$ where  $f(1)>0$,  $f\in\mathbb{N_0}$ for all inputs I did $f(0)=2f(0)^2\implies f(0)=0$ $f(1)=f(1)^2\implies f(1)=1$ From this we can get $f(2)=2, f(4)=4$ etc. easily and also use some tricks like $f(2^2+1^2)=f(5)=5, f(4)=4$ so $f(3)=\sqrt{5^2-4^2}=3$ I tried using the parametrization of Pythagorean triples but am unable to prove that $f(7)=7$ Please help


A family has two children. Given that one of the children is a boy, what is the probability that both children are boys?   I was doing this question using conditional probability formula.   Suppose, (1) is the event, that the first child is a boy, and (2) is the event that the second child is a boy.  Then the probability of the second child to be boy given that first child is a boys by formula, $P((2)|(1))=\frac{P((2) \cap (1))}{P((1))}=\frac{P((2))P((1))}{P((1))} = P((2))$ ...since second child to be boy doesn't depend on first child and vice versa. Please provide the detailed solution and correct me if I am wrong.


Im sorry, but i just want to make clear.  I have a 12/2 going from the panel through conduit (copper wire) to the double gang box.  I want to have each gfci to run independently without using the load.  Why, in case one shuts off the other isn't affected. the double gang box is standard.  the device is a leviton 20 amps.  I was told that you can run 12/2 from the panel to the first gfci black and white.  Then connect the second gfci using a jumper and attaching it to he second gfci.  Is this acceptable by code. we use a washer,dryer in the laundry and the garage heavy machinery.  so why should this be a problem running two independent? please advise and again thank you. larry


How can I widen the Windows 7 Command Prompt window?

How can I widen the Windows 7 command prompt window?   It's fixed at 80 columns in width and dragging the window edges won't let me make it any bigger than that.


Numbering of figures and tables by section if subsection=0

I am currently working on numbering my tables and figures according to the subsections which looks something like this: \documentclass[twoside, 12pt]{article}  \usepackage[english]{babel}   \usepackage{chngcntr} \counterwithin{figure}{subsection} \counterwithin{table}{subsection}   \begin{document}  \section{foo} \begin{figure} % I would like this figure to be numbered 1.1 as opposed to 1.0.1     \centering     \includegraphics[width=5cm]{pictures/Logo.jpg}     \caption{Caption}     \label{fig:my_label} \end{figure}  \subsection{xyz} \begin{figure} % I would like this figure to be numbered 1.1.1      \centering     \includegraphics[width=5cm]{pictures/Logo.jpg}     \caption{Caption}     \label{fig:my_label} \end{figure}  \section{bar}   \end{document}  Basically, whenever I include a table or figure before entering a subsection, the numbering comes out to x.0.y. Is there any way to change the numbering of the tables/figures to \counterwithin{figure}{section}, so it counts only the sections when subsection=0 and to nubering by \counterwithin{figure}{subsection} if subsection>0? Any advice is appreciated.


Which is Better Ubuntu for HP530 Notebook?

Which Ubuntu is better to install on HP 530 notebook?


Does the frequency of a organ pipe changes with its diameter? Explain

I am confused a bit does the frequency of a organ pipe have relation with its diameter or not.


Explaining the whole window manger and desktop things

So I've heard the following terms as much as I remember. Trying to find a source which describes them and their relationship to one another just does not exist. And it is confusing to say the least.  Can someone explain to me, like one would to a five year old the following terms and how the are related or correlate to each other:   Gnome KDE Unity Xorg x11 x server startx Pantheon GTK QT Window manager


I was trying to create a dual boot of Windows 8 and Ubuntu. I successfully installed Ubuntu on the hard disk but it wasn't able to boot so I went through boot-repair which said that I should put a certain file as EFI. I did that, restarted and only Acer logo appeared with nothing else. F2 didn't work, I couldn't get to BIOS any other way.  What I have tried:   Re-seat the RAM Trying to boot with other hard drives  Trying to boot from flash drive Trying to boot from CD (and all possible combinations with these three) Downloaded BIOS update from the Acer website (), but it only has a version to flash from within Windows (.exe file, but I can't boot to Windows or anything else at all) Shorted JCMOS1 jumper for 20 seconds after which the ACER logo disapeared and instead:   After I press the power key, a completely black screen appears for about 5 seconds. After that the backlight on the monitor turns on and the message "Press  to enter Setup." appears on the very bottom. Pressing F2 does nothing. If I hold Fn+Esc and then power up, system info appears (Insyde H2O EFI 3.7, Copyright... System BIOS version: v2.13, Processor type etc.) on top and the "Press F2 to enter Setup." on the bottom.    Pressing F2 removes the bottom message and scrolls one line up but nothing else. Pressing Alt+F10 removes the bottom message, scrolls about 4 lines but nothing else.   I opened the laptop completely, removed the CMOS battery for about an hour, shorted the JCMOS1 pin once again, put it back - nothing.   Any ideas are very welcome!  Thanks!


Usually when you calculate the total density of radiation of the universe you use the formula:  $$\rho_{R}=\rho_{\gamma}+\rho_{\nu}$$  Where $\rho_{\gamma}$ is the density of photons and $\rho_{\nu}$ is the density of neutrinos. I understand that this formula is valid for masless neutrinos or when you have a high enough temperature. However at the present time the neutrinos of the $C_{\nu}B$ don't have enough temperature to remain relativist, then why we still use the above equation?


"Convert.ToInt32" Behave Differently For Odd and Even Numbers

In a C# Application  Convert.ToInt32(22.5) = 22 Convert.ToInt32(23.5) = 24   Odd and Even Numbers Converting Differently! Why?


Disabling access to all tabs except one on a profile for a particular set of users

I have a set of users, who need access to one single tab or object on the existing profile. How can i do it with out of box functionality.


What are the general rules to follow if I want to design a block cipher suitable for file encryption?

Can you please tell me what should be the quality of an encryption function using a key size of 256 bits... I realized from my previous question that a simple XOR of plaintext (256 bits) with a suitable key of same size is totally unsafe, as the key  can be totally recovered by a simple known plaintext attack.  I was trying to implement my own cipher as a project for fun ! Thankyou everyone in advance... !


We have equivalent symbol \equiv, but how to write unequivalent like this


Is there a word for one side in a pair? In a conversation it would the the interlocutor, but I'm looking for a generic term.


I have a Hp laptop on which I've installed Ubuntu 16.04. My wifi is not working. I already install drivers from Additional Drivers. Ethernet is working fine.  This is the output of lspci -knn | grep Net -A3; rfkill list         02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. Device [10ec:d723]     DeviceName: WLAN     Subsystem: Hewlett-Packard Company Device [103c:8319]     Kernel modules: wl 0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no


Recommended malware/virus scanner for mac?

I have been searching for a good virus/malware scanner for my mac. But I'm scared that I might download some trashy software because all the stuff I find on google just turn out to be ads. Do you have any recommendations?


Can anyone prove this?  There is no metric d,so that (Q,d) is a connected space  Q are rationals.


How to install PostgreSQL and PostGIS on Ubuntu 13.10?

I have upgraded my OS from Ubuntu 12.10 to 13.10. I had a clean installation of 13.10 version.   Can someone please suggest which version of PostgreSQL and PostGIS can be installed on Ubuntu 13.10 version and how to install it?  I have looked at the steps given in ? But the three repos are not adding after update.   Hence that answer is not helping me.


Posting questions more specific than existing broad questions, and answering "closed as duplicate" questions which actually aren't duplicates

Recently someone asked, "" (I'll refer to this as question 1)  This question was closed as a duplicate of "" (let's call this question 2)  At first glance, the two questions do seem very similar.  However, they are actually so different that solutions which are valid for one question would be unacceptable for the other.  Question 1:   Specifically requires a Linux solution Requires the laptop as the only monitor for the PC   Question 2:   The question did not specify OS, but two answers are specifically for Windows, and the others do not actually address the problem.  The accepted answer is one of the Windows-specific answers. Uses the laptop as the second monitor for the PC (this is a fine distinction, but a very important one)   As I've outlined above, the answers for question 2 do not address question 1.  Question 2 did not originally specify an OS, so the argument goes that it is an OS-agnostic question, and would cover all similar questions regardless of OS.  But none of the existing answers provide solutions for non-Windows operating systems.  What are we supposed to do if an existing question is broad enough that it has the potential to contain answers for our more specific questions, but none of the existing answers are even remotely adequate?  In this particular case, I think it would make the most sense to reclassify it as a Windows question, since the only applicable solutions (including the accepted answer) are for Windows, and none of the provided answers to question 2 would work for question 1.  Would it be inappropriate for me to retag question 2 with windows?  Second, there is a very important distinction between using a laptop screen as the only monitor for your PC, versus using it as the second monitor for your PC.  For example, the answer I posted to question 1 involves X-forwarding the entire display of the PC to the laptop.  I think a solution that uses X-forwarding would be ideal for question 1, but it would be completely unacceptable for question 2 (or it would require a lot of additional configuration and some very contrived workarounds to even get it to work).  What would I do if I hadn't already posted my answer to question 1 before it was closed as a duplicate?  It seems to me that my only course of action would be to supply the same answer for question 2--but then I would run the risk of getting downvoted, since it is an incorrect answer for question 2.


How can I set my Ubuntu 12.04 LTS to boot to console without GUI?

So I installed Ubuntu server to run some tests on a VM. For various reasons I couldn't get a specific DEB file, and instead of using a shared folder I decided it would be a good idea to install ubuntu-desktop so I can run Firefox and grab the file directly from the web.   Now, every time I boot my machine I get the graphical interface, but I have no reason for it since I'm running tests with the LAMP server.  I tried this    And this    If anyone has any idea for a solution, I'd appreciate it.   BTW: I thought about simply uninstalling ubuntu-desktop, but I feel like I might need it in the future, so, I really just want to disable the GUI.  EDIT:  While this solution is not perfect I realized, it works for now:  On the  question, user Michael K mentions that:  " Okay another way would be to disable the lightdm service in init:  /etc/init/lightdm.conf   in there there is a section like this:  start on (filesystem and started dbus and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1 or stopped udev-fallback-graphics))   "  While this worked perfectly, I can't access the GUI with the startx command - the system just crashes. And I guess I'll need to uncomment the section to load startx.  Considering the fact that I want to keep the server running for as long as possible, having to restart it every time I want to log in the GUI is kinda unproductive.  EDIT2:  I guess it's possible simply to kill the GUI (  ) when I log in the system, it's still counter productive, but it works too.   EDIT3:   Michael K's reply worked fine. I just realized that to call the GUI I need to run lightdm and not startx


for $X$ and $Y$, two independent random variables following the densities $f_X (x) = xe^{-\frac{x^2}{ 2}} 1_{]0,+\infty[} (x)$ and $f_Y (y) =  \frac{1}{\pi \sqrt{1-y^2}} 1_{]-1,1[} (y)$ , I found that $(X,Y)$ follows   $ \frac{1}{\pi } e^{-\frac{x^2+y^2}{ 2}}1_{\mathbb{R}}(x)1_{\mathbb{R}_+^*}(y)$.  Is it the standard normal law, though we have a factor $\frac{1}{\pi} $ instead of $\frac{1}{\sqrt{\pi}}$ in the density?  Thank you!


I'm new to programming in Java (even though I'm used to code in C, html and some other languages (vaguely)).  I'm trying to create a simple Hello World program, and I'm unsure of why, and what the "static" tag does. I tried to do some research, and I came up with that the static tag makes the method work as an instance in a moment, instead of having to "launch" it (didn't quite understand it). I'm wondering where, and why to use it.  On the other hand, while I'm compiling, I found out how to make it execute, but some friends of mine have told me that I need to include a manifest, and run it as a .jar, (I'm using:  $ javac Potato.java $ java Potato   )  As a note, I would like to tell you that I'm trying to avoid using 3rd-party softward to learn programming (using the standard Notepad++ and bash).  Thank you ;)  Edit: Sorry, this was my first question.  class Potato { static String textA = "Hello There"; public static void main(String[] args){ System.out.println(textA); }    }   I got this code, and I did some mixing by creating the variable textA inside and outside of the main method.


How to configure Git to avoid committing directories with a specific pattern in their name

In my work directory, I have a list of directories that looks like this: 0 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.1 0.11 0.12   and so on. I would like to only add the directory 0 to my next commit because all the others contain lots of files and so are heavy. The thing is, I would also like to add multiple other files to my commit, also located in the same work directory. For this reason, I would like to avoid having to git add my 0 directory and then everyone of these files. Instead, I am looking for a way to commit everything but the mentioned directories that I don't want.


What happens if one brings more than 10,000 USD with them into the US?

Suppose one has $1,000,000 in a suitcase and they are flying to the US. Suppose they check the box in their customs form that says they're bringing more than $10,000 with them. They show the form to the CBP agent. What happens next?


Immigration check between Northern Ireland/Republic of Ireland and Great Britain

Do immigration checks exist between Northern Ireland and England/Scotland? (not just for flights but also ferry/bus/train) Do immigration checks exist between the Republic of Ireland and England/Scotland?


Relation between Pascal's triangle and fibonacci series.

Accidentally, I had seen this relation. I tried to find the formula  Here is my try:-  $$f_0= {{0}\choose{0}}  $$  $$f_1={{1}\choose{0}} $$  $$f_2={{2}\choose{0}}+ {{1}\choose{1}} $$  $$f_3= {{3}\choose{0}}+ {{2}\choose{1}} $$  $$f_4= {{4}\choose{0}}+ {{3}\choose{1}}+{{2}\choose{2}} $$ $$...$$  Generalizing,  $$f_n=\sum_{s+r=n,s\ge r}{{s}\choose{r}}, 0\le s,r \le n $$  How to write the correct formula of n-th term. Why this pattern is coming. I could verify using calculation for upto n=10. How to give a rigorous proof?.


Let be $\alpha, \beta, \gamma$  the angles between a generic direction in 3D and the axes $x,y,z$, respectively. Prove that $\cos^2 \alpha + \cos^2 \beta + \cos^2 \gamma =1$.  PS: the 2D case is trivial. But I can't prove the 3D case.


Non inductive proof for square of odd integers

Can we argue that the square of every odd integer is of the form $8k+1$ using non inductive proof?


Multiple developers on one git repository

I have a git repository with code from salesforce instance. The SF project is managed in eclipse (keppler version with egit plugin). I ignored the package and schema files in order to prevent conflicts. I would like to have another developer using the same instance and repository with his own Salesforce and git credentials. What are the steps that i need to perform in order to get the new developer start working with the git repository?  Here is what i tried on the 2nd developer computer: 1. Created a new SF project and didn't get the components from SF (In order to get them from the repository). 2. Shared the project, choose git and created a new local repository. 3. Setup remote repository with the path of the repository and the 2nd developer user name and pass. 4. When i'm asked to set the directory and choose the directory of the local repository, i get a notification that the directory is not empty.  That's as far as i got...i tried additional ways to set it up but none of them worked.  Thanks.


Convergence of $\sum_{n=1}^{\infty} \frac{\frac{1}{2}+(-1)^n}{n}$

Does  the following series converge?: $$\sum_{n=1}^{\infty} \frac{\frac{1}{2}+(-1)^n}{n}$$   Liebnitz test shouldn't work here...Also I try to find out the partial sum sequence but it was not so fruitful ....Please help.


Method Overloading with different return type

I am want to dig in that whether it is an ambiguity or an extra feature that is provided:   public class Foo   {      public int Bar(){        //code     }      public string Bar(int a){        //code     }  }   Any one having any experience with this, overloading on return type with different parameters should be a bad practice, is it?  But if the overloading was done on the basis of return type then why this is not working for.    public class Foo   {      public int Bar(int a){        //code     }      public string Bar(int a){        //code     }  }   As it will be unable to decide which function to call 1st or second, if we call obj.Bar(); , it should end in error do any one have any idea about it why it allows first code snippet to run.


Some question related to $f(x)= x^7 -105x +12$

This question was asked in a masters exam for which I was preparing and I had hard time solving it and still unable to do it.  Let $f (x)= x^7  - 105 x +12$ then   $f (x)$ is reducible over $ \mathbb {Q} $  There exists an integer $m$ such that $f (m)=105$  There exists an integer $m$ such that $f (m)=2$  $f (m)$ is not a prime number for any integer  $m$   I proved 1 wrong using Eisenstein criteria . But for proving or contradicting 2,3,4 there hasn't been significant progress. I tried putting integers for d. Kindly tell how to approach these.


Contour integral of $\sqrt{z^2-1}$ on $|z| = 2$

I've been wrestling with this problem (available  ):  Evaluate the integral of $f(z) = \sqrt{z^2-1}$ around the circle $\{z: |z| = 2\}$, where the branch of the square root function is chosen so that $\sqrt{2^2-1} > 0$.  I came up with the answer $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = \pi i$$ using the following argument, which seems a little like voodoo to me.  You notice that there are two points, at $z \pm 1$, where you might have to pick a branch of $log()$ to define the square root. Then, I convinced myself that as long as you exclude from your domain the real interval $-1 \le x \le 1$, the function $f(z)$ can be continuously defined (maybe the two branches somehow cancel?), and so is analytic on its domain.  Therefore you can shrink the contour of integration continuously using the Cauchy Closed Curve Integral Theorem, so that you wind up reducing it to the real integral $$2\int_{-1}^1 \sqrt{x^2-1} dx = \pi i$$  I'm not really sure the answer is correct, and I'm even less certain about the way I got it. I had a hard time convincing myself that $\sqrt{z^2-1}$ was not multi-valued on the domain. To try to get at that I tried $\sqrt{z^2-1} = \sqrt{z+1} \sqrt{z-1}$ and reasoned that the product makes the discontinuity disappear, using $$e^{\frac{\pi}{2}i}\cdot e^{\frac{\pi}{2}i} = -1 = e^{-\frac{\pi}{2}i}\cdot e^{-\frac{\pi}{2}i} $$ for the different branches of $log()$ you can choose.  I'd appreciate any input that would help me get a a better way to look at this.  Thanks!    EDIT  An attempt to use the Residue at infinity:  By substituting $z = 1/w$ you get \begin{eqnarray} \int\limits_{|z| = 2} \sqrt{z^2-1} dz &=& \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1}{w^2}-1} dw \\ &=& \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1-w^2}{w^2}} dw \\ &=& \int\limits_{|w| = 1/2} \frac{1}{w^3}\sqrt{1-w^2} dw \end{eqnarray} The integrand is analytic in $|w| \le 1/2$ except at $w = 0$, so we can apply the Residue Theorem. Near $w = 0$, $\sqrt{1-w^2} = 1 - \frac{1}{2}w^2 + \dots$, so the residue of $\frac{1}{w^3}\sqrt{1-w^2} $ at $w = 0$ is $-\frac{1}{2}$. Then the integral is $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = 2\pi i \cdot (-1/2) = -\pi i$$


In Linux, a kernel thread have a PID:    Why is that? Is a kernel thread considered to be a process? And does a "normal" thread also have a PID?


Get the sum of Total Churn_MTD(Current+2015+<2015)

how to declare 8 variables and get the total Sum,as you can see from the picture i created the 3 store procedures but dont know how to do the rest(Churn_MTD_Current_Year+Churn_MTD_Previous_Year+Churn_MTD_Less_Than_Previous_Year) then add it to (goal 2016+2015+less than 2015) then create temp table and store it there!!!!


Number of pairs of strings satisfying the given condition

We are provided with a string A (may contain repeated characters as well ). One needs to make all possible permutations of A , and find out how many pairs of strings chosen from these permutations are not similar.  Two strings are similar if we can make both of them exactly same by carrying out at most 1 swap in each of them .  Example :- if we are provided with string abcd  , then for permutation abcd , the permutations which are not similar to it are bcda , bdac , cadb , cdba , dabc , dcab . Similar is the case for other permuations as well. So overall number of desired pairs are 24*6=144 .  I tried solving it for each possible pair by approach mentioned here     But as the permutations can be large enough , I need a better approach of solving this.


Comparison between performance of block layout, file layout and object layout of pNFS

As I know, there are three type of pNFS: file layout, block layout and object layout. So, between these types, which layout reach the best performance and which layout has the worst performance.


He did not appreciate the men taking charge of the project.  vs.  He did not appreciate the men's  taking charge of the project. If sentence 2 is technically correct it seems awfully silly and affected.


A black body hypothetically absorbs all wavelengths of light and simultaneously emits all of them at the same time. Since the visible spectrum combines into white light, is true to say that emitted radiations must also appear white?


Viruses: Adaptation to a new host through repeated host jumps

A friend told me, during a 3 minute discussion, that viruses that are endemic in host $A$ and make repeated jumps to host $B$ but can't be transmitted between individuals of species $B$, may slowly adapt (through these repeated jumps) to be able to be transmitted between individuals of host $B$ and become epidemic.  I don't know much about epidemiology. I don't understand how a virus population that is endemic to host $A$ may adapt to host $B$ with repeated jumps while the viruses that jump to host $B$ are dead end because they cannot be transmitted further more. Or Are these viruses able to jump back to host $A$ to bring back their newly acquired adaptations to host $B$?  Also, I might misunderstand the meaning of "repeated host jumps transmission". I first thought it meant repeated jumps from a reservoir population in host $A$ to host $B$, but it is also possible that it describes the dynamic of a virus population that is adapted to jump from species to species and they actually gain this ability by keeping jumping and jumping. But then, how could a virus species get adapted to jump from species to species? I'm a bit confused…. Can you give me some hints about this process of cross-species transmission through repeated jumps?


Is there a way to pass arguments to a first class function in javascript?

I was wondering if there was a way to pass arguments to first class functions in javascript. For example, I am trying to pass the function as a parameter to a higher order function, but the first class function takes an argument: document.addEventListener("keydown", myFunc);  But I want to do this without calling the first class function: document.addEventListener("keydown", myFunc(arg1));


What is the purpose of a TEST instruction that has the same register for both operands?

testl   %esi, %esi jle .L7   I mean I understand that test actually ANDs the operands, but what is it doing in this case here?


If $k\geq 0$ and $k\leq\frac{n-1}{2}$, then prove that $$\binom{n}{k}\leq \binom{n}{k+1}$$.  Then prove there is equality only if $k=\frac{n-1}{2}$.


How does the Fighter's Interception style work against attacks with multiple damage types?

The Fighter's Interception fighting style reads:  When a creature you can see hits a target, other than you, within 5 feet of you with an attack, you can use your reaction to reduce the damage the target takes by 1d10 + your proficiency bonus (to a minimum of 0 damage).  How does this work against attacks that deal more than one type of damage? Does it matter if the extra damage is "gated" behind a failed saving throw?


Can I edit content on an FTP server through Finder?

Is there any way around the read-only access that Finder strictly allows so I can get write access to a FTP server through Finder?


How to search for hotels online for a room with more than one bathroom?

I tried with booking.com, and the only way seems to put in "2 bathrooms" in the name of the hotel, or simply look for apartments and hope that someone put it in the reviews or it is mentioned under the facilities. Just to make it clear, I'm not exclusively looking for apartments. It could also be suites or deluxe hotel rooms.  If there are any sites that include bathroom count (other than tripadvisor), I would very much appreciate any help I could get. I would then be able to filter out on a different site and search for their available rooms on booking.com.


Capitalising the first letter of an acronym?

I'm using the acronym package in my document and in several instances I want to start a sentence with the expanded acronym. Is there any way of telling the package to capitalise the first letter?  For example:  \acrodef{TLA}{three-letter acronym} \acrodefplural{TLA}{three-letter acronyms} ...end of one sentence. \aclp{TLA} are acronyms with three letters...   This will yield:     ...end of one sentence. three-letter acronyms are acronyms with three letters...


Can I install pantheon terminal in Ubuntu 14.04 or newer?

Is it possible to install Pantheon terminal from elementary OS on my Ubuntu 14.04 or newer LTS releases? If yes, how can I?


can we convert a raster image in to vector image?

i have designed a logo in photoshop but it has affected the quality of image and its pixels are not clear when i zoom the image really far, its looks pixelated.i have increased the size of image also increased its resolution to make image quality better but can't do it well. now i want to convert it in to vector image with the help of illustrator to improve the quality of image. can i do this?if yes, then how?


Why does destructive interference not stop a wave?

In this picture, the two waves keep moving even after undergoing destructive interference.


Find numbers $x$, $y$ such than $(x,y) = 18$ and $[x,y]= 3780$

Where $(,)$ is the greater common divisor and $[,]$ the smallest common multiple.  In general how do you solve this kind of problems?


Take a look on this code. 10/3 return 3.3333332538604736328125000 and when I multiply by 3 in a calcutor i get 9.99, but if do the same by the code i get exactly 10.00. How it's posible ?  #include <stdlib.h> #include <stdio.h>  int main() {      float v = 10.f/3.f;     float test = v*3.f;     printf("10/3 => %25.25f \n (10/3)*3 => %25.25f\n",v,test);     return 0; }   This is the assembly code without printf, compiled using default gcc 7.2.1 parameters:  0000000000400497 <main>:   400497:       55                      push   rbp   400498:       48 89 e5                mov    rbp,rsp   40049b:       f3 0f 10 05 b1 00 00    movss  xmm0,DWORD PTR [rip+0xb1]        # 400554 <_IO_stdin_used+0x4>   4004a2:       00    4004a3:       f3 0f 11 45 fc          movss  DWORD PTR [rbp-0x4],xmm0   4004a8:       f3 0f 10 4d fc          movss  xmm1,DWORD PTR [rbp-0x4]   4004ad:       f3 0f 10 05 a3 00 00    movss  xmm0,DWORD PTR [rip+0xa3]        # 400558 <_IO_stdin_used+0x8>   4004b4:       00    4004b5:       f3 0f 59 c1             mulss  xmm0,xmm1   4004b9:       f3 0f 11 45 f8          movss  DWORD PTR [rbp-0x8],xmm0   4004be:       b8 00 00 00 00          mov    eax,0x0   4004c3:       5d                      pop    rbp   4004c4:       c3                      ret       4004c5:       66 2e 0f 1f 84 00 00    nop    WORD PTR cs:[rax+rax*1+0x0]   4004cc:       00 00 00    4004cf:       90                      nop   I think mulss is rounded by a CPU feature.  For note, 10/3 in the GNU BC program returns 3.3333333333333333333333 ( *3 => 9.9999) and in SciLab returns 3.3333333333333334813631 ( *3 => 10).


I've got an application I'd like to move to EC2. It will likely spend more than half the day completely dormant, so I'm trying to come up with a good solution for starting and stopping it as needed. It takes a few minutes to start up from nothing, so it would be nice if i could hibernate the OS for quicker resumes. I've seen a couple forum discussions on the topic of hibernation within EC2, but never anything conclusive. Has anyone found a working solution to this, or at least some resources that could help me out?


How to evaluate $ \int_{0}^{1} \frac{\ln(1+x)}{x} dx $?

How to evaluate the following integral? $$ \int_{0}^{1} \frac{\ln(1+x)}{x} dx .$$ I have expanded the numerator using Maclaurin series and the result is $$ \int_{0}^{1} \frac{x -\frac{x^2}{2} + \frac{x^3}{3} - \frac{x^4}{4}+\ldots}{x}dx. $$ And I have found out that it is $ \pi^2/12 $. Is this correct?


Can we undo operations done in a terminal, for example, file deletion through rm?  Solutions obtained:  Aliasing Undelete utilities Backup utilities  Versioning (FUSE)


I am searching for a downloadable database of administrative boundary shapes, best would be worldwide data.  I have found  but it seems a bit outdated, also the  seems interesting but I haven't found any exports based on this definition.  The detail level of the shapes is not that important as it would be used to let a user select the city/region (if not in a city or no data for that city available). A hierachical representation like Country > Region > City would be great.


Is $Z^*_5$ a group of order 4 under modular multiplication? What type is it then(isomorphic to which one)

I read that there is 2 type of group of order 4. 1. Cyclic group of order 4 and 2. Klein-4 group.  My question is $Z^*_5$ does not seem to fit either one of it by just looking at the table of operation but then why is it a group? Did I miss any thing or does it actually isomorphic to one?  Thank you the comment below so as you ask me, here is the . The problem is I don’t see why is $Z^*_5$ under multiplication isomorphic to $Z_4$ under addition. And it would be very kind if someone can provide such bijection for me to be crystal clear to me. Thanks again!  And well, what I mean by looking the same and different is like 0 in $Z_4$ playing the same role as 1 in $Z^*_5$ ,which generator in $Z_4$ is playing the same role as which in $Z_5^*$ and vice versa.


What will happen to the tailed beast if the jinchuruki is killed?

It is shown in the anime that the jinchuruki is caught and the tailed beast is extracted and sealed into the Demonic statue by the Akatsuki. What will happen if the jinchuruki is killed somewhere else? In search for Tsunade arc, during the fight between Jiraiya-Tsunade and Orochimaru, Orochimaru tries to kill Naruto as he is the jinchuruki of the nine tails. What would have happened to the nine tails if he had killed Naruto?


can some one correct this error modified one

Developer script exception from Nicomatic : quotepotential :   quotepotential: execution of AfterUpdate caused by:   System.DmlException: Update failed. First exception on row 0 with id   a0Q90000005Q9RWEA0; first error: UNABLE_TO_LOCK_ROW, unable to obtain   exclusive access to this record: [] Trigger.quotepotential: line 17,   column 1      caused by: System.DmlException: Update failed. First exception on row   0 with id a0Q90000005Q9RWEA0; first error: UNABLE_TO_LOCK_ROW, unable   to obtain exclusive access to this record: []      Trigger.quotepotential: line 17, column 1   this is my Trigger:  trigger quotepotential on Quote_Line_Item__c (after insert,after update) {     Set<Id> quoteIds = new Set<Id>();     List<Quote__c> quotes = new List<Quote__c>();     for(Quote_Line_Item__c record: Trigger.new) {     if (record.Quote1__c != null){         quoteIds.add(record.Quote1__c);     }     }     for(AggregateResult ar:[SELECT Quote1__c , SUM(Max_Batch__c)sumMax FROM Quote_Line_Item__c WHERE Quote1__c IN :quoteIds GROUP BY Quote1__c]) {       Quote__C qu=new quote__c();       qu.id=(Id)ar.get('Quote1__c');       qu.Potential__c=(Decimal)ar.get('sumMax');        quotes.add(qu);  } if(quotes.isempty() == false)     {   update quotes;   } }   we have one more button in quote email template at the time click this button i am getting exception to my mail.  the function of quote email template it will send the quote pdf into email which sending to other user  I have used the future method but i am not getting the value  hi this is the old trigger  i am sending you   trigger quotepotential on Quote_Line_Item__c (after insert,after update) { Set<Id> quoteIds = new Set<Id>(); List<Quote__c> quotes = new List<Quote__c>(); for(Quote_Line_Item__c record: Trigger.new) { if (record.Quote1__c != null){ quoteIds.add(record.Quote1__c); } } for(AggregateResult ar:[SELECT Quote1__c , SUM(Max_Batch__c)sumMax FROM Quote_Line_Item__c WHERE Quote1__c IN :quoteIds GROUP BY Quote1__c]) { Quote__C qu=new quote__c(); qu.id=(Id)ar.get('Quote1__c'); qu.Potential__c=(Decimal)ar.get('sumMax'); quotes.add(qu); } if(quotes.isempty() == false) { update quotes; } }   this was the new trigger with future method but not working   trigger quotepotential on Quote_Line_Item__c (after insert,after update) { Set<id> uniqueNames=new Set<id>(); for(Quote_Line_Item__c a :Trigger.new) { if(a.IsFutureContext__c) { a.IsFutureContext__c = true; } else { uniqueNames.add(a.id); } } if(!uniqueNames.isEmpty()) asyncApex.processAccounts(uniqueNames); }   global class asyncApex { @future public static void processAccounts(set<id> id) { Set<Id> quoteIds = new Set<Id>(); List<Quote__c> quotes = new List<Quote__c>(); for (Quote_line_item__c a : [Select Id, Name, IsFutureContext__c From Quote_line_item__c where ID IN :ID]) { a.IsFutureContext__c = true; if (a.Quote1__c != null){ quoteIds.add(a.Quote1__c); } for(AggregateResult ar:[SELECT Quote1__c , SUM(Max_Batch__c)sumMax FROM Quote_Line_Item__c WHERE Quote1__c IN :quoteIds GROUP BY Quote1__c]) { Quote__C qu=new quote__c(); qu.id=(Id)ar.get('Quote1__c'); qu.Potential__c=(Decimal)ar.get('sumMax'); quotes.add(qu); } if(quotes.isempty() == false) { update quotes; } } } }   can you correct this one .


I have unsuccessfully attempted to find how to use the Coder module with Drush. Does anyone know how should I use it?


Let $a+b\mid ab$; extrapolates the $\gcd(a,b)$

Let $a$, $b$ be a positive integers such that $(a+b)\mid ab$. Prove that $\gcd(a,b)\geq\sqrt{{a}+{b}}$. I have no idea how to approach this problem. Any hints or solutions are appreciated.


What is the difference between $=$ and $:=$?

I've encountered several usages of $:=$, for example      $$\alpha_i := \begin{cases} x_i & i \leq n \\ A & n< i \leq 2^k  \end{cases}$$   and       Since $f$ is not constant, there exist some $a,b \in A$, $a \neq b$   such that $f(a) \neq f(b)$. Take $g$ to be $g(x):=b$ for every $x \in  A$. Now $(f \circ g) (a)=f(b)$. Hence we have $(f \circ g) (a)=f(b)  \neq f(a)$, so $f \circ g \neq f$.   However, I don't understand the difference between $=$ and $:=$. Is there any? I checked  source, but it didn't help.


Go from Lombok to Labuan Bajo by bus & ferry, how to?

I am in Indonesia and been told it's possible to go from Lombok to Labuan Bajo (Flores) by bus and ferry.  I am NOT interested in doing this by any other mean (ie. plane or sailing trip).  How does this actually work?


Load external libraries in a custom block

I need to implement a custom block using JavaScript. These are the steps I took.   I created a custom module I created a custom block by creating a class which extends blockbase I created a JavaScript file I defined a library in libraries.yml file and included the JavaScript file I attached the library to the block using #attached   So far so good. In the JavaScript file, I am trying to use the open source Datatables library, but I am unable to add it.  This is the code that implements the block.  /**  * @file  * Contains \Drupal\custom_cms_blocks\Plugin\Block\TopNewsBlock.  */  namespace Drupal\custom_cms_blocks\Plugin\Block;  use Drupal\Core\Block\BlockBase;  /**  * Provides an 'Active forum topics' block.  *  * @Block(  *   id = "top_news_min_block",  *   admin_label = @Translation("Top News Min Block"),  *   category = @Translation("Custom CMS blocks"),  * )  */ class TopNewsBlock extends BlockBase {    /**    * {@inheritdoc}    */   public function build() {      //Fetch data      return array(       'type' => 'markup',       '#markup' => '

Artist / Band	Album	Song

Muse	Absolution	Sing for Absolution

',       '#attached' => array(         'library' =>  array(                 'https://cdn.datatables.net/1.10.11/js/jquery.dataTables.min.js',           'custom_cms_blocks/top-news-library'         ),       ),      );    }   }   Can you explain me how I can include an external JavaScript file in a block?


3 part question here. In terms of n, what is the maximum amount of regions that can be made by overlapping n circles? Does circle size count? Do both of the answers to the previous questions correlate with regular polygons as well?


My first Ubuntu installation was 12.04 LTS about a month ago on the desktop PC detailed below. This worked well but I forgot that if it works don't try to fix it and I upgraded to 14.04 LTS. Unfortunately this gives frequent ...Internal Error ... messages and occasionally freezes. I was learning to live with these hiccups but the latest problem is that the graphics have some how degraded to looking quite "chunky" and movement of windows around the screen is very slow. My preferred solution for now would be to revert back from 14.04LTS to 12.04LTS. Is this possible?   System details: Processor: Intel® Core™2 Quad CPU Q6600 @ 2.40GHz × 4 Graphics: VESA: G86 Board - p403h10  Monitor: Flatron L225WS  Many thanks, Arnie


How to determine if WP_DEBUG is enabled?

I believe I saw this done in a few plugins before, but it has been awhile and I have no clue what plugins offered this or how they offered it, but what I am trying to achieve is this...   I want offer a developer mode for my custom theme I'm creating.   I am running a function that if enabled will load the prettified files instead of the minified files for developers. But, I also want to load the prettified files if WP_DEBUG is enabled.   Is there a way I can check if a user has WP_DEBUG enabled?


I am building a drupal site using Views, search API module and user-points module.  I created the "database server", and indexed many fields of nodes.  I created a search page using views and the search API, that present content (image, title etc.) In addition, I want to add to every content in this search view the name of the author that wrote it, his author picture.  I add the Indexed Content: Author relationship. Unfortunately, I can't find a way to add the author picture and the current total point to my view.  Can somebody advice how to do that?


Diophantine Equation and Congruence Problem

Find all pairs $(x, y)$ of integers such that: $$1+2^x+2^{2x+1}=y^2$$ Using congruence modulo 3 and 4, I concluded that $x$ is a even integer, $y=1$ $(mod\ 12)$ but I couldn't use them to solve the problem.


What could be word for something which you can only partially remember? hardly recall/recollect?

One example could be when you meet a person (Peter Parker)  and remember only that his name starts with P or may Par.


What is the difference between $path and $PATH (lowercase versus uppercase) with zsh?

In  12, using the  shell, I noticed this difference when looking at $path (lowercase) versus $PATH (uppercase).  echo $path      /sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /usr/home/freebsd/bin   echo $PATH      /sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/home/freebsd/bin   One output is delimited by SPACE character, the other by COLON character.   ➥ Why the difference?   Are these two different, separate variables? Or does the lowercase/uppercase trigger some kind of trick or meaning I do not know about?   Is this a zsh feature? Or a feature of FreeBSD?


How do I add a file to the last local commit?

Sometimes I forget to add some files before commiting. With Mercurial I fix it this way:   hg qinit  Convert commit to patch Update patch Convert patch to commit   Can I do anything like this with Git?


I've got the same problem as mentioned here    i.e.   $ nc -l 3206 Ncat: bind to :::3206: Address already in use. QUITTING.   Can someone give a 1 line command without pages of explanations, references and alternative methods, on how you free up this port...


# include <stdio.h> # include <stdlib.h>     int main(int argc, char *argv[]) {     int daytab[2][13];     int (*daytab)[13];     int *px;      return EXIT_SUCCESS; }   I am studying pointers and having difficulty reading the int (*daytab)[13] declaration. int *px is read as px is a pointer to a int.  How do you read int (*daytab)[13]?


$2^{199}\sin(π/199)\cdots\sin(198π/199)$ Sine Product Series

What will be the value of $2^{199}\sin(\pi/199)\cdots\sin(198\pi/199)$ ? I could have found in case the functions were cosine but what should i do in case of sine?


I am from the Philippines and going to travel to Sweden next month. My flights are:   Cebu (CEB)-Singapore (SIN) with AirAsia Singapore (SIN)-London (LGW) with Norwegian Air UK London (LGW)-Göteborg (GOT) with Norwegian   Every flight is with a different airline, so I need to get my baggage and check them in again. My layover time is 3 hours and 10 minutes in Singapore and in London 3 hours and 40 minutes. I will stay only inside the airport.  I hold a residence permit, which is valid for two years and I have a complete confirmed plane ticket (all flights). But I am confused whether I need to get a transit visa, since I will check in every airport, even if it's a connecting flight, especially at Gatwick Airport in London.  Just in case, do I need to have a transit visa? Can I get it at the airport upon arrival?  Thank you.


Wondering if there is any math symbol for the greek letter $U$? I know $\mu$. Any similiar looking symbol that I can draw in latex?


Average # of tracks that must be heard on a CD, whose player's shuffle function can play the same song >1×, before all tracks of CD heard.

Suppose you have a CD of $n$ tracks. Your CD player's shuffle function is broken; it selects a random song, possibly even the one(s) already played, before all tracks are played. How many tracks (possibly duplicates), on average, does one need to listen to to hear every song at least once?  The solution to this problem is $n H(n)$ where $H(n)$ is the n$^\mathrm{th}$ harmonic number.  How is this derived?


"Please join me, my family and [my] crew." Can the second "my" be left out?

Is it proper to say:     Please join me, my family and crew in celebrating my Bat Mitzvah?   Or should there be a 'my' before crew?


skip page count on blank pages in openright, twoside style

How to skip page counting on blank pages created automatically by openright option? I have tried two solutions, , but none works for me.  Let's say page 9 is the last page of chapter 1 and page 10 is a blank page. The chapter 2 is starting with page 11 on the right currently which is correct except for the page number which should be 10. I want to modify the page numbers only and not to remove the blank page or change the openright. Hope that it's clear now.