Plotting roots of a predefined complex polynomial
Plotting complex numbers
Zero visitors? What happened to site analytics about a week ago? This is the views section of the site analytics visible to 25k users on one of my sites:    That's, uh, not correct.  Our site has had its usual activity level during this time.  I checked a couple other sites, and the pattern is consistent.  This looks like a problem in the analytics data that's coming in; did Google change their API?  Update: Same site a week later; note that in addition to the brief spike of accuracy, page views have dropped to (near-)zero for the whole period, unlike the earlier report.  (I know this question has been closed as a dupe, but I thought having the two screen shots together might help somebody.) Can we denied permission for synchronized data extension in Salesforce Marketing Cloud, My requirement is, I don't want to allow users to access synchronized data extension either in contact builder or in Subscribers. Is there any other size tires that will fit on a 27 x 1 1/4 rim? Is there a LaTeX/TeX preprocessor/inliner that replaces only selected macros with their definitions? Perform feature normalization before or within model validation? A common good practice in Machine Learning is to do feature normalization or data standardization of the predictor variables, that's it, center the data substracting the mean and normalize it dividing by the variance (or standard deviation too). For self containment and to my understanding we do this to achieve two main things:   Avoid extra small model weights for the purpose of numerical stability. Ensure quick convergence of optimization algorithms like e.g. Conjugate Gradient so that the large magnitude of one predictor dimension w.r.t. the others doesn't lead to slow convergence.   We usually split the data into training, validation and testing sets. In the literature we usually see that to do feature normalization they take the mean and variance (or standard deviation) over the whole set of predictor variables. The big flaw I see here is that if you do that, you are in fact introducing future information into the training predictor variables namely the future information contained in the mean and variance.  Therefore, I do feature normalization over the training data and save the mean and variance. Then I apply feature normalization to the predictor variables of the validation and test data sets using the training mean and variances. Are there any fundamental flaws with this? can anyone recommend a better alternative? In Ubuntu releases prior to Ubuntu 19.10 Eoan Ermine, when I run a command with sudo, that command receives my home directory in the $HOME environment variable. This is the behavior I have long expected and . If I want sudo to reset the $HOME environment variable, so that it refers to the target user's home directory instead of my own, I have to pass the -H option (or -i, though that does more).    ek@Kip:~$ lsb_release -d Description:    Ubuntu 18.04.3 LTS ek@Kip:~$ sudo printenv HOME  # Shows ek's home, not root's. /home/ek ek@Kip:~$ sudo -u as printenv HOME  # Shows ek's home, not as's. /home/ek ek@Kip:~$ sudo -H printenv HOME  # Shows root's home. /root ek@Kip:~$ sudo -Hu as printenv HOME  # Shows as's home. /home/as   When I first upgraded to Ubuntu 19.10, I was surprised to discover that sudo seems to reset $HOME no matter what! I continue to observe this now that 19.10 is released and I've installed updates--both on newly installed systems and one I upgraded to 19.10.  ek@Cord:~$ lsb_release -d Description:    Ubuntu 19.10 ek@Cord:~$ sudo printenv HOME  # Shows root's home, even without -H or -i. /root ek@Cord:~$ sudo -u as printenv HOME  # Shows as's home, even without -H or -i. /home/as ek@Cord:~$ sudo -H printenv HOME  # Also shows root's home. /root ek@Cord:~$ sudo -Hu as printenv HOME  # Also shows as's home. /home/as   I thought this might be due to .  But I checked, and always_set_home does not appear in any Defaults line in my 19.10 /etc/sudoers file.  What makes sudo treat $HOME differently starting in 19.10, and why was this change made? Does this make it safe to use plain sudo in cases where I would previously have used sudo -H? Why are the two versions of Chromium and VLC available in Ubuntu software of different sizes? I almost always want the profile correct applied, but it's an extra step. Any ideas on how to apply these automatically? Screen Resolution Problem with Ubuntu 14.04 and VirtualBox Classical limit of quantum mechanics I have heard that one can recover classical mechanics from quantum mechanics in the limit the $\hbar$ goes to zero.  How can this be done?  (Ideally, I would love to see something like: as $\hbar$ goes to zero, the position wavefunction reduces to a delta function and that the Schrodinger equation/Feynman path integral reduces to the Newtonian/Lagrangian/Hamiltonian equations of motion.) I just came across this code and a few Google searches turn up no explanation of this mysterious (to me) syntax.  Hashtable^ tempHash = gcnew Hashtable(iterators_);  IDictionaryEnumerator^ enumerator = tempHash-&gt;GetEnumerator();   What the heck does the caret mean? (The gcnew is also new to me, and I asked about that .) I'm a citizen of an EU member state traveling to a small city in Vermont. Looking at flight data, it seems that it would be quite a bit quicker to fly into Montreal (Canada) and then drive a rental car to my final destination in Vermont (and back), rather than getting a connecting flight into a small local US airport. I am slightly worried about the trouble I might get myself into by crossing a land border twice, though.  Can anyone give me an idea of what I'd be getting into in terms of:   Crossing time Discomfort Additional paperwork required   For both the outbound (Canada/US) and the return leg (US/Canada) of my journey, when compared to crossing the border at an international airport?  Also, do I need to take any special actions when I'm arranging a rental car if I intend to drive it over to the US and back? This is a question that has received various answers. This questions seems simple, but it proves to be rather tricky.  So :  We flip a coin (H-T) independently $10$ times. Let's for the moment not care about whether it is fair or not.   How many $3$-head sequences are there?  Solution:  Some say that the answer is $\displaystyle\frac{10!}{7!3!}$, but this is the number of ways  by which $3$ heads can be arranged in $10$ positions. This answer , however, does not say anything about the remaining $7$ positions.   Each of these seven positions can be H or T. The total number of $7$-element sequences is $1\cdot1\cdot1\cdot2^7=2^7$. Then we have to multiply this by $\displaystyle\frac{10!}{7!3!}$ as the three heads can be anywhere. But I have found that this is not the correct answer. The correct is just $\displaystyle\frac{10!}{7!3!}$. So why not multiply by $2^7$? Passive aggressive people will sometimes veil insulting, critical, derogatory or generally aggressive comments with humor. The patina of humor makes the comment seem like a joke, not to be taken seriously, all in good fun, and it safeguards the aggressive person. If someone gets offended, they are being too serious, can't take a joke, and so they cannot voice their upset without seeming to be the one escalating the situation, when in fact it was the aggressor who did that.   This behavior seems to lie on a spectrum. On one side are comments which are simultaneously aggressive and genuinely funny (though of course both, especially the latter, are fairly subjective). On the other side would be lame attempts at the behavior, something like "you are fat!... just joking!" in which nothing in the tone or delivery signals a register of humor. In the middle of the spectrum, I imagine, are aggressive statements genuinely delivered as jokes. Their register signals that they are jokes, but they are aggressive rather than funny. They are aggressive comments masquerading as jokes.      A friend once called this "joking on the square", but I have never heard or seen this phrase. This type of comment is both pervasive and psychologically subtle and in my experience there is often an exact word describing such things. If not a word, is there an astute phrase which cuts to the heart of this? I'm looking to implement a phase lock in an FPGA without using any external components (other than the ADC). For simplicity locking to a simple binary pulse is adequate. The frequency of the signals is ~0.1-1% of the clock. I can't use the onboard clock PLL's because they are typically:   Not configurable (set during synthesis). Jittery. Don't support the frequency I need.   I've been sorting through the literature and found a few binary phase locked loops. Most notable a "pulse steal" design that I can post a link to if desired. I have implemented and synthesized with some success, but its jitter and lock range was not as good as advertised. I've also had success using a external DVCO, but I would prefer if I can implement everything on chip.  A digital circuit design or even a hint in the right direction would be helpful (I've been banging my head against this for a while), a proven FPGA implementation would be wonderful but not expected.   ADDED 10-27-2010   The actual DPLL design that I used has a "Random Walk Filter" as the loop filter (not the "pulse steal" described earlier, going through my notes that didn't work to well), which then drives the clock pulses to the DCO. The lock-in range is set via divider in the DCO. The sensitivity of the loop is established by varying the length of the random walk.   The paper in which this is found is cited at the end of this post. After implementing parts of it myself, I found that it was actually already implemented on OpenCores, however it turns out that in the last few months the project was deleted but I have the Verilog files saved if anyone wants them.  Yamamoto, H.; Mori, S.; , "Performance of Binary Quantized All Digital Phase-Locked Loop with a New Class of Sequential Filter," Communications, IEEE Transactions on , vol.26, no.1, pp. 35- 45, Jan 1978  doi: 10.1109/TCOM.1978.1093972  URL: What is the best way to store ground coffee? I know it's better to use freshly ground beans and not store it ground at all, but if I have no other choice, how can I best preserve ground coffee?   sort of asks the same thing, but the answers focus on storing whole beans, and the answers addressing ground coffee make it pretty unclear whether a cool cabinet, the fridge, or the freezer is the best place. Running the minimal example  \documentclass{article} \usepackage{filecontents} \begin{filecontents*}{\jobname.bib} @ARTICLE{example,   author  = {Other, Anthony Norman},   title   = {Some things I did},   year    = {2014},   journal = {J.~Irrep. Res.},   volume  = {1},   number  = {1},   pages   = {1-10} } \end{filecontents*} \usepackage[backend=biber]{biblatex} \addbibresource{\jobname.bib} \begin{document} Hello\cite{example}. \printbibliography \end{document}   I get the warning There were undefined references.  I have read  and know that I need to run:   LaTeX Biber LaTeX   However, my editor is only set up to run BibTeX. How do I go about setting up my editor/IDE to be able to run Biber, and how do I run the LaTeX/Biber/LaTeX cycle?  Answers (sorted alphabetically by editor name)                    Answer guidelines   Each answer should be for one editor. If the editor is cross-platform, if possible give a single answer with notes covering the minor platform variations. Please edit the question to include new answers in the 'link list' Each answer should be 'stand alone', i.e. don't say 'It's almost the same as editor Y but ...' for the editor part Instructions for 'build tools' such as arara or latexmk are welcome but should explain how to set up the editor in question as not all editors allow simple addition of arbitrary tools Windows 10 - disable reopening programs after restart/startup Occasionally, a forced restart is happening on my Windows 10 computer. When the OS is restarted every program that I've had prior to the restart is reopened at startup. The programs are reopened like I would just double-click them.  I usually hold 5-6 windows of Visual Studio and few more programs all together. When the above happens, I have to wait several minutes until I can start working, as everything takes ages to load.  Is there a setting to disable these programs from automatically opening at startup? Connect Error (2054) - mysql_old_password issue still not solved What does "rc" in .bashrc stand for? Is it "resource configuration", by any chance?