mkdir not working, only with mkdir -p in rootserver with plesk

I just ordered a new root server 18.04 Ubuntu with Plesk. I log in as root and want to create a folder for example: mkdir /usr/local/myfolder/hello  I get the error: mkdir: cannot create directory ‘/usr/local/myfolder/hello’: No such file or directory  It only works, when I use mkdir -p. I can only create 1 folder ahead, when I am in the directory, not a path. For me this is not normal, how can I fix this? Also my scripts dont run because of this. Thanks


Well, I tried a lot to insert the guest additions, like type in the command line sudo ./VBoxLinuxAdditions.run or something else. But it always runs like the pictures below. My host is Mac OSX, I'm using VirtualBox.    Not look like this.    Look like this for the two command lines.


MySQL solution to concatenate multiple rows of text based on 2 matching IDs

I'm using MySQL (5.5.65-MariaDB) and have an application which consists of a table, generated_text_tbl. The following is some sample data from this table. ----------------------------------------------- id | substance_id | display_id | generated_text    ----------------------------------------------- 1  | 54           | 139        | foo ----------------------------------------------- 2  | 54           | 139        | bar ---------------------------------------------- 3  | 1933         | 139        | baz -----------------------------------------------   4  | 38           | 27         | xyz -----------------------------------------------  id is an AUTO_INCREMENT field. The substance_id and display_id are foreign keys which refer to records in other tables (substances.id and display.id respectively). I want to output the text from the generated_text field - separated with a HTML line break character (
) - if where matching substance_id and display_id rows exist. If there is no match (i.e. an individual row) then generated_text should still be output, but does not need the
 character since there is nothing to separate. I have a solution to this problem which works in PHP but I want a pure SQL solution if possible. I've written out the logic I have since this technically works, albeit in PHP. For the example data above the correct output would be as follows:  foo
bar : because there are 2 rows where the substance_id and display_id match (both are 54 and 139 respectively). baz : there is only 1 row WHERE substance_id = 1933 AND display_id = 139. xyz: same logic as above, there is only 1 row WHERE substance_id = 38 AND display_id = 27.  Logically my PHP script works like this:  All unique substance_id's are loaded into an array. Equivalent to SQL SELECT DISTINCT(substance_id) FROM generated_text_tbl.  All unique display_id's are loaded into an array. Equivalent to SQL SELECT DISTINCT(display_id) FROM generated_text_tbl.  Loop through (1) with an inner loop on (2). This effectively cycles through every substance_id and display_id combination, i.e.:  substance_id = 54 AND display_id = 139 (2 rows) substance_id = 54 AND display_id = 27 (0 rows) substance_id = 1933 AND display_id = 139 (1 row) substance_id = 1933 AND display_id = 27 (0 rows) substance_id = 38 AND display_id = 139 (0 rows) substance_id = 38 AND display_id = 27 (1 row)   It then obtains an array of generated_text based on the condition above. If the array size is greater than 1 element then a
 character is added between each. If it's just 1 element then a
 character isn't required because there is only 1 row of generated_text so nothing needs breaking up.  // Store the output text  $output = '';   // e.g. $result contains MySQL rows WHERE substance_id = 54 AND display_id = 139  if (sizeof($result) == 1) {      $output = $result['generated_text'];  } else {  foreach ($result as $key => $value) {      $output .= $value['generated_text'] . "
";  }      $output = (substr($output), 0, -4); // Remove trailing
  }   The result of var_dump($output) for the above script is foo
bar, which is what I want.   Although this logically works it is inefficient (when there are thousands of rows in the generated_text table). Is there a pure SQL solution to this?


Where do you get Lapis Lazuli on Minecraft?

I don't know we're you find it and I really need it for enchanting. I know its underground but I can't find it anywhere.


Why did mathematician construct extended real number systems, $\mathbb R \cup\{+\infty,-\infty\}$?

I know some properties cannot be defined with the real number system such as supremum of an unbounded set. but I want to know the philosophy behind this construction (extended real number system ($\mathbb R \cup\{+\infty,-\infty\} $) and projectively extended real number system ($\mathbb R \cup\{\infty\}$)) and why did mathematician want to do so? what are the beautiful properties they achieved? I want an answer with a philosophical point of view.   P.S. is there any books or notes or something which I can refer?


How do I split a string and store each number in a vector of integers?

I have an input string of integers separated by space. string input = "116 119 220 250";  How do I split this string and store each number in vector of integers?


Seeking Open Source ISO Metadata Editor?

I am looking for a free open source ISO metadata editor for the development of an enterprise database.    It will mostly be used for documenting shapefiles and GeoTIFFs.   Hoping that it will be an intuitive software since a range of skill levels will be working with it.  Any suggestions?


Java Main Method, Parameters Differences

I've started learning Java and I was wondering the difference between:   public static void main (String [] args) {}    and   public static void main (String args[]) {}   As you can see they look almost exactly the same but my question here is, should the '[]' be before the args or after the args? I have a Java beginners guide and it shows me examples with the '[]' after the args. I would be grateful if someone could tell me the correct way.  Thanks!.


How can I find a compact camera with an ultra-wide lens?

I'm looking to buy a compact camera, and having a very wide angle is important to me. I know that review sites often list the real focal length of the lens, but what I'm looking for is something that will show me current models with actually wide field of view. Is there such a resource?


What keeps lightsabers from going through each other?

A canon answer would be great, but not sure how likely that would be.  But what keeps lightsabers from simply going through or slicing through one another?


How do I prove $\sum_{k=0}^{n}\binom{n}{k}\cdot 2^k = 3^n$?

What's the proof of $\sum_{k=0}^{n}\binom{n}{k}\cdot 2^k = 3^n$?


Has gravity ever been experimentally measured between two atoms?

Has there been any experiments, or are there any references, demonstrating gravity between atoms? If so, what are the key experiments/papers? Or if not, what is the smallest thing that has actually experimentally been shown to be affected by gravity?  I don't know of specific papers demonstrating gravity between larger objects, but I can vaguely remember learning about them in my classical physics class as an undergraduate. However, I have never heard of experiments demonstrating gravity at atomic or subatomic levels.  I don't have a physics background so it's not obvious to me, so just looking to see the actual research/evidence behind it, so I can start to try to imagine how gravity works at a quantum level.


Should fewer or less be used when specific quantities are given?

I know that fewer is used for countable nouns and less is used for uncountable nouns, but when a specific quantity is given, should I use fewer or less. For example would it be correct to say 'there are fewer than 5 apples' or 'there are less than 5 apples'?


Vertically align content to the middle of a div?

I have a div containing some content. It has a height of 31px and inside it, the button has smaller height.

         Click the button to the right         <button>click me</button>

    I have another header that does not have a button in it.

No button here, I only want to have this header have the same vertical alignment, height and margin as the other header

   I want to vertically align the
 text within each div. I have tried to solve the problem with the following SCSS:  .headerAndButton {   margin-bottom: $space-300;    h3 {     min-height: 31px;     vertical-align: bottom;      button {       margin-left: $space     }   } }   The vertical-align property has no visible effect. The text in the  without the botton is top aligned. The text in the other  is a bit lower. It also becomes top aligned if I remove the button.  How can I make this headers have the same vertical alignment? I am not good at CSS, so maybe there are completely different better ways to solve this.


Pythonic way to prevent multiple instances of an application from running

I want to know if there is a pythonic way to prevent multiple instances of an application from running. Let's say if the application is already running then the user must not be able to launch the same application again. Here is a sample PyQt5 code. import sys from PyQt5.QtWidgets import *   class Window(QWidget):     def __init__(self):         super().__init__()         self.setWindowTitle("Using Labels")         self.setGeometry(50,50,350,350)         self.UI()       def UI(self):         text1=QLabel("Hello Python",self)         text2=QLabel("Hello World",self)         text1.move(50,50)         text2.move(200,150)         self.show()  def main():     App = QApplication(sys.argv)     window=Window()     sys.exit(App.exec_())  if __name__ == '__main__':     main()  I came across this  which uses this tendo module/library. Though the answer works perfectly but I don't wanna install another dependency for such a trivial problem. I'm developing my app for windows systems but would appreciate if the answer is for cross platform.


How can I disable CPU throttling on Late 2006 MacBook with no battery?

The problem I am experiencing is that if the battery is not present, the CPU is automatically throttled.  I have done some searching and have found that this is apparently by design, "in case the power supply cannot supply enough power, so the machine won't shut off."  Now, here is the problem.  I can't put the battery back in, because it started swelling up like crazy.  I can't really justify the cost of a new battery for a machine this old and I can't really afford a new computer, so I'm stuck with this machine.  It still works, but throttled back, a lot of things like flash video players are almost useless at the reduced CPU usage.  I don't really care if the machine shuts off if the supply can't keep up with power requirements.  My understanding is that this really should only happen if the supply is mismatched, i.e. from an adapter designed for a smaller machine, but even if its not it is just as intolerable to have to reload netflix every 30 seconds when it loses sync than an occasional power loss would be.  Besides, it is already losing power every time I need to move it somewhere.  So, what's the solution?  There has to be some way to override the throttling, right?  By the way, I have already tried sudo pmset -a dps 0 but that just gives me a usage message.


Can someone help me giving a qualitative answer to this problem in General Relativity:  Imagine you are on earth with two perfectly synchronized clock's. If you hold on in your hand but you throw the other one in the air and catch it after a certain time interval, would they still give the same time?  I think that the one in the air would run faster but I cannot explain why.  Thank you!


Is it possible to write a script that run su or sudo command without typing password?. I googled and its said that su doesn't read password from buffer. So is there any solution?


Translating a sentense from Swahili to English

So there's this sentence that people have been sharing on facebook that's in Swahili and requires a direct word to word translation to English. Superficially it seems like an easy translation but once you try it, it get really messy and every thing you try just doesn't sound right to the ear. So if figured you guys might help or have fun trying.  Kiswahili:      Mama, mimi ni mtoto wako wa ngapi   English:     Mother, I am child yours what number   Essentially what this statement is about a child wanting to know from his/her mother what position she's on of all her mothers children. For example there are nine children in your family and you are the fifth born but you don't know for some reason and you wanted to ask your mother how would you pose the question?  I have tried     Mother, I am your what born?   Mother, what number am I on your list of children?   Mother, of all your children I am what born?   Thank you I advance and my apologies if this is a stupid question.


If Wolverine's head was cut off, would it grow back?

The inspiration for my question is from ,      which operates under the assumption that Wolverine's head would not grow back.   Is this an accurate assumption to make?  Edit  I think it's apparent that if his head is destroyed in the way depicted, the adamantium skull would not regenerate, but there seems to be conflicting accepted answers within the two suggested questions this might be a duplicate of. In , the accepted answer is that     His head and body both stay alive but they are useless until someone puts them together then he will start healing.   If his head is destroyed, the body will not recover then? But in , the accepted answer is that     Wolverine recovers his memories and personality even after most of his brain is destroyed.   There is still no clear agreement on this speculation, thus my question.


I am looking for a query to list all users without a mapping to a database. I have over 500 users and I think that there are some SQL or Windows accounts that are not needed any longer.


I have several PDFs that are quite large (one is 80+ MB). Is there a free way to compress that PDF to a smaller size?


Showing the set of DFAs that accept nonempty languages is decidable

I'm supposed to show that the following language is decidable:  $\{\lt A \gt \mid A \text{ is a DFA and } L(A) \text{ is not empty}\}$  What I have  T = "On input $\lt A \gt$  where $A$ is a DFA:   Mark the start state of $A$ Repeat until no new states gets marked  Mark any state that has a transition coming into it from any state that is already marked.   If an accept state is marked, accept. Otherwise reject.   Does this suffice to show that the language is decidable and did I make any mistakes?


Can you help me understand how constraints are mathematically expressed?

Self studying Lagrangian mechanics using Goldstein. Holonomic constraints, an example being the distance between two particles of a rigid body, can be expressed as  $(r_i - r_j)^2 - c_{ij}^2 =0$ and non-holonomic constraints can be expressed as $r^2-a^2 \ge 0$ Can you help me understand this? Where this comes from and what it means?


Remove asbestos-covered ductwork or leave in place?

Asbestos tape-covered ductwork that is coming from the furnace leading to each vent in the entire house. Is it a bad idea to leave it as is without disturbing, or would replacing all hvac system coming from the furnace be a better solution?


Can not open cpp excutable after compilation

I am having problem executing a cpp file after compilation. Here is the text output and how I compile it and try to run.  coovi@coovi-Surface-Book:~/HW9$ g++ -Wall main.cpp -g -o main coovi@coovi-Surface-Book:~/HW9$ chmod +x main coovi@coovi-Surface-Book:~/HW9$ ./main Can not open the file


Why "[[None] * 3] * 3" is wrong in python?

I was trying to declare multidimensional array in python (array[3][3]) and I did it wrong way like this :  >>> a = [[None] * 3] * 3 >>> a [[None, None, None], [None, None, None], [None, None, None]] >>> a[0][0] = 1 >>> a [[1, None, None], [1, None, None], [1, None, None]]   I understand that the first array is not duplicated but referenced three times but I don't understand why.  Can someone explains to me how python understand this declaration ?


Does optimizing parameters of a function f(x) and of the log(f(x)) yelds the same result?

When optimizing the cost function below for the BD/NBD model, I saw that the implementation in python (  ) takes the logs of all the terms of the equation in order to avoid underflow (since we are multiplying very small numbers).  We can then separate this expression in A1, A2, A3 and A4, like that:  So the questions are:   1) when optimizing parameters of a model (in this case, maximizing the four attributes r, alpha, a and b), why taking the log does not change the whole thing? I mean, is maximizing f(x) the same as maximizing log(f(x)), generating thus the same values for r, alpha, a and b? What is the mathematical reasoning behind it?  2) In the algorithm, when returning the result, the second part of the expression is replaced by the logsumexp (below),     instead of using the regular math transformations, like this    Why is this valid?


Why python division remainder operator just works for integer denominator?

While working with the division remainder operator % in python 2.7 I faced an unexpected behavior (at least for me) when using it with decimal denominators. Bellow an example:  >>> 0.1%0.1 0.0                 # as expected >>> 0.2%0.1 0.0                 # as expected >>> 0.3%0.1 0.09999999999999998 # what the hell? >>> 0.4%0.1 0.0                 # aw expected >>> 0.5%0.1 0.09999999999999998 # what the hell?   Why the operations 0.3%0.1 and 0.5%0.1 return the result above instead of 0.0 as in the other cases and as I was expecting?  Thanks


I have a problem. After I modelled objects in Blender I textured them and textures are as I need them to be - with saturated colors.    However, as soon as I export it to the .FBX format and put them on the Unity scene, the textures become pale.    I suspect this is related to some Blender options but I can't be sure as I'm novice. I searched answer in the internet and didn't find it, how is possible to fix it.


Why is $|HK| = \frac{|H||K|}{|H \cap K|}$?

Let $G$ be a finite group, and $H$,$K$ be subgroups. Then we can form the set $$HK = \{hk: h \in H, k \in K\}$$ It is well known that $HK$ is a subgroup of $G$ if and only if $HK=KH$. If $H \cap K = \{e\}$, then we clearly have $|HK| = |H||K|$ (indeed, the group multiplication $H \times K \to HK$ is a bijection).  On the other extreme, if $H \subset K$ then $|HK| = |K|$. In general we have the formula $$|HK| = \frac{|H||K|}{|H \cap K|}$$  which quantifies the idea that we "$HK$ collapses in proportion to how many elements $H,K$ share". I'm trying to get a bit more intuition for this fact.  by which we establish a bijection between the sets of cosets $HK/K$ and $H/(H\cap K)$, but it wasn't "manual" enough for me (that is to say, I'm willing to believe that it's an enlightening proof, to someone who is more savvy with cosets).  One idea for an argument I had was counting: if we seek to prove $|HK||H \cap K| = |H||K|$ then it's attractive to try to show that every distinct element of $HK$ obtained by writing $g = hk$ is multiply counted $|H \cap K|$ times. Indeed, suppose that $h_{1}k_{1} = h_{2}k_{2}$. Then we obtain the element $h_{1}^{-1}h_{2} = k_{1}k_{2}^{-1} \in H \cap K$. Then I get a bit stuck, because I want to show the duplicate elements biject with $H \cap K$ but I can't tell how. Of course, it might not be possible, but my intuition says maybe.    Any of the following would constitute a helpful answer (and be greatly appreciated!):   A bit of exposition into why the coset-based argument is an intuitive one to make (especially without knowing the answer in advance) Some help finishing off the argument I've tried to start   A oonvincing reason the argument I've started is hopeless


As you can see the numbers of the subsection is not ordered correctly, how can I fix that.  This template is from overleaf   The problem is caused because of that line but I need it to write Arabic. \setotherlanguages{arabic}  \documentclass{article} % \usepackage[spanish]{babel} % \usepackage{lipsum} % \usepackage{natbib} % \usepackage{graphicx} \usepackage{analysis_orax} \usepackage{xunicode} %% loading this first to avoid clash with bidi/arabic \usepackage{fontspec} \usepackage{polyglossia} \usepackage{hologo} \usepackage{fontawesome} \usepackage[hyphens]{url} \setmainlanguage{english} \setotherlanguages{arabic} \newfontfamily\arabicfont[Script=Arabic]{Noto Naskh Arabic}   % \usepackage[arabic]{babel} %------------------Document----------------------------  \begin{document}  %-------------------------TitlePage------------------------ %\begin{titlepage} %\end{titlepage}  %-------------------------Content------------------------  \section{Analysis Report}  \subsection{Subtitle} \subsection{Subtitle} \subsection{Subtitle} \subsection{Subtitle} \subsection{Subtitle}   \end{document}   But I have subsection numbers flipped.


Why is the value of this variable not changing?

I'm learning the Java language and am trying to do this:  public class IntegerPlusOne {     public static int addOne(int n) {         n = n + 1;         return n;     }     public static void main(String[] args) {         int n = 0;         addOne(n);         System.out.println(n);     } }   It should be printing "1", but instead it print zero. No matter what I set n equal to, the addOne function never changes it and I think the function is broke, but if I test it on its own it returns one more than whatever int I send to it which really confuses me.


Prove that $\prod\limits_{i=1}^n \frac{2i-1}{2i} \leq \frac{1}{\sqrt{3n+1}}$ for all $n \in \Bbb Z_+$

Given that $x_n = \displaystyle \prod_{i=1}^n  \frac{2i-1}{2i}$  Then prove that $x_n \leq \frac{1}{\sqrt{3n+1}}$ for all $n \in \mathbb Z_+$  What I did was take the logarithm of $x_n$, and I arrived at: $\log{x_n}=\displaystyle \sum_{i=1}^{n} (\log{(2i-1)} - \log{2i}) $  I'd like to know if I proceeded correctly, and thus would like further guidance to solve the problem. However, if I haven't approached the problem correctly, I'd appreciate hints and techniques that are applicable. Please don't post the whole answer because I'd like to work this out on my own. Thanks.


Is a general GRE score of X sufficient for entry to postgraduate degree Y?

Question: I got general GRE scores of VR (verbal reasoning), QR (quantitative reasoning), and AW (analytical writing).  Is this a good score to apply for entry to postgraduate degree in field X?  How will this score look to the selection committee?    Note: This is an intentionally generic GRE question (with unspecified scores and field of study) which is intended as a template for a large number of questions asked on this forum regarding evaluating the scores on the general GRE test (e.g., , , , , , , , and ).  This question seeks answers that are applicable for an applicant for graduate-level programs in any field, based on any scores in the GRE general test.  The goal of this question is to provide a general reference to avoid the need for specific questions with particular scores/field of study.


Different speed for Magic Mouse and built-in trackpad

Is there any way to set different tracking speed for Magic Mouse and for built-in trackpad?  I'm using both, but Magic Mouse acts good for me at max tracking speed, but trackpad good for me at average tracking speed.   I see that tracking speeds are adjusted separately for each input device, but actually they affect both mouse and trackpad.   Is there any chance to set different configurations?  MacOs Sierra 10.12.2


Does $x^2+1$ have roots in $Z_{103}[x]$?

I am trying to figure out if $x^2+1$ has any roots in $Z_{103}[x]$, but I don't have any idea of how I should find the answer. Any help would be much appreciated. Thank you.


I need to express that "a is not divisible by b" in my LaTeX document. It is my understanding that I should use the \nmid symbol for this case, as in $b \nmid a$.   LaTeX gives me the following error: Undefined control sequence. The \mid symbol works fine. I have imported the amsmath package via the following command: \usepackage{amsmath}.  What am I missing?


I want to add a photo on the top right-hand corner of my resume. I have made my resume on the online LaTeX editor overleaf. Here is the link to my code-  Can someone please help me?


How can you make Minecraft behave like the XBox Version

I play minecraft on PC, I have two accounts and I am giving one to my friend.  She loves minecraft but only plays on xbox at the moment, but I want to play with her and I refuse to play on xbox.  How can you make the PC version closer to the XBox version. I am specifically looking for controller support and an easy crafting method. like the example below


Given a sequence $(\mu_n)_{n\in \mathbb N}$ of finite measures on the measurable space $(\Omega, \mathcal A)$ such that for every $A \in \mathcal A$ the limit   $$\mu(A) = \lim_{n\to \infty} \mu_n(A)$$   exists. I want to show that $\mu$ is a measure on $\mathcal A$.   What I managed to figure out:   $\mu$ is monotone, additive and - if $\lim_n \mu_n(\Omega)$ is supposed to be taken in $\mathbb R$ - then $\mu$ is also finite (I'll assume this). Also $\mu(\varnothing) = 0$. So we can wlog assume that $\mu(\Omega) = 1$ and that $\mu_n(\Omega) \le 2$ for all $n$.   Now what remains to be shown is that $\mu$ is $\sigma$-additive, or equivalently that for $A_n\downarrow \varnothing$, we have $\mu(A_n) \to 0$ (since $\mu$ is finite).  All attempts at proving this have been futile so far. I don't seem to see the right approach.  If possible, I would like to only receive a hint rather than a full answer. But of course, I'd be quite happy with a full answer, too; if a good hint is hard to find!  Thanks a lot in advance for your help! =)


I appreciate I'm interacting in with developers and so allowances have to be made re their lack of social skills but I'm going to ask anyway.  I asked a question regarding VBA code reading from a text file.  I was polite and I even finished my post by thanking anyone who'd read it.  A very helpful guy gave me a spot-on reply and I thanked him effusively.  My rating went down by six points?


I have tried from several PC's. All the places we only get three lines of error  E: Encountered a section with no Package: header E: Problem with MergeList /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_trusty_main_i18n_Translation-en%5fIN E: The package lists or status file could not be parsed or opened.   We are not able to install any packages or do any updates. We are totally stuck. I have goggled but could not find any appropriate solution.  Is there any way to fix this issue?


Since the Earth is moving through space, do we experience time dilation?

What I mean is, the Earth orbits around the sun at around 30km/s, while I understand that this isn't a very high velocity does time dilation still occur to say a person who is completely stationary in space. And one last thing, the earth rotates at a higher velocity at the equator than at the poles, so would time dilation also occur there? So that people at the equator travel at a slower time relative to the poles? Again, I know that to see observable effects of time dilation you need to reach extremely high velocities and that these velocities would only result in a very tiny time dilation.


Is it possible to hide a section or comment out a whole section?

I want to comment out a whole section in order to save the text but not render it in the PDF. Is this possible?


Trying to install ADB on Ubuntu, permission denied

When I tried to install ADB through the terminal on Ubuntu, it told me "permission denied":  ~/android-sdks/tools/ $ ./android bash: ./android: Permission denied ~/android-sdks/platform-tools/ $ ./adb devices bash: ./adb: Permission denied   Can anyone help me with this?


Dependency error when installing amanda on Ubuntu 18.04 Server

I was trying to setup a backup server with Ubuntu 18.04 Server  user@host:~$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 18.04.1 LTS Release:    18.04 Codename:   bionic   but I ran into a dependency error even thou the dependencies that fail are installed.  user@host:~$ sudo apt-get install  amanda-server amanda-common  xinetd gawk gnuplot readline-common Reading package lists... Done Building dependency tree Reading state information... Done readline-common is already the newest version (7.0-3). gawk is already the newest version (1:4.1.4+dfsg-1build1). Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  amanda-common : Depends: adduser but it is not going to be installed              Depends: debconf (>= 0.5) but it is not going to be installed or                       debconf-2.0              Depends: update-inetd but it is not going to be installed              Depends: perl (>= 5.22.1-3) but it is not going to be installed              Depends: perlapi-5.22.1              Depends: libcurl3 (>= 7.16.2) but it is not going to be installed  amanda-server : Depends: libcurl3 (>= 7.16.2) but it is not going to be installed  cron : Depends: adduser but it is not going to be installed         Depends: libpam-runtime (>= 1.0.1-11) but it is not going to be installed  gnuplot : Depends: gnuplot5-qt but it is not going to be installed or                 gnuplot5-x11 but it is not going to be installed or                 gnuplot5-nox  init-system-helpers : Depends: perl-base (>= 5.20.1-3) but it is not going to be installed  libgd3 : Depends: libfontconfig1 (>= 2.11.94) but it is not going to be installed  libpam0g : Depends: debconf (>= 0.5) but it is not going to be installed or                  debconf-2.0  libssl1.0.0 : Depends: debconf (>= 0.5) but it is not going to be installed or                     debconf-2.0  nginx-common : Depends: debconf (>= 0.5) but it is not going to be installed or                      debconf-2.0  python3 : PreDepends: python3-minimal (= 3.6.5-3ubuntu1) but it is not going to be installed        Depends: python3.6 (>= 3.6.5-2~) but it is not going to be installed        Depends: libpython3-stdlib (= 3.6.5-3ubuntu1) but it is not going to be installed  python3-service-identity : Depends: python3-openssl but it is not going to be installed  wireless-crda : Depends: crda (>= 1.1.1-1ubuntu2) E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   I did notice missing packages: update-inetd, perlapi, gnuplot5-qt. But I'm not sure if installing them will fix the missing dependency error on the installed packages too.  How can I install it on Ubuntu Server 18.04?


What happens to bonds values when interest rates rise?

I want to invest 10% of my portfolio into bonds.  The other 90% will go into stock.  I took a look at Government Bonds which TD Ameritrade offers at a $5000.00 minimum.  This is a little over my budget.  I am also considering low cost bond funds such as VUSTX/VBISX.  The returns on these bond funds are historically beating the market.  However, the return appears to be based on interest rates which the government has announced should be going up in the short term.  I could hold onto cash, buy short term, buy long term...I am having difficulty deciding.  With the belief that interest rates are rising in the short term should I just hold onto cash until April 2015 (I think rates will be up by then)?


Battery Not Charging and Light Not Showing Up Again

I just have got a Macbook Pro Retina 2014. The charger is new and 85 Watt. I have two issues. When I first connected the charger, there was 54% charge on the laptop and for only 1 second the green light of the magsafe turned on. I have seen no more light [orange/green] after that ever.  And, the pc is not receiving any charge when the power cable is connected.  I have different brightness set for battery/power. When I connect the adapter, the brightness changes, the charging sign in the battery shows. But, no change in percentage and It says, "Battery Is Not Charging".  I have tried all the other answers to the similar questions including SMC reset but nothing worked. It seems to me the connection is okay [as brightness changes]. But somehow laptop doesnt take the charge. Not sure what to do. And, do not know why the green light turned only once and never again in the MagSafe.


Looking for a two or three part sci-fi book with an alien space station and ships that scavenge alien artifacts

There were at least two books for sure. I don't remember the author or the publishing year, but they were from the 20th century.  The setting was in the somewhat distant future and the story followed two timelines:  The first one was when the main character, who was wildly rich, was in the office of a robot psychiatric counselor that was named after Sigmund Freud. They were trying to find out where the main character's depression came from. I remember the lots of complaining about how annoying the robot was and mildly rude remarks from time to time.  The second timeline was when the main character was young (~25 years old, I think). He had worked most of his life in oil mines (they made butter or something out of it). After winning the lottery he bought a couple of rounds at the pub and took the first shuttle to an alien space station that orbited Earth. There all major nations had sent all kinds of scientists and military forces under one global corporation.   The station had something like 1% Earth's gravity and was filled with 1, 3 and 5 seat alien ships, that people couldn't control a lot. Every ship had a predetermined destination that was locked in the nav computer, which people didn't understand. Everyone had a chance to go to the station and become an explorer (provided they could afford the shuttle ticket).   The point to it all was to see where the ships went, land with a lander module that was attached to the ships, scavenge for any remains of the alien civilization and bring them back to the station, where it was sold to labs on Earth to be studied. The corporation took a huge cut of every artifact sold, and it was illegal to sell it yourself.  After he finished the 1-2 week training program, the main character fell in love (kind of) with a girl on the station, that had experience (bracelets on the hand for every flight). He got a job as a grounds keeper, because he was scared of his first flight being a fatal failure. She was also scared to fail and had a job as a babysitter.  After some time and arguing with the girl, they decided to board a 5 seat ship, which they had to share with 2 or 3 gays. They took turns using the lander module to have some privacy during the flight (the ships didn't have a lot of room).


For some reason, my ground is not showing up. It appears in the 3d view mode, but disappears when I render it. My ground is set to render, but it won't show up.


Cannot purge or remove failed Google-chrome-stable installation on Ubuntu 16.04

I tried installing Google-Chrome-Stable on Ubuntu 16.04 from the graphical interface following instructions on  ... but it hung (waiting to install). Next I tried using terminal commands as per instructions but also failed. So I tried purging/removing all Google-Chrome-Stable files and got this:  (my-user-name)@(DELL)Inspiron-3451:~$ sudo apt-get purge google-chrome-stable E: Type 'wget' is not known on line 44 in source list /etc/apt/sources.list E: The list of sources could not be read.   Also a "no entry" icon appears on my laptop tool bar.  How do I purge all the Google-Chrome-Stable files in this situation?  I considered reinstalling Ubuntu 16.04 but cannot boot from flash drive (no CD on laptop) because I had fiddled with BIOS settings to boot from flash drive to upgrade from Ubuntu 14.04. F2 and F12 for boot options no longer appear now when I start computer; it apparently boots direct from Ubuntu. I had finally managed to upgrade to 16.04 using 'About This Computer' interface after missing dependencies were installed.  I have limited skills using terminal commands and usually only follow instructions as I find them in Ubuntu websites. Please help me out.  Thank you very much.


When is "loved" a past participle and when is it simple past?

Some one asked this question: He is loved. This is something that I've always kind of wondered.  In a sentence like this, is loved a verb or an adjective? Can it be considered either?  The simple answer was this: Loved is still a verb, but it's the past participle, so it plays a similar role to an adjective.  My question is why is loved here classified as a past participle and not simple past.  If the sentence was: He was loved. In that sentence would loved still be a past participle or would it be simple past?  Thank you.


php check one array against another for all matches

I have two arrays that list people, and I'm trying to figure out which people are in both arrays.  $employees = Array("bob", "john", "jerry", "mike"); $homies = Array("bob", "john", "arnold");   I basically need to know which dudes are both employees and homies (in this case, bob and john) so that I have a new array:  $employees_and_homies = Array("bob", "john");   I looked at like a dozen other questions on here, but I'm lost and nothings working for this particular case.


How do you interpret a product of transpositions?

I'm trying to understand why the product of transpositions for a specific permutation is not unique. Intuitively, it somewhat makes sense to me since I can get the answer but I don't actually know why it works.  The example I am particularly confused over is: say I have a permutation which in cycle notation is of the form:  (1,2,3,4)  Then I have been given two examples of transpositions that work:  1) (1,4)(1,3)(1,2)  2) (2,3)(1,3)(3,5)(3,4)(4,5)  Is it like you treat each transposition as a bijection that belongs to (in this case) S5 (or for any N>5) and so you consider the product of transpositions as a composition of all these bijections - which is why you start from the right and work your way backwards bracket by bracket and you stop once that number doesn't appear anymore? Is this also the case for a product of permutations?  Thanks!


I have following links in content.php and i want to display in specific page with condition. Any ideas or suggestions? Thanks.               Home             Director’s speech             Projects             Our Vision             Volunteers             Inquiry


Before the panel was visible how many votes I used pure per day  near avatar.  Tell me where it went and how it can cause. Votes may limit removed? Previously, it was 40.


Are there any limitations to the faction memberships you can have in Fallout 4?  I'm brand-new to the Fallout universe, and just got to the point of being invited to the Brotherhood of Steel. However, I'm a bit concerned about their politics and how it may affect my standing with other factions I may encounter.  If I join the Brotherhood, will there be other factions that I can't join? Are there any other factions that have such limitations?  Note: I'm still not very far into the game, and not very familiar with the Fallout 4 universe in general, so please make liberal use of spoiler markdown in your answers. Essentially, the only things that need to be un-spoilered are Yes/No answers for the questions asked above.


Let $P,Q$ real $n\times n$ matrices  such that $P^2=P$ , $Q^2=Q$ and $I-P-Q$ is an invertible matrix.  Prove that $P$ and $Q$ have the same rank.  Some help with this please , happy year and thanks.


I deleted the "/etc/passwd" file and cannot log in

I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this passwd_bkp as passwd and it did not work. No commands were being executed... I was in a terminal window.   I restarted my system and now I cannot log in. GRUB gives two options: Linux and recovery mode.   I tried to open a sessions as root but it says the filesystem is corrupted. I cannot access my files.  Did I lose all my files?


I'm trying to start learning Java in BlueJ, but I'm struggling quite a lot. At the moment I'm looking at ArrayLists. The following code compiles correctly:  import java.util.ArrayList;  public class TestArrayList {     public static int colorCode;     public ArrayList<String> selection;      public TestArrayList()     {     }      private void selection()     {         selection = new ArrayList<String>();         {             selection.add("red");             selection.add("yellow");             selection.add("blue");         }     }      public void selectColor(int colorCode)     {         if (colorCode == 1)         System.out.println("You have selected " + selection.get(0) + ", the color of fire!");         if (colorCode == 2)         System.out.println("You have selected " + selection.get(1) + ", the color of electricity!");         if (colorCode == 3)         System.out.println("You have selected " + selection.get(2) + ", the color of water!");         else         System.out.println("Invalid selection");     } }   But when I try to run the method "selection", and I type 1, 2, or, 3, in the popup window, I get errors. All other values, like 0, 4, 5, 6 work fine. But for 1, 2, and 3, the terminal window displays the following error:  java.lang.NullPointerException     at TestArrayList.selectColor(TestArrayList.java:25)   And the editor highlights the line containing the code "selection.get(0)", and returns the error "java.lang.Null.Pointer Exception: null".  I'm sure you can tell from the way I'm talking that I know very little about Java. Is it obvious what I'm doing wrong? Thanks to anyone who can help.


Uniqueness in existence of a bilinear form

Let $E$ be a finite dimensional vector space over field $\mathbb R$ with $E^*$ as the dual space of $E$.($\dim E=n$)   $\Omega^P(E):=\{ \alpha\colon \overbrace{E\times\cdots\times E}^{p- times}\rightarrow \mathbb R\  \ , \alpha \text{ is alternating multilinear map}\}$ $\Omega^P(E^*):=\{ u\colon \overbrace{E^*\times\cdots\times E^*}^{p- times}\rightarrow \mathbb R\  \ , u \text{ is alternating multilinear map}\}$  I wish to prove that there exist an $\textbf{unique}$ bilinear form $B\colon \Omega^p(E^*)\times\Omega^p(E)\rightarrow\mathbb R$   such that for all $ f_i\in E^* \ , u_j\in E^{**}\simeq E \qquad  i,j=1,\cdots,p$, it has the following rule:  $B(u_1\wedge\cdots\wedge u_p,f_1\wedge\cdots\wedge f_p)=\det[f_i(u_j)]$.  $\wedge$ is wedge product between alternating maps i.e. $\alpha\wedge\beta(v_1,\cdots,v_{p+p})=\dfrac{1}{p! p!}\displaystyle\sum_{\sigma\in S_{p+p}}sign(\sigma)\alpha(v_{\sigma(1)},\cdots,v_{\sigma(p)})\beta(v_{\sigma(p+1)},\cdots,v_{\sigma(p+p)})$  How can I do this?


Simple java method getIntBetweenBounds gives NullPointerException error

I'm making a simple method for a Java game with a class called DealOrNoDeal. It's a very simple method to get a int input from user between two bounds. But for some reason it thrown a java.lang.NullPointerException.   This is my code:   import java.util.Scanner; import java.util.Arrays; public class DealOrNoDeal {     public Scanner scanner;     public static void main(String[] args) {         new DealOrNoDeal().run();     }     public void run() {         Scanner scanner = new Scanner(System.in);         int[] values = {1, 20, 100, 1000, 2000, 5000};          System.out.println("Please select  the suitcase that you would like to keep (1-6): ");         int keuze = getIntBetweenBounds(1, 6);     }     private int getIntBetweenBounds(int lowerBound, int upperBound) {         int result = scanner.nextInt();         System.out.println("Please select  the suitcase that you would like to keep (1-6): ");         while (result < lowerBound || result > upperBound) {             System.out.println("Please select  the suitcase that you would like to keep (1-6): ");             result = scanner.nextInt();         }         return result;      }


Physical meaning of this integral in $k$-space

I am trying to solve an integral in $k$-space where I want to calculate the ratio of the average energy of an arbitrary electronic band ($E(k)=k^n)$ to the square of average group velocity of electrons($v_g   = k^{n-1})$ approximately in the form of this expression given by $$L=\frac{\frac{\sum_{\mathbf{k}}k^{n}}{\sum_{\mathbf{k}}1}}{\left(\frac{\sum_{\mathbf{k}}k^{n-1}}{\sum_{\mathbf{k}}1}\right)^2}\;.$$  Now, I want to do this for $d$-dimensions, so I convert this sum to integral.  $$L=\frac{\dfrac{\int_{0}^{k_f}k^{n} d^d k}{\int_{0}^{k_f}1d^d k}}{\left(\dfrac{\int_{0}^{k_f}k^{n-1}d^d k}{\int_{0}^{k_f}1d^d k}\right)^2}$$ where $d^dk  = \dfrac{d \pi^{d/2}}{\Gamma(\frac{d}{2}+1)}k^{d-1}dk$ is the volume element in $d$-dimensional space.  I want to get a simple expression for $L$ and how it depends with $k_f,n$ and $d$. any physical insight into this integral could also be helpful.


I got a system message that I earned the curious badge. But actually I did not.    Looking at the badge list in my profile shows the same. I did not get it.


I have often heard presenters talking about something centered around another thing, but it seems a bit illogical and hence improper to talk like this. Am I right about this?


Can linearly independent vectors have linearly dependent images?

If a two vectors $\bf u$ and $\bf v$ in linearly independent, can their images be linearly dependent given they were transformed by a linear transformation $T$? I think not. My reasoning If the images are linearly dependent, then $c_1T({\bf u})+c_2T({\bf v})={\bf 0}$ for scalars $c_1$ and $c_2$, not both $0$. Then $c_1T({\bf u})+c_2T({\bf v})={\bf 0}$ $T(c_1{\bf u}+c_2{\bf v})=T({\bf 0})$ $c_1{\bf u}+c_2{\bf v}={\bf 0}$ Therefore, ${\bf u}$ and $\bf v$ are linearly dependent. My reservation A homework problem seems to contradict the above. Here's the problem: Let $\mathbb R^n\rightarrow\mathbb R^m$ be a linear transformation. Suppose $\{{\bf u},{\bf v}\}$ is a linearly independent set, but $\{T({\bf u}),T({\bf v}\})$ is a linearly dependent set. Show that $T({\bf x})={\bf 0}$ has a nontrivial solution.


Where should adverb "carefully" be placed?

The lady listened carefully to my complaint. The lady listened to my complaint carefully. The lady carefully listened to my complaint.  Which ones are grammatically correct? Please mention if there are any differences in their meaning if more than one of them are grammatically correct.


I started with a hard and unsuccessful way by putting the coefficcients into the matix. I need to solve the system of equation for any natural number n.


find {} returns the full filename but I just want the filename without the extension, so index.md would return index instead of index.md

So I have   find . -name \*.md -type f -exec pandoc --filter ./filter1.py -o {}.html {}   And notice the {}.html. The {} returns a filename ending with .md, but I want it to just return the filename without the .md, so say I have a file named index.md, {} should return index, resulting in a file named index.html, rather then resulting in a filename named index.md.html.  So how would I go about removing the .md within this command?


Why does cycle rendering only use one core from an AMD GPU?

I am using Blender 2.77 and an R7 250 GPU on Windows.  Compute Device >> OpenCL (Oland).  OpenSubdiv >> (Tested with all).  Device >> GPU Compute.


Why didn't the Eevee-evolution-name trick work?

I know the trick that lets you force the eevolution by giving a nickname to the Eevee, but I named my eevee 'Rainer' and it was my first time ever doing so, yet it turned into a Jolteon.   I don't know why this happened, so can someone please tell me why?


What should I do if two libraries provide a function with the same name generating a conflict?

What should I do if I have two libraries that provide functions with equivalent names?


How to use Application.ThreadExit in non-WindowsForms Application?(Multithreaded app, need to check main thread with event)

My application needs to know when the main thread ends and I found Application.ThreadExit handler. However I can't figure out how to use it. All the examples show Application.ThreadExit += new EventHandler(AppEvents.OnThreadExit);. But this is for Windows Forms, My application is a Console Application. Thank you!


mod_rewrite "Request exceeded the limit of 10 internal redirects due to probable configuration error."

What i want:   Force www [works] Restrict access to .inc.php [works] Force redirection of abc.php to /abc/ Removal of extension from url Add a trailing slash if needed   old .htaccess :      Options +FollowSymLinks       <IfModule mod_rewrite.c>      RewriteEngine On     RewriteBase /      ### Force www     RewriteCond %{HTTP_HOST} ^example\.net$     RewriteRule ^(.*)$ http://www\.example\.net/$1 [L,R=301]       ### Restrict access     RewriteCond %{REQUEST_URI} ^/(.*)\.inc\.php$ [NC]     RewriteRule .* - [F,L]       #### Remove extension:     RewriteRule ^(.*)/$ /$1.php [L,R=301]        ######### Trailing slash:     RewriteCond %{REQUEST_FILENAME} !-f     RewriteCond %{REQUEST_URI} !(.*)/$     RewriteRule ^(.*)$ http://www.example.net/$1/ [R=301,L]     </IfModule>   New .htaccess:       Options +FollowSymLinks        <IfModule mod_rewrite.c>      RewriteEngine On     RewriteBase /      ### Force www     RewriteCond %{HTTP_HOST} ^example\.net$     RewriteRule ^(.*)$ http://www\.example\.net/$1 [L,R=301]       ### Restrict access     RewriteCond %{REQUEST_URI} ^/(.*)\.inc\.php$ [NC]     RewriteRule .* - [F,L]       #### Remove extension:     RewriteCond %{REQUEST_FILENAME} \.php$     RewriteCond %{REQUEST_FILENAME} -f     RewriteRule (.*)\.php$ /$1/ [L,R=301]      #### Map pseudo-directory to PHP file     RewriteCond %{REQUEST_FILENAME}\.php -f     RewriteRule (.*) /$1.php [L]      ######### Trailing slash:     RewriteCond %{REQUEST_FILENAME} -d     RewriteCond %{REQUEST_FILENAME} !/$     RewriteRule (.*) $1/ [L,R=301]      </IfModule>   errorlog:       Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: http://www.example.net/   Rewrite.log:


Modifying /etc/fstab makes the system boot up in emergency mode

I am mounting my user filesystem in a server I connect to through SSH as a remote filesystem in my local Ubuntu machine.  For that I have been following the instructions in .  The first part, mounting the system, works fine (though I have to remove the defer_premissions option for it to work).  But I also tried the second part, editing /etc/fstab to mount the remote filesystem on boot, and it made my system boot up in emergency mode.  The problem got fixed immediatly as soon as I removed the sshfs#root@xxx.xxx.xxx.xxx:/ /mnt/droplet line from /etc/fstab, so it looks like that is indeed the culprit.  How do I fix this to mount the remote filesystem on boot?


I have a .ai file that I've opened in Illustrator. All of the fonts are listed as paths. This is the original file. Any idea how I can update the text?


Chat related privileges are not site specific

Every site help center has the page for "View a full list of privileges you can earn". Example screen-shot for Unix & Linux:     It says "Privileges control what you can do on <site> Stack Exchange". But I found that  chat related privileges:  talk in chat create chat rooms create gallery chat rooms  are not site specific - rather, they are server specific (i.e SE, MSE and SO).  So, We should add some information about chat server like following:  ###Note about Chat Servers and associated privileges There are three chat servers on the Stack Exchange network:   Stack Exchange , the main & combined chat site for  except following two: Stack Overflow  for the  Meta  for the    Chat related privileges are  site specific but server specific.   Privileges apply based on your total reputation on the associated site(s):   On Stack Overflow and Meta Stackexchange chat, privileges apply based on your reputation or moderator on the associated site. On the combined Stack Exchange chat site, privileges apply based on your total reputation over all sites concerned (i.e. all but Stack Overflow and Meta Stack Exchange).    more about chat privileges and reputation.   I've just proposed and example information that can be added to help center at chat privileges like ,  and  (or at least  privileges page)  Note:  Links form the Unix & Linux help center are used as example. Some information are provided from  post. I originally tagged this question as  but user  me to use  Welcome/comment to any suggestion/improvement.


"This edit would have to be a suggested edit." error is confusing and unclear

I tried to suggest an edit on  to retag it. I clicked the edit button, added my tags, and hit submit to get... this strange error.    This didn't make much sense to me. "I know it would have to be," I thought. "That's why I'm here, right? All my edits are only suggested edits at this point." I hit Save Edits again to receive the same error. I had no idea what was going on, why I was getting an error, and what it was trying to tell me.  It was only once I went back to the question that I found out what was going on: someone else had suggested an edit on this question. I suppose that's what the error was about.    This error doesn't make much sense. Can its wording be changed?


Checking if an ORG Wide Email Address has been verified in Apex

I'm running into an issue where emails are not sending when an Org Wide Email Address is not verified. No exception is thrown either.    In apex, I'm resolving the ORG wide that matches the users email:  Id emailId = [SELECT Id FROM OrgWideEmailAddress WHERE Address = :userEmail].Id;  I'd like to somehow check if their email is verify and fall back to a "default" email when it is not.     I'd expect this to just be a field on the  I could filter on, but unfortunately there is not.  Is there any way to check this via apex?


How to play Multiplayer in Age of Empires II?

How to play Multiplayer game in Age of Empires II: Age of King? With an application or from the game?


Derivative of sin(x) and cos(x) by definition of derivative and Taylor expansion

How to use the below to find the derivative of sin(x) (and cosine, too)?  $$\sin(x)=\sum^{\infty}_{n=0}(-1)^n \frac{x^{2n+1}}{(2n+1)!}\ , \ x\in \mathbb{R}$$  $$\cos(x)=\sum^{\infty}_{n=0}(-1)^n \frac{x^{2n}}{(2n)!}\ , \ x\in \mathbb{R}$$  $$\lim_{h\to\infty}\frac{\sin(x+h)-\sin(x)}{h}$$  Thanks!


Why people says 'tho' at the end of the sentence?

I heard many of them used the word 'tho' in their sentence and I'm still can't figure out what it really means and how to use it!


Let  u= (1,0,2), v = (2,1,0) and w = (0,2,1).  Compute ||u + v−w.||v = v  I do not understand how I am supposed to compute the equation if it is already put equal to v. I know how to compute an expression using vectors, this question just does not make sense to me and I want to know whether I am simply misunderstanding the question or whether there is actually a problem with the question. Any help will be greatly appreciated.


Which is more formal and which is easier to understand?

Affixes are subdivided into prefixes, which precede the base to which they attach  Affixes are subdivided into prefixes, which precede the base which they attach to.    The difference between them just is to put the phrase attach to together or division. I think the second one is easier to understand and easy to use? But the first is more formal?


Which is more widely supported: window.onload or document.onload?


Write the closed interval $[a,b]$ as the union of semi-intervals.  Attempt:  $$[a,b] = \bigcup_n^\infty\ \left[a,b-\frac{1}{n}\right)$$


How to create the right side of the Photoshop CC 2015 Splash graphic?

I know it can  be done using Wind filter. I have tried. But it's not giving the fusion of multiple colors like this. I am unable the get feel of multiple layers of multiple colors.


Trying to remember the name of a grade-school book about an alien in a cereal box

When I was a kid (Grade school, Elementary, can't remember the exact grade, but it was between 1992 and 1999) I read a book about a kid who found an alien in his cereal.  This alien informed him that he was there to defeat an evil threat to Earth, that took the form of the school's most popular student.  The alien came with a gun that did nothing, and the alien in the popular kid disguise had the power to make the kid's fingernails bleed by damaging his nerve endings.  In the end, it was revealed that the evil alien had a huge craving for, and vulnerability towards, pizza flakes, and was defeated by gorging himself on them and then exploding.


Why is a compressed air tank cold to the touch when it’s in a compressed state before use?


I was looking on the internet but really haven't found anything definite on this. I was writing a letter for IELTS practice and I came with this phrase:     "When I arrived to the school I really did not know what to expect.".   I'm doubtful about whether the "to" is well placed there.  I think the following option with "at" instead of "to" sounds better as in:     "When I arrived at the school I really did not know what to expect."   but I'm not sure if those two are interchangeable in this particular example.


How to get the entity ID for a custom field in Apex?

I am looking for a way to get the 15 character entity ID for a custom field on my Lead object in an Apex controller. I have tried this:  private String getEntityIdFor(String fieldName) {         Map<String, Schema.SObjectField> fieldMap = Schema.SObjectType.Lead.fields.getMap();         return fieldMap.get(fieldName).getDescribe().getId();     }    Of course, there is no getId() method, but this is the closest I got.   Thanks for any help.


If vibranium is the strongest metal on earth, then why did Captain America's shield dent when Peggy Carter shot it?

In Captain America: The First Avenger, Peggy is mad at Steve so she pulls the trigger on her gun three times and the shield dents. Why is that? Also, in Captain America: The Winter Soldier, Steve gets shot at like, a million times and his shield doesn't dent. I just wanted to point that out.


Easy way to create fallback installation of my system?

my current installation has lots of nice daemons installed/configured, Plugins for Firefox, nice packages installed. I guess sooner or later I will trash my installation somehow. I want to back up my system in a way, that after the reinstallation I have a fresh ubuntu with all the packages I need, and all the config files I set up for them (for example privoxy). Ideally I would like to have my fully configured Firefox in that new installation as well with my set of Plugins. Is there an easy way to backup the list of installed packages with their config files? Thank you so much!  Edit: I dont want to backup my whole filesystem, because over the years I probably acquired lots of junk laying around and slowing it down. What I want after the backup is a fresh system PLUS a list of packages with their config files


How should I integrate $\int _{ 0 }^{ \frac{1}{\sqrt{3}} } \frac { dx }{ (1+x^2)\sqrt{1-x^2}\ } $?

How should I integrate $\int _{ 0 }^{ \frac{1}{\sqrt{3}} } \frac { dx }{ (1+x^2)\sqrt{1-x^2}\ } $ ?  I tried substituting $x=1/t$,but it is not working.Could someone help?Thanks.


Can't select Operating System on dual-boot of Windows10 and Ubuntu

I installed Ubuntu alongside Windows10. Everything went fine, At the Computer starts it lets me select Ubuntu or Windows10 to boot in BUT When i choose Windows10 once the Operating systems selecting menu is gone, Windows10 is boots automatically by default. and i don't see Ubuntu anymore Even if it's still there on my HDD partition.


jQuery Validation, custom rule uses required method doesn't work

I want to create a custom validation rule, which uses some different methods to check the input. One of them, is required rule.  But the code doesn't work. It ignores empty inputs and says they're valid.  The code:  $("#test-form").validate({     rules: {         test: {             required: true         }     } });   Live Example:   What's wrong? Note that, I don't want to use required css class. Because it depends on some other fields.


How to accept any characters in between * of an getElementById (stack_ * _overflow)?

I have a page which changes the ID of input fields every time. So for example if I visit the page now, the ID can be "stack_15_overflow" and next time it can be "stack_293_overflow".   I want to use a wildcard value for getElementById, such as "stack_ * _overflow" (where * matches anything), to get that value related to any input field starting and ending with some specific text, no matter what text is in between.  Code:  function HelloId(string){     var name=string     document.getElementById('stack_*_overflow').value=name; }


What is the difference between “FachHochschule” and “Universität/Technische Universität”, especially for master degrees?

I want to enter Germany for my master's and want to do Job there. I don't want to do a Ph.D. I am having a hard time choosing between FH and TU. My main goal is to do Job after my master's so which type of Institution I should choose. I have heard FH helps to give practical exposure according to Industry (mine is IT) and TU gives deep and thorough Knowledge(Bookish knowledge) about the same. Please help me out I will be applying for the Winter semester this year.


Create Windows 7 installer ISO with preinstalled softwares?

Is it possible to create a Windows 7 installer ISO image with software installed and configured?   For example I install a clean Windows, configure it, install some necessary software etc. and I make an installer from the current system.  Next time I want to install Windows, just run the installer, and I have my system with the right settings, and software pre-installed and configured.   Is it possible?


What's the best video format for concatenation

I have been struggling with .mp4's for about 2 days now, trying to concatenate a series of about 20 into 1 single file. Any differences between the files and it is a nightmare. Some files have different fps, and others different ratios.  I wanted to know if mp4 is the format I should be using, or if there is a better, easy to use format for concatenation. Time isn't an issue, I simply need a relatively high-quality format that concatenates under most circumstances.  If this doesn't exist, any suggestions on how to deal with massively varying properties of mp4 files (I'm not entirely sure of what can differ aside from fps and ratio between videos that may cause a problem) would be great.  I am using ffmpeg to try and concatenate the files. First I tried to use the demuxer, and then the concat filter, however I find the concat filter very daunting and am completely at a loss as to how to use it.  Each video has audio, some have still images while others have moving.


How to visualise the derived series of the Lie algebra $\mathfrak{u}(n,\mathbb{C})$?

I am trying to show that the Lie algebra of strictly upper triangular matrices $\mathfrak{u}(n,\mathbb{C})$ is soluble for all $n\geq 2$. This is not an assessed question, but is an exercise in the notes. I am having real difficulty visualising the derived series. I know how to calculate it, and have done some test cases for $n=2$, $n=3$ and $n=4$. But I just can't quite visualise what is going on to generalise it. I know the formula for the bracket of the basis vectors $e_{ij}$ and $e_{jk}$: $$[e_{ij},e_{kl}] = \delta_{jk}e_{il}-\delta_{il}e_{kj}$$  and have obtained the following  for $L = \mathfrak{u}(2,\mathbb{C})$  $$ L^{(1)} = \left\{0\right\} $$  for $L = \mathfrak{u}(3,\mathbb{C})$  $$ L^{(1)} = \left<e_{13}\right>_\mathbb{C} $$  $$ L^{(2)} = \left\{0\right\} $$  and for $L = \mathfrak{u}(3,\mathbb{C})$  $$ L^{(1)} = \left<e_{13}, e_{14}, e_{24}\right>_\mathbb{C} $$  $$ L^{(2)} = \left\{0\right\} $$  but I can't visualise what is actually going on here and explain it, and that is preventing me from going any further.  How should I visualise this? I do notice that $L^{(1)}$ always removes the entries on the next diagonal, but I don't understand why this is the case.


Long usernames break formatting in review history

currently has a really long username. They recently reviewed many Low Quality posts, including  (example to make anyone investigating this issue's life easier), which messed up the table columns on all the pages where they had at least one review.    Not too sure what can be done about this except limiting username length; I suppose it's a minor issue anyway. Thought I should make people aware, though.


Install Ubuntu into multi partioned in single hard disk

My Laptop has 3 primary partition and 1 logical partition (which is common share among the 3 primary partition). 1st partition is with Windows 7, 2nd with Windows 8 and i intend to install 3rd with Ubuntu. I have a boot menu (using boot-us boot manager) to show this 3 partition separately when i switch on my laptop.  1) Please advise me the steps how to install Ubuntu into 3rd partition on only without damaging any of my other partition (E.g. 1st, 2nd and logical partition to be intact).  2) How do i change or fix the mac address (to a new one) in ubuntu (via menu or command line)?  Thanks in advance Saha


Can you initiate a maneuver outside of combat? This is specifically about the Moment of Perfect Mind maneuver, which allows me to substitute my Will save for a concentration check. My GM feels that I should not be able to initiate it outside of combat, since it effectively grants me a Will save that is better than my best save. I don't see why I should not be able to initiate it outside of combat. A Druid can Wildshape out of combat and a Wizard can still cast his spells whenever he wants. My Warblade should be no different.


Macbook Air screen turns yellow/orange when video is in fullscreen.

So I noticed recently that when I try to watch YouTube videos or Netflix in full screen on my Macbook Air, the whole screen will wash out with orange and yellow and I can't see anything, but it's perfectly fine if I don't watch it in fullscreen. And on Netflix if I use subtitles, it's normal when someone is talking, but when the text disappears the screen gets an orange tint again. I've tried calibrating the colors through the display section of system preferences but it always tells me that there is an error. I've searched for someone who is having a similar problem but haven't found anyone. Please help! Thank you.


How to check if string is valid xml name

I want quick function which may be part of my xml parser, I do not want to parse whole string and check if it correct xml.


Finding all the subgroups of a finite group

I need a method to find all subgroups from any finite group. For example, the subgroups of $D_4 $ (of order $4$): $\{(1), (1 \ 2 \ 3 \ 4), (1 \ 3)(2 \ 4), (1 \ 4 \ 3 \ 2)\}$.  Okay, I can understand this but the others .. how we can get them? Is there any theorem or something?


I've had this question for a while now and it's: How big is Ancalagon exactly? I mean, I've looked over thousands of explanations but it keeps on changing. So I'm asking now, how big exactly is this dragon?  I don't know if this is mentioned in The Silmarillion but I just wanted to see if there is an exact calculation.


As an abstract class cannot be instantiated, why is a constructor still allowed inside the abstract class?

what's the pure virtual function?what's the constructor function?  public abstract class AmAbstract {     private String name;     public  AmAbstract(){     }     public  AmAbstract(String name){     } }


Is just after your PhD a good time to switch your research area?

I am finishing my PhD soon. The area in which I pursued my PhD is very challenging as I was only able to publish couple of papers even after spending many years. I want to switch into other research are due these reasons   to attract more students  to be comfortable to do research (along with teaching, I should be able to do research)   Even though I like the research I am doing right now, I seem to be isolated in my university. If ten students join my university for a PhD, hardly one student takes this area. My research area is not like machine learning or deep learning etc, so researchers of my domain are also not that much interested in my work.   The thing is I can work different research area but: Is this the right time? I am heading to a post-doc and learning a new area will probably take several months. Although my switch is not 180 degree, I am still worried.


I have an idea! How about we make a fair-and-square vote about whether we should have a private messaging system or not?  You can make a public announcement in the side bar of all the Stack Exchange websites and make a simple poll where people can vote (anyone, without any reputation restrictions).  CURRENT RESULTS ON POLL: 64% (32)    Yes 36% (18)    No  Edit: Please use the poll here instead so anyone can vote, even without 125 reputation:   EDIT: I don't have time anymore to do this. I have too much work.  See here:  there are quite some answers that are for PMs.  For spam prevention, it could be possible to block a person from sending messages to you.  There should be a private messaging system if someone wants to give a work offer to someone privately, or if you just want to ask them a very specific question only they know the answer to, or if your post is closed and you want to explain why you think the post should be opened, or if you revised the post and want to notify the moderators.  Also, private messaging allows you to contact people without both sides knowing each other's email. So, that means more people would agree to allow people to contact them.     Every user on the StackExchange sites has the right to include contact info on their profile page. If they don't, then they probably do not want to be contacted by email or through a private message.   NOT TRUE! Some people don't put their emails in their profile so that there wouldn't be a hundred accounts created using it by some troll! This already happened to me a couple of times.  Also, I agree that the mods would receive a million PMs hourly, but we can limit Private Messaging to people with high reputation. That would keep spammers out, because you would need to work to get Private Messaging enabled.


The LaTeX in my system cannot support Sweave compilation to pdflatex, it warns for missing .sty files. I want to clean my system and reinstall a more complete LaTeX. What is the better way for doing so?


I want to get that fancy LaTeX symbol to put in one of my documents but I cannot find it anywhere.  All searching for things like latex symbol have not resulted in the symbol but other symbols.


Change user password while password is empty

I have a realy strange problem in Ubuntu 11.10. I have by accident my password set to empty. If I wan't to install software now the system asks for a password, but I haven't one anymore. If I enter my old password it sais it's wrong and if I leave it empty it also does. Now I wan't to set my password back, but the system asks for the old password before I can change it. That password doesn't exist, so I can't do anything anymore! Can someone help me please?


weird underfull \hbox (badness 10000) in paragraph error

I know this question has been asked dozen of times, but I cannot find any with a problem like mine:  I'm working on this document, which compiled fine yesterday (I still have the old version and it is still compiling perfectly), today I added a couple of sections and a bunch of subsections, without weird commands, only plain text and \\ but when I tried to compile I got dozens of underfull \hbox errors, the first one being at line 16 (which compiled fine in the previous version of the document).  This line, specifically, is:     In linea di principio, una volta che un algoritmo è stato sviluppato, questo può essere eseguito, con risultati uguali e prevedibili tanto da un calcolatore quanto da un essere umano, con l'unica differenza che un calcolatore, a meno di errori (umani), nell'implementazione dell'algoritmo o dell'hardware su cui viene eseguito è decine di ordini di grandezza più veloce e più preciso a svolgere alcuni compiti.\\\\   that is, plain text ending with newlines. the problem is that even after removing the newlines I still get the same error and I cannot understand what's causing it since it wasn't a problem yesterday. How am I supposed to tell TeX to start a new line without it complaining?


how to enable laptop mode tools in ubuntu 12.10

I have a Lenovo z570 running ubuntu 12.10 with a battery life approximately 1hr 30 min. Please help me maximize the battery life of my lenovo


Is for open connected $U$ the set $U_\varepsilon$ for small $\varepsilon$ connected?

Let for an open connected subset $U\subset \mathbb R^n$ and a number $\varepsilon >0$: $$ U_\varepsilon=\{x\in U: dist (x, \partial U)> \varepsilon \}. $$ Then  $U_\varepsilon$ is open but in general not connected.  But I suppose that for sufficiently small $\varepsilon >0$ also  $U_\varepsilon$ is connected. How to prove its?  Edit. Let's assume that additionally $U$ is bounded. Is then $U_\varepsilon$ connected?


How do I change the colour of the red close button in Windows 8?

Is there some way to modify the colour of the "Close" button in Windows 8?   On several applications, an active window displays a not-so-subtle red.


How can I make the Windows VPN route selective traffic (by destination network)?

I want to use a Windows VPN but only for a particular network, so that it doesn't take over my entire network connection.  e.g., Instead of the VPN becoming the default route, make it only the route for 192.168.123.0/24  (I can see that there is a solution for this for Ubuntu , but sometimes I have to do this on Windows too)  Can this be automated so that whenever I connect to the VPN it does this?


by trying to install any application on Ubuntu 16.04  it gives me this message on the terminal  I understand that I made a mistake by stalling python 2.6.8 by mistake  so I try to setup python 2.7.12 but give me the same message  how to solve this problem?   Reading package lists... Done Building dependency tree        Reading state information... Done build-essential is already the newest version (12.1ubuntu2). checkinstall is already the newest version (1.6.2-4ubuntu1). You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  playonlinux : Depends: python:any (>= 2.7.5-5~)  python-apt : Depends: python (>= 2.7~) but 2.6.8-1 is to be installed               Depends: python:any (>= 2.7.5-5~)  python-minimal : Breaks: python (<= 2.7.3-1~) but 2.6.8-1 is to be installed  python-pycurl : Depends: python (>= 2.7~) but 2.6.8-1 is to be installed                  Depends: python:any (>= 2.7.5-5~)  python-software-properties : Depends: python (>= 2.7) but 2.6.8-1 is to be installed  python-talloc : Depends: python (>= 2.7~) but 2.6.8-1 is to be installed  python-wxgtk3.0 : Depends: python (>= 2.7~) but 2.6.8-1 is to be installed                    Depends: python:any (>= 2.7.5-5~)  python-wxversion : Depends: python:any (< 2.8)                     Depends: python:any (>= 2.7.5-5~) E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


Why is bash sourcing .bashrc in non-interactive mode when working via ssh?

I have a CentOS VM to which I log in using SSH. I appended the following line to .bashrc  echo "from ~/.bashrc: (pid $$)"   and the following line to .bash_profile  echo "from ~/.bash_profile"   When I log into the VM and run ps I get the following output  user@laptop:~ $ ssh vmcentos Last login: Sun May 17 04:48:24 2020 from 192.168.122.1 from ~/.bashrc: (pid 1821) from ~/.bash_profile [admin@localhost ~]$ ps -H -o pid,command   PID COMMAND  1821 -bash  1844   ps -H -o pid,command [admin@localhost ~]$   This output is what I expect since the shell I log into is an interactive login shell and thus the .bash_profile file is sourced which in turn sources the .bashrc file.  Now I log out from the VM and execute the following command  user@laptop:~ $ ssh vmcentos 'sleep 60; echo $-' from ~/.bashrc: (pid 1901) hBc user@laptop:~ $   then I log into another ssh session on the VM and inspect the process table  [admin@localhost ~]$ ps -eH -o pid,command   PID COMMAND (... more output here...)  1900       sshd: admin@notty  1901         bash -c sleep 60; echo $-  1914           sleep 60 (... more output here...)   As far as I understand the shell that ssh executes (process 1901) is non-interactive (because of the -c option and also because the $- variable contains no i character) and non-login (because ARGV0 is not -bash and no --login option is provided). Thus neither .bashrc nor .bash_profile should be sourced. Yet the output of the command clearly shows that .bashrc was sourced. Why?  I used a standard CentOS installation with the standard openssh configuration.


I often install software, remove software, upgrade it etc, and sometimes I need to check on recent changes such as these that I have made. But to do this currently I am having to open the Ubuntu Software Center, which is something I hate doing because I am a more of a CLI than a GUI person, plus it's hugely bulky and takes ages to load, and takes up lots of RAM. So I was wondering how I can view recent software changes in Terminal which would basically show more or less the same thing as the Ubuntu Software Center in the History section, but in Terminal?


Upgrade 16.04.2 LTS to kernel version 4.8?

I am on Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-62-generic i686) and when I do:  aptitude update aptitude safe-upgrade   no upgrades are offered. aptitude search linux-headers-4.8 offers several 4.8 kernels:  p   linux-headers-4.8.0-28                                                        - Header files related to Linux kernel version 4.8.0 p   linux-headers-4.8.0-28-generic                                                - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-28-lowlatency                                             - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-30                                                        - Header files related to Linux kernel version 4.8.0 p   linux-headers-4.8.0-30-generic                                                - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-30-lowlatency                                             - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-32                                                        - Header files related to Linux kernel version 4.8.0 p   linux-headers-4.8.0-32-generic                                                - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-32-lowlatency                                             - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-34                                                        - Header files related to Linux kernel version 4.8.0 p   linux-headers-4.8.0-34-generic                                                - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-34-lowlatency                                             - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-36                                                        - Header files related to Linux kernel version 4.8.0 p   linux-headers-4.8.0-36-generic                                                - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP p   linux-headers-4.8.0-36-lowlatency                                             - Linux kernel headers for version 4.8.0 on 32 bit x86 SMP   In the German Wikipedia under ubuntu is written that the kernel 4.8 is available for 16.04.2 LTS since 17 February 2017:    The English Wikipedia and  is still on kernel version 4.4 for 16.04.2 LTS. The later one (Ubuntu release page) omits 16.04.2 LTS also and seems to be not up-to-date.  Is it a little bit too early or should I update the kernel by hand?


Eclipse WindowBuilder: Ignore runtime paint() code

One of the JPanels in a swing GUI I am designing uses AWT graphics for drawing figures that are only drawable at runtime. Eclipse WindowBuilder no longer wants to draw any of my swing GUI as there are now null pointer exceptions in the awt paint code. Note that this is not a generic question about null pointer exceptions. This is specific to WindowBuilder and how to handle code that doesn't make sense in the context of WindowBuilder. Is there a method by which I could ignore the awt paint code if WindowBuilder is trying to interpret my swing gui?  import java.awt.Color; import java.awt.Graphics; import java.awt.image.BufferedImage;  import javax.swing.JPanel;  public class previewPanel extends JPanel { private static final long serialVersionUID = 3787425749772291816L; public final static int WIDTH = 918; public final static int HEIGHT = 125;  public void paint(Graphics g) {     BufferedImage img = new BufferedImage(WIDTH, HEIGHT, BufferedImage.TYPE_3BYTE_BGR);     Graphics gBuffer = img.getGraphics();     gBuffer.setColor(Color.WHITE);     gBuffer.fillRect(0, 0, WIDTH, HEIGHT);      businessClass.object.paint(gBuffer);      g.drawImage(img, 0, 0, this);      try {         Thread.sleep(20);     } catch (Exception e) {     }     repaint(); }   In this particular example, previewPanel is embedded inside of an overall swing gui I am working with in WindowBuilder and businessClass.object is only initialized at runtime (Main invokes the initialization of businessClass, not the gui itself). I have only shown one example, but there are many other cases where I call the painting code of a runtime object or list of objects that need to be drawn with awt graphics.


Why do my switch cases sometime need braces in Objective-C?

Sometimes Xcode will show an error "Expected expression" on the line after a case. For example, Xcode is pointing to UserContentViewController with a red arrow:  - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {     switch (indexPath.row) {         case IndexVideo:              UserContentViewController* detailViewController = [[UserContentViewController alloc] initWithUser:self.user];             [self.navigationController pushViewController:detailViewController animated:YES];             break;      } }   If I put braces around my case, the error is gone. Firstly, I want to know what is the problem with not using braces. I've never used braces in cases in any other language. Secondly, why does Xcode only complain about my cases on rare occasions? I can't quite discern what type of code triggers this error.


I am trying to solve exercises from Pugh's Real Mathematical Analysis 2nd ed. and there is a question related to the connectedness of a disc. The question statement is as follows:  Is the disc minus a countable set of points connected? Path-connected? What about the sphere or the torus instead of the disc?  Intuitively, I think the disc is connected and also path-connected after removing those points. However, I would like to see proof of this. Can someone help me with that?


How can I pass a pointer to an array using p/invoke in C#?

Example C API signature:  void Func(unsigned char* bytes);  In C, when I want to pass a pointer to an array, I can do:  unsigned char* bytes = new unsigned char[1000]; Func(bytes); // call   How do I translate the above API to P/Invoke such that I can pass a pointer to C# byte array?


I am using a Particle system to simulate falling dust / debris. The particle start and end fairly quickly. They should look like a short burst of falling dust.  I cant figure out how to get the particles to fall at slightly different speeds.  The particles should be falling downwards with very little Brownian motion.  The fact that the particles are falling at the same speed makes them look odd / too uniform (almost like a static image of some particles which is moving down rather than individual particles.  Also the particles end at a set frame so I get a uniform trailing edge (as below).   A bit of air drag helps a bit but not much.  Question 1. how to vary the downward speed of the particles?  Question2. Can the density of particles be animated so I can brake up the distribution?  Thanks Oliver


Getting tabular statistics from table using QGIS?

Are there QGIS tools that will allow users to get tabular statistics from their table?  I kind of expected I would be able to just open the table, select the field I was interested in, right-click on the field header and get something similar to this (screenshot taken from ArcGIS):    More specifically, I am looking for a QGIS alternative to the ArcGIS  and  tools, that offer a  you can retrieve about the tabular data.    Just after asking, I found  (see section 4.2 ) that describes how to find this functionality... Vector > Analysis Tools > Basic statistics.  I also found Vector > Analysis Tools > List Unique Values right next to it.  This gets me the list of unique values, but I would also like to see an additional column of frequency (count) of each unique item.  Is this similar tool available "out-of-the-box"?


How to manually or programmatically delete a field?

I tried creating a field, but my server crapped out halfway with an Internal Server Error due to some spambot attack...  Now, when I try to add the field again, I am getting:     The machine-readable name is already in use. It must be unique.   I guess some tables were populated in the db. How can I remove these easily?


My son is 5 years old.   Over the last few months I have been observing some disturbing sexual behavior from my child.  He is rubbing his penis on  the bed or pillow. Sometimes he would get naked and rub very tightly and make some sounds of pleasure! Previously, I thought he was playing... but later I understood.   His father doesn't want me to scold him, but one day I was really surprised and shocked by one incident... when I was in deep sleep in the afternoon, I suddenly woke up and saw he had pulled up my skirt and trying to mount me! I was really shocked!  I'm really upset.  What should I do?


For the recurrence defined by  $$T(n) = 1 +\sum_{i=0}^{n-1}T(i)$$  Apparently $T(n) = 2^n$ .. but I cannot see it. This recurrence pops up during analysis of the . I keep looking to find a viewpoint to look at this problem where the factors of 2 pop out ..


Why not take the tensor product of two left modules in this way?

Let $A,B$ be two left $R$-modules. I was wondering if we then can form the tensor product of $A$ and $B$ by the free abelian group on $A \times B$ divided out by the span of the following elements $(a+a',b) -(a,b) - (a',b), (a,b+b')-(a,b)-(a,b')$ and $(ra,b)-(a,rb)$.  In literature the construction is done for $A$ a right $R$ module and $B$ a left $R$ module. I don't see why we should distinguish between those two types.


I recently installed ubuntu 14.10 but I forgot to partition my drive. I need a separate partition for the OS and and my media files. Do i have to renistall ubuntu or can it be done separately?  Thank you


Word for low level noise among restless crowd, as sign of confusion or complaint?

Dictionary gives me "drone" and "murmur" but I'm not sure if that's the word I am thinking of.  I want to use it to describe a group of people on strike who hear that their demands are not met and the CEO has resigned.  They're not shouting, but they're not whispering either.  They're restless and confused.  I want to say that a certain something (murmur?) was heard among the crowds, to indicate their state.


Is it safe to make arduino read negative voltages from the analog inputs?

Hope all is well.  I need the arduino UNO to read negative voltages, and I am worried that it might destroy the arduino.   What I am trying to do with the Arduino is to be able to read voltages from two of its analog inputs, then graph them in Labview.    The arduino will read voltages that makes the above graph.  If UNO can't do negative voltages, are there any other arduino model that is capable of reading negative voltages?  If it can't read negative voltage, do you guys have any suggestion how to make this happen? Because OPAMP inverter won't solve this issue.  Thanks a lot.


Restoring positions and sizes of windows after undocking a laptop

I have a laptop which docks or plugs into 2 large monitors at my desk. When I unplug my laptop, to go to a meeting, it moves all the program windows onto the small laptop screen. Then when I plug it back in at my desk I have to rearrange all the windows again back onto the large monitors.  Is there a way I can keep all the windows positioning? Can you use the desktop feature in Windows to help one do this?


In the formula for Newton's law of gravitation i.e.  $$F = G(m_1)(m_2)/r^2 $$ here $r$ is the distance between  COM of the two objects , so we consider that the object is a single point located at it's COM and at this point gravitational force of attraction acts . Then why is sometimes COM and COG different for an object ? Please give some practical example .


Is there a well-known term for the synonym or near-synonym "telescoping" words?

This has been rattling around in the back of my mind for many years (way before Stack Exchange came into existence), so it's a relief to finally ask the question.  There are words that can be "contracted" by removing one or more letter(s) (without changing the order of the letters) to form a shorter word with the same meaning, or one very close to it.  The two strongest examples I can think of right now are:  rapscallion -> rascal  and  satiate -> sate  This is a slightly weaker example:  rapine -> rape  Even though "rape" has come, in modern usage, to refer almost exclusively to a sexual crime, it can still be used in a more literary (and purposefully anachronistic) sense to mean "the plunder and pillage of a country or region". In that sense, "rape" can be used in a similar fashion to "rapine"; in any case, the two words are etymologically related to the Latin rapere which is tied to the archaic usage.  Another weaker example:  transliterate -> translate  These words are near-synonyms, but there is a definite difference in their meaning. Still, I guess this pair would qualify, albeit in a looser sense.  I wanted to exclude some relatively trivial examples, such as:  (inflammable -> flammable)  (perambulate -> ambulate)  and so forth. So I've imposed the additional rule (arbitrary though it may seem) that the "stripped" letters must not come from the start or the end of the word, but only from its middle.  Acronyms and portmanteaus are also excluded, as are "slangier" contractions e.g.:  (modulator-demodulator -> modem)  (motor-hotel -> motel)  (certitude or certainty or certificate -> cert)  I guess the long-short forms of the same word would form a linguistic doublet. I've coined the term "telescoping word" to describe the long form that "collapses" into the short form with letter deletion sans anagramming.  My question is: has this phenomenon already been studied? If so, what name have authorities given it? Is there already an existing reference or resource on it? Thanks in advance.  (This is not a duplicate of , as that is asking about the more general phenomenon of words (not necessarily synonyms) occurring within larger words. In fact, the question specifically mentions "kangaroo word" and states that a broader scope is being sought.)


Physics books covering classic mechanics

I am going to be a high school freshman next year and I have acquired a strong interest in physics. I have a mathematical background, upto, but not including, Calculus. I am looking for in depth resources covering classic mechanics enough to move onto more in depth texts on relativity as well as quantum theory. Again, I have a strong math background to all the work leading up to Calculus, and I will be taking Calculus next school year.


Late 80's early 90's British show about teenagers that develop alien powers and sleep/travel in pods

I have searched about this show and I found it somewhere but I lost it. The show is about some teenagers that start developing alien powers (one British that attended a private school with red uniforms and blonde/red hair, one was Australian, I believe his name was Adam, and one girl, I believe, black). They traveled in pods and hid them in the greenhouse and there is also a beach scene, where they go for the pods and can sleep and travel inside of them.


Simultaneously editing 2 features from 2 different layers in QGIS

Is there a way in QGIS to edit 2 different features from 2 different layers at once.  For example I selected a point in a point layer and a polygon in a polygon layer and I want to move them to another place at the same time.  I can enable editing on both layer but I still have to move my features one after the other which means I can't graphically move my 2 features by exactly the same x and y. That is a problem since I want them to stay at the same place relative to each other.  I found  from 7 years ago saying it is not possible. I'm wondering if the situation has changed


Does I ate food a lot mean ambiguously?  I ate a lot of food. I made a lot of chewing, biting or the other action on food.


"Seventeen days' notice" versus "seventeen day's notice"

Even in those days, this was incredibly rude! Giving the President of your country only seventeen days'' notice before making a speech, especially as he wasn’t top of the bill, would be unthinkable today! So, the day arrived, and Everett, well prepared, displayed his oratorical skills in a speech which lasted over two hours. Lincoln, on the other hand, spoke for just over two minutes.      I guess there is a mistake in the above context. It should be seventeen day's notice, not seventeen days notice, but I am not sure. Am I right or not?


Integral $\int \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}} dx$

We have to evaluate the following integral:  $$\int \frac{\sqrt{\sin x}}{\sqrt{\sin x} + \sqrt{\cos x}} dx$$  I tried this:  I multiplied both the numerator and denominator by $\sec x$ And substituted $\tan x = t$.  But after that I got stuck.  The book where this is taken from gives the following as the answer: $$\ln(1+t)-\frac14\ln(1+t^4)+\frac1{2\sqrt2}\ln\frac{t^2-\sqrt2t+1}{t^2+\sqrt2t+1}-\frac12\tan^{-1}t^2+c$$ where $t=\sqrt{\cot x}$


Can the linked posts in a "possible vandalism edits" flag go directly to the edit, instead of the post?

When handling automatically-raised flags for "possible vandalism edits", the links to the edited posts go to the post itself, instead of the edit. Linking directly to the post isn't useful; in every case I need to click the "edited  minutes ago" link to see what the edit introduced/removed.  Can these links go directly to /<post_id>/revisions/<revision_id> and show me the edit the contributed towards the flag being raised?    While there is a , @bluefeet asked me to leave this intact for future reconsideration.


can "one' be substituted by "they" in a sentence?

I'm wondering if this sentence makes sense. If more examples could be offered, that would be appreciated. Thank you.     As long as one has a pastor certificate and gifts and can analyze the Bible, it means they are approved and anointed by God.


Splitting of conjugacy class in alternating group

Browsing  I came across this:  The conjugacy class of an element $g\in A_{n}$:  splits if the cycle decomposition of $g\in A_{n}$ comprises cycles of distinct odd length. Note that the fixed points are here treated as cycles of length $1$, so it cannot have more than one fixed point; and does not split if the cycle decomposition of $g$ contains an even cycle or contains two cycles of the same length.   Anybody with a proof?


How can i find the following Poisson distribution when i have a non-integer value

I need to find the Poisson distribution of successes that occur in a 30 minute period based on a 3% per hour success rate, i know the Poisson distribution formula (P.M.F) but can't figure out how to calculate it as you can't factoral a non-integer.


Showing existence of a partial derivatives

How would one show that that $$f(x,y) = \frac{xy(x^2-y^2)}{x^2+y^2}$$ for $(x,y) \neq (0,0)$ and $f(x,y)=(0,0)$ if $(x,y)=(0,0)$ has second order partials but $f_{xy}(0,0) \neq f_{yx}(0,0)$.  I was thinking of just trying to directly compute or evaluate the difference quotients but this is really long and messy, is there a simpler way?


Find all (if that's possible) functions $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $$f(f(x))=\sin x.$$  This is a problem a friend gave me. He said he saw it on a book a long time ago, but he couldn't remember what book. I literally have no idea how to solve this so I can't post my attempt here.