Windows copies and pastes Rich Text. I want it to copy and paste only raw text. Is there any way to change this behaviour globally?  Someone in  suggested to use AutoHotKey tho change this, but I don't think this will work with my current clipboard manager


Serve up PC hard drive as USB mass storage

Is there a software package available that can serve up a hard-drive internal to a PC and make it available over USB to other USB Master nodes as mass storage?  Ex: take your C: or /dev/hda drive on a PC (let's call the computer PC-A), and run a driver program which makes your C: or /dev/hda drive available to external devices as USB mass storage.  When you'd hook up another PC (PC-B) to PC-A via USB, it would detect a USB mass storage device, which is C: or /dev/hda on PC-A.  Is this even possible?    EDIT:  I know that there are other ways of making data on a drive available between two different computers (eg. putting PC-A's hdd in a USB-drive-enclosure, or having PC-A make the hdd available via a network share).  But I'd like to know if the method that I describe above is even technically possible.


Karnaugh map according to image included

How can I draw one of these Karnaugh maps using tixz? I would like to have q_x^+ in the corner.


Let M and N be normal subgroups of a group G such that $G = MN.$ Prove that $G/(M \cap N) \simeq G/M \times G/N$.  Claim 1: $M\cap N$ is a normal subgroup of G:   Proof:   $1_G \in M$ and $N$ since M and N are both subgroups. For all $x, y \in M \cap N,$ $x, y \in M$. Since M and N are subgroups, $x, y \in N$ and $xy^{-1} \in M$ and $xy^{-1} \in N$. Therefore, $xy^{-1} \in M \cap N$.   Hence, $M\cap N$ is a normal subgroup of G.  Define $f: G \to G/M \times G/N$ by $f(g) = (gM, gN)$.  Claim 2: $f$ is an homomorphism.  Proof: For all $g, h \in G$, $f(gh) = (ghM, ghN) = (gMhM,gNhN) = (gM, hM)(gN,hN) =f(g)f(h)$. Hence, $f$ is a homomorphism. Note that $ghM = gMgM$ and $ghn = gNhN$ because $M$ and $N$ are normal.  Claim 3: $f$ is surjective.  Proof: Since $G = MN,$ for all $g \in G$, $g = mn$. For all $(xM,yM) \in G/M \times G/N$. We have $xM = (mnM) = n(n^{-1}mn)M = nM$. Similarly, $yN = m'n'N = m'N$. Hence, $f(m'n) = (m'nM,m'nN) = (n(n^{-1}m'n)M,m'N) = (xM,yM)$. Therefore, $f$ is surjective.  Using First Isomorphism Theorem, we get the result.


To install additionally Cinnamon ... what Commands needed in Terminal...?

installing Ubuntu Studio OS 18.10 or 19.04 what linux desktop i install ... ?  To install additionally Cinnamon desktop in Ubuntu Studio ... what Commands needed in Terminal... ?


My goal is to reduce the faces of an object using the decimate modifier. The object I'm editing has lots of vertex groups. Blender 2.8 only lets me add the decimate modifier to a single group at once which would take quite some time. I have already put all groups in a single collection.  How can I add the decimate modifier to the entire collection?  Do I have to add the modifier group by group?


Why I new the object not equal to the String?

String s1 = "abcdef"; String s3 = new String(s1);     if(s3 == s1){      System.out.printf("yes");        }else{             System.out.printf("no");          }      Why is not print yes? Who can explain to me?


Proof that every normed vector space is a topological vector space

The topology induced by the norm of a normed vector space is such that the space is a topological vector space.  Can you tell me if my proof is correct? Of course we have to show that addition and scalar multiplication are continuous with respect to the product topology (induced by the norm).  (1) To show that $(x,y) \mapsto x + y$ is continuous let $\varepsilon > 0$. I can show that the norm $\|\cdot\|_{V \times V}: V \times V \to \mathbb R$ defined as $\|(x,y) - (x_0, y_0) \| = \|x-x_0\| + \|y_0 - y\|$ induces the same topology as the product topology on $V \times V$. Hence we can choose $\delta = \varepsilon$ to get $$ \| (x+y) - (x_0+y_0)\| \leq \|x-x_0\| + \|y-y_0\| < \delta = \varepsilon$$  (2) To show that $V \times K \to V$, $(v, \alpha) \mapsto \alpha v$ is continuous at $(v,\alpha)$, observe that $$\| \alpha v - \beta w\| = \|  \alpha v - \beta w + \alpha w - \alpha w\| = \|\alpha(v-w) + (\alpha - \beta) w\| \leq |\alpha| \|v-w\| + |\alpha - \beta| \|w\|$$  Hence $\| \alpha v - \beta w\| < \varepsilon$ if $\|v-w\| < \frac{\varepsilon}{2 |\alpha|}$ and $|\alpha - \beta| < \frac{\varepsilon}{2 \|w\|}$. Unfortunately, the second inequality depends on $w$. How do I make it independent of $w$? Thanks.


Anki does not run on Ubuntu 16.10 after upgrade from 16.04

after upgrading to Ubuntu 16.10 from 16.04, Anki program does not run. this is the error message:  Traceback (most recent call last):   File "/usr/bin/anki", line 7, in <module>     import aqt   File "/usr/share/anki/aqt/__init__.py", line 12, in <module>     from aqt.qt import *   File "/usr/share/anki/aqt/qt.py", line 22, in <module>     from PyQt4.QtWebKit import QWebPage, QWebView, QWebSettings ImportError: No module named QtWebKit


Transform the NFSA with transition table  $$\begin{array}{ccc} X&a&b\\ A&\{\}&\{F\}\\ B&\{\}&\{\}\\ F&\{\}&\{A,S\}\\ S&\{F\}&\{A,F\} \end{array}$$  and starting state $S$ inta a DFSA and give the transition table of that DFSA. Place the letter $X$ (uppercase) in the top left corner of the matrix. Your states in the first column and inputs in the first row can be in the order of your choice.  The question then offers a $7\times 3$ matrix to be filled in.  Unsure how to transform the NFSA with transition table.  This is my answer but it is incorrect.  $$\begin{array}{ccc} X&a&b\\ \{S\}&\{F\}&\{A,F\}\\ \{F\}&\{\}&\{A,S\}\\ \{A\}&\{\}&\{F\}\\ \{A,F\}&\{\}&\{A,F,S\}\\ \{A,S\}&\{F\}&\{A,F\}\\ \{A,F,S\}&\{F\}&\{A,F,S\} \end{array}$$


Why do iptables rules disappear when restarting my Debian system?

I add this rule:  sudo iptables -t nat -A OUTPUT -d a.b.c.d -p tcp \        --dport 1723 -j DNAT --to-destination a.b.c.d:10000    When restart computer rules are deleted. Why? What I can do to make the rules persist?


SortedMap that sorts based on values instead of keys

I have learned that, in Java,  is a SortedMap that sorts according to its keys or by using a Comparator<? extends K> of the keys.  Are there some other SortedMap like TreeMap<K,V> but can sort using a Comparator<? extends V> of the values instead of the keys?


I have a shell script called boot.sh on an Ngnix server  I am trying to call it via PHP, but I don't think I have permissions.   How can I give www-data permission to run boot.sh - and only boot.sh  When trying sudo chown or sudo chgrp I am getting Operation Not Permitted


Displaying Accents on Touch Bar not working anymore

For some reason, a long press of a letter doesn't bring up the accented letters anymore on the Touch Bar (MacBook Pro 13-inch, 2018, US keyboard). It does bring up the accented character menu, so that you can chose by pressing a number.   I spent couple of hours on the phone with Apple Care folks trying to figure it out but still don't have a solution. I don't have Webroot or any such other program installed...what's really annoying is that I created a second test account, and there it works fine. Has anyone figured out a solution to this???  Edit: This is a different question b/c it's not an issue with Webroot or some other anti-virus software. I don't have those installed.   Also, I tried a PRAM and SMC reset and no help. It doesn't work in safe boot either - not on the main account at least.   Edit 2: Added image. This is what should be happening on the Touch Bar. But it doesn't.


As far as I can tell, these two pieces of javascript behave the same way:  Option A:  function myTimeoutFunction() {     doStuff();     setTimeout(myTimeoutFunction, 1000); }  myTimeoutFunction();   Option B:  function myTimeoutFunction() {     doStuff(); }  myTimeoutFunction(); setInterval(myTimeoutFunction, 1000);   Is there any difference between using  and ?


Well, i was trying to start my pc, and for some reason when ubuntu was booting, it started to says something about that a section was starting for my user, after that the section started, and then closed, this loop happens until the 22 section, after that the pc just got stuck. Any help?


Why ~ is not shown in place in R source listings?

My sample code is- \documentclass{article} \usepackage{listings} \usepackage{xcolor} \begin{document} \lstinputlisting[numbers=left,backgroundcolor=\color{lightgray},language=R]{code.R} \end{document}  and code.R is - m.datF <- read.csv("modified_dataF.csv", header=T)[,-1] mod <- glm(salary ~ ., family=gaussian,  data=m.datF) summary(mod)  output shows -  In this output the ~ is positioned little up.


I run an ad network with about 10 million visits per month. It is very likely that this rate will increase to 50 million in the next 6 months. What is the best way wo scale hardware? Currently I am using a Digitalocean droplet with 8 GB Ram and 4 CPU Cores. The ram usage is about 70% most of the time.  Should I just upgrade to a bigger server? Or should I Set Up A Loadbalanced High-Availability Apache Cluster?


ubuntu 14.04 mounting usb with "can't read superblock "

My usb was working pretty normally and now it is unable to open showing the following message:  Error mounting /dev/sdb1 at /media/sooraj/7D64-9145: Command-line `mount -t "vfat" -o "uhelper=udisks2,nodev,nosuid,uid=1002,gid=1002,shortname=mixed,dmask=0077,utf8=1,showexec,flush" "/dev/sdb1" "/media/sooraj/7D64-9145"' exited with non-zero exit status 32: mount: /dev/sdb1: can't read superblock


The scopes of many sites overlap, e.g.:    and ;  and ; , , , and ; and any language site with  and .   Currently the "Related" list of questions is restricted to questions for that particular site.  It seems natural to extend this to either:   add an additional, short "Related network questions" list, or allow a limited number of off-site questions within the "Related" list, highlighting the site they're from, and maybe throttling the  for off-site questions.   My hope is that it can identify questions that are already asked on other sites (), and this knowledge can assist writing answers.  Question: Would a "Related network questions" list be possible and worthwhile?


Admin sidebar element buggy on hover with Google Chrome 45

I'm using OSX 10.10 Google Chrome Version 45.0.2454.85 (64-bit) And When I go through the sidebar elements on my Wordpress site it looks like this:    Is this a known bug?.   On Firefox and Safari everything is looking fine.  UPDATE 1  You can temporary fix this by adding this on your functions.php file template:  add_action('admin_enqueue_scripts', function (){      if ( strpos( $_SERVER['HTTP_USER_AGENT'], 'Chrome' ) !== false ){          wp_add_inline_style( 'wp-admin', '#adminmenu { transform: translateZ(0); }' );     } });   UPDATE 2 This has been reported on Google Chrome forums:


How can I approximate the solutions to systems of differential

I'm new to differential equations and I was wondering if I could use the Euler method and the midpoint method to approximate the solution to these three differential equations, as I cannot solve this set of differential equations at my skill level. In addition, are any other ways to approximate these solutions? These equations are the SIR equations used to model an infectious disease.  $${\frac {dS}{dt}}=-{\frac {\beta IS}{N}}$$ $${\frac {dI}{dt}}={\frac {\beta IS}{N}}-\gamma I$$ $${\displaystyle {\frac {dR}{dt}}=\gamma I}$$


How to initialize an array dynamically in Java?

I have tried to initialize an array dynamically and display the array as result:  import java.util.Scanner;  public class Arrays {      public static void main(String[] args) {         // TODO Auto-generated method stub         Scanner in = new Scanner(System.in);         int[] c;         String cmd="yes";         while(cmd=="yes") {             System.out.println("Enter value for c :");             c=new int[] {in.nextInt()};             System.out.println("Continue(yes/no)? :");             cmd=in.next();         }         for(int k:c)             System.out.println(k);     } }   But at the for-each loop(i.e. line 12 from main()) it is showing error as "The local variable c may not have been initialized".


Accidentally moved directories under root

I've accidentally run this command  sudo mv /* /applications/minced/   instead of   sudo mv ./* /applications/minced/   This is all that's left in the root directory  $ / applications/ dev/          proc/         run/          sys/          tmp/          I still have an active ssh connection to the server. I've tried calling mv, sudo and chmod... directly from /applications/minced/bin/ or /applications/minced/usr/bin/, but nothing works, though I can locate them there using path autocompletion.   $ /applications/minced/bin/ls -bash: /applications/minced/bin/ls: No such file or directory   I've read , but mounting the system under LiveCD is not an option for me since it's a VPS, not a physical machine. Any ideas?  Update  I figured out this is due to library linkage problems, so I did this   $ export LD_LIBRARY_PATH=/applications/minced/lib/x86_64-linux-gnu/ $ /applications/minced/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /applications/minced/bin/mv /applications/minced/* /   Obviously I ran into permission problems. Calling sudo with the linker throws this error  $ /applications/minced/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 /applications/minced/usr/bin/sudo ... sudo: effective uid is not 0, is /applications/minced/usr/bin/sudo on a file system with the 'nosuid' option set or an NFS file system without root privileges?   As suggested by Barafu Albino, I've tried calling su with busybox (.../bin/busybox su -), but it throws su: must be suid to work properly. I guess this happens because su can't locate /etc/passwd and /etc/shadow. Seems like I've screwed up the system completely.


Of course, $x!$ itself is defined for positive integers, so it cannot have an antiderivative. However, is it possible to integrate $x!$ using the gamma function? If so, what is its antiderivative? I'm in calc 2 in high school, so if something is outside of my scope of understanding, please let me know, but still do answer for the benefit of everyone else.


How to increase camera frames view area?

The Camera view area is so small (see picture). How can I increase it?


When the pet’s status is “New” or “Evaluating”, the record must only be visible to the veterinarian and the assigned director.  Once the assigned director has set a pet’s status to “Available”, that pet must be visible to all users.  Once a pet has been adopted (i.e., the status of the pet is equal to “Adopted”) the pet record must only be visible to the veterinarian and the assigned director.  Household information must only be visible to the director and staff.  Adoption requests are only visible by staff and directors.


\newcommand is undefined control sentence

I am trying to create a very simple new command such as follows:  \newcommand{\rvm}[1]{\textcolor{red}{#1}}   My text is organized in a main tex file and the sections are in other files. I call them using \input in the main .tex file.  However, no matter when I call it, the \newcommand is undefined. The tex editor returns the following error:  Undefined control sequence. \rvm{test}   Is it something about the template I am using? I tried it in other documents and it works. How can I solve this issue?


Impossible to mount an external hard drive on mac after bug

I made a mistake by plugging my external WD hard drive with my GoPro link (they look like the same). Everything was working, and, during a file transfer, my hard drive disappeared from my MacBook Pro, then, impossible to mount it.  I bought a new box to put my hard drive, nothing to do. It appears in the Disk utilities, it appears with the Terminal command diskutil list.  I tried diskutil info /dev/disk2 and the result is the following :  Device Identifier:        disk2    Device Node:              /dev/disk2    Part of Whole:            disk2    Device / Media Name:      WDC WD75 00AAVS-00D7B1 Media     Volume Name:              Not applicable (no file system)     Mounted:                  Not applicable (no file system)     File System:              None     Content (IOContent):      FDisk_partition_scheme    OS Can Be Installed:      No    Media Type:               Generic    Protocol:                 USB    SMART Status:             Not Supported     Total Size:               750.2 GB (750156374016 Bytes) (exactly 1465149168 512-Byte-Units)    Volume Free Space:        Not applicable (no file system)    Device Block Size:        512 Bytes     Read-Only Media:          No    Read-Only Volume:         Not applicable (no file system)    Ejectable:                Yes     Whole:                    Yes    Internal:                 No    OS 9 Drivers:             No    Low Level Format:         Not supported   And the command diskutil list disk2 :  /dev/disk2    #:                       TYPE NAME                    SIZE       IDENTIFIER    0:     FDisk_partition_scheme                        *750.2 GB   disk2    1:             Windows_FAT_32 My Book                 750.2 GB   disk2s1   I don't know what I can do... it's been 6 months I have this problem, I tried everything (everything I found out) but nothing worked. There are all my virtual life inside, and professional one, I would love to recover it.  Thanks by advance and sorry for my English ;)


Prove that if the norms of vectors are equal, there is a unitary transformation such that $Tx=y$

Let $V$ be unitary space with finite dimension, and let $x,y\in V$ such that $||x||=||y||$. Prove that there is an unitary linear transformation $T:V\rightarrow V$ such that $T(x)=y$.  I tried taking two orthonormal basis, $\{v_1,...v_n\}$ and  $\{u_1,...u_n\}$ of $V$, and if I define $T$ such that $T(v_i)=u_i$ I know that $T$ is unitary since it takes an orthonormal basis and transform it onto other orthonormal basis. Then, I write $x$ with the first basis, and $y$ with the second basis. However, it does not seem to help to prove that $Tx=y$. How can I continue from here?


The expression "nothingburger" to mean in essence "nothing to see here" has become extremely common in political discourse in the USA. From what I remember it really only became prominent in the last two or three years.  What is the origin of this rather odd word, and what provoked the very recent spike in its usage?  (BTW, please, no politically provocative comments in your answer.)


Showing that $M$ and $N$ will have same eigenvalues.

Today I came accross to . And after some study, I have derived the following solution. Request to the experts, kindly let me know if I have made any mistakes.  The question is: if $M, N$ be $n$ square matrices such that tr$(M^k)=$ tr$(N^k)$ for all $k=1, 2, \cdots, n$ then prove that $M$ and $N$ will have same eigenvalues. What about this one?  We know that if $\psi_A(x)=x^n+c_{n-1}x^{n-1}+c_{n-2}x^{n-2}+\cdots+c_1x+(-1)^n|A|I_n$ be characteristic polynomial of $A$, then the coefficients are given by  $$c_{n-m}=\frac{(-1)^m}{m}\left|                               \begin{array}{ccccc}                                 t_1 & m-1 & 0 & \cdots &  0 \\                                 t_2 & t_1 & m-2 & \cdots &  0  \\                                 \vdots  & \vdots &   &   &  \vdots \\                                 t_{m-1} & t_{m-2} & t_2 & t_1 & 1 \\                                 t_m & t_{m-1} & t_3 & t_2 & t_1 \\                               \end{array}                             \right|$$  where $t_r:=$ tr$(A^r)$.  Assume that $\psi_{M}(x)=x^n+a_{n-1}x^{n-1}+a_{n-2}x^{n-2}+\cdots+a_1x+(-1)^n|M|I_n$ and $\psi_N(x)=x^n+b_{n-1}x^{n-1}+b_{n-2}x^{n-2}+\cdots+b_1x+(-1)^n|N|I_n$. Then $$a_r=b_r$$ (by using tr$(M^k)=$ tr$(N^k)$ and the above determinant).   Hence $\psi_M(x)=\psi_N(x)$ which means $M$ and $N$ will have same eigenvalues.


Are associates unit multiples in a commutative ring with $1$?

Recall the following relevant definitions. We say that   $b$ is divisible by $a$ in $R$, or $a\mid b$ in $R$, if $b = r a$ for some $r\in R$. $a$ and $b$ are associates  in $R$ if $a\mid b$ and $b\mid a$, (or, equivalently, if $aR = bR$). $u\in R$ is a unit if it has a multiplicative inverse (a $v\in R$ such that $uv=vu=1$). $a$ and $b$ are unit multiples in $R$  if $a = ub$ for some unit $u\in R$.   Given these definitions, my question is,     If $R$ is a commutative ring with unity and $a,b\in R$ are associates in $R$, are $a$ and $b$ unit multiples in $R$?   I was told that this not always true. But I encountered some difficulties in finding a counterexample.


I know that qustiosn was was asked before. I have tried to find an OSM key on the web, but without success. I know that I need to enter the API key by going in this order: web- OpenLayers Plugin-OSM/Thunderforest-Set API KEY  How and where can I find the API Key that need to be paste in this window?  I opened an account at , paste the API key, but it did not solve the problem


How can I extend a regex pattern to prevent certain characters in the beginning and in the end?

I am looking for a basic email validation using HTML5 pattern. So far I have the following but I am struggling with the required rules below, esp. rules 1 and 3. Conditions:  I only need to cover email addresses containing **letters (a-zA-Z), digits (0-9), underscores (_), dots / periods (.), dashes (-). I only need to cover standard business email addresses such as firstname.lastname@domain.com, firstname.lastname@domain.co.uk, firstname.lastname@domain.de, firstname-secondname.lastname@domainPart1-domainPart2.de. No need to cover Asian or Arabic characters and no need to cover characters not listed here. No need to cover emails not containing dot / period.  Required rules:  First character cannot be underscore, dot / period or dash. Last character cannot be underscore, dot / period or dash. Cannot contain two dots / periods in a row. Cannot contain spaces (also not as first or last character).  My approach (not working): <input type="email" id="email" minlength="10" pattern="^(?!^\.\_\-)(?!.*[-_.]$)[a-zA-Z0-9\.\_\-]+$" required autocomplete="off">  Can someone show me how to do this right and also provide an explanation on the single parts ? Many thanks in advance, Tim


I want to paste the contents of my clipboard on machine A (client - Windows 7), to machine B (Ubuntu 16.04 Server). I followed the instructions , but I'm still having the same problem. Here is the error message:  Error: Clipboard on X11 requires that the DISPLAY envvar be configured.   I do have Xming installed on my windows machine!  xclip is already installed on the Ubuntu server. When I connect to the server via PuTTy, I use the following configuration at /etc/ssh/sshd_config:  X11Forwarding yes X11DisplayOffset 10 PrintMotd no PrintLastLog yes TCPKeepAlive yes   And  in my PuTTy config.  What else do I need to be able to paste the clipboard of machine A to B?  The reason my Ubuntu server is a "Shiny" server, and in my "Shiny" app I want to paste data from the clipboard.


How does the Frost Fingers spell work underwater with swimming creatures?

The spell "Frost Fingers" from page 318 of the module "Icewind Dale: Rime of the Frostmaiden" says:  The cold freezes nonmagical liquids in the area that aren't being worn or carried.  This wording makes it a bit unclear, whether creatures are then stuck in the frozen water, because surrounding water could count as "worn or carried". How is this spell to rule especially underwater with swimming creatures who are in the area of the spell (15 ft cone, originating from the caster)? Are they then restrained or possibly enclosed in ice?


I have noticed that if you look directly at tubelight (I have only white ones in my home) and close your eyes little, you see little random shaped colourless things sometimes with slow speed and sometimes with falling down.   They are shaped like circles with something in between and in chains of random length.   My father has also seen them. So, I am sure I am not imagining things. What the hell are they?


Read from stdin to new, named, file in vim

I'd like to start vim on a non existing file, named f, with the content c. Both f and c are arbitrary and I'd like to not have to put anything in the vim config to fill new buffers with c.  Basically, I would like to combine  $ echo c | vim -  with  $ vim f  Is there a flag to vim which lets me achieve this?


The Software center won't start anymore how to fix it?

My software center in Ubuntu 14:04 wont start anymore. Error that I received is below in screen shot. I'm new in Ubuntu. So, somebody can give me step by step instructions to solve the issues that you would be much more appreciated. Thank you in advance.. :)


Destination of arrows in Tikz overlapping

\begin{tikzpicture}[>=triangle 45,shorten >=1pt,auto,node distance=3cm] \node[state] (moderate) {moderate}; \node[state, minimum size=2cm] (above) [below right of=moderate, xshift=1cm, yshift=-3cm] {above}; \node[state, minimum size=2cm, xshift=-1cm, yshift=-3cm] (below) [below left of=moderate] {below}; \path[->] (moderate) edge [loop above] node {\texttt{t\_high = 0, t\_low = 0}} (moderate)     edge [bend left] node {\texttt{t\_high = 1}} (above)     edge [bend left] node[align=center, xshift=-2cm, yshift=1cm] {\texttt{t\_low = 1}} (below)     (above) edge [loop right] node {\texttt{t\_high = 1}} (above)             edge [bend right] node {\texttt{t\_low = 1}} (below)             edge [bend left] node[align=center, xshift=2.2cm, yshift=1cm] {\texttt{t\_high = 0,}\\\texttt{t\_low = 0}} (moderate)     (below) edge [loop left] node {\texttt{t\_low = 1}} (below)             edge [bend left] node[align=center] {\texttt{t\_high = 0,}\\\texttt{t\_low = 0}} (moderate)             edge [bend right] node {\texttt{t\_high = 1}} (above); \end{tikzpicture}    I'm trying to draw a state machine diagram with Tikz. However, the destinations of the arrows seem to be overlapping at the same point of the nodes. I would like them to space out evenly so that one can easily tell different arrows apart; how can I do that? Any help would be appreciated.  P.S. Is there a way to get these arcs flatter? They seem to be really "fat".


How to prove $\vec{a} \perp \vec{b}$ when $|\vec{a}-\vec{b}|=|\vec{a}+\vec{b}|$?

I have tried to show that $cos(\theta)=0$ by substituting what is given into $(\vec{a}-\vec{b})\cdot(\vec{a}+\vec{b})=|\vec{a}-\vec{b}||\vec{a}+\vec{b}|cos(\theta)$ but after simplifying i get stuck at  $cos(\theta)=\frac{(\vec{a}-\vec{b})\cdot(\vec{a}+\vec{b})}{|\vec{a}+\vec{b}||\vec{a}+\vec{b}|}=\frac{(\vec{a}-\vec{b})\cdot(\vec{a}+\vec{b})}{(\vec{a}+\vec{b})\cdot(\vec{a}+\vec{b})}$


How to prove a combinatorial identity with a combinatorial argument

I am trying to prove the following identity using a a combinatorial argument: $$\dbinom{n+r+1}{r}=\sum_{k=0}^{r}\dbinom{n+k}{k}$$


Is it possible to install Windows 98 in a modern computer and run modern software? If not, why?


Why is blender rendering a different file from my current one?

When I go to render, for some reason Blender opens a finished render from another file. Why is this happening?


What state is fire? Solid, Liquid or Gas or Plasma?

What state is ? Solid, Liquid or Gas or Plasma?   I was just roaming around when this question popped out of my mind. In what state is FIRE?


When is a full table scan better than index scan?

What are some scenarios (in SQL Server) in which a full table scan is better than an index scan?


How can I set up dual monitors with nVidia?

I just got a new computer (W520, Graphics card nVidia GF106 [Quadro 2000]) and installed ubuntu on it using wubi. I have everything working, so I wanted to set it up to be able to use two monitors with an extended screen. I figured I had to edit Xorg.conf, but the file didnt exist. So I tried to create it by booting in recovery mode, and executing   Xorg -configure   but I am getting these errors:  (EE) Failed to load module "vmwgfx" (module does not exist, 0) (EE) vmware: Please ignore the above warnings about not being able to load module/driver vmwgfx (++) Using config file: "/root/xorg.conf.new" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (EE) [drm] No DRICreatedPCIBusID symbol Number of created screens does not match number of detected devices.     Configuration failed.   ddxSigGiveUp: Closing log   Any idea how I can get Xorg -configure to work, so that I can have an xorg.conf file that I can edit to enable twinview?  Why can't I boot with an xorg.conf file generated by nvidia-xconfig? Is there something in the generated xorg.conf file that might need editing?  I have an nVidia Optimus technology which seems like it precludes me from running Unity 3d. Can I have dual monitors while running unity 2d?


HP Deskjet 3630 not working with my Ubuntu operating system

Why did my HP DeskJet 3630 printer stop printing from my computer which has Ubuntu installed?


Select a day, month and year from calendar picker and copy the date value into a variable

I'm trying to select month, year and date from calendar date-picker. I'm writing my script using pom & page factory approach. I'm not able to pass the date I selected to the variable named TodayDate. Can someone please tell me why TodayDate = null.               JSClickWithWaitTime(sf.StartDateEST_SF, 60); // clicked on date field              waitForElementBeVisible(sf.CalendarDateReceived_SF, 100);            //JSClickWithWaitTime(sf.StartDateEST_SF, 60);             Assert.assertTrue(sf.CalendarDateReceived_SF.isDisplayed()); // asserted that the calendar is displayed.                         selectValueFromDD(sf.MonthFromDateReceived_SF, "Mar");               selectValueFromDD(sf.YearFromDateReceived_SF, "2020");             JSClickWithWaitTime(sf.DayFromStartDate_SF, 3000);             click(sf.StartDateEST_SF);             String TodayDate = sf.DayFromStartDate_SF.getAttribute("03/17/2020"); // Save the date into the variable TodayDate             System.out.println("Today's date is = " +TodayDate);                    Assert.assertEquals("03/17/2020", sf.StartDateEST_SF);  The console will display the below result: Element is Clicked by the JS. Mar is selected 2020 is selected Element is Clicked by the JS. Today's date is = null


I have a node in firebase database that I want to retrieve and put it in a spinner I made array list then looped through data snapshot but still give nullPointerException I stored the value of the child in firebase using push method  I tried everything but it didn't work    Model class  public class Purpose {  private String name;  public Purpose(){  }  public Purpose(String name) {     this.name = name; }  public String getName() {     return name; }  public void setName(String name) {     this.name = name; }  }   Add data class          puposedRef = FirebaseDatabase.getInstance().getReference().child("Purposes");      saveBtn = findViewById(R.id.add_purpose_save_btn);      saveBtn.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View view) {              String name = addNameEd.getText().toString();              Map<String , String> purposeMap = new HashMap<>();             purposeMap.put("name" , name);               puposedRef.push().setValue(purposeMap).addOnCompleteListener(new OnCompleteListener<Void>() {                 @Override                 public void onComplete(@NonNull Task<Void> task) {                     if(task.isSuccessful()){                         Toast.makeText(AddPurposeActivity.this, "Added to database", Toast.LENGTH_SHORT).show();                     }else{                         Toast.makeText(AddPurposeActivity.this,            task.getException().getMessage(), Toast.LENGTH_SHORT).show();                     }                 }             });          }     });   Retrieve class          puposedRef = FirebaseDatabase.getInstance().getReference().child("Purposes");      textView = findViewById(R.id.show_purpose);      puposedRef.addChildEventListener(new ChildEventListener() {         @Override         public void onChildAdded(DataSnapshot dataSnapshot, String s) {              for(DataSnapshot ds : dataSnapshot.getChildren()){                  String key = puposedRef.push().getKey();                 String name = ds.child(key).getValue(Purpose.class).getName();                 textView.setText(name);              }           }          @Override         public void onChildChanged(DataSnapshot dataSnapshot, String s) {              for(DataSnapshot ds : dataSnapshot.getChildren()){                  String key = puposedRef.push().getKey();                 String name = ds.child(key).getValue(Purpose.class).getName();                 textView.setText(name);              }          }           @Override         public void onChildRemoved(DataSnapshot dataSnapshot) {          }          @Override         public void onChildMoved(DataSnapshot dataSnapshot, String s) {          }          @Override         public void onCancelled(DatabaseError databaseError) {          }     });   logcat   java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.best.karem.mycareassociatesadmin.Model.Purpose.getName()' on a null object reference     at com.best.karem.mycareassociatesadmin.AddPurposeActivity$1.onChildAdded(AddPurposeActivity.java:52)


Does the US embassy cancel the visa, if the employer complains or requests to cancel the employee US visa applied through their company?  What possible action does the embassy take if such thing happens?


How to calculate the time of one single tick on microcontroller

I have been in Embedded system for 8 months. I have worked application part more compare with low level. I have basic questions on systems ticks,   How to calculate the system tick of Timer, if I am starting the Hardware Timer of a controller for generating any delay. If I am having the 16-bit timer for example and I configured the system clock for 8MHz. As per my knowledge the single tick will be T=1/f. Then one single tick will take 0.125 microsecond. Is this correct? or any other dependency to calculate it. Whether this calculation will vary with controller by controller? Is there any way to configure the clock(eg 1MHz) for only Timer or any other peripheral with out changing the System Clock(eg 8Mhz)   If controller goes to low power mode(typically a changing of power mode). The timer resolution will also change? whether I need to change the setting of Timer for each power Mode.


Basically, which is the correct formula for thermal energy, and is this the same as kinetic energy? My notes are pretty conflicting on this topic, and I'm getting pretty confused.


How to center this table cell inside a row?

How could I center the single cell inside a tr, is there a property that I'm not aware of perhaps? So, I would like that single cell to be centered no matter how many cells will be added above or below, if that's possible..? This is in the context of an email template.    td {   border: 1px solid blue;   padding: 50px;   }  .center {   padding: 0; }

           center me please


What kind of power management circuit do I need to embedded a rechargeable battery in my electronics project?

I am doing a project where my electronics runs on 5V which I wanted to power from a 7.2v lipo regulated down to that voltage. I'd really like to include the opportunity to charge the lipo without removing it from the project. What kind of circuit/components do I need to do it properly?  Say, would putting a battery charging ic at the battery's terminals in parallel to my system be enough to achieve what I need?


How to add item to the beginning of List?

I want to add a "Select One" option to a drop down list bound to a List<T>.   Once I query for the List<T>, how do I add my initial Item, not part of the data source, as the FIRST element in that List<T> ?  I have:  // populate ti from data                List<MyTypeItem> ti = MyTypeItem.GetTypeItems();     //create initial entry     MyTypeItem initialItem = new MyTypeItem();     initialItem.TypeItem = "Select One";     initialItem.TypeItemID = 0; ti.Add(initialItem)  <!-- want this at the TOP!     // then      DropDownList1.DataSource = ti;


For a submerged object, buoyant force ($F_b$) is defined as:  $$F_b = V_{\text{submerged}} \times \rho \text{ (density)} \times g \text{ (gravitational constant)}$$   Conceptually, the buoyant force equation says that buoyant force exerted is equal to the weight of the volume of water a given object displaced. Why? I went online to   and found the following explanation, but it seems like non-sequitur to me:      Explanation: When an object is removed, the volume that the object occupied will fill with fluid. This volume of fluid must be supported by the pressure of the surrounding liquid since a fluid can not support itself. When no object is present, the net upward force on this volume of fluid must equal to its weight, i.e. the weight of the fluid displaced. When the object is present, this same upward force will act on the object.


Heavily related to , as of now,  has changed dramatically. And searching in the TOS, it looks like I'm allowed to remove the Unity logo in my exported game. Looking at Section 4.1, it still retains:     You will not remove, alter or obscure any copyright, trademark,   service mark or other proprietary rights notices incorporated in or   accompanying the Services.   However looking at how "Services" is defined in the first paragraph of the TOS:     Unity Technologies ApS (“Unity”, “our” or “we”) provides   game-development and related software (the “Software”),   development-related services (like Unity Analytics (“Developer   Services”)), and various Unity communities (like Unity Answers and and   the Made with Unity Platform (“Communities”)), provided through or in   connection with our website, accessible at unity3d.com or unity.com   (collectively, the “Site”). Except to the extent you and Unity have   executed a separate agreement, these terms and conditions exclusively   govern your access to and use of the Software, Developer Services,   Communities and Site (collectively, the “Services”)   It does not seem to include the exported game itself. And even if Section 4.1 says "accompanying the services", I assume it still wouldn't include the game as the game does not need to accompany them. Otherwise it would be illegal to remove the logo from the splash screen from a game made in Unity Pro since the TOS applies to all tiers of Unity. Furthermore, I haven't found anywhere that says you can't modify or hack into the produced executables (I even looked  which contains another part of the TOS). Does this mean I can remove the logo from the splash screen no matter what Unity tier (personal, plus or pro) I'm using?  (My aim is to actually move it to a dedicated credits section accessible from the title screen of the game rather than having it appear in the splash screen. Players of the game will still know that it's made in Unity.)


Odd sounding phrasal verb splits with specific pronouns. Are there rules?

Give the examples...  A:   Did you check it out? Did you check the book out? Did you check Netflix out? Did you check the recommendation out? Did you clean it out? Did you wipe it off? Did you log it in? Did you log the evidence in? Did you wrap it up? Did you wrap the gift up? Did you lock the house up? Did you lock it up? Did you check out the book? Did you check out Netflix? Did you check out the recommendation? Did you log in the evidence? Did you wrap up the gift? Did you lock up the house?   B:   Did you check out it? Did you clean out it? Did you wipe off it? Did you log in it? Did you wrap up it? Did you lock up it?   All the above A's sound fine to me; but the B's don't.  The only pattern I see is, the sentences ending with the object it. But the other objects seem fine with the same usage.  Is there some rule why the B's shouldn't be used? Or are they just not common, so sound odd?  Update:  A:   Did you back up the car? Did you back up John? Did you back up everybody? Did you back up nothing? Did you back up any? Did you blow up balloons? Did you help me out? Did you help them out? Did you wipe that off? Did you back the car up? Did you back it up? Did you back her up? Did you back John up? Did you back everybody up? Did you back nothing up? Did you back any up? Did you blow balloons up?   B:   Did you back up it? Did you back up her? Did you help out me? Did you help out them? Did you wipe off that?   As I added more examples, I'm noticing this has more to do with the objects (it, me, her, that, them) than the phrasal verbs.


The beam energy is sometimes in AGeV in collider papers. I'm stuck on how to convert AGeV to GeV.


How do I remove the /n from that string in the list or specify any character in the string?

def stringi(file):     doc = open(file, 'r')     cont = doc.read()     nums = []     word = ""     for i in cont:         if i != " ":             word += i         else:             nums.append(word)             word = ""     nums.append(word)     doc.close()     return nums  This prints >>> ['This', 'is', 'ship', 'line', '132', '43', 'hello\n'] from a file which has: "This is ship line 132 43 hello" How do I remove the \n part or at least a specific character in an element? (I'm aware that there are modules to do what I want with making each word an element but I'm a beginner and want to learn other ways.)


using Fibonacci numbers prove that if $d|n$ then $F_d|F_n$

The first question was to prove that $\gcd(F_{n+1},F_n) = 1$ So i tried to use it but with no success. any help or clue will appreciated thanks


The "Azimuth and Distance" plugin does not appear to be maintained any longer, and has not been transitioned to the new QGIS 2.0 plugin repository. What are the current options for entering COGO in QGIS? Does the roadmap include these tools, or is this something that will still depend on a plugin?


I have a script that takes filenames as positional parameters.  I perform a few operations on these and then tar them.  Currently my script is not working.  The echo line is there for debugging purposes.     Please clarify this statement      But when I try to tar with in the script if can file the file I want to tar.   SNIPPET  while [[ $# > 0 ]]; do     key="$1"     shift     files=$files" "\"${key}\"  done  echo tar -cvf backup.tar $files tar -cvf backup.tar $files   OUTPUT:  tar -cvf backup.tar "test.txt" tar: "test.txt": Cannot stat: No such file or directory tar: Exiting with failure status due to previous errors   I am using the double quotes around the filename (test.txt) as I want to handle files with spaces.  If I were to remove the quotes in the script (\"), it will work but then I can’t handle filenames with spaces.  Any ideas?


This is the code I used in Drupal 7.              <a href="<?php print $base_path ?>" title="<?php print t('Home') ?>">                 <img src="<?php print $logo ?>" alt="<?php print t('Home') ?>" />                This is the code I am using for Drupal 8.                        {{ logopath }}                                 If I upload the logo, it doesn't display. What should I do now?


How can I left-justify text in centered math mode?

If I want to achieve something like the following:    where the text before the equaions is left-justified, how can I do that? So far I've been using stuff like  \llap{ Which gives us \hspace{3cm}} f;g;h = fg;h = fgh = f;gh   where I have to tweak the amount of hspace each time. I'm often, but not always, doing this inside the gather environment.  I suppose I could make an array with lcc columns, and put some \hfill in the left column, but how do I tell it to center the line on the middle column?


How do I place a bootable ISO on a USB drive?

What's the best way of placing a bootable ISO on a USB drive, such that the drive is bootable? ISOs such as a live Linux preview disk, Windows installation ISO, etc.


I'm interested in locating free GIS shapefile data representing the US / Mexican border. I have found a point layer depicting the border crossing points but I'm interested in a polyline feature representing the actual border.


How to check for the msoledbsql driver installed in the system (in Delphi 5)

My intention is to use the new Microsoft OLE DB Driver for SQL Server (msoledbsql) for database connection in Delphi 5 if it is installed in the system. If it is not installed than I am using old driver (sqloledb). My question is: What would be the proper way to check for the driver installed in the system? I guess it has somethink to do with Registry check and also some dlls existing in the folder. I know how to chek for dlls but I am not sure about the Registry.


Grub rescue after udpating to Ubuntu 16.04

I tried to install Ubuntu 16.04 on another computer running Ubuntu 14.04 from a bootable USB stick. During the installation I chose not to delete the existing files, but only to remove Ubuntu 14.04 and install Ubuntu 16.04. I got a warning message telling me to create a partition with at least 1 Mb and a specific name (which now I don't rembember). Quite stupidly, I ignored that message and continued the installation. The installation was succesfully completed, but now I can boot from neither the USB stick nor the hard drive.  If I try to boot without the USB stick, I get      error: file not found   grub rescue>   I tried to follow  and I have the following situation.     grub rescue> ls   (hd0) (hd0,gpt5) (hd0,gpt4) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (hd1)    I set     grub rescue> set prefix=(hd0,gpt3)/boot/grub   grub rescue> set root=hd0,gpt3   because only with this choice I get a meaningful answer to     grub rescue> ls /   (in all other cases I get "error: unknown filesystem"). If I now type "insmod normal" I get     grub rescue> insmod normal   error: file not found.   Here I am stuck and don't know what to do. Note that I also tried to run insmod normal on all other partitions (as suggested ), but without success.  If I try to boot from the USB stick, I get a screen of incomprehensible messages, and I can't do anything. The last two are     [    1.074641] Kernel Offset: disabled   [    1.074664] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs in unknown-block(0,0)   Any help would be appreciated. PS: I don't care if I lose any data, I just want my computer to work again.


Count numbers where three first digits equal last three

How do I efficiently count the zero padded six digit numbers where the first three digits equal the last three?  My solution is like this. But this is not efficient solution. I have to find best way  public class TicketNumber {    public static void main(String[] args) {     int i1, i2, i3, i4, i5, i6, count = 0;     String str="";     for (i1 = 0; i1 <= 9; i1++) {        for (i2 = 0; i2 <= 9; i2++) {           for (i3 = 0; i3 <= 9; i3++) {              for (i4 = 0; i4 <= 9; i4++) {                 for (i5 = 0; i5 <= 9; i5++) {                    for (i6 = 0; i6 <= 9; i6++) {                       if ((i1+i2+i3) == (i4+i5+i6)) {                          count++;                       }                   }                }             }          }       }    }    System.out.println(count);   } }   I should print all numbers between 000000-999999 which compatible with i1+i2+i3 = i4+i5+i6 condition


Sources for learning (not just running) statistics/math through R

I am interested in examples of sources (R code, R packages, books, book chapters, articles, links etc) for learning statistical and mathematical concepts through R (it could also be through other languages, but R is my favorite flavor).  The challenge is that the learning of the material relies on the programming, not just on how to run a code that performs the algorithm.  So (for example) a book like  (which is a great book) is not what I am looking for.  This is since this books mainly shows how to implement linear models in R, but it does not revolve around teaching linear models by using R.  The help files for the (wonderful)  is a good example of what I am looking for.  It is an R package which includes functions for learning statistical concepts through various R applets and simulations.  The accompany help files are nice.  Of course, neither are sufficient, and require an external text-book in order to master many of the exact details to learn them (well, the help files do).  All leads will be much appreciated.


If I buy a game from PSN on ps3 Is it permanently mine?

If I buy a game from PSN, will I be able to play it without Wi-Fi?


What application is eoersupzyt.exe a part of?

I'm looking at a computer where eoersupzyt.exe is consuming significant amounts of bandwidth. What application is this a part of?


Here I am again, asking the same question I asked a few months ago. But no, I don't believe this is a duplicate, because there are so many contradicting answers on this that I find it difficult to determine the correct one.  seroundtable.com says,     H1 tags should be used for what they were originally created for: organizing your documents to stress the key points.   That being said, it would be illogical for search engines to not think that a h2 is of lesser importance than a h1.  ehow.com says this,     it is recommended that a page should always have an H1 element, but only one. The H1 tag should include the main keywords targeted within the page.   So that right there contradicts an answer provided to me on S/O a few months ago. The answer that was provided went along the lines of, 'You can have as many h1 tags as you like' (I was asking a question about how to use them when I need more than 6).  So now I am confused.  I believe that by using many h1's sends a less-than-clear message to the viewer and search engines. But I also feel dirty making a p tag 28px;  What should I do? The issue here is, this is a unique design, and all 5 main navigation links are spread horizontally and are all the same size. I want to use a h1 for them all, I do not want to use h1, h2, h3, because all links - in this case - are of equal value. What I mean is, you wouldn't dare try to pass one page off as less important than the other.


At the time the Big Bang happened the matter had enormous density. According the GR (I may be wrong here) such density dilates time.  If so, could it be that the time periods just after Big Bang which are usually considered happening in small part of a second (such as the Planck epoch), in reaity took billons of year (or may be, infinity) but due to time dilation appear to us as spanning only microscopic parts of a second? Could it be that the age of the universe is dramatically underestimated?


Why can't an analytic function be injective in a neighborhood of an essential singularity?

Let $D \subset \mathbb{C}$ be a domain and let $a \in D$. Suppose $f: D \smallsetminus \{a\} \to \mathbb{C}$ is analytic and that $a$ is an essential singularity of $f$. Show that $f$ cannot be univalent (= injective) in any neighborhood of $a$.  This is a trivial consequence of the Picard theorem. But I don't know if there is any elementary approach.


What is a word for someone that only does something to benefit them?

Take this paragraph for example: I am a follower, not a leader. Hell, I'm not even that good of a follower either, just someone who will do your bidding for the right price. Even then, if it doesn't benefit me -- or put you in debt to me -- I won't do it.


How use cd command to access a directory with space

How do I use "cd" to access a directory with a space, for example "XML 5.1 Final Fields" in a bash script  I tried cd XML 5.1 Final Fields  But it's giving the No such file or directory error.  This is the script:  #! /bin/bash xmlfolder="XML/ \/5.1/ \/Final/ \/Fields" xmlpath="/home/george/Desktop/m5u/test/$xmlfolder" cd $xmlpath     ls /home/george/Desktop/m5u/test/     XML 5.1 Final Fields     ~/Desktop/m5u/test$ ll drwxr-xr-x  9 george george      4096 Feb 18 12:44 XML 5.1 Final Fields   this is the error I get when I run the script  line 5: cd: /home/george/Desktop/m5u/test/XML\: No such file or directory


I have small musician database , but trouble with umlauts. Trying to create google charts from data. This is I've done.  CREATE TABLE `musicians` ( `m_id` INT(15) NOT NULL, `surname` VARCHAR(25) NULL DEFAULT NULL, `firstname` VARCHAR(25) NULL DEFAULT NULL, `fullname` VARCHAR(25) NOT NULL, `dob` DATE NULL DEFAULT NULL, `nationality` VARCHAR(25) NULL DEFAULT NULL, PRIMARY KEY (`m_id`) ) COLLATE='latin1_swedish_ci' ENGINE=InnoDB;  INSERT INTO `musicians` (`m_id`, `surname`, `firstname`,`nationality`) VALUES (1, 'Svenson', 'Sven','Sweden'), (2, 'Johnson', 'John', 'England'), (3, 'Jääskeläinen', 'Jaske','Finland');   website outputs  for name with umlauts are with question marks. The main problem are with google charts - names with ulmauts are returning empty lines. What I am doing wrong.  utf8_unicode_ci - no changes utf8_bin -no changes


Update number of views of a question with AJAX

Currently some things on a question page update "dynamically" (with AJAX without page reload). That includes the number of votes for a question and some other things.  I propose to update dynamically also the number of views of the question. Personally I often click Reload in the browser to see if the number of views has changed. I think this should be automated and without full page reload.


Why does Windows 7 bizarrely present two different versions of the same file?

I've stumbled across what I consider to be some very bizarre behaviour by Windows 7 (it may apply to later versions of Windows too but I'm testing on Win7) for files in certain locations and I can't seem to find any information about it on Google, so I was wondering whether someone who knows about Windows internals could explain this to me.  So basically, this behaviour exhibits itself for files in certain directories.  I'm not sure which ones exactly but it seems to include some directories in Program Files (x86); for the purposes of my testing I used the install directory for Europa Universalis 3, which is Program Files (x86)\Paradox Interactive\Europa Universalis III.  This behaviour applies to files already in the directory, but to produce a clean reproducible demonstration I started by creating a file text.txt on the desktop.  The file contained the text:  Hello world!   I like to use EditPad Lite 5.4.0 for my main text editor (yeah I know it's old but I've gotten used to it) but I also have Vim for Windows 8.0.586 installed.  When I open the file in either, I see the same text, and when I edit the text in either, both programs see the same edited text.  So far, so good.  I copy the file into Program Files (x86)\Paradox Interactive\Europa Universalis III, and get a prompt for admin access to be able to copy the file, which I allow.  This is where the weirdness begins.  I open that copied file in EditPad Lite, add some text, and save (file does not appear as read-only):  Hello world! Edited with EditPad Lite.   I then open the file with Vim and Vim shows the OLD version of the file:  Hello world!   I try to edit and save but Vim sees this file as read-only!  So I open with Vim as Administrator, and edit the file and save:  Hello world! Edited with Vim.   When I open the file with EditPad Lite again, I see the EditPad version of the file!  So now we have 2 versions of the file which I will term the "EditPad version" and the "Vim version".  "EditPad" version (IS NOT read-only):  Hello world! Edited with EditPad Lite.   "Vim" version (IS read-only):  Hello world! Edited with Vim.   Even a reboot doesn't change things, so it doesn't seem to be some sort of Windows memory caching; it's actually persisting these 2 different versions of the file to disk!  Upon further experimentation, I determined that different programs seem to access different versions of the file:  "Vim" version of the file:   Vim 8.0.586 Vim 8.0.586 as administrator 7-Zip 16.04 (64-bit) Windows Explorer Windows 7 Notepad   "EditPad" version of the file:   EditPad Lite 5.4.0 Europa Universalis 3 Windows XP Notepad   What on Earth is Windows 7 doing here?  Why does it present 2 different versions of the file, one being read-only and the other not?  My best guess is that there are two different system calls being used and Windows 7 presents a different version of the file to the different calls, or perhaps 64-bit programs see one version of the file and 32-bit ones see a different version?  Can anyone explain this and is this behaviour documented anywhere?


I know group theory and I'm familiar with the concept and definition of Group. Today I was reading an article about topology and discoverer the concept of "topological group". I read the definition and immediately the following question came to my mind:  What is the purpose of topological groups? What can we do with topological groups that we can't do with regular groups? What are topological groups used for? What can topological groups do that groups without a topology can't?  I barely know any topology and perhaps that's why I can't see any utility of adding a topology to a group.


If we know the GCD and LCM of two integers, can we determine the possible values of these two integers?

I know that $\gcd(a,b) \cdot \operatorname{lcm}(a,b) = ab$, so if we know $\gcd(a,b)$ and $\operatorname{lcm}(a,b)$ and we want to find out $a$ and $b$, besides factoring $ab$ and find possible values, can we find these two integers faster?


Why does a window become a mirror at night?

In day, when you look in the room through the window out, you can clearly see what happens outside. At night when it's dark outside but there's light inside you can look in the window but it becomes a mirror.  Why?


Last week I lent my laptop to my kid brother and he changed my password (Password of the only admin account in the PC) , and now i am lock out of the laptop and he says he doesn't remember what he changed the password into. How can I get access in to my laptop. The laptop is an Dell Inspiron 13 running Windows 10


Why do applications and résumés use the word “sex” instead of “gender”?

We understand what the meaning of the terms name, age, and address when used in applications and résumés, but why is sex used instead of gender?  Definitions from   :        meaning of gender: The properties that distinguish organisms on the    basis of their reproductive roles.   meaning of sex: Activities associated with sexual intercourse.


Can you please help me find where the problem arises in the solution?  $1 + \frac{1}{x} \geq 0$  My attempt: $1 + \frac{1}{x} \geq 0$ $1 \geq - \frac{1}{x}$ $x \geq -1$ The answer is $x \in (- \infty, -1] \bigcup (0, \infty)$.  I understand why the answer is so, but I made this mistake while solving a problem and didn't notice, so I want to understand how to approach problems like this. Thanks!


Is a complex vector space closed under complex conjugation?

Given a complex vector space $\mathcal{V}$, its complex conjugate $\overline{\mathcal{V}} = \{ \overline{v} : v \in \mathcal{V} \}$ consists of the "same" set of points (according to a number of references...). I'm struggling to reconcile that with the following example:    Define $ \mathcal{V} = \mathrm{span}_{\mathbb{C}}\{(1,i)\} = \{ (\alpha + \beta i, -\beta + \alpha i) : \alpha,\beta \in \mathbb{R} \}\,. $ Then, $(1,i) \in \mathcal{V}$ and so $\overline{(1,i)} \in \overline{\mathcal{V}}$, but $\overline{(1,i)} = (1,-i) \notin \mathcal{V}$. Thus, some vectors in $\overline{\mathcal{V}}$ are not in $\mathcal{V}$ (and vice versa).     Edited to add proposed solution (based on comments):   Complex conjugation on $\mathcal{V}$ can be (re)defined as   $$     \overline{(\alpha + \beta i, \, -\beta + \alpha i)}        = (\alpha - \beta i, \,\beta + \alpha i) \in \mathcal{V} \,.   $$     Am I missing something? If $\mathcal{V}$ is a complex vector space, then how do we reconcile it as having different vectors than its complex conjugate? On the other hand, if $\mathcal{V}$ isn't a complex vector space, then what is it?


Can anyone tell me the maximum number of logical as well as the maximum number of physical processors supported in the latest release of Ubuntu?  In the documentation online, I've found the 8 processor support for 32 bit, and 256 processors for 64 bit, but it is unclear whether it is referring to logical or physical processors.  Thanks


has the ability     G: Regenerate Charging Troll   If you cast , on it and later it receives lethal damage does it regenerate or get exiled?  Does it matter when it was regenerated vs when lava coil was cast on it?


Adapt font and icon sizes to High Definition screen resolutions in Ubuntu-Studio XFCE

I have a Dell XPS 13. I got it with windows 8 and it adapts the fonts and icons to the 3200x1800 screen resolution. Then I start my virtual Ubuntu Studio 14.04 machine and they look really small. How does Ubuntu Studio handle that? Is there a way I can set it to do the same windows does (i.e. make them extra big so I can read them in menus and titles)?  I'm using Ubuntu Studio 14.04, with XFCE, so  won't work because the options are different than those for Unity.  I have adapted font sizes and icons using different configuration options, and most apps seem to work, as well as Desktop.   But some applications, like Blender, won't change. Is there like a general way to tell Ubuntu-Studio "I'm using a High DPI screen, please adapt"?


Why does the p-value double when using two-tailed test compared to one-tailed one?

Since this has been marked as a duplicate, I want to clarify that it's not about critical values of one- vs two-tailed tests, but the calculation of the p-Value in this case.  I get that in a two-tailed test, you look at both sides of the distribution and therefore you split alpha in half and you need a more extreme test statistic to get a significant result (at the same alpha level).   In my understanding, the p-value is the probability to get this or a more extreme test statistics if the H0 is true. This is easily calculated for a one-tailed test: I just calculate the integral right of the empirical test statistic    For a normal distribution, a z-Value of 1.645 gives me a p-Value of ~0.05. But if I do the same procedure with a two-tailed test, SPSS/Excel doubles the p-value. I get that you now look on the other side of the distribution as well, and therefore I think it's the integral of z(test statistic) + z(-test statistic), but why? I did not get the result -1.645, so I don't understand why I should add the 2.5% of the other side.


What is wrong with this? I have quintupple checked it, but grammarly tells me that I have passive voice misuse. Can someone help?     "The Japanese were warned that one of their cities, Hiroshima, which is also where their 2nd army was, would vanish."


I am using REVTex 4-1, for my own personal use, not a paper submission.  I like using REVTex and  I have gotten somewhat used to it, but for my current purposes I need left aligned subsections headings. In REVTex only rmp documentclass option gives that, but it also changes other aspects(I prefer prb).  I tried using command \titleformat from the titlesec package, but i can't figure out how to change only one option without changing other settings set by the REVTex (and prb)  \titleformat{\subsection}{\raggedright}{}{}{}  \titleformat*{\subsection}{\raggedright}   Is there a way to only set left alignment, without changing other settings?


I'm trying to get LaTeX working on Anki.  I am the only admin on my system but when I try and run the terminal command "tlmgr update --self && tlmgr install dvipng" I get an error saying I need to run the program as an admin. I am the admin! How do I run this program?   Note:  Due to lack of reputation, I am unable to vote or bump any existing material, so I am asking a new question.  The comment to the top answer is identical to my query, hence the identical text.


Say I have three settlements: A, B, and C  A has all my wood. B has all my steel. C has all my rubber.  Now if I set up a supply line from B to A and from C to A, A has access to all three.  But does B or C have access to all three?  Or do I need to also set up a supply line from B to C?


Bluetooth mouse stops working almost everytime I wake my mac from sleep

I use my mac (yosemite 10.10) at work with bluetooth mouse and at home with just the trackpad. Whenever I bring my mac back to work and start it up, >90% of the times it can't find the mouse. Turning bluetooth on/off, trying trickery with turning mouse on and off and all that doesn't work. Restarting blued didn't work. Removing mouse from bluetooth settings and trying to re-pair didn't work (could not find the mouse). Changing the batteries didn't help. The only thing that works, is rebooting the mac. After this everything works as it should.  I find this not to be the correct solution. I mean this can't be a hardware fault, can it? And if not, resetting/restarting some piece of software should do the same trick as rebooting the mac.  My mouse is apple magic mouse. I have no bluetooth keyboard.


What is the function for getting SRID from Geometry field.   I have inserted a shapefile into SQL Server table with a Geometry field defined. I know the projection of shapefile is Swreff99_1800 (EPSG:3011).   Now my question is How I get this SRID:3011 by using some OGC method of the geometry field?


Spinning theoretical object moving faster than the speed of light

Let's say you have the Earth, or any celestial body, spinning as it is. What if you build a tower from the surface, and extended it out into space. If it was built far enough, could the furthest end exceed the speed of light?


What is a good way to protect manga from yellowing in an open bookself besides book covers/comic book bags?

Recently I've started to collect manga. I have twenty-four volumes now. I keep them in an open bookshelf facing a window along with some other books which unfortunately I don't have any place for where it isn't facing the window, so I can't really keep them out of the sunlight. My fear of my books yellowing has been growing especially since the manga pages are so thin. I don't really like the idea of having to put each volume in one of those plastic comic book covers, so I was thinking of maybe putting a strip of white sheet behind them to minimize the impact the light has on them? I also have other books on the shelf that wouldn't necessarily fit comic bags. Is that a good idea, or would it just absorb more heat and further damage the books? Also, if anyone has any other methods, please share them. I’m open to buying stuff if I need to. I only have 20 volumes so it doesn’t need to be something huge (for now :D) Otherwise, the dimensions I need to cover are roughly 1.5 by 7 feet. Thanks in advance.   Edit: Addressing the suggested answers to the duplicate question suggestion and why I think it should be reopened, that question was answered with the comic protector sleeve option which I stated I did not want to do. I was asking specifically about other methods and if the method of hanging a portion of a cut white sheet behind the shelf would work. I would also be open to putting something else behind the shelf. Hopefully this is able to be reopened now, I think its probably different enough from the duplicate now but I can edit it further if need be.


For which odd positive integer $n$, is it true that $−1$ is not a positive power of $2$ modulo $n$? [request for more extensive results]

For which odd positive integer $n$, is it true that $−1$ is not a positive power of $2$ modulo $n$ i.e. $[−1]\ne [2^k],\forall k>0$ in $\mathbf{Z}_n$ ?   This question was asked in   There, the following sequence was referenced:   However, the sequences given only cover $n$ prime.  What if $n$ is not prime?  This is not completely trivial, as $n=15$ does not have $-1$ as a positive power modulo $n$, even though $n=3$ and $n=5$ do.  That is, $3$ divides $2^n + 1$ for some $n$, and $5$ divides $2^n + 1$ for some $n$, but $15$ does not divide $2^n + 1$ for some $n$.  At the same time, $33$ does divide $2^n + 1$ for some $n$ (as do $3$ and $11$, obviously).  Is there a way to apply this sequence to composites and prime powers?


How should I prove that the following sequence is cauchy?

I have to prove from definition that the following sequence is Cauchy: ${1+\frac{1}{1!}+\frac{1}{2!}...+\frac{1}{n!}}$. Definition of Cauchy sequence: A sequence $(a_n)$ is said to be a Cauchy sequence  if given $\epsilon>0$, however small, there exists a $m\in N$ such that $|a_{m+p}-a_p|$<$\epsilon$ for all $n\geq m$ and for $p=1,2,3...$ Hint given in textbook is : $(n+1)!\geq 2^n$ So should I take $p=1?$ That would give me ${1+\frac{1}{1!}+\frac{1}{2!}...+\frac{1}{n!}+\frac{1}{(n+1)!}}$. Then, $|u_{n+1}-u_n|=\frac{1}{{(n+1)}!}\leq \frac{1}{2^n}$


Would I need to delete unused assets from my Unity packaged build?

I'm going to make a release for my Unity game.  Does Unity include unused assets in build output? Would removing unused assets from a project reduce build size/Time?  I want to know if Unity packages all the assets to my build (which I would need to delete), or if Unity packages only the assets that are actually used in the game.


If you are in the Astral Plane, can you put one Bag of Holding inside another one to get out of the Astral Plane?

I understand that if you put a bag of holding in a bag of holding, both are destroyed and anything within 5 feet of them gets sucked into the Astral Plane.  But if you're in the Astral Plane, can you do the same thing to get out of said plane?


How can I level a floor with uneven joists?

Ripping up 3/4" particle board underlayment over 1/2" plywood subfloor. Running with the joists the floor is flat and level. But running perpendicular to the joists I have high spots every six to seven feet creating a sway of 2 to 3 eighths at its lowest point.   My question is, to level or more importantly flatten the floor, can I lay shingles and 30lb felt the length of the low spots, then screw down 3/4" ply on top in prep for vinyl plank flooring?


When you use 'Rebound' does the card go to the graveyard?

Someone suggested I read the basic guide of mtg because I'm new to the game, so I was reading it and  it says:     If a spell or ability exiles a card, that card is put in a game area that's set apart from the rest of the game. The card will remain there forever, unless whatever put it there is able to bring it back. Exiled cards are normally face up. This zone is shared by both players.   So if you played a card like  and next turn you use rebound, spell happens, does it remain in exile or go to the graveyard?  (Also, not a question but a side note, all players share the same exile? Thats interesting I didn't know that till just now.)


Any $B \subset \{10,11,...,99\}$, with $|B| =10$ has two subsets such that $\sum_{a \in B_1} a = \sum_{b \in B_2} b$

Let there be $B \subset \{10,11,...,99\}$, with $|B| =10$. I need to prove, using the pigeonhole principle, that there are at least two disjoint subsets of $B$ (and none empty) where the sums of their elements are identical. I.e. $\exists B_1 \ne \varnothing, B_2 \ne \varnothing$ such that $B_1 \bigcup B_2 = B$, $B_1 \bigcap B_2 =\varnothing$ and $$\sum_{a \in B_1} a = \sum_{b \in B_2} b$$


Check if a value exists in two or more arrays

I'm trying to check user input value against two or arrays to see if the value inputed by the user equals a value in one of the arrays. Based on which array the input value equals to, I want to display a specific alert message.  So far I have this:    var zip = document.getElementById('zip').value; var zone1 = ['11220', '11223', '11224', '11225', '11226','11228']; var zone2 = ['10038', '10001'];     So if the user enters ZIP code 11220, I would like to display a message: "Price: $50". If the user enters 10038, I would like the message "Price: $75".  What's the easiest and most efficient way to do this?


In a text file, there is a string "I don't like this".  However, when I read it into a string, it becomes "I don\xe2\x80\x98t like this". I understand that \u2018 is the unicode representation of "'". I use   f1 = open (file1, "r") text = f1.read()   command to do the reading.  Now, is it possible to read the string in such a way that when it is read into the string, it is "I don't like this", instead of "I don\xe2\x80\x98t like this like this"?  Second edit: I have seen some people use mapping to solve this problem, but really, is there no built-in conversion that does this kind of ANSI to unicode ( and vice versa) conversion?


Menu list keeps on growing every time I debug my Operator script

This is a question about the process of developing an addon rather than a specific error in the script. I'm creating an Operator that I want to show up in the UV Unwrap menu.  I'm editing the script in the Scripting tab and every time I want to try the latest version of my code, I press the little arrow button to run my script. Unfortunately, every time I do a new entry is added to my menu list, so over a programming session my menu quickly fills up with lots of identical entries to run my operator.  I just want a single menu entry.  I thought my operators unregister() method would take care of this, but it does not seem to. What would be a better workflow to develop my addon? import bpy from bpy.props import FloatProperty  class UnwrapWorldUvOperator(bpy.types.Operator):     bl_idname = "uv.unwrap_world_space"     bl_label = "Unwrap World Space Operator"     bl_options = {'REGISTER', 'UNDO'}      scale: FloatProperty()      @classmethod     def poll(cls, context):         obj = context.active_object         return obj and obj.type == 'MESH' and obj.mode == 'EDIT'      def execute(self, context):         print (self.bl_idname)         return {'FINISHED'}  def menu_func(self, context):     self.layout.operator("uv.unwrap_world_space")      def register():     bpy.utils.register_class(UnwrapWorldUvOperator)     bpy.types.VIEW3D_MT_uv_map.prepend(menu_func)   def unregister():     bpy.utils.unregister_class(UnwrapWorldUvOperator)     bpy.types.VIEW3D_MT_uv_map.remove(menu_func)   if __name__ == "__main__":     register()


Dual Booting With Windows 10 not working

We installed ubuntu linux in windows 10 machine. However, we are not getting dual booting option to run ubuntu after rebooting the laptop. After rebooting, windows 10 always shows up, never ubuntu linux. Please help us to fix this problem.


Multiple- or single-entry for Schengen visa if I am travelling to multiple countries

My parents and I are travelling to Europe in May. Below is our itinerary. Will we require a single- or a multiple-entry visa? We have Indian passports.  My itinerary:   Italy: 7th to 15th May Czech: 15th to 19th May Belgium: 19th to 22nd May Netherlands: 22nd to 26th May   Parents: Italy: 7th to 15th May  Since I am visiting multiple countries, would I require a single-entry visa or a multiple-entry visa? From what I understand, we would require a single-entry, since I am not exiting the Schengen area during my trip.


Non-parametric test equivalent to mixed ANOVA?

I have an experiment with two groups under different conditions where a single dependent variable is measured repeatedly at multiple times.  It seems the right parametric test to use here is :     "A mixed ANOVA compares the mean differences between groups that have   been split on two "factors" (also known as independent variables),   where one factor is a "within-subjects" factor and the other factor is   a "between-subjects" factor."   However, my data is strongly non-normal (and some of the dependent variables are ordinal anyway).    What is a non-parametric equivalent test to two-factor mixed ANOVA?


I have an XML file like below:  <sections>
 <item key="Terminal" value="254726387322" /> <item key="UserName" value="SomeName" /> <item key="Pass" value="XXXX" />

 <item key="Terminal" value="254726402010" /> <item key="UserName" value="SomeOtherName" /> <item key="Pass" value="XXXX" />
 </sections>   How can I have a C# function that returns a string containing a field value like below:  public string GetXMLValue(string Section, string Terminal) { return string TerminalOfSection }   The above method should return the XML Tag value "Terminal" of a given Section say "516604" as a string.  Thank You.  I did some modificatins to the XML to suite my purpose:  <xml version="1.0" encoding="UTF-8"?> <516604> <Terminal>254726387322</Terminal> <UserName>SomeUser</UserName> <Pass>XXXX</Pass> </516604> <802200> <Terminal>254726402010</Terminal> <UserName>SomeOtherUser</UserName> <Pass>XXXX</Pass> </802200>   And here is the code to get the exact tag from the XML and save it in a string like so:  public static string GetXMLValue(string XMLSection, string XMLInput, string XMLtagValue) { string retval = string.Empty, FirstXMLSection = string.Empty, LastXMLSection = string.Empty, FirstXMLtagValue = string.Empty, LastXMLtagValue = string.Empty;  //Tag the XML section to retrieve value from FirstXMLSection = "<" + XMLSection + ">"; LastXMLSection = "</" + XMLSection + ">";  //Tag the XML element to retrieve value from FirstXMLtagValue = "<" + XMLtagValue + ">"; LastXMLtagValue = "</" + XMLtagValue + ">";  if (XMLInput.IndexOf(XMLtagValue) != -1) { //Retrieve XML Section & save in a string retval retval = XMLInput.Substring(XMLInput.IndexOf(FirstXMLSection)); retval = retval.Substring(FirstXMLSection.Length); retval = retval.Substring(0, retval.IndexOf(LastXMLSection)); //Retrieve XML element & still save in a string retval retval = retval.Substring(retval.IndexOf(FirstXMLtagValue)); retval = retval.Substring(FirstXMLtagValue.Length); retval = retval.Substring(0, retval.IndexOf(LastXMLtagValue)); } return retval; }   So if I feed section as 516604,the XML Text as XMLInput & terminal as the Tag to get the Value the output will be: 254726387322. Any improvements/demerits are welcomed. Thanks.


How can I set a folder undeletable but have R/W permissions to it's content

I have a directory which I'd like to mark as not deleteable, but have all the usual permissions of read/write/delete on all subdirectories and files. How can I achieve this?  I tried setting the undeletable flag via chattr but it only works on files and apparently doesn't even prevent deleting, but allows restoring the file. Setting the immutable flag prevents deleting the dir but also prevents changing anything in it.


Where should I install software in Ubuntu?

I have an  but the owner doesn't offer file .deb nor repo to install. Instead of that, a zip file is all I got. Its instruction said I only need to run Install.sh to install. After that, run ibus then run GoTiengViet-IBus to use. In the end of note, the author wrote      the directory (the one has Install.sh file) should not be removed.   That is all. I wonder where should I place the directory so I can install the software?


I have a friend on what's app I cannot only see his last seen status, I was able to see it & since a week now I cant see his last seen status. Although I can see when he is online. Message is send me are delivered as I see the double check mark, so don't think he has blocked me, but not sure why I cant view his last status, I can see my other friends status, but not his????


Evaluation by methods of complex analysis $\int_{0}^{1} \frac{\ln(x+1)}{x^2+1} \mathrm{dx}$

How would we evaluate the below integral by methods of complex analysis?  $$\int_{0}^{1} \frac{\ln(x+1)}{x^2+1} \mathrm{dx}$$  I asked  a while ago, but at that time I didn't specify this requirement. Now, I'm only interested in a complex way. Thanks !!!  Sis.


Motion tracking Object Shows up in render but video doesn't

I made a 3D track of a scene and add an object. When I hit render to see how the object looks in the video, but I can't see the video, all I see is the object  When I hit render the video doesn't show up in the background.  Even with the node compositing done.


My iPhone restarts "randomly" when the battery is below a certain threshold (which I haven't been able to specifically pinpoint). A couple weeks ago I had the battery replaced with a new one, as battery life wasn't longer than just a couple of hours  The device has iOS 10.2.1, to be upgraded to 10.3 hopefully during the day.  Any ideas of what could be wrong? I've read suggestions about resetting the iPhone, but just sound like a pretty rough/brute solution to implement, although it's an alternative indeed.


How to get a chart similar to the reputation chart on Stack Exchange

I am always fascinated by the nice Reputation graph on my profile page here. I wanted to have one similar elsewhere. May I know what I may look at for this? I know this is more of a charting question on StackOverflow, but as it is about SO, thought of posting it here.


How does the Moon stay in orbit? The Moon has not reached escape velocity from the Earth, then how does the Moon stays in orbit?


Java Scanner Delimiter Regular Expression

I am currently attempting to write a program that uses a scanner with a custom delimiter to create a hashmap of words in a text file. Everything is working correctly to the most degree, but I have one error: my hashmap includes a blank key for its first entry, even though I have attempted to curtail this using if statements. What am I doing wrong? I am assuming that it has something to do with my regular expression and characters that are not printed in the console. import java.io.File; import java.io.FileNotFoundException; import java.util.HashMap; import java.util.Iterator; import java.util.Scanner; import java.util.TreeMap;  public class Gettys {      public static void main(String[] args) throws FileNotFoundException {         // Takes input from file and creates an alphabetical mapping of the words within the file         File file = new File("src/gettys.txt");         Scanner input = new Scanner(file);         input.useDelimiter("\\s|\\p{Punct}");         TreeMap<String, Integer> map = new TreeMap<String, Integer>();         while (input.hasNext()) {             String word = input.next().toLowerCase();             if (map.containsKey(word) && word != "" && word != null) {                 map.put(word, map.get(word)+1);             }             else if (word != "" && word != null) {                 map.put(word, 1);             }         }// end while loop                  System.out.print(map);     }// end main }//end class   The output is as follows: {=37, a=7, above=1, add=1, advanced=1, ago=1, all=1, altogether=1, ... etc The text file is a text file of the Gettysburg address. After some debugging I realized that the problems only occur where punctuation is in the file. Here is the text of the file: Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal. Now we are engaged in a great civil war, testing whether that nation, or any nation so conceived and so dedicated, can long endure. We are met on a great battlefield of that war. We have come to dedicate a portion of that field, as a final resting place for those who here gave their lives that that nation might live. It is altogether fitting and proper that we should do this. But, in a larger sense, we can not dedicate we can not consecrate we can not hallow this ground. The brave men, living and dead, who struggled here, have consecrated it, far above our poor power to add or detract. The world will little note, nor long remember what we say here, but it can never forget what they did here. It is for us the living, rather, to be dedicated here to the unfinished work which they who fought here have thus far so nobly advanced. It is rather for us to be here dedicated to the great task remaining before us that from these honored dead we take increased devotion to that cause for which they gave the last full measure of devotion that we here highly resolve that these dead shall not have died in vain that this nation, under God, shall have a new birth of freedom and that government of the people, by the people, for the people, shall not perish from the earth. Any help is appreciated! Sorry if this is longwinded.


Freeze list header Row while Scrolling in SharePoint

How to freeze list header row while scrolling in SharePoint?


I have:  list_nums = [1,18] list_chars = ['a','d']   I want:  list_num_chars = [{'num':1, 'char':'a'},                   {'num':18, 'char':'d'}]   Is there a more elegant solution than:  list_num_chars = [{'num':a, 'char':b} for a,b in zip(list_nums, list_chars)]


Vote for Tag Synonyms Directly on the Page

Before:  After:   The pros:  Speeds up the tag synonym voting process. Easier to locate (as opposed to navigating to each individual tag wiki page). Encourages users to vote on more than one at a time.  The cons:  Serial up/downvoting. But this really isn't even an issue because, (1) only experienced users can vote on tag synonyms, and (2) more than one vote is required to approve a tag synonym, so the occasional serial up/downvoter won't significantly impact the overall process.


Possible Duplicate:          How could I use spotlight to search for example for files that end with jar or files that end with doc and at the same time contains "Hello" in it's name?


Does correlation between variables in an interaction matter?

Suppose you fit a model $y = x_1 + x_2 + x_1\times x_2$. Are there any practical implications for estimation of the interaction effect if $x_1$ and $x_2$ are correlated?   I understand there could be collinearity issues if $x_1$ and $x_2$ are very correlated but that shouldn't affect the interaction term right?


How to remove error in cent os7 while using ansys 18.2 ic engine module

I am using Ansys 18.2 (Ansys IC Engine (fluent)) in CentOS 7. I am adding valve.prof (a profile file) before opening the Ansys Design Modeler. However, during the decomposition step I get this error message:     All lift valves are zero. Check valve lift profile format. TIP: Try using dos2unix command to convert the file to unix format.   I've only worked on Windows before; what does this mean? How do I use dos2unix here?


Why isn't the zero ring the field with one element?

I've heard that in the study of finite fields, and other concepts related to finite fields, mathematicians have found a sort of gap: there are various results and things that seem like they correspond to a field with one element, $\mathbf{F}_1$, even though there is no such field. Of course, there is an object which seems similar to a field with one element: the zero ring, $\mathbf{Z}_1$, defined as having one element, $0$, obeying the equations $$0 + 0 = 0 - 0 = 0 \cdot 0 = 1 = 0.$$ The zero ring seems to behave like a field in every respect, except for the fact that it fails to satisfy $0 \ne 1$. (But the importance of the axiom $0 \ne 1$ isn't clear to me.) However, in any case, there seems to be consensus that the zero ring is not the field with one element. People say that the zero ring "does not behave like a finite field" () or that it "does not have the features that mathematicians need" (). I'm not familiar enough with algebraic geometry to understand the properties that $\mathbf{F}_1$ is expected to have. Is there an elementary, undergraduate-level explanation of  why it seems like a field with one element "ought to exist" in the first place, what properties we expect it to have and why, and how the zero ring fails to satisfy these properties?  Or do I need to study algebraic geometry if I want to have an understanding of any of this? (A side question: do we have a good answer to the question of whether the single element of $\mathbf{F}_1$ ought to be $0$, $1$, both, or neither?)


How do I use Drush 8 site aliases in Drush 9?

In Drush 8, my site aliases are loaded correctly from ~/.drush/mysite.aliases.drushrc.php.  E.g.  $aliases['dev'] = array(   'root' => '/var/www/html/mysite.dev/docroot',   'uri' => 'mysite.prod.acquia-sites.com',   'remote-host' => 'mysite.ssh.acquia-sites.com',   'remote-user' => 'mysite.dev',   'path-aliases' => array(     '%drush-script' => 'drush' . $drush_major_version,   ), );   However these aliases aren't loaded in Drush 9.  $ drush site-alias {  }   How I should define site aliases in Drush 9? Is there any migration process?


Can you suggest me what is wrong with using return command in algorithms. when I add  \RETURN $C   to my LaTeX document I get   return C =0,   what I need is just return C.  \begin{algorithm}                      % enter the algorithm environment   \caption{ lloyd's kmeans}         \label{alg1}                             \begin{algorithmic}[1]                    % enter the algorithmienvironment     \RETURN{$C$}   \end{algorithmic} \end{algorithm}   I get two extra characters =0. I wonder where its coming from. if it helps,there is  "Missing number, treated as zero",and  Missing = inserted for \ifnum. in the error log generated


Why does this happen when I enter ' into the console?

I have been noticing some strange behaviour when I type characters like ' or the backtick. Whenever I type it, the > symbol shows up everytime I type something, and everything I type seemingly does not do anything. But when I type the character again, it returns to normal.  user@debian:~$ ' > command > ' -bash: command : command not found user@debian:~$   What is this feature? As far as I know, the man page for bash did not say anything about this    Debian Jessie


How long can we store honey in the home?

Sometimes honey changes its colour; can this affect its taste? How long can I store honey in my home kitchen?


Fit thinnest road tyres (fat ones at present) to terrain bike Outpost GT

Can someone please decipher into common language this wheel/tire info? Rough wheel dimns (by measurement) apprx 57 cm largest dia. x 25mm apprx rim width. To fit H/E rim? Tyre fitted Kenda K898-005 54-359. I want to fit thinnest road tyres (slicks?) on these rims.  Please advise ('cos I'm not even sure of the wheel size in lay language) thanks Peter


In terms of the phonetic symbol, how can I write the symbol t̬ , a "t" with an upside down "^" under it?


Prove that (1+j)^n + (1-j)^n is a real number for every n>0

I personally tried to use DeMoivre's Theorem to solve this. Since (1+i)^n can be written in it's polar form as:  z^n = r^n (cos(nθ)+isin(nθ))  = √(2)^n (cos(nπ/4)+isin(nπ/4))   and (1-i)^n as:  z^n = √(2)^n (cos(n(-π/4))+isin(n(-π/4)))  so (1+i)^n + (1-i)^n can be written as  (1+i)^n + (1-i)^n = (√(2)^n (cos(nπ/4)+isin(nπ/4))) + (√(2)^n (cos(n(-π/4))+isin(n(-π/4))))                = √(2)^n (cos(nπ/4)+isin(nπ/4) + cos(n(-π/4))+isin(n(-π/4)))   Although once I got here, I was unsure as to where to go. If DeMoivre's Theorem the right approach here?


Reduction formula for integral $\int 1/(a^2+x^2)^n dx$

I want to solve the integral $\int 1/(a^2+x^2)^n dx$. I guess this can be solved using the reduction formula as in the case of $\int x^2/(a^2+x^2)^n dx$. However, I am not able to do it.


How to install League of Legends on Ubuntu 14.04

I'm pretty new to ubuntu and i have no idea on how to go through the process of installing the game. If anyone can help by posting a step by step process, it would be of great help  Thank you


Noticed this earlier today when commenting on a post the box is shifted off to the left, Image 1. You can then swipe the box back into view, Image 2. I don't believe that no one else has noticed this, so maybe its just me?    iPhone 5S - iOS 7.0.4  Image 1    Image 2


Laptop randomly blocks keyboard, trackpad and wifi

I have a Lenovo Yoga 2 with Xubuntu 16.04.  Sometimes, out of nowhere my keyboard stops working, so does my trackpad and the computer goes on some kind of airplane mode (wifi and bluetooth on). However, the touchscreen still works at all time.  I've seen  but I can't run syslog since I can barely use my computer.  I'd like to point out that this case is different from the one mentioned above since I can't use the keyboard or mouse again until I reboot, plus the OP in that question never mentioned losing wifi or bluetooth connections.  One of the answers said to disable the accelerometer in the BIOS but I couldn't find any setting regarding it.  Thanks in advance!


Ways to get feedback prior to publication

Before publishing a paper, is there any resource to get someone to review/ provide feedback for a mathematical aficionado ?   I am specifying the aficionado because I lack any friend/professor able to check the paper. This is the reason why other pointed questions do not fully address the particularities of this.   Furthermore to add extra constrains the article addresses a famous open problem in number theory, so I am afraid any style error may make the review process unsuccessful as people will immediately think: another no-one believing has solved Riemann's Hypothesis.   Those two reasons: the particular topic of the publication, and my total lack of background in the math publications makes this question different from the pointed one.


bash script not creating alias and not updating $PS1

I thought I will write a bash script to set the alias I frequently use, and also to change the command promt.  Below is my script.  #!/bin/bash # Make useful aliases alias c='clear' alias p='pwd' alias d='pwd' alias l='ls -l' alias clp='clear;pwd' # Prompt PS1='unix % ' # Echo to check if script runing echo 'Hello world'   But when I run this script(after giving it execute permission) the alias are not added. Neither is the prompt updated with the value given for PS1. Nonetheless it echoes Hello world so it looks like the script is running.   user $ ./myEnv.sh  Hello world user $ d d: command not found user $   Where is the mistake ?


How can I find out if a given program is 64 or 32 bit version? I can't to do it by simply looking at where it's installed, since some programs need no installer and may be put anywhere.  Here, no process explorer will help me, since the application refuses to start.  Reason why I need it: My new eclipse installation fails to load "jvm.dll" . I'd bet I'm using 64-bit versions of both eclipse and JVM, but I'm slowly getting unsure.


Extruding a circular shape from a non-circular object

I need to extrude a circular shape from a surface that's basically just a grid of quads. What's the best practice to do this without screwing up the topology too much?  I basically want to have a circular face I can extrude, in order to have a cylinder like protuberance on the object, something like this:


I tried this  string *codes = (string*)malloc(256*sizeof(string)); codes[0] = "";   in C++. But it didn't work, but when I tried  string *codes = new string[256]; codes[0] = "";   This worked. I did not understand the basic idea behind why this is happening. Could someone please tell me.  Thanks


I get bogged down with notation as well as its mechanics and am in need of a textbook. What are good begginer's textbooks for functional analysis? Thanks.


Why can't the Jedi detect Palpatine's Force sensitivity?

In Disney canon, the Sith use dark side energy emanating from the Sith shrine beneath the Jedi Temple to cloud the senses of the Jedi, allowing them to hide in plain sight. No particular Force power is used.  However, this isn't known to modify one's midichlorian count. Tests for midichlorian counts are part of the standard medical checkups in the Galactic Republic. Why isn't Palpatine found out during any of the routine medical checkups a government official would have to go through?


Test class for apex class which is selecting multiple record ids from list view

Can anyone guide me how to write test class for below apex class.  Actually my class works when I select multiple records from list view and on clicking custom button, I am using VF Page to show the sum of amount of selected records.  Can anyone guide me on how to write test class as I don't have any idea how to start test class for selecting multiple records from list view.  public with sharing class PaymentSummaryController {   public boolean InError {get;set;}  public decimal TotalAmount {get;set;} public decimal TotalAppliedAmount {get;set;} public integer TotalItems {get;set;}  public List<EXECED_Payment__c> selectedIds {get;set;}  public PaymentSummaryController(ApexPages.StandardSetController controller) {    selectedIds = (List<EXECED_Payment__c>) controller.getSelected();      InError=false;     controller.setPageSize(1000);      if (selectedIds==null || selectedIds.size()==0) {         ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.ERROR,'Please select at least one record.');         ApexPages.addMessage(myMsg);         InError=true;     }      else{     String str = ApexPages.currentPage().getParameters().get('selectedIds');         TotalAmount=0;         TotalAppliedAmount=0;         TotalItems=0;         for (EXECED_Payment__c p : [select id,Amount__c,Total_Applied_Amount__c from EXECED_Payment__c where id in: selectedIds]){             if (p.Amount__c!=null)                 TotalAmount+=p.Amount__c;             if (p.Total_Applied_Amount__c!=null)                 TotalAppliedAmount+=p.Total_Applied_Amount__c;             TotalItems++;         }     }  }  }   TestClass:  @isTest(SeeAllData = True) private with sharing class PaymentSummaryControllerTest { static testmethod void PaymentSummaryControllerTest(){     EXECED_Payment__c pay = new EXECED_Payment__c(Payment_Owner__c='Account',Payment_Status__c='Credited',Amount__c=1000,Payment_Date__c=system.now(),Pay_Type__c='Check');     EXECED_Payment__c pay1 = new EXECED_Payment__c(Payment_Owner__c='Account',Payment_Status__c='Credited',Amount__c=1000,Payment_Date__c=system.now(),Pay_Type__c='Check');    List<EXECED_Payment__c> Exceeded = new List <EXECED_Payment__c>();     Exceeded.add(pay);     Exceeded.add(pay1);     insert Exceeded;    test.startTest();     List<sObject> accts = (List<EXECED_Payment__c>)[Select Id From EXECED_Payment__c];     System.debug(accts);        Test.setCurrentPage(Page.PaymentSummary);        ApexPages.StandardSetController controller = new ApexPages.StandardSetController(accts);        controller.setSelected(accts);        PaymentSummaryController ext = new PaymentSummaryController(controller);     test.stopTest();  }  }


I  can't seem to find a way to integrate this function. It is continous and derivable in the real field.  Is this integral actually impossible to evaluate? I couldn't  found it in any manual.  $\int x^x dx $


Starcraft Installation asks for a mythical Disk 2

I just purchased the Starcraft Battle Chest containing Starcraft and BroodWar.  When I try to install Starcraft I get halfway through and I'm prompted to "Insert Disk 2".  The box did not contain a second disk.  My computer is Windows 7 (x64). What do I need to do to continue?  Box Contents:   Starcraft Disk Broodwar Disk WoW Trial Disk