I'm getting used to the very nice TikZ-Feynman package! I'm trying to figure out how to add styles to a vertex, when using manual placement. For example I'd like the "blob" in the following to actually be a blob, not the word:  \documentclass[border=4mm]{standalone} \usepackage{tikz}  \usetikzlibrary{shapes,arrows,positioning,automata,backgrounds,calc,er,patterns} \usepackage[compat=1.1.0]{tikz-feynman}  \begin{document} \begin{tikzpicture} \begin{feynman} \vertex (pf) {$\underline{p}$}; \vertex [right=1cm of pf] (qf1) {$\underline{q}_1$}; \vertex [right=1cm of qf1] (qf2) {$\underline{q}_2$}; \vertex [right=1cm of qf2] (qf3) {$\underline{q}_3$}; \vertex [right=1cm of qf3] (qf4) {$\underline{q}_4$};  \vertex [below=5cm of pf] (pi) {$p$}; \vertex [right=1cm of pi] (qi1) ; \vertex [right=1cm of qi1] (qi2) {$q_1$}; \vertex [right=1cm of qi2] (qi3) {$q_2$}; \vertex [right=1cm of qi3] (qi4);  \vertex [below=2.5cm of qf2] (c) {blob} ;  \diagram*{  (pi) -- [scalar] (c) -- [scalar] (pf),  {(qi2),(qi3)} -- (c),  (c) -- {(qf1),(qf2),(qf3),(qf4)}, };   \draw [decoration = {brace} , decorate] (qf1.north west) -- (qf4.north east) node [pos = 0.5 , above = 0.125cm] {\underline{\alpha}};  \draw [decoration = {brace} , decorate] (qi3.south east) -- (qi2.south west) node [pos = 0.5 , below = 0.125cm] {\alpha};  \end{feynman} \end{tikzpicture}  \end{document}   This produces:    I tried various things with the usual TikZ node syntax, but no luck. I like the default "blob" in TikZ-feynman but would be happy to just manually draw a big shaded-in circle in there. Thanks!


Closed form for $\sum_{k=0}^{n-p}\binom{n}{k}\binom{n}{p+k}$

How to get a closed form for $$\sum_{k=0}^{n-p}\binom{n}{k}\binom{n}{p+k}\;?$$  I tried to write binominal in term of gamma function but I got no result. What is your suggestion to solve the problem?


Book recommendation reqd - A book that teaches both, fundamentals of statistics and the related mathematical concepts, in a comprehensively

I am trying to build a foundation for data science through self study. Is there a book that could teach me the fundamentals of statistics along with the related mathematical concepts in a comprehensive manner? Preferably one that has sufficiently detailed solved examples.


How do I find duplicate integers in a List and remove ONE of them?

Beginner; novice-level problem. Here is the code that generates 30 random numbers, sorts them in ascending order, and then sorts them in descending order.  The last objective is to find duplicates in the list and remove one of them (e.g., if there are two 27's, I want to remove one and leave the other).       static void Main(string[] args)     {          Random randomNum = new Random();         List<int> numbers = new List<int>();          for (int i = 0; i < 30; i += 1)             numbers.Add(randomNum.Next(1, 100));          Console.Write("List of random numbers:");         foreach (var number in numbers)             Console.Write(" {0} ", number);          var sorted =             from number in numbers             orderby number             select number;          Console.WriteLine();         Console.Write("List in ascending order:");         foreach (var element in sorted)             Console.Write(" {0} ", element);          var sortdescending =             from number in numbers             orderby number descending             select number;          Console.WriteLine();         Console.Write("List in descending order:");         foreach (var element in sortdescending)             Console.Write(" {0} ", element);


Can any space be seen as the boundary of some other space?

For example two points can be seen as the boundary of a line segment in $\mathbb{R}$. The plane $\mathbb{R}^2$ can be seen as the boundary of some set in $\mathbb{R}^3$ and so on. Can any set be seen as the boundary of some other set?


When my friend tries to join me it say "outdated server"

My friend has tried to join me many times on Minecraft it says he is on version 1.13.0.1 and i'm on version 1.11.4. It has gone to us both deleting, it feels like nothing's working.


How to install utorrent step by step for ubuntu 14.04?

am trying to install utorrent instead of using the torrent apps and I just came off windows seven can someone help me?


Are All Generating Sets for the Borel Algebra Uncountable?

A related question asks is there a smallest set that generates a given $\sigma$-algebra:  The  to that (at the time of writing this) says that there must be a smallest cardinality for any generating set of any $\sigma$-algebra, by the well-orderedness of cardinals. Focusing on the Borel sigma algebra over the Reals, $\mathcal{B}(\mathbb{R})$, the above implies that there's a smallest such cardinality of a set that generates this algebra. But is that smallest cardinality uncountable? I believe this is formally what I'm asking: $$|\mathbb{N}| \notin \{|S| \mid S \in \mathcal{P}(\mathbb{R}) \wedge \sigma(S) = \mathcal{B}(\mathbb{R})\}$$ My intuition says yes. If there was a countable set generating the Borel algebra it would seem weird... but I'm not sure...


So this is something I never understood in the franchise, is it in the original trilogy or the prequels. They are times where the heroes encounter blockades from enemy forces that are meant to prevent ships from leaving the planet's orbit. So far so good. But how can you blockade a whole planet?   You must at least have thousands of ships and there would be still thousand of square kilometers to pass through. And the heroes Always go through the one spot where enemies are waiting for them.   Here are good examples:  the escape from Naboo in Episode 1:   As you can see, there is plenty of space above and under the blockade, Also I dont believe they build an asteroid ring of ships here.  Here is the same thing in Hoth:    It is also worth noting, that the trade federation is not the empire and would not have that much resources to begin with.  So why is this a reasonable thing to do?


Is there a way to accurately parse a true CSV file?

I'm using bash shell.  I want to parse a CSV file, in which the CSV file observes true CSV formats.  From this thread --  , I got this  #!/bin/bash  file_path=$1 echo $1  while IFS=, read -r ID name address zipcode do     echo "I got:$ID|$name|$address|$zipcode" done < $file_path   However, in a CSV file, since some cells might themselves contain a comma, there are quotes around those items.  So the below file doesn't parse properly  1,1871,"222 W. Merchandise Mart Plaza, Suite 1212",60605   Is there a way to modify the above script (or produce a new one) in which a CSV file can be accurately parsed?


Can I have two different operating systems (BIOS and UEFI) on two different hard drives?

I have windows 7 installed on my hard drive (installed it in BIOS mode not UEFI), and I want to buy another hard drive and install ubuntu 16.04 on it through UEFI. When I have both hard drives connected to my motherboard will I be able to choose which OS to boot into when I turn on my computer or would I have to always go into my BIOS and change the boot order?  I was thinking of just installing ubuntu 16.04 on my current hard drive alongside dual boot but I don't know if I can install it in BIOS mode instead of UEFI?


I am preparing an application for a full-time lecturer position. They asked me for a teaching statement (done), a research statement (done) and a plan for generating funding for the next three years (trying now). I am a bit confused about this and I am not sure what they actually want with this funding plan. I could, of course, name all the different grant applications that I could potentially submit, but I am convinced that they are expecting more than that.    Any help?  Thanks!


Echo Cancellation and Noise Reduction for Ubuntu 16.04 LTS?

I have been using Ubuntu 16.04 LTS on my ASUS TP200SA for a week now and after making a Skype call I have realized that the features that had with Windows are gone now. My laptop has a stereo microphone in terms of hardware yet the sound quality and lack of features are really bad with the stock drivers. Is it possible to install real Realtek drives to solve this problem? I am really bad at Linux, I hope someone can explain me in a basic way.  Thank you!


I'm entering the world of Linux and at work I'm using grep more and more.  By doing that I'm figuring out that sometimes it's not adequate for what I want.  I was struggling with grep a few days ago and a colleague of mine who is a senior Linux admin, told me to use awk. I was stunned by how fast I got a result.  So my question is when do you choose to use one over the other? What questions can I ask myself before going to work with grep and spending a lot of time, when I could have done it with awk and saved time?


Black border in all menus and black terminal after installing Katoolin

I have this  problem with Ubuntu 16.04 LTS. All programs and all menus have black boarders and Terminal is displayed black:    The problem appeared after installing  tool and installing all Kali Tools.


If Java is pass by value, how can some methods modify some parameters passed to it?

I don't have an exact example, but i know that some Java methods can modify the parameters passed to it, and where the method was called can use these modified values.


What's better UX design for a Contact Form? Modal Window or Dedicated Page?

I'm wondering what would be a better design in regards to User Experience for a contact form. Currently the contact form on my website is an overlay that pops up that a user can fill out and submit, which is fine, but I'm wondering if it would be better for a user to navigate to a new page to fill out the contact form instead of just using the overlay. My thought behind this is basically that with an overlay there are essentially two call-to-action buttons-- the submit button and the close button.  Would navigating users to a dedicated page be a better option? Would using a modal distract from the purpose (i.e. filling out the form)?


Guest user debug logs suddenly not being created

We have a set of communities where unauthenticated users are submitting forms, and we want to set trace flags for the behavior done by these users, i.e. we want to observe what the guest users are doing in the logs.   For some time, we had logs being created properly using the method in this post:   However - we deployed some small patches to the org, and logs are no longer being printed for the guest user.   Steps we've taken to attempt to fix:    deleted and recreated the trace for the guest user flushed all existing debug logs through the tooling api deleted and recreated the sharing settings that allow our user records to view the guest user's user record   Looking for anyone that has experienced this before, or has any advice on things to try,


I go to poke stops now and i cant get any items but can catch pokemon. I Loged into a diffrent accout and could get tose same pokestops. Did i get a soft ban? I did some soft gps hacking. That is all that happened


The "migrated from..." banner disappears if you click on that yellow box that shows up when a post is edited

When you're looking at a question that has a "migrated from..." banner (like ), and then somebody edits a post, spawns one of those yellow boxes that prompt you to click to reload that post, and you click on that box, the "migrated from..." banner vanishes.   This bug appears to have been fixed for other types of banners (see ).


If $X_i$, $i=1,2$ are independent gamma$(\alpha_i,1)$ random variables, find the distribution of $\frac{X_1}{X_1+X_2}$ and $\frac{X_2}{X_1+X_2}$.  Attempt: Let $Y_1 = \frac{X_1}{X_1+X_2}$ and $Y_2=X_1+X_2$.  Then $X_1 = Y_1Y_2$ and $X_2 = Y_2-Y_1Y_2$.  The Jacobian matrix is :  $\hspace{15mm}J = \left| \begin{array}{ccc} y_2 & y_1 \\ -y_2& 1-y_1 \\  \end{array} \right| = y_2$  I'm having trouble plugging the values back in to the gamma equation. Since we want to know the distribution of $Y_1$, do we first find the joint distribution of $f_{y_1,y_2}(y_1,y_2)$ and then integrate $y_2$ out?


Solutions of $x^2+y^2+z^2 = n$ in $\mathbb{Z}_2$.

I have to prove that the equation $x^2+y^2+z^2 = n$ only has a solution in the 2-adic integers $\mathbb{Z}_2$ if and only if $n \neq 4^m(8k+7)$, with $k,m \in \mathbb{Z}_{>0}$. In the previous exercises, I already showed that this equation has a solution in $\mathbb{Z}_p$ for all odd primes by using the multivariate Hensel-Rychlik lemma but I have no clue how I could solve this problem.


Is it possible to inset both faces either side of a mirror line together?

I have a face being mirrored with a mirror modifier. Is it possible to inset it as if I have both selected?


Avoiding GeoServer/Java out of heap space error?

I'm new to Geoserver, Ubuntu and Java, but have downloaded a virtual machine from gisvm.com and am getting up to speed. I got as far as configuring it with some fairly large shapefiles from a project I've worked on previously.  My question is related to a problem which I see if I show the shapefile using the OpenLayers layer preview option. I see an error:     OpenLayers map preview code="internalError" Rendering process failed.   java.lang.OutOfMemoryError: Java heap space   Googling has led me to plenty of Java command line options to increase heap space, but I have no idea if this should be applied to an environment variable, in a startup script or as a part of the Geoserver config.   Can you help me to understand what I need to edit to get this working?   I'm also wondering if I should be splitting my shapefile into smaller pieces.


I started using Photoshop to create digital drawings. Whenever I try to draw with the brush, it comes out blurry and pixelated. When I zoom in, I can see the pixels that made up the brush stroke. I tried using different brushes (Photoshop default brushes and user created) but they all have a blurry look. I put the hardness to 100% but it still looks blurry. I tried using different canvas sizes, but that doesn't fix the problem. How do I fix this to create smooth brush strokes (without pen tool)?  Example of a blurry/pixelated brush stroke whenever the brush is used  (Zoomed in) Pixels that make up the brush stroke  Brush with spacing 1% and resolution at 200 (still pixelated)


error processing archive while running apt --fix-broken install

I just upgraded to 18.04. Unfortunately during the update my laptop got stuck and restarted. After the restart everything seemed to work. A gig of updates later I got stuck on this problem.  Apt dist-upgrade threw an error because of unmet dependencies and now I get the following Output when trying to fix it with apt --fix-broken install      sudo apt --fix-broken install     Reading package lists... Done     Building dependency tree            Reading state information... Done     Correcting dependencies... Done     The following packages were automatically installed and are no longer required:       libkf5calendarcore5 libkf5libkdepim5abi1 libkf5pimcommon5abi2     Use 'sudo apt autoremove' to remove them.     The following additional packages will be installed:       libkf5akonadicalendar5abi2 libkf5alarmcalendar-data       libkf5alarmcalendar5abi1 libkf5mailtransport-data       libkf5mailtransport5abi2     The following packages will be REMOVED:       kio-smtp libkf5alarmcalendar5     The following NEW packages will be installed:       libkf5akonadicalendar5abi2 libkf5alarmcalendar5abi1       libkf5mailtransport5abi2     The following packages will be upgraded:       libkf5alarmcalendar-data libkf5mailtransport-data     2 upgraded, 3 newly installed, 2 to remove and 10 not upgraded.     41 not fully installed or removed.     Need to get 0 B/584 kB of archives.     After this operation, 743 kB of additional disk space will be used.     Do you want to continue? [Y/n] y     (Reading database ... 278631 files and directories currently installed.)     Preparing to unpack .../libkf5mailtransport-data_17.12.3-0ubuntu4_all.deb ...     Unpacking libkf5mailtransport-data (17.12.3-0ubuntu4) over (17.04.3-0ubuntu1) ...     dpkg: error processing archive /var/cache/apt/archives/libkf5mailtransport-data_17.12.3-0ubuntu4_all.deb (--unpack):      trying to overwrite '/etc/xdg/kmailtransport.categories', which is also in package kio-smtp 17.04.3-0ubuntu1     dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)     Errors were encountered while processing:      /var/cache/apt/archives/libkf5mailtransport-data_17.12.3-0ubuntu4_all.deb     E: Sub-process /usr/bin/dpkg returned an error code (1)   Here is also the output of apt upgrade for completeness sake:  sudo apt upgrade Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies:  kde-config-mailtransport : Depends: libkf5mailtransport-data (= 17.12.3-0ubuntu4) but 17.04.3-0ubuntu1 is installed                             Depends: libkf5mailtransport5abi2 (>= 17.07.70+git20170701) but it is not installed  kdepim-runtime : Depends: libkf5akonadicalendar5abi2 (>= 4:17.07.70+git20170920.1507) but it is not installed                   Depends: libkf5alarmcalendar5abi1 (>= 4:17.11.70+git20170926.0843) but it is not installed                   Depends: libkf5mailtransport5abi2 (>= 17.07.70+git20170701) but it is not installed  libkf5alarmcalendar5 : Depends: libkf5akonadicore5 (>= 4:15.12.0) but it is not installable  libkf5mailtransportakonadi5 : Depends: libkf5mailtransport-data (= 17.12.3-0ubuntu4) but 17.04.3-0ubuntu1 is installed                                Depends: libkf5mailtransport5abi2 (>= 17.07.70+git20170701) but it is not installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).   As I said this output was my main reason to even try apt --fix-broken install  As it turns out I just needed to remove kio-smtp package for this to work again. Since normal apt operations wouldn't work because of the unmet dependencies I did it with:  sudo dpkg -r --force-depends kio-smtp   to circumvent the dependency checks.


Grad school admissions - I am going to apply to both Physical therapy and Occupational therapy masters - need advice

I have a 3.1 gpa from UW Madison with a BA.  I did go to two schools before this. I did really terribly at the first school as I was depressed. I came away from that first school with a 1.3 gpa.  This first school was 19 years ago - literally 19 years ago.   The school says I need to input all of my transcripts.  Could i get away with not inputting my transcripts from that first school? Is the process of sorting the transcripts really meticulous?  would i get caught?    I actually applied and got into an accounting masters program without inputting all my transcripts before(never finished the program)... But these OT and PT programs are really competitive and I'm more worried they go over the transcripts with a fine tooth comb... any one with experience in college masters admissions - advice?


Seeding the random number generator in Javascript

Is it possible to seed the random number generator () in JavaScript?


Velocity from the cumulative distribution function of the Boltzmann distribution

I want to get a Boltzmann distribution of the $v_x$, $v_y$ and $v_z$ velocity components (please, notice that the distribution is one-dimensional). To do so, I need the cumulative distribution function $F(v_x)$. I can get a random number and set it as $F(v_x)$. After that, how can I get $v_x$ with this information? Is there any other way to get $v_x$ using both, the $F(v_x)$ and the Boltzmann distribution itself?


Panel vector autoregression models in R?

Are there any R packages that can estimate panel vector autoregression (panel VAR, or PVAR) models from pooled time-series data?  I've searched several ways and come up empty. I'm hoping I've overlooked something that you know where to find.  If you're wondering what panel VAR models are and how they might be useful,  is not a bad place to start.


How can I get my screenshots out of my Switch, without posting them to social media or using a memory card?

The Switch has a screenshot button and lets me take lots of awesome screenshots. But there doesn't seem to be any way to move them off of the device, other than posting them to Twitter/Facebook.   Is there any way to do this? Ideally without using a flash card? (As that would involve also acquiring a reader for said card for my computer... it's 2017, let me email them!)


I know that $\text{SL}(N,\mathbb{C}),\text{SU}(N)$ and $\text{U}(N)$ are path-connected. You can use the $\text{QR}$-decomposition for example to see the $\text{SL}(N,\mathbb{C})$-case.  With that knowledge, how can I see that $\text{GL}(N,\mathbb{C})$ is path-connected?  Consider a $\text{GL}(N,\mathbb{C})\ni A=QR$ with $Q\in\text{U}(N)$ and $R$ upper triangular with $R_{ii}>0$.  Is there a path from $A$ to a matrix lying in the already proven cases?


How do I prevent mails sent through PHP mail() from going to spam?

I am using PHP's mail() function to send emails (sendmail process is running). But all the mails are going to spam (in case of gmail). I have tried many tricks that I found on the net but none is working, please tell me about any sure-shot trick.


I have tried refreshing and everything, but I still can't get rid of this so am starting to think that this is server-side rather than me (and many others are saying that hey have it too):    And it is not just the chat rooms, the whole SE chat site is messed up...:    I am running Firefox 41 on Ubuntu GNOME 15.10.  Information Update:  I am also noticing similar problems on this site (where I am posting this question).


This is a bit of a strange question because I know that there should never ever be a comma after 'and.' But what if there's a parenthetical statement/clause-thing right after it? Let me demonstrate.      She spread her arms, tilted her head back, and, closing her eyes, let the sun warm her face.    Should it be:      She spread her arms, tilted her head back, and closing her eyes, let the sun warm her face.    I feel like the ,and, looks really bulky, but I also feel it's necessary to separate the statement between the commas. Help?


Whosoever holds this hammer, if he be worthy, shall possess the power of Thor.   This statement suggests that when a worthy individual other than Thor wields Mjolnir, he would be granted the powers that Thor possesses. It seems reasonable to assume that Thor, when deemed worthy, shouldn't need Mjolnir to access the powers that innately belong to him.  We have witnessed a worthy Thor without Mjolnir existing while a worthy Vision wielding it was by his side. Using this as an example, what is the "power of Thor" that by definition both should simultaneously possess in that moment?


"Stack Exchange requires external JavaScript from another domain" - What domain?

I've somewhat recently started seeing a red banner on top of every page, stating: [Foo] Stack Exchange requires external JavaScript from another domain, which is blocked or failed to load. Retry using another source.  Following the "Retry using another source" link fixes it, but only temporarily.  Exactly what domain does it attempt to load, such that failing to do so results in this message? What does the "Retry using another source" link do? The uri suggests it involves jquery and cookies, but it immediately redirects to the main site when I hit the link. Assuming it is setting a cookie, what cookie does it set?  I'm sure that given enough time, I could reverse engineer the various scripts on the page and figure out what exactly it's complaining about, but might it be possible to instead include that information in the error message?


This is my system of linear equations $$ \left\{  \begin{array}{c} 1x_1+2x_2-1x_3=2 \\  -3x_1+1x_2-3x_3=1\\  4x_1+ax_2-4x_3=b \end{array} \right.  $$ My Rank matrix looks like this: $$     \begin{bmatrix}     1 & 2 & -1 & |& 2\\     -3 & 1 & 3 & |& 1\\     4 & a & -4 & |& b\\     \end{bmatrix} $$ I have to find a and b such that the system (i) has an infinite number of solution (ii)does not have any solution (iii) does the system has a unique solution? I know that I have to find the rank to find a and b but don't understand how to do it.  I have try to reduce it by row echelon but I am not able to do so since the last row is becoming entirely zero. Could someone please guide me on solving it


i am creating simple login page. but when i click on sign in, my program just shutdown. actually when i use if condition it is creating this problem. i tried if condition in different ways but not getting exact results what is the issue? main activity coding    public class MainActivity extends Activity implements OnClickListener  { Button a1; EditText e1;  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);     a1=(Button)findViewById(R.id.button1);     e1=(EditText)findViewById(R.id.editText1);     a1.setOnClickListener(this);     }  @Override public void onClick(View arg0) {     // TODO Auto-generated method stub     String user=e1.getText().toString();     if(user=="abc123"){         Intent k=new Intent(MainActivity.this,MainActivity1.class);         startActivity(k);     }     }   }   xml coding is  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingBottom="@dimen/activity_vertical_margin" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" tools:context=".MainActivity" >  <EditText     android:id="@+id/editText1"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignParentTop="true"     android:layout_centerHorizontal="true"     android:layout_marginTop="104dp"     android:ems="10"     android:inputType="textPersonName" >      <requestFocus /> </EditText>  <Button     android:id="@+id/button1"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_centerHorizontal="true"     android:layout_centerVertical="true"     android:text="Login" />  </RelativeLayout>


Peskin's QFT textbook   1.page 14  $$\int_0 ^\infty \mathrm{d}p\ p \sin px \ e^{-it\sqrt{p^2 +m^2}}$$  when $x^2\gg t^2$, how do I apply the method of stationary phase to get the book's answer.  2.page 27  $$\int_{-\infty}^{\infty} \mathrm{d}p\frac{p\ e^{ipr}}{\sqrt{p^2+m^2}}$$  where $r>0$  3.page 27  $$\int_{m}^{\infty}\mathrm{d}E \sqrt{E^2-m^2}e^{-iEt}$$  where $m>0$  I'm crazy about these integrals, but the textbook doesn't give the progress.


How to draw an envelope around a subset of graph nodes in TikZ?

I have an arbitrary graph and want to draw an envelope around/behind a certain subset of the graphs nodes. To clarify what I want to achieve, I have made a sketch in Inkscape:    Any ideas how to realize something like that?


Prove every finite field is of cardinality $p^n$

I realise that this question has been asked multiple times before, but I would like to ask about a specific detail in my proof.  Let F be a finite field.  I begin by showing that the characteristic of any finite integral domain must be a prime, say p.  This gives us that: $$ker(\phi) = pZ$$ where $\phi:Z \rightarrow F$ is a homomorphism.  By first isomorphism theorem,  $$Z/pZ \cong Im(\phi) \subset F$$   Now the problem is prompting me to show that this means we can assume that $Z/pZ \subset F$.  From here it is easy to show that F is a field over $Z/pZ$ (which is also a field) and finish the proof.   From what I understand, we aren't really showing that $F$ is a field over $Z/pZ$, but rather over an isomorphic subfield of $F$. But the prompt explicitly asks us to show that F is a field over $Z/pZ$. This is where my confusion is coming from.  Any help would be appreciated


How do I get an iball 3.5G modem working on Ubuntu?

I purchased iball 3.5G  connect wireless modem 1 month before. I am trying to connect it with my laptop which is having ubuntu Operating System. After plug-in it to the ubuntu system it is not connecting with net.   This modem is plug and play but after plugging it nothing is displaying to the system.  I am expecting step-by-step method to connect this modem with my ubuntu 12.04 LTS sysetm from your expert's advice.


Why does differencing a time series remove its memory?

asks to enumerate the problems with overdifferencing in time series, and so far that post has focused on one specific problem: the removal of process memory in a manner that could hurt forecasts. Fractional differencing is referenced as a solution.  There are some comments about why (or when) a first difference would remove memory. Certainly if the process was a true random walk, no memory would be lost by differencing.  What is the mechanism behind "memory loss" from taking a difference? When does it occur, and why does it occur?


Do event handlers stop garbage collection from occurring?

If I have the following code:  MyClass pClass = new MyClass(); pClass.MyEvent += MyFunction; pClass = null;   Will pClass be garbage collected? Or will it hang around still firing its events whenever they occur? Will I need to do the following in order to allow garbage collection?  MyClass pClass = new MyClass(); pClass.MyEvent += MyFunction; pClass.MyEvent -= MyFunction; pClass = null;


Place two LilyPond examples side by side in LaTeX

I am trying to place two LilyPond musical examples side-by-side in a LaTeX document, with captions. How can I achieve that?   This is the code I am using:  \usepackage{float}   ... \begin{document}   ...     \begin{minipage}         \begin{example}          \centering   \begin{lilypond}[staffsize=12]  Musical Example 1 comes here  \end{lilypond}       \caption{Caption 1}        \label{ex1}   \end{minipage}   \begin{minipage}         \begin{example}          \centering   \begin{lilypond}[staffsize=12]  Musical Example 2 comes here  \end{lilypond}       \caption{Caption 2}        \label{ex2}   \end{minipage} \end{document}     By the way, TeXShop with the LilyPond-Book implementation is a life saver!


Totally real Galois extension of given degree

Let $n≥1$ be an integer. I would like to prove (or disprove) the existence of a subfield $K \subset \Bbb R$ such that $K/\Bbb Q$ is Galois and has degree $n$.   It is easy to construct such a subfield for $n=2^k$: one  take $K=\Bbb Q(\sqrt 2, \sqrt 3, \sqrt 5, ..., \sqrt{p_k})\;$ where $p_k$ is the $k$-th prime number.  I found that the irreducible polynomial $x^3-6x+2 \in \Bbb Q[X]$ (Eisenstein's criterion with $p=2$) has three real roots, so its splitting field $K$ satisfies my conditions for $n=3$. Then I'm done with $n=3\cdot 2^k$ thanks to compositum of fields.  , a Galois extension of odd degree must be . In all cases, I don't know how to construct, in general or in particular cases ($n$ prime for instance), such a totally real Galois extension $K/\Bbb Q$ of degree $n$.  Thank you for your help!


How to calculate double sum with power like this? $$\sum_{n = 2}^{\infty} \sum_{m = 2}^{\infty} m^{-n}$$ I have tried to search for the series formula equation but could not find one that fits for this. Is it possible to apply the geometric series formula to this one? If yes, how can we do it?   gives me result $1$, but I don't know how can it be.  sum (sum m^(-n) m=2..infinity) n=2..infinity


What is meant by packages and repository in Ubuntu?  I see a new thing in Ubuntu that it is required to update packages for installing any software.  So question is that what are these two terms?


Show that $1 + 1/2 + 1/3 + .... + 1/n - \ln (n)$ converges. I tried to prove it using the comparison test. First I made it into a sum of 1 + $\sum_{2}^{n} \frac{1}{m} -\ln(\frac{m}{m-1})$ and tried to do comparison with $\frac{1}{m^2}$. From $|\frac{1}{m} - \ln(\frac{m}{m-1})| < \frac{1}{m^2}$, I managed to prove  $\frac{1}{m} - \ln(\frac{m}{m-1}) < \frac{1}{m^2}$ but I am unable to show that $-\frac{1}{m} + \ln(\frac{m}{m-1}) < \frac{1}{m^2}$. I am wondering how to prove the last inequality if its possible.


As a Sorcerer, can use I use a Page of Knowledge to use Spell Slots granted by my Charisma bonus, even if they're higher level then otherwise?

The  description has this to say:  A sorcerer casts arcane spells drawn primarily from the sorcerer/wizard spell list. She can cast any spell she knows without preparing it ahead of time. To learn or cast a spell, a sorcerer must have a Charisma score equal to at least 10 + the spell level. ... She can cast any spell she knows at any time, assuming she has not yet used up her spells per day for that spell level.  As a Sorcerer, you get bonus spells based on Charisma. In my case, I rolled an 18 at the start, invested points at levels 4 and 8, got 2 point for being an Ifrit(racial bonus), and I'm wearing a . This gives me a Charisma stat of 26. The  shows I get, among others, a Level 7 and a level 8 spell slot. However, I recently obtained Craft Wondrous Item, which lets me make . Lets's say I craft a Page of , a Level 7 spell. Despite not knowing it, I can do that by taking a +5 on the DC, and taking 10 on the spellcraft Crafting check. Would this allow me to cast Limited Wish? I have a spell slot of the appropriate level (higher, even), and I have the page to make the spell "known" to me. While the answer is the same, this question is different from  because that one is about metamagic, and this one is about Page of Spell Knowledge. There will be few if any search queries turning up both questions (and that one certainly didn't show up in the "similar questions" list when I asked this one).


Why is $i^3$ (the complex number "$i$") equal to $-i$ instead of $i$?

$$i^3=iii=\sqrt{-1}\sqrt{-1}\sqrt{-1}=\sqrt{(-1)(-1)(-1)}=\sqrt{-1}=i $$  Please take a look at the equation above. What am I doing wrong to understand $i^3 = i$, not $-i$?


Remove Ubuntu installed by wubi to install Ubuntu alongside Windows?

I currently have Windows 7 installed on a laptop with Ubuntu 14.04 installed via Wubi. So when I boot up I have the option to load up either WIndows or Ubuntu. I am going to install just 14.04 on its own as my current (wubi) version is made up of lots of previous versions added on top of each other.  So I am going to back up my Home folder, put the bookable usb stick in with Ubuntu 14.04 on it and click the option to install alongside windows, during the install.   My question is will I need to remove the wubi version of Ubuntu, that I currently have or can I install the new Ubuntu (alongside Windows) and then remove the wubi version when I know all is OK?


Suppose that $ a,b \in \mathbb{Z}$ If 4 divides $ a^2 + b^2$, then $a$ and $b$ are not odd.

I am trying to prove old test exercises and this one is resisting me.  I know you can believe that I meant $a^ 2 + b ^ 2$ is divisible by 4, but no, in the test it says that 4 is divisible by $a ^ 2+ b^2$.  Suppose that $ a,b \in \mathbb{Z}$  If 4 is divisible by $ a^2 + b^2$, then $a$ and $b$ are not odd.  I started like this:  Suppose that a and b are even, then $a = 2m$ and $b = 2n$ for some $m,n \in \mathbb{Z} $.   Thus  $$ a^2 = (2m)^2 \ \mbox{and}\ \  b^2= (2n)^2$$ $$ a ^2 + b^2= (2m)^2 + (2n)^2$$ $$ a^2 + b^2 = (4 m^2 + 4n^2) = 2(2m^2+2n^2) $$  Now $$2m ^ 2 + 2n^2\in \mathbb{Z} = k$$ Then  $$ a^2+b^2= 2k$$  Is this a correct proof?/ Any better ways to prove this.  Sorry for the lousy English. Thanks.


How can I separate multiple quote blocks?

I have a series of quotes which I want to display in two separate quote blocks.  > Are questions about Microsoft Word Online on-topic here? I don't > really see any posted here, but perhaps I am not searching correctly. > - mweiss >  > Yes, they are. We even have a specific tag: [tag:word-online]. -ale >  > Thanks! I'm sorry I missed that tag. -mweiss   When I try to add these to my post, they display as a single combined quote.     Are questions about Microsoft Word Online on-topic here? I don't   really see any posted here, but perhaps I am not searching correctly.   - mweiss      Yes, they are. We even have a specific tag: . -ale      Thanks! I'm sorry I missed that tag. -mweiss   How can I separate quotes so that they aren't combined into a single quote block?


Hi I have the address of a property and my application can launch a browser to go to . If a good match is found it will take it directly there. Is there any thing I can append to the url to make it switch to streetview without having the exact coordinates? I dont't want to code any javascript or flash.


I wonder if this sentence is a shortened version of a certain sentence

"Many vendors can be seen selling it now in the city."  I came across this sentence online which is quite strange to me in terms of sentence structure (grammar). why do 2 verbs "seen" "selling" stand together? I wonder if that's a shortened version of a full sentence such as relative clause reductions?  For example: "We saw them selling it in the city" is a shortened version of this sentence: We saw them who was selling it in the city. (Relative clause reduction).  I am fine with the meaning of the sentence. I am just concerned about the grammar, the sentence structure.  I can easily understand this apparently similar sentence:  "Have you ever seen anyone walking the streets like that?"  But my sentence is quite different. Could someone show me the grammar point here? I still don't get how passive voice "can be seen" followed by a gerund "selling".


Again, probably a very naive question but just wanted to make sure. Are electrons affected by gravity? I was hoping someone could point me in the direction of some experiments that prove this.


Linux: how many disk I/O does it take to read a file? How to minimize it?

According to this  on Facebook's Haystack:     "Because of how the NAS appliances manage directory metadata, placing   thousands of ﬁles in a directory was extremely inefﬁcient as the   directory’s blockmap was too large to be cached effectively by the   appliance. Consequently it was common to incur more than 10 disk   operations to retrieve a single image. After reducing directory sizes   to hundreds of images per directory, the resulting system would still   generally incur 3 disk operations to fetch an image: one to read the   directory metadata into memory, a second to load the inode into   memory, and a third to read the ﬁle contents."   I had assumed the filesystem directory metadata & inode would always be cached in RAM by the OS and a file read would usually require just 1 disk IO.   Is this "multiple disk IO's to read a single file" problem outlined in that paper unique to NAS appliances, or does Linux have the same problem too?  I'm planning to run a Linux server for serving images. Any way I can minimize the number of disk IO - ideally making sure the OS caches all the directory & inode data in RAM and each file reads would only require no more than 1 disk IO?


Prevent Alt + Tab from showing active windows in other workspaces (GNOME)

Is it possible to use Alt+Tab to switch between active windows in the current workspace only?  The default behaviour shows active windows across all workspaces, effectively allowing me to switch workspaces using Alt+Tab, something I would like to prevent.


hello i leave this macbook over a years ago and i back to use it now  but i realize i have 750GB and i can use only 502GB  how i use it all this 750 gb?? i try many way but i cant  i try run bootcamp but i cant do anything with it  diskutil list /dev/disk0 (internal, physical):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:      GUID_partition_scheme                        *750.2 GB   disk0    1:                        EFI EFI                     209.7 MB   disk0s1    2:          Apple_CoreStorage ArabFox                 501.6 GB   disk0s4    3:                 Apple_Boot Recovery HD             650.0 MB   disk0s5  /dev/disk1 (internal, virtual):    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:                  Apple_HFS ArabFox                +501.3 GB   disk1                                  Logical Volume on disk0s4                                  9FDF63DB-3DB0-4319-AF3F-CD3334E94151                                  Unencrypted


Biblatex `language`, `hyphenation` and `langid` - what is the difference?

Some time ago I got a wonderful snippet of code from this site to help work with multilingual environments. It lets have just one field, language, instead of two, language and hyphenation. I keep having to use two fields for working with Cyrillic for some reason. Can somebody explain why fieldsource is language and fieldset is langid? I cannot figure this out and thus cannot modify the code.  \DeclareSourcemap{     \maps{         \map{             \step[fieldsource=language, fieldset=langid, origfieldval, final]             \step[fieldset=language, null]         }     } }   MWE  \documentclass[12pt,a4paper,twoside]{memoir} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[greek.ancient,latin,english,german,french,dutch,italian,spanish,russian]{babel} \usepackage[backend=biber,citestyle=verbose-trad1,language=auto,autolang=other,autocite=footnote,citetracker=true,ibidtracker=false,opcittracker=false,citereset=chapter,citepages=omit]{biblatex} \ExecuteBibliographyOptions{sorting=nty,notetype=foot+end} \usepackage{csquotes} \usepackage{tocvsec2} \usepackage{calc} \usepackage{textcomp} \usepackage{microtype} \usepackage{filecontents} \usepackage{hyphenat}  \usepackage{filecontents}   \DeclareSourcemap{     \maps{         \map{             \step[fieldsource=language, fieldset=langid, origfieldval, final]             \step[fieldset=language, null]         }     } }  \begin{filecontents}{bib.bib}   @Book{G:2, author = {Успенский, Ф.}, title = {История}, editor = {Успенский, Ф.}, language = {russian}, }  \end{filecontents}  \addbibresource{bib.bib}  \begin{document}  Test.\autocites{G:2}  \end{document}


How To Delete Duplicate Row In MySQL using sql query?

this is my table structure i have duplicate entry i will define duplicate by date (time stamp is in seconds) how can i delete is using sql query ?   database name db_misc  table name t_cmd_logs  lid     user    message     date    addedDate    Here is my data:   lid     user       message         date                 addedDate 5   DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:24:01 6   DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:25:01 7   DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:26:01 8   DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:27:02 9   DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:28:01 10  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:29:01 11  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:30:01 12  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:31:01 13  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:32:01 14  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:33:01 15  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:34:01 16  DarkScorpion    -jjjj   2016-08-08 17:23:24     2016-08-08 17:35:01    I apologize, I am weak in English.   i found 1 way to copy t_cmd_logs data to t_cmd_log but i have to run this every 1 minute so i have to delete data from t_cmd_logs after copy is there any thing possible i have used   INSERT INTO t_cmd_log  SELECT * FROM t_cmd_logs WHERE 1 GROUP BY user,message,date ;  DELETE FROM t_cmd_logs;   but in phpmyadmin sql gives me error am i doing it wrong ?  please help me


individual tick label style with pgfplots

given the following code, I want to modify the tick labels in such a way, that for negative values of x, the labels are located above the x-axis. How can I realize this?  \documentclass{report} \usepackage{pgf} \usepackage{pgfplots} \pgfplotsset{compat=newest} \pgfplotsset{plot coordinates/math parser=false} \begin{document} \begin{tikzpicture} \begin{axis}[% axis x line=middle, axis y line=middle, width=10cm, height=10cm, scale only axis, xmin=-5, xmax=5, xtick={-4, -2, 0,  2,  4}, xticklabels={$-4\pi$, $-2\pi$, $0$, $2\pi$, $4\pi$}, extra x ticks={-4, -2}, ymin=-1.4, ymax=1.4, ytick={-1,  0,  1}] \end{axis} \end{tikzpicture}% \end{document}


Aligning equations, splitted in an enumeration

I have a problem regarding alignment for my equations.  This dummy program shows the problem:  \documentclass{article} \usepackage{amsmath} \begin{document}  \begin{enumerate}     \item First do this     \begin{align}     c^2 &= a^2 + b^2     \end{align}      \item Then do this      \begin{align}     variable &= c^2     \end{align} \end{enumerate}  \end{document}     I would like the = to be aligned under each other, but still be able to list them inside the enumerate.  Any suggestions?


Did i really screw up my system using chmod?

So I was messing around with permissions on a linux box and was trying to change permissions so a user couldnt access any folders other than what is in their home directory. I did sudo chmod 0750 /home/Guest and it stopped them from accessing the other folders in home, but not the root directory. So i then applied sudo chmod 0750 / and now I cant access any files or execute any commands. I came back to it and I cant even ssh to connect remotely anymore.  Am i screwed?


Store encrypted password and decrypt it at runtime

I am writing a tool that connects to a server using a login and password. The tool's user has to provide at runtime the login and password for the tool to be able to connect to a server to fetch some information.  However, I am putting in place some integration tests for my tool, hence the tests should be able to connect to the server. I can use a generic server's account to do so. But I would like to automate those integration tests, so I would need to have the generic credentials stored encrypted somewhere and the integration tests to decrypt them when they get executed (even though they are generic, they are still credentials so I'm not comfortable in storing them un-encrypted).  What would be the way to work this out? If the tool is able to decrypt the password, then it means that it would hold some master key, and I do suppose this is wrong. Should I expose some external service to which I am sending the encrypted value to get it decrypted so the encryption/decryption would be processed outside the tool?  Thanks


How does one change the delay that occurs after entering an incorrect password?

After entering an incorrect password at a login prompt, there s an approximately 3-second delay. How can I change that on a Linux system with PAM?


Was Hermione the only Gryffindor of her class in Arithmancy and Ancient Runes?

This was the exam schedule of third-year students in Prisoner of Azkaban:  Monday 9 o'clock, Arithmancy 9 o'clock, Transfiguration Lunch 1 o'clock, Charms 1 o'clock, Ancient Runes Harry Potter and the Prisoner of Azkaban, Chapter 16 - Professor Trelawney's Prediction  Now, both Transfiguration and Charms were core subjects. So everyone in the third year had to attend them. And Prof McGonagall told Hermione that she had to tell ministry that Hermione was extraordinary and needed that time turner badly. Her way of telling more than said it that she arranged only one time turner. Does this mean Hermione was the lone third year Gryffindor in Arithmancy and Ancient Runes?


In "Bat Out of Hell", should "Out of" be capitalized?

Should either or both words in "out of" be capitalized (e.g., Bat Out of Hell)?  I wanted to clarify because the "o" is commonly capitalized in any Google search hits.


Problem with plain pagestyle in twosided document with scrlayer-scrpage

I'm trying to use scrlayer-scrpage with a twosided document using the scrartcl class but somehow can't manage to format the plain pagestyle in a way that is similar to the scrheadings style. I prepared the following MWE – thanks in advance!  \documentclass[12,a4paper,twoside]{scrartcl} \usepackage[automark,headsepline,footsepline,markcase=nouppercase]{scrlayer-scrpage} \renewcommand*{\sectionmarkformat}{} \renewcommand*{\subsectionmarkformat}{} \renewcommand*{\headfont}{\normalfont} \automark[subsection]{section} \chead{\leftmark} \cfoot{\pagemark} \ihead{} \ohead{} \ifoot{} \ofoot{}  \begin{document}  \pagestyle{scrheadings}  \section{Blah.}  Blah.  \newpage  \section{Blah.}  Blah.  \newpage  \pagestyle{plain.scrheadings}   \section{Blah.}  Blah.  \newpage  \section{Blah.}  Blah.  \end{document}


How can I know what is causing a null pointer in my entity class getTeamId

I have tried to understand what is causing my getTeamId() method in my entity return null, but I can't seem to crack the code. I have attached my adapter class, entity class and the exception thrown.       Entity Class TeamEntity  @SerializedName("idTeam")     private String teamId;         public String getTeamId() {             return teamId;         }          public void setTeamId(String teamId) {             this.teamId = teamId;     }   And in my adapter class I have the following, it says team is null do i need to add something to it?  public class MatchAdapter extends RecyclerView.Adapter<MatchAdapter.ViewHolder> {     private Context context;     private TeamEntity team;     private List<MatchEntity> matchList;      public MatchAdapter(Context context, TeamEntity teamEntity) {         this.context = context;         this.team = teamEntity;         matchList = new ArrayList<>();     }      public void setList(List<MatchEntity> matchList) {         this.matchList.addAll(matchList);         Collections.sort(this.matchList); //date order         notifyDataSetChanged();     }      public void updateMatch(MatchEntity match) {         matchList.set(matchList.indexOf(match), match);         notifyItemChanged(matchList.indexOf(match));     }      @NonNull     @Override     public ViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {         View view = LayoutInflater.from(parent.getContext()).inflate(R.layout.display_match_items, parent, false);         return new ViewHolder(view);     }      @Override     public void onBindViewHolder(@NonNull ViewHolder holder, int position) {         MatchEntity match = matchList.get(position);         holder.bind(match);     }      @Override     public int getItemCount() {         return matchList.size();     }     @Override public void onBindViewHolder(@NonNull ViewHolder holder, int position) {     MatchEntity match = matchList.get(position);     holder.bind(match); }       void bind(MatchEntity match) {                  String homeTeam = match.getHomeTeam() != null ? match.getHomeTeam() : "";                   if (team.getTeamId().equals(match.getIdGuestTeam())) {                     homeTextView.setText(homeTeam);                   } else {                     homeTextView.setText(guestTeam);                  }   // Stack Trace  java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.sportsapp.data.room.entities.TeamEntity.getTeamId()' on a null object reference         at com.sportsapp.presentation.ui.adapters.MatchAdapter$ViewHolder.bind(MatchAdapter.java:118)         at com.sportsapp.presentation.ui.adapters.MatchAdapter.onBindViewHolder(MatchAdapter.java:59)         at com.sportsapp.presentation.ui.adapters.MatchAdapter.onBindViewHolder(MatchAdapter.java:27)


I tried to install ubuntu-restricted-extras using the terminal, but a "Microsoft Eula" screen poped up and I closed the terminal (now I know I should not have done it). After failing to "click" on the "ok" option of such screen. The result is that I broke apt-get... I tried apt-get install -f and also apt-get remove -f but it did not work.  jan@jan-Satellite-C855:~$ apt-get install -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? jan@jan-Satellite-C855:~$ apt-get remove -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?   I read the article  but nothing worked...  So, what should I do now?


Any package for typesetting polyominos/tetris-like shapes?

I would like to typeset some easy polyomino puzzles and therefore need a suitable LaTeX package. I could not find an easy to use package (other than using TikZ of course). Is there any approach other than using TikZ/PSTricks?  For anybody not aware of what polyominos are:   Edit: With a polyomino puzzle, I mean something like this:   So my intention is to put a set of polyominos into a given shape.


Is it appropriate to edit a Q/A for the indentation of brackets (curly braces: "{}") in code on SE sites (SO, SU, ...)?

Is there a standard/preferred/approved way to format the indentation/placement of curly braces ("{}") in code on SE sites (SO, SU, ...) ?  More precisely, I'm talking about the placement of the opening bracket/brace in, for example, function definitions, and if statements.  Like this:  function somefunction() {     // Code here }   or like this:    function somefunction(){     // Code here }   I was looking at this answer: ,   and something in the comments prompted me to look at the revision history for the answer.  While unrelated to what I wanted to see, I noticed that the most recent edit to the answer was only to change the answer's example code, in a few places, from something like this:    function changeClass() {     // Code examples from above }   to this:    function changeClass(){     // Code examples from above }   Is this an appropriate edit?  I mean, the code was fine before the edit, and, it was just fine after the edit, basically nothing different. The editor just replaced one standard code formatting method that is preferred (well, at least chosen) by the original author, with another standard code formatting method that the editor happen to prefer.  I don't think this is an appropriate edit. Since the edit was approved, and the original author, if they were aware of the edit, didn't roll it back (possibly they didn't want to participate in an edit war), so I left the edit in place, even though I thought it shouldn't have been approved.  Perhaps, if there were other significant changes that the editor could have made, and they made those changes at the same time, it would be more justified (well, I'm still not convinced the braces edit would be okay, even then).   My reasoning, is that first, it's just too trivial. The only thing added was 3 newlines, and some spaces (of course that is the nature  of an edit that modifies formatting). Second, I view it as just a personal preference, neither way is particularly more right, or wrong than the other.  And, perhaps more importantly, it could lead to a user editing hundreds and hundreds of questions and answers, making only these type of changes. And worse yet, another user might edit the Q/A's again to return the posts to their preference.  Unless, of course, if there is some SE convention that one way is correct/preferred?  I understand that except for the potential for an edit war, this is not an extremely important issue. Am I on the right track, or am I making too much of this?  Note: I realize that this is mostly a computer code related question and is perhaps better suited to relevant sites, but there are many SE sites related to computer code, and I thought it was best to not potentially duplicate this on multiple other SE meta sites.


When I move my object it snaps along the axis and not move freely?

(I know I'm sounding stupid) When I move my selection along any axis it snaps while moving along. I don't know why this is happening as if I try it in a nest file, everything's fine. I really am confused :')


My Acer notebook has 2 spaces for HDD.  The main one is occupied by a SSD loaded with W10 and the second is free.  Is it possible to use this free space for a HDD loaded with Ubuntu 18.04.1 LTS and to use those two operating systems alternatively and separately ?


What is the difference between the following commands:  $ input.txt > grep foo  $ grep foo < input.txt  $ cat input.txt | grep foo  $ grep foo input.txt   And not just grep. Other commands too.


Implementing version control system for geospatial data?

Not that I am in any immediate need of a right answer here, but I've lately seen some efforts to introduce the concept of "(distributed) version control systems" for geographic data. Some examples (that I know of) are the three whitepapers from OpenGeo (,  & ) and the " (geosyncronization)" project by Norwegian GIS Software vendors and the Norwegian Mapping Agency. I've also found , which mentions GeoGit (by OpenGeo), and  about version control in ArcGIS.  Being a developer I know (at least enough to be able to use them) how version control systems for source code (like SVN and Git) works, and my background in geomatics tells me that there are some unique challenges with geographical data that makes the approach not completely similar to the way source code (which is basically text) are handled.  What are the challenges when dealing with (d)VCS'es for geographical data, how would you solve them, do we need them and are there other attempts to solve these issues than the ones I have mentioned?  I know that the OpenGeo whitepapers will answer some of my questions, but what I'm really is after is a more "pedagogical" answer, in the style of "tell me like I'm a 10-year-old", so that I can refer people to a great explanation of the challenges and solutions that geographical data brings to the mix.  I hope that someone with some insight will take time to provide some thoughts on the matter, as I said I'm not currently looking to solve a particular problem, but this topic is one that interests me.


How Do I Combine Columns In Google Spreadsheets?

I need to combine multiple columns into a single column, so:  one     four    seven two     five    eight three   six     nine   Becomes:  one two three four five six seven eight nine


Can a foreign bank manager name me as the kin of a deceased customer if I don't know the person?

A few days ago, someone emailed me and said he is the branch manager of an overseas bank. He asked me to join him in an agreement. He has a deceased customer who is a citizen of my country and who has some funds deposited in his bank. He has no one who will take it, so he chose me as the "kin" of the customer. I don't know the customer and have never known him before.  Is this legal? What should I do? Is this a scam?


Can I fly from Miami to Tampa without a passport? I just have my foreigner ID from Paraguay. I don't have my passport with me. My ID has a picture and full name. In addition, I have my identification from school (Eckerd College).


I love recursion. I think it simplifies things a lot. Another may disagree; I think it also makes the code a lot easier to read. However, I've noticed that recursion is not used as much in languages such C# as they are in LISP (which by the way is my favorite language because of the recursion).   Does anybody know if there is any good reasons not use recursion in the languages such as C#? Is it more expensive than iteration?


Why does the electric field dominate in light?

I read a book on the wave property of light where the author mentioned that the electric field, instead of magnetic field, dominates the light property. I don't understand why.  In Maxwell's theory, a light field has an electric and magnetic field at the same time and they are perpendicular. Also, in some books, where they consider the polarization, they only use the electric field as example. For example, if the vibration of the electric field is up and down,  it cannot go through a polarizer which orients 90 degree to the vibration direction of the field, so no light goes through the polarizer. But what happened to the magnetic field? The magnetic field is perpendicular to the electric field, so in this case, the magnetic field should pass the polarizer, and we should have outgoing light -- but we don't. Why is this so?


Connecting points to form lines, by only connecting points nearest to each other

I have a layer of points, that I hope to connect to form a polyline(s).  The layer looks like this:    I am hoping the end results traces the network that was originally used to construct the points:    Background: I am using ArcMap 10.3.  My workflow has been to turn the original polylines into points, after setting a starting point, an interval, and a total stop distance (along each branch in the network).  The I do some processing (data addition) on the points (which is originally a much larger set than shown) outside of arcmap, bring the points back in, create a layer from the initial larger dataset where a certain criteria is set, and then hopefully reverse the points into lines.  If I use the Points to Line tool (Data Management), I get this:    Which is expected since the numbering of the points along so many branches make's it illogical to follow the numbering when creating a polyline.  Is there a way to generate polylines from points when only the nearest points are connected?


Receive user name and password from user using jbutton

I'm having trouble with using jbuttonactionperformed to receive a username and password in java. What is wrong with this code. I searched in google and saw that a character array is used to store getPassword return.Is it wrong?   private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {         char[] input = {'r','o','o','t'};     if (jTextField1.getText() == "admin" && jPasswordField1.getPassword() == input) {         srchnm.main(null);      }  }


Install old version of firefox side by side with live default version

This question is highly related to  main question but with one key difference I just want to check:  I'd PREFER to have the old version use my profile, firefox sync, etc, to stay current with bookmarks AND i'm not bothered about having both open at the same time, the only reason I want it is because FF52 supports 2 old extensions which still haven't been updated to run quantum and I need them for a specific occasional task.  So: will I run into any problems just installing ? Or will it overwrite default current FF and/or cause other problems, does anyone know?  Edit: given I only really need the bookmarks to be synced, would it be better to create a separate profile then use a bookmark sync extension?  Thanks!  Edit2: re: possible duplicate: I'd argue that the main question is distinct from the question cited by N0rbert, so while one approach to solving my issue is shared with the other poster, there are alternative solutions to both of our questions. Conceptually this distinction strengthens the cause to leave this question up, as I suspect there will be a similar or greater number of people who want to run side-by-side than simply downgrade.


Variance of two gaussians with the same mean

I'm fitting some data with a pdf that is the mixture of two gaussians with the same mean (this is, the sum of the density functions). The weight of each gaussian after the fit is $w_{\rm core}$ and $w_{\rm tail}$, $$ f_{\rm Global} ( \mu, \sigma_{\rm core}, \sigma_{\rm tail} ) = w_{\rm core} N(\mu, \sigma_{\rm core}) + w_{\rm tail} N(\mu, \sigma_{\rm tail}) $$ , where $N(\mu, \sigma)$ is the normalized normal distribution Is there an analytical expression to compute the variance of the global pdf (as a function of $w_{\rm core}$, $w_{\rm tail}$, $\sigma_{\rm core}$ and $\sigma_{\rm tail}$)?  Answer $$ \sigma_{\rm Global}^2 = w_{\rm core} \sigma_{\rm core}^2 + w_{\rm tail} \sigma_{\rm tail}^2 $$ This is derived in  for the general case $\mu_{\rm core} \neq \mu_{\rm tail}$. I'm quoting it in case somebody searches directly for the specific case (like me) and does not find the other answer.


Classicthesis, remove [date, time - version #]

How to remove [date-time - version #] line at the bottom of every page from Classicthesis? Classicthesis version is 4.1.  Thank you for your time.


Change the Bone Rotation (Quaternions) of an Armature in text script

I am using Blender 2.49b. I have a hand model and I would like to set the bone rotation (in quaternions) to take values from text (Bone%i.txt); on each column of the text I have 4 values (W,X,Y,Z). My hand model consists of 25 bones, as can be seen in the following image.    So, I wrote the following script to do the job  from Blender import * import math  # Path to data directory dataDirectory = 'C:/Users/andarist/Desktop/Data'  # Number of frames to render numFrames = 100  # Range of bones handIndices = range(1,26)  # Bone file name patterns bonePattern = 'Bone%i.txt'  # Hand object pattern handObjectPattern = 'Bone.%03i'  # Global scale scale = 1.0  # Global speed speed = 1  def FrameChange():     pass  def SetIpoForFrame(frame):     frameIdx = (Get('curframe') - 1) * speed     Set('curframe', frame)     frameIdx = (frame - 1) * speed     dataStore = Registry.GetKey('MoCapImporter')     nanmap = { }      # Move bones     for handIdx in handIndices:         handObj = Object.Get(handObjectPattern % handIdx)         pos = dataStore['Bone'][handIdx-1][frameIdx]         nanmap[handObjectPattern % handIdx] = False         if(pos == None):             nanmap[handObjectPattern % handIdx] = True             pos = nanpos         handObj.setRotation(scale*pos[0], scale*pos[1], scale*pos[2], scale*pos[3])         handObj.insertIpoKey(Object.IpoKeyTypes.LOCROTSIZE)      Scene.GetCurrent().update()  def LoadFile(pattern, index):     fileName = dataDirectory + '/' + (pattern % index)     file = open(fileName)     lines = file.readlines()     output = []     for line in lines:         c = line.split()         if(c[1] == 'NaN'):             output.append(None)         else:             output.append((float(c[0]), float(c[1]), float(c[2]), float(c[3])))     file.close()     print "Read %i lines from %s" % (len(output), fileName)     return output  def Main():     dataStore = { 'Bone': [] }     # Attempt to load the data     for handIdx in handIndices:         data = LoadFile(bonePattern, handIdx)         dataStore['Bone'].append(data)     Registry.SetKey('MoCapImporter', dataStore, False)        for i in range(1, numFrames+1):         print "Frame %i/%i" % (i, numFrames)         SetIpoForFrame(i)   if((event == 'FrameChanged') or (event == 'Render')):     FrameChange() elif(event == ''):     Main()   However, it seems that the Object.Get function cannot find the bone.%3i from Armatures hand, and I get the following error    Thanks in advance for your help and consideration.  Best Wishes,  Andreas


How to create my own math operator with limits?

How can i write my own math operator with limits? I want it to look like:  \sum\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum.  Thanks for the help!


Prove that if a sequence converges then $\lim_{k \to \infty} kb_k = 0$

We have that $(b_n)$ is a sequence of decreasing, non-negative real terms. We wish to show that if $\displaystyle \sum_{i=1}^{\infty} b_n$ converges then it must be the case that $$\lim_{k \to \infty} k.b_k = 0$$  I'm stuck on this problem, I want to show this using a contradiction (assuming the limit is not zero) and showing that that contradicts the Cauchy Criterion.  Thanks.


I am probably missing something really simple.  So here is my code:  def test():     return 'Hello!'  if __name__=="__main__":     print test()   On executing python module_name.py there in no output. When I import the module and execute module_name.test() I get my the expected output. What am I missing here?


Which sentence is correct:  1. Do you know what temperature it is outside?  2. Do you know what the temperature is outside?  3. Do you know what the outside temperature is?  4. Do you know what outside temperature is? I think all of them are correct except for sentence 4.  What do you natives think? Help, please 😎


\cref and intertwined numbering of proposition, definition, lemma, etc

I used \newtheorem{definition}{Definition}[section] \newtheorem{proposition}[definition]{Proposition}  so that the numbering goes on as if proposition and definition are "the same object". But the problem is if I use \cref{...some proposition name...}, then the output is not "proposition 2.7", but "definition 2.7". How can I fix this problem?


How to prove the convergence of $\sum_{n\geq 0}\frac{n!^d}{(dn)!}$ for $d\geq 2$?

How can we find the general formula about the convergence of the serie $\sum_{n=0}^\infty \frac{(n!)^d}{(dn)!}$ for all $d\geq2$ ?  I tried using the d'Alembert Criteria but it doesn't simplify itself enough to prove the convergence.


Is there a way to scramble an egg inside its shell without using an external dish? E.g. delicately puncture the shell with a needle of sorts, penetrate the yolk and shake it while keeping the hole plugged with a finger.  I have a favorite Asian soup that I like to twist with a dropped egg at the time of reheating. I do go out camping a lot and it would be nice to spare a dish while fixing the soup on the tailgate of my truck.  Alternatively, is it viable to drop an unscrambled egg in the soup and scramble it in the short amount of time before it cooks?


How to prove that $\sin(x)$ is continous

I want to prove that $\sin(x)$ is continous in $\mathbb R$, the definition that I have of $\sin(x)$ is the definition of the Spivak's book (the geometric one), but maybe using some other definition would make   the prove easier?


Phrase meaning an evolving chain of tasks

I've heard this phrase but can't remember it--something like "[verb]ing the [noun]".  Something to describe a working on a task that began with a simple task but turned into a long string of working on requisite tasks, maybe circling back to the original.  "Last night a light bulb in my bathroom burned out and I didn't have a spare on hand, so I decided to start replacing my bulbs with LED ones, so tried to research the best ones but my Internet connection was down, so I tried to power-cycle my cable modem but couldn't see the back of it to plug it back in, so went into the bathroom to find a hand mirror but it was dark in there."  The circling back part might be called a deadlock, but that's not what I'm looking for, just the multiple-sidetrack situation.  Also not looking for "down the rabbit hole" which I think of as something different.


I found this awesome work designed by Kreativa Studio and I'm really curious about the effect of the woman picture. How to make an person image to blend into the background like this with photoshop.


I am trying to understand the proof for the following theorem:     Let $R$ be an integral domain. If $x \in R$ is prime, then $x$ is irreducible.   Here is the proof:    I typed this a while ago and I don't understand the part where if $x | bc$, then $x=bc$? Is something wrong at this step?  Also, is the definition of prime elements where $p$ is prime if whenever $p|ab$, then either $p|a$ or $p|b$? Now I don't feel so sure. This could be the reason why I am not understanding the proof...


Lubuntu 14.04 blank screen after software update

splash screen comes up then goes to a blank screen after updating software. How do I access my desktop?? Desperate for help! Thanks


Visa validity period before entering the US from Nigeria

I am from Nigeria but in Haiti at the moment. I got a two year US visa in 2017 here in Haiti and have traveled severally to Nigeria with it. I intend to travel to Nigeria in Dec.,to return to Haiti 1st week of January through the US. My visa will expire on 16th of February 2019. Will i be allowed to pass through US on my return with the visa? I intend to renew it on my arrival in Haiti in February 2019 or do you suggest i renew before travelling?


Return all groups in RegExMatch Ampscript

I have "some" generic string with some digits and others chars. I need to remove everything that is not a digit from it. 'a222. / --0011' -> '2220011'  I think this is a job to be done with Regex and I'm implementing some code with SSJS, but as far as I know only AMPScript has some . Therefore, I used some  to use the Regex on the string, then I will return the string to the SSJS. If I use the pattern '\d+' I can get only digits, but the problem is: RegExMatch only returns one group (passed as arg), but I need to return all groups (all digits). How can I return a generic number of groups in RegExMatch?


What does the term "up to isomorphism" mean in this context?

The following image shows a screenshot from a page of my lecture notes:    As you can see, it keeps using the expression "up to isomorphism", but doesn't explain what this means. Can anyone tell me what this means in this context?  Thanks


Applied clinical research clinical trials and regulatory affairs

Is this journal a legitimate one with impact factor or is it a fraud?


How to remove Microsoft forced homepage on all browsers?

I am not sure what the real cause is, but recently I installed the Microsoft OneDrive on my Win 10 computer. Since then, every time I open a new browser (be that in chrome, firefox, and IE), they're all redirected to first for a split second , then quickly re-redirected into . I have tried resetting the default homepage on these browsers but somehow the microsoft page seems to overwrite them all. Also, my Avast Antivirus kept identifying this issue: SVC: eCrrrA > C:\ProgramData\eCrrrA (as Win64:Trojan-gen), it shows back up even though I kept deleting or moving it to virus chest.  Am I getting some virus or malware? And how do I remove the forced homepage?


Why this Stackoverflow exception is occuring while implementing merge sort in java recursively?

I'm basically trying implement merge sort in Java. For doing so, I've created a class called Array, which has an integer array a[]. The class also has a method called slice(int left, int right) that produces the slice of array and returns the object. Henceforth , there is a sort() method that recursively calls itself and breaks down the array and returns an Array object at the end.  import java.util.*; class Array {     int a[];      public Array()     {         a = null;     }      public Array(int x)     {         a = new int[x];     }        public void input()     {         Scanner sc = new Scanner(System.in);         for(int i = 0; i < a.length; i++)         {             System.out.print("Enter a No. = ");             a[i] = sc.nextInt();          }     }      public void display()     {         for(int i = 0; i < a.length; i++)             System.out.print(a[i] + "\t");         System.out.println();     }      public Array slice(int left, int right)     {         Array ob = new Array(left + right + 1);         for(int i = left; i <= right; i++)             ob.a[i] = this.a[i];         return ob;     }      public static Array merge(Array A, Array B)     {         Array C = new Array(A.a.length + B.a.length);         int i, j, k;         i = j = k = 0;          while(i < A.a.length && j < B.a.length)         {             if(A.a[i] < B.a[j])                 C.a[k++] = A.a[i++];             else if(A.a[i] > B.a[j])                 C.a[k++] = B.a[j++];             else             {                 C.a[k++] = A.a[i++]; j++;             }         }          while(i < A.a.length)             C.a[k++] = A.a[i++];          while(j < B.a.length)             C.a[k++] = B.a[j++];          return C;     }      public Array sort()     {         if(this.a.length == 1)             return this;         else         {             return merge(this.slice(0, (this.a.length - 1) / 2).sort(), this.slice(1 + (this.a.length - 1) / 2, this.a.length - 1).sort());         }     }      public static void main()     {                 Array x;         Scanner sc = new Scanner(System.in);         System.out.print("Enter the No. of Elements = ");         Array ob = new Array(sc.nextInt());         ob.input();         System.out.println("\n ORIGINAL ARRAY");         ob.display();         System.out.println("\n SORTED ARRAY");         x = ob.sort();         x.display();     } }   Suppose if I have an object A, which has an integer array a[], then on calling A.sort() must return an object in which all the array elements will be sorted in ascending order.  Error(s) I Got: java.lang.StackOverflowError: null


Identity with moduli for a holomorphic function on a disc

Let $f(z) = \sum a_n z^n$ be a holomorphic function on the unit open disc which takes it to itself. How can I show that for any real $0 <r <1$ it holds that $\sum |a_n|^2 r^{2n} = \frac{1}{2 \pi} \int\limits_0^{2 \pi} |f(re^{it})|^2 dt$. Also, I want to show that the series $\sum |a_n|^2$ converges. My hope was that we can make a change $r e^{it} = z$ and use complex integration but what we obtain is $\frac{1}{2\pi} \int_{C} \frac{|f(z)|^2}{iz} dz$ where $C$ is the circle around zero of a radius $r$. The problem is that $|f(z)|^2$ is not a holomotphic (or meromorphic) function so we cannot use complex integration. I do not really understand how series $\sum a_n z^n$ and $\sum |a_n|^2 z^{2n}$ (or even $\sum |a_n| z^n$) are related in general. Any ideas would be appreciated.


So, I am setting up an ssh server. I have installed the ssh-server program on my server. However, I didn't want to connect to it through port 22, because reasons, so I set the server to listen through another port (2584). How do i set up my client to also connect through port 2584 rather than port 22?


Feature request: Provide search room option in chat mobile version

The mobile version of chat does not have a search option:        And all contains 1406 pages.  Please provide a search option in the top bar (like the filter rooms search bar on full site).


How to install Docker Ubuntu 18.04 with https proxy error

I have an issue of installing Docker on ubuntu 18.04   When I try the following lines I get an https error due to there being no http version and we are behind a company proxy so it fails.  sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"  sudo apt update   Fails with.  Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification.   Is there an alternative way to install even for a one of version using curl or wget?  Is there a way of bypassing a proxy in the apt conf to tell it to ignore the certificate error?  Edit  I tried with the [trusted=yes] flag but this didn't work I think because this reverts to http and there is no http URL.  Err:6 https://download.docker.com/linux/ubuntu bionic Release                                         Certificate verification failed: The certificate is NOT trusted. The certificate issuer is unknown.  Could not handshake: Error in the certificate verification. E: The repository 'https://download.docker.com/linux/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.


Does "coming down" mean "traveling south"?

In the context of traveling, I have heard of and used the phrase "coming down" when referring to a journey from one place to another place that is further south. Perhaps, it's because I have always related the "down" part to "from north to south". For example:      My cousin in New York is coming down to visit me (in Atlanta) next   week.   Recently, a friend of mine used the phrase to refer to any journey regardless of the direction of travel. For example:      She is coming down from Miami to join us in Atlanta.   Is the phrase used only to refer to traveling south? Or is it not related to the direction?


Stuck in tty1, unable to log in (18.04 MATE)

I'm stuck in the black tty1 login screen.  I think I know why. I use MATE but wanted to try cinnamon, installed it, wasn't satisfied so I removed it again via  sudo apt remove cinnamon-desktop-environment lightdm   I guess I shouldn't have included light dm. I just replaced install with remove in the code I used to install cinnamon and didn't think it through.  The issue is that in tty1 I can't get past the login because I am not given enough time to put in my password correctly. I put my username and then it almost immediately jumps to "login incorrect" after I hit enter and try to actually put in my password.  I have already tried  Ctrl+Alt+F1 all the way through F7, but no success.  I have also tried booting with a different kernel version from the advanced options. I only have 4.15.0-45 and 4.15.0-44 available and neither worked.  Edit: this keeps getting marked as a duplicate of this post:  But like I've stated above, I have already tried using a different kernel from the advanced options menu to no avail. The other answer requires command lines, but how can I type those before being able to log in?


I have just purchased a GE Cafe gas range. The user guide indicates:     Do not use a wok on the cooking surface if the wok has a round metal ring that is placed over the burner grate to support the wok. This ring acts as a heat trap, which may damage the burner grate and burner head.   Also, it may cause the burner to work improperly. This may cause a carbon monoxide level above that allowed by current standards, resulting in a health hazard.   However, I have read several times on the web that using a round bottom wok with a wok ring yields optimal results when cooking on a gas range.  What do you think?  Source: .


On a pentagon, why is the maximal value of a function that is linear in x, y and z on one of the vertices?

I can't see why this has to be the case.  I've computed the vertices, given the constraint inequalities and equations.  So, now all that's left is to plug in these vertices into the function to find my maximal value.  Can someone explain why I was essentially done with the problem (finding the max) as soon as I found the vertices?


How to create UNIQUE constraint in SSMS 2012

I'm totally new to SQL Server, I use version 2012.  I have a table with the following structure:  Attendance -------------- TagID     (FK) SessionID (FK)        ScanningTime   I need to create a unique constraint based on two columns (TagID and SessionID)  I'm not sure how to do this. I have created a query and tried this code:  ALTER TABLE Attendance ADD CONSTRAINT UNIQUE NONCLUSTERED (     TagID,     SessionID )   But when I try to execute it, I receive this error:     Msg 156, Level 15, State 1, Line 2   Incorrect syntax near the keyword 'UNIQUE'.   What is the proper way to alter the table using SSMS? Should I create a query each time I want to do so?


Using receipt of "" I elaborated  the following code for my needs:  \documentclass{book}  ... \usepackage{expl3}  \begin{document}  \newcommand{\PrintAnswer}[1]{% \InputIfFileExists{#1}{\refstepcounter{subsection}}{\typeout{*** #1 not found ***}}}  \ExplSyntaxOn \cs_new:Nn\PrintAnswerList:n{   \clist_set:Nx\l_csv_clist{#1}   \clist_map_inline:Nn\l_csv_clist{     \typeout{**** Printing ##1.ans}     \ExplSyntaxOff     \PrintAnswer{##1.ans}     \ExplSyntaxOn   } } \PrintAnswerList:n{\inputfiles} \ExplSyntaxOff  \end{document}    It is intended for conditional compilation of a textbook, every chapter of which (eg, 01.tex, 02.tex) writes answers to problems to the file named after the name of the chapter source file, (eg, 01.ans, 02.ans etc). Near the end of the book these files are read in by the macro \PrintAnswer. Usually, I compile only few chapters using the following trick to keep desired chapters in \inputfiles macro:  \typein[\inputfiles]{^^JEnter filename(s) for \protect\includeonly:}   All that works fine, but I was forced to switch off experimental syntax before \PrintAnswer{##1.ans} because otherwise answer files are not processed correctly (in particular, LaTeX complains that the commands for greek letters are not defined and hyphenation is broken). Therefore my question is How can one rewrite the above code using user-level LaTeX3 commands?  I found \SplitList command in xparse package. Can it help?


How can I run command to install software without sudo?

I am trying to install Skype using the command  dpkg -i skype-ubuntu-precise_4.3.0.37-1_i386.deb   It gives me a error:  dpkg: error: requested operation requires superuser privilege   How can I assign superuser privilege to current user so that I can run command without sudo?  Here is my /etc/sudoers file:  # # This file MUST be edited with the 'visudo' command as root. # # Please consider adding local content in /etc/sudoers.d/ instead of # directly modifying this file. # # See the man page for details on how to write a sudoers file. # Defaults    env_reset Defaults    mail_badpass Defaults    secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"  # Host alias specification  # User alias specification  # Cmnd alias specification  # User privilege specification root    ALL=(ALL:ALL) ALL  # Members of the admin group may gain root privileges %admin ALL=(ALL) ALL  # Allow members of group sudo to execute any command %sudo   ALL=(ALL:ALL) ALL   # See sudoers(5) for more information on "#include" directives:  #includedir /etc/sudoers.d   When I run the following command  sudo adduser ehsaan sudo   it gives an error:  The user `ehsaan' is already a member of `sudo'.


When showing list of acronyms using glossaries package, only show those that are mentioned at least 4 times in the document

I'm writing a paper where I have a lot of acronyms. Some are mentioned all the time whereas others only a few. I read that it is possible to create a new glossary and to place all the acronyms that I don't want to show in that list.  I was wondering, though, if there is a way to automate the addition or exclusion of acronyms to the list that is shown based on how often they're used. For example let's say I define  \newacronym{am}{AM}{Additive Manufacturing} \newacronym{osrx}{OSIRIS-REx}{Origins, Spectral Interpretation, Resource Identification, Security, Regolith Explorer}   and two lists, shown_acronyms and hidden_acronyms. In my text I use \gls{am} 10 times whereas \gls{osrx} only twice. Is there a way to make Latex check how many times each one is used and add them to the appropriate list when compiling the document?


Can anyone provide me with an example of a non-trivial group $G$ which is isomorphic to $G\times G$. What is the mapping $G \to G\times G$?


Make specific tray icon always show for all profiles in Windows 7

I'm setting up a Windows 7 machine that will sit out in the open and be shared by a lot of people.  I have added a shortcut to the all users start menu to run a program that sits in the system tray.  I want the tray icon for this program to always be visible by default, no matter who logs in. A user can turn it off on their profile if they really want to, but I need it to at least start out set as always visible.  How can I do this?  I would rather not show all the icons, in part for the same reason they are hidden in the first place: I don't want the clutter.  Also, as this is a public computer there is another program called DeepFreeze running that also has a system tray icon, and I don't want that icon to show all the time.


I am a student learning competition math, and in a past test I found, you need to find the sum of the reciprocals of the roots of the polynomial $x^4-7x^3+4x^2+7x-4 = 0$. I have watched some videos on how to solve higher order polynomials, and I found that I like grouping. However, when I try to solve this with grouping, I end up with $x^4+4(x^2-1)-7x(x^2-1)$ which can be simplified to $x^4 + (x^2-1)(4-7x)$. I am not sure what to do now, and am having trouble figuring it out from here. Any help would be appreciated!


I started learning about the  in my calculus class, and although I understand the material well enough, I'm not really sure what actual applications there are for the series.  Question: What are the practical applications of the Taylor Series? Whether it's in a mathematical context, or in real world examples.


The Question: We can define a set of integers $X_a$$_,$$_b$ = {∀u, v ∈ $\Bbb Z$, au + bv}. For example, if a = 6 and b = 8 then X$_6$$_,$$_8$ includes numbers like 20 = 2$*$6 + 1$*$8 and 4 = −2$*$6 + 2$*$8. Let c be the smallest positive integer in X$_a$$_,$$_b$. Prove that every number in X$_a$$_,$$_b$ is a multiple of c.


How to prove statement about octal numbers

How to prove for any prime $$p \neq \{2,7\}, \exists n \text{ s.t. }p \mid n$$ where n is a number that consists only of 1s in octal base.  I started off but need some direction. I thought of using  $$ 8^{p-1} - 1 \text{ (mod p)} $$  and that  $$ 8^{p-1} - 1 $$ given $(p-1)$ number of 7s in octal form; and that this divided by 7 is all 1s in octal form.


Please help me to identify the Quotient Ring of $T/I$, since $T$ is set of all triangular matrices, and $I$ is set of all strictly triangular matrices and $I$ is ideal in $T$.  For your help I am really appreciate. thanks


Are Snap and Flatpak apps safe to install? Are they "official", approved or tested for a particular distro version?

I don't like installing apps outside my distro's official repositories. Linux's security relies a lot on having a repository meticulously curated and tested for library compatibility with current distro version, stability and security. Once I installed, from outside repos, a fancy terminal emulator that mimicked retro green/amber phosphor monitors. This app wreaked havoc in my system and I had to reinstall Ubuntu. I hesitate a lot about using PPAs as well. I only trust very few external sources, PPAs or packages downloaded from websites. But now Snap and  seems to be all the rage in Ubuntu-specialized sites.  Is it safe to install Snap apps or Flatpak apps? Are there official repos for such? How is stability taken cared of with this non-apt stuff?


how to retain and display the checkbox selection in visualforce paging?

i have a visualforce page where i displays a grid with checkbox selection for each row in it. The issue is when i select the checkboxes in page 1 and navigate to page 2 and comes back to page 1, the checkbox selection disappears(unchecked) in page 1. i need to retain and display the checkbox selections while i moving across the pages back and forth. How can i fix this? please help.


I've got a study with 55 patients having undergone surgery. 80% were happy with the surgery while 20% weren't.  I'm looking at predictors that may be able to predict surgery satisfaction.  The problem is the N is low so I'm not sure if I can run a multiple regression model. I thought perhaps changing the study to an association study using ttest and chi2 and just reporting that? Maybe regularization models?  How would you approach such a study statistically?


How many non-empty subsets are there of the set $\{1, 2, \ldots, n\}$? Give your answer in closed form.

I have been thinking about this question for a while and the subsets of $\{1, \ldots,n\}$ with even sum are one-to-one with the subsets of $\{2, \ldots,n\}$ and those with an odd sum would result in $\{1, \ldots,n-1\}$... I think I am on the right track but how do I write my answer in closed form?


Can I play COD: Ghosts with my Xbox 360 friends if I have an Xbox One?

I have COD Ghosts for xbox one and my brother has it for xbox 360.  I can see him in my friends list from the menu but I can't seem to join his game or invite him to mine.  Is this possible?


Equation of a function after rotation of the plane

I have a function $\mathbb{R}\to\mathbb{R}$, $y=f(x)$. I want to find its equation $y'=g(x')$ when the basis $(x,y)$ is rotated by $a$. $(x',y')= R_a[(x,y)]$, where $R_a$ is the rotation of angle $a$.  I assume that f is symétric (f(x)=f(-x)) and that $g$ is still a function after the rotation !  I thought naively that I could rotate by -a, compute f, and then rotate by a. But this is wrong when $f$ is linear and commutes with $R_a$ ! More precisely, I thought that $$g(x)= P_y \circ R_a (0,f \circ P_x \circ (R_{-a}[(x,0)]))$$, where $P_x$ and $P_y$ are the projectors $R^2 \rightarrow R$ on the two coordinates  Thank you for your help.


It's a few decades old, about a man interacting with a genie. The genie was not very powerful, and could only grant wishes with a cash value of something like $1.97.  And eventually, the man figures out something he wants he can actually wish for...


Is there a Cycles equivalent to Eevee's Bloom Option?

Is there any equivalent option or process to get results equal, similar or better than Eevee's Bloom? If yes, how could I do it? I have an object with Emission Surface on Material in that case it is representing a sun, and the results I need are exactly or a little better than what Eevee's bloom is giving, but, Eevee's mesh render doesn't look as good as Cycles so I was wondering if there was such a thing. Thanks!


What do you call it when people say 'like' a lot?

So like, I like, have like, a like, question, like, you know! Like, is there a, like, term, for, like, when someone, like, talks, like, like this, you know? PS: I'm also curious to know what other words and phrases are often used in conjunction with this style of speaking, e.g. "you know".


Show that there is eigenvector that all composition is real number

If $A$ is a real matrix and $\lambda$ is a real eigenvalue of $A$, then there is a real eigenvector corresponding to $\lambda$.   How can I prove this?


Proof By Induction - $n^2 = \sum_{i=1} ^{n} (2i-1)$ for all $n\geq 1$

Using Proof By Induction I am trying to prove the following:  $n^2 = \sum_{i=1} ^{n} (2i-1) $ for all $n\geq 1$  Here is my solutions so Far:  Base Case: $n=1, LHS: 2(1)-1 = 1, RHS = 1^2 = 1, True$  Induction Hypothesis:  Assume true for $n=k$  $k^2 =\sum_{i=1} ^{k} (2i-1) $ for some $k\geq 1$   Induction Step: Should be True for $n=k+1$  $(k+1)^2 =\sum_{i=1} ^{k+1} (2i-1) $ for some $k\geq 1$   However here is where I get stuck


Does combining hashes from properties make sense?

I'm trying to do the hashing the right way (I admit that I usually can be a bit sloppy there, relying on the automagical management). I think I got it under control but I feel uncertain if it's really the fully correct approach or if I'm missing something (yes, I've read quite a few pages on it but still...).  In my class, I have designed something like this. I'm leaving out the definition of Segment intentionally, because I believe that my approach is correct without knowing it.  public class Compound {   public Segment PartA { get; set; }   public Segment PartB { get; set; }   ...   public int GetHashCode()   {     return PartA.GetHashCode() * PartB.GetHashCode()   } }   The method seems to be safe, as the integers won't overflow but instead wrap around the maximum. The advantage of this approach is to me that both parts will actually affect the hash produced.  I wonder though if I should be using multiplication or addition (or something totally else) when computing it. Do I actually gain anything from hashing in both of the parts? I can't really tell.


Typing a message:    Typing some more:   Browser: Firefox 23


Is  "choose from one of four options" wrong?

I need backup in pressing my case that the phrase “choose from one of four options” is grammatically incorrect. Is there some resource that can prove my case, that the incorrect phrase should be replaced with one of the two following ones?        Choose one of four options   Choose from four options


Is there a way I can set the email address used by php's mail() function without getting caught by spam filters?  If I don't add a from header the email is sent from apache@ip-17....3.us-west-2.co....rnal which isn't the worst name because most mail services just shorten to Apache.  But I would like to have that be noreply.mydomain.com  If I add a from header and put anything else it seems to always get caught by spam but not if just left to default.  My setup is PHP 7 on linux Amazon EC2 Micro


Reduce number of input files for group plot in pgfplots

In the pgfplots groupplot below, I have three sets of data represented by data1, data2 and data3. Each of the data have three subtypes. And I need to plot a graph for each of the subtype. The file data1.dat has data for all the three subtypes. So I manually strip the file into three files as data1-1.dat, data1-2.dat and data1-3.dat.   Is it possible to avoid manually splitting the file and refer to parts of the file. For example to access type1 of data1, I can refer to the first n lines of data1.dat file and to access type2 of data1, I can refer to the next n lines of the same file. The # of lines for each subtype is constant.  \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \pgfplotsset{compat=1.10} \usetikzlibrary{matrix,pgfplots.groupplots}  \begin{document} \begin{figure*} \centering \begin{tikzpicture}[scale=1.0, transform shape]     \begin{groupplot}[group style={group size= 1 by 3},height=5.9cm,width=8cm,xmode=log,log basis x={2}]         \nextgroupplot[ylabel={Type 1},xtick=data]                 \addplot[red,semithick,mark=triangle]   table{Data/data1-1.dat};    \label{plots:data1}                 \addplot[blue,semithick,mark=asterisk]  table{Data/data2-1.dat};    \label{plots:data2}                 \addplot[green, semithick,mark=o]           table{Data/data3-1.dat};  \label{plots:data3}                 \coordinate (top) at (rel axis cs:0,1);% coordinate at top of the first plot         \nextgroupplot[ylabel={Type 2},xtick=data]                 \addplot[red,semithick,mark=triangle]   table{Data/data1-2.dat};                 \addplot[blue,semithick,mark=asterisk]  table{Data/data2-2.dat};                 \addplot[green, semithick,mark=o]           table{Data/data3-2.dat};         \nextgroupplot[xlabel={Input in powers of 2},ylabel={Type 3},xtick=data]                 \addplot[red,semithick,mark=triangle]   table{Data/data1-3.dat};                 \addplot[blue,semithick,mark=asterisk]  table{Data/data2-3.dat};                 \addplot[green, semithick,mark=o]           table{Data/data3-3.dat};                                 \coordinate (bot) at (rel axis cs:1,0);% coordinate at bottom of the last plot     \end{groupplot}     \path (top-|current bounding box.west)-- node[anchor=south,rotate=90] {\small Throughput} (bot-|current bounding box.west);     \path (top|-current bounding box.north)-- coordinate(legendpos) (bot|-current bounding box.north);     \matrix[matrix of nodes, anchor=south, draw, inner sep=0.2em, draw] at ([yshift=1ex]legendpos)     {         \ref{plots:data1}& data1&[5pt]         \ref{plots:data2}& data2&[5pt]         \ref{plots:data3}& data3\\     }; \end{tikzpicture} \label{fig:throughput} \end{figure*} \end{document}   Output: