Does a famous name on an answer gain more upvotes than a stranger?

It was made evident on the Stack Overflow question  and many others that people with famous names in their fields answer questions and (granted are usually correct) get an insane number of upvotes for their answer that other people with lower reputation points also post. I can't help that feel that a well known name basically means extra reputation points earned for every answer. Part of me wants to say that there should be some form of bottleneck on reputation: as you gain more you gain less. Then you can have people on 5k answering questions and getting good reputation from it while big names with 50-100k can answer a question, still get reputation point, but the mental number of upvotes for simply being a big name won't tip the scales too much. Edit: So for all the people that decided to downvote my discussion on this point here is  talking about it:  Jakob, I actually do think you have a point. There is a slight bias towards high-reputation users (I wouldn't really call them "famous"). In my experience, however, the most important factors are speed and correctness, sometimes with far too much emphasis on speed. See  for a discussion of this phenomenon, which I consider far more serious than the slight bias towards high-reputation users. – Sven Marnach 2 hours ago


Cardinality of set containing all infinite subsets of $\mathbb{Q}$

I need to find the cardinality of the set $S$ of all infinite subsets of $\mathbb{Q}$.   It's easy to prove $\operatorname{card} S=\mathfrak c$ if you first prove that the cardinality of the set of all finite subsets of $\mathbb{Q}$ is $\aleph_0$.   But is there some other proof for the statement without using the second one (about finite subsets)? Probably there is =)


Return only the expanded part of a bash glob

Suppose my directory contains the files hesa1.c and hesa2.c. The following bash script  #!/bin/bash for j in hes*.c do echo $j done   returns hesa1.c and hesa2.c .  How do I get this bash script to return only a1 and a2 (i.e what the wildcard expands to be)?


Vbox mouse cursor disappear only in text editor of a guest OS

The problem is following: Suddenly the edit text mouse cursor disappear in guest OS text editors and text fields. Instead of Text Select cursor only few pixels are visible.  Issue related to windows guests (I had this on Win7-64 and Win2016-64) and windows host (win10-64). Update of vbox, guest additions, extension packs - did not help. Any ideas how to fix? Vbox version so far: 5.2.20 r125813 (Qt5.6.2) GA and EP enabled.


Unable to post answer with formatted code

I have been trying to post an answer to this question:    I have read  but apparently I miss something probably obvious here because I am not able to post my answer. I get an error:     Your post appears to contain code that is not properly formatted as code...   I have pasted my answer . As you can see, there are two blocks of codes, one with <script> tags and the other with $(window).load().  In an initial attempt, I simply formatted them with the {} icon which tabbed them by 4 spaces. Neither of them was appearing in the preview though, so I placed the <pre><code> tags but again the same error kept coming, being unable to submit the answer.  What is wrong with the code blocks?  UPDATE: After @Mat 's comments, and since there have been no answers regarding to this, I would like to make clear that partly it has been my fault that I have not properly understood that 8 spaces are necessary for code formatting within lists. Nevertheless, I change the question tag to 'bug' since I believe that it would be best for the user interface if the relevant code formatting button would recognize that the code is in a list and add the necessary spaces by itself rather than getting a validation error on posting.


I've looked at this question     and many other forums with this same problem.  I'm trying to access restful webservice we created in our salesforce instance with postman.  I'm using this url  and these url params  grant_type=password client_id={my id} client_secret={my secret} username=username@domain.com password={password}{security token}   I'm getting this response  {   "error": "invalid_grant",   "error_description": "authentication failure" }   In the connected app settings, I've added my IP under trusted IPs.  I've set IP Relaxation to "Relax IP restrictions".  I set permitted users to "All users may self-authorize".  I added my IP address under Administer->Security Controls->Network Access.  Is there supposed to be a delimiter between password and security token in the password URL parameter?  I can view my connected app through two views in salesforce.    When I go to Administer->Manage Apps->Connected Apps I see it there but when I hover the mouse over it, it doesn't say "Managed-Installed" and it doesn't have the little blue arrow next to the link.  But when I click on it it says its installed  I also can view it through Develop->Remote Access which then redirects me to a page where I'm able to click on it and see the consumer key and consumer secret.  I tried sending a request from the developer console and I get the same error.  I tried sending with and without the security token appended to the password.  I do have the '@' character in the password, could that be causing a problem?  HttpRequest req = new HttpRequest(); req.setMethod('POST'); req.setEndpoint('https://login.salesforce.com/services/oauth2/token'); req.setBody('grant_type=password' +             '&client_id=' + 'id'+            '&client_secret=' + 'secret' +            '&username=' + 'username@domain.com.currentdev' +            '&password=' + 'password'); Http h = new Http(); HTTPResponse res = h.send(req); System.debug('Body ' + res.getBody()); System.debug('Status ' + res.getStatus()); System.debug('Status code ' + res.getStatusCode());   Thanks @Eric, the problem was I'm in a test environment so I should be using test.salesforce.com not login.salesforce.com


Show that infinitely many positive integer pairs $(m,n)$ exist s.t $\frac{m+1}{n}+\frac{n+1}{m} \in \mathbb{N}$

Show that infinitely many positive integer pairs $(m,n)$ exist such that $\frac{m+1}{n}+\frac{n+1}{m} \in \mathbb{N}$.  I couldn't solve it but I did make an observation which might or might not be helpful. WLOG assume that $m < n$ (since the term is symmetric wrt $m,n$ along with the fact that ignoring the $m=n$ case wouldn't create any trouble). Write $n=mq+r$ for some $r\in \{[0,m-1]\cap \mathbb{N}\}$. Now, the question boils down to showing $\frac{m+1}{n}+\frac{r+1}{m} \in \mathbb{N}$. Note that each of the summand is $\leq 1$. Since the equality case wouldn't be helpful in generating infinitely many pairs of $(m,n)$, we can safely say that the sum is equal to $1$.  Now I don't know how to proceed from here.


How do I identify hardware I am unfamiliar with on my computer?

How would I go about identifying a port, card or connector on my system which I am unfamiliar with?  Where would I find information on what these parts are? What would be the steps I would take in identifying a unknown port or cable?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


Why are some posts tweeted?  Is it done by someone, or automatically? I find some posts are tweeted only when they are edited by some others, and I click the edit history. When a post has not been edited, I can't see the edit history and don't know if the post has been tweeted. How can we know if such a post has been tweeted?


Junk character appended to code using lstinputlisting

Trying to learn LaTeX, I'm using a very simple document to see if I can import C# code using the listings package. I've installed MikTex, and made sure it's up to date, and I'm using pdfLateX. The code is as follows: \documentclass{article}  \usepackage[T1]{fontenc} \usepackage{color}  \definecolor{bluekeywords}{rgb}{0.13,0.13,1} \definecolor{greencomments}{rgb}{0,0.5,0} \definecolor{redstrings}{rgb}{0.9,0,0}  \usepackage{listings} \lstloadlanguages{[Sharp]C} \lstset{     language=[Sharp]C,     showspaces=false,     showtabs=false,     breaklines=true,     showstringspaces=false,     breakatwhitespace=true,     escapeinside={(*@}{@*)},     commentstyle=\color{greencomments},     keywordstyle=\color{bluekeywords}\bfseries,     stringstyle=\color{redstrings},     basicstyle=\ttfamily }  \begin{document}  \lstinputlisting{DoDickey.cs}  \end{document}  My problem is that when I import the C# code, some junk characters are appended at the beginning.  Tried a bunch of different code files, tried using \lstinputlisting[[Sharp]C]{DoDickey.cs}. This just results in the error "Package Listings Error: File `C(.tex)' not found." I'm assuming it's an encoding issue, but I honestly have no idea how to solve it.


Want to write Test case and unit test for this trigger      trigger Autoleadconversion on Lead (after insert, after update) {         for (Lead lead : Trigger.new) {             if (lead.isConverted == false) //to prevent recursion             {                 Database.LeadConvert lc = new Database.LeadConvert();                 lc.setLeadId(lead.Id);                  String oppName = lead.Name;                 lc.setOpportunityName(oppName);                 LeadStatus convertStatus = [SELECT Id, MasterLabel FROM                                              LeadStatus WHERE IsConverted=true LIMIT 1];                 lc.setConvertedStatus(convertStatus.MasterLabel);                 Database.LeadConvertResult lcr = Database.convertLead(lc);                 System.assert(lcr.isSuccess());                        }         }      }


Determinant of this skew symmetric matrix

How to prove the  determinant of $$A=(a_{ij})_{n\times n}=b_i^2-b_j^2$$ where $b_1,b_2,...,b_n$ are some distinct real numbers , $n\geq 3$  and  $i,j=1,2,...,n$  is zero?  Here,  $A$ is skew symmetric and I know odd order skew symmetric matrix has determinant zero. How about the even case? or Is there any other method to show $\det(A)=0$ ?


Spacetime as an independent yet interacting frame of reference for QM. Looking.for papers

We know that GR and QM are both valid and verified and yet for some reason they just don't want to go together. We say QM describes the microscopic while GR describes the macroscopic. I was thinking it might be simpler than that. Perhaps the reason these to do get along is because they truely are disparate phenomena.  You can't have a particle or event with out a point in spacetime in which it occurs, but you could have a point in spacetime where nothing exists, and no event happens (beyond observing that there is nothing there).   Then GR describes where things happen and how  spacetime is affected once an event does occur, while QM describes the particle's composition and behaviour. To put it another way.  Spacetime which GR describes provides the frame of reference for paticles and force carriers described in QM.  Then it would seem that the reason both are correct and yet seemingly incompatible is that, despite the interplay between the two theories,  they really do discribe two disparate (though interacting) "phenomena" .   Sounds like a nice theory but I have to admit it lacks coroboration.   Is there literature  into Space Time soley as an independant yet interacting frame of reference for Quantum phenomena rather than trying.to explain spacetime as a quantum phenomena?


real roots, no complex roots, Does anyone know a material or even proof of

Does anyone know a material or even proof of the theorem that says every polynomial of degree n has no more than n REAL roots(real roots, no complex roots)?


Computing integration $\int_0^1\frac{\ln x}{1-x}d x$

Computing the integration.  $\int_0^1\frac{\ln x}{1-x}d x$  I have no idea ... how to do that?  ... The answer is $-\frac{\pi ^2}{6}$ I get it by software.


A way of casting a base type to a derived type

I'm not sure if this is a strange thing to do or not, or if it is some how code smell...but I was wondering if there was a way (some sort of oop pattern would be nice) to "cast" a base type to a form of its derived type. I know this makes little sense as the derived type will have additional functionality that the parent doesn't offer which is in its self not fundamentally sound. But is there some way to do this? Here is a code example to so I can better explain what I"m asking.  public class SomeBaseClass {     public string GetBaseClassName {get;set;}     public bool BooleanEvaluator {get;set;} }  public class SomeDerivedClass : SomeBaseClass {     public void Insert(SqlConnection connection) {           //...random connection stuff           cmd.Parameters["IsItTrue"].Value = this.BooleanEvalutar;           //...     } }  public static void Main(object[] args) {     SomeBaseClass baseClass = new SomeBaseClass();     SomeDerivedClass derClass = (SomeDerivedClass)baseClass;      derClass.Insert(new sqlConnection()); }   I know this seems goofy but is there any way to accomplish something of this sort?


Is there any bijection from $[0,1]^3$ to $[0,1]$? How can I construct it?


I want to monitor system metrics at my application. I use Spring Boot Actuator but it doesn't have any metrics for CPU usage. I know that such metrics at Spring Boot Actuator retrieve from here:  OperatingSystemMXBean   It has methods like:  getSystemLoadAverage getAvailableProcessors   There is another class:  MemoryUsage   at which you can retrieve such metrics:  getUsed getCommitted   However I could not see any metrics for CPU Usage of the Java application at java.lang.management. How can I retrieve it?


How to color a curve with many smooth transitioning colors

I want to "draw[]" a color line starting in green, ending in blue and a transition between green and blue in a smooth continuous fashion. For example in tikz/pgf plots we can use a command such as:  \shade[bottom color=gray, top color=green] (D)--(O)--(B);   to color a triangle with gray and green with a smooth (gradient) transition.  A more specific example is shown in this figure generated with gnuplot, but I do not want to plot a function, and I do not want axes. I just want to draw[] a line or an arc. In other words, I want to "shade[]" a curve in a rainbow coloring.    This is not a repeated question: I have seen these posts with similar questions:   and also:   That is not what I want.   Is there a function in TikZ or PGS (no pstricks or metapost please) that do this?  Thanks.    Update:  Here is my poor man solution:  \documentclass[12pt]{article} \usepackage{pgfplots} \usepackage{tikz} \pgfplotsset{compat=1.11}       \begin{document}       \begin{tikzpicture}       \coordinate (O) at (0,0);       \foreach \t in {0.,0.01,...,1}       {       \coordinate (A) at (\t, \t);       \def\scl{20}       \pgfmathsetmacro\s{\scl*\t}       \draw[color=blue!\s!green]  (A) circle (0.1mm);        }      \end{tikzpicture}      \end{document}   and here the plot:    The main problem here is that the curve is  hard coded. So, for another curve, I would need a new code.  I will work on creating a macro for a general path. Any ideas? Thanks.


Is there a way to select the lines between two verts?

So I have recently been working with objects made with photogrammetry that I need to UV Unwrap. For that, I want to mark the seams of course but I find it very hard to select the lines I want to mark as seams because the mesh is triangulated. If I could just select two vertices and then the shotest way between those points that would be super useful. If not then what other methods would you suggest to UV unwrapping such a mesh?


The question I am working on is this one:     If $a$ and $b$ are coprime integers then prove that $\gcd{((a+b)^m, (a-b)^m)} \leq 2^m$.   Here is the progress that I have made:  $\gcd{(a, b)} \mid a-b$ and $\gcd{(a, b)} \mid a+b$.  Hence, $\gcd{(a, b)} \mid \gcd{((a+b), (a-b))} \implies \gcd{((a+b), (a-b))} \geq \gcd{(a, b)} = 1$.  Now, $\gcd{((a+b), (a-b))} \mid 2a$ and $\gcd{((a+b), (a-b))} \mid 2b$. From a similar line of reasoning as above, $\gcd{((a+b), (a-b))} \geq \gcd{(2a,2b)} = 2\cdot\gcd{(a,b)} = 2$.  Hence, I have proved $1 \leq \gcd{((a+b), (a-b))} \leq 2$.  Now, if I manage to prove that if $\gcd{(a,b)}=d$, then $\gcd{(a^n,b^n)}=d^n$, it would allow me to finish the above proof.  I tried to justify this by saying that if $a$ and $b$ have some prime factors in common, $a^n$ and $b^n$ have the same prime factors in common, but they will be exponentiated by $n$. However, I doubt I will be able to write this explanation in a exam or take the above for granted. I need help formalizing this.


I have two external harddrives that i want to read/write to so i used chmod 777 -R "the folder" but nothing happend so i look abit and saw that the user for the harddrives is root and not my use. Then i used chown -R "username_youwant" path_to_folder/folder_name and only get Operation not permitted then i use the su command so i become root and do the same chown as befor but get the same operation not premitted. the weird part that makes so i dont understad is that i have read/write permission in one of the harddrives but not the one that i want to add som files to. And now i dont know what to try next. to sum up what i have done:   chmod 777 -R "the folder" chown -R "username_youwant" path_to_folder/folder_name su + chown -R "username_youwant" path_to_folder/folder_name


Given a file L with one non-negative integer per line and text file F, what would be a fast way to keep only those lines in F, whose line number appears in file L?  Example:  $ cat L.txt 1 3  $ cat F.txt Hello World Hallo Welt Hola mundo  $ command-in-question -x L.txt F.txt Hello World Hola mundo   I'm looking for a command that can handle a file L with 500 million or more entries; file L is sorted numerically.  Note: I'm halfway through an implementation for a command-in-question but I just wondered, whether one might be able to use some Unix tools here as well.    Update: Thank for all the answers, I learned a lot today! I would like to accept more one answer, but that's not possible.


Capitalizing strings ignoring closed class words

I was just reviewing my "capitalization standards" for titles and such and was wondering if there's a macro to do the same thing I'm forced to do by hand nowadays. My personal rules (feel free to disagree/comment on them) are as follows:   the first letter (a number is a letter too for the sake of these rules) always gets capitalized, every word gets capitalized individually, the exception to the rule above (and just the rule above) are  such as prepositions and the like.   In other words: I'd like a capitalization command (like \MakeUppercase) that will capitalize every word not included in a list of words and that will always capitalize the first word of its argument.  Doable?  PS: one such "list" of closed class words (also known as "function words") can be found .


When an electron tunnels through a barrier, where would it be found when measured?

When an electron with E < V approaches a step in potential energy, the wave function will exponentially decay at the step, meaning there is still a finite possibility of the electron being found at x > 0:  My question: presumably the electron can't be found "inside" the step? So if it is found at X > 0, would it be found with E > V (i.e. above the step)? Or does such tunneling only have a meaning if the decaying wavefunction can reach the other side of the step?


Can Tree-based regression perform worse than plain linear regression?

Hi I'm studying regression techniques.  My data has 15 features and 60 million examples (regression task).  When I tried many known regression techniques (gradient boosted tree, Decision tree regression, AdaBoostRegressor etc) linear regression performed great.   Scored almost best among those algorithms.  What can be the reason for this? Because my data has so many examples so DT based method can fit well.   regularized linear regression ridge, lasso performed worse   Can anyone tell me about other performing-well regression algorithms?   Is Factorization Machine and Support vector regression good regression technique to try?


Moving space from /home partition to others

I have Ubuntu 20.04 installed on a 1TB NVMe, and the partitioning looks as follows  I have only allocated 512 to Swap when installing Ubuntu (followed some random guide on the internet) but while I'm working, I notice the swap gets full quite quickly. I thought about expanding it a bit - maybe to match my RAM size. As can be seen, I have plenty of space on my /home partition (Partition3) and I'd like to take some space from there and move it to my swap. Actually I'd also like to add some to Filesystem root if possible. But when I right click the Partition and try to resize it down by few GB, I get the following error:  So how can I move space from Partition 3 to partition 2 and 1?


javascript executing function after full image load

I have the following line of javascritp $("#hero_image img").attr('src', src); to change an image. The following lines then do whatever they do based on the images new width which I was calling through $("#hero_image img").width();.  However, how do I ensure that this image has fully loaded before getting the width, otherwise I will be returned with the old width? Setting a timeout isn't reliable enough.


$A\oplus C \cong B \oplus C$. Is $A \cong B$ when $C$ is finite, A and B infinite.

So my question is simply that for groups $A, B, C,$ if C is finite, A and B infinite and $A\oplus C \cong B \oplus C$, is $A \cong B$?  My gut tells me this must be the case, and logically I can find no reason they shouldn't be, but I can not seem to derive a formal proof of this for the life of me.  Note that I am well aware that this is not always true for infinite C.


Is there any combinatorial argument to show the given result?

Question    My thought:  As far as the given equality is concerned, I can prove that the relation is true by calculating some general mathematics proving by L.H.S = R.H.S method(given in the picture below)    But I am curious if there is any specific formula of combinatorics which can fetch this equality.(without using this general LHS-RHS method)  Please help me into this.


Sci Fantasy story published 1950s - 1970s about about aliens who take over humans. Looking for title / author please

I am trying to hunt down this story for my boss (one of two stories he has me hunting). He can remember the plot but has no idea re: author or title.   Apparently in the story aliens take over humans by having them perform music or artistic works. One human then shoots all the aliens in his quest to be a hero (even though the aliens were having the humans produce beauty and art instead of destroying them).  Any help or suggestions greatly appreciated thanks.


How can I programatically change my main display?

I'm using a laptop with an HDMI cable to an external monitor. I only use this monitor and turn my laptop display off to avoid performance issues when I'm playing games. Currently when I start my laptop up, I have to manually make the external display the main display every time.  I'd like to write a simple program that can automatically detect the display and make it the primary screen on start up. I have experimented with the Screen class but from what I understand, setting the primary monitor this way is not possible.   Many thanks for any help.


What does this bash syntax means? ETL_PORT="${ETL_PORT:-6090}"

What does this bash syntax means?   Does this mean that ETL_PORT variable will be ETL_PORT if ETL_PORT is set , and otherwise defaults to 6090 if not set?    ETL_PORT="${ETL_PORT:-6090}"


I planning to upgrade one of my old harpertown based server to a new alternative but when I look at the comparison, this new one doesn't seem to be better at all, matter of fact if I look at the clock frequency it even seems to be worse:    There is 6 years of difference between the two, would this comparison mean that I would actually get something worse for more money?   Bus Type     FSB     QPI System Bus     1333 MHz    6.4 GT/s  Well the bus type connecting the cpus seems to be the only advantage here and the new DDR3, DDR4? ram because the old 667mhz FB-DIMM heated up a lot.  This server is running 10 VMs (linux, windows, bsd). Would I get better performance or actually worse after the upgrade? Is that the new cpus clock speed (GHZ) lower means that it is actually slower than my old one was?  The power consumption is 80W for both, how can that be when the new one uses 32nm technology?  Thanks!


Before you respond that this isn't possible, hear me out. I have a Mac Pro 4,1 (with 5,1 firmware), running MacOS Sierra. I want to disable System Integrity Protection (otherwise known as SIP), but have run into a snag. I don't have a flashed graphics card, so I can't see my boot screen (or recovery mode or safe mode) on my computer. Therefore I can't see how to disable SIP on my computer. I have tried:  Boot Mac Pro into target disk mode and connect MacBook Air (OS X 10.9 - pre-SIP) via FireWire To MP. Boot MBA from Mac Pro's recovery partition, (MacOS 10.12 recovery). Disable SIP, reboot. Doing this worked on the MBA. But when I turned on the Mac Pro again, SIP was enabled. I assumed that because of this, the SIP disable was linked to the hardware.  Question 1: Is this assumption correct?  Question 2: is it possible to disable the SIP without using the graphics card in the Mac Pro? I have an iMac running MacOS Sierra and a MBA running OS X 10.9 at my disposal. Possible solutions can include (but don't have to be limited to): ssh, screensharing, target disk mode).  I would appreciate any help. Please post questions as comments and feel free to suggest edits. Thank you!


Why is $\alpha \rightarrow \forall x(\alpha)$ not generally correct in first-order logic?  i.e., when there are free occurrences of $x$ in $\alpha$, and, on the same point, why is the formula scheme correct when there are no free occurrences of $x$ in $\alpha$?


I'm validating email addresses in a c# app, beside the regular expression I'm planning to add some advanced validation by communicating with the mail exchanger and get a response whether such email address exists or not  does any one has a good idea of doing that ? i know a website that can check it :  http://www.ip-address.org/verify/email-checker.php   but I'm not sure what is the approach the website uses for validation. i tried emulating a telnet session on my mail exchanger and then sending commands  MAIL FROM and RCPT TO   but it doesn't work, either the connection is blocked, or the response is erroneous


Why is the ordered pair $(x,y)$ defined to be the set $\{\{x\},\{x,y\}\}$?  My book states that it is simply defined this way and then proceeds to perform a bunch of magic using this definition.


superscripts with xelatex? (footnotes, natbib)

This example illustrates some conflict between xelatex and natbib- and footnote-generated superscripts.  The semi-colon between distinct citations is not typeset as a superscript, nor is the dagger.  The asterisk, however, looks fine to me.  Any suggestion on how to make these auto-generated superscripts look more normal?   Update Mostly fixed, see second screenshot below.  Update 2 Fully fixed!  Alter the MWE below with this code:  \DefineFNsymbols*{safestar}{{$*$}{\textdagger}{\textdaggerdbl}{\textsection} {\textparagraph}{\textbardbl}{$**$}{\textdagger\textdagger} {\textdaggerdbl\textdaggerdbl}{\textsection\textsection} {\textparagraph\textparagraph}{\textbardbl\textbardbl}} \setfnsymbol{safestar}   This comes  Achim Blumensath on the MinionPro mailing list, together with  for the footmisc package.  \documentclass[article, a4paper, 12pt, oneside]{memoir}  \usepackage{fontspec} \usepackage{xunicode} \usepackage{xltxtra} % c/o @wasteofspace, this is the "offending" line \defaultfontfeatures{Mapping=tex-text} \setmainfont{Linux Libertine O}  \usepackage[super]{natbib} \usepackage[perpage,symbol]{footmisc}  \let\sc\scshape \let\bf\bfseries \let\it\itfamily  \setlrmarginsandblock{23mm}{23mm}{*} \setulmarginsandblock{23mm}{198mm}{*} \checkandfixthelayout  \begin{document}  \bibliographystyle{plainnat} \setcitestyle{nature} \thispagestyle{empty}  This is a nice\footnote{(That is to say, minimal.)} example.\cite{lenat1976artificial,lenat1984and} Unfortunately, it has some problems.\footnote{From an aesthetic point of view.}  \bibliography{corneli}{}  \end{document}     But if we don't load , then we get this other slightly problematic result:   I guess I can live with the small and over-elevated asterisk.  It looks less bad when it follows a period.


Why is repeating typename keyword in function argument list necessary?

I have written a toy program that defines a templated function which takes as an argument a std::vector<T> and a std::vector<T>::size_type.  Here's the working code:  #include <iostream> #include <vector>  template <typename T> std::vector<T> foo(std::vector<T> v, typename std::vector<T>::size_type n) {     n = std::min(v.size(), n);     return std::vector<T>(v.begin(), v.begin()+n); }  int main() {     std::vector<int> v{1,2,3,4,5};     v = foo(v, 3);     for (auto i: v) std::cout << i << " "; std::cout << "\n"; }   When I leave out the typename before std::vector<T>::size_type compilation fails after producing this error:  test.cc:5:54: error: ‘std::vector<T, std::allocator<_CharT> >::size_type’ is not a type  std::vector<T> foo(std::vector<T> v, std::vector<T>::size_type n) {                                                       ^   I wonder why that is? Can someone explain why that typename is needed here?


Find the number of pairs $(x,y)$ of integer numbers (positive or negative) such that $2020x+2022y+1=xy$.

I was struggling for ages on this question, and even after careful considering I cannot make sense of this with my knowledge of algebra or set theory. How can I solve this?


Query on magnification by concave mirror

How does a concave mirror give images of same linear magnification for two different object distance?


How do I get my new site ranked the same as my old site?

My site was first for all keywords. After a period of time, I converted the domain from abyath.com to abyath.net and that worked well but, after four months, the site is still lagging on the last pages.  Note that there is a site working in the same field and is competition to me. What would be the solution to return my new site to the position of the old site in search engines?


Trying to create very simple closure in JavaScript

So i was watching this video and at 18:14 he has an example showcasing closures in the programming language "Groovy".   Can JavaScript "save" instances in the same way using closures and if so, could somebody wrap up a little codesample for me to study? I've been reading up on closures in JavaScript and essentially i know that if you have a function within a function and the outer function returns the inner function can be kept alive and that's part of what a closure is.  def makeCounter() {     def very_local_variable = 0     return { very_local_variable += 1 } }  c1 = makeCounter() c1() c1() c1()  c2 = makeCounter()  println "C1 = ${c1()}, C2 = ${c2()}"  OUTPUT and closures: C1 = 4, C2 = 1


Connection between half and whole integer eigenvalues for orbital angular momentum

I have been trying to follow this derivation from Sakurai and Shankar, pulling from both. I would like to see how the following derivation can be extended to orbital angular momentum, and thus find that $\ell$ is an integer. The details are omitted but the core of the proof is here.  Consider the following  $$   \begin{align*}     [\hat{J}^2,\hat{J}_z] &= 0 \\     [\hat{J}_z,\hat{J}_\pm] &= \pm\hbar\hat{J}_\pm \\     \hat{J}_\pm &\equiv \hat{J}_x \pm \mathrm{i}\hat{J}_y.   \end{align*} $$  Now let $$   \begin{align*}     \hat{J}^2 \lvert \alpha, \beta \rangle      &= \alpha \lvert \alpha, \beta \rangle \\     %     \hat{J}_z \lvert \alpha, \beta \rangle      &= \beta \lvert \alpha, \beta \rangle   \end{align*} $$  From the above we can see that $$   \hat{J}_z \hat{J}_\pm \lvert \alpha, \beta \rangle    = (\beta \pm \hbar) \hat{J}_\pm \lvert \alpha, \beta \rangle $$  and $$   \hat{J}^2 \hat{J}_\pm \lvert \alpha, \beta \rangle    = \hat{J}_\pm \hat{J}^2 \lvert \alpha, \beta \rangle   = \alpha \hat{J}_\pm \lvert \alpha, \beta \rangle $$  From this we see that $$   \hat{J}_\pm \lvert \alpha, \beta \rangle    \propto \lvert \alpha, (\beta + \hbar) \rangle \\   %   \implies \hat{J}_\pm \lvert \alpha, \beta \rangle    = C(\alpha,\beta) \lvert \alpha, (\beta + \hbar) \rangle. $$  Now we see that there is an upper limit on $\beta$ $$   \langle \alpha \beta \rvert \hat{J}^2 - \hat{J}_z^2 \lvert \alpha \beta \rangle   = \langle \alpha \beta \rvert \hat{J}_x^2 + \hat{J}_y^2 \lvert \alpha \beta \rangle \\   \implies \alpha \geq \beta^2 $$  So $$   \hat{J}_- \hat{J}_+ \lvert \alpha, \beta_{max} \rangle    = (\hat{J}^2 - \hat{J}_z^2 - \hbar\hat{J}_z) \lvert \alpha, \beta_{max} \rangle    = 0 \\   \implies \alpha = \beta_{max}(\beta_{max} +\hbar). $$  Similarly $$   \alpha = \beta_{min}(\beta_{min} +\hbar) $$  From this we can show $$   \beta_{min} = -\beta_{max}. $$  So $$   \beta_{max} = \frac{\hbar n}{2} \\   \implies \frac{\beta_{max}}{\hbar} = \frac{n}{2} = j. $$  Thus the eigenvalues are $$  \alpha = \hbar^2 j(j + 1). $$  Now we define $$   \beta \equiv m \hbar $$  and we have the eigen kets $$   \lvert j, m \rangle $$  where $j$ increments in half integer steps.   Question: So the only added restriction to the derivation of the integer values of the orbital angular momentum quantum number $\ell$ is $$   \vec{L} = \vec{r} \times \vec{p}. $$ How does this added restriction require that the orbital angular momentum quantum number $\ell$ be an integer and more importantly how can I show this using the proof above?


Mirror Modifier making ugly smoothing on mirrored faces

The model is vivisected right down the middle along the z axis. The right leg is rendering funny and I assume if I can get that fixed everything else will fall into place. I tried flipping normals, changing shading types - can't think of anything else to do.


Quantile regression explained to a beginner

I'd like to know if the following explanation is a correct way to introduce Quantile regression to someone who just know OLS (the goal is just to give an intuition)   Quantile regression minimise MAE instead of MSE so this is more robus to outlier. We can give more or less penalty to over estimation than under estimation.   For instance with Q=0.9, under estimation penalty is 9 times higher than over estimation penalty. In this case 90% of the distance between the dots and the regression line is under the line and 10% over the line.    If we don't care about giving more penalty to over or under estimation we can use Q=0.5 and then we do a LAD regression. In this case 50% of the distance between the dots and the regression line is under the line and 50% over the line.    ps: Unfortunately we can obtain an infinite number of solution with this technique so we can ensure we really have 90% or 50% of residual over the regression line but that's the idea


I am trying to add a gmail account to my iPad in order to have contacts, email, and calendar sync.  I go to Settings -> Mail -> Accounts -> Add Account and enter my gmail credentials.  It accepts the credentials and then goes to this screen:   The spinner to the left of Gmail will spin for about 20 seconds then it just takes me back to this screen:   The account never gets added.  I get an email on my phone that says "new sign in from iPad" so I know the authentication is working.  I am using iOS 10.2.   The same problem existed in 10.0.2.  Some users have reported that doing this process over 4g rather than WiFi works, but this is a WiFi only device.  The gmail app is installed and logs me in just fine.  The same thing happens on both my 2 factor authentication account and my account without 2FA.


How to create a nondestructive gradient mask over an object?

I'm trying to create a mask with a nondestructive gradient. So far I have managed to create my shape in a smart object and the masking gradient in another smart object.  My mask looks like this:    The image that I'm trying to mask looks like this:    By setting my image over this gradient smart object, I was able to produce the following:    The setup looks like this:    The problem is that it's also displaying the black from the clipping mask. I have tried turning down the fill on the masking layer but it also hides the image to be masked. I need to make the clipping mask work without displaying itself. I managed to create a bitmap layer mask which produces the desired result (below) but I need a non-destructive solution.  Desired result:    I need a way to not show the clipping mask layer and only use its transparency. I am also open to other solutions that can do the same thing, provided they are non destructive.  How can I create a non destructive mask over my target object, to achieve the effect I have shown in the final image?


Prove $\epsilon$-$\delta$ definition of continuity implies the open set definition for real function

I need to prove that the $\epsilon$-$\delta$ definition of continuity implies the open set definition continuity for a real function. Here's my attempt.  For any basis $V: (a, b)$ in the range, for each $f(x) \in V$, let $\epsilon = \min(f(x) - a, b - f(x))$, then for any $x$ that $f(x) \in V$ according the $\epsilon-\delta$ definition of continuty there must exists a $\delta$ that the open set $U_x : (x - \delta, x + \delta) \subset f^{-1}((f(x) - \epsilon, f(x) + \epsilon)) \subset f^{-1}(V)$ In conclusion, $$f^{-1}(V) = \bigcup_{x \in f^{-1}(V)} U_x .$$ $f^{-1}(V)$ is an open set. Then for any open set $W$, $$f^{-1}(W) = \bigcup_{V \subset W} f^{-1}(V)$$ $f^{-1}(W)$ is an open set. So for any open $W$, $f^{-1}(W)$ is also an open set. This is exactly the open set definition of continuty. QED.  Is my answer correct? Thanks.


Would it be possible for the syntax highlighter to allow for SQL capitalization?

I've noticed that the syntax highlighter for code samples does not work with capitalization for SQL.  I just posted a question on SO and had to spend a couple extra seconds to modify it to get the highlighting to work...  Is this supposed to work?    Would it be possible to add this to the keywords list?   SELECT WHERE FROM INNER OUTER JOIN LEFT RIGHT TOP ORDER BY GROUP BY   I know there are others that would be useful, but didn't want to run through the entire list


How can I dynamically create class methods for a class in python

If I define a little python program as class a():     def _func(self):         return "asdf"      # Not sure what to resplace __init__ with so that a.func will return asdf     def __init__(self, *args, **kwargs):          setattr(self, 'func', classmethod(self._func))  if __name__ == "__main__":     a.func  I receive the traceback error Traceback (most recent call last):   File "setattr_static.py", line 9, in <module>     a.func AttributeError: class a has no attribute 'func'  What I am trying to figure out is, how can I dynamically set a class method to a class without instantiating an object?  Edit: The answer for this problem is class a():     pass  def func(cls, some_other_argument):     return some_other_argument  setattr(a, 'func', classmethod(func))  if __name__ == "__main__":     print(a.func)     print(a.func("asdf"))  returns the following output <bound method type.func of <class '__main__.a'>> asdf


What do Empire / First order officers wear in front of chest?

In Star Wars, Imperial officers and first order officers wear some kind of mini tubes in front of chests, what are they?


What is the name of the pseudo-3D view in 2D games like Cadillacs and Dinosaurs?

I need to know the term for the kind of projection in games like Cadillacs and Dinosarus (a beat-´em up, shown below). The game uses a kind of pseudo-3D effect with techniques including isometric/axonometric projection, oblique projection, orthographic projection etc  What is the correct term for this behavior? Cavalier, cabinet, isometric, ...?


In the MCU, the Eye of Agamotto houses the Time Stone, and Dr. Strange has demonstrated numerous powers, including:   ageing/deageing fruit trapping Dormamu in a repeating time loop seeing 14,000,605 possible futures    However, as I understand it, in the comics,  is not related to the Time Stone and imbues powers primarily related to mystical "seeing":     The Eye is a weapon of wisdom that can radiate a powerful mystical light that allows Strange to see through all disguises and illusions, see past events, and track both ethereal and corporeal beings by their psychic or magical emissions.    What time-related powers has Dr. Strange demonstrated in the comics?  Are they tied to objects in particular?  (This is somewhat of interest since it may set some precedent for what Dr. Strange can now do in the MCU given he no longer possesses the Eye.)


I've fit a dataset using the zeroinfl model with a poisson regression. I'm having trouble understanding why it is that when I use the predict function, all of the values are non-zero. I know that I have an excess of 0 counts, and that this model fits my data much better than the regular poisson regression. Can anyone explain to me what this model is actually doing? I have a good background in statistics, and I read the manual, but I still don't understand exactly how this regression model is working. As a note, I'm using this model with all default optional parameters.  Here is the explanation I found in the manual:  "Zero-inflated count models are two-component mixture models combining a point mass at zero with a proper count distribution. Thus, there are two sources of zeros: zeros may come from both the point mass and from the count component. Usually the count model is a Poisson or negative binomial regression (with log link). The geometric distribution is a special case of the negative binomial with size parameter equal to 1. For modeling the unobserved state (zero vs. count), a binary model is used that captures the probability of zero inflation. in the simplest case only with an intercept but potentially containing regressors. For this zero-inflation model, a binomial model with different links can be used, typically logit or probit. The formula can be used to specify both components of the model: If a formula of type y ~ x1 + x2 is supplied, then the same regressors are employed in both components. This is equivalent to y ~ x1 + x2 | x1 + x2. Of course, a different set of regressors could be specified for the count and zero-inflation component, e.g., y ~ x1 + x2 | z1 + z2 + z3 giving the count data model y ~ x1 + x2 conditional on (|) the zero-inflation model y ~ z1 + z2 + z3. A simple inflation model where all zero counts have the same probability of belonging to the zero component can by specified by the formula y ~ x1 + x2 | 1."  So, are there really two models, or is this just two models combined into one?


Moment Generating Function for values $t \neq 0$

I'm studying statistics using Rice's Mathematical Statistics and Data Analysis. We can find the $r$th moment of a random variable $X$ by taking the moment generating function $M(t)$ of $X$ and taking the derivative $r$ times. Then substituting $t=0$, we arrive at the $r$the moment. Are moment generating functions significant in any way for values $t \neq 0$?


How to remove a file with two words separated by a space in the shell?

I made a text file called hello world in my home directory. Via the shell I am trying to remove it with the rm command. However, when I execute rm hello world the shell thinks that I am trying to delete two separate files, one called "hello" and the other called "world." How do I go about doing this correctly?


Sending An Emoji Via AJAX Post With UTF-8

I'm trying to send data through AJAX to a PHP file to then upload to my database using SQL. I've already altered my table to allow UTF-8 to be inserted. When I insert using a form it works fine but when using AJAX to send data it won't send it.  For example, I'm trying to send some text and an emoji to a PHP file which then uploads to my database.  I've already got <meta charset="utf-8"> at the top of my page and even added header("Content-Type: text/html; charset=utf-8"); to the page and PHP file as I've seen some other posts mention that but it hasn't worked.  Here is the AJAX function:  $detail = $('#post').text(); //Gets text from div  $.ajax({     url: 'edit.php',     type: 'post',     contentType: 'application/x-www-form-urlencoded;charset=utf-8',     data: {detail: $detail},     datatype: 'html',     success: function() {         console.log($detail); }});   The $detail is simply the value from a div and all the edit file simply does is UPDATE the table.  When I console.log the data it comes back with text and an emoji but it doesn't insert into my database.  While writing this, I noticed that adding 'application/x-www-form-urlencoded;charset=utf-8' stops the whole process from working but I'm not sure why.  Backend Code for those that asked:  <?php $host = "hostname"; $user = "user"; $password = "pass"; $db_name = "database"; $tbl_name = "table";  // Connect to server and select databse. $conn = mysqli_connect($host, $user, $password)or die("cannot connect"); mysqli_select_db($conn, $db_name)or die("cannot select DB");  if ($_SERVER['REQUEST_METHOD'] == 'POST') {      $detail = $_POST['detail'];      // Add your validation and save data to database     if(strlen($detail) <= 5000) {         $stmt = mysqli_stmt_init($conn);          $sql = "UPDATE $tbl_name SET detail = ?";         if (mysqli_stmt_prepare($stmt, $sql)) {             mysqli_stmt_bind_param($stmt, "s", $detail);             mysqli_stmt_execute($stmt);         }         mysqli_stmt_close($stmt);     } } ?>   NOTE: This works when I pass it through a form but via AJAX when adding an emoji such as 😂 it doesn't work.


Task is to find $$\prod_{k=0}^{\infty} \cos(x \cdot 2^{-k}).$$  I tried to make it with double-angle formula: $\prod_{k=0}^{\infty} \cos(x \cdot 2^{-k}) = \frac{\prod_{k=0}^\infty \sin(x2^{1-k})}{2^\infty \cdot \prod_{k=0}^\infty \sin(x \cdot 2^{-k})} $ I'm sad to admit, that I'm stuck with that one. So I would appreciate any help, such as pointing the right direction.


Facing screen freeze (sort of?) in IE11, WIndows 7

While using an internal web application running under IE11 compatibility mode, after clicking on a link, the link portion gets freezed & keeps showing up as topmost layer on the screen. I'm unable to find the exact word to describe it.   Refer the image below:  It persists screen lock cycles, even after cleaning IE off memory. But it gets resolved after log off, restart. What & why could it be ?


I have a zig-zag figure I want to import and manipulate in Blender, preferably on a segment-by-segment basis.  The canonical method for doing "line art" in Blender appears to be to create a curve object then, in the Properties, crank up the Bevel Depth to a suitable value.  The problem is that, for "curves" having hard, acute angles, you end up with a very thin, distorted shape.  Here's an example curve.  All handles are set as vectors:    Here's the same curve with a bevel applied.  Note how the generated tube is flattened, making it nearly invisible when viewed along the Z-axis.  The sharper the angles, the thinner the resulting tube:    I'd like uniform "thickness" no matter what angle I view it from (particularly along the Z-axis).  How can I best achieve this?


Installed to external drive, Grub using wrong architecture

I installed Lubuntu on a flash drive as you would an HD (not live/squashfs). But whenever I boot it I get a grub rescue prompt.  It says it can't find /boot/grub/i386-pc/normal.mod which explains the rescue prompt. However, it's installed for x86_64. The folder for that arch is there with all the modules. When I did grub-install I targeted it to x86_64. When I try to explicitly insmod it it says wrong arch elf magic. So it is definitely looking for i386 and in the right place, but why and how do I fix it?  My question is different than the suggested duplicates because there is no Windows installation on the flash drive, which must be machine-independent. Also, the solutions provided in either do not help - even boot-repair doesn't fix it.


Prove that if the identity is written as the product of $r$ transpositions, then $r$ is an even number

Theorem. If the identity is written as the product of $r$ transpositions, $id=τ_1τ_2\dots τ_r$, then $r$ is an even number. Proof. We will employ induction on $r$. A transposition cannot be the identity; hence, $r > 1$. If $r = 2$, then we are done. Suppose that $r > 2$. In this case the product of the last two transpositions, $τ_{r−1}τ_r$, must be one of the following cases: $(ab)(ab) = id\\ (bc)(ab) = (ac)(bc)\\ (cd)(ab) = (ab)(cd)\\ (ac)(ab) = (ab)(bc),$ where $a$, $b$, $c$, and $d$ are distinct. The first equation simply says that a transposition is its own inverse. If this case occurs, delete $τ_{r−1} τ_r$ from the product to obtain $id=τ_1τ_2···τ_{r−3}τ_{r−2}$. By induction $r − 2$ is even; hence, $r$ must be even. In each of the other three cases, we can replace $τ_{r−1} τ_r$ with the right-hand side of the corresponding equation to obtain a new product of $r$ transpositions for the identity. In this new product the last occurrence of $a$ will be in the next-to-the-last transposition. We can continue this process with $τ_{r−2} τ_{r−1}$ to obtain either a product of $r − 2$ transpositions or a new product of $r$ transpositions where the last occurrence of $a$ is in $τ_{r−2}$. If the identity is the product of $r − 2$ transpositions, then again we are done, by our induction hypothesis; otherwise, we will repeat the procedure with $τ_{r−3}τ_{r−2}$. At some point either we will have two adjacent, identical transpositions canceling each other out or $a$ will be shuffled so that it will appear only in the first transposition. However, the latter case cannot occur, because the identity would not fix $a$ in this instance. Therefore, the identity permutation must be the product of $r − 2$ transpositions and, again by our induction hypothesis, we are done. Question: That is the proof written in the book, but unfortunately after more than $10$ times reading I don't understand the last two paragraph (i.e., from "In each of the other three cases"). Is there another simpler proof or could someone please clarify what is going on? Thank you.


Origin of Doobie (joint, marijuana cigarette)

OED says:     doobie: a marijuana cigarette    Origin unknown. A relationship with dobby has been suggested.    dobby/dobbie: A silly old man, a dotard, a booby. Dialectal.      First citations:    1967   J. B. Williams Narcotics & Hallucinogenics. Dubbe, Negro slang for a marijuana roach.    1982   A. Maupin Further Tales of City 95,  I smoke a doobie at lunch.   But I just chanced upon  in Yahoo Answers (don't laugh! :) where someone posted:     "It's obvious that Shaggy's a , I'm sure he's been feeding Scoob a bit of his hash and whatnot."    Scoob = , cartoon "pet" dog of constantly-hungry hippie/village idiot Shaggy (from 1969)   I'm not entirely convinced that 1967 dubbe was necessarily a significant factor in the appearance of  since around 1970 (the hippie era, some might say).  So I'd like to know whether it's credible to claim the usage arose (primarily?) through association with the TV show (specifically, the two characters therein closely associated with marijuana).


So I started playing Pokemon Go and after some research I realized that there should be paw prints in the Sightings Menu at the bottom-right. However, there are never paws displayed for any pokemon. I've never seen any paws, and the Pokemon are obviously not nearby at all as I can't see them. Is there a fix to this?


In case I do not get answers tools for this question and wish to program/ automate for this, which site should I go and post to?

Consider this question on Super User:    Essentially, mapping an exported  list towards creating a whitelist for cookie management.  Should I formulate an approach/ script/ program via...?        It could possibly be a mix/ mid point between them?  Or another Stack Exchange site?


How exactly does lycanthropy work?  Does it mix with vampirism?

Related to .  Specifically, I want to know if these possibilities exist:   Can I become a werepire(vampwolf?), i.e. both vampire and werewolf at the same time. Can you infect other NPCs as a werewolf? Can I somehow infect a giant and turn it into a humongous werewolf? Will infected werewolves attack other NPCs?


Why don't we avoid self-interaction terms when we measure energy of a continuous charge distribution as we do for point charge distribution?

When we calculate the electrostatic potential energy for discrete point charges we make sure that while adding potential energy for individual charges we don't take the same charge and square it up by declaring $i$ not equal to $j$. But when we measure potential energy for continuous charge distribution,we don't avoid self interaction. (at least in the formula). Why?**


How can I prove the convergence of a power-tower?

I saw that $$x^{x^{x^{x^{x^{x^{x^{.{^{.^{.}}}}}}}}}}$$ exists as a real number (convergent) if and only if $$x\in[e^{-e}, e^\frac{1}{e}].$$ How can I prove this??


I'm trying to cut the mesh in grey with the plane in yellow to get a rounded face. I tried with the Bolean Modifier but no way it doesn't work.  I'm using the version 2.7. Thanks for your help.


Finding the limit of $s((1+\frac{1}{s})^{s} - e)$ as $s$ aproaches infinity

I came across that limit: $\lim_{s\to\infty} s\bigg(\big(1+\frac{1}{s}\big)^{s} - e\bigg)$ I tried to solve it using l'Hospital's rule: $\lim_{s\to\infty} s\bigg(\big(1+\frac{1}{s}\big)^{s} - e\bigg) = \lim_{t\to0} \frac{1}{t} \bigg(\big(1+t\big)^{\frac{1}{t}} - e\bigg) = \lim_{t\to0} e^{\frac{1}{t}\log(1+t)}\big(\frac{1}{t(t+1)} - \frac{\log(1+t)}{t^{2}}\big)$ I used l'Hospital's rule after the second equality. However I got nothing really valuable. Do you have any ideas how to solve that problem?


PDF table of contents, and some character accents

When I create a document with pdftex, I use chapter and section titles, and -through using babel- also accented characters. In the document itself these characters appear OK. Most of them appears correctly in the navigation pane of the left side of the main window. However, the so called Hungarian accents are only correct in the main window, but in the navigation pane only the unaccented character appears. For example, when typing \"o, \H{}o in the text file, in the document ö and ő appears, but in the navigation pane only ö and o. What is the difference between these two kinds of accents, and how to fix it? Is it LaTex, pdftex, PDF?


Minecraft multiplayer: how to get rid of a bunch of ender dragons

This is a bit embarrassing.   BACKSTORY:  I got griefed recently in my friend's multiplayer server: the offender spawned loads of Ender Dragons which attacked me, and then he kicked me out and banned me.  I've been given access again (and the offender has himself been banned).    Actual question:  I'm now back in creative mode, difficulty=peaceful, carrying on with my building.  But all the Ender Dragons are still hanging around and getting in the way - they're really distracting.  I've tried attacking them with a diamond sword but haven't managed to kill a single one yet.  There must be a command i can type to get rid of them all - is there?  EDIT - i've googled this a bit and a common solution is to do /killall or /killall EnderDragon but the /killall command doesn't seem to be activated on this server.  thanks, Max


What did Einstein mean by-matter curves and warps spacetime?

In  one keeps hearing that. Please tell what is really means and its connection to reality we see around us?


When I run the field calculator to update area, the resulting areas are too large. This happens whether I use QGIS 2.18 or QGIS 3.4.  The default CRS is set to: ESPG:27700, OSGB 1936 / British National Grid. However, somehow, the CRS has changed to ESPG:4325, WGS 84. When I change it back, the polygons do not appear on screen. If I recalculate $area, the amounts are '0.0000'.  Area default set as hectare, layer is a vector layer and all polygons are single part.  Example: using measuring tool gives area of 1 polygon at 7.441, but field calculator $area = 12.1819.  Any suggestions?


Loop cut (ctrl+R) and space cuts in the same operation

I am wondering if Blender has some hidden function or anything that can make even space between edges when adding new edge loops with ctrl+R. Or even space after adding them, like if it was a mirror effect of the selected edge, so that the other edge moves the oposite way if you know what I mean.  I made a GIF from 3ds max that shows the method I am looking for:      Figured out with help from Blender discord community that I can select my 2 edges and scale with Z, but this only works if the axises are perfectly alligned. What if I got something bent with different size like a cone, the vertices of the edges would not follow the edge with this method :(  Any ideas?


"You are the first one to ask me." vs "You are the first one asking me"

Which one do I pick here? Are both acceptable? I think asking is a present participle and no gerund.


Can regression coefficients be higher than correlation coefficients?

I created a model, and in some cases I have regression coefficients between 2 variables that are slightly higher than correlation coefficients. Is that normal?


Reference for Lie-algebra valued differential forms

I am learning about vector-valued differential forms, including forms taking values in a Lie algebra.  there is some explanation about these Lie algebra-valued forms, including the definition of the operation $[-\wedge -]$ and the claim that "with this operation the set of all Lie algebra-valued forms on a manifold M becomes a graded Lie superalgebra". The explanation on Wikipedia is a little short, so I'm looking for more information about Lie algebra-valued forms. Unfortunately, the Wikipedia page does not cite any sources, and a Google search does not give very helpful results.     Where can I learn about Lie algebra valued differential forms?   In particular, I'm looking for a proof that $[-\wedge -]$ turns the set of Lie algebra-valued forms into a graded Lie superalgebra. I would also appreciate some information about how the exterior derivative $d$ and the operation $[-\wedge -]$ interact.


Is there evidence that eating too much sugar can increase the risk of diabetes?

I'm sure this question is asked a lot. I asked it of two different doctors myself recently, one of them a diabetes specialist. They both said that causing too much sugar did increase the risk. Neither offered any actual evidence. The specialist gave a rather strange reason, which now escapes me.  This idea has inherent plausibility, because eating a lot of sugar could be assumed to stress the  body mechanisms that keep sugar level in the blood under control. Too much stress could cause these mechanisms to break down. This is, however, not the reason the specialist gave.  A confounding factor could be that eating too much sugar might cause weight gain, which might increase the risk of diabetes for different reasons.  There are (at least) two kinds of answers that would be useful here.   Actual clinical trials/studies attempting to address this question. Descriptions of medical research which suggest mechanisms by which excessive sugar consumption could increase the likelihood of diabetes.   The term "too much", of course, is ill-defined. An answer could attempt to quantify this.


How to stop Unwanted Updates and Unwanted Bandwidth access in Windows 10

I just upgraded windows 7 to windows 10. It was looking fine and working good. But comparing to windows 7, it was accessing more bandwidth. I have only low data plan, but Windows 10 accessing more data.  In windows 7, I can disable automatic updates. That too windows 7 not consuming more data bandwidth. But I can't disable the updates in Windows 10.   So, Please anyone let me know how to stop windows 10 from unwanted bandwidth access, like auto update, automatic apps update and automatic driver updates...


The author used a comma in the following text; I would have used a colon. Any thoughts?     "She is one of only a few lawyers with the necessary skills to advise on such deals[:][,] a significant achievement for a mid-level attorney."


launch 3rd party application from native iPhone apps

I have to do an application that should be launched from the iPhone native applications like calendar, contacts and mail box etc... is it possible to launch 3rd party application from the native app, whether apple allows the developer to do this.


How can I shorten citations for two articles from the same year and mostly the same authors using biblatex?

I use JabRef for my bibliography and implemented it the following way:  \usepackage[backend=biber, style=authoryear, maxnames=3, citestyle=authoryear]{biblatex} \addbibresource{bibliography.bib}   I have the following two citations from the same year (2019):  author = {Coppedge, Michael and John Gerring and Carl Henrik Knutsen           and Staffan I. Lindberg and Jan Teorell and David Altman           and Michael Bernhard and M. Steven Fish and Adam Glynn           and Allen Hicken and Anna Lührmann and Kyle L. Marquardt           and Kelly McMann and Pamela Paxton and Daniel Pemstein           and Brigitte Seim and Rachel Sigman and Svend-Erik Skaaning            and Jeffrey Staton and Steven Wilson and Agnes Cornell           and Lisa Gastaldi and Haakon Gjerløw and Nina Ilchenko           and Joshua Krusell and Laura Maxwell and Valeriya Mechkova           and Juraj Medzihorsky and Josefine Pernes           and Johannes von Römer and Natalia Stepanova           and Aksel Sundström and Eitan Tzelgov and Yi-ting Wang           and Tore Wig and Daniel Ziblatt}   and  author = {Coppedge, Michael and John Gerring and Carl Henrik Knutsen           and Staffan I. Lindberg and Jan Teorell and David Altman           and Michael Bernhard and M. Steven Fish and Adam Glynn           and Allen Hicken and Anna Lührmann and Kyle L. Marquardt           and Kelly McMann and Pamela Paxton and Daniel Pemstein            and Brigitte Seim and Rachel Sigman and Svend-Erik Skaaning           and Jeffrey Staton and Agnes Cornell and Lisa Gastaldi           and Haakon Gjerløw and Valeriya Mechkova           and Johannes von Römer and Aksel Sundtröm and Eitan Tzelgov           and Luca Uberti and Yi-ting Wang and Tore Wig and Daniel Ziblatt}   Since the names are largely overlapping, the first article appears as     Coppedge, Gerring, Knutsen, Lindberg,   Teorell, Altman, Bernhard, Fish, Glynn, Hicken, Lührmann, Marquardt, McMann,   Paxton, Pemstein, Seim, Sigman, Skaaning, Staton, Wilson, et al. (2019).   Is there a possibility to cite those as     Coppedge et al. (2019a)   and     Coppedge et al. (2019b)   instead (with the bibliography in accordance of course) or at least something similar without having to learn how to "code" my own bibliography? In my eyes it just doesn't look professional to have such long citations in a thesis.


Finding limit without using L'Hopital rule

How to prove $$\lim_{x \to \infty} \frac {\ln(x)}{x}=0$$ without using L'Hospital Rule. Just by using some basis limit properties.


I am trying to get data from my sqlite database. It gives me the error of Attempt to invoke method on null reference. I am trying to store the values using Hashmap.  Here's my code:    class MyAdapter extends BaseAdapter {         private ArrayList<HashMap<String, String>> mData;          public MyAdapter() {             mData = helper.getAllDataLV();         }          @Override         public View getView(int i, View view, ViewGroup viewGroup) {              return view;           }         private class ViewHolder {             TextView tx_row;         }     }   public ArrayList<HashMap<String,String>> getAllDataLV(){ ArrayList<HashMap<String, String>> data = new ArrayList<>(); SQLiteDatabase db = myhelper.getWritableDatabase();  Cursor cs = db.rawQuery("SELECT * FROM bets;",null);  if(cs != null && cs.moveToFirst()){     do{         HashMap<String, String> q = new HashMap<>();         q.put("betnumber",  cs.getString(cs.getColumnIndex("betnumber")));         data.add(q);     }while(cs.moveToNext()); } System.out.println(data);  return data; }   The error is in the getAllDataLV() function.      Attempt to invoke virtual method 'java.util.ArrayList com.example.zian.myDbAdapter.getAllDataLV()' on a null object reference


I have used this circuit from the TLV431 datasheet and replaced the values according to what I need which is 2.48V. This output will be directed to an op-amp as a reference. My problem is I can't stabilize the output to 2.48V. It is increasing overtime to 2.49 to 2.5V with or without the load capacitor. The resistors used are 1% and my source voltage is 5V. I also tried different values for load caps like 10uF but the same increasing output. What could be the problem?  --------------------------------UPDATE--------------------------------  I have changed my schematic to allow adjustments. thanks for all the help on my first schematic. Below is my new circuit. My values for R1 must be 1.492K and R2 must be 1.5K. I used series resistors to get the 1.4K and the pot(paralleled with a resistor) to get the 92R. Am i doing it right? Are my values now satisfies the current needs of my shunt? Based on my testing, this circuit now gives me a stable output but at some time, it randomly oscillates and then stabilize again. I dont know why that happens.


Partial instead of full markers are shown in PGFplots

When using  \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}         \begin{axis}                     \addplot             [                 red,                 solid,                 mark=x,                 domain=-3e-3:3e-3,                 samples=50             ]              {exp(-x^2/(2e-3^2))/(1e-3*sqrt(2*pi))};         \end{axis}     \end{tikzpicture}    \end{document}   the markers look fine, see    , but when I replace solid with, for instance, loosely dashed, so  \documentclass{article} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}         \begin{axis}                     \addplot             [                 red,                 loosely dashed,                 mark=x,                 domain=-3e-3:3e-3,                 samples=50             ]              {exp(-x^2/(2e-3^2))/(1e-3*sqrt(2*pi))};         \end{axis}     \end{tikzpicture}    \end{document}   the markers only show partially instead of fully, see    . How can I use loosely dashed with full markers showing?


Does the True Polymorph spell form a creature with equipment?

When a spellcaster transforms an object or creature into a creature using the True Polymorph spell, does that creature form with equipment?     Example: if a spellcaster used True Polymorph to transform a twelfth level fighter into an Erinyes, would the Erinyes form with the plate armor, magical longsword, or rope of entanglement listed in its statistics block?     This isn't clear to me from True Polymorph's text, which notes the "target's game statistics, including mental ability scores, are replaced by the statistics of the new form", but this doesn't address equipment.


Can I automatically increment the file build version when using Visual Studio?

I was just wondering how I could automatically increment the build (and version?) of my files using Visual Studio (2005).   If I look up the properties of say C:\Windows\notepad.exe, the Version tab gives "File version: 5.1.2600.2180". I would like to get these cool numbers in the version of my dll's too, not version 1.0.0.0, which let's face it is a bit dull.  I tried a few things, but it doesn't seem to be out-of-box functionality, or maybe I'm just looking in the wrong place (as usual).  I work with mainly web projects....  I looked at both:       and I couldn't believe it so much effort to do something is standard practice.  EDIT: It does not work in VS2005 as far I can tell ()


Flagged question for low quality declined - was I wrong to flag it?

I came across a  yesterday that consisted of a single sentence (with poor grammar to boot), followed by a load of poorly formatted code. I flagged it as low quality and it has since received two down votes. Was I wrong to flag this as a low quality question?  It seemed to fit the description of low quality ("This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed.") perfectly. I could spend a few minutes reformatting the messy code, but the tags are wrong and the actual question shows no effort at all. Simply cleaning up the code wouldn't have made the question any more understandable.   I'm just curious if I was wrong to flag it as such and what fits the description more appropriately?


Is there a harmonic function in the whole plane that is postive everywhere?

This is one of the past qualifying exam problems that I was working on.   I know that, when we let $z=x+iy$, ${|z|}^2=x^2+y^2$ is not harmonic. I do not know where to start to prove that there is no harmonic function that is positive everywhere.  Any help or ideas idea will be really appreciated.   Thank you in advance.


Effectively displaying demographic data on a printed map

I would like to plot the following per zone (30 zones total) data on a printable/non interactive map:   Average age Average household income Number of households Population density Number of people Number of workers   How would you display the above 6 layers effectively on one map?


Hi I have made a stick man that looks like wiring using nurbs curve and a cirlce to bevel the wire frame man (Extruding using a face in most programmes). I have made an armature but now notice to parent the wire frame man to the armature it does not work. Is there a way I can do this?


If a user gets 30 up votes on his answer, will he get remaining 100 reputation tomorrow?

We all know that     You can earn a maximum of 200 reputation per day.   So if a user gets 30 up votes on his answer today, he can only get 200 reputation today. But what about the rest 100 reputation, will he get 100 reputation tomorrow or 100 reputation are gone for good?


Isomorphism between $\mathfrak o(4,\mathbb R)$ and $\mathfrak o (3,\mathbb R) \oplus\mathfrak o (3,\mathbb R) $

I've been trying to find a Lie algebra isomorphism $$\mathfrak o(4,\mathbb R)\cong\mathfrak o (3,\mathbb R) \oplus\mathfrak o (3,\mathbb R) $$ but haven't managed so far. I have written down the values of the Lie brackets on the canonical bases and played around with that a bit, but I couldn't find an appropriate basis of $\mathfrak o(4,\mathbb R)$ that would naturally correspond to the canonical basis of $\mathfrak o (3,\mathbb R) \oplus\mathfrak o (3,\mathbb R) $.  So I would like to ask, whether someone knows a reference where I could find such an isomorphism written down (or someone might be able to come up with one)?


Converting a Bicycle without gears into a Geared one?

I have a racer street bicycle without gears. I want to convert that into a geared one. For that I will need to modify the rear part of the frame where the wheel goes in. Is it advisable to do so?


I am trying to match email addresses in Python using regex with this pattern:  "\w{1,}@\w{1,}.\w{1,}"   However sometimes there are email addresses that look like firstname.lastname@lol.omg.hahaha.museum which my pattern will miss.  Is there a way to adjust this regex so it will include an arbitrary number of chained ".word" type patterns?


How can I remove whitespace from concatinated substring indexing in Python?

I'm working on a problem for a CS intro class. Though I've gotten it to work, I haven't gotten it to work properly.  This is the assignment: Write a program which reads a string using input(), and outputs the same string but with the first and last character exchanged. (You may assume the input string has length at least 2.) For example, on input Fairy a correct program will print yairF. Hint: use your solution to the previous program as part of the answer.  This is my code:  user_input = input() print(user_input[len(user_input)-1],user_input[1:len(user_input)-1],user_input[0])   Unfortunately, my output is "y air F" instead of "yairF". How would I be able to concatenate this indexing without the white-spaces? I've tried many things unsuccessfully and I haven't been able to find anything in my search to help. I'm supposed to be able to make this happen using the len funtion, and indexing substrings.  Thank you in advance from a complete newb to Python!


Cannot find keyword using regular expression

Am trying to find a certain keyword in url string like so  import re test = re.match(r'coo', 'https://example.com/coo-dropped-today/', flags=re.IGNORECASE)   but when test my test variable using type(test) it presents me with <class 'NoneType'>.  But when i run the same string through regexpal i seem to find a match as evidenced from the screenshot below    This is not a complex regex expression so am guessing regex parsers or engines don't matter.  Why i am unable to find a match in my python code? Thank you.


Why do I not get to the same website when using this IPv4 address instead of the url?

When I capture packets using the packet analyser wireshark while visiting  I can see packets that use the HTTP protocol (e.g.a GET request). My Get request uses 4 protocols: Ethernet II, IPv4, TCP and HTTP.  For the IPv4 I can see my own local IPv4 address of my pc as the source, for the destination I see the IPv4 address 91.198.174.225. When I go to this address in my browser I get to some wikipedia related website that says'wiki does not exist'. Why am I not seeing the Hydrogen article when I go to that ip address?


Adding labels to two side by side tables

I've places two tables side by side, but I can't get the labels right.  \begin{table}[ht] \begin{minipage}[b]{0.45\linewidth}\centering \begin{tabular} {l | l | l}         a & a & a         \end{tabular}         \label{tab:NotreDame}         \caption{Training on Yosemite dataset and testing on Notre-Dame dataset}         \end{minipage} \hspace{0.5cm} \begin{minipage}[b]{0.45\linewidth} \centering     \begin{tabular} {l | l | l}         b & b & b         \end{tabular}         \label{tab:Liberty}         \caption{Training on Yosemite dataset and testing on Liberty dataset} \end{minipage} \end{table}   When I compile my code, I get question marks instead of correct references.


Is there any reason why tags are lower-cased?

It might be a stupid question, but I always wondered (and was afraid to ask :)) why tags are written in lowercase whereas sometimes it's confusing and not really correct?  For example, IMHO, JComboBox is a better name than . The same about  and Java.  Is there any specific reason why all tags are lower-cased? It might confuse some users, as I always correct people who write ArrayIndexOutOfBounds instead of ..


How do I identify which CPU a MacBook uses?

I'd like to identify which CPU this notebook is using, in terms of code names such as "Ivy Bridge" and "Haswell". The little Apple logo in the upper left shows some information, but not this.


Is an image of a continuous bijection from an open set open in $\mathbb{R}^n$?

Is the following statement  true？     Let $U,V \subset R^n$ and let $f:U \to V$ be a continuous bijection. If $U$ is an open set in the topology induced by the Euclidean norm, then $V$ is also an open set.   I think, it has something to do with the fact that preimage of any open set under $f$ is open too (one of the equivalent definitions of continuity). However, it also has to do with some specific topological properties of $\mathbb{R}^n$, as the generalization of this statement to the arbitrary topological space is clearly false (take the Sierpinski space $(\{0, 1\}, \{\emptyset , \{1\}, \{0, 1\}\}$ and function $f(x)$ that maps $1$ to $0$, and thus is a continuous bijection of two one-element sets)


How to avoid mail from PHPMailer being treated as spam?

I am ussing the PHPMailer with SMTP authentication. The mail is sending only if the completed mail from form it is from Gmail.  I am taking the postst from a contact page, $nume = firstName, $prenume = last-name, $telefon = phone, $email = email, $mesaj = message (translated). If completed mail (from form submission) is a Yahoo mail, everything goes to spam. If a Gmail, the first mail goes to imbox, the response goes to spam.  This is the code:  $nume = $_POST['nume']; $prenume = $_POST['prenume']; $telefon =  $_POST['telefon']; $emailT = $_POST['email']; $mesaj = $_POST['mesaj'];  $mail = new PHPMailer;  $mail->isSMTP();                                       $mail->Host = 'mail.iulianbesliu.ro';   $mail->SMTPAuth = true;                              $mail->Username = 'contact@iulianbesliu.ro';                  $mail->Password = 'password';                                           $mail->Port = 25;   $mail->From = $emailT; $mail->FromName = $nume; $mail->addAddress('contact@iulianbesliu.ro'); $mail->AddCustomHeader('Reply-to:info@xpal.com');   $mail->Subject = 'Utilizator Site'; $mail->Body    = 'Nume: ' . $nume . ' ' . ' Data Eveniment: ' . $prenume . ' ' . 'telefon: ' . $telefon . "\r\n" . $mesaj;  if(!$mail->send()) {     ?>     <script>         alertify.error("Message could not be sent.");     </script>     <?php     //echo 'Mailer Error: ' . $mail->ErrorInfo; } else {     ?>    <script>        alertify.success("Message has been sent");    </script>     <?php }  $responseMail = new PHPMailer; $responseMail->isSMTP();                                       $responseMail->Host = 'mail.iulianbesliu.ro';   $responseMail->SMTPAuth = true;                              $responseMail->Username = 'contact@iulianbesliu.ro';                  $responseMail->Password = 'password';                                               $responseMail->Port = 25;   $responseMail->From =  'contact@iulianbesliu.ro'; $responseMail->FromName = 'Iulian Besliu'; $responseMail->addAddress($emailT); $responseMail->AddCustomHeader('Reply-to:info@xpal.com');   $responseMail->Subject = 'Utilizator Site'; $responseMail->Body    = 'Buna ziua dl/dna ' . $nume . "\r\n" . 'Va multumim pentru interesul acordat in vizualizarea paginii noastre, mesajul dumneavoastra a fost inregistrat si vom revenii cu un raspuns in cel mai scurt timp posibil !' . "\r\n" . 'Toate cele bune,' . "\r\n" . 'Iulian B`enter code here`esliu'; $responseMail->send();


I'm running ubuntu 20.04 (a clean install) I ran the command to install the universe repository which it said was already installed but for whatever reason it still says it can't find python-pip. I am able to install pip3 for python3 (but different projects use different versions of python so I'm trying to get this one to work) I'm wondering if python3 is the only supported apt package at this time or if I'm missing something? This is the command I'm running: sudo apt-get install python-pip And this is the output: Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package python-pip


How to fix the inconsistent paragraph spaces in this MWE using KOMA?

MWE code    \documentclass[twoside=semi, a4paper, 11pt, open=any, chapterprefix=false, toc=graduated]{scrbook}  \usepackage{blindtext} \usepackage{fontspec}  \usepackage{libertine} %uncomment \usepackage[libertine]{newtxmath} %uncomment  \begin{document} \chapter{Chapter One} \blindtext[3]  \blindtext[1] \section{Section One} \blindtext[2]  \blindtext[3] \chapter{Chapter Two} \blindtext[4]  \blindtext[3] \end{document}   Output -- unwanted spaces     Output -- desired effect        Question How to fix this inconsistency in the same document? I noticed that by uncommenting the libertine lines of code the problem disappears.  Note - compilation with XeLaTeX This is XeTeX, Version 3.14159265-2.6-0.99991 (TeX Live 2014/W32TeX) (preloaded format=xelatex 2014.9.2)


Should I stop charging my laptop battery at 50%?

I know that there are lots of questions about battery health and charging, but mine is very specific. For a lithium ion battery, leaving it at full charge (or low charge) damages the battery capacity. I am able on my laptop to stop the charging of the battery at a certain percentage between 50% and 100% in software. This is accomplished with dell's own software, power manager.  The question is therefore, would it be beneficial for my laptops battery capacity health to limit the charging to say 50%, when my laptop is plugged in for extended periods of time?


Humorous time travel short story about a man's dealings with other versions of himself

Okay, similar questions to this have been asked before, but not about the particular short story I am trying to find.  It was in an anthology of short sci fi stories, possibly award winning ones or at least someone's compilation of favourites. (I think)   It was a long time ago, maybe 1970s or 80s, so the story could date back to even the 1960s for all I know, but probably the 1970s.  It was the funniest story about time travel where a person meets incarnations of himself, that I have ever read. It was either derivative of 'By His Bootstraps' or the other way around, but my recollection is that this story was funnier.  Maybe my memory is playing tricks on me and it WAS 'By His Bootsraps', but I am almost certain that it wasn't, because when I read that recently it seemed unfamiliar and not as funny.  In the one I am trying to recall, the guy is also bemused and irritated by the behaviour of other incarnations of himself, like the Heinlen story, but the repartee between versions of himself and his extreme frustration is much more hilarious.  I have a vague recollection that he is in a spaceship during the story, but not absolutely sure. There seemed to be a lot of clambering around, ladders, bulkheads, etc, unlike the Heinlen story.  I'm almost certain it isn't any of the commonly suggested stories and I'm quite sure it wasn't a short film where he shoots his older self, or a full length novel. Someone will have read it and (un)remembered it fondly like me, I feel sure!


How to find all groups that have exactly 3 subgroups?    Any group must have identity and itself as subgroups, so we just need to find all the groups that only have one proper subgroup. I think that for a prime $p$ the group $\mathbb Z/p^2\mathbb Z$ has only one proper subgroup (for example, $\mathbb Z/4\mathbb Z$, $\mathbb Z/9\mathbb Z$). Are there any other possibilities?


i try to install Novell Designer 4.0.1 on Ubuntu.  But i get the error message:  Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment...  Launching installer...  ./install: 2468: exec: /tmp/install.dir.4347/Linux/resource/jre/bin/java: not found   What could i do to get the installation working?


Do different density objects in liquids affect net weight

I would test this but I have no tools to test it with.    If I have a beaker of water and weigh it on a measure.  Then I stick my fingers in the water (it doesn't over flow) does the weight change or does it pretty much stay the same (excluding fluctuations)  If I were to cut off my fingers then, and let them sink and hit the bottom would the weight change?  If I dropped something in that floated would the weight change?    Lastly, if I were to measure the water in a room filled with air. With a cieling 1 mile tall (atmospheric pressure = 1) and then measure the same water beaker in a room filled with air with a cieling 1 foot tall (atmospheric pressure = 1) would the measured weight change? Not the weight of the water but the weight of anything effecting the scale, including the air in the room, if that pushes down on the scale like I assume it does, I may be wrong


Is there a "name" called for a same word used in different scenario?

For eg:  If you marry a wrong girl, you are finished.  and  My work is finished.  So, I just wanted to know if the word "finished" here got any name like "multiple usage of an English word"?  Is there a specific name for this kind of words in English ?  Thanks!


I want to horizontally center an image in my paper by the code below.  \documentclass[12pt,twocolumn,oneside,a4paper]{article} ... ... ... \begin{figure*}[] HK1706 (in 2017) \centering \includegraphics[width = 1.15\textwidth]{materials/aaa.jpg} \caption{Map of the study area showing sampling stations and station numbers. } \label{Figure 3} \end{figure*}   But the image in pdf exported is off to the right like the attached image. It seems to be left-justified. How can I fix this and center the image?


Why are child meta moderators not there in Moderators list?

Is there a reason why meta moderators are not in the ? Are the meta moderators for each site the same as moderators for the site? As in Meta moderators for Android Enthusiasts are the same people as moderators for Android Enthusiasts? This question is not a duplicate because it deals with the all the meta websites and not just meta of Stack Exchange,  as pointed out in the comments below the question.


When exactly can a caster stop concentrating on a spell?

From the :  Some spells require you to maintain concentration in order to keep their magic active. If you lose concentration, such a spell ends. If a spell must be maintained with concentration, that fact appears in its Duration entry, and the spell specifies how long you can concentrate on it. You can end concentration at any time (no action required).  The rule is very short and only says "at any time (no action required)". How is this "any time" defined? An example scenario:  I cast levitate on an enemy to remove them from the battle. Later, on his turn, he raises a crossbow. The DM declares the attack, but then I interrupt him and say that I end my concentration, so he will fall down and become prone.  Another example scenario:  I cast levitate on myself and fly 30 ft. The enemy then flies and spends all his movement to fly to me, to attack me in melee. After he reaches me, I declare I am ending my concentration, so I can fall back to the ground, preventing him from attacking me.  Is this allowed? Can I end concentration conveniently any time, interrupting any currently declared action/event?


Is it possible to transfer ps3 data to xbox one for destiny?

I used to play destiny on my Ps3 and got to a really high level on most of my characters. I have been talking to my friends about getting a next gen console and they want me to get an xbox one but I don't want to lose all of the things I have worked ages for. Is it possible that I can move the destiny data from my Ps3 to a xbox one?


How do I stop my phone from turning off the display whenever I put my finger over the phone speaker?

I have an iPhone 6, and recently I've found out that if you put your finger on the thing next to the front camera, the display will turn black. but I can't find a setting to turn it off. Anyone know where it is? Or if I can? This isn't just calls it's anytime.


As if + would is correct as in idiomatic use?

Is the second sentence grammatically correct?  "- I want to drive a Ferrari" "- As if you would be able to drive it"  I know the sentence "As if you were able to drive it" is correct, but can I use the other one instead of "As if!", for example?  Thanks


Selecting * from two tables using php and mySQL

I have two tables, one is projects, and the other is users.    PROJECTS table ID     |     USER_ID    |   NAME ------------------------------------- 80     |        1       |   ABC Co. 82     |        2       |   XYZ Inc.  USERS table ID     |     FIRSTNAME  |   LASTNAME ------------------------------------- 1      |     Joe        |   Namath 2      |     Jimmy      |   Fallon   What I want is to write a query such as:   SELECT * FROM PROJECTS, USERS WHERE PROJECTS.USER_ID=USERS.ID AND FIRSTNAME = "Joe"   I can successfully run the query in php, but when I attempt to access the results, I don't get what I want.  I understand why, but I can't figure out a way to correct it.  For example:  $row = mysqli_fetch_query($awesomeDatabaseLink); echo $row['ID];  //returns '1' and I really wanted '80'   I get it.  The two tables have fields with the same name, but it's not the same data.  MySQL returns its best guess at what I so ambiguously asked for.  However, I have also tried:  echo $row['PROJECTS.ID']; //returns an empty string.   I should mention that I desperately need "*" from both tables. The Projects table has dozens and dozens of fields (not my design, and re-engineering the database is out-of-scope).  The Users table is also very extensive, so listing each field individually is much more impractical than it would appear by looking at my example tables.  Any suggestions? SH


𝗗𝗢 𝗡𝗢𝗧 𝗩𝗢𝗧𝗘 𝗧𝗢 𝗖𝗟𝗢𝗦𝗘 𝗔𝗦 𝗔 𝗗𝗨𝗣𝗟𝗜𝗖𝗔𝗧𝗘. 𝗙𝗢𝗥 𝗠𝗘, 𝗜 𝗚𝗘𝗧 𝗔 𝗕𝗟𝗔𝗡𝗞 𝗠𝗔𝗣 𝗘𝗩𝗘𝗡 𝗪𝗛𝗘𝗡 𝗜'𝗠 𝗟𝗢𝗚𝗚𝗘𝗗 𝗢𝗨𝗧 𝗢𝗙 𝗠𝗬 𝗚𝗢𝗢𝗚𝗟𝗘 𝗔𝗖𝗖𝗢𝗨𝗡𝗧. 𝗧𝗛𝗘 𝗢𝗧𝗛𝗘𝗥 𝗤𝗨𝗘𝗦𝗧𝗜𝗢𝗡 𝗥𝗘𝗣𝗢𝗥𝗧𝗦 𝗧𝗛𝗔𝗧 𝗧𝗛𝗘 𝗕𝗨𝗚 𝗢𝗡𝗟𝗬 𝗛𝗔𝗣𝗣𝗘𝗡𝗦 𝗪𝗛𝗜𝗟𝗘 𝗟𝗢𝗚𝗚𝗘𝗗 𝗜𝗡.    When I visit Google Maps in the Google Chrome browser, all I see is a blank grid for the "Map" mode. The "Satellite" mode works fine.  I don't see this issue in Firefox and Edge. Why does Google's own browser have this bug, and how can I fix it?  I've been having this issue for several months.


How to conditionally load JavaScript with template.php

I have a content type that has involves some js magic for every node. How can I code it into template.php so that it is loaded only on display of the content type? I don't want the js to load uselessly on every page. My php skills are pretty shallow.


So I left  my baked seitan out for 3 to 4 hours today. I was going to toss it but then I was like wait.. it's a dry product much like bread.. is my thinking ok and it's fine still?  I bake it in a non stick pan with aluminum foil over the top to keep the steam in. it's at 350 for about 35 minutes.   I use water, wheat gluten, about 30 grams of yeast flakes, 50 grams of almond flour and graham flour each and some spices. it's basically like bread right? should be fine since it's dry not wet?   this is not covered or related to the thing that I got flagged for. that does not answer this question


reqular expression is giving None always

This is my code  >>> ll = 'window.DETAILS_PAGE_MAP_GLOBALS = {GOOGLE_MAPS_LONGITUDE: 55.2378015294,GOOGLE_MAPS_LATITUDE: 25.0463764816}' >>> print(re.match('GOOGLE_MAPS_LATITUDE:\s*(\d+\.\d+)', ll)) None   I always get None though I am sure 100% that the regular expression is correct.  could you help please?


Is there any good and free Date AND Time Picker available for Java Swing?  There are a lot date pickers available but no date AND time picker. This is the closest I came across so far:   Anybody?


"Help me debug" vs "Help me debugging" vs "Help me in debugging"

I asked a question on SO, and I wrote     Yesterday I asked a question so that you could help me debug a program...   Then I felt like the italic part isn't actually correct English, and I thought that the correct expression would be   Help me debugging or help me in debugging a program  Which of the three are correct? If more than one, which one sounds more familiar? What's the general case rule when we have "help" followed by another verb (like in my case above)?


Difference between HMAC-SHA1(key, msg) vs SHA1(key + msg)

Is there any practical difference from using HMAC-SHA1(key, msg) vs SHA1(key + msg) as a way to verify the authenticity/integrity of a certain message? Note that the plus sign means string concatenation in this context  Am I losing out on some esoteric detail that the HMAC-SHA1 offers in terms of mathematical immunity to cryptanalysis? Or do both approaches basically do the same thing?  Ive looked through the basic descriptions of both algorithms. And although HMAC-SHA1 seems to do some fancy things with padding and other stuff, I fail to understand any importance. To me both HMAC-SHA1(key, msg) & SHA1(key + msg) carry essentially the same strength/resistance against attacks aside from superficial details  How am I wrong, What am I missing?


About The Lighting In Arda After The Destruction Of The Two Lamps

It is Known that Melkor (Morgoth) destroyed the Two Lamps, Ormal And Illuin. Meanwhile Valinor was lit by the Two Trees, and in Middle-earth the first light that Elves-Quendi beheld was that of the stars, when they awoke In Cuiviénen. My question is: what lit Arda during that, and before the Sun and Moon appeared? Only the Stars?


What is speedlight travel "really" like (for a photon)?

To begin with, I'm clearly not a physicist but I'm certainly interested by several physics questioning. So, my question here is, according to Einstein's relativity, I understood that travelling at the speed of light would be instantaneous due to space and time dilation. Then, from the point of view of a photon that goes from the sun in direction of the earth, what is the duration of its journey? I know that from our point of view it takes about 8 minutes. Could you please indicate me if I missed something?


I am trying to solve the following exercise about the dihedral group and its center:  If $g\in Z(D_{2n})\Leftrightarrow ga=ag, bg=gb$, where $a,b$ are generators of $D_{2n}$.  We have defined the dihedral group of order $2n$ as $D_{2n}=\left \{ a^{i}b^{j} \mid 0\leq i \leq n, j=0,1 \right \}$, the group of all finite products of the generators $a$ and $b$,  where  $a= \bigl(\begin{smallmatrix}     1 & 2 & 3 & \cdots & n-1 & n \\     \end{smallmatrix}\bigr)$ and $ b = \bigl(\begin{smallmatrix}     1 & 2 & 3 & \cdots & n-1 & n \\     1 & n & n-1 & \cdots &  3  & 2   \end{smallmatrix}\bigr)$  For the first part ( $\Rightarrow $) i have considered an element $g$ of the center $Z(D_{2n})$, $g$ is also in $D_{2n}$, so it can be written as a finite product of powers of $a$ and $b$. Let's say $g=a^{k}b^{l}$ for $0 \leq k \leq n$ and $j=0$ or $j=1$.  Then i can write $ga = a^{k}b^{l}a=a^{k+1}b^{l}$ and $ag=aa^{k}b^{l}=a^{k+1}b^{l}$. So $ga=ag$. The same for $gb=bg$.   Is this correct? How to start with the other part of the proof? I would appreciate any help and hints. Thank you in advance.


software updater failed to download repository information

When I run software updater it says that it failed to download repository information and to check Internet connectivity.  I have Internet connectivity.  How do I fix this?  editing to add content of sources,list:  sorry I can't figure out how to paste in the content of sources.list without making a huge mess.  Some of it previews as really large bold print.  I tried to follow the block quoting and code rules but it is a huge mess anyway.


Do I need to translate Works Cited at the end?

I am translating an academic paper to English. However, most of the sources cited at the end, are in other languages (e.g. Russian). Do I need to translate the list of references into English as well?


How to customize Windows 10 "6 Folders" in My Computer

I would like to customize the folders in the Default Folders group of My computer. It is not necessary to have the same folders appear on the left sidebar and in the middle view. How can I do that ?


What resources should I use to learn to develop apps for Ubuntu?

I just made up my mind that I want to learn how to develop apps for Ubuntu Linux, using Quickly, and its tools (PyGTK+, Glade, etc.) Is there any tutorials or resources that you can recommend to me, aside from the ones at developer.ubuntu.com, that will help me learn to use these applications? I've looked all over the place, but there just doesn't seem to be a lot of resources online. I really appreciate the help. Thanks!


Bus between Gothenburg Landvetter Airport and the city centre

I am visiting Gothenburg in Sweden.  I read on the  that there are buses running between the airport and the city centre (that are not the Flygbuss Airport coaches), but the links there led me to no additional information.  Does anybody know any information about those buses, e.g., the lines, the fares, the timetables, or better, a webpage containing all the information?


What is the correct shunt size for the following ammeter and configuration?

I have the following ammeter:   The seller recommends 75mV 100A shunt be placed with it. I want to know what will happen if I change the voltage going through the shunt. Should I be changing the shunt as well to read amps correctly?   I want to build a 1-40V (or maybe 50V) adjustable DC power supply and use this ammeter to measure current. What the right value of shunt that I should use to get the right measurement? Changing shunts in a lab bench power supply is impractical, of course.  EDIT: I am planning to measure only up to 5A or so. Sorry I forgot to mention this previously.


Is "Python only run one thread in parallel" true?

Got this question during an interview.  I was talking about two threads modifying one same dictionary which causes wrong data.


Is setting up private server for websites faster?

I am a web developer and my last website was a tad slower because of HD pictures, PHP and JQuery. I had hosted it on Godaddy. So my question is whether I can privately host a website from my home and whether it will be faster to host a website that way than to host via godaddy or network solutions.


Dirac delta function and volume charge density

I just got introduced to the Dirac delta function and one of the questions was to express volume charge density $\rho({\bf r})$ of a point charge $q$ at origin. I saw that the answer is related to Dirac delta function as: $$\rho({\bf r}) = q \delta^3({\bf r})$$ where $\delta^3({\bf r})$ is the 3-dimensional Dirac Delta function. Why is it so?


Though I'm also interested in general slang words, I'm more specifically asking for slang used in D&D 3.5e.  While looking at the comments of a question, I saw someone introducing BAB as abbreviation for Base Attack Bonus to the person asking the question. Though I'm familiar with some of the most common jargon, like the standard STR CON DEX INT WIS CHA, I would like to know what other jargon terms are used.  Is there a list somewhere with common and somewhat uncommon jargon in (tabletop) RPGs, specifically for D&D?