Finite Groups With Exactly Two Automorphisms

Is there an easy way how to characterize the groups with exactly two automorphisms?  I was able to find the following finite groups with exactly two automorphisms: $\mathbb{Z}_3$, $\mathbb{Z}_4$, $\mathbb{Z}_6$.


Is the casting of the Charm Person spell obvious?

Charm Person has verbal and somatic components.  Is there anything in the rules as written that defines how obvious those verbal and somatic components are?  Would it be obvious the caster was casting a spell from 5 feet away?  From across a crowded room?  I'm specifically interested in an answer based on the rules as written, although interpretation and individual opinion are not unwelcome.


Where exactly is the $PATH variable stored? I am changing the /etc/environment file with my desired path. Then I am doing echo $PATH and the old version is showed.


I'm trying to use the Windows 7 search to look for a file name within a file like this:  content:"reports.asp"   Instead of getting just files that contains "reports.asp" I am also getting files that contains "reports". I have also tried this because I thought I have to escape the character:  content:"reports\.asp"   How can I modify my search so that I am only getting files that contains "reports.asp"?  [UPDATE] I have checked  and it appears that it did not help me. I have tried using the suggestion as follows:  content:"reports~=.asp"   But I get the same result as if I just used my first search parameters.


Drawing piecewise-defined function using TikZ

I have a function f(x):=\hat{f}(x-\lfloor x\rfloor), where  \hat{f}(x) =     \left\{ \begin{array}{lcl}   2x   & \mbox{for} & 0\leq x\leq \frac{1}{5} \\   \frac{1}{2}+\frac{1}{3}(2x-1) & \mbox{for} & \frac{1}{5}\leq x \leq1             \end{array}\right.   I am going to draw f(x) on the domain [-2,2] in latex via the tikzpicture. My idea is the following: Divide [-2,2] into pieces in order to define one function and draw. But I am pretty sure there is a more clever way to draw it.  \begin{tikzpicture}   \draw[->] (-2,0) -- (2,0) node[right] {$x$};   \draw[->] (0,-2) -- (0,2) node[above] {$y$};   \draw[scale=0.5,domain=0:0.2,smooth,variable=\x,blue] plot ({\x},{2*\x});  \end{tikzpicture}


How do I turn off all the password prompts?

I've been using Ubuntu 12.04 LTS since release and am trying to figure out a couple things about all of these passwords and key-ring prompts that I've just been living with for a while.  Ever since install it seems that every time I boot up my computer and want to do anything (ie. use the internet, use a internet browser, install something, delete something, pick my nose) I'm always prompted for either a normal password entry or a key-ring password entry.  Is there anyway to turn off all of this "security" and tell my Ubuntu that it can trust what I'm doing and go take a shower?


Is the general word order of this sentence correct?     We investigate how strong the effect of X on Y is.   Or, as an alternative,     We investigate how strong the effect of X is on Y.   In a preprint for a scientific publication I came across the formulation:     We investigate how strong is the effect of XZY.   and now I'm all confused.


Can you prove that if $\mid D_n \mid = m$, where $m$ is odd, then $n$ is a perfect square.

$n,m \in \mathbb{N}$ and $D_n$ is the set that contains all divisors of $n$, including $1$ and $n$. My Claim: if $\mid D_n \mid=$ an odd number $\iff n$ is a perfect square. and indeed Using Ordinal Numbers.the number $$\frac{\mid D_n \mid+1}{2}.$$ in the set $D_n$: is the $\sqrt{n}$. I didn't found a counterexample so far. if it exists just post it and I will delete the question. Thank You.


How does one request an updated header image for a particular site?

This question is about a minor change to a header image on the Mathematica Stack Exchange site.  For background information, see:         It's hard to tell what the status of a request to Stack Exchange is. For a while it looked like this image changeover was imminent. Then things have gone very quiet (since the end of May).  My questions:   What is the process for getting (minor) changes like these completed? What expectations on timelines should one have (days, weeks, months, years)? Have other people here had success with making changes like this and, if so, do you have any advise on how to complete this?   Thank you for reading.


For what (symmetric) distributions is sample mean a more efficient estimator than sample median?

I have labored under the belief that the sample median is more robust measure of central tendency than the sample mean, since it ignores outliers.  I was therefore surprised to learn (in the answer to ) that for samples drawn from a normal distribution, the variance of the sample mean is less than the variance of the sample median (at least for large $n$).  I understand mathematically why this is true.  Is there a "philosophical" way of looking at this that that would help with intuition about when to use the median rather than the mean for other distributions?    Are there mathematical tools that help quickly answer the question for a particular distribution?


I want to split a string into parts, to retrieve arguments.  I already made that function:  static private string getparam(string input, int index)     {         string[] arrparams = input.Split(' ');          if (arrparams.Length <= index) return "";          return arrparams[index];     }   But when i pass an argument like:  upload C:\Visual Studio  it will see "C:\Visual" as the first argument and "Studio" as the second and split em.  Now i thought about making something like an exception in the Split-Function: When the argument is given between quotes, it should ignore the spaces in it.  Then, when i pass the arg like this: upload "C:\Visual Studio", the first argument should be C:\Visual Studio  So how could i implement this?   Thank you.


Can I triple boot windows 7, ubuntu 13.04 and kubuntu?

I have ubuntu 13.04 and windows 7.  I heard that kubuntu is more like windows, so I wanted to try it.  Is it possible to triple boot them?  If it is can you tell me how to.  I have installed ubuntu on a partition.


When resetting tablet, Google password won't authenticate

I was told to reset my RCA Viking Pro 10 but now it keeps asking for Google account verification which I have input a minimum of 10 times. It keeps saying it is incorrect. The Google password works fine on my phone but not this device. I've even reset my password. How do I get past this?


Shuffling an array of integers for making secure key pad

I have created a method that shuffles an array of integers between 0 to 9 to make a secure key pad for a page in my website. I have made it like:  int[] array = new int[10] {0,1,2,3,4,5,6,7,8,9}; List<int> numbs = new list<int>(); Random r = new Random(); for (int i = 0; i < array.Lenght;i++) {    Boolean b = true;    while (b){       if (i == r.Next(10)){           numbs.Add(array[i]);           b = false;       }    } }   I know that this code has a very poor performance because the Random must generate a random number again and again and I don't know how many times it should run to generate a value which is equal to i. So, I wanna know what the best way to randomize the int array is.


I have several files as follow :   multiview_action.tgz.part-aa   multiview_action.tgz.part-ab ... ... multiview_action.tgz.part-ap     I tried the following command :   tar -zxvf multiview_action.tgz*   I got the following error :  gzip: stdin: unexpected end of file tar: Fin prématurée rencontrée dans l'archive. tar: Error is not recoverable: exiting now


Why, in spin sums, we sum over final spin states and average over initial states?

I am reading Halzen's book about quarks and leptons and on page 120 he talks about spin sums.  He says that in order to calculate the amplitude between unpolarized states we have to sum over FINAL spin states and average over INITIAL states. Why is this so? why not sum over initial states and average over finals, or sum over initial and final spin states and average also over initial and final states?


I told my friend “Enjoy your coffee.” and she answered “I’ll!”  It took me a second to realise it was “I will!” Why is the first one wrong and the second version not? I know it’s wrong but I don’t know why.   Thanks.


The line $l_1$ has the equation $r=(6i+2−2k)+λ(4i+5j−k)$ and the plane $π_1: 2x−y+4z=4$, the line $l_2$ is the reflection of $l_1$ in the plane π1. Find the exact vector equation of line $l_2$   So the line intersects the plane when $λ=−2$, giving the point $(−2,−8,0)$ which will be common on $l_1$ and $l_2$. I have managed to get a direction vector of $(92/21i + 206/21j +26/21k)$ but I don't think this is right. Any help would be appreciated.


I'm trying to write a basic program in C using gedit or sublime text (which I prefer), but no matter what I do when I try to compile or run, or even while writing, I have no option to use 'stdio.h' or any similar package. Even when I start typing #include <st the only word completion sublime suggests is 'struct'.  I've read dozens of threads, but all managed to fix this by installing gcc, which I've tried to reinstall multiple times, with no luck.  This is the output from gcc -v:  Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper OFFLOAD_TARGET_NAMES=nvptx-none OFFLOAD_TARGET_DEFAULT=1 Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.2.0-8ubuntu3' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 7.2.0 (Ubuntu 7.2.0-8ubuntu3) `   This is the code:   #include <stdio.h>  int main(void) { printf("hello, world\n"); }   When I compile using gcc, I get nothing, no error at least. but when I try to run using just ./hello.c this is what I get.


/etc/fstab file no longer working when writing on a NTFS disk

My Macbook Pro runs 10.6.8 and I have a NTFS 500G disk. In order to write into the disk, I had tried to edit the /etc/fstab file. It did work for years, but recently, I found it do not work and I don't know why.  Can anyone tell me why it has stop working and how to fix it?  I know installing some softwares can solve this problem, but I prefer to know why the /etc/fstab file invalid now.


How was Moody captured by Wormtail and Barty Crouch Jr?

At the start of Harry Potter and the Goblet of Fire, how was Alastor Moody captured?  Why was he able to be captured by Wormtail and Barty Crouch Jr?  After all Alastor Moody was the most powerful Auror, and single-handedly captured dozens of Death Eaters.  Also, didn't he place protective enchantments around his own home?


How do you call on a function that has yield in repl in python?

I was trying to learn how to use yield inside functions, but every time I added yield to the function I couldn't call it. I followed a tutorial and made this def infinite_sequence():     num = 0     while True:       yield num       num += 1  but when I called infinite_sequence()  it didn't work. It did work work when I took out yield. Stopped working when I added return. Started working again when took return. Why does this happen? Do you need to call on functions differently when you add in yield or return? Is it just repl?


I have problem with my SQL Server 2008 R2 instance. I want to log in using windows authentication and server name "local", but error 2 is returned. I've tried to login with a server name of "IP address of my server" but again it failed. Does anybody know what should I do?  Error message:     A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 2)


The distinction between infinitely differentiable function and real analytic function

I have known that all the real analytic functions are infinitely differentiable.   On the other hand, I know that there exists a function that is infinitely differentiable but not real analytic. For example,  $$f(x) = \begin{cases}  \exp(-1/x),  & \mbox{if }x>0 \\ 0, & \mbox{if }x\le0 \end{cases}$$ is such a function.  However, the function above is such a strange function. I cannot see the distinction between infinitely differentiable function and real analytic function clearly or intuitively.  Can anyone explain more clearly about the distinction between the two classes?


What is $ \lim_{n\to\infty}\frac{1}{e^n}\Bigl(1+\frac1n\Bigr)^{n^2}$?

How to solve the following limit question? $$\lim_{n\to\infty}\frac{1}{e^n}\Bigl(1+\frac1n\Bigr)^{n^2}$$  Thanks a lot.


My Girlfriend is in the USA on an E3 work visa which ends in April. She plans on moving back to Australia when the E3 Visa ends but she needs to stay here to see The Rolling Stones in May!! So my question is.. can she just apply for a travel visa while she is already In the country and stay longer without having to go back to Australia? And how would she go about extending her stay a month or two? She will no longer be working after the E3 ends .


My model texture is for some reason "glicthing", whenever i move the camera it randomly "glitches" in different places, like if it had 2 overlapping textured faces, but theres only one.  What am i doing wrong?  [edit] I had the mirror modifier  on, it was mirroring my texture and overlapping with itself causing the "glitching" effect


I cannot load Ubuntu in ACER 10 because i an very new in this community and i need help in about ubuntu.

I have a laptop ACER 10, and when I try to load Ubuntu I get back an error that says:  This kernel requires an x86-64 CPU, but only detected an i686 CPU -please use a kernel appropriate for your CPU.    Please let me know what to do, in order to load Ubuntu.


How far can one get in analysis without leaving $\mathbb{Q}$?

Suppose you're trying to teach analysis to a stubborn algebraist who refuses to acknowledge the existence of any characteristic $0$ field other than $\mathbb{Q}$.  How ugly are things going to get for him?  The algebraist argues that the real numbers are a silly construction because any real number can be approximated to arbitrarily high precision by the rational numbers - i.e., given any real number $r$ and any $\epsilon>0$, the set $\left\{x\in\mathbb{Q}:\left|x-r\right|<\epsilon\right\}$ is nonempty, thus sating the mad gods of algebra.  As @J.M. and @75064 pointed out to me in chat, we do start having some topology problems, for example that $f(x)=x^2$ and $g(x)=2$ are nonintersecting functions in $\mathbb{Q}$.  They do, however, come arbitrarily close to intersecting, i.e. given any $\epsilon>0$ there exist rational solutions to $\left|2-x^2\right|<\epsilon$.  The algebraist doesn't find this totally unsatisfying.     Where is this guy really going to start running into trouble?  Are there definitions in analysis which simply can't be reasonably formulated without leaving the rational numbers?  Which concepts would be particularly difficult to understand without the rest of the reals?


Packages are not installing, many "unable to locate" errors

I am trying to install packages using apt-get: root@ubuntu:/# sudo apt-get install build-essential libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext unzip Reading package lists... Done Building dependency tree Reading state information... Done Package libcurl4-gnutls-dev is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Unable to locate package build-essential E: Unable to locate package libssl-dev E: Package 'libcurl4-gnutls-dev' has no installation candidate E: Unable to locate package libexpat1-dev E: Unable to locate package gettext E: Unable to locate package unzip  My main goal is to install package make , which I need to manually install a lower version of PHP This is what happened: root@ubuntu:~/php-5.4.31# make The program 'make' is currently not installed. You can install it by typing: apt-get install make  And then I go on and do apt-get install make root@ubuntu:/# apt-get install make Reading package lists... Done Building dependency tree Reading state information... Done Package make is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'make' has no installation candidate  I am running Ubuntu 14.04.1 LTS on a virtual machine (Hyper-V) if that helps


I logged in today to find that my icon has been switched to one of the default patterns. Now I can just put it back, but the icon I have been using is a sprite from a video game so I wanted to make sure it wasn't removed for copyright issues or something similar. I've used it for years without issue, but if any website were to notice and remove it for that reason this would be the one.   Here is the icon in question:


I need to find the $k$'th derivative of $1/p(x)$, where $p(x)$ is a polynomial and $k\in\mathbb{R}$  It dosen't have to be an explicit formula, an algorithm which finds a formula for some $k$ is fine.


Is it acceptable to splice a circuit in two opposite directions for outdoor recepts/lighting?

Per the 2011 NEC, is it acceptable to...   Splice a circuit (using a junction box indoors) as long as I leave it exposed, use the correct wire connectors, and have it covered?  Use this run one side of the spliced wire to a pair of GFCI outlets at the base of my house(outside), and the other to a switch (inside) and then to a flood light (outside)?   So can I splice and can I have outdoor receptacles on same circuit as outdoor light?  Also, If anyone knows what section either of these are covered in the 2011 NEC and could tell me that would be great too!


Is it possible to mute your computer through the command-line interface?

Currently, I can press the mute button on my keyboard, making my sound turn off. Is it possible to do this through cmd.exe so that I can run it with other things I have in that program?


Why is blowing so different than sucking?

Why is it so easy to blow out a candle from a significant distance, but nearly impossible to suck enough air to do the same?  Even without focusing the airflow through a nozzle or something, this affect seems to be present. For example, it's easy to feel the air coming out of a box fan, but very hard to feel the air going into one.


If every prime ideal in a ring $R$ is finitely generated, then $R$ is Noetherian?

Let $I$ be an ideal of a ring $R$ such that $I$ is not finitely generated but every ideal properly containing $I$ is finitely generated. Then I is prime.   Based on this result it can be proved that if every prime ideal in a ring $R$ is finitely generated, then $R$ is Noetherian.   Assume by contradiction. Let $I$ be a proper ideal of $R$ which is not finitely generated. Then $I$ is contained in a maximal ideal ideal $M$ of $R$ and hence prime. I am having difficulties in showing that $I$ is finitely generated. I think to show that if $J$ is an ideal that properly contains $I$ is finitely generated.  Would you help me please? Thank you in advance.


Why did Mycroft and Sherlock disguise themselves to meet Eurus?

In Sherlock S04E03 we see Mycroft disguised as a fisherman along with John Watson to let Sherlock (impersonating a security official) meet Eurus. Time and again in this episode as well as the previous ones, it has been clearly mentioned that Mycroft holds a respectable position in the government; infact he himself is the British Government. Without the direct orders of Mycroft, no one is allowed to diagnose Eurus or even talk to her.   So couldn't Mycroft just order the Sherrinford authorities to let Sherlock meet Eurus.  Why did they undertake so much trouble for the meeting?


I need to find the departure and arrival times for a flight that was delayed last December, is there any way I can do this without having to pay a subscription?  The flight was from Edinburgh to Paris CDG


I had a perfectly working CentOS 7. Then, while installing some programs (and unfortunately I am unable to backtrace it) it seems the xorg and xorgxrdp conflicted with some RHEL repository and I couldn't update xrdp/xorgxrdp.  Then, on this site, I luckily found a way to go around it and performed the following steps to get the xrdp working again.   sudo yum -y install https://archive.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/x/xorgxrdp-0.2.9-1.el7.x86_64.rpm  sudo yum install xrdp  sudo systemctl daemon-reload sudo systemctl enable xrdp sudo systemctl start xrdp   Now, even though my RDP session from Win to Linux works, the bigger problem remains which is that I am unable to update. How do I go around fixing this?  Pls see the error below:  sudo yum update Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile  * base: ftpmirror.your.org  * centosplus: ftpmirror.your.org  * elrepo: ord.mirror.rackspace.com  * epel: ord.mirror.rackspace.com  * extras: ftpmirror.your.org  * rpmfusion-free-updates: muug.ca  * updates: ftpmirror.your.org Resolving Dependencies --> Running transaction check ---> Package xorgxrdp.x86_64 0:0.2.9-1.el7 will be updated ---> Package xorgxrdp.x86_64 0:0.2.10-4.el7 will be an update --> Processing Dependency: xorg-x11-server-Xorg(x86-64) = 1.20.4 for package: xorgxrdp-0.2.10-4.el7.x86_64 --> Finished Dependency Resolution Error: Package: xorgxrdp-0.2.10-4.el7.x86_64 (epel)            Requires: xorg-x11-server-Xorg(x86-64) = 1.20.4            Installed: xorg-x11-server-Xorg-1.20.1-5.6.el7_6.x86_64 (@updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.6.el7_6            Available: xorg-x11-server-Xorg-1.20.1-3.el7.x86_64 (base)                xorg-x11-server-Xorg(x86-64) = 1.20.1-3.el7            Available: xorg-x11-server-Xorg-1.20.1-5.el7.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.el7            Available: xorg-x11-server-Xorg-1.20.1-5.1.el7.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.1.el7            Available: xorg-x11-server-Xorg-1.20.1-5.2.el7_6.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.2.el7_6            Available: xorg-x11-server-Xorg-1.20.1-5.3.el7_6.x86_64 (updates)                xorg-x11-server-Xorg(x86-64) = 1.20.1-5.3.el7_6  You could try using --skip-broken to work around the problem  You could try running: rpm -Va --nofiles --nodigest   Can someone please help me in fixing this? from what I am reading, it seems the RHEL 7.6 is conflicting with another version? However, I do have EPEL enabled.  sudo yum repolist all | grep enabled base/7/x86_64                                   CentOS-7 - Bas enabled: 10,017+2 centosplus/7/x86_64                             CentOS-7 - Plu enabled:      103 cr/7/x86_64                                     CentOS-7 - cr  enabled:        0 docker-ce-stable/x86_64                         Docker CE Stab enabled:       52 elrepo                                          ELRepo.org Com enabled:      124 epel/x86_64                                     Extra Packages enabled:   13,367 extras/7/x86_64                                 CentOS-7 - Ext enabled:      435 rpmfusion-free-updates/x86_64                   RPM Fusion for enabled:      247 updates/7/x86_64                                CentOS-7 - Upd enabled: 2,484+16 virtualbox/7/x86_64                             Oracle Linux / enabled:       70


90s/2000s TV show : man uses government time machine to fix national problems

This is a TV series from the early 2000s (maybe the late 90s). It was on prime time TV in the US.  There is a government agency that has a time machine that allows the main character to jump back in time a day or a week - I can't remember exactly, but it couldn't send you very far back in time.  I recall one episode where a terrorist releases some sort of virus from a lab that kills lots of people, including someone important (maybe the President?). The first symptom is a bloody nose. The hero has to go back over and over to stop the outbreak, each time getting closer and closer to the culprit before he breaks the vial that contains the virus. When he finally succeeds, he is the only one infected, but they immediately quarantine him and give him treatment.


“ into the driveway” or “ onto the driveway“?

I’m not sure which one is correct ? Drive into the driveway or drive onto the drive way ? Thanks.


What is the point of the depressible peg on a quick release plate?

Many tripod quick release plates have a plastic or metal peg near the screw.  You can press down on the peg, and then when you release it, it pops back up.  I've looked at photos of many camera bottoms, and I haven't seen any camera that has a hole that the peg would fit into.  What is the purpose of this peg?    I just got a smartphone tripod adapter, and this adapter has some concave areas on the bottom part that sits flush against the quick release plate.  As I was screwing the adapter onto my tripod's quick release plate, the peg on the plate got caught in one of the concave areas and then got ripped out of the plate.  I'd like to know the purpose of this peg before deciding if I can get rid of it.


How is "point" in geometry undefined? And What is a "mathematical definition"?

How is "point" in geometry undefined? I mean, when we say "A point in geometry is a location. It has no size, i.e., no width, no length, and no depth," is it not a definition?  If it is not a definition, then how can we know whether some statement is definition or not? What are the characteristics of a definition in math?


I am writing a resume using the scrartcl,currvita, and classicthesis packages. Everything else is fine but I have run into a problem correctly justifying some dates along the right side of the page. When I use the command '\NewEntry', as defined below, it leaves a small white space of about 0.5em at the right side of the page, even though I have used /hfill. If I add the line manually instead of using a function, it does not do this, as shown in the picture. I have attached all of the code that I think is relevant. Can someone explain to me why it is doing this? Obviously I could just hand code it every time or correct it with /hspace(-0.5em) but I would much prefer to use a function.  \documentclass[11pt]{scrartcl} \reversemarginpar % Move the margin to the left of the page   \usepackage[nochapters]{classicthesis}  \usepackage[LabelsAligned, NoDate]{currvita} \usepackage{marginnote} \usepackage{color}  \usepackage[letterpaper,top=0.35in, bottom=0.15in, left=1.5in, right=0.5in,marginparwidth=1in,marginparsep=0.25in]{geometry}  \newcommand{\NewEntry}[2]{\raggedright\noindent\hangindent=2em\hangafter=0 \textsc{\bf#1}  {\hfill\small\textit{#2}}  % Define a command for each new block - change spacing and font sizes here \vspace{0.15em}} % Add some white space after each new entry  \begin{document}   \pdfpageheight 11in  \pdfpagewidth 8.5in  \thispagestyle{empty} % Stop the page count at the bottom of the first page  \begin{cv}{}  ---------------  \NewEntry{University of the Pacific}{Expected May 2016}  \raggedright\noindent\hangindent=2em\hangafter=0 \textsc{\bf University of the Pacific} \hfill {\small\textit{Expected May 2016}}  \end{cv}  \end{document}


Can I speed up iCloud photo sync between iPhone and Macbook?

I have an iPhone 5 running iOS 9.1 and a Macbook Pro running Yosemite.  Both devices are set up to sync photos to and from iCloud.  When I take a photo on the iPhone (for further processing on the Macbook), it takes an inordinate amount of time until the photo shows up in the Macbook's photos library - sometimes up to 10-20 minutes. Sometimes it seems to work faster if I quit the Photos app on both devices, and start it again.  I often end up sending myself photos through E-Mail because it's quicker. That seems ridiculous!  Is there a way to force a sync on the iPhone, or to speed up the process some other way?


Badges are great, as well as achievements - they encourage people and make discussion, asking question and answering more fun. There are standard badges, which are cool, but from time to time I'm thinking: "Ouch, would be could if there would be an achievement for this...". Is there a way for community to propose new badges? What I can think of are:   Answering in less than 1 minute and getting your answer accepted Getting reputation to some specific number: prime number, 1337, 31415 Answering more than, say, 30 questions a day for the question with the same tag


Cannot get minted and beamer to work together in MikTex

Edit: This was solved by changing \begin{frame} to \begin{frame}[fragile] as suggested by @ulrike-fischer. Here is a detailed answer:     I want to use Rust and Listings does not support it, as far as I could see. So I wanted to use minted, but there are some problems with the beamer document-class. There are some related topics here, but I couldn't find a solution that solves my case.  This is my minimal code:  \documentclass{beamer}  \usepackage{minted}  \begin{document} \begin{frame} \begin{minted}{Rust} fn main() {     println!("Hello World!"); } \end{minted} \end{frame} \end{document}   This works fine, the export is what I want. So it shouldn't be connected to a failing python lib or something:  \documentclass{article}  \usepackage{minted}  \begin{document} \begin{minted}{Rust} fn main() {     println!("Hello World!"); } \end{minted} \end{document}   If it helps, these are the last lines from the log file:    Extraneous input ` fn main() { println!("Hello World!"); } \end {minted} \end {beamer@frameslide}\ifbeamer@twoscreenstext \beamer@dosecondscreennow {\begin {minted}{Rust} fn main() { println!("Hello World!"); } \end {minted} }\fi \ifbeamer@anotherslide \advance \beamer@slideinframe by 1\relax \relax \expandafter \iterate \fi \let \iterate \relax \beamer@writeslidentry \beamer@reseteecodes ' between \begin{minted}[<key=value>] and line end . \FV@Error ... {FancyVerb Error: \space \space #1 }  l.12 \end{frame}  This input will be discarded. Hit <return> to continue.  ) Runaway argument? ! File ended while scanning use of \FancyVerbGetLine. <inserted text>                  \par  <*> ...chris.000/Documents/Uni/SiW/min_example.tex  I suspect you have forgotten a `}', causing me to read past where you wanted me to stop. I'll try to recover; but if the error is serious, you'd better type `E' or `X' now and fix your file.  ! Emergency stop. <*> ...chris.000/Documents/Uni/SiW/min_example.tex  *** (job aborted, no legal \end found)```


jQuery Dynamic Element Click Handler Nor working

I am just creating simple example of jQuery events for dynamic elements. I am unable to execute the click handler. Anything I am doing wrong here?  $(document).ready(() => {     $('#addTrip').click(addATrip);      $('table#myTrips tr td button').click(function(evt) {         alert($(evt.currentTarget).attr('list-item'));     })        $('table#myTrips tr td button').on('click', function(evt) {         alert($(evt.currentTarget).attr('list-item'));     }); });  var listItem = 7; function addATrip() {     listItem++;     $('#myTrips tbody').append(`         <tr>             <td>                 <button list-item="${listItem}">Click Mee</button>             </td>         </tr>     `) }   HTML Code  <table id="myTrips">         <tr>             <td>                 <button list-item="5">Click Mee</button>             </td>         </tr>         <tr>             <td>                 <button list-item="6">Click Mee</button>             </td>         </tr>         <tr>             <td>                 <button list-item="7">Click Mee</button>             </td>         </tr>     </table>       <button id="addTrip">Add Trip</button>   Appreciate your help.  Thank you, Ankit


Can a time-shifted Brownian motion be also a Brownian motion

Let $T<\infty$, $(\Omega,\mathcal F,P)$ a probability space carrying a standard $d$-dimensional Brownian motion $(B_t)_{t\geq 0}$ and $(\mathcal F_t)_{t\geq 0}$ the natural $\sigma$-algebra filtration generated by $(B_t)_{t\geq 0}$, $\mathcal F=\mathcal F_T$. $(A_t)_{t\in[0,T]}$ is an absolutely continuous $R$-valued and strictly increasing $(\mathcal F_t)$-adapted processes satisfying $A_0=0$. Note that for a fixed $t\in[0,T]$, $A_t$ is a $\mathcal F_t$-stopping time.  If we define $\tilde B_t:=B_{A_t}$ and $\tilde{\mathcal F}_t:=\mathcal F_{A_t}$, then we have that $\tilde B_0=0$, $E[\tilde B_t]=0$ for each $t$, and $\tilde B_t-\tilde B_s$ is independent of $\tilde{\mathcal F}_s$, but $E[\tilde B^2_t]=E[A_t]$. So $(\tilde B_t)$ is not a Brownian motion under $P$.  I am wondering that if we can find an appropriate probability measure $\tilde P$ to make $\tilde B$ a standard Brownian motion under a new probability space $(\Omega,\tilde{\mathcal F},\tilde P)$?  My attempt: To make $(\tilde B_t)$ a Brownian motion, we only need to make it satisfy the Gaussian distribution $G$, so define the corresponding probability measure $\tilde P(\tilde B_t\in A):=G(A)$ for each $A\in\mathcal B(R^d)$.   I reffere to Theorem 3.4.6 in pp.174 of Brownian motion and stochastic calculus authored by Ioannis Katatzas and Steven Sherve, second edition. By this result, $(\tilde B_t)$ is a sandard Brownian motion if $(A_t)$ is a $\mathcal F_t$-martingale. Without this restriction, I can not obtain my desired result.


Load jQuery 3 for one script only, then revert to 1?

I've got an issue with jQuery.  Since WordPress "refuses" to update the jQuery 1, and I need a higher one to run a simple script containing the function $.trim, is there anyway to just load jQuery 3 for just that script, and then revert to jQuery 1?  I tried the plug-in that "updates" the jQuery, but then did bootstrap complain that it can't run on jQuery 3 and above..  As you so might realise with this question, I'm a newbie regarding jQuery and JavaScript..  so is there any "temp load new jQuery and unload it after script finished" way?  Edit: the following error is displayed in the console:  (index):1599 Uncaught TypeError: Cannot read property 'trim' of undefined     at HTMLOptionElement.<anonymous> ((index):1599)     at jquery.js?ver=1.12.4-wp:2     at Function.grep (jquery.js?ver=1.12.4-wp:2)     at z (jquery.js?ver=1.12.4-wp:2)     at a.fn.init.filter (jquery.js?ver=1.12.4-wp:2)     at (index):1599   This is the short jQuery I'm trying g to run:  jQuery('select option').filter(function() { return !this.value || $.trim(this.value).length == 0 || $.trim(this.text).length == 0; }).remove();


Vertical spacing inside beamer \titlepage, got "Token not allowed in a PDF string..."?

I'm trying to separate (with a vertical spacing) the word "Me" from "Prof: My professor", basically putting the latter on a new line. This works fine, but I've got a warning:      Package hyperref Warning: Token not allowed in a PDF string (Unicode):   (hyperref) removing `\vskip' on input line 31.   Should I care? How can I remove the warning, mantaining the vertical spacing?  % titlepage settings \title[My title]{My long title} \author[Me]{Me \vskip25pt \footnotesize Prof: My professor} \institute{University of Foo\\My title} \date{18 luglio 2013}


I need to create a batch file to copy certain files (e.g., 19_1_White.jpg) to a folder within the directory. How can I do this?


Is it logic operators or logical operators / arithmetic operators or arithmetical operators. I'd expect both cases to be the same (either have the al suffix or not), and I usually check Google when I"m not sure, but in this case I'm not getting consistent results:  logic operators: 77k results logical operators: 343k results arithmetic operators: 434k results arithmetical operators: 10k results


Just thinking out loud here and hoping for a second opinion.  I just got a RPi3 that I am loving. I was looking at using it as a remotely accessible WOL server. The PC I am trying to reach is dual-booted with Windows 10 and Ubuntu 17.10 in which I have configured VNC access to each. I got to thinking that even if I configure the WOL server and I send the magic packet, I still won't be able to choose what OS will be loaded (because AFAIK the magic packet isn't capable of relaying this sort of information).  So, Option 1) Write a python script that can change the grub configuration file to specify the preferred default boot option. Assuming the Ubuntu drive/filesystem is accessible from Windows, a python script would be written accordingly. More easily, a different python script would be made to run in Ubuntu (to make it easier than plainly editing the grub conf file).     Option 2) Not sure if this is even possible but what if I hosted a symlinked (via some intermediate cloud service) grub conf file on the RPi? This way, I wouldn't have to worry about changing the grub conf file from Windows OR Ubuntu, I could just do it on the RPi. What I'm not sure about here is when the change made on the RPi will be accessible to grub in relation to a boot sequence.   I'd appreciate any feedback regarding a more efficient way of accomplishing the above, issues/feasibility regarding the above, miscellaneous ideas, etc. Thanks!


Proof for indexed family of sets and intervals in real analysis

I am asked to either prove or disprove the following statement. $\cap_{\textrm{x} \in (1, \infty)}$ (-x, x+1] = $\left[-1,2\right]$ I attempted to show that each side was a subset of each other however, I am stuck trying to show that the right side of the equation is a subset of the left side. Can anyone assist?


passing shell variable to awk and get awk output in shell variable

I have passed argument to myscript.sh that returns a value in variable m. Problem is that I am  not able to pass shell variable (runvalues) to awk script that search for a pattern. Therefore value of m is NULL always runvalues=2; m=$( awk -v d="$runvalues" '/internal=d/{p=NR} p && /Cp=/{print FILENAME; exit}' $1) ;   I run script as myscript.sh file1.txt, where file1.txt contains runvalue internal=1  runvalue internal=2 runvalue internal=3


Its/ their, which one is the most correct?

It is one of the companies that..  Removed background music from its stores.  Removed background music from their stores.


How to determine if a point falls on a vector given 2 points and a unit vector.

So I have point A, and point B, with let's say coordinates (1,3,5), and (7,8,9) respectively. Then I have a unit vector C, (0,1,0). How would I find if point B lies on the vector that's created, from A going in C's direction.  I guess another way to put it is, find if the line between (1,3,5) and (1,4,5) crosses (7,8,9). But to do it in a more elegant way using vector operations like dot products or cross products  Edit: Sorry, my mistake. I edited unit vector C so it's length 1 and point B accordingly.


Were "green eyes" ever mentioned in the movies?

Harry having "green eyes like Lily" is an important point in the books as discussed here:    However, for the movies, that didn't work out. According to supplemental materials on DVDs for Philosopher's Stone, Daniel Radcliffe had to wear green contacts and after the first day of shooting (which was for the ending scene where the trio says good bye to Hagrid at the end of the year) it was discovered he was allergic to the contacts. So, Harry never had green eyes in the movies.  Also, when casting Lily, JKR explicitly stated that she didn't care about anything except she and harry had to have same eyes, no matter what color.  So, my question is, was that "same eyes as Lily" continuity successfully implemented in all 8 films?  More specifically, did they ever mention film-incorrect (green) eye color in the films?


Does Google special-case for Stack Overflow?

I just noticed something which I think is pretty cool ():  Inside the search results, Google includes the number of answers and the date a certain question was asked (even more intriguing: these values are properly localized).  Is this Google special-casing for Stack Overflow, or does Stack Overflow somehow provide these values from within the page itself?


Is expectation value of the Hamiltonian always the energy?

There are time dependent & space dependent systems (magnetic fields) and time independent (particle in a box or harmonic oscillator). In the latter the expectation value is the 'average' energy and it works out nicely, but does this apply even if the Hamiltonian is dependent on time? because you don't have a nicely worked out energy value (as with the oscillator) but regardless of what the energy actually looks like is the expectation value the same that is it the total energy?


I know there are many similar questions like this but I am not sure why my code doesn't work. Basically, what I am trying to do is to initialize a 2D array to all 0s, get user input (row, column), and set the position to 1. def printBoard(positions):     for row in positions:         print(row)  def main()     x= int(input())     column = [0] * x     Board= [column] * x     printBoard(Board)     for i in range(x):         row, column = map(int, input().split())         Board[row][column] = 1         printBoard(Board)  main()  But the output is now what I expect. >>>2  [0, 0] [0, 0] >>>1,1 [0, 1] [0, 1]  As you can see, the whole column is changed. May I ask why?


Google Authenticator after an iphone motherboard replacement

A little while back my iPhone X started having motherboard issues and was unable to be booted up. I was using Google Authenticator to store many accounts, some of which may be impossible to get to without those codes. From what I understand Google Authenticator is tied to your hardware, and as a result when I restored my icloud backup to a new phone, the Google Authenticator keys are lost. This leaves me no choice but to try to get the old iPhone working so I can safely restore an iCloud backup to it and have the google authenticator codes appear again. If it’s the same phone this will work fine. The question is: If the phones motherboard is replaced, does that effectively change the hardware so much that google authenticator won’t recognize it as being the same phone?


Remove "Category Archives: title" at the top of a category page

I created a category page that's linked to the main menu. It posts the categories fine, but it has the text "Category Archives:________" at the top of the page. Does anyone know to remove this. I'm using the twenty eleven theme.


Word for someone who says exactly what they are thinking

Is there a word for someone who would say exactly what they are thinking. Sort of if there is this boy named Bob, and whenever he has something on his mind he just says it out loud.


Why does it take so long for the computer to respond with "invalid password", when using a correct password is near instant?

When you enter a password and it's correct the response is practically instantaneous (i.e. the log on process).  When you enter an incorrect password (accidently, forgotten, etc) however, it takes a while (10-30 seconds) before it responds that the password was incorrect.  Why does it take so long (relatively) to say "incorrect password"?  This has always bugged me about entering incorrect passwords on Windows and linux (real and VM); I'm not sure about mac OSX as I can't remember if it's the same, been awhile since I last used a mac.  EDIT: for the sake of duplication, I'm asking in the context of a user logging on to the system at the physical computer rather than through ssh which could conceivably use somewhat different mechanisms to log in/validate credentials.


The Sun bends planets' trajectory and speeds up it towards the perihelion; does it both actions with light?

The Sun bends planet's trajectory and speeds up it towards the perihelion; does it both actions with light? If it speeds up light too, then does it mean that gravity is a consequence of a vortex that transports massive objects, as well as light vibrations, like a highway does to vehicles? I read an answer on PSE site about the vortex-like effects of a star to two identical masses, where these masses have different net velocities when moving at a same distance around that star, one in direction of the possible vortex and the other in counter direction of the vortex.


Windows 10 not responsing on USB connectting

I have 2 Windows Computers, and both are not responding on USB Connecting. The USB is a Sandisk 32 GB USB 3.0 stick, and there are important files on it. How can I access to it? If i connect it, i cannot launch programs, open menu, i cannot do anything. Thanks


How to compress 'odd/even number of times'?

If A occurs exactly two times, one could say "A occurs twice." If A occurs exactly three times, one could say "A occurs thrice." etc.  Not being a native English speaker, I don't know how to properly name these words that compress the expression for "number of occurences", however, I've found articles online that have expanded their realm of existence beyond the numerals of 1, 2 and 3, such as "septence" for 7, etc.    I wonder if there are 'compression words' like this for "odd" and "even number of times". I would find these words extremely useful. There are words like that in Czech, I am however unable to find their English equivalents. Do they exist?


There are many more that three visible wavelength in the visible EM spectrum, and yet we can model any color using only three primary RGB wavelength. Perception of an arbitrary color is equivalent of perception of a linear combination of only three fixed wavelengths that correspond to Red, Green, and Blue.  On the other hand, as far as I know, there seem to be no auditory "primary colors": you cannot fool an ear into believing that it hears an arbitrary frequency by starting with a small finite number of primary frequencies.  The question is about human olfactory sense: is it possible to fool the nose into believing it smells an arbitrary odor by offering a combination from a small collection of "primary smells"?


I have tried everything. I cannot get this centered on the screen.  It just sits on the left of the webpage. Thank you for any help.   .form {     margin-top: 29px;     margin-left: 130px;     padding-top: 63px;     padding-left: 350px;     padding-right: 40px;     background-image: url(form.png);     background-repeat: no-repeat;     height: 100px;     width: 100px;     position: center;      overflow: hidden; }

»FORMULAR

     <form action="/action_page.php">       Nume:
       <input type="text" id="fname" name="fname" placeholder="Ion">
       Prenume:
       <input type="text" id="lname" name="lname" placeholder="Popescu">
     <input type="submit" value="Trimite">   </form>


Is it possible to enable USB Debugging (Install via USB) on Redmi phone without signing into Xiaomi account?

I am trying to debug an android app using my Redmi S2 phone (android 8.1) but there is a problem. Even though I can enable USB Debugging in developer options, I am unable to enable "Install via USB" option. It asks for a Xiaomi account which I don't have (and don't want to open). As per , its possible but not without rooting. Mine is a relatively new phone and I don't want to root it just yet. Is there any other trivial way to enable the Install via USB option? EDIT My question differs from the linked one in that I don't want to root my phone or sign into a Mi Account to enable "install via USB". I'm looking for a solution that doesn't involve these workarounds.


How can i display total number of node created by individual user?

I have created one block by using view, which display author details on each node page,   Here is the link by which the block has been created,now i want to display total number of node  and total number of work viewed created by individual user on the same block which has been created above.    The way on this link is working fine for displaying all user but its not working after adding CONTEXTUAL FILTERS (nodes) Content: Nid | Aggregation setting by which this block will be able to display on each node.  Please suggest something.  Thanks


How to mention user in comments with non-ascii name?

Many times I wanted to post a reply in comments to some people with a names, that contain some characters, that I don't have on my keyboard. Auto-completion with @ doesn't always work, so I'm confused - how can I mention those people?  Even if write his name - how can I be sure, that the name is correct? That he will be notified?


Bootstrap methodology. Why resample "with replacement" instead of random subsampling?

The bootstrap method has seen a great diffusion in the last years, I also use it a lot, especially because the reasoning behind is quite intuitive.  But that's one thing I don't understand. Why Efron chose to perform resample with replace instead of simply subsampling by randomly including or excluding single observations?  I think that random subsampling has one very good quality, that is represent ideally the real life situation in which the observations we have in our study are a subset of an hypothetical population. I don't see the advantage of having multiplied observations during resampling. In a real context no observation is similar to another, especially for complex multivariate situations.


Fedora command-line installation proposals

How to force Fedora command-line to give me proposals for installation of package when a missing command is typed?  Now when I type git the command-line tells me :  -bash: git: command not found   Before it gave me proposal (something like this):  Command not found. Install package 'git' to provide command 'git'? [N/y]   I made a clean installation of Fedora 24 and obviously this feature is missing. I tried to dnf install command-not-found but it couldn't find the package. What should I do to bring this feature back?


Inserting a PDF Record as attachment Maximum view state size limit (135KB) exceeded

I thought maybe I can do a work around of this issue "Maximum view state size limit (135KB) exceeded" by having the user insert all the document into salesforce first then select the documents that they want and then Ill do a merge and insert it into Document. but I am still getting the same error "Maximum view state size limit (135KB) exceeded. Actual view state size for this page was 1,112.297KB  "   public with sharing class MultiDocController {       Blob b;   public MultiDocController() {           docNames = new List<SelectOption>();           for (Document d :documents = [SELECT Id, Name , Body                          from Document Where FolderId =: UserInfo.getUserId()  AND ContentType = 'application/pdf']){             docNames.add(new SelectOption(d.Id,d.Name));          }      }             String M =(String)JSON.deserializeStrict(responseBody,String.class);             b = EncodingUtil.base64Decode(M);             System.debug('Blob here' + b);          Document record = new Document( FolderId = UserInfo.getUserId() ,AuthorId=UserInfo.getUserId(); Name='Tes'+'.pdf', Body = b ,ContentType='application/pdf;charset=UTF-8');         System.debug('Record' + record);         insert record;         done();   I am using Component and I am not sure what else to share here. but I need to by pass that Error.  and by the way samething happens if I do attachment record instead of Document record  Component   <apex:component controller="MultiDocController" allowDML="true">     <apex:attribute name="objId" type="String" description="The id of the object to manage attachments for" required="true" assignTo="{!sobjId}"/> apex:form id="frm">              <apex:commandButton action="{!save}" value="Click" reRender="frm"/>         <!-- </apex:pageBlock> -->     </apex:form> </apex:component>


Flow Rate Calculation from a drain tank through a pipe

I want to know how to calculate the flowrate (Q) of a drain tank flowing through a pipe (see the figure below)  All I know is that Q=Velocity(V) x Area (A)  V= sqrt(2*g*H)=sqrt(2*9.81*10)=14m/s.  I believe this is wrong since we are not considering the friction in the pipe. How can i calculate the Exact Q of this problem. assuming the material of the pipe is known.


I can't seem to fit my bike pump onto my son's bike. The tires are too small, and there isn't enough of a gap to put the head of a bike pump on the valve.  Are there any valve extenders (not permanent) that I can use when I need to inflate his bike tires?


What does ${1+"$@"} mean in a shell script, and how does it differ from "$@"?

In the Perl documentation,  suggests launching Perl scripts using a bilingual shell/Perl header:  #!/bin/sh #! -*-perl-*- eval 'exec perl -x -wS $0 ${1+"$@"}'     if 0;   What does ${1+"$@"} mean?  I tried using "$@" instead (using Bash as /bin/sh), and it seems to work just as well.    Edit  Two answers below say that it's supposed to be ${1:+"$@"}.  I am aware of the ${parameter:+word} ("Use Alternate Value") syntax documented in bash(1).  However, I am unconvinced, because   Both ${1+"$@"} and "$@" work just fine, even when there are no parameters.  If I create simple.sh as  #!/bin/sh eval 'exec /usr/bin/perl -x -S -- $0 "$@"'     if 0; #!perl use Data::Dumper; print Dumper(\@ARGV);   and question.sh as  #!/bin/sh eval 'exec /usr/bin/perl -x -S -- $0 ${1+"$@"}'     if 0; #!perl use Data::Dumper; print Dumper(\@ARGV);   I can get both to work identically:  $ ./question.sh  $VAR1 = []; $ ./question.sh a $VAR1 = [           'a'         ]; $ ./question.sh a 'b c' $VAR1 = [           'a',           'b c'         ]; $ ./question.sh "" $VAR1 = [           ''         ]; $ ./simple.sh  $VAR1 = []; $ ./simple.sh a $VAR1 = [           'a'         ]; $ ./simple.sh a 'b c' $VAR1 = [           'a',           'b c'         ]; $ ./simple.sh "" $VAR1 = [           ''         ];  Other sources on the Internet also use ${1+"$@"}, including  who seems to know what he's doing.   Perhaps ${parameter+word} is an undocumented alternate (or deprecated) syntax for ${parameter:+word}?  Could someone confirm that hypothesis?


Why does the less-than sign not work as a replacement for cat in bash?

I heard about "useless use of cat" and found some suggestions, but the following outputs nothing in my bash shell.  < filename   Using cat works as expected though.  cat filename   I'm using Fedora Core 18 and GNU bash, version 4.2.45(1).  EDIT: Using it in front of a pipe doesn't work either.  < filename | grep pattern   Whereas using cat works as expected.  cat filename | grep pattern   EDIT2: To clarify, I know that I can use this  grep pattern < filename   but I read here  that I can also use it in front of the command. It does not work in front of the command though.


In the prime integer factorization of $n!$, if $p$ is a prime number and $p$ is a number in this factorization, it's exponent is in the form:  $\alpha =\lfloor \frac{n}{p}\rfloor +\lfloor \frac{n}{p^2}\rfloor  +\lfloor \frac{n}{p^3}\rfloor +\ldots $. My thoughts were: $n!=n(n-1)\ldots 3\cdot 2 $ $n=\sum_{i=1}^\infty p_i ^{\alpha_{n_i}}, (n-1)=\sum_{i=1}^\infty p_i ^{\alpha_{(n-1)_i}}, \ldots \Rightarrow n!=\sum_{i=1}^\infty p_i ^{\alpha_{2_i}+\alpha_{2_i}+\alpha_{3_i}+\ldots+\alpha_{n_i}}$  Therefore I now "only" have to show that   $\alpha_j=\lfloor \frac{n}{p_j}\rfloor +\lfloor \frac{n}{p_j^2}\rfloor  +\lfloor \frac{n}{p_j^3}\rfloor +\ldots =\alpha_{2_j}+\alpha_{2_j}+\alpha_{3_j}+\ldots+\alpha_{n_j}$    My thoughts on that were to show it by proving that the inequalities in both directions do not apply, and therefore equality must be truth, but I don't really know how to do it.


When I trying to scale/grab/rotate face or verticle,it works to whole mesh, like in object mode, but selection is working


Can not load 50 more random posts in 10K tools when handling specific type of flags

When we handle flags through 10K tools we get 50 random posts in the flags tab via  and at the bottom we have a link which loads 50 more random posts which redirects to the same page (in other words it just refreshes the page). That is fine.  Now if we select a specific type of flags. E.g. 67 X not an answer. it will redirect us to  which also loads 50 random posts and at the bottom of page it says:     Showing 50 random posts; get    But you can see that 50 more link redirects us to https://stackoverflow.com/tools/flagged which should be https://stackoverflow.com/tools/flagged?flagtype=answernotananswer IMO. Because I am on specific flag type page.  PS: I just earned that privilege few days ago. So not sure whether it's a bug or by design. In Meta we rarely get few flags so I don't have experience here.


I am familiar with the idea of a , but are there any criteria to mark or identify one? Can a rhetorical question be recognized alone or does it need surrounding context?   It doesn't seem like there is a single syntactic method to distinguish them (the wiki article mentions a 'rhetorical question mark' that really didn't catch on, but that's not really syntax, just punctuation in writing).  If there are no syntactic markers, what semantic criteria are there that could say that a sentence is a rhetorical question?


Issue with installing Ubuntu onto my Virtual Machine

I have watched many videos, but all seem to not have the issue I am having. I try to install Ubuntu for Virtual Box but every time it is requiring me to burn Ubuntu onto a disc, is there a way so that it is not necessary to burn it onto a physical disc? They call it an ISO image. Thanks.


Trying to use "\~" to generate tilde symbol in math mode

$$ = \sum_{e \in A} w(e)    = \sum_{e \in A} w(e)+ \sum_{e \in \{(r,v)| v \in V(G)\}} w(e)     = w( \~{A} ) $$   I get the following error message:     Error: Please use \mathaccent for accents in math mode for the following code   I'm not sure what's wrong with it. I'm in math mode by using $$  $$, am I not?


I'm working my way through this paper:   In Section 2 (pretty much right off the bat) he gives his determinant-less proof that every finite-dimensional complex linear operator has an eigenvalue. First he says that a vector and its images under the transformation, repeated n times, can't be linearly independent, and defines $a_i$ to be the coefficients of the linear combination.  $$ a_0v + a_1Tv + \cdots + a_nT^nv=0 $$  Then he makes a (non-matrix) polynomial of those coefficients and factors it.  $$ a_0 + a_1z + \cdots + a_nz^n = c(z-r_1)\cdots(z-r_m) $$  The above holds for any complex number $z$. I understand everything so far, but then he has this step, which seems to use the first equation as a polynomial of matrices:  $$ 0=(a_oI + a_1T + \cdots + a_nT^n)v = c(T-r_1I)\cdots(T-r_mI)v $$  This seems totally non-obvious to me. I can sort of see this as an analogy with the factorization of the regular polynomial, and I verified it by hand with a generic 2-dimensional T, but I'm not sure why it works in the general case.  My main questions:   What justifies the last step? Does it necessarily use the 2nd equation, or is that just sort of by analogy? In the last part, we've basically factored a polynomial of matrices. The "roots" are all constants times the identity matrix. Is this always true, or could the roots be any matrix?


Prove function is continuous at x = 0.5 and discontinuous at every other point

Given $f = x ,  x \in \mathbb{Q}$ and $f =1 -  x ,  x \notin \mathbb{Q}$  I am trying to see this using sequence approach but couldnot get to it


How to create a Dictionary with any types in Type variables?

Currently im facing the problem I need to create an instance of Dictionary with any type of its cases. The types are delivered by the arguments of the method.  I do not simply want to create a dynamic or object type Dictionary, because this faces the user alot of convertion problems by using my library.  I also cannot use a simple constructor, because my method fills the Dictionary with data (that is stored in a file) in real. It's important to create the specific dictionary by Type variables. This is what im thinking of:  public static Dictionary<dynamic, dynamic> createDict(Type type1, Type type2) {     // how to create the dictionary?     // im filling my dictionary with any data ...     return dict; }   Here the user calls my method:  Dictionary<string, int> dict = MyLib.createDict(typeof(string), typeof(int)); // or MyOwnType myInstance = new MyOwnType(); Dictionary<string, MyOwnType> dict = MyLib.createDict(typeof(string), myInstance.GetType());


PHP - Unix timestamp to DateTime string, maintaining milliseconds precision

I have a timestamp      1457459333506 (Tue, 08 Mar 2016 17:48:53 GMT)   This should be Unix timestamp with milliseconds. I want to write this as a string, so I'm using   $dt = new DateTime("@$unixTimestamp"); echo date('Y-m-d H:i:s.u', $unixTimestamp) . "
";   But the output is 2016-06-08 22:09:22.000000  This is obviously wrong, and has no milisecond precision. So I've tried  echo date('Y-m-d H:i:s.u', $unixTimestamp / 1000) . "
";   Which outputs as 2016-03-08 17:48:53.000000 (correct, but also has no milisecond precision).  How can I get this to output correctly as: 2016-03-08 17:48:53.506 ?


Database throughful design vs Quick and dirty design comparison

Take the representation of an Address, here below is a complete and very detailed implementation:    here instead is a quick implementation (which more or less contains the same fields, imagine all fields in the former are contained also in the second)    If I were to decide which is the closer to a normalized and academically correct one I'd say the first one, however if I were to start a project I would go with the second.  Do you agree with this consideration? And if yes, how does one deal with this fact?   start with an easy database and as soon as it is time improve it into a more normalized/academical database. start with something as close as possible to the academical database stick with the quick and dirty solution


How can I get particles to emit with a rotation based off of the rotation of the face it was emitted from

I'm relatively new to blender and I would like to get this hexagon model to emit rotated toward the face it was emitted from. Here's what I have,   If you are confused about something I said, I can clarify some more.


How do I see Recent Documents per Application in the Windows 10 Start Menu?

I just moved from Windows 7 to 10.  The Windows 7 start menu would show me recent documents.  I found this convenient.  It looked like this:    Now in Windows 10, I don't see a "Recent" list lie in Windows 7.  Instead I see this ugliness.  Is there a way to get some sort of recent list when I hover over an application icon?


I'm using prof Hyndman's fpp2 package in R to generate dynamic regression model with auto.arima. I want to see the R2, but it's not shown in the summary output. Just wonder it's not an important metric in dynamic regression? is it possible to quickly generate it?  thank you all.


i am using PDO package to manage my application database. i use PDO::prepare , PDOStatement::execute and somtimes PDO::quote , PDO::query / PDO::exec to excute my queries  are PDO::prepare and PDO::quote completely secure? or shoud i make more work to properly validate my inputs.not only for databaase but for php code either Thank you


I know several questions were asked about the difference between "going to" and "will". Based on several answers (see, for instance, ,  and ), I understood that "will" is more spontaneous and "going to" is used with more planned actions.  So, it seems that everything is pretty fine. However, in , Kosmonaut has an answer in which he states: "Let's say that tomorrow you will walk your dog from 7 - 8 AM".  On the one hand, you probably planned to walk your dog long before and thus I should use "Let's say that tomorrow you're going to walk your dog from 7 - 8 am".   On the other hand, since I'm saying "let's say...", I'm deciding right now (thus, unplanned) that you will walk your dog. So, even though in this hypothetical situation you made a plan, I'm in a more spontaneous mood deciding right now that that's what you will do tomorrow, and, thus, I should use "will".  Which one (if any) of the above explanations is right?


Identifying a resistor with a weird band combination

I am currently in the process of trying to repair a power supply that has had one of its DC rails fail. A resistor in the PSU has exploded and I am trying to find what value it is.    Band 1: White Band 2: Brown Band 3: Silver (Possibly Grey?) Band 4: Gold Band 5: Green    The weird thing is that the middle band appears to be silver, which should be invalid as far as I can tell. If you assume the silver is grey (although this is unlikely, as there still needs to be a grey colour as well and the band is metallic), it produces a value of resistor which is incredibly uncommon to the point it does not exist (91.8 Ohms 0.5%).  Apologies for the noobie question, I'm just stumped after hours of trying to understand why this is and coming up short :).


So i've ran into what is probably a common issue when designing a page object model based framework. For this specific example I am using Cypress (So JavaScript) but the problem exists for all PoM based setups.  Currently the way I have designed the framework is by breaking large pieces of the page into "Page Components". These are children of the PageObject class (but just smaller). Typically they make up obvious chunks of the page (IE: A Login form would be it's own component, a Header would be a "Common" component", etc...)  Typically these components ONLY model the UI. So their methods are aimed at returning elements OR filling in inputs. IE: fillInEmail getLoginButton etc...  The actual PageObject for that specific page pulls in all the "Components" for that page and created public methods that the test scripts will use. For example Login() will use the LoginFormComponent fillInEmail/fillInPassword/getSubmitButton.click()/etc... methods. This abstracts the test scripts into readable/obvious functions. It also helps break up larger more complex pages.  The issue I have ran into is with large forms with multiple inputs. I see a few options of how I can handle it:   Create a method that takes an object (or fixture) in the Page Component for that Form (IE: the form itself is a component). The Page Component handles inputting everything and doing all the dirty work (IE: filling in/selecting/clicking based on the fixture/object passed). (This is what I am currently doing) The Page Component simply returns all the inputs as different methods (Keep in mind sometimes it can be 6-7+ inputs) and the Page Object handles all the dirty work within a public method (IE: filling in inputs/selecting/clicking based off the methods the Component passes to the page object). This would require sending an object/fixture in the test script itself for that method. Break the Form inputs into individual discrete methods (IE: one input is one page component). I think this is probably going to far and doesn't really do anything to abstract the page personally.   All of these feel not great. And despite me currently going with option #1...I don't like that either (As I am going against my own setup by handling larger behavior in the "PageComponents" which are really meant to just model the page.   It's also hard to figure out how to pass the data for the large amounts of inputs. I've been using an object but passing an object into the test script feels ugly. Any advice on handling this?


How do I remove extra row generated in longtable?

I don't know why this happen in longtable its generated extra row at the bottom of the table which is unwanted row, Please somebody help me to solved this problem here is my MWE   \documentclass[10pt,a4paper]{article}  \usepackage[left=0.5cm]{geometry} \usepackage{datatool}  \usepackage{filecontents} \usepackage{siunitx} \usepackage[all]{tcolorbox}  \usepackage{graphicx,booktabs,xstring,datatool,xintexpr,longtable} %for including eps graphics  \usepackage{multirow,colortbl,xfp}   \begin{filecontents}{data.csv} ID,Name,January,February,March,April,May,June,July,August,September,October,November,December ABC01,Mr. ABC,1,3432,54,54,54,56,54,54,54,54,54,54.25 ABC02,Mr. ABC,2,354,234,234,234,80,234,234,234,234,234,234 ABC03,Mr. ABC,1,544,343,343,343,0,343,343,343,343,343,343 ABC04,Mr. ABC,0,3423,343,343,0,0,343,343,343,343,343,343 ABC05,Mr. ABC,1,34,434,434,0,0,434,434,434,434,434,434 ABC06,Mr. ABC,2,0,42,42,0,0,42,42,42,42,42,42 ABC07,Mr. ABC,25,0,3432,3432,0,0,3432,3432,3432,3432,3432,3432 ABC08,Mr. ABC,23,0,343,343,343,0,343,343,343,343,343,343 ABC09,Mr. ABC,12,0,43,43,43,0,43,43,43,43,43,43 ABC10,Mr. ABC,0,0,90,90,90,0,90,90,90,90,90,90      ,Mr. ABC,34,0,0,0,0,0,0,0,0,0,0,0      ,Mr. ABC,44,12,0,0,0,0,0,0,0,0,0,0 \end{filecontents} \newcounter{Serial} \newcounter{SerialN}   \DTLloaddb{name}{data.csv} \begin{document}    \centering   \edef\numberofrows{\DTLrowcount{name}}% \DTLsumcolumn{name}{January}{\JanT} \DTLsumcolumn{name}{February}{\FebT} \DTLsumcolumn{name}{March}{\MarT} \DTLsumcolumn{name}{April}{\AprT} \DTLsumcolumn{name}{May}{\MayT} \DTLsumcolumn{name}{June}{\JunT} \DTLsumcolumn{name}{July}{\JulT} \DTLsumcolumn{name}{August}{\AugT} \DTLsumcolumn{name}{September}{\SepT} \DTLsumcolumn{name}{October}{\OctT} \DTLsumcolumn{name}{November}{\NovT} \DTLsumcolumn{name}{December}{\DecT}   \begin{longtable}{|c|l|c|c|c|c|c|c|c|c|c|c|c|c|c|} \hline \rowcolor{green!20}\bf\rotatebox{90}{\hspace*{1mm}Sl.~No.} & \bf{\raisebox{3.5ex}{Name}} & \bf\rotatebox{90}{January}& \bf\rotatebox{90}{February}& \bf\rotatebox{90}{March} & \bf\rotatebox{90}{April}&\bf\rotatebox{90}{May} & \bf\rotatebox{90}{June} & \bf\rotatebox{90}{July} & \bf\rotatebox{90}{August} & \bf\rotatebox{90}{September}& \bf\rotatebox{90}{October} & \bf\rotatebox{90}{November} & \bf\rotatebox{90}{December}& \bf{\raisebox{4ex}{Total}}\\\hline \endhead  \DTLforeach*{name}{\name=Name,\jan=January,\feb=February,\mar=March,\apr=April,\may=May,\jun=June,\jul=July,\aug=August,\sep=September,\oct=October,\nov=November,\dec=December,\id=ID}{% build table   \IfSubStr{\id}{DBC}{\stepcounter{Serial}}{} \IfInteger{\theSerial}{\stepcounter{SerialN}}{}  \theSerialN &\name&\jan&\feb&\mar&\apr&\may&\jun&\jul&\aug&\sep&\oct&\nov&\dec&\\\hline }\\\bottomrule \multicolumn{2}{|c|}{\it Total} & \JanT&\FebT&\MarT&\AprT&\MayT&\JunT&\JulT&\AugT&\SepT&\OctT&\NovT&\DTLtrunc{\result}{\DecT}{2}\result& \\     \hline  \end{longtable}  \end{document}


How to calculate the division and remainder of a big number manually

Let $x = 2017^{2017}$. How can I manually determine:   The remainder of the division of $x$ by $31$ The least significant digit of $x$


Website not appearing on Bing.com: what am I doing wrong?

my website fails to appear on Bing. I can't figure why, although I've tried:  resubmitting sitemap through Bing webmaster tools resubmitting Robots.txt through Bing webmaster tools  What am I missing?


g++ shows "undefined reference" for methods of a template class, but they match their prototypes

I have a template class defined like this:  closedlist.h  template <typename T> class ClosedList { public:     // …      bool isEmpty () const { return (size() == 0); }      T first () const;     T pop_first ();      void push_back (const T &value);     ClosedList& operator << (const T &value) { push_back(value); return *this; }      int size () const { return _size; }  private:     // … };   Then, I have defined the functions in another file, like this:  closedlist.cpp  #include "closedlist.h"  template <typename T> T ClosedList<T>::first () const {     // …     T elem;     // …     return elem; }  template <typename T> T ClosedList<T>::pop_first () {     // …     T elem;     // …     return elem; }  template <typename T> void ClosedList<T>::push_back (const T &value) {     // … }   If I change the method implementation, e.g. adding or removing the const behind it, g++ shows me an error that the method does not match any prototype. So I guess g++ finds the correct prototype for the function. But I get these errors:  obj/someclass.o: In function `SomeClass::doSomething()': src/someclass.cpp:231: undefined reference to `ClosedList<Solution>::pop_first()' src/someclass.cpp:326: undefined reference to `ClosedList<Solution>::push_back(Solution const&)' obj/someclass.o: In function `ClosedList<Solution>::operator<<(Solution const&)': include/closedlist.h:69: undefined reference to `ClosedList<Solution>::push_back(Solution const&)'   Note: I read  but since the question is from 2009 and I'm using C++11 I'm wondering if this is still like that. Other web pages showed like  (sorry it's in German) shows code where the members are defined outside of the class definition.


Illustrator: is there a way to add area type with colored backgrounds to a library

So I created a set of text boxes, that I styled with different colors, but the same paragraph style and area type options. I want to put these in a library so I can grab them and type identifications so I can use them as tab style labels on various projects. When I try and add them to the library I get a notification about advanced type styles not being added and only adding the simple styles. What's the best way to proceed? Is there a way I can make like a link to the master file to grab elements as I need them (I thought that was the purpose of the libraries)? Is there a workaround like making them symbols and then adding it? Any help would be appreciated.


So junk will be used if you don't have the raw material.  What about weapons and armor?  Will these stay safe or will it scrap them once it runs out of junk?  What about items that don't turn into junk at all (like bubble gum)?


How many Access Points will be needed to accommodate 350 users?

In a few weeks, I'll be helping with the technical aspects of a conference. One of the things that participants will need is access to to documents, via a laptop as a document server (set up with MAMP and a PHP/MYSQL site). People will access the documents through an internal wireless network.  My question is how many wireless access points will I need in order to accommodate about 350 devices?


Why does this button object cause a stack overflow?

void OpenClean( int i, int j) {          bnt[i, j] = new Button();         if (!bnt[i,j].Enabled) return;          bnt[i, j].Enabled = false;         bnt[i,j].BackColor = Color.Aquamarine;         bnt[i, j].Text = data[i, j].ToString();         if (data[i, j] == 0) {              if (i > 0 && j > 0 && data[i - 1, j - 1] == 0) OpenClean(i - 1, j - 1);             if (i > 0 && data[i - 1, j] == 0) OpenClean(i - 1, j);             if (i > 0 && j < 8 && data[i - 1, j + 1] == 0) OpenClean(i - 1, j + 1);             if (j > 0 && data[i, j - 1] == 0) OpenClean(i, j - 1);             if (j < 8 && data[i, j + 1] == 0) OpenClean(i, j + 1);             if (i < 8 && j > 0 && data[i + 1, j - 1] == 0) OpenClean(i + 1, j - 1);             if (i < 8 && data[i + 1, j] == 0) OpenClean(i + 1, j);             if (i < 8 && j < 8 && data[i + 1, j + 1] == 0) OpenClean(i + 1, j + 1);         }  It tells me Process is terminated due to StackOverflowException. Because of my limited experience,I didn't find an effective way. This question has been bothering me for a long time. Please help or try to give me some ideas how to solve it. Thanks in advance!


Convert a column into a comma separated list

I have the task of creating a simple Excel sheet that takes an unspecified number of rows in Column A like this:  1234 123461 123151 11321   And make them into a comma-separated list in another cell that the user can easily copy and paste into another program like so:  1234,123461,123151,11321   What is the easiest way to do this?


How to 'enter' as soon as you press a key?

I have a program where a certain sound is played corresponding to a key pressed on the keyboard. But every time I press a key, I have to press Enter for the sound to be played. What I actually want to do is to press the key without having to press Enter and a sound should be played. How can I do this?  I'm using Windows 10. Here is my code:  while(1) {   cin>>button;    switch (button)   {     case 'q':      PlaySound( TEXT("C:\\Users\\Gumm\\Downloads\\real sound of notes\\ardha chapu.wav"),NULL,SND_SYNC );     break;      case 'w':                PlaySound( TEXT("C:\\Users\\Gumm\\Downloads\\real sound of notes\\chapu"),NULL,SND_SYNC );     break;      case 'e':     PlaySound( TEXT("C:\\Users\\Gumm\\Downloads\\real sound of notes\\dheem"),NULL,SND_SYNC );     break;      default:     printf("No sound");   } }


Spending few hours more than the “duration of stay”, that mentioned in the Schengen visa can make any problem?

I'm from Tunisia and I got a Schengen visa from the Austrian Embassy for 28 days, the “duration of stay”, and the number of entries is 1 and the validity of the visa is from 02/08/2015 to 13/09/2015. So I have to stay only 28 days. I booked a fly ticket My plane is going to land in Vienna at 18h sunday the 9th of August and my departure will be at 18h30 Sunday the 6th of September.  That's mean the arrival is on Sunday the 9th of August, and the departure is Sunday the 6th of September.  It is looking like I'm going to spend 29 days that's mean one day more than “duration of stay” but I'm going to spend 28 days and 30 minutes. Is there any problem or I have to change my ticket?


When a dagger is used to indicate a note, must it come after an asterisk?

The  (†) has several meanings. Possibly its most common use is as a footnote marker.  According to  (, 1953), when it is used for this purpose, it must be used for second footnotes only; the first footnote should be indicated by an asterisk (*), the third a double dagger (‡) and further footnotes other symbols or numbers.  Where does Patridge's rule fall on a scale of one to ten, where one is "this is just one guy's random opinion" and ten is "this is a widely accepted rule of English and any deviation from it is unarguably incorrect"?  This question was inspired by  about the use of daggers on Stack Exchange site .


I have the following situation:  $ ls 0.txt  aaa.txt  a-.txt  a.txt  b.txt  ddd.txt  -hello.txt  libs  -.txt  ,.txt  !.txt  ].txt  \.txt $ ls [-a]*.txt ls: opzione non valida -- "e" Try 'ls --help' for more information. $ ls [a-]*.txt ls: opzione non valida -- "e" Try 'ls --help' for more information.   The dash (-) creates some problems. How can I find a file starting with -?


Regular expression to match a line that doesn't contain a word

I know it's possible to match a word and then reverse the matches using other tools (e.g. grep -v). However, is it possible to match lines that do not contain a specific word, e.g. hede, using a regular expression?   Input:  hoho hihi haha hede   Code:  grep "<Regex for 'doesn't contain hede'>" input   Desired output:  hoho hihi haha


How to write to a file in SD Card if one is inserted?

Currently, I can save the file in the same directory of the project. I'd like to save some data in a text file and save this file in an SD card if any is inserted to my board (BeagleBone Black). Otherwise, if no card is inserted, the file should be saved to the current location.  I know that the following sequence is required to do this task directly in terminal:  # Check if some card is inserted under the usual name fdisk -l | grep mmcblk0p1 # if something returned, then a card is inserted sudo mkdir /media/sdcard/ sudo mount /dev/mmcblk0p1 /media/sdcard/ cd /media/sdcard/ touch data.txt umount /dev/mmcblk0p1   I thought about calling these commands in my C program using system function. But I don't know how to check if the first command has returned something or NULL.  I have two questions:  1- Is using the above commands is the best way to check if an SD card is inserted?  2- How to check the output of a command run by system?


How do I wire a GFCI to provide continuous power to a dishwasher and switched power to a garbage disposal?

I am replacing a regular three pronged outlet with a GFCI for my disposer and dishwasher. There is a white, black, red and ground. How do I install it so as to keep constant power to the dishwasher, and the disposer on a switch? I have tried several different configurations and I have either gotten, power and no switch, or green lite on the GFCI and the disposer won't run.


import java.util.Scanner;  public class Checkdate {      private static Scanner mon;      public Checkdate(String x) {         if (x == "feb") {             System.out.println("lol");         }         else {             System.out.println("rofl");         }     }      public static void main(String args[]) {         String g;         mon = new Scanner(System.in);         System.out.println("Enter string");         g = mon.next();         final Checkdate che = new Checkdate(g);     }  }   this is just a simple program..even if i enter feb it shows rofl..i cant figure out whats wrong please help...


Global nginx error pages without redirect

I'm wondering if it's possible to have a global error_page directive in nginx without redirecting (changing the URL in the browser's address bar).  I know this is possible by using a named location, but global error pages are declared in the http block, which doesn't allow location directives. I have a number of vhosts in my configuration and I'm trying to avoid adding this to current and all future vhosts.  I'm currently using nginx 1.3.0 if that makes a difference.


Given an Android phone, how can I find out what custom and stock ROMs are compatible?

I've recently started trying to dabble in custom ROMs, or even just trying to boost an old phone with a newer version of Android, but there doesn't seem to be a conclusive place online to find out what ROMs are supported by what phones (and how to root any given phone), what ROMs are available out there in the world in general, it all seems a bit... messy!  So here's my example for my question: I have an , how can I find out what ROMs I might be able to install?


How to install Oracle 11g Enterprise Edition x86 on Ubuntu 18.04?

I want to install oracle 11g Release 2 Enterprise Edition on Ubuntu 18.04. How do I install that? the question is not about express edition since the installation is different than entreprise edition so it's not a duplicate question.


How can I quickly turn all objects of a layer to independent layers in Illustrator?

Lets suppose I have 10 objects in the root layer of my project named layer 1. Now lets suppose I quickly want to turn all those object as independent separate layers all at the root level. Is selecting individual object and pressing on collect in new layer the only way?  Is there a quick method of selecting all the objects and doing something to turn them all into layers at once?


"He forgot his enmity to Manfred, whom he saw but little hope of dispossessing by force; "  I'm reading a novel called The castle of Otranto.   And I'm confused the usage of 'but' in the sentence above.   Does it have the same meaning without 'but' ,and 'but' can be removed?  Thank you for reading!


Book or short story about an empty city with deadly traps

Many years ago I read a book or story where a group of people discover a dark city - maybe on another planet - which appears devoid of life but is in very good condition. As they gradually explore the city one of the them falls into a trap and is cut to pieces by something mechanical. This detail I can remember as it was a pretty gruesome idea. I don't know the ending but my guess is that none of them make it out alive.


When trigger my mail function , that mail goes to 'spam' folder not to 'inbox'. Can u please figure out whats the problem?  function send_user_email($mail, $to_email,$password, $first_name) { $html = "Hi $first_name,

"; $html = $html . "
 You have been registered with the system. Please find your login details below.
"; $html = $html . "User Name - $to_email
"; $html = $html . "Password - $password

"; $html = $html . "Regards,
"; $html = $html . "Team";  $mail->IsSMTP(); // telling the class to use SMTP $mail->Host = "smtpout.XXX.XXX.XXX"; // sets GMAIL as the SMTP server //  $mail->Host= "stmp.gmail.com"; // SMTP server $mail->SMTPAuth = true; // enable SMTP authentication $mail->SMTPSecure = "ssl"; // sets the prefix to the servier $mail->Port = XXX; // set the SMTP port for the GMAIL server $mail->Username  = "mailid"; // GMAIL username $mail->Password  = 'password';// GMAIL password $mail->From = "mailid"; $mail->FromName = "name"; $mail->Subject = "User invitation email";  $mail->AltBody = ""; // optional, comment out and test  $mail->IsHTML(true); $mail->Body = nl2br($html);  $mail->AddAddress($to_email);  $mail->Send(); // send message }


When I was learning about GCD and LCM I found this relation somewhere. But I didn't get proof for this relation. $$\frac{\gcd(a,b,c)^2}{\gcd(a,b)*\gcd(b,c)*\gcd(c,a)}=\frac{\operatorname{lcm}(a,b,c)^2}{\operatorname{lcm}(a,b)*\operatorname{lcm}(b,c)*\operatorname{lcm}(c,a)} $$ where GCD represents Greatest Common Divisor and LCM represents lowest common multiple.


Windows 7 and Ubuntu 12.04 Dual boot, Grub not showing!

I've installed Ubuntu 12.04 alongside with Windows 7. Everything is fine until i want to enter Ubuntu. When I start my pc, after normal boot, there is no Grub or OS Selection menu, and my system loads straight into Windows 7.   Any help would be very appreciated! Thanks!


How can I install packages on another from USB?

Meaning: without running sudo apt-get install x. (where x is the name of the app). In Windows I'd download the app (x.exe). Save it on the USB. Then install it from the USB on the computer I want to install on. How can I do that with Xubuntu?


simple question, I would like to know that is the best solution for cleaning my mesh?   Maybe the knife?


I just started having this problem recently, but it will freeze when I am in the middle of coding and it seems to be happening more frequently.  I do tend to have a ton of tabs open in chrome while I am working, but I don't know where to start in seeing what the problem is here.   When it freezes, the mouse will still move but the screen is totally frozen and I have to do a hard reboot. I have tried hotkeys for terminals and other things, but nothing works


Calculating $\int_0^\pi \log(1-2a\cos (x)+a^2)\,dx$

I need to calculate this integral using Riemann sum. $$\int_0 ^\pi \log(1-2\alpha \cos (x) +\alpha^2){\rm d}x$$ a). For $|\alpha|<1$; b). For $|\alpha| > 1$.  I know one way of computing this using substitutions and symmetries, but it is necessary to do with Riemann sum. Help please.  UPD:Also, I know that decomposition of a polynomial $a^2n$  into quadratic factors is helpful.


Hydrostatic pressure in different Tank shapes

Consider the above drawn tanks (Tank 1 left Tank 2 Right) What Would the hydrostatic pressure from the water at the points where the arrows are drawn. In Case 1 for example Tank 1) Hydrostatic pressure from atmosphere + hydrostatic pressure from the part sticking out Is this the same for Tank 2) where as Tank 2 is closed from the top. is the hydrostatic pressure in this case equal only that from the part that is sticking out but not from the atmosphere? (because it's closed) Now consider this cube with the sides of each $1$ meter and the height of tube of $4$ meters.  Suppose we need to calculate the force on A1 (top part of the cube) Do we say $F=A\cdot p$? Where as $A=1\ \mathrm m\times1\ \mathrm m-\pi r^2$ removing the area of the tube  and then putting in $p=p_0+\rho\cdot g\cdot4\ \mathrm m$, where as $p_0$ is pressure from the atmosphere. What if we calculate force on F2. Is it just full area multiplied with the pressure that is from the atmosphere and the pressure at depth of $5$ meters?


I'm trying to read an xml in java but gives an error on my system

Hello I am writing the code to read in xmls on my machine, it runs perfect already on another machine but on my machine it gives an error in one line of code  it reads 500, 600 xml and in the end creates a spreadsheet but at line 41 of an error I think it is in the function a.length  follow the code  /*  * To change this license header, choose License Headers in Project Properties.  * To change this template file, choose Tools | Templates  * and open the template in the editor.  */ package teste;  import java.io.File; import java.io.FileWriter; import java.io.IOException; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.NodeList; import org.xml.sax.SAXException;  /**  *  * @author francielle.garcia  */ public class Sistema {      public static void main(String[] args) throws SAXException, IOException, ParserConfigurationException {         DocumentBuilderFactory fabrica = DocumentBuilderFactory.newInstance();         DocumentBuilder builder = fabrica.newDocumentBuilder();         Document xml;         Element e;                 File a[];          File lerxml = new File("C:\\Users\\francielle.garcia\\Desktop\\Ler XML\\localXML.xml");         xml = builder.parse(lerxml);         NodeList locais = xml.getElementsByTagName("localXML");         e = (Element) locais.item(0);         String local = e.getTextContent();          File diretorio = new File(local);          a = diretorio.listFiles();         int i;         for(i = 0; i < a.length; i++){ // linha do erro             xml = builder.parse(a[i]);              NodeList payloads = xml.getElementsByTagName("payload");             e = (Element) payloads.item(0);             String payload = e.getTextContent();              NodeList timeStamps = xml.getElementsByTagName("stuMessages");             e = (Element) timeStamps.item(0);             String timeStamp = e.getAttribute("timeStamp");               File arquivo = new File("C:\\Users\\francielle.garcia\\Desktop\\Ler XML\\xml.csv");             arquivo.createNewFile(); //Caso voce queira criar um novo arquivo a partir de cada formulario use esse comando             try (FileWriter fw = new FileWriter(arquivo, true)) {                 fw.write(payload + ";" + timeStamp+"\r\n");             }         }         System.out.println("Numero de Linhas Geradas: "+i);       }   follow the error  run: Exception in thread "main" java.lang.NullPointerException     at teste.Sistema.main(Sistema.java:41) C:\Users\francielle.garcia\AppData\Local\NetBeans\Cache\8.2\executor-snippets\run.xml:53: Java returned: 1 FALHA NA CONSTRUÇÃO (tempo total: 0 segundos)


Center of a group contains a normal subgroup

I'm studying to an exam in abstract algebra, and I'm stuck on the following question. I will appreciate any guidance for this one.  Let $G=H\times K$ be a Group and let $N$ be a normal subgroup of G.  Assume that $N\cap K=\{1\}$ and $N\cap H=\{1\}$.  Prove that $N\subseteq Z(G)$.  Thanks.


I'm training a CNN model for binary classification. The obtained confusion matrix and some corresponding performance measures on validation set are as follows: ans =         11046         177          561        9306  accuracy:    0.965007 sensitivity: 0.943144 specificity: 0.984229 precision:   0.981335 recall:      0.943144 f_measure:   0.961860 gmean:       0.963467  It seems the results are good. But the training loss seems bad, as shown as follows:  Is this a good model?


Remote app - bash: cannot execute binary file

I have an app in a remote Linux machine. I am trying to execute the app via ssh, but I get the error:  bash: /app: cannot execute binary file   Why is this happening? The application works fine in the remote machine.  UDATE:  Note related to  since it was a 'make' problem.


How to find and delete files older than specific days in unix?

I have got one folder for log with 7 folders in it. Those seven folders too have subfolders in them and those subfolders have subfolders too. I want to delete all the files older than 15 days in all folders including subfolders without touching folder structrure, that means only files.  mahesh@inl00720:/var/dtpdev/tmp/ > ls A1  A2  A3  A4  A5  A6  A7  mahesh@inl00720:/var/dtpdev/tmp/A1/ > ls B1 B2 B3 B4 file1.txt file2.csv


What's the hardest or most misunderstood aspect of LINQ?

Background: Over the next month, I'll be giving three talks about or at least including LINQ in the context of C#. I'd like to know which topics are worth giving a fair amount of attention to, based on what people may find hard to understand, or what they may have a mistaken impression of. I won't be specifically talking about LINQ to SQL or the Entity Framework except as examples of how queries can be executed remotely using expression trees (and usually IQueryable).  So, what have you found hard about LINQ? What have you seen in terms of misunderstandings? Examples might be any of the following, but please don't limit yourself!   How the C# compiler treats query expressions Lambda expressions Expression trees Extension methods Anonymous types IQueryable Deferred vs immediate execution Streaming vs buffered execution (e.g. OrderBy is deferred but buffered) Implicitly typed local variables Reading complex generic signatures (e.g. )


What is the command to run System Settings from a terminal?

System Settings can be run from the launcher (pinned by default), the Dash, or the power cog. But what command would I enter in a terminal window if I want to run it from there?


I have a  that is connected to my 15inc macbook pro 2019 model via displayport-usbc cable. The monitor is powered by its AC adapter cable. Is it possible to use the "USB 3.0 downstream port with BC1.2" port to power my macbook? Im trying to minimise moving around my macbook charger, so if I can power it through the monitor itself, that would be great. So if I bought a USB 3.0 to USB-C , would it power my macbook?


This is problem 1.2.20 from Hatcher's algebraic topology.    I am able to complete the first part. But I have trouble proving they are homotopy equivalent but not homeomorphic. Can someone please give some hints? Thanks.


Unresolved external symbol error related class with template

I made this code:  Item.h:  #include <iostream> using namespace std;  template <class T> class Item { private:     Item<T> * next;     Item<T> * prev;     T * data;  public:     Item(T * pData = NULL);     ~Item(); };   I also made Item.cpp:  #include "Item.h"  template<class T> Item<T>::Item(T * pData) : data(pData), next(NULL), prev(NULL) {}  template<class T> Item<T>::~Item() {}   And this is the Main:  #include "Item.h"  int main() {     int * s1 = new int(5);     Item<int> * i = new Item<int>(s1);      system("pause");     return 0; }   When I am trying to separate the Item.h to Item.cpp (if I don't write declaration), I get this error:  Error  LNK2019 unresolved external symbol "public: __thiscall Item<int>::Item<int>(int *)" (??0?$Item@H@@QAE@PAH@Z) referenced in function _main.


Why is it difficult to define integral although it's easy to define differentiation?

Defining multivariable differentiation is just linear algebra. However, defining integration is complicated measure theory. Why are these efforts so different?


This compiles fine.   \documentclass{article} \usepackage{subfig} \begin{document}  test: $\overleftarrow{a}$  \begin{figure}     %\subfloat[Subcaption $\overleftarrow{a}$]{\framebox[3cm]{First}}     \subfloat[Subcaption $b$]{\framebox[3cm]{Second}} \end{figure}  \end{document}   I put a Math-Mode in the caption of the subfloat. In the next example I put math mode and \overleftarrow, and although it gives the right output, it produces an error.  \documentclass{article} \usepackage{subfig} \begin{document}  test: $\overleftarrow{a}$  \begin{figure}     \subfloat[Subcaption $\overleftarrow{a}$]{\framebox[3cm]{First}} \hfill     \subfloat[Subcaption $b$]{\framebox[3cm]{Second}} \end{figure}  \end{document}   Error:  ERROR: Illegal parameter number in definition of \sf@captionlist. --- TeX said --- <to be read again>                 \crcr  l.10 ...\overleftarrow{a}$]{\framebox[3cm]{First}}   Why is there an error?


Fixed table header using javascript / css

I have a table as shown below, and am trying to create a fixed header, so that no matter how much I scroll down, the header is always visible to the user. I don't have much experience with web design, so was wondering how to do this using either css / javascript? What I'm guessing is that I first need to put a
 tag around the  tags to make them one entity? Although this has to be done using javascript, as the html is generated using an external macro which I am not able to edit. Any help is much appreciated!

       Server Name  	       Network Zone  	       Operational Status

 w264521f

 GREEN

 READY

   Please note that the columns are not fixed width. They need to be variable, as the data is not constant.


How do I control how often search engines visit my site?

I've been using the following line in the <head> of my sites for years:  <meta name="revisit-after" content="3 days" />  I recently discovered that it's not one of  that Google understands, which I take to mean that there's no point in including it, and that it's been doing no good at all for years.  How often do search engines crawl a website by default, and what reliable ways are there to increase or decrease that frequency?


How to show path-connectedness of $GL(n,\mathbb{C})$

Well, I am not getting any hint how to show $GL_n(\mathbb{C})$ is path connected. So far I have thought that let $A$ be any invertible complex matrix and $I$ be the idenity matrix, I was trying to show a path from $A$ to $I$ then define $f(t)=At+(1-t)I$  for $t\in[0,1]$ which is possible continous except where the $\operatorname{det}{f(t)}=0$ i.e. which has $n$ roots and I can choose a path in $\mathbb{C}\setminus\{t_1,\dots,t_n\}$ where $t_1,\dots,t_n$ are roots of $\operatorname{det}{f(t)}=0$, is my thinking was correct? Could anyone tell me the solution?


Is it possible to edit in Blender with proxies (reduced low res files) and then ask Blender to replace those for the final editing with 4k high res files? Low and high res files would be numbered identically but would be located in different folders.  Thanks