Does the word zealous have an implicit religious connotation?

Earlier today I was describing someone to a friend. I said, "I never realized how zealous he was." I meant for the meaning of zealous here to be religiously zealous. Without an adverb, I would implicitly associate the word zealous with religion. But now I am thinking about it, and perhaps this is not the case.  So does the word zealous have an implicit religious connotation? Or is the object of zealousness too ambiguous without an adverb or other context?


Prove that $(\frac{bc+ac+ab}{a+b+c})^{a+b+c} \ge \sqrt{(bc)^a(ac)^b(ab)^c}$  I tried it to do using $AM \ge GM$ but don't know how to proceed.  Please help.


Integrate $e^{-(x^2-b^2)^2}$ over the real line

I want to integrate $e^{-(x^2-b^2)^2}$, with $x$ takes value in the whole real line. I tried polar coordinates but cannot figure it out. Can anyone provide some hints here?


What tools could I use on Ubuntu 16.04 to cut mp4 files into several clips?

I am trying to cut a long video into several small pieces. Any recommended tools can do the task?


Filling k different sized boxes with n objects

Is there a known mechanism to count the number of ways in which I can fill $k$ boxes of various sizes, $r_1,...,r_k$, with $n$ objects without counting permutations of objects within a box as a separate allocation.  e.g. Suppose $n=3$, $k=2$, $r_1=1$, and $r_2=2$. Then, there are 3 objects and 2 boxes. Box 1 can fit 1 object and box 2 can fit 2 objects. Also, if object 1 in box 1 and objects 2 and 3 in box 2 is an allocation that is counted, I would not like to additionally count object 1 in box 1 and objects 3 and 2 in box 2.  Any guidance would be greatly appreciated!


Power failed during 16.04 LTS to 17.10 upgrade after successful download of files

Download of files successful. Power failed about halfway through build.  Have used the tools in grub, e.g fsck to no avail.  Is there a root command that will restart the build from the new files? I'm unable to get to login, network, etc.  I can get in as root from grub restore menu. Norm13


In the dopesheet, setting a new keyframe between two existing keyframes overwrites keyframe data

I'm a technical artist at an indie game studio.  Actually, this is an issue that one of our artists is having, and he screenshared his process with me over Google Hangouts. This is what I observed:   He would set the beginning (A) and and end (B) keyframes for a 3-key idle cycle. When creating the middle keyframe (C), he would select a single channel in the dopesheet editor and a single object in 3D View. The transform values applied when setting keyframe C would also be expressed in keyframe B. This was confirmed both while posing and while playing the animation (Alt + A).   The strange part is that I couldn't reproduce this behavior when I tested the .blend file on my end. The artist also noted that this was the first time he had encountered the behavior, as he'd successfully produced 15 animations for our project earlier this year without issue.  We haven't found any similar issues when searching Google, which leads me to believe it is a setting somewhere which allows the user to overwrite keyframes which are already set later in the timeline. Feel free to comment with any suggestions of human error, as well.  A few final notes:    I am using Blender 2.67 while our artist is using 2.69. I am on a Mac while he's using Windows. We are testing a file which the artist created and shared with me via Dropbox.   Thanks in advance for your help. Any insight would be greatly appreciated.


Let $f:I\to \mathbb{R}$, $f$ is $C^{n+1}$ and $a\in I$. Then $$f(a+h)=f(a)+f'(a)h+\cdots+\frac{f^{(n)}(a+\theta_n h)}{n!}\cdot h^n,$$ where $\theta_n = \theta(h)$ with $0<\theta<1$.  Show that if $f^{n+1}(a)\neq0$, then $\lim_{h\to 0} \theta_n(h)=\frac{1}{n+1}$.  I know Taylor-formula with Lagrange remainder, but I don't have idea how to calculate this limit.


Is there a good PS2 emulator for Ubuntu 13.10?

Is there a good ps2 emulator for ubuntu 13.10.I want a stable ps2 emulator to play on ubuntu


What are the dimensions of a common seat in a plane? I can only find info about the pitch and the width.


How to access an LVM partition on an external USB disk?

I have a external USB disk that is format using LVM. There are 2 logical partitions inside the LVM partition. When I plug it I can see the disk with GParted, but the disk partitions are not shown in the file manager. Nor is the command to mount the partitions enabled in GParted.  How can I mount the 2 partitions and access them from Ubuntu 17.04?


Java: Clearing up the confusion on what causes a connection reset

There seems to be some confusion as well contradicting statements on various SO answers:  . You can see here that the accepted answer states that the connection was closed by other side. But this is not true, closing a connection doesn't cause a connection reset. It is cauesed by "an underlying TCP/IP error."  What I want to know is if a SocketException: Connection reset means really besides "unerlying TCP/IP Error." What really causes this? As I doubt it has anything to do with the connection being closed (since closing a connection isn't an exception worthy flag, and reading from a closed connection is, but that isn't an "underlying TCP/IP error."  My hypothesis is this  Connection reset is caused from a server's failure to acknowledge an ACK packet (either wholly or just improperly as per TCP/IP). And that a SocketTimeoutException is generated only when no data is generated to be read (since this is thrown during a read after a certain duration, and read is waiting for data, but is not concerned with ACK packets). In other words, read() throws SocketTimeoutException if it didn't read any bytes of actual data (DATA LAYER) in its allotted time.


Got stuck in proving monotonic increasing of a recurrence sequence

I'm stuck with the prove of the following recurrence sequence which was part of and old exam.  $a_1:=\frac{1}{2}, a_{n+1}:=a_n(2-a_n)$ for $n \in \mathbb{N}$   I have to show that $0 <a_n < 1$ and as a second part (b), that its monotonic increasing (That's where I got stuck) and as a thid part (c) the convergence and limit of the sequence  a) My approach was to use induction to show that the sequence is upper and lower bounded: Base case: $ n=1, a_1 < 1 = \frac{1}{2} <1 $ ok Inductive step: $n\rightarrow n+1$ $a_{n+2} = a_{n+1}(2-a_{n+1}) < 1$      Then my idea was to rewrite it as using the given definition from $a_{n+1}$: $a_{n+2}=a_n(2-a_n)(2-(a_n(2-a_n))$  and I know that $a_n<1$ Then I used the base case that $a_n=\frac{1}{2}<1$ so that I've got $ 0 < \frac{3}{4}*(2-\frac{3}{4}) = 0.9375 <1$   Question: Is this right?  b) For the second part of the task, to show montonic increasing I know that $a_{n+1} \leq a_n$ or $a_{n+1}-a_n\leq 0$ $a_{n+1}=a_n(2-a_n)  \geq 0 \Leftrightarrow a_n-a_n^2 \geq 0 \Rightarrow a_n^2-a_n \geq 0$ Here I got stuck:    Question: How do I make the final conclusion?  c) Limes: $a_n \rightarrow a$ $a=a(2-a) \Leftrightarrow a=2a-a^2 \Rightarrow a^2-a=0$ Solving gives $a_1=1$ and $a_2=0$ Because the sequence is monotonic increasing it converges and it must be $>0$ so the $\lim(a_n) =1$  Question: Is that conclusion "exact", I mean can I use this conlcusion or is there something missing?  Best Regards, Christoph


What is this insect species? It lives in damp places in a cocoon like structure and can protrude its head from both ends

Lives in damp places and can protrude head from both directions, 1 cm long approximately


Swap F keys to perform functions without Fn key

My laptop has a function key which turns F keys into keys which change volume or brightness. I would like to swap a number of them so that they perform that function under normal operation and are an Fx key while the function key is being held.  I assumed that the function keys were just normal keys codes with the set of keys being large enough to include all the possible speical keys. I tried to so as this tutorial suggests () and use xev to obtain the key codes and then would use xmodmap to swap their value.  This does not seem to work though. The F12 key gives the xev output:  KeyPress event, serial 41, synthetic NO, window 0x4a00001,     root 0xb1, subw 0x0, time 468005, (23,-15), root:(89,37),     state 0x10, keycode 96 (keysym 0xffc9, F12), same_screen YES,     XLookupString gives 0 bytes:      XmbLookupString gives 0 bytes:      XFilterEvent returns: False   Which I think is to be expected. However, the Increase Volume button give this response:  KeymapNotify event, serial 41, synthetic NO, window 0x0,     keys:  65  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0               0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0    And so does the Decrease Volume key. How can I perform the swapping of the keys that I would like?  Thank you


Issue with creating URL to invoke email functionality in Lightning

I keep getting this error:  The value of the p3_lkid parameter contains a character that is not allowed or the value exceeds the maximum allowed length. Remove the character from the parameter value or reduce the value length and resubmit. If the error still persists, report it to our Customer Support team. Provide the URL of the page you were requesting as well as any other related information.   We are using Lighting. My intent is when someone clicks on the button on the opportunity layout, it sends an email to two individuals and uses the classic HTML email template. Please note that my logic had the real email addresses. Any help would be greatly appreciated! Thank you!  /_ui/core/email/author/EmailAuthor?p3_lkid={!Opportunity.Id}&retURL=%2F{!Opportunity.Id}&p6="Special Offer: "&{!Opportunity.Special_Offer__c}&"-Account: "&{!Opportunity.Account}& "- License Seats: "&{!Opportunity.Licensed_Seats__c}&p24=xxxxx@greathorn.com;xxxxxxxx@greathorn.com&template_id=00X1P000000Z2Hp


Proving that $(p-3)!+2^{p-2} \equiv 0 \ (\mathrm{mod} \ p)$ if $p \geq 3$ is prime

Let $p \geq 3$ be a prime number.  How to prove that $(p-3)!+2^{p-2} \equiv 0 \ (\mathrm{mod} \ p)$?  My idea was to use Wilson's theorem:  Since $p$ is a prime it follows that $(p-1)! \equiv -1 \ (\mathrm{mod} \ p)$.  $\Rightarrow 1 \cdot \cdot \  \cdot (p-2)(p-3)+2^{p-2} \equiv -1 \ (\mathrm{mod} \ p)$  Then $1 \cdot \cdot \  \cdot (p-2)(p-3)+2^{p-2} +1 \equiv 0 \ (\mathrm{mod} \ p)$  Now I'm not sure what to do next. Is this way right or how can it be shown correctly?


Width adjustment or Defining Width for Lightning actions

When creating a Lightning action (with action type as Custom Visualforce or Lightning Component), there is no provision to specify the width (of the modal pop-up). While this can be achived by including custom CSS to the class 'slds-modal__container', I'm not sure if that's the right way to go. Im assuming here that Salesforce or Lightning platform first defines width of the modal pop-up and then resizes contents within according the to the outer HTML element width. If we apply custom CSS, then it will most possibly act on the Outer HTML but not on all of the inner content. is my assumption correct? If yes, then what is the right way to achieve modifying the modal pop-up width?


How to make every n'th elements in a list in a list of their own?

Say for example I have a list set up like this:  values = ['Godel Escher Bach', 'What if?', 'Thing Explainer', 'Alan Turing: The Enigma', ' 1979', ' 2014', ' 2015', ' 2014', ' Douglas Hofstadter', ' Randall Munroe', ' Randall Munroe', ' Andrew Hodges']   and I want to take every 4 elements (or whatever n i define) and put them into a list of their own, so it would then be  values = [['Godel Escher Bach', 'What if?', 'Thing Explainer', 'Alan Turing: The Enigma'], [' 1979', ' 2014', ' 2015', ' 2014'], [' Douglas Hofstadter', ' Randall Munroe', ' Randall Munroe', ' Andrew Hodges']]   My attempt was to create a for loop and iterate through all the elements and covnert them to lists as such:  values = ['Godel Escher Bach', 'What if?', 'Thing Explainer', 'Alan Turing: The Enigma', ' 1979', ' 2014', ' 2015', ' 2014', ' Douglas Hofstadter', ' Randall Munroe', ' Randall Munroe', ' Andrew Hodges'] for x in range(0,len(values),1):     values[x:x+4] = [values[x:x+4]]   However, when I try running this, I get  [['Godel Escher Bach', 'What if?', 'Thing Explainer', 'Alan Turing: The Enigma'], [' 1979', ' 2014', ' 2015', ' 2014'], [' Douglas Hofstadter', ' Randall Munroe', ' Randall Munroe', ' Andrew Hodges'], [], [], [], [], [], [], [], [], []]   So my code was what I want it to do, but it also leaves behind a couple of empty []'s, which I do not want. How can I fix this?  EDIT::: NVM, I fixed it.   I did  for x in range(0,int(len(values)/4),1):     values[x:x+4] = [values[x:x+4]]   and it worked  Thanks to those that took their time to answer this question even though in the end I did not need the help, I appreciate your time.


How can I get a variable from terminal to use it in my script?

I'm writing small programs that are allowing me to do common commands with just two or three words max like sudo apt-get update I made it upt something like that  Now I'm trying to write a script which will allow me to install programs from terminal the command is sudo apt-get install 'program'  I'm asking here how can I save the command 'program' in a variable to use it in my script so I can write in terminal inst 'program' ?


How can I prove completeness on a field in which all Cauchy sequences converge?

I've got five equivalences to prove, and four of them were easily proven; Given K an ordered field, I had to show that the five statements are equivalent:  1 - K is complete (aka every non empty with an upper bound set has a supremum).  2 - K is archimedean and has the property of the nested intervals.  3 - Every non-decrescent sequence with an upper bound converges in K.  4 - Every limited sequence on K has a converging subsequence.  5 - Every Cauchy sequence in K converges.  I showed the implications in the following order: $1 \implies 3 \implies 2 \implies 4 \implies 5$, however I can't at all prove that $5 \implies 1$. To be honest, I can't really figure out how to show that 5 implies on any other of those.  Whatever I try requires me creating a Cauchy sequence so that by hypothesis it converges, and then have some fancy result to prove one of the other equivalences, but the problem is that I can't show that any sequence I try making is a Cauchy sequence to actually make use of the hypothesis because I lack the archimedean property.  So my question is, given K an ordered field and supposing that every Cauchy sequence in K converges (and only that), how can I show that K is complete? Or even any of the other equivalences would help a lot, it would take an extra step, but still.   And for the archimedean + nested intervals part, simply proving that K is archimedean would easily save my day. Whatever I find on the internet uses the archimedean property with the every Cauchy sequence converges property to do so, but I don't think I should be able to use it to prove without having it as an hypothesis in the first place. Any ideas?


/usr/bin/env has a different output when triggered by Chrome's native messaging

I'm using  to trigger an executable file that begins with:  #!/usr/bin/env node <js code here>   The problem is that when the executable is triggered, the /usr/bin/env command has a different set of variables than when I trigger it directly from my shell. Importantly, PATH does not contain my node binary (/Users/username/.nvm/versions/node/v6.11.1/bin)  The problem only occurs when I click on the Chrome icon in my dock. If I start the Chrome browser through the command line, everything works.   I suspect the problem lies in the two ways Chrome opens (/Chrome.app/Contents/MacOS/Chrome vs clicking the dock icon), that changes the environment that the executable is run in.  How do I access the real PATH variable from within the context of Chrome's triggered executable?


How to align div in vertical centre of the body?

I need to align container in the centre as well as in the middle of the body. If I add margin-top it adds a white space above the container div and shifts the background image downwards too. I would prefer everything in percentage.  body {   margin: 0px;   height: 100%;   background-image: url("../Images/LogIn/Background.jpg");   background-size: 100% 100%; }  html {   height: 100%; }  .Container {   margin: auto;   width: 60%;   height: 80%;   background-color: white;   border-radius: 20px; }   <div class="Container"> </div>


Plain words (non-mathematical) explanation of the difference between Confidence Intervals, Standard Error of the Mean, and Standard Deviation?

As the question states, I'm interested in the difference between CIs, SEM, and SD, explained in plain words (so as to be able to communicate it to people without maths/stats background).  My current understanding (mainly gained through Googling around) is that:   CIs indicate the reliability of a measurement SEM reflects the uncertainty in the (sample?) mean and its dependency on the sample size SD informs us about the spread of the population (i.e. SD reflects the variation of the data)   Is that correct?


Show the Lie algebra is the same for $SU(2) \times SU(2)$ and Lorentz group

So I know: $$[\sigma_{I},\sigma{j}] = 2i \epsilon_{ijk} \sigma_{k}$$ So two products of this should give us the Lorentz group: $SO(4) = SU(2) \times SU(2)$  Where $SO(4)$ has 3 Lie algebra which can be expressed as one by denoting: $$J_{I}^{\pm} = \frac{1}{2} (J_{I} \pm ik_{I})$$  This gives two Lie algebra: $$[J_{I}^{\pm}, J_{j}^{\pm}] = i\epsilon_{ijk}J_{k}^{\pm}$$  But how is this related to our original product of SU(2)? I was under the impression if you have two Lie groups, $(g_{1},h_{1})$ and $(g_{2}, h_{2})$, then the product would be $(g_{1}g_{2},h_{1}h_{2})$. However, I tried that with the Pauli matrices and it doesn't work to be the same as $SO(4)$ Lie algebra. How should this be done?


I am trying to get the hang of using callback in relation to several clients receiving Icons from a server.  My code so far looks like this. Can anyone please point me in the right direction. I get a NullPointerException when i try to use the IconListener arraylist.  package p2;  import java.awt.Dimension; import java.awt.FlowLayout;  import javax.swing.Icon; import javax.swing.JLabel; import javax.swing.JPanel;  public class P2Viewer extends JPanel {     private JLabel lblIcon = new JLabel();     private IconClient iconClient;     private IconManager iconManager;      public P2Viewer(int width, int height) {         setLayout(new FlowLayout(FlowLayout.CENTER));         lblIcon.setOpaque(true);         add(lblIcon);         setPreferredSize(new Dimension(width, height));     }      public P2Viewer(IconClient iconClient, int width, int height) {         this(width, height);         this.iconClient = iconClient;         this.iconClient.addIconListener(new Listener());      }      public void setIcon(Icon icon) {         lblIcon.setIcon(icon);     }      private class Listener implements IconListener {         @Override         public void Icon(Icon icon) {             if (icon instanceof Icon) {                 setIcon(icon);             }          }      } }  package p2;  import java.io.IOException; import java.io.InputStream; import java.io.ObjectInputStream; import java.net.Socket; import java.util.ArrayList;  import javax.swing.Icon;  public class IconClient extends Thread {      private Socket socket;     private ObjectInputStream ois;     private Icon icon;     private ArrayList<IconListener> iconlistener;      public IconClient(String ip, int port) {         try{             socket = new Socket(ip, port);             ois = new ObjectInputStream(socket.getInputStream());             start();         }catch(IOException e){             System.err.println(e);         }     }      public void addIconListener(IconListener iconListener) {         this.iconlistener.add(iconListener);     }      public void run() {         while (true) {             try {                 icon = (Icon) ois.readObject();                 System.out.println("Icon received");                 for(IconListener iconList:iconlistener){                     iconList.Icon(icon);                 }                 System.out.println("Icon sent to listener");             } catch (ClassNotFoundException e) {                 e.printStackTrace();             } catch (IOException e) {                 e.printStackTrace();             }         }     } }


Will my bags be checked to my final destination?

I have a flight from Kathmandu, Nepal to Lubbock, Texas, USA on Qatar Airways with the DFW to LBB flight on American Airlines. Will my luggage be checked through to Lubbock, or will I need to collect in Dallas?


Finding the last two digits of $9^{9^{9^{…{^9}}}}$ (nine 9s)

I'm continuing on my journey learning about modular arithmetic and got confused with this question:  Find the last two digits of $9^{9^{9^{…{^9}}}}$ (nine 9s). The phi function is supposed to be used in this problem and so far this is what I've got:  $9^{9^{9^{…{^9}}}} ≡ x (\text{mod } 100)$ Where $0 ≤ x ≤ 100$  $9^{9^{9^{…{^9}}}} \text{ (nine 9s) }= 9^a$ In order to know $9^a (\text{mod } 100)$, we need to know $a (\text{mod } \phi(100))$ As $\phi(100)= 40$, we get $a = b (\text{mod } 40)$  $9^{9^{9^{…{^9}}}} \text{ (eight 9s) }= 9^b$ In order to know $9^b (\text{mod } 40)$, we need to know $b (\text{mod } \phi(40))$ As $\phi(40)= 16$, we get $b = c ( \text{mod }16)$  $9^{9^{9^{…{^9}}}}\text{ (seven 9s) }= 9^c $ In order to know $9^c (mod 16)$, we need to know $c (\text{mod } phi(16))$ as $\phi(16)= 8 $ we need to find $c (\text{mod } 8)$  As $9 = 1 (\text{mod } 8)$ $c = 1 (\text{mod } 8)$  I feel like I might have made a mistake somewhere along the way because I'm having a lot of trouble stitching it all back together in order to get a value for the last two digits. Could anyone please help me with this? Thank you!


i don't know how to download vlc in Ubuntu please help me I want to download vlc code for downloading vlc.


Recursive copying folders in C#, is there anyway?

I look at System.IO.File.Move, "move" the file to a new name.   System.IO.File.Move("oldfilename", "newfilename");   But it not enough for me to using this method.   Infact I want to recursively copy a folder and all of it's subfolders into a new path and change name of these file. anyone could take me a pieces of code?


How to voltage divide down a single ended analog signal?

I have a 0-5V Single ended analog signal coming into an A/D pin on my microcontroller.  The Micro pin can tolerate only 0-3.3V analog signal.  What can I do? Can I just add a simple voltage divider (one resistor in series and other to GND to divide the voltage when it is at 5V down to 3.3V)?  I am concerned.  Isn't this going to add noise from my ground on to this Analog signal of mine and distort it?  UPDATED with a related question: I also noticed in some circuits some folks add 'Rail to Rail Output Operational Amplifiers (like LMV321 from TI) - how exactly does this help?


Cauchy distribution characteristic function

I know that it's easy to calculate integral $\displaystyle\int_{-\infty}^\infty \frac{e^{itx}}{\pi(1+x^2)} \, dx$ using residue theorem. Is there any other way to calculate this integral (for someone who don't know how to use residue theorem)?


For any odd integer $n$, evaluate $n^3 - (n-1)^3 + \cdots + (-1)^{n-1} \cdot 1^3 = \sum_{k=1}^n (-1)^{k+1}\cdot k^3$  How would you go about solving such a problem? Any help would be appreciated.


If $x, y \in \mathbb{N^{*}}$, such that $\frac{x}{y}+\frac{y}{x} \in \mathbb{N}$, show that $x=y$.  My try: If $x$ is a multiple of $y$, such that $x \neq y$, $\frac{x}{y}$ would be greater than $1$, and natural, while $\frac{y}{x}$ would be less than $1$, so not a natural number. Same if we swap $x$ with $y$. So, in those two cases, the given sum can't be natural.  I don't know how to continue it from here. Can you help me, please? Thanks!


Shall i make mobile version of my website indexed by search engines?

I have a website with a separate version for mobile and smart phones but the user cannot open the mobile version from Desktop and vise versa the Desktop version cannot opened from Mobile device(s).  Shall i make both version and specially the mobile version indexed by search engines?


Well, this question has been puzzling me for kinda long time, many people believe that orbiting astronauts feel weightless because they are "beyond the pull of Earth's gravity"...How far from the Earth would a spacecraft have to travel to be truly beyond the Earth's gravitational influence? If a spacecraft were really unaffected by Earth's gravity would it remain n orbit? If so, what is the real reason for weightlessness in orbit?


My DVD+R (RW) is not erasable/rewritable

I just bought a Sony DVD+R but I don't know if it's either +R or +RW. I assume it is a DVD+RW since the mark "RW" is written at the bottom of the disc. Same for my built-in desktop burner, it has a "RW" mark and tiny "DVD+R DL" is written below the "RW" mark.  When I'm trying to erase the content of the DVD. I used several DVD erasers, including .  Although the software is different, the result is the same, this is the error message:    I'm not sure the DVD is really "ReWritable", because the DVD Burner I used to burn DVD said the disc status is "DVD+R". That's weird, because apparently my DVD discs are rewritable. (I'm wondering it is rewritable...)  Are the discs non-rewritable? If so, could you tell me what does the "RW" mark stand for? And also, the "AccuCORE" :) Though I'm actually wanting to know is it rewrite compatible.


The javascript timing resolution in my browsers seems to be ~8ms. How can I increase it?

I'm trying to create a simple reaction time (RT) task in javascript, and I'd like to have roughly 1 ms resolution. I've been testing some simple code to see if the distribution of RTs looks as expected. Basically, the script uses performance.now() to grab the time as soon as a key is pressed, and it compares that time to the previous key press time. In other words, I'm getting a simple distribution of times between keypresses.   To my surprise, the distribution was binned in 8ms intervals. For instance, there were peaks at roughly 120 ms, 128 ms, 136ms, etc. (decimal values are returned since I'm using performance.now()), but there were empty gaps in between. I've seen the exact same thing whether i'm using Firefox, Chrome, or Safari. What is causing this granular timing? Is this a limitation of my operating system, or of the browsers? Is there anything I can do to stop this binning and gain millisecond resolution? If it helps, I'm running OS X El Capitan on a 2012 Macbook Pro. Thanks!


Short story where a teenager can kill with his mind

I remember reading this sci-fi short story where a boy had the ability to kill people with his mind.  He would try very hard never to get angry, because once he did, he would think something along the lines of "I wish he/she would die".  I remember part of the story happened on a bus.  Does anyone know the name?


How to Undelete A Post Deleted by System or Community?

[NOTE: Not a duplicate post]  I posted in the Graphic Design stack exchange and my post got automatically deleted by "Community". I read  but it doesn't have the answer to my question, and I couldn't find any other SE questions that offer an effective answer, so I'm creating "this" new post.  My question is two-fold:  How can I undelete one of my questions that was deleted by "System" or "Community" user?  AND  If that's not possible, would I be better off just reposting?  Here is the post that got deleted:    Thanks


Assume we toss a coin 10 times, independent of each other.  Each time we can get Heads (H) or Tails (T) , regardless of whether it is fair or not.  So for example this is one possible outcome: HHHHHHHHHH ie 10 heads. Let's call this a 10-toss sequence.   The total number of possible 10-toss sequences is 2^10 because each toss has 2 possible outcomes: Heads or Tails.  --The first question is What is the meaning of 10!/(3!7!) ? The answer is that It is the total number of ways, by which we can place the three heads inside the 10-toss sequence. The order by which we place the three heads does not matter.   --The second question is : What is the total number of possible 3-head sequences? Is it 10!/(3!7!)? Some say YES. Others, say NO. A 10-toss sequence with three heads, can be this one: HHH THTHTHT. So three positions are fixed to 'heads'. The remaining seven positions can be H or T. So we have 2^7 possible 7-toss sequences. And the three heads can be anywhere in this 10-toss sequence.   So an answer can be that the total number of 10-toss sequences with 3 heads is 10!/(3!7!) multiplied by (2^7) . That is in the 10-toss sequence the number of ways by which we can place 3 heads is 10!/(3!7!). Then, we have to say something about the remaining 7-toss sequence. Each position can take Heads or Tails . So 2^7 is the possible number of this 7-toss sequence.   However, I know that the correct answer is 10!/(3!7!) and that we don't need to multiply by 2^7. But I cannot understand why.


Prove that $\prod_{d \mid n}d=n^{v(n)/2}$ where $v(n)$ is the sum of divisors function.   We have if $n=p_{1}^{a_{1}}p_{2}^{a_{2}} \dots p_{k}^{a_{k}}$ then $v(n)=(a_{1} +1)(a_{2}+1) \dots (a_{k} +1)$ substituting this in the expression  does not reach anything, is there any way to express $\prod_{d \mid n}d$  easier to relate to the expression of $v(n)$, or I can proceed to make this demonstration. Thanks


Does two different regulators act as different power supplies for MCU and Relays

I'm driving 4 coil relays with an MCU through BJTs. As I activate one by one, sometimes the third won't even turn on, and if it does, it nor anyone will turn off, as if the MCU freezed. I'm totally sure this is because of noise since Relays are 5V, the MCU is 5V and of course, the power supply is only one, and to worsen the case, it's an SMPS taken from a cellphone charger. I've improved the board by adding a 470uF decoupling capacitor very close to the MCU (ATMEGA328P), and it did indeed enhance the functionality of the MCU. Without the capacitor, it would barely turn on just one relay. Since the relays are 4, it's undoubtably the coil inductance giving the power rails a LOT of turbulence. As I've read around the Internet, the only way out of this is to use two different power supplies (and optionally an optotransistor for better isolation). One for the MCU and logical parts, and other for the relays. If you could give me a simpler solution, it'd be great, but otherwise I'd like to know if using a 12V transformer and two 7805 for each appliance is enough, or do I have to make two rectification stages or even to use two different transformers.  P.S. I've also googled on the use of Solid State Relays, but they don't seem to be very cost-efficient for this, and I don't even know if I'm going to find them available here in my country.  EDIT  The schematic is this. The 470uF cap and 10k pullup resistor in RESET pin are not present here, but I added them to the board.


I'm a Malaysian, lost passport in Italy and want to continue my trip on an emergency travel doc

I'm currently on a four-week trip with my parents. I have all flight, accommodation and transport booked up for our trip in Germany, Italy, Austria and Switzerland. We have just started our trip and I got pickpocketed and lost my passport.   Anyone know if it is possible to continue doing the trip with an emergency travel document?  According to the Malaysian government website the emergency travel document is not recognized in Germany, Italy and Switzerland. It's my parents first trip in Europe and they really need me with them.


puTTY serial (ttyUSB0) only works when run as root?

Today I had to configure some CISCO switches & routers at school, and I used a USB to serial adapter. Unlike on Windows I didn't have to install any drivers; it was recognized immediately.   When I open puTTY through GUI and tried serial /dev/ttyUSB0 I got the following error:  Unable to open connection to /dev/ttyUSB0 Unable to open serial port   I thought I'd give it a try with root permissions sudo putty and it worked, but why!?  If I do have to give root permissions to puTTY what would be the way to do it? I read gksudo is removed from 18.04 and running an app as sudo <> is not recommended.  Thanks in advance!


As far as I know, whenever we talk about a black hole, we refer to a static or stationary solution to Einstein field equations. I know the formation of a black hole can be discussed by the numerical GR, but I have never saw an analytical solution which can describe the formation of a black hole. So do anybody know that there actually exists such solution which has power to describe the formation of a black hole? Even the simplest case, for example, the spherical symmetric collapse of radiation into black hole can satisfy me very well.


Apostrophe breaking insert query in SQLite in Titanium

I am writing an application in JavaScript using Appcelerator's Titanium development platform to deploy to the Android mobile platform. I am trying to perform an INSERT to an SQLite database.  The strings whenever they have a single quote or an apostrophe entered by a user breaks the insert query. What am I doing wrong?     var db = Ti.Database.install('db/kewGarden.sqlite', 'kewGarden');    var driveByData = {     "notes" : $.row3.getValue() // User entered string };  driveByData = JSON.stringify(driveByData);  dbLib.saveRecording(saveDriveByDetailsSuccess, saveDriveByDetailsError,  {     ref_id : newdriveById,     tableName : tableName,     data : driveByData });  saveRecording : function(onSuccessCallback, onErrorCallback, options) {     var strReplaceData = options.data.replace("'", "\'");      db.execute("INSERT INTO g_temp  (ref_id, table_name, data, site) VALUES (" + options.ref_id + ",'" + options.tableName + "','" + strReplaceData + "','" + options.site + "')");        },   The docs for this database are here:


How to prove this equality about Eulerian numbers?

I want to prove the following equality where $A(k,m)$ is the Eulerian number :   $$\forall k\ge0,\sum_{k=0}^{\infty}n^k x^k = \frac{\sum_{m=0}^{k-1}A(k,m)x^{m+1}}{(1-x)^{k+1}}$$  I previously proved that the two following identities are equivalent.  \begin{align*} \sum_{n\ge0}a_nt^n &= \frac{\sum_{j=0}^{k}\beta_jt^j}{(1-t)^{k+1}} \\ \forall n\ge0 , a_n &= \sum_{j=0}^{k}\beta_j\binom{n+k-j}{k} \end{align*}  It is advised to use this previous result to prove the equality. Since I only had a combinatorial definition of the Eulerian numbers, I managed to prove the closed-form expression : $A(n,m)=\sum_{k=0}^{m+1}(-1)^k \binom{n+1}{k} (m+1-k)^n.$ So by using the closed-form expression for Eulerian numbers and the previous equivalence I need to prove that :  $$\forall n\ge1 , n^k = \sum_{j=1}^{k} \sum_{i=0}^{j} (-1)^i\binom{k+1}{i}(j-i)^k\binom{n+k-j}{k}$$  But I have no idea how to go further, I don't see how it is an improvement to prove the original equality.


Min time allowed to edit a question before closing it

Hi   Look at the bellow question. It was asked just 2 mins before and was closed immediately. I think the user was not given enough time to edit his/her question.


Polynomial of prime degree: being irreducible or having a root!

Let $p$ be a prime number. Prove that for any field $K$ and any $a \in K$, the   polynomial $x^p−a$ is either irreducible, or has a root.   it doesn't seem hard, but i have no idea.  any hint is welcomed!  thank you


How can I connect two bones head to head (not head to tail)?

I have a problem with my Armature, to be more specific, it's 3 bones which makes the problem. I have a Pony character which I wanted to rig, so I made an armature which works great, but I can't connect my Root bone to the Front legs and neck section. (see picture) I watched a few tutorials on the internet and read , but all they said was to flip the bone from the Head to Tail and connect them together. I don't want to flip, but connect Head to Head.  Can I do this? I can't move the legs and the neck/head section from the Root(Spine) bone. Here are some pictures. I marked the Root bone with a White circle and the other bones which I want to connect with Red circles.


I am working on a shader setup where a transparent yellow texture should go under a black text texture. I tried using a mix shader to put one on top of the other but I get something like above, where you get a 50/50 mix of the two. I was hoping to get 100/100 of both textures on the object, is there any way to do this? I'm not sure if a mix shader is the right node to use for this.  Node setup:


How can i set lat And long tude in Location manually?

I'd tried to set the latitude And longitude manually in application  But, after run get me an error   Code   public class Common {      public static Location NewYork; }   Configuration  public void setLocation(){     Common.NewYork.setLatitude(31.963158);  //error in this Line <--     Common.NewYork.setLongitude(35.930359);    fragmentAdapter(); }   Error  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.location.Location.setLatitude(double)' on a null object reference


What term describes the replacement of a full description of an object with a reference to one of its specific features?

What term in literary analysis describes the process in which we replace the full description of an object with a reference to just one aspect of it, e.g. 'It is a Rembrandt' instead of 'It is a painting by Rembrandt'.  Thank you!


How to change icon of an webapp created with Chromium?

I've created a webapp for a website with Chromium. The problem is that the icon it's a small size one and it doesn't look nice. How can I change the icon with one created by me?


Can indoor cable be used under a patio roof?

Are there any special requirements I should be aware of before adding lights and outlets to my covered back patio?  I know GFCI protection will be required on the outlets, but can I run regular Romex cable over soffit?  It's an open air, concrete patio and wood post construction with typical soffit ceiling. There is an empty outlet box installed on the far right of the porch, about 15-18 inches off the ground. I would like to use that, and add a second outlet closer to the french doors via conduit and THHN. I don't have a picture of the porch itself, but it can be seen behind the playground.  The ceiling material is the vinyl soffit, which I thought to be typical for porches and patios.


If two matrices are similar, the geometric multiplicities of their eigenvalues are the same

Problem  Let $A$ and $B$ be similar matrices. Prove that the geometric multiplicities of the eigenvalues of $A$ and $B$ are the same. [Hint: show that, if $B=P^{-1}AP$, then every eigenvector of $B$ is of the form $P^{-1}\vec{v}$ for some eigenvector $\vec{v}$ of A].  Attempted Proof Write $A \vec{v} = \lambda \vec{v}$.   Since $B=P^{-1}AP$, this is equivalent to saying $$B (P^{-1}\vec{v})=P^{-1}APP^{-1}\vec{v} = P^{-1}A\vec{v} = \lambda (P^{-1} \vec{v})$$ Since $P^{-1} \vec{v}$ is an eigenvector of $B$ only for eigenvalues of $A$, the dimensions of the eigenspaces must be the same. Is this proof complete?


Python Metaclass __new__ method not getting called

Based on my limited Python knowledge Metaclass is another class. In the following example I am just building a metaclass. Here I overloaded the __new__ method. My expectation is at the end of the class declaration when type.__new__() is called it will be delegated to MyMeta.__new__(). But that never happens.  print('Building MetaOne')  class MyMeta(type):       def __new__(meta, classname, supers, classdict):           print('In MyMeta:', classname)        def myfunc(self):           print ('In myfunc')   Here from MyMeta's __new__() I don't see the print.  But on the contrary if I now use MyMeta class as a meta class to another class like:  print('Building Another class') class Super(metaclass = MyMeta):       def myfunc(self):           print ('In Super myfunc')   At the end of this class I see MyMeta's __new__ is getting invoked.  Can some one please help me understand why this happens?


SED (self encrpyting disk) is crashing on system resume

I have asked this question before ( and  )  My problem is that my Self Encrypted Disk (SED) have to NOT spin down even on suspend!  I have tried , but it did not work and the disk spin downs anyway !  The problem is that if the disk spins down, because it is on suspend, it does not show the "de encryption" prompt, and boots back up on RAM, but crashed due to IO error on the disk! (that's what the disk is suposed to do !)  Anyone on how to NOT (as in NEVER) spin down a HDD ? (yes this goes against all logic but this particular case)   Thanks a lot !  Would that be useful ?   sudo hdparm -I /dev/sda [sudo] password for xqua:   /dev/sda:  ATA device, with non-removable media     Model Number:       ST500LT015-9WU142                            Serial Number:      W0VBZQQ7     Firmware Revision:  0001SDM7     Transport:          Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6 Standards:     Used: unknown (minor revision code 0x0029)      Supported: 8 7 6 5      Likely used: 8 Configuration:     Logical     max current     cylinders   16383   16383     heads       16  16     sectors/track   63  63     --     CHS current addressable sectors:   16514064     LBA    user addressable sectors:  268435455     LBA48  user addressable sectors:  976773168     Logical  Sector size:                   512 bytes     Physical Sector size:                  4096 bytes     Logical Sector-0 offset:                  0 bytes     device size with M = 1024*1024:      476940 MBytes     device size with M = 1000*1000:      500107 MBytes (500 GB)     cache/buffer size  = 16384 KBytes     Form Factor: 2.5 inch     Nominal Media Rotation Rate: 5400 Capabilities:     LBA, IORDY(can be disabled)     Queue depth: 32     Standby timer values: spec'd by Standard, no device specific minimum     R/W multiple sector transfer: Max = 1   Current = 1     Advanced power management level: 254     Recommended acoustic management value: 208, current value: 0     DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6           Cycle time: min=120ns recommended=120ns     PIO: pio0 pio1 pio2 pio3 pio4           Cycle time: no flow control=120ns  IORDY flow control=120ns Commands/features:     Enabled Supported:        *    SMART feature set        *    Power Management feature set        *    Write cache        *    Look-ahead        *    Host Protected Area feature set        *    WRITE_BUFFER command        *    READ_BUFFER command        *    NOP cmd        *    DOWNLOAD_MICROCODE        *    Advanced Power Management feature set             Power-Up In Standby feature set        *    SET_FEATURES required to spinup after power up             SET_MAX security extension        *    48-bit Address feature set        *    Device Configuration Overlay feature set        *    Mandatory FLUSH_CACHE        *    FLUSH_CACHE_EXT        *    SMART error logging        *    SMART self-test        *    General Purpose Logging feature set        *    WRITE_{DMA|MULTIPLE}_FUA_EXT        *    64-bit World wide name        *    IDLE_IMMEDIATE with UNLOAD        *    Write-Read-Verify feature set        *    WRITE_UNCORRECTABLE_EXT command        *    {READ,WRITE}_DMA_EXT_GPL commands        *    Segmented DOWNLOAD_MICROCODE        *    Gen1 signaling speed (1.5Gb/s)        *    Gen2 signaling speed (3.0Gb/s)        *    Native Command Queueing (NCQ)        *    Host-initiated interface power management        *    Phy event counters        *    Idle-Unload when NCQ is active             Device-initiated interface power management        *    Software settings preservation        *    SMART Command Transport (SCT) feature set        *    SCT Write Same (AC2)        *    SCT Features Control (AC4)        *    SCT Data Tables (AC5)             unknown 206[12] (vendor specific)        *    reserved 69[4]        *    reserved 69[7] Logical Unit WWN Device Identifier: 5000c5006a036439     NAA     : 5     IEEE OUI    : 000c50     Unique ID   : 06a036439 Checksum: correct


MacBook Pro (Retina, 15-inch, Early 2013) computer dies at 40+%

Within the last few months computer has been dying at 40+%  After dying the computer will show the low battery icon on the screen, but once charger is plugged in it shows the battery has well over the % at which the laptop should be shutting off.  This usually happens after a restart or opening the computer.  It will turn on, I sign in then it dies shortly thereafter.  Any thoughts?  From what I have read battery re-calibration should not be needed on this particular model.  Have read some bits about it being possible software issues but not sure the real cause.


Let $(a_n)_{n \geq 0}$ be a strictly decreasing sequence of positive real numbers , and let $z \in \mathbb C$ , $|z| < 1$. Prove that the sum $a_0 + a_1z + a_2z^2 + \cdots + a_nz^n +\cdots $ is never equal to zero.


Checking for continuity of functions of $\mathbb{R}^2$

There exists function $g:\mathbb{R^2}\rightarrow\mathbb{R}$ defined as follows:$$ \begin{pmatrix} x_{1} \\ x_{2}\end{pmatrix} \rightarrow\ \begin{cases}        x_1x_2*ln(x_1^2 +x_2^2),& \begin{pmatrix} x_{1} \\ x_{2}\end{pmatrix}\neq\begin{pmatrix} {0} \\ 0\end{pmatrix} \\       0, & x_1=x_2=0      \end{cases} $$ I want to check the function for continuity but the main part that I'm worried about is its continuity at zero. I checked to see if I could see some divergence by observing the individual limits of as  $(x_1,0)$ and $(0,x_2)$ as $x_1,x_2$ approach zero but both of them end up with a similar expression namely $x_10*ln(x_1+0)$ and $0x_2*ln(0+x_2)$ but beyond this I'm not sure how to confirm its continuity, I would appreciate help.


How to prove that these two matrices have the same eigenvalues?

I need some help at the following exercise:  "Prove that if $ A,B \in M_{n \times n} ( \mathbb{R})$, then the matrices $AB$ and $BA$ have the same eigenvalues."   Could you give some hint?  I thought that I could use the fact that:  If A and B are two square n×n matrices then characteristic polynomials of AB and BA coincide.  So $det(AB- λ I)=det(BA- λ I).$ How could I continue? Or is this way wrong?


I'm confused about combat; how can I hope to hit anything?

Me and my friends are pretty new to D&D and are likely getting the majority of the rules wrong. I believe I understand AC: an AC of 16 means you must roll a die (+modifier) of 16 or greater to deal damage, and anything over that AC is taken as hitpoint damage?  What I was wondering was, at level 1, I believe I have a d10 halberd and a +4 strength modifier. However, the guards we're fighting have an AC of 16, making it completely impossible to even get past their AC. So we played it as if we could group attack, i.e. add up all our attack scores then remove whatever was excess of the AC from HP. Pretty sure we're playing some rules wrong, could anybody shed some light on the subject?  Not sure which version of D&D I'm using. It's the free pdf version released in August:   I have read the armour class section of the rulebook. Is it perhaps that first you roll a d20 (+modififers) to see if you beat armour class, then you do a damage roll?


Prove or disprove that if f is continuous on a bounded set S, then f is bounded function on S

Prove or disprove that if f is continuous on a bounded set S. Then f is bounded function on S.


How to give positive contribution to site without asking questions/

My account was blocked from asking questions. Help center says to make some positive contributions to the site?  What are some of the ways that Stack Overflow expects from me?


A curve with constant curvature and torsion

I'm trying to come up with an example of a curve that has constant curvature and torsion, both exactly 1.     Let $\vec{r(t)}$ be a parametrization for the curve $\gamma$. By calculating with formulas for curvature $\kappa$ and torsion $\tau$ I got that the length of the second derivative $\dot{\vec{r}} $ must be the square of the length of the first derivative. Similarly, I got that the length of the third derivative must be a cube of the first derivative. But I couldn't get this any further. I'm guessing it could be something like a spiral... that would give us a constant curvature. And this spiral should bend...    What would be such an example?    (For definition of the curvature and torsion: )


What is the name of this font ? What template use it?

I wonder what font is used for the title and sections of this document :    I really like it and want to use it. Any example of templates that use it ? Thanks.


Null pointer exception while creating entity object

I have an entity and i am creating object for it. object is created and i can set the values. But reference shows null. I am not getting why. Please check my code:  @Entity @Table(name = "a_table") public class A {  private static final long serialVersionUID = -8674959693713707364L;  /** The id. */ @Id @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "IdOrGenerated") @GenericGenerator(name = "IdOrGenerated", strategy = "foo.IdOrGenerated") @Column(name = "id") private Long id;  private Creator creator;  public A() { }  public A(Creator pCreator) {     this.creator = pCreator; }  //setters and getters for id and creator  }   In class B i am creating object A a = new A(); when i debug and see 'a' value is null.


How can I use 'rented' fonts from Skyfonts on Latex

I have a subscription from Skyfonts and I am disappointed that LualaTex is not able to use fonts "rented" from Skyfonts. Other applications, Word, etc. are able to use these rented fonts.  Is there a known fix? Thank you     Skyfonts is a font subscription service that allows one to access a huge library of otherwise expensive fonts for a very nominal monthly fee. However, the fonts are not stored as files in the font directory (Windows) but in some encrypted form. Can fontspec be modified to access these fonts? I can share my Skyfont subscription details for anybody who can test and help find a fix.


Which one should I use for this statement      An historian can change the past   or     A historian can change the past   ?


What do you roll Insight against when the other person is telling the truth?

Frequently it comes up that characters will be talking to an NPC and one of them will say something similar to "Do I believe him?"  "Roll an insight check."  If they're lying, it's simple: an Insight vs. Bluff check.  If they're telling the truth though, what do they roll against? The other person isn't bluffing, so it's not Bluff. As far as I can see, there's nothing in the rules that talks about how to handle a roll to believe an honest person.  What I'm looking for is a mechanic where players who fail an Insight check will think that someone (who is telling the truth) is lying. The goal is to avoid the players (not characters) knowing whether the NPC is telling the truth by presence or absence of a roll, and what to do with the roll if they use insight on someone who's not bluffing.  My first thought is make it a DC 10 insight check by default. Is there a better way?


python program that counts number of days in months

I'm trying to write a  python program that lets the user input the month by number for example the month of March as 3 and outputs the number of days and that mount


I've been looking for somethig like JsHint for a while now, but aimed at verifying whether a team's coding conventions are being followed in C# instead of Javascript. I've been googlinghigh and low but I can't find anything. Do you fellow overflowers know of such a tool?  I'm ultimately thinking about making one of my own, should none currently exist.


Basic java calculator,Won't give any output

Ok so I'm teaching myself (along with the help of some youtube videos) java. So after a few videos I thought I would try and test my skills by setting up a calculator. now I had done this before with lua but its a somewhat diffrent ball game here. my issue is that no matter how i set up any variables or if/else statements, the program always ends up just skipping over the else ifs. i put a final else at the base of the code to see if it was even reaching the bottom and it was definitly, so heres my code  import java.util.Scanner;   public class calculator { public static void main(String[] args){     double Answer;     String op;     double num1;     double num2;      Scanner input = new Scanner(System.in);      System.out.print("What opperation would you like to preform? +,-,*,/, :");     op = input.nextLine();       System.out.print("What is the first number? : ");     num1 = input.nextDouble();      System.out.print("And the seccond number? : ");     num2 = input.nextDouble();       if(op == "+"){         Answer = (num1 + num2);         System.out.print(Answer);      }else if(op == "-"){         Answer = num1 - num2;         System.out.print(Answer);      }else if(op == "*"){         Answer = num1 * num2;         System.out.print(Answer);      }else if(op == "/"){         Answer = num1 / num2;         System.out.print(Answer);      }else{         System.out.print("ilikecake");     }  }  }   as you can see, i used a string for the opperation (op) variable due to the flexability of strings in this particular application, also, i couldn't figure out how to get scanner to accept a char variable. i keep getting the string can not be converted to char error so i just set it up as a string. if you can help thank you! also please ignore any akward formatting from the post, i couldn't figure out how to make the code appear properly so i did my best :/


Why do so many cinema industries have "wood" in their name?

A lot of cinema industry names end with "wood". For example, , , , , etc.  Is there any reason for this?


Should the article "the" be used twice with a proper noun starting with "the"?

If a proper noun includes the word "the" and we want to refer to it using the definite article, should "the" appear twice in succession? For example:  "Can you pass me The Who CD?" vs. "can you pass me the The Who CD?"  "The US Government passed The Hague Act" vs. "The US Government passed the The Hague Act?". (this example inspired by a comment to ).  To me the first versions seem incorrect, but the second versions sound very awkward.


Why does the The Galactic Empire/Imperial Military and First Order favor humans?

In  it states that humans (the race that originated from Coruscant) were favored over alien species. The Rebellion and later on The  Resistance seems to use more aliens , particularly in the upper ranks.     Many humans changed the course of history, from politicians to a mere slave boy turned Jedi Knight.Sheev Palpatine, who founded the autocratic Galactic Empire that ruled over the galaxy for two decades, was a human from Naboo. Many members of the Alliance to Restore the Republic's leading circle, including Mon Mothma, Bail Organa, and his adopted daughter Leia Organa were humans as well. The Galactic Empire was known to favor humans at the expense of alien species. The Empire's government and Imperial Military was dominated by humans.   And the  from Wookieepedia.     Enlistment was open to human men and women, who were trained at the   numerous Imperial Academy complexes across the galaxy, with many   members becoming enlisted personnel, officers or Stormtroopers.   Since the Empire favored humans and looked down on Aliens, it was rare   to find non-humans serving in the Imperial Military   Is their anything canonical that states why there usage was prefered?


nginx module to send a message when a server is down

I'm using nginx as a load balancer for few http servers (nodejs mostly).  I was wondering if anyone here knows a module (or a way) for nginx to inform (preferably http/s but email is also ok) that one of the instances (or more) is down. I've found many modules that enable me to configure the health check behaviour, but I need something to inform me that a server is down in some way.


This is the code which is registering the function for rewrite_endpoints():   function wpa121567_rewrite_endpoints(){  add_rewrite_endpoint( 'comments', EP_PERMALINK );  add_rewrite_endpoint( 'stats', EP_PERMALINK );  }  add_action( 'init', 'wpa121567_rewrite_endpoints' );   NOTE  I don't know if this matters but I will write it.   I have single-CPT.php which is calling  /inc/post-format/single-CPT.php like this:      <?php while ( have_posts() ) : the_post(); ?>  <?php   get_template_part( 'inc/post-format/single-debate');      ...   This is the code which is checking if array key exists, which is  inside my /inc/post-format/single-cpt.php:   ?php if( array_key_exists( 'comments', $wp_query->query_vars ) ){  the_field('comments_section');   } elseif( array_key_exists( 'stats', $wp_query->query_vars ) ) {   the_field('stats_section');   } else { // the request is for the main post  }   ?>   This is my comments.php :
 <?php // If CPT and not logged in, display a message: if ( 'debate' == get_post_type() && ! is_user_logged_in() ) { echo '
You must be logged in to post a comment.' . '
';  echo do_shortcode("[upme_login]");   } ?>     <?php if ( have_comments() ) : ?>
              <?php                 printf( _n('%d comment', '%d comments', get_comments_number(), 'outbox' ),                     number_format_i18n( get_comments_number() ) );             ?>

              <?php                 wp_list_comments( array( 'callback' => 'outbox_comment' ) );             ?>
          <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through? If so, show navigation ?>
&nbsp;<?php echo get_previous_comments_link( __( 'Older Comments', 'outbox' ) ); ?>

<?php echo get_next_comments_link( __( 'Newer Comments', 'outbox' ) ); ?>&nbsp;
                  <?php endif; ?>      <?php endif; // have_comments() ?>      <?php         // If comments are closed and there are comments, let's leave a little note, shall we?         if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) :     ?>
<?php _e( 'Comments are closed.', 'outbox' ); ?>
     <?php endif; ?>     <?php  // Don't output the comment form if CPT and user isn't logged in if ( 'debate' != get_post_type() || is_user_logged_in() ) {  comment_form(); }  ?>
 <?php } ?>    This is how the comments template is included  inside my single-CPT.php :  if ( comments_open()  )  comments_template( '', true );   I want to disable comments if if( array_key_exists( 'comments', $wp_query->query_vars ) ){  How can I do this?


Joining 2 Armatures and keeping the weights

I have two separate Armatures that I want to join together. I have no problem combining the meshes, but the problem is the bones/rigs. When you do the Object mode > join, I lose all of my weight paint on one of my armatures. Is there any way I can join two separate armatures and keep all the weight paint. I turn my models into XPS and use XNA Lara to view them, but XNAlara cannot use both armatures at once.


Is Omnipotent a self contradictory term?

I am curious as to whether omnipotent ( as defined in the sense of "can do everything") is a self contradictory term. Consider this:     Can an Omnipotent Being create something so heavy that He can't lift it?   If He can, then there are things that are so heavy that He can't lift it.   If He can't, then there is a limitation to His creating power; there are things he can't create after all.  Either way, there are things He can't do, so He is not omnipotent at all.   Note that we are not talking about God or any religious deity. We are just talking about the definition of "Omnipotent".


How many numbers from $1$ to $2^n$ will have $``11"$ as substring in binary representation?

For example say, $n = 2$. So our set is $\{1, 2, 3, 4\}$ in base $10$ and  $\{1, 10, 11, 100\}$ in base $2$. So Output $1$, because only one number i.e. $3$ is there such that it has $``11"$ in it.  For $n = 3$, we get $\{3, 6, 7\}$ as having $``11"$, so output $3$.


The space obtained by identifying the antipodal points of a circle

Take the unit circle $S^1$ in $\Bbb{R}^2$ and partition it into subsets which contain exactly two points, the points being antipodal (at opposite ends of a diameter). $P$ is the resulting identification space.   Now, what is homeomorphic to $P$? My intuition says that it must be a semicircle. But couldn't construct a homeomorphism.


Setting Environment variables in Windows 10, to be able to run Python from cmd

I want to be able to run python from cmd prompt, so I have set an environment variable name "Python" with a variable value as the path to the directory the file is in (python.exe). I then close with OK (though I do not understand why "Apply" is greyed out). I run cmd, and typing python produces: 'python' is not recognized as an internal or external command,operable program or batch file.  If I type "set" then Python is listed as a variable. I am logged on as administrator, and I have read the previous discussions on setting environment variables. Can anyone please advise me where I am going wrong? thanks


What is the opposite of widow? If A is the widow of B, then B is the ____ of A?

When one of a married couple dies, there's a word (widow or widower) to refer to the survivor, but there seems to be no word to refer to the deceased.   My wife was a widow when I met her.  How should I refer to her last husband?  Saying "ex-husband" implies they are divorced.  Saying "dead ex-husband" sounds gruesome, and implies that perhaps they were divorced when he died.


Can I wear a lapel pin through airport security?

I usually leave my lapel pin in my suit jacket, but if necessary I can pack it into my check-in luggage.  For a domestic flight within the U.S., is this something I need to worry about?


Google Analytics: Why is Avg Time on Site lower than Avg time on Page?

I have the following Custom Report set up in Google Analytics:  Metrics:   Avg Time on Page Avg Time on Site   Dimensions:   Page   So a report looks like this:  Page                    Avg Time on Page         Avg Time on Site /an-article             00:03:14                 00:00:11 /another-article        00:05:11                 00:01:07 /something-written      00:03:00                 00:00:31   Why is it that for each 'page', the 'site views' are significantly lower?


Add placeholder in registration form and removing labels

I wanna customize my registration form on drupal 7. I wanna add placeholders and remove the labels. How can I do that? Thank you


Rename getter and setter in Eclipse. Shortcut?

Does anyone know a way to rename the getter and setter of a variable when I change the name of it?  The renaming function in eclipse is very useful, but, when I need to rename some variable, after that I need to manually fix the name of the getter and setter.


C++ Difference between: Obj*& vs Obj** vs Obj&&

Title. I know the following:  Obj& : reference to an Obj Obj** : pointer to an Obj* Obj&& : reference to a Obj& EDIT: Rvalue reference  However, I do not know what fundamental differences there are between these types, nor when to use which. Any insights and help appreciated. (Also: I imagine there is no limit to this, you could syntactically speaking have an Obj***** right ? Although you probably would never want to.) EDIT: My main question is really when/why would you chose to use a ref to pointer rather than a double pointer ? Or why either is needed really.


In  to  by Eesu, Vladimir Reshetnikov proved that $$ \begin{equation} \left( 26+15\sqrt{3}\right) ^{1/3}+\left( 26-15\sqrt{3}\right) ^{1/3}=4.\tag{1} \end{equation} $$  I would like to know if this result can be generalized to other triples of natural numbers.      Question. What are the solutions of the following equation? $$ \begin{equation} \left( p+q\sqrt{3}\right) ^{1/3}+\left( p-q\sqrt{3}\right) ^{1/3}=n,\qquad  \text{where }\left( p,q,n\right) \in  \mathbb{N} ^{3}.\tag{2} \end{equation} $$   For $(1)$ we could write $26+15\sqrt{3}$ in the form $(a+b\sqrt{3})^{3}$   $$ 26+15\sqrt{3}=(a+b\sqrt{3})^{3}=a^{3}+9ab^{2}+3( a^{2}b+b^{3})  \sqrt{3} $$  and solve the system $$ \left\{  \begin{array}{c} a^{3}+9ab^{2}=26 \\  a^{2}b+b^{3}=5. \end{array} \right.  $$  A solution is $(a,b)=(2,1)$. Hence $26+15\sqrt{3}=(2+\sqrt{3})^3 $. Using the same method to $26-15\sqrt{3}$, we find $26-15\sqrt{3}=(2-\sqrt{3})^3 $, thus proving $(1)$.  For $(2)$ the very same idea yields  $$ p+q\sqrt{3}=(a+b\sqrt{3})^{3}=a^{3}+9ab^{2}+3( a^{2}b+b^{3}) \tag{3} \sqrt{3} $$  and  $$ \left\{  \begin{array}{c} a^{3}+9ab^{2}=p \\  3( a^{2}b+b^{3}) =q. \end{array} \right. \tag{4} $$  I tried to solve this system for $a,b$ but since the solution is of the form  $$ (a,b)=\Big(x^{3},\frac{3qx^{3}}{8x^{9}+p}\Big),\tag{5} $$  where $x$ satisfies the cubic equation $$ 64x^{3}-48x^{2}p+( -15p^{2}+81q^{2}) x-p^{3}=0,\tag{6} $$ would be very difficult to succeed, using this naive approach.      Is this problem solvable, at least partially?   Is $\sqrt[3]{p+q\sqrt{3}}+\sqrt[3]{p-q\sqrt{3}}=n$, $(p,q,n)\in\mathbb{N} ^3$ solvable?


An init-script does not get called on shutdown

I have set up an init-script to control the state of a VirtualBox VM:  #!/bin/sh #chkconfig: 35 99 5 #description: vTiger virtual machine  ### BEGIN INIT INFO # Provides: vtigervm # Required-Start: $local_fs # Requider-Stop: $stop_fs # Default-Start: 3 5 # Default-Stop: 0 1 2 6 # Short-Description: Manage vTiger virtual machine # Description: Utility to start and stop vTiger virtual machine on VirtualBox ### END INIT INFO  start() {     echo -n "Starting vTiger"     echo     su myuser -c '/usr/bin/VBoxManage startvm "vTiger" --type headless'     echo "Started virtual machine" >> /var/log/messages }  stop() {     echo -n "Shutting vTiger down..."     echo     su myuser-c '/usr/bin/VBoxManage controlvm "vTiger" acpipowerbutton'     while [ ! -z "`su - juhani -c '/usr/bin/VBoxManage list runningvms | grep vTiger'`" ]; do         echo -n "."         sleep 1     done     echo "Done."     echo "Stopped virtual machine" >> /var/log/messages }  status() {     echo -n "Running VMs: "     su myuser -c '/usr/bin/VBoxManage list runningvms'     echo     if [ -z "`su - juhani -c '/usr/bin/VBoxManage list runningvms | grep vTiger'`" ]; then         RETVAL=3         else         RETVAL=0     fi     echo "Queried virtual machine status" >> /var/log/messages }  echo "Called virtual machine management script with: $1" >> /var/log/messages case "$1" in   start)         start    ;;    stop)         stop    ;;    restart|try-restart|condrestart|reload)         stop         start    ;;    status)         status    ;;    *)         echo $"Usage: $0 {start|stop|restart|status}"         exit 1    ;; esac  exit $RETVAL   The system is CentOS 6.5. If I manually run service [start|stop|status] vtigervm, it works as I expect it to. If the VM is running, $? after the service vtigervm status returns 0, and 3 if it is stopped. I installed it with chkconfig and it created among a few others rc5.d/S99vtigervm and rc0.d/K05vtigervm.  The problem  When I start the system it starts the "service", but on shutdown it does not even run the scripts.  grep "virtual machine" /var/log/messages shows:  *[machine starting]* Called virtual machine management script with: start Started virtual machine *[shutdown -h now]* *[machine stopped]*   What I expect:  *[machine starting]* Called virtual machine management script with: start Started virtual machine  *[shutdown -h now]* Called virtual machine management script with: status Queried virtual machine status Called virtual machine management script with: stop Stopped virtual machine *[machine stopped]*   File permissions & etc:  # ls -lah /etc/rc0.d/ lrwxrwxrwx. 1 root root 13 7.2. 17:49 /etc/rc0.d/K05atd -> ../initd.d/atd lrwxrwxrwx. 1 root root 18 9.2. 00:06 /etc/rc0.d/K05vtigervm -> ../initd.d/vtigervm


Use mean value theorem to find $f(\xi)+f''(\xi)=0$

Question: $f\in C^2(-\infty,+\infty)$, $|f(x)|\leq 1$, $[f(0)]^2+[f'(0)]^2=4$. Prove that there exists $\xi$ s.t.  $$ f(\xi)+f''(\xi)=0. $$     I find this question in the chapter about mean value theorem, and I set up function $G=f^2+f'^2$ as usual. WLOG set $f(0)\geq 0$ and $f'(0)\geq 0$. Use Taylor mean value theorem I get  $$ f(1)=f(0)+ f'(0)+\frac{1}{2}f''(\eta). $$ Set $x=f(0)\geq 0$ I get  $$ f''(\eta)\leq 1-x-\sqrt{4-x^2}\leq -1. $$ So I get  $$ f(\eta)+f''(\eta)\leq 0 $$ I want to prove by contradition， then I assume  $\forall x\in(-\infty,+\infty)$, $f(x)+f''(x)<0$. Then I have no idea.  My question is: Is this idea correct? How to use the function $f^2+f'^2$(I haven't use it yet)?


Can I use junk for any specific need? Can I assign junk items to a dweller?


Do analytic functions on open subsets of $\mathbb{C}$ with an analytic square root form a sheaf?

I'm trying to learn algebraic geometry and am trying to think about what kinds of things are presheafs but not sheafs.    One exercise I had was to show that bounded holomorphic functions on open subsets of $\mathbb{C}$ do not form a sheaf.  This is pretty obvious: $D_1(0), D_2(0), ...$ form an open cover of $\mathbb{C}$, and $f_n: D_n(0) \rightarrow \mathbb{C}$ given by $f_n(z) = z$ is holomorphic on $D_n(0)$ and bounded, and the restriction of any $f_n, f_m$ to $D_n(0) \cap D_m(0)$ gives you the same thing.  If we had a sheaf structure, then there would be a bounded holomorphic function $g$ on $\mathbb{C}$ (necessarily $g(z) = z$) which restricts to $f_n$ on $D_n(0)$ for each $n$, which is absurd.  What about the presheaf of holomorphic functions on open subsets of $\mathbb{C}$ which have holomorphic square roots?  This shouldn't be a sheaf, but I'm having trouble seeing why, mostly because I'm not really comfortable with saying with certainty that a given function has no holomorphic square root.


How to view blocks with Text Overlay on hover?

I'm working on a Drupal 7 site and I want to achieve similar thing (view blocks with Text Overlay on hover) shown here.  under the following blocks (sub sections): Basically I would like to show text upon mouse hover just like what is shown on the above website.   MOVIE TRAILERS TRENDING MOVIES .. LATEST MOVIES etc etc    Also, can someone help how to achieve those view blocks with the navigation as listed above? Do you know this was done? I looked at , but I'm unable to achieve it.


Capacitive touch sensors, how do they work?

David mentions capacitive touch buttons in  and indeed I have read about capacitive touch buttons before like in the documentation of  which unfortunately is only available in .  But how do they work and can I easily make my own with a little microcontroller programming (and a PCB)?


How I can delete all node/field revisions?

I have a drupal 7 sites, where it keeps node and field revisions. I keep revisions for the case where by mistake a new faulty version is saved and I want to revert back.  But, now I want to clean and optimize the database so to take less space in hard disk.  What are some methods of deleting all the revisions except the current one, for all nodes/fields of the site?


Let $E\subset F\subset K$ be fields. Show that if $K$ is a field extension of finite degree over $F$ and $F$ is a field extension of finite degree over $E$ then $[K : E] = [K : F][F : E]$.     Since $F$ is a vector space over $E$ with degree $m$ and $K$ is a vector space over $F$ with degree $n$, then $K$ is a vector space over $F$. So $[K : E] = [K : F][F : E]=mn$.     I think I still miss some details need to show. Can anyone tell me what they are? Thanks!


Why is the order of topics in help center not always the same?

Almost all sites Help Center page follows this order at Asking section:   What topics can I ask about here?  What types of questions should I avoid asking? .... etc.   But I found that some sites have different order. For example, see that for . Beta sites have often different order as follows:   What types of questions should I avoid asking?  What does it mean if a question is "closed" or "on hold"?  What topics can I ask about here?    However, some beta sites have order as explained first. If we consider for meta that it is because of on-topic is under construction, then after decided, it also sometimes not followed to same. For example,  has 2nd mentioned order whereas  has 1st mentioned order though both have defined on-topics.


Working out modular arithmetic of a modulus that is coprime

Ever since I started doing work on Bézout Identity and Extended Euclidean Algorithm, I have tried to understand how to do modular arithmetic of big numbers etc. Basically, I have come up with the following problem of my own that I wish to solve:  $t = 24^3 \mod 35$  We know that $35 = 7\cdot 5$ and both $7$ and $5$ are prime numbers. I believe that there is a way of doing modular arithmetic of this nature if the modulus number is coprime like in this case.  I got as far as this: $$t = 24^3 \mod 7$$ $$t = 24^3 \mod 5$$  What do I do after? It would be great if someone could help me compute this answer as I am very keen to better understand all of this using my own examples.  Please I am new to CRT and any help of steps of calculating this would mean a lot!


Was Benjamin Franklin wrong (about conventional current)?

I am starting to see a lot of people claiming that convential current is 'wrong' because Franklin made an error when he first started investigating electrostatics, and that later scientists didn't bother correcting the mistake, but preferred to keep the 'convention' (here is a classic example: )  I always thought he didn't get it wrong. He said that current is positive in the direction that positive charge flows, and vice-versa. He of course had no way to know which side of two sticks behind rubbed actually gained or lost mass. So he wasn't wrong. What were you taught?  P.S. I can't help but feel we are lucky that he got it 'backwards', because clearly many people are confused about electrostastics (including the author of that text book!) and believe electricity has to involve electrons (an unfortunate name... why couldn't they have been named negatrons...)


Action principle, Lagrangian mechanics, Hamiltonian mechanics, and conservation laws when assuming Aristotelian mechanics $F=mv$

Define a physical system when Aristotelian mechanics $F=mv$ instead of Newtonian mechanics $F=ma$.  Then we could have action $I=\int L(q,t)dx$  rather than $\int L(q',q,t)dx$.   Is there an action principle?  Will the formula $I=\int p d q$ still hold? What will be the Hamiltonian and conservation laws look like in this case?


I've just installed Ubuntu 16.04 LTS on dual boot. I've looked for many solutions and tried them all but Chrome never starts; the logo appears on the left but no window opens.  I downloaded the deb file on google chrome website and installed it through Ubuntu Software, but it doesn't start.   I have tried installing it through the command line with   sudo dpkg -i --force-depends google-chrome-stable_current_amd64.deb sudo apt-get install -f   I have checked with uname -a and my system is 64 bit. I have also tried gdebi with the same result.   My repository universe is up to date.  I only have one display in settings>displays> so I can't turn off built-in display nor check the mirror display (I read it could be the problem as I also have a graphic card but it seems it is not in my case).  Here is what I get in the command line when I try to run Chrome from it ( the message is the same, whatever the method I used to install Chrome):  ~$ google-chrome [11831:11831:1122/114854.195473:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195493:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195508:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195515:ERROR:process_singleton_posix.cc(280)] Failed to create /home/basil/.config/google-chrome/SingletonLock: Permission denied (13) [11831:11831:1122/114854.195538:ERROR:process_singleton_posix.cc(433)] readlink failed: Permission denied (13) [11831:11831:1122/114854.195564:ERROR:process_singleton_posix.cc(256)] readlink(/home/basil/.config/google-chrome/SingletonLock) failed: Permission denied (13) [11831:11831:1122/114854.195622:ERROR:chrome_browser_main.cc(1498)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption. [11831:11868:1122/114854.209297:ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU process.   Any new approach will be much appreciated


As the topic suggests why the raindrop is spherical in shape? Why it is not triangular or bipyramidal or tetrahedral? Is centre of mass or density of water related to it?


I use an app called "GPS Tracks" to track my movements throughout the day with my iPhone 6 on iOS 9.2.1. The app often shuts down while it is actively recording in the background, which the developer indicated is something that happens when memory runs low.  Is there anything I can do to either 1) prevent iOS from shutting down a specific app for memory reasons or 2) tell iOS which apps to shut down first or 3) be warned when the app is closed by iOS.  I am ready to jailbreak it if necessary.


While running apt-get i get the following error :-  W: GPG error: https://dl.bintray.com  Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 99E82A75642AC823 W: Failed to fetch http://ppa.launchpad.net/picaso/octave/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/picaso/octave/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/samrog131/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found  W: Failed to fetch http://ppa.launchpad.net/samrog131/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found  E: Some index files failed to download. They have been ignored, or old ones used instead.   I have tried a number of solutions each of which failed. I can't install any software using sudo apt-get update in their script now :( I have already tried system updates, trying to contact the keyserver (which always returns a timeout)


I am stuck in a seemingly simple but strange thing. I am finding sinks in an area by LiDAR data. after finding the sinks, I want to determine their elongation and for this purpose I use minimum bounding rectangle tool. I have the area and the length of the rectangles, and I divide the area by length to obtain width. after having the width, I divide the length by width. But the problem is that I get a very high number for ELG and it does not look like it. I will attach the pictures .sink


Why don't I get out of while loop if I enter correctly 2 variables?

I have this java code and I tried to check by system output the variables if it's all good and I don't get out of while loop, why? I insert alex as username and mihai as password and I don't get out of while loop. And I think it is really strange cuz everything is ok right?  boolean isGoodUandP = false;  String username = ""; String password = "";  while (isGoodUandP == false) {     System.out.print("Please enter username: ");     Scanner sUsername = new Scanner(System.in);     username = sUsername.nextLine();     System.out.println("username este " + username);      System.out.print("Please enter password: ");     Scanner sPassword = new Scanner(System.in);     password = sPassword.nextLine();     System.out.println("parola este " + password);      if ((username == "alex") && (password == "mihai")) {         isGoodUandP = true;         System.out.println("Bine ati venit!");     } }


Does the uncertainty principle affect event horizons?

I was thinking about black holes. For a simple black hole the event horizon is given by a distance of 2 times mass (energy) of the black hole. (2m).  But according to quantum mechanics, if you try to calculate the energy of a black hole during a very short time frame the energy becomes uncertain. Only over a long time frame can you get a precise energy.   Therefore from that reasoning, does it mean that the event horizon distance is actually fluctuating? And so the black hole is kind of vibrating?  For a black hole when viewed at the scale of the plank time would the horizon be fluctuating on the scale of twice the Planck length?   Does this mean particles can escape from a black hole?  Is that correct?


python re match equivalent in javascript

In Python, you can use re.match(pattern,str) to get the matched groups through "()". For example, if I have:  str = "My name is Derek Last Name" re.match("My name is (.+)",str).group(1) //output is "Derek Last Name"   Is there a way to achieve the same functionality in Javascript?  Thanks  Derek


I have opened a link on my FaceBook and downloaded an executable file, unfortunately i run this file, now my browser automatically opens a new tabs that go to some one site which contains a counter like this photo:    then this site redirects me to the adfly site. also this virus makes an icon in the task bar called "Shutdown Windows" when i right click this icon i have three options Restore, Minimize and Exit. Exit makes my computer shutdown!!  How to remove this virus?  I'm using Win7


How to create this pattern of hexagon parts in Inkscape

What is an easy way to create this pattern in Inkscape?    So far using Creat Tiled Clones I have been able to achieve following outputs:   This is without alteration on the column. As you can see the pattern shifts down.  If I enable the per columen alternation I get following result. Now the gap between the columns varies, because the horizontal shift changes its sign as well as as the vertical.    About the scaling I'm not even sure where to start. The Scale tab, does not help, because I need to scale the segments individually, but the original is single combined path.


Full-form links to answers are no longer oneboxed in chat

I have noticed that a link to an answer is no longer oneboxed when used in the format https://site/questions/question-id#answer-id. They are still oneboxed in the format https://site/a/answer-id. You can see some experiments with this . For example, https://meta.stackexchange.com/questions/313295/on-which-stack-exchange-do-you-get-the-quickest-answers#313296 is  while https://meta.stackexchange.com/a/313296  .   In the past, both formats used to be oneboxed. Here is . EDIT: As pointed out in  the example I linked uses the old format https://site/questions/question-id/question-title/answer-id#answer-id which has been changed recently. Still, I suppose that the links in the format provided by the SE site probably should be oneboxed. (When the links had the old format, they used to be oneboxed.)  This is probably also a reason why the question feeds when posted in chat are now displayed differently. Compare the post  and about . Both of them come . It is the feed of the question  on Mathematics meta.     Just to address the comments saying that the format which is currently non-oneboxed is non-standard (because it differs from the "share" link): This is format of the link you get in the address bar when you land on an answer on a SE site using almost any reasonable way I can imagine. (Up to some modifiers such as noredirect=1, lq=1,  rq=1, cb=1, etc.) For example, try clicking on https://meta.stackexchange.com/a/313296  If you then check the address bar, you can see the link looking like this: https://meta.stackexchange.com/questions/313295/on-which-stack-exchange-do-you-get-the-quickest-answers#313296.  Another fact which can be considered as a supporting evidence that this could be considered - at least to some extent - a standard format it the fact that this is what you got from feeds until a very recent change. Here is  of a message posted in a chatroom from question feed which has exactly this format. I suppose that there were some changes to feeds functionality, since message from the same feed posted yesterday .  (As a side note, the advantage of the format which contains both question-id and answer-id is for searching purposes. If you post it in chat or save it in a local file or do something else, you can find the link when you search for question-id and also when you search for answer-id.)


How to block all USB storage devices in Ubuntu

I need to block all USB storage devices (pendrives & mobile devices) but I need to access USB keyboard and USB mouse.  I have already tried by editing /etc/modprobe.d/blacklist.conf by adding blacklist usb_storage but still the system can access USB devices.


How do I do add superscript[1] and add description at the end of the page? Is there any easy way?    [1] Adding description below the page and using numbers as superscripts


Can you use a lowercase letter after an apostrophe at the beginning of the sentence?

Let me start by saying that I'm aware you're supposed to capitalize the first letter after an apostrophe at the beginning of the sentence. My question is can I not. I have this inspiring piece of dialogue: “’kay" and I really much prefer it with the 'k' lowercase. Is that completely incorrect, or can I make the stylistic choice?


Why isn’t the hostname command getting the FQDN from /etc/hostname?

I set the hostname.  # more /etc/hostname kafka01.ocff4.com   The hostname is still as follows.  hostname kafka01   I restart using the following command.   systemctl restart systemd-hostnamed   But still, hostname does not show the FQDN.  hostname kafka01   Why did systemctl restart systemd-hostnamed not take affect? Is it a bug?


Boxplot equivalent for heavy-tailed distributions?

For approximately normally distributed data, boxplots are a great way to quickly visualize the median and spread of the data, as well as the presence of any outliers.  However for more heavy-tailed distributions, a lot of points are shown as outliers, since outliers are defined as being outside of fixed factor of the IQR, and this happens of course a lot more frequently with heavy-tailed distributions.  So what do people use to visualize this kind of data? Is there something more adapted? I use ggplot on R, if that matters.


Download MacOS Mojave to USB-Drive from a Windows PC [MacStore not accessible without Mac?]

I'm having a very hard time repairing a broken Mojave->Catalina update on a MacBook Pro from 2015 for a friend of mine.   This is what happened: After doing the Update, the Mac wouldn't start up anymore (stating "couldn't install Catalina").   I tried to finish it in internet recovery mode without success, couldn't even do a backup. I did the backup via Terminal onto an external hdd.  Hardware check states all hardware is OK. There are sadly no timemachine backups available as the user didn't backup.  Order of what i have tried so far:  #1 installation of Catalina fails at bootup with message "error creating kernel caches" #2 recovery mode attemps to finish Catalina install, after finishing bootup again fails with message "error creating kernel caches" #3 resetting NVRAM does not help #4 internet recovery mode: same error #5 use DiskUtil to backup Data - after running for some time fails with read/write error #6 why did DiskUtil fail? 'DiskUtil list' shows 19 volumes - googling points me to Catalina-Installer bug which creates spurious additional drives #7 how to fix this? no idea #8 backup files using terminal to a external hdd #8 try Catalina Install from USB  #9 realize there is no way of creating a Mac-OS USB from Windows or Linux #10 realize it isn't even possible to download the image from win/linux #11 being frustrated with Apple   It seems that during the update, the Catalina-Installer made spurious additional volumes, like stated . I have no idea how to fix this besides trying a clean install from a USB - which i don't even know if it will work.   Im stuck at this for far too long, Apple support hasn't been helpful either.


Have a look at following code:  #include<stdio.h>  struct Node {   int data;   struct Node* nxt; };  int main() {     int a = sizeof(struct Node);     int b = sizeof(int);     int c = sizeof(int*);      printf("size of Node: %d\nsize of int: %d\nsize of int*: %d",a,b,c);      return 0; }   following is output of above code:  size of Node: 16 size of int: 4 size of int*: 8   my question is size of integer is 4 byte and size of integer pointer is 8 byte. So sum of these 2 should be size of struct.  But why compiler (GCC) says it occupies 16 bytes?


I like Stack Exchange. How can I express it?

I have used Stack Exchange for the last two weeks, and I find it very very useful. Is there any way I can express my "like" towards this website?  I mean, if I find an interesting page in Facebook, I can press the "Like" button to express my happiness towards that web page.  How can I do the same here with Stack Exchange?  Or  Is there any button I can press and share this website with others? I mean, like "Facebook share"?  Otherwise, you can take this as feedback from a new user and work on it.


I know the must have/must had thing has been asked before but I have yet to see it in the context of this question.  Does "have" make grammatical sense in the following? It sounds like it conflicts with the "at that point in time."  "I remember clearly my seventh birthday (and my subsequent trip to the hospital). At that point in time, I must have been told a thousand times not to stick things in the toaster."  The main problem I'm having in my head is that if you take out the "must" then it would be grammatically correct to say "At that point in time, I had been told a thousand times..." Yet once you put the "must" in, it seems incorrect to use "had." This is my main question.


E(XY)=E(XE(Y|X) Joint Conditional Expectations

Why is E(XY)=E(XE(Y|X))?  Is this using the properties of conditional expectation and is there a general formula that can be applied when you have E(...)=E(..(E(Y|X))?


I am trying to use sudo apt-get update to update my Ubuntu but i have been getting this error code and i dont know how to proceed.  I am a newbie with ubuntu.  Thanks. Below is the error code it shows after trying to update  Fetched 32.9 MB in 2min 49s (195 kB/s)                                          W: Failed to fetch cdrom://Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)/dists/trusty/main/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs  W: Failed to fetch cdrom://Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)/dists/trusty/restricted/binary-amd64/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs  W: Failed to fetch cdrom://Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs  W: Failed to fetch cdrom://Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)/dists/trusty/restricted/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs  E: Some index files failed to download. They have been ignored, or old ones used instead.


Can't install libdouble-conversion1 on Ubuntu-19.10

When I tried to install Cisco packet tracer from deb file it gave the following error:   Unpacking packettracer (7.3.0) ... dpkg: dependency problems prevent configuration of packettracer:  packettracer depends on libdouble-conversion1; however:   Package libdouble-conversion1 is not installed.  packettracer depends on qt-at-spi; however:   Package qt-at-spi is not installed.  dpkg: error processing package packettracer (--install):  dependency problems - leaving unconfigured Processing triggers for gnome-menus (3.32.0-1ubuntu1) ... Processing triggers for desktop-file-utils (0.24-1ubuntu1) ... Processing triggers for mime-support (3.63ubuntu1) ... Processing triggers for shared-mime-info (1.10-1) ... Errors were encountered while processing:  packettracer    Then I tried installing libdouble-conversion1 using command sudo apt-get install libdouble-conversion1 . It gives the following error  Package libdouble-conversion1 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libdouble-conversion1' has no installation candidate


Where can I find the source code of command line programs and how should I implement custom ones?

Every distribution of Linux has its own set of built-in command line programs. For example: cat, grep etc. Now, my question is: How are these built-in programs implemented and where can I find the source files? For example, I want to use the time command. I know that I can find the compiled binary file in /usr/bin/time but that does not provide me with the source of it. I assume this is a program that was compiled from C. Is this the way all built-in programs are implemented in the Linux environment and what is the way to go when I want to create my own custom command line programs? Should I write those in C and compile these with C or is it also advisable to write it in Bash and just add the script to PATH?


Use of 20 Amp Breaker and 12/2 Cable for Circuit Containing 15 Amp Duplex Receptacles

What is the rationale behind using a 20 amp circuit breaker with 12/2 cable for a circuit that only contains 15 amp duplex receptacles? I understand the rationale behind using 12/2 cable instead of 14/2 cable, but do not understand the rationale behind using the 20 amp circuit breaker instead of a 15 amp circuit breaker. Without understanding the rationale, I would assume it would be prudent to either:   Replace the 20 amp circuit breaker with a 15 amp circuit breaker. Replace the 15 amp duplex receptacles with 20 amp duplex receptacles.   References to the National Electric Code would be appreciated.  Edit:  I did not intended to ask if it was permissible to use a 20 amp circuit breaker.  Instead, I meant to ask "What benefit does the 20 amp circuit breaker provide if there are only 15 amp duplex receptacles?"


Prove that for any prime $p$ there is no rational number $a$ such that $a^2 = p$.

Given a prime number $p$, show that there is no rational number a such that $a^2 = p$. I tried assuming the equality is true then I took $a= \frac{m}{n}$ such that $m$ and $n$ are relatively prime then $$a^2= \frac{m^2}{n^2}= p\implies  m^2=p \cdot n^2$$ then I got stuck.


I can't figure how to print the string "-n" with the over 30 years-old command echo.  I tried these:  Michaels:Scripts$ echo -n Michaels:Scripts$ echo "-n" Michaels:Scripts$ echo -e "-n" Michaels:Scripts$ echo -- -n -- -n Michaels:Script$ echo -- "-n" -- -n Michaels:Script$ echo "\-n" \-n   I use Mac OS X ML. I consider this behaviour very weird and unexpected.


Why does universal generalization work? (the rule of inference)

This is an excerpt from Discrete Mathematics.     Universal generalization is the rule of inference that states that ∀xP(x) is true, given the premise that P(c) is true for all elements c in the domain. Universal generalization is used when we show that ∀xP(x) is true by taking an arbitrary element c from the domain and showing that P(c) is true. The element c that we select must be an arbitrary, and not a specific, element of the domain.       That is, when we assert from ∀xP(x) the existence of an element c in   the domain, we have no control over c and cannot make any other   assumptions about c other than it comes from the domain. Universal   generalization is used implicitly in many proofs in mathematics and is   seldom mentioned explicitly. However, the error of adding unwarranted   assumptions about the arbitrary element c when universal   generalization is used is all too common in incorrect reasoning.   I have two questions:  1. What is meant by the second paragraph ?  2. How come just by taking arbitrary c in domain, we can conclude that if P(c) is true then so is ∀xP(x). (There may exist some counterexamples).


I am planning to build a new Computer table and a book shelf by myself. I will require a drill machine that can drill a hole into wood and that can also drive a screw into this hole (using the drill, not manually). Would I require an Impact drill / Hammer drill / any other type of drill machine?  I would also occasionally use it for drilling into brick (not concrete). I have created a filter based on budget and Brand in the shop where I would be buying. A suggestion of the product here would be even more helpful:


Show that given a partial order there exists a total order

STATEMENT: Suppose that $≺$ is a partial ordering of $\mathbb{N}$. Use the Compactness Theorem for first order logic to show that there is a total ordering $≺_∗$ of $\mathbb{N}$ such that for all n and m in $\mathbb{N}$,if $n≺m$ then $n≺_∗ m.$  QUESTION: I am unsure of how to proceed with this type of problem. My guess was to create a set of sentences such that $(\forall m,n\in \mathbb{N}(n≺m \rightarrow n≺_∗ m)$ union with another set of sentences $(\forall m,n\in \mathbb{N}((m\not≺ n) \wedge (\forall k\in\mathbb{N}(k≺m\rightarrow k≺n))\rightarrow m≺_*n).$ Then showing that each finite subset is satisfiable means that our set of sentences has a model $(\mathbb{N},≺_*)$.


error when some one insert ' on link of account all i want know is it injection or only sql error

All i want to know is it injection or only sql error   SELECT * FROM users_address WHERE user_id =  You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order by 1 LIMIT 0, 25' at line 3


I am confused over the behavior of constructor in this code.  class htc {   public:   htc() { std::cout << "HTC_FOO_CONSTRUCTOR" << std::endl ;}   htc(const htc&) { std::cout << "HTC_BAR_CONSTRUCTOR" << std::endl;}; };  int main()  {   htc one; // This outputs HTC_FOO_CONSTRUCTOR   htc two(); // This outputs nothing    htc three(one) }   Couple of questions whats the meaning of using brackets  in htc two() mean? & in constructor htc(const htc&) there is no parameter name is this ok? If yes whats the use of an such constructor?


What does the last icon mean in Far Cry 4 trading post interface?

Where my mouse icon is, the number 53, what does it mean?


Is there a way to mount a Windows shared drive so I can access those files on my phone?

I have a shared network drive full of files I want to access from my phone over wifi.  Is there a easy way to mount it on my phone?  I have a rooted Motorola Milestone.