I have tikzpicture (with 3 graphs from my data files. I want to add legends to data1, data2 and data3 to my picture, is it possible?  \documentclass[english]{article} \usepackage{tikz} \usepackage{pgfplots}   \begin{document}   \begin{figure} \begin{tikzpicture}[x=0.07cm,y=0.0025cm]    \def\xmin{0}   \def\xmax{170}   \def\ymin{0}   \def\ymax{3500}    % grid   \draw[style=help lines, ystep=500, xstep=10] (\xmin,\ymin) grid   (\xmax,\ymax);    % axes   \draw[->] (\xmin,\ymin) -- (\xmax,\ymin) node[right] {$x$};   \draw[->] (\xmin,\ymin) -- (\xmin,\ymax) node[above] {$y$};    % xticks and yticks   \foreach \x in {0,10,...,170}     \node at (\x, \ymin) [below] {\x};   \foreach \y in {0,500,...,3500}     \node at (\xmin,\y) [left] {\y};      \draw[color=green] plot[no marks] file {data1.dat}    node [right] {data1};   \draw[color=blue] plot[no marks] file {data2.dat}    node [right] {data2};      \draw[color=red] plot[no marks] file {data3.dat}    node [right] {data3};   \end{tikzpicture}  \end{figure} \end{document}


I have multiple categories which can be associated with multiple parent categories. How can I link one category to two parent categories?  Hi PortalP, - A sketchy work around is to add an empty category to the OTHER parent. And then you can add a redirect to the correct category. Let me know if you need help – Can you please clarify and explain this more in detail? I am really new and don't have any knowledge in building a site. Thanks


How to check if site is created by wordpress?

Can anybody tell me that how to check if someone created his site using wordpress?


How to check if a printer is compatible with Ubuntu 18.04?

I am about to purchase HP LaserJet Pro M15w Printer but the last time I bought an HP printer I had to return it because it wasn't compatible with Ubuntu.  Is there a way to check this first?  I have Samsung, and their Unified driver pretty much takes care of everything.  Thank you.


Using "the" before a company name whose first word is "The"

I am working on edits for a training manual that was sent to me.  The author consistently uses the word "the" before the company name, whose first word is "The."  Is this proper to use, or should "the" be deleted throughout?  Example:  "The Company abides by the [The Company Name] Code of Conduct established by [The Company Name], which is a manual of good company practices and behaviors. The [The Company Name] Code of Conduct is mandatory and violations can be punishable, up to and including termination."  Is it proper to use "the The..." together in this instance?  It just doesn't look right.  Thank you.


What is the term used for a phrase that could have more than one meaning such as "This battery is free of charge"?


john@ubuntu01:~$ sudo ls -l /var/opt/gitlab/git-data/repositories/GL/www.git total 25068 drwxr-xr-x  2 git  git      4096 aug 14 19:58 branches -rw-r--r--  1 git  git        66 aug 14 19:58 config drwxrwxrwx  2 root root     4096 aug 15 14:56 custom_hooks -rw-r--r--  1 git  git        73 aug 14 19:58 description -rw-r--r--  1 git  git        23 aug 14 19:58 HEAD lrwxrwxrwx  1 git  git        47 aug 14 19:58 hooks -> /opt/gitlab/embedded/service/gitlab-shell/hooks drwxr-xr-x  2 git  git      4096 aug 14 19:58 hooks.old.1471193907 -rw-r--r--  1 git  git      1329 aug 15 14:48 index drwxr-xr-x  2 git  git      4096 aug 15 13:58 info drwxr-xr-x 71 git  git      4096 aug 15 14:55 objects -rw-r--r--  1 git  git        98 aug 15 13:58 packed-refs -rw-r--r--  1 git  git  25618530 aug 15 14:03 post-receive.log drwxr-xr-x  5 git  git      4096 aug 14 20:31 refs john@ubuntu01:~$ ls -l /var/opt/gitlab/git-data/repositories/GL/www.git ls: cannot access '/var/opt/gitlab/git-data/repositories/GL/www.git': Permission denied   Here are ACLs  john@ubuntu01:~$ sudo lsattr /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks -------------e-- /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks/post-receive   I have never seen this before. No permission to LS even with 777? I need to share this folder for more convenient development. How can I solve it? Thank you.  EDITED: (here are your requests)  john@ubuntu01:~$ sudo ls -ld /var/opt/gitlab/git-data/repositories/GL/www.git drwxrwxrwx 8 git git 4096 aug 15 14:48 /var/opt/gitlab/git-data/repositories/GL/www.git john@ubuntu01:~$ sudo ls -ld /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks drwxrwxrwx 2 root root 4096 aug 15 14:56 /var/opt/gitlab/git-data/repositories/GL/www.git/custom_hooks   EDITED MORE  sudo ls -ld /var/opt/gitlab/git-data/repositories/GL/www.git ls: cannot access '/var/opt/gitlab/git-data/repositories/GL/www.git': No such file or directory   hmmm... what is this?


How to create partition in Ubuntu using Gparted?

I have just installed Ubuntu 18.04 and now I want to create a partition in my hard drive. But I have only one partition and I found in a video that one cannot create partition which is being used. I am unable to create partition. What should I do?


Prompt sudo password until correct one is given and store it in bash script variable

I'd like to remove the need for the user to type a password multiple times for a bash script that runs sudo commands. How can I loop for password until something like sudo echo returns 0, and then store the password in a variable to use script-wide?


Why doesn't the prefix 'in-' mean the same in "invaluable" and "infamous" as it does in "insufficient" and "incompetent"?

Looking at a  chart confirms that the prefix "in-" is supposed to mean 'not' or 'without', just wondering why the exception only occurs for certain words. I don't know if it's an origin thing, as infamous originated in Latin, but so did insufficient, and I can't find a concrete orgin of invaluable.


Folders are showing as shortcut inside folders

Every folder in my computer has a shortcut to the same folder inside the folder.  Please see the below picture:    How do I resolve this?


Where does "Santa" in Santa Claus come from?

Santa Claus is a man, right? In this case, he may not be fine with the fact that people call him Santa, which is the  and  word for female saint names.  For example, Santa Barbara and Santa Monica (Barbara and Monica are both female names). Saint Nicholas is by the way translated as San Nicolas and São Nicolas, respectively, in these languages, as San and São are the words for male saint names.  Where does Santa in Santa Claus come from?


Griffiths' argument that Newton's third law is invalid in special relativity

I believe that Newton's third law is valid in special relativity. But I read an argument in Griffiths' textbook Introduction to Electrodynamics (3rd edition), where he argued on page 517, that Newton's third law is violated:     Indeed, if the two objects in question are separated in space, the third law is incompatible with the relativity of simultaneity. For suppose the force of $\mathbf{A}$ on $\mathbf{B}$ at some instant t is $\mathbf{F}(t)$, and the force of $\mathbf{B}$ on $\mathbf{A}$ at the same instant is $-\mathbf{F}(t)$; then the third law applies, in this reference frame. But a moving observer will report that these equal and opposite forces occurred at different times; in his system, therefore, the third law is violated.   Currently I could not find a argument against his. I found several posts here in Physics SE arguing that Newton's third law is equivalent to conservation of momentum, which is correct in special relativity. However, their reasons do not seem to invalidate Griffiths' argument. I would like to know where did Griffths' went wrong in his argument.    Update: I realize that there are several similar posts:      But both of them centered on the momentum conservation, whereas what I want to ask is about the action-reaction view of Newton's third law.


Why does the Earth not lose its magnetism?

A magnet loses its magnetic properties when subjected to heat, the Earth's core is also hot but still it has magnetic properties, Why?


(1)$\exists x \in X \ ( P(x)  \implies \forall y \in X P(y) )$  (2) $\exists x\in X P(x) \implies \forall y \in X P(y)$  What’s the difference? And are they both always true?   It seems to me that the second is false, but I read that the first is true. May someone please clarify the difference? And tell me why that is the case, please?


After downloading Matplotlib to use the Statist Pugin An error has occured while executing Python code:  RuntimeError: module compiled against API version 9 but this version of numpy is 6  Python version: 2.7.5 (default, Mar  9 2014, 22:15:05)  [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]  QGIS version: 2.2.0-Valmiera Valmiera,   Later on the message is that statist is also not able to run.  How to solve this problem?


The following command in the ubuntu terminal gives an error   sudo apt-get update   This is the error message  W: The repository 'cdrom://Xubuntu 16.04 LTS _Xenial Xerus_ - Release  amd64 (20160420.1) xenial Release' does not have a Release file. N: Data from such a repository can't be authenticated and is therefore  potentially dangerous to use. N: See apt-secure(8) manpage for repository creation and user  configuration details. E: Failed to fetch cdrom://Xubuntu 16.04 LTS _Xenial Xerus_ - Release  amd64 (20160420.1)/dists/xenial/main/binary-amd64/Packages  Please use  apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot  be used to add new CD-ROMs  E: Some index files failed to download. They have been ignored, or old  ones used instead.


Why would Stolen Memory counter be at a constant high?

I'm trying to understand memory stats a lot better and have been troubleshooting an issue with one of our SharePoint DB servers for a while now. Low PLE, frequent lazy writes, slow performance etc  I noticed today that the stolen memory counter was high, and remained high. It didn't really fluctuate.   My server has 16GB RAM and SQL Server is allocated a maximum 12GB. The stolen memory counter is around 8.5GB. Is that normal?  What could that be and how to pinpoint the cause? What should I be looking at?  SQL Server 2012 is patched to SP3.    UPDATE: Here's an output of a query of os_performance_counters showing the high Stolen Memory (high being relative to the max memory of 12GB given to SQL Server)    UPDATE 2:  By looking at trend data in SCOM I can see that Stolen Memory has increased steadily over the last 120 days from 2GB to 8.5GB... this is really puzzling me.  Thanks


How can I mount SFTP/SSH in Finder on OS X Snow Leopard?

My Question is seemingly simple. I need to mount an SSH/SFTP volume and make it visible in finder to be able to use it as if it were a local volume (think SMB share). I have tried everything I could find (MacFUSE + sshfs (whatever version), Macfusion (couldn't install),...).  Is there anyway to do this seemingly simple thing? It feels like I'm missing something here. Also, I'm not looking for an SFTP client for download/upload. My personal machine is an Ubuntu box, and that's easily doable on that.


What is the domain of $f(x)=x^x$ ?   I used Wolfram alpha where it is said that the domain is all positive real numbers. Isn't $(-1)^{(-1)} = -1$ ? Why does the domain not include negative real numbers as well?  I also checked graph and its visible for only $x>0$ . Can someone help me clarify this?


This comes from the comments section of this question , credits .  The statement is  $$\sum_{n=1}^\infty\left(e-\sum_{k=0}^n\frac1{k!}\right)=1$$  This looks really interesting, so I was wondering if anyone has any ideas/suggestions or even better the whole proof?  Disclaimer: I added that link specifically because this might look like homework, leading to "What have you tried?". So the disclaimer is, I actually haven't tried anything yet, because yes, asking the community is just easier. It would be great if someone could answer this though since I, personally at least, think that this equation is very interesting and adds value to any math enthusiast stumbling upon it here someday. :) I will myself be trying it meanwhile too though(it really is interesting) , and add and accept my solution if I am successful and there are no answers yet.     I tried  for $\sum_{k=0}^n\frac1{k!}$ and it yields  $$\sum_{k=0}^n\frac1{k!} = \frac{e\Gamma (n+1,1)}{\Gamma(n+1)}$$  where $\Gamma(a,r)$ is the incomplete gamma function and $\Gamma(a)$ is the euler gamma function. . Might be of help, might not. Just thought it'd be worth adding.


java if statement not breaking the "for loop"

I am newbie in java but I think I have done well teaching myself in these few weeks. But now I am stuck at this loop.  Here is a method from one of my class. To help me debug, I have added "myString" string and "syntax" list inside this method to demonstrate what is happening and to keep it simple, at least for now.  public void getIndex(){     String myString = "2 2 + 3 5";     String[] syntax = myString.split(" ");      for (int index = 0; index < syntax.length; index++){         System.out.println("current index is: " + index);         System.out.println("It has: " + syntax[index]);         // these print statements are made to help me debug         if (syntax[index] == "+"){             indexNeeded = index;             break;         }     }     System.out.println("Index Needed: " + indexNeeded);      As you can see inside the loop, I want to break the "for loop" when the element of the list, "syntax" is "+". (I am showing "+" here but it can be anything in the actual program.)  Here is the output, when run this method:  current index is: 0 It has: 2 current index is: 1 It has: 2 current index is: 2 It has: + current index is: 3 It has: 3 current index is: 4 It has: 5 Index Needed: 0   The loop should have stopped when it found "+" but it seems that "if statement" is not working at all, and hence "indexNeeded" hasn't changed.  It's a simple method but what am I doing wrong here?


How can I see how many posts I have edited on Stack Overflow? I'm trying to get 80 edits for that badge but I can't see anywhere how many I've already got.


How to find density function from this joint probability density function

$$f(x,y) = \begin{cases} 2 & 0< x< y<1  \\     0 &\text{otherwise} \end{cases} $$  I need to find   the density function of $y$ and conditional pdf of $X$ given $Y$.   My answer is coming out to be   $2y$ $\frac1y$


Can the close-vote aging be slowed down for Stack Exchange betas?

On our , for instance, there are currently less than 20 users with sufficient reputation to close questions.  Since the beta went public, there have been several new users and questions - which is of course mostly a good thing! - but some of them don't appear to have paid much attention to any of the Area 51 definition questions, the meta chatter, or the proposed FAQ thread, and are asking questions that have almost unanimously been declared off-topic.  Unfortunately, with so few people able to "moderate", compared to the shortened duration for questions staying on the front page, it's almost impossible to get a question closed because too few people actually see it.  And obviously none of us have the "closed questions" link because that requires a much higher rep, even in beta.  I propose that close votes take a full 5 days to age away during public betas until there are no fewer than 50 users with close privileges.  It's unreasonable to expect just 15 people to all visit the site and open the same questions within a 48-hour period when questions no longer stay on the front page that long.  However, these questions do get bumped, so if the aging period were temporarily extended, then I think it would help a great deal in letting the community work its magic.  Alternatively, you could provide access to the close votes link in the 10k tools.  With such a small number of community "moderators", I don't see how it could hurt, and it would make it easier for people who visit fewer than 10 times a day to find close candidates.  Thoughts?  P.S. I'm hearing that the aging period is actually 4 days, and that's what it says in the FAQ, but I'm almost positive I've seen one or two votes age on questions that are only 2 days old.  If it turns out I'm hallucinating, I'll just delete the question, but regardless, we need to do something to make it easier to close questions during the betas.


I've read a few threads on here that mention some  of macro lenses and found some marketing fluff in the box for my Canon about them as well, but being a complete novice I was left a bit confused.  Can someone please provide me with a top-to-bottom explanation of what a macro lens does?


Can Ubuntu run on Ubuntu on Asus F5Rseries Celeron M520 including sound and WiFi?


I replaced apache webserver with http(WINHTTP windows service) for use virtual hosts feature. But I was missing  http(WINHTTP windows service) which I previously removed.I  now want to  reinstall this service for use print spooler.


Comparing nullable column values using "IS NULL" versus "= NULL"

I'm dealing with nullable values in a column of a table, i'm wondering why this:  with cte as (     select 'c1'::text as c1,null::text as c2     union     select 'c2'::text as c1,null::text as c2 ) select * from cte where c2 is null   returns a result set with the two "rows" having a null value in c2; comparting to this query:  with cte as (     select 'c1'::text as c1,null::text as c2     union     select 'c2'::text as c1,null::text as c2 ) select * from cte where c2 = null   that returns an empty result set!!  so it looks like that field is null is actually different from field = null? the question is... is there "null-compatible operator" to use? so i can write the comparision like: column_name = $1 and argument $1 can be a not null or null value. IF $1 is a null value then it will semantically equals to write as IS NULL, ELSE (if $1 is not a null value) then it would be semantically equals to = $1.  P.D: This question also applies to the case is NOT NULL versus <> NULL


Attempt to invoke virtual method 'getStreetViewPanoramaAsync' crashes the app

I am trying to use Google's StreetView Image API in my app and use it withing a FragmentPageAdapter. I used the streetview api within a single activity and it was working fine but when I tried 'switched' to a 3 fragment fragmentPagerAdapter as soon as I tap on the StreetViewPanoramaFragment fragment the app crashes with the followig:  Theme: themes:{} java.lang.NullPointerException: Attempt to invoke virtual method 'void com.google.android.gms.maps.StreetViewPanoramaFragment.getStreetViewPanoramaAsync(com.google.android.gms.maps.OnStreetViewPanoramaReadyCallback)' on a null object reference at xdesign.georgi.prototyping_espc_streetview.fragments.StreetViewFragment.onCreateView(StreetViewFragment.java:38) at android.support.v4.app.Fragment.performCreateView(Fragment.java:1962) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1016) at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1197) at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:738) at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1562) at android.support.v4.app.FragmentManagerImpl.executePendingTransactions(FragmentManager.java:535) at android.support.v4.app.FragmentPagerAdapter.finishUpdate(FragmentPagerAdapter.java:141) at android.support.v4.view.ViewPager.populate(ViewPager.java:1106) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:552) at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:514) at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:495) at xdesign.georgi.prototyping_espc_streetview.MainActivity.onTabSelected(MainActivity.java:94)   This is my "StreetViewFragment"  public class StreetViewFragment extends Fragment implements OnStreetViewPanoramaReadyCallback { private StreetViewPanoramaFragment streetViewPanoramaFragment;   @Override public void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);  }  //Overriden method onCreateView @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {     StreetViewPanoramaFragment streetViewPanoramaFragment = (StreetViewPanoramaFragment) getActivity().getFragmentManager().findFragmentById(R.id.streetviewpanorama);     streetViewPanoramaFragment.getStreetViewPanoramaAsync(this);     //Returning the layout file after inflating     //Change R.layout.tab1 in you classes     return inflater.inflate(R.layout.street_virew_fragment_layout, container, false); }  @Override public void onStreetViewPanoramaReady(StreetViewPanorama streetViewPanorama) {     streetViewPanorama.setPosition(new LatLng(-33.87365, 151.20689)); } }   'street_virew_fragment_layout'xml:  <?xml version="1.0" encoding="utf-8"?> <fragment     xmlns:android="http://schemas.android.com/apk/res/android"     android:name="com.google.android.gms.maps.SupportStreetViewPanoramaFragment"     android:id="@+id/streetviewpanorama"     android:layout_width="match_parent"     android:layout_height="match_parent"/>


On my Ubuntu 14.04.2 LTS network-manager isn't installed yet. Without this program I can't connect to WiFi network. But I can't install this package from Ubuntu without network connection. Here is my question. How to install this offline? or How to install from another computer?


create mesh then add vertices to it in python

I would like to create a mesh, then interactively add vertices (afterwards, possibly through a loop) to it through python.  Is that possible?  I can't find enough info from other answers to really get this going - either I find out how to create a mesh, or how to add a vertex, but can't seem to put them together in to a script.


Ubuntu installed on hard drive does not boot "no boot device found"

I can boot from USB but the Ubuntu installation on my internal hard drive does not boot. I have reinstalled Ubuntu but it's still saying no boot device found.   This is what I can see in Gparted from a live USB session


I was just wondering if it was possible to have smooth lines in photoshop the same way it is in flash where when you draw a figure it will automatically change the lines you made into smoothened shapes, I would like to know if this is possible with photoshop and how you would do so. Thank you.


the largest integer $n$ for which $n+5$ divivides $n^5+5$?

When we divide $n^5+5$ by $n+5$, we get a remainder $-620$, i.e., $n^5+5=K(n+5)-620$ , now how to proceed further?


I have a JPG file with a resolution of 3000x2077. How big can I print this image ?  Thanks in advance


Most so called experts would say online that registry cleaning speeds up your computer. I just found a handful opinions that say otherwise i.e.   Also there are some indirect answers here, but they are from like 4 years ago.   Would I be better off with not cleaning registry at all? Because benefits are dubious and the risk of messing it up is higher


I load a delimited text layer and it get's visuialized. Unfortunatly I don't know why I can't switch to edit mode. I already worked with similar .CSV files in edit mode before, under the same setup :(  I already checked that files aren't write protected. A workaround is to copy to a shapefile, but I like to work native with CSV.


Can I publish a review article if I only have a Master degree?

I read many articles about specific area and I feel like I can write a review article. So, is that ok if I only have a Master degree? can some journals accept that? (I will be the sole author)


Given $\alpha _{n}= 1+\frac{1}{1!}+...+\frac{1}{n!} ,\forall n\in \mathbb{N}$.  How would I prove the following statement?  $\alpha _{n}< 3$


Prove that the curvature of $\alpha$ is greater than $1/R^2$ for $\alpha$ lying on a sphere

I want to prove that any $\alpha(s)$ with arc parameter $s$ lying on a sphere with radius $R$ has curvature $k\geq1/R^2$. I tried so many times to prove it and at this point it's pissing me off really hard. The conditions of arc length parameter $$ |\alpha'(s)|=1 $$ and lying in the sphere $$|\alpha(s)|=R$$ should be enough to prove this by deriving those equations etc. The only thing I have found with this is that $$ \{\alpha,\alpha',\alpha\wedge \alpha' \} $$ is a basis of the curve at each point. This works for nothing to obtain the curvature $k$, as curvature is defined as $$k(s) = |\alpha''(s)| $$ or as the function such that $$ \alpha''(s) = k(s)N(s)$$ where $N$ is in a vector in the direction of $\alpha''$. I also tried methods such as starting first with plane curves of maximum radius, which gives me a curvature of $1/R^2$. Then saying that plane curves of less radius have curvature $1/\tilde{R}^2\geq 1/R^2$ as $\tilde{R}$ is smaller. But I don't have any clue for the other type of curves in the sphere. Note: I have seen many similar posts but none address this problem but other properties about the curvature of a curve in a sphere.


weakly convergence imply strong convergence when $ \|f_n\| \rightarrow \|f\| $ in $l^2([0,1])$?

I know in general weakly convergence do not imply strong convergence in $L^p$,but in  $L^2[0,1]$ space which if we have additional condition do this condition plus the weak convergence will give us strong convergence?  The additional condition is $f \in L^2[0,1]$ and $ \|f_n\| \rightarrow  \|f\| $


How to prove theorem using Euler's formula?

I'm having a great deal of trouble with this proof.  "Prove  $\cos θ + \cos 3θ + \cos 5θ + \cdots + \cos [(2n-1)θ] = \dfrac{\sin 2nθ}{2 \sin θ}$. Prove  $\sin θ + \sin 3θ + \sin 5θ + \cdots + \sin [(2n-1)θ] = \dfrac{(\sin nθ)^2}{\sin θ}$."  Relevant Equations  Euler's formula is $e^{iθ} = \cos θ + i \sin θ$.  The geometric progression formula is $S_n = a\left(\dfrac{1-r^n}{1-r}\right)$, where $a$ is the first term and $r$ is the constant that each term is multiplied by to get the next term.  My Attempts to Complete the Proof  Obviously, I need to use the geometric progression formula to prove this. With Euler's formula, the initial term $a$ is $e^{iθ}$. The $r$ term is $e^{2iθ}$. I believe these two values for $a$ and $r$ are correct, as the first term will simply be $\cos θ + i \sin θ$, the second will be $e^{iθ + 2iθ} = \cos 3θ + i \sin 3θ$, and so on.  When I plug this into the formula, I get $S_{2n-1} = e^{iθ}\left(\dfrac{1-e^{2iθ (2n-1)}}{1-e^{2iθ}}\right)$.  This is fine, but I can't for the life of me simplify this to anything meaningful. Did I make a mistake somewhere? Are these the correct values for $a$ and $r$? Is there some special trick that I'm missing?  ANY help would be appreciated. I've been stuck on this for days.  Thanks in advance, Leo  EDIT: how do I get the last step? I end up with $\dfrac{1}{2} \dfrac{\sin (4n-2)θ}{2 \sin θ}$. It seems that the $2n-1$ is causing problems. If it was just $n$, then this would all work out perfectly. How can I fix this?


*.pdf not found when including inkscape graphic

I made a figure in inkscape to be included in my document. The document itself has the following structure  main.tex    |    |- /chapters           |- chap1.tex           |- chap2.tex           |- /figures                 |- fig1.pdf                 |- fig1.pdf_tex                 |- fig1.svg   In the main.tex I include all the chapters separately. I also have there a \graphicspath{{chapters/figures}} to include the path to the figures. To export/import the figures from inkscape to LaTeX I follow  instruction. The including code looks like  \begin{figure}[] \centering \input{chapters/figures/fig1.pdf_tex} \caption{Figure} \label{fig:fig} \end{figure}   When I now compile the document, I get the error message that file fig1.pdf is not found, even though it's in the same directory as fig1.pdf_tex.  Is there something I need to add to make it work?  EDIT: So I tried the solution proposed in , but replacing the input statement with \import{chapters/figures}{chapters/figures/fig1.pdf_tex} leads to the same error.


How can I brush my toddler's teeth when he won't let me?

My toddler doesn't like to get his teeth brushed. How do I get him to be more cooperative?  He knows it's part of the bedtime routine and doesn't try to avoid it. He will happily grab and hold out his toothbrush for us to put toothpaste on it, and then he enjoys sucking and chewing it.   When he's done that for a short while, we decide it's necessary to do it properly, and that often ends in me holding him while my wife brushing his teeth, while we explain what we're doing and why. It only takes 20 seconds, but it's always accompanied by screaming and squirming. I'd like to find a way to avoid this. As soon as we're done, everything is fine again.  Clarification and update: At this age, we don't expect him to be able to brush his teeth on his own. What I meant was that he didn't allow us to do it for him either.    In the meantime, four months have passed since I asked this, and he's developed a lot. Now he gladly lets us brush his teeth carefully and cheerfully.   Update 2: Another 6 months have passed, and he's still not enjoying the experience. He understands that it has to be done, and he sees us do it too. Sometimes he'll happily let us brush his teeth, other times it's a struggle.   We are using several suggestions from the answers below -- we sing, we distract, we talk about "dirty teeth" and brushing the "dirty sugar" away, we let him brush on his own for a while and then take over, he can see himself in the mirror, etc. All of this helps, but one factor certainly is that he's tired, and that's natural because brushing teeth is part of the bedtime routine.


Make it possible to 'subscribe' to a post

Often, I will downvote a post because of major spelling / grammar errors. The expectation is that if the post is improved, I would remove my downvote. That's better for everyone. But how can I be expected to keep track of each of these on my own? Couldn't we do something like this:     It's not perfect, and would probably be an implementation nightmare, but even if only the edit notification part was implemented it would make life easier. And more downvotes would get undone. I do realize that this would be a problem for edit wars. Couldn't we make the edit notifications stop for those involved after x rollbacks? We could even make it a 5k/10k privilege.


I'm working with booktabs package. My goal is to get the same space between each word.   For example: LaTeX TikZ, tabular myframed titleps. \ Not like this one: LaTeX~~~~~TikZ,~~~~~tabular~~myframed~~~titleps .  Code sample:  \documentclass[twoside]{article} \usepackage[utf8]{inputenc} \usepackage[MeX]{polski}  \usepackage{array}% http://ctan.org/pkg/array \usepackage{booktabs}  \usepackage{tabularx} \usepackage{longtable}  \usepackage{xcolor}  \usepackage[left=4.50cm, right=4.50cm, top=3.50cm, bottom=3.50cm]{geometry} \frenchspacing  \makeatletter     \renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad}     \renewcommand\numberline[1]{#1.\hskip0.7em}     \renewcommand\quote{\list{}{\leftmargin=10pt\rightmargin=0pt}\item[]}  {\endlist}         \newcommand{\ra}[1]{\renewcommand{\arraystretch}{#1}}     \newcommand{\rr}{\raggedright}      \newcommand{\tn}{\tabularnewline} \makeatother  \begin{document}   \begin{table}[!ht]  \ra{2}  \setlength\tabcolsep{3pt}  \ignorespaces  {\setlength{\extrarowheight}{5pt}%  \begin{tabular}{m{\dimexpr.25\textwidth-2\tabcolsep-0.8pt}                 m{\dimexpr.35\textwidth-2\tabcolsep-0.4pt}                 m{\dimexpr.35\textwidth-2\tabcolsep-0.4pt}}\toprule    \textbf{Item 1} &\textbf{Item2}& \textbf{Item3 someLongerWord}\\ \midrule  \textbf{SubItem1 some text someLongerWord}\rr  & Lorem Ipsum jest tekstem  stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym. Został po raz    pierwszy użyty w XV w. przez nieznanego drukarza do wypełnienia tekstem próbnej książki. & Lorem Ipsum jest tekstem stosowanym jako przykładowy wypełniacz w przemyśle poligraficznym. Został po raz pierwszy użyty w XV w. przez nieznanego drukarza do wypełnienia tekstem próbnej książki. Pięć wieków później zaczął być używany przemyśle elektronicznym, pozostając praktycznie niezmienionym.          \\  \addlinespace[4pt] \midrule   \textbf{SubItem2 some text} & Przeciwstawne wyobrażenia i~pojęcia występują razem i~mogą wzajemnie siebie zastępować. & Pogardzany nauczyciel wychowania fizycznego reprezentuje w~pamięci uwielbianego nauczyciela sztuki.\\   \addlinespace[4pt] \midrule    \textbf{Reprezentacja przez analogię bądź aluzję}\rr& Części obiektu bądź pamięci reprezentują całość. Podobne wyobrażenia są~wzajemnie swobodnie wymienianie. & Wyobrażenie huśtawki reprezentuje czas spędzony w dzieciństwie na zabawie z~ojcem.  \\\addlinespace[14pt] \midrule   \textbf{Płynność form}\rr& Wyobrażenia wrażeń zmysłowych odpowiadają słowom czy pojęciom. & Uczucie dreszczy z zimna reprezentuje gniew mężczyzny, który umówił się na randkę w ciemno i~czeka w padającym śniegu na~kobietę, która nie przychodzi.  \\ \addlinespace[4pt]\midrule   \textbf{No Time At All someLongerWord}\rr& Brak logicznego czy czasowego następstwa. Przeszłość, teraźniejszość a~nawet przyszłość stanowią jedną całość. & Obecny mąż pojawia się we~śnie odnoszącym się do~wcześniejszego etapu życia żony.  \\  \bottomrule  \addlinespace[10pt] %  \end{tabular}}  \small\caption{\small Charakterystyczne cechy poznawcze procesu pierwotnego}  \end{table} \end{document}


What are the advantages of:  1) namespaces  2) including headers in a namespace  3) reverse of " using " namespace


When I was in high school, I learned about $i$ in math class and I remember asking my teacher back then if $i$ was equal to $-i$ according to the simple following development :  \begin{equation} i=\sqrt{-1}=\sqrt{\frac{-1}{1}}=\sqrt{\frac{1}{-1}}=\frac{\sqrt{1}}{\sqrt{-1}}= \frac{1}{\sqrt{-1}}=\frac{1}{i}=-i \end{equation}  The teacher turned out to be unable to answer my question.  Even though I've learned since then that this equality is wrong somewhere, I have never understood where was the flaw in this simple thought exercise.


I'm currently using Blender for video editing.  I have an AMD R7 and I have configured OpenCL in my user settings.  However, it doesn't seem to make rendering video any faster. Can the GPU be leveraged in this specific scenario or is it exclusively for 3D editing that the benefits can be seen?  Update #1  FWIW, exported in Blender using lossless method and will be encoding using VidCoder. Note, VidCoder uses all the cores on my system.


What skills from other party members affect witch doctor summons?

There are a number of skills that provide benefits to a player "and their allies".  Do any of these include creatures summoned by a witch doctor?    Examples:   Does a Monk heal affect summons? Do non-witch doctor abilities buff them? If you have two witch doctors in a party, can they buff each other's summons?


Association Bonus not removed upon account deletion

Recently a user asked a question on Meta asking about his deleted account (I won't draw attention to him or his question unless it is really necessary but shouldn't be hard to find - at least until the question gets deleted1 as I don't know if it is relevant to this question).  However, while looking at his account, it appears as if he received the association bonus on all of his accounts, including the new Stack Overflow account he just created, but does not have any account with >200 rep.    The most likely scenario is that the deleted account had more than 200 rep and triggered  the association bonus, but that leads to 2 questions:   Why did his previously associated accounts retain the association bonus? Why did he get an association bonus on his brand new account?   Is this a  or ?  1 - The post in question was deleted by the OP several hours ago but before then the account was confirmed by a mod to be deleted due violations of a sock puppety nature (which I think everyone suspected at the time).  Given that the account in question was a sock puppet, I think it highlights an important reason for removing the association bonus when the account that triggered the bonus is deleted.  Theoretically, as long as he keeps getting the association bonus, he can go to any site and already have more than enough privileges to do damage.


how do you prove $9(a^3+b^3+c^3)$ $\ge$ $(a+b+c)^3$  I tried to expand by multinomial expansion the right side and got a long string so what do i do next?


Quote.class doesn't return the Quote type, but Account.class does. Why?

I'm trying a library that acts like an object factory. It works with serialization, so it is possible to specify formula fields without DML, which is pretty handy with tests.  My issue is that I'm trying to write a class that requires the Quote type. The apex compiler throws me the following error when using Quote.class:     Invalid field class for SObject Quote   But Opportunity.class, Account.class and even QuoteLineItem.class work just fine. Any idea why? Is it not possible to get the quote type? Or is there another way of doing it?


How to get a literal dollarsign in an enumerate environment?

I want to mention a Perl variable name within a TeX file for PDF-ing (via pdflatex). Masking the dollar sign malfunctions with:    log-file:    ! Missing $ inserted.    <inserted text>                  $    l.7    \item \textit{\$fmt_line_req}                                     , d.i. eine den User-W\"unschen angepa\s...    I've inserted a begin-math/end-math symbol since I think    you left one out. Proceed, with fingers crossed.  The MWE:   \documentclass[a4paper,10pt]{article}   \usepackage[utf8]{inputenc}        \begin{document}      %\begin{enumerate}   %   \item \textit{\$fmt_line_req}, d.i. eine den User-W\"unschen angepa\ss{}te Formatzeile   %   \item \textit{\$head_line_req}, d.i. die Spaltenk\"opfe wunschgem\"a\ss{}   %   \item \textit{\$content_req}, d.i. die Tabellenzeilen mit w.o. gew\"unschter Spaltenpositionierung   %\end{enumerate}      \begin{enumerate}      \item \textit{[\%spaltenformatierung\%]}, d.i. eine den User-W\"unschen angepa\ss{}te Formatzeile      \item \textit{[\%spaltenueberschriften\%]}, d.i. die Spaltenk\"opfe wunschgem\"a\ss{}      \item \textit{[\%content\%]}, d.i. die Tabellenzeilen mit w.o. gew\"unschter Spaltenpositionierung   \end{enumerate}      \end{document}     The masking of % is ok! So, is there a solution to get the dollar sign in this environment? The following output is only possible if dollar sign lines are commented. The \textit format is what I want. But I need itemize/enumerate lines with the dollar sign in same manner.   [%spaltenformatierung%], d.i. eine den User-Wunschen angepate Formatzeile  [%spaltenueberschriften%], d.i. die Spaltenkopfe wunschgema  [%content%], d.i. die Tabellenzeilen mit w.o. gewunschter Spaltenpositionierung


Minimum Connecting time Changi Airport Singapore

Arriving in Singapore by Air India at 7:30 am at Terminal 2 and next flight is Air Asia at 10:10 am, is the connection time for 2:40 minutes sufficient,as will need to clear immigration at singapore also.


Yoneda Lemma says that, for a locally small category $\mathcal{C}$, an object $A$ in $\mathcal{C}$ and a functor $F:\mathcal{C}^{op}\to \textbf{Set}$, the natural transformations $[Hom(-,A):F]$ is in one-to-one correspondence with elements of $F(A)$.   My question is the following:   $\textit{A priori}$, we do not know that the collection $[Hom(-,A):F]$ is.  Now we show a "bijection" to $F(A)$.  How does it imply that the collection $[Hom(-,A):F]$ is a set.    If the above question does not make sense, then I try to frame it in another fashion.    For doing mathematics we need to consider primitive undefined objects and their "properties".  Mathematicians argue that foundations can be built in many ways like-   sets and $\in$ (Well, wasn't this the plan) sets and $f$ (function) (Leinster's $\textit{Basic Category Theory}$) types (friend told this to me)    So what are the objects we are considering in Category theory. If we take an arbitrary collection of morphisms, when can we say it is a set or not.  If it is not a set, how is its properties different from that of a set.   If this is vague question, specfically considering Yoneda Lemma, how can we say that $[Hom(-,A):F]$ is a set.


Why can't I press the Install button when installing applications from unknown sources?

I'm trying to sideload an application, as seen in the picture below.    I have allowed the installation of applications from unknown applied actions in settings, but I can't seem to press the install button. The cancel button works correctly and installing applications via adb install works correctly. What's the problem?  EDIT: For those who have this problem, using ChainFire's  will correct it because the app uses hardware compositing, and Android doesn't notice a "layer" on top of the current screen.


Would Smeagol have been permitted passage into Valinor had he lived?

If Frodo successfully redeemed Smeagol, who did not fall back into becoming Gollum again, then would Smeagol - technically a Ring-bearer - be permitted into Valinor like Frodo and Sam after the Ring is destroyed?


Line Numbers in Listing Outside of Paragraph

I use the listings package for code listings and I turned the line numbers on. But they appear left of the paragraph. I want them inside the paragraph. In the documentation it looks just right. Here is my code:  \documentclass[12pt,a4paper]{scrartcl} \usepackage{listings} \lstset{numbers=left} \begin{document} \section{Test} Test \begin{lstlisting}     test() \end{lstlisting} \end{document}


Is the construction "It allows to ..." proper English?

I frequently encounter phrases like this: "It allows to apply these features to customisable sets of fonts".  My question is whether this is proper English or not? In my mind, "it allows the application of ..." or "it allows one to apply ..." sound much better.  I suspect that this is a Germanism (that would explain why I hear it so often), but it would be nice to know for sure.


How To take screenshot in selenium webdriver with stepdefinition name & time

I'm new to selenium .Please help me with how to take screenshot in seleniumwebdriver using java with filename as stepdefinition & time.


Journey Builder - SF Event Campaign as Entry Event

We are trying to configure a Journey using SF campaign as Entry Event.The Campaign Members with Status "Approved" enter the Journey and a "Save The Date" email is sent.This is working fine but we need to send another email in the same journey based on if the Contact Accepts the "Save the date" email and the Contact Status becomes - "Accepted" in Salesforce Campaign.The status is updated in Salesforce using Eventforce depending on how the contact responds to emails.(so the status update is happening outside of Journey).  Post a wait period ,we have tried using Contact/Event data in Decision splits to check if CampaignMember.Status =Accepted and then send out "Invite" email. This criteria does not work and it seems that Contact/Event data is not getting updated with the latest data from Sales cloud and hence criteria is failing and no "Invite" email is getting sent and contacts are following the alternate path where the contact exits the Journey.  Any thoughts how we can make this work.Have we missed anything while configuring journey?  Any of you faced such issue before and tried some workarounds?  Please Note: We are not using Sysnchronized DEs for getting campaign Data instead we are suing Salesforce Campaign Event where a campaign is selected and all the members of the campaign enter the Journey.(We donot have Synchronized DEs at all in MC system)  Regards,  Divyam


Is it right to say: "Could you tell me how many students there are in classes?"                  or "Could you tell me how many students are there in classes?"


iMac Internal Hard Drive Not Visible, Won't Mount; Currently running off External Drive

My iMac (27-inch, mid-2010) crashed and refused to reboot. I was able to reboot it from an external drive and attempted to erase and resurrect the internal drive; after several attempts, the drive ceased to be visible to Disk Utility and am afraid it may be physically defective. Is there a way of mounting the disk and confirming its status?


I've tried many things but cron just won't restart pm2. I set the crontab -e with: SHELL=/bin/sh PATH=/bin:/sbin:/usr/bin:/usr/sbin  */10 * * * *  /usr/bin/node /usr/bin/pm2 restart all  And the I type: cat /var/log/cron.log  And it says: Apr  2 01:00:01 fatsecret CRON[8202]: (peteblank) CMD (/usr/bin/node /usr/bin/pm2 restart all) Apr  2 01:00:01 fatsecret CRON[8201]: (peteblank) MAIL (mailed 78 bytes of output but got status 0x004b from MTA#012) Apr  2 01:10:01 fatsecret CRON[8454]: (peteblank) CMD (/usr/bin/node /usr/bin/pm2 restart all) Apr  2 01:10:01 fatsecret CRON[8453]: (peteblank) MAIL (mailed 78 bytes of output but got status 0x004b from MTA#012)  So it looks like its restarting every 10 minutes, but its not.


"Focussed" or "focused"? Rules for doubling the last consonant when adding -ed

Initially, my question was: is "focussed" or "focused" the correct past tense of "focus", but since this applies to a lot of words, I would like to generalize and ask: is there supposed to be a rule when to double the consonant?


How to maximise the impact of car headlight trails in long exposure

I'm trying to do long exposure photos with car headlight trails and am finding the results a little disappointing due to the low 'impact' of the light trails.  I believe there are a few things affecting this, namely   length of exposure (currently limited to about 90s at min ISO and aperture) the amount of traffic the level of light given off by street lamps   I believe 1 & 2 can be fixed by the addition of an ND filter and choosing a busier time to take the pictures, but am not sure how I can address 3.  Is there some sort of filter I can use which will minimise the effect of the street lamps without cutting out too much of the light from car headlamps/tail lamps?  Here's an example of what I've done so far:


Prove that $x^3+x+1$ splits in $Z_2[x]/(x^3+x+1)$

Let $f(x)=x^3+x+1$ and set $E=z_2[x]/(x^3+x+1)$ prove that $f(x)$ splits in E that is find 3 distinct roots of $f(x)$ in $E$    Questions found $[x^2+1]$ $[x^2+x+1]$ on my sloppy work. There are more than 3 roots if my notes are correct. If that is the case do we just use the irreducibles??  Another question I have is that what is [x]?? Is it a variable, some sort of constant. I know the book uses idertimenatn and has special properties.


How to control volume from file system in Ubuntu

I have found out that brightness can be controlled from a file /dev/class/backlight/intel_backlight/brightness. I am looking for a similar file from where I can change system volume ( sound ). I am not looking for a terminal command like given in the post at  but looking for the file that is changes by it (where it records the sounds info)  I am using Ubuntu 16.04, my laptop is hp-pavillion.


Intuitive explanation of the difference between waves in odd and even dimensions

Motivation: In odd dimensions, solutions to the wave equation: $$u_{tt}(x,t)=\nabla u(x,t), \qquad u_t(x,0)=0, \qquad u(x,0)=f(x)$$ where $t \geq 0$ and $x \in \mathbb{R}^n$, have the nice property that the value of $u(x,t)$ only depends on the values $f(y)$ with $|y-x|=t$. For even dimensions, the value $u(x,t)$ depend on all the values $f(y)$ with $|y-x|\leq t$. A consequence of this is that when you switch a light bulb on and then off (in 3D), there will be a light wave traveling with the speed on light and behind the wave, there will be total darkness. But when you throw a rock into a pond (with a 2D surface), there will be lots of waves traveling outwards from where the rock hit the water and, in theory, the water will never a still again.  Question: Can anyone give an intuitive explanation of this difference between odd and even dimensions?


fillbetween from pgfplots does not work inside groupplots

MWE:  \documentclass{article}  \usepackage{pgfplots} \usepackage{pgfplotstable} \pgfplotsset{compat=newest} \usepgfplotslibrary{groupplots} \usepgfplotslibrary{fillbetween}  \usepackage{filecontents}  \begin{filecontents}{testdata.dat} t lineLow lineHigh lineMedian 0 1 1 1 1 2 2 2 2 2 3 2.5 3 2 4 3 4 2 4 3 \end{filecontents}  \begin{document}  \begin{tikzpicture}     \begin{groupplot}     [         group style={group size=1 by 2, vertical sep=30pt}     ]         \nextgroupplot         [         ]          \addplot[name path=lineLow] table[x=t, y=lineLow] {testdata.dat};         \addplot[name path=lineHigh] table[x=t, y=lineHigh] {testdata.dat};         \addplot[fill=red] fill between[of=lineLow and lineHigh];         \addplot table[x=t, y=lineMedian] {testdata.dat};     \end{groupplot} \end{tikzpicture}  \begin{tikzpicture}     \begin{axis}         \addplot[name path=lineLow] table[x=t, y=lineLow] {testdata.dat};         \addplot[name path=lineHigh] table[x=t, y=lineHigh] {testdata.dat};         \addplot[fill=red] fill between[of=lineLow and lineHigh];         \addplot table[x=t, y=lineMedian] {testdata.dat};     \end{axis} \end{tikzpicture}  \end{document}   Problem: the fill area between the lines does not work inside groupplots. Is there a workaround for this?  Versions:   pgf 3.0.0  pgfplots 1.11


When I start Nautilus as root from the terminal, I always get this error message.     Failed to execute child process "net" (No such file or directory)   I need to kill the process from the terminal with Ctrl + C. I don't know if the process has something to do with Samba settings, or otherwise, it is for the installation of Dropbox or MEGASync.


How do you select a particular option in a SELECT element in jQuery?

If you know the Index, Value or Text. also if you don't have an ID for a direct reference.  ,  and  are all helpful answers.  Example markup  <div class="selDiv">   <select class="opts">     <option selected value="DEFAULT">Default</option>     <option value="SEL1">Selection 1</option>     <option value="SEL2">Selection 2</option>   </select> </div>


Word for hard-to-understand writing style

I am looking for a word that could be used to describe a writing style that uses lots of uncommon words, making the writing difficult to understand to the everyday reader. It's as if they make an effort to use words from their word-a-day calendar.     Andrew's _______ writing style used so many words I had never seen before, making it very difficult to understand his point.   The word pretentious comes close, but it implies that the writer is intentionally doing so to sound more intelligent than they are. I would like a word that removes intent and only describes the writing, not the writer. I want to allow for the option that the writer is in fact very intelligent and just doesn't realize that other people don't have as large of a vocabulary.  I should also mention that I would prefer a word that doesn't fit this definition itself, so a word (or hyphenated set of words) that is not too uncommon. I'm trying to avoid the irony of using a little-known word to describe someone's use little-known words.


What can I say of an $m$-dimensional submanifold $S$ of an $m$-dimensional manifold $M$?

I consider a differentiable manifold $M$ of dimension $m$. Let be $S$ a submanifold of $M$ of the same dimension $m$.  What can I say about $S$?  I have tried to prove that $S$ is open but I get stuck. My idea was to use the inverse function theorem to the inclution $i:M \rightarrow S$.  Any help will be appreciated. Thanks!


Why is System32 still called System32 on a 64 bit Windows OS?

I've wondered this for a while. I personally think that System32 would make sense to be the 32 bit Windows OS. But when you have a 64 bit Windows OS, the file system is still called System32. Can anyone explain to me why this is and why Microsoft does it this way?


I am given that $V$ is n-dimensional vector space over $\mathbb{C}$ and $T \in L(V)$. And $T$ has least $m$ distinct nonzero eigenvalues. How do I show that $\text{null}(T^{n-m}) = \text{null}(T^{n-m+1})$?  I'm really not sure how to start here so just the first couple steps would be very helpful. Thanks!!


Is $V= V_1 + V_2$? horrible question but im confused

So yeah , the answer seems true but i'm very skeptical about it since D3 is in the middle


What can I use to create and read PDF files?

I need software to create and read PDF files in my Ubuntu 14.04 like  in Windows 7?


What's the word for using a general argument that upon inspection does not apply?

Examples, some are ridiculous: Someone refuses to buy a lab grown diamond because 'all diamonds are blood diamonds'.  We cannot buy a sports car because 'the trunks of sports cars are too small', even though this sports car has a larger than average trunk.  Someone refuses to drink wine because 'wine comes from France', even though this particular wine is from Chile.


Python does not seem to want to return the correct answer on this loop. I believe the code should stop after the evaluation of t=1.8 as the next value of t, 2.0, is equal to b, not less than.  a=0.0 b=2.0 h=0.2 t=a print "t = ",t while t<b:     t+=h;     print "t = ",t;   The output is   t =  0.0 t =  0.2 t =  0.4 t =  0.6 t =  0.8 t =  1.0 t =  1.2 t =  1.4 t =  1.6 t =  1.8 t =  2.0 t =  2.2   Any help or recognition of an error would be massively appreciated.


I am continuously trying to install FSPY, but according to the instructions on the Github, it is clearly mentioned that not to unzip it.  I tried it to import it as File>Import>fspy, but there is no option for FSPY... I also tried to install the zip file from Blender(Install Addon)   Then how can I install it? Any advice will be really appreciated!


Maximum interval on which solution to a linear ODE is defined

Refer to following question-   In context of the solution by Florain, I have some doubts.  By uniqueness and existence theorem, we can say that for $y'=f(x,y)$, an initial value problem on the region where $f(x,y)$ is continuous, we will have a unique solution. But what is asked in the question is that solution exist, uniqueness is not required. Does this means that a solution is not valid only because it is not unique? Consider the interval $(-1,2)\cup (4,\infty)$ for the same solution. It seems to me that it satisfies the equation at all points in the interval. Is this solution not valid in this interval only because it is not unique?  Please correct me if any of my statement is incorrect.


Must the derivative be continuous if the function is differentiable?

This is the problem I'm working on. If $f$ is differentiable on $(a,b)$ and $c \in (a,b)$, then $f′$ is continuous at $c$. I believe it to be true, but I'm having a hard time proving it. I don't see how a function's derivative can both be defined at a point inside an open interval and be discontinuous at that same point.


T test two data set 3 variables per data set, can be used?

I have two data sets (two different countries), and for each data set I have 3 variables: 2 independents (years and car model), 1 dependent (sales)  To make it more visual it would look something like this:  Country 1  Car_Model  Year    Sales A          1       100 A          2       200 B          1       80 B          2       90 C          1       66   C          2       20   Country 2  Car_Model  Year       Sales A          1          120 A          2          220 B          1          82 B          2          92 C          1          62 C          2          22   I have been asked to perform a t-test to check if there is a significant difference between countries, but taking into consideration the variable car_model and year. However, I can not understand if it is possible to perform a t-test in such a problem, and which kind of t-test should I perform or how I should use the variables.  I think the idea here is to check the significant difference of model A in country 1 against model A in country 2, then model B in country 1 against model B in country 2, and so on. And at the end get a p value based on those previous p values. Is it possible to do this using a t-test in R/SPSS?


FileZilla is spending way too much time copying files that are already there because the clocks on my systems vary too much.  I want to set them all to the Master Clock (like WWV)  According to the NIST page, the National Bureau of Standards suggests using time.nist.gov as the address that will reach a working system among all of the Stratum-1 and 2 servers available:      Obviously, Ubuntu is using time server pools, like Microsoft does, which are many hops away from the master clock source.  My question is in the title:  How do I set Ubuntu to use the primary time server time.nist.gov?


How Do I Disconnect This Plastic Wire Connector?

I am trying to disassemble my Kenmore Elite clothes dryer so I can test the thermal fuse. I need to disconnect wires that are held together with a plastic wire connector. Can anyone tell me how I get this specific connector to disconnect? (See pic in link) Thanks!


How would I go and prove this? If $$b_n=\sqrt{n^2 + 10}-n,$$ prove that $\lim_{n\to\infty} b_n = 0$.


Conversion of delimited .Txt file into Excel file

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be useful in this matter.Thanks in advance


The cartesian product $\mathbb{N} \times \mathbb{N}$ is countable

I'm examining a proof I have read that claims to show that the Cartesian product $\mathbb{N} \times \mathbb{N}$ is countable, and as part of this proof, I am looking to show that the given map is surjective (indeed bijective), but I'm afraid that I can't see why this is the case. I wonder whether you might be able to point me in the right direction?  Indeed, the proof begins like this:  "For each $n \in \mathbb{N}$, let $k_n, l_n$ be such that $n = 2^{k_n - 1} \left(2l_n - 1 \right)$; that is, $k_n - 1$ is the power of $2$ in the prime factorisation of $n$, and $2 l_n - 1$ is the (necessarily odd) number $\frac{n}{2^{k_n - 1}}$."  It then states that $n \mapsto \left(k_n , l_n \right)$ is a surjection from $\mathbb{N}$ to $\mathbb{N} \times \mathbb{N}$, and so ends the proof.  I can intuitively see why this should be a bijection, I think, but I'm not sure how to make these feelings rigorous?   I suppose I'd say that the map is surjective since given any $\left(k_n , l_n \right) \in \mathbb{N} \times \mathbb{N}$ we can simply take $n$ indeed to be equal to $2^{k_n - 1} \left(2l_n - 1 \right)$ and note that $k_n - 1 \geq 0$ and thus $2^{k_n - 1}$  is both greater or equal to one so is a natural number (making the obvious inductive argument, noting that multiplication on $\mathbb{N}$ is closed), and similarly that $2 l_n - 1 \geq 2\cdot 1 - 1 = 1$ and is also a natural number, and thus the product of these two, $n$ must also be a natural number. Is it just as simple as this?  I suppose my gut feeling in the proving that the map is injective would be to assume that $2^{k_n - 1} \left(2 l_n - 1 \right) = 2^{k_m - 1} \left(2 l_m - 1 \right)$ and then use the Fundamental Theorem of Arithmetic to conclude that $n = m$. Is this going along the right lines? The 'implicit' definition of the mapping has me a little confused about the approach.    On a related, but separate note, I am indeed aware that if $K$ and $L$ are any countable sets, then so is $K \times L$, so trivially, taking the identity mapping we see trivially that this map is bijective and therefore that $\mathbb{N}$ is certainly countable (!), and thus so is $\mathbb{N} \times \mathbb{N}$. Hence, it's not really the statement that I'm interested in, but rather the exciting excursion into number theory that the above alternative proof provides.


Blender render: Object dissapear from render after animating

I'm working on animated text shown over a video. Textes are shown on three different moments, over a white background. To get my stuff organized, I created three scenes, and set my text on each one of them. First scene worked really nicely, I had no trouble at all, and could easily render the video with text on it. In second scene, Text was shown on screen as expected, until I animated it. After setting a simple 4 keyframes "get in screen - stand there a couple of seconds - get out of screen" animation, text just dissapeared fron render. When deleting the first keyframes (the ones that set text origin location), I got it to be shown on render, but it just kept on there and didn't get out of screen when it should. That's what you should see on the .blend file I upload, action keyframed on frames 1560 to 1581 is not rendered.    This is a screenshot where you can see the difference between what is shown on 3d editor and what is shown on VSE previsualization. Render acts as shown on VSE previsualization.    EDIT - My problem is not about having the scene overrid by a strip from VSE. The scenes are set on VSE over video strips, and can be seen correctly over video on render. My problem is about not knowing how to handle animation timing with various scenes on the project. I set markers on VSE and then used them as a guide to keyframe animations. This works well for my first scene, but my second scene seems not to match with timeline, I just don't know how to properly sync the scenes on the project.


How do I wire a one lamp fixture with a two lamp ballast?

I have a two lamp ballast with two blue, one red, one white, and one black. How do I connect that to a one lamp fixture????


I'm trying to solve the following equation:  $$x^3-y^3=xy+61$$  I got:  $$(x-y)(x^2+xy+y^2)=xy+61$$  But I can't go any further. I am looking for a solution in integers.  I need some hints to proceed, please!


What is the typical PhD application procedure in the US?

I am nearly finished with my master in mathematical finance. I have finished my thesis and have one course left to take. I am finishing it in a third world country and am interested in pursuing a  in the US.  I have heard that the application process for PhDs, unlike applications for masters or bachelors, involves first speaking to faculty and then to the school. Is that right? That is, when I apply I should already have a professor in the university willing to be my doctoral advisor?  The exact procedure I heard is something like:   Read up various literature on your desired dissertation topic which should include several textbooks and even more for recently published articles. (If necessary, study for IELTS, GRE, etc.) Come up with a PhD proposal. Contact relevant faculty of the universities to which you intend to apply. Discuss your proposal with them if they're up to it. One of the following: Revise proposal if needed, completely change proposal or get referred to different faculty member. Actually apply to the university.   So, is that how it actually is?


apt already worked fine. but in order to solving package not found error I used bellow commands  sudo sed -i -e s/universe//g /etc/apt/sources.list sudo sed -i -e s/main/"main universe"/ /etc/apt/sources.list   And now whenever I use any of apt commands I face this error    $ sudo apt-get update E: Malformed entry 15 in list file /etc/apt/sources.list (Component) E: The list of sources could not be read.   Is there any solution??!


What happens to light and mass in the center of a black hole?

I know that black holes are "black" because nothing can escape it due to the massive gravity, but I am wondering if there are any theories as to what happens to the light or mass that enters a black hole and cannot escape.


I am trying to print the current line number(line number of ide) of a certain code from intellij. How do I do that?  1 System.out.print(getCurrentLineNo());//sample code 2 System.out.print(getCurrentLineNo());//sample code 3 System.out.print(getCurrentLineNo());//sample code 4 System.out.print(getCurrentLineNo());//sample code


Force resolution and make it stay on Ubuntu 15.10

I use Ubuntu 15.10 on my dell Ultrasmall optiplex 760 with a 19" dell display. My display supports a resolution of 1280x1024. But when I start ubuntu the resolution is 1024x768.  After long time googling i have found a solution to be able to force my resolution to 1280x1024 by using these commands in terminal:  sudo cvt 1280 1024 60 sudo xrandr --newmode "1280x1024_60.00"  109.00  1280 1368 1496 1712  1024 1027 1034 1063 -hsync +vsync sudo xrandr --addmode VGA1 1280x1024_60.00   But when I restart Ubuntu I have to put these commands in the terminal again because the resolution doesn't stay at bootup.  I've found a lot of topics about this to make the resolution stay but none have worked for me because of missing files which I had to edit in order to make it stay at bootup.  Any help would be appreciated as I have been looking to solve this issue for almost a day.  Keep in mind I am a real noob, and therefore every step to take for a solution should be explained to me step by step.  Thanks.


How to mount an image file without root?

I have a file with an ext4 file system in it and want to mount it without using sudo every time (the script should run with user rights). The file I want to mount and the folder which I want to mount it too both are in my home directory which is encrypted, so I can't put the file location into /etc/fstab.  I tried fusermount but I always get error messages like "fusermount: extra arguments after the mountpoint".


I have just ordered my first SSD, and I want to run some tests on my current HDD now, and then run the same tests again once I get my SSD up and running in a couple of days, so I can see in detail how faster the new SSD is.  Can you recommend a (or a number of) good hard drive benchmarking tools for this sort of task?  Thanks


Conditions for convergence of a geometric series

This question concerns the infinite geometric series formula. It turns out there is a nice formula for the sum of an infinite geometric series.     Consider the infinite geometric series $1+r+r^2+r^3+\cdots$ For this series to converge, what must be the true about $r$? Explain.   I have totally no clue what it means. Can anyone help me with this question? Thank you very much.


How to sort the names in sqlite when special characters are present

I have a sqlite Database in my project which i use to store the names of persons with phonebook and address. So currently whenever we get the names inserted into DB, we do the sorting in alphabetic order and hence we could see these names as expected on the display. Now recently customer has come up with names which starts with special character like ō(Umlaut),ù etc. The expectation is that we need to display in such a way that names starting with ō should come right after 'o'(English alphabet) but before the letter 'p'(English alphabet). Similarly names starting with ù should come after the letter 'u' but before the letter 'v'. I need help to write a query for this as i have no idea as to how we need to sort the sql query.  The query which we use currently is as shown below:  ****SELECT *FROM MyTable1 ORDER BY lower(Name)****  For eg;If i have names such as Omni,ōuter,Picaso,Zebra  The DB after sorting in alphabetic order should come as    Name       Num0    Num1    Num2   Num3   Num4  Num5   Num6  Num7 Omni       1243 ōuter      1111 Picaso     2222 Zebra      3333   As mentioned above it seems that this would work out with ICU libraries. But can anyone help me out with this please?  Thanks in advance


Linux returns “No space left on device” while copying data to a non-full USB flash drive

I'm trying to copy a file to a USB flash drive. The drive does not have a write-protect switch.  df gives the following:  $ df -h . Filesystem      Size  Used Avail Use% Mounted on /dev/sde1       1.9G  622M  1.3G  33% /media/lindenb/803C-078D   df -i produces strange output to me (0 everywhere)  $ df -i . Filesystem     Inodes IUsed IFree IUse% Mounted on /dev/sde1           0     0     0     - /media/lindenb/803C-078D   Number of files on the drive:  $ find . |wc -l 170   But when I try to copy a file, I get this:  $ mv ~/file.txt ./ mv: cannot create regular file ‘./file.txt’: No space left on device   How can I fix this ?


Which complexity is less; O(n) or O(n logn)?

I was reading about complexities where n is the number of elements. I do some operation different ways and which results in these two different complexity. And have a doubt that which complexity is less with bit explanation.


Adding new line after every Nth occurrence of delimiter


I am writing the following in a proper thesis write up, and have a question of whether I should capitalize the first word in each bullet point (i.e. 'e') or not?  The database contains a variety of information. They include: 1.  each manager’s profile, 2.  each asset's returns, and 3.  each asset's profile.


I know this question has been asked and answered before, but I am working on my own through an analysis textbook and just wanted to check if the following construction would be appropriate:  Define $a|b=(a+b)/2$ to be the midpoint of interval $(a,b)$ and $a|b^n=(...(a\underbrace{|b)|b)...|b)}_{n\text{ times}}$ (note that $a|b^0=a$). Then define the bijection $f:[a,b)\rightarrow(a,b)$ as follows:$$f(x)=\begin{cases}a|b^{i+1},   & \text{if $x=a|b^i$, for $i=0,1,...$} \\x,   & \text{otherwise} \end{cases}$$  So $a$ gets sent to the midpoint of $(a,b)$, which in turn gets sent to the midpoint of itself and $b$, and so on ad infinitum, while the rest of the elements stay fixed. I know this doesn't seem like something worthy of posting a question for, but I am working on my own and struggling with a lot of the exercises, so I am anxious for at least some of my solutions to be correct.


Hardrive will not mount after deleting Linux partition. Can’t boot into Mac OS X

I tried to delete a Linux partition on my hard drive. My hard drive was no longer bootable and the type turned into FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF. I tried to follow some of the other instructions on here to resolve the issue but have not had any success. Running diskutil list returns the following:    Would really appericiate any help. Thanks in advance.   EDIT   I performed gpt -r show /dev/disk0  And got the following:    And dd if=/dev/disk0s2 count=3 | vis -c  Returned     EDIT 2  After running diskutil verifyDisk disk0  I got the following errrors


Why does a variable in Python return to former ID after converting back and forth?

Could someone explain why my variable x returns to it's former ID after these steps:  >>> x = 10 >>> id(x) 497834400 >>> x = str(x) >>> id(x) 48840576 >>> x = int(x) >>> id(x) 497834400


Why does dark energy produce positive space-time curvature?

My understanding is that dark energy, or equivalently a positive cosmological constant, is accelerating the expansion of the universe and I have read that this gives empty space-time positive curvature, ie de Sitter geometry. I also understand that parallel geodesics converge when curvature is positive and diverge when it is negative. I would expect accelerating expansion of space to make parallel space-time geodesics diverge and thus make curvature negative. Is there a nice visual explanation why dark energy actually produces positive curvature?


Could a ship equipped with Alcubierre drive theoretically escape from a black hole?  Also, could it reach parts of the universe that are receding faster than the speed of light from us?


Notification for deleted/undeleted answer

I just had an odd experience on .    I asked the question. Another user (Rathony) answered and edited the question. I got notifications on both of these. Some time passed. Another user, origimbo, answered, and I got a notification. Another user, abelenky, answered, but I did not get a notification, nor did the answer appear on any refresh of the page done in the period between this step and step 9. Rathony made a comment on the question referring to multiple "new answers" (i.e. origimbo's and abelenky's). I refreshed the page multiple times, but could only see one new answer, and noted that in a reply comment. Even after the reply comment was posted, I kept refreshing and could only see origimbo's answer (and Rathony's).   On a subsequent refresh a few minutes later, abelenky's answer appeared.  No notification ever appeared in my Stack Exchange inbox regarding this answer.   According to a comment that disappeared shortly after abelenky posted it, abelenky had posted his answer (and apparently Rathony then loaded the page), then abelenky quickly deleted the answer to make some edits before undeleting it again, after which point it was posted as a visible answer to the question, without notification to the question-asker.  The basic action here was that of posting an answer, though it easily could have escaped notice unless someone happened to be manually looking.    Should answer undeletions (especially answers the question-poster had no tracked interaction with) be notified in a similar manner to answer postings, as in both cases there is one additional answer posted to the question?


Ubuntu installation from Windows installer failed

I tried installing Ubuntu through the Windows installer provided so that I can have a dual boot system ( Windows as well as Ubuntu ). I changed the drive to E as Windows system files were in C. But the installation failed due to an exception with the following message :  Exception: Could not retrieve the required disk image files


No numberings, no numbers (section, chapter, subsection etc.) in header?

I am using scrpage2 with scrbook. I would like to have no numbers or numbering of sections, chapters, etc.. in the header. How can I achieve that?  I have the following example:  \documentclass[12pt, draft]{scrbook} \usepackage[automark]{scrpage2}    \renewcommand*{\headfont}{%  \normalfont\scshape}   \begin{document} \pagestyle{scrheadings}  %Formatting \ohead{\pagemark}  \cehead{\leftmark} \cohead{\leftmark} \ofoot[]{}   \chapter{Intro} \automark[chapter]{chapter}   \chapter{Chapter 1} \cehead{\leftmark}  \cohead{\rightmark}  \automark[subsection]{chapter}  \chapter{Chapter 2} \automark[section]{chapter}  \chapter{Final Chapter} \cehead{\leftmark}  \cohead{\leftmark}   \end{document}


How to create uniform/equal radius bevel

I have a cube and I want to apply Bevel. When I apply bevel it comes like this:    But actually I want uniform bevel like below: where radius is equal for all width, height and depth.    Please tell me how to do that


Does anybody know where to download the QGIS toolbar icons?


I'm compiling my thesis.  The middle is LaTeX code, the right panel is the PDF file and the left panel is the navigation panel seen in Adobe Reader.   The order is Chapter1-AppendixQ-Chapter2 in the TeX code and the order is preserved in the left panel. But Chapter 2 and  AppendixQ are reversed in the Table of Contents in the PDF file. (2.5 Data analysis and 2.6 Conclusion are sections in the chapter 2, A1 and A2 are sections in 'appendicex.' 'AppendixQ' is inserted using \addcontentsline command because the appendix title is not shown in the Table of Contents.  I don't understand why \include{chapter2} comes earlier than \addcontentsline{toc}{chapter}{AppendixQ}


Should I include a link to my Stack Overflow profile on my résumé?

I'm not sure if this question belongs here, how ever it is related with Stackoverflow (and me).  Recently, I had a chance to talk with Team manager in mobile company which name is irrelevant. He was asking me what I do, what do I study etc. I showed him some of my applications and he offered me to send him my CV or résumé ASAP.   I'm writing my CV right now. I have a paragraph where I state my contributions and projects, I wonder would it be good idea if I add my contribution towards StackOverflow community I do in free time? Would I exaggerate things? Will that information be relevant, regardless of my point of view and reckoning towards it?


Is there a way to customize the Options dialog in QGIS 2.14.6?

I'm creating a deployment package to update QGIS from V2.8 (wien) to V2.14 (essen (LTR)).  In QGIS 2.14 there is a new "Advanced" section under "Settings > Options", see screenshot:     Can this menu item be removed from the Options menu?  I don't want to completely disable the "Options" menu as it is used, however I don't want the users access this advanced set of options.


Why is the footer copyright declaration in lowercase?

The footer copyright declaration at the bottom of the page    is in lower-case (completely). I want to know if there is some particular reason for this? Why is it not Titled-Case or Sentenced-case?


I use MS SQL Server 2017 Express Database in Windows 2016 server, I find the ERRORLOG file of MS SQL Server increase 600M per day.  The following content is from ERRORLOG file.  Does it mean that MS SQL Server 2017 Express Database meet attack ?  How can I fix the problems?  2019-12-22 03:36:09.34 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.34 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 14.253.239.25] 2019-12-22 03:36:09.34 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.34 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 59.127.222.102] 2019-12-22 03:36:09.42 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.42 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 104.238.63.33] 2019-12-22 03:36:09.70 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.70 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 14.253.239.25] 2019-12-22 03:36:09.70 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.70 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 59.127.222.102] 2019-12-22 03:36:09.74 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:09.74 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 104.238.63.33] 2019-12-22 03:36:10.06 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:10.06 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 59.127.222.102] 2019-12-22 03:36:10.06 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:10.06 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 104.238.63.33] 2019-12-22 03:36:10.06 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:10.06 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 14.253.239.25] 2019-12-22 03:36:10.39 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:10.39 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 104.238.63.33] 2019-12-22 03:36:10.41 Logon       Error: 18456, Severity: 14, State: 8. 2019-12-22 03:36:10.41 Logon       Login failed for user 'sa'. Reason: Password did not match that for the login provided. [CLIENT: 14.253.239.25] 2019-12-22 03:36:10.42 Logon       Error: 18456, Severity: 14, State: 8.


I am working with a script that is supposed to first check if a PC is alive then FTP a file to a server. However, when running the script I am getting the following error:  Exception calling "UploadFile" with "2" argument(s): "The Content-Type header cannot be set to a multipart type for this request."  Here is the script:  $down = "C:\Script\log\down-hosts.log" $computers = Get-Content "C:\Script\list\Computers.txt"  $sourcefileName = "source_file.csv"  #ftp server  $ftp = "sftp://servername"  $user = "user"  $pass = "pass"  $webclient = New-Object System.Net.WebClient $webclient.Credentials = New-Object System.Net.NetworkCredential($user,$pass)  # Create empty log file for down hosts (overwrite if exists) New-Item $down -type file -force  foreach ($computer in $computers) { if ( Test-Connection -ComputerName $computer -Count 1 -ErrorAction SilentlyContinue ) {   Write-Host "$computer is up"   Write-Host "Uploading \\$computer\c$\UPS CSV Exports\$sourcefile..."   $sourcefilePath = "\\$computer\c$\UPS CSV Exports"   $uri = New-Object System.Uri($ftp+$computer+"_"+$sourcefileName)   $webclient.UploadFile($uri,$sourcefilePath+"/"+$sourcefileName)   if($? -eq $True) {   write-host "$ftp$sourcefileName ok"   Remove-Item $sourcefilePath"\"$sourcefileName  } } else {   Write-Host "$computer is down"   "$computer is down" | Out-File $down -append    } }   The idea is that the script finds the file, then uploads to the FTP server. If the PC is not available, it writes to a log file so I know to manually retrieve the file.  Thanks!


Why does reduction of order work for linear ODEs?

Specifically, if we know that one solution is $y_1(t)$, then why is the second solution in the form $y_2(t) = v(t) y_1(t)$?  Where $v(t)$ is the function that you need to solve for.  Why does this assumption always work?


$A\subseteq B\subseteq C$ ring extensions, $A\subseteq C$ finite/finitely-generated $\Rightarrow$ $A\subseteq B$ finite/finitely-generated?

Let $A\subseteq B\subseteq C$ be commutative unital rings. Recall that the extension $A \subseteq B$ is finite / of finite type / integral, when $B$ is a finitely generated $R$-module / when $B$ is a finitely generated $A$-algebra / when $\forall b \in B$ $\exists$ monic polynomial $f \in A[x]$ with $f(b)=0$. Notation $_AB$ means "$A$-module $B$".  We know that $A\subseteq C$ is integral iff $A\subseteq B$ and $B\subseteq C$ are integral (Grillet, Abstract Algebra, 7.3.3).  Do we also have the following:   $A\subseteq C$ is finite $\Leftrightarrow$ $A\subseteq B$ and $B\subseteq C$ are finite. $A\subseteq C$ is of finite type $\Leftrightarrow$ $A\subseteq B$ and $B\subseteq C$ are of finite type.   I'm having problems with ($A\subseteq C$ finite $\Rightarrow$ $A\subseteq B$ finite) and with ($A\subseteq C$ of finite type $\Rightarrow$ $A\subseteq B$ of finite type). If $_AB$ is a direct summand of $_AC$ (for example when $A$ is a field), i.e. $_AC= _A B\oplus _A B'$ for some submodule $B'$ of $C$, then $C=Ac_1+\cdots+Ac_n$ implies $c_i=b_i+b'_i$ for some $b_i\in B$ and $b'_i \in B$, hence $B = Ab_1 + \cdots + Ab_n$. But what if $_AB$ is not a direct summand of $_AC$? And what about the 'finite type' case?


I have two JSON objects with the same structure and I want to concat them together using Javascript. Is there an easy way to do this?


For some reason, this script (run on RHEL v6.9) processes only the first line in the host_file  #!/bin/bash  process() {  ssh $host ls }  while IFS= read -r host do   echo "Running $host"   process   echo "DONE $host" done < host_file #-------End of Script-----------------  $ cat host_file server1 server2


I accidentally set password to blank for a PostgreSQL database, how do I change it?

When I set the password to blank, it didn't give any warnings. Now when I try to log in with a blank password, it gives me an error "fe_sendauth: no password supplied". So now I can't log in - any ideas how I can get access to the db again?


Derivation of Michaelis' Equation from Michaelis' Constants

The enzyme reaction condition, $E + S \leftrightarrow ES \rightarrow E + P$ uses $\kappa_{1}$ (forward reaction), $\kappa_{-1}$ and $\kappa_{2}$ as the rate constants.   E: Enzyme S: Substrate P: Product  What is the relationship between $\kappa_{1}$, $\kappa_{-1}$ and $\kappa_{2}$ to yield Michaelis's constant:    $\kappa_{m}$ = ($\kappa_{-1}$ + $\kappa_{2}$) / $\kappa_{2}$ ?  I understand that $\kappa_{m}$ = $S$ at $1/2 \times V_{max}$, however I do not understand the relationship of the rate constants based on the enzyme reaction condition.   This question has been marked as a repeat of the question "How does pH affect Michaelis' constant". I am not asking for any affect with pH, just a proof for the mathematical relationship of the factors shown above.


Do the women of westeros change their surnames upon marriage?

I think not, but I may be mistaken. I've seen Ned's wife, Catelin being called Catelyn Tully several times.  What is the custom in Westeros, of married noblewomen surnames? Do they change, or not?  Example: when Sansa was forced to marry (twice), did she became Sansa Lannister or Sansa Bolton? Or did she remain Sansa Stark?


How can I detect if a player steps on a certain block in vanilla 1.13?

So say I want to make a portal, but want whoever steps in it to go to a specific location, without going to another dimension. How could I do that in vanilla Minecraft?


What is a good OSX incremental backup software (not time machine)

So I used to use CCC to clone my external drive to another external drive for a backup copy.   What I realized is that I want incremental backup that is versioned. So I can go back to a copy that is on a specific date in the past.   I don't want to use time machine for this because right now TM is already being used to backup my main drive to a time capsule.   As far as I know, I can't setup TM to backup my main drive to time capsule while choosing to backup an external drive to another location.   I guess I'm looking for 3rd party solution here?


How can I make a fresh install of Ubuntu?

I want to remove Windows 7 from my Toshiba Satellite and do a fresh install of Ubuntu on it. How can I get that done?


How long should I cook a 1 lb pork sirloin roast?

I was given a 1 lb pork sirloin roast, but no instructions about cooking it! I want to roast it in the oven, but the charts say 20 minutes per lb. That doesn't sound right to me. What do I do? TIA


Should grammar edits of closed questions be approved?

If a question is closed or put on hold, usually nobody bothers to fix spelling mistakes in it. But if a new user does it, should the edit be approved? It does technically edit the post, although not in a way that could possibly lead to it getting reopened.  Basically the question comes down to "is that an appropriate way to gain reputation"? Do we trust users more because they can find poorly spelled questions and correct them? On the other hand, editing questions is often pointed out as a good way to get comment privileges and closed question are an obvious source for edit-worthy looking posts.


Powershell and checking for Site existence

I am an nube to Powershell, so I think I have a pretty basic question here....  How do I determine if a SPWeb exists? I want to perform some operations on a site based on a URL passed in as a parameter. However, there are instances where the site may not exist. I have tried something like  $test = Get-SPWeb($siteToGet) if ($test -eq  $null ) {     Write-Host Site $siteToGet  does not exist } else {     Write-Host Site $siteToGet  DOES exist }   where $siteToGet is not a valid site. However, I get an error message on the Get-SPWeb saying in red saying the site does not exist. The rest of the code then runs. Is this okay? I would prefer to log a message instead of display the error message from Get-SPWeb. It also causes more error messages as my script continues to run, but by checking for $null I can at least make sure I am not executing further code.  Any ideas how to check for the existence of a site using PowerShell and SharePoint 2010?  Thanks


Can the 'bin size' in a histogram be thought of as a regularity constraint?

When thinking about a histogram as an estimate of the density function, is it reasonable to think of the bin size as a parameter that constrains the local structure of that function?  Also, is there a better way to articulate this reasoning?


How and why do accelerating charges radiate electromagnetic radiation?

Let's consider it case by case:  Case 1: Charged particle is at rest. It has an electric field around it. No problem. That is its property.  Case 2: Charged particle started moving (it's accelerating). We were told that it starts radiating EM radiation. Why? What happened to it? What made it do this?  Follow up question: Suppose a charged particle is placed in uniform electric field. It accelerates because of electric force it experiences. Then work done by the electric field should not be equal to change in its kinetic energy, right? It should be equal to change in K.E + energy it has radiated in the form of EM Waves. But then, why don't we take energy radiated into consideration when solving problems? (I'm tutoring grade 12 students. I never encountered a problem in which energy radiated is considered.)


Since when has Darth Vader had a sense of humor?

After Force-choking Director Krennic, Darth Vader makes the comment      Be careful not to choke on your aspirations, Director.   This comment displays a sense of humor that seems entirely out of character for him. Is it ever explained in-universe?


Calculating n'th Fibonacci number through golden ratio

Prove that $\frac{\phi^n}{\sqrt{5}}$ rounded off to the nearest integer gives the n'th Fibonacci number, where $\phi$ is the golden ratio.


Getting my File Manager to link to my Google Drive

I have a very small amount of storage on my computer and would like to conserve it, so I would like to know if there is a way to mount my Google Drive in Thunar or Nautilus on Ubuntu 12.04.5 LTS.   Yes, I know, it's weird that I'm saying that I have a small amount of storage when I have 2 file managers installed, but I literally have 5GB out of 16GB left.


This question has been asked multiple times here and all over the internet yet I can't find a conclusive answer:   Some claim that heavier objects do fall faster:   Others claim that all objects fall at the same speed regardless of their mass:    Which one is the right one?


The number $(3+\sqrt{5})^n+(3-\sqrt{5})^n$ is an integer

Prove by induction that this number is an integer: $$u_n=(3+\sqrt{5})^n+(3-\sqrt{5})^n$$ Progress I assumed that it holds for $n$ and I tried to do it for $n+1$ but the algebra gets quite messy and I'm unable to prove that the following term is an integer: $\sqrt{5}((3+\sqrt{5})^n-(3-\sqrt{5})^n)$


I'm making a lightsaber in Cycles Render. I'm pretty new to blender and only started yesterday. I've been watching YouTube Videos but usually I can't access something they have and usually messes it up. I'm fine doing compositing and Nodes I just need to know how to make this glow, Current (v)  Nodes  Current Compositing Nodes   Again I just need this to glow but i keep on messing up! Please help, thank you


           <meta name="viewport" content="width=device-width, initial-scale=1">
How To Create A Loader

        I am not able to align the loader at the center of the screen. I have tried putting align:center in the loader class but that did not work.


The Ubuntu installer does not allow me to install on NTFS partitions, but certain circumstances requires me to do so. Is it possible?


Should I say "what does it means" or "what does it mean"?

Sometimes, especially on this forum, I am wondering wether I should say "what does it mean" or "what does it means" ? And should I say "it means that..." or "it mean that..." ?


I'm trying to create a binary search function within a binary tree but keep getting a null pointer exception

public Node searchData(String fullName) {     Node current = root;     while(current.fullName != fullName)     {         if(fullName.compareTo(current.fullName) < current.fullName.compareTo(fullName))         {             current = current.leftChild;         }         else if(fullName.compareTo(current.fullName) > current.fullName.compareTo(fullName))         {             current = current.rightChild;         }         else             current = null;     }      return current; }   Whenever I enter a name into the program I receive a null pointer exception error. The program itself initializes a binary tree with a text-file and that already works but i'm not sure why it keeps crashing when I try to search for the node itself. I know the nodes already exist but can't figure out why it says that its null.


Why does the addition of a \left and \right introduces an extra space around the formula? Specifically, why do $\cos(\theta)$ and $\cos\left(\theta\right)$ render differently?  Is there a way to use resizable delimiters without introducing the spurious spaces?  Why did Knuth design it like this?  Edit: This occurs too, if \operatorname{MYOP} or some other operator, like \lim, \min etc. is used. (This edit is basically to make it easier to find this answer.)


Are there 'stack' sites for Mac or Windows?

There is Ubuntu and Unix/Linux site but is there special 'stack' site for Mac and Windows?  For context, the question I am looking to ask: I accidentally connected a Windows NTFS formatted HDD to a Mac. And the Mac (may be) quick-formatted it. I think that the information is there, but the FAT table is gone. How I can recover the information.


Borel hierarchy doesn't "collapse" before $\omega_1$

I know that $\bigcup_{\alpha < \omega_1} \Sigma_\alpha^0 = \mathcal{B}(X)$ for any Polish space $X$, but I want to know if it's really necessary to take the union for every ordinal less than $\omega_1$. Is there an example of a Polish space where $\bigcup_{\alpha < \beta} \Sigma_\alpha^0 \varsubsetneq \mathcal{B}(X)$ for every countable ordinal $\beta$? What's the case of $\mathbb{R}$ or $[0, 1]$?  Many thanks in advance.


I've been wondering for some time now about the difference between a point and a vector. In high school, it was very important to distinguish them from each other, and we used the notation $(x,y,z)$ for points and $[x,y,z]$ for vectors. We always had to translate the point $P=(a,b,c)$ to the vector $\overrightarrow{OP} =[a,b,c]$ before we started calculating with them.   Now, after I started at the university, people don't seem to care anymore. My professors either say that they're the same, or that they're almost the same, and the books I have seem to share that view. The book I use for my calculus course (Colley's Vector Calculus) says, among other things, the following:     [...] we adopt the point of view that a vector field assigns to each point $\textbf{x}$ in X a vector $\textbf{F}(\textbf{x})$ in $\mathbb{R}^n$, represented by an arrow whose tail is at the point $\textbf{x}$.   So it seems like a point is also a vector.  My question is this: Do mathematicians distinguish between points and vectors, and if they do, in what circumstances?


Where were the Avengers during Iron Man 3?

In Iron Man 3,      When the real villain kidnapped the President of the United States,   it is never explained why none of the other Avengers came to help, or why Tony didn't call them. The only explanation so far is: "it was an Iron Man movie...", but an in universe answer would be good.


Does $\sum_{n = 2}^{\infty} \frac{\sqrt{n + 1}}{n(n-1)}$ converge or diverge?

This is a homework question so I'll show what I've tried.  The integral test gives convergence, but I have to use $tanh$, which is not part of our high-school syllabus.  I've tried doing the limit comparison test with $\frac{1}{n}$ and $\frac{1}{n^2}$ both of which give zero as the limit.  D'Almbert's criterion is also inconclusive.


What cool features/applications are there to change the way ubuntu GUI interface looks and feels?

I'm new to ubuntu, and was just curious of things that I can do with this OS (ex: changing folder icons, button icons, etc.). I know this isn't really a technical question, more of a fun one. What kind of stuff do you guys do to personalize your computers? I don't think there is a "correct" answer on this topic. lol. Thanks :)


How to change a Point struct property while its in a List?

I have the following code:  for (int i = 0; i < 10000; i++ ) {     list.Add(new Point(i, 3)); }  for (int i = 0; i < 10000; i++) {     list[i].X = 100; }  Point point = new Point(0, 1); point.X = 1; point.Y = 10;   When I try to change X or Y property of a newly created Point structure there is no problem:  Point point = new Point(0, 1); point.X = 1; point.Y = 10;   But when I'm trying to do the same in a loop  for (int i = 0; i < 10000; i++) {     list[i].X = 100; }   The compiler is telling me     Cannot modify the return value of   System.Collections.Generic.List<System.Windows.Point>.this[int]   because it is not a variable   Can anybody please explain me this.


What is the hypernym for movie and TV series? I read that medium might be possible, but it doesn't sound that good.


Help Identify N-MOSFET labeled “540N 3811g” for monitor repair

Could somebody please help me identify this n-mosfet? the pcb belongs to a qnix QX2710. I didn't found any datasheet\or specific information about it.  *i created another thead with a correctly formulated question


The usage of the word pretty is "pretty" confusing

I am aware that there are plenty of threads on intensifiers(very, rather, pretty, quite, fairly, etc.), both on this site and on the web, because of their ambiguity in terms of meaning. What I have learned is that their meaning can change depending on which country you are from, which context they are used, or your intonation. So instead of comparing all intensifiers, I decided to make my question more specific. I chose to focus on the word pretty because of its "common" usage.  So as we can see, the word pretty has two meanings and unfortunately they are "pretty" opposite. My question is can you tell me, just by taking into account  the example sentences below, in which sentences "pretty" means "fairly,", and in which it means "very?"  Does "Tom looks pretty tired" always mean "Tom looks a little/fairly tired" ?


Determine if a record was created or updated in a formula (process builder)?

Similar to the  Trigger.isInsert, is there a way to determine if a record was created (as opposed to edited), in a criteria in Process Builder?  I tried using ISCHANGED(CreatedDate), but it appears that the process is fired after database insertion, so this doesn't do the job...  I can probably use something like (pseudocode) CreatedDate >= NOW() - 10s, but this seems rather inelegant, and could fail in edge cases (e.g. someone edits immediately after creation, or on record creation the system lags and the process doesn't fire in the expected window of time).  Is there a simple solution to this that I'm overlooking?


After yesterdays update Firefox can no longer connect to the Internet (Chromium does)

I got a new firefox version with the update yesterday. Today I came home from work started by pc and now it no longer connects to the internet, it just goes on loading.  Chromium and all other porgrams still work properly. When i start firefox from command line ony problem seems to be this:  [Child 10897, Socket Thread] WARNING: Unable to create pipe named "10897.3.993530248" in server mode error(Die angeforderte Funktion ist nicht implementiert).: file /build/firefox-MhlWie/firefox-67.0+build2/ipc/chromium/src/chrome/common/ipc_channel_posix.cc, line 210   Firefox v67, Ubuntu 19.04