Too many requests made by this IP. Key reason?

This is may seem as a duplicate but I want to get this straight. I am sending some requests to the Stack Exchange API for a project I am running. But after testing it I get this response:  {'error_id': 502, 'error_message': 'too many requests from this IP, more  requests available in 80281 seconds', 'error_name': 'throttle_violation'}   So I have a couple of questions:   I signed up for a key and the Stack Exchange API gave me a key but I am not using it anywhere. If I am making queries that do not include my key, why am I getting one? Or I am supposed to use it and I don't? Is there a way I can override this? Or I just have to wait?


My younger sister accidently dropped my Inspiron n5010 from her lap. Since then whenever I try to boot it I get this -        A disk read error occured.   My first guess was a broken HDD, so I used a SATA to USB interface to connect the HDD to my other computer and it won't detect it, and even if it does (happens rarely), I can't access it, it hangs my Windows Explorer.  I suspect mechanical damage to the drive. While there could be another cause for this trouble, this one seems the most likely to me.  I had some data on that drive that I'd like to recover. Is there a way to do so?


How can I see what happens during the boot process?

On my machine booting takes more than a minute which is annoying when I see that Windows 7 boots in 20 seconds.  Here is what I get when the machine is booting.    How can I see what happens when booting up?


Good Morning everyone.  I am working on the title page of my thesis and since I am totally new in Latex I'm having some problem that I guess I am not able to fix.  From this code my purpose is to have a good symmetry between the two logos that I would like to be on the same line withe the two text precisely under each of them.  Then I would like the text "" little bit close to the center in respect to the left margin and to be at almost the half of the page.   Lastly I would like to put a straight line just over the date and the academic year (pushing them on the bottom of the page) in order to keep the symmetry with the top of the page.   I guess are not so difficult things but you have to know the right commands to do them, can anyone help me?   Thanks in advance   \documentclass[a4paper,12pt]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{amsmath} \usepackage{hyperref} \usepackage{fancyhdr} \usepackage{bm} % {\bm ... }  \usepackage[absolute,overlay]{textpos}  % textblock \pagestyle{fancy}  \newcommand{\xx}{ {\bm x } }  \begin{document}  \begin{titlepage} \newcommand{\HRule}{\rule{\linewidth}{0.2mm}} \center \begin{textblock*}{3cm}(8cm,0.5cm)     \centering\includegraphics[width=3cm]{logo2.png} \end{textblock*}  \textsc{\LARGE Università degli Studi di Torino}\\[0.2cm] % Name of your university/college  \HRule \\[0.5cm]  \textsc{\Large Tesi di Laurea Magistrale in\\ Fisica dei Sistemi Complessi}\\[0.5cm] % Major heading such as course name \textsc{\large Dipartimento di Fisica}\\[0.5cm] % Minor heading such as course title  \HRule \\[0.4cm] { \huge \bfseries Master Thesis}\\[0.4cm] % Title of your document \HRule   \begin{textblock*}{7cm}(1cm,13cm)         \begin{flushleft}             \includegraphics[width=7cm]{Nordita_logo.pdf}\\[1.1cm]     \textbf{\emph{Supervisor at Nordita:} \\         Prof. Ralf \textsc{Eichhorn} }     \end{flushleft} \end{textblock*}  \begin{textblock*}{5cm}(15cm,13cm)     \begin{flushleft}             \includegraphics[width=3cm]{logo1.png}         \textbf{\emph{Supervisor at Turin University:}\\             Miguel \textsc{Onorato} }     \end{flushleft} \end{textblock*}  \begin{textblock*}{5cm}(1cm,17cm)     \begin{flushleft}         \textbf{\emph{Candidato:}             Kim \textsc{Nicoli} }\\             \textbf{\emph{Matricola:}              \textsc{766461} }\\     \end{flushleft} \end{textblock*}  \vspace{12cm}  \thispagestyle{empty}  %\vfill % Fill the rest of the page with whitespace {\large \today}\\ {\large Anno Accademico 2016-2017}    \end{titlepage} \end{document}


G=(v,e) is a simple planar graph with |v|>10 vertices. I need to prove that G#=(V,E#)-the complement of G- is not a plannar graph.  I tried to use Euler's formuala, but it didnt went well.


How to fix my terminal prompt being out by a character?

My terminal prompt is set using the following configuration in my .profile file:  # Prompt GREEN=$(tput setaf 2) LIME_YELLOW=$(tput setaf 190) MAGENTA=$(tput setaf 5) WHITE=$(tput setaf 7) NORMAL=$(tput sgr0) PS1="\[${WHITE}${MAGENTA}\]\u\[${WHITE}@${GREEN}\]\h \[${LIME_YELLOW}\]\W \[${WHITE}${NORMAL}\]$ "   Generally speaking it works fine but sometimes I end up with an off-by-one error. After a running a few commands and then accessing the history using the up key, some characters seem to be getting garbled. For example:  matt@laptop ~ $ git log   becomes  matt@laptop ~ $ gitlog   or:  matt@laptop ~ $ ssh desktop   becomes  matt@laptop ~ $ssh desktop   The incorrectly displayed command executes normally and appears in history normally too.


Visual Studio 2017: ambiguous symbol size_t in linux projects

In Visual Studio 2017 when creating Linux project and inserting using namespace std; in source code like this:  #include <iostream> #include <string>  using namespace std;  int main() {     size_t i = 1;     string s = to_string(i);     cout << i << s << endl;     return 0; }   VS underlines size_t and says that it is an ambiguous symbol.  If I press F12 (Go to definition) it offers me two definition places:  From stddef.h  (C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Linux\include\usr\include\x86_64-linux-gnu\5\include\stddef.h):  // ... namespace std {   typedef __SIZE_TYPE__     size_t; // ...   And c++config.h  (C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\Linux\include\usr\include\x86_64-linux-gnu\c++\5\bits\c++config.h):  // ... #if !(defined (__GNUG__) && defined (size_t)) typedef __SIZE_TYPE__ size_t; // ...   It happens only with Linux projects in VS, not with Windows projects.  Is there any known solution (except for "do not use using namespace std; :) )?  Upd: Reported this problem to Microsoft:   Upd2: Microsoft says that they fixed it, and solution will be in next update:


Frequently in my workplace, when some bad news comes in, the advice take this with a grain of salt is used in such a context to mean choose for yourselves how to interpret this but don't consider it very important.   I've asked several people around the office what they understand this to mean - and each person got to this answer via a different means:   A grain of salt doesn't weigh very much. So if you balance the current issue on one side of some scales, and a grain of salt on the either, you get a feeling for how important this issue is in the big picture Some people add a grain of salt to coffee to reduce the  bitterness. In , meaning that the current issue to be viewed through a lens of your life experience.  Pliny the Elder recommended that a grain of salt was to be used as an .    My question is: Can the phrase "take it with a grain of salt" have four different ways to get to the same meaning?


What is the most comfortable way to sleep on a plane?

Some people have the amazing ability to doze off whenever and wherever they are. For the rest of us, sleeping on planes is a constant battle of trying to get comfortable in a cramped space. There are lots of options: special pillows, leaning against the window, folding over flaps on the headrest, leaning on the shoulder of a friend next to you, etc. Certainly something must work...  What have you found to be the best way to comfortably sleep on a plane (in a standard economy seat; first class is a whole different world)?


How can non-infinitesimal Black holes form in finite time for a distant observer?

Say you are on earth observing a staring hypernova at safe distance from earth.    Now as soon as the core collapses to its Schwarzschild radius the singularity would come into existence and so would it's event horizon which at the moment of formation of singularity would be very small.   Now as any more matter stats to fall in it would appear to slow down and take infinite time to fall through for an observer at earth.  So for the observer the black hole would never get larger than a infinitesimal point at the center of the star.   So what do we see that astronomers claim as blackhole?  The only explanation I can think of is a cascading effect.    I.e the event horizon of the singularity will always be larger than the singularity so as soon as the horizon forms some matter would end up inside it from the start just because the matter was at lesser distance from the singularity than the radius of event horizon at the moment singularity formed. This would make the event horizon grow again due to the mad that just ended up inside it.  Now again some matter would end up inside the new radius of the event horizon.  This would continue like a chain reaction   I don't know how much sense that makes but it looks like  the only way a black hole can form in finite time for a distant observer


If you save to become immune to a creature's trait/ability, are you immune to that trait/ability from all such creatures?

So a Pit Fiend has a neat little thing called a fear aura. Essentially if you start in it, you have to make a save or be frightened. We know from  that the  would require a creature subjected to this aura from two Pit Fiends would only roll one save. But the Fear Aura also says:  If a creature's saving throw is successful, the creature is immune to the pit fiend's Fear Aura for the next 24 hours."  Does this mean a creature that successfully passes its saving throw would be immune to the aura from other pit friends, too?


Can I cross the USA-Canada border with a birth certificate and a passport locator number?

My US passport took too long to be shipped to me, and it will arrive after I need to leave. Will I be able to cross the border from the United States to Canada with a birth certificate (copy) and a passport locator number?


I'm pretty new to blender, started making my first project just to learn the basics of the interface, but when I rendered my image on cycles render,it started showing these grayish dots and messed up shadows, it looked like recycled paper to me so it was the best term i found to describe it.  It may be just my stupidity, but I would appreciate your guys help. As I said, I'm new to the community and ask for mercy upon me and my mistakes D:  my rendering:


I need to create a complex geometry at one place on my model,    so I would not use the knife tool I would add loop cuts but it doesn't let me to.      I already deleted the faces and created them again but even when I think that the topology of this certain place is alright I still cant't add a single loop throughout all the tube.  So my Question is: Why is this happening and what would be the best thing for me to do?


Regarding deleting first 327 lines in all the .dat files in a folder

In a folder, I have number of files that are in .dat extension format (it is originally .xvg format but have changed to .dat format to plot all other graphs in a single plot) which contains the values along with the some written headings etc., as :   # Grace project file  #  @version 50125 @page size 792, 612  @page scroll 5%  @page inout 5%  @link page off  @map font 8 to "Courier", "Courier"  @map font 10 to "Courier-Bold", "Courier-Bold"  @map font 11 to "Courier-BoldOblique", "Courier-BoldOblique"  @map font 9 to "Courier-Oblique", "Courier-Oblique"  @map font 4 to "Helvetica", "Helvetica"  @map font 6 to "Helvetica-Bold", "Helvetica-Bold"  @map font 7 to "Helvetica-BoldOblique", "Helvetica-BoldOblique"  @map font 5 to "Helvetica-Oblique", "Helvetica-Oblique"  .  .  .  .  @    s0 errorbar riser linestyle 1  @    s0 errorbar riser clip off  @    s0 errorbar riser clip length 0.100000  @    s0 comment "rdf_CaNm.xvg"  @    s0 legend  "N1"  @target G0.S0  @type xy  0 0  0.002 0  0.004 0   ie., there are 327 lines  from #Grace project file(being line one) --> @type xy(being line 327) and then the 0 0 is the 328th line, 0.002 0 is the 329th line etc.  How can I delete all the first 327 lines in all the files of .dat format containing in the folder (yes all those .dat files have first 327 lines as stated above) through the command in terminal?


Can someone please elucidate the difference between "many" and "many a"? In what context of usage should we add an extra "a" beside the word "many"?  For example:         Many times, I had seen that . . . .   Many a times, I had seen that . . . .      I do not know if the example is accurate enough to support my question, but I would like to know the difference between how they are used.


Remove points with less than two lines connected

I want to delete points created with Network Analyst with less than two lines connected. Is there any smart way to do that? Is it possible to count the number of lines the point is connected to?


Steps to Reproduce   Tap faster on the code. or Tap once on a huge code.   but happens only when  setupForGeneric() is called, might be a bug related to   private void setupForCode()   { String str = getIntent().getStringExtra("com.stackexchange.marvin:code_block"); PrettyWebView localPrettyWebView = (PrettyWebView)findViewById(R.id.code); localPrettyWebView.setPostBody("
" + TextUtils.htmlEncode(str) + "
", false); localPrettyWebView.setBackgroundColor("#eeeeee"); }  private void setupForGeneric() { String str = getIntent().getStringExtra("com.stackexchange.marvin:web_url"); PrettyWebView localPrettyWebView = (PrettyWebView)findViewById(R.id.code); localPrettyWebView.getSettings().setBuiltInZoomControls(true); localPrettyWebView.getSettings().setLoadWithOverviewMode(true); localPrettyWebView.getSettings().setUseWideViewPort(true); localPrettyWebView.loadUrl(str); localPrettyWebView.setBackgroundColor("#eeeeee"); }   Log  09-05 03:54:30.312: E/AndroidRuntime(26264): FATAL EXCEPTION: WebViewCoreThread  09-05 03:09:39.522: E/Crittercism(18318): java.lang.NullPointerException: [v0.1.22]  09-05 03:09:39.522: E/Crittercism(18318):   at android.content.ComponentName.<init>(ComponentName.java:75) 09-05 03:09:39.522: E/Crittercism(18318):   at android.content.Intent.<init>(Intent.java:3156) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.ViewPopupActivity.showCode(ViewPopupActivity.java:25) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.question.QuestionFragment$1.onCodeClicked(QuestionFragment.java:67) 09-05 03:09:39.522: E/Crittercism(18318):   at com.stackexchange.marvin.ui.common.PrettyWebView$WebAppInterface.codeClicked(PrettyWebView.java:197) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.nativeTouchUp(Native Method) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.nativeTouchUp(Native Method) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore.access$4000(WebViewCore.java:59) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore$EventHub$1.handleMessage(WebViewCore.java:1449) 09-05 03:09:39.522: E/Crittercism(18318):   at android.os.Handler.dispatchMessage(Handler.java:99) 09-05 03:09:39.522: E/Crittercism(18318):   at android.os.Looper.loop(Looper.java:137) 09-05 03:09:39.522: E/Crittercism(18318):   at android.webkit.WebViewCore$WebCoreThread.run(WebViewCore.java:790) 09-05 03:09:39.522: E/Crittercism(18318):   at java.lang.Thread.run(Thread.java:856)


I was once told not to end "firstly [point 1], secondly [point2], thirdly [point 3]" in -ly and to leave them as first, second, third etc. Is this always true or only in certain situations? Is it ever correct to use the word "firstly"?  I came accross  where the author writes     Firstly: hogwash. (True, the oboe doesn’t have a built-in tuning   slide. But an oboist can “tune” by switching reeds, and can humor   individual notes sharper or flatter on the fly, just like any wind   player.) Secondly: if we tune to the principal oboe because it can’t   be tuned, then what is the second oboist expected to do?   Is it correct to separate the ordinal numbers into different sentences like this? Is there a specific name for the speech pattern where people are making multiple arguments to prove a point?


How to run command line with admin right in C#

I have referenced some other topics and it comes up the following coding, yet it doesn't work. I allow it creates command window and use "/k" argument keeping the window opened so that I can trace its output.  However, I can see the warning from the window that the command needs admin rights to execute. How can I execute it in admin rights?  public void ClearArpCache () {         ProcessStartInfo processStartInfo = new ProcessStartInfo("cmd.exe", "/user:Administrator \" cmd /k arp -d \""); // same as "netsh interface ip delete arpcache"         processStartInfo.RedirectStandardOutput = true;         //processStartInfo.CreateNoWindow = true;         //processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;         processStartInfo.UseShellExecute = false;         processStartInfo.StandardOutputEncoding = Encoding.Default;         processStartInfo.Verb = "runas";          Process.Start (processStartInfo);         UnityEngine.Debug.Log ("ARP table cache cleared.");     }   EDITED:  Try changing from "cmd.exe" to "runas.exe"  public void ClearArpCache () {         ProcessStartInfo processStartInfo = new ProcessStartInfo("runas.exe", "/user:Administrator \" cmd /k arp -d \""); // same as "netsh interface ip delete arpcache"         processStartInfo.RedirectStandardOutput = true;         //processStartInfo.CreateNoWindow = true;         //processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;         processStartInfo.UseShellExecute = false;         processStartInfo.StandardOutputEncoding = Encoding.Default;          Process.Start (processStartInfo);         UnityEngine.Debug.Log ("ARP table cache cleared.");     }


What is the relationship between contact and account?  If contact and account have master-detail relationship then why is account not a mandatory field while creating a new contact ?


grep for string not preceded by another string

Is it possible, using grep, to search for instances of John Smith but exclude instances of Mr John Smith?


What do I need to install to be able to use OpenOffice?

I would like to install OpenOffice because I like it better than LibreOffice. However, my dependencies are not satisfied for the writer module. Apparently OpenOffice-EN-US is a dependency of itself.  I have provided a screenshot in the hopes that someone can tell me what packages I need to install (Preferably not all of them).


Are some SE web tracking beacons more important than others?

I'm starting to block lots of javascript trackers using the  for reasons.  Currently Stack Exchange seems to be using the following tracking technologies across multiple sites according to my brief analysis:   Adzerk -  (and 4 other scripts once this parent script loads) Facebook Social Graph - several locations that seem machine generated as opposed to static links Google Analytics -  Quantcast -  ScoreCard Research Beacon -    Personally, I was stunned recently at how much more responsive the site was under marginal network connections with everything but gravatar blocked, but I also don't want to kneecap the site's revenue and research data. With broadband, I'm not seeing very measurable issues, but still am learning what/how these work in practice.   Would someone go out on a limb and rank these in terms of which ones are most critical to the site as currently designed?  I'm more tempted to unblock trackers when they are few and/or justified by the site owners with somewhat reasonable explanation on how they support the mission. It's clear my experience is better blocking these trackers, but I'm looking forward to learning the provider side of the story as well.  Thanks to anyone that can point me to where this is already documented or can answer below in a semi-official capacity.


Path followed by a free test charge in an electric field region represent the electric lines of forces?

As we know that if we put any free test charge in an electric field which is moving horizontally then it will experience an repulsive force and move in that direction so by that we can say that for Straight lines the above statement is true that path followed by a free test charge in electric field represent the electric lines of forces which will be straight line. So we can say that it is TRUE.  But after that I read one exception case which states that the above statement is not true for Curved path.   Why is that so ? Means why it is for curved path and what is the exception ?Why it is not true?


Harmonic function is the real part of a holomorphic function

Let $u: \Bbb R^2 \to \Bbb R$ be an harmonic function, then there exists an holomorphic function $f: \Bbb C \to \Bbb C$ s.t. $Re(f)=u$. The only hint I have are the Cauchy–Riemann equations: $$u_x=v_y \\ u_y=-v_x$$ I don't see how I can use it... Can someone pls helps me?


Switched Windows to Mac, do I have to buy Steam games again to play on Mac?

I recently switched from Windows to Mac. Steam says I have fewer Mac specific games than total games and it should be an equal amount unless you can only download, install, and play once from your account. I thought I bought it so that it would work across all operating systems. If this is true, is there a work around or a discount for re-purchasing for the other OSes?


How to recover Windows 10 product key from Ubuntu

I've installed Ubuntu in one disk and windows 10 is in another disk. I'm not able to boot into windows 10. So to reinstall, I need that windows 10 key. How can I recover windows 10 key from my Ubuntu? I can able to mount my Windows disk in Ubuntu.


Recommended books for introduction to Quantum Mechanics for students who are mathematically aligned

I am a 4th-year undergraduate student and I have fully read R. Shankar's book on Quantum Mechanics and Griffiths book Quantum Mechanics. I have also done a bit of the Application of QM on multielectron systems,molecules, etc.  Not going ahead in the application part, I want to focus on the foundations of QM part which I find really interesting. But I have very limited knowledge of mathematics. I have read Curtis "An introduction to Linear Algebra", Gallian "Group Theory"(1-10 chapters only) and have a little bit of knowledge on differential geometry.  With this as my Mathematical background, which would be the best book (a bit mathematical) for introduction to Quantum Mechanics which includes an introduction to Hilbert Space and functional analysis?  PS: This not the duplicate of referred links as this is particularly for ones who don't have much mathematical background as opposed to other questions which assumes one to know much mathematics.


What is a "treatment firm"?  Further, propensity score matching is a more robust method of matching that quantitative accounting researchers  frequently use (Rosenbaum & Rubin, 1983). With this technique, the researcher first estimates a logit or probit regression  with the treatment effect as the dependent variable (i.e., S&P 500 membership, continuing with our earlier example) and  independent variables that are known determinants of the treatment (possibly economic performance, firm size, age, industry, etc. in our example). From this first-stage regression, the researcher obtains propensity scores. 6 The researcher  then matches each treated observation to a non-treated observation based on the distance between their propensity scores  i.e., those observations with the closest propensity scores are matched). 7 Hoi et al. (2013) utilize propensity score matching in their study that links irresponsible CSR activities with tax aggressiveness. They first generate predicted propensity scores     for each firm-year using a model of the determinants of a firm engaging in a high level of negative, irresponsible CSR activity.  Then, they match a treatment firm (one with a high level of negative CSR activities) to a non-treatment firm (one with a low level of, or no, negative CSR activities) by matching observations with the closest propensity scores. Hoi et al. (2013) then retest the relation between negative CSR activities and tax aggressiveness using this matched sample. These matching techniques help mitigate the researcher’s potential failure to consider certain firm characteristics that differ between    treatment and non-treatment firms (Dhaliwal et al., 2012).


How does value affect the gain of smithing experience?

As of Skyrim's 1.5 patch, you get differing values for smithing items in part due to their value. More expensive, more experience.  UPDATE 1.5 (all platforms unless noted) NEW FEATURES  New cinematic kill cameras for projectile weapons and spells  New kill moves and animations for melee weapons  Shadows on grass available (PC)  Smithing skill increases now factor in the created item’s value  Improved visual transition when going underwater  Improved distance LOD  transition for snowy landscapes    Emphasis mine. So what's the skinny? Are Iron Daggers and Leather bracers still the best way to skill up, or will I actually be better served with my hundreds of Dwarven Ingots?


Show that $\frac{n}{1+n}<\ln{\left(1+\frac{1}{n}\right)^n}<1$ for $n=1,2,3,\dots$

I am struggling to see how to use the following two pieces of information (which I have proven):  $\frac{1}{n}< \ln{n}$ for $n=2,3,4,\dots$  and  $\ln{(1+n)}<n$ for $n=1,2,3,\dots$  to show that  $\frac{n}{1+n}<\ln{\left(1+\frac{1}{n}\right)^n}<1$ for $n=1,2,3,\dots$  I know it's more than likely something very straight forward.


How to find place of burial or cremation in Gloucestershire?

I am trying to locate where my Grand dad is buried/cremated.   He died on 31st March 1972 and lived in Almondsbury, Gloucestershire, England.  What other sources are there for the area I could check to find this information?


Get Element value with minidom with Python

I am creating a GUI frontend for the Eve Online API in Python.  I have successfully pulled the XML data from their server.  I am trying to grab the value from a node called "name":  from xml.dom.minidom import parse dom = parse("C:\\eve.xml") name = dom.getElementsByTagName('name') print name   This seems to find the node, but the output is below:  [<DOM Element: name at 0x11e6d28>]   How could I get it to print the value of the node?


Finding a relatively prime linear combination

Suppose $\gcd(a,b,c)=1$ (though the pairwise $\gcd$s may or may not be $1$). I have a pretty complicated proof that there is an integer $m$ such that $\gcd(c, am-b)=1$; it's probably not worth presenting here. Does anyone see a simple proof? Edit: Here is the proof I have. Let $d_m = \gcd(c, am-b)$ and assume that $d_m>1$ for all $m$, so that each $d_m$ is a nontrivial divisor of $c$. Let $p_1, \dotsc, p_k$ be all the primes dividing any $d_m$ (the set is finite since each $p_i\mid c$), and assume $p_i\mid am_i-b$. Use the CRT to find $m$ such that $m \equiv m_i+1\mod{p_i}$ for each $i$. By assumption, some $p_i\mid am-b$, but also $p_i\mid am_i-b$, so that $p_i\mid a(m-m_i)$. But $p_i\nmid m-m_i$ by construction, so that $p_i\mid a$, and then $p_i\mid b$. But also we know $p_i\mid c$, contradicting $\gcd(a,b,c)=1$.


Launch Firefox window on local raspberry from remote ssh

I have a raspberry 4 with Ubuntu 20.10. I need to see one firefox in kiosk mode from hdmi0, and lounch it from ssh. any ideas?


Trying to show that the set $S = \{(x_1,x_2):x_1x_2\geq4,x_1>0,x_2>0\}$ is convex. I tried proving by definition, let $x=(x_1,x_2)$ and $y=(y_1,y_2)$ and $\lambda\in[0,1]$ We want to show that $\lambda x + (1-\lambda)y \in S$ for $\lambda=1$ and $\lambda=0$ the answer is trivial. for $\lambda \in (0,1)$ I got a bit stuck What I tried was $\lambda x + (1-\lambda)y = \lambda(x_1,x_2) + (1 - \lambda)(y_1,y_2) = \lambda(x_1,x_2) - \lambda(y_1,y_2) + (y_1,y_2) = (\lambda x_1 - \lambda y_1 + y_1, \lambda x_2 - \lambda y_2 + y_2)$ So now if we can prove that $(\lambda x_1 - \lambda y_1 + y_1)\times(\lambda x_2 - \lambda y_2 + \lambda y_2) \geq 4$ we are done. I got stuck here, I tried looking for a way with the mean inequality but with no success. I think I am way off base, perhaps Jensen's inequality or something in that domain might be what I am looking for.


What do you call someone who can't keep secrets?

Some one who is not good at keeping secrets. In my native language it is called "chugalkhor" but it's a slang. So I can't translate it.  What do you call such a person who can't keep secrets because his instincts don't let him.


How to fix "import qgis.core ImportError: DLL load failed"

I am trying to develop a GIS application in QGIS using the Python language. Unfortunately, I encountered a problem from the outset is that of import and qgis.core qgis.gui. the Problem in the python console is as follows:  import qgis.core  Traceback (most recent call last):   File "<pyshell#0>", line 1, in <module>     import qgis.core ImportError: DLL load failed: Le module spécifié est introuvable.   I am using:   OS : Windows 7 , 32 bits QGIS : 1.8 ( Lisbona )  Python : python 2.7


How can I increment a date by one day in Java?

I'm working with a date in this format: yyyy-mm-dd.  How can I increment this date by one day?


I'm using a MacBook Pro (Retina, Mid-2014) running OS X El Capitan and I'm curious if I can run a script when I close my computer (without installing anything).  Note: I don't want to install anything.


Integration of a function involving algebraic and trigonometric functions

Evaluate $$f(x) = \int_0^{\pi/2}\frac{1}{(1+x^2)(1+\tan{x})}dx$$  My attempt: I could not apply any standard method known to me to solve this integration. The only way I thought of is expressing $\tan(x)$ as an infinite series and expanding into a polynomial. But this will introduce approximation errors.  $$f(x) = \int_0^{\pi/2}\frac{1}{(1+x^2)(x + \frac{x^3}{3}+\frac{2x^5}{15}+...)}dx$$ $$or, f(x) = \int_0^{\pi/2}{(1+x^2)^{-1}(x + \frac{x^3}{3}+\frac{2x^5}{15}+...)^{-1}}dx$$ Please let me know how to solve this problem.


The company ofutable (pronounced UFO-table) likes to start their movies with a black background, and     An ufotable Production   emblazoned in the middle of the screen.  As a native english speaker, I find this phrase rather jarring.  It seems grammatically incorrect.  I'm confident it should be:      A ufotable Production   Why?


How to find fastest mirror link during every installation

This is the problem: sometimes I connected to internet via VPN (this VPN server could be in countries like USA, UK and etc) sometimes I connected to internet without VPN. When I connected  to internet via VPN the fastest mirrror link that I  can use it is from that country servers. But when I connected to internet without VPN, the fastest mirror links are belong to my country (because there is  no VPN)  This solution can solve this problem if: when I connected to Internet and I want to install an app,an script a little time before installation of each package find  the fastest mirror link.  At this time no matter that I connected with VPN or without it  How I can solve this problem  in action?


The offside rule on the pitch is often unclear and called suddenly. How do I know if a player is offside?


Optimal tiling of polygon using ArcGIS Desktop?

I am trying to tile a polygon with a minimal number of fixed sized squares.  Currently I am creating a fishnet over my polygon then spatially joining the squares that intersect the polygon. This is not optimal.  Also note the squares can be shifted vertically/horizontally but not rotated.  My end goal: The polygon represents a clipped image and I want a tiling of the clipped image. Where each tile is 300px by 300px. Some overlap is fine if that makes the problem easier.  Current    Manually optimized    Are there any tools or algorithms that would help with this? I am proficient with Python and ArcMap.  The polygon was created from line features so I also have access to those segments. Maybe that would will help for generating the squares.  The entire polygon must be covered.


"I learn a lot talking to you" vs. "I learn a lot by talking to you"

I've heard both of the sentences:     I learn a lot talking to you.      I learn a lot by talking to you.   Does the first one means I learn a lot while I talk to someone and the second I learn a lot as a result of talking to someone?


Why, when slicing the list, the number of the items in a list is always more than the ending index?

Why for example when slicing a list with square brackets in this way  spam = [1, 2, 3]   When we print(spam[0:2]) the 3 is not typed while the index of that is 2?


I came across the term "logo schmogo" and went researching its meaning and usage, and have a vague working-theory, but am still confused. Would be great to learn the exact meaning and primary usage of the term. Thanks.  I get that this is a form of reduplication (repeating a word or adding a second word that sounds similar to the first word) (e.g. easy-peasy, hurly-burly, super-duper) The dictionary gives definitions for some of them, but not this one. Could be that this one is fairly new or still a bit niche.  My working theory. I think it's one or a combination of the following, but I am having a hard time summing it up in a clear sentence.    It is used to criticize or mock the "logo is the be-all-and-end-all of branding", or "logo=brand identity" attitude. It means "You think your new logo will solve all your problems? You are wrong" "Your logo is missing substance, it's just a layer on top."   It's harder to take a guess because this term is mostly used in titles (for chapters, blog posts), or as an exclamation (e.g. Logo schmogo indeed!) or opening of a social media post (e.g. Logo schmogo, blablabla)  Here are some use-cases I was able to collect:    An article titled"School District Logo Schmogo:Board Not Happy with the New Emblem and Its Price Tag", an interview in the article says “The idea of a communication plan is much more than an image, a logo,” A twitter conversation Political party X posts: We will put Y first. That is what our new logo will symbolize for everyone. Voter Z posts: Logo schmogo. I'll still never vote for X. A blog post with a quote that says: "Stuart Elliot of the NY Times summed up the prevailing opinion of design when he once said to me, Logo schmogo Can a logo drive business results?  Absolutely. There is one brand that saw a 20% change in their business within 7 weeks of changing their logo and packaging design. Yes, that’s right, CHANGE IN LOGO RESULTS IN 20% CHANGE IN SALES IN 7 WEEKS. Logo schmogo indeed!" Then the post goes on explaining that the change in logo resulted in 20% PLUNGE of sales in 7 weeks. A blog post titled "Logo schmogo", and the first sentence is "A corporate brand is many things to many people. But it isn’t a logo."   Related links   reduplicative:  use-case:  use-case:   Thanks for taking the time to look into this.


Which manga chapter correspond to the end of episode 12 of season 2 of the anime?

Can anyone tell me which chapter in the manga is the end of episode 12 from the second season of Seven Deadly Sins?


Big O Complexity - Double loop with max range from the first loop

def Arithmetic (n):     for i in range (1, n):           for j in range (1, (i + 1) / 3):               a = n^i - j/3       return a   How do I determine the Big O for this algorithm? Given that the second loop has a maximum with the first loop result.


Why in every vector space are the vectors $(-1)\vec{u}=-\vec{u}$?

I am curious why $(-1)\vec{u}=-\vec{u}$ for every vector space. Since vector spaces can be defined differently, with different scalar multiplication rules, why do we have that= $(-1)\vec{u}=-\vec{u}$ is true for all vector spaces automatically? I'm missing a subtlety here! Thanks in advance!


Can a bash script start tmux, split the screen horizontally 5 times and run watch -n1 tail -n5 in each?

Is it possible to make a bash script that starts tmux and split the screen horizontally and runs watch -n1 tail -n5 file_n in each ? Basically I'm starting a script multiple times and write its progress into different files that I'd like to monitor. Would be nice if I could run that from one script as opposed to manually open 10 files by myself. I never used tmux btw that's why I'm asking this.


Does $f^{(n)} = 0$ imply that complex $f$ is a polynomial?

Let $f$ be a complex function with the property that $f^{(n)} = 0$.  Does this imply that $f$ is a polynomial?  If so, why?  Upon thinking about this problem myself, I can easily observe that every $n$ degree polynomial satisfies $f^{(n+1)} = 0$.  Still, this doesn't show that some non-polynomial function couldn't also have this property.


Are there pointers in java? if not why do we get Nullpointer exception?

If there aren't pointers exposed to implement in java does Nullpointer exception need to be changed to Nullreference exception?


What is the distance between two objects in space as a function of time, considering only the force of gravity? To be specific, there are no other objects to be considered and the objects in question are not rotating.  For instance, say you have two objects that are 6 million miles apart. One is 50,000 kg and the other is 200 kg. Say I want to know how much time has passed when they are 3 million miles apart. How would I go about doing that?  EDIT: Looking at the other question I am having trouble following David Z's steps in his answer. Intermediate steps would be helpful. In particular I don't see how the integration step works. I also don't understand why the initial r value, ri remains as a variable after it's derivative has been set to 0, wouldn't the integral of that derivative (i.e. the function ri) be 0 + C? I also don't see how you wind up with a term that includes 2 under a square root sign.  I can not ask for the intermediate steps on the question itself because I do not have the reputation points.   I think it probably answers my question or will once I understand it, but I am not sure.  EDIT: I can sort of understand the integration step. But it seems like he is integrating with respect to two different variables on both sides, the variables being r on the left and the derivative of r on the right. There must be something I'm missing here.


How to reverse the effect of Ctrl + L in bash?

I accidentally pressed Ctrl + L in bash (intending to do it in the browser).  This caused the terminal window to scroll so that the history of commands is above the top and everything below the current command is blank.  So I scrolled it back to where the new command would be at the bottom - but as soon as I started typing, it immediately scrolled all the previous lines out of sight again.  Is there a way to undo this so it resumes behaving normally again, leaving the new typing at the bottom?  (Getting a new shell seems to do it, but I don't want to have to exit SSH and reconnect if this happens again.)  Edit: (The  explains what Ctrl + L does, and there are lots of answers for people wanting this effect, but I haven't found anything about reversing it.)  Note: The history is still there for reference, it's just a hassle to have to keep using the scroll bar to get a look at it.


SSH login without password and without keys

Is it possible to configure a user to login via SSH without password and without using keys. Just typing "ssh user@server". I have tried some modifications with  Match User  and with AllowUsers in /etc/ssh/sshd_config, but with no success. Perhaps I'm not intending on using it on any servers. This is just for testing purposes locally on my virtual machines and to find out if it possible at all.   I have searched for this before posting but could not find the exact same question.


How do we make symmetry assumptions rigorous?

I have, for instance, a problem with a spherically symmetric charge distribution. I deduce here, in order to solve the problem easily, that the corresponding electric field must be symmetric. How is this type of deduction rigorously justified?


Convert CSV to Shapefile using GDAL_translate

I have some CSV files that need to be converted to ESRI shapefile. These files are built like explained in the section "Building line geometries" from the . For example one file can be like this:  > head river_xy2.csv                                                                                way_id,pt_id,x,y 1,1,11.836,44.829 1,2,11.827,44.829 1,3,11.818,44.829 1,4,11.809,44.838 1,5,11.8,44.847 1,6,11.791,44.856 1,7,11.782,44.856 1,8,11.773,44.856 1,9,11.764,44.856   GDAL understands this, for example I can do:  ogrinfo river_xy2.csv -dialect SQLite -sql "SELECT way_id, MakeLine(MakePoint(CAST(x AS float),CAST(y AS float))) FROM river_xy2 GROUP BY way_id"   And I get a nice list of OGRFeatures in output. However, how can I save that to a shapefile? If I try to use GDAL_translate:  > gdal_translate -of "ESRI Shapefile" -a_srs EPSG:4326 river_xy2.csv river_xy2.shp ERROR 4: `river_xy2.csv' not recognized as a supported file format.   While if I remove the first row I get an error after the first feature:  ERROR 1: Ungridded dataset: At line 549, change of Y direction   EDIT: It looks like I can do:  ogr2ogr -dialect SQLite -sql "SELECT way_id, MakeLine(MakePoint(CAST(x AS float),CAST(y AS float))) FROM river_xy GROUP BY way_id" -a_srs EPSG:4326 river_xy.shp river_xy.csv


Will my opponent lose from his own Plague Spitter enchanted with Soul Link, if the Plague Spitter deals him lethal damage?

My opponent is at 1 life. He controls a  and 2 other creatures (1/1 tokens). In his second main phase, he puts  on the Plague Spitter and passes the turn.  In my turn I do nothing that changes his board.  Will my opponents die in his next upkeep phase, due to the 1 damage dealt by the Plague Spitter, or will he be able to gain life from his other creatures (and me) taking damage before he takes damage?


Is function $f:\mathbb C-\{0\}\rightarrow\mathbb C$ prescribed by $z\rightarrow \large \frac{1}{z}$ by definition discontinuous at $0$?

Is function $f:\mathbb C-\{0\}\rightarrow\mathbb C$ prescribed by  $z\rightarrow \large{\frac{1}{z}}$ by definition discontinuous at $0$?  Personally I would say: "no". In my view a function can only be (dis)continuous at $z$ if $z$ belongs to its domain.  But I have heard other sounds, that made me curious.   This question was inspired by comments/answers on  question.


Make Alt + Tab behavior in Ubuntu 18.04 same as in Ubuntu 16

I recently upgraded from Ubuntu 16 to Ubuntu 18.04. The Alt + Tab behavior has changed. I already installed a gnome extension to remove the delay as recommended in this answer: , but this still does require an extra press on Tab to actually switch the window. I find it very annoying.


How do I level epic dragons past level 10?

I have been able to level up half my elemental dragons past level 10. I don't know how to level my epic dragons past level 10, though.


Increasing the maximum number of TCP/IP connections in Linux

I am programming a server and it seems like my number of connections is being limited since my bandwidth isn't being saturated even when I've set the number of connections to "unlimited".  How can I increase or eliminate a maximum number of connections that my Ubuntu Linux box can open at a time? Does the OS limit this, or is it the router or the ISP? Or is it something else?


Best way to do multiple choice in Unity 2D?

So I'm about to start development on a game in unity that is going to require multiple choice each choice having a some what unique function. I've thought of 2 ways of doing this but I'm unsure if there is an easier way as I've never really worked with unity.  So the first way I was thinking about doing this and I think better then the second would be to make a class for each choice with all the functions that belong to that choice in there and then just calling it when its needed. However, I don't know if this will scale very well as I will have over 100 different events with their own choices...   The second way I was thinking was to do it via JSON and then just code each function to parse that. So for example: addmoney, dothis, dothat etc... However this seems like a lot more work then it would be worth so I'm not 100% sure...  So I'm wondering what option would be better and if anyone else has any suggestions I'd love to hear!


What's the difference between #import and @class, and when should I use one over the other?

I've been teaching myself Objective-C over the past month or so (I'm a Java head) and I've got my brain wrapped around most of it now. One thing that's confusing me at the moment: What's the difference between importing a class via @class vs doing a #import?   Is one better than another one, or do I need to use one instead of the other in certain cases? I've been using just #import so far.


Is there a resource for easily determining relationships between two relatives?

In the English language, there are many words for relationships between two relatives. For instance, my father's brother is my "uncle", the daughter of my father's brother is my "first cousin", the wife of my father's brother is my "cousin-in-law" and so on.  I remember once seeing an online resource that would allow you to plug in the two relatives and spit out their relationship. It even included all of those completely confusing "blah blah  twice removed" relationships. I have no idea where that link is any more and I've been looking for one such link ever since.  Does anyone know of a resource for easily determining relationships between two relatives in the way I have described?  These previous questions have elements of what I'm looking for, but not completely:


What is the advantage of being tired after having a sex?

When we have a sex with partner, we feel so tired that we don't have any power to do anything. Then it would be disadvantage to the animals, of course humans too, for they are exposed to danger. For example, the predator's atack. But you know, we cannot help having a sex. Then what is the advantage of being tired after having a sex?


Salesforce marketing cloud journey builder does not allow to activate error insufficient Apex permission

I am trying to activate a journey in salesforce marketing cloud usingthe salesforce data entry. At the moment of activation I receive the following error:  Flow Creation failed. Unable to activate the Journey, the Sales Cloud user may not have correct permissions. Activating a Journey requires Author Apex permissions.INVALID_TYPE: sObject type 'ApexClass' is not supported.  Note we have configured custom permission for the integration user, as the integrated service cloud org is shared with multiple part of the business and for security reason it is not allowed to create service cloud users with a view all and modify all permission. Because of this reason we could not give system admin permission to our integration user. The SFMC connect integration works and all the objects are syncing in contact builder, however Journey builder does not. Someone suggested to 1)give the "Author Apex" permission - done but nothing changed 2)make sure in the Marketing Cloud Connector configuration in Salesforce you set the right permission to execute a triggered send- done 3)enable the triggered sends on the object that you will be using as your entry events - done but we are still having issues - is there anything else we can try?


Searching 'select by color' for raster or map data

I'm planing to create an online map component with which the user can create/draw polygons based on underlying raster data.  Is there some library / tool / procedure existing which enables the creation of polygons based on the colors of the raster data (or map data) - something like the 'select by color' in photoshop? Example: the user clicks in the center of a lake and the tool creates a polygon which covers the complete lake at the coastline.


Request for new site for the Persian/Farsi language

I would like to see a Persian/Farsi language site included within the Stack Exchange world. How likely is this? Is it already being considered?


Converting list into a list with tuple having 3 elements?

Alright, I am new to Python and am learning about tuples and lists. I have been asked to create a program, however that involves converting the following list:      li = [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]   in to a list which looks like this:      li = [[(1,2,3),(4,5,6)],[(7,8,9),(10,11,12)],[(13,14,15),(16,17,18)]   Basically, from a simple list to a list containing a sublist which contains two tuples which contain 3 elements.  I appreciate your help.  Thanks.


So I recently discovered via  that upgrades should be adjacent to the thing they're upgrading (or other upgrades to it). You can see in the image below that the UI will color the border of adjacent upgrades but not ones sitting by themselves:    The post itself is a little unclear how much that helps, and suggests it gives them some sort of bonus, but has no details and is not 100% reliable. Are we sure it gives a bonus, or does the upgrade maybe just not work in the first place if it's not adjacent?  Recently I'd upgraded my jetpack, and while I didn't have a stopwatch out to time it, I wasn't noticing much difference. Then I looked at the text more carefully:    Is this implying that the upgrade won't work unless it's actually adjacent to the jetpack? If so, this seems problematic since when the game starts your jetpack already has things surrounding it and can't be dismantled or moved.   Overall I'm left very unclear on if upgrades must be adjacent to work, and if not, what kind of bonus they get when adjacent.


How do I add CSS and JavaScript files in a custom module?

I created a custom module in drupal 8. And I am trying to add js and css file in  my_module.libraries.yml file using this   lrv_key:   version: 1.x   js:     js/lrv.js: {}        dependencies:       - core/jquery       - core/drupalSettings   css:     theme:       css/lrv.css: {}   But it doesnt work.


I am reading Charlotte's Web with my daughter. I am glad to be reading E. B. White's book. We pay close attention to the construction of sentences so that we can learn from such exemplary writing. We are reading the 60th anniversary edition. One sentence read,  The sheep lay motionless.  and after a while she asked whether it should be "The sheep lay motionlessly". We reasoned that since the word is telling us more about the sheep's action, we should choose an adverb. We checked Merriam-Webster's dictionary and dictionary.com and they both defined motionlessly as the adverb, keeping motionless only as an adjective. Was motionless once used as an adverb as well?


Windows 8.1 start screen backgrounds file location

In Windows 8, the start screen backgrounds used to be in the imageres.dll file, but as of 8.1 they're not. Does anyone know where the start screen backgrounds are housed in Windows 8.1?   If not, is someone using Windows 8 willing to share a png with me?


Squash file with key-value records to CSV

I want to write a data parser script. The example data is: name: John Doe description: AM email: john@doe.cc lastLogon: 999999999999999 status: active name: Jane Doe description: HR email: jane@doe.cc lastLogon: 8888888888 status: active ... name: Foo Bar description: XX email: foo@bar.cc status: inactive  The key-value pairs are always in the same order (name, description, email, lastLogon, status), but some of the fields may be missing. It is also not guaranteed that the first record is complete. The expected output is delimiter-separated (e.g. CSV) values: John Doe,AM,john@doe.cc,999999999999999,active Jane Doe,HR,jane@doe.cc,8888888888,active ... Foo Bar,XX,foo@bar.cc,n/a,inactive  My solution is by using a while read loop. The main part of my script: while read line; do     grep -q '^name:' <<< "$line" && status=''     case "${line,,}" in         name*) # capture value ;;         desc*) # capture value ;;         email*) # capture value ;;         last*) # capture value ;;         status*) # capture value ;;     esac      if test -n "$status"; then         printf '%s,%s,%s,%s,%s\n' "${name:-n\a}" ... etc ...         unset name ... etc ...     fi done < input.txt  This works. But obviously, very slow. The execution time with 703 lines of data: real    0m37.195s user    0m2.844s sys     0m22.984s  I'm thinking about the awk approach but I'm not experienced enough using it.


Does this "extension property" for polynomial rings satisfy a universal property?

On page 151 of Paolo Aluffi's Algebra: Chapter 0, an important property of the polynomial ring $\mathbb{Z}[x_1, \cdots, x_n]$ is introduced, namely that it's initial in the category of set functions from a fixed $n$-element set $A$ to commutative rings. (Or, to put it another way, a set function $f: A \to R$ with $R$ an arbitrary commutative ring factors uniquely through $\mathbb{Z}[x_1, \cdots, x_n]$.)  After establishing this property, two examples are given; the first, a special case when $n=1$, proves the existence of a unique ring homomorphism $\mathbb{Z}[x] \to S$ sending $x$ to an element $s \in S$ and extending the unique homomorphism from $\mathbb{Z} \to S$. So far so good.  The author then goes on to give a second example:     Let $a : R \to S$ be a fixed ring homomorphism, and   let $s \in S$ be an element commuting with $a(r)$ for all $r \in R$. Then there is a unique   ring homomorphism $\bar{a} : R[x] \to S$ extending $a$ and sending $x$ to $s$.   It is an exercise to provide the details of this construction. It's not hard to show what this map must be and prove that it's unique by "naive" methods, but, given its placement and the pedagogical bent of the text in general, I assume that there's a slicker way to define this map based solely on categorial considerations.   So: does this "extension homomorphism" satisfy a universal property?  (I've thought vaguely about this question for a little while but didn't hit upon anything; hints or full explanations would be much appreciated.)


Why are values in Entites obtained directly and sometimes by using getters?

For example  Drupal\Core\Entity\Entity::id() returns $this->id(or NULL) Drupal\Core\Entity\ContentEntityBase::id() returns $this->id->value Drupal\Core\Entity\ContentEntityBase::uuid() returns $this->get('uuid')->value Drupal\node\Entity\Node::id() returns $this->get('nid')->value  Also in some methods there are setValue() and getValue() utilised but sometimes there are just $this->field->value. So what is the reason for this inconsistent behavior? From my understanding all the "fields" are TypedData fields hence the setValue() and getValue() methods should be used instead of directly access $this->field->value. Besides it's strange because $value is private.


I have in FTP server that will be created every 20 minutues and then deleted after certain time.I want to download  file once it created and before deleting.I did like   while (!File.Exists(reqFTP.RequestUri.ToString()))                                     {                                         if (DateTime.Now > timeout)                                         {                                          }                                         Thread.Sleep(TimeSpan.FromSeconds(1));                                     }   But no luck at all every time File.Exists return false.Here is full code  string uri = "ftp://" + dtr["FTP_SERVER"].ToString() + "/" + remoteftppath;                                     Uri serverUri = new Uri(uri);                                     if (serverUri.Scheme != Uri.UriSchemeFtp)                                     {                                         return;                                     }                                     var timeout = DateTime.Now.Add(TimeSpan.FromMinutes(1));                                      FtpWebRequest reqFTP;                                     reqFTP = (FtpWebRequest)FtpWebRequest.Create(new Uri("ftp://" + dtr["FTP_SERVER"].ToString() + "/" + remoteftppath));                                     reqFTP.Credentials = new NetworkCredential(dtr["FTP_USER_ID"].ToString(), dtr["FTP_PASSWORD"].ToString());                                     reqFTP.KeepAlive = false;                                     reqFTP.Method = WebRequestMethods.Ftp.DownloadFile;                                     reqFTP.UseBinary = true;                                     reqFTP.Proxy = null;                                     reqFTP.UsePassive = false;                                     while (!File.Exists(reqFTP.RequestUri.ToString()))                                     {                                         if (DateTime.Now > timeout)                                         {                                          }                                         Thread.Sleep(TimeSpan.FromSeconds(1));                                     }                                     FtpWebResponse response = (FtpWebResponse)reqFTP.GetResponse();                                     responseStream = response.GetResponseStream();   I dont know what is went wrong.It is not at all coming out from loop


How is it possible that quantum phenomenons (e.g. superposition) are possible when all quantum particles are being constantly observed?

I don't understand how quantum mechanics (and therefore also quantum computers) can work  given that while we work with quantum states, particles that this quantum state consist of cannot be observed, which is the most fundamental requirement.  If I am not mistaken, by "observed" we mean interaction with any other particle (photon, gluon, electron or whatever else). So my very important questions:   Aren't the particles this quantum state consists of interacting with each other? Why doesn't that cause the state to collapse? Aren't all particles in the universe interacting with Higgs field and gravitons etc? Why doesn't that cause every quantum state to collapse?   I feel there is something very fundamental in quantum mechanics that I am not aware of, hence I would be very pleased to have these questions answered.


If I have a list like:  a = ['AB', ['CD', 'DE'], 'FG']   How do I transform it to a 2D list as shown:  [['AB', 'CD', 'FG'], ['AB', 'DE', 'FG']]   Using itertools.product also expands 'AB' to 'A', 'B'.


Can Quantum Entangled particles convey information faster than speed of light?

Can Quantum Entangled particles convey information faster than speed of light. If they don't what was wrong with John Bells experiment?


How to find all analytic functions such that $f(z)=-f''(z)$

I'm trying to find all analytic functions such that $f(z)=-f''(z)$  I keep on trying but the solution seems a bit elusive...  I'm thinking of $\{a\cdot e^{iz},a\cdot e^{-iz}|a\in \mathbb{C}\}$ but cannot prove it...  any advice? :)


Book that had a ring (or jewelry) that allowed wearer to see the future

I remember a scene where a younger person had been given the ring (or jewelry) from an older person who died in a scene prior. The younger person was leading a group of people (possibly dwarves, other friendly creatures in the mix), and they took shelter from the rain under an overhang. The person wearing the ring (or jewelry) foresaw it collapsing on them, so they all moved, and it collapsed.  I'm pretty sure it's a children's book, but not 100%.


i have a samsung galaxy 4 with a  smashed screen, i really need to get my contact numbers and calendar from it (currently using a friends old iphone but will be borrowing sisters old s4 soon. Phone charges and light flashes at top when turned on but unable to see anything due to the damage. Desperate for help please!!!


Can a new programmer with limited technical expertise ask a quality question about fundamentals on SO?

Subtitle:  Should beginner's questions be off-topic strictly because they are beginner's questions? The sorts of questions that newbie programmers ask has come up before many times in side discussions, and comes up constantly on the main site.  Here are two examples from today:   Both of the above questions are well-formed, specific, answerable definitively, not open to opinions and are otherwise directly on-topic for StackOverflow. However both questions were downvoted and closed by users who said they were off-topic because they were too basic in nature.  To quote one particularly pointed comment:  This question appears to be off-topic because it is trivially answerable by reading a beginners' language tutorial.  That pretty much sums it up. Here's another case posted yesterday:  This is another beginner's question.  The topic is fairly elementary.  The answer can likely be found in Strustrup's book, or any number of other books that we recommend.  Considering only that it is a beginner's question of a fundamental nature, should the question be considered off-topic? Lots of questions are posted from lazy people who are just looking to be spoon-fed answers.  Those questions should all be closed because they never meet the quality guidelines.  That's not what I'm asking about here.  What I'm asking about is just the elementray nature of the question.  If the question is elementary, but otherwise meets our quality and topical requirements, is it off-topic? I have always thought that .  But enthusiasts come in all shapes and sizes, from the bright-green newbie writing their first program to the grizzled veterans who have seen and done it all a million times before.  I have always felt that SO's stated audience does not, or should not, discriminate based on the expertise of the asker. Some  that newbie questions are off-topic because they aren't interesting enough for the answerers.  But this seems highly subjective to me.  After all, every question is a "no-duh softball" to someone.  Just today I provided what I thought was a  to a problem, only to learn a few minutes later that KonradRudolph and Yakk had come up with the  over a year before.  No-duh. It seems to me that this has been coming up much more recently.  Sometimes I'll chime in with a comment to the downvoters and close-voters suggesting that the level of expertise is not a parameter in deciding if a question is topical.  The downvoters will often agree.  But we don't have a difinitive resource to point to that says this is so -- it doesn't say it in the FAQs, and I've not found anything difinitive in meta. So what says meta?  Can a question about basics be on-topic for Stack Overflow?  If it can be off-topic, how do we know where to draw the line?


$f:A \backslash U\to B \backslash f(U)$ is also homeomorphic?

$f:A \to B$ a homeomorphic mapping from $A$ to $B$  $=> f:A \backslash U\to B \backslash f(U)$ is also homeomorphic, $U \subseteq A$.  Why does this implication hold?


I have read some post about how to delete chat room. Now I have some questions about this.    If I have created a room and there are more than two users are logged in and posted couple of messages. Then how this room get deleted if it was inactive from more than 1 week?  Can I send request to moderator to delete that room? If more than two users from same region are talking in their language related to Application Programming. Then how can moderator know that it is On-topic chat.


Is it possible to see who viewed my question?

So I know that every time I refresh my question page, it increases the view count. Is there a way where I can see the IP address of the unique views on my questions?


Confusions on effective action and 1PI 3-point Green's function

In Peskin's QFT book chapter 11.5, the author gives a graph(see below) and claims that the third functional derivative for effective action $\Gamma$ gives the 1PI (one-particle-irreducible) 3-point Greens's function.  When computing the electron propagtor, I learned that the full electron propagtor is a geometric series of 1PI bubble(1PI bubble=sum of all 1PI diagrams). So how can I see that the white bubble is the 1PI 3-point Green's function? Is it a geometric series of something? What does the white bubble contain?


Custom DataTable using Vanilla Datables in LWC

I'm trying to build a custom datable because I want the functionality to sort, search and paginate and also add action buttons in each row. Initially, my VF page was using  but we have now decided to rebuild that page in LWC.  I found a similar  but it hasn't really worked for me.  I then found  (Javascript) and  (ES2018) I have tried to implement Vanilla Datatables but I keep running into issues such as:      TypeError: Cannot read property 'length' of undefined   The above error is thrown because the library is unable to find the body of the table.   My point is that I feel this library won't work because it's using document, window and so on.   I was wondering if there is a way I could convert this library to something that is more suited to LWC basically have it "export" the modules. Since I'm not a JS expert I'm unable to put the pieces together.   Just for some context, I'll post my code here:  <template>

                 <template for:each={fieldSetData} for:item="field">
{field.fieldLabel}
                     	                 </template>

             <template for:each={records} for:item="row">
                     <template for:each={row} for:item="data">                         {data.value}	                     </template>
             </template>

 </template>   import {LightningElement, api, wire} from 'lwc'; import {processRecords} from 'c/recordGenerator'; import getFieldSetData from '@salesforce/apex/FieldSetData.getFieldSetData'; import getSobjectRecords from '@salesforce/apex/DeomoCTRL.getRecords'; import VanillaDatatable from '@salesforce/resourceUrl/VanillaDatatable'; import {loadScript, loadStyle} from 'lightning/platformResourceLoader';  export default class ManageSelectedIndicators extends LightningElement {     @api recordId;     records;     fieldSetData;     @wire(         getFieldSetData,         {objectName: 'SOBJECTName', fieldSet: 'FIELSETName'}     ) wiredFieldSetData({error, data}) {         console.log('wired called in Child')         if (data) {             this.fieldSetData = data;             this.getData();         }     }       constructor() {         super();         console.log('Constructor called in Child');     }      connectedCallback() {         console.log('Connected callback');     }      renderedCallback() {         console.log('Rendered callback');         Promise.all([              loadScript(this, VanillaDatatable + '/VanillaDataTables/src/vanilla-dataTables.js')          ]).then(() => {              const table = new DataTable(                  document.getElementsByClassName('.sobject-table'),                  //Also tried this.template.querySelector('.sobject-table'),                  {searchable: true, sortable : true}              );          })          .catch(error => {             console.log(error);          });     }      getData() {         getSobjectRecords ({             sobjectId: this.recordId         })         .then(response => {             this.records= processRecords(response, this.fieldSetData);         })         .catch((error) => {             console.log(error);         });     }  }   Edit: I have also tried lwc:dom="manual" that didn't seem to work either.  Is there any other way I could achieve these functionalities? Or do I have to write custom code to achieve this?


Impact of moving the ldf and mdf files temporarily for few hours

I want to copy my database files(ldf and mdf) into a separate box for few hours as there is a disk space issue in my current sql server box. Currently i have mdf in one drive(:D) and ldf in another drive(:E). I have to move both mdf and ldf into same drive,say :D. I understand that it is recommended to have separate disk drives for LDF and MDF ,but this is a DEV box and to avoid purchase/delay client wants to go with this option.  I have two plans:   Take backups of all systems databases and user databases and save it in a separate box. Move MDF and LDF to a separate box for few hours   So after the partitioning/merging of disk drives are completed i can either:   Restore the backups. Move the MDF and LDF to the merged drive.   For user database ,i understand that the below steps will be sufficient:   Bring the database offline Move the file(s) to the new location manually. Update the system catalog settings:  ALTER DATABASE DBNAME         MODIFY FILE (             NAME = 'DBNAME',             FILENAME = 'D:\SQL_Data\DBNAME.mdf'         )         GO  ALTER DATABASE DBNAME     MODIFY FILE (         NAME = 'DBNAME_log',         FILENAME = 'D:\SQLLog\DBNAME_log.ldf'     ) Bring the database online   Can someone explain the dangers of second step or direct me how to do second step for system databases.?


How do I remove this bolt from my bedframe?

This is my first time posting in this forum but I wanted to get some help from y'all regarding removing a bolt from my bed frame. I bought a used bed frame and I need to dismantle it to shift it into my room. Here is an image of the bolt.   Could you please tell me what tools I would need to remove this screw (the silver nut on the left) as well as how I should go about doing it. Thank you, I really appreciate the help from this community :)


Greyhound bus arrives very late, do I have any recourse?

I know from the website that greyhound just say that they don't guarantee the time of their bus and though luck if it happens:     The bus was late. Am I entitled to a refund?      No. While Greyhound makes every effort to provide on-time service, it   does not guarantee its departure and arrival times, which may be   affected by any number of factors including weather, traffic, or   mechanical problems. Greyhound is not liable for any inconvenience or   expense caused as a result of such a delay.   From their website.  I'm in a situation where they left me stranded in Toronto in the middle of the night and I'll miss the reason I'm travelling if I continue with the bus. Hence I'm going to take another mean of transportation. I've missed two connections along the way already and I feel like dropping people in the street at 1am should be illegal. However, I'm wondering if I do have any sort of recourse in this situation or if the fact that they say on their website that they won't assume any responsibility is enough for it to be true.


Can you identify this book or series in which all humans are in hell?

A while ago a friend told me the plot of a book (or book series, he isn't sure) that he couldn't remember the name of, and I want to find it.  Here's what he told me:   Every person in existence is in hell: Mozart, Hitler, Ghandi, everyone. No one knows why for sure. Hell is a lot like normal modern life, but everything is slightly worse. There is an eye in the sky and everyone thinks it is watching them. Dante is in hell and he's some kind of programmer/IT guy, and he thinks the reason he's here is something offensive in the divine comedy. He keeps trying to rewrite it to fix the problem, but his computer always crashes and erases the file before he can finish. People can't die here; when they do they are taken to some sort of incredibly creepy guy to get stitched back together.  The only exception to this is Hemingway, supposedly because he spent his whole life preparing to die, so now he can't even temporarily discorporate.    I have never run into anyone who recognizes this - I'm told Riverworld is sort of similar but not really? It'd be awesome if this rings a bell for someone, thanks.


Describing a person who values the unimportant while ignoring the important

How do you describe a person who gives the most importance to little details (of little value) while ignoring the aspects of much greater importance?  It would describe one who places more importance on, say, presentation/reporting than on actual content, showcasing small and less important work as opposed to the most difficult, innovative and challenging work.  Is there a word or phrase which can be used to describe this behavior?


Can all recipe ingredient quantities be halved or doubled without altering taste?

I was wondering if keeping the same proportion of ingredients in a recipe maintains the taste of the food as well. Or are there cases where this simple proportional math doesn't work?


I need to find the Laplace transform of $\cos(at)$  I know that $L\{\cos(at)\}= \int_{0}^{\infty} e^{-st} \cos (at) dt$ but I am having trouble finding the integral  Thank you


I noticed on my phone bill that I have a lot of sent SMS messages which I'm not aware of and can't find in the sms app.  Is there a way to find out which app is sending these messages? And how to view the details of these messages on my android phone (I'm using Galaxy S7 Edge).


"To delete" is to "deletion" as "to discard" is to what?


Prove that the equation $x^3+y^3+z^3 -3xyz -1=0$ defines a surface by revolution and determine the equation for the axis of revolution.   I know I have to end up with something that looks like this: $(x-a)^2+(y-b)^2+(z-c)^2=r^2$  $dx+ex+fx = g$ but I don't know where to start...  (I am aware that there is a similar question on this site but I  need a simpler answer than the one given there.)


I have this data :  name      | coulmnnuber Newyork   | 1 washington| 2 denmark   | 3 Holand    | 4   Data should look like this :  1           2           3          4 New york    Washington  denmark    Holand


How do I solve this limit without L'Hospital?

$$\lim_{x\to0}\frac{6^x-1}{x}$$   I have spent quite a lot of time on this limit but I still can't solve it. None of the regular tricks work here, I can't get rid of the $x$, nor can I get it in the form $$\left(1+\left(\frac1y\right)\right)^y.$$ So, how can I solve this limit without using L'Hospital's Rule?


Can Compound Topographic Index (CTI) / Topographic Wetness Index (TWI) produce negative values?

I am calculating Topographic Wetness Index for a study area using SRTM DEM (90 and 30m).   I've seen several versions of TWI (CTI).  I have been using: TWI = ln(As +1 / tanB)       where As = catchment area, B = slope (degrees/radians??)  When I run this function, the output contains negative values (using slope in degrees and radians).  Are negative values acceptable? Or does this indicate an error in the analysis??  I understand the output should be scaled to 1-10, but negative values seems counter intuitive. Could someone explain what negative values could mean (due to flat areas, no data values?)  On a side not, the calculations are being run on on a very large area, which overaps several watersheds. Is it appropriate to run TWI over such a large extent?


Why can the senior Stack Overflow community be hostile toward newbie questions?

What I can't understand is why the Stack Overflow senior community is hostile to newbies.  As much as I try to research my questions before asking and editing them well I always seem to get condescending comments or, worse, get my questions closed.  I think this kind of mentality has to stop as it doesn't foster a great learning environment.   Yes, I know some of us might not be as bright as some of you, but still it shouldn't allow you to put our questions down.


Handling answers that build heavily on (or are copied outright from) existing answers

I  to the question "" which was specific to the question asked.  Another user engaged positively with my answer, as there was a small conversation thread.  That person then  and made what I would say are minor modifications (the comments I left in my original code that pertained to the specific case are still in the places where he made edits to be more specific).  The answer does acknowledge that it is a general case of my specific code.  Ignoring the fact that I'm involved in it, what should one do when seeing this situation?  The only thing I can think of, and I'm not sure that it's necessarily the right solution, is to flag the answer for moderator attention.  Other possible actions, which I believe are wrong, are:   Editing the answer; that would change its intent Voting the answer down; it's a technically correct answer   One could leave a comment, but that can lead to confrontation and escalation (depending on the parties involved) which would be counterproductive.  The only thing I've done, which is not really related, is edit the answer to hyperlink the already existing attribution (but I do this as a regular edit for any answer which explicitly references another).  What's the best approach here, if any?


Can you use Magic Initiate to cast a spell you already know, and still learn another spell?

I have a wizard PC who wants to gain the feat Magic Initiate and use free 1st level spell to use mage armour once a day. He already knows Mage armour, so:   Can he use the Feat to gain a free casting of Mage armour once each day? Should he get another 1st level spell but not get to freely cast it once a day?


If I flip 10 dice, what's the probability I get an Odd sum?? I couldn't do anything with this any help would be really appreciated...


Broken spaghetti problem to ACUTE triangles

A piece of spaghetti falls and breaks into three pieces with two break points selected randomly. What is the probability that an ACUTE angled triangle can be formed with the three pieces?  My initial attempt was to find cases of ALL triangles which I managed to conclude has a probability of 1/4. I have also seen a similar problem on this site which yields the same answer so I am happy with the steps up to this point! I would please like some help as to how I should now isolate the cases for acute triangles only?  Thanks!  Edit: Had a look at the link below but I think mine may be slightly different as it deals with the case of a totally random and independent break. Not the case where we break once and choose another of the two to break again.


Find Basis of $\mathrm{Col}(A) \cap \mathrm{Row}(A)$


reference link in pdf file is not working correctly (problem with enumerate?)

In the following example a bug appears which I cannot explain. in the pdf-output, the link to Theorem 1 does not work correctly, clicking it jumps to the beginning of the document BLABLA. The printed reference is correct, just the link is broken.  \documentclass{article}  \usepackage[ngerman]{babel} \usepackage{amsthm}   \newtheorem{Thm}{Theorem}  \usepackage{hyperref}  \begin{document}  BLABLA \newpage  \begin{Thm}\label{label1}       % a theorem \begin{enumerate} \item item1 \end{enumerate} \end{Thm}  blublblbu reference~\ref{label1}        %references the theorem \end{document}   Somehow it seems to be related with enumerate, since the problem vanishes when I replace   \begin{enumerate}    \item item1   \end{enumerate}   by just some text


I'm following  but I get an error in this paragraph :  @Override public boolean onCreateOptionsMenu(Menu menu) {     super.onCreateOptionsMenu(menu);     MenuInflater inflater = getMenuInflater();     inflater.inflate(R.menu.main, menu);     MenuItem menuItem = menu.findItem(R.id.search);     SearchView searchView = (SearchView) menuItem.getActionView();      searchView.setQueryHint("Type something..."); //at this line (line 28 in the project)      int searchPlateId = searchView.getContext().getResources().getIdentifier("android:id/search_plate", null, null);     View searchPlate = searchView.findViewById(searchPlateId);     if (searchPlate!=null) {         searchPlate.setBackgroundColor(Color.DKGRAY);         int searchTextId = searchPlate.getContext().getResources().getIdentifier("android:id/search_src_text", null, null);         TextView searchText = (TextView) searchPlate.findViewById(searchTextId);         if (searchText!=null) {             searchText.setTextColor(Color.WHITE);             searchText.setHintTextColor(Color.WHITE);         }     }     return true; }   I think my problem is the SearchView...  I don't know what informations you need to answer... so ask me more details if you need.  Logcat :  10-24 11:59:43.533 9216-9216/? E/AndroidRuntime: FATAL EXCEPTION: main 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime: java.lang.NullPointerException 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at com.drarig29.searchactionbar.MainActivity.onCreateOptionsMenu(MainActivity.java:28) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.app.Activity.onCreatePanelMenu(Activity.java:2476) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:262) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.internal.view.WindowCallbackWrapper.onCreatePanelMenu(WindowCallbackWrapper.java:85) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.app.AppCompatDelegateImplBase$AppCompatWindowCallbackBase.onCreatePanelMenu(AppCompatDelegateImplBase.java:241) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.app.AppCompatDelegateImplV7.preparePanel(AppCompatDelegateImplV7.java:1247) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.app.AppCompatDelegateImplV7.doInvalidatePanelMenu(AppCompatDelegateImplV7.java:1527) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.app.AppCompatDelegateImplV7.access$100(AppCompatDelegateImplV7.java:90) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.support.v7.app.AppCompatDelegateImplV7$1.run(AppCompatDelegateImplV7.java:128) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.os.Handler.handleCallback(Handler.java:615) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.os.Handler.dispatchMessage(Handler.java:92) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.os.Looper.loop(Looper.java:137) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at android.app.ActivityThread.main(ActivityThread.java:4745) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at java.lang.reflect.Method.invokeNative(Native Method) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at java.lang.reflect.Method.invoke(Method.java:511) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 10-24 11:59:43.533 9216-9216/? E/AndroidRuntime:     at dalvik.system.NativeStart.main(Native Method)


Leverage browser caching for Facebook, Google+, or other 3rd party resource files

I tested my website with Google PageSpeed Insights.  I did cache optimization in my .htaccess, but it didn't affect resource files that are from Facebook and Google+  Leverage browser caching      http://connect.facebook.net/fr_FR/all.js (20 minutes)      https://apis.google.com/js/plusone.js (30 minutes)      https://oauth.googleusercontent.com/…e:rpc:shindig.random:shindig.sha1.js?c=2 (60 minutes)   What can I do to solve this?


Update Manager asking me to update kernel but apt-get upgrade does not?

Just what the title says. The update manager is also asking me to update to Ubuntu 12.10 even when I have the part unchecked that says "Check for new Ubuntu version updates" thing. Is there some way to turn the annoying update manager off?


Difference between InvariantCulture and Ordinal string comparison

When comparing two strings in c# for equality, what is the difference between InvariantCulture and Ordinal comparison?


Object's rotation behaves strange while using siderbar rotation sliders

For an object's rotation in the sidebar of 3d viewport(or in the 'Object Properties' tab of the object in the properties editor), using the Y slider gives strange results which neither matches local or global axis when the initial rotation values of other two axes are not 0(I've seen that X and Z sliders always matches the local X axis of the object and global Z axis of the object respectively). Why this happens? What is the logic of such rotation? My Blender version is 2.81.


I've created a simple bash script to create a select menu which look like this :  1) Run nmap 2) Wireshark 3) metasploit framework 4) Exit  now I want to run these programs as per menu selection. I am very new to bash scripting so looking for anyone's help here.


How to teleport a player forward in the direction they're facing?

I am trying to simulate Mortis from Brawl Stars in Minecraft. In order to do this, I need to teleport the player a few blocks forward every time they click their mouse button to attack. I need help to get a command I can use to teleport a player forward when they attack. I've already covered how to detect when the player attacks (a damage_dealt scoreboard) but I need to know how to make sure the player moves a few blocks forward no matter which way they're facing. My current idea is that I use the scoreboard to check that I have attacked with the shovel with nbt:{Mortis:1}. In this way I could use /execute to detect @a[nbt={SelectedItem:{tag:{Mortis:1}}}] and then run a tp. The problem here is that the destination of tp must be found out by the direction that the player is facing, but I don't know any tag or selector in Minecraft to do that.


None of the 14 firms are going to be sold by the government.  is going no improvement. I think option 2 is correct but in the answer key it is option 1. Now, I am confused with the use of none of the


I loaded the  Natural Earth Quick Start Kit in QGIS 2.8.5, enabled on-the-fly CRS transformation, and changed the CRS to World_Robinson, and this is what shows up:    When zoomed in it looks fine. To be precise, the glitch start to happen somewhere between 1:45,000,000 and 1:46,000,000.   Any idea what's causing this? Am I doing something wrong here?  EDIT: I don't think this is a duplicate issue. At least the "Settings -> Options, Rendering tab, uncheck Enable feature simplification by default for newly added layers" fix does nothing for this problem.  EDIT 2: This isn't limited to Robinson. Pretty much every CRS I tried has graphical glitches when viewing the whole world. And every CRS works fine when zoomed in (at 1:20,000,000 everything works).


How to request to move a question to programmers.SE?

When I click the Migrate option in the close vote (in off topic), it lists a few sites. To be exact, it lists Meta (this), SuperUser, TeX.SE, DBA.SE and sharepoint.SE. There's not an option for programmers.SE. How do you request a question to be moved to programmers.SE?


Why are probionts not considered cellular life?

I am currently studying Prescott's Microbiology, 10th edition, by Willey, Sherwood, and Woolverton. Chapter 1.2 Microbes Have Evolved and Diversified for Billions of Years presents the following figure:        The authors then ask the question: Why are the probionts pictures above not considered cellular life?  I'm unsure of why the probionts are not considered to be cellular life. If I'm not mistaken, the probionts contained ribozymes, no? This means that they have the capacity to catalyse their own reproduction. And, according to the figure, later probionts also consisted of proteins, so I'm presuming that catalysis and reproduction were not issues here.   I would greatly appreciate it if people would please take the time to clarify this.


I'm pretty new to Blender and I was trying out the fluid simulations and when it came to baking the mesh, I wasn't able to do it and I am kind of confused as to what the problem is as I have never baked before in Blender. I'd appreciate if y'all could lend me a hand and let me know what I have done wrong and how to fix it. At the moment, the Bake Mesh button just seems to be greyed out and clicking on it does nothing, the other baking options are working I think. I have already managed to bake the data, it's just the mesh which needs to be done but the button is preventing it. I have unbaked the data until I can figure out what is causing the problem. I have attached images of all of my settings which I have changed in the fluid settings.


I've added the GDAL extensions to GeoServer and it worked. However, I followed the instructions in order to add GDAL ECW & MrSID Extensions for GeoServer documented in the installation guide (Adding support for ECW and MrSID on Windows) but I got the error in the screenshot below:     Considering that I've created a GDAL_DRIVER_PATH variable in the environments variables as shown below     And not appearing in the GeoServer. I am using GeoServer 2.8.1   What might be the issue here?


Does having a countable subbasis also satisfy the second axiom of countability?

My guess is "yes".  Unfortunately, the course I've taken this semester on "point-set topology" did not cover the concept of subbasis, however I have a few words on it in mind, subbasis unlike basis uses "intersection" instead of "union" of its elements to build the topology.   I need this proposition (If it's true, otherwise can you give me a hint on proving the following ) to prove this; $\mathbb{Z}$ with the finite-complement topology is second-countable.  My insight into proving this proposition is this: $S=\{\{x\}^c| x \textrm{ is a point in the space}\}$ and $|S|=\aleph_0$, thus since any open set can be created by such subsets, then the space is second-countable.


What does "I Can't Get No Satisfaction" mean?

This song by The Rolling Stones, "(I Can't Get No) Satisfaction". As a non-native speaker, I always wondered what's the exact meaning of this phrase?   Is it "I'm not getting any satisfaction" (this seems to be the most widely met translation; double negation used where single negation should have been used). Or is it "I want my satisfaction, I cannot leave without getting some" (makes much more sense to me).   Or is it something else? I've always had troubles understanding double negation as applied to English. First I was taught it's a mistake to use double negation at all, and then I see it everywhere.


Send connections from minecraft port 25565 to another server

I have a domain name domain1.com and I want if someone want to connect (via minecraft) on port 25565 that the connection is transfered to another server.  So: connect to domain1.com:25565 ==> something listens on 25565 ==> transferes the Connection to gameserver.com:25565  I did looked into nginx but I saw that it doesnt work for the "minecraft" protocol.  What other Option do I have?


Regex is returning all matches in one group

I'm having an problem to return the matches in separated groups, since the last match ")" only works in the last register. I want to return all three matches in the example below. Any advice?  Link to .  regex = "\[\]\(((?s).*)\)"   text = " ![](https://tomticket-          anexos.s3.amazonaws.com/inimg/imagename1.jpg)           ![](https://tomticket-          anexos.s3.amazonaws.com/inimg/imagename2.jpg)           ![](https://tomticket-          anexos.s3.amazonaws.com/inimg/imagename2.jpg)        "   everything after the first ![](  and last ) is returned.


Limits using L'Hopital's rule $\lim_{x\to0^+} (x^{x^x-1})$

Could you help me with this one? Thanks. The answer should be 1, somehow. I tried everything I know, but I couldn't solve it.  $$\lim_{x\to0^+} (x^{x^x-1})$$


How can I count the number of files in a directory and delete the oldest if the number exceeds 5

I've created a script to run automated backups on my CentOS 7 server. The backups get stored to  the /home/backup directory. The script works, but now I would like to incorporate a way to count the files after the backup happens and if the number is more than 5, delete the oldest backup.   Below is what I have for my backup script.   #!/bin/bash  #mysqldump variables  FILE=/home/backup/databasebk_!`date +"Y-%m-%d_%H:%M"`.sql DATABASE=database USER=root PASS=my password  #backup command process  mysqldump --opt --user=${USER} --password=${PASS} ${DATABASE} > ${FILE}  #zipping the backup file  gzip $FILE  #send message to the user with the results  echo "${FILE}.gz was created:" ls -l ${FILE}.gz  # This is where I would like to count the number of files  # in the directory and if there are more than 5 I would like # to delete the oldest file. Any help is greatly appreciated   Thanks -Mike


Is there a more general property or class of properties or concept that encompasses position and space?

Is there a more general property or class of properties or concept that encompasses the concept of position and space?  It does not seem clear to me that position is the most general property (if it is a property) applicable to an object, so I have been searching for a more general property, or class of properties, which will include the property of position, but I have been unable to find anything.


xbacklight: No outputs have backlight property - No /sys/class/backlight folder

I installed xbacklight, hoping that it would be able to control my brightness. When trying to change brightness, I was told "No outputs have backlight property". After looking around, I found that this has to do with my computer not having a /sys/class/backlight folder. I know that this is the problem but don't know exactly how to fix it.  Not sure if its needed or not but here some system info from inxi:  System:   Kernel: 3.16.0-57-generic x86_64 (64 bit, gcc: 4.8.2)            Desktop: LXDE (Openbox 3.5.2) Distro: Ubuntu 14.04 trusty Machine:  HP EliteBook 8460p CPU:      Dual core Intel Core i5-2520M CPU Graphics: Advanced Micro Devices [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series]    Does this have to do with drivers (perhaps Intel/AMD graphics drivers)?


Garbage collection when using anonymous delegates for event handling

UPDATE   I have combined various answers from here into a 'definitive' answer on a .  Original question  In my code I have an event publisher, which exists for the whole lifetime of the application (here reduced to bare essentials):  public class Publisher {     //ValueEventArgs<T> inherits from EventArgs     public event EventHandler<ValueEventArgs<bool>> EnabledChanged;  }   Because this publisher can be used all over the place, I was quite pleased with myself for creating this little helper class to avoid re-writing the handling code in all subscribers:  public static class Linker {     public static void Link(Publisher publisher, Control subscriber)     {          publisher.EnabledChanged += (s, e) => subscriber.Enabled = e.Value;     }      //(Non-lambda version, if you're not comfortable with lambdas)     public static void Link(Publisher publisher, Control subscriber)     {          publisher.EnabledChanged +=              delegate(object sender, ValueEventArgs<bool> e)              {                   subscriber.Enabled = e.Value;              };     } }   It worked fine, until we started using it on smaller machines, when I started getting the occasional:  System.ComponentModel.Win32Exception Not enough storage is available to process this command   As it turns out, there is one place in the code where subscribers controls are being dynamically created, added and removed from a form. Given my advanced understanding of garbage collection etc (i.e. none, until yesterday), I never thought to clear up behind me, as in the vast majority of cases, the subscribers also live for the lifetime of the application.  I've fiddled around a while with , but it doesn't work with anonymous delegates (not for me anyway).  Is there anyway out of this problem? I really would like to avoid having to copy-paste boiler-plate code all over the shop.  (Oh, and don't bother with asking me WHY we are creating and destroying controls all the time, it wasn't my design decision...)  (PS: It's a winforms application, but we've upgraded to VS2008 and .Net 3.5, should I consider using the ?)  (PPS: Good , but if anyone can come up with an equivalent to the WeakEventHandler which avoids me having to remember to explicitly UnLink/Dispose, that would be cool...)  EDIT I must admit that I worked around this problem by "recycling" the controls in question. However the workaround has come back to haunt me as the 'key' I was using is apparently non-unique (sob). I've just discovered other links  (tried this - seems to be a bit too weak - GC clears delegates even if target is still alive, same problem with  below),  (forces you to modify publisher, and doesn't really work with anonymous delegates) and  (cited-as-incomplete by Dustin Campbell).   It occurs to me that what I'm looking for may be semantically impossible - closures are designed to 'hang around even after I'm gone'.   I've found another workaround, so I'll stick with that, pending a .


I am looking for a utility that will benchmark CPU performance under single and multi threaded instances.   At present I have an old rig with a dual core CPU (E7500) at 3.6 Ghz and I am looking at replacing it with a quad core CPU (Q9400) at 3.2 Ghz.  I want to see if I will notice a performance improvement with the extra 2 cores (albeit with a drop in core speed).   I will clock the CPU's with the same FSB (400Mhz) and the cache size is the same per CPU (1.5MB) and for what its worth I have 4GB ram (with potential to upgrade to 6GB)  My son mainly uses the PC for playing TF2 (which I am trying to still get working under Linux) and I also use it for some video encoding (MP4 to DVD)  I am thinking that I could be better off with the quad core but any feedback would be appreciated.


Who is the Community? Or, how can community earn badges?

Sometimes I see a post being edited by community, or brought to the active page by community. I have seen this post , but still if this is exactly the case, how has the user  earned those two badges? I mean the ones in Arena 51.


Matlab fitlm function gives a different RMSE respect the one calculated by hand

I'm doing a WLS estimation and actually the RMSE (Root mean square error) given by the "fitlm" function is different by the one calculated by hand.  Here there is the MATLAB code  %% Generating data x=unifrnd(0,30,100,1); y=sin(x).*x;  wi=x; % weights m_hat=fitlm(x,y,'Weights',wi); % the model b_hat = m_hat.Coefficients.Estimate; % coefficients y_hat = b_hat(1)+b_hat(2)*x; % model estimation  % RMSE extracted rmse=m_hat.RMSE; % rmse "extracted" from fitlm  % RMSE by hand RMSE_with_formula=sqrt(sum((y-y_hat).^2)/m_hat.DFE))   Can somebody explain why? Which is the correct one? Thanks.


Suppose $A \ne \emptyset$ is bounded below. Let $-A$ denote the set of all $-x$ for $x$ in $A$. Prove that $-A \ne \emptyset$ that $-A$ is bounded above, and that $-\sup(-A)$ is the greatest lower bound of $A$.  I have absolute no clue, what I thought was:  Let $B = \inf A$  We assume $-A = \emptyset$ then we recognize that $A = x \in $R  If elements of $-A = -($elements of A) then we reach a contradiction because $-x$ exists as $A \ne \emptyset$.   I really cant prove anything else. This problem has me stumped. Anything is appreciated.