Grub does not detect Ubuntu for dual boot

I tried to install Ubuntu 20.04 on my Lenovo T14s with Windows 10 on it. I first create some space on the drive by shrinking the windows partition, then disabled secure boot and installed the live iso of Ubuntu on a USB pen with Rufius selecting GPT. I can boot from the usb pen and install Ubuntu from there, selecting 'Install along Windows'. However, when I restart I can only see the classical Grub screen that lists two options: i) Windows Boot Manager and ii) UEFI starting options. Ubuntu is not listed. If I try to repeat the installation process the assistant however recognizes the installed Ubuntu and asks 'Erase and reinstall Ubuntu'. Nothing however changes and the Grub does not detect Linux. What am I doing wrong?


Is it really true that  $$\lim_{n\to\infty} 1^n  = 1$$   ?  We were taught throughout our entire math courses that $[1^{\infty}]$ is an undetermined form....Am I missing something here?


What do you call a person who keeps on going despite setbacks? (in one word, a noun)

I'm looking for a word (a noun) to describe a person who faces the challenges of life (small and large) courageously despite the risk of failure.   It would be nice if this noun does not necessarily imply that the person has experienced setbacks himself, rather that this wisdom of having courage could also have sprung out of reflection about possible risks. But that's just a bonus.  I'll be using the word as the name for a character type in a game (other characters include saint and criminal), so it needs to be a single noun.


How to stop Nautilus from creating thumbnails of specific file types?

I'm trying to stop Nautilus from creating thumbnails of PDF files. In another thread on 'Ubuntu forums' someone said to open gconf-editor and disable the PDF entry in the '/desktop/gnome/thumbnailers' directory. However the only entry in that DIR is disable all. Needless to say I don't want that.  How can I disable the thumbnails for a specific file type?


Reading  reminded me of an idea I once had, and I wonder whether it's feasible.  Imagine a hollow ball made of something strong, like steel. Imagine there is nothing inside; only vacuum.  Is there any size of ball and any available material such that, if you made a ball like this, it would float like a helium balloon? In other words, that the mass of the ball itself plus the (0) mass of the vacuum would be less than the mass of the air it displaces, making it bouyant?  I suspect there is no material strong and light enough, but I don't know how to do the calculations.  (It's fun to imagine these being used in fantastical bridges or airships, though I suppose a bridge would be unwise; you wouldn't want it to rise or sink when the weather changes.)


Is there a way to tell which OS X processes are using the most power over time?

My Android phone comes installed w/ an app that graphs out power usage of various components over time, so it's clear that the screen is the biggest user, followed by the phone, followed by Facebook etc.   Is there a similar app for the MacBook?  I'm following best practices yet only getting a couple of hours of time out of a new (reconditioned) 2013 Macbook Pro (Mt Lion) with a battery showing only 10 cycles and near max health on it.    Thanks


Image of Jacobson Radical is the Jacobson Radical

I'm stuck on the following problem:      Let $R$ be a commutative ring with $1$, and suppose $R$ is semilocal with maximal ideals $\mathfrak m_1, ... , \mathfrak m_s$.  Let $\mathfrak a$ be an ideal of $R$. The problem is to show that under the usual surjection $\pi:R \rightarrow R/\mathfrak a$, the Jacobson radical of $R$ is sent to the Jacobson radical of $R/\mathfrak a$.   My attempt: suppose that $\mathfrak m_1, ... , \mathfrak m_t$ contain $\mathfrak a$, but $\mathfrak m_{t+1}, ... , \mathfrak m_s$ do not.  Then $Jac(R/\mathfrak a) = (\mathfrak m_1/ \mathfrak a) \cap \cdots \cap (\mathfrak m_t/ \mathfrak a)$.  Obviously $\pi Jac(R) \subseteq Jac(R/ \mathfrak a)$, and the converse inclusion is equivalent to the following claim: if $x \in \mathfrak m_1 \cap \cdots \cap \mathfrak m_t$, then there exists a $y \in \mathfrak m_1 \cap \cdots \cap \mathfrak m_s$ such that $x - y \in \mathfrak a$.    This should be some application of the Chinese remainder theorem, but I'm not seeing it.  All I have to go on is that there exist $m_i \in \mathfrak m_i$ ($t+1 \leq i \leq s$) with $m_i \not\in I$.  I also haven't found out a way to use the fact that $\mathfrak m_1 ,... , \mathfrak m_s$ are all the maximal ideals of $R$.  I was also thinking about looking at some explicit maps.  If we let $\Gamma$ be the composition $$\frac{(R/\mathfrak a)}{Jac(R/ \mathfrak a)} \xrightarrow{\cong} \frac{(R/\mathfrak a)}{(\mathfrak m_1/\mathfrak a)} \oplus \cdots \oplus \frac{(R/\mathfrak a)}{(\mathfrak m_t/\mathfrak a)} \xrightarrow{\cong} R/\mathfrak m_1 \oplus \cdots \oplus R/\mathfrak m_t$$ then we have a commutative diagram $$\begin{matrix} R/Jac(R) &  \rightarrow & \frac{(R/\mathfrak a)}{Jac(R/\mathfrak a)} \\ \downarrow & & \downarrow \Gamma \\ R/\mathfrak m_1 \oplus \cdots R/\mathfrak m_s & \rightarrow & R/\mathfrak m_1 \oplus \cdots \oplus R/\mathfrak m_t \end{matrix}$$ where the vertical arrows are isomorphisms, and the horizontal arrows are surjections.


Calling constructor inherited from baseclass

public abstract class BaseClass     {         private int id;          public int Id         {             get { return id; }         }      } public class SubClass : BaseClass     {         public SubClass(int id)         {             this.id = id;         }     }  How would I make the constructor work if I want id to be private and Id to be read only ? And should I also have the constructor in my BaseClass even tho I want it to be abstract class ?


how to get a path if file exist in python?

I have a folder named "main" and in main I have another 10 sub-folders (sub1, sub2,....sub10) each folder has various CSV files. I want to get the path if a particular file exists in sub-folders. for example: if I am looking for a file named "required_file.csv" and if it exists in folders( sub1 and sub5), my code should return me paths= ["C\\main\\sub1\\required_file.csv" , "C\\main\\sub5\\required_file.csv"]


A lot of times I see answers in comments, especially on questions from HNQ (Hot Network Questions). The trouble is they are sometimes helpful advice or may have many upvotes. I have been flagging such comments as "Other -> Answer in comments".  Should there be an option to migrate them? I remember there used to be a more specific flag for answers in comments, I'm not necessarily saying it should be added back.


Getting grey out when i try to apply stroke for a blue background

When i try to add stroke (800px) for a elipse tool to a blue gradient background, I am getting grey out, Image which i have attached will explain things more clearly. I just need that stroke to be a background of blue box, and need to remove grey out


Script to SSH to multiple Linux Server and execute a find command

I need a script that can SSH to multiple servers and execute a find command to check when was the last time a file was created.


Is there a term for using capitals mid-word (such as SmartTask and HiSuite)?

So far, I have only noticed capitals being used in the middle of a word in products marketed as computer applications.  I wondered if there was a term for this and I also wondered if it ever occurs outside of that particular context.


EVERGREEN string question. Combinations and permutations

How many strings with seven or more characters can be formed from the letters in EVERGREEN if the two R's are consecutive?  I know how to do this if the two R's don't have to be consecutive. Please point me in the right direction.


How do I adjust my email notification configuration and policy?

I'm a newcomer in the family of sites and I have somewhat trouble finding the mail notification policy or controls for it. Searching around, I've come accross some threads but it seems that I've not read/found the ones outlining the current way to accomplish that.  Under "Edit profile and settings" I've found a "Question subscriptions" option, but it is empty (I expected the two topics I've opened to be there).  Thanks in advance for any information provided.


can anyone please explain me is it correct to say "I have lunch at 1 pm". My doubt is if it is correct then how can we use a specific time expression with present perfect tense? If it is wrong to say "I have completed my homework yesterday." which implies specific time expression with present perfect tense. I have doubt in using time expressions with present perfect tense. i will be thankful if any one gives me relevant info.


power sum of $\sum_{n=1}^\infty 2^n x^{n^2}$

How do I calculate the radius of the power sum of: $$\sum_{n=1}^\infty 2^n x^{n^2}$$  having a little trouble with the second power(of $x$)  thank you


How can I do mass installs on multiple computers?

I had promissed my 120 students that I will install ubuntu 10.10 on their laptops but failed to do it.The laptops were dell vostro 4014. All have same hardware. I took one laptop and installed ubuntu and  all the necessary packages, and also wine to run some windows software. I selected the default ext4 file system.   Then I tried to use clonezilla server to clone the installation. Clonezilla server shows boot menu splash screen, but later on it says that I might be having a latest NIC unsupported by the kernel. But the NIC of the laptop on which I had installed ubuntu works fine.  Later I tried to use the clonezilla live cd to boot the laptop which has ubuntu. But when I press 'Y' to start cloning, it says 'something went wrong'. Again I tried the 'dd' command to save as disk image. But it copies empty space. So it is not feasible for me as it takes really long time.   I have made my students to wait for many days, daily they are coming and asking whether my setup is ready. Today I realized I can't do it. I have in a way convinced them not to go for windows. So they are waiting for me to have ubuntu installed on their laptops. Today evening some of them will come to collect the laptops I took from them to install ubuntu. Don't know how and what to tell them.


How to judge when I need a server upgrade?

I rent a dedicated server for one of my sites (Linux, WHM/cPanel). The site gets a decent number of monthly visitors (over a million), and I am starting to wonder how I should monitor it to discover when a server upgrade will be needed.  Obviously I could wait until the server starts to crash a lot and the site starts loading very slowly, but I would like to avoid reaching that point, having a better way to monitor things.  My questions:   1. Is monitoring the server load on WHM enough to know whether or not an upgrade is needed? On my case average server load is 0.5, and the server has 8 cores, so is this enough to say I probably don't need an upgrade?  2. Is there some other metric I should pay attention to to evaluate this?  Thanks in advance.


Trim auto-implemented property when assigning

I come across a problem. I defined a auto implemented string property. The data retrieval from outside source and assigned to the property. Some data having trailing spaces. Is there any possibility to trim the spaces when it is assign to the property? public string Name { get; set; }  Data retrieved from other source Name = service.GetName();   // e.g. "John David   "  The property will be used in several places. Instead of trim the string every places, I want to trim it when it is assigned to the property. Is it possible? Expected result Response.Write(Name) // Output:  "John David"    not  "John David   "


Using canonical correlation analysis (CCA) to find matches

I have a training dataset of images: X (Visual) and Y (Infrared). Each set has $300$ training examples. I extract feature vectors from both sets of images. Thus my X and Y datasets are respectively $300\times 1920$ and $300\times 1536$ where $300$ is the number of sample observations (in  this case images) and $1920$ & $1536$ are respectively the length of the feature vectors in visual and infrared spectrum.  A testing dataset consists of images of different subjects in both visual spectrum and infrared spectrum. I will have the visual spectrum data as my gallery. I will have the infrared images as the probe data. For each probe image, I need to retrieve the corresponding visual image from the gallery by using some kind of similarity measure.  Basic algorithm idea:   Start Training Phase. Read the images from visual and infrared spectrum dataset. Get the feature vectors by using desired descriptors and populate the matrices X and Y. Use CCA for subspace learning. Get the projection matrices Wx and Wy. Start Testing Phase. Given the gallery images (visual), read these images and use the Wx transformation matrix to convert them into the CCA subspace. For each probe image, convert it into the CCA subspace by using the Wy transformation and compare with each images of the gallery and compute a matching score. The image (or its label) in the gallery having the maximum score is returned.   Could anyone tell me if my approach is correct or not? Pointing me in the right direction would also be helpful. Please see the following paper for reference: .    I work in Matlab and use the following command to perform CCA:  [Wx,Wx,r,U,V] = canoncorr(X,Y);   %// DO CCA   The output I get is this :    Name           Size             Bytes   Class     Attributes    Wx         1920x297            890880  double                 Wx         1536x297            712704  double                 U           300x297             27840  double                 V           300x297             27840  double                 r             1x297               464  double          :   The projection matrices are Wx and Wy since they transform X and Y into the new space. The resulting projections of X and Y into the new space are U and V, respectively. The r vector represents the entries of the correlation matrix between U and V, which is a diagonal matrix.


Elevated command line prompt can't access shared drives

I map a share from another machine using my user account. I launch an elevated command prompt (cmd.exe, right click, Run as administrator). Navigating to shared drive (Z:) results in:   The system cannot find the drive specified  Now if I open a non elevated command prompt, I can navigate to Z: just fine.


separating two overloaded template functions that appear as Redefinition

I'm trying to define a toString helper method that should work either by using the << operator if available, or using a range-loop to print containers. I thought that C++11 and template magic would just sort of figure out what to use, but instead I'm getting the error "Redefinition of 'toString'".      /** to string via o<<value operations */     template<class T>     inline static std::string toString(const T& value) {         return (std::stringstream() << value).str();     }      /** to string via for each and tostring */     template<class T>     inline static std::string toString(const T& container) {         std::stringstream stream;         std::string delim = "";         stream << "{";         for (const auto& element : container) {             stream << delim << toString(element);             delim = ",";         }         stream << "}";         return stream.str();     }   I guess the definitions have to be separated somehow. It's possible to specialize the second template to vector, which works, but then it only works on vectors. So I tried to find a way to do it with traits and enable_if, which firstly I couldn't figure out, and secondly there doesn't seem to be a trait for 'supports range loop' or 'supports << operator'.


Simple C code, "IFs" working, whats wrong?

So, here is the code:  #include <stdio.h>  int main (int argc, char **argv) {     float num;      printf ("Choose one: 1.2 or 2.4 or 3.6 or 4.8: ");     scanf ("%3f",&num);     printf("\nTEST = %f\n",num);      if (num == 1.2)         printf("\n you selected the first (1.2)\n");      if (num == 2.4)         printf("\n you selected the secon (2.4)\n");      if (num == 3.6)         printf("\n you selected the third (3.6)\n");      if (num == 4.8)         printf("\n you selected the fourth (4.8)\n");      return 0; }   It's just a simple assignment, I can use only if, can't use else, but the code simply refuses to work. I wrote it with Gedit and compiled with GCC (ubuntu). Already tested with CodeBlocks, Dev-C++ (Windows 8) and CppDroid (Android). The problem is that none of the IFs seem to work and show the 'printf', what am I doing wrong?


Is there any way to see the custom messages/remarks of resolved/expired bounties?

Possible Duplicate:          I put a bounty on  which already have had  on it, and I'm interested in seeing their custom messages.  This was  and I cannot seem to find the feature implemented anywhere in any form, so my question is:  Is there currently any way to see the custom messages of resolved and/or expired bounties?     Related:


I found this old post (concerning QGIS 1.x)   and was wondering whether this had been solved in QGIS 2.0. Is there a way of only showing the attributes in the legend that are visible on the map?  It seems to me that this is not straightforward in ArcGIS either and I think it would make sense to impement this (in QGIS as I'm trying to use ArcGIS as little as possible). Imagine how useful it would be when you have a geology maps and you don't want to show hundreds of formation but only the few formations you can actually see in the map composer ...


Different Debian versions from two different commands

I wanted to check my current Debian version so I typed  uname -a and it gave me some stuff including Debian 3.2.73.   But Then I found this command cat /etc/debian_version and it gave me Debian 7.9  1- What is the difference between the two commands & 2-Which version is installed?


I am currently using Ubuntu 15.04 and wish to upgrade to 16.04 LTS. I try:  sudo do-release-upgrade   But I get:  Checking for a new Ubuntu release No new release found   How do I move forward? Is my install simply reporting the wrong version number - how can I find out?  I mean, it looks like I am still on 15.04  lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:    Ubuntu 15.04 Release:    15.04 Codename:   vivid   What next steps can I take?  UPDATE  I followed the directions in  which caused a lot of 404 errors. I then realised that vivid was not in  and search replaced those urls back to  and, bingo, updates working as they should.  TL;DR: The sources list was clearly wrong. Fixed it.


After answering a question I received multiple down votes on other answers as well

I'm a little shaky while writing this one. I answered this question:    I think with a valid answer to push the OP - who is a beginner - into the right direction. The answer received a negative vote. OK, happens.  A minute later I received a negative vote for no reason on another answer. Then suddenly it's getting upvotes again. Then more downvotes on other answers appear - also on old ones. Still while I'm writing here on meta. :-/  What's going on here? Is someone on a downvoting spree? I was so happy coming near the 10k and now this. It seems that lately everything it's getting a little rough here. Even if you give little hints and try to help somebody. I'm just really sad at this moment. Maybe somebody with enough reputation can take a look at it? I may simply remove all my downvoted answers.  As a note: I'm thinking since nearly 30 minutes to press "Post your question" or not. If the answer to this is "You have to live with it", please simply leave a comment and I will remove this question later.


Inconsistency of UI between locked and historically locked

From my 10k reputation point of view:  locked questions (and possibly merged questions too)   can't vote, but shows vote arrows can't edit, but shows edit button shows the flag button shows "comments disabled on deleted / locked posts / reviews" in grey   historically locked questions   can't vote, and hides vote arrows can't edit, and hides edit button hides the flag button shows "comments disabled on deleted / locked posts / reviews" in blue   examples  Those are just locked:       Those are historically locked:       What explains this difference of UI? Is there a change at higher reputation?


Graphic is sticking out into the margins

On  one of the pictures is sticking out into the margin on the right-hand side:    Is this because it's part of a bullet-point line that is indented?


Quality of free geodata compared to commercial sources

What are the sources of excellent geo-location data as possessed by Google Maps ?   I am wondering that, even with large amount of volunteer work involved, why is OSM data not comparable to theirs in terms of quality ?


Graphical intuition behind directional derivative interpreted as a(∂f/∂x)+b(∂f/∂y), where  is directional vector of unit length?

Given a function f(x, y), the directional derivative is defined to be a(∂f/∂x)+b(∂f/∂y), with being a vector of unit length designating the direction in which we wish to take the derivative. I understand how we go from the limit definition of a derivative in the direction of unit vector to a(∂f/∂x)+b(∂f/∂y), but I do not understand how to interpret this theorem (Df(x, y) = a(∂f/∂x)+b(∂f/∂y)) GRAPHICALLY. It is hard for me to visualize the derivative at a given point (x, y) in the direction of  being a(∂f/∂x)+b(∂f/∂y). For example, evaluating f(x, y) at directional vector <1, 0> yields the derivative ∂f/∂x. I find it difficult visualizing what is happening when we evaluate the directional derivative at, say, f(1, 1) in the direction <1/√2, 1/√2>. I can't quite visualize why the partial derivative with respect to x at point f(1, 1) multiplied by the x component plus the partial derivative with respect to y at point f(1, 1) multiplied by the y component ends up being derivative at f(1, 1) in the direction of the vector. Can you explain what is happening?


How to clone Windows 10 Home from SATA SSD to new nVME SSD?

Here's my particular situation: Have a new MSI Codex R desktop which came with a 500 Gb SATA SSD with Win 10 Home. I've booted up, pulled windows update, installed my G513 Carbon keyboard driver and a webcam driver from Logitech. That's it. The drive is balkanized into several partitions (I suspect some are backup/recovery partitions). Before I do anything more, I want to install a new ADATA 8200 1TB M.2 nVME drive in the empty M.2 slot. Then I wish to load the new M.2 nVME drive with the contents of the SATA drive (so it can become the system drive with Windows 10). I want to preserve (in a functioning state) any MSI recovery partitions, etc. originally on the SATA SSD in the new nVME SSD. I'm not in the know of how these recovery partitions work - can they be moved around on the same drive and still be found by the recovery software as long as content/volume name don't change? I'd like to know what steps and tools would be best for this. That's my main goal of asking here. I do not have the option of a disk duplicator (AFAIK) because the duplicators I've seen do SATA to SATA and don't support NVME. Is there a cheap, decent duplicator that would support SATA to nVME duplication? Or is that even feasible? I'd like to adjust some partitions on the new nVME SSD from the sizes/organization on the SATA SSD (the new drive is much larger) and perhaps the order (if that makes sense) but still make sure the MSI backup/recovery stuff ought to work if I need it to. So the tool probably needs to be able to expand, merge, relocate partitions. I've heard of Macrium Reflect, Acronis TrueImage, Clonezilla, and others. I have found trying to figure out what I ought to do (what type of a transfer/cloning, what tool) to be a bit of a mire... After I can boot from the nVME drive, I'm happy to wipe the original 500 Gb SATA SSD to use for more storage. The BIOS is setup in UEFI mode and Windows 10 Home is installed on the SATA SSD (the nvME M.2 SSD is not installed yet). I want the same windows install preserved so I'm assuming moving it to a new drive, reassigning drive letters to keep the system partition to be the same drive letter should make for a fairly straightforward step. What do you recommend for tools and for steps in the process? EDIT: Here's the process I imagine:  Install nVME drive on the M.2 slot. Don't change boot order. Make sure it is formatted. (If it isn't, that brings up the question of how to format it or whether that's necessary with most products that clone?) Run a clone (sector by sector or otherwise) from the SATA SSD to nVME SSD. (Question that arises: Do I need to boot from a USB key or other device so the OS is not actually running with cloning software?) Disconnect the SATA drive for now. Set the boot settings in the BIOS to start the new nVME drive with the same drive letter as the SATA drive had. If all goes well, it starts, everything runs.  Then I can reformat the 500 Gb SATA drive. Does that sound about right?


Unsatisfactory grades for unsatisfactory reasons

I am currently doing Algebra in a college in India. The professor asks students to note down solved examples in class, and then poses the very same questions in the tests.   I don't go to class for these very reasons. Hence, I end up writing alternate proofs for such problems. The professor is incompetent to the extent that he does not understand proofs written by an undergrad, and gives me zero on all those answers.   When applying for grad school, I will have bad grades in Algebra and other math subjects (I suspect). How do I convey the this to the Admissions committee when applying for a PhD?  I believe this is relevant to a lot of students studying in the sub-continent.


Would you say "not of been" or "not have been"

I have just wrote out a sentence that ended, "this would not of been possible." but the more I look at it, the more it looks wrong.  Would the correct saying be, "this would not have been possible."?  Or do both apply?


What is the difference between the solution of an ODE and its steady state?

what is the difference between of this. I am not good in mathematics


Select more than one place at a time in Google Earth?

I've got a Google Earth .kmz file opened in my copy of Google Earth 6.0.1.2032 running on Mac OS X 10.6.7. There are about 5000 points/"places" in the file and they show up fine.  What I would like to do is create folders in Google Earth for those points to categorise them. Unfortunately, I noticed that the Google Earth interface does not let me select more than one place at a time!  Is there another solution for me to manage and categorise those 5000+ places in the .kmz file other than drag and dropping them individually into folders in Google Earth?! (I really don't want to have to do that!) Thanks.


Access network share from within VBScript eg FileSystemObject

Is there a good way to access network shares from within a VBS script, with alternative credentials (not the credentials with which the VBS script is running)?  The intention is to perform two tasks:   programmatically navigate a remote share file structure, in order to confirm that a couple of remote files exist, and copy one file over the other (both remote) copy files from a local drive (accessed with local username / permissions) to a remote drive (accessed with the alternate credentials)   As far as I can tell FSO (Scripting.FileSystemObject) is out of the picture, because it always runs with the credentials of the application using it - which would be the local machine user.(?)  The only viable-seeming approach I have found while googling to prepare a Batch file (or extended call to "cmd.exe") that uses "net use" to provide the remote share credentials, and then copies the files with robocopy or the like, from within the same command-shell "session". This would work OK for copying/deploying files from the local drive to the remote share, but it would ve very complicated and brittle to do any sort of file system browsing (like you would do with FSO) in this way.  Another possibility I have considered involves having two scripting sessions - you call the script (providing the alternate credentials in the command line) and it runs a cmd.exe session, which first does a "net use" to map the remote share to a temporary local drive, then runs itself in an "actually do stuff" mode and uses FSO, then when it's done (back in the cmd.exe shell) disconnects the temporary drive with "net use" again. This is clunky (multiple windows, temporary drive...) and I'm not even sure it would work.   Does anybody know either way, or know of a viable alternative? (sticking to VBScript / WScript on a windows 2000 machine - no PowerShell!)


What exactly is a modal dialog window and when should you use it? Are there certain cases where you should refrain from using one?


Alternative proof that $[\Bbb{Q}(\zeta_n) : \Bbb{Q} ]= \varphi(n)$ uses circular reasoning?

I am doing exercise 3.24 of Marcus which is the following.           Let $L,K$ be number fields with $L/K$ a finite extension (of degree $[L:K] = n$) with $R = \mathcal{O}_K$ and $S = \mathcal{O}_L$. A  prime $P$ of $R$ is said to be totally ramified in $L$ iff $PS = Q^n$ for some prime $Q$ of $S$.           (a) Show that if $P$ is totally ramified in $L$ then it is totally ramified in $M$ for any intermediate field $M$, $K \subseteq M \subseteq L$.          (b) If $P$ is totally ramified in $L$ and unramified in another extension $L'$ of $K$ then $L \cap L'= K$.           (c) Give a new proof that $\Bbb{Q}(w)$ where $w = e^{2\pi i/m}$ has degree $\varphi(m)$ over $\Bbb{Q}$ (First do it for $m = p^r$ by using the fact that $(p) = (1- w)^{\varphi(m)}$ and then build up to any $m$ by using (b) above.      Now I have done (a) and (b) but when I come to (c) I fail to see how the problem is essentially circular. Even in the case $m = p^r$, I would have to use the fact that the ring of integers of $\Bbb{Q}(w)$ is $\Bbb{Z}[w]$. The proof of this fact already uses knowledge of $[\Bbb{Q}(w) : \Bbb{Q}]$ being equal to $\varphi(m)$. Am I missing something here?  Thanks.


I am using Sketch to create my design. I have created a view that is blurred. So if I put it on any other image, it will make it blurred.  Now I want to export this blur, but I seem to be unable to do so. When I try to export the blur, its just gives me a white image or the actually blurred image, but not something that blurs the image that is behind it.  How can I export this blur?


Im doing the follwing, to create an user report  SELECT b.username, b.name, b.permissiontoedit, a.total, a.user FROM (SELECT user, Count( * ) AS total FROM products GROUP BY user)a JOIN user b ON a.user = b.username   This should give a table with the username, full name, permision (1/0) and the total of entries.  Sadly, the query does only list users, which made more 1 or more entries in the table products. But i want all users, and if the have not made any entries in products it should display 0 or nothing.   where do i made a mistake?


Hi, can someone explain the second matrix? and how to use K in this problem? Thanks!


Is there a better name for this than "emphatic and"?

In semi-poetic writing, I have had occasion to deviate from the standard prose list practice (interpose commas or semicolons between items, with an "and" preceding the final item), by utilizing a second or third and to separate three or four items.  That is,       Bob likes beer, wine and liquor.   The variant would be:     Bob likes beer and wine and liquor.   Now, the usage is obviously nonstandard and should be avoided in formal writing, but for those instances where poetic variation may be justified.    What is it called?  "Emphatic And" is the best I can coin on my own, but I wonder if there is a more established name for this variation.


When I go to review page I get something like this(enabled questions/answers for review):        But then I click for example on "First Posts" I get:     There are no items for you to review.   I'm trying to understand the behavior of this "broken" page and found that counters are enabled after 2-3 minutes then posts/answers are enabled for review.  P.S. I'm using VPN, but all other sites works fine(without delay)


How to set path for all users on CentOS 7?

I am working on server running on CENTOS 7. I have compiled a few software from source code. I had executed ./configure, make, make install as SUPERUSER. To be accessible I need to set a PATH. I added the following lines in ~/.bashrc file as SU  for adding PATH to HISAT2 export PATH="/home/bioinformatics/Arindam/Software/Hisat2/hisat2-2.1.0/:$PATH"  As SUPERUSER it worked fine. But once I moved out of SU I was not able to do so.  Next I added the same lines in ~/.bashrc but not as SU and this did my job pretty well. Now I need the software to be accessible to other users as well. How do I do it. Which file must be editted ~/.bashrc, ~/.bash_profile, /etc/profile and should I do it as SU? Is there any other alternative?


In my salesforce org, I have a list of Accounts which was loaded externally using CSV file using Data loader tool. The problem is that 3 team member of my team uploaded same data thrice and thats why duplicates Account data coming. I need to remove all those multi-duplicate account.  How can I remove that? What is the correct way of doing this rectification? I assume my org might have 1000 unique Accounts, so due to developers error, count has become 3000. This is terrible.


my app keep crashing because of RuntimeException

I made a small Android project but when i entering some data during running app it forces to close and gave  me this errors:  this is my java:60 code:     private void loadHighscore() {         SharedPreferences prefs = getSharedPreferences(SHARED_PREFS, MODE_PRIVATE);         highscore = prefs.getInt(KEY_HIGHSCORE, 0);         textViewHighscore.setText("Highscore: " + highscore);     }      private void updateHighscore(int highscoreNew) {         highscore = highscoreNew;         textViewHighscore.setText("Highscore: " + highscore);         SharedPreferences prefs = getSharedPreferences(SHARED_PREFS, MODE_PRIVATE);         SharedPreferences.Editor editor = prefs.edit();         editor.putInt(KEY_HIGHSCORE, highscore);         editor.apply();     }  }  this one java:46 code: updateHighscore(score);


I am trying to find an appropriate Stack Exchange site to ask about food. I am particularly interested in the name of a local Swiss cheese. Which is the appropriate site to ask similar questions?


What does /dev/sda3: clean mean on boot?

After upgrading from 14.04 to 16.04, on boot it shows  /dev/sda3: clean, 291272/4292608 files, 480345/18174432 blocks   which makes Ubuntu take some time to load


How can there be weight without movement?

Weight is a force. Force is mass × acceleration.   When I'm standing motionless on the scale, how do I have a weight greater than $0~\mathrm{N}$ when my mass is $90~\mathrm{kg}$ and my acceleration is $0$? $90~\mathrm{kg}$ × $0~\mathrm{m/s^2}$ = $0~\mathrm{N}$  EDIT:  Thanks, @Inquisitive for showing me that the acceleration component of force need not be explicit and allowing me to understand this concept of weight logically and mathematically.  I weigh 200lbs. 9.8m/s^2 is 32.152ft/s^2. 200lbs ÷ 32.152 =  6.22slugs (about 90kg). 90kg × 9.8m/s^2 = 882N (about 200lbs)  My explicit acceleration of 0 is irrelevant to this equation. The magnitude of gravitational acceleration is the correct acceleration to use in this figure. The word "acceleration" caused the misconception that something would be visually observable, namely movement.


On all my pages, I have the logo in the top left corner. As is consistent with most sites online, it links back to the homepage.  However, I need to decide between one of two things:   Have the link apply on the homepage which links to the homepage (itself). This could cause redirection to the page they are on - which is unnecessary, but it would be more consistent. Don't link the icon back to the home page on the home page. This would avoid unnecessary redirection, but causes consistency issues.   Each is as easy to implement as the other.


One-dimensional [Noetherian] UFD is a PID

I am looking for a reference which has a self-contained (elementary, that is, at the "undergraduate algebra level") proof of the the fact that any one-dimensional Noetherian UFD is a PID. Does anyone know such a reference?   (Note: I have looked at the similar questions on this website but don't find them particularly useful).


ArcGIS symmetrical difference in arcgis desktop standard

I have an ArcGis Desktop Standard license and I would like to perform an operation to find out the difference between 2 features classes geometries (Something like symmetrical difference in Arcgis advanced version). Unfortunately symmetrical difference is not available for Arcgis desktop standard. The operation should be performed using Arcpy. Has anyone a tip for me, how to perform such an operation on Arcgis Standard?  Thanks


Unable to install or upgrade after an upgrade to 16.04 with gcc-doc error

I'm kind of new to Ubuntu. A couple of days ago, I upgraded to 16.04 from 14.04. After the upgrade, I can neither install new software nor upgrade OS. When I enter   sudo apt-get upgrade   I get  this is my output:  Reading package lists... Done Building dependency tree        Reading state information... Done Calculating upgrade... Done The following packages will be upgraded:   apt apt-transport-https apt-utils gcc-doc libapt-inst2.0 libapt-pkg5.0  6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 2.011 kB/2.014 kB of archives. After this operation, 6.144 B of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirror.ni.net.tr/ubuntu xenial-updates/main amd64 libapt-pkg5.0 amd64 1.2.12~ubuntu16.04.1 [696 kB] Get:2 http://mirror.ni.net.tr/ubuntu xenial-updates/main amd64 libapt-inst2.0 amd64 1.2.12~ubuntu16.04.1 [55,4 kB] Get:3 http://mirror.ni.net.tr/ubuntu xenial-updates/main amd64 apt amd64 1.2.12~ubuntu16.04.1 [1.038 kB] Get:4 http://mirror.ni.net.tr/ubuntu xenial-updates/main amd64 apt-utils amd64 1.2.12~ubuntu16.04.1 [196 kB] Get:5 http://mirror.ni.net.tr/ubuntu xenial-updates/main amd64 apt-transport-https amd64 1.2.12~ubuntu16.04.1 [25,7 kB] Fetched 2.011 kB in 2s (859 kB/s)          (Reading database ... 325999 files and directories currently installed.) Preparing to unpack .../gcc-doc_4%3a5.3.1-1ubuntu1_amd64.deb ... install-info: No dir file specified; try --help for more information. dpkg: warning: subprocess old pre-removal script returned error exit         status 1 dpkg: trying script from the new package instead ... dpkg: error processing archive /var/cache/apt/archives/gcc-    doc_4%3a5.3.1-1ubuntu1_amd64.deb (--unpack):  there is no script in the new version of the package - giving up install-info: No dir file specified; try --help for more information. dpkg: error while cleaning up: subprocess installed post-installation script returned error exit     status 1 Preparing to unpack .../libapt-pkg5.0_1.2.12~ubuntu16.04.1_amd64.deb     ... Unpacking libapt-pkg5.0:amd64 (1.2.12~ubuntu16.04.1) over     (1.2.10ubuntu1)     ... Processing triggers for libc-bin (2.23-0ubuntu3) ... Errors were encountered while processing:  /var/cache/apt/archives/gcc-doc_4%3a5.3.1-1ubuntu1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   Using the error code below I searched for solutions in the AskUbuntu but couldn't find one that works.   Errors were encountered while processing:  /var/cache/apt/archives/gcc-doc_4%3a5.3.1-1ubuntu1_amd64.deb  E: Sub-process /usr/bin/dpkg returned an error code (1)   I have gcc-doc waiting to be upgraded in the Software Center. When I try to upgrade it on Software Center it takes forever and there is no upgrade. In Synaptics it halts the upgrade because of gcc-doc.  Thanks a lot for the help in advance.


In the Topology by James R Munkres, the definition for basis of a product topology is given as "Collection of all sets of the form $$\prod_{i\epsilon I}^{ }{B_i}$$ where Bi are subset for finitely many i's and Bi equals entire set Xi for remaining indices." Can anyone clarify why this distinction for some i's. Why entire sets than open subsets for remaining i's in defining basis for product topology.


A very nice feature for Stack Overflow (and other Stack Exchange sites) would be to indicate the number of notifications (if any) in the browser tab like seen on Facebook:    Of course that would require automatic update if content has changed. Some kind of 'push-notification' which would be a nice feature as well.


help regarding ubuntu 14 lts installation on windows

I am using Windows 7 Ultimate (32 bit). I downloaded Ubuntu 14 LTS through torrent. But the installation does not go through. I get the error "Can not download the metalink and therefore the ISO". I have tried this 3 times, and each times I get same error.  Kindly suggest me an installation method that does not require internet connection or solve this problem.


What is the different between var myFunc = new Object(function myFunc () {}) and function myFunc () {}?

I didn't know you could create a function using new Object:  var myFunc = new Object(function myFunc () {})   Looking at the console, it seems identical to:  function myFunc () {}   Is there a reason to use new Object to create a function?


I have some abstract class and some classes that inheritance from it. I want to make JUNIT tester for it. I tried use reflect on the sub classes but in this way I cant see the private variables in the absract class. how can I get to, Or maybe I can create instance of the abstract class for this?


"Unable to connect to Upstart" error when installing git-all

I am using 15.04.   So I'm working with git and I installed the standard version. I set up the ssh keys and was able to clone one of my repositories to the correct folder. Everything was working great and then I decided it was a good idea to install more packages. I ran sudo apt-get install git-all. I'm looking at error codes now having to deal with upstart.  start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused No apport report written because the error message indicates its a followup error from a previous failure. dpkg: error processing package runit (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of git-daemon-run:  git-daemon-run depends on runit; however:   Package runit is not configured yet.  dpkg: error processing package git-daemon-run (--configure):  dependency problems - leaving unconfigured Errors were encountered while processing:  runit  git-daemon-run E: Sub-process /usr/bin/dpkg returned an error code (1)   This is what happens when I even update/upgrade my system. At this point all I'm looking to do is be able to install software and update my current software. Is there any way I can potentially reverse this issue or at least correct it?   Edit: Thankfully this issue was solved only a day or two after it happened. The accepted answer worked perfectly and took care of my issue


How do I simply make the whole site use a secure connection?

In Drupal 7, I used the Secure login module to run the site on a secure connection, but it seems it doesn't revert back to http on logout. I would like to just run the whole site as https:// as a simplification.  Is there a simple way to do this without the use of module?


Diffeomorphism & Weyl transformations in the 2D worldsheet of string theory and the existence of conformal gauge

D. Tong's , chapter 5 (), feature the following in introducing the symmetries used in the Faddeev-Popov method:     We have two gauge symmetries: diffeomorphisms and Weyl transformations. We will schematically denote both of these by $\zeta$. The change of the metric under a general gauge transformation is $g \rightarrow g^{\zeta}$. This is shorthand for,   \begin{equation} g_{\alpha \beta} (\sigma) \rightarrow g_{\alpha \beta}^{\zeta} (\sigma)= e^{2\omega (\sigma)} \frac{\partial \sigma^{\gamma}}{\partial \sigma'^{\alpha}} \frac{\partial \sigma^{\delta}}{\partial \sigma'^{\beta}} g_{\gamma \delta} (\sigma) \end{equation}   In two dimensions these gauge symmetries allow us to put the metric into any form that we like — say, $\hat{g}$. This is called the fiducial metric and will represent our choice of gauge fixing.   Is there a proof available that shows that the combined symmetry allows us to "put the metric in any form (locally, of course)?" Is this property restricted to two dimensions?


How do I clear my local working directory in Git?

How can I clear my working directory in Git?


I created a link for a test so my students could record their answers on an answer sheet. It was easier than giving them the full URL to the answer sheet. Now that they have taken the test I don't want anybody other students to access the answer sheet. The problem is I can't delete the link or disable it. How can I solve this problem?


In how many ways can you sit 12 men and 12 women on a bench, so that no 2 women sit next to each other? There are 2 possible ways to sit them: 1 - In the first sit (from the left) sits a man, and then a woman, men, woman ... until the last (24'th) sit that's occupied by a man. 2 - In the first sit (from the left) sits a woman, and then a man, woman, man... until the last (24'th) sit that's occupied by a woman. So my answer was $2\cdot12!\cdot12!$ but apparently it's incorrect beause the book says $13!\cdot12!$ What did I do wrong? My answer looks ok to me :(


Story or theory about us people ultimately becoming god

I read a story on the internet about a theory which said, that some of us can become god ultimately.  People get born, die and get reincarnated. The crux of this story was, that whenever a human dies, he takes some of his knowledge/experience into his next life until he gathered enough to create/rule his own universe and become god.  Does anybody know the original story?


"Tampere Theatre" and "Espoo railway station" are not actually Finnish cities

Doing a company search for Finland: , I'm confronted with rather strange place names:    Correct city names in these cases would be Tampere and Espoo. (See e.g.  if you don't believe me.)  Yes, the bug is probably in some location API that you use. (.) Still, should be fixed, whoever is to blame.


What part of speech is "mountain" in the sentence "Avalanches are dangerous to mountain climbers."?

I'm trying to understand the grammar of this sentence:     Avalanches are dangerous to mountain climbers.   What part of speech is the word mountain?


If someone finds an efficient way (ridiculous or not) to turn NP into P (such as creating multiple universes, saving the one with the correct answer), would we have any good algorithms for encryption, hashing and so on that are still secure? What other algorithms would become way more efficient? Constant-time sorting? Constant-time SHA256-cracking?


I accidentally changed my folder name to "D:". How can I rename it again?

I have accidentally changed my folder name to "D:" and I don't know how. I have tried renaming it using command but no luck with simple rename command in Windows 7. Is there any way to change it?  EDIT: Attached image


Operators - how to motivate they must be linear ? Is this comment a hint?

Is there a way to motivate, retrospectively, that observables must be representable by    linear operators  on a Hilbert space?    Specifically, there seems to be a hint to something in the accepted answer to . There, the author writes that      "[...] and since these commutators satisfy the Jacobi identity, they can be   represented by linear operators on a Hilbert space."    Is this true? If an observable can be written as a commutator (like the three coordinates of angular momentum), does it automatically follow that it corresponds to some linear operator? If yes, how / is this a theorem with a name?   Thanks for further hints, and for all hints so far. Quantum mechanics is still really strange to me, additional motivation for one of the postulates would be edit: is nice.   If you want me to clarify further, please say so.    This question:  seems related, but the answer doesn't help since it starts from the postulates. My question is about possible motivations one could give for one of the postulates.    Revision history part 1: The question was quite general before, it also asked "where did the operators come from" which aready has a very good answer .    For completeness / Revision history part 2: Another approach might be via , that any symmetry operator on a Hilbert space is either linear unitary or antilinear antiunitary (and then one could maybe go from symmetry operators to their generators, and find out that they correspond to observables). Originally the question was also whether this line of argumentation works as well. But probably, this is covered in the historical sources, given  and in the comments.


Cast shatter on the other side of a wall

I was wondering if you could cast shatter on the other side of a wall or on a point that you can't see. The spell description for shatter says that it is cast on a point that you choose. Other than that it does not say anything about how it's cast aside from it erupting from a point, so it seems there is no line involved. Would that also mean I can cast it in a room above me for example without even needing to see it? It says that if you cast an AOE spell it comes onto the near side of that obstruction, is that based on a line from where you cast or where the spell originates?


Use Rolle's Theorem to prove that the equation $x^3 - 3x + b = 0$ has at most one root in the interval $[-1,1]$.  Rolle's Theorem: Suppose $f$ is a continuous real-valued function on $[a,b]$ with $f(a) = f(b)$, and that $f$ is differentiable on $(a,b)$. Then there exists $c$ in $(a,b)$ such that $f'(c) = 0$.  Im not exactly sure what to do because $f(1) = -2 + b$ and $f(-1) = 2 + b$, unless we are allowed to have different $b$ values.


Confusion present perfect and simple past

I have an argument with my girlfriend about this sentence :  "I have not drunk enough water today"  But I would rather say :  "I have not drank enough water today"  What do you think? We're struggling with a grammar book and can't find the answer


How do I choose a camera for macro photography without considering special lens?

For macro photography, how do I choose between a compact camera or a mirrorless interchangeable-lens camera (without considering a lens)?   What indicator(s) should I look for when making the choice?


I have the following PHP query code:  $theirTable = $dbcon->query("SELECT * FROM dogbreed"); $theirRow = $theirTable->fetch_assoc();   I am trying to understand the correct method for displaying all records in my chosen table in a loop. My request is done like so:              <?php                 while ($fow = $theirRow){                     echo $fow['dogtype'];                 }             ?>    This code proves problematic, as it repeats the first response endlessly. So I end up getting a result like dobermandobermandobermandobermandobermancontinously. Not sure what my problem is from a logic standpoint.


Set of all finite subsets of $\mathbb{N}$ the set of all natural numbers is finite or infinite?


How to find JavaScript variable by its name

Is there a way to find JavaScript variable on the page (get it as an object) by its name? Variable name is available as a string constant.


Number of bitstrings with $000$ as substring

I have $F_n$ number of bitstrings that have $000$, How would I prove that for $n \ge 4$ , $a_n = a_{n-1} +a_{n-2}+a_{n-3}+ 2^{n-3}$?  Now there are many  ways to go about this but if I choose starting a $n-3$ bit string and append it with $000$ how would I show that?


Prove that there are infinitely many integers $x$, $y$ and $z$ satisfying the equality   $x^x\times y^y = z^z$   i'm sorry but i have no idea about how to start.


Parsing JSON key and value with a JS for loop

I'm trying to get the keys and values from a JSON array, and use them to construct a table. The JSON array has been obtained correctly with AJAX.  {"CPU":"1.23","NetworkIN":"4.56","NetworkOUT":"0.00","Uptime":"141"}   I want to turn the array above, into a table constructed like this.

     CPU	     1.23

     NetworkIN	     4.56

     NetworkOUT	     0.00

      Uptime	      141

   I've used the following code, which hasn't worked.     This script returns nothing, but the web browser reports a successful JSON retrieval.  I've tried creating the table by doing:  document.getElementById("tbody#resourceTable").innerHTML = "
............"; document.getElementById("resourceTable").innerHTML = "
............";   Neither work.


Suppose I have a base class:  public class A {     public float someValue;      <Access Modifier Here> float SomeValue {         get {             return someValue;         }     } }   And I want to derive from it:  public class B : A {     public float SomeProperty {         get {             return SomeValue;         }     } }   What access modifier would I use if I want to make the SomeValue property only available to the deriving class and not anywhere else?


1972 Schwinn 10 speed missing chain need to know how many links

I just bought a vintage Schwinn Suburban 10 speed bicycle but the chain was missing from the bike. I need to know how many links is generally on this bike. I bought a bike chain that says for 5/6/7/8 speed bike chain. for bikes with 5-8 rear cogs. this bike being a 10 speed has 5 rear cogs and 2 front gears. I counted the links and it has 111 total links and 1 connecting link. I need to know if I need to shorten this chain before installing onto bike, or will it fit just as it is?


Prove that $\lim\limits_{n \to \infty}\frac1n \sum\limits_{k=1}^nn^{1/k}=2$

Prove that $$\lim\limits_{n \to \infty}\frac1n \sum\limits_{k=1}^nn^{1/k}=2$$   How to estimate the sum? I tried to use Stolz's theorem but it is still a similar summation.


One or two possessive apostrophes for two subjects with different possession

'The similarities between Odelle's and Smith’s artistic depictions of women [...]'  OR  'The similarities between Odelle and Smith’s artistic depictions of women [...]'  The point in question regards the apostrophes. One claim is that the first one on Odelle isn't necessary. It seems like this would be true only if Odelle and Smith were collaborating on their art. However, the intended meaning of the sentence is that both subjects, although similar, each have unique treatment of women in their art. The word that throws me off is depictions. Because this word is plural perhaps the first claim is true? This way Odelle and Smith could still have unique depictions but share the compound subject possession. Really scratching my head over this one...


Gaussian/Normal plots from a data distribution in scientific notation

I am new to Tex and trying to plot a gaussian distribution from a set of values. I have the following set of values and would like to plot a normal distribution for them.  2.9954E-09  3.1314E-09  3.1155E-09  3.0940E-09  2.8861E-09  3.0875E-09  2.9685E-09  3.0532E-09  2.9003E-09  3.0931E-09  I have tried using the sample code but can't figue out where to input my values.   \begin{tikzpicture} \begin{axis}[   no markers,    domain=0:6,    samples=10,   ymin=0,   axis lines*=left,    xlabel=$x$,   every axis y label/.style={at=(current axis.above origin),anchor=south},   every axis x label/.style={at=(current axis.right of origin),anchor=west},   height=5cm,    width=11cm,   xtick=\empty,    ytick=\empty,   enlargelimits=false,    clip=false,    axis on top,   grid = major,   hide y axis   ]   \addplot [very thick,cyan!50!black] {gauss(x, 3, 1)};  \pgfmathsetmacro\valueA{gauss(1,3,1)} \pgfmathsetmacro\valueB{gauss(2,3,1)} \draw [gray] (axis cs:1,0) -- (axis cs:1,\valueA)     (axis cs:5,0) -- (axis cs:5,\valueA); \draw [gray] (axis cs:2,0) -- (axis cs:2,\valueB)     (axis cs:4,0) -- (axis cs:4,\valueB); \draw [yshift=1.4cm, latex-latex](axis cs:2, 0) -- node [fill=white] {$0.683$} (axis cs:4, 0); \draw [yshift=0.3cm, latex-latex](axis cs:1, 0) -- node [fill=white] {$0.954$} (axis cs:5, 0);  \node[below] at (axis cs:1, 0)  {$\mu - 2\sigma$};  \node[below] at (axis cs:2, 0)  {$\mu - \sigma$};  \node[below] at (axis cs:3, 0)  {$\mu$};  \end{axis}  \end{tikzpicture}   Your assistance will be highly appreciated. Thanks!


Taskbar icons sometimes stay lit. Is there a fix?

Sometimes when I hover my mouse over an icon on the taskbar it will light up as usual. However occasionally the taskbar icon will stay lit, and sometimes show the icons tooltip. It isn't that big of a deal, but it does annoy me.  The only fix I know of is ending explorer in task manager then restarting it from task manager. I'd like to find a fix that doesn't involve such a disruptive procedure.


Diablo's first and second installments handled death differently, both in terms of exp\gold penalties and also in if you respawned or not or instead had to reload from an earlier point.  In Diablo III what happens when you die?


If $\bar{k}\supseteq R\supseteq k$, then $R$ is a field?

Say $R$ is an integral domain and $k$ is a field.  Is it true that if $\bar{k}\supseteq R\supseteq k$, then $R$ is a field?  I'm not sure how to show this immediately, and it seems to be implied in the textbook, or else they are using some other facts not listed.


If f has a 4-periodic point $x_1$ st, $x_1<f(x_1)<f^2(x_1)<f^3(x_1)$ show $f$ has a periodic point of any order.

Suppose $f: [0,1] \to [0,1]$ has a periodic orbit ${x_1 < x_2 < x_3 < x_4}$ such that $f(x_i)= x_{i+1}$ for $i < 4$ and $f(x_4) = x_1$. Show that $f$ has periodic points of all periods. This problem is in a chapter about Sharkovsky Theorem, thus I think I have to use it. I somehow need to show that $f$ has a point of period 3, and then we are done by Sharkovsky. However, how do we show it has a point of period 3?


Why can't you delete your own recently closed posts?

I posted a  that was closed as off-topic and decided rather than leave it there potentially causing any flame wars, it would be best to simply delete it.  Much to my surprise, I cannot delete the post because:     To allow for possible reopening, you may delete in 2 days   Why should the OP have to wait 2 days to delete their own posts regardless of their closed/open status?  Per the comment below with the FAQ, this is intended behavior, but I'd like to see the OP be able to delete their recently closed posts...


I am using Ubuntu 16.10 and recently I have not been able to connect to internet using Ethernet. The network manager shows device not managed. The WiFi network is working fine.      I've tried the solution from this questionn  with no use.  My /etc/network/interfaces file:  # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback   My /etc/NetworkManager/NetworkManager.conf file:  [main] plugins=ifupdown,keyfile,ofono dns=dnsmasq  [ifupdown] managed=true   Output of nmcli d:  DEVICE  TYPE      STATE      CONNECTION  wlp2s0  wifi      connected  eduroam     enp8s0  ethernet  unmanaged  --          lo      loopback  unmanaged  --


What is the daily reputation cap after the ? I've noticed that since these changes occurred I still get reputation from upvotes (not accepted answers) even after the 200 daily reputation points. Is this normal?


The following code generates the wrong plot:  \documentclass[tikz]{standalone} \usepackage{pgfplots} \begin{document} \begin{tikzpicture}   \begin{axis}[domain = 0:1, samples = 500]     \addplot[color = black]  {pi/((pi/2)+atan(x/sqrt(1-x^2)))};   \end{axis} \end{tikzpicture} \end{document}   Obviously, for x tending to 1 the function tends to 1 and not to 0 as in the plot. See also     What am I doing wrong?


Showing a strange symbol while echoing in php

I am using susbstr in php to limit the charactars. When its output in hebrew, some of the titles got a strange � *The page is UTF-8 Like :      אייל גולן מותק של איש�   $title = substr($row['name'], 0, 39);


Need help with a an unfamiliar mathematical operation

What does (9 over 3) mean? I can't type the exact operation; please see attached. Or can you direct me to a site where this operation is explained?


public class asynctask extends AsyncTask <Void, String, Void > {      String title;         @Override      protected Void doInBackground(Void... params) {          try {          Document document = Jsoup.connect(url).get();          title = document.title();          } catch (IOException e) {              e.printStackTrace();          }          return null;      }       @Override      protected void onPostExecute(Void result) {      TextView campotesto = (TextView) findViewById(R.id.text);      campotesto.setText(title);  } }}   Every time i run this get a nullpointer exception on the settext line and on the line in which i create the asynctask class


I am trying to get some dream jobs, e.g. plumber, I choose build specific floor, and go services, there is no plumber floor available!  Do I need a certain tower height? or a certain populace or something? or are the available floors I can build randomly assigned daily to my list?


I have a simple macro moving data from Teradata to Excel. The process normally takes me 10 minutes to perform manually, however the macro can run for hours sometimes. This is making the macro seems counterproductive. But I still want to give it a chance. Manually, I would just simply paste the sql to teradata, and copy/paste the results to Excel. This takes about 10 mins including the teradata run time. Can someone suggest any ways to improve the performance? I'm still quite new to macros, so using simple language would be very much appreciated. Option Explicit Global glbUN As String Global glbPWD As String Global cnEDW As ADODB.Connection  Sub RefreshData()  Call Open_EDWDatabase DoEvents        Call BuildCode   DoEvents  End Sub  Public Sub Open_EDWDatabase()  Set cnEDW = New ADODB.Connection If glbUN = "" Or glbPWD = "" Then     'Open login screen and center the form for people with 2 monitors     UserForm1.StartUpPosition = 0     UserForm1.Left = Application.Left + (0.5 * Application.Width) - (0.5 * UserForm1.Width)     UserForm1.Top = Application.Top + (0.5 * Application.Height) - (0.5 * UserForm1.Height)     UserForm1.Show 1 End If  cnEDW.ConnectionString = "Driver={Teradata};Persist Security Info=False;User ID=" & glbUN & ";Pwd=" & glbPWD & ";Data Source=teradata_PRD" cnEDW.Open  End Sub Public Sub Close_EDWDatabase()  cnEDW.Close Set cnEDW = Nothing  End Sub  Sub BuildCode()   Dim cmd As ADODB.Command Dim rs As ADODB.Recordset Dim LastLineofSQL As Long Dim LastLineofSQL2 As Long Dim strQry As String Dim strQry2 As String Dim x, y As Long Dim OutputAddress As String Dim iCol As Long  LastLineofSQL = 44  strQry = ""   Set cmd = New ADODB.Command cmd.ActiveConnection = cnEDW cmd.CommandTimeout = 20000000   For x = 1 To LastLineofSQL         strQry = strQry + Sheets("Codes").Cells(x, 1).Value         If InStr(strQry, ";") <> 0 Then         cmd.CommandText = strQry         Set rs = cmd.Execute                             If x = LastLineofSQL Then              Sheets("Data").Range("B2").CopyFromRecordset rs         End If         strQry = ""         DoEvents     Else         If Right$(strQry, 2) <> vbCrLf Then             strQry = strQry + vbCrLf         End If     End If Next x           End Sub


Why is the fundamental group of the circle so non-trivial?

I've recently learned that the fundamental group of the circle is isomorphic to $\mathbb{Z}$. I'm having a hard time picturing loops in $S^1$; can you give some intuition for why that group has such a rich structure?


Can I be a good scientist if I only work in working hours?

I am doing postdoc in developmental biology. Recently I started to leave work at the lab, meaning that I don't work at home anymore. Before I spent many hours at night (at home) analyzing my data; now I spent that time on my side project not related to science. I would like to ask if that kind of schedule is sustainable? Can I be a good scientist if I only work in working hours (now and later when I have a long term position)? Other scientists seem to work both at the lab and at home.


Say I am using an open source library of someone who does not know what they're doing well. (no encapsulation for important members) Really it's a coworker who's code I'm not allowed to modify, nor is he willing to modify it for me.  How can I forcefully access a private member without doing something like rewriting a fake class or modifying the original class?  I've tried things like #define private public, but the class file includes some standard namespace files and this will give a compilation error.  I've tried memory manipulation, but this requires member identification which isn't going to work. (See the following)  #define PX_ACCESS_PRIVATE( pObject, _Member ) ( static_cast< std::size_t >( pObject ) + static_cast< std::size_t >( &( ( decltype( pObject )( nullptr ) )->_Member ) ) )   Any ideas?


I want to know what is the best way to allow user to embed JavaScript code to their own site  I want to allow user to embed code like fb analytic code so that code being execute.I don't want user to embed malicious code like :  alert('foobar') window.location = "http://foobar.com"   I have tried something like following:  (function(window){    delete window.alert;    delete window.location //obviously failed cause that property is not configurable    /*user define code here*/ })(window)


How do I merge these two nodes? I've tried using "Join Selected Nodes" multiple times

I'm trying to create an illustration in Inkscape 1.0.2 and have been trying to combine these two nodes (I moved them away from each other just for the screenshot.) When I go into "edit paths by nodes" I place the nodes on top of of each other, drag select, and click "join selected nodes", but it never merges them. What am I doing wrong?


Prove $\,b\equiv c\pmod{\!m}\Rightarrow \gcd(b,m)=\gcd(c,m)$ i.e. $\gcd(c+km,m) = \gcd(c,m)$

If $ b\equiv c \pmod m $ then prove that $(b,m)=(c,m)$.  My solution so far:     If $b \equiv c \pmod m$ then $c = b - sm$ for some $s$. Now if $d = (b, m)$ then $ d |  (b + s m)$.


Should the noun after "any" be singular or plural?

I always thought with "any" I should use the plural, but on the internet I can find both:   It can be found in any book. It can be found in any books Do you have any books? It can be said in any language.  This can be understood by anyone.  It has been used in any form.   So, what's correct?  Is there any rule?


Sometime after the 27th of last month sharepoint designer no longer lets me connect to SPO. It prompts me for my login and password, type it in and prompts it again. I installed SPD on another computer and same thing happens.


How to quantify the "resolution" of "Fractional factorial design"?

The Design Expert software gives me the picture of resolution for the fractional factorial design, in which Resolution III, IV and V are most critical.  But can I ask, how can I determine the resolution by myself, based on the number of factors?


How Much is Adobe Paying For The Tag Icon Image?


Is there a reason why every meson and baryon has an integer electric charge?  For example, why is there no meson existing of two up quarks, giving a charge of $\frac43$?


Some examples of functions that are their own inverse?

I'm looking for the name and some examples of functions $f$ with the following property  $$f\circ f=I$$  where $I$ is the identity. This means that $f=f^{-1}$; some examples are the functions $f(n)=-n$ and $g(n)=1/n$. What are other examples of functions that have this property and what is so special about them?


Filter Search Result by current site language

I am using the core search module provided by drupal 8.2. I have the 'English' & 'French' language enable on the site. I want the search result to be filtered by the site language.How can i do it?  FYI: i am using the core search module.


The following code overlaps equations:    $$U(x) =      \begin{cases}     - \frac{1}{\lambda} e^{-\lambda x} & \text{gdy}  \lambda \neq 1     \\     \ln x & \text{gdy}  \lambda =1      \end{cases}  $$     with following body:  \documentclass[12pt]{report} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage{amsmath,amssymb,amsfonts} \usepackage{txfonts}  %\usepackage[polish]{babel} \setlength{\parindent}{0pt}  \renewcommand{\chaptername}{Rozdział} \renewcommand{\contentsname}{Spis treści} \renewcommand{\figurename}{Rys.} \renewcommand{\tablename}{Tab.} \renewcommand{\listfigurename}{Spis rysunków} \renewcommand{\listtablename}{Spis tabel} \renewcommand{\bibname}{Bibliografia}  \pagestyle{headings}  \setlength{\textwidth}{14cm} \setlength{\textheight}{20cm}  \newtheorem{definition}{Definicja} % przykład nowego środowiska  \newtheorem{example}{Przykład}[chapter] % przykład nowego środowiska  \newtheorem{corollary}{Wniosek}[chapter] % przykład nowego środowiska     \begin{document}   What is wrong with this document as it displays properly with another body?


Why can't we say that the probability of the true parameter being within a 90% confidence interval is 90%?

I've been reading a bit about the confidence intervals on Wikipedia. The section on  says:  A 95% confidence level does not mean that for a given realized interval there is a 95% probability that the population parameter lies within the interval (i.e., a 95% probability that the interval covers the population parameter). According to the strict frequentist interpretation, once an interval is calculated, this interval either covers the parameter value or it does not; it is no longer a matter of probability. The 95% probability relates to the reliability of the estimation procedure, not to a specific calculated interval.  I read through an  making the same point. It concludes by saying:  The nature of confidence intervals is that they can encompass the true value with some chance. In our example, a confident interval tends to encompass the true value in 90% of trials. But that does not mean that for some specific interval, there is a 90% chance of finding the true value within the interval.  But I really don't understand the point of this argument. What is the difference between saying "there is a 90% probability that the true value is within our interval" and "there is a 90% probability that our interval included the true value"? Is it just a philosophical issue or can it really lead to incorrect conclusions?


I am a newbie to Drupal, and I really don't understand the difference between sub-theme and base theme. Why can't I directly edit the base theme?  I am working on a website which is live and has bartik as default theme. I don't know where to start.


The control strip of my touch bar is not working anymore. Even after a full restart or start in safe mode.  There's nothing on the 'screen'. (Neither in Mac or Windows via Bootcamp) It doesn't respond to taps. In keyboard preferences the usual touchbar related properties are gone as well, as if my Mac doesn't even have a touch bar.  The Touch ID part (fingerprint) works fine though...  Any steps I can take to diagnose this?


How can I access recovery mode, Ubuntu 14.04 LTS?

I managed to delete my only user from sudoers group, and now I can't do any administrative tasks anymore. I have been looking for an answer hours, and I guess that part of the problem is solved. But the real problem is that I can't access GRUB, where I could choose recovery mode. I have read many topics about the same problem, but no answer has worked for me.  When I try to access GRUB hitting/holding shift, nothing related to GRUB emerges. The same goes with ESC. What is more, after that I get a blue box saying "Default boot missing or boot failed. Insert recovery Media and hit any key. Then select 'boot manager' to choose a new boot device or to boot recovery media". After that it takes me to boot option menu. I have an option there "Unknown Device" which is supposed to be my hard drive. When I choose it, it takes me back to my login screen.  So what is wrong with this? It takes me through this same path even without pressing any button during start up.   I installed this Linux Ubuntu 14.04 LTS via USB device Acer Aspire E5-573G Intel Core i5-4210U NVIDIA GeForce 940M 256 GB SSD


Science fiction short story taking place in a universe with a higher gravitational constant

I read this story online, maybe 2 years ago. It was about a group of people (the size of a village IIRC) who somehow got transported to another universe, where the gravitational constant was orders of magnitude higher than ours.  The funky consequences of this were explored in the story -- I remember a scene where someone put their hand near a local lifeform to feel its gravitational field. Stars were much smaller and shorter lived due to the dramatically increased gravity. The people lived on a "lifeboat" in orbit around a star, which IIRC was a few km across and had a lifespan of a few years. A major plot point was the fact that they needed to move to another star, because theirs was nearing the end of its lifespan. In the end, they succeed to do just this.


How do I disable sleep on closing the lid

I want to transform an old laptop with a broken screen into a server.   More specifically, I want to disable the behaviour that the computer enters into sleep stand when the lid is closed.  The question elsewhere on SO () does not answer to my specific question.  My question is: which package do I have to remove for preventing the computer to enter into sleep stand when closing the lid.


I am not very computer literate; I get by, but barely. I have been using google earth for several years to plot ancient river channels and old mining claims from MRDS on Google Earth. I have (used to have) pretty extensive maps drawn from all sorts of sources- until google earth crashed, and I lost several hundreds of hours of work- in several instances (I am a slow learner about GE). So I "get" GE (except for the crashing part) and I had multiple layers on it until it ALL went away.   I looked around and it sounds like QGIS may work better, but I have spent a lot of hours trying to figure out how to get QGIS started- despite spending hours looking at "QGIS 101" videos on Youtube. I am very frustrated as this is a GIS terminology is a foreign language to me and apparently the conventions and terminology are foreign to me.   What I am looking to do is to simply add several layers onto either a topo and a satellite image. That's it. It would be nice if the program was set up simply like GE, but would have more defined layers (which I am sure EVERY program has).   I have spent hours trying to get appropriate maps loaded and I am being confounded with too many options and terminology in the windows that I don't understand. I have tried to follow several videos online, and the screens shown on the videos are different from the ones I am viewing. I feel I am spending way too much time, just figuring out how to set up a simple program.   Rather than waste hours of my time trying unsuccessfully to set this up, is there any "service", where a person can be "coached" on how to set up a program like QGIS? My needs are simple, and I assume as soon as I get the program set up, I can start using it, but I am having issues setting it up, despite reading and viewing tons of stuff.   I am stuck on how to download topo maps and how to know about and to get the plugins that I need to get started. It would be nice to find someone to just walk me through the set up with what I need to get started, if QGIS is my answer. Is there anywhere I can go to get this help?


Starting Debian mono application (that has a GUI) AFTER boot is done

I've been trying to figure out how to start an application after Debian (Wheezy) is done booting up and on an LXDE desktop session. It is a mono C# application. The script I have is simply  mono /home/myapp/myapp.exe   I then added this script to init.d and from there did update-rc.d add myapp. This did not work because it would return  (myapp:4820): Gtk-WARNING **: cannot open display:   As apparently not everything is yet set up to be able to use a GTK application. This is why I'd like to start the application AFTER everything has been set up. I've also tried adding it to crontab (-e) by adding this line:  @reboot /etc/init.d/myapp.sh   I've also added   #! /bin/sh ### BEGIN INIT INFO # Provides: beheertool # Should-Start: console-screen dbus network-manager # Required-Start: $all # Required-Stop: $remote_fs  # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: start beheertool ### END INIT INFO #   To the original script to perhaps make it launch later (with the Required-start: $all part).  None of these have worked, any help would greatly be appreciated.  EDIT 1: The application is a C# Mono application that uses GTK-sharp.  The environment itself boots to a GUI (LXDE) without requiring login. When normally running the application outside of the boot script X seems to be running (when checked with pidof X). Adding /usr/bin/startX to the script changed nothing, however.


Tenure and tenure denial rates by universities

Is there a way or website to find the tenure and tenure denial rates by universities and departments? I heard from some faculty that the tenure rate at X university is Y%, so I wonder if there is a way to find the statistics for all universities.


What to explore in math after 12th class(india)

I cannot express enough how much i love math and physics.Whatever i have learnt till now in my syllabus i have trued visualising and finding new ways to solve same problems.I want to contribute something to this field as well as computer science and physics sometime in the future. Please guide me in what to learn further which might serve as a good next step for my goal. Also:3blue1brown has inspired me a lot in exploring the depths of what was part of my syllabus and a bit more(jee preparation)


Why are there 2 packages for some applications (e.g. Chromium) in Ubuntu Software?

When I search for Chromium in Ubuntu Software on Ubuntu 16.04, There are 2 options.    Which one should I select?    The same can be observed with , ,  etc.


I am a beginner at electronics.  I don't have many tools and stuff, so I am forced to solder by hand.   I don't have a pcb to solder on, so I usually just solder the wires together, but it's really difficult without a holder.  Is there an easier way to do this? If not, is there a substitute for a wire holder?  Any help would be appreciated.


How do I assign a variable to be used outside of the loop?

I'm really new to python or programming in general.   I am trying to make a function that draws input from the user and check if it is an integer.   However, after checking that the input is an integer, I am unable to use the variable outside of the loop, with an error message shown below:  python3.7 new.py  How much is your balance in your account? >123 Traceback (most recent call last): File "new.py", line 14, in <module> print(f"Thank you, your account balance is {b}.") NameError: name 'b' is not defined    def inputintegertest():     while True:         try:             a = int(input(">"))             b = "${:.2f}".format(a)             break         except ValueError:             print("Please enter a number.")  print("How much is your balance in your account?")  inputintegertest()  print(f"Thank you, your account balance is {b}.")


Are there any simple rules for choosing the definite vs. indefinite (vs. none) article?

I can’t for the life of me figure out where to use a and where to use the — and where there is no article at all. Is there a simple rule of thumb to memorize?   The standard rule you always hear:     “If a person knows which item you are talking about then use "the"   . . . doesn’t clear things up for me, as I have no idea whether or not they know.


How to not reinstall packages when installing a bunch of package?

I saved the pacman -Qqe output from a previous arch install and now I'm using this list to install all the packages I had at once. However some of them are already installed and it wants to reinstall them which I fear will break things. Is there a pacman parameter to ignore the packages that are already installed? Or at least not to reinstall them but just update.


Travel to Ireland (Dublin) with U.K. Visitor visa

I am an Indian Citizan holding a UK tourist visa (short stay, multi entry) issued from Singapore. I wish to travel to Dublin . Would I be entitled to enter Ireland.  Note: I will first enter U.K.  My visa doesn't have stamp of BIVS @british Irish visa scheme  Appreciate your response If anyone had experienced similar situation.


UK Standard Visitor visa refused (V3.6(b), deception on prior convictions, 10 year ban), can I reapply immediately?

I'm a US permanent resident (30+ years) and applied for a UK visitor visa. There was a question concerning whether I had ever been "convicted" of a crime. I plead guilty to a crime in 1997 (white collar) and adjudication was withheld so I answered "no". My visa was denied because I answered NO and they saw my record when they ran my prints (I traveled without a problem to the UK in 2000).    Should I reapply and explain, or wait a while, or forget about it because they'll never approve it?


Converse of Schur's lemma for Lie algebras.

The statement of Schur's lema for Lie algebras says that.  Let $(\rho,\mathcal{V})$ is a complex irreducible finite-dimensional representation of a Lie algebra $\mathfrak{g}$. If $T$ conmmutes with $\rho$, then exists $k\in\mathbb{C}$ such that $T = k\operatorname{Id}_{\mathcal{V}}$.  Is the reciprocal satisfied? That is, if the only operators that commute with the representation $\rho$ are multiples of $\operatorname{Id}_{\mathcal{V}}$, then the representation is irreducible?


How can I create my own team in Pokemon Go. Can I join any other team? If yes, how?  I've been playing for the last 4 days and I am not able to understand the team feature completely.


I tried to use xrandr to set 1680x1050 as a new mode to VGA output, but it says:  sudo xrandr --addmode VGA-0 1680 X Error of failed request:  BadMatch (invalid parameter attributes) Major opcode of failed request:  140 (RANDR) Minor opcode of failed request:  18 (RRAddOutputMode) Serial number of failed request:  35 Current serial number in output stream:  36


What is the name of the command (function) that runs after a command has failed?

When run a command, if the command is not present, then some information regarding the failure of the command is displayed.  I am trying to take the information about that failed command as input to my script, which has to run automatically whenever the command fails.  Whenever the command fails the $? value would be 127. I have to catch this failed event and run my commands there.


Uniformly continuous function with unbounded variation

It is known that if $f(x):R\to R$ is absolutely continuous on $[a,b]$, then it has bouded variation on $[a,b]$. Is it also true for uniformly continuous functions? And if not then what is an example?


Can I get advantage against a monster when our characters are engaging it from two sides?

Yesterday I played a game in a new group.  The Fighter (F) goes in and attacks the monster (M). Then it's my turn and I place my Rogue (R) opposite to the Fighter in regards to the monster. I was looking for the advantage in order to make a Sneak Attack, as I recall very vividly that such positioning gives advantage. So in the end our position looked like this:  +---+---+---+   F = Fighter |   | F |   |   M = Monster +---+---+---+   R = Rogue |   | M |   | +---+---+---+ |   | R |   | +---+---+---+   My DM ruled that I didn't have advantage because such rule doesn't exist in D&D 5th Edition. He however granted me my Sneak Attack because the Sneak Attack itself allows me to make such a hit in that situation.  I was a bit troubled because in every other group I played with, such a rule was accepted, and intensively used, even in groups without any Rogue. I checked the PHB and couldn't see any reference to this. So maybe such rule exist in the DMG?  So my question is: does such a rule for advantage exist? If yes, where is it defined? If not, does that idea of a rule come from any previous versions?


Is $\mathbb Q(\sqrt 2) \times \mathbb Q(\sqrt 3)=\mathbb Q(\sqrt 2,\sqrt 3)$ if I prove $\sqrt 2,\sqrt 3$ are L.I. over $\mathbb Q$?

I proved that $\{1,\sqrt 2\}$ and $\{1,\sqrt 3\}$ are respective bases of $\mathbb Q(\sqrt 2)$ and $\mathbb Q(\sqrt 3)$ over $\mathbb Q$. I want to show in some sense that since $\sqrt 2,\sqrt 3$ are Linearly Independent over $\mathbb Q$, that the product of the bases $\{1,\sqrt 2\}$ and $\{1,\sqrt 3\} =\{1,\sqrt 2,\sqrt 3, \sqrt 6\}$ is exactly a base $\mathbb Q(\sqrt 2,\sqrt 3)$  Can this make sense?


I made a sub-theme of the admin theme "Seven" and called it Seven2 Because I wanted to customize the node-edit-form.twig.html file. That works.  My next step, I want to add a block I made in a custom module, to that node-edit-form.twig.html. There are several ways of doing that, and one I chose is preprocess page (or node for that matter), where I want to load my block.  The preprocess functions can either be in Seven2 .theme file or the custommodule.module file.  When I execute:  $block = \Drupal\block\Entity\Block::load('checkmark_block');   The $block is NULL when I do kint($block). Its like it can't find the damned block!! I have spent like 4 hours trying to make this thing work, in different ways, but no matter what, I can't load that block in my preprocess function. I don't know why but I think it's because it's an admin theme? Or... please help.  One of the blocks located in custommodule/src/Plugin/Block:  <?php namespace Drupal\custommodule\Plugin\Block; use Drupal\Core\Block\BlockBase;  /**  * Provides a 'CheckMark' Block.  *  * @Block(  *   id = "checkmark_block",  *   admin_label = @Translation("CheckMark block"),  *   category = @Translation("CheckMarks"),  * )  */ class CheckMark extends BlockBase {    /**    * {@inheritdoc}    */   public function build() {     $markup = 'Test test';      $build = array(       '#type' => 'markup',       '#markup' => $markup,       '#cache' => array('max-age' => 0),     );      return $build;   }  }


Getting shapefile of river from OpenStreetMap?

I do not want to download the whole map of an area. I just want rivers and other waterbodies present in an area in shapefiles so that I can use them in QGIS. I tried geofabrik but it is giving whole map and that also of full country while i need data of a city. Right now I am trying JOSM. will update you when it will works.


How to reinstall Windows Store if it's completely missing in Windows 10

about a year ago, I removed a little too many apps from my Computer with Remove-AppxPackage. Since then my Windows Store is missing.  I know I could reinstall the Windows Store by using this command:  Get-AppXPackage *WindowsStore* -AllUsers | Foreach {    Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" }   The thing is, It doesn't even find the package at all, so Get-AppxPackage *Store* -AllUsers returns nothing at all.  How can I get my Windows Store back, without reinstalling / updating my OS? (by reinstall I mean a completely new blank installation, by updating an update to a newer version like 1809)  My OS is Windows 10 Version 10.0.14393.0  Note: I also tried the usual stuff like:   sfc /scannow dism /online /cleanup-image /RestoreHealth   but that also did not work. Any help is appreciated!


Show that the following equation has exactly $n$ real roots.

If $0<a_1< \cdots < a_n$, show that the following equation has exactly $n$ real roots.   $$ \frac{a_1}{a_1-x}+\frac{a_2}{a_2-x}+ \frac{a_3}{a_3-x}+ \cdots + \frac {a_n}{a_n - x} = 2015$$   My working: The LHS easily becomes $$a_1(a_2-x)...(a_n-x)+a_2(a_1-x)(a_3-x)...(a_nx)+.....+a_n(a_1-x)(a_2-x)...(a_{n-1} -x)$$ This shows it has $n$ roots  But what about exactly and real?


Remove all occurrences of unicode U+2009 in my document

I have .tex document into which "thinspace" was inserted, most likely while copying text from another document. I am currently using \DeclareUnicodeCharacter{2009}{\,} to skip over this occurrence. Is it possible to search and delete this character from the document itself as it is not required. I am using a Linux Mint 20.1, pdflatex and Texmaker as the frontend.


QGIS atlas: make only current polygon visible

I have a layer with lots of polygons and want an atlas that goes through each polygon. However, the atlas page should only show the current polygon and not its neighbors. In the following image only the rectangle with the red lines in it should be visible and the others should be invisible.     Any ideas how to do that?


Is it possible to use a local variable as a "shortcut" to a global variable?

I have searched long and far for a way to have a function change a given global variable using the function's arguments and local variables inside as the "shortcut" to it. Because I can't find the right words to explain this well, I will be adding 2 scripts bellow, the first being what it looks like and the second being what it should act like.  Note: The examples given are meant to replace all matching characters/text of a location to a new value.  Example 1:  function ReplaceAll(loc,old,new_text) {     while (loc.includes(old)) {         var new1 = loc.replace(old,new_text);     }     loc = new1; }   This script [Example 1] is how I wish to set up my script yet it does not work because it only catches the value of the location and not setting the original value when changed.    Example 2:  var example = "What is? Where is? Why is? Who is?"; ReplaceAll(example,"is","was"); console.log(example);   Preferred Output: "What was? Where was? Why was? Who was?"  This script [Example 2] is the effect that I am attempting to achieve to be able to make this and other scripts of mine work.    PS: I am not trying to ask for people to do the work for me thus going against the rules of Stack Overflow, I just want to know, if possible, how this can be done.  Thank you.  ☺


Prove that any graph G with an even number of vertices has two vertices with an even number of common neighbour

Prove that any graph G with an even number of vertices has two vertices with an even number of common neighbors


Can any one explain me what is the use of derivatives in real life. When and where we use derivative, i know it can be used to find rate of change but why?. My logic was in  real life most of the things we do are not linear functions and derivatives helps to make a real life functions into linear.  eg converting parabola into a linear function $x^{2}\rightarrow 2x$  but then i find this; derivation of $\sin{x}\rightarrow \cos{x}$  why we cant use $\sin{x}$ itself to solve the equation. whats the purpose of using its derivative $\cos{x}$. Please forgive me if i have asked a stupid questions, i want to improve my fundamentals in calculus.


Debian 9 stretch-backports signature couldn't be verified

I'm  trying to install certbot on my Debian 9 server on Google compute engine VM.  Here's what I have done so far: To add backports repository, I have edit the sources.list as:  sudo nano /etc/apt/sources.list   Then add this line at the very bottom of the file:  deb http://ftp.debian.org/debian stretch-backports main   After that when I run this command:  sudo apt update   it return this error:     Reading package lists... Done      W: GPG error:  stretch-backports      InRelease: The following signatures couldn't  be verified because the   public key is not available: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY   7638D0442B90D010       E: The repository '   stretch-backports InRelease' is not signed.       N: Updating from such a   repository can't be done securely, and is therefore disabled by   default. N: See apt-secure(8) manpage for repository creation and user   configuration details.


How do I remove my name from a post, in accordance with CC BY-SA?

The Creative Commons FAQ      Third, if the licensor does not like how the material has been modified or used, CC licenses require that the licensee remove the attribution information upon request [...]  in 4.0, this also applies to the unmodified work.   How do I remove / dissociate my name from a post, in accordance with this clause?  Also, what are the effects of having my post dissociated from my account?  Finally, how will dissociation requests be handled for posts licensed under earlier versions of the license, which do not require dissociation upon request in all cases?


Cannot change brightness (Ubuntu 16.04 LTS, Unity)

I'm new to Linux systems in general (I'm using Ubuntu 16.04 LTS) and I'm having difficulty in changing the brightness of my notebook. When I use the Fn+F8 or Fn+F9 the brightness bar shows up but there is no change in the actual brightness of the screen. I tried every method described in this post () to no success. Installing and using the xbacklight has no effect, same for editing the brightness file in the "intel_backlight" file. Anyone knows how to solve this?


The maximum amount of checkers placed on an $m \times n$ checkerboard with no rectangles formed

What is the maximum amount of checkers you can place on an $m \times n$ checkerboard such that no four checkers make a rectangle parallel to the rows and columns? Does there exist a closed form for the relationship between the number of checkers and the size of the checkerboard?  There are really too many cases and one specific solution for 4 checkers is below. The number of possible rectangles is given by the number of ways to choose two columns times the number of ways to choose two rows. i.e.: $$\frac{nm(n-1)(m-1)}{4}$$ The number of ways to put $4$ checkers on the board is: $${nm}\choose{4}$$ Thus, the number of ways to put $4$ checkers on a board without rectangles is just: $${{nm}\choose{4}} - \frac{nm(n-1)(m-1)}{4}$$ This does not answer your question regarding $k$ checkers on the board  So, what is the generalization of this question? And does there exist a closed form? And how to apply some counting skills in this problem and maybe apply some knowledge in the combinatorics design like my duplicated questions?


Z-test or t-test: Which is more appropriate for this situation?

We are monitoring the performance of a network using several KPI's. We want to detect if there are any anomalies for a KPI X within last hour for which we obtained (usually) 30 values from the last hour. We don't know the population standard deviation BUT we can calculate the standard deviation for the KPI X from day zero (when the monitoring was first started).   My first question is if I calculate the standard deviation for the KPI X from day zero will that be the population's standard deviation ?  And secondly which test is more reliable and appropriate for a situation like this ? I am thinking like t-test is the way to go but sometimes we can 600 values per hour so I am not sure if t-test is suitable for such a large amount of values.  EDIT:   exists here but I would like to get your opinions about this situation specifically.


When I tried usepackage{stix} I got an error .sty not found. Assumed stix was not installed with TeX Live when I downloaded it last year. I use TeX Live 2012 on Windows (Vista) with pdfLaTeX.   So now my first try at installing a font. I got the zip from CTAN and put the resulting "stix" folder in my C:\program files\texlive\texmf-local\ directory. Then basic installation: texhash, updmap, texhash. Still same error, no stix.sty.  I think my install failed. Either the "stix" folder is in the wrong place/format (but I'm the only user+admin on this pc) or updmap --enable Map=stix.map went wrong. Any ideas on how to solve this problem? I would like to at least be able to install a font from CTAN but not spend hours reading expert font/texlive documentation ...


What's the difference between work in thermodynamics and mechanics?

What is the difference between  in thermodynamics and  in mechanics?


Let $\xi$ is $U(0, 1)$, $\nu$ is $U(0, 1)$. What type of distribution is $g = \frac{\xi}{\nu}$? I have build logarithm of $g$, here is the plot but it seems like it is not normal distribution:


Difference between LiveCD, LiveUSB, full-install, and persistence?

I am currently running Ubuntu as a guest vm on a Win 7 host via VirtualBox, but I would like to have a portable version of Ubuntu when I am not using my laptop.   I am unsure as to the difference between the following:  1)LiveCD with persistence; 2)LiveCD without persistence; 3)LiveUSB with persistence; 4)LiveUSB without persistence; 5)Full-install.   I have a USB flash drive (32GB), and I also have empty DVDs lying around. I know that persistence means that data can be saved, but I am unsure as to which option to choose. What is the difference between a LiveUSB and a full-install on a USB thumbdrive and why would I want to pick one over the other? Thanks for any help.


There is a camera technique which is fairly common now but was rather unusual and subtly effective when it was first used. Of course I don't know the name of it or how it is done (hence my question).  It is usually used with one or two persons in focus in the foreground against a fairly deep background. In the camera move, the background begins a zoom in, but the foreground figures maintain their relative positions within the frame. It has a subtle effect of intensifying a scene, roughly a visual equivalent of "turning up the volume".  I recall reading sometime ago that it involves shifting the picture plane of the camera while at the same time maintaining focus on the foreground but I am likely misremembering or didn't completely understand it. There is no CGI or anything like that involved – it is purely mechanical and optical.  Anyone know what this technique is called, how it is done, who invented or popularized it and also I guess, if it can be achieved with the digital cameras now in wide use?


If an ArrayList is passed to a constructor of an object, is it passed by reference or value?

Basically same question as above, if an ArrayList is passed to a constructor of an object, is it passed by reference or value?  In the example below, once I create the TickHistory object and pass an arraylist to it, if I later change the arraylist that I passed, will it also change in the TickHistory object instance?  public class TickHistory {     List<Tick> ticks;      String period;     String name;     Integer year;       public TickHistory(String name, String period, Integer year, List<Tick> ticks){         this.name=name;         this.period=period;         this.year=year;         this.ticks=ticks;     }  }