There seems to be an issue going around at the moment, where I've seen a number of edits to post that are complete vandalism. Presumably, these get filtered out by diligent users who notice that there is something wrong with the edit, but it would be nice to reduce the work load. What can we do to prevent this from happening?

I don't know if all sites have this problem, but I suspect it extends beyond just Seasoned Advice.  Sometimes we seem to go through periods where we have a constant stream of invalid suggested edits from anonymous users. Sometimes it's blindingly obvious that the edits are not appropriate. For example, we had , where the user added the following:     Note: This is incorrect. It is protein, not fat. Use the brining technique described above to solve the problem.   ...and , where they added this:     i save my pine apple cores in the freezer in yogurt containers...till i make a turkey, i use chucks of lime, pineapple core and onion in the cavity...pineapple peelings on top of the turkey it is called armadillo turkey is is delicious....   These edits , per se. They seem like honest attempts to be helpful (one even left the comment in his edit, "just wanted to help"), and sometimes they even provide useful information, but all we can really do is reject the edit, there's  except to do a bunch of manual fact-checking and commenting/answering. And it's hard for me, personally, to understand how the users came around to the idea of suggesting an edit rather than just answering the question themselves, but somehow they did.  This is certainly nothing we can't handle on the site - we get hardly any suggested edits compared to Stack Overflow. However, it occurs to me that this could be a much bigger problem on high-traffic sites, and should also be fairly preventable.  I think it's great that anonymous users can suggest edits that correct spelling and grammar or even correct minor factual errors. But certain types of edits should be instantly recognizable as invalid when they come from anon, for example:   Edits which remove or replace more than around 50% of the content (almost always vandalism) Edits which include personal pronouns such as "my", "I", etc. Anonymous users obviously cannot speak for the original author so these edits are never valid. Edits which add a significant chunk of new content without modifying any existing content (these should most often be replies, or additional answers, similar to above)   Some of these edits, especially the last type, might be valid for Community Wiki answers.  I'm not suggesting that we actually  from anon or otherwise unless there's clear systematic evidence of spam or other abuse. As I said, I like this feature. But how about at least displaying some kind of warning to these folks while they're suggesting their edit, when they meet the above conditions? Something like:     Please consider  instead of making major changes. We want your contribution, but will not accept edits that change the meaning or attempt to reply to the original post.   They're more likely to notice this warning if it appears while they are crafting their edit, although I recognize that a lot of users won't read it anyway (just like the duplicate question warning). Still, it's better than nothing, and seems easier to implement than supporting conversion to comments/answers/etc.  It's not just about reducing noise for existing contributors. If these people have useful information, we want to try to get them to contribute it in a form we can accept, instead of having them suggest edits that just waste their time and ours. This warning would be useful for both parties, and beneficial for the site/content in general.  Thoughts?


I am trying to migrate from Windows to Linux. Why is so difficult for beginners to install programs to a linux computer. Starting to miss the self extracting executable programs in Windows. I have spend hours trying to load Java8 JDK to begin to develop some programs. Can anyone give me some very simple help to install Java 8jdk?

I want to install Oracle's JRE and to update to the latest version with the Software Updater when they released. Is there a Ubuntu package that is provided by Canonical or Oracle?  Before release Java 7, I followed  to install Java 6.  But it doesn't work for Java 7. There is no package sun-java7-xxx. How can you install Java 7?


Let $M$ be a  (finite dimension) and a $d:M\times M\mapsto \mathbb{R}^+$  on $M$.  Does this define a Riemannian manifold $(M, g)$? Is it possible to derive a metric tensor $g$ from the metric $d$?  I don't care about the pathologies, let's say that you have geodesic completeness or any kind of regularities you want on $M$ and $d$.  Just for motivational background: it is well known how to get a metric on a Riemannian manifold. My question is the other way around.

Let $M$ be a smooth, finite-dimensional manifold. Suppose $M$ is also a metric space, with a given distance function $d: M \times M \rightarrow \mathbb{R}_{+}$, which is compatible with the original (manifold) topology on $M$.  Question: is there a Riemannian metric $g$ on $M$ such that the distance $$d_g(p, q) = \inf_{\gamma \in \Omega(p, q)} L_g(\gamma)$$ coincides with $d$?  I believe that this setting is very standard, but for the sake of completeness: $L_g$ denotes the Riemannian length of the curve $\gamma$, and $\Omega(p, q)$ the set of all piecewise smooth curves $\gamma : [a, b] \rightarrow M$ s.t. $\gamma(a) = p$ and $\gamma(b) = q$. Thanks in advance.


I'm new to the camera and photography so I am sorry in advance...  With both lenses the camera came with (18-55 and 75-300) if I use the camera's magnifier or the lenses zoom for close up pics from near or far, the camera will take a picture from further away than what is shown on the screen.  Why?  Shouldn't it take whatever picture is shown on the screen?  Thx  Looking for beginner classes now...

I am a newbie to the new camera I just bought. It is a Nikon D5200 it has the original lens that came on the camera a 18-55 lens on it. My question is when I turn the lens to the 55 and then push the plus and minus buttons at the bottom of my camera to zoom in it appears to be zooming in and then I take the photo and the picture is not zoomed in at all.    I have a new Canon T3i and was able to take and capture zoomed in photos with the lens that came with the camera (EF-S 18-55mm) as well as a Canon zoom lens EF 75-300mm 1:4-5.6. Now when I zoom in with either lens and take a photo, when I review it, it shows original image before zooming. Is it a defect in the camera or inexperience of the operator?    (Two separate questions from separate users but with the same root cause.)


File explorer (by clicking properties on the C: drive icon) reports that I have an 807 GB capacity with 679 GB of free space.  Disk Management (by clicking shrink volume on the C: drive icon) reports that I have 807 GB of capacity but only 281109 MB, or 281 GB, of free space.  My question is how do I resolve the discrepancy. Is File Explorer or Disk Management incorrect, or are they reporting different numbers because they are looking at different (and more/less limited) sets of files and folders?   Of note: I am dual booted with Windows 10/Ubuntu 16.04 LTS. My Ubuntu partition is roughly 100 GB on a 1TB hard disk.

How can I visualize which folders and files are taking up all of the space on my hard drive?  I'm getting some conflicting reports on the size of hard drive contents. Namely what is and isn't there and what folders are actually using the space.   I need to know which of the files or folders the culprits behind all this hidden bloat. Also there should be a print option to get it on paper.


I have a range that needs 10/3 wiring w/ ground, and the wire in place is a 10/2 w/ground.  My question is can I just run an additional 10/2 wire and use the black in that 2nd run for the "red" wire, and just cut back the white and ground in the 2nd run.  Or do I need to run a new 10/3 wire.

I have two existing 12/3 NM-B cables that are used to connect two different circuits, which are distributed from a junction box close to the location I want to add a washing machine. The washing machine requires 12/2 wire, and a 20A fuse. Each of these existing 12/3 cables has a spare red wire. Can I use one of these red wires as neutral, and the other as load to the 20A fuse? Should I pull a new cable instead?


I am new to photography and I am getting a good deal to buy Nikkor 50mm f1.8G lens.   My question is whether I can use Nikkor 50mm f1.8G lens with my crop frame camera Nikon D5500 or not?   My initial guess was that I can definitely use it but on this , I see a heading 'Fast, f/1.8 compact FX-format prime (fixed focal length) lens'   As the heading says 'FX-format', does it mean that I can use this lens only with full frame camera?  Please let me know this as I am confused. I appreciate your time and feedback :)  Thanks,

I have a Nikon D3200 camera. I want to buy a prime lens. I read some reviews online and understand that the "Nikon AF-S NIKKOR 50mm F/1.8G" would be a good lens to buy, but this is a FX lens.   Can someone please explain me how my camera, which has DX-format sensor, can support FX lenses?


If A exerts a force of 200N on B, then by newton's third law, 200N would be exerted on it. Similarly, if B exerts 100N on A, by newton's third law, 100N would be exerted on it. Therefore the net forces acting on both would be 300N in opposite directions. In this case how would A accelerate forward?

Given Newton's third law, why is there motion at all? Should not all forces even themselves out, so nothing moves at all? When I push a table using my finger, the table applies the same force onto my finger like my finger does on the table just with an opposing direction, nothing happens except that I feel the opposing force. But why can I push a box on a table by applying force ($F=ma$) on one side, obviously outbalancing the force the box has on my finger and at the same time outbalancing the friction the box has on the table? I obviously have the greater mass and acceleration as for example the matchbox on the table and thusly I can move it, but shouldn't the third law prevent that from even happening? Shouldn't the matchbox just accommodate to said force and applying the same force to me in opposing direction?


If won't is the contraction of will not, where did the "wo" come from in won't? Why is this convention over willn't?

"Don't", "wouldn't", "couldn't" and "isn't" are all contractions of "do not", "would not", "could not" and "is not"... So what's "won't" a contraction of?  It appears to be "will not", but if so, why isn't it "willn't"? (And if there's no good reason, has it ever been "willn't" at any point in history?)


I am trying to filter .out and .txt files from sizes 8 to 15 bytes (not inclusive). The directory from which the files are searched is given as the first argument when calling the shell.  As input  have the directory temp:  my@computer:/$ ll temp total 80 -rw-r--r-- 1 asistent users 17 May 25 19:04 file1.exe -rw-r--r-- 1 asistent users 13 May 25 19:04 file1.out -rw-r--r-- 1 asistent users 25 May 25 19:04 file1.pdf -rw-r--r-- 1 asistent users  9 May 25 19:04 file1.txt -rw-r--r-- 1 asistent users 17 May 25 19:04 file2.exe -rw-r--r-- 1 asistent users 25 May 25 19:04 file2.out -rw-r--r-- 1 asistent users 25 May 25 19:04 file2.pdf -rw-r--r-- 1 asistent users 13 May 25 19:04 file2.txt -rw-r--r-- 1 asistent users 25 May 25 19:04 file3.exe -rw-r--r-- 1 asistent users  5 May 25 19:04 file3.out -rw-r--r-- 1 asistent users  9 May 25 19:04 file3.pdf -rw-r--r-- 1 asistent users 21 May 25 19:04 file3.txt -rw-r--r-- 1 asistent users 17 May 25 19:04 file4.exe -rw-r--r-- 1 asistent users 17 May 25 19:04 file4.out -rw-r--r-- 1 asistent users 29 May 25 19:04 file4.pdf -rw-r--r-- 1 asistent users 25 May 25 19:04 file4.txt -rw-r--r-- 1 asistent users 13 May 25 19:04 file5.exe -rw-r--r-- 1 asistent users  5 May 25 19:04 file5.out -rw-r--r-- 1 asistent users  9 May 25 19:04 file5.pdf -rw-r--r-- 1 asistent users  9 May 25 19:04 file5.txt   My script is:  #!/bin/bash   if [ $# -ne 1 ]; then         echo "USAGE: $BASH_SOURCE <SOURCE>"         exit 1 fi  if [ ! -d $1 ]; then         echo "Source directory does not exist"         exit 1 fi  mkdir output  #filtering files here allFiles=`find $1 -type f -size -15c -size +8c -iname "*.txt" -o -iname "*.out"`  #echo $allFiles  for file in ${allFiles[*]}; do         #echo "Copying file $file"         `cp $file output` done   My output is:  total 40 -rw-r--r-- 1 181185 domain users 25 May 26 14:00 file1.out -rw-r--r-- 1 181185 domain users  9 May 26 14:00 file1.txt -rw-r--r-- 1 181185 domain users 17 May 26 14:00 file2.out -rw-r--r-- 1 181185 domain users 13 May 26 14:00 file2.txt -rw-r--r-- 1 181185 domain users  9 May 26 14:00 file3.out -rw-r--r-- 1 181185 domain users  9 May 26 14:00 file3.txt -rw-r--r-- 1 181185 domain users  5 May 26 14:00 file4.out -rw-r--r-- 1 181185 domain users 13 May 26 14:00 file4.txt -rw-r--r-- 1 181185 domain users  5 May 26 14:00 file5.out -rw-r--r-- 1 181185 domain users  9 May 26 14:00 file5.txt   Notice i have files with sizes 17 and 25. Can some explain to me the proper usage of this command and my mistake?

Why in Linux (Debian 8)  touch 1.cpp 1.h find . -name "*.cpp" -o -name "*.h" -exec echo {} \;   outputs only 1.h while  find . -name "*.cpp" -o -name "*.h"   outputs both? Is it a bug or feature?


I was preparing a code for my friend and I stumbled upon this interesting bug/feature. See the source and output below and can someone explain to me, why does it add more than 0.001 to the current_time var?  Source:  import time current_time = 0.000 check = input("Ready to go?") while True:     current_time = current_time+0.001     print(str(current_time)+" s")     time.sleep(0.001)   Output:  Ready to go? 0.001 s 0.002 s 0.003 s 0.004 s 0.005 s 0.006 s 0.007 s 0.008 s 0.009000000000000001 s 0.010000000000000002 s 0.011000000000000003 s 0.012000000000000004 s   Thanks in advance!

Consider the following code:   0.1 + 0.2 == 0.3  ->  false   0.1 + 0.2         ->  0.30000000000000004   Why do these inaccuracies happen?


I'm trying to find the standard deviation of the following distribution: $Z = kX + vY$ where $k$ and $v$ are scalar values, therefore it isn't a normal sum but it is the sum of two weighted normally distributions. Thanks in advance!

I have two independent gaussian distributions to combine and I have a doubt.  Let's say we have $X \sim N(\mu_x,\sigma^2_x)$ and $Y \sim N(\mu_y,\sigma^2_y)$. I want to mix the two variables with a 0.5 weight each, so I obtain a new variable $Z=0.5*X+0.5*Y$ with mean $\mu_z=0.5*\mu_x+0.5*\mu_y$.  Is it right to say that $\sigma^2_z=0.5^2*\sigma^2_x+0.5^2*\sigma^2_y$?  Because I clearly obtain less variance than intuitively expected when combining distributions.


Can anyone provide me a source to learn algebraic number theory via solving problems which has solutions available too?

I'm not too sure whether this is the right place to ask this (and please correct me if it is not), but I'm currently studying a course in Algebraic Number Theory and would like to be pointed in the direction of any solved problems that can assist in learning.  I have the book Problems in Algebraic Number Theory by Murty and Esmonde, which is particularly good, but are there any further sources (inc. online) available that do a similar job?   It is so often frustrating to be presented with an extensive list of practice questions, many of which form part of the exposition of the material (as in Number Fields by Marcus for example) and then to have no real way of knowing whether any solution you generate is correct and has not made any oversights.   MSE is undoubtedly a good place to verify any answers and clear up issues, but question limits and the impracticality of going online every time a solution seems suspect (or the question is computational and lacks any result to check against) form a barrier.  I suppose any ANT textbook that has an accompanying solutions manual or online published solutions is what I have in mind. Or failing that, links to institutions running a course in ANT with answers to homework exercises.  Thanks in advance.


I changed phone from an iPhone to a Samsung device. I reinstalled Pokemon Go and signed in with the same Google account, but it started a new trainer with zero Pokemon. Can anyone help me?

So I had 20+ Pokemon on my account and today when I tapped on the app, it brought me back to the original screen when you first start playing. My friend who signed up tested using my username when she first started and my username was unavailable, meaning the account still exists. I don't have the password for the account, but I do have the email. So I wanted to know if it was possible to log back into an account?


Purposely means both "on purpose, by design; intentionally, deliberately".  Why use a semi-colon here rather than a comma?

While writing a proposal at work today I needed to mention a list of things and within that list were multi-part items. It seems like replacing the comma with a semi-colon in this situation would make the sentence easier to understand, but is it correct usage?  With standard punctuation this could get confusing:       Some of my favorite things to do are   camping, playing football and   baseball, watching Laurel and Hardy   Movies, and traveling.   Proposed alternative. Is this acceptable usage?       Some of my favorite things to do are   camping; playing football and   baseball; watching Laurel and Hardy   Movies; and traveling.


Prove that if prime can be written as $\ 2^n + 1$ then $n = 2^k$, $\;\;n, k \in \mathbb N$.  I am pretty new in this part of math.

A little bird told me that if $2^n+1$ is prime, then $n$ is a power of $2$. I tend not to trust talking birds, so I'm trying to verify that statement independently.  Suppose $n$ is not a power of $2$. Then $n = a \cdot 2^m$ for some $a$ not a power of $2$ and some integer $m$. This gives $2^n+1 = 2^{a \cdot 2^m}+1$. Now I suspect there's a way to factor that, but I don't see how. Can someone give me a hint?


\includepdf seems remove internal links within included each PDF file. For example, in  \documentclass{article} \usepackage{pdfpages} \begin{document} \includepdf[pages=-,fitpaper]{1.pdf} \includepdf[pages=-,fitpaper]{2.pdf} \end{document}   2.pdf has some internal links in some pages that, when clicked, will jump to some other pages. after compiling the above latex code by pdflatex, the output pdf lose the internal links.  I followed  using pax, but it doesn't seem to make the internal links work in my example. Am I missing something? For example, you can combine an arbitrary pdf, and a pdf generated from  which contains internal links.

I have generated PDFs with figures that have hyperlinks (hyperref to websites, \href) in them. When I compile these figures standalone the hyperlinks work. But when I try to include these PDFs (as figures, not the sources) with \includegraphics the links are lost and only the image is inserted in the document.  Is there a way to include (\includegraphics?) a PDF such that its original links work in the master document?  This question has to do with the externalization (e.g. TikZ or PGFPlots), which also suffers from these drawbacks, i.e. hyper-references are lost.


I am trying to serve mp4s from a drupal-based site, but Safari iPad seems unable to play any mp4 located within the scope of the Drupal site (i.e. shows the play button crossed out) when I try to hit the file directly in the browser. I have done extensive header comparison serving the same file from a non-Drupal site (i.e. from a location that Safari iPad can play) and have not found this to be a header issue. I'm wondering if the PHP file piping and mod_rewrite'ing that are going on via Drupal are causing the problem, but if the headers match up and its the same file, what else could it be? I hope this is clear and thanks ahead of time.

We are using a PHP scripting for tunnelling file downloads, since we don't want to expose the absolute path of downloadable file:  header("Content-Type: $ctype"); header("Content-Length: " . filesize($file)); header("Content-Disposition: attachment; filename=\"$fileName\""); readfile($file);   Unfortunately we noticed that downloads passed through this script can't be resumed by the end user.   Is there any way to support resumable downloads with such a PHP-based solution?


I have a question about the passage.  Is the word "such" a pronoun and what does it refer to?     Had there been an axe handy, a poker, or any weapon that would have gashed a hole in his father’s breast and killed him, there and then, James would have seized it. Such were the extremes of emotion that Mr. Ramsay excited in his children’s breasts by his mere presence; standing, as now, lean as a knife, narrow as the blade of one, grinning sarcastically, not only with the pleasure of disillusioning his son and casting ridicule upon his wife, who was ten thousand times better in every way than he was (James thought), but also with some secret conceit at his own accuracy of judgement.    from the part 1 of the novel "To the Lighthouse" by Virginia Woolf.

Here's the context       "Her heart leaping into her throat, she tiptoed into the salon. Such was her astonishment at seeing Mike chatting with her boss that she leaned against the wall, incapable of making another move."   Is this a phrase or what? Could it be used in other forms as well?


I have a class and it has nullable properties like below;  public class Sample {    public int? ID { get; set; }    public string SampleName { get; set; }    public bool? Active { get; set; }    public DateTime? Date { get; set; } }   When i try to do something like below;  foreach (DataRow tableItem in table.Rows) {         Sample sample = new Sample()         {             ID = tableItem["ID"] != DBNull.Value ? Convert.ToInt32(tableItem["ID"].ToString()) : null,             SampleName = tableItem["SampleName"] != DBNull.Value ? tableItem["SampleName"].ToString() : null,             Active = tableItem["Active"] != DBNull.Value ? Convert.ToBoolean(tableItem["Active"].ToString()) : null,             Date = tableItem["Date"] != DBNull.Value ? Convert.ToDateTime(tableItem["Date"].ToString()) : null,         };      data.Add(sample); }   It gives error like "Type of conditional expression cannot be determined because there is no implicit conversion between 'int' and ''".

EmployeeNumber = string.IsNullOrEmpty(employeeNumberTextBox.Text)     ? null     : Convert.ToInt32(employeeNumberTextBox.Text),  I often find myself wanting to do things like this (EmployeeNumber is a Nullable<int> as it's a property on a LINQ-to-SQL dbml object where the column allows NULL values).  Unfortunately, the compiler feels that  There is no implicit conversion between 'null' and 'int'  even though both types would be valid in an assignment operation to a nullable int on their own. Using the null coalescing operator is not an option as far as I can see because of the inline conversion that needs to happen on the .Text string if it's not null. As far as I know the only way to do this is to use an if statement and/or assign it in two steps.  In this particular case I find that very frustrating because I wanted to use the object initializer syntax and this assignment would be in the initialization block... Does anyone know a more elegant solution?


I wanted to find group $A\times B$ such that it has subgroup which is not of form $C\times D$ where $C < A$ and $D <B$. Actually I think this is wrong I tried to get proof. But my friend told this is true . that it possible to have group with such prpoerty  ANy suggestion is appreciated

Its seems true but I did not see in any group theory book. Let $G\times_{c} H$ be product of two abelian groups (both are infinite). Then $I$ is subgroup of product iff $I = A\times_{c} B$ where $A$ is a subgroup of $G$ and $B$ is a subgroup of $H$. Thanks


I needed to travel to Malta on a business trip. Since there was no Maltese Embassy in my country so I applied through Italian Consulate (on behalf of Malta) for the Schengen visa. This was the first time I applied for Schengen visa and fortunately I got it approved and my itinerary is as follows (no changes in itinerary before applying and after getting the visa):  I am traveling via Turkish airline and my itinerary is as follows:   my country to Istanbul (3 hours stay) - via Turkish Airline Istanbul to Rome (Italy) (6 hours stay) - via Turkish Airline Rome to Malta - via Air Malta   So, my question is:   Since I've 6 hours long stay in Rome (that is a Schengen state too) is it legal to go out and see the city ? For instance, visit the nearby locations like Colosseum etc !?  If Yes, am I breaking some rules by going out of the airport and seeing the city, because initially I was given business Visa to visit Malta ?   Again, this is the first time I am traveling to Europe.  Edit:  No this is not the possible duplicate, because:   I've single entry Schengen visa for a month I applied for business visa for Malta, but I'm going out in Rome while my layover   Thanks

In case, if I get a multiple-entry Schengen visa in one of the embassies in Ukraine, Kyiv - should my first trip be to the country which issued the visa?  Any there any requirements of this sort? Does this condition vary depending on embassy which issued the visa?  What are the possible consequences on not visiting that country first? Does it somehow depend on country where the embassy is (i.e. non-Schengen and not EU members)?


There was a time-machine (or teleportation machine) in a spherical geodesic shape, made of metal with large panels, it was dark grey or dark blue. A pilot used the machine while wearing a spacesuit, the machine shook violently when activated. The pilot was a white american man. He was either transformed into the body of a child or replaced with a child, perhaps his younger self, early teenage years. It might be the case that the spacesuit was lost and an unrelated child found it. The child walks home down a sidewalk in the oversized spacesuit; This was in a suburb somewhere with a hedgerow on the side of the sidewalk The spacesuit had a very large rim around the neck, and correspondingly large hemispherical helmet, it was very baggy on the child. I think after the machine's operation the pilot's coworkers started searching for him.   I think I watched this in the late 90s or early 00s on British television, although I'm quite sure it was an American movie, probably from the 90s.

This is a TV series from the early 2000s (maybe the late 90s). It was on prime time TV in the US.  There is a government agency that has a time machine that allows the main character to jump back in time a day or a week - I can't remember exactly, but it couldn't send you very far back in time.  I recall one episode where a terrorist releases some sort of virus from a lab that kills lots of people, including someone important (maybe the President?). The first symptom is a bloody nose. The hero has to go back over and over to stop the outbreak, each time getting closer and closer to the culprit before he breaks the vial that contains the virus. When he finally succeeds, he is the only one infected, but they immediately quarantine him and give him treatment.


I'm using Android Jelly bean 4.2 (Micromax Canvas 2 Colours). I've a PC at home which has internet connection. I don't have any wireless router or any access point. I just want to use PC's internet connection on my android phone. Kindly help me.

I'm using Android 4.4.2 (on ). I've a Windows PC at home which has highspeed broadband internet connection. I don't have wireless router or access point. I just want to use PC's internet connection on my phone. I've tried multiple methods but none seems to work.  Method 1: Using native Android 4.4.2 option  In my phone when I connect my phone, in Settings > Wireless & networks > USB Internet (sharing Windows PC internet via USB cable) checkbox, which I checked then it asked me to choose my Windows version (which is Windows 8.1 but since it didn't show that option) I chose Windows 8.  It gives me further instructions as showing in the following picture:    Here is the problem, there is no sharing tab (see the following screen shot)   Method 2: As described in   I learned on this site that it is called Reverse tethering. I read and followed the procedure mentioned in    I followed all the steps described in that answer, until executing the command.   Install USB drivers from Android SDK [DONE] Connect USB cable and activate USB Tethering (You should see on a new network interface.) [DONE] Bridge the 2 network interfaces [DONE] On your computer execute adb shell netcfg usb0 dhcp [PROBLEM]   When I execute adb shell netcfg usb0 dhcp it says: error: device not found. I tried the same thing with USB Debugging in Developer settings, ON & OFF. The error remains the same.  Method 3: Rooting the device and using an app  I read here and there that there is another method, in which we can directly use an app but it requires rooting the device. My phone is a new phone and warranty becomes void if I root it.   EDIT: I've tried the method suggested in answer, at the 4th step of method 2, I'm facing this problem:


I'e looked at many tutorials for creating desert mountains / deserts individually, but I'm trying to make a scene with a mountain in an actual, realistic desert, and I can't seem to match the materials correctly.  I don't have a direct screen shot (on another computer now) but basically I followed this tutorial to create a desert mountain  and basically everything was good following the tutorial, my mountain looks about like the one in the picture (taken from the video)    But now is where my question comes in: how can I actually combine this into a desert scene? As you can see in the picture, the material edges of the mountain mesh doesn't at all look like sand, and if I just put this on top of a desert like this:     then it obviously wouldn't at all look realistic, obviously.  I tried to just blend the two materials together using UV textre painting and (as an alternative) gradient masking in the cycles node setup (to basically just make a circle mask around the mountain, gradually fading into the sand material), I don't have a screenshot now, but basically: it didn't at all look realistic.   So if anyone knows some alternative way to combine the mountain material with an actual desert material, or someone make the desert match the mountain (other than just basic blending), that would be good.

I have created this with cycles:  But the edge between the glowing and non glowing materials is very sharp. The material was manually applied to faces in edit mode. Is there any way I can smooth the edge between them in cycles?


if I run my notebook on battery mode, ubuntu spindown my hardrive every few seconds. How can I fix that?  I have tried it with sudo hdparm -S 127 /dev/sda* but I am not able to disable the spindown and can´t find the reason for this "bug". Running Ubuntu 12.04 - Bug is since 12.04    Recent updates are installed, the problem is still recent. I can change the settings via. sudo hdparm -B 127 but if I change hdparm.conf, Ubuntu does not recognize it.   /dev/sda {   apm_battery=127 }

I have 2 HDDs in my PC. Ubuntu is turning off the secondary HDD very quickly after about 15 minutes, which is short for me. I need to control this time. How can I do it?  I tried GNOME power management but did not find it useful.


I have two datetime objects. I need to calculate the timedelta between them and then show the output in a specific format.  Alpha_TimeObj = datetime.datetime(int(AlphaTime.strftime('%Y')), int(AlphaTime.strftime('%m')), int(AlphaTime.strftime('%d')), int(AlphaTime.strftime('%H')), int(AlphaTime.strftime('%M')), int(AlphaTime.strftime('%S'))) Beta_TimeObj = datetime.datetime(int(BetaTime.strftime('%Y')), int(BetaTime.strftime('%m')), int(BetaTime.strftime('%d')), int(BetaTime.strftime('%H')), int(BetaTime.strftime('%M')), int(BetaTime.strftime('%S'))) Turnaround_TimeObj = Beta_TimeObj  - Alpha_TimeObj   An example of this Turnaround_TimeObj  time delta is "2 days, 22:13:45". I want to format the output, but I am unable to do so.  print Turnaround_TimeObj.strftime('%H hrs %M mins %S secs')   doesn't work.  I know one way of doing this will be to convert it to seconds and then divmoding to get the required formatting.  As in:  totalSeconds = Turnaround_TimeObj.seconds hours, remainder = divmod(totalSeconds, 3600) minutes, seconds = divmod(remainder, 60) print '%s:%s:%s' % (hours, minutes, seconds)   But I was wondering if I can do it in a single line using any date time function like strftime.  Actually converting to seconds doesn't work either. If I convert the time delta "1 day, 3:42:54" to seconds using:  totalSeconds = Turnaround_TimeObj.seconds   The totalSeconds value is shown as 13374 instead of 99774. i.e. it's ignoring the "day" value.

I'm having trouble formatting a datetime.timedelta object.  Here's what I'm trying to do:    I have a list of objects and one of the members of the class of the object is a timedelta object that shows the duration of an event.  I would like to display that duration in the format of hours:minutes.  I have tried a variety of methods for doing this and I'm having difficulty.  My current approach is to add methods to the class for my objects that return hours and minutes.  I can get the hours by dividing the timedelta.seconds by 3600 and rounding it. I'm having trouble with getting the remainder seconds and converting that to minutes.  By the way, I'm using Google AppEngine with Django Templates for presentation.


I've tried to install an image on my USB key(16 GB capacity) with rufus. The image wasn't working, and I wanted to format my key. Unfortunately, it wasn't detected by Windows... Then I tried diskpart : diskpart list disk select disk 3 clean create partition primary format fs=ntfs exit  But after running list disk, it was showing only 4 MB capacity. I also tried to recreate the partition & reformat from Linux VM, but still the same problem... Is it possible that I've broken my key with Rufus?

I wanted to make a bootable USB drive using Rufus. I opened the program went with all the default options and I clicked start BUT what I forgot to do is to select an iso because I thought it would just make the disk bootable without selecting anything. Unfortunately it did not. It gave me an error. I do not remember it because this was about 6 months ago after I gave up in fixing it. Anyway I tried to reformat it again using diskpart and it fails. With Rufus it says "ERROR while partitioning drive" and I think that was the initial error as well. Also during the struggle I got messages from windows saying that the disk is write protected and NO, there is no switch for that on the USB pendrive.   More info:     Transcend 16 GB     Rufus 1.4.9,     Frustrated student :/


I know there is a popular question already answered -  - but I am still unclear on some of the rules applying to my specific case, due to the fact that the UK is a 'sort of in the Schengen area but not so' and also some other exceptions arising from the US visa.  I am a Thai passport holder with a Work Permit (Tier 2) in the UK and a B1/B2 visa to the US. I'm flying to the US via Dublin outgoing, then via Zurich and Dublin return. The aforementioned question implies that I'll need a visa for the intra-Schengen transfer on my return, but could I cut the ZUR-DUB leg of the journey and book a ZUR-LHR flight in the Zurich transfer area, or would this be outside the passport check area?   Would I need to carry on all luggage due to the baggage carousel being outside the border control stations?

My parents are Indian Citizens. They hold a valid B2 Tourist Visa to USA. I'm planning to book a flight with Hyderabad (India) - Abu Dhabi (UAE) - Dublin (Ireland) - USA. The leg from Hyderabad to Dublin is operated by Etihad and I know there is no problem hopping at Abu Dhabi. The leg from Dublin to US is operated by Aer Lingus. I called Aer Lingus customer care agent told me a transit visa is required to land in Dublin. She did not care to ask for the citizenship of traveller or about the USA visa. I went through Irish immigration website - (), India is not in list of countries that require transit visa. I'm now confused. Can some one confirm if they traveled with the same itinerary recently  Update: I called Aer Lingus again. Another agent told as long as I don't exit the airport, a transit visa is not required. I think these people don't really understand trouble we go through when boarding is denied. I put this question because I read a person was denied boarding earlier - . His case mentions about denied because of different day. But I see his transit time is 12 hours only.


is there any way (what is the easiest way in bash) to combine the following:  mkdir foo cd foo   The manpage for mkdir does not describe anything like that, maybe there is a fancy version of mkdir? I know that cd has to be shell builtin, so the same would be true for the fancy mkdir...  Aliasing?

I find myself repeating a lot of:  mkdir longtitleproject cd longtitleproject   Is there a way of doing it in one line without repeating the directory name? I'm on bash here.


During mounted combat, I understand there are two possible options:    You can control your mount, in which case your mount cannot make an attack, or You can opt to leave it independent (and controlled by the DM) in which case it can attack, but may do things you don't expect.   The text of find greater steed contains this excerpt:       Your steed serves you as a mount, both in combat and out, and you have an instinctive bond with it that allows you to fight as a seamless unit.   Does this phrase imply that there is some special way to control the steed beyond the above two normal options for mounts? Are steeds summoned in this way special in regards to the control rules, or is that just flavor text? It seems to me that an independent mount which can take actions that I cannot predict is not fighting as a seamless unit with me. Am I misunderstanding something?   The question  certainly provides an answer, but it's not satisfying since it assumes that the mount has to use one of the two above options and does not consider that there may be alternatives.

A  is described thusly with regards to mounts:     [T]hese wild and shy creatures are as intelligent as humanoids, and so can’t be traditionally broken and tamed. A pegasus must be persuaded to serve a good-aligned creature as a mount, but when it does so, it forges a life-long bond with its new companion.   They have an intelligence of 10 and are "as intelligent as humanoids". Intelligent creatures cannot be used as a controlled mount. So, clearly if a normal pegasus were used as a mount they would presumably  and thus would not act as a controlled mount.  However,  says:     You control the mount in combat.   Does this mean that the find greater steed is intended to override the general mounted combat rules and force the mount to be a controlled mount?   If so, does that then mean that you cannot allow the mount to act independently?   The latter interpretation seems to mesh with a  about find steed, but I'm not sure if there is something I am missing here.


I am using SQL Server 2014 and in my database, I have a Position table which is structured like this:  ID         int           PK Name       nvarchar(50)  Unique Index IsDeleted  bit              A user can't enter positions with similar names; IsDeleted is a flag for soft delete as I want to avoid deleting records from this table. However it got me thinking in a scenario like this:  1. User enters position 'President'. 2. User deletes position 'President'.  3. User changes mind and again enters a position 'President'.    This would result in an error due to unique constraint. Even if I use Name and IsDeleted combination for unique constraint, there is no stopping the user from deleting again and adding several times. One thing I can think of is having Name and TimeStamp combination as unique constraint, but it doesn't sound correct.  I'd like to enforce this if possible in the database, and not the application logic. Can you guys give some suggestions?

For example, with a table similar to this:  create table foo(bar int identity, chk char(1) check (chk in('Y', 'N')));   It doesn't matter if the flag is implemented as a char(1), a bit or whatever. I just want to be able to enforce the constraint that it can only be set on a single row.


I recently began learning about OLS estimation of multiple regression models and came across the following formulas explaining the calculations:   What would the formulas be for an OLS regression model with more than two independent variables?  I'm asking this because I'm trying to make an application in JavaScript that will perform the calculations. Alternatively, I would be amazing if anyone knew of a free API that could be called from JavaScript to calculate OLS multiple regressions.

In the simple linear regression case $y=\beta_0+\beta_1x$, you can derive the least square estimator $\hat\beta_1=\frac{\sum(x_i-\bar x)(y_i-\bar y)}{\sum(x_i-\bar x)^2}$ such that you don't have to know $\hat\beta_0$ to estimate $\hat\beta_1$  Suppose I have $y=\beta_1x_1+\beta_2x_2$, how do I derive $\hat\beta_1$ without estimating $\hat\beta_2$? or is this not possible?


In a 120V AC motor circuit, a capacitor is wired in series with the start/auxillary winding.  I'm a beginner, but I think I have learned that the cap's function is to create a phase shift to enable start rotation. What is still unclear to me is where the cap should be located:   Is it:  Hot line voltage-----cap-------start winding-------Neutral.   Or   Hot line voltage----start winding------cap--------Neutral.   If the cap came after the winding, wouldn't the winding be energized a second time when the cap discharged its saturated negative plate when line voltage oscillated through zero? But maybe this is what DOES happen.  Can someone explain?

I don't understand the direction of current flow when a capacitor is wired in series with the start windings in, say, a fridge or other AC motor  running at/under 120V AC. Wiring diagrams seem to suggest that voltage energizes the hot leg of the circuit and current flows through the run windings and then returns via the neutral leg. Without a capacitor, the same thing would happen to the start windings. Problem there I guess is that both windings would be in phase and thus no spin created for the rotor. So, a capacitor is wired in series with the start windings which I kind of understand. But I don't know how the voltage and current behave. Does voltage energize the hot leg, flow through the start windings and then charge the capacitor? When voltage on the hot leg oscillates down to zero, does the capacitor discharge back toward the starter windings, or does current flow through the capacitor to the neutral leg? Basically I don't understand where the capacitor's charge goes when the hot leg is hot and when it is not. Lastly, is the capacitor placed between (downstream from) the start windings and neutral, or could it be wired between incoming voltage and the windings?


I have asked this question before, but it was closed as a "duplicate." I can assure you that my scenario is original, as it does not refer to third party PPA's. I am having GPG problems with system updates. It says there is no public key available, and I have also been warned that my update information is outdated. Here's the terminal text:  W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:http://extras.ubuntu.com quantal Release:  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192  W: GPG error: http:// archive.canonical.com quantal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http:// us.archive.ubuntu.com quantal Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http:// us.archive.ubuntu.com quantal-updates Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http:// us.archive.ubuntu.com quantal-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: GPG error: http:// us.archive.ubuntu.com quantal-security Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 40976EAF437D05B5 NO_PUBKEY 3B4FE6ACC0B21F32 W: Failed to fetch http:// extras.ubuntu.com/ubuntu/dists/quantal/Release  W: Some index files failed to download. They have been ignored, or old ones used instead.   I have put spaces in the urls because new users are not allowed more than two hyperlinks per question.  Please don't just close this as a duplicate. It does not refer to third party PPA's, it refers to the standard update packages issued by Canonical.

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following:     W: GPG error:  trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F   I know I can fix it using apt-key in a terminal, according to the official Ubuntu documentation. But I would have liked to do it graphically. Is there a way to do this without using a terminal?


I noticed people aren't voting that much. At least not as much as me, I vote for more than 70% of the questions I see, and more than 50% of each answer.  In fact, I haven't found a single question or answer with more than 2 days that had a max(total_question_votes; answer_1_total_votes; ...; answer_n_total_votes)/views ratio superior to 10%. If these were elections of a law in a parliament, it would be seriously weird to have more than 90% abstention.  What do you think of this? How do you vote yourself?

While at least some answers from every question seem to have been up-voted as a "helpful" answer:   about 49% of questions have score of 0 or 1. another 21% of questions have a score of 2.   Most questions seem to have an answer or two with score +5. Is it that we have a lot of fluff questions and not useful ones? Or perhaps it just seems more natural to vote for answers than questions? If we want the most useful info on Stack Overflow to filter to the top, how can this disparity be fixed?  I think this may cause real problems for people getting the badges which require +25 or +100 votes on questions.    I like a lot of the feedback I'm seeing. Two problems are highlighted:   The work flow doesn't promote voting for questions the way it promotes voting for answers. One solution: when a user answers a question, the system should invite them to vote for the question.  If someone cares enough to answer a question, then they care enough to vote for it as well. Users with less than 15 reputation cannot vote for questions or answers. Is this warranted?  Maybe these users could provisionally vote for questions and answers and those ratings would only take effect when the user reaches 15 reputation?   All I ask is this. As you browse Stack Overflow, when you see a good question: vote for it.  If everyone does, then this problem will disappear.


We are nationals of India, with valid Canadian PR cards. As we have a 22-hour layover in London, with an onward flight to Canada, can we get a transit visa (48 hours) after landing at LHR (Terminal 4)?

Is there a website or some other way to find out if I need a transit visa for a short stop in the UK on my way somewhere else? Ideally this should give me the answer for all nationalities, and take into account any other visas I may have.


I've had a recent discussion regarding the possibility of using a bonus action, while casting a spell with a casting time of 10 min. I haven't been able to find anything, so I'm curious to what you guys think?

This is a bit difficult of an idea for me to articulate, so I'll try and do my best: If a character was to attempt and cast a spell with a casting time of 1 minute, while in combat, would they have to simply consume their action for 10 turns, but still move and take bonus actions? Would they be unable to do anything except cast that spell? Would they also be required to maintain concentration?


Being curious about the tractor, I asked how old is that tractor?                                             Being curious about the tractor, I asked how old that tractor is?   The grammar checker that I used stated that the first sentence shown above is wrong (looks OK to me). I re-worded the sentence as shown in the 2nd sentence, and my grammar checker then approved the 2nd sentence shown above.  Here is what my grammar checker had to say about the 1st sentence:      It appears that the verb and noun phrases "is that tractor" are incorrectly inverted. Consider changing the word order.                                                       Which of these two sentences uses the correct word order, and why?

What's the difference between an inverted question and a normal-order question? Why invert? Is there a reason or a benefit?        I love you?   Do I love you?


I would like to buy Lenovo IdeaPad s540-151ml with following specification available in my region core i7 10510uu 1.8ghz 8gb ram DDR4 1tb + 128SSD 15.6 FHD IPS nvidia mx250 2gb Genuine Windows 10 But before all, I need this laptop to mainly running Ubuntu latest version where I will be mostly working on in future. So would like to know will this be compatible for running Ubuntu first of all. Also, I can go with Thinkbook 15-ml with following specs. core i7 10510u 1.8ghz 8gb ram DDR4 1tb 15.6 FHD RADEON 620 2gb DOS if that is best suitable for running Ubuntu distributions. BS: I am a software developer working on both the OS and I need a laptop for hard-use not just for entertainment. Mainly I can't afford a Thinkpad. And so far I have seen some reported compatible issues with Lenovo Ideapad s540 when it comes to supporting Ubuntu on the internet. Please help me out on this prior to buying a laptop Regards

I have a device on which I would like to install Ubuntu. How do I find out if Ubuntu will work on it?


Is it possible to put the entire Program Files/Program Files (x86) folder to a different location. Not just change it in the registry so the default installation folder is different. But even things like Windows Defender?  This would make it so only the windows and the users folder would be on the main hardrive/partition.  Thanks in advance

I have an SSD as my main Windows drive, with a 640GB 2.5" HDD, partitioned to store programs and user settings, and also to act as backup (it's the only thing I had lying around at the time of building my PC).  The problem is that whenever I install a program, it installs to C:\Program Files [(x86 for the 32 bit programs]\, although I have changed the environment variables. This wouldn't normally be an issue, however every installation program points its shortcut to my 640GB HDD.  The root layout of both drives:   To clarify:   Program files get installed to C:\ Program shortcuts are always pointed to Z:\, my 640GB HDD   Modifying the relevant environment variables doesn't do anything, I looked at , but however it only talks about modifying the registry and environment variables, which I have already done so.  I install to the Z:\ drive if the installation program lets me change the installation path, but however the installation programs sometimes don't let me change this.  Is there a way that I can force every program to install to the relevant location on Z:\, but at the same time move any programs currently installed to the new location? Perhaps I'm missing something here?  My target is to have every program installed on Z:/, with only the core Windows operating system on C:/.  Found ; would it be appropriate to use in my case? I would be able to move the entire Program Files (and its x86 version) to Z:\, without impacting on the performance.*


Let  $G=D_{2n}=⟨x,y|x^2=y^n=e,  $ $yx=xy^{n-1}⟩$  I need to find $G'$ [ the commutator of G]  now I understand that $G'$ is the subgroup generated from $ U=xyx^{-1}y^{-1} , $ $ \ \forall x,y \in G$ So, $U=<y^2>$  whats the strategy  here ?

I have a few questions concerning an example of the commutator subgroups in the dihedral group. This example is found on pg.171 of Abstract Algebra by Dummit and Foote.      Let $D_{2n}=\langle r,s |r^n=s^2=1, s^{-1}rs=r^{-1}\rangle$. Since $[r,s]=r^{-2}$ we have that $\langle r^{-2} \rangle = \langle r^2 \rangle \le D'_{2n}$. Furthermore, $\langle r^2\rangle \trianglelefteq D_{2n}$ and the images of $r$ and $s$ in $D_{2n} / \langle r^2 \rangle$ generate this quotient.    What exactly is meant by the image of $r$ and $s$?     They (is this referring to $r$ and $s$?) are commuting elements of order $\le 2$ (I know $s$ is of order $2$ but $r$ is of order $n$??) so the quotient is abelian and $D'_{2n} \le \langle r^2 \rangle$. (I thought the quotient was abelian due to the already established properties of $\langle r^2 \rangle$ i.e it is normal and a subgroup of the commutator subgroup.)


I'm presently finishing up my undergraduate degree in Mathematics, and have written a number of papers, three of which have been published in reputable combinatorial journals (think journals published by Elsevier and Springer). From these three, I am the sole author on two of them. Given that I have invested so much time and energy on 'extra curricular activities' (as my head of department calls them), can they serve as the basis to a PhD thesis? Which is to say, can a considerable part of a thesis consist of previous work which has not been used to obtain any other degree? This final remark is important, I feel. A fourth paper with my supervisor is in the works, but the material presented there will appear in my undergraduate dissertation. I am then of the opinion that this material should not be used toward another degree. If it helps, I attend a northern European university, and intend on doing a PhD in Europe/UK/USA. Edit: I would like to perhaps mention the motivation for asking this question. I have heard stories of people doing research in their private capacity, then doing a PhD in quite a short period of time (a year or so), since they had a lot of material already. I cannot imagine this being the case however. What are your thoughts on this?

Are students allowed to complete a large portion of their research independently, then enroll in a PhD program, apply for a defense panel within the first semester, and quickly finish the thesis? Has this been done before?  Update: Question trimmed. I'm looking for an answer whether students can be admitted with much prior work on the thesis already complete, to finish in a short time (perhaps one year fix and improve the work), and whether there are real examples of people who did this. I not asking whether I myself am personally capable of completing this prior work to sufficient quality.


As a result of some service action I'm getting in the result property string with value "MyNamespace.Models.Car"  How can I dynamically create the object (empty) from this string value? Or how else can I dynamically recognize clr type from this string?  var result = service.getSomeData(req); result.CustomVal holds the value of "MyNamespace.Models.Car";   Note that I cannot change the service.

Is there a way to create an instance of a class based on the fact I know the name of the class at runtime. Basically I would have the name of the class in a string.


I found in dictionary that phrase How do you do is equivalent to phrase Nice to meet you. But I never heard it in any movie or tv serial. Is that right or not

I'm a non native speaker of English. In our learning we were told that when we say hello to someone we use equivalent phrase:      How do you do?   In response we do say:     How do you do?   But I'm unsure about the usage in the USA or UK. I haven't heard from them. I'm an Indian.  Is this the correct way of introducing someone?


I could not seem to find a specific answer to my question through searching, so I thought I'd post it.   I am doing an ANOVA and I have a significant three-way interaction, each factor has only 2 levels, though. Is the Tukey HSD command in R software appropriate to tell where the differences are-- or do I need to do a simple-effects analysis?  Thanks everyone.

I have a significant three-way interaction (with no significant two-way interactions and no significant main effects).  To begin with I have followed this up with two two-way ANOVAs (one at each level of the third variable). The first part of my question is whether this is an appropriate follow-up.  This showed no significant main effects or interactions at either level of the third variable...is this the end of the analysis?  If so, how would I interpret the three-way interaction?


I am on Windows 10 Home, Version 1909. I did quite a bit of research on how to completely disable windows updates. This involved disabling the following services  Background Intelligent Transfer Service Update Orchestrator Service Windows Update Windows Update Medic Service  However after some time, these services magically re-enable themselves. This seems to work even when my machine is not connected to the internet. How exactly is Windows able to re-enable these processes by itself, and how can I prevent this? I am aware of the security implication of turning Windows Updates off. It's fine for my use case. Edit: I am not sure why this gets down-voted and why a different question is linked that does not answer my specific question. I have already consulted the link (links to a closed post, which in turn links to another post with answers going back to 2017). One of the more recent answers points out that non of the other answers to completely disable Windows update works anymore, and proposes the solution to disable these 4 processes. However, this no longer works either because even Windows Update Medic Service (which can be turned off via registry hack) turns itself back on. Therefore, the question is by which mechanism does this happen. As it stands, for the Windows version I am using there does not seem to be a working solution.

I have disabled the services "Windows Update" and "Windows Update Medic Service" in using services.mcs. Furthermore, I made changes to the registry, creating a key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU with a DWORD (32-bit) Value "AUOptions" with value set to 2. I still see frequent queries to ctldl.windowsupdate.com sent to my DNS server. Which services need to be disables to completely shut this down?


I have been using an & at the end of some commands, to free up the terminal. However, if it requires sudo, it doesn't work. I can get around this by running a random sudo command before it, but this is a pain, and I could also type the password in the command but this is insecure. Is there any alternative way of getting these commands to work.  Thanks.

I have recently disabled  so that it now prompts me for a password every time.  And though this is good for security, it has caused one slight problem which I haven't been able to figure out a solution for, I am unable to run commands which go along the lines of:   sudo <command> &   In the past I would have run a sudo command before that, it would have cached my password and allowed me to run sudo commands without prompt for the next few minutes, and thus it would allow me to run the command.  But when I run it now as there is no caching before hand and as it starts a new thread immediately and sudo doesn't even prompt me for a password, I am unable to run it in this way.  So unless I run sudo -i before it I am unable to run a command in this format which is becoming rather annoying. So I was wondering if there is any way to get around this and still run programs and commands in this way?  I am running Ubuntu GNOME 15.10 with GNOME 3.18, and specifically the program I want to run in this fashion is etherape if that makes any difference, but I would really like the solution to work for all programs and commands.


I have been told numerous times that magnetic force do no work at all but I have some trouble digesting this fact. Now suppose we have two straight wire with some current, they certainly can feel force which may be repulsive or attractive depending upon  current direction, can magnetic force do work? We also have magnetic potential energy defined to $U = -\vec{\mu} \cdot \vec{B}$ which suggests magnetic field can store energy and hence do some kind of work.

When you release a magnetic dipole in a nonuniform magnetic field, it will accelerate.  I understand that for current loops (and other such macroscopic objects) the magnetic moment comes from moving charges, and since magnetic fields do no work on charges ($F$?perpendicular to $v$) it follows that the work done on the dipole (that caused its gain in kinetic energy)  must have come from somewhere other than the magnetic forces (like electric forces in the material).  However, what about a pure magnetic moment? I‘m thinking of a particle with intrinsic spin. Of course, such a thing should be treated with quantum mechanics, but shouldn't classical electrodynamics be able to accommodate a pure magnetic dipole? If so, when I release the pure dipole in a nonuniform B-field and it speeds up, what force did the work? Is it correct to say that magnetic fields DO do work, but only on pure dipoles (not on charges)? Or should we stick with "magnetic forces never do work", and the work in this case is done by some other force (what?)?  Thanks to anyone who can alleviate my confusion!


I am using the SE mobile app but not being able to find the chat... again (but this time the mobile app)

Being able to join chat rooms from the Android app would be a plus! It would truly make us connected on the go, instead of having to sit down at our desks and open a browser window. This will allow more users to fully utilize the chat system and join events no matter where they are.


In my Badge Progress window I can see I edited 73 posts and it says the next step will be 500, to reach "Copy Editor" badge, bypassing the actual next step that is "Strunk & White", reached after 80 post edits.  I wonder if it's a bug or a desired behaviour? The other progress bars seem to indicate the next step, not the last one.

As you can see here    the top progress bar shows the progress towards the next badge of that category (in my case the "Reviewer" badge") but the third bar always shows the "Copy Editor" badge instead of (in my case) the "Strunk and White" badge.  Is this intentional? Otherwise, take this as a feature request or a bug report, whichever term you like more.


I have tried booting ubuntu 14.04 with DVD, but screen just goes black and stuck on vaio icon, nothing happens.  Is there a problem with my SSD (is sony ultra book)? Wasn't sure if I had windows virus as windows behaving funny and lost internet connection. Could virus stop ubuntu from booting?  Thanks

This is the third time I've tried to install Ubuntu Server 14.04.03 64-bit on the same laptop, and each time it caused different problems.  Each time I wrote the same iso image to a USB flash drive by using a different application and OS.   Universal USB Installer (pendrivelinux.com) from Windows WinImage writer from Windows built-in image writer from Linux Mint 17.2    The iso image is the same in all three cases, the USB flash drive is the same, and the laptop is the same. However each time the installation of Ubuntu gave me different installation options. For example, the last time I installed Ubuntu, it didn't show all the packages to choose while installing (Basic Ubuntu server, etc.).


Challenging issue you have encountered already ?   This is my challenge.  I have the query as follows - MSSQL Server 2017 calling from my C# application.  SQL  update slides set isBorrowed=0, updated_by='Daniel' where id in (1,2,3);   C# code to achieve above  'Update Slides SET isBorrowed=1,updated_by=@update_by  WHERE id IN (@ids)'     string updateDonorQuery = "UPDATE slides " +                             "SET isBorrowed=1,updated_by=@updated_by WHERE id IN (@ids)";                         command.CommandText = updateDonorQuery;                         command.CommandType = CommandType.Text;                    command.Parameters.AddWithValue("@ids",list_ids.Split(',').Select(int.Parse).toList());                    command.Parameters.AddWithValue("@updated_by", "Full name   Now The error is saying : "Exception on my command not expecting to receive list"  Then , i have changed to a string like this:  string list_ids = "1,2,3";  command.Parameters.AddWithValue("@ids",list_ids); command.Parameters.AddWithValue("@updated_by", "Full name")   Agin code throw exception that complainant i have passed in nvarchar values instead of int. I guess interested the code as '1,2,3' when getting ids.  Guys i need a breakthrough , i hate loops.

I have webservice which is passed an array of ints. I'd like to do the select statement as follows but keep getting errors. Do I need to change the array to a string?  [WebMethod] public MiniEvent[] getAdminEvents(int buildingID, DateTime startDate) {         command.CommandText = @"SELECT id,                             startDateTime, endDateTime From                             tb_bookings WHERE buildingID IN                             (@buildingIDs) AND startDateTime <=                             @fromDate";      SqlParameter buildID = new SqlParameter("@buildingIDs", buildingIDs); }


Hi guys i m having problem with blender. In cycles render when i increase amount of sampling glass material getting black and its glass property disappearing can someone help for this problem thanks

Using v2.73, cycles and a very simple scene: an array of cubes, no big deal.   If I set the shader's material to transparent, the cubes in the foreground do become transparent but those far away in the back do not disappear completely and this strange dark things appear (visible in rendered mode and in final renders)    I've played with the clipping distance on the viewport and camera, but I can't figure out how to make those ghosts go away...


It seems to me that the basic principles are exactly the same, right? Then I am puzzled that the former was awarded a nobel prize while the later not.  I noticed a similar question here   It seems that the difference is purely quantitative, in the frequency.

Both  and  describe the response of magnetic spin to external field. When collecting data, how do you know you're looking at nucleus spin flip or electron spin flip? In other words, since every sample has both protons and electrons, and all have magnetic spin, how do you separate between the protons' response and the electrons' response to the external perturbation?


I have a MYSQL database which looks like this:   ID      | Name    | Product  --------+---------+----------  65644   | Charlie | Beer  65644   | John    | Beer  65644   | Jan     | Beer  65644   | Phoebe  | Beer  65644   | Shaun   | Beer   I would like to output a table using php to look something like this:   ID      |               Name                | Product  --------+-----------------------------------+----------  65644   | Charlie, John, Jan, Phoebe, Shaun | Beer   Currently I've only been able to output it to look like this first table. Any help would be greatly appreciated.

Using MySQL, I can do something like:  SELECT hobbies FROM peoples_hobbies WHERE person_id = 5;   My Output:  shopping fishing coding   but instead I just want 1 row, 1 col:  Expected Output:  shopping, fishing, coding   The reason is that I'm selecting multiple values from multiple tables, and after all the joins I've got a lot more rows than I'd like.  I've looked for a function on  and it doesn't look like the CONCAT or CONCAT_WS functions accept result sets.  So does anyone here know how to do this?


I always thought of quantum space and quantum time as a solution, but then i figured out that "quantum space-time" is not actually true(yet). I've also heard of the calculus approach and limits, but i don't see how the paradox is resolved since limits tell you what happens as you approach a value not at that value itself.  What's the solution?

If I was at point $A$ and I wanted to walk directly to point $B$, I would have to walk half way to point $B$, but before that I would have to walk half way to halfway to halfway to point $B$ and half of that again and so on and so fourth. if I halved this distance an infinite amount of times then there would be an infinite amount of actions I would need to perform in order to cross from $A$ to $B$. Therefore, if each action took any quantity of time at all, then it would take me an infinite amount of time to cross from $A$ to $B$, even if $A$ and $B$ were only a few centimetres apart!   Because I am not infinitely old and I can move, there must be a flaw in this logic. Where is it?


I had a spat with a coworker. We are compiling a software feature list. One of the entries was the "Employee Profile". However, we wanted to write it down in plural. So, which one should it be?     1 - Employee Profiles   2 - Employees Profiles   3 - Employees' Profiles   Correct me if I'm wrong, but I believe the following:     1 - Correct   2 - Incorrect   3 - Works, too

I’ve been looking over what has been posted regarding the use of ’s.   I used to be a Technical Writer (years ago). The title of one of our training documents was Users’ Guide.  Once, a coworker said every time he saw that title he expected users to start coming.    Never made any sense to me, but I have to admit that the majority of us didn't understand the use of s’ in place of ’s.  What is the difference?


Edit: The $F$'s are Fibonacci numbers.  I need an idea on how to show the following:     If $m$ and $n$ are positive integers, then $(F_m,F_n)=F_{(m,n)}$.   I believe that using the fact that $F_{m+n}=F_mF_{n+1}+F_nF_{m-1}$ could come in handy. Moreover, Euclid's algorithm may as well be needed. But I am not certain, as there may be better methods to achieve this.  Thanks in advance.

Can any one give a generalization of the following properties in a single proof? I have checked the results, which I have given below by trial and error method. I am looking for a general proof, which will cover the all my results below:   Every third Fibonacci number is even. 3 divides every 4th Fibonacci number. 5 divides every 5th Fibonacci number. 4 divides every 6th Fibonacci number. 13 divides every 7th Fibonacci number. 7 divides every 8th Fibonacci number. 17 divides every 9th Fibonacci number. 11 divides every 10th Fibonacci number. 6, 9, 12 and 16 divides every 12th Fibonacci number. 29 divides every 14th Fibonacci number. 10 and 61 divides every 15th Fibonacci number. 15 divides every 20th Fibonacci number.


I can't seem to get Swedish hyphenation to work within the document when using the apa6 document class, though I am using the Swedish babel package.  The problem is not citation related, but concerns the actual paper content. I have not yet inserted any citations and I am having trouble already in the document preamble (see example below).  I have tried to use UTF-8 encoding, but that gives me error.   So far I have not seen anyone mentioning the same problem.  My question is simply: How can I get Swedish hyphenation to work within the document?  This is my best try of a minimal working example (edit: updated to contain a figure, that seems to be what is causing error):  \documentclass[man]{apa6}  \usepackage[swedish]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  \title{Små söta röda rävar är överblivna från året} \shorttitle{Små söta rävar}  \author{Malin Bergqvist} \affiliation{Linköpings universitet}  \begin{document} \maketitle  \begin{figure}[H] \centering \includegraphics[width=0.5\textwidth]{Old-Woman-Young-Woman.jpg} \caption{En välkänd optisk illusion.} \end{figure}  \end{document}   Update: The error I am getting:  ./main.fff:6: Package inputenc Error: Unicode char \u8:�lk not set up for use with LaTeX. See the inputenc package documentation for explanation. Type  H <return>  for immediate help.  ...                                                l.6 \caption{En v�lk�nd optisk illusion.}  Your command was ignored. Type  I <command> <return>  to replace it with another command, or  <return>  to continue without it.   The attached image shows the results of the MWE.  All help is much appreciated, I am rather new to using LaTeX. Thank you!

I have a problem with the endfloat package and unicode characters.  When I compile the following, everything works as expected:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx}  \begin{document}  \begin{figure} \caption{Ö} \end{figure}  \end{document}   However, when I also load the endfloat package (\usepackage{endfloat}), I get the following error message:  ! Package inputenc Error: Unicode char \u8:ÖÖ not set up for use with LaTeX.   This could be a bug, but my suspicion is that I'm making a mistake somewhere.  I'm hardly the first person to use special characters with the endfloat package.  However, the above example is so simple, I don't see where I could have made a mistake.  Any advice is appreciated.  Edit: The file is of course encoded using utf-8.


He was born on Earth but moves at incredible speeds, has incredible powers and looks very different in comparison to a human. What is he and how did he become like that?

In his earlier transformation form, Koro-sensei had a humanoid and white-colored body.     But later on, his body had undergone a drastic change and his body became like an octopus with a large smiley face.    Why did his body transform? And could he revert back to his humanoid-tentacle like body?


Given this class  public partial class Default : Page {     private IRepository repo;     ... }   I want to find and set the private repo field. Is that possible?   UPDATE  I tried using the GetFields(BindingFlags.NonPublic), it returns {System.Reflection.FieldInfo[0]}.  UPDATE II  I tried using the GetFields(BindingFlags.NonPublic | BindingFlags.Instance) , it returns all the fields of the Page but not repo.

Given this class  class Foo {     // Want to find _bar with reflection     [SomeAttribute]     private string _bar;      public string BigBar     {         get { return this._bar; }     } }   I want to find the private item _bar that I will mark with a attribute.  Is that possible?    I have done this with properties where I have looked for an attribute, but never a private member field.  What are the binding flags that I need to set to get the private fields?


We see through the books that there are numerous ways to get in and out of Hogwarts:   By Train Flying car Secret passage to Hogsmeade Through the lake Through vanishing cabinet   It looks like there are a lot of way to get in and out of Hogwarts (except apparition).  What was the reason for such a complex plan (tweaking goblet, helping Harry to win, taking control over Harry's opponents)? It feels like it would be much simpler for fake Moody to just knock Harry on his head and walk away with him.

In Harry Potter and the Goblet of Fire the Triwizard Cup was used as the portkey to send Harry and Cedric to the graveyard in Little Hangleton to face Voldemort.    Why was the Triwizard Cup chosen?    Couldn't Crouch Jr. have used anything as a portkey; which would have been much easier and without as much risk (after all of their planning Cedric almost ended up getting the cup first).


By and large, the Sith had always sought to overcome death itself, believing the dark side to hold the ultimate secret of immortality. Darth Vader was not the first Sith Lord who wished to stop death, though he may possibly be the only one who wanted to stop the death of a loved one rather than himself.  However, only one Sith, at least from my point of view, has actually survived what should have been an inevitable death: Darth Maul. He (formerly Darth, now just Maul) was sliced into two halves by Obi-Wan. Normally, even immediate medical attention could not guarantee survival. It was his pure hatred of Kenobi and desire for vengeance that fuelled the dark side into keeping him alive, until Savage Oppress found him over a decade later and brought him to Mother Talzin, who used dark side sorcery to bring him back to a state of sanity and consciousness.  Has Darth Maul subconsciously and unknowingly found a way to prevent death to himself using the dark side? Is this, perhaps, the answer the Sith had been looking for all along?

From what I have read on , Darth Maul survived by using the Force, drawing from his hate to hang to a air vent, but then what? He crawled to a spaceship with his entrails sliding out?


Suppose that $A \geq B \geq 0$ where $A$ and $B$ are two symmetric n by n matrices.  $A \geq B$ stands for $A-B$ is positive semi-definite. Then, is it able to show that $det(A)\geq det(B)$.  I don't find any such statement. So I conjecture this could be wrong, but how to construct a simple counterexample?

Exercise 12 from SEC. 82 of Finite-Dimensional Vector Spaces - 2nd Edition by Paul R. Halmos.  If $A$ and $B$ are linear transformations on a finite-dimensional inner product space, and if $\textbf{0} \le A \leq B$, then $\det A \leq \det B$.  Notation: $0 \le A$ means that $A$ is positive.  If $\det B = 0$, choose $x \in \ker B$, then $0 \le ((B-A)x,x) = (Bx, x) - (Ax, x) = -(Ax, x) \le 0$. Therefore $\ker B \subseteq \ker A$ and $0 = det A \le det B = 0$. How to prove for the case when $B$ is invertible? Intuitively, I feel that since both $A$ and $B$ are positive their proper values are also positive and $B$'s proper values should be greater the $A$'s and same for determinants.


When I right-click for the context menu in Nautilus there seem to be an empty space at the bottom right under properties. Is there a way to remove it? It is more of a pet peeve than anything but I would like to know how to remove it as it would show me how to tweak on Ubuntu a bit more.

I know that it's just a tiny graphic problem but do you also get a white line (or extra padding) after the last entry in the context menu?


My question is the same as this one :  But I didn't find the values to change in the registry.  Any idea how to fix this on Windows 10 ?  edit : I tried this :  but it doesn't work. I'm on build 10159.

It seems Microsoft has tried to solve this problem .  In Windows 7, there is no boundary between monitors and the mouse can move freely across the top of the screen between my 3 monitors, provided I had set their heights equal in display settings. Windows 8 introduced sticky corners. See .  Windows 10 got sticky corners as well. There are a few pixels at the top corners of each display where the mouse cannot cross over onto the other display. One must move the cursor down to avoid this region in order to get to the next display.  The image shows roughly the region where mouse movement is not permitted in Windows 10, but is allowed in Windows 7.    Personally, I had no problem with unrestricted mouse movement across the top of my screens - I got used to "aiming" for the x, and the convenience of unrestricted cursor movement. Like all the people who wanted to disable it in W8, I'm wondering if there is a way to disable it in W10.  Edit to address possible duplicate:  Although the problem is identical to the one in , solutions to solve the problem in W8 involving editing the registry key MouseCornerClipLength do not work in W10, since that registry key is not present in W10. Also adding that key and setting the value doesn't work. I searched the entire registry and couldn't find it in another location. No other W10 keys in the node referenced in the W8 solution are obvious replacements.  Edit to address possible solutions in comments  harrymc's  and  that worked for for Windows 8.1 do not work in Windows 10.


I know that gravity propagates with speed of light. Does it mean that if Earth's orbit will disturb after 2 years if a supermassive black hole suddenly appears 2 light years away? Is this related to gravitons which will transmit gravity by travelling at speed of light?

A thought experiment: Imagine the Sun is suddenly removed. We wouldn't notice a difference for 8 minutes, because that's how long light takes to get from the Sun's surface to Earth.   However, what about the Sun's gravitational effect? If gravity propagates at the speed of light, for 8 minutes the Earth will continue to follow an orbit around nothing. If however, gravity is due to a distortion of spacetime, this distortion will cease to exist as soon as the mass is removed, thus the Earth will leave through the orbit tangent, so we could observe the Sun's disappearance more quickly.  What is the state of the research around such a thought experiment? Can this be inferred from observation?


So I can do a mathematical proof of $(AB)^{-1} = B^{-1}A^{-1}$. But I would like a deeper, I guess more applicable, understanding. Here's my mathematical proof: $$(AB)^{-1}(AB) = I$$ $$(AB)^{-1}AB = I$$ $$(AB)^{-1}ABB^{-1} = IB^{-1} = B^{-1}$$ $$(AB)^{-1}AI =(AB)^{-1}A = IB^{-1} = B^{-1}$$ $$(AB)^{-1}AA^{-1} = B^{-1}A^{-1}$$ $$(AB)^{-1}= B^{-1}A^{-1}$$ I want to say that this intuitively makes sense because we need the rows and columns of both sides of the equation to equal. Let's say $A$ is a $n\ x\ k$ matrix and $B$ is a $k\ x\ n$, then $AB$ is a $n\ x\ n$ matrix and our $(AB)^{-1}$ matrix is also $n\ x\ n$. Now, $B^{-1}$ is going to be a $n\ x\ k$ matrix while $A^{-1}$ is a $k\ x\ n$ matrix. It can't be that $(AB)^{-1} = A^{-1}B^{-1}$ because that's a $k\ x\ k$ matrix on the right. However although this makes intuitive sense, this shouldn't hold up. B and A can't be non-square matrices because those can't have inverses. Only square matrices have inverses(non-zero determinant). Can someone explain why $(AB)^{-1}= B^{-1}A^{-1}$ is true intuitively?

Whenever there is a transpose or inverse of a  group of matrices, I just reverse their order. For eg: $(ABC)^{-1} = C^{-1}B^{-1}A^{-1}$ and $(ABC)^{T} = C^{T}B^{T}A^{T}$  But usually, I am taking this reverse "rule" for granted without really knowing why I have to reverse their order whenever there is an inverse or transpose.  What is the reason for reversing their order?


Possibly I am missing something obvious but after getting fed up with 5 key limitation of ssh-agent I start looking for ways for a better ssh key management.  If I create a new ssh key pair using ssh-keygen -t rsa, I can then use ssh-keygen -lf to get fingerprints for both private and public key and they both report the same fingerprint.  Then my naive expectation is to do something like an ssh-keyscan  to get remote public key fingerprints on that host and match that fingerprint to one of my private keys and initiate ssh connection using that private key.  Obviously, the fingerprints I get using ssh-keyscan does not even resemble the fingerprints for local keys.  Is the any solution to resolve this dilemma ?

Let's say I have a key for Github, along with other keys. I've added lots of keys to my ssh agent (ssh-add -L returns lots of lines) at my home computer A. In my .ssh/config I have set up which key to use with which host, so e.g.  ssh -T -vvv git@github.com 2>&1 | grep Offering   gives  debug1: Offering RSA public key: /Users/doxna/.ssh/id_rsa.github   Only one key is offered, as expected. But then ssh-ing to some host B with ForwardAgent yes and repeating the same command, I get  debug1: Offering RSA public key: /Users/doxna/.ssh/id_rsa.linode2 debug1: Offering RSA public key: /Users/doxna/.ssh/id_rsa.helium debug1: Offering RSA public key: /Users/doxna/.ssh/id_rsa.github   meaning it tries all my keys. This is problematic since only a limited number of keys can be tried before servers return Too many authentication failures. So I tried editing .ssh/config on host B to include  Host github.com   IdentityFile /Users/doxna/.ssh/id_rsa.github   IdentitiesOnly yes   but then I get no key offerings, but rather  debug2: key: /Users/doxna/.ssh/id_rsa.github ((nil))   which I guess means that the key was not found(?) And after all, the key is located at my home computer A, not host B, so the question is how to refer to it at host B? Hope I managed to explain the question.


I created this question and didn't want to log-in (LastPass was infuriating me) so I gave it a fake name and my old e-mail. However, the photo shows my avatar anyway. Can I merge that post into my already existing account, or perhaps make the original question anonymous?

I accidentally posted a question without being logged in. Is there a way to associate that question with my account?   For more information, visit "" in the .   a.k.a. How can you link a registered account to a cookie-based account? a.k.a. How do I merge an unregistered account with a registered account a.k.a. Merging users a.k.a. How do I associate anonymous questions I’ve asked with my registered account? a.k.a. Is there a way to claim an unregistered user? (in case anyone searches with those terms)


I have two dictionaries as follows:  D1={'a':1,'b':2,'c':3}  and   D2={'b':2,'c':3,'d':1}  I want to merge these two dictionaries and the result should be as follows:  D3={'a':1,'b':2,'c':3,'b':2,'c':3,'d':1}  how can I achieve this in python?

I have two Python dictionaries, and I want to write a single expression that returns these two dictionaries, merged (i.e. taking the union).  The update() method would be what I need, if it returned its result instead of modifying a dictionary in-place. >>> x = {'a': 1, 'b': 2} >>> y = {'b': 10, 'c': 11} >>> z = x.update(y) >>> print(z) None >>> x {'a': 1, 'b': 10, 'c': 11}  How can I get that final merged dictionary in z, not x? (To be extra-clear, the last-one-wins conflict-handling of dict.update() is what I'm looking for as well.)


Let $R$ be a noetherian integral domain and $K$ the quotient field of $R.$ Suppose $f \in K.$ Suppose for each maximal ideal $M$ of $R,$ we can find $h,k\in R$ so that $f = h/k$ and $k \not\in M$. Show $f \in R.$ Note: $R$ is not assumed a UFD! My attempt: I tried to prove that the summation of ideals generated by all the k that are not in some maximal ideals is the whole ring. But I dont know how to use that to move on. Also, I do not understand how to show an element is in the ring. I tried to prove that k has to divide h, but since R is not a UFD, I am not sure to achieve that.

I'm doing this exercise.     Let $A$ be an integral domain, then prove that $$A = \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} = \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$$ where the intersection is taken in the quotient field of $A$ and $A_{\mathfrak{p}}$ is the localization of $A$ at the prime ideal $\mathfrak{p}$, similarly for $A_{\mathfrak{m}}$ .   What I have done: we have $$A \subseteq \bigcap_{\mathfrak{p} \in \text{Spec(A)}} A_{\mathfrak{p}} \subseteq \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$$ so it suffices to prove that $$\bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}} \subseteq A$$  Suppose $\frac{a}{b} \in \bigcap_{\mathfrak{m} \in \text{MaxSpec(A)}} A_{\mathfrak{m}}$ . I want to show that $b$ is invertible.  If $b$ is not invertible then there exists $ \mathfrak{m} \in \text{MaxSpec(A)} $ such that $b \in \mathfrak{m}$. By hypothesis $$\frac{a}{b} = \frac{r}{s}$$ with $s \not\in \mathfrak{m} $.   $A$ is a domain so $sa = rb \in \mathfrak{m} $ and thus $ a \in \mathfrak{m} $. Then I don't know how to proceed , any hint ?


Suppose that A, B and C are finite groups, and $\times$ is the direct product, is the implication $A \times B \cong A \times C \Rightarrow B \cong C$ true? I have been told that the reverse implication is true, but no one seemed to know whether this one holds. And if so, how would one prove this statement?

Let $G\times K$ be a finite group. Suppoose $G\times K\cong H\times K$. Is this sufficient to imply $G\cong H$?


What would be a good book learning Multiple variables calculus?   Basically, I'm only interested with the theorems of continuity and differentiation

I am looking for a multivariable calculus book that is really physics oriented.  Anyone know of any?  EDIT: My wife is looking to brush up on multivariable at the same time she needs to brush up on the related physics.


Please help my problem in when I want to enter the listview activity that is taking Details from SQL , The app just crash.  09-09 18:25:06.698: E/AndroidRuntime(19913): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.raingp.jungle/com.raingp.jungle.FirstActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ListView.setAdapter(android.widget.ListAdapter)' on a null object reference   FirstActivity.class  public class FirstActivity extends Activity {  private ListView name_view; SQLiteDatabase sqdb;  @Override protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      name_view = (ListView)findViewById(R.id.listView1);       DBHelper mydbhelper = new DBHelper(this);      try {          mydbhelper.createDataBase();      } catch (IOException e) {         throw new Error("error");     }      try {         mydbhelper.openDataBase();      } catch (SQLException sql) {          throw sql;     }       sqdb = mydbhelper.getReadableDatabase();      Cursor c =mydbhelper.readName();     c.moveToFirst();       Adapter myAdapter = new Adapter(this, c);     name_view.setAdapter(myAdapter);   }   and I don't know how to fix it.

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I want to make a simple wrapper B around a complex class A. A has many different constructors. The class B does not have any constructors, so how can I automatically pass the constructor arguments to the base class A, without needing to implement them all in B?  Here is a simple example of what I want to do:  class A { public:    A(int a);    A(const& A);    // etc ... };  class B : public A {    int b; };  void main() {    B b(0);  // Since B does not have a constructor, I want it to dispatch to A::A(int) }   note: A is a class from some package so I can not simply add my int b to A.

Why does this code:  class A {     public:          explicit A(int x) {} };  class B: public A { };  int main(void) {     B *b = new B(5);     delete b; }   Result in these errors:   main.cpp: In function ‘int main()’: main.cpp:13: error: no matching function for call to ‘B::B(int)’ main.cpp:8: note: candidates are: B::B() main.cpp:8: note:                 B::B(const B&)   Shouldn't B inherit A's constructor?  (this is using gcc)


I am making spells for an adventure map and SelectedItem doesn't work when the item is summoned with unbreakable it. I have right click detection which is what the spell score is and the mana score is for detecting if you have enough mana to summon the spell. /execute as @a at @s if entity @s[scores={spell=1..},] if entity @s[scores={mana=10..}] run execute at @a[nbt={SelectedItem:{id:"minecraft:diamond_sword",tag:{display:{Name:'{"text":"Awakened arkhalis"}'}}}}] run setblock ~ ~ ~ minecraft:redstone_block  All the other times I use SelectedItem it works but for some reason when I give myself this sword it doesn't /give @s minecraft:diamond_sword{Unbreakable:1,HideFlags:1,Enchantments:[{id:"minecraft:sharpness",lvl:8}],display:{Name:'[{"text":"Awakened arkhalis"}]'}} 1  Is there any way to make the diamond sword detectable?

I've heard that testing for item names and lores in Minecraft JE is bad practice. For example, the following commands are not good: execute if entity @e[nbt={Inventory:[{tag:{display:{Name:'[{"text":"Test Thing"}]'}}}]}] clear @p minecraft:diamond{display:{Name:'{"text":"Shiny…"}'}} 0 clear @p minecraft:netherite_sword{display:{Lore:['{"text":"A Mysterious Sword"}']}} 0  Why are these commands considered bad practice? Are they prone to failure and may not work? And what can I do to fix them? Note that this only applies to reading item names, not setting them. The following are not considered bad practice and in fact are the only ways to accomplish these tasks: give @p minecraft:diamond{display:{Name:'{"text":"Shiny…"}'}} replaceitem @p weapon.mainhand minecraft:netherite_sword{display:{Lore:['{"text":"A Mysterious Sword"}']}}


When I get the hour of a time, it prints it in the 24 hour clock like this;  time1 = datetime.datetime.strptime("08/Jan/2012:08:00:00", "%d/%b/%Y:%H:%M:%S") print 'hour is ', time1.hour  > time is  8   I'm trying to get it to show 08, instead of 8. For hours that are double digits its fine, but as soon as it gets to a single digit I'm trying to get that 0 in front of it.  I could potentially do 'time1.time' and then convert to string and then split it, and then convert the hour back into a datetime object, but this is pretty long winded and was wondering if there's a simpler solution?

Given: a = 1 b = 10 c = 100  How do I display a leading zero for all numbers with less than two digits? This is the output I'm expecting: 01 10 100


I am trying to have some stability in image orientations but they differ in Debian image viewer/LaTeX and with image viewers.  I do but it does not have an effect on the orientation of wrongly positioned images; manually adjusting it with -Orientation=[1234] does not help  exiftool -Orientation=1 -n *.jpg   Fig. 1 Output where the same image is opened in image viewer (Shotwell, ...) and Debian Space review (same output in LaTeX)        I thought first that the image orientation was the mistake but it is not because doing convert masi.jpg -rotate 90 masi-rotated.jpg keeps also the relative difference the same.   Exif info  Wrongly positioned image, having the 90 degree or its multiples in orientation   $ exiftool 28.jpg  ExifTool Version Number         : 9.74 File Name                       : 28.jpg Directory                       : . File Size                       : 69 kB File Modification Date/Time     : 2016:11:29 11:59:08+02:00 File Access Date/Time           : 2016:11:29 12:07:17+02:00 File Inode Change Date/Time     : 2016:11:29 12:06:29+02:00 File Permissions                : rw-r--r-- File Type                       : JPEG MIME Type                       : image/jpeg JFIF Version                    : 1.01 Resolution Unit                 : None X Resolution                    : 1 Y Resolution                    : 1 Exif Byte Order                 : Little-endian (Intel, II) Orientation                     : Rotate 270 CW Software                        : Shotwell 0.20.1 Color Space                     : sRGB Exif Image Width                : 425 Exif Image Height               : 707 XMP Toolkit                     : XMP Core 4.4.0-Exiv2 Image Width                     : 425 Image Height                    : 707 Encoding Process                : Baseline DCT, Huffman coding Bits Per Sample                 : 8 Color Components                : 3 Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2) Image Size                      : 425x707   Correctly (as expected) positioned image in both views  $ exiftool 27.jpg  ExifTool Version Number         : 9.74 File Name                       : 27.jpg Directory                       : . File Size                       : 66 kB File Modification Date/Time     : 2016:11:29 11:58:53+02:00 File Access Date/Time           : 2016:11:29 12:13:36+02:00 File Inode Change Date/Time     : 2016:11:29 12:07:46+02:00 File Permissions                : rw-r--r-- File Type                       : JPEG MIME Type                       : image/jpeg JFIF Version                    : 1.01 Resolution Unit                 : None X Resolution                    : 1 Y Resolution                    : 1 Exif Byte Order                 : Little-endian (Intel, II) Orientation                     : Horizontal (normal) Software                        : Shotwell 0.20.1 Color Space                     : sRGB Exif Image Width                : 842 Exif Image Height               : 504 XMP Toolkit                     : XMP Core 4.4.0-Exiv2 Image Width                     : 842 Image Height                    : 504 Encoding Process                : Baseline DCT, Huffman coding Bits Per Sample                 : 8 Color Components                : 3 Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2) Image Size                      : 842x504   Debian: 8.5 Gnome: 3.14

I'm running the default pdfjoin and getting results like this:    How can you pdfjoin different sized pictures? My first idea is to add an empty page in front of all things.


let me tell you the story from the beginning i had a mutltiboot system -ubuntu,windows 7(pre-installed). as we know there is a loader(the one that give us multi os choice) that start loading from the ubuntu os  but what i do here is i just manualy format the partition (on disk manager app on windows 7 ) that has the ubuntu os (not the loader- they are distnict actually)  it was working fine until the first reboot that i met with this command for the first time  error:unknown file system  grub rescue>  i got the answer for this and try it but it only work to load the linux one and i just already delete all the source files for ubuntu so it couldn't make it. so i tried to get onother linux- fedora16 . amazingly the live cd  provided me with those partitons of loaders  i formated the partition of what it said 'linux swap space'. and the next reboot message was  error:file not found grub rescue>

I have absolutely no experience with Linux, and I desperately need to get my computer back up and running again with Windows.  How do I remove Ubuntu and reinstall Windows?    Editor's note: many of the answers are about removing Ubuntu from dual-boot but keeping Windows (which is a bit complicated), while other answers are about removing Ubuntu from single-boot (which is easy: basically just format the disk while installing Windows). The question as written is ambiguous between dual-boot or single-boot.