ubuntu 14.04 installation problem on win 7

I am trying to install Ubuntu 14.04 using wubi ,I had a 12.04  installation on this laptop.Some how I have removed the old one and now installing new.I downloaded  Ubuntu 14.04-1-desktop-amd64 ISO and extracted wubi from it kept both ISO and wubi in same folder,   I noticed each time wubi will start downloading ISO from internet.I let it do for 2-4 days some how thir process did not result in any fruitful thing.  Now I found on some thread people facing this issue will disconnect their internet connection and wubi installer will start installation from downloaded ISO, in my case also I disconnected lan wire from laptop and then using wubi installation began.  But at the end when I boot then I am getting errors as / is not found/not mounted press I to ignore S to Skip or M for manual recovery.  /tmp is not found press I to ignore S to Skip or M for manual recovery.  I do not know how to manually fix it. Igonoring or skipping the process leads me to borne shell based login prompt with no X window interface at all. How ever during install it downloaded every thing it possibly could because once installation had begun I had connected the lanwire. After multiple such installation attempts I have finally failed to install Ubuntu 14.04 on my system. (12.04 was running fine I have lost that now) .What should I do now?


regex in python not working - works in pythex but not in python 3.6

This regex works in pythex, but not in python 3.6.  I am not sure why:    Code in python:  import re test = '105297  003  002394  o  0000  20891  0.00  1' pattern = r"(?P<pun1>\d{3})\s+(?P<pun2>\d{6})(\s+(?P<pun3>[01oO])(\s+(?P<pun4>\d{4}))?)?\s.*\s(?P<amt>\d+\.\d\d)\s" match = re.match(pattern, test, re.IGNORECASE) match is None True   I haven't been able to figure out why it works in pythex but not in python interpreter.


Is it possible to obtain data on the evolution of questions' views over time?

In the  we can obtain a snapshot of the number of views over time. In particular, it is in the Posts table. I am looking for data on the evolution of views over time.  My question is whether there is a database or tool, available for the public, that gives the evolution of views over time. That is, optimally, a timestamp for each view. Alternatively, it may be grouped in some time interval (e.g. monthly increment in views for every given question). Any directions on obtaining even partial data on this would be helpful. Thank you.


Why can we distinguish different pitches in a chord but not different hues of light?

In music, when two or more pitches are played together at the same time, they form a chord. If each pitch has a corresponding wave frequency (a pure, or fundamental, tone), the pitches played together make a , which is obtained by simple addition. This wave is no longer a pure sinusoidal wave.  For example, when you play a low note and a high note on a piano, the resulting sound has a wave that is the mathematical sum of the waves of each note. The same is true for light: when you shine a 500nm wavelength (green light) and a 700nm wavelength (red light) at the same spot on a white surface, the reflection will be a superposition waveform that is the sum of green and red.  My question is about our perception of these combinations. When we hear a chord on a piano, we’re able to discern the pitches that comprise that chord. We’re able to “pick out” that there are two (or three, etc) notes in the chord, and some of us who are musically inclined are even able to sing back each note, and even name it. It could be said that we’re able to decompose a Fourier Series of sound.  But it seems we cannot do this with light. When you shine green and red light together, the reflection appears to be yellow, a “pure hue” of 600nm, rather than an overlay of red and green. We can’t “pick out” the individual colors that were combined. Why is this?  Why can’t we see two hues of light in the same way we’re able to hear two pitches of sound? Is this a characteristic of human psychology? Animal physiology? Or is this due to a fundamental characteristic of electromagnetism?


I came across a map and when I was playing I found some coloured and bolded item names. I thought it isn't possible as at most you can only use the custom name tag to rename things! Is there a way to colour and bold item names in vanilla Minecraft? External programs are OK. Oh, and the wiki page of formatting codes doesn't really do much.


Evaluating a sequence of complex numbers: $|z_n - z_m| < \frac1{1+ |n-m|}$

Let $\{z_n\}$ be sequence of complex numbers such that   $$ |z_n - z_m| < \frac{1}{1+ |n-m|} $$ for all $n,m$  Given this information, can we compute $\lim_{n \to \infty} z_n $?  Attempt:  For sure the sequence is bounded since the RHS is always $\leq 1 $. IF $z_m = 0$, then we have   $$ |z_n | < 1 $$ for all $n$. I claim that the limit is $1$. How can I prove this ?


I made a list of cars, the factory produces every 4 cars broken (public bool Broken;).  My code  public static void BuildCar() {      List<Factory> cars = new List<Factory>();      for (int i = 1; i < 10; i++)     {         Factory newCars = new Cars("string", "string", "bool");         if (i % 4 == 0)         {             newCars.Broken = true;             cars.Add(newCars);         }         else         {             newCars.Broken = false;             cars.Add(newCars);         }     } }   What I did     A list of all the cars (good and broken).   What I need to do     Create a method that copies only good cars to another list.   Thx.


I am looking for a little help. I am sitting at home trying to learn java programming from programmingbydoing.com. I need to make a program called TwentyQuestions. The code is missing something to make it work completely. I have tried to find help other places on the web. That is why the code looks much like other peoples code.  import java.util.Scanner;  public class TwentyQuestions {     public static void main( String[] args )     {         Scanner keyboard = new Scanner(System.in);          String type, size, guess = "";          System.out.println("TWO QUESTIONS!");         System.out.println("Think of an object, and I'll try to guess it.");         System.out.println("");          System.out.println("Question 1) Is it animal, vegetable or mineral?");         System.out.print("> ");         type = keyboard.next();         System.out.println("");          System.out.println("Question 2) Is it bigger than a breadbox?");         System.out.print("> ");         size = keyboard.next();         System.out.println("");          if (type.equalsIgnoreCase("animal"))         {             if (size == "no")             {                 guess = "squirrel";             }             else             {                 guess = "moose";             }         }          else if (type.equalsIgnoreCase("vegetable"))         {             if (size == "no")             {                 guess = "carrot";             }             else             {                 guess = "watermelon";             }         }          else if (type.equalsIgnoreCase("mineral"))         {             if (size == "no")             {                 guess = "paper clip";             }             else             {                 guess = "Camero";             }         }          if (guess == "")         {             System.out.println("The answers provided are not valid. Please try again.");         }          else         {             System.out.println("My guess is that you are thinking of a " + guess + ".");             System.out.println("I would ask you if I'm right, but I don't actually care.");         }   } }   The problem is that the program does not care about the comparisons that are in the nested if-statements. Control always goes to the else and prints that one.


What is the origin of the term "In Spades"?

Near as I can tell, this phrase seems to be based on the idea that the suit of spades is of higher value than any other card - which I believe is only true in the card game "".    Is this card game the origin of the phrase?  If so, when did it become a popular phrase to describe what it means today?


Unregister jquery event for  in dynamic table

I am working for dynamic table from a jquery/ajax function that will display a list of files depending on the clicked category.  Once the list of file is displayed, the user can click on table row (checkbox will also be checked) to display/preview the file but the row can't have a jquery event.  I have tried it on a plain html table with the function below and it worked.  What could be the solution for this?    function directoryAction(obj){            var directory = obj.value            var editDer = directory.replace("./","");            $(".content-main").html("<button class='btn btn-default'></button>"+                 "<button class='btn btn-default' value='"+ directory +"' onclick='addDocument(this);'></button>");            $(".content-main").append("
"+editDer+"
");            $(".content-main").append("
"+            "
"+            "
"+            "<input type='checkbox' class='form-control '/>	"+            "File Name	"+            "Uploader	"+            "Date Modefied	"+              "
"+              "
"+              "

</table");             var dataString = "directory=" + directory + "&getFileInDirectory="              $.ajax({                 url: "main.php",                 type: "GET",                 data: dataString,                 dataType: "json",                 contentType: false,                 cache: false,                 processData: false,                 success:function(data){                     var id = 0;                     $.each(data,function(i,element){                         var fName = element.namef;                         var uploader = element.uploader;                         var datestamp = element.datestamp;                         var fileId = element.id;                         $(".fileTbody").append("
<input id='file"+ id +"' type='hidden' value='"+ fileId +"'>"+                         "<input type='checkbox' id='chk"+ id + "' class='form-control'/>	"+                         ""+ fName +"	"+uploader+"	"+datestamp+"
");                         id++;                     });                 }              });        }      $(function(){         $(document).ready(function() {             $('.record_table tr').click(function(event) {                 if (event.target.type !== 'checkbox') {                     $(':checkbox', this).trigger('click');                 }             });         });        });


How to store the audio/Video file to SQLite database in android.?

Am new to developing, am successfully store the images to database by converting the images in to bytes array and store it to SQLite database in BLOB (find below code). But am not getting how to store audio's/video's into DB any one help me PLZ...   public void getImage(View view){     Intent intent = new Intent();     intent.setAction(Intent.ACTION_GET_CONTENT);     intent.setType("image/* video/*");     startActivityForResult(Intent.createChooser(intent, "select picture"), 1);  }  public void onActivityResult(int requestCode, int resultCode, Intent data){     if(resultCode == RESULT_OK){         Uri imageUri = data.getData();         String imagePath = getPath(imageUri);          image1.setVisibility(View.VISIBLE);          image1.setImageURI(imageUri);         Bitmap bitmap = BitmapFactory.decodeFile(imagePath);         Toast.makeText(getApplicationContext(), ""+bitmap, Toast.LENGTH_SHORT).show();         ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream();         bitmap.compress(Bitmap.CompressFormat.PNG, 100, byteArrayOutputStream);         img = byteArrayOutputStream.toByteArray();     } }   public String getPath(Uri uri) {     String[] projection = { MediaStore.Images.Media.DATA };     Cursor cursor = managedQuery(uri, projection, null, null, null);     int column_index = cursor.getColumnIndexOrThrow(MediaStore.Images.Media.DATA);     cursor.moveToFirst();     return cursor.getString(column_index); }  public void saveImage(View v){      imageDatabase = new ImageDatabase(this);      imageDatabase.insert("first",img);      Toast.makeText(getApplicationContext(), ""+imageDatabase.numberOfRows(),Toast.LENGTH_LONG).show(); }   In above code am taking the image from sdcard and displaying in ImageView and storing into DB.


QGIS 2.12 symbology does not work correctly

I use QGIS for a long times on mac and windows and I have a problem with the 2.12 version on my OSX 10.8.5 when I want to edit style of my vector layer.    When I click on properties of a vector layer and I want to edit the style, QGIS tells me that This layer doesn't have any editable properties. I attach a file to be as clear as possible. Is anyone having the same problem ? Do you find a solution?  I had the same problem with the 2.10 version.


Can't install the Ubuntu SDK due to broken qtcreator-plugin-ubuntu dependency

I tried to install the Ubuntu SDK on my Ubuntu 13.10 Virtual machine(VMwarePlayer) by typing sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk in the Terminal. the process gets stuck at a point and is unable to go further so terminates. The final window of the terminal says the following:  Ign http://us.archive.ubuntu.com saucy-backports/restricted Translation-en_US Ign http://us.archive.ubuntu.com saucy-backports/universe Translation-en_US Fetched 1,190 kB in 51s (22.9 kB/s) Reading package lists... Done Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies:  ubuntu-sdk : Depends: qtcreator-plugin-ubuntu but it is not going to be installed E: Unable to correct problems, you have held broken packages. mrwhite@ubuntu:~$    what do I do?


My question is as follows:  Why is it problematic to define energy-momentum tensor for the gravitational field?  P.S. It is well-known that in GR we get the energy-momentum tensor of "matter" by taking the variational derivative of the action $S_m$ of matter fields with respect to the metric field: $$ T_{MN}=-\cfrac{2}{\sqrt{|g|}}\cfrac{\delta S_{m}}{\delta g^{MN}} $$  Why can't we use an analogous procedure to define the energy-momentum tensor for the gravitational field $g_{MN}$? That would lead to the Einstein tensor $G_{MN}$ (at least for the Einstein-Hilbert action $S_g\sim g^{MN}Ric_{MN}$). However, for some reason the phrase "energy-momentum tensor of gravity" is persistently avoided. I understand that the problem is conceptual (for instance, then we would have the total energy-momentum of a gravitating system always being zero), but could anybody explain that in more detail?  Thanks!


Geometric interpretation of hyperbolic functions and the hyperbolic angle/argument

I've been reading up on hyperbolic functions and was wondering if there was a geometric definition for the hyperbolic angle and hyperbolic function.  In particular I was reading this:  and this:   My question is this - when we consider trigonometric functions, we treat them as points on a unit circle where (conventionally) the angle is formed between the x-axis and a ray drawn to some other point. I believe that for hyperbolic functions, we take the ray dividing the hyperbola in half, and another ray, and the angle between them is the hyperbolic angle.   For the hyperbola $x^2 - y^2 = 1$, somehow, the area of the sector is half the angle. Is there a proof for this?  Also, for the hyperbola $y = 1/x$, the area of the sector is equal to the angle. Is there a proof here?  Why are the two cases different?


Permanent (previous) data dump from a query?

I use a url like this:  to pull up a csv file from SEDE, but every week it doesn't pull up the csv unless I run the query. Running the query takes about 2 minutes every new week I run it. Is it possible to have a url to the csv that already exists, or is it deleted until the query is run again [every new week]?


Python Program skips intended defined function, runs conditionals, NOT Global, Why does it skip running through the function?

Why does it skip through the defined function without running it?  The goal is to call the last if and else conditionals only after everything_but_the_end() has run, however the program just skips them. My code was running fine before I made the function (so that I could call it back to replay), but now it is not running as intended.   import random  rand_num = random.randint(1, 10)  guesses_total = 5  guesses_so_far = 0   def everything_but_the_end():     while guesses_so_far < 5:         print("Hi, I'm thinking of a number, 1 - 10.")         guess = int(input("Guess what number I am thinking of: "))         if guess == rand_num:             guesses_so_far = guesses_so_far + 1             break         elif guess < rand_num:             guesses_so_far = guesses_so_far + 1             print("Too Low \n--- Attempt {}".format(guesses_so_far))         elif guess > rand_num:             guesses_so_far = guesses_so_far + 1             print("Too High \n--- Attempt {}".format(guesses_so_far))   if guesses_so_far > 4:     play_again_lost = input("Sorry, you lost. Play again? Y or N: ")     if play_again .upper() == "Y":         everything_but_the_end()     else:         print("Okay, goodbye!")         quit() else:     play_again = input("Congrats! You won! Want to play again? Y or N: ")     if play_again .upper() == "Y":         everything_but_the_end()     else:         print("Okay, goodbye!")         quit()   I thought to solve it by just putting everything_but_the_end() after I defined it, but it gives me two errors, that   Traceback (most recent call last):   File "/Users/danielternyak/Google Drive/PythonPrograms3.4/randnum.py", line 24, in <module>     everything_but_the_end()   File "/Users/danielternyak/Google Drive/PythonPrograms3.4/randnum.py", line 11, in everything_but_the_end     while guesses_so_far < 5: UnboundLocalError: local variable 'guesses_so_far' referenced before assignment   I am unsure why I am receiving this error, as I have already defined guesses_so_far at the very top of the page.


Which SUSY models are affected by the recent LHCb result?

The LHCb has recently  the observation of $B_s \rightarrow \mu^+ \mu^-$ with a branching ratio that agrees with the Standard Model (SM). There are many blog posts about it (See: ).  The result initiated a debate over its implication on Supersymmetry in general, which I don't want to discuss here. But it certainly affects some Supersymmetric models that may have a different prediction than that of the SM.   My questions are,   Which models in particular are affected (or variants of models)? What is the MSSM status? The NMSSM? Does the result affect some of the parameter space of a particular model, or does it rule out an entire model/or variant of a model?


A single term for the duration between sunrise and sunset?

Is there a single term or a more accurate / concise replacement for the phrase "day-light hours".  Day (as opposed to night) would work, however, day is very commonly used to describe day + night. One day to most people means 24 hours.  I am looking for a better way to describe the duration between sunrise to sunset along the lines of synodic day or solar day which is the duration from one sunrise to the following sunrise (usually about 24 hours here on Earth).


proving $\left(1+\frac 1n\right)^{n} = 1 + \sum_{k=1}^n \{\frac 1{k!}\prod_{r=0}^{k-1}(1-\frac rn)\}$ using the binomial theorem

$$\left(1+\frac 1n\right)^{n} = 1 + \sum\limits_{k=1}^n \left\{\frac 1{k!}\prod_{r=0}^{k-1}\left(1-\frac rn\right)\right\}$$   this exercise is taken from Apostol's Calculus I (page 45) and it's supposed to be proved by using the binomial theorem. I can only carry out the expression on the left this way:  $$\left(1+\frac 1n\right)^{n} = \sum_{k=0}^n{n \choose k}1^k\left(\frac 1n\right)^{n-k}=1 + \sum_{k=0}^{n-1}{n \choose k}\frac 1{n^{n-k}}$$   I have no clue on how to proceed.. any help is very appreciated, thanks in advance!


How to give a combinatorial proof from   $$\sum_{i=1}^n {n\choose i}^2={2n\choose n}$$  I have tried to give an argument with 2n set elements colored red but i got stuck on this Thanks in advance


I'm still new to blender, and I have found a problem that I can't solve.  I'm importing some models to blender from a certain source, but when I use "Rendered" viewport and try to apply some lighting, sometimes I get inconsistencies with shadows/lights on some faces.  Here is an example with an arm (but the problem can also happen in other parts/models in major or lesser degrees):   As you can see there are abrupt changes with light and shadows between faces, but when I'm working with "Material" viewport all seems to be ok:  I have tried many things to smooth the mesh like: smooth vertex, faces or edges, clear custom split normals data, recalculate normals, remove doubles, auto smooth, subdivision surface, edge split and others things like different lighting configurations, but nothing really helps. The only thing that helps is applying subdivide smooth two or three times but it creates too many faces and that's probably a bad thing.  What could I do to fix this problem? So I'm able to use those models and apply light to them.  I'm using Blender 2.79 with Cycles Render  Here is the .blend file, I uploaded to Mega because Blend-Exchange was not working for me right now   Thanks in advance!


Printing Java doubles to System.out in Java


Ok,so i had installed ubuntu on my hp laptop by completely removing windows 8.1.now the problem is that i have 500gb of disk space originally and ubuntu has used up arond 80 gb of it.I cannot access the remaining 420 gb now i.e it cannot be seen from my ubuntu desktop.please help as i want to change the 80gb to the whole of 500gb.


New top bar is missing features/generally unintuitive

The new top bar is very unintuitive. Sure it works for all of us, because we're used to SO, but new users will be extremely confused by this new, less featured design.   New additions should add features, or remove unwarranted/deprecated features. This addition has removed many useful features, does not match the site layout at all, and is absolutely sure to increase the number of confused new users.  IMHO it should have many many more features in all of the empty unused space, not less. Use the space you have to your advantage.   EDIT: This is not a duplicate, we were specifically told to start new questions with the  tag in the original Meta post. Which is what I have done.


Faster Convergence for the Smaller Values of the Riemann Zeta Function

I have a C++ program that uses the equation  $$\zeta(s)=\sum_{n=1}^\infty\frac{1}{n^s}$$  to calculate the Riemann zeta function.  This equation converges fast for larger values, like 183, but converges much slower for smaller values, like 2. For example, calculating the value of $\zeta(2)$ took an hour to be accurate to 5 digits, but one second for $\zeta(183)$ to be accurate to 100 digits.  Are there any equations for calculating the Riemann zeta function that are faster for calculating smaller values?  Because I am coding in C++, I cannot use $\int$ (without implementing external libraries, which is not really an option here).


This may be very simple, but I am not able to find right now, how to write the $y\ne z$ part, I have perfectly written $\sup\limits_{x,y,z \in X}$ etc ..Thanks for helping.


I try to get hepthesis running but run into a problem when using \textmu Here a code example:  \documentclass[oneside,a4paper]{hepthesis} \usepackage[utf8]{inputenc} \usepackage{amssymb} \usepackage[colorlinks=true]{hyperref}  \begin{document}     $\mu$ , \textmu \end{document}   which results into:  Error: Command \textmu unavailable in encoding OT1. Warning: Load 'inputenc' before 'csquotes' Warning: No multilingual support.   I do now about \textmugreek but it looks different and quite pixely (might be a viewer problem...)  Is there a way to make \textmu work?


Finding all prime ideals in $\mathbb Z[\frac 1n]$

As homework, I need to find all the prime ideals of $\mathbb Z[\frac 1n]$.  For starters, I needed to prove that given any two rational numbers $q_1,q_2$, there exists a natural number satisfying $\mathbb Z[q_1,q_2]=\mathbb Z[\frac 1n]$. I did this by writing $q_i=\frac{a_i}{b_i}$ and taking $n=b_1b_2$. Unfortunately, I don't really see how this helps me find all the primes ideals at all.


Need some help baking, "No active image found in material"

I followed the guide here:   I unwrapped my UV, created a new image, created an Image Texture node and selected my new image with that, and hit bake. I then receive the error in the title. Here is a screenshot of my view:   I'm definitely doing something wrong, hopefully one of you can point out what that is.


C# split string but keep split chars / separators

I'm splitting a string by three different characters but I want the output to include the characters I split by. Is there any easy way to do this?


Can my country level domain beat the same .com domain which is own by a different company overseas?

I own a country level domain called example.lk in Sri Lanka.  Also there was a site called example.com which is own by a reputable company in India. Sadly it is the .com version of my domain.  But they are not operating on that .com domain, instead they bought it and redirect it to their other site called example2.com  So their final product which is example2.com and my site which is example.lk belongs to same industry. Same business, which is classified ad listing.   So when someone in my country just type example word in google we can see their parked domain which is example2.com in search results. ( because it has huge traffic. but they are not doing any businesses in my country )  So if I start my business with my example.lk domain, can my domain beat them and appear on the top result within my country?  Can they acquire my domain?


Is it OK to use the parameters for the lowest cost?

In a Neural Network training, the cost of the model changes throughout the training process when using gradient descent (or something analogous), this is the point of the algorithm. However the cost might not decrease monotonically. In some points the cost might even increase.    So, Is it OK to keep track of the parameters that output the lowest cost and use those as the best parameters for the model? In the image it would imply using the parameters that output the lowest cost instead of the last parameters found.  Assume that the cost returned by the lowest cost outputs an acceptable model accuracy.  Does doing this cause some kind of problem?


Fixing broken links: diveintopython.org to diveintopython.net

Links pointing to diveintopython.org are now broken, giving back 410 Gone header.  For example:   It changed to diveintopython.net, for example:    .  I'll edit now some, but don't have much time.. enjoy the hunt! :)


How can I limit ssh *remote* port forwarding?

I need to limit which ports can be remotely 'ssh -R' forwarded by an user.  I know about permitopen option on authorized_keys, but as it says on man page it only limits local 'ssh -L' port forwarding  As discussed  a user would get the same with netcat or similar, but in this case user has no shell access  I also found  that talks about using selinux or LD_PRELOAD, but I never configured selinux before and can't find info on how to do that with LD_PRELOAD.  maybe someone have made a patch for openssh to implement that?  EDIT: I've found  so I guess it's not yet implemented


Here is my situation. I'm applying for a UK student visa. I filled up my application, paid, and printed my application. Upon rechecking it I noticed that in my travel history I mentioned that I traveled On July 21, 2009 to Egypt but the exact date is July 27, 2009. July 21, 2009 was the date the visa was given to me. Will this be considered as deception by the Entry Clearance? If I can correct it, how can I do that?


Determine the sum of   $$\sum_n^\infty \frac{k}{3^k}$$  Can someone teach me how to solve this please thanks.


NS records chicken and egg: NS in the domain it's serving

I've dealt with BIND for years and this has always kind of bugged me.  $ dig google.com ns  ;; QUESTION SECTION: ;google.com.            IN  NS  ;; ANSWER SECTION: google.com.     87046   IN  NS  ns3.google.com. etc...  ;; ADDITIONAL SECTION: ns1.google.com.     87274   IN  A   216.239.32.10 etc.   I get that, at least notionally, the root servers handle ., and hand off .com., .gov., whatever to the right servers (though in practice this is all cached several levels down), but at some point, somebody has to know to ask the server at 216.239.32.10 for the A record of whatever.google.com. But how did resolvers figure that out in the first place, since you need to know the A of the NS to do that? (And for that matter, since we know it's an Internet NS and not, say, Chaos or something, why do you have to use a name rather than an address for the NS record?)  My nameservers have always had names that could be found by somebody upstream (eg, I hosted DNS for bar.com on foo.com, and my upstream handled foo.com), but I have never quite grasped how people like Google get over the chicken and egg problem of hosting the DNS for google.com under the name google.com.


Let $H$ be an infinite-dimensional separable Hilbert space, show that a Hilbert-Schmidt operator is compact

Let $H$ be an infinite-dimensional separable Hilbert space and $(e_n)$ an orthonormal basis of $H$. $T\in B(H)$ is called a Hilbert-Schmidt operator if $\sum_{n=1}^{\infty} ||Te_n||^2 < \infty$. I want to show that every Hilbert-Schmidt operator is compact. I am not getting the idea how to use the separability and if it doesn't matter whether the space is infinite or finite-dimensional. But I know that if there is a series of compact finite rank operators that converges to T, then T is compact. *I saw many versions of similar questions with different contexts.


Ubuntu 18.04 opening system setting logs me out

I've recently installed Ubuntu 18.04 in a dual-boot configuration with Windows 10. I noticed today that, when trying to open system settings, Ubuntu seems to log me out to the lock screen. When I log back in, all previously-running applications are now closed. Very unsure what to do from here, any help much appreciated.


Draw mathematical analysis figures in latex

I wonder if it is possible to draw the following figures in latex:    For the first image I want a typical real analysis diagram. For the other three I want to draw a cylinder and with squares and rhombus sections...  Is this possible with latex?  Ŕeferences  For my own reference I save here some examples of tikz referenced in the comments:


Mask a shape in front of many small shapes in Illustrator CC

I am working on the latest version of Adobe Illustrator CC with all the latest updates installed.  I have the following:    I would like the dome shape in front to act as a mask for the complex shapes behind. How can I do this? The shapes behind are 100s of small shapes and even though I grouped them all as one, I still can't get it to mask when I try various things in the Pathfinder panel.  Any help would be appreciated.


An element $a$ of the ring $(P,+,\cdot)$ is called idempotent if $a^2=a$. An idempotent $a$ is called nontrivial if $a \neq 0$ and $a \neq 1$.   My question concerns idempotents in rings $\mathbb Z_n$, with addition and multiplication modulo $n$, where $n$ is natural number. Obviously when $n$ is a prime number then there is no nontrivial idempotent. If $n$ is nonprime it may happen, for example $n=4, n=9$, that also there is no.     Is it known, in general, for what $n$ there are nontrivial idempotents and what is a form of such idempotents?


"Using the technique" vs "By using the technique"

I am confused about the following sentence:     We can check overlap using the technique in solution 1   Why has the author written "using"?  Could we rephrase it as:      We can check overlap by using the technique in solution 1   Can anyone explain the grammar of the original statement to me?


What does Stack Overflow do with similar questions?

I don't know if this could be combined to include a recommendation as well as 2 questions, but I noticed that quite a few questions on SO have duplicates.    I would like to know whether these duplicates remain open forever, or are they eventually removed over time? Also, (the recommendation - kind of - part) are similar questions that are marked as duplicates used for machine learning to train the Lucene search to optimize better and decrease the volume of duplicate questions?


Low disk space in Ubuntu partition does not allow me to login - stuck at /dev/sda clean ... files ... blocks (on Ubuntu 20.04)

After the file system warning me about low disk space, when I try to log in it's showing me the message on the screen dev/sda clean XXXXXX/XXXXX files XXXXX/XXXXX blocks hence I cannot access my GUI. The problem is not related with graphics or anything, it's just a low disk space problem. Do you recommend Gparted with LIVE USB to extend the partition? If so show me the steps.


Is folder /.cache/google-chrome safe to delete ?  would it affect the surfing experience on chrome?


Is there a difference between degrees of freedom and independent variables?

They seem to represent the same idea as far as I can tell - can they be used interchangeably?


Evaluate $\int_{0}^{\infty} \frac{ \sin^{2n+1} x} {x} \text dx $

This question is from Apostol Mathematical analysis and I tried it by using integrating by parts but couldn't solve it. So, I am posting it here:  Prove that $$ \int_{0}^{\infty} \frac{ \sin^{2n+1} x} {x} \text dx =\frac{\pi (2n)!}{2^{2n+1} (n!)^2}$$ Just outline the method / key steps. No need to fully solve it.


Managing floats when there is not much text

I have a section in my document where I discuss results of my simulation, pictured as graphs, which in turn are included as floating images in the document. However, $\latex$ seems to put only one floating picture per page, which causes most of the images to float all over references, and hence matching pictures with text is rather difficult.  How can I manage this situation? I would still like to benefit from all the automatic positioning of floats, I just want more of them on one page.  The floats are included like this:  \begin{figure}[ht] %\begin{center} \includegraphics[scale=0.8]{CVaR_vs_xi} \caption{\label{f9}CVaR for different values of project volatility ($\xi$), expressed as a fraction of the initial loan amount.} %\end{center} \end{figure}


Proving a Galois Group is isomorphic to $D_4$

Let $a = \sqrt{2+i}$ and $K$ is the splitting field of minimal polynomial of $a$ over $\mathbb{Q}$. Prove that $Gal(K/\mathbb{Q})$ is $D_4$.   I find the minimal polynomial of $a$ is $p(x)=x^4-4x^2+5$ and its   roots are $\sqrt{2+i},-\sqrt{2+i},\sqrt{2-i},-\sqrt{2-i}$. Let $b=\sqrt{2-i}$. So the splitting field of $p$ is $K=\mathbb{Q}(a,b)$. Also by Eisenstein's criterion to $p(x-1)=x^4 - 4 x^3 + 2 x^2 + 4 x + 2$ with the prime 2 we can conclude, $p$ is irreducible over $\mathbb{Q}$. Thus $[\mathbb{Q}(a):\mathbb{Q}]=4$. Also $b\not\in\mathbb{Q}(a)$ (since if it were then $\sqrt{2+i}\cdot\sqrt{2-i}=\sqrt{5}$ would also be in $\mathbb{Q}(a)$), and minimal polynomial of $b$ over $\mathbb{Q}(a)$ is $x^2-2+i$. Thus $[\mathbb{Q}(a,b):\mathbb{Q}]=[\mathbb{Q}(a,b):\mathbb{Q}(a)]\cdot[\mathbb{Q}(a):\mathbb{Q}]=2\cdot 4=8.$ Now since $K$ is the splitting field over $\mathbb{Q}$ of a separable polynomial, $K/\mathbb{Q}$ is Galois. Hence $|Gal(K/\mathbb{Q})|=8$. Hence the 8 automorphisms are $$a\to \begin{cases}a\\-a\\b\\-b\end{cases}\quad\text{and}\quad b \to \begin{cases}b\\-b\end{cases}.$$ But there is no automorphism of order 4. Then how can the Galois group be $D_4$?  Can somebody correct me what I am missing?


Consider $Z=(Z_1,\ldots,Z_n)^T\sim N(\mu,V)$. Show:          If $a\in\mathbb{R}^m$ and $A$ is a $(m\times n)$-matrix with $\text{rang}(A)=m$ then     $$ Y=a+AZ\sim N(a+A\mu,AVA^T). $$      My questions is, what do I have to show for this?  I think I have to show that $Y$ has the density function $$ f(Y)=(2\pi)^{-m/2}\text{det}(AVA^T)^{-1/2}\exp\left\{-\frac{1}{2}(Y-(a+A\mu))^T(AVA^T)^{-1}(Y-(a+A\mu)\right\}. $$  But how can I show that? Don't know how to start.


do mAh on batteries (for home-use - nerf) make a difference?

I was wondering if the mAh on an battery pack is important or relevant, so you would recognize a difference?  Little bit Off-Topic:  I've read a lot about "Nerf voltage mods" where modders change the standard 3xAA NiMh batteries (1,2v each = 3,6V) against 2 Li-Ion batteries (3,7v each = 7,2v) and one "dummy" battery for better perfomance and range.  Now I'm also thinking about changing to Li-Ion (with around 1500mAh) or just buying better/stronger NiMh batteries with around 2500mAh.


Whether to delete cases that are flagged as outliers by statistical software when performing multiple regression?

I am performing multiple regression analyses and I am not sure whether outliers in my data should be deleted. The data I am concerned about appear as "circles" on the SPSS boxplots, however there are no asterisks (which makes me think they are not 'that bad'). The cases I am concerned about do appear under the "casewise diagnostics" table in the output - therefore should I delete these cases?


How to set a custom 4x4 projection matrix in Blender

I have seen some questions to this topic but all of them are not satisfactory for my problem. Is it possible to set a custom 4x4 projection matrix in Python to use for rendering in Blender? I'm not interested to manipulate single parameters (lens, shift, clipping...), I rather would like to set the whole matrix at once. Is it possible in Python or do I have to go deeper?  I would be so thankful for any informations or hints.  greetings


I have a VPS that for the 1st time in 4 years went over the monthly cap. The machine was just rebuilt by the provider and since bandwidth has never been an issue before the rebuild I was wondering if there is a way of monitoring usage so that I could potentially track down the reason for this usage? Ideally I would like to reset at the start of a new month.  Thanks


Extending the result $\left(\frac{a+b}{2}\right)^{a+b} \lt a^a b^b$ to $n$ number of terms.

Prove that $$ \left( \frac{a+b+c\cdots k}{n} \right) ^{a+b+c \cdots k} \lt a^a b^b c^c \cdots k^k $$ We can prove that $$ (1+x)^{1+x} (1-x)^{1-x} \gt 1$$ (if $x \lt 1$) and from there by assuming $x = \frac{u}{z}$ and then $u+z =a$ and $u-z =b$ we will have $$ \left( \frac{a+b}{2}\right)^{a+b} \lt a^a b^b$$ but how to extend this result upto $n$ number of terms?


Is it possible to remove/hide the "New" button?

When you click on the Opportunities tab, (assuming you haven't modified standard salesforce layout), you see a "Recent Opportunities" list. At the top of the list, there is a "New" button.     Is there a way to hide the "New" button displayed on this page? I have tried disabling the button on the "Opportunity List View" Search Layout[Setup -> App Setup -> Opportunities -> Search Layouts], but it does not remove the button from this particular view.


I'm trying to hide tabs of admin panel like Posts, Pages, etc...  I tried  without success.


I have a Laptop with an 500 GB SSHD and running Ubuntu on it. A friend of mine told me he is not sure if Ubuntu is even capable of taking advantage in terms of performance of this technology. So my question is if this is true and if there is a way to check if the SSD cache really is used.


Is there any explanation provided by the franchise behind the name Death Star?

I mean this always bugged me. You have a thing that destroys stars, but is clearly not a Star itself. It's way too small to be considered a star and its also not bright, so why call it that. The "death moon" or something like that would at least have some kind of relation (even if it doesn't sound as cool though). And why are star destroyers called star destroyers? They don't do any star destroying business? Has this ever been explained why these things are named the way they are (extended counts too)?  Note: Also, why would you name your giant spacestation deathstar, if you actually want supporters of your empire and not be seen as evil to the outside. I mean that highly increases the chance of a rebelion doesnt it?


12.04 continuously offering partial upgrade

I have Ubuntu 12.04 with Unity and for the last 3 months or so it's been offering me a partial upgrade. The only things that cannot be upgraded are the kernel and dropbox. I'm still on the 3.2.0-37-generic-pae kernel. On my another machine (12.04 with MATE) I had the same problem but it disappeared on its own. What should I do to go on with normal life?


I propose one common website for all Stack Exchange sites

I think there should be a common website for asking questions and similarly user info should be visible from every website for every Stack Overflow / Stack Exchange website.   The problem is the difficulty to remember all Stack Exchange websites. Stack OverFlow became a very good Q & A site and it is always Stack Overflow only in mind.   Yesterday, I have asked one question on a Stack Exchange site and I forgot where did I asked. Now waiting for an email about that question. I asked that question on Stack Overflow but it got downvotes with suggestion about particular website and I posted in that website after deleting the question from Stack Overflow .   I think these solution, which should be helpful for Stack Overflow:   Question Form should be one shared by all websites. There we need to enter Category and that category will be Stack Exchange sub-domain which is required to choose.  User menu should be shared so that wherever we are, we can see our status. Aggregated website will help user remember website and it will help SEO as well when sites will be structured like this: Stack Overflow/Category/questions.... where Category is sub-domain name currently used. Sub-Domain can be retained with Canonical URLs. To make suggestions about the question being asked, Category can be made first field to help collect suggestions for users. Better User Experience as user no need to remember where a question should be posted and where he has posted his last question.


Is there any software that will listen on the audio inputs of my PC/laptop and will record what I say (in English) into a text file on my computer ?  I need it to be in a format that I can then reasonably easy edit and rework the text.  Ideally the software would not depend on an active internet connection.  I would like to be able to install this on a laptop that uses Lubuntu and a PC which uses KDE Neon.   Thank you


I'm solving a big O problem that resulted a part of the algorithm running in   $$\sum_{i=0}^{n/2} i \log i$$  I tried reducing it, using logarithmic identities into  $$\log\left(\prod_{i=0}^{n/2} i^i\right)$$  I was wondering if a) this was correct and b) if it can be simplified any further.


Show that the roots of P' lie in the same half plane as the roots of P

The problem statement is:  Part(a)  Assume P(z) is a non-constant polynomial with all of its roots in some half plane H.  Show that the derivative P'(z) must also have all of its roots in H.  Part (b)  Show that the roots of P' always lie within the closed convex hull of the set of roots of P.  The hint given is:   After obvious reductions of the problem, look at the behavior of $\frac{P'}{P}$ on the complementary half-plane.  My thoughts:   So I think that, whatever half-plane H that we have to work with, we can always just look at $P(e^{i\theta}z)$, which has its zeros in the UHP, for a suitable rotation by angle theta.    Now we can just show that $P'(e^{i\theta}z)e^{i\theta}$ also has its roots in the UHP -- and then undoing the rotations shows that both P and P' had its roots in the same half-plane H.  Using the hint regarding looking at the complementary half-plane, we then want to show that P' does not vanish in the LHP (we already know P doesn't vanish in the LHP, by assumption.)    Again following the hint we look at P'/P in the LHP and show that it does not vanish.  I am stuck at this point.  How can I proceed?  And regarding part(b) what is a "convex hull"?  I am guessing that the answer to part (b) is immediate, after figuring out part(a).  Any ideas are welcome.  Thanks,


Can I use a 1600 MHz DDR3 stick on a motherboard that supports max 1333 MHz memory modules?

Is that possible? Would it be possible to simply run the 1600 MHz module on a slower speed (e.g. 1333 MHz)?


Noun for a person who thrives under pressure

I don't know of any nouns that describes a person who thrives under pressure. In basketball and sports in general, I know people who do well under pressure are called clutch. However, clutch would be an adjective. Are there any nouns that fit this description? If there are no nouns, what other adjectives have this meaning.


Are there viruses that affect cells across different species?

I'm not a professional in biology nor a student, but I'm curious about this. To be more specific: why doesn't a plant virus affect animal cells?  I suspect that different kinds of cells have different ways to replicate DNA and that this is the reason for the specialization of viruses.  I wonder if someone in the field can explain this to me. Thanks.


Proof that an integral domain that is a finite-dimensional $F$-vector space is in fact a field

I'm reading Galois Theory by Steven H. Weintraub (second edition), and finding that I'm at least somewhat short on the prerequisites. However the following proof looks wrong to me - am I misunderstanding something, or is it actually an incorrect proof?  Lemma 2.2.3. Let $F$ be a field and $R$ an integral domain that is a finite-dimensional $F$-vector space. Then $R$ is a field. Proof. We need to show that any nonzero $r \in R$ has an inverse. Consider $\{1, r, r^2, \cdots\}$. This is an infinite set of elements of $R$, and by hypothesis $R$ is finite dimensional as an $F$-vector space, so this set is linearly dependent. Hence $\sum_{i=0}^n{c_i r^i} = 0$ for some $n$ and some $c_i \in F$ not all zero.  It then goes on to show, given the above, that we can derive an inverse for $r$. However, if I consider examples like $r = 2 \in Q[\sqrt{2}]$, $r = \sqrt{2} \in Q[\sqrt{2}]$ or $r = 2 \in Q[X]/{<X^2>}$, the set $\{1, r, r^2, ...\}$ doesn't look linearly dependent to me. I do believe the lemma is true (and might even be able to prove it), but this does not look like a correct proof to me. Am I missing something? [Edit] Well yes, I am. Somehow I had managed to discount the possibility of any $c_i$ being negative, despite repeatedly looking at each fragment of the quoted text in an attempt to find what I might be misunderstanding.


Exercising an option without paying for the underlying

As a follow up to my other , I would like to know whether the following is possible:  I have $20,000 in my brokerage account The price of a call option with $300 strike price is $5.00 (1 contract = 100 shares) I buy 20 contracts of these $300 calls (cost is 20 * 5 * 100 = $10,000) The price of the underlying goes up, making my option in-the-money  I decide to exercise my options. Exercising my calls means that I buy 20 * 100 = 2,000 shares of the underlying at $300 per share. However, I only have $10,000 left in my brokerage account and am unable to pay for the shares (2,000 * 300 = $600,000). What now? How does this work? Do brokers recognize that my position is profitable, and buy and sell the underlying for me as soon as I exercise my calls? In other words, do I need to worry about being able to pay for the shares of the underlying if I decide to exercise my options? Can I just take my profit without bothering with the shares at all?


Moyal Product in Non Commutative Quantum Mechanics

Can someone please explain me what is a ?  Also, how does putting $$X_a(\psi) ~=~ x_a\star\psi$$ realise $$[X_a,X_b]=i\theta_{ab}{\bf 1}?$$   Ref:


Ubuntu 18.04 How big should my root partition be compared to home?

I’m only asking because I hear how each installed softwares especially from the repositories take up smaller spaces in the drive. I also know that they usually get installed in /usr paths or anywhere else inside of root.  I plan to install 30-50gb of root partition and the rest of space in the home partition on my SSD(500gb). I also plan to format and mount 2 drives (4tb HDD and 1tb SSD) to my Ubuntu system as storage. The HDD will be symlinked for home directory.  Overall, how much space should I allocate in root partition compared to home? I was thinking 100gb in case I install a lot of software but some of you might say it’s overkill and that 20-30ish amount should be good enough.  Again I’m asking this because in some installation setups I’ve seen, the entire drive is used up for root partition without the home partition.I’ll admit I don’t find too many questions like this.


If a linear operator has an adjoint operator, it is bounded

This is a question I'm struggling with for a while:  Let $H$ be a Hilber space. Let  $T,S: H\rightarrow H$ be linear operators (not neccessarily bounded) such that for every $x,y\in H$: $\langle Tx,y\rangle=\langle x,Sy \rangle$.  Prove $T,S$ are bounded.    What I did so far:  First attempt:  $||Tx||^2=\langle Tx,Tx\rangle=\langle x,STx\rangle\le||x||*||STx||\le||x||*||S||*||Tx||$  I'm not entirly sure I'm allowed to do the last inequallity, since $||S||$ might be $\infty$.  It follows $||Tx||\le ||x||*||S||$  and analogly  $||Sx||\le ||x||*||T||$  From the first I'd get $||T||\le ||S||$ and from the second $||S||\le||T||$. Therefore $||S||=||T||$. I don't know where to go from here.  Second Attempt: assume  $T$ isn't bounded, therefore so is $S$, therefore there are series $(x_n),(y_n)\subset H$ such that $||x_n||=||y_n||=1$ and $\lim ||Tx_n||=\infty,\lim ||Sy_n||=\infty$. I'll keep it going soon, but it didn't go so well..    I'd love some guide. Not neccessarily the whole solution, but something that would tell me what i'm missing.  Thanks :)


WiFi module 8812AU not working with kernel version >= 4.4.0-28-generic

Problem  I had a Linksys WUSB 6300 dual-band USB WiFi adapter happily running on on my desktop PC with driver module 8812AU.  When I first got it to work I used the  to get it to work with Secure Boot. It worked fine with Kernel version 4.4.0-23-generic and later also with 4.4.0-24-generic where I resigned it after the update.  After the update to 4.4.0-28-generic resigning for some reason does not have the desired effect anymore and it does not seem to load the driver module 8812AU.  After updating to 4.4.0-38-generic the behavior remains the same.  The Additional Drivers tool now shows me , so I am not sure if somehow the module files got messed up. I am pretty new to Ubuntu, so I wouldn't know how to tell. When it was still working it showed me .  So in consequence the network adapter is not working and I am out of ideas what to check or do in order to get it back to work.  Details  lsusb shows me that the adapter is recognized as USB device:  Bus 002 Device 002: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac Wireless Adapter [Realtek RTL8812AU]   sudo lshw -C network only shows me the Ethernet and the internal WiFi (it has a very similar name). It is an integrated WiFi adapter which is working poorly under Ubuntu and is thus not useful for me.  Note: 8821AE is the internal WiFi. I am trying to get 8812AU to run which is not listed here because it does not seem to be loaded.  *-network    description: Ethernet interface    product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:03:00.0    logical name: enp3s0    version: 11    serial: 54:a0:50:d5:4b:0b    size: 10Mbit/s    capacity: 1Gbit/s    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation    configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=no multicast=yes port=MII speed=10Mbit/s    resources: irq:42 ioport:e000(size=256) memory:f7d00000-f7d00fff memory:f0000000-f0003fff *-network    description: Wireless interface    product: RTL8821AE 802.11ac PCIe Wireless Network Adapter    vendor: Realtek Semiconductor Co., Ltd.    physical id: 0    bus info: pci@0000:04:00.0    logical name: wlp4s0    version: 00    serial: 54:27:1e:d6:91:8d    width: 64 bits    clock: 33MHz    capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless    configuration: broadcast=yes driver=rtl8821ae driverversion=4.4.0-22-generic firmware=N/A ip=192.168.0.20 latency=0 link=yes multicast=yes wireless=IEEE 802.11abgn    resources: irq:46 ioport:d000(size=256) memory:f7c00000-f7c03fff   Running rfkill list all shows that nothing seems to be blocked:  0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no   Any help would be greatly appreciated!  Many thanks.


How to keep alignment when there is text in the middle?

If I have text between two align blocks, I lose the alignment. Is there an easy way to solve this?  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath}  \begin{document}  \begin{align} a^2 &= b^3+c^3+d^3 \\ a^2+d^3+z^4 &= b^3+c^3+d^3 \end{align}  Some other text  \begin{align} a^2 &= b^3+c^3+d^3+b^3+c^3+d^3 \end{align}  \end{document}   The equals are not aligned:


CSS - Place the footer on the bottom of the page even if no enough content

With HTML / CSS, I need to get the footer be placed on the bottom of the page even if there is no enough content.  In case there is lot of content causing an scroll, is very easy to achieve this. The problem came up when there is no enough content because in that case the footer goes up.  Here you have an image that could clarify this more:    I have the following starting code:  CSS  body {     margin: 0; } #header, #content, #footer {     padding: 10px; } #header {     height: 100px;     background-color: #abcdef; } #content {     bottom: 100px;     left: 0;     right: 0;     background-color: #F63;     overflow: auto; } #footer {     position: fixed;     bottom: 0;     left: 0;     right: 0;     height: 100px;     background-color: #abcdef; }   HTML
 There is the Header

     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world
     hello world

 There is the Footer
   Jsfiddle preview:  (try resizing the height of the window)  Any idea on how to achieve this?  IMPORTANT     I need a working solution also for IE (ver >= 11), not just FF and Chrome.


I'm using natbib, setcitestyle packages and agsm style. I want to italicize words "et al" so that they appear as "et al".   I have located and changed the agsm.bst file (5 instances of et~al to **\emph{et~al}**) and placed it in the same folder as my work. I have also pointed the biography style to new bst file. However, I see no change in citations.  I'm using TexStudio and Windows 8. I have gone through previous posts concerning this issue without success.  Previous posts on this issue:      ..and many others.  Please help.  MWE:  MinimumWorkingExample.tex:  \documentclass[a4paper, 12pt, oneside]{Thesis} \usepackage{natbib} \setcitestyle{aysep={,}}  \begin{document}     Here is a minimum working example:      Single author~\cite{yeung2007reducing}. In the second line, we provide an example of citing more than 3 authors so as to test of the words et al are italicized~\cite{samadi2010optimal}. \bibliographystyle{agsm} \bibliography{MWERef} \end{document}   MWERef.bib File:      @inproceedings{samadi2010optimal,   title={Optimal real-time pricing algorithm based on utility maximization for smart grid},   author={Samadi, Pedram and Mohsenian-Rad, Amir-Hamed and Schober, Robert and Wong, Vincent WS and Jatskevich, Juri},   booktitle={Smart Grid Communications (SmartGridComm), 2010 First IEEE International Conference on},   pages={415--420},   year={2010},   organization={IEEE} } @article{yeung2007reducing,   title={Reducing energy costs with peak shaving in industrial environments},   author={Yeung, Phillip},   journal={Schneider Electric, September},   year={2007} }   Output:    Thanks for your comments guys. MWE works, but my thesis document still cannot italicize the words et al. I will have to look for conflicting packages in the thesis document because MWE contains fewer packages than the thesis document.


I have notoriety level 3 in the frontier and currently 16 jagers are chasing me throughout the frontier from valley-forge to john's town how do i reduce it??


How to execute a command in another already opened terminal?

Is it possible to run a command in another opened terminal? I know I can redirect the output of a command in another terminal. For example:  ls >/dev/pts/x   Where x can be obtained by running tty on the target terminal. But the command is executed on the current terminal. That is not what I want.  To clarify my real objective, I want to send a command to every opened terminal, to change color theme without having to re-open every terminal.


Why does the registered domain name “localtest.me” resolve to 127.0.0.1?

I was  about Server-Side Request Forgery. In that article the attacker found that 127.0.0.1 was open to the internet. The victim then blocked 127.0.0.1, but because many other IPs and apparently also some domains are also resolved to to that, including the mysterious localtest.me, he was able to bypass a weak text-based filter.    What is so special about localtest.me? Are there others? (And how to find them?)     UPDATE   I found:   Apparently someone decided to register that domain in a funny way, for testing purposes:     Here’s how it works. The entire domain name localtest.me—and all   wildcard entries—point to 127.0.0.1. So without any changes to your   host file you can immediate start testing with a local URL.   However, I'm still not sure how you can register an external domain to a local one. This is confusing as a tracert localtest.me never even leaves the machine. How is this handled on the low level?  I then  and elsewhere:   lvh.me  vcap.me fuf.me - IPv4 and IPv6 ulh.us 127-0-0-1.org.uk ratchetlocal.com smackaho.st 42foo.com beweb.com yoogle.com ortkut.com feacebook.com   And in   on Stack Overflow.


"Amendment" or "Addendum" for book correction

A clarification of a European building code has been issued, therefore a separate correction for the book is released. What would this correction be called?  I have had the words amendment and addendum suggested from different sources.


Let $M$ and $N$ be two normal subgroups of $G$. Show that $M \cap N$ is also normal in $G$. Then show that $G/(M \cap N) \cong (G/M) \times (G/N)$

Let $M$ and $N$ be two normal subgroups of $G$. Show that $M \cap N$ is also normal in $G$. Furthermore,if $G=MN$ then show that $$G/(M \cap N) \cong (G/M) \times (G/N)$$ I manage to prove the first part. But for the two quotient groups to be isomorphic, I have no idea. Anyone can help ?


Whole disk unallocated? Gparted error or partition overlapping?

Story:  Yesterday I wanted to make my Ubuntu partition bigger so I ran Windows (Dual boot) and decreased size of my D drive size. It wanted me to reboot computer, when it was starting up it done everything and rebooted once again. Then I saw grub rescue with "no filesystem" or something like that. I ran Ubuntu live CD to fix that and it is now working.  Problem:  Problem is when I want to add unallocated part of HDD to my Ubuntu partition I can't, because GParted thinks whole disk is unallocated! I tried fixing filesystem by: fsck /dev/sda5 -f -r, but I think that's not it (or I'm doing it wrong way). I have also tried chkdsk from Windows Installation CD, but it didn't fix anything. Also, both of systems are working.  Is it just GParted problem, or maybe HDD is bad for real? If so, how to fix it?  fdisk -l can see partitions:  root@ubuntu:/home/ubuntu# fdisk -l  Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa118d672     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT /dev/sda2          206848   286719999   143256576    7  HPFS/NTFS/exFAT /dev/sda3       286720000   811972349   262626175    7  HPFS/NTFS/exFAT /dev/sda4       915726335   976771071    30522368+   f  W95 Ext'd (LBA) /dev/sda5       915726336   968652799    26463232   83  Linux /dev/sda6       968652800   976771071     4059136   82  Linux swap / Solaris   Images:


Installing Ubuntu on Acer Aspire One D150-1Bb

I have an Acer Aspire One D150-1Bb. It came with Windows XP installed. I wish to use Ubuntu in it.  Do I need to partition the HDD, or any other preparation, or is it all dealt with automatically with the download?


How do I show a custom error message instead of 'No applicable approval process was found'? Salesforce

I would like to show a custom error message to override the standard Salesforce message of 'No applicable approval process was found.' The error message is due to the user not checking a box, which causes the process to fail. It would be better to have a message that would tell the user why the process is failing and to simply check the checkbox in order to fix it themselves.  Could someone help point me in the right direction of a possible visualforce page that could accomplish this?


Div vertical align centre with relative position

There is a lot on stackoverflow about vertical alignment, but it is not working in my case. See code and CSS below, how to centre the img...      .file-upload-content {     width: 100%;     height: 100%;     text-align: center;     position: relative; } .file-upload-image {   position: relative;   max-height: 100%;   max-width: 100%;   margin: auto; } .btn-verwijderen{   position: absolute;   top: 0px;   right: 0px; } .nr-foto{   position: absolute;   bottom: 0px;   right: 0px;   }


What are acceptable ways of promoting your Area 51 proposal?

I have two proposals on Area 51.  I'd like to get the word out about them, however, I don't know of to many Stack Exchange users who would be interested in these sites.  I'm not trying to necessarily ask a subjective question, but what are some effective channels that we can use to at least drive traffic to Area 51?  I have considered posting messages in a few of the chat boards.  Is this considered spam or is that acceptable.  I did do that a couple of times for my "Retro-Gaming" proposal but I stopped because I felt like it might be against the TOS.  Any tips or points-of-clarification would be appreciated.


Squaring the plane, with consecutive integer squares. And a related arrangement

Q1. I was fiddling around with squaring-the-square type algebraic maths, and came up with a family of arrangements of $n^2$ squares, with sides $1, 2, 3\ldots n^2$ ($n$ odd). Which seems like it would work with ANY odd $n$. It's so simple, surely it's well-known, but I haven't seen it in my (brief) web travels. I have a page with pics  of the $n=7,9,11$ versions, and description of how to construct them; $n=11$ is:    It seems the same method could square the plane, well, fill greater than any specified area, no matter how huge, at least. Which is what 'infinite' means, practically, isn't it? Anyway, it seems, if somehow not known (which it must be, surely - if anyone has links etc to where it's discussed I would be very grateful) then it's another way of squaring the plane.  Q2. Each of these arrangements can be extended, but the ones I've tried (5 or 6) have a little gap to the south-east, (i.e. where the squares don't fit neatly together) but otherwise can be extended forever. Is there an $n$ for which there is no gap? There are more than 1 of each sized square in this arrangement, but still, it would be a nice tessellation with integer squares.  a picture of the 7x7 version extended, and detail of the centre.  Thanks for any answers or help.    P.s. This was too long for the comments section:  I wrote to Jim Henle the other day asking about this method, he hadn't seen it, thought it was nice, but not plane-filling in the way his method is. He wrote in part:     You are sort of "squaring the plane," but not in the sense that we did it. You are squaring larger and larger areas of the plane, but you don't square the whole thing. ... There are many meanings to "infinite". Aristotle distinguished between the "potential infinite" (more and more, without bound) and the "actual infinite" (all the numbers, all at once). Your procedure is the first sort, and ours is the second sort.   Which is what I had thought.   But the more I think about it.. the less clear the difference seems. Well, e.g. 'there are an infinite number of primes' means: there is no highest one; any number you can say, there's a higher prime. That's how that is defined, spoken about, to my (non-mathematician's) understanding. Similarly, there are an infinite number of these $n\times n$ square groups, there's no biggest one, any area you name, there's a bigger one. The Henle's method consists in adding more squares, ideally forever, but practically, you stop at some point and say 'and so on forever'. The procedure requires an infinite number of steps. I can't quite see how this series of $n\times n$ squares is so different. You have to start drawing again with each new $n$, sure, but I can't see that matters so much - there are an infinite number of arrangements, and there's the same 'and so on forever'.. i.e. "there is, strictly speaking, no such thing as an infinite summation or process."  Nov 2015. [I can't add comments to questions below, not sure why.]  Ross M, sorry about the delay! It seems you might be confused between the 2 parts, my fault for combining them in one question. (I still haven't heard anything much about either 2 from anyone.)  The first part is the basic $n^2$ arrangements of squares. (The second part takes just one of these and tries to extend it outwards, wonders about the possibility and mathematics of there being no gaps, and has many more than 1 of each sized square)  I still don't quite see why 'having to rearrange each step' makes a huge difference to anything. Imagine I had a method of going from $n^2$ to $(n+1)^2$ squares by adding more around the edges. Then, according to what people seem to be saying, I 'could tile the whole thing'? The way I've done it has exactly the same area as that would be, just it has to be redrawn. I don't see how that affects whether it 'tiles the plane' or not, or anything else. If someone could explain that to me, I would be very grateful.


In not-magic world (especially in movies), spies and cops often carry a backup gun in case they are disarmed during combat (the famous gun in the sock).  There are many examples in the books where a wizard or witch is disarmed during combat. All it takes is a simple expelliarmus spell. So it probably would be wise to carry a backup, wouldn't it?  Is there any canon example of a wizard or witch carrying a backup wand?


In Windos OS I used to browse to C--> Program Files to find the application needed to launch a file, I can not do this in Ubuntu.whenever the Launch Application ask me to Choose an Appliction I wounder arround, I believe it is simple aliphabetical quistion of Ubuntu but I really want to know it.


Let $R$ be a ring with identity. Let $u \in R$ has at least one right inverse. Show that if $u$ has exactly one right inverse, then $u$ is a unit.


Why are moderators now required to report underage users?

Just today (December 2, 2020), a  was enacted, which requires moderators to report users that they find to be underage:  If you find a user claiming to be under 16 escalate it to us through the "Contact Community Team" button and select the "underage user" template - this will flag the on-duty CM for action so we can investigate and, if deemed necessary, delete that account and all personal data associated with it. [...] This policy only applies to sites where you are a moderator. If you see things on a site where you’re not, there is no obligation to escalate.  Being part of the , moderators are required to follow the instructions there, and not following them is considered a violation of the moderator agreement. However, this contradicts a , which states (bold added):  Users and moderators are not legally responsible for underage users and are under no obligation to report them to us. If out of concern you would like to report it, [...]  As part of the re-enaction of the policy on December 2, the text "and moderators" in the above quote was edited out of that statement. Why are moderators now required as per policy to report underage users that they come across? Is there a legal explanation as to why SE's stance on this changed? I'm aware of  from a then-employee, which stated that moderators are expected, but not required as a condition of remaining a moderator, to report underage users. However, the new policy requires reporting them. Why? An example of a case where a moderator may not want to report an underage user is if the user claims to be from an EU country that has reduced the required age from 16. While SE's Terms of Use specify a blanket limit of 16 to comply with regulations in all EU countries, individual member states do have the ability to reduce the limit, so long as it's not below 13. There is no law violation if, say, a 15-year-old user from an EU country that has reduced the age limit to 14 registers, so a moderator may not feel like reporting them (since in that case they're merely enforcing the Terms of Use, which they're not otherwise expected to do).  The policy was recanted a few days after it was originally enacted on October 15, 2020, but was enacted again on December 2 after minor revisions following a review among moderators. The same question still applies to the revised policy, however.


edit x-y data from different files/tables

I've two one column data files (A.txt and B.txt). To plot them together first I load dataA with  \pgfplotstableset{ create on use/dataA/.style={create col/copy column from table={A.txt}{0}} }   Then I put them together with  \begin{figure}[ht!] \begin{tikzpicture} \begin{axis}     \addplot table [x =dataA,y index=0,y expr=\thisrowno{0}*-1] {B.txt}; \end{axis} \end{tikzpicture} \end{figure}   I've no problem to change the sign of the data from B.txt as so can see above.... BUT:  How to do if I want to change the sign from the loaded table dataA??   Has anybody got a helpful idea or minimal example?  EDIT: A minimal example could look like this:  \documentclass{article} \usepackage{pgfplots, pgfplotstable} \usepackage{filecontents} \begin{filecontents}{A.txt} 2 3 4 5 3 5 \end{filecontents} \begin{filecontents}{B.txt} 5 4 3 2 5 5 \end{filecontents}  \pgfplotstableset{     create on use/dataA/.style={create col/copy column from table={A.txt}{0}} } \begin{document} \begin{tikzpicture} \begin{axis} \addplot table [x=dataA , y index=0 , y expr=\thisrowno{0}*-1] {B.txt}; \end{axis} \end{tikzpicture} \end{document}   The task is to change the sign in my figure environment of my 'dataA'.


Set Default Keyboard without having to long hold text input?

So I have successfully installed a new keyboard and enabled it in settings > keyboard and languages.    I have been able to set it to the default keyboard by doing a long press on an input field and selecting inputmethod... however I need to do this on several devices and its kind of lengthy ...   is there a way to set this with a shell command?


Convert Traditional IRA to Roth IRA when income limits are not satisfied by Roth IRA?

Our household MAGI (Modified Adjusted Gross Income) does not allow us to contribute the full amount to a Roth IRA for 2010. In that case is converting some part of Traditional IRA to Roth to complete the gap, a good idea? Do the income restrictions only apply to direct contributions and not to conversions for the Roth IRA?   I know that we cannot claim any tax deductions for the contribution to a traditional IRA (due to MAGI limits), and that is okay with me. But, since I have already been adding post tax dollars to the traditional IRA, will I be taxed again if I convert it to a Roth IRA?


How to move some files to their parent directory?

I want to pull all mp3's that accidentially have been put into a flac folder out of it, to their parent folder.  It should not matter how deep the folders are, I just want to move the matching files exactly one directory up.  Here's how I select my files:  find . -path "*/flac/*" -name '*.mp3'   This works from my music folder, but I am stuck here. All solutions I have found, either move the files to the parent of the current folder, or require some fixed structure.


Confused about the concept of confidence interval

I understand that under central limit theorem, when certain conditions are met, the distribution of sample mean follows:  Normal distribution Mean: population mean SE: population std / square root of sample size  So 95% of the observed sample means will be  within 1.96 SE of the  actual population mean (When z-statistics is used). But how does it leads to: There is 95% chance that the actual population mean is  within 1.96 SE (The range of confidence interval) of the observed sample mean? How does this statement holds true when the position of population mean and sample mean is exchanged?


Click Event     public void buttonOnClick(View v) { Button button=(Button) v; ((Button) v).setText("clicked");   Changes BackGround to an image  RelativeLayout rl = (RelativeLayout) findViewById(R.id.BackGround); rl.setBackgroundResource(R.drawable.mapwork);   Makes Certain Items Disapear  button.setVisibility(View.INVISIBLE); EditText mText2 = (EditText) findViewById(R.id.input); mText2.setVisibility(View.INVISIBLE);   Changes what is in the output if they put in a certain number  EditText mText = (EditText) findViewById(R.id.output); if("8" == mText.getText().toString()){     mText.setText("That does not work!"); } }   When I test the application the If statement never happens even when the requirements are met. I have tried look for an answer and have not found one. Thank you for helping.


Story ID - Man forced to hunt to pay off debts

Searching for a novel that I remember reading in college, but probably published a few years earlier (So the late 80's/early 90's timeframe). Details that I remember:   Protagonist was enslaved to pay off debts or sent to prison planet Eventually employed by family monopoly Family plotted against each other for control/influence Job was to hunt a dangerous animal on a specific planet Essentials had to be bought from family (increasing debt)   IIRC the cover was either red or yellow, and had a picture of the protagonist in hunting gear.


Does testing in android device will reduce it's life?

I am an android developer. Using my moto g first gen for testing my applications. I connect the device to laptop for 12 hrs per day. Now i am planning to buy s4. Will it reduce my device's life?


My battery drains really fast and my laptop gets really hot, What do I do?

I just installed Ubuntu on my HP Pavilion dv6-6c50ca, and I noticed that every time that I start my laptop with Ubuntu the fan runs really fast and the laptop produces a lot of heat. When I run windows on it, the battery life lasts for 4 hours but when I run Ubuntu, it barely lasts for an hour and a half no matter what I'm doing, even when I'm typing a simple word document. Here are my laptop specifications:   HD BrightView LED-backlit Display Intel core i5 2.5 Ghz i5-2450M 750GB hard drive 5400RPM Video card: AMD Radeon HD 7690M XT Battery: 6-Cell Lithium-ion   .  Thank you for your help!


I am trying to find the thevenin resistance value and the Vth for maximum power transfer. I have tried to find Rth by calculating R3 and R2 as parallel resistance and same for R4 and R5 and then adding them with R1 but I am not sure if I have done it the right way. For Vth I have tried using KVL but I think I have calculated wrong current values using current divider rule. I calculated the total current by diving V1 and R1. I hope someone can help. I have attached the picture of the circuit.


There are 100 numbered objects from 1 to 100. We extract 3 of these objects one after the other without reinsertion. Calculate the probability P(a<b<c)  The number of arrangements of three objects is 50∗49∗48 but the first number a must be a < 99 while b must be a < b < 100 What's the next step?


I have a recipe that calls for 5 leaves of tarragon, how much dried should I use?

I have a recipe that calls for 5 leaves of tarragon, how much dried tarragon should I use?


I am learning Python. I want to call a function from a String. I made a sample program for this.   class Calling:     def __init__(self,a):         self.Callto(a)     def Callto(self,a):         re=self.Hello(a)             print "Calling= "+re    # Here L= CallMe         self.re()               # Error is in this line      def Hello(self,a):         b="Me"         return a+b       def CallMe():         print "I am Called"  x=Calling("Call")      Traceback: AttributeError: Calling instance has no attribute 're'   So far what I got is I cant call function with string. What can I do to make this string ('re') callable? Thanks for reading


How can I make a procedural polished granite material?

I have made a polished granite material with a node setup. Using this photograph as reference, how can I improve this further?


Why does Worf want O'Brien to go to Minsk?

I've just watched the last 20 minutes of an episode of Deep Space 9, and towards the end Worf is very insistent that O'Brien and his wife move to Minsk. Is there any in or out of universe reason for this?


I have many threads (SwingWorker, Timer, Thread..) in different parts of the application. I need to call one method which pause all these threads.  What is the best approach to do this?   Thanks  Additional Info  I have a notepad in the app and it can paste images, draw arrow, lines, type text, you can write with stylus etc.. At the same time in the background this app does different things: check login time, check messages, updates something, works with database.   So when you try to write with stylus and app does all these things in the background, writing with stylus becomes a little bit slow. So I decided to pause all these threads in the background.  I think this should help and I wonder what is the best way to pause these threads. They should continue to work after I finish to write with stylus.


What kind of information is Fisher information?

Suppose we have a random variable $X \sim f(x|\theta)$. If $\theta_0$ were the true parameter, the the likelihood function should be maximized and the derivative equal to zero. This is the basic principle behind the maximum likelihood estimator.   As I understand it, Fisher information is defined as   $$I(\theta) = \Bbb E \Bigg[\left(\frac{\partial}{\partial \theta}f(X|\theta)\right)^2\Bigg ]$$  Thus, if $\theta_0$ is the true parameter, $I(\theta) = 0$. But if it $\theta_0$ is not the true parameter, then we will have a larger amount of Fisher information.   my questions    Does Fisher information measure the "error" of a given MLE? In other words, doesn't the existence of positive Fisher information imply my MLE can't be ideal?  How does this definition of "information" differ from that used by Shannon? Why do we call it information?


Bug: Edit Profile settings CSS issue for Privileges and Edit Developer CV

Not sure if this is just me but in the Edit Profile & Settings, I notice there was a CSS issue for the links "Edit Developer CV" and "Privileges"  Upon looking at the CSS I think it's just that the .external class has a display: inline-block and should just be display: block? (feel free to ignore this I'm just doing my own thing)    Happening to me on Chrome 47


Why PCA of data by means of SVD of the data?

This question is about an efficient way to compute principal components.   Many texts on linear PCA advocate using singular-value decomposition of the casewise data. That is, if we have data $\bf X$ and want to replace the variables (its columns) by principal components, we do SVD: $\bf X=USV'$, singular values (sq. roots of the eigenvalues) occupying the main diagonal of $\bf S$, right eigenvectors $\bf V$ are the orthogonal rotation matrix of axes-variables into axes-components, left eigenvectors $\bf U$ are like $\bf V$, only for cases. We can then compute component values as $ \bf C=XV=US$. Another way to do PCA of variables is via decomposition of $\bf R=X'X$ square matrix (i.e. $\bf R$  correlations or covariances etc., between the variables ). The decomposition may be eigen-decomposition or singular-value decomposition: with square symmetric positive semidefinite matrix, they will give the same result $\bf R=VLV'$ with eigenvalues as the diagonal of $\bf L$, and $\bf V$ as described earlier. Component values will be $\bf C=XV$.   Now, my question: if data $\bf X$ is a big matrix, and number of cases is (which is often a case) much greater than the number of variables, then way (1) is expected to be much slower than way (2), because way (1) applies a quite expensive algorithm (such as SVD) to a big matrix; it computes and stores huge matrix $\bf U$ which we really doesn't need in our case (the PCA of variables). If so, then why so many texbooks seem to advocate or just mention only way (1)? Maybe it is efficient and I'm missing something?


What functions, if any, can NOT be approximated by a Taylor series?

I am taking some courses online (machine learning) and the instructor noted that a Taylor series can be used to approximate any function.  A student left a comment that a Taylor series cannot approximate ANY function, but noted that the instructor probably stated it unequivocally because it can certainly approximate any function we would need for the class.  I am curious, what functions cannot be approximated by a Taylor series?  Two things lead me to believe that any function CAN be approximated by a Taylor series:   In context of regression, it seems I can always continue to add terms and adjust the coefficients on those terms (or solve for them to reduce the error) to continually get a better approximation of points in my data set. The ambiguity of the word approximate suggests that we don't have to meet a strict criteria to say that a Taylor series approximates a function.   With those things in mind, I can also see a point to the opposite view.  For example, a function with large discontinuities such as  $f(x) = \begin{cases}sin(x)/x^2 & \text{if $x < 0$} \\ 2x & \text{if $x > 100$}\end{cases}$   seems like it wouldn't be well approximated by a Taylor series.  But then again, without some defenition of approximate, I don't see how we can say either way.


I am new to Linux and would like to know how to move files from Ubuntu to my iPhone, more specifically mp3 music files. My Ubuntu version is 16.04 and my iOS version is 9.3.2. When I connect my iPhone to my PC, it is natively recognized by Ubuntu but I only see my iPhone's photo folder ("DCIM"), like it does under MS Windows.  I know this question has been asked multiple times and I've done a lot of research but I still can't figure it out. I seem to find 2 types of answers out there: some argue it's just impossible as Apple has locked down the capability, some others argue that it's possible using the libimobiledevice library.   claims that it supports all iOS versions until iOS 10 and that it can be used to transfer music.  This website also mentions the libimobiledevice are in the Ubuntu "offical repositories". I am not quite sure what it means; but when I search for libimobiledevice in Ubuntu Software, it does not return any result.  I also found this tutorial that looked promising:   But running the first set of instructions returned errors:  sudo apt-get install ideviceinstaller python-imobiledevice libimobiledevice-utils libimobiledevice4 libplist2 python-plist ifuse   E: Unable to locate package libimobiledevice4 E: Unable to locate package libplist2   Because I am new to Linux, I am very unfamiliar with the concepts of installing applications or compiling source code by writing commands in the terminal, as opposed to just using a nice GUI (e.g. Ubuntu Software).  Step by step instructions would be much appreciated. I am usually pretty good at tech stuff (including programming) but feel completely lost now.  Thanks in advance for helping me out.


Is there a way with WPF to get an array of elements under the mouse on a MouseMove event?


how ref only article of 2012 in my bib file

My question is : How can I print only article of 2012 from my bib file?  For more clear, consider command \printbibliography[type=article]. This command only print article of .bib file. I want print only article with year=2012.  Thanks in advance.


guys! I apologize in advance if this question comes up often here. I'm a very beginner using Ubuntu and I'd appreciate any help to keep using it. I usually work with a mac and a windows computer, but now I've decided to install ubuntu on my windows laptop. It's been great so far (I've installed 12.04 precise pangolin). However I travel a lot and often I use some websites and softwares which do not work in the other countries where I've been travelling.  While using Windows I used FlyVPN and TunnelBear to fake an ip adress in USA or UK (where I currently live).  So, could you guys tell me how can I make the same? I've been searching on google for days and I still didn't find a solution.. maybe my lack of knowledge when it comes to ubuntu.. I appreciate any help! Thanks!


Why would a 74HC595 return all logic highs on all its outputs at start up?

I did a little test on a 74HC595 shift register as follows:  I tied OE (pin 13) to ground to enable outputs. I tied MR (pin 10) to VCC (+5VDC/logic high) to prevent a reset. I connected SCK, RCK, and DS (pins 14, 11, and 12) to individual I/O lines of an uninitialized AT89C2051 microcontroller and connected 10K pull-up resistors to each line. I connected the lowest bit output (pin 15) to a LED through a 1K resistor to see what's going on.  The AT89C2051 doesn't ground any I/O lines when it is initialized with no code, and even with an accidental reset on the AT89C2051, the I/O lines would remain unchanged.  I also used several 2.2uF decoupling capacitors.  Once I powered it up, the LED immediately turned on. I tested every output pin of the 74HC595 and they all were logic high instead of logic low.  Why does this happen?   I have verified that the 74HC595 works by replacing the AT89C2051 with an empty 20 pin socket and applying logic levels to the appropriate pins but I don't understand why it (74HC595) would start up with logic high outputs instead of logic low.


Any way to turn off the black lines in curve edit mode?

Is there any way to turn off the black lines in curve Edit Mode?


why isn't this working? (spawning a chest with BlockEntityTag)

I've made a chest that gives you random items. It works, but now I want that is spawns a chest wit random items.   This works:  /give @p minecraft:chest 1 0 {BlockEntityTag:{LootTable:"mctools:chests/loot_table"}}   And this does not:  /setblock ~1 ~ ~ chest 1 0 {BlockEntityTag:{LootTable:"mctools:chests/loot_table"}}   What's wrong? Or it is not possible?


Shared server farm: Possible to connect SharePoint 2010 local farm to Amazon EC2 SQL Server?

We are running SharePoint 2010 server farm locally. Now it is our requirement to move SQL Server 2012 on .   Requirement: We want to connect SharePoint 2010 server on-premise with Amazon EC2 SQL server 2012 (Cloud).   I've googled a lot but can not find the hybrid connection between them. I found many blogs in which they are showing to move SharePoint server along with SQL in the cloud but couldn't able to find for hybrid connection.  My question are:   Is it possible to do hybrid connection between SharePoint and SQL as mentioned above? How to connect SharePoint 2010 local server 2012 with Amazon EC2 SQL server?


I am stuck in a question for Algebraic Structures:  I need to prove: If given any ring $R$, for any $a$ in $R$ $a\cdot a=0$ then $a+a=0$.  (of course $+$, $*$ and $0$ regarding $R$)  I didn't find any question regarding this question.


Should my MacBook be on charge most of the time?

For optimal battery health, should I charge my Mac most of the time, apart from letting it run through a full battery discharge once a month?


Installing from the windows intaller, does it erase my other OS?

I want to install Ubuntu on Windows with windows installer but it does not ask if I want to install it on a partition, so I assume they are going to erase my old OS, Will this happen?


CSS error in "Here's how it works" banner, extraneous images are included

There's a CSS issue that's causing parts of other sprites to appear below the correct images, especially beneath the "Anybody can ask a question" text, in the "Here's how it works" banner for users not logged in:    (The above image is from a Nexus 9 running CyanogenMod 12, but the issue reproduces on any device running a modern browser.)  The issue affects the Trilogy and a few other sites which share the same CSS. Can someone look into it?


Failure sending email through GMail using C#

I am trying to send email, but I receive the following error:     An attempt was made to access a socket in a way forbidden by its access permissions 72.52.4.90:587   Code:  var mail = new MailMessage(); var client = new SmtpClient(); client.Port = 587; client.Host = "smtp.gmail.com"; client.EnableSsl = true; client.Timeout = 10000; client.DeliveryMethod = SmtpDeliveryMethod.Network; client.UseDefaultCredentials = false; client.Credentials = new NetworkCredential("myemail@gmail.com", "password");  mail.From = new MailAddress("myemail@gmail.com"); mail.To.Add(new MailAddress("myemail@gmail.com")); mail.BodyEncoding = UTF8Encoding.UTF8; mail.DeliveryNotificationOptions = DeliveryNotificationOptions.OnFailure;  mail.Subject = "this is a test email."; mail.Body = "this is my test email body"; client.Send(mail);   NOTE: This code is based on other questions and answers already here in StackOverflow. However, after an extensive search, it appears that no one else has experienced this particular issue so far. According to the other Q&A this code should be working.    UPDATE: After being told that this was a duplicate I've modified my code to the following, however, I'm still getting the same error.      private static void Main(string[] args)     {         var From = new MailAddress("myemail@gmail.com", "Me");         var To = new MailAddress("myemail@gmail.com", "Me Too");         var client = new SmtpClient         {             Host = "smtp.gmail.com",             Port = 587, //25             EnableSsl = true,             DeliveryMethod = SmtpDeliveryMethod.Network,             UseDefaultCredentials = false,             Credentials = new NetworkCredential(From.Address, "password"),             Timeout = 20000         };          using (var mail = new MailMessage(From, To)         {             Subject = @"this is a test email.",             Body = @"this is my test email body"         })         {             client.Send(mail);         };     }


Equality (==) for double (vs. long double) in c++

In my assignment I had been asked to say why the following code prints mis-match the code checks for a == square (sqrt(a)) #include <iostream> #include <cmath> using namespace std; #define sqr(x) ((x) * (x)) int main() {         double a = 4.0*atan(1.0); // pi         double b = sqrt(a); // square-root of pi         if (a == sqr(b)) // pi is equal to         // square of square-root of pi?                 cout << "Match" << endl;         else                 cout << "Mis-Match" << endl;         return 0;  }  I know that this type of problem are do to the fact that floating point numbers are approximate representation and for checking equality one should check for almost equality case i.e. |a-b|<epsilon, where epsilon is taken to be 1e-8 or any other suitable value. But when I replace double with long double the code executed to print Match. So I want to know when == works and when it does not.


What equation would give me the answer to the question, "If i have a cup of water at a tempature of say boiling, how long would that cup of water take to cool off compared to say half that size of a cup of water."  So the volume is in half.  Its a general question I am just looking for where to start.


How can I setup servers with no HDD to boot Windows Server via network?  The servers has a CD-ROM drive, and I also have some servers with loads of hard drives which could function as network storage.


how do I install the latest version of git with sudo apt-get build-dep?

I am trying to resolve an issue following the steps of these instructions here . There is a step that wants me to execute this command:  sudo apt-get build-dep git   When I execute this command for some reason, I always get git version 1.9.1 I want version 2.10.1 Is there a way I can achieve this?


For night photography with lots of unexposed areas, should I go with high iso and low exposure, or low iso and high exposure?

I have been doing so much research on iso, and for awhile I've been going with the theory that low iso= less noise, so I've been shooting at iso 100 and then adjusting my flashlights and increasing exposure when the photo is coming out too dark. Will i get less noise with a higher iso and a lower exposure time? It's hard for me to tell as I do not shoot cityscapes at night, I create very dark scenes with lit objects. The outside perimeters of my photos are almost always black. Thank you so much. I guess after all the research I still am not sure.


How to choose a classifier after cross-validation?

When we do k-fold cross validation, should we just use the classifier that has the highest test accuracy? What is generally the best approach in getting a classifier from cross validation?


Background: I'll start to write my (cumulative) dissertation in two months.  I'm currently struggeling to find a good technical solution to organize research-related thoughts for my dissertation. For each chapter, I currently have an individual Trello board with lists such as "ToDo", "Research Ideas", "References", "small thoughts / phrases / arguments for certain design choices". This seemed to work at the beginning, but now I have so many "small phrases" that I lost the overview of them.  Up until now when I was working on papers, I usually wrote all my thoughts into the corresponding sections of the papers. However, with my dissertation as a "larger paper", I don't think it's feasible to organize my thoughts this way.  How do you organize 100+ "small thoughts" about your research and still have a good overview? I know that I can use a physical notebook but I'd rather have an online solution that allows me to quickly reorganize my thoughts (which a notebook does not).  I know that  is related but the answers were discussing online vs. offline and the general guideline was 'whatever helps you'.


Trouble configuring sendmail to relay mail

I am trying to configure sendmail and ufw on an ubuntu server (ServerA) so that another server (ServerB) can send mail through it. In my /etc/mail/access file I have the following line (a.b.c.d is the IP of ServerB):  Connect:a.b.c.d    RELAY   My ufw status shows the following rule I added:  25/tcp                     ALLOW       a.b.c.d   When I telnet from ServerA I get through:  telnet localhost 25   When I telnet from ServerB I don't (w.x.y.z is the IP of ServerA):  telnet w.x.y.z 25 telnet: Unable to connect to remote host: Connection refused   I did restart the sendmail daemon after editing the access file.  What could I be missing? Something in sendmail.mc?  Edit:  netstat -an|grep -w 25 tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN


Calculate the limit of spherical cap in spherical coordinate

I am using spherical coordinate system $r,\theta, \phi$ like this picture.  Consider I have a sphere with radius $R$, is divided into two hemisphere $S$ and $P$.  With this given information I am able to calculate $\phi$ limits for $P$ portion over $T$ using the following method:  $$ \begin{split} \tan \beta = z/y,\\  z=R\cos\theta, \end{split}\quad \iff \quad y={R\cos\theta\over\tan\beta} $$  $$ \begin{split} R\sin\theta\sin\phi={R\cos\theta\over\tan\beta}, \\ \sin\phi={1\over\tan\beta\tan\theta}, \end{split}\quad \iff \quad \phi=\arcsin{1\over\tan\beta\tan\theta}.$$ So the $\phi$ can go until $\pi -\phi$.  Now consider my $P$ is not a hemisphere: rather it is a spherical cap, where the cap size can be defined by an angle $\gamma$.     What will be my $\phi$ in this case to calculate the $P$ portion over the line $T$?


How do I evaluate $\lim _{x\to 0}\left(\csc^2\left(2x\right)-\frac{1}{4x^2}\right)$ without using L'Hopital?

I've tried it until this step: $\lim _{x\to 0}\left(\frac{\left(2x-\sin\left(2x\right)\right)\left(2x+\sin\left(2x\right)\right)}{\left(2x\cdot \: \sin\left(2x\right)\right)^2}\right)$ and got confused. I also tried expanding the limit into $\lim _{2x\to 0}\left(\frac{\left(2x-\sin\left(2x\right)\right)}{\sin\left(2x\right)\cdot 2x}\right)\cdot \lim _{x\to 0}\left(\frac{\left(2x+\sin\left(2x\right)\right)}{\sin\left(2x\right)\cdot 2x}\right)$ but the right-side limit doesn't exist.


Are there at least two people present who shook hands with exactly the same number of people?

The following is an interview question.     You are invited to a welcome party with $25$ fellow team members. Each of the fellow members shakes hands with you to welcome you. Since a number of people in the room haven't met each other, there is a lot of random handshaking among others as well. If you don't know the total number of handshakes, can you say with certainty that there are at least two people present who shook hands with exactly the same number of people?   I have a vague feeling that the answer is yes, which can be justified using the Pigeonhole principle.   However, I do not know how to answer the question concre