How can a neutron star radiate when it is neutral?

We know how to define the , as answered in this question. After watching the Sixty Symbols video about , where the temperature and resulting black body radiation is a crucial element, I wondered how objects made (almost) entirely of neutral particles can radiate electromagnetic waves, since radiation is caused by acceleration of charged particles (at least in classical physics). I can imagine a few possible answers, but I would like the expert's statement:  Neutrons can be excited and radiate when relaxing Neutron stars aren't entirely neutral. The tiny fraction of protons and electrons radiate Neutrons are made up of charged quarks, and the quarks radiate  I believe this question is different from "Are neutron stars transparent" because I'm asking about the generation of black body radiation, not the lack of absorption of any radiation.


Please help me create the three red arrows below because I tried to create icons like those icons but could not possibly not need the script that needed its icon! Thank you!


Show that $e^n>\frac{(n+1)^n}{n!}$ without using induction.

I have got an inequality problem which is as follow:     Show that $e^n>\frac{(n+1)^n}{n!}$   I can do it by induction but I have been told to prove it without induction.  My Work:  $$e^n=1+n+\frac{n^2}{2!}+\frac{n^3}{3!}+........$$ $$e^n>1+n+\frac{n^2}{2!}+\frac{n^3}{3!}+........+\frac{n^n}{n!}$$ $$e^n>\frac{n^n}{n!}+\frac{n^{n-1}}{(n-1)!}.......+\frac{n^2}{2!}+n+1$$  From here I can't go further.   I shall be thankful if you guys can provide me a complete solution/proof of this inequality. A hint will also work.  Thanks in advance.


How to make an image occupy the remaining white space on a page?

I would like to have a figure that occupies whatever white space is left at the bottom of the page without having to fine tune it manually.   Here is an attempt of what I'm trying to do:  \documentclass[a4paper]{report} \usepackage{lipsum} \usepackage{float} \usepackage{graphicx}  \begin{document} \lipsum[1-2] \begin{figure}[H]   \centering   \includegraphics[height=\vfill]{example.png} % error: illegal unit of measure \end{figure} \end{document}   I'm looking for  a command to replace the incorrect \vfill, but give the effect I'm looking for. Thank you


If I had a map of the world or drew my own map texture how would I use it as a texture for a sphere mesh, and also how would I do this without an ugly seem on the part of the sphere? I want texture a sphere.


How to get the text centered with the logo next to it

I know there's a lot of solutions out there but I've tried most of them and just cannot figure out why my image is slightly below the text.. I've tried the display:flex;, played around with the margins and paddings, and played around with aligning, but just cannot figure it out.     .amenities-wrapper {   margin: 15px 0;   font-size: 0; }  tr {   align-items: center;   margin-top: 8px;   width: 250px; }  td {   margin-left: 100px;   margin-right: 100px; }  .amenities-text {   font-size: 15px;   margin-left: 10px;   margin-right: 100px;   line-height: 35px;   display: inline-block; }  .amenities-logo {   width: 30px;   height: 30px;   vertical-align: middle;   margin-bottom: 0.75em; }

AMENITIES & SERVICES

                         High School Internet       	                         Parking       	                         Air Conditioner

                         Desktop Computers       	                         Printer       	                         Thanks Cafe


Can I travel with a laptop without a functioning battery?

In a few days' time, I will be going to Australia to further my studies. I have a laptop whose battery died a while back. It turns on with the power cord, but not with the battery. Is it a problem if I bring the laptop? I'm worried that they will ask me to turn the laptop on. My native country is Singapore btw.


How to get video format from URL using Javascript

For example, i have a url that could be:      I want a function that returns a string containg mp4, or ogg or mov from the url.  How to get mp4, ogg and mov video formats from that string?


let $f \colon [a,b] \to \mathbb{R}$ be continuous on $[a,b]$ and..

I am stuck with the following problem that says :     let $f \colon [a,b] \to \mathbb{R}$ be continuous on $[a,b]$    and $f''$ exist for all $x \in (a,b)$. Let $a \lt c \lt b$.    Prove that there exists a point $\xi \in (a,b)$    such that $$f(c)=\frac{b-c}{b-a}f(a)+\left( \frac{c-a}{b - a} \right)f(b)+\frac12(c-a)(c-b)f''(\xi).$$   Can someone explain in details? Thanks in advance for your time.


How to solve $\lim_{x\rightarrow +\infty} \sqrt{(x-a)(x-b)}-x$?

How do I solve? I've tried to multiply and divide by the conjugate cannot advance. $$\lim_{x\rightarrow +\infty} \sqrt{(x-a)(x-b)}-x$$


Should one credit the paper that referred him to primary sources?

Let's assume that I stumble upon a paper by author X where he cites ideas of A, B and C. Now I know about the rules of secondary sources and how I should cite them in case I haven't taken a look at the primary sources. But if I do track down the primary sources by myself and cite them instead, should I, somehow, credit author X for referring me to those ideas?  Usually when doing a review of literature, I open like 10 studies, 'harvest' a few ideas and primary sources from each and track them down. Is this a good practice? I'd still cite, if required, the 10 studies for their own information (e.g. empirical results).  EDIT: the part which may be unique is: Assume there are 20 citations in a paper. Should one feel unethical for 'harvesting' like 5-8 citations and tracking their original source without citing the intermediary source? It just feels like 'copying' since the intermediary paper 'led' one to these 5-8 citations.


How to add a background image so that they appear in the render programmatically (w/ python)?

I want to load image in blender using the python API such that it appears in the background whenever I render a 3D model.


How we are creating a function(compare) inside a object of PriorityQueue class.Please explain this syntax in Java

PriorityQueue<HeapIndex> priorityQueue = new PriorityQueue<>(k, new Comparator<HeapIndex>() {     @Override     public int compare(HeapIndex o1, HeapIndex o2) {         return o1.val.compareTo(o2.val);     } });  Here we are passing initial capacity i.e. k and a comparator function to PrioityQueue class constructor.


How to add a event handler to a ToolStripButton in C# code?

Me again, and it's another problem with my plugin parser for my c# browser, I'm trying to add a eventhandler to make it to where when you hit the plugin button it does something. The reason i am having to do this in code is because it is loading the plugins from files, and they are not hard-coded.  Here's my code, It will look pretty familar to the last one if you saw it  toolStrip1.Items.Add( pluginButton ); pluginButton.Image = Simple_Browse.Properties.Resources.plugin; pluginButton.Alignment = ToolStripItemAlignment.Right; pluginButton.ToolTipText = TitlePlugin; pluginButton.Click += StartPlugin(); private EventHandler StartPlugin() {      PluginPage plgp = new PluginPage();     plgp.Show();     plgp.Text = PlgTitle2;  }   So the code is pretty basic, but im getting an error at private EventHandler StartPlugin() The error is not all code paths return a value Please help!


Getting jurabib to stop turning around the names in the bibliography

As i need to use the footcite option i did a good part of googeling and found out that jurabib suports this just right away. I got everything to work but as it turns out the author name is turned around and as i am qouting from dictionaries as well it looks as ridicoulus as this:     Britannica, Encyclopedia   I managed to get rid auf the comma by applying what was recommended here:   which resulted in the code looking like that:  \usepackage{jurabib}  \jurabibsetup{     commabeforerest,     ibidem=strict,     citefull=first,     see,     titleformat={colonsep,all}, }  \renewcommand*{\jbauthorfont}{\textsc} \renewcommand*{\biblnfont}{\scshape\textbf} \renewcommand*{\bibfnfont}{\normalfont\textbf} %Only for removing the comma: \renewcommand\jbRevedFirstOnlyLast{\biblnfmt{\jbLast}}% \renewcommand\jbRevedFirstNoVonNoJr{\biblnfmt{\jbLast\ }\bibfnfmt{\jbCheckedFirst}}% \renewcommand\jbRevedFirstNoVonJr{\biblnfmt{\jbLast\ \jbJunior\ }\bibfnfmt{\jbCheckedFirst}}% \renewcommand\jbRevedFirstVonNoJr{\biblnfmt{\jbLast\ }\bibfnfmt{\jbCheckedFirst\space\jbVon}}% \renewcommand\jbRevedFirstVonJr{\biblnfmt{\jbLast\ \jbJunior\ }\bibfnfmt{\jbCheckedFirst\space\jbVon}}% \renewcommand\jbRevedNotFirstOnlyLast{\biblnfmt{\jbLast}}% \renewcommand\jbRevedNotFirstNoVonNoJr{\bibfnfmt{\jbCheckedFirst\space}\biblnfmt{\jbLast}}% \renewcommand\jbRevedNotFirstNoVonJr{\bibfnfmt{\jbCheckedFirst\space}\biblnfmt{\jbLast\ \jbJunior}}% \renewcommand\jbRevedNotFirstVonNoJr{\bibfnfmt{\jbCheckedFirst\space\jbVon~}\biblnfmt{\jbLast}}% \renewcommand\jbRevedNotFirstVonJr{\bibfnfmt{\jbCheckedFirst\space\jbVon~}\biblnfmt{\jbLast\ \jbJunior}}% \renewcommand\jbNotRevedOnlyLast{\biblnfmt{\jbLast}}% \renewcommand\jbNotRevedNoVonNoJr{\biblnfmt{\jbLast\ }\bibfnfmt{\jbCheckedFirst}}% <-- THE IMPORTANT CHANGE \renewcommand\jbNotRevedNoVonJr{\biblnfmt{\jbLast\ \jbJunior\ }\bibfnfmt{\jbCheckedFirst}}% \renewcommand\jbNotRevedVonNoJr{\biblnfmt{\jbLast\ }\bibfnfmt{\jbCheckedFirst\space\jbVon}}% \renewcommand\jbNotRevedVonJr{\biblnfmt{\jbLast\ \jbJunior\ }\bibfnfmt{\jbCheckedFirst\space\jbVon}}%   And the following reslut:     Britannica Encyclopedia   Does anybody know how to get the wished result?  It would look something like this:     Encyclopedia Britannica   \bibliography{literature/library} \bibliographystyle{jurabib}


Unable to delete own answer on Android app

I asked a question and accidentally did an answer instead of a comment on an existing answer. I do not get the option to delete that answer from the app. I can only flag it.  App Version: 1.0.89 Device Manufacturer: Samsung Device Model: SM-N910V OS Version: 5.0.1  I was not trying to vote for deletion. I was trying to delete my own answer which is a process that doesn't need a voting queue. It is not a duplicate of the vote for removal question.


Find the number of real roots of $1+x/1!+x^2/2!+x^3/3! + \ldots + x^6/6! =0$.  Attempts so far: Used Descartes signs stuff so possible number of real roots is $6,4,2,0$ tried differentiating the equation $4$ times and got an equation with no roots hence proving that above polynomial has $4$ real roots. But using online calculators I get zero real roots. Where am I wrong?


I'm struggling to understand the idea that if two observers are moving relative to each other, they both see the other's clock as running more slowly. This is a well-known paradox in special relativity, and is supposed to be dealt with by the classic 'twin paradox', but I don't feel the way the twin paradox is resolved really answers this question. It relies on the asymmetry of a two-way journey, but what if we eliminated the asymmetry? Here is a simplified version of the twin paradox I thought of: a spaceship leaves Earth for a planet 10 light years away travelling at 0.9c. Assume the time taken to accelerate to and decelerate from 0.9c is negligible. When it reaches the planet, the crew beams the date recorded on their clock to Earth. (This eliminates the asymmetry, since the message is sent before the return journey. Maybe the crew don't even make a return journey.) What date will be recorded and what will the date be on Earth when the message reaches Earth?


Are slightly moldy beets edible after boiling?

I have some beets with mold on the stems and top which is hardly visible but has a noticeable smell.  If I cook them for 60 minutes and then peel them, will the beets then be edible?


Alternatives for using "#" in href attribute

The  tag is used to create hyperlinks but in this age of jQuery and Ajax we are using it to load HTML into
s in the same page as the  tags.  That said, we set the href atribute as href="#", using or rather abusing the # character as a placeholder along with some undesirable side effects like the URL getting appended with the # character.  And if you leave the href attribute blank href = "", the link does not seem to work.  Is there anyway to do this in a cleaner way like showing some text or dummy function in the status bar of the browser when the user hovers over the link and yet make the link do what the programmer intended?  Here's my code.
    // List that is converted into a menu...
  HOTEL

  COUNTRY

  CITY

  // The jQuery to load content into another div with Ajax var loadUrl = "createHotel.php"; $("#loadHotel").click(function() {     $("#mainContent").html(ajax_load).load(loadUrl); });   // ajax function to load hotel ---> rooms page   var url_loadRooms = "viewRooms.php"; $("#createRooms").click(function() {     $("#mainContent").html(ajax_load).load(url_loadRooms); });   What else can I use instead of "#" to make my code neat..?


Is it 'legal' for a passenger to be dragged off of an overbooked flight?

A recent scandal has been making waves in social media - a United Air passenger was forcibly dragged off of the flight after refusing compensation due to overbooking of the flight.    Ignoring the moral implications, and any air regulations United itself may have, do airlines have the legal right to treat a passenger on an overbooked flight in this manner?


I can't get rid of the Ctrl-Shift-Alt Bubble

I have this same problem:        But I'm using Windows 8.1, and there is no "Tablet PC".  The regedit.exe method also does not work, because there is no UIButtonMode  I've tried every step in the link but it didn't work out.


Why is voting prevented on locked posts?

I can totally see why content coming in, unfortunately, sometimes, is really getting out of control. Like here  or  (or not right now, but maybe again in a few hours).  It makes sense then, to lock things contentwise. That is also great for existing content that shall never be changed any more, like that world famous .  But then: I would very much like to simply vote on some of these posts. And I really do not see a good reason to prevent the voting to take place.  Voting data is meta information. Just counters, that reflect the level of appreciation by the community (or lack thereof). The number of votes doesn't relate at all to the content that needs to be protected, or sadly, prevented from being added.   Thus: can the "model" for "locking postings" be made more fine granular? Or at least: changed to allow voting?


Logit or arcsine transformation for proportion in meta-analysis


I need to include an image followed immediately by a horizontal line in my document. The image and line need to span the entire width of the page. There should be no padding around either of them and no vertical space between them. Using boxes, here's what I have so far:  \noindent\makebox[\linewidth]{\includegraphics[scale=1.0]{/tmp/image.png}} \noindent\makebox[\linewidth]{\textcolor{tone}{\rule{\paperwidth}{5pt}}}   This leaves a small vertical space between the image and the line. I tried inserting a \vspace:  \noindent\makebox[\linewidth]{\includegraphics[scale=1.0]{/tmp/image.png}} \vspace{-5mm} \noindent\makebox[\linewidth]{\textcolor{tone}{\rule{\paperwidth}{5pt}}}   Somehow this affects the space below the line, not above it. What is the correct solution here?


Command shows up under 'which' but system can't find it

I have Ubuntu installed on one partition of my computer and I'm trying to install Arch Linux on a second partition.  I'm having trouble with the bootable USB, so I'm trying to just install it after booting Ubuntu and I add the binary path to $PATH and the pacstrap command I need shows up when I use the which command, but it doesn't work when I try to run it.  I would just use ./pacstrap, but the it needs to be able to find other binaries that are in the same directory.  Is there a reason that the environment would be able to find a binary with 'which' but not when I execute it?  john@TheBrain:/storage/part4/Software/root.x86_64/bin$ export PATH john@TheBrain:/storage/part4/Software/root.x86_64/bin$ sudo pacstrap /mnt base base-devel sudo: pacstrap: command not found john@TheBrain:/storage/part4/Software/root.x86_64/bin$ which pacstrap /storage/part4/Software/root.x86_64/bin/pacstrap john@TheBrain:/storage/part4/Software/root.x86_64/bin$


What controls this section  in Google results?  Is it collected by Google from the website schema.org code?  I have verified my  business but do not see how I can add more info to the box. I can only suggest that some existing info needs to be changed:


How to set the javascript function for print into landscape?

I was trying to set the print orientation into landscape through javascript. I'm only just using the window.print() function for the page's content to be printed. here's the code:      With this I was able to print a sample page. But only it was on portrait format. The client requires it to be in landscape. so I tried on many codes I found. here's the one am sure your most familiar with.     since it wasn't a button that am using to call the print function but an image type with href, I tried to change the previous one with:      See the id="printLandscape", I tried that on to be able to call the javascript function declared above and make the page print into my desired format which is landscape. But when I tried to print, to see if it was working. The printed page still has the default/formal or portrait type.  Is there something am missing? Or did I not declare the javascript properly especially the id on href for it not to work fine?  S.O.S


I am using a dedicated server hosting for one of my project. I got a mail from my server provider that their monitoring system noticed a network scan (or network attack) from an IP address. The Netscan output they send to me is something like this   Sun Mar 16 09:57:21 2014 TCP my_server_ip 63624 => attacker_server_ip_1 5038 Sun Mar 16 09:57:21 2014 TCP my_server_ip 63624 => attacker_server_ip_2 5038 Sun Mar 16 09:57:21 2014 TCP my_server_ip 63624 => attacker_server_ip_3 5038  Sun Mar 16 09:57:21 2014 TCP my_server_ip 63624 => attacker_server_ip_4 5038    and so on ....  The attacker has used multipal ips probablity more than 200 ip. Please guide me what attack is all about and what should i do to avoid this attack.  Many many thanks in advance


When light travels from low density medium to high density medium it's speed decreases according to refractive index of medium. And light is made of moving photons . That means photons are slow downed. So it should be possible to reduce the speed of light to zero and we can get a steady photon.


Prove that $a + 2b \equiv 0 \bmod 3$ is an equivalence relation

Would this proof work to show that $R$ ={(x, y) ∈ ℤ2: x + 2y ≡3 0} is an equivalence relation? Reflexive: Let x ∈  ℤ. x + 2x= 3x, and 3x ≡ 0 mod 3 since 3 divides 3x with remainder 0. Symmetric: Let x, y  ∈ ℤ. Suppose (x, y) ∈ $R$. Then x + 2y ≡ 0 mod 3 -> x ≡ -2y ≡ y ≡ 2x -> y + 2x ≡ 0 mod 3. Transitive: Edit: Oops definitely did not do the transitive part of the proof properly -- does this work instead? Let x, y, z ∈ ℤ and suppose (x, y), (y, z) ∈ $R$. Then x + 2y ≡ y+  2z ≡ 0 mod 3. x + 2y = 3m and y + 2z = 3n for some m, n in ℤ. Then x + 2(3n-2z) = 3m, so simplifying that shows x + 6n - 4c = 3n...? Not sure how to get the sign for c to be positive.


How can I prove these are the adjoint operators?

Let be $V$ a vector space over the complex numbers with inner product. Let be $T$ and $S$ linear operators in $V$ with adjoint operators $T^*$, and $S^*$ respectively. I know that it satisfies this: $\left< T(x),y \right>=\left< x,T^{*}(y) \right>$ $\left< S(x),y \right>=\left< x,S^{*}(y) \right>$    $\forall x,y \in V$ But, How can I prove that the adjoint operator of $ST$ is $(ST)^{*}$? And how can I  prove that $(ST)^{*}=T^{*}S^{*}$?


Multiple lines of text within a TikZ node

I want to write multiple lines of text within a TikZ rectangle. This is how I did it.  \documentclass{article} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \node at (0, 0) [rectangle,draw,minimum size=2cm] {     \begin{tabular}{c} \( a^2 \) \\ \( b^2 \) \end{tabular} }; \end{tikzpicture}  \end{document}     This works fine. But I want to understand why using another environment, such as, align* environment or displayed math does not work well like the tabular environment does.  For example, the following code  \documentclass{article} \usepackage{tikz} \usepackage{amsmath} \begin{document}  \begin{tikzpicture} \node at (0, 0) [rectangle,draw,minimum size=2cm] {     \begin{align*} a^2 \\ b^2 \end{align*} }; \end{tikzpicture}  \end{document}   leads to the following error.  ! Missing \endgroup inserted. <inserted text>                  \endgroup  l.8     \begin{align*} a^2 \\ b^2 \end{align*}   The following code  \documentclass{article} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \node at (0, 0) [rectangle,draw,minimum size=2cm] {     \[ a^2 \] }; \end{tikzpicture}  \end{document}   leads to the following error.  ! Missing $ inserted. <inserted text>                  $ l.8     \[ a^              2 \]   Here are my questions:   Why is special about tabular environment (compared to align* or displayed math) that makes it possible to use it as text within a node? What do the Missing \endgroup inserted or Missing $ inserted errors mean?


How to confirm that a file has copied to a new disk without any errors?

I'd like to copy files from one external drive to a network connected drive. I want to make sure that there are no errors.  I know of MD5 hash files that I see for large single files that are download from the internet. I also know that I can use the terminal to 'diff' the two sets of files.  However, I'm looking for a piece of software that could confirm that all the files in the file structure have been copied by the finder completely, or a piece of software that would do the copying for me and confirm that all the bits are exactly the same.  The files are video related - and are often over a TB in size (not in one file - complex multi-folder nested files)  I'm fine if there is a terminal command that can do the copy and compare for me as well. (although being able to see the amount of time left on a copy is a very nice feature... additionally, I want to make sure I get ALL of the file - resource forks and all)


Error when including letters in Math environment in beamer

I am trying to make a presentation in beamer. However when I include letters in the math environment I get the following error message:  !pdfTeX error: pdflatex (file mathkerncmssi8): Font mathkerncmssi8 at 525 not f ound ==> Fatal error occurred, no output PDF file produced!   What am I doing wrong?  \documentclass[10pt]{beamer} \usetheme{Copenhagen} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \title{Test}  \begin{document}  \begin{frame} \titlepage \end{frame}   \begin{frame} $r_d$ \end{frame}  \end{document}


Are there any hash outputs not produced by the MD5 hash function? I need to use it as a placeholder for an empty hash while comparing two hashes.


When I run diskutil list there is 40 gb (free space), my question is that how can I merge it into my Container disk2? From the Disk Utility, I am not able to do this as the picture, I can not even find the (free space). I am very new to mac file system, please help me or point me in the right direction many thanks in advance.


A problem with how curved spacetime explains gravity

I've read quite a few online explanations of how curved spacetime is the reason objects are drawn to each other, and that gravity is an illusion. Most of them follow the same path:   explain what geodesic is, and how it can actually be a straight line. explain how matter warps spacetime. make a conclusion that an object is not pulled by gravity, but instead it tries to follow the straight line which is actually a geodesic.   What i don't understand is the following theoretical situation. Lets suppose we have Earth that doesn't spin, doesn't move around the Sun, or in the Galaxy, or Universe, Earth is absolutely stationary. And there is a person on its surface holding a stone. The stone is then released. If there are no forces that are attached to it, why would it start moving along any geodesic at all? At this point it doesn't even matter how warped the geodesic is if there is nothing to push it along the way in the first place.


Discontinuous parametric integral function

Is there an example of a function $f:[0,1] \times [0,1] \to \mathbb{R}$ such that for all $x \in [0,1]$ the function $\phi(y) = f(x,y)$ is continuous in $y$ and for all $y \in [0,1]$ the function $\psi(x) = f(x,y)$ is continuous in $x$ but the function defined by $$J(x) = \int_0^1{f(x,y)}dy$$ is discontinuous at some $x \in [0,1]$?  I'm asking this because a theorem about the continuity of parametric integrals requires the function $f$ to be continuous in both variables at the same time (continuous as a function from $X \to \mathbb{R}$ with $X = [0,1]\times [0,1]$, but I can't find a counterexample for the case mentioned above.   EDIT: I know the difference between a function being continuous in two variables separately and jointly. What I want to know if there is a function that is continuous in two variables separately and the integral above is discontinuous. The function $$f(x,y) = \frac{2xy}{x^2+y^2}$$ is an example for a function that is not jointly continuous. But the parametric integral of this function IS still continuous.


Solving $\forall x \in \mathbb{R}_+^*, f'(x) = f\left(\frac1{x}\right)$

I recently came across this equation : $$\forall x \in \mathbb{R}_+^*, f'(x) = f\left(\frac1{x}\right)$$where $f \in \mathcal{C}^1(\mathbb{R}, \mathbb{R})$.  I've done the following, but I'm stuck at the end. Could you give me pointers? Thanks!  Differentiating yields $$\forall x, f''(x) = -\frac1{x^2}f(x) \tag{$S_0$}$$Solutions in the form $$x \mapsto \frac1{x^\phi}$$ work iff $\phi(\phi+1) = -1 $, ie. $\phi = \frac{-1 \pm i \sqrt{3}}{2} =e^{\pm 2i\pi/3} = j, \overline{j}$. Elements of the vector space generated by the free pair $(x^j, x^\overline{j})$ are therefore solutions of ($S_0$).  I then feed $\lambda x^j + \mu x^\overline{j}$ in the original equation, which yields $-\lambda j\frac1{x^{j+1}}-\mu\overline{j}\frac1{x^{\overline{j} + 1}} = \frac{x^{j + \overline{j}}}{\lambda x^\overline{j} + \mu x^j}$, then $(-\lambda j x^{\overline{j}+1} - \mu \overline{j} x^{j+1})(\lambda x^{\overline{j}} + \mu x^j) = x^{1+j+\overline{j}} = x^0 = 1$, and $-\lambda^2 j x^{2\overline{j} + 1} - \mu^2 \overline{j} x^{2j+1} - \lambda\mu(j + \overline{j}) = 0 $. Thus, $$ \lambda^2 j x^{-2i\sin(2\pi/3)} + \mu^2 \overline{j} x^{2i\sin(2\pi/3)} = \lambda\mu$$  Does that mean that no solutions can be found to the original equation, except the trivial $x \mapsto 0$ one? Or that I didn't take the right approach? I can't figure out how to handle the last equality.


Is walter white a selfish man? Asking because at the last episode, he says to his wife 'I enjoyed it' i.e selling drugs, killing people. What is the meaning of it?


Can you attack with more than one weapon when using Extra Attack?

When one uses the Extra Attack class feature, must it be done with only one weapon?  If I had, for example, one throwing axe and sword, couldn't I throw the axe and attack with the sword as part of the same "extra attack action"?


How to perform a logistic regression for more than 2 response classes in R

I want to predict the impact of oil price over a Colombian oil company's stock price. I plan to use a logistic regression for this with a categorical variable (Up or Down given the direction of the stock price). Here is part of my dataset:  Minute  ecopet  profit  sum_profit   direccion  cl1_chg   sum_cl1    direccion_cl1 571     2160     0       10           Up         -0.03     0.00      Down 572     2160     0        0           Neutral     0.07    -0.03      Down 573     2160     0       -5           Down       -0.08     0.04      Up 574     2160     0       -5           Down       -0.07    -0.04      Down 575     2160     5       -5           Down       -0.08    -0.11      Down 576     2165     0       -25          Down        0.00    -0.19      Down 577     2165     0       -25          Down       -0.05    -0.19      Down 578     2165     0       -15          Down       -0.17    -0.24      Down 579     2165     5       -15          Down       -0.06    -0.41      Down 580     2170     0       -20          Down        0.03    -0.47      Down 581     2170    -10       0           Neutral     0.04    -0.44      Down   My dependent variable is 'direccion'. But as you can see it has 3 response classes. I know that to implement a binary logistic regression in R the code is:  glm.fit=glm(direccion~direccion_cl1, data=datos, family=binomial)   I am working with intraday information and plan to predict what happens when the oil moves up/ down (in the previous 10 minutes) and how it impacts the stock price in the next 10 minutes.  Could anyone tell me how could I perform this? I don't really know how to perform the logistic regression with 3 response classes. Thanks!


What is the simple way to find the file extension in php, if the filename is filename.jpg.txt?


Difference between functional and function.

I have come across the term 'functional'. How is a 'functional' different from a 'function'? The exact term I came across was 'statistical functional.'  In terms of the background, can you please focus on the first few lines followed by the four examples in  ?  The definition is seeming to be quite generalized given the examples. Is there a crux of the definition that is not too general nor too restricted?


If I only know what feature I want to add to my server/desktop, for example a mail server, how on earth, can I tell what packages should I get via apt-get?


Supeeer new to Latex so I'm sorry if my question is stupid.   I have a programming assignment using pseudo-code for one of my courses. Our professor suggested we do the assignment using LaTeX. Can anyone guide my how to format the code using LaTeX?  I should make it look like this:     Thanks in advance!


Segmentation Fault while using tolower() on dynamic arrays

I put this code on my C compiler (Dev Cpp).  char *str = "SomeTHing"; for(int i = 0; str[i]; i++){    str[i] = tolower(str[i]); }   This gives a segmentation fault whereas if i use a static array,  char str[10] = "SomeTHing";   the loop works fine. Can anyone tell why is this happening?


Ubuntu 20.04 says my computer has 4 GB RAM total instead of 8 GB RAM

I was noticing my performance on Ubuntu was a little slow after running some codes, and I decided to research on how to upgrade my laptop. I ran into the free -m command, and I was shocked to find out that, despite my RAM board being 8 Gb, it only displays as if I had 4 Gb.               total        used        free      shared  buff/cache   available Mem:           3845        1870         259         254        1715        1477 Swap:         15258           9       15249  Afterwards, I confirmed the state of my memory going to Settings > About, where I find this:  I don't understand much on hardware and on Ubuntu in general, as I only recently transformed my Windows 10 into a Ubuntu dual-boot, then finally taking the plunge to have Ubuntu as my only boot. Did I screw something up? Do I have to format everything and start again? How do I make my computer use its 8 GB Ram? As additional information: my laptop is a Samsung Expert L40, NP350XAA-XD1BR. EDIT: I double checked my RAM and it's a 4 GB - seems there's an onboard 4GB memory I don't have access to, visually. But Samsung BIOS confirm it's 8 GB:  EDIT 2: SOLVED! Just needed to clear RAM with a cotton swab. Turns out it was hardware related.


When I review my reputation activity, I can see where I have downvoted posts & lost reputation. When I display the details asssociated the number matches the loss initially displayed    I noticed for one post I had a loss of 2 reputation but when I clicked to view the details it showed a gain of 2 reputation for an edit I had made.    How should I interpret this and/or how did this occur?


Rendering issue where code snippet joins with info section under question

Noticed that the html rendering for  code snippet at bottom of question was getting merged with the tags, user info, and action links at bottom of question.  Running OSX 10.7 with stable Chrome (31). Checked on stable Firefox and saw same problem.


I'm having trouble with the last of the Rannoch missions, where Shep wakes up and takes on a Reaper.   Shepard has a targeting laser which will call in an orbital strike with the combined might of the Quarian Migrant Fleet, but there's two major problems standing between the commander and victory.   The Targeting Laser takes a while to power up. The Reaper is trying to kill you.   I can consistently avoid the Reaper's attacks for the first volley, but each time you hit it, the Reaper moves forwards, giving you less time to dodge future assaults. Is there some key to avoiding the Reaper's attacks? Strafing doesn't seem to be enough.


Used Metal Knife on Aluminum Cake Pan, is it Ruined?

I'm learning to make cakes from scratch and bought two of  4-inch round pans to make a small layered cake.  After letting my layers cool, I turned one layer out and the cake fell from the pan after a few good raps on the bottom. The other layer was being a bit stubborn so i used a butter knife to separate the cake from the edge of the pan.  After I did that, I noticed some small shiny bits of metal on the outside of the second layer. I have two questions:   Is this a normal consequence of using aluminum cake pans or did I get a really low quality pan (it was the cheapest one at my local kitchen store)?  If this is a normal consequence of using aluminum cake pans, have I ruined this pan by scratching it or can I use it again as long as I don't use a metal knife to release the cake?


JavaScript Object Collision With Squares

Hi i am trying to make the blue object collide with the green one, but I cannot get the whole area of the square, i only detect half....and down the entire Y + X axis's    if (blue.x >= green.x && blue.y >= green.y){     console.log('BOOM');   }


How i can handle java command-line arguments?

I'm coding a tool in java that need some input passed by args[] I know how to use argument but i wish to handle better this input.  this is a part of my code:  if (args.length > 0 ) {          switch (args[0]) {          case "scan": blah blah         break;         case "some cases": some code         break;   but of course args are strictly bounded to their position, in fact in the command line i have to call:     java javaProgram arg1 arg2 arg3   i really don't like this...  What i want is to better manage this arguments with options like any other c programmed tool, indipendent from positions:  example:     java javaProgram -ip 127.0.0.1 -database data.txt -vv -out output.txt   any help will be appreciated!  Dave  (i'm thinking about an array list of arguments, can be a solution?)


I need to vary the speed of a DC geared motor using software (Raspberry Pi SW GPIO).  The motor is 3 V DC geared micro motor @150 rpm. At 3 V full 'speed' the motor is very powerful for my needs having sufficient torque. However when I change the duty cycle to decrease the speed, then the torque is also reduced (presumably as duty cycle halves voltage).   Is there any way to maintain torque via software? If not, then any idea how the Anki Cozmo/Vector robots do this (see )?


Show $\text{Hom}_{Ab}(A,\mathbb{Q}) = \{0\}$ for finite $A$

I have a finite abelian group $A$ and I have shown that $A\otimes\mathbb{Q} \cong \{0\}$, the trivial group.  Now I want to show that $\text{Hom}_{\textbf{Ab}}(A,\mathbb{Q}) = \{0\}$, i.e we only have the trivial zero group homomorphism from $A$ to $\mathbb{Q}$.  The question I'm trying to solve is phrased in such a way that $\text{Hom}_{\textbf{Ab}}(A,\mathbb{Q}) = \{0\}$ should fall out almost automagically once you have that the tensor product collapses but I'm really stuck on this even though some people I talked to said it was really easy.  Some thoughts:   I've tried to assume the existence of a nontrivial homorphism $A \to    \mathbb{Q}$ to generate a contradiction but with no success. We have the Tensor-hom adjunction theorem stating that for abelian groups $A,B,C$ we have a natural bijection  $$\text{Hom}_{\textbf{Ab}}(A\otimes B,C) \cong \text{Hom}_{\textbf{Ab}}(B ,\text{Hom}_{Ab}(A,C))$$ and by plugging in our particular groups we get that:   $$\text{Hom}_{\textbf{Ab}}(A\otimes \mathbb{Q},\mathbb{Q})\cong\text{Hom}_{\textbf{Ab}}(\mathbb{Q} ,\text{Hom}_{Ab}(A,\mathbb{Q}))$$  Since $A\otimes\mathbb{Q} \cong \{0\} \implies \text{Hom}_{\textbf{Ab}}(\mathbb{Q} ,\text{Hom}_{Ab}(A,\mathbb{Q})) = \{0\}$ so we only have the trivial morphism from $\mathbb{Q} \to \text{Hom}_{Ab}(A,\mathbb{Q})$ but I don't think this implies that $\text{Hom}_{Ab}(A,\mathbb{Q}) = \{0\}$ and I'm not sure if this reasoning helps me at all.


How much time it takes to transfer an Australia visa to a new passport using Form 929?

I have a business visa for Australia valid till end of this year(2019) but the passport it is linked to is about to expire. I have applied for a new passport which I will get within the next 14 days. As soon as I get my new passport, I will submit Form 929.    My problem is, I have to travel to Sydney, Australia as early as possible but I am not sure how much time it takes to process Form 929. Some say it takes 3 days, some say more. I need to factor this to book my Flight & Hotel early to save on cost.


I have installed Views Slideshow module 7.x.3.1.  Also, inside the sites/all/libraries I downloaded the .  I placed jquery.cycle2.min.js into the jquery.cycle2 folder, so it is at sites/all/libraries/jquery.cycle2/jquery.cycle2.min.js.  When I tried creating a view using Format : slideshow, I encountered the following error:     CYCLE OPTIONS You need to install the jQuery cycle plugin. Create a   directory in sites/all/libraries called jquery.cycle, and then copy   jquery.cycle.all.min.js or jquery.cycle.all.js into it. You can find   the plugin at .     Even after installing the cycle plugin in the libraries folder, I could not see an option for cycle2.   Along with with views slideshow, I need   and , with vertical effect instead of horizontal effect.


The interpretation of mass in quantum field theories

Consider a free theory with one real scalar field: $$ \mathcal{L}:=-\frac{1}{2}\partial _\mu \phi \partial ^\mu \phi -\frac{1}{2}m^2\phi ^2. $$ We write this positive coefficient in front of $\phi ^2$ as $\frac{1}{2}m^2$, and then start calling $m$ the mass (of who knows what at this point) and even interpret it as such.  But pretend for a moment that you've never seen any sort of field theory before:  if someone were to just write this Lagrangian down, it's not immediately apparent why this should be the mass of anything.  So then, first of all, what is it precisely that we mean when we say the word "mass", and how is our constant related to this physical notion in a way that justifies the interpretation of $m$ as mass?  If it helps to clarify, this is how I think about it. There are two notions of mass involved: the mathematical one that is part of our model, and the physical one which we are trying to model. The physical mass needs to be defined by an idealized thought experiment, and then, if our model is to be any good, we should be able to come up with a 'proof' that our mathematical definition agrees with the physical one.  (Of course, none of this at all has anything to do with this particular field theory; it was just the simplest Lagrangian to write down.)


Distance change per time and velocity not the same is Special relativity?

Many formulas in Special relativity have v - velocity. And theory says there is no absolute velocity only relative and it cannot be greater than speed of light.  Consider this thought experiment: Empty space, two asteroids A and B, are stationary relative to each other at very close distance. There is an astronaut on asteroid A, he kicks asteroid B and distance between asteroids begin to increase. Then astronaut takes a rock from his asteroid A and throw it in the direction of B, this gives some acceleration (momentum), he notice the distance between asteroids increase more rapidly now. So he continue to repeat  this process...  Does astronauts (A) velocity  relative to B =  change of distance between A and B per tick in special relativity?  Will astronauts (A) velocity relative to B exceed speed of light?  Special relativity states that objects with mass cannot have velocity greater that speed of light, so does it mean there are no such 2 reference frames in universe which move faster than C ? I'm pretty sure there are lots of rocks in universe whose distance change much faster than C.


Name is not printing in the screen in java

I have a event type and event organizer.Based on the event type,event organizer will search.All the functions are working properly ,but name is not printing on the screen.Here is the code.
                 Event Organizer User Type 	                 <edu:select name="usertype" fieldlist="<%=userType%>" selvalue='STUDENT' noselect="true" onclick="TypeValue(this)"/>
Student Id<edu:prnStar />
	                  <input type="text" name="eventorganizer" id="eventorganizer" maxlength="25" onblur="validateField('SPLALPHA',this)"/>
   Here are the functions  function TypeValue(as){  ttype=as.value;  if(ttype=="STUDENT"){      document.getElementById('ele').innerHTML="Student Id<edu:prnStar/>";  }else if(ttype=="STAFF"){      document.getElementById('ele').innerHTML="Staff Id<edu:prnStar/>";  }else{      document.getElementById('ele').innerHTML="Guest/Visitor Id<edu:prnStar/>"; }  document.edufrm.typee.value=ttype;   }  //For Dynamic Staff Search  function openwindow1() {      window.open('EduManage.jsp?control=search1&searchno=5_0s1&position=2','','width=790,height=420,left=0,top=70,scrollbars=1,location=no,status=no,resizable=yes'); }  //For Dynamic Student Search  function openwindow2() {     window.open('EduManage.jsp?control=search1&searchno=3_0s1&position=2','','width=790,height=420,left=0,top=70,scrollbars=1,location=no,status=no,resizable=yes'); }   Can anyone help?


Analytic solution of the non-linear ODE: ${u}''+\frac{1}{x}{u}'=-\delta e^{u}$

I am trying to find the analytic solution of  $${u}''+\frac{1}{x}{u}'=-\delta e^{u}$$ given the homogeneous mixed boundary conditions  $${u'(0)}=0$$ $$u(1)=0$$  How would one attack such a problem? I have been given that the analytic solution is  $$u=ln\left ( \frac{8a/\delta }{(ax^2+1)^2} \right )$$  where $a$ solves $8a=\delta (a+1)^2$.  I am guessing the only way to solve it analytically is to introduce $x=e^{-y}$, but I don't see how would this workout all the way. The equation cannot be reduced to a 1st-order by a change of variable, nor is separable.  Any ideas?


Let's say someone doesn't feel fine at the moment when another person asks how he feels. But he's sure that he should feel better soon - which one is correct:     "I will be fine"   or     "I'm going to be fine"


I'm getting "jumpy" loadings in rollapply PCA in R. Can I fix it?

I have 10 years of daily returns data for 28 different currencies. I wish to extract the first principal component, but rather than operate PCA on the whole 10 years, I want to rollapply a 2 year window, because the currencies' behaviours evolve and so I wish to reflect this. However I have a major problem, that is that both the princomp() and prcomp() functions will often jump from positive to negative loadings in adjacent PCA analyses (ie 1 day apart). Have a look at the loading chart for the EUR currency:    Clearly I can't use this because adjacent loadings will jump from positive to negative, so my series which uses them will be erroneous. Now take a look at the absolute value of the EUR currency loading:    The problem is of course that I still cannot use this because you can see from the top chart that the loading does go from negative to positive and back at times, a characteristic which I need to preserve.   Is there any way I can get around this problem? Can I force the eigenvector orientation to always be the same in adjacent PCAs?   By the way this problem also occurs with the FactoMineR PCA() function. The code for the rollapply is here:  rollapply(retmat, windowl, function(x) summary(princomp(x))$loadings[, 1], by.column = FALSE, align = "right") -> princomproll


I find there are two methods to calculate the amplitude in QFT. Is it equivalent?

I find there are two methods to calculate the amplitude in QFT.  First method:  Use LSZ reduction formula  $$\langle p_1\cdots p_m;out|k_1\cdots k_n;in\rangle=\big(\frac{i}{\sqrt{Z}}\big)^{n+m}\int d^4x_1\cdots d^4y_m e^{-ik_1\cdot x_1}\cdots e^{ip_m\cdot y_m}(\Box_{x_1}+m^2)\cdots (\Box_{y_m}+m^2)\langle0|T(\phi(x_1)\cdots\phi(y_m))|0\rangle$$  Then we only need to solve $n+m$-point correlation function. In general, $n$-point function is  $$G(x_1,\cdots x_n)=\frac{\langle 0|T(\phi_I(x_1)\cdots\phi_I(x_n)\exp(-i\int H_I(t^\prime)dt^\prime))|0\rangle}{\langle 0|T(\exp(-i\int H_I(t^\prime)dt^\prime))|0\rangle}$$  And we can solve the correlation function perturbatively.  Second method:  Using adiabatic switch and interacting picture, one can derive  $$\langle p_1\cdots p_m|S|k_1\cdots k_n\rangle=\langle0|a_{p_1}\cdots a_{p_m}\exp(-i\int H_I(t^\prime)dt^\prime)a^\dagger_{k_1}\cdots a^\dagger_{k_n}|0\rangle$$  And we also solve it perturbatively with Wick theorem.  Then my question is:  (1)Are these two methods equivalent up to any order? How to prove.  (2)What's the difference between $|k_1\cdots k_n;in\rangle$ in the first method and $|k_1\cdots k_n\rangle$ in the second method?   (3)If these two methods are equivalent, obviously the second method is easier. What's the motivation to create the first method. Or are there some examples in which the 2nd method fails and we can only use 1st method?   This question may be similar to following question:     However, these questions have not been solved and I explain this question in detail.


Trouble finding a decimal value in a list of decimal values using arange

I am trying to check if a randomly generated value is inside one of several ranges I have. Those ranges go from 0 to 1, and whenever I try to use arange it doesn't find it. I tried to transform all the values to integers as well in order to use range, but it keeps missing the number.   The purpose of this snippet is to find which range the random number belongs to, in order to know to know what capacity the tank would have. For example, if the random number is 0.70, then the tank would have a capacity of 100 lt.  The simplest version I've tried is the following:  import random import numpy as np  tank_capacity = [20,30,50,75,100]  pbb = [0.01,0.10,0.25,0.30,0.25]  pbb_acum = [0,0.10,0.35,0.65,0.90]  dict_pbb_acum = dict(zip(tank_capacity,pbb_acum))  combinations = [tank_capacity[i: i + 2] for i in range(len(tank_capacity)-1)]  n = random.random() print(n)  if n >= 0.9:     print("found") else:     for item in combinations:         if n in np.arange(dict_pbb_acum[item[0]], dict_pbb_acum[item[1]],0.01):             print("found")         else:             print("not found")   Thanks in advance!


I'm was phrasing a file and found a error with the file name while saving to mysql database.  Original file name looks something like Thor - Thor：The Dark World but after phrasing and saving the name to mysql through PHP, the string turns to Marvels Thorï¼šthe Dark World.  It displays the same even when I ECHO the PHP variable that holds the string so this has nothing to do with mysql.  where am I doing wrong? Any suggestions?  $di = new RecursiveDirectoryIterator('/var/www/example/data/'); foreach (new RecursiveIteratorIterator($di) as $filename => $file) {           echo $file->getFilename(); //displays Marvels Thorï¼šthe Dark World          $data[] = array('file'=>array('name'=>$file->getFilename(),'path'=>$filename));    }


What would be the right position of "substantially" in the following:     1). Before verb: These optimal values substantially contribute to the success of the methodology.      2). After verb: These optimal values contribute substantially to the success of the methodology.   Here is my issue:  Fact1: When I use Google Ngram, I get , 0 occurrence of option 1.  Fact2: I found an excellent Grammar book that discusses Adverbs, their types and prefered positions. The author defines some rules that I'll summarize as follows:   Connecting adverbs, eg: however, then,..., Position: Beginning of clause. Indefinite frequency, eg: always, usually,..., Position: Mid position (after auxilary verb, before other verbs) sometimes beginning of clause. Focusing adverbs, eg: mainly, only,..., Position: Mid position. Adverb of certainty, eg: clearly, obviously, Position: Mid position. Adverb of completeness, eg: almost, nearly,..., Position: Mid position. Adverb of manner, eg: fast, slowly, nicely,..., Position: End clause, mid and beginning. Adverb of place, eg: upstairs, around, Position: End clause, sometimes beginning. Adverb of time, eg: daily, weekly, ... Position: Mostly end clause, sometimes beginning and mid position.   I think that "substantially" is an adverb of completeness. Therefore, the right position is before the verb "contribute" (option 1). However, Google Ngam indicates that option 1 is not widely used.  What do you think? Any suggestions?


Get the link between menu name and real name of applications

On my Ubuntu 18.04, in the list of my apps (which I see when I press the Super key), I have "Fichier" ('File'), "Capture d'écran" ('print screen') or 'Logiciels Ubuntu' ('Ubuntu software').   But the real name of these applications are Nautilus, Gnome-screenshot and Gnome-software respectively  The question is : where can I find this link, "Fichier"==Nautilus?  Why would I want to do that? For exemple, I want to remap the printscreen key to open to open the print-screen application, instead of taking a picture. So in the keyboard setup, I created a shortcut with the command gnome-screenshot -i, but I had to ask internet what was the name of the screenshot app. Is there a way I could have found it myself?


Is this binomial coefficient identity known?

I stumbled across this identity involving binomial coefficients this morning:  If $n$, $k$, $a$, and $b$ are positive integers and $n=a+b$, then  $$ \binom{n}{k} =\sum_{i=0}^k \binom{a}{k-i}\binom{b}{i}.$$  The proof is trivial. (Partition a set $N$ of $n$ things into disjoint sets $A$ of $a$ things and $B$ of $b$ things. Now to pick $k$ items from $N$, either all $k$ are from $A$, or $k-1$ are from $A$ and $1$ is from $B$, or...)  Has this identity appeared before (I expect the answer to be "Yes!") and if so, does it have a name?


how can i find out my password for root since i am not a sudo user?

i am asked for the password for root to edit my account settings,upgrade,especially for authentication,but i am not a sudo user.so i don't know how to solve this password asking problem  if i enter any sudo command,it gives the following as result  deepak@deepak-Inspiron-3542:~$ sudo aplay -l [sudo] password for deepak:  deepak is not in the sudoers file.  This incident will be reported. deepak@deepak-Inspiron-3542:~$ sudo -l [sudo] password for deepak:  Sorry, user deepak may not run sudo on deepak-Inspiron-3542. deepak@deepak-Inspiron-3542:~$   this are the results when i run sudo commands.in such a situation i don't know how to tackle this password problem.so i need help to find out the password for root.


segmentation fault when using double brackets with printf

#include<stdio.h> #define POOLNAME_FMT "Hello"  void main() {   printf((POOLNAME_FMT "Cannot allocate %d bytes" POOLNAME_FMT "in pool not enough memory",5));  }   Why does it give segmentation fault when I use double brackets with printf. i.e. printf(( ));?


I am using QGIS 2.4.0 Chugiak version.   Is there an option to save selected features from a shapefile?   I couldn't find such an option in this version. I am using stand alone application.


Can I travel to Kuwait on a visa with old passport number?

I have a Kuwait visa, obtained from a hotel in Kuwait, with my old passport number. But as the validity of the present passport is expiring within 6 months, I got a new passport with a new passport number. Can I travel with the same visa or do I have to obtain a new visa with my new passport number?


"Outside the cell" or "outside of the cell"?

What is more acceptable?     There are more sodium ions outside the cell   or     There are more sodium ions outside of the cell


Factor the RSA modulus $n = 3844384501$ knowing that $3117761185^2 \equiv 1 \pmod{n}$

As per the title, the task is to     Factor the RSA modulus $n = 3844384501$ knowing that $$3117761185^2 \equiv 1 \pmod{n}\text{.}$$   $n$ being an "RSA modulus" means that it is a product of two primes, i.e. $n = pq$.  The task is to find these two primes.  I can see that from what we're given, $$ (3117761185 - 1)(3117761185 + 1) \equiv 0 \pmod{n}\text{,} $$ but I do not know how to proceed from there on.  Any hints would be greatly appreciated.  N.B. It would seem that computing $\gcd(3117761184, n)$ and $\gcd(3117761186, n)$ would give me $p$ and $q$ but I have no idea why that would be justified.


How to make a curve path from scratch given a list of (x, y, z) points?

I want to move a soft body object in my scene on a path (curve path). For the path, I want to make it myself from scratch. I basically have a Python List containing (x, y, z) points and want to create a curve path from scratch given these points using a Python script. However, it looks like the way the vertices are stored for paths is different than meshes as I cannot find something like nurbsPathObj.data.vertices. So I wonder, how can I manually add new vertices to a path or remove some of them via Blender's Python API?


Voltage in a ring circuit with induced current

Supposed I have 3 resistor, R1=1 Ohm, R2=2 Ohm, R3=3 Ohm. I connect them with copper wire to form a ring R1-R2-R3-R1 I used a device to generate changing magnetic flux in that ring. So there must be induced current flow in the ring. The problem is if I measure voltage between two ends of R1, what would that voltage be ? Since it is closed circuit then Ohm law indicate that I  *R1 = I * (R2+R3) EDIT: As suggested in comments, this question duplicate


my question is based on newton's 3rd law . An elephant pushes a rabbit with $250 N$ force , then the rabbit should also apply $250 N$ force but the rabbit is only capable  to apply $25 N$ force . Why does this happen? . According to Newton's 3rd law the rabbit should also apply this much of force .


Given the following code (that doesn't work):  while True:     #snip: print out current state     while True:         ok = get_input("Is this ok? (y/n)")         if ok.lower() == "y": break 2 #this doesn't work :(         if ok.lower() == "n": break     #do more processing with menus and stuff   Is there a way to make this work? Or do I have do one check to break out of the input loop, then another, more limited, check in the outside loop to break out all together if the user is satisfied?


Can the word "that" be used to refer to people?

I came across this :     Unbelievable as it may seem, many individuals that fought in the   American Revolution were still alive in 1839, the year the world was introduced to photography. (choose the error - the 'answer' is in bold)   It noted that the reason "that fought" is wrong is that 'The relative pronoun “that” may not be used to refer to people (“individuals”) and should be replaced with the relative pronoun “who.”'   I had thought that the word "that" could refer to both people and objects (while which was reserved for objects and who reserved for people). Am I wrong?


I want to test whether the mean in two samples are different. I don't know their variance and estimate them from the sample. When should I use the Welch-Satterthwaite approximation to the degrees of freedom for the test statistic?


Do AWS Reserved Instances need to be assigned to the instance?

I have an RDS instance running of type db.t2.small.  I bought a reserved instance for 1 year of the same type, I paid the partial upfront rate.  Do I need to assign this subscription in some way to my existing instance to say 'This is the instance that is using the subscription' or does AWS just charge for the instance usage depending which instances you have running and whether an available subscription was active for it at the time which determines the running rate?  The reason that I ask is that I can't see any mention of the reduced rate on my AWS Billing area and it shows that I've used 17 hours of my reservation, but there isn't a row on my bill so far this month that indicates the new partial upfront rate that I should be charged for my instance.


Variable Importance in Multinomial Logistic Regression

Is the magnitude of the coefficients enough to determine the importance of variables?


Proof that the sum of the first $n$ cubes is equal to the square of the $n^{th}$ triangular number

Show that the difference between the squares of two consecutive triangular numbers is a cube. Hence or otherwise, show that the sum of the first $n$ cubes is equal to the square of the $n^{th}$ triangular number.  I have managed to show that the difference between the squares of two consecutive triangular numbers is a cube by subbing $n$ and $n+1$ into the formula for a triangular number and working through to get a result of $(n+1)^3$ which is indeed a cubed number.  However, I don not know how to use this to show that the sum of the first $n$ cubes is equal to the square of the $n^{th}$ triangular number, any advice?


Why do stars flicker and planets don't? At least this is what I've read online and seen on the night sky. I've heard that it has to do something with the fact that stars emit light and planets reflect it. But I don't get it, isn't this light, just "light"? What happens to the reflected light that it doesn't flicker anymore?  I was thinking that it has to do something with Earth's atmosphere, different temperatures or something (if this has any role at all).


Why can't Kiki talk to Jiji at the end of Kiki's Delivery Service?

In Kiki's Delivery Service, Kiki temporarily loses her powers and her ability to speak to her cat Jiji. By the end of the movie, her powers have returned, but in the original Japanese version, she is still unable to speak to or understand Jiji.  Why can she not speak to or understand Jiji if all of her other powers have returned?


Ignore folders/files when Directory.GetFiles() is denied access

I am trying to display a list of all files found in the selected directory (and optionally any subdirectories). The problem I am having is that when the GetFiles() method comes across a folder that it cannot access, it throws an exception and the process stops.  How do I ignore this exception (and ignore the protected folder/file) and continue adding accessible files to the list?  try {     if (cbSubFolders.Checked == false)     {         string[] files = Directory.GetFiles(folderBrowserDialog1.SelectedPath);         foreach (string fileName in files)             ProcessFile(fileName);     }     else     {         string[] files = Directory.GetFiles(folderBrowserDialog1.SelectedPath, "*.*", SearchOption.AllDirectories);         foreach (string fileName in files)             ProcessFile(fileName);     }     lblNumberOfFilesDisplay.Enabled = true; } catch (UnauthorizedAccessException) { } finally {}


Why are there infinitely many x11 subdirectories in /usr/bin/x11?

Why does the /usr/bin/x11 folder hold another x11 folder and when you open that x11 you get another x11 and then another and another?  I did it about 6 times and got frustrated so I have no idea how deep this goes but    What is the purpose (or is it a glitch?)? Is this eating disk space more than it should? (I was going to delete one or more but thought I better ask first )   I can see no reason why this should be happening at all.


I am trying to get a list of subscribers via cursor based pagination. This is my first time using cursor based pagination, so I may be over complicating & I hope you'll identify that if so!  Here is my function for reference:  def get_subscribers():     subscribers = [] # Create empty list for appending collected      url = 'https://api.twitch.tv/helix/subscriptions'      token = refresh_token(config.refresh_token)      headers = {         'Client-id':config.client_id,         'Authorization': 'Bearer {}'.format(token)     }      params = {         'broadcaster_id':config.channel_id,     }      req = requests.request('GET', url, params=params, headers=headers)     response = req.json()     subs = response['data']     next = response['pagination']['cursor']     for sub in subs:         print('Appending {0} to Subscriber List.'.format(sub['user_name']))         subscribers.append(sub)      while subs is not None:         params = {             'broadcaster_id':config.channel_id,             'after':next         }          req = requests.request('GET', url, params=params, headers=headers)         response = req.json()         subs = response['data']         next = response['pagination']['cursor']          for sub in subs:             print('Appending {0} to Subscriber List.'.format(sub['user_name']))             subscribers.append(sub)      return subscribers   Here's an example response on the first request:  {   "data": [     {       "broadcaster_id": "67961343",       "broadcaster_name": "xJOKERx",       "is_gift": false,       "plan_name": "Channel Subscription (xJOKERx): $24.99 Sub",       "tier": "3000",       "user_id": "67961343",       "user_name": "xJOKERx"     },     {       "broadcaster_id": "67961343",       "broadcaster_name": "xJOKERx",       "is_gift": false,       "plan_name": "Channel Subscription (xJOKERx)",       "tier": "1000",       "user_id": "147283917",       "user_name": "killming"     },     {       "broadcaster_id": "67961343",       "broadcaster_name": "xJOKERx",       "is_gift": false,       "plan_name": "Channel Subscription (xJOKERx)",       "tier": "1000",       "user_id": "100417968",       "user_name": "King_gilbster"     },     {       "broadcaster_id": "67961343",       "broadcaster_name": "xJOKERx",       "is_gift": false,       "plan_name": "Channel Subscription (xJOKERx)",       "tier": "1000",       "user_id": "81318617",       "user_name": "ParagonWing"     },   ],   "pagination": {     "cursor": "eyJiIjpudWxsLCJhIjp7Ik9mZnNldCI6MjB9fQ"   } }   Here is an example response on the "final" page:  {   "data": [],   "pagination": {     "cursor": "eyJiIjp7Ik9mZnNldCI6MTYwfSwiYSI6eyJPZmZzZXQiOjIwMH19"   } }   So what I'm doing is making my initial request then saying while the list is not None continue making requests while using the last cursor for offset.  The problem with this is the list is never None. What condition could be met for this to stop the while loop?   I am also open to alternatives not requiring a while loop.


this is my first time to install ubuntu, it seems a lot of effort on a dell xps 15, but for the last 12 hours or so I seem to be making progress. First of all ubuntu wouldnt load for me it was stuck on a black screen and also on purple load screen. I then pressed e while hovering over ubuntu in the grub menu and then I changed some things in here, I ran ubuntu and it worked perfectly.  However when I start ubuntu my changes are not saved and I am asking how can I make these changes permanent so that I don't have to update the grub every time I want to log into ubuntu.  I have googled this question and scoured the first couple of google pages for solution and none have worked in my case.    Can someone please enlilghten me on how I can just make my grub changes permanent... Thank you very much in advance!


complex class's default constructor doesn't work

According to , class complex<double> has a default construct of the form complex (double re = 0.0, double im = 0.0);. However, I don't know if this is really correct. Could anyone explain the strange behavior of the code below?  #include <iostream> #include <complex> #include <typeinfo> using namespace std;  int main() {      complex<double> cmp1(1, 2);     complex<double> cmp2(1); //isn't the same as cmp2(1, 0.0) ?     complex<double> cmp3(); //isn't the same as cmp3(0.0, 0.0) ?      cout << cmp1.real() << "\n"; //=> 1     cout << cmp1.imag() << "\n"; //=> 2      cout << cmp2.real() << "\n"; //=> 1     cout << cmp2.imag() << "\n"; //=> 0      //cout << cmp3.real() << "\n"; //error (why?) //mark1     //cout << cmp3.imag() << "\n"; //error (why?)      /* error message output by `mark1`: */     /* request for member ‘real’ in ‘cmp3’, which is of */     /* non-class type ‘std::complex<double>()’ */      cout << cmp3 << "\n"; //=> 1 (why?)      cout << typeid(cmp1).name() << "\n"; //=> St7complexIdE     cout << typeid(cmp2).name() << "\n"; //=> St7complexIdE     cout << typeid(cmp3).name() << "\n"; //=> FSt7complexIdEvE  }   Environment:  $ g++ --version g++ (Ubuntu 5.4.0-6ubuntu1~16.04.9) 5.4.0 20160609   Compiling option:  $ g++ -Wall -std=c++98 <file name>


for example "Everybody [is] joking about him" what does [is] stands for ?


Does a word meaning "Created Recklessly for Temporary Use" exist?

Imagine you are surviving in the wilderness traveling in a wandering manner. You've found this landscape that is wonderfully abundant in food and basking in a very favorable climate. Therefore, you decide that this is your new residence.  Night is approaching, so you haphazardly piece together a makeshift shelter to make for a more enjoyable living experience while you get your act together.  This shelter is only temporary. After you've become familiar with the land and have gathered finer resources, you will begin creating a proper home complete with securities, amenities, and furnishings.  The word I am looking for is an adjective meaning something similar to "created recklessly for temporary use."      The shelter you were building on your first night was a(n) ________   abode.   The words and phrases "ad-hoc", "off the cuff", "on the run" came to my mind, but none of those are understood to mean what I am trying to communicate (in fact, two of them are not even close). If you think of a word with a meaning that you believe to be similar to what I am searching for, I'd love to hear from you!  Thank you.


Complete references in between the document

When we do   \bibliographystyle{style} \bibliography{References.bib}   We get all the references at the end of the document, with some kind of reference/id in the document.   What I need is the complete reference in the document itself (not at the end) and then to be able to write what I want below this reference. For example;  Chaminade, T., Hodgins, J., & Kawato, M. (2007). "Anthropomorphism influences perception of computer-animated characters' actions." Social Cognitive and Affective Neuroscience 2(3): 206-216      - Some text..........      - Some more text.......  Cowley, S. J., Kanda, T. (2005). "Friendly machines: interaction-oriented robots today and tomorrow." Alternation 12(1a): 79-106.      - Some text.....      - Some more text....   How can I do it? Thanks.


I'm trying to prove unique factorization for the set of polynomials in x, with integer coefficients.   I have tried proving that the analogous Euclidean algorithm works for such polynomials, using “degree” instead of “norm" if that makes sense, but couldn't quite get it. If anyone could help me out that would be great! Thanks :)


Why speed of light is same in all reference frames? How classical mechanics and quantum mechanics approach this? Do they have two different answers to the question? If no, how is Classical mechanics different from Quantum mechanics?


Iptables rules enabled for allowing icmp/ping for only specific IP address with RHEL7 OS not working

The server where iptables rules are enabled is RHEL 6.4.   From this server, I tried to allow icmp echo request from only one specific IP address (host with RHEL7.5 OS).  I used the following rules:  iptables -A INPUT -s <ip_specific_node_rhel7.5> -p icmp --icmp-type echo-request -j ACCEPT iptables -A OUTPUT -p icmp --icmp-type echo-reply -j ACCEPT   Default policy is ACCEPT. So, at the last line, along with other ssh rules allowed, I added the line to block other servers and ports:  iptables -A INPUT -j DROP   It's not working.   Firewalls are not running on the host with RHEL7.5.  But, from other hosts, rules are working.  Are there any configurations required?


Ubuntu 14.04 upgrade succeeded partially - I would like to use a different mirror; how can I do that?

When I wanted to upgrade from Ubuntu 13.10 to 14.04 the update manager told me that there was an unresolvable problem with calculating the upgrade. In order to see more details I performed the following on the command line:  apt-get update apt-get upgrade apt-get dist-upgrade apt-get install update-manager-core do-release-upgrade   Now do-release-upgrade tells me that no newer version is available but the "about" box in the main menu tells me I am still on 13.10. I think the latter is right, as for instance in the "system settings" there is no way to select local menus, which is present in 14.04 (I tried with a DVD, and there it is).  Maybe the problem is related to the fact that "apt-get update" cannot get two resources called "saucy/InRelease" and "saucy/main/binary-i386/Packages" from the mirror (mirror.informatik.uni-mannheim.de; 404 not found). I would like to use a different mirror; how can I do that?  Any help appreciated, thanks in advance.


I'm self studying Burton's number theory and came across the following problem:   Prove that:  $\binom{n}{1}+2\binom{n}{2}+\cdots+n\binom{n}{n}=n2^{n-1}$  So I tried expanding $n(1+b)^{n-1}$ with the binomial theorem and then let $b=1$, but couldn't really get anywhere. Could someone help?  Thanks


Align vertically list items in inline-block list

I have been messing with this for more time then I was expecting. I am trying to align these list items vertically and I can't do it for some reason. I feel like this should have been easy but it's not. I have been even searching on here for the answer but could not find the right solution for me. what am I doing wrong?     body { background-color: black; }  .recommend {   text-align: center;   position: absolute;   margin: 0 auto;   left: 0;   right: 0;   top: 0; }  .recommend span{   color: #fff; }  .media-icons {   left: 0px;   top: 0px;   height: 72px; }  .recommend ul {   margin: 0;   padding: 0; }  .recommend li {   display: inline-block;   height: 72px; }
   network tv stations


Assigning correct permissions on a shared web server

I have created a centos instance on digital ocean hosting multiple websites by setting up virtual host, all is working fine, however assigning correct directory permission for each website is bugging me and i could not find any relevant answer by searching, hence hoping someone here could lend me a helping hand, let me elaborate.  For the sake of explanation lets assume i am hosting a.com and b.com on my web server, i also created 2 users which is "user_a" and "user_b" and here is my directory structure for hosting the files  Directory #1 : /var/www/a.com/public_html Directory #2 : /var/www/b.com/public_html   Directory#1 is assigned user_a by running the following command   sudo chown -R user_a:user_a /var/www/a.com/public_html   Directory#2 is assigned user_b by running the following command  sudo chown -R user_b:user_b /var/www/b.com/public_html   My issue is that Apache/PHP is running under the user www and when it tries uploading file using PHP it throws permission error, O assume it is because project directory is assigned a different user and Apache is running under different user (please correct me if i am wrong).  The easiest work-around is to reassign www user to project directory, however i am not sure if it is a security flaw, or i would like to know how to go with the user permission in such situation?  Thanks


How to use displaystyle for all maths expressions in text?

I would like to display all inline maths expressions in displaystyle, but without typing \displaystyle{...} everytime I insert a math expression into a block of text.  How can we do that at the preamble level? I would also need a command to temporarily turn off the automatic displaystyle in some cases, if  a math expression is a bit to big for the text. Here's a MWE to try: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,10in},left=1.5in,top=0.5in,includehead,includefoot]{geometry} \usepackage{microtype} \usepackage[nodisplayskipstretch]{setspace} \setstretch{1.1} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathtools} \usepackage{tensor}  \begin{document}  This is a simple test; $\sqrt{y(x)} = x_1^3 - a \, x^2$ or $\displaystyle{\sqrt{y(x)} = x_1^3 - a \, x^2}$.  Or again this is a test: $c^{-2}$ is of order $\displaystyle{c^{-2}}$.  This is a tensor: $\tensor{T}{_{\mu \nu}^{\lambda}}$ or $\displaystyle{\tensor{T}{_{\mu \nu}^{\lambda}}}$.  \end{document}


My understanding of (situational) irony is that it involves a certain expectation for the outcome of a situation but the reality ends up being opposite to that. I'm not sure if there has to some explicit action to ensure the expected outcome e.g. I guess it's not irony if the weatherman forecasts rain and it ends up being sunny even though the expectation was clearly the opposite of the true outcome.    1) In a TV show, and a man in his suit calls his wife and tells her he's working very hard. The camera pans out and the audience sees him in a bar and not working.  Is this ironic for the audience? I guess from the comments so far that the answer is no but is it because the audience did not participate in trying to make the man work or is it some other reason? The criterion for the result being the opposite of what is expected is met here.   2) Donald Trump hates foreigners but has a foreign-born wife.  I understand that this makes him hypocritical but is this also ironic? Here, one expects Trump to marry an American but he does the opposite. And it seems very similar to the example below.  3) My girlfriend says she hates blonde men. She breaks up with me and then has a blonde boyfriend.   From my perspective, is this ironic?  I do not see why 2) and 3) are different but the comments say that 3) is irony but 2) is not.


Iterate a list of types and use it as a generic parameter

I am trying to enumerate a list of types in C# and pass these as a generic type. This way I can have one list of object types and use this to sync data, instantiate storage tables, etc. Something like this:  public async Task<bool> SyncAll() {     var types = new List<Type> { typeof(Product), typeof(Customer) };      foreach (var t in types)     {         await Sync<t>();     }     }  public async Task<T> Sync<T>() where T: Syncable {     var items = _repository.GetItems<T>();     ... }   The code above does not work, but is this even possible?


Ubuntu Software doesn't accept a different theme unless some variations of yaru

Hello recently I settled a different theme on my Ubuntu 20.04 LTS and the only application that didn't accepted it was the Ubuntu Software, but when I open the settings and set some of the default themes available it accepts.Does anybody knows how to fix this problem?


How to set up a orbiting camera with zoom in the BGE?

How can I zoom in and out using the mouse wheel in the BGE? And press the middle button to go move around the character?   I want the camera to be parent to the character so that it will follow it.


I have a problem with the lstlisting package. I want to define an \newenvironment with one obligatory parameter, which will be the caption name for the lstlisting. I will also have other lstlisting environments, that is why I am trying to define them separately.  I am also having some difficulties with \lstinline command (I set up a \newcommand to gain easier coding), which typesets keywords in normal text. Why can't it be in captions and similar?  I suppose something could be wrong with the preamble, that's why all the packages used are listed.  \documentclass{book} \usepackage[a4paper, top=3cm, bottom=3cm, heightrounded, outer=3cm, inner=3cm, marginparwidth=1.5cm, marginparsep=0.5cm]{geometry}  \usepackage{tocloft} \usepackage{amsmath}  \usepackage{eurosym} \usepackage{url} \usepackage{array} \usepackage{tabularx} \usepackage{multirow}  \usepackage{multicol}  \usepackage{graphics} \usepackage[dvips]{graphicx}  \usepackage{epstopdf}  \usepackage[dvipsnames]{xcolor}  \usepackage{verbatim} \usepackage{fancyvrb}  \usepackage{fancyhdr} \usepackage{paralist}  \usepackage{listings}  \usepackage{pifont}  \usepackage{indentfirst}   \lstset{language=[Visual]Basic, % keywordstyle=\color{blue},commentstyle=\color{ForestGreen},stringstyle=\color{Maroon},% basicstyle=\ttfamily\normalsize, frame=lines, % showspaces=false, showstringspaces=false,% tabsize=4, aboveskip=10pt, belowskip=10pt, % lineskip=2pt, numbers=left, numberstyle=\tiny, stepnumber=1, numbersep=5pt,% numberblanklines=false, % breaklines, breakatwhitespace, prebreak=\_, breakindent=0pt % }  \lstset{morekeywords={Or, Loop, Until, To, As, Single, Module, Double, ByVal}}  \lstset{emph={Console}, emphstyle=\color{Aquamarine}}  \newenvironment{case}[1]{\renewcommand\lstlistingname{Case}% \begin{lstlisting}[caption={#1}]}% {\end{lstlisting}}  \newcommand{\code}[1]{\lstinline[basicstyle=\rmfamily\normalsize, prebreak=, keywordstyle=\ttfamily]{#1}}   \begin{document}  Example with inline, that works: \code{Console, Sub in Module}.  \begin{case}{Hello world} %doesn't work Module Module1     Sub Main()         Console.WriteLine("Hello World!")         Console.ReadKey() End Sub End Module \end{case}  \end{document}   Thank you in advance!


I have a system where we are constantly storing files into RAM (under /tmp/), processing them and then deleting them.  Some files we need to keep in RAM and other not.  My problem is that I want to report how much RAM is left that is useable to store files.  When I use "free" I may get a report that says:  free: 10000 (KB)   However when I run cat /proc/meminfo I get a different/more-meaningful story:  memfree:     10000 (KB) Cached:     100000 (KB) SwapCached:      0 (KB) Active:      59000 (KB) Inactive:    41000 (KB)   Ok, I have approximated/rounded the values for clarity.  From this post: , I can see that "inactive" memory is usable, and therefore - as far as I am concerned - it is free.  So I should be able to report 10000 KB + 41000 KB of free (well, ok not "free" free, but usable) memory.  Is there a command I can use (or some other method) whereby I can report the total "usable" memory?  I believe the total usable, as far as I understand it, is "free" + "inactive".  Thanks


Windows share mounts but without write permissions

I am trying to mount a Samba Shared Folder in Ubuntu, but I am facing some issues because when the folder is mounted, I have no permission to write on mounted folder.  First of all, the shared folder is on a server called vmfox and the folder's name is apps. On VMFox server, I have this samba configuration /etc/samba/smb.conf:  [global]         workgroup = MYDOMAINNAME         netbios name = vmfox         server string =         security = DOMAIN         encrypt passwords = true         obey pam restrictions = Yes         password server = server.mydomain.com.be         pam password change = Yes         passwd program = /usr/bin/passwd %u         passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*         unix password sync = Yes         log file = /var/log/samba/%m.log         max log size = 0         socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192         dns proxy = No         wins server = 201.232.023.10         kernel oplocks = No         NIS homedir = Yes         create mask = 0775         directory mask = 0775         printing = cups         oplocks = No  [apps]    path = /l/disk0/apps    valid users = myuser,otheruser    public = no    writable = yes    create mask = yes    force user = www-data    force group = www-data   So, with the configuration above I edited the file /etc/fstab on my local machine to mount the shared folder. First of all I created a file with my credentials: ~/.smbcredentials with the following content:  username=myusername password=mypassowrd   And, finally, the file /etc/fstab with the following line:  //vmfox.example.com/apps  /home/rgiaviti/Dev/Network/vmfox  cifs  credentials=/home/rgiaviti/.smbcredentials,iocharset=utf8,domain=MYDOMAINDOMAIN,file_mode=0777,dir_mode=0777 0 0   OK. After everything, the shared folder is mounted using sudo mount -a. The problem is, I have no write permission in the mounted folder. When I access this shared folder in a Windows Machine, I can write normally in this folder.  I used  to mount and  helped me too, but no write permission at all.


Let's say someone said this: "We planned to cancel the event if he got sick." In backshifting this statement, are both of these statements appropriate and equivalent?  "They said they had planned to cancel the event if he got sick." "They said they had planned to cancel the event if he had gotten sick."


I remember there was some way to include badges in the post text in a similar way  can be, but I cannot find it in the . How can this be done?


I purchased my 110 year old colonial house 6 months ago. It has a field stone foundation that looks completely original (with a few small repairs). The house is located in North Eastern Massachusetts and is exposed to the worst of the elements around here. This has lead to the walls of the foundation starting to crumble, the mortar is loose on most of the wall and unstable. I can peel pieces off with my fingers. When I "knock" on the joints it almost sounds hollow. this is widespread throughout the basement. However the walls seem solid enough.  My question... I want to sure up these walls. I want to get a more water/rodent tight perimeter.   What are the steps I need to take?  How much of the old mortar should I remove? if I removed all of the "loose stuff" it seems like this project would take months! years even! What kind of mortar can I use as a replacement? I read online that its bad to use Portland cement? Best to use Type N Lime mortar?  What tools will I need? Is this a do-it-yourself job? or should I hire someone?   thanks for any info... getting really nervous about this project!


Given $x_1 = 2,$ and $$x_{n+1} = \frac{1}{2}\bigg(x_n + \frac{2}{x_n} \bigg),$$ show that for all $n \in \mathbb{N},$ $x_n \geq \sqrt{2}.$  I tried the following. Suppose, for contradiction, that $x_{n+1} < \sqrt{2}.$ Then, $$\frac{1}{2}\bigg(x_n + \frac{2}{x_n} \bigg) < \sqrt{2},$$ and $$x_n + \frac{2}{x_n} < 2\sqrt{2}.$$ Given that $x_n \geq \sqrt{2},$ it follows that $$\sqrt{2} + \frac{2}{x_n} \leq x_n + \frac{2}{x_n} < 2\sqrt{2},$$ and $$\sqrt{2} + \frac{2}{x_n} < 2\sqrt{2}.$$ So, $$\frac{2}{x_n} < \sqrt{2},$$ and $$\sqrt{2} < x_n.$$ No contradiction. I've tried proving it directly, by squaring both sides and by leaving the expression as is, and I consistently find that the $x_n$ and the $x_n^{-1}$ are together problematic.  I also tried something that allowed me to arrive at the following: $$x_{n+1}x_n \geq 2.$$ But, I don't think that's helpful.  Help?:)


show the p is a sum of two squares - number theory

If $p$ is a the sum of two squares are integers $a$ and $b$ s.t. $p=a^2 + b^2$ then $p=1$ mod $4$.  I need help proving that.


How to create a grain / noise effect in Adobe Illustrator

I want to create a noise effect using Adobe Illustrator.  Inside the hexagonal shape there is some kind of texture effect, I don't know what the name of this effect is:    How can I create such an effect in Adobe Illustrator? or is it created using Photoshop?


Using stackoverflow data to look at trends in technology usage

Is it possible to query how many questions per day have been asked on a particular subject on Stackoverflow over a period of time?  For instance, I can use  to compare number of searches per unit time for different search terms, but often the results are skewed because I'm searching for a technology that shares the same name as something else. For instance, searching for 'java vs c#' on Google Web Trends would probably pick up quite a lot of noise as java is also a type of coffee, and c# is a musical note.  This could be a great way to look at what technologies are 'up and coming', and potentially what I should learn next.


Prove that $0$ is not an essential singularity (UW Madison Qualifying exam)

I'm trying to do this old qualifying exam problem from UW Madison. Let $D^\ast=\{z\in\mathbb{C},0<|z|<1\}$ and $f$ be a non constant holomorphic function on $D^\ast$. Assume that $\text{Im} f(z)\geq 0$ if $\text{Im} z\geq 0$ and $\text{Im} f(z)\leq 0$ if $\text{Im} z\leq 0$. Prove that if $z\in D^\ast$ is not real, then $f(z)$ is not real. Show that if $z\in (-1,0)\cup(0,1)$, then $f'(z)\not=0$. Prove that $0$ is either a removable singularity with $f'(0)\not=0$ or $0$ is a simple pole of $f$. What I have thought of so far: If $z\in D^\ast$ and $\text{Im} z>0$, but $\text{Im} f(z)=0$, then apply the maximum modulus principle on $\{z|z\in D^\ast,\text{Im} z>0\}$ to $e^{if}$ to obtain a contradiction. This shows that if $z\in D^\ast$ and $\text{Im} z>0$, then $\text{Im} f(z)>0$. Similarly if $z\in D^\ast$ and $\text{Im} z<0$. Furthermore, the reflection principle shows that $f(\overline{z})=\overline{f(z)}$. If $z\in(-1,0)\cup(1,0)$, to show that $f'(z)\not=0$, we use the following fact: fact: If $f$ is a complex valued function continuous on $\overline{D(0,R)}$ and holomorphic on $D(0,R)$, then for any $z\in D(0,R)$, we have $$f(z)=\int_0^{2\pi}i \text{Im} f(\xi)\frac{\xi+z}{\xi-z}\frac{d\theta}{2\pi}+K$$ for some constant $K$, where $\xi=Re^{i\theta}$. We can differentiate the expression to get an expression of $f'(z)$ in terms of $\text{Im} f$. This same fact shows that $f'(0)\not=0$ if $0$ is a removable singularity. If $0$ is a pole, $\text{Im} z$ is dominated by the imaginary part of $\frac{C}{z^n}$ for some $n\in\mathbb{Z}^+$ and $C\in\mathbb{R}$ when $|z|>0$ is small, then unless $n\not=1$, we can find some $z\in D^\ast$, $\text{Im} z>0$ such that $\text{Im} f(z)<0$. So if $0$ is a pole, then it is a simple pole. My question is: how to show that $0$ is not an essential singularity? Thanks!!


How to make file association (not with CLI tool/command)?

In Ubuntu 11.04 when I right click on a file in Nautilus and chose "open with" I could select application and tick on check box to make it default application for certain file type  In 11.10 there is no such option, so I'm wondering what's alternative to it now?


What is the origin of the expression hashing out plans? I can't find a definition when googling for:  definition "to hash out plans" definition "hash out plans" definition "hashing out plans"


I recently dual booted Windows and Ubuntu, giving Ubuntu 150GB of my 500GB hard drive. I have uninstalled all of the programs that work on Linux from my Windows and then reinstalled them on my Ubuntu, giving me 222GB free on my Windows partition, and no free room on my Ubuntu partition. I would like to transfer those 200GB from my Windows partition to my Ubuntu partition, but I cannot figure out how to do it. Here is a screenshot of my Gparted.    I would greatly appreciate help, because I am planning on switching to mainly Ubuntu.


Could I replace "The loved ones are happy." with " The loved are happy." Is it possible to replace?  I learned that 'the' plus 'adjective' means 'prural normal noun'. I think that Past participal 'loved' is a adjective. Is it right?


Does every connected metrizable space have uncountably many distinct open sets, each of which generating a connected subspace?

I would suspect that the answer is "yes". Of course any connected metrizable space is uncountable. And any such space has uncountably many open sets: For one can easily show by an inductive argument that any such space has a countably infinite, pairwise disjoint sequence of open sets.  Moreover, the space obviously has infinitely many spheres and each sphere is connected.


Simple modular arithmetic expression proof

I'm trying to prove that if $N_1\mod(a) = n_1$ and $N_2\mod(a) = n_2$ then $(N_1+N_2)\mod(a) = (n_1+n_2)\mod(a)$  By our assumption $N_1 = am_1 + n_1$ and $N_2 = am_2 + n_2$  So $N_1+N_2 = a(m_1+m_2) + n_1 + n_2$  So $(N_1+N_2)\mod(a) = (a(m_1+m_2) + n_1 + n_2)\mod(a)$  Now my justification was long and considered the case where $n_1+n_2 < a$ and $= a$ and $>$ then a however the solutions I am using to check simply said both $n_1$ and $n_2$ are between $0$ and $a-1$ and so the expression is true. It feels like their reasoning is missing a few steps because I'm not sure how they can go from $n_1$ and $n_2$ between $0$ and $a-1$ to the identity is true. Am I missing something?


Prove that the support function of a closed non-empty set is convex

Let $C$ be a closed non-empty set, but not necessarily convex. The support function of $C$ is given by   $$S(z) = \sup_{c \in C} \langle z,c\rangle. $$   Prove that this is a convex function.   Attempt  Let $a \in [0,1]$. Then   $$S_C(ax + (1 - a)y) = \sup_{c \in C} \langle ax + (1- a)y,c\rangle \leq \sup_{c \in C } \langle a,c\rangle + \sup_{c \in C} \langle (1-a)y,c\rangle$$  Can I actually break up the sum as $\sup_{c \in C } \langle a,c\rangle + \sup_{c \in C} \langle (1-a)y,c\rangle$? If it is not bounded?


I am a neophyte with Ruby on Rails but I've created a couple of small apps. Anyway, I'm really interested in OpenID and I would like to implement OpenID authentication and maybe some Sreg stuff in a Rails app. All of the research that I have done has come up with articles that are out of date or just don't work for me. Since I'm so new to Rails I'm having difficulty debugging the issues so...  What is the best way to implement OpenId in Rails?


Consider the problem of the choice of estimator of $\sigma^2$ based on a random sample of size $n$  from a $N(\mu,\sigma^2)$ distribution.   In undergraduate, we were always taught to use the sample variance  $$\hat{s}^2 = \dfrac{1}{n-1}\sum_{i=1}^{n}\left(X_{i}-\bar{X}\right)^{2}$$   instead of the maximum likelihood estimator  $$\hat{\sigma}^2 = \dfrac{1}{n}\sum_{i=1}^{n}\left(X_{i}-\bar{X}\right)^{2}.$$  This is because we learned that $\hat{s}^2$ is an unbiased estimator and that $\hat{\sigma}^2$ is biased.  However now I'm studying for a PhD and I've read that we choose estimators based on minimizing mean square error (=bias$^2$ + var).   that $$mse(\hat{\sigma}^2) < mse(\hat{s}^2 ).$$  So, why do most people use $\hat{s}^2$?


How exactly is white light a combination of several wavelengths?

I have read that light is an electromagnetic wave. Every ray of light has a specific wavelength. The colour perceived by any observer is dependent upon the wavelength of the incident light.  What I don't understand is that how do electromagnetic waves of different wavelengths combine to form a single wave of another wavelength? Simply put, I have the following two related questions to ask:    When we look upon a, say, completely white object, what is the composition of the individual rays that strike our eyes? Are those rays waves formed by the addition of waves corresponding to individual wavelengths that constitute white colour? I get that white light is composed of all wavelengths of visible light, but how are those wavelengths combined into a single unit which we call white light? If it is so, then how are prisms able to disperse light into its constituent colours?   Also, as a side question, how does all of this relate to light being composed of photons?


How to truncate the number of digits after the decimal

Suppose, I take an irrational number, q, and an integer n, and I want to print the truncated value of q after keeping exactly n digits after the decimal.   Example:  Input: q = 3.14159625, n = 3 Output: 3.141


simplify boolean expression: xy + xy'z + x'yz'

As stated in the title, I'm trying to simplify the following expression: $xy + xy'z + x'yz'$ I've only gotten as far as step 3:  $xy + xy'z + x'yz'$  $=x(y+y’z) + x’(yz’)$  $=x(y+y’z)+x(y’+z)$  But I don't know where to go from this step, I'm not sure if I'm allowe to rewrite y'z as y+z' (I'm not even sure if that would help)


Copying code to LaTeX without losing the formatting

I have some code of around 350 lines, and I need to paste it inside a LaTeX file without losing the formatting such as the extra spaces. What do I need to use to get this in LaTeX?


Slow Boot time apt-daily-upgrade.service and apt-daily.service on Xubuntu 18.04 - ASUS K70IO laptop

I'm on Xubuntu 18.04, yet recently my      old laptop is very slow to boot   .   I've been hunting on the internet but I am unable to find any solution.  Please help,  ASUS K70IO NVIDIA GeForce GT 120M 320GB scsi HDD Intel(R) Core(TM)2 Duo CPU     T5900  @ 2.20GHz 2 x 2GiB DIMM SDRAM Synchronous 2048 MHz (0,5 ns)   $ lsb_release -a  No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.1 LTS Release:    18.04 Codename:   bionic   $ systemd-analyze blame  1min 48.606s apt-daily-upgrade.service      48.437s apt-daily.service      11.508s dev-sda6.device       8.186s networkd-dispatcher.service       8.082s keyboard-setup.service       6.290s NetworkManager.service       5.793s grub-common.service       5.128s udisks2.service       4.815s snapd.service       4.327s accounts-daemon.service       4.175s apparmor.service       4.040s wpa_supplicant.service       3.674s thermald.service       3.411s avahi-daemon.service       3.376s pppd-dns.service       3.374s gpu-manager.service       3.373s rsyslog.service       2.491s colord.service       2.136s systemd-udevd.service       2.105s systemd-journal-flush.service       1.413s systemd-logind.service       1.398s systemd-tmpfiles-setup-dev.service       1.354s apport.service   $ systemd-analyze critical-chain  The time after the unit is active or started is printed after the "@" character. The time the unit takes to start is printed after the "+" character.  graphical.target @27.327s  └─multi-user.target @27.327s  └─getty.target @27.327s  └─getty@tty1.service @27.327s   └─system-getty.slice @27.325s     └─setvtrgb.service @26.730s +594ms       └─systemd-user-sessions.service @24.850s +661ms         └─network.target @24.770s           └─NetworkManager.service @18.479s +6.290s             └─dbus.service @15.872s               └─basic.target @15.858s                 └─sockets.target @15.858s                   └─snapd.socket @15.838s +19ms                     └─sysinit.target @15.781s                       └─apparmor.service @11.605s +4.175s                         └─local-fs.target @11.598s                           └─local-fs-pre.target @11.598s                             └─keyboard-setup.service @3.516s +8.082s                               └─systemd-journald.socket @3.463s                                 └─system.slice @3.462s   $ sudo lshw -short  ASUS                        system      K70IO (To Be Filled By O.E.M.) /0                          bus         K70IO /0/0                        memory      64KiB BIOS /0/4                        processor   Intel(R) Core(TM)2 Duo CPU     T5900  @ 2.20GHz /0/4/5                      memory      64KiB L1 cache /0/4/6                      memory      2MiB L2 cache /0/1f                       memory      4GiB System Memory /0/1f/0                     memory      2GiB DIMM SDRAM Synchronous 2048 MHz (0,5 ns) /0/1f/1                     memory      2GiB DIMM SDRAM Synchronous 2048 MHz (0,5 ns) /0/1/0.0.0      /dev/sda    disk        320GB ST9320423AS /0/1/0.0.0/1    /dev/sda1   volume      100MiB Windows NTFS volume /0/1/0.0.0/2    /dev/sda2   volume      140GiB Windows NTFS volume /0/1/0.0.0/3    /dev/sda3   volume      832MiB Windows NTFS volume /0/1/0.0.0/4    /dev/sda4   volume      156GiB Extended partition /0/1/0.0.0/4/5  /dev/sda5   volume      20GiB Windows FAT volume /0/1/0.0.0/4/6  /dev/sda6   volume      129GiB EXT4 volume /0/1/0.0.0/4/7  /dev/sda7   volume      7812MiB Linux swap volume


will the protected question be deleted if the user gets deleted

I have one doubt. I know that if the user has delete his account all his voting will be reversed.   I also assume that question and their answers will also be deleted.   But what if there is a protected question post by the user.Will it also be deleted or is there a way to prevent those questions from being deleted ?


The bigger the mass, the more time slows down. Why is this?

If I were to stand by a pyramid, which weighs about 20 million tons, I would slow down by a trillion million million million of second. Don't know if that's exactly right, but you get the point. Also, if you went into a black hole, time would stop at the event horizon (as measured by a clock of a distant outside observer). Why is this?


The commutators of related vector fields are related

Let $X_1, X_2$ be vector fields over a smooth manifold $M$ and likewise $Y_1, Y_2$ vector fields over a smooth manifold $N$. Furthermore, let $X_1$ and $Y_1$ aswell as $X_2$ and $Y_2$ be $\Phi$-related for some morphism $\Phi: T M \to T N$ (i.e. we have $\Phi \circ Y_i = X_i \circ \phi$ where $\phi: M \to N$ is the projection mapping of $\Phi$). I now want to show that the commutator/Lie bracket $[X_1, Y_1]$ is also $\Phi$-related to $[X_2, Y_2]$.  Now I tried to go by the definition of the commutator and write out   $$[X_1, Y_1] \circ \phi  = X_1 Y_1 \circ \phi - Y_1  X_1 \circ \phi \\   = X_1 \circ (\Phi \circ Y_2) - Y_1 \circ (\Phi \circ X_2) \\$$  But I'm not really sure how to go from there as I don't think I could interchange $X_i \circ \Phi$ for $\Phi \circ X_i$? I would need to show that this expression is equal to   $$\Phi \circ [X_2, Y_2] = \Phi(X_2 Y_2 - Y_2 X_2)$$  but approaching it from this side, I again don't know how to continue from here, as I don't think I could just "pull in" $\Phi$ into the individual summands? Is there something about the commutator that I'm misunderstanding or forgetting? It seems like an easy thing to show yet I'm a bit lost here.


Function to count number of nodes to the left of root in Tree

How to count the nodes which are in the left side of a root node? This is not similar to counting all the left nodes in the tree.