I've got two settlements on the go that I'm paying attention to - Sanctuary and the Starlight Drive In. Both of these settlements have radio towers and beds and all resources in the green however they appear to have stopped growing at 10 people in each settlement even though happiness is above 80 and I've got 15+ beds at each location.  What is the maximum number of people that will join a settlement?


How to smooth a curved surface without it looking like a paper plate?

I have always had issues with curved surfaces, like the foot of a wine glass, for instance, but I have found that with smoothing them, it makes them to look like either a pancake or a paperplate, here is a fine example of this cylinder that I used the subserf modifier on:    It's just a simple cylinder:   And when I subsurf it, it makes like these ridges in the middles of what would be the tris.


How can I use custom fonts on a website?

In order for my website to look good I need to use a custom font, specifically, Thonburi-Bold. The problem is - the font does not get displayed unless the user has installed it. It also isn't displayed in firefox.  Is there a workaround to this problem?


"/usr/sbin/grub-probe: error: failed to get canonical path of `'."" when using grub customizer

I updated to Ubuntu 14.04.1 and now I can't get into Grub Customizer. I am getting the following errors:  chroot '/media/grub-customizer_recovery_root_mountpoint' grub-mkconfig couldn't be executed successfully. error message:  Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.13.0-34-generic Found initrd image: /boot/initrd.img-3.13.0-34-generic Found linux image: /boot/vmlinuz-3.2.0-67-generic Found initrd image: /boot/initrd.img-3.2.0-67-generic Found linux image: /boot/vmlinuz-3.0.0-32-generic Found initrd image: /boot/initrd.img-3.0.0-32-generic Found linux image: /boot/vmlinuz-2.6.38-10-generic Found initrd image: /boot/initrd.img-2.6.38-10-generic Found linux image: /boot/vmlinuz-2.6.38-7-generic Found initrd image: /boot/initrd.img-2.6.38-7-generic cat: /video.lst: No such file or directory /usr/sbin/grub-probe: error: failed to get canonical path of `'. No path or device is specified. Usage: grub-probe [OPTION...] [OPTION]... [PATH|DEVICE] Try 'grub-probe --help' or 'grub-probe --usage' for more information.   Any ideas or help?


How to change default rectangle border thickness in MS Paint

When I open MS Paint (Win 8), the default border thickness is set to the thickness depicted in the picture.    Is there a way to change the default rectangle border thickness?


I am using a Dell Inspiron 1525 running Ubuntu 14.04 LTS.I am getting a problem in running the android emulator on genymotion. Genymotion suggested to run it through oracle VM Virtualbox. When I did the above it showed an error message:-     Failed to open a session for the virtual machine Google Nexus 7 2013 - 5.1.0 - API 22 - 1200x1920.   VT-x is not available. (VERR_VMX_NO_VMX).   What is a possible solution to this?


"cu" for "see you", "ic" for "I see" - what do you call those?

What do you call the sequences of letters that produce phrases when read letter by letter? Examples include "CU" for "see you", "IC" for "I see" and so on.


why is beveling working differently on these objects?

so i have these two objects, which are structurally basically the same. If i select the first object, tab into edit mode, select the highlighted edgeloops (shown on the left), and add a bevel with Ctrl + b with the shown settings, I get the result on the right. Now, if i tab out of edit mode, select the second object, and apply the same procedure with the same settings, I get the result on the right, as you can see, the results are different. Now, in object mode, if I had selected the second object first and first object second, hit Ctrl + J to join them, tab into edit mode, and apply the procedure again, I would've gotten this in this case, the result is similar to that of the first object. If i select the second object first and first object second when joining the objects, the result is reversed:     Any idea why this is? Both of them are simple objects made using the same procedure.  thanks!


PCA method finds the covariance between data vectors, where each data vector includes observations of different variables (dimensions). So if the data matrix has variables in columns and observations in rows, then we find the covariance of rows. Right? Does it make sense to do PCA by finding the covariance between different dimensions instead? In the above dataset representation, it means to find covraince between columns. I am asking this, because I found in some standard libraries, the algorithm performs the latter instead.


Why is the tension at the bottom of a rope hanging from a ceiling zero?

From some MIT resources: Because there is no more rope below the bottom, there is no mass below this point, and therefore no weight pointing down. Therefore tension at the bottom end of the rope is zero - there is no force exerted at the bottom end Why the mass of that point is being discarded as if the point itself wouldn't count? The argument "no mass below this point" seems sketchy as when we draw FBD we look at the forces on the object/point. Assuming that point has mass $ dM $, wouldn't the tension at the bottom be $ T - dM g = dM a $ and because the rope has no acceleration: $ T = dM $g? i.e. very small but not zero.


Passing a C# Dictionary as a ref parameter

I recently saw a piece of C# code that utilized the ref keyword for Dictionary parameter in a method (example below). When I came across this, I really couldn't understand why someone would use a ref here. A C# Dictionary is a reference type. There shouldn't be any need for one to pass it as a reference. I'd like to think I'm right here, but this  came from a source that I thought was reputable. For reference, the lines I'm referring to are in the getMiddlePoint method in the 'C# - IcoSphere' section. Now on top of this being straight from a wiki.unity3d page, I also found it being adjusted and repeated in several other places. Probably a copy and paste issue but still. Am I missing something? Is there a reason to use the ref keyword for a C# Dictionary parameter? public static class WhyTheRef {     public static void MainMethod()     {         Dictionary<long, int> testDictionary = new Dictionary<long, int>();          WeirdParamMethod(ref testDictionary);     }      public static void WeirdParamMethod(ref Dictionary<long, int> dictionaryParam)     {         // do something with dictionaryParam     } }


Are editors notified of @comment-replies?

According to , they should be but it's buggy.


Frequently there are questions about, how to manually install a font, what very often means “Type1 font”. So I thought, we should write a general answer about the several aspects to regard.  Beside the usual approach for  it seems, that for fonts further steps are necessary. What are these steps? Or better:  How to manually install fonts and their associated support files in TeX distributions?


Different output after creating void method to for abstraction

I'm doing this problem from LeetCode:  My original answer is as follows, which works well and passes all tests. class Solution {     public ListNode reverseKGroup(ListNode head, int k) {         if (head == null) return null;         int length = 0;         ListNode tmp = head;         // use tmp to traverse the linkedlist to count the number of nodes         while (tmp != null) {             tmp = tmp.next;             length++;         }         // times indicates the number of time we need to traverse         int times = length / k;         ListNode dummy = new ListNode(0, head);         ListNode before = dummy, cur = head;                  for (int i = 0; i < times; i++) {             // h represents the head of the current group before traversed             ListNode h = cur;             ListNode prev = null;             for (int j = 0; j < k; j++) {                 // traverse list in the group of k nodes                 ListNode tmp1 = cur.next;                 cur.next = prev;                 prev = cur;                 cur = tmp1;             }             // connect last traversed group's tail to current traversed group's head             before.next = prev;             before = h;         }         before.next = cur;         return dummy.next;     } }  However, when I was trying to create a void method as reverse(ListNode cur, ListNode before, int k) and then copy and paste the entire part for reverse in the for loop directly to the void method as follows, I couldn't get the expected output anymore.         for (int i = 0; i < times; i++) {             reverse(cur, before, k);         }         before.next = cur;         return dummy.next;     }          private void reverse(ListNode cur, ListNode before, int k) {         ListNode h = cur;         ListNode prev = null;         for (int j = 0; j < k; j++) {             ListNode tmp1 = cur.next;             cur.next = prev;             prev = cur;             cur = tmp1;         }         before.next = prev;         before = h;     }  The compiler yields with java.lang.NullPointerException when I ran the test case: [1, 2, 3, 4, 5], k = 2 I also tried to figure it out by tracking the entire process in IntelliJ with the debugger. My intuition is that it fails because of the pass-by-value property in Java, but I was not sure and couldn't find a clear reason to persuade myself. Any answer will be appreciated!


This is not a question about traditional nuclear power plants vs the thorium based. But about the Fukushima plant itself and the very negative environmental effects from its meltdown of reactors 1 and 3 vs a Thorium based design under similar natural stressors.     This is the basic outline of what happened to cause the melt down.     Immediately after the earthquake, the remaining reactors 1–3 shut down   automatically and emergency generators came online to power   electronics and coolant systems. However, the tsunami following the   earthquake quickly flooded the low-lying rooms in which the emergency   generators were housed. The flooded generators failed, cutting power   to the critical pumps that must continuously circulate coolant water   through a Generation II reactor for several days to keep it from   melting down after shut down. After the pumps stopped, the reactors   overheated due to the normal high radioactive decay heat produced in   the first few days after nuclear reactor shutdown (smaller amounts of   this heat normally continue to be released for years, but are not   enough to cause fuel melting).     I am just wondering if this was a Thorium reactor, would all of this had taken place in the first place? Because thorium needs to be constantly primed and not cooled.  I am not an engineer nor a paid scientist so please excuse my ignorance. I am just very curious.  Thanks.


EEVEE and Cycles render lighting differences

I get different lightning render with the same scene camera setup.  Cycles render (both experimental and supported feature set) gets weaker lightning and needs more energy.  How can I get the same lightning and reflection setup with EEVEE and Cycles?


Someone gave me a pavilion g6 with grub on it but no hardrive so I bought a hardrive tried to install Windows 7 but every time I turn the computer on it says grub rescue error or something like that. Please help I have no experience with ubuntu. How do I get rid of it and put Windows 7 on there.


How to generate random numbers in a range?

I'm studying arrays and can't figure out what I'm doing wrong.  I need to output an array with 8 random generated numbers between 5 and 25.  Before down voting my question : /, I tried looking already for similar questions on stackoverflow but most of them contain the use of algorithm's or different kinds of sort-techniques. I cannot use those technique's in my answer. It 'should' be easier to solve this.  Where is the problem in my code and why doesn't my random number generate a new number while i'm looping trough the array?   int table[8]; int random_number= rand() % 25 + 5;  for (int i=0; i<8; i++) {     table[i] = random_number;     cout << table[i] << " "; }   As I compile and run it, it gives me 8 times the same number, however I'm letting my array loop through each single index, while putting a random number in it? On paper this should work normally, right?   Is there anyone who can explain what I did wrong and why my loop is not working correctly?


Why didn't Harry and his friends disapparate when the Snatchers came?

During the time that Voldemort's  name was under Taboo spell, Harry Potter mistakenly used his name. This led Fenrir and the other Snatchers to find them.   Why didn't Harry, Ron, and Hermione disapparate when they appeared? Obviously they wouldn't have had time to pack up the tent, but if it was between life or death, then why wouldn't they just choose to live and leave everything behind?     ‘Harry –’      ‘Come on, Hermione, why are you so determined not to admit it? Vol—’      ‘HARRY, NO!’      ‘—demort’s after the Elder Wand!’      ‘The name’s Taboo!’ Ron bellowed, leaping to his feet as a loud crack   sounded outside the tent. ‘I told you, Harry, I told you, we can’t say   it any more – we’ve got to put the protection back around us – quickly   – it’s how they find –’      But Ron stopped talking, and Harry knew why. The Sneakoscope on the   table had lit up and begun to spin; they could hear voices coming   nearer and nearer: rough, excited voices. Ron pulled the Deluminator   out of his pocket and clicked it: their lamps went out.      ‘Come out of there with your hands up!’ came a rasping voice through   the darkness. ‘We know you’re in there! You’ve got half a dozen wands   pointing at you and we don’t care who we curse!’   Why didn't they just disapparate?


Adj(AB) = Adj(B) . Adj(A)  For non-singular matrices we know that B$^{-1}$ . A$^{-1}$ = (AB)$^{-1}$ . This implies $\frac{Adj(B)}{|B|}$ . $ \frac{Adj(A)}{|A|} $ = $\frac{Adj(AB)}{|AB|} $.   We know |AB| = |A| |B|  But i don't know how to prove it for singular matrices.Is the law valid in case of singular matrices?


Prepend 'Appendix' before 'A' using scrbook

I am writing my thesis and need to put 'Appendix' before the numbering (A, B, C, ...) in the table of contents (TOC), the chapter title and in the header. I'd also like for \autoref{} to output 'Appendix A'.  I am using the scrbook class and have tried several different ways to achieve this but nothing gives me the desired output.  I want the title to appear as below so that it reads 'Appendix A (Title)'. This is also how I want it to appear in the TOC and in my header.    I've tried using the KOMA option appendixprefix=true but this splits Appendix A and More Information onto separate lines and doesn't put 'Appendix' before A in the TOC.  I've tried redefining \thechapter with \renewcommand{\thechapter}{Appendix \Alph{chapter} which gives me the desired output in the title and header of my document but the table of contents output is below and \autoref{}'s output is 'Appendix Appendix A'.    I've tried the appendix package too but this won't add Appendix to the title in the main body, only to the TOC.  I've also tried some other hacks which work in both the TOC and the title but then show the previous chapter in the header.  I set my headers using the following  \usepackage{fancyhdr}  \setlength{\headheight}{15pt}  \pagestyle{fancy} \renewcommand{\chaptermark}[1]{ \markboth{\thechapter~#1}{} } % Adds chapter number name to right header \renewcommand{\sectionmark}[1]{ \markright{\thesection~#1}{} } % Adds section name to left header   I'd really appreciate some help with this as I can't find a solution which works for my 3 main cases of title, TOC and header using the scrbook class.  MWE:  \documentclass[12pt,a4paper,oneside,pointlessnumbers]{scrbook}  \usepackage[english]{babel} \usepackage{blindtext} \usepackage{fancyhdr} \usepackage[colorlinks]{hyperref}  \setlength{\headheight}{15pt}  \pagestyle{fancy} \renewcommand{\chaptermark}[1]{ \markboth{\thechapter~#1}{} } \renewcommand{\sectionmark}[1]{ \markright{\thesection~#1}{} }   \begin{document}  \frontmatter \tableofcontents  \mainmatter \blinddocument  \appendix  \chapter{More Information} \label{app:first} \section{Another Section} \autoref{app:first}  \Blindtext  \end{document}


Each natural number x greater than 1 has log x digits?

So I'm trying to come up with a solution to this task: Each natural number x greater than 1 has log x digits. Is this true? And if it isn't, what would be the correct answer?  After plugging several numbers as "x" I'm assuming there is in fact a mistake, I however don't know what's the right answer to this task.


I want to create a pie chart in LaTeX. Do you know a package which manages that? I tried datatool which uses tikz as backend but seems to be unusable due to mysterious floating point errors.


How to deploy programs on multiple machines

I need to install a few programs on around 40 Kubuntu 13.04 machines, and would like to know what options I have to do it as efficiently as possible.  EDIT: I have the repositories already set and the machines are all identical clones, with no LDAP auth or centralized server.


How do you set and retrieve a cookie from a custom form in Drupal 7?  I am trying to set and retrieve a cookie containing form_state in a custom form. The form is a multi-step form. My intention is to allow a user (anonymous or registered) to navigate away from the form and return either in the same session or later and pick up where they left off.  I had considered using setcookie, but I cannot figure out how to inject setcookie into the top of the html from the form.  I have done some searching for other methods, but have not came up with anything.


Wrong "edit your answer draft" after submit

I just posted an answer twice (in two different versions) after I got the footer as displayed in the screenshot:    Could you please fix this? (I'm part of the beta, but this is since last year I guess)


Compute Integral $\int _{0}^{\infty} \frac {(\ln x)^2}{\sqrt x (1-x)^2} \mathrm dx$

Compute Integral $$\int _{0}^{\infty} \frac {(\ln x)^2}{\sqrt x (1-x)^2} \mathrm dx$$   I think it can be solved by using integration by parts. But I am unable to solve it. Please help.


How can I create a domain name with a custom extension, like .example instead of .com?

Is it possible to get my own website with a special ending prefix? Instead of .com I want to have my initials instead or something like that. Is that plausible by any chance?  I went to websites like GoDaddy which don't sell domain with the ending I would want, and I honestly have no idea what to search on google.


What is the design pattern for processing command line arguments

If you are writing a program that is executable from the command line, you often want to offer the user several options or flags, along with possibly more than one argument. I have stumbled my way through this many times, but is there some sort of design pattern for looping through args and calling the appropriate handler functions?  Consider:  myprogram -f filename -d directory -r regex   How do you organize the handler functions after you retrieve the arguments using whatever built-ins for your language? (language-specific answers welcomed, if that helps you articulate an answer)


How do you make a loop cut a straight line (not follow the contours of the mesh)?

I was watching a tutorial video  and at the 18:00 mark he creates a loop cut, then appears to press 'S' (scale) and mashes a few other keys that aren't displayed and the loop cut suddenly becomes completely horizontal and no longer follows the contours of the mesh.  What is happening here and how can I accomplish this, or something similar?


Something is wrong with remove() function in jQuery

This script is adding input fields flawlessly but is not able to remove them when clicked the delete button.


With object.GetType().GetMethods() you can list all methods of an object. How can you list all extensions of an object ?  For example :  I have this extension  public static void DoSomething(this MyObject obj, String param) {}   Is there a way to retrieve DoSomething method of object MyObject using reflections or an other method ?


How can I get a player head that can only be placed on a specific block?

So I Have a adventure map and I want to know how to get a head that can only be placed on a certain block. I know how to make blocks that can only be placed on certain blocks, but I want a head that can be placed on a certain block and I want the head to be a TNT head, like so:  /give Angel_Scarz minecraft:skull 1 3 {SkullOwner:"MHF_Tnt"}   How can I make it so that this head can only be placed on a certain block?


Why can’t I upvote a comment more than once?

Realizing my mistake of upvoting a comment on a question, I clicked the upvote arrow again to undo it. At my surprise, I received a pop-up alert saying that if I undo this upvote I won’t be able to upvote the comment again. I accepted, and to test this, I attempted to upvote it again, which was unsuccessful as expected.  Why can’t users be given a second chance to upvote comments?  I , but they only seem to cover mobile app crashes. Is that the sole reasoning?


Using JMeter, how to test performance, for a load of 100000 users?

Using Jmeter, how to test performance, for a load of 100 thousand users? I would deeply appreciate any help on this.  I put 100000 users in the thread and give 200000 ramp-up time. Is it working or not?


Feature selection Stability of Elastic net vs Lasso

I am new to regularized regression, and I was told that Elastic net overcomes many issues of the Lasso Regression. Especially, in the case of highly correlated predictors, Lasso variable selections tend to be unstable.  I don't really understand why, therefore, I tried to demonstrate it. Hence, I created a dataset of highly, pairwise correlated variables:  # this function generate a pair wise higly correlated dataset def generate_correlated_dataset(cov_strengh: float,n_features: int,n_samples: int) -> (np.ndarray,np.ndarray):     # mu = 0 , centered distribution     mu = np.zeros(n_features)      #generating cov matrix, with cov_strengh as the covariance maximal strengh     # allocating random values for sigma     sigma = np.random.uniform(low=-.5,high=.5,size=(n_features,n_features))     # ensuring 1 on diagonal and maximum strengh for variables pairwise     for i in range(0,n_features):         sigma[i,i] = cov_strengh         if i < (n_features-1) and (i/2 == np.floor(i/2)):             sigma[i,i+1] = cov_strengh             sigma[i+1,i] = cov_strengh     # making sigma positive definite     sigma = np.dot(sigma , sigma.T)     # making lambda symetrical     sigma = sigma+sigma.T     # generating x as N(mu,sigma)     X = np.random.multivariate_normal(mean = mu, cov = sigma, size = n_samples)     # random gaussian coeficients to generate y     coef = np.random.randn(n_features)     y = np.dot(X,coef)     return (X,y) # example: X_ex,y_ex = generate_correlated_dataset(3,50,100) pd.DataFrame(np.corrcoef(X_ex,rowvar=False)).head()   Then I use a 10-Folds CV on my dataset to compare Lasso's and Elastic Net's bias, variance, and the variance of predictors and stability. To measure stability, I measure the distance to K/2 selection, which I consider as the worst selection (random selection). Here my stability metric:     metric = 2/(n_features * K) * sum(|K/2 - nb_selection|)   I tried several values for alpha. I thought, that in those conditions Elastic net would easily have a stability dramatically higher that Lasso's. Here is my code to compare both regressions:  #generating training dataset n_features = 50 n_samples = 100 K = 10 #number of folds alpha = .1  # models, ratio is .5 for elastic lasso = Lasso(alpha=alpha) elastic = ElasticNet(alpha=alpha,l1_ratio=0.5)  # generate dataset: X,y = generate_correlated_dataset(cov_strengh= 3,n_features= n_features,n_samples= n_samples)  # test models bias_elastic, var_elastic, coefs_elastic = evaluate_model(X=X,y=y,K=K,model=elastic) bias_lasso, var_lasso, coefs_lasso = evaluate_model(X=X,y=y,K=K,model=lasso)   print(f"Bias               : Elastic = {bias_elastic}, Lasso = {bias_lasso}") print(f"Variance of the prediction: Elastic = {var_elastic}, Lasso = {var_lasso}") print(f"Stability          : Elastic = {stability_metric(coefs_elastic)}, Lasso = {stability_metric(coefs_lasso)}") print(f"Variance of coefficients  : Elastic = {np.mean(np.var(coefs_elastic, axis = 0))}, Lasso = {np.mean(np.var(coefs_lasso, axis = 0))}")   Evaluate model does a CV and returns the results for each folds. at the end, my results are slightly better for Elastic net, but not that much.   Bias               : Elastic = -0.03647122865037677, Lasso = -0.02128281711861078 Variance of pred: Elastic = 21.258733026121277, Lasso = 21.106866537149813 Stability          : Elastic = 0.928, Lasso = 0.892 Variance of coef  : Elastic = 0.001947616131880543, Lasso = 0.0035541923789652262   Could you show a dataset where one can see a real difference between Lasso and Elastic net in term of variable selection stability?


When I login, system accepts my password to use system.  But, when I try to update software programs, system says "manipulation error" or something like that.    Went to login screen with Ubuntu recovery mode and tried to reset password using mount -re, etc but says password unchanged.  What am I doing wrong?


All possible combination of different arrays items

I have arrays like this:  [[1, 2], [3, 4]] [[4, 5], [5, 6]] [[7, 8], [8, 9]]   I want to get all possible combinations of these arrays:  [[1, 2], [4, 5], [7, 8]] [[1, 2], [4, 5], [8, 9]] [[1, 2], [5, 6], [7, 8]] ...   It can be any number of arrays inside an array.  What approach should I use to accomplish it with Python?


I could use some help with proving this inequality:  $$\left|\,x_1\,\right|+\left|\,x_2\,\right|+\cdots+\left|\,x_p\,\right|\leq\sqrt{p}\sqrt{x^2_1+x^2_2+\cdots+x^2_p}$$ for all natural numbers p.    Aside from demonstrating the truth of the statement itself, apparently $\sqrt{p}$ is the smallest possible value by which the right hand side square root expression must be multiplied by in order for the statement to be true.  I've tried various ways of doing this, and I've tried to steer clear of induction because I'm not sure that's what the exercise was designed for (from Bartle's Elements of Real Analysis), but the best I've been able to come up with is proving that the statement is true when the right hand side square root expression is multiplied by p, which seems pretty obvious anyway.  I feel like I'm staring directly at the answer and still can't see it.  Any help would be appreciated.


By touching neutral why we do not get shock?

According to Benjamin Franklin, current flow from +ve to -ve terminal. But after Joseph Thomson's discovery it was conceived that although current flows from +ve to -ve electrons flow from -ve to +ve terminal.  Now w.r.t. Alternating Current neutral provides return path, so why touching metal of neutral doesn't give a shock?


Finding difference between dates in java

I am new to java. I am having slight confusion regarding date arithmetic in java. I have following scenario, where I want to find differences between two dates :-  java.util.Date objDt1 = getDate1FromSrc1();  // I am obtaining it from src1 java.util.Date objDt2 = getDate2FromOtherSrc(); // I am getting dt2 by other way.   Now, I want to find difference between two dates and the output must be other date object.  So, I have written the following code :-  Calendar objCal1     = Calendar.getInstance(); Calendar objCal2     = Calendar.getInstance(); objCal1.setTime(objDt1); objCal2.setTime(objDt2);  objCal1.add(Calendar.DAY_OF_MONTH,  -objCal2.get(Calendar.DAY_OF_MONTH)); objCal1.add(Calendar.MONTH,         -objCal2.get(Calendar.MONTH)); objCal1.add(Calendar.YEAR,          -objCal2.get(Calendar.YEAR)); objCal1.add(Calendar.HOUR_OF_DAY,   -objCal2.get(Calendar.HOUR_OF_DAY)); objCal1.add(Calendar.MINUTE,        -objCal2.get(Calendar.MINUTE)); objCal1.add(Calendar.SECOND,        -objCal2.get(Calendar.SECOND));  java.util.Date objDiff = objCal1.getTime();   But, I am getting some wierd results. Eg. If objDt1 is "02/22/2016 09:00:00" and objDt2 is "02/22/2016 11:00:00", then I am expecting objDiff to be "02:00:00" as output, which I am not getting.  Can you suggest me what's wrong I am doing here and what's the right way to approach this problem ?  Thanks in advance.


Do lands other than Westeros suffer from long Winters and live under the threat of Others?

The whole multi-continent aspect of A Song of Ice and Fire seems to be getting out of hand. Do the other continents suffer those long winters?  Can the Others harm the other continents?  In The Lord of the Rings there were other realms than Middle-earth, but Middle-earth was still all of humanity and dwarf population and hobbits.  Sure there are stories like Romeo and Juliet where the only thing that matters is whether those 2 are going have a chance to love.  But in these fantasy / sci-fi stories there's usually danger of world domination by evil.  It's not usually just one continent is going to be a terrible (or impossible) place to live but other civilizations will flourish.


I am currently learning how to use TikZ/PGF to make some figures for a project report, and so I have a question:     Is there is a practical way of making a particular object into a node?   The object I have in mind is shown in the Figure below. I want the object to consist in the big circle, the two circular arcs, the label and anchors at north, south, east and west. The dotted lines are simply there to indicate that I am going to have paths going out of these points, which is why I need the anchors there.     I include the source, in the case that it is useful to anyone.  \begin{tikzpicture} \draw[help lines, gray, dotted] (-2,-2) grid (2,2);  \begin{scope}[shift={ (0,0) } ]     \begin{scope}[rotate=90]         \draw[thick] (-1,0) arc[start angle=-90, delta angle=90, %                               x radius=1, y radius=1] -- (0,1) %NW                      (0,-1) arc[start angle=180, delta angle=-90, %                                    x radius=1, y radius=1] -- (1,0); %SE         \draw[gray] (0,0) circle (1);     \end{scope} % Anchor replacements     \node(N1)       at (0,1)    {};     \node(S1)       at (0,-1)   {};     \node(E1)       at (1,0)    {};     \node(W1)       at (-1,0)   {}; % Label     \node(Crossing number) at (0,0) {1}; \end{scope}  \path[thick, gray, dotted] [ out=90,   in=270]     (N1.center) edge (0,2) [ out=180,  in=0]       (W1.center) edge (-2,0) [ out=270,  in=90]      (S1.center) edge (0,-2) [ out=360,  in=180]     (E1.center) edge (2,0); \end{tikzpicture}   PS. I have had a look at the Manual, but I could not find a description of how to do this.


CAPTCHA: I can't check a box that doesn't exist

I spent several hours yesterday thoroughly researching a question, to be told it looked like spam, at which point I pared it down and posted it. Then I realized I posted it on the wrong SE network site (I had initially written it for AskUbuntu, but realized it fit better on ServerFault), so I went and deleted it after a few minutes, so I could post it on ServerFault, so I would have to wait before I could post it. I came back this morning, and after all this, the website said I looked like a robot, which is honestly understandable, given my behavior, but I really do need an answer to my question.  The problem is, I can't check the nonexistent box. Other people with the same issue had solved it by going on incognito mode, which didn't work for me. Eventually I figured out that SE is maybe probably using Google CAPTCHA, which just doesn't work in China where I am. I fired up my VPN, but still failed to connect. I thought the browser cache might be an issue, so I reloaded that. And I still can't get the checkbox to show up.    If this is a result of being in China, I'd like to make a feature request that allows for an option of using non-Google CAPTCHA. If such an option exists, I'd like to know how to use it. I will make such a feature request in a different post if it turns out I'm not just missing something.  It's also conceivable that IP addresses from China are more likely to be picked up by the spam filter, which is just unfortunate for me, I guess. I really need to get my work done though, and I've exhausted all other avenues I can think of.


Is it right to go the cold turkey way when babies cry?

My babies troubling me and each other . They are 11 mo twins . I have decided to put them in their separate cot into their rooms when they cry and come back to their room once they stop crying. Does this sound cruel ?


How to add multiple dns names to my puppetmaster?

my puppet.conf on the master  [master] certname = myname.mydomain.com ca_server = myname.mydomain.com certdnsnames = puppet;puppet.local;myname.dyndns.org;hivemind.local;   for my understanding with the certdnsnames defined the following should work:  puppet agent --server myname.dyndns.org --test   but i get the following error:  err: Could not retrieve catalog from remote server: hostname was not match with the server certificate   how to avoid this error? how to correctly define certdnsnames? i have found diffent documentation about this, but no simple example. i i use "," for seperation i cannot sign at all. i also have seen a syntax like  certdnsnames = puppet:puppet.intra.myserver.fr,puppet.myserver.fr:puppet,puppet:puppet,puppet.intra.myserver.fr,puppet.myserver.fr     but for me its not clear when to add a "puppet:" and when not.


Pass a List of object as parameter to SQL stored proc

I would like to pass a List<> of object say List<Student> to the parameter of stored proc and have the data stored in corresponding fields in the database. How can I do this? I use SQL Server 2005.   So if the database Table has fields StudentId,Name,Age and the object List<Student> has the same properties containing the data, then the data should go to the corresponding fields in Table.  Please advice with code. Thanks in advance.


Could normal users have an easier way to flag for migration?

TL;DR: Give the belongs on another site in the SE network option to normal users too, generating a moderator flag.    Often questions are posted on the wrong site on the Stack Exchange network (for volume reasons, most often at Stack Overflow). Then they need to be closed as off-topic, and optionally migrated to a better site.  The "close as off-topic" (or "flag as off-topic", if you don't yet have closing rights) dialog has up to five migration targets (the most likely migrations) build in, and if at least four of the five closers agree on one of them, the question will get migrated there.  Moderators see in this dialog actually one more option:   belongs on another site in the Stack Exchange network   together with a text field which allows selecting a site by its name.    This option can be used to migrate a question to any site. We are normally using this only if it is either a really clear case that the question is on-topic at the target site, or we have asked a moderator of the target site. (Or a moderator of the target site has flagged the question at our site.)  Normal users don't have this option: They can only flag/vote to close as "off-topic", and use the "flag for moderator attention" general reason, and input a reason in the free-form text field:    Most of my flags in the last months on Stack Overflow are actually of this type (mostly for Crypto.SE and TeX.SE).  My feature proposal (actually, three of them)   Add this belongs to another site option to the GUI for normal users, too. Make this generate a normal "off-topic" close vote (if the user has close-voting rights, of course), together with a canned flag for moderators attention (which will be visible in the 10k mod tools).  (So such a vote will not generate a migration by itself, even if five users have the same idea.)  This should also be a possible flag option on questions which already are closed as off-topic. On the moderator side, make it a tiny bit easier to decide about the migrations, and make them happen:   Show in the flag list if a moderator of the target site flagged for migration (these are "good" and need not be checked, other than for off-topic-ness on the source site). (E.g. show a diamond beside the name?) If a question was flagged this way for migration, add the target site as an option to the moderator's close-dialog (so no searching is necessary). (Allow migrating questions which are already closed as off-topic, without reopening.)    Related:  - Waffles' answer says such a search box was intentionally omitted so people don't have to do the hard work. So now moderators have to do this hard work instead (for cases other than the five ones listed). I'm not sure this is really better.


How can I achieve this type of texture with type?

I know how tu use bevel and emboss but it seems to be more than that … Thanks for ur answers !!


As far as I can tell, a single line align renders identically to an equation.  So on that basis, I have just been using align everywhere, as it makes it easier later if I decide actually I need to add another line to expand out a formula, to enhance the explanation.  Is there any downside to this?


Unsure about repeated error in Poisson GML offset model

am carrying out research to look at differences in fish density and fish species richness when using two different underwater visual census methods. My data was originally count data but then converted to fish density and so decided to use an offset using the following formula:   model1 <- glm(g_den ~ method + site + depth + offset(log(area)), poisson)  My 3 predictor variables are method, site and depth which I ordered as factors when I input them.  My response variables are grouper species richness, grouper density and the same for other fish groups.   Despite using the offset i keep getting the same error, could anyone advise me why this is?  In dpois(y, mu, log = TRUE) : non-integer x = 0.037500


Powershell get permission on SPSite/SPweb (and all list)

Do you know how to get, in powershell, all permission for a SPSite/SPWeb and all list?  Thanks.


AMD driver does not work on kernel 3.19.0-26

I am asking for a help or a fix for this black screen in Ubuntu 15.04.  The black screen contains the message starting version 219 and I am stuck in there for like a day already. Been trying to find a fix in Google but failed. So far I tried fixing it by going into the terminal using commands like:  sudo systemctl enable sddm.service -f   This command dint go through, because I don't have sddm in my system, so it failed. Next thing is, I found out, that my sddm was a lightdm, so I tried using  sudo systemctl enable lightdm.service -f    …and same result, but this time, it got a message, that it is not meant to be activated through systemctl. Lastly I tried this one:  systemctl start lightdm   This goes in. After putting my password, it went through, but it went back to the black screen. Tried hitting the shift key, when I rebooted it, but it didn't work.


Why does Stack Overflow have a different upper interface?

Looking at most sites, I noticed something a bit weird. Stack Overflow has a different layout for their upper interface (which personally I find unique and easy to use).  On most of the sites I see:  | SE logo & Sites dropdown | Inbox | Achievements | --- | Profile | Help | Searchbar | | Sitename | --- | Questions, Tags, Users, Badges, Unanswered | Ask Question |   On Stack Overflow:  | SO logo | Questions etc. | Searchbar | Profile | Achievements | Inbox | Help | Sites dropdown |   I have two questions,   Why does SO have such a format unlike the rest? Are there any other sites that have a unique upper interface?


How to get GNOME Shell "Applications overview" to show the full name of applications

This question has been asked before but that was over 6 years ago and I'm hoping to get a more updated answer.     Basically when I search for an application, if the name is too long it's shortened with an ellipsis (...). I want to know how to change it so that the whole name is displayed. Example:   I hope it's OK to ask for an updated answer.  I'm using Ubuntu 17.10 with GNOME Shell 64-bit.


Show that the ideals of $\mathbb Z$ are principal.

Exercise: Show that every ideal $I$ of $\mathbb{Z}$ is principal.  Attempt: Since $I$ is principal, it can be generated by one element. Also, my tutor said that if $I \subset \mathbb{Z}$ is an ideal and we consider any $a \in I-\{ 0 \}$ with $|a|$ minimal, we need to show that $a$ generates $I$ (which I have trouble understanding). Thank you.


I just got a refurbished S5 and installed the latest Lineage OS ( on it. Most of the time everything works normal. Sometimes, however, the graphics gets really weird (see images).  Other family members have the same phone and I also flashed Lineage on them without experiencing these problems. Therefore, it cannot be a general problem. Any ideas about what might be wrong with the phone and how to fix it?   Edit: This problem was also reported  but no solution was documented.


Is there a safe way to install Ubuntu on my Android phone?

I have a Xiaomi Pocophone F1 with decent specs: Snapdragon 845, 6 GB RAM, and enough storage. I was wondering if there is a tried-and-tested way to install some Linux Distro on it (preferably Ubuntu) for some specific reasons. I've seen some YouTube clips, but their instructions are not fully clear, so I wanted to ask here. Can anybody here give me a walkthrough or point me to a resource I can follow? Any help would be appreciated. Thanks.


The message that appears after casting a third vote in a moderator election contains a

After casting a third vote in the moderator election, this message appears.    The <br/> should either be fixed into a newline, or it should be removed altogether.  This was , but comments said to raise it here.


Has the doctor ever regenerated as a woman? Could he?

If I recall my very fuzzy history of Dr. Who, the Doctor always regenerates as a man, of roughly the same approximate age and height, and roughly the same nationality and 'race'.    Ignoring for now the possibility of a Doctor with a different skin tone or accent, has there ever been a regeneration in side-canon where the Doctor became a woman?  More to the point, is it even possible for this to happen?


Are wizard bones tougher than human bones?

In Fantastic Beasts and Where to Find Them we see the following dialogue:         Newt: [hands Jacob a helmet] Put this on.   Jacob: But why would I have to wear something like this?   Newt: Because your skull is susceptible to breakage under immense force   Is Newt implying that his skull isn't (and wizard bones in general aren't) susceptible to breakage under immense force?  Or is it to be taken literally, and he is giving Jacob the protection he would normally use (and possibly is implying "Oh I'll be fine, but you need this").


I was wondering how you would go about putting a 3D object into a photograph so that portions of the image are:   In front of, or Behind the model.   For example, a photo taken from the roadside with a tree in the foreground.  I want to show a 3D model of a car in the photo on the road but a section of it is not visible because it is obscured by the tree.  Is this possible? If so, how can you do it?  Thanks in advance.


fix non-significant errors in a manuscript that is not accepted and currently under review after 1st round of revision?

I'm in the field of Psychology. One of my manuscripts is now under review after the 1st round of revision. However, I found one of the variables was calculated in a wrong way, the results are better with the corrected variable because the significance levels were higher (i.e., p values were lower), but it didn't change the conclusions of my study, all the significant results still remain significant and non-significant results are still non-significant. I would like to know what would be the best option to deal with it.   option 1: ignore it.  option 2: correct it when I receive reviewers' feedbacks WITHOUT letting the reviewers and editor know.  option 3: correct it when I receive reviewers' feedbacks AND let the reviewers and editor know.  I'm worried that letting the editor and reviewers know would leave a bad impression on me and the quality of my work.   Thank you in advance!


Can I reduce the spacing between a function and a big paren to that between it and normal parens?

So if I want to apply some function to a big and complex expression, I'd like to use \left( \right) because it scales the parentheses to match the expressions height. However, when doing this, extra space is introduced. Compare f(x) and f\left(x\right):  Source: \documentclass[12pt]{article} \usepackage{amsmath} \setlength{\parindent}{0em} \begin{document} \( f(x) \) (small) \\ \( f\left(x\right) \) (large) \end{document}


Simply Connected Regions : Complex Plane

This question is from the perspective of complex analysis, with basic knowledge of topology. Let $\Omega$ be an open, path connected set in the complex plane ($\Omega$ being called a region). I have come across two definitions of simply connected regions :  A region $\Omega$ is simply connected if any two pair of curves in Ω with the same end-points are homotopic. (This is from Stein-Shakarchi)  A region $\Omega$ is simply connected if every closed curved in Ω is homotopic to a point in D. (This is from Mathematical Analysis by Apostol)   Its evident that definition-1 implies definition-2. But I am not able to see how definition-2 implies definition-1 ? Any help would be appreciated


What is difference between the options "autoclean", "autoremove" and "clean"?

apt-get has a few options which looks the same to me: autoclean, autoremove and clean. What do each of them do?


I reset my root mysql password with the following instructions:  (Works for Ubuntu as well)   But now I can't turn off mysqld_safe --skip-grant-tables.  When I run fg I have:  sudo /usr/bin/mysqld_safe --skip-grant-tables   How can I kill this and start MySQL securely?


How to remove the upper bar of applications

How do I remove the top bar of applications (title-bar), The one bar that usually displays minimize, maximize and close? See attached screenshot:


Coefficient of friction between 2 surfaces

If I have both the kinetic and static coefficients of friction between cardboard and steel and between rubber and steel (for the same steel in both cases), is there a way to find the coefficient between cardboard and rubber? For example, can this be done by equalising the force on cardboard/steel and the force on rubber/steel? Thanks a lot!


ubuntu 20.04: green lines in background + crash at standby after upgrade

I experience several odd errors and glinces after upgrading from ubuntu 18.04 to 20.04. The first thing, I noticed were the funny green pixeled lines on the background wallpaper. They can be overlayed by windows and disappear when switching to a different image but remain on the original image, when switching back. This is also the case for other background images from the standard stock).  Further -- and much more annoying -- is that ubuntu repeatedly crashes at standby/when suspended, e.g. when closing the lid. So, it won't wake up again or rather, it isn't asleep (blinking lights indicate the difference). When booting again, I can choose to start up in recovery mode ... I checked all packages and the file system, updated the boot-loader (2.04-1ubuntu26.6), etc. In some cases, the system won't start up at all. I couldn't find a pattern yet. I found  describing that the screen remains black after waking up, but adding the option GRUB_CMDLINE_LINUX="nouveau.modeset=0" to grub (/etc/default/grub) didn't help. I am out of ideas. Some further info: $ ls -al /var/crash total 8 drwxrwsrwt  2 root whoopsie 4096 Feb  9  2020 . drwxr-xr-x 16 root root     4096 Nov 14 11:04 ..  and $ls -al /usr/share/gnome-shell/extensions total 20 drwxr-xr-x 5 root root 4096 Nov  5 22:00 . drwxr-xr-x 7 root root 4096 Nov  5 22:11 .. drwxr-xr-x 2 root root 4096 Nov  5 22:00 desktop-icons@csoriano drwxr-xr-x 3 root root 4096 Nov  5 21:33 ubuntu-appindicators@ubuntu.com drwxr-xr-x 3 root root 4096 Nov  5 21:34 ubuntu-dock@ubuntu.com  and the system (Asus notebook -- no Nvidia graphics) $ lspci 00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08) 00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07) 00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21) 00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21) 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) 00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1) 00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 02:00.0 Network controller: Intel Corporation Wireless 7265 (rev 59)  Since there are usually not two separate root causes, I suspect that both errors are linked. Thx Update I reconfigured my swap partition (see those two very informative posts on a step-by-step-guide  and for encrypted swap ). Nevertheless, I still experience the problem. Further, after crashing at suspend, the system starts-up automatically. However, when choosing "ubuntu" from the recovery booting list, the screen remains black and no startup is visible.


Can we say normal stress and pressure are the same?

Now if your Ans is yes then I have one more  question to ask. .ie don't u agree that we should not say stress as a tensor of 2nd order rather only tangential stress as tensor of 2nd order and normal stress as tensor of 0 order or scalar .


I noticed that there are many posts on Super User about , but none seems to address the question I have.  I am on Windows 7 and I find fonts very fuzzy. To be specific, some letters are more fuzzy than others, and it's not specific to the letters, it's more about positioning. If I move my Windows to a slightly different position, then different sets of letters are fuzzy.  I tried to do the ClearType tuning, but I can't find a selection that looks sharp. I tried to turn off ClearType altogether, but it gets worse. I turn off antialiasing in systemspropertiesperformance.exe and it doesn't help much.  My prior experience is with Windows XP. And fonts look fine there. I think I prefer having jagged edges over anti-aliasing. Trying to round the edges just makes my eye sore.  I'm using a 17 inch monitor, 1280x1024. My friends who are also on Windows 7 using laptops still have fuzzy fonts, but they are a lot better. I think it's because their resolution is much higher with respect to their screen sizes.  EDIT: Interestingly the problem might not be font settings after all. I screenshot the text, same thing also happens to the screenshot!! Even though some letter are still fuzzier than others. I should hook the monitor up to a computer with Windows XP to check again.  EDIT2: Same monitor on Windows XP looks fine. Comparing text screenshots made in Windows XP and Windows 7 on Windows XP I do find Windows 7 fonts fuzzier than one on Windows XP. However, even when viewing screenshot from Windows XP on Windows 7, it looks very fuzzy! And this is specific to Windows 7 since I'm using the same monitor.  EDIT3: Problem solved. Posted under Bobince's reply. Thank you all. :)


I am trying to enumerate this xml (sample):  <SearchSuggestion xmlns="http://opensearch.org/searchsuggest2" version="2.0">    <Query xml:space="preserve">Relativity</Query>    <Section>     <Item>         <Text xml:space="preserve">Relativity</Text>         <Url xml:space="preserve">https://en.wikipedia.org/wiki/Relativity</Url>     </Item>     <Item>         <Text xml:space="preserve">Relativity priority dispute</Text>         <Url xml:space="preserve">https://en.wikipedia.org/wiki/Relativity_priority_dispute</Url>     </Item> ....   using:  XmlNodeList nItems = rssDoc.SelectNodes("/SearchSuggestion/Section/Item")   But it is yielding no results. Can anyone tell me why?


Where can I find the web enhancement for the Tome of Battle?

So I found this link:  That says its text was taken from a web enhancement for the Tome of Battle, however the link returns a 404 error. Anyone knows if that enhancement is still abailable?


If $AB = BA$ for $A,B \in \mathcal{L}(V,V)$, then $A$ and $B$ have these properties

There is a base such $A$ and $B$ are both upper triangular on these base, and if $A$ and $B$ are diagonalizable, then $A$ and $B$ are diagonalizable simultaneously.   For the first I have no idea. To the second one I am trying to show something like: Iv $v$ is an eigenvector for $A$ then $Bv$ is an eigenvector for $A$.  To the second I proceeded as:  $$v \in \ker (A - \lambda * Id)$$ for same $\lambda \neq 0$, then  $$Bv = B\frac{1}{\lambda}Av = \frac{1}{\lambda}BAv = \frac{1}{\lambda}ABv$$  Then  $$A(Bv) = \lambda Bv$$ and then $Bv$ is an eigenvector for $A$ also with eigenvalue $\lambda$.  But I am stuck here. I mean, I don't know what to do with this.  I do appreciate any hint or answer.


Add context menu items to specific file extensions

I think the title says all I want: I want to add context menu items for a specific file type like the yellow marked ones in the screenshot. Which registry changes do I have to make? In my case I want to assign ir.exe to .rb files.


Prove that that $U(n)$ is an abelian group.

Prove that that $U(n)$, which is the set of all numbers relatively prime to $n$ that are greater than or equal to one or less than or equal to $n-1$ is an Abelian group.  My thought process: for $a, b \in U(n)$  Associativity:  $(a + b) + c = a + (b + c)$ Identity: $1$ is in the set so $a\cdot 1 = a = 1\cdot a$ Inverse: I'm stuck on how to determine the inverse of the set if it exist. Abelian criteria : $a\cdot b = b\cdot a$  Thanks


Is there any way to scale an individual face evenly shifting its edges in respective directions? Similar to Outline command in 3ds max? UPD: I know that inset will work to make the face smaller, but what about the enlargement?


Can I use a ground rod as an equipment ground for a detached garage?

I'm in a bit of a dilemma.  The house we bought has a detached garage supplied by 12/3 UF with ground.  The previous owner/handyman set this up as a multiwire branch circuit (MWBC) with a twist: one of the conductors is fed from the main panel in the basement to create a 20A circuit in the garage for plugs, but two other conductors in the 12/3 UF are used as switch legs for a 3-way switch, enabling the garage lights to be turned off either from the house or from the garage.  This leaves the equipment grounding conductor to be used as a shared neutral for both the plugs and the lights in the garage - definitely not code compliant, probably a bad idea all around.  The EGCs of the NM cables that feed the lights and plugs in the garage are tied together in a box in the garage, and not bonded to the makeshift neutral (EGC of the 12/3UF), as far as I can tell - so there is no true safety ground for the garage outlets.  I am not ready to dig up the yard and re-feed the garage, which will probably be the ultimate solution: reclaiming the 12/3 for only the lights, and adding thicker conductors in the trench for a proper subpanel in the garage.  I also realize that the easiest short-term solution would most likely be to rearrange the existing wiring connections to make either a single 20A circuit on a 3-way switch for all lights and plugs in the garage, or a single always-on circuit in the garage, to which I could connect the plugs and the lights, with a switch in the garage for the lights.  The first of these choices is not an option because the garage door opener needs to be always live for use with the car remote, and the second choice, though preferable, loses the significant advantage of the 3-way switch.  In general, I'm ok with using the ground of the 12/3 UF as neutral on a temporary basis because of the tough nature of UF cable, and because it hasn't caused any obvious problems yet.  I'm thinking of driving a grounding electrode at the garage and connecting the equipment grounding conductors of the branches in the garage to that electrode, which wouldn't be bonded to the neutral.  I know this would not be code-compliant, but I wonder if it would be an improvement.  I'm also wondering if GFI protection of either/both of the branch circuits in the garage would be possible and preferable - though I know that using GFIs on MWBC creates new issues.    Again, I'm not yet ready to dig up the existing cable, and not willing to run anything overhead.  Thoughts?  Thanks! Benjamin


The polynomial $z^4+z+1,~z \in \mathbb C$ has exactly two zeros in the right half plane?

Prove that the polynomial $z^4+z+1,~z \in \mathbb C$ has exactly two zeros in the right half plane. I couldn't implement Rouche's theorem using $f(z)=z^4,~g(z)=z+1$. Any other techniques using factorization etc.?


integration of $\int_{0}^{\infty}\frac{2\sin x-\sin2x}{x^n}dx$

How to find $$\int_{0}^{\infty}\cfrac{2\sin x-\sin2x}{x^n}dx$$? Any suggestion will be very helpful.


After installation vim-latex is not properly working

I downloaded vim-Latex from , and installed vim-Latex by hand (without Vundle or similar). I followed the instructions on the page:    However, upon opening an already existing (la)tex-file with vim I don't get the menu bar as it is shown on the page:    So I cannot choose a particular template type. But it is even worse. Upon typing \ll at the beginning it did not work at all, but after simplifying my .vimrc file it finally worked, however, it spits out a lot of error messages which apparently have nothing to do with my (la)tex-file (in particular because a call of latex (la)tex-file at the commandline prompt works perfectly without any error):   Error detected while processing function Tex_RunLaTeX..Tex_SetupErrorWindow..Tex_GetMainFileName:   line   23: E121: Undefined variable: v:true E116: Invalid arguments for function glob('*.latexmain',v:true) == ''  E15: Invalid expression: glob('*.latexmain',v:true) == '' line   34: E121: Undefined variable: v:true E116: Invalid arguments for function glob('*.latexmain',v:true)  E15: Invalid expression: glob('*.latexmain',v:true) line   35: E121: Undefined variable: lheadfile E15: Invalid expression: lheadfile != '' line   51: E121: Undefined variable: lheadfile E15: Invalid expression: lheadfile   I am using vim 7.4 on a KDE OpenSuse Linux system (version number at least 14). I've never used a vim-plugin, so actually my experience in the field is still limited. But as I use Latex a lot, I thought it would be useful to give vim-Latex a try. Thank you for any help.


function add (x) {   return function (y) {     return x + y;     };   } var add5 = add(5); var no8 = add5(3); alert(no8); // Returns 8   Can someone please explain me what happens whit y? How does first call of the function add returns 5? Does it ignore y or what?


show the equality $f(\bar{z})=\overline{f(z)}$ for entire function $f(z)$

i am struggling with this proof. Do you have some ideas?  Let $f(z)$ be entire function.  Show that, if $f$ maps $\mathbb{R}$ into $\mathbb{R}$, then equality $f(\bar{z})=\overline{f(z)}$ holds for all $z \in \mathbb{C}.$  Thanks for help.


Tex capacity exceeded sorry input stacksize=5000

I am getting this error while trying to build my tex file. As soon as I include the cleveref package, I get this error and it shows cleveref.sty with the cursor at the bolded part of the file.  \def\make@df@tag@@@#1{%     \gdef\df@tag{\tagform@{#1}%       \toks@\@xp{\p@equation{#1}}%       \edef\@currentlabel{\the\toks@}%       \edef\cref@currentlabel{[equation][2147483647][]\the\toks@}}} **}{}%  end of \@ifpackageloaded{amsmath}** \@ifpackageloaded{IEEEtrantools}{%   \PackageInfo{cleveref}{`IEEEtrantools' support loaded}   \let\cref@orig@@IEEEeqnarray\@@IEEEeqnarray   \def\@@IEEEeqnarray[#1]#2{%     \refstepcounter{equation}%   What could be the reason for this error?  from the comments:  \begin{filecontents*}{example.eps} gsave newpath 20 20 moveto 20 220 lineto 220 220 lineto 220 20 lineto closepath 2 setlinewidth gsave .4 setgray fill grestore stroke grestore \end{filecontents*} \RequirePackage{fix-cm}  \documentclass[smallextended]{svjour3}  \smartqed \let\proof\relax \let\endproof\relax \usepackage{cleveref}  \begin{document}  \title{Title} \author{First Author} \date{Received: date / Accepted: date}  \maketitle  \begin{abstract} \end{abstract}  \maketitle  \section{Introduction}  \end{document}


How did Tigress reach the panda village?

In Kung fu Panda 3, the panda village was a secret place. But when Kai attacked and destroyed Jade Palace, Tigress reached the panda village and informed Po about what happaned to everyone. But if the panda village is a secret place, then how could Tigress reach it?


What does the @ at the end of access rights stand for?

When I ls -la, one of my folders has the following notation  drwxr-xr-x@ 28  what does @ stand for?  For the record, I am using OSX.


I'm not new to the concept of random variable and I know the measure theory. Anyway, I started reading the book "Stochastic Differential Equation" by B. Oksendal, and I'm having some problem in understanding.  Given a probability space $(\Omega, \mathcal{F}, P)$, $X : \Omega  \rightarrow \mathbb{R}^n$ is a random variable if $X$ is a $\mathcal{F}$-measurable function, or equivalently, if $$ X^{-1}(U) = \{\omega \in \Omega; X(w) \in U\} \in \mathcal{F} $$ for all the open set $U \subset \mathbb{R}^n$.  My main problem is that I always thought that $$X \in \Omega$$ while the book by B. Oksendal asserts that $X : \Omega \rightarrow \mathbb{R}^n$ and hence $X \in \mathbb{R}^n$. Addition For example, consider a fair dice. Then, $\Omega = \{1, 2, 3, 4, 5, 6\}$. One can be concerned to evaluate the probability that the dice result is even. In this case, we write: $$P(X \in \{2, 4, 6\}) = ...$$ In general, the probability of an event $U \subset \Omega$ ($U \in \mathcal{F}$) is normally written as follows: $$P(X \in U)$$ This notation suggest me that $X \in \Omega$. Again, I don't understand what means that $X : \Omega \rightarrow \mathbb{R}^n$.


java - Memory management - Destroying a list when we don't need it

I was looking into some Java code from a large project and after a computational expensive loop that used an ArrayList I saw this:  list.clear(); list = null;   I know that the Garbage Collector is automatically triggered when an object is not referenced anymore, so my question is this: does the above code de-references the object so as the GC would delete it later on? From my experience, clearing a list is actually the procedure of nulling all of its elements and nulling the list, de-references the object of it. Is this procedure preferred over leaving the object without any clearance? The above section of the code is followed by a large number of functions and calls, so if my assumption is correct and the list is effectively un-referenced, the GC will be activated earlier on and free up useful memory.


UBUNTU installation alongside Windows 10

i have previously install and uninstall ubuntu in my computer now i want install but I didn't get to know which partitions to install on it  Please help me


I'm a halloween tinkerer, and I have these  that I use in my decor, but they eat batteries like crazy. They start going dim within an hour or so.   So, since I already have been putting together my own wiring and LED spotlights using bulk LED's etc, I thought I'd experiment with converting them from battery to DC power supply.   The flashlights run on 3 AA batteries in series ( [- +}[- +}[- +} ) and I've been working with a 12v power supply. When I connected it with a resistor in-line (I believe it is a 200 ohm resistor that came with my bulk LED's) it lights up, but it's too dim compared to running on the batteries. I suspect that means I need a smaller resistor but I'm not sure?


Why isn't Tyrion mentioned in the in-universe book "A Song of Ice and Fire"?  He certainly deserved to be. He mentions that he didn't think he'd be spoken of kindly. Why did the maester dislike him?


How to unlink my Documents folder from my OneDrive account?

I have recently changed the location of my Documents folder (originally located in C:\Users\TermoZour\Documents) to C:\Users\TermoZour\OneDrive\Documents so I could sync the documents folder between 2 PCs.  Now I want to remove this "link", but I can't. Whenever I try to "Restore Default Location" it indeed sees the default location as expected, but then it asks me if I want to move all the files from the old directory (OneDrive) to the new one (default Documents directory), so I click yes. After this, it tells me that "it can't remove the folder because there is a folder in the same location that can't be redirected. Access denied."  I tried to move all the files from OneDrive into a separate folder and do the process again, but it gave me the same error.  I tried to choose another new location instead of the default one, but it gave me the same error.


Dealing with irresponsiveness from far-away scientists

When meeting some scientists in person, I've had good conversations with decisions upon interesting plans for research cooperation and personal visits. But then, subsequent contact by e-mail is difficult, where the other party either doesn't reply at all, or very slowly (several weeks +). However, when I then meet them again at a later date, they are still enthusiastic about the project (where the bulk of the work is mine) and a short in-person discussion makes more progress than the past months of (lack of) e-mail have. So it appears that a lack of interest in the project does not explain the lack of response. The project is scientifically interesting, fits with my PhD, and the visit enhances my chances of finding a post-doc after my PhD (it's a very good institute for my field).  I understand that many scientists are very busy and flooded by e-mail, but it feels sad to abandon a potentially interesting project just because communication by e-mail is not working well. I'm quite sure it would work if I were in the same building. What strategies exist to mitigate this problem? I can think of:   Try to ask a common acquaintance to poke him/her (my local colleague has a shared friend with him/her). Pro: Might get indirect feedback as to why the irresponsiveness. Con: involves 3rd party (may or may not be on-site) not necessarily involved. Send reminder e-mails (did you see my e-mail from 20 February?). Pro: increases chances of being noticed. Con: may be considered annoying Phone. Pro: hard to run away. Con: I don't like phoning and I don't like being phoned. E-mail someone sitting in the neighbouring office. Pro: neighbour has small step to irresponsive scientist. Con: a bit strange to involve someone I don't even know Give up on the project. Con: means no project and no visit. Try to do the project without their input. Pro: no need for communication. Con: might waste a lot of time by trying known dead-ends that I'm not aware of.    What other options exist? What advantages and disadvantages have I not thought of? What is wise to do?


Op amp circuit for logrithm calculation?

How does one design an op amp circuit which calculates the logarithm of the incoming voltage? I.E. if \$V_{in}\$ is the voltage at the input of the circuit and \$V_{out}\$ is the voltage at the output of the circuit, then the relationship between the two should be $$ V_{out}=\log_{10}\left(\frac{V_{in}}{V_{ref}}\right), $$ where \$V_{ref}\$ is some reference voltage such as 1 V.


If $A$ is independent of $B$ and $C$ then why is it not necessarally independent of $B\cap C$?

I'm attempting to acquire an intuitive understanding of why the content in the question of the title is correct, however I am unable to do so. Is there way of thinking about the result that makes sense?


Related List Files vs Notes & Attachments

users want me to add a related list to a custom object to allow you to add attachments. What is the difference between the "Files" and "Notes & Attachments" related list?


My basic maths tells me: 4.0/10.0 == 0.4  But in swift, I get:  4.0/10.0 > Double = 0.40000000000000002   What is the cause of this weirdness? How do I get the number I expected?


For the following bibtex entry  @Article{REF56, author = {E Shamonina and L Solymar}, title = {{Magneto-inductive waves supported by metamaterial elements: components for a one-dimensional waveguide}}, journal = {JOURNAL OF PHYSICS D: APPLIED PHYSICS}, year = {2004}, OPTkey = {•}, volume = {37}, number = {3}, pages = {362–367}, OPTmonth = {•}, OPTnote = {•}, OPTannote = {•} }   the output in the generated PDF file is as follows:  Shamonina, E. & Solymar, L. (2004), ‘Magneto-inductive waves supported by metamaterial elements: components for a one-dimensional waveguide’, JOURNAL OF PHYSICS D: APPLIED PHYSICS 37(3), 362âAS367.   It is evident that the page numbers are garbled. Any idea why? I have other similar entries and none of the page numbers are garbled, as in the case of this one. For a MWE, I am using the following:  \documentclass[11pt]{report}  % all packages as necessary  \begin{document}  ......  \end{document}   P.S The style file I am using is utthesis.sty which can be found at the following link:


Short-term volunteering in Denmark without a volunteer/work visa?

I'm an American going to Denmark on a tourist visa. I really want to do a few hours of volunteer work per day in exchange for room and board, for the cultural exchange benefits.  The problems:   The Denmark visa website classifies volunteer work as "work" needing a work visa. Volunteer visas are only available if you are under 30 years of age, and I'm over the age limit.   EDIT: I've been trying to figure out if and how I can legally do this, and if such a short-term casual position really qualifies as a problem. If anyone knows of any way to ensure that I'm in the clear, please share. Is this going to get me in trouble?


What did Maz Kanata give to Chewie in the end of the Episode IX? Have we seen this (golden?) object before? What makes it significant?


Eigenvalues and eigenfunctions of the exponential potential $ V(x)=\exp(|x|) $

For $a$ being positive what are the quantisation conditions for an exponential potential?  $$ - \frac{d^{2}}{dx^{2}}y(x)+ ae^{|x|}y(x)=E_{n}y(x) $$ with boundary conditions  $$ y(0)=0=y(\infty) $$ I believe that the energies $ E_{n} $ will be positive and real   I have read a similar paper:     P. Amore, F. M. Fernández. Accurate calculation of the complex eigenvalues of the Schrödinger equation with an exponential potential. ,  [math-ph].   However, I get this strange quantisation condition          $$ J_{2i\sqrt{E_{n}}}(\sqrt{-a})=0 $$  How can I handle this in the case $ a >0 $?


How was the scene of the mirror in "Mr. Nobody" recorded?

How was the scene of Jared Leto looking at his reflection and the camera moving through the mirror recorded?  This is the scene:                                 I still can't figure how they did it.


why doesnt notepad++ in Wine display the filenames properly?

Tiny yet strange issue:    In the list of files/folders, notepad++ running in Wine completely ignores the last character. Other than that it works perfectly under Wine, so this is very strange to me. Also a quick google didn't yield any other people with this issue...  It started to get really annoying in a folder where all my html files have a number in the name, at the end.  Versions:   Notepad++: v5.9.3.  (downloaded from the official website, followed an irretrievable guide to install) Wine: 1.2.2.


Preventing Browser Text Input Suggestions

I am building my own local search UI element that gives local search suggestions as you type. The problem I am having is that when I focus on the html text input element my browser (Safari, but could happen in other browsers) displays its own text suggestions based on things that I've typed in the past.   My guess is that this is dependent on the ID or Class of the < input > tag. So probably, if I change the input tag class to something obscure, the browser will not have any suggestions to offer. But I wonder if there isn't a more elegant way...  A related issue is about text field highlighting that happens in Safari when you focus on the < input > element. When I am filling up a form on Facebook, I don't see this outline. It would be great to hear if someone knows how to handle those two issues.


I am having a problem authenticating in Ubuntu 12.04. I have no password. I have bought my computer online. There is no password when I log in. It's showing me unsuccessful password. So I cannot download any app from the Ubuntu software system.


I installed Ubuntu 16.04 on Dell Inspiron 1564. Suddenly, the wireless card is not turning on (network is disabled). However, the computer recognizes the wireless card (lshw -C network).  I tried starting it manually through terminal but it won't.  ok i ran  lspci -knn | grep Net -A3; rfkill list and here what i got :  lspci -knn | grep Net -A3; rfkill list 03:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01)     Subsystem: Dell Wireless 1397 WLAN Mini-Card [1028:000c]     Kernel driver in use: b43-pci-bridge 04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 02)


I have a edge loop that has vertices on it. Is there a way I can separate the vertices on the the edge evenly without moving the end points? I would also like for the vertices to maintain the current shape.


Another word for "tens" other than "dozens"

I'm seeking another word for "tens" when describing multiples of something fewer than one-hundred.  For example:     The landlord received tens of applications for the rental home.   I don't like the word "dozens" as a substitute simply because it breaks the convention of using base ten figures elsewhere:     The landlord received hundreds of phone calls about the rental home.   The landlord noticed thousands of online views of the rental home listing.   To the landlord, it feels like he has contacted tens of thousands of people.     But using "dozens" carries a hefty weight with it, that "tens" seems to lack.  Is there a way to use "tens" in this context while still conveying the idea of "several" as opposed to "only a few"?


Customizing the list of listings from minted

This question is in regards to customizing the format of the list of listings produced with the minted package. In particular, I want to replicate the formatting produced via the tocloft for Figures:      Despite being related to the following two questions:   (1) ;  (2) ,   I have been unable to replicate the formatting of the list of figures for list of listings from minted. This question differs from these two examples in that minted uses the float package to create the list of listings, whereas the above two questions address the algorithm and listing packages, respectively.    An attempt to produce a similar result follows.   \documentclass{report} \usepackage{minted} \usepackage[titles]{tocloft}   \makeatletter \begingroup   \let\newcounter\@gobble   \let\setcounter\@gobbletwo   \globaldefs\@ne   \let\c@loadepth\@ne   \newlistof{listings}{lol}{\listoflistingscaption} \endgroup \let\l@listings\l@listing \makeatother    \renewcommand{\cftfigpresnum}{Figure } \cftsetindents{fig}{0em}{5em}  \renewcommand{\listoflistingscaption}{List of Listings} \renewcommand{\cftlistingspresnum}{Listing } \cftsetindents{listings}{0em}{5em}   \begin{document}  \listoffigures \listoflistings \clearpage  A minted environment:   \begin{listing} \begin{minted}{java} // Java class \end{minted}     \caption{A Java Class.} \end{listing}   A Figure:   \begin{figure}[h] \centering  \rule{1cm}{1cm} \caption{A Figure} \end{figure}  \end{document}   This approach yields the unsatisfactory list:     Any suggestions would be greatly appreciated.


How do I log in using only my username and a password

How do I set up my profile on Stack Exchange so that I log in just with username and password?  Right now I login using Facebook.  I have set up an alternative desktop only for coding, but I absolutely DO NOT want to have in that account my Facebook or email accounts to avoid distractions.  Yet I need to use Stack Exchange (this is for coding, after all and I have questions). How do I log in, without using all the Facebook or  or other services. Something as simple as: username, password.


I have been wondering for a while.There dozens of topics which prove the earth is round. But they all heavily rely on the vision of the person you proof it to. Is there any way, not at all relying on vision, to proof the earth is round?


Photoshop: How to make background transparent without affecting image quality?

I'm really new to Photoshop, but I use Indesign and Illustrator regularly.  I have a picture of a product (books basically) that have a white background and I need that background to be transparent. I used the quick selection tool to select all the white space, then selected the inverse, cut and paste into a new file with a transparent background. When I do this the image ends up looking different-- kinda grainy, ragged edges. What is the best way to change the background to transparent without losing the image quality?   Here are links to the photos  Original:       After trying to remove background:


In the following sentence should it be "you who is" or "you who are"?  I can make a case for either in my mind.  For example, if you turn the sentence around a little bit, you could say, "Tonight, you are the toast of the town. Or you could reimagine it as "The toast of the town is you."  Help - not sure which reasoning is correct.  Thoughts?      We couldn’t be happier that tonight it is you who IS the toast of the town.   or     We couldn’t be happier that tonight it is you who ARE the toast of the town.


1970s (?) book where teacher flies in a balloon and crash-lands on mysterious island

Plot: The teacher finds an island with very sophisticated civilization. There is a volcano on the island which causes quakes every so often. I also do recall something about families being lettered by the alphabet and making food based on their letter. Format: 70% chance of paperback | 30% chance of hardcover Language: English Author: No clue... Read Date: Maybe 5-ish years ago... Publication Date: I'm pretty sure from the early 1970s but I can't be sure, again...


Hi, I just love this kind of design and I wanna know if exist specific name for this.


Prove that doesnt exist $f$ that $f(0)=1$ and$ |z|^2+1\leq |f(z)|$

Given $f$ and holomorphic in B(0,1) and $f(0)=1$ ,$ |z|^2+1\leq |f(z)|$ prove that such $f$ doesn't exist.  I've thought maybe to use the maximum principal but didnt manage


The ideal $(x_1,x_2,x_3,.........)$ (with infinitely many variables) in the ring $K[x_1,x_2,x_3,....]$ is not finitely generated.

How can I show that the ideal $(x_1,x_2,x_3,...)$ (with infinitely many variables) in the ring $K[x_1,x_2,x_3,...]$ is not finitely generated.   I cannot complete the arguments as I thought if the ideal is generated by finitely many polynomials say $f_1,f_2,........f_n$ then these polys will contain only finitely many variables. Let  $x_k$ be the variable with highest subscript which will be involved in $f_i 's$. So $x_{k+1}$ will not appear in any of the $f_i's$. My target is to show that $x_{k+1}$ cannot be written as $K[x_1,x_2,x_3,.....]$ linear combination of $f_i's$. If possible suppose $x_{k+1}$=$g_1.f_1 +g_2.f_2+.........+g_n.f_n$. I am trying by putting $x_1=x_2=...=x_k$=$1$ but then I can't argue further. I want this to be completed in this way. Help me. Thank You.


Prove the congruence $pB_{p-1} \equiv -1 \pmod p$ for Bernoulli numbers.

I need to prove that:  If $p$ is prime greater than or equal to five, then $pB_{p-1}$ belongs to the p-integers and more over:  $$pB_{p-1} \equiv -1 \pmod p$$ Hint:Put $N=p$ in the Faulhaber´s formula: $S_{j}(N-1)=  \displaystyle\sum_{k=o}^j \frac{1}{(j-k+1)}{j \choose k}N^{j-k+1}B_{k}$ and reduce everything mod p and use the Fermat´s little theorem.  But I do not know how to reduce this:  $S_{j}(p-1)=  \displaystyle\sum_{k=o}^j \frac{1}{(j-k+1)}{j \choose k}p^{j-k+1}B_{k}$ to mod p, and I have problems trying to prove that $pB_{p-1}$ belongs to the p-integers, Can you help to prove the theorem please, Thank you.


I'm trying to install nodejs-legacy and it keeps failing

I have no idea what the problem is, but I keep trying to install nodejs-legacy by running sudo apt-get install, but it keeps failing. Here's all of the output when I try to do the command.  Reading package lists... Done Building dependency tree        Reading state information... Done The following packages were automatically installed and are no longer required:   ax25-node libax25 libc-ares2 libv8-3.14.5 openbsd-inetd Use 'apt-get autoremove' to remove them. The following NEW packages will be installed:   nodejs-legacy 0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. Need to get 0 B/15.4 kB of archives. After this operation, 119 kB of additional disk space will be used. (Reading database ... 198807 files and directories currently installed.) Unpacking nodejs-legacy (from .../nodejs-legacy_0.10.15~dfsg1-4_all.deb) ... dpkg: error processing /var/cache/apt/archives/nodejs-legacy_0.10.15~dfsg1-4_all.deb (--unpack):  trying to overwrite '/usr/share/man/man1/node.1.gz', which is also in package nodejs 0.10.24-1chl1~saucy1 Processing triggers for man-db ... Errors were encountered while processing:  /var/cache/apt/archives/nodejs-legacy_0.10.15~dfsg1-4_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1)   Solution:  So I found the answer to my question in another thread. I had to use sudo dpkg -r nodejs-legacy and sudo apt-get -f install.  So, credit for where credit is due, here is the link the answer that explained to me what I had to do.


How many ways to put n objects into n bins, with object i not in bin i for 1<=i<=n ??

How many ways are there to arrange n objects into n bins, subject to the n constraints that the ith object can't go in the ith bin for any 1 <= i <= n ?  Each bin has to contain exactly one object.


How to overcome tar: Removing leading `/' from member names

My command is totally different when you compare with that command  I am trying to run below command in linux   Command: tar zcvf ABCD.tar.gz -T Files.txt   and i am getting an error message as   Error: tar: Removing leading `/' from member names   I tried below command but still i am getting same error message ()  tar -C / -zcvf ABCD.tar.gz -T Files.txt


Folland question 15(a) Prove that $\mu(E):=\sup\{\mu(F)\mid F\subset E,\ \mu(F)<\infty\}$ is semifinite

Let $(X,\mathcal{M},\mu)$ be a measure space. I am trying to prove that: $$\mu_0(E):=\sup\{\mu(F)\mid F\subset E,\ \mu(F)<\infty\}$$ is a semifinite measure. I have already proven that this is a measure, i.e., I only need to prove that the measure $\mu_0$ is semifinite. Although this is confusing because: let $X$ be any nonempty set, let $\mathcal{M}$ be any $\sigma-$algebra on $\mathcal{M}$, and define $\mu$ be an measure on the measurable space $(X,\mathcal{M})$: $$\mu(E):= \begin{cases} 0 &E =\emptyset\\ \infty &\text{otherwise} \end{cases}$$ Then $\mu(X) =\infty$ (by assumption), but there is no measurable subset of $X$ of finite nonzero measure (the only measurable subset of finite measure is the empty set). I thought that $\mu$ is a measure (although I don't because this is seemingly producing a contradiction with the question prompt in the Folland book) because: if $\{E_j\}_{j=1}^{\infty}\subset \mathcal{M}$ are disjoint, then: $$\mu\Bigl(\bigcup_{j=1}^{\infty}E_j\Bigr):= \begin{cases} 0 &\text{ every $E_j$ is empty }\\ \infty &\text{ there exists a nonempty $E_j$} \end{cases}$$ (Note that part (b) of question 15. of Folland is answered in another post, I am asking about part (a). I finished part (b) already by the way.)


What's the difference between Kage Bunshin no Jutsu and Tajuu Kage Bunshin no Jutsu?

While the Kage Bunshin no Jutsu seems to be taught, the Tajuu Kage Bunshin no Jutsu is sealed, so nobody can learn the jutsu. Does that mean that there's a difference between these jutsus, aside from the number of Kage Bunshin created?   Or, why was the Tajuu Kage Bunshin no Jutsu sealed away? If there's no other difference, everybody could use this without reading the sealed scroll.


Stock exchange robbery in The Dark Knight Rises

I have seen The Dark Knight Rises quite a few times and I am unable to understand the significance of Bane raiding the stock exchange. Miranda Tate is already known to be a billionaire so why does Bane need any more money?  The relevance is not explained in the movie after the scene. Was it just set up to set a grand entrance for Bruce?  The program was anyway running through wireless medium, why didn't they just rob the exchange remotely?  Neither did Bane know Batman is to return, the cops would've chased them to the tunnels and the show would've been over before it began.


If you pass GO, do you collect 200 at the end of the turn or as you pass GO?

This is to settle a current dispute with our game. Here's the scenario: Someone rolled the dice and landed on Community Chest, passing GO in the process. They picked up the card and it read 'Pay 10 pound or Take a Chance'. They took a Chance, and the Chance card said 'Go back 3 spaces.' They landed on Mayfair, passing back over the GO square to get there. They argued that they should still receive 200 pound because they already passed GO, and you receive the money when passing it NOT at the end of your turn.  I believe that this is correct and you should get the money as you pass GO rather than at the end of your turn (therefore removing the money you got by passing if you went backwards and landed on a square before GO). I've looked in the rules and I think you get the money as you pass, rather than after the consequences of your turn.  What's the official stance on this?


Help needed solve fire house problem 24v to 12v 100 milli amp

We are trying to make an antique bell work I'm told it needs 12v .1 /  amp or 100milli amp  Our current power system is 24 volt 20 amp can you please help us step this down . We were going to use a common 24 to 12 volt resistor to drop the voltage but unsure of how to drop the amps down to .1


Tag search when posting a question in iOS app is case-sensitive

Selecting the tags for this question is kind of annoying in the iOS app because the tag search is case-sensitive and my iPhone keeps "correcting" ios when I type on the dash.  The site tag search seems to be case insensitive, so I'd expect the app to behave the same.   the text entry field should be programmed to not be sentence case even if caps are entered intentionally, the internal search should be case insensitive.      This fix is also needed on the tags search on the main site feed browsing pane.


I have an Acer D20 with an Intel GMA3600 card. Is graphic acceleration for this card supported? Videos, flash, and other graphic intensive operations struggle with the current setup.


How to run Typing Instructor For Kids Platinum software

I'm brand new to Ubuntu. I purchased and downloaded "Typing Instructor For Kids Platinum" .exe software in my Ubuntu 20.04 desktop. I'm not able to run it like in Windows. Upon clicking the downloaded software I get this message: "An error occurred while loading the archive". What do I do? Thanks!


I am making some notes on differential geometry and topology lecture. As I know in LaTeX we can draw some very nice images. But I was not able to find any examples on surfaces, which I could use. Is it possible to make this kind of plots?


Python 2.x ; function to wait a few second for continue

I've just made a program, but I want to make a function in one place just to wait a few seconds to continue working. Could you tell me how does that function look?  for example  print 'I know' (HERE wait few seconds to continue working) print 'I am so layman with my trivial question'


Get picklist values in apex in the order they were entered

I want to get the picklist values of a picklist field in Apex.  I use the someFieldResult.getPicklistValues(); function and that works fine. This gives me all the picklist values, in alphabetic order (e.g. Alpha, Beta, Gamma).  However, I want to have those values in the order they were entered (e.g. Gamma, Alpha, Beta). How to do that?


The inbox icon on the top bar: envelope or automobile

Seriously, does anyone else thing that the inbox icon on the top bar looks more like the front of a car than an envelope? Or is it just me?


I'm trying to get an event to fire whenever a choice is made from a JComboBox.  The problem I'm having is that there is no obvious addSelectionListener() method.  I've tried to use actionPerformed(), but it never fires.  Short of overriding the model for the JComboBox, I'm out of ideas.  How do I get notified of a selection change on a JComboBox?**  Edit: I have to apologize. It turns out I was using a misbehaving subclass of JComboBox, but I'll leave the question up since your answer is good.


14.04 Nvidia issues - black screen, freeze etc

I have some issues with nvidia drivers on ubuntu 14.04, switchable graphics (intel HD + nvidia GT 740M).   Currently installed (from xorg-edgers repository): nvidia-352 (was recommended by ubuntu-drivers devices) + nvidia-prime + nvidia-settings.  Issues (appears only when nvidia is selected in prime, with intel no problems):   Blackscreen on login screen (I can hear sound, if I run startx from ctrl-alt-f1 and then stop it, or suspend/standby my pc and turn it on again - display appears). when using touchpad it freezes every few minutes, and ctrl-alt-f1 then ctrl-alt-f7 unfreezes it. I saw bug report regarding this issue and it was marked as patched/fixed so not sure what the problem is.   Nvidia settings can show temp etc and seems like the driver has good communication with nvidia card.  I tried to purge nvidia*. I tried using different drivers (nvidia-331). Both cause the same issues.


loadPlayer function inside success function is undefined

I get the following message when trying the following code.  angular.js:9419 Referenceerror: loadplayer is not defined.   Here is my code:  (function getAllAlbums(){ $http({     method: 'GET',     url: "api/playlist.php?type=playlist", }) .success(function(response){   console.log(response);   loadPlayer(response); }) .error(function(response){  console.log(response); })  })();   Down the file I have the function:  jQuery(function loadPlayer($) { var supportsAudio = !!document.createElement('audio').canPlayType; if (supportsAudio) {.......   Why do I get the message that loadPlayer is undefined??


I need to do a factory reset on my phone

I need to do a factory reset of my phone. I have the Alcatel one touch fierce 2 How and where do I back up my apps and data.


How to animate Start and End Bevel using Bezier Circle

I'm trying to animate the start and end bevel using a Bezier circle.


Here's my question I was given: Write a regular expression to recognize strings with that have any number of a's, b's and c's in the order of abc. However, any number of d's may be among the a's, b's and c's.  Positive Examples:     dddaddbcdd   dddd   Negative examples:      dabcddadbdd    because 2nd sequence starts but does not finish.     ddcdd because c without leading ab   ddaddbddcaddbcdd because 2 abc sequences   Here's what I've tried:  [^abc]+(a|b|c)*[^abc]


I have been looking for a SF book about an old man (tailor) walking down the street. He steps through a wormhole and ends up in the future. His adventures start from there. I read the story back in 1970-1980, and it was from an old paperback I got from the library.  What I remember was an old tailor closing up shop to head home one evening, and as he was walking down the street he stumbled on a crack in the sidewalk and was transported into the future. That's about all I can remember right now. I have Googled it online but, with so few facts I cannot seem to find anything. I know it was an old book from about the same time as E.E. "Doc" Smith stories of the Lensmans.


I want to use GoogleDNS while I'm on the bus. But there is no settings page to change as far as I can see.


Most of my house went missing and I don't know why

I was playing singleplayer vanilla 1.14, and I went to a spawner near my house to grind out some XP. When I went back to my house, most of it was missing. Most of the doors, wood, and stone blocks had just disappeared. It wasn't a clear cut like when loading a chunk goes wrong. Some of the blocks of the base and the roof were still there, but most of the second floor was gone. Things like beds, furnaces, and stuff like that, were still there floating in the air.  I'm not sure if this information helps, but the dogs from the house ran to me while I was at the spawner.  Does anyone know how this is possible?


Did Hermione ever see herself when she used the Time-Turner in Prisoner of Azkaban?

Since Hermione used the Time-Turner repeatedly during her third year, did she ever see her past self or other self accidentally when going to her classes?


(Newbie to Java, old time C# guy.)  I have noticed a lot of the use of @Override in Android example code. I thought that all Java methods were by default "Virtual"?  What then does @Override do?  Example:   private class HelloWebViewClient extends WebViewClient {      @Override     public boolean shouldOverrideUrlLoading(WebView view, String url) {         view.loadUrl(url);         return true;     } }


How can I convert a string to upper- or lower-case with XSLT?

How do you do case conversion in XSL?  <xsl:variable name="upper">UPPER CASE</xsl:variable> <xsl:variable name="lower" select="???"/>


I'm trying to use SqlDependencyEx it accepts the first argument as a connection string, if I use my DB connection string directly it works but I don't want to give it directly instead I want it to grab DefaultConnection using Configuration. but I'm getting this error     A field initializer cannot reference the non-static field, method, or   property 'SignalServer.connectionString' (CS0236)   public class SignalServer : Hub         {             public readonly TestController _testController;             public IConfiguration Configuration { get; }             string connectionString = "";              public SignalServer(TestController testController, IConfiguration configuration)             {                 Configuration = configuration;                 _testController = testController;                 connectionString = Configuration.GetConnectionString("DefaultConnection");             }              public async void NotifyConnection()             {                 await Clients.All.SendAsync("TestBrodcasting", _testController.GetAllApps());             }              SqlDependencyEx sqlDependency = new SqlDependencyEx(connectionString);          }   Update:  public class SignalServer : Hub {     public readonly TestController _testController;     public IConfiguration Configuration { get; }      public SignalServer(TestController testController, IConfiguration configuration)     {         Configuration = configuration;         _testController = testController;         SqlDependencyEx sqlDependency = new SqlDependencyEx(Configuration.GetConnectionString("DefaultConnection"), "dbName", "tablename");     }      public async void NotifyConnection()     {         await Clients.All.SendAsync("TestBrodcasting", _testController.GetAllApps());     }       private void RegisterNotification()     {         sqlDependency.TableChanged += OnDataChange;         sqlDependency.Start();     }      private void UnregisterNotification()     {         sqlDependency.Stop();         sqlDependency.TableChanged -= OnDataChange;     }      private void OnDataChange(object sender, SqlDependencyEx.TableChangedEventArgs e)     {      }      private void Dispose()     {         UnregisterNotification();     } }


Simple question that I couldn't find an answer to online, I created a GUI class that extends JFrame and in the constructor I create the Frame using "setSize(10,10);" and so on, however, many online examples use "this.setSize(10,10);" so my question is; is there any difference at all in the following:  setSize(10,10); this.setSize(10,10);


If I am sitting in a chair with wheels and someone pushes on the back of my chair with sufficient force it will role along the ground. However, if I push on the back of the chair with the same force it will not move the chair. Why?


Replace Next Line by  in the String Obtained from TextBox

I need to replace New Line with
 in the string obtained from a text box.Currently i use this   string text= textbox.Text; text.Replace(System.Environment.NewLine, "
");   But nothing is getting replaced when i test using MessageBox.show(text);


Show that ${\rm Aut}(Z_2 \times Z_2) \cong S_3$

I would like to show that ${\rm Aut}(Z_2 \times Z_2) \cong GL_2(Z_2)$, after that I would show that order of $GL_2(Z_2)$ is $6$ (just by listing them) and $GL_2(Z_2)$ is non-abelian, because I know that all non-abelian groups of order $6$ are isomorphic to $S_3$.  I just don't know how to rigorously show that ${\rm Aut}(Z_2 \times Z_2) \cong GL_2(Z_2)$.  Could you please help me in any way?


Visual comparison between LaTeX and Word output (hyphenation, typesetting, ligatures etc)

I really want to convince my friends and family that LaTeX is the choice for them when it comes to formatting and creating beautiful documents. I am aware of the major advantages that come with using LaTeX but some are not convinced. Can someone please provide a side by side comparison of a Word document (or something of the sort) and a LaTeX document that shows the obvious and subtle differences between the two? I want people to look at it and say "Ahhh, I see it, there's a major difference".