What are the “spam” and “rude or abusive” (offensive) flags, and how do they work?

When flagging, there are two special case options: spam and rude or abusive.   What is spam, and when should I flag content as such? What is considered offensive, rude or abusive content? How does the spam flag differ from the rude or abusive flag? What is the effect of these special flags? When are these flags removed?


Is there a way to get Windows 7 to index shared network drives?

I was able to do this in Windows XP Search and using something like Copernicus.  I don't see any way to do this with Windows 7 (other than making it available offline which means that all that data will be duplicated on my local drive.  What I've tried : I read elsewhere in the Windows 7 Help that you need to make sure the networked drive is indexed by it's O/S. So this network drive is on our Server (XP Pro, SP3) so I've installed Windows Search 4.0 and set it to indexing that drive.  I have another XP machine which is already indexed and Windows 7 still wouldn't let me add that drive to  a Library (to get it indexed) because it's not indexed. So I'm not hopeful that the above solution will work.


Is Windows 10 license perpetual or will it become outdated in 2025?

Windows 10 has been referred as  based on paradigm “Windows-as-a-service”, an ongoing product, constantly updated, with both patches and new features added on over time.  In contradiction to the above statement,  says that Windows 10 will reach end of life on 2025-10-14.  These statements seem contradicting.  If the latter is true, it could still be better to purchase OEM Windows with new computer (the same way as before Windows 10) because there will be no need to keep it longer than the computer.  But if the first statement is true, more costs could be saved by purchasing retail version of Windows 10 and just migrating it between computers with each purchase of the new computer.  Which of the above Microsoft statements should be trusted in relation to choosing Windows 10 license?


Let $V_1,V_2$ be vector space and $\{e_i\},\{\overline e_i\}$ are basis respectively. $\forall ~l\in L(V_1,V_2; F)$ ,why $l$ can be represented as  $$ l=\sum\limits_{ij} a_{ij} \omega^i\otimes \overline\omega^j  ~~~~~~~? $$ $a_{ij}=l(e_i,\overline e_j)$ and $\{\omega^i\},\{\overline\omega^i\}$ is dual basis of $\{e_i\},\{\overline e_i\}$ . $L(V_1,V_2; F)$ is 2 multilinear function space .


What is the proper geometrical name for a a rectangle with a semi-circle at each end?

I'm talking about the shape made up of a rectangle with a semi-circle at each end.  Does it have a particular name? Does it begin with e?


Proof of dilogarithm reflection formula $\zeta(2)-\log(x)\log(1-x)=\operatorname{Li}_2(x)+\operatorname{Li}_2(1-x)$

How to prove  $$\zeta(2)-\log(x)\log(1-x)=\operatorname{Li}_2(x)+\operatorname{Li}_2(1-x)$$ I havent started, any hints?


Font Selection: XeLaTeX with polyglossia and Greek

I am writing a document in English that contains words and passages in ancient greek. XeLaTeX seems ideal to this purpose because one doesn't need to mark the text. Loading polyglossia and choosing English helps with the hyphenation.   The default font does not contain Greek letters, so I use fontspec and load CMU Serif as it is my preferred font.   However, with these settings I get the upper line:   but what I want is the second line. Please note, how they differ in the characters β (beta) and λ (lambda).  I do get the second line when adding the command   \setmainfont[Script=Greek]{CMU Serif}   to the preamble. I don't understand what the difference is: my choice of font is CMU Serif in any case. Additionaly, is this the correct way to get my preferred result?  Here's a MWE:  % !TEX TS-program = XeLaTeX \documentclass[a4paper,12pt]{article}  % font setup \usepackage{fontspec} \setmainfont{CMU Serif} \setsansfont{CMU Sans Serif} \setmonofont{CMU Typewriter Text} \setmainfont[Script=Greek]{CMU Serif}  \usepackage{polyglossia} \setdefaultlanguage{english} \setotherlanguage[variant=ancient]{greek}  \begin{document} This is my text! This is my Greek: ἀλλὰ τοῦτο μὲν ἔσβεσεν. \end{document}


By truly random I mean that IF we knew the position and velocity of every particle in radioactive isotope, could we predict when the decay would happen?


Alternative to itoa() for converting integer to string C++?

I was wondering if there was an alternative to itoa() for converting an integer to a string because when I run it in visual Studio I get warnings, and when I try to build my program under Linux, I get a compilation error.


I am trying to select elements that have certain classes.  following will only select classA:   $('.holder').children('div[class*=classA]');   Divs can either have classA or classB and other classes as well together!  so it can be like this:

   How do I select all elements with classA and classB?


Does the Divination wizard's Portent feature replace only the d20 roll, or the final outcome?

The 's  feature states (PHB, p. 116; emphasis mine):  You can replace any attack roll, saving throw, or ability check made by you or a creature that you can see with one of these foretelling rolls. You must choose to do so before the roll, and you can replace a roll in this way only once per turn.  In the introduction to the PHB (p. 7) and basic rules, the 3rd paragraph under  describes saving throws, attack rolls, and ability checks as (emphasis mine):  [...] the three main kinds of d20 rolls, forming the core of the rules of the game.  All three of them consist of a d20 roll and then modifiers are applied to this die roll. The description of Portent is quite foggy. The first sentence suggests that it allows to replace the final result (d20 + modifiers); however, the second part of the description mentions the roll, without specifying if it just refers to the d20 roll or to d20 + modifiers. Does the Portent feature allow the Divination wizard to replace just the d20 roll? Or does it replace the final result?  This topic is covered in several answers and questions related to Portent working with other rules/aspects of the game, but I believe that this aspect of Portent needs a dedicated question. Some of these answers cite tweets by rules designer Jeremy Crawford. On one hand, the  ("Official Ruling" section) states that ; on the other hand, in the very same section it also states that Crawford's tweets could be a preview of rulings that will appear in the SAC. Crawford's tweets about this issue  and  have not been still included in any version of the Sage Advice Compendium, to the best of my knowledge.


Almost all my rep is gone on Stack Overflow, and my profile seems unlinked (no name)

Hours ago I was over 2700 rep on stackoverflow - now I am at 31  On stackoverflow I am user2229687


How to update HashMap key from value in a class?

I am trying to dynamically update the keys in a HashMap.   I have created an instance of a class and set the key to get the value from the class.  I am trying to get the value of the key to change when I update the value in the class. The program I am trying to do this for has multiple large hashmaps. However, I have simplified it to the example below.   Main class  import java.util.HashMap;  public class Main {      public static void main(String[] args) {         HashMap<Integer, String> hashMap = new HashMap<>();         OtherClass otherClass = new OtherClass(5);          hashMap.put(otherClass.getId(), "a string");         otherClass.setId(0);   // update value in class          System.out.println(hashMap.keySet());   // outputs 5 not 0     } }   Other class  class OtherClass {     int id;      OtherClass (int id) {         this.id = id;     }      void setId(int id) {         this.id = id;     }      int getId() {         return id;     } }   When I update the value in the class the key in the HashMap does not change.   Is what I'm trying to do even possible and if not how could I achieve this?


Since updating from 13.04 to 13.10 my monitor when on login screen (Lightdm) is always on and the blank screensaver never works.  Gnome Screensaver is activated and is working find when logged in.   This is bad for electricity consumption


Does quantum mechanics invalidate causality and determinism?

The conductors of  claim that causality is broken or at least made fuzzy by quantum mechanics.  Is this really the case?


Which is the first Empire novel of I Asimov, "The stars like dust" or "the currents of space"?


Attached external pdf file is not showing page number

I am writing my thesis. I have a "main" LaTeX file from where I am calling (attaching) pdf file. But the attached pdf file is not showing any page number. Also, it is not showing other page style I have (like, color vertical box at right end of the page, for chapter name). How this problem can be solved ?  %=======================================  \documentclass[11pt, b5paper,twoside, svgnames]{thesis}  % "thesis" uses book class  \usepackage{pdfpages} \usepackage{hyperref}   %---------------------------------------------------------  \begin{document}  \chapter{RESULTS} \includepdf[scale=0.9, pages={-}]{results.pdf}   \end{document}    %====================================== % HEADER and FOOTER %---------------------------------------  \usepackage{fancyhdr}   \pagestyle{fancy} \fancyfoot{} \fancyhead{}  \fancyhf{} \renewcommand{\headrulewidth}{0pt} \fancyfoot[RO]{\thepage}{\slshape \rightmark} \fancyfoot[LE]{\thepage}{\slshape \leftmark}  %=======================================================


Moving drives currently in software raid to LVM?

I have 3 drives currently set up in RAID 5 via mdadm. I just realized that I goofed and forgot to format them with LVM- is it possible to do this after RAID array creation without losing data?


I'm new here and interested in developing apps for Ubuntu Touch. Already got the developer version running on a tablet model P3110.  What I'd like to know is if it's compatible with NodeJS or if it's possible to create apps using that technology given that I read it accepts Javascript.  Or is it better to use HTML5/QML? If so, why?  Thanks in advance!


Is there a API to retrieve a general and specific question, answer and reply from different communities?


I've just found my access card to the suggested edits review queue, and find that there are a lot of low-rep retag edits in the queue thanks to this:   Now, as far as I understand, a retag is intended to only change the tags and as such at first glance will always seem a minor edit, but unless it is an outrageous suggestion, it is still a worthy edit and should be approved. However, I have noticed that most retag suggestions have at least one reject flags on it.  What is the right approach here? I have tended to approve most retag edits if they, like I said, were actually related to the question.


I have a friend communicating with an American living in Ghana. She says she needs $6000 to pay off debts before she could move to Spain. Is this true?


Gradient of Sobolev function on level sets

I have been told by my teacher that, if $f$ is Sobolev (i.e. $W^{1,p}$ for some $p$) on an open set $\Omega$, which, for the proof what I'm asking is needed for, may well be assumed bounded, then its gradient is a.e. zero on each of its level sets, i.e. $\nabla f|_{\{f=k\}}=0$ a.e. for all $k$. I am trying to prove it.  For the moment, I have thought that, calling $A_k=\{f=k\}$, if $A_k$ contains any ball, then the gradient is zero there. This is because I know that, for a.e. line in that ball, $f$ will be absolutely continuous on that line, and since it is constant, its derivative will have to be a.e. zero on a.e. segment, and letting the segment length go to zero I can finally say the derivative at the endpoint is zero.  But what about non-interior points? I don't think I can say much about the gradient there. So I would have to prove that, if I take $A_k$ and remove all the balls it contains, I am left with a zero measure set.  So how do I go about this? Or maybe I am missing something and I can, in fact, say something about the gradient in at least some of those left-out points?  "Edit"  Naturally the ball discussion is overkill: $f$ is constant on that ball, so it is smooth therein, hence weak derivatives are classical, and we know classical derivatives of constants are zero.


returning two values from one function in c++

Can I return two values from function one intiger and boolean? I tried to do this in this way but its doesnt work.  int fun(int &x, int &c, bool &m){         if(x*c >20){            return x*c;           m= true;             }else{                 return x+c;                 m= false;                 }   fun(x, c, m);     if(m) cout<<"returned true";     else cout<<"returned false";          }


Piping with ">>" into /etc/locale.gen - permission denied with sudo

I'm trying to run the command: $ sudo echo ko_KR.UTF-8 UTF-8 >> /etc/locale.gen  but I get permission denied. Strangely, it doesn't  even ask for my password with sudo. However, if I type $ su # echo ko_KR.UTF-8 UTF-8 >> /etc/locale.gen  It works. I've tried this on two Manjaro installations - same problem. While the su method works, I'm trying to write a guide so I want to keep it simple. Does anyone know what I'm doing wrong? It seems like I'm doing some unintended bash syntax. Thanks!


Can we please have desktop notifications for questions we've participated in?

How about having desktop notifications enabled for the questions I've asked or participated in? The notifications which set in the header panel will be directly available on my desktop similar to a mail account.  Many times users will not be able to keep coming back on the website; hence, these subtle notifications will help users to stay connected and will serve as a reminder of activities.  However, to avoid user discomfort, this capability should be a preference setting.


Nonlinear estimates of regression coefficients?

About simple regression:  It's well known that usual OLS estimators of $β_{0}$ and $β_{1}$ have minimum variance of all unbiased linear estimators.   I wonder if there are popular biased linear estimators which have smaller variance or unbiased nonlinear estimators or biased nonlinear estimators which have    better characteristics such as smaller variance.  Recenlty, I found these!!   related question :  related comment : " It is probably the same narrow place of understanding that OLS is just a best linear unbiased estimator (BLUE), and there exist better biased or nonlinear examples like James-Stein estimator or LASSO estimator that minimizes MSE further."  from


An annulus in $\mathbb R^2$ is path connected

Let $A = \{(x,y) \in\mathbb{R}^2: a \leq (x-c)^2+(y-d)^2 \leq b\}$ for given $a,b,c, d$ real numbers. I want to show that $A$ is path-connected.  How can I do that?  I know that every open subset of $\mathbb R^2$ that is connected is path connected. But this is obviously not open so I cannot use that. Then I thought of multiple cases. If we take arbitrary $x$ and $y$ and draw the line between them and they do not intersect with the circle centred at $(c,d)$ then we can obviously draw a line between the points which is still in the set, so we can then define the function. I am stuck on the other case.


My laptop boots up as normal,but using for like 10-15 minutes, screen goes black and there is red vertical line on the right side of the screen. The only thing you can do is restart it and use it again.


Example 1, Sec. 22 in Munkres' TOPOLOGY, 2nd edition: How to verify that this map is closed?

Let $X$ be the subspace $[0,1] \cup [2,3]$ of $\mathbb{R}$, and let $Y$ be the subspace $[0,2]$ of $\mathbb{R}$. The map $p \colon X \to Y$ defined by  $$ p(x) \colon=  \begin{cases} x \ &\mbox{ for } \ x \in [0,1], \\ x-1 &\mbox{ for } \ x \in [2,3]  \end{cases}  $$ is surjective and continuous. This much is clear to me.   But Munkres asserts that this map is also a closed (and hence a quotient) map. How to verify this?   Now if $A$ is the subspace $[0,1) \cup [2,3]$ of $X$, then the map $q \colon A \to Y$ obtained by restricting $p$ is continuous and surjective. Alright!   Now what stumps me is the following assertion by Munkres:   The set $[2,3]$ is saturated with respect to $q$. How to show this?


Redirect existing windows via SSH and X11 forwarding?

Using ssh -X user@host I can start programs on the host and X11 forwarding allows me to see their windows on the remote machine. However, I'd like to be able to forward/redirect existing windows.  How would I do that (if it's possible at all)?  Note, VNC is not an option (no server installed on the host and my user has limited permissions).


thinkfan - startup command doesn't start

I have a Thinkpad and I usually use  to control the fan on my laptop. But this program doesn't start at the startup automatically, so I created a startup program with this command:  sudo  /etc/init.d/thinkfan start   That is the command in the guide to start thinkfan.  But this didn't work. How can I fix?


Is it grammatically correct to capitalize pronouns referring to God

In the bible, "he" and "his" are capitalized when they are used to refer to God. Is this grammatically correct? If so, what rule do we have that allows these words to be capitalized?


Why isn't there image upload support on the mobile site?

It's quite annoying when I need to add a screenshot of a bug on the mobile site. I first post my question and leave placeholders for the images. Then I have to go to the full site, tap edit, remove the placeholder text, upload the image in its place, then save.  Can we add this feature? iOS natively supports uploading images now since iOS 5. I don't know about Android, but I'm pretty sure it does.


I'm installing  and when trying to run ssh -p 4022 jhipster@localhost, system is asking for a password.  bash-3.2$ cat ~/.ssh/id_rsa.pub | ssh -p 4022 jhipster@localhost 'mkdir ~/.ssh && cat >> ~/.ssh/authorized_keys' jhipster@localhost's password:    How should i configure/skip this password. I have already seen some posts but they all seem to talk about in Linux.  Log:  bash-3.2$ ssh -v -p 4022 jhipster@localhost OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 debug1: Reading configuration data /etc/ssh_config debug1: /etc/ssh_config line 20: Applying options for * debug1: Connecting to localhost [127.0.0.1] port 4022. debug1: Connection established. debug1: identity file /Users/abhishek/.ssh/id_rsa type 1 debug1: identity file /Users/abhishek/.ssh/id_rsa-cert type -1 debug1: identity file /Users/abhishek/.ssh/id_dsa type -1 debug1: identity file /Users/abhishek/.ssh/id_dsa-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.2 debug1: Remote protocol version 2.0, remote software version OpenSSH_6.6p1 Ubuntu-2ubuntu1 debug1: match: OpenSSH_6.6p1 Ubuntu-2ubuntu1 pat OpenSSH* debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server->client aes128-ctr hmac-md5-etm@openssh.com none debug1: kex: client->server aes128-ctr hmac-md5-etm@openssh.com none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Server host key: RSA 98:02:c9:8e:83:f6:fb:3a:20:fd:15:1f:91:63:92:14 debug1: Host '[localhost]:4022' is known and matches the RSA host key. debug1: Found key in /Users/abhishek/.ssh/known_hosts:4 debug1: ssh_rsa_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: Roaming not allowed by server debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password debug1: Next authentication method: publickey debug1: Offering RSA public key: /Users/abhishek/.ssh/id_rsa debug1: Authentications that can continue: publickey,password debug1: Trying private key: /Users/abhishek/.ssh/id_dsa debug1: Next authentication method: password jhipster@localhost's password:


I think the truth value of F ⇒ T should be undefined.

Disclaimer: I'm reading .  I think the truth value of F $\Rightarrow$ T should be undefined. Here's why.  Wikipedia says the Principle of Explosion says anything follows from a contradiction, and gives the following proof:   $P \land \lnot P$ by assumption $P$ from 1. by conjunction elimination   $\lnot P$ from 1. by conjunction elimination $P \lor Q$ from 2. by disjunction introduction $Q$ from 3. and 4. by disjunctive syllogism   $(P \land \lnot P) \Rightarrow Q$ from 5. by conditional proof (discharging 1.)   The disjunctive syllogism on step 5 works only if $P$ and $\lnot P$ are mutually exclusive. But of course they aren't.  I can prove $\mathrm F \Rightarrow \mathrm F$ via contrapositivity and $\lnot(\mathrm T \Rightarrow\mathrm F)$ by other means.  So that leaves $\mathrm F \Rightarrow \mathrm T$. It seems to me that there's no imperative way to define its truth value.


So the question is very simple. How to check in java if first digit of an int is 0;  Say I have:  int y = 0123; int n = 123;   Now I need an if statement that would return true for y and false for n.


Why do "df" and "du" commands show different disk usage?

I cannot access ubuntu system on my pc, the error message: "the system is running in low graphics mode" and I tried some commands I searched from internet.   I found out a problems seems there is no available disk space. I used "df" and "du" commands to check, the results are as follow:  du -j --max-depth=1 23G  ./home 3.3G ./usr  ......  28G   and  df -Th  filesystem   Type   size    used   available   use%    mounted on  /dev/sda5    ext4   68G     68G    0           100%    /   how would I clean up the system for more disk space?


Why magnetic field are from south to north pole inside bar magnet?

magnetic field lines are from north pole to south pole outside a bar magnet but its direction is from south pole to north pole inside it. Why and what causes it?


Tapping notification on android opens stackexchange app to main page, not the item that was in the notification

When I get a notification on android that someone had posted an answer or comment, if I click the notification, it opens the Stack Exchange app but shows the main view with the inbox opened, not the comment or answer that was in the notification.  If there is only one notification pending, when you tap it it should show you the actual contents rather than just the inbox.


How do i use composition correctly in Java?

I'm relatively new to Java, and I'm trying to use composition within a created a Resident class which extends another class, Person. I'm getting a null pointer exception error that points to this line of code:  equipment.setEquipment(hasInitialEquipment);   in my constructor in the resident class. I know that I must be doing something wrong but I'm really not sure what it is. Any help would be greatly appreciated.  public class Driver1 {  public static void main(String[] args) {    Resident a = new Resident("Bob Smith", 74, "Male", 317, 'C', false, false, "");     a.writeOutput();    System.out.println();  }  }   The class Person  public class Person {      private String name;      public Person()     {         name = "No name given";     }      public Person(String initialName)     {         name = initialName;     }      public String getName()     {         return name;     }      public void setName(String newName)     {         name = newName;     }      public void writeOutput()     {         System.out.println(name);     } }   The Class Resident  public class Resident extends Person {  public static final int DEFAULT_AGE = 0; public static final int DEFAULT_ROOM = 0;   private int age; private String gender; private int room; private char building; private boolean supervised;  private Equipment equipment;  public Resident()  {     super();     age = DEFAULT_AGE;     gender = "Undeclared";     room = DEFAULT_ROOM;     building = '0';     supervised = false;  }  public Resident(String initialName, int initialAge, String initialGender,      int initialRoom, char initialBuilding, boolean needsSupervision,     boolean hasInitialEquipment, String initialEquipmentType)  {     super(initialName);     age = initialAge;     gender = initialGender;     room = initialRoom;     building = initialBuilding;     supervised = needsSupervision;     equipment.setEquipment(hasInitialEquipment);     equipment.setEquipmentType(initialEquipmentType);  }  public int getAge() {     return age; }  public void setAge(int newAge) {     age = newAge; }  public String getGender() {     return gender; }  public void setGender(String newGender) {     gender = newGender; }  public int getRoom() {     return room; }  public void setRoom(int newRoom) {     room = newRoom; }  public char getBuilding() {     return building; }  public void setBuilding(char newBuilding) {     building = newBuilding; }  public boolean getSupervised() {     return supervised; }  public void setSupervised(boolean newSupervised) {     supervised = newSupervised; }  public boolean getEquipment() {     return equipment.getEquipment(); }          public String getEquipmentType()  {     return equipment.getEquipmentType(); }  @Override public void writeOutput() {     System.out.println(getName());     System.out.println("Age: " + age);     System.out.println("Gender: " + gender);     System.out.println("Room: " + room);     System.out.println("Building: " + building);     if(supervised){         System.out.print("***Supervised Ambulation only***");     if(getEquipment())         System.out.println(getEquipmentType());     }  } }   The Class Equipment  public class Equipment {  private boolean equipment; private String equipmentType;  public Equipment()  {     equipment = false;     equipmentType = null; }  public Equipment(boolean initialEquipment, String initialEquipmentType)  {     equipment = initialEquipment;     equipmentType = initialEquipmentType; }          public boolean getEquipment() {     return equipment; }  public void setEquipment(boolean newEquipment) {     equipment = newEquipment; }  public String getEquipmentType()  {     return equipmentType; }  public void setEquipmentType(String newEquipmentType) {     equipmentType = newEquipmentType; }  public void WriteOutput()  {     if(equipment)         System.out.println("Equipment: " + equipmentType);   } }


Let $\frac{1}{2} + 1 + \frac{9}{8}+1+\frac{25}{32}+\frac{36}{64}+\cdots$ be a series. I need to calculate its sum using $$\sum_{n=1}^{\infty}n^2x^n.$$ I was trying to set $x=\frac{1}{2}$, so: $$\sum_{n=1}^\infty n^2x^n=x\sum_{n=1}^\infty n^2x^{n-1}=x\sum_{n=1}^\infty (nx^n)'=x^2\sum_{n=1}^\infty (x^n)''.$$ Then I was differentiating separately: $$x^2\sum_{n=1}^\infty (x^n)'' = x^2\left(\frac{1}{1-x}\right)''=x^2\left(\frac{1}{(1-x)^2}\right)'=x^2\frac{2(1-x)}{(1-x)^4}=\frac{2x^2}{(1-x)^3}.$$ And finally calculate the sum: $$\frac{2 \cdot \frac{1}{4}}{\frac{1}{2}^3} = 4.$$ But I got the wrong answer. What did I miss? How do I solve it correctly?


Is it common to use the borrowed noun-adjective form for borrowed French phrases?

Lately, something has struck me.  I've been hearing several expressions in English, some clearly borrowed from French and preserving their noun-adjective form.  Some examples are:  Attorney General Secretary General Court Martial Notary Public   I suspect there are more that I have missed.  However, in each of the 4 cases listed above, I feel 'OK' saying them the 'English' way; that is, adjective-noun, which is the way we almost always do things except for these borrowed phrases.  One might receive a statement from the General Attorney, or be sent to a Martial Court.  My father is actually a lawyer and does indeed describe himself as a Public Notary.  Doing things this way makes the plural sound a lot more sensible in English, too; which sounds better: General Secretaries, or Secretaries General?  How common is it for people to flip these borrowed phrases around and say them the more standard English adjective-noun way?  Might it be clearer in the long run if we did so?


How to prove that if $D$ is countable, then $f(D)$ is either finite or countable?

Is there anybody who can help me to prove that if $D$ is countable, and $f$ is a function whose domain is $D$, then $f(D)$ is either finite or countable?


How to set class options that can have multiple values?

Title says it all, but here's an example: the KOMA-Script classes provide the option toc which can have multiple values that don't interfere with each other, like values that enable the Bibliography in the TOC and others that just influence the layout of the TOC. When I need several of these values for the class option toc, how can I pass them all together to toc without having to repeat toc= all the time?  What I have currently:  \documentclass[toc=listof, toc=bibliography, toc=flat]{scrbook}   Idea of what I'd like to have (but what does not work)  \documentclass[toc={listof, bibliography, flat}]{scrbook}   Is this somehow possible? If yes, how?


Is there a mathematical proof show that $F=G\frac{m_1m_2}{r²}$?

Is there a mathematical proof about The general law of attraction between two point masses   $m_1$ and $m_2$ which represented as: $$F=G\frac{m_1m_2}{r²} ,$$where $r$ is the distance  between the centers of the masses, and $G$ the gravitational constant?  NOTE: I'm not familiar in physics but just I'm confused why $r²$ not $r^3$ or $r^n$, where $n$  is a natural number and what are the mathematical setps let us up to the above law?


How can I make LaTeX find a graphics file

For any business correspondence, I use a graphic, aglogo.jpg.  As long as I'm in the directory where it resides, of course latex always finds it.  But, if I'm working in a different directory it's not found.  Is there a way to make latex find aglogo.jpg no matter what directory I'm in?


I tought one of my pokemon Strength to test if I could erase it with another TM. Turns out that no, you still have to do something special to forget HM moves just like prior generations.   How can I forget HM moves in Pokemon X/Y?


Where to ask questions about a Wordpress plugin?

Where can I ask questions about the code of a Wordpress plugin?  Can I ask it on Stack Overflow?


Story Identification - Post apocalyptic movie about male vs. female factions

I saw a part of this movie on TV a few months ago, and I don't know its title.   Details:   It was set in north america, after a nuculear holocaust. In it there were two warring factions, one made up of females and one made up of males. One of the scenes I remember is one of the males finding the United States presidential bunker in the middle of the desert they lived in.  They say 'president' like 'Prezz - ee - dent' They get a hazmat suit out of the bunker and one puts it on, and they take some hand grenades from the bunker and make a show of force outside the women's faction camp. The name of it was something like "America 5000"   What is the name of this movie?


Help with proof gcd and modular arithmetic

Let $a, b ,n \in Z$ with $n > 0$ and $a \equiv b \pmod n$.  Show that $\gcd(a,n) = \gcd(b,n) = d$.  I tried rewriting $b = a + ny$ for some $y \in Z$. Now if I have $d \mid a$ and $d \mid n$, then $d \mid b$. However I don't know how to continue.


NullPointerException: Attempt 'void com.mobiledealer.dao.OrderDAO.insertOrUpdate(com.mobiledealer.model.Order)' on a null object reference

Hi I have problem with response from REST. I receive Object Json parse it and everything look fine but when i try add it to Realm i get Null Pointer Exception. This is link to my project:   In MainActivity I call function synchronizeContractorsItems then in the 3-th Call i'm get the error.


Is it the terminal or the shell that is responsible for actions of keystrokes?

I don't know exactly if the terminal is the handler of keystrokes like CTRL + C or CTRL + D and many others or the shell.   When I press a keystoke I think about it this way, as the picture describes:     When a keystroke is pressed, the keystrokes is handled by the shell, the shell interprets the keystrokes and do whatever it needs to do, perhaps sending a signal when CTRL + C is pressed or clearing the screen with CTRL + L and so on. Therefore, the shell plays the role of the middle-man for the program's inputs. Inputs go from shell to the program's stdin.   The program's stdout goes to the shell, and the shell redirects the output to a terminal or files or pipes.   The terminal sends the shell the bytes of the pressed keys.   Am I right?


installing ubuntu from a usb flash stick

If I run ubuntu on a flash stick as the instructions say, then install it, where does it install to?  I have windows 10 and windows 7 on two different disks on a Asus computer with 16 GB memory, and want to run ubuntu on a different drive but not mess up the boot manager by installing it on one of the two disks internally. Someone explain the process of how to run ubuntu on a flash stick without messing up the boot manager on the uefi bios .


I got the following LaTeX-code (only an example):  \begin{align} A=&0\\ 0=& x y z re+ e\\ 0\underbrace{=}_{\text{with bla bla bla bla}& u+z-24y \end{align}   Now, I want that one equal signs is exactly the others, but the one where the underbrace is included is always shifted to the right.  Edit:   \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} \begin{document} \begin{align} a+b=&0\\ 0=&z+u+i+v\\ 0\underbrace{=}_{\text{inserting bla bla bla}}&43+2 \end{align} \end{document}


Let $A$ be an $n\times n$ positive definite matrix. Show that there exists a unique positive definite matrix $B$ such that $B^2=A$.  I do know the existence. But what about the uniqueness? Would you help me out? Thank you.


How do I remove the Me-User-Indicator from the Panel?  The indicator contains two items: the written user name and the icon of a human.


Sorting elements with the same class but different content inside

Assuming this structure:

title1

5

title2

1

title3

3

   How can I sort the elements with the class .sortable to show in ascending/descending order based on the class .price inside of the divs? It should happen when clicking a button.  I know that with arrays I could use the .sort method, but as this is not an array, I don't really know how to approach this.


Excel Using Reference for Worksheet names

I've looked around to try and resolve this, however I am unfamiliar with the coding.  Here's my line of code,  ='[WorkBook]BOM'!G6   What I want to do is make the Workbook call to a cell so I can mass replace all the 'Workbook' names without Find and Replace.  Essentially, something like this (Though this code does not work, it is just for reference)  ='[=E1]BOM'!G6   Then in cell E1, I would be able to enter any text I want, to replace the Workbooks name. I'm trying to find the Formula to do this.


How to generate a ciphertext independently decodable with multiple keys?

Is it possible to encrypt a message in such a way that multiple keys can independently decrypt it?  In other words:  Having knowledge of $key_1, key_2 ...key_N$, which are different symmetrical keys, is it possible to generate a ciphertext that can be independently decrypted using either $key_1$ or $key_2$ or $key_N$, in such a way that the length of the ciphertext is less than directly proportional to $N$?


I need to create a SELECT statement, this SELECT statement will use an IN to check whether a department has had a sale with a price over 90.00 dollars BUT the sql MUST use the WITH statement which will be used to select all columns from sales where the price is greater than 90.00, you must call this sub-query special_sales.  departments table schema id name  sales table schema id department_id (department foreign key) name price card_name card_number transaction_date  resultant table schema id name   NOTE: Your solution should use pure SQL.  IN WHERE WITH special_sales SELECT  DISTINCT d.*  FROM    departments d  JOIN    sales       s  WHERE   d.id = s.department_id  AND     s.price > 90  ORDER BY d.id;   this is the code I did but I received an sql error


What type of ethernet-to-wireless extender do I need

My house is wired for ethernet.  So far, I've got everything taken care of with gigabit switches in most rooms to handle XBoxes, PCs, etc.  Until today.  My Amazon Firestick arrived and only connects with WiFi.  I have a  from AmpedWireless, but it's just a wireless repeater and the signal isn't strong enough to reach the back of the house.  What kind of gadget do I need (and/or what's the right term to search for) for something that will plug into the ethernet in the back room and re-broadcast Wifi?  The searches on SU and others often refer to keeping the same SSID as my router... I don't care about that.  I just want it to work with minimal fuss.  This  from last year was the closest one I could find, but didn't really have an answer.  Brands, technology, jargon, and experience are appreciated.  Thanks.


Why is the auto created statistic on this column empty?

Info  My question relates to a moderately big table (~40GB data space) that is a heap (Unfortunately, I am not allowed to add a clustered index to the table by the application owners)  An auto created statistic on an Identity column (ID) was created, but is empty.    Auto create stats & auto update stats are on Modifications have happened in the table There are other (auto created) statistics that are getting updated There is another statistic on the same column created by an index (duplicate) Build: 12.0.5546   The duplicate statistic is getting updated:   The actual question  To my understanding, all stats could be used and modifications are tracked, even if there are two statistics on exactly the same columns (duplicates), so why does this statistic remain empty?  Stats Info    DB stat info    Table Size    Column Information where the statistic is created on    [ID] [int] IDENTITY(1,1) NOT NULL   Identity column  select * from sys.stats   where name like '%_WA_Sys_0000000A_6B7099F3%';    Auto created  Getting some info on another statistic  select * From sys.dm_db_stats_properties (1802541555, 3)       In comparison with my empty stat:    Stats + Histogram from "generate scripts":  /****** Object:  Statistic [_WA_Sys_0000000A_6B7099F3]    Script Date: 2/1/2019 10:18:19 AM ******/      CREATE STATISTICS [_WA_Sys_0000000A_6B7099F3] ON [dbo].[table]([ID]) WITH STATS_STREAM = 0x01000000010000000000000000000000EC03686B0000000040000000000000000000000000000000380348063800000004000A00000000000000000000000000   When creating a copy of the stats, no data is inside  CREATE STATISTICS [_WA_Sys_0000000A_6B7099F3_TEST] ON [dbo].[table]([ID]) WITH STATS_STREAM = 0x01000000010000000000000000000000EC03686B0000000040000000000000000000000000000000380348063800000004000A00000000000000000000000000     When manually updating the stat they do get updated.   UPDATE STATISTICS [dbo].[Table]([_WA_Sys_0000000A_6B7099F3_TEST])


What's the problem with my Young slits experiment?

My Young's slits experiment doesn’t work. I mean I tried to see wave effect of light but I didn’t see any thing expect particles! I’ve sent you a pic of my laser and a short video of the experiment. Is there any problem you think?


Is it normal for 2 HDD, from the same prodn lot, used in the same NAS for 6 years, to fail in the same way within a week of each other?

Hardware : Netgear ReadyNAS RN102 2-Bay running ReadyNAS OS 6.4 Hard Disks : 2x Seagate Barracuda 2TB ST2000DM001, mfg Thailand 04/2014, same model number, diff serial number issue : beeping and clicking sound, NAS would not boot. disk1 crashed on Jan 4th. Disk 2 crashed Jan 11. Luckily I bought another drive and resynced RAID1 between those days so I didnt lose data. The new disk seems to be working fine so far, but i do think I hear some clicking sometimes (though i cant be absolutely sure I'm not imagining it. Question: is this situation probable/possible in real life or is this an electrical fault that weakened/killed the disks? should I replace just the disks, the power brick, the entire NAS? what can I do to debug? moreinfo: The NAS was connected to power through a power strip and I have now replaced it with a belkin surge protector. I also stripped and inspected each board in the NAS for any burnt components or charring. it looks clean. the one thing I did find out is that jiggling the power plug where it goes into the NAS can cause the NAS to lose power. the power port on the board seems solid so it might be the brick.


ModelBuilder not adding output feature class to Table of Contents?

I'm trying to create a tool in ModelBuilder that will take a new point from a user, create a feature class for this point and display it on a map.  What I've done is:   I've created a feature class for a point-like feature in ArcCatalog. I've prepared a really simple model in ModelBuilder, that starts with a feature set variable (which takes the feature class as a schema and symbology file). The variable is marked as a parameter. Next I'm using the Copy Features tool that takes the variable as input and saves it as a feature class in my scratch workspace. The output feature class is marked as a parameter with the 'add to display' option.   After the module is run I get a shapefile in my scratch workspace. I can add it manually to TOC and it contains the selected point. However no matter what I do, I can't display it in TOC automatically after the model completes.  There is a known issue described in several places that doesn't allow to display newly created layers in TOC when model finishes with the 'add to display' option. However there's a quick workaround, which is to mark the output layer as parameter. In my case it doesn't work.  I'm using ArcGIS for Desktop 10.1 on Windows 7 x86_64.


Finding the no. of possible matrices given the order and limited no. of entries

The no. of all possible matrices of order $3\times 3$ with each entry $0$ and $1$ and $ -1$.


I would like to count the value of elements in my array.  Example: Elements in the Array   a={"AB", "CD", "EF", "CD", "CD", "GH", "EF"}   so the counter for CD should be 3.  Thats what I tried. I think the main Problem is that I have no Array where the Elements are stored.    public int countValue(final String[] strings, final String value)      {         int counter=0;                   for(int i = 0; i<strings.length; i++)                 {                     if(value==strings[i])                     {                         counter++;                     }                 }                 return counter;     } }


Label equations, theorems etc. and not get mad

I am writing my thesis, so it's a work in progress where I constantly change equations, put new equations, new Lemmas, Theorems and so on. The big problem is that, for instance, if I label a theorem as "theorem_4.2" or an equation as "equation_2.3" (meaning those are the second theorem of section 4 and the third equation of section 2) and then put a new equation/theorem it messes things up. The solution I've come up with is to add points to my enumeration, so between theorem 4.1 and 4.2 I would put say, a new theorem which I'd label as 4.1.1. Otherwise I would have to rename all the theorems/equations after the new one I've added and also change every \ref I've done regarding those. Is there a simpler way? Any suggestions?


What does the * with a file name signify?

Can someone tell me the significance of * sign after a file name ?


For subspaces, if $N\subseteq M_1\cup\cdots\cup M_k$, then $N\subseteq M_i$ for some $i$?

I have a vector space $V$ over a field of characteristic $0$. If $M_1,\dots,M_k$ are proper subspaces of $V$, and $N$ is a subspace of $V$ such that $N\subseteq M_1\cup\cdots\cup M_k$, how can you tell $N\subseteq M_i$ for some $i$?  I was first trying to show it just in the case $N\subseteq M_1\cup M_2$, and hoping to extend it to finitely many $M_i$. If either of the $M_i$ contains the other, the claim follows, so I suppose neither $M_i$ contains the other.   In hopes of a contradiction, I suppose $N\not\subseteq M_1$ and $N\not\subseteq M_2$, Picking $x_1\in N\setminus M_1$ and $x_2\in N\setminus M_2$, I'd have $x_1+x_2\in N\subseteq M_1\cup M_2$. The only thing I could conclude was that actually $x_1,x_2\notin M_1$ and $x_1,x_2\notin M_2$, which seems like a dead end. What's the right way to do this?


Why doesn't an observer at rest on the Earth see Unruh radiation?

It is well know that QFT predicts that an accelerated observer would see Unruh radiation. This is related to the presence of a Rindler horizon and leads to the conclusion that an inertial and an accelerated vacuum are different.  Why can't we naively apply the equivalence principle and say that a static observer under a gravitational field? In this case there could be no horizon and the argument would fail. But I'm not sure why the equivalence principle doesn't work. Maybe the particle concept is a global one?


How can I choose the best autogrowth option for my new database?

I want to create a new database that I can use for testing, restoring it from a full backup from a production database. These backup file sizes are around 45,486KB, and the production database size is 3.7GB. When I try creating the new database, the default initial size (MB)says 45 for the Primary rows data and 3739 for the Log, Autogrowth by 5MB restricted to 50MB for the data and by 10 percent restricted to another large number!  Any advice on what is the ideal number to start with? When do I need to change them? I'm using SQL Server 2008. Thanks.


Java Method.getName() not matching to string

I've tested this on several different methods. The string I compare s to is exactly the same as the one that shows up in the log file. The apostrophes are to make sure there's no spaces. Anyone know what's going on?  import java.lang.reflect.Method; import android.util.Log;  public class Button {     public Button () {         for(Method m1:MyOtherClass.class.getMethods()) {         String s = m1.getName();             if(s == "Update") {                 Log.i("result","true");             }             Log.i("test", "'" + s + "'");         }     } }


Is “pull forwards to the yellow line” or “pull forward to the yellow line” grammatically correct?

I am not sure whether forward or forwards is to be used in this sentence.


What is the constraint on the Gauge Potential in the Covariant Gauges?

One of the most common gauges in QED computations are the $R_{\xi}$ gauges obtained by adding a term  \begin{equation} -\frac{(\partial_\mu A^{\mu})^2}{2\xi} \end{equation} to the Lagrangian. Different choices of $\xi$ correspond to different gauges ($\xi=0$ is Landau, $\xi=1$ is Feynman etc.) The propagator for the gauge field is different depending on the choice of gauge. The choice of Landau gauge forces $\partial_\mu A^\mu=0$, but I have never seen a similiar statement for the other gauges. I would like to know what constraint on the gauge field is produced by the other covariant gauges. For instance, what is the constraint on $A_\mu$ when $\xi=1,2,3,...$ etc. Is it still $\partial_\mu A^\mu=0$ or something different (it seems like it should be different)?


Our UTM (Firewall) logs showed Spyrix(Key Logger) has been downloaded on a particular IP in our network. While, on that system, we couldn't see Spyrix. what are the ways to detect traces of syprix in a system after it has been uninstalled? This is the link of the keylogger


I have a question regarding the random $k$ number of ECDSA encryption. As far as I know, it is possible to retrieve $k$ (and thus the private key) from two signed messages if both used the same $k$. This was done for the PlayStation 3 hack. I'm now trying to reproduce it in Python, using .  My problem is that the hack only works in some cases (at least I think so). I've not been able to reproduce it, so I hoped you could help me.  Initially we have two equations: $$ s_1 = k^{-1} * (z_1 + y) \mod n \\ s_2 = k^{-1} * (z_2 + y) \mod n \\ $$ (where $y = r*\mathrm{privatekey}$)  We want to get rid of y and figure out k. In all explanations I've seen so far, they'll do something like this: $$ \begin{align} s_1 - s_2 &= k^{-1} * (z_1 + y) - k^{-1} * (z_2 + y) \\ s_1 - s_2 &= k^{-1} * (z_1 - z_2) \\ \frac{s_1 - s_2}{z_1 - z_2} &= k^{-1} \\ k &= \frac{z_1 - z_2}{s_1 - s_2} \\ \end{align} $$  This doesn't work in my code, because in this hack, the modulo operation at the beginning is just ignored. If I we don't ignore it, the equation should look like this: $$ i*n + s_1 = k^{-1} * (z_1 + y) \\ j*n + s_2 = k^{-1} * (z_2 + y) \\ $$  I got rid of the modulo by adding $x*n$ to the left side, where x (i or j) is unknown. With this equation I'll just do the same thing as above but keep the $+ x*n$: $$ \begin{align} i*n + s_1 - j*n - s_2 &= k^{-1} * (z_1 - z_2) \\ \frac{s_1 - s_2 + n*(i-j)}{z_1 - z_2} &= k^{-1} \\ k &= \frac{z_1 - z_2}{s_1 - s_2 + n*(i-j)} \\ \end{align} $$  Obviously we do not know $i$ and $j$. We can ignore them if $i = j$ (as we did in the first calculation), which is only the case when $z_1$ and $z_2$ are close together or $k^{-1}$ is very small (so that it pulls the result down and therefore prevents $z_1$ or $z_2$ from making too much difference).  In theory $k^{-1}$ is pretty small (since it's $\frac{1}{k}$) and therfore the exploit works. But in practice I've seen that $k^{-1}$ is not used, but instead the smallest inverse modulo of $k \mod n$ that is a whole number is used. This number can be really large, which actually amplifies the difference between $z_1$ and $z_2$, making $i-j$ pretty large. With this implementation, I can't use the exploit as explained in theory, because I never get my exact $k$.  My questions are:   Mathematically, is there another way to retrieve $k$, even if the $k^{-1}$ part is really large? Maybe using some inverse modulo? Why is it that many implementations use the inverse modulo instead of $k^{-1}$? (I've seen it in two libraries so far) Why doesn't it work when I change the implementation to use $k^{-1}$?   Since this is part of an assignment for Uni, retrieving $k$ still has to work somehow. But I already spent too much time on it without any results. Any gurus out there that can help me? :)


The solutions to the equation $z^2-2z+2=0$ are $(a+i)$ and $(b-i)$ where $a$ and $b$ are integers.  What is $a+b$?  I simplified and got $(z+1)(z+1) = -1$ and now I'm not sure where to go from there. I did this but I'm not sure.  $(a+i)^2 = a^2 - 1$  $(b-i)^2 = b^2 + 1$  $a+b=(a+i)+(b-i)=(a^2-1)+(b^2+1)=a^2+b^2$


Im an Angolan citizen, Do i need a transit visa to transit trough Amsterdan

I'll be travelling to Angola in June, via Amsterdam. however, Im just wondering if i will need a visa of any kind just to transit, my final destination is Luanda but im afraid ill have to have a schengen to successfully complete my trip! Can someone help me please :( T_T


With this question I intend to clarify whether the game situations in which "infinite loops" are created can be considered legal; and, if they are not, if there are formats in which they are legal.  The example that can be built is that of the - well known - combo consisting of the  and  cards, which today is no longer possible to perform, due to the removal of Splinter Twin from the Standard and Modern formats, in which it is no longer legal.   A reconnaissance of the combo follows.     If you already have a Deceiver Exarch on the battlefield from the previous turn, you can enchant it with Splinter Twin; tapping the Deceiver, it is now possible to produce a token copying the Deceiver, and with Haste ability;  then, if the opponent does not play with the white color (or, if he does, hoping that he does not have a Disenchant in his hand with which respond to!),when the token enter the battlefield ,it is possible to choose one of the two triggered abilities of the just-created Deceiver-Token;  choosing to untap a permanent, the first Deceiver will be targeted (the original non-token one, the one enchanted with Splinter Twin), which in this way can be tapped again to produce a new token equal to the Deceiver; You can repeat this process indefinitely to produce as many tokens as you want; then,it is possible to attack the opponent to win the game.   Hoping that all the above is correct (if not, please tell me where there may be a misunderstanding),  I think the procedure in question is able to be a good example of what I mean with the expression "infinite loop".  Or, in any case, I think it's a good way to define it:if there are better ones, a mention of them is welcome in the answer.  Since this operation is today no longer possible - due to the removal of Splinter Twin from the two most recent formats - I wonder if this may be due to the possibility that this card has well demonstrated in producing "infinite loops". The reason for a possible ban of this kind of game actions may be due to the fact that, in order to make this action legal, one should be able to physically perform the "infinite loop": what is however impossible. Even if, obviously, the operation may be stopped at a certain point, for example by producing 300 tokens, of course, and therefore avoiding a real "infinite loop".        But there remains the obvious possibility, within this combo, of being able to make an infinite loop in this way.  If the removal of the Splinter Twin card is due to this (and this reason only) then I wonder if - in Modern and Standard formats - other operations that can produce "infinite loops", or that in any case can be associated with them through the use of various cards:     1) are considered legal game actions; or 2) are not considered legal game actions.  In other words: are "infinite loops" legal or not?


Do the Federation need to worry about the Treaty of Algeron?

It seems from a cursory reading of the page on , the Federation has repeatedly trodden on the treaty's legislation banning cloaking devices. And yet to my knowledge there has been little to no retaliation from the Romulans.  Do the Federation really care about the treaty? Have the Romulans ever retaliated?


How can I cheaply transport lots of baggage when travelling domestically in India when coming in or going out on an international flight?

I'm planning to travel to India from an international destination, and leaving back to the same international destination. My airline allows me to check two bags weighing 50 pounds each, and I plan to make full use of this allowance.  However, when I was booking my ticket, I found that the ticket price to my final destination in India is significantly more expensive than booking a ticket to a major hub airport (e.g. DEL, BOM, etc.) and a separate domestic ticket to my intended destination. I'm aware that if I book a ticket straight through to my final destination, I can carry the full allowance all the way through. However, I've searched around and found that if I book a domestic flight on a separate ticket, I'll only get a baggage allowance of around 15 kilograms (by weight).  As I plan to carry around 45 kilograms of baggage, which is significantly more than the 15 kilograms permitted by most airlines I've checked, it seems like I'll have to spend a lot of money in excess baggage fees. Is there a way I can transport the bags more cheaply than paying those fees, or booking a through ticket, which will probably add hundreds of dollars to the ticket price? Is there a service where I can get the baggage shipped cheaply? Or should I book a train ticket instead?


Find $\lim_{n \to \infty} \sqrt[n]{n!}$.

I am playing around with the root/ratio test to practice with series. I just showed that $\sum \frac{1}{n!}$ converges by using the ratio test. I decided to see how things would go with the root test and I got stuck at something that I can't find on google. Right away while running the root test I encountered $\lim_{x \to +\infty}\left(\frac{1}{n!}\right)^\frac{1}{n}$. I have made the claim that $\left(n!\right)^\frac{1}{n}\geq 1 \hspace{3mm}\forall n\in \mathbb{N}.$ I have begun the proof and I think it is on the right track but some verification would be nice.  Proof: We can see that for n=1, this obviously holds, $\left(1!\right)^1\geq 1.$ Now suppose that this is the case for some $n=k$, then we have $\left((k+1)!\right)^{\frac{1}{k+1}}= \left((k+1)k!\right)^\frac{1}{k+1}$. It is at this point that I start to have a little trouble. Can somebody give me a push in the right direction? Thanks!


How to remap default unity window placement shortcuts

I'm using Google Docs quite often, and love the ability to change styles quickly by using Ctrl + Alt + NumPad shortcut.  However, with Unity this system shortcut is already used for Window placement. Is there a way to change this ?   I already had a look at the Keyboard shortcuts system settings, and tried to find something in Compiz config, but with no luck.  That's driving me crazy, I'm so used to this shortcut !


Is there a PDF for a generalized non-central chi-squared distribution

Is there a PDF for a distribution defined as a sum of squares of random variables pulled from a family of normal distributions with different standard deviation?  Is there a way of analytically writing the PDF of such a distribution as a hypergeometric function without prior normalization to make all the underlying normal distributions have unit variance?  A possible case of application would be an N-dimensional length of displacement from center under the effect of a random, normally distributed forces along each dimension, each with it's own characteristic variance and mean, different between dimensions.


How to adjust one 'meta' label position in pgfplots when it overlays with another?

My MWE:  \documentclass[12pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.9} \usepackage{amsmath} \usepackage{mathspec} \setmainfont[Ligatures=TeX]{Times New Roman} \setmathsfont(Digits,Latin,Greek){Times New Roman}  \begin{document} \pgfplotsset{every axis/.append style={     line width=.1 pt,     tick style={line width=.6pt}},     major grid style={gray!15} } \begin{tikzpicture} \begin{axis}[grid=major, clip mode=individual, height=8cm, width=10cm, %xmin=0, %xmax=0.32, %ymax=7000, enlarge x limits=.1, enlarge y limits=.1, ylabel={Stokes shifts, cm$^{-1}$}, xlabel={$\Delta$f}, minor x tick num=4, minor y tick num=4, every node near coord/.append style={anchor=west,font=\tiny,fill=blue!10,rounded corners=3pt,inner sep=1.5pt,xshift=1mm}, ]   \addplot+[nodes near coords,only marks,point meta=explicit symbolic,black,font=\tiny] table[meta=label] { x   y   label 0.30515 6571.54357  ACN 0.20957 5442.03427  THF 0.26329 6764.93214  DMSO 0.30859 6338.69055  MeOH 0.28869 6125.2616   EtOH 0.24969 5878.82326  n-PenOH 0.20519 5635.74187  n-DecOH 0.00579 5619.78163  Toluene -0.00165    5415.76404  Cyclohexane 0.21467 6038.64734  DME 0.26116 5854.44675  Triton X-100 %0.28679    8886.51915  PC };  \end{axis} \end{tikzpicture} \end{document}     As you can see labels near value 0.25 of x-axis overlap.  Is there a way to adjust position of one of those labels manually or automatically to make graph look better?


What happens if particle is measured outside finite well?

A particle, which is in bound state (and eigenstate) of a finite well, has a small probability of being found just outside the well. If one happens to locate it there, then to the experimenter how will the particle manage to occupy that potential energy (greater than total energy)?


I am prepending inputs on a dom element div as shown below:

Add inputs

  <input type="text">   function addInputs() {   $("#inputsContainer").prepend("<input type='text'>"); }  $("input").focusin(function(){   $(this).css("background-color", "#FFFFCC"); });   This focusin works on hardcoded inputs, but does not trigger on prepended inputs. Let me know where I am going wrong.


in regards to/regarding and of/from - Grammar in formal email

I've been waiting for an email for several days and haven't heard of the other person yet. He emailed me, I answered him but I haven't heard back yet. I wish to send a message to remind him to answer me but I wish to know the correct way of putting it.  I am thinking of something like this:  I am writing in regards to/regarding your email of/from the 10th January 2019.  Any suggestions?


How to dynamically refer to nodes within tikz environment?

Here is my code with two tikzpictures. I was expecting both to produce similar output.  \documentclass{article} \usepackage{tikz} \begin{document}  \begin{tikzpicture} \node[rectangle,draw,minimum size=5mm] (r0) at (0, 0) {}; \node[rectangle,draw,minimum size=5mm] (r1) at (10mm, 0) {}; \node[rectangle,draw,minimum size=5mm] (r2) at (20mm, 0) {}; \node[rectangle,draw,minimum size=5mm] (r3) at (30mm, 0) {}; \draw[->] (r0) -- (r1); \draw[->] (r1) -- (r2); \draw[->] (r2) -- (r3); \end{tikzpicture}  \vspace{20mm}  \begin{tikzpicture} \foreach \i in {0,...,3}     \node[rectangle,draw,minimum size=5mm] (r\i) at (10mm * \i, 0) {}; \foreach \i in {0,...,2} {     \pgfmathsetmacro{\j}{\i + 1}     \draw[->] (r\i) -- (r\j); } \end{tikzpicture}  \end{document}   Here is the output.    Why are the arrows in the second tikzpicture environment piercing into the boxes? What makes the code in the second tikzpicture environment different from the first one?


Including boost::multi_array in a class with not specified number of dimensions

I am creating a gridcell class which is basically a multi array of cells. I want this gridcell to have any number of dimensions. This means that in the declaration of the boost::multiarray variable I cannot specify the second argument of the template. Concretely, my code looks as follows:  #include "cell.h" #include <iostream> #include <vector> #include <boost/multi_array.hpp>  class GridCell { public:      GridCell(); // Default constructor not used.     GridCell(const std::vector<int> dims, const float leafsize);     virtual ~GridCell();      friend std::ostream& operator << (std::ostream & os, const GridCell & c);  private:     std::vector<int> dims_; // Vector containing the size of each dimension.     float leafsize_; // It is assumed that the cells in the grid are cubic.     boost::multi_array<Cell,ndims> * grid; };   Concretely, boost::multi_array * grid; The number of dimensions I want it to be specified in the Gridcell class constructor.  Any advice or alternative?  Thank you very much!


Do clocks near the centre of the galaxy run slower than clocks at the edge?

Does an astronaut floating in space near the center of the galaxy, where the mass density is higher (let's ignore the dark matter halo for this example) have a clock that runs slower than an astronaut hovering in space near the edge of the galaxy?  Let's say both astronauts are far from any stars and planets.  I'm curious if the increased mass density at the center of the galaxy affects the astronaut's clock relative to the astronaut at the edge, even if neither of them are near any particular star or planet.


How much light is necessary to form a black hole

I suppose that enough light in a small enough volume could create a black hole.  What is the good quantity that can tell when light can or cannot make a black hole? Energy density? But there must be some importance of the time it stays in that volume (pulse duration?). So is it irradiance?  How much of it is required to form a black hole? I expect there must be some kind of threshold after which a black hole must be formed.  Imagine you try to concentrate light gradually in a smaller and smaller volume. Is there any known mechanism that will necessarily prevent black hole formation during this phase ? I suspect photon-photon interaction might cause losses that cannot be overcome in any way.  EDIT: This question is not the same as , which only asked whether radiation can curve space. Here, I ask how much light can create a black hole, which is not the same question, I believe.


How to take photos of a solar eclipse without damaging one's eyes or camera?

This upcoming May parts of the USA will experience  a . So this leads to me wondering how you photograph the sun/solar eclipses and ensure that you do not damage the camera (or your eyes)?


Can someone show me how to proof this ? $$\sqrt[p]{\sum_i {a_i}^p}\to \max a_i \quad\text{ if }p\to\infty.$$


No linear effects but a quadratic effect

I have a regression with a linear and quadratic term.  The linear coefficient is not significant but the quadratic is significant.  Does it make sense to have no linear effect but a quadratic effect in a regression model?


Is cross-posting wrong (to an external site)?

I made a question at Stack Overflow long ago and also posted the same question in a non-Stack Exchange website (Xtreme VB Talk). The question .  According to the answer, I shouldn't have cross-posted between Stack Overflow and XtremeVBTalk, because     it increases the probability that wires will get crossed and everyone will waste time.   But I'm not sure why is that wrong. You see, I simply see Stack Overflow and XtremeVBTalk as two different communities with different users. So posting the question in both sites would just give me more answers. And if I got the answer in one of them, I would report back to the other site and let everyone know (and perhaps someone else would be benefited as well). I really doubt it is a waste of time - the more input, the better. The fact that someone was a user in both websites is simply a coincidence.  I realize that Meta Stack Exchange question  exists, but apparently it involves cross-posting within Stack Exchange sites, but this is about external websites instead.  I also realize that I was told that as "advice" (since my question was not flagged or anything), but well, I am now curious: Why would anyone consider this a bad practice?


I have 700 reputation in StackOverflow right now. Once I've reached 500 rep I've got an opportunity to review first posts and do the triage. But now for some reason I can't do that. The inscription "There are no review queues available to you" is standing for several days.  I didn't get any message like "you were banned" or smth. And I didn't do anything wrong - there's only 1 bad flag (which was a mistake), I do not downvote every post, etc.  What can be a reason of that?


Need help with the title of a old scifi book

I know someone trying to remember the title of an old book but they can only describe it as this ...  The “protagonist” is a member of a spherical alien race. They use needle thin “jets” of liquid for locomotion and defence. The beginning of the story shows how the protagonist grew up on his home world, amongst his fellow aliens. They spent a great deal of time trying to avoid their natural predators, a race of scorpion like aliens, that distended their stomachs outside their bodies to digest prey. There was a third race of armoured plant-like aliens also living on the world.  The second half of the story see the “protagonist” leave his home world and team up with a human… and highlights the clash between the two very different physiologies. (for example… the alien uses the word “food” as a swear word as it is a disgusting concept to him… given he derives energy from sunlight and built in chemical process)


I have the following function that counts the number of characters left the user has to type in a textarea:  $("textarea").keyup(function() {     var max = 500;     var length = $(this).val().length;     var char = max - length;     if (length > max) {         $(this).parent().find('.counter span').html('
' + char + '
');     } else {         $(this).parent().find('.counter span').text(char);     } });   If I introduce a new DOM to the page, the above function doesn't work for the newly introduced textarea. How can I make it work with new DOMs?  Thanks.


I am trying to find a regex which supports a pattern like below:  String starts with // String has a delimiter after //; (suppose ; is the delimiter) String has \n after demiliter (//;\n) Finally String contains any number of digits with that delimiter (//;\n2;3;4;5)  Could you help? I tried ^//\\D+\\n.*$ but it doesn't work. Thanks in advance!


Subsets of $(X,d)$ where $d$ is the discrete metric are both closed and open

I have an exercise in my notebook, which i'm not sure if i'm doing it right. Exercise: Show that if $X$ is equipped with the discrete metric $d$ then every subset of $X$ is both open and closed. Definition of discrete metric: $d(x,x)=0$ and $d(x,y)=1$ if $x\neq y$ My approach: Take an arbitrary set $A\subset X$. Take a closed ball $\overline{B}(x,\epsilon)=\{y\in X: d(x,y)\leq \epsilon\}\subset A$ such that $\epsilon=1$. Now, take points all points $x'\in \overline{B}$ such that $d(x,\epsilon)=0$. These points $\{x'\}$ are then open sets by themselves since $\forall x\in\{x'\} \exists \epsilon=1/2$  such that $B(x,\epsilon)\subset \{x'\}$. Therefore $B(x,\epsilon)\subset\{x'\}\subset \overline{B}(x,\epsilon)$. Hence by definition $\overline{B}(x,\epsilon)$ is open. Since $A=\cup_{i=1}^n \overline{B}(x,\epsilon)$, it follows that $A$ is a union of both closed and open balls. Hence it's both closed and open. Would this be correct?


I was very happy to learn that you had added support for directly uploading images to imgur.  However, I would like to see this taken one step further, if it is even possible.  Today, if I want to upload a screen shot (and let's face it, this is probably the most likely case in the computing-related stackexchange sites), I need to take the shot, paste it into an image editor, save the file and then upload to imgur via SO, and delete it when the upload completes.  If possible, I suggest adding a mechanism to paste an image directly into the question (or answer) and have SO automatically create a temporary file, upload to imgur and make the link.  This would save many annoying steps when posting screenshots.


Is this algebraic identity obvious? $\sum_{i=1}^n \prod_{j\neq i} {\lambda_j\over \lambda_j-\lambda_i}=1$

If $\lambda_1,\dots,\lambda_n$ are distinct positive real numbers, then  $$\sum_{i=1}^n \prod_{j\neq i} {\lambda_j\over \lambda_j-\lambda_i}=1.$$ This identity follows from a probability calculation that you can find at the  top of page 311 in the 10th edition of Introduction to Probability Models by Sheldon Ross.   Is there a slick or obvious explanation for this identity?   This  question is sort of similar to ; clearly algebra is not my strong suit!


This is the question from IMO 1959  Prove that the fraction $$ \frac{21n+4}{14n+3} $$ is irreducible for every natural number $n$.  i was wondering if my method is for all values or for specific ones?  This question seeks authenticity of my solution.


MySQL query that finds circles containing given coordinate

OK, so, here's the problem. I have three columns in MySQL table:  location_lat location_lng radius   I need to make a query that when user selects the point on map I get latitude,longitude values and to find all DB entries that contains this dot.  To illustrate it, I've made a mockup:    So, given the coordinates of the black marker I need to find only red circles and not the green ones.  Is it doable via MySQL?  I know how to make it in PHP, but that could be more resource intensive.


How to use article 'the' with conjunction?

The first and second chapters are....   Or      The first and the second chapters are...   Which is the correct usage? Is it correct to use the for both the phrases or not?? Please explain to me.


I am trying to make a lens effect in Blender. I created the material for the lens with the Glass BSDF shader and connected it directly to the material output, and changed my render engine to Cycles. In the viewport everything looks fine:  But when I try to render the final image, the glass material becomes opaque. Is there any settings or something I could accidently have messed up? The final render looks like this:


I heard you should define sizes and distances in your stylesheet with em instead of in pixels. So the question is why should I use em instead of px when defining styles in css? Is there a good example that illustrates this?


I use PHPMailer for send mail, I think everything is ok. But it goes to spam. Yahoo is ok, but gmail has problem.  I see SPF is soft fail.    My spf record is: v=spf1 +a +mx +ip4:149.255.38.122 +include:_spf.google.com ~all  And  say is true.  Thanks for help


Splitting file based on size, but make sure that it ends with newline

I am able to use the split command successfully to split large file into multiple smaller files. This is being achieved by following command  split -b 1G $temp_path $final_filepath   But only caveat is that these files many times contain last line which is split across 2 files. Is there any way to avoid that using split or any other command ?


Is there any way to modify the mail headers in an outgoing message sent using Gmail?

I'm interested in doing this to add an "Approved:" header to a Mailman announcements-only list ().


Why does a bad password cause "Padding is invalid and cannot be removed"?

I needed some simple string encryption, so I wrote the following code (with a great deal of "inspiration" from ):      // create and initialize a crypto algorithm     private static SymmetricAlgorithm getAlgorithm(string password) {         SymmetricAlgorithm algorithm = Rijndael.Create();         Rfc2898DeriveBytes rdb = new Rfc2898DeriveBytes(             password, new byte[] {             0x53,0x6f,0x64,0x69,0x75,0x6d,0x20,             // salty goodness             0x43,0x68,0x6c,0x6f,0x72,0x69,0x64,0x65         }         );         algorithm.Padding = PaddingMode.ISO10126;         algorithm.Key = rdb.GetBytes(32);         algorithm.IV = rdb.GetBytes(16);         return algorithm;     }      /*       * encryptString      * provides simple encryption of a string, with a given password      */     public static string encryptString(string clearText, string password) {         SymmetricAlgorithm algorithm = getAlgorithm(password);         byte[] clearBytes = System.Text.Encoding.Unicode.GetBytes(clearText);         MemoryStream ms = new MemoryStream();         CryptoStream cs = new CryptoStream(ms, algorithm.CreateEncryptor(), CryptoStreamMode.Write);         cs.Write(clearBytes, 0, clearBytes.Length);         cs.Close();         return Convert.ToBase64String(ms.ToArray());     }      /*      * decryptString      * provides simple decryption of a string, with a given password      */     public static string decryptString(string cipherText, string password) {         SymmetricAlgorithm algorithm = getAlgorithm(password);         byte[] cipherBytes = Convert.FromBase64String(cipherText);         MemoryStream ms = new MemoryStream();         CryptoStream cs = new CryptoStream(ms, algorithm.CreateDecryptor(), CryptoStreamMode.Write);         cs.Write(cipherBytes, 0, cipherBytes.Length);         cs.Close();                     return System.Text.Encoding.Unicode.GetString(ms.ToArray());     }   The code appears to work fine, except that when decrypting data with an incorrect key, I get a CryptographicException - "Padding is invalid and cannot be removed" - on the cs.Close() line in decryptString.   example code:      string password1 = "password";     string password2 = "letmein";     string startClearText = "The quick brown fox jumps over the lazy dog";     string cipherText = encryptString(startClearText, password1);     string endClearText = decryptString(cipherText, password2);     // exception thrown   My question is, is this to be expected? I would have thought that decrypting with the wrong password would just result in nonsense output, rather than an exception.


Let $K=\mathbb{Q}(\sqrt[3]{2})$ I want to show that $U(K)=\{\pm (\sqrt[3]{2} -1)^n : n \in \mathbb{Z}\}$   I know that an integral basis for $K$ is $1, \sqrt[3]{2}, \sqrt[3]{2}^2$  So far I have got: Since the minimal polynomial of $\sqrt[3]{2}$ has one real root and 2 complex roots then K has one real embedding and one complex embedding, so the signature of K is (1,1). The rank of K=1+1-1=1. Then by using Dirichlet's Unit Theorem there is some unit $u$ such that every other unit can be written in the form $\pm u^n$. Therefore $U(K)=\{\pm u^n\}$ but I don't know how to proceed from here.


When I try and mount my 64GB volume I receive the following error message:   Error mounting /dev/sdb1 at /media/sourav/3466-6438: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sdb1" "/media/sourav/3466-6438"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'   What is the cause of this error and how can I solve it so I can mount my drive?


History of the Coefficients of Elliptic Curves -- Why $a_6$?

I would like to know what is the motivation behind the naming convention of the Weierstrass form of elliptic curves given as $$E:y^2+a_1xy+a_3y=x^3+a_2x^2+a_4x+a_6.$$  I can see that $a_1,a_2,a_3,a_4$ are named by sorting monomials by lex order with $x<y$. But why go from $a_5$ to $a_6$?


How can I copy a file from one server to another with the help of an intermediate server?

I have three linux servers: 1. Database Server 10.10.10.10 2. Application Server 10.10.10.52 3. Backup Server 10.10.10.55    There is a direct connection between Database and Application servers and there is a direct connection between Application and Backup servers, but there is no connection between Database and Backup servers. I have a file in Database server which I want to copy to Backup server, but I don't have any idea how to do. If anyone has any idea, please share it with me. Thanks in advance.


Can I cast a spell in the middle of jumping with a Jump spell?

I have not completely read the rules for 5e, and my group has played a decent amount of 4e. We recently started 5e.  So my question is, as a Wizard, can I cast the Jump spell on myself one turn, then the next turn jump high into the air and cast Thunderwave straight down? I'm a little unsure of how the actions work in 5e. The point is to hopefully knock a handful of enemies prone to make quick work of them with my group. (We have a house rule from 4e where a successful attack on a prone character is an automatic critical.)


Circuitikz and tikzlibrary shapes.geometric not works properly together.

In my tex documment, I use circuitikz and tikz libraries together. When I try to draw decision block for flowchart, I found annoying behavior. Miktex puts in center of the Diamond shape some character, that should not be there at all (see figure below). If I comment circuitikz library, everything si OK, but it is not solution for my documment.      NWME:  \documentclass{minimal} \usepackage{tikz} \usepackage{circuitikz} \usetikzlibrary{shapes.geometric}  \begin{document}   \begin{tikzpicture}    \node [draw, diamond, aspect=2] {hello};   \end{tikzpicture} \end{document}


Does a Faraday cage block outgoing signals?

I see lots of discussions about how a  can block EM signals, but almost no one addresses the possible difference between incoming signals versus outgoing signals. It seems to me that those are different situations.  For sake of argument, lets say the cage is a hollow superconducting sphere.  I can see how EM fields outside the sphere could re-distribute the charge on the surface of the sphere in a way that there would be no EM field inside the sphere.  However, in the simple case where a point charge is placed in the center of the sphere, the charge on the surface redistributes in such a way that the EM field outside the sphere is as if the sphere was not there.  Similarly, it seems like if the charge inside the sphere were rapidly moved up and down along the z-axis, it would create an EM wave outside the sphere as if the sphere was not there.  Am I missing something here?  **Edit: I used the term "Faraday Cage" because it is in common use and it makes this discussion easier for others to find. But I am asking about a highly idealized case of a superconducting spherical shell with a charge inside but not connected to the shell. For me it provides a good starting point for understanding real Faraday cages.  By the way: I was once told by a physics professor that this is one of the few things Feynman gets wrong in the Feynman lectures. Which shows how easy it is to get this wrong. Either a physics professor at a major university gets this wrong or Feynman.


Is there a more commonly used phrase or idiom other than      I've punched several tons above my weight   Of course, I know the original expression is "I've punched above my weight" but I need to emphasise just how much!  The context of this:  "Hey guys, I just had a date with [X], I have to say I've punched several tons above my weight!" meaning that I went out with someone who is much more attractive than someone I could usually date due to my relatively less nice appearance.


Novel, group transported to a fantasy world, wild/chaos magic

I was reading  and was strongly reminded of a series I remember reading in my teens.  This would have been a series of novels (possibly just one), published in English, and likely before 1980 - I read it in the 90s and it was fairly old, a used book.  I do not think it is the same as the linked question, which is why I'm asking this separately.  It was definitely a fantasy, not sci-fi.  Plot:  At least two girls (and possibly also some boys/other girls) are transported from modern Earth into a fantasy world.  I think they're a group of friends, possibly with some romantic pairings, and are in the 16-25 age range.  The first significant scene I remember is two of the girls ending up in a city, where they are taken in by an older female artist (might have been a different creative type, like a sculptor/actress).  She's lesbian/bisexual.  At some point she attempts to give one of the girls a love potion, but they reverse it on her, so instead the artist falls in love with the girl and accompanies her for the rest of the books.  Twist: It's later revealed that the artist's friends recognized the love potion and removed it.  She pretended to be in love and went along because she thought it would be interesting.  At some point at least one of the girls ends up basically being a magical sex slave/prostitute.  I remember her being tattooed or painted - I think in blue - and also possibly given some magical jewellery/piercings that ensure her obedience/love of her owner.  I do not remember much of the over-arching plot, just a few disjointed pieces:  The world has chaos/wild magic storms.  The books might have called them something else.  Anyone or anything caught by these storms is transformed into something else entirely, so different objects or species.  These show up throughout as minor plot encounters.  I think they can be defended against with a special material.  Near the very end, a large storm engulfs a major city, giving it entirely new architecture and transforming the inhabitants into green, hermaphrodites with a centaurish body structure.  I am not 100% sure this was the same novel, but I recall a secondary character with a secret - at night he turns into a woman (not just his body, but an entirely different person).  At some point it's revealed that the woman was his lover, and he saved her life by sharing his body with her - of course, now they can never meet/touch again.


A question regarding matrix $M_{n\times n } (\mathbb{C})$

The following question was asked in my linear algebra quiz and I was not clear about that option. So, I am asking it here. I will write only that option instead of writing whole question.  Let A$\in M_{n\times n } (\mathbb{C})$. Then is the following option true or not (with reasons):   There exists B $\in M_{n\times n } (\mathbb{C})$ such that $B^2 =A$ .  I tried by taking a $2\times2$ matrix with $a_{11}=i, a_{22}=i, a_{21}=0, a_{12} =0 $ but $B$ will exist in that case. So, I am not sure what concept should I use now. Please tell how to proceed.


What can be done to improve moderation of self-answered questions?

About a month ago, we rolled out a new feature: . So far, the reception has been mostly positive, and I've definitely seen    posted in this form. But I've also seen something else, a side-effect you may have seen discussed here on MSO:     Ignore for a moment the specific details of the Q&A pairs discussed in those two posts, and note the following: three poorly-asked questions, questions that ordinarily would have been closed, down-voted, and/or edited... But instead sparked a small outrage among the members who came across them. Now, we've known for years that self-answered questions can be problematic. Asking is hard. Answering is hard. Asking a question when you already know the answer can be even harder to do well. But that is - or rather, that should be - beside the point: plenty of people ask really terrible questions without bothering to answer them, and we've certainly managed to handle them over the years. If normal community-moderation is failing when it comes to self-answered questions, that's a problem. These are edge-cases at the moment. But if we're trying to encourage more use of this form to share knowledge on Stack Exchange (), it's something that needs to be faced. I'm presenting one possible solution below (in true gratuitous self-answer fashion), but what do you think? Would some other option work better? Is this even a real problem?


I toggle between Vertex, Edge, and Face Select mode constantly. In a speed modeling session, this adds a lot of clicks.  I couldn't find any place to set a hotkey to change this setting. Is there one?


I would think it's "a NNN REIT" in this case, despite the vowel sound, because this would typically be read as "a triple-net REIT" by those with domain knowledge. The person I consulted with said NNN might be read as the individual letters rather than as "triple-net". What should I go with here?


How to effectively calculate an algorithm's time complexity?

I'm studying algorithm's complexity and I'm still not able to determine the complexity of some algorithms ... Ok I'm able to figure out basic O(N) and O(N^2) loops but I'm having some difficult in routines like this one:       // What is time complexity of fun()?     int fun(int n)     {       int count = 0;       for (int i = n; i > 0; i /= 2)          for (int j = 0; j < i; j++)             count += 1;       return count;     }   Ok I know that some guys can calculate this with the eyes closed but I would love to to see a "step" by "step" how to if possible.  My first attempt to solve this would be to "simulate" an input and put the values in some sort of table, like below:   for n = 100 Step   i 1      100 2      50 3      25 4      12 5      6 6      3 7      1   Ok at this point I'm assuming that this loop is O(logn), but unfortunately as I said no one solve this problem "step" by "step" so in the end I have no clue at all of what was done ....  In case of the inner loop I can build some sort of table like below:   for n = 100 Step   i      j 1      100    0..99 2      50     0..49 3      25     0..24 4      12     0..11 5      6      0..5 6      3      0..2 7      1      0..0   I can see that both loops are decreasing and I suppose a formula can be derived based on data above ...  Could someone clarify this problem? (The Answer is O(n))


QGIS, Multiple lines and wrap on character?

How to make wrap on characters in Labeling layer settings. I tried various solutions, but it works. Does anyone know how to do?


Change the margin in A3 page, using KOMA script

I have a very large image to be inserted in an A3 page in a A4 page book. I have used KOMA script for A3 page inserted.  \afterpage{% Insert after the current page \thispagestyle{empty} \clearpage \KOMAoptions{paper=A3,paper=landscape,pagesize} \addtolength{\hoffset}{-2.0cm} \recalctypearea \begin{figure}[p] \includegraphics[height=\textheight,width=\textwidth] Sample.png}% \caption{Some caption} \end{figure} \clearpage \KOMAoptions{paper=A4,pagesize} \recalctypearea   Now the image appears mostly to the left margin and a lot of space on the right is left blank. When I tried changing the width more than textwidth, the box around the image stayed at the same place and the image stretched.   Is there any method to change the textwidth or change the margin values? Thank you for your time.


Can "this" and "that" be used interchangeably in some contexts?

As I understand, in English, when we are talking about something so close that we can (literally or figuratively) point our finger to, we can use "this".  This cake is great. (implies the participants are near the cake)  If we are talking about something that is not very close, or the place/time is not very specific, we can use "that".  That cake is great. (implies the cake is far away)  In my native language (Portuguese), a translation would be "isto" ("this") and "aquilo" ("that"). The problem is that there are many instances of English sentences using "that" that I would use "isto" in my native language instead. For example:  A: Let's eat some cake. B: That would be great.  I understand that translations may not perfectly capture the nuances of different languages. My question is if using "this" would be OK in that instance. More generally, is English more lax regarding the use "this" and "that" ("isto" and "aquilo" are very strict in Portuguese). P.S: my question is essentially the same one as , but the accepted answer does not really answers the issue of using both words interchangeably (I'm looking for a yes/no answer).


In the triangle $ABC\,$ we denote by $O$ and $I$ the circumcenter and incenter respectively. The perpendicular bisectors of the line segments $IA$, $IB$ and $IC$ pairwise intersect thus defining the triangle $A_1B_1C_1$ Prove that $\vec {OI}=\vec {OA_1}+\vec {OB_1}+\vec {OC_1}$      Hi there. Im a high schooler new to olympiad geometry. Ive been unable to solve this problem despite repeated angle chasing could someone give a solution?Note I dont know stuff like projective geometry and hard lemmas so a simple proof would be most appreciated.


Is use to incorrect because we use present tense if we talk present habit? What is the difference between the two sentences below?      I am used to GETTING up late in the morning.   I am used to GET up late in the morning.   Please help me to understand.


Show that if $F$ is a field, $f(x) \in F[x]$, then $f(x) * F[x]$ is an ideal in $F[x]$, and every ideal of $F[x]$ is of this form.

Show that if $F$ is a field, $f(x) \in F[x]$, then $f(x) \cdot F[x]$ is an ideal in $F[x]$, and every ideal of $F[x]$ is of this form.  I'm not sure how to start proving that. If anyone could give me a hint it would be highly appreciated.


Automatically exporting time series of multiple polygons to .csv

I want to export data to a .csv file without having to display the chart. .   I want to skip the chart-display part because I'm working with long times series and if I try to display the chart I get the following error:"Error generating chart: Collection query aborted after accumulating over 5000 elements" as it is shown in the code below.  var regions = ee.FeatureCollection([   ee.Feature(    // San Francisco1.     ee.Geometry.Rectangle(-122.79, 37.82, -122.6, 37.6), {label: 'SF1'}),   ee.Feature(  // San Francisco2.     ee.Geometry.Rectangle(-122.6,  37, -122.48, 36.7), {label: 'SF2'}),  ]); Map.addLayer(regions);  var chl = ee.ImageCollection("NASA/OCEANDATA/MODIS-Aqua/L3SMI")     .filterDate('2003-10-25', '2017-08-25')     .select('chlor_a');  // Create a time series chart. var chltimeseries = ui.Chart.image.seriesByRegion(     chl, regions, ee.Reducer.mean(), 'chlor_a', 200, 'system:time_start', 'label')         .setChartType('ScatterChart')         .setOptions({           title: 'Chlorophyl levels',           vAxis: {title: 'mg/m3'},           lineWidth: 1,           pointSize: 4,           series: {             0: {color: 'FF0000'}, //SF1             1: {color: '00FF00'}, //SF2 }});  // Display. print(chltimeseries);


Proving that every function defined on a discrete metric space is uniformly continuous.   I know that every function on compact set is uniformly continuous, but how about discrete metric space.  Can someone please gimme a hand on this please?


'use of undefined type' error when using circular inclusion

I wrote two classes with these dependencies.  //a.h class B:  class A{  B *b ;  A() { b = new B(this);}  print(); }      // b.h     class A;     class B{      A* a;      B(A *_a){ this->a = _a }      void foo() { a->print(); } // here i have error : use of undefined type a    }   If I comment 'a->print()' the code compiles and the other function works, but when I use the pointer of class A in class B, I'm getting this error:      "use of undefined type a"   Can anyone solve my problem?  Thanks


I've encountered an example in the proof of irrationality of square root of $35$ where I arrived to a situation where I got $5|7b^2$. Is it possible to deduce that if $5|7b^2$, then $5|b$?. If yes, then what theorems or are being used to do this? Can you bring some examples? Any help is appreciated!


Been wondering, are black holes disc shaped pulling in only one/two directions, or spheres pulling in all directions?


How do you prevent web pages from appearing in the Google search index?

I have some web pages that Google has indexed. I have now added a robots.txt file to exclude them, but should I also add a noindex tag? If so, then how do I do so?


Can we read 31 July as 'thirty one July'?

Investigations continue into the break-in at Gringotts on 31 July   . . . (Harry Potter and the Philosopher's Stone; Harry Potter and the   Sorcerer's Stone)      The first reader (Stephen Fry) says ‘the thirty first of July,’ and the second one (Jim Dale) ‘thirty one July.’ I’m confused whether the latter can be used or not. Would you tell me?


How can the density of a truncated normal distribution be greater than one?

According to the info in the following locations:          The probability density function for a left-truncated normal distribution should be:  $f(x) = {{1 \over \sigma}\phi({{x-\mu} \over \sigma})\over{1-\Phi({{a-\mu} \over \sigma})}}$  for all x >= a  However, I'm getting some weird results when I do that.  if I take $\sigma$ = 1.0 and $\mu$=0.0 and $a$=1.0, that gives:  $f(x) = {\phi(x) \over {1-\Phi(1)}}$  If I then plugin a number near the truncation point (say 1.1), I get:  $f(x) \approx {0.212 \over {0.159}} \approx 1.3$  Clearly that's wrong (the PDF should be in the range (0.0, 1.0) for all X).  Except, everywhere I look leads me to the definition of f above, so I can't figure out what I'm doing wrong.  Clearly though, I've gotten something wrong.  I know this is an embarrassingly simple question, but I'd appreciate any help you might be able to give. Do you know what I'm doing wrong?


How to prove that an element $a$ is a nilpotent element of $\mathbb Z_n$ if and only if each prime divisor of $n$ is a divisor of $a$?


I can't share Wi-Fi from my macbook air 2017

I could not share wifi from my MacBook air. I could not find Wifi option? how can I add it?  Thank you


Which Schema.org type is right, "Blog" or "BlogPosting" for a simple blog article?

In reference to the , do I use Blog or BlogPosting in the @type field?  I've seen examples of both.  The example below passes both Google's structured data test and the .  "@context": "http://schema.org/", "@type": "Blog", "headline": "<?=$title;?>", "url": "<?=$page_url;?>", "datePublished": "<?=$iso_date_published;?>", "dateModified": "<?=$iso_date_edited;?>", "author": "<?=$poster;?>", "publisher": {   "@type": "WebSite",   "name": "News &amp; Opinion" }, "description": "<?=$j_body;?>"   However if I change the @type to BlogPosting, then I get some errors about not including images etc.    What is the difference between Blog and BlogPosting?  When would you use either of them?


How to stop insertion of duplicate data into sql (for login query)

I have  basic login for a website I am using and I simply don't want the register to allow inserting of the same data. So far in a stored procedure I have.  INSERT INTO RegisteredUsers (Email, PasswordHash)  VALUES (@Email, HASHBYTES('SHA2_512', @Password))   How would I update this so that it does not allow duplicate records of email?  Thanks


I wanna study on iOS App and Game development but I don't have any Mac device

I know little bit C Programming and Java. I want to start hard study on Objective-C and all other stuff that needed for Apple App and Game development, But I don't have any MacBook or iMac where I can learn them with xCode. I have just a iPhone 5.  Can anyone please let me know, how can I process on my Windows/Ubuntu computer?  Thank you,  John


tail -f does what it's meant to do pretty well, but it's rather limited when some more control is needed, i.e. when stopping/resuming text would be useful.  Would it be possible to use less instead of tail -f?


Can TeX/LaTeX create fillable forms in a scanned pdf?

I wonder if TeX/LaTeX can create fillable forms in a scanned pdf, such as . I would like to fill out the places that are required to fill out. Thanks!


Is it true that $\limsup\sqrt[n]{|a_n|}=\limsup\sqrt[n]{|a_n-a_{n-1}|}$, ($n>1$), where $\{a_n\}$ does not have a finite limit?

Is it true that for a sequence $\{a_n\}_{n=1}^\infty\subset\mathbb{C}$ that does not converge to a finite limit $\limsup\sqrt[n]{|a_n|}=\limsup\sqrt[n]{|a_n-a_{n-1}|}$, ($n>1$)?  It can be easily shown that   $\limsup\sqrt[n]{|a_n-a_{n-1}|}\leq \limsup\sqrt[n]{|a_n|}$, but I have problem with proving the opposite inequality (or finding a counterexample).


I often reference SE questions outside, so the question number is important to me. But I see no way to get it.


Do I keep my Windows installation if I install Ubuntu with Wubi, the Windows installer?

I want to know if I will keep and still be able to use my Windows 7 installation after I use the Wubi Windows Installer (from ) to install Ubuntu?  Thanks in advance, Bas.


Expected number of games so that every player has been an Imposter in Among Us

Imagine you have $n$ players. In each game, $k$ $(k\leq n)$ players are chosen randomly to do whatever.  By game $G$, what is the probability that every player has been chosen at least once? What is the expected number of games that have to be played so that every player was chosen at least once?  Of course, when $G < n/k$ the probability is zero. This idea came from the game Among Us, where there are $n$ players ($n\leq10$) and in each game you have $k$ imposters (usually $1$, $2$ or $3$).


I've started using English language about 4 years ago after I moved to England. I came across this practice a few times: when people speak about their health or similar things they say this and touch a wood nearby. What does this mean and is there a historical story behind it? Appreciate if anyone could explain this.


How to discriminate between null and zero length string in .NET?

What is the most efficient way to discriminate between empty and null value? I want to:  evaluate CStr(str) to True when str="", whereas evaluate CStr(str) to False when str=Nothing