How to pick a specific symbol from a specific font?

Using LuaLatex, I need two very specific symbols from two very specific fonts, namely from the ZapfDingbats and the WingDings font.  I understand how I could use the fontspec package to set those fonts as standard fonts for my document. But for obvious reasons, I don't want that.  How do I pick a specific symbol from a specific font (with LuaLatex)?  While still using PDFLatex, I used the pifont package to get the Dingbats character:  \documentclass{article} \usepackage{pifont} \begin{document} \ding{113} \end{document}   Doesn't work for WingDings, though, which is why I switched to LuaLatex. However, not only did I understand that using such "font packages" is deprecated with LuaLatex, but I also don't have a clue how I'd go about picking a specific symbol from the WingDings font...


Sum of squares of dependent Gaussian random variables

Ok, so the Chi-Squared distribution with $n$ degrees of freedom is the sum of the squares of $n$ independent Gaussian random variables.  The trouble is, my Gaussian random variables are not independent. They do however all have zero mean and the same variance. Supposing I have a covariance matrix---which again is not a diagonal matrix because they aren't independent, but all the elements along the diagonal are equal to each other because they have the same variance, and in fact the covariance matrix is a symmetric Toeplitz matrix (and I'm not saying that this is important to the solution if there is one, but if it's a necessary property to get anywhere, by all means use that fact)---is there some way to decompose this sum of squares of these Gaussian random variables into perhaps a sum of chi-squared random variables and possibly Gaussian random variables? In other words, I can't directly just square them all and add them together and call it a chi squared distribution because a chi squared distribution is a sum of independent Gaussian squares, and they aren't independent.  I know how to find a linear transformation of the Gaussian random variables which are $n$ independent Gaussians, but that's no help because they aren't the things being squared, you see.


Good replacement for methyl-cellulose to be used for binding plant-based burger

I am trying to prepare plant-based burger patties like beyond-meat. What is a good binder to be used as a  replacement for methyl-cellulose. I want to grill the patties on a griller.


Receiving messages meant for a very similar email address

I'm getting emails for a different email ID which is similar to mine but without a dot . I'm flooded with the emails meant for someone else. I'm not able to resolve it, can anyone help , or connect me with someone who works in Google and help resolve this issue. Can't believe Google could do such a blunder.


This is a follow up topic from  previous post.  The Fourier series for $f(x)=e^x$ is $$f(x)=e^x=\sinh1\left(1+2\sum_{n=1}^{\infty}\frac{(-1)^n}{(n\pi)^2+1}\left(\cos(n\pi x)-n\pi\sin(n\pi x)\right)\right)$$  The value of the Fourier series $f(x)=e^x$ at $x=2$ and $x=1$ are the same: $$f(2)=\sinh1\left(1+2\sum_{n=1}^{\infty}\frac{(-1)^{n}}{(n\pi)^2+1}\right)$$  $$f(0)=e^0=\sinh1\left(1+2\sum_{n=1}^{\infty}\frac{(-1)^{n}}{(n\pi)^2+1}\right)$$  Could someone please prove that  $$\sinh1\Bigl(1+2{\sum}_{n=1}^{\infty}\frac{(-1)^{n}}{(n\pi)^2+1}\Bigr)=1?$$ The interval is $-1\lt x \lt 1$  Thank you.


Where should I post product development/release questions?

I'm pretty sure product development or release questions aren't allowed on Stack Overflow, if I understood correctly. But I was wondering, where could I ask a question and get an appropriate answer with subject matter pertaining to the production and release of projects, and moving a project through the production stages?


After upgrading to ubuntu 16.04 when I boot into ubuntu I can see a black screen asking for a username and password,when I entered all these details it shows welcome to ubuntu 16.04 and all those. But still I am not able to see the desktop. It still in the position of accept commands from me as in the terminal we used to get


I upgraded my Ubuntu from 18.04 to 20.04 few weeks back. Since the past few days I am getting a very weird error on my system while booting up Ubuntu and I cannot access it. I can't understand what the error is but I have attached an image below. It's a dual booted laptop and Windows is booting up normally.


Include tags in generic "Edited Tags" reason

I propose that names of tags added/removed are included in the generic "Edited Tags" Edit Summary.  I think this would promote good reviewing and clarify revision history.    Example: Instead of     Edited Tags   we would have     Edited tags: -[html] -[css] +[jquery] +[unicorns]


I'm running windows 7 RC.  I've got a few poorly-designed apps that force me to click through a UAC box in order to launch them. This is becoming quite an annoyance. I don't mind UAC aside from this issue.  Is there a way to stop UAC from popping up for just one particular app or executable?


In testing random numbers, what other tests should I use to complement the Kolmogorov-Smirnov?

I'm using the Kolmogorov-Smirnov test to test a random number generator. I'm wondering if there are other tests that I should implement as well. So far, I've looked at the equidistribution and serial correlation tests, but they seem redundant given that the KS already ensures that the random numbers follow the uniform distribution reasonable well.


Why can I apply $HS^\dagger$ and then measure in the computational basis to measure $Y$?

I come from a CS background  I was reading Neven and Farhi's paper ("Classification with Quantum Neural Networks on near Term Processors"), and I am trying to implement the subset parity problem using Qiskit, and solve it using a quantum Neural Network.  There is one thing that doesn't make sense to me though. In the paper, they measure "the Pauli Y gate on the readout qubit" (perhaps this phrasing is wrong, as I have to admit that whenever one does not measure in the computational basis, the whole thing doesn't make sense to me anymore). In one of the questions I already asked on this site, I was told that measuring in a basis other than the computational basis is simply the same as applying a matrix to the qubit and then measuring it in a computational basis.  Through various research, I was able to determine that, for this problem "to measure the Pauli Y gate the readout qubit", I had to apply $HS^{\dagger}$ and then measure in the computational basis in order to obtain the same result. It works, but I don't understand why it has to be this matrix in particular (is there any mathematical proof that shows that this is indeed this matrix ?)


How to recover deleted partition table information

I have booted my system from a live usb (ubuntu 12.04 64 bit) and while I was going to format a certain partition on my hard drive, I accidentally deleted the partition table {disk utility --> selected my partition from the menu on left side of the window --> format (at the upper center part of the window) --> I select partition table --> and hit format}. Now it doesn't show any partitions (see attachment). and says "unallocated space" whereas it is allocated and there is data that are really important and I cannot afford to lose. I want to ask is there any way out to recover this information. I have already used testdisk and it has found three partitions successfully whereas the fourth one is still missing. If you recommend using the same software (testdisk) kindly guide me how can I find the fourth one as well and how can I recover them later on (after finding the right partitions). I don't know if it is duplicate or not but as far as I have searched on this site, most of the posts were not helpful. Posts related to testdisk has worked for me to some extent but still I am confused. If you mind asking like this, kindly remove this question. I don't mind. Sorry for any inconvenience caused. Thanks


I am unable to understand why my value is not storing in the stack.. UseStack.java package test; import java.util.Scanner;  class UseStack{     private static Scanner obj;     public static void main(String[] args) {         obj = new Scanner(System.in);         System.out.println("Enter the size of Stack....");         int n = obj.nextInt();         Stack stack = new Stack(n);         while(true){             System.out.println("1: Push");             System.out.println("2: Pop");             System.out.println("3: Show");             int choice = obj.nextInt();;             switch(choice){                 case 1:                 Push push = new Push(n);                 push.push();                 break;                 case 2:                 Pop pop = new Pop(n);                 pop.pop();                 break;                 case 3:                 Push push1 = new Push(n);                 push1.show();                 break;                 default:                 System.out.println("Invalid Option");                 break;             }         }     } }  Stack.java package test;      class Stack {         public int arr[];         public  int top;         public  int capacity;              public Stack(int size){             this.arr = new int[size];             capacity = size;             top = -1;         }     }  Push.java     package test;     import java.util.Scanner;          class Push extends Stack {         public Push(int size) {             super(size);         }              private static Scanner obj;         public void push(){ obj = new Scanner(System.in);             System.out.println("Enter Value to push...");             int value = obj.nextInt();             if(top==capacity-1){                 System.out.println("StackOverflow");                 return;             }             else{                 top++;                 arr[top]=value;                 System.out.println("Pushed...");             }         }        public void show(){         if(top==-1){             System.out.println("StackUnderFlow");             return;         }         else{             System.out.println("Stack Elements : ");             for(int i=top;i>=0;i--){                 System.out.println(arr[i]+" ");             }         }            } }  Pop.java package test;  class Pop extends Push{     public Pop(int size) {         super(size);     }      public void pop(){         if(top==-1){             System.out.println("StackUnderflow");             return;         }         else{             System.out.println("Poped.. "+arr[top]);             top--;         }     } }  Please execuse my ignorance for posting the whole code and there were several questions has been already asked on this topic but what should i have to do to overcome with this error... Error As i pushed two values in array and then tried to show the element , stackunderflow i got....


NullPointerException - Trying to access object before it's properly instantiated?

Currently having a problem with an android app where I think the thread is trying to use an object before it's properly instantiated.  Here's the constructor for my class:  String name; String price; String percentChange; String peRatio;  private String ticker; private JSONObject stockQuote; public Stock(String ticker) {     this.ticker = ticker;      // Build query and URL.     String url = "http://query.yahooapis.com/v1/public/yql?q=";     String query = "select%20*%20from%20yahoo.finance.quotes%20where%20symbol%20in%20(\"" +             ticker +             "\")&env=store://datatables.org/alltableswithkeys&format=json";      url += query;      stockQuote = fetch(url);     name = get("symbol");     price = get("Ask"); }   Here's the fetch() function being used to retrieve a JSONObject from a HTTP response:  private JSONObject fetch(String myurl) throws IOException {     InputStream is = null;     String contentAsString = "";      try {         URL url = new URL(myurl);         HttpURLConnection conn = (HttpURLConnection) url.openConnection();         conn.setReadTimeout(10000 /* milliseconds */);         conn.setConnectTimeout(15000 /* milliseconds */);         conn.setRequestMethod("GET");         conn.setDoInput(true);         // Starts the query         conn.connect();         int response = conn.getResponseCode();         is = conn.getInputStream();          // Convert the InputStream into a string         contentAsString = readIt(is);          // Makes sure that the InputStream is closed after the app is         // finished using it.     } finally {         if (is != null) {             is.close();         }     }      JSONObject queryResult = null;      try {         JSONObject json = new JSONObject(contentAsString);         queryResult = json.getJSONObject("query").getJSONObject("results").getJSONObject("quote");     } catch (JSONException e) {         System.err.println("Failed to decode JSON");     }      return queryResult; }   and finally here's the get() method, used to retrieve a string from the JSONObject:  public String get(String key) {      String value = null;      try {         value = stockQuote.getString(key);     } catch (JSONException e) {         System.err.println("Couldn't find " + key);     }      return value; }   A NullPointerException gets thrown by "value = stockQuote.getString(key);" - sometimes, but not everytime. I assume this is because it's trying to access the stockQuote before the HTML response has been parsed?  I'm guessing there's an obvious solution to this, but I haven't encountered this problem before. Any ideas?


Meaning of "I will refuse nothing to the soul that makes a request of me."

Consider the sentence below:     During this hour, I will refuse nothing to the soul that makes a request of me. In this hour, you can obtain everything for yourself and for the others for the asking.   Is the person who is mentioning the sentence basically saying that "I will grant every one of your request that you make to me during this hour"?


What sort of infrastructure is needed to allow me to write a simple mobile app for indoor navigation?    Professor Mike Goodchild :     the average American only spends 13   percent of the time outdoors.   GIS-based services help us find   restaurants and hotels, but they offer   almost no support for navigating in   the complex indoor spaces of shopping   centers, hospitals, mines, or   airports.   On my smartphone, I'd like to show a floor plan oriented to the real world, centered on my location.


How can I determine what hardware is the bottleneck/limiting factor for system performance?

If I want to improve the performance of my computer, or optimise the performance of a computer yet to be bought, how can I determine what hardware I would need to choose/upgrade?   Processor clock speed and number of cores, Type and quantity of RAM, Type and properties of graphics card or chipset, Type and properties of storage medium (hard disc drive vs. solid state storage), GPU/GPGPU, Perhaps a combination of the above, Others?   For example, I recently upgraded my laptop storage (HDD→SSD) and RAM (2 GB→8 GB), based on generic recommendations and on the fact I don't know how to upgrade anything else.  It led to a tremendous improvement in performance.  Suppose that I have a machine where theoretically any component can be upgraded, how would I go to determine the current bottleneck/limiting factor if I want to improve performance further?  For example:   Time to boot, Time for a complicated operation on photo editing, Time to compile a LaTeX document, Time to start Firefox, Time to start playing a video, and other things.   With tools like top I can measure CPU and RAM usage.  That tells me what processes are using my current resources, but not what limits them from running 10% faster, 2× faster, 10× faster.


How does the admissions process work for Ph.D. programs in the US, particularly for weak or borderline students?

When applying to a PhD program in the US, how does the admissions process work? If an applicant is weak in a particular area, is it possible to offset that by being strong in a different area?  Note that this question originated from this . Please feel free to edit the question to improve it.


It as been a week of UX self teaching. I have started studying UX design on my own, by reading books and information. I am self teaching and I would like to know how I can go about creating UX portfolio for myself to show future employers?  Thanks


Why do people clear the screen multiple times when using a calculator?

I've noticed that most people when using a real or a virtual calculator, they hit the Clear button multiple times when clearing the screen (even though hitting it once is enough), so I started wondering: is there a flaw in the calculator's design that compels most people to do that?  What makes them trust the button less than the other buttons? Is there some sort of feedback mechanism that's missing? Even if it's just a habit, how does one end up developing it?


Prove that $G$ contains a subgroup $H_i$ for each $i\in\Bbb Z$ with $\dots\subset H_{−2}\subset H_{−1}\subset H_0\subset H_1\subset\dots?$

Let $𝐺$ be the group generated by the matrices $𝐴=\begin{bmatrix}2&0\\0&1\end{bmatrix}$, $𝐵=\begin{bmatrix}1&1\\0&1\end{bmatrix}$, where the group operation is matrix multiplication.      Prove that $𝐺$ contains a subgroup $𝐻_𝑖$ for each $𝑖\in \mathbb{Z}$ such that   $$ \cdots \subset H_{-2}\subset H_{-1} \subset H_0 \subset H_1 \subset \cdots$$   So this is all that is given and i'm not sure where to start from this question. I know that $ABA^{-1}$ = $B^{2}$. From this we can replace A with $A^2$ and so on but i am not sure how i would prove this. Can someone help please?


$f\left(x,y\right)=\left(\frac{x}{x^{2}+y^{2}  } , \frac{y}{x^{2}+y^{2}  } \right)  $  $R^{2}-(0,0)$  Can someone help me with shwoing that this function is surjective?


Determine whether $(x_n)$ converges if $x_1= a , x_{n+1} = x_n+\frac{1}{x_n}$ for $n \in \mathbb{N}$

Let $x_1= a(>0) , x_{n+1} = x_n+\frac{1}{x_n}$ for $n \in \mathbb{N}$. Determine whether $(x_n)$ converges or diverges.   We have $x_1= a > 0, x_2= a+\dfrac{1}{a},  (\dfrac{1}{a} >0)$  which implies that $x_2 > x_1$  Then assume for induction: $x_k < x_{k+1} < a+1 $ (since $\dfrac{1}{x_k} < 1$)  $$x_k + \frac{1}{x_k} < x_{k+1}+ \frac{1}{x_{k+1}} < a + 1$$  $$\implies x_{k+1} < x_{k+2} < a + 1$$  This shows that that $x_k < x_{k+1} \Rightarrow  x_{k+1} < x_{k+2}$. Therefore $x_n < x_{n+1}$ for all $n \in  \mathbb N$.  It follows by the monotone convergence theorem that $x_n$ is increasing and bounded.


How do you come to a stop without dismounting?

I'm an avid bicycler who has just moved to the city (Boston). As I (unlike many folks here) am unwilling to run red lights and violate traffic laws, I often have to come to a stop, dismount, and wait for the light to go green.  I've seen bikers, especially those in full kit on nice bikes, manage to come to a stop and stay on their bike, out of their saddles for some time. I can't manage to do this for more than a few seconds, and with spd pedals I am unwilling to try too hard lest I tip over and eat shit as they say. The best I can do is to brake hard while pedaling slowly, inching forward. This buys me a few seconds, given I am on level ground and I have room.  I ride a touring bike with panniers, so sometimes I don't have equal weight distribution laterally. Sometimes I do, and I've always wanted to learn how to do that stop and stand thing.  Is there any trick to it or is it just about balance and weight distribution? Should I be breaking hard on front and rear?


When did the Asgardians become aliens instead of gods?

On reading the old Journey into Mystery comics, where Thor first appeared, it is not evident that the Asgardians are aliens. As far as the audience can tell, they are simply the Norse gods of myth.   When in comic history were the Asgardians revealed to be aliens rather than gods?


Offset an input voltage of -2.5V - 2.5V to 0V - 5V?

I have a circuit input which provides a voltage range of negative 2.5 volts to positive 2.5 volts. How do I change this so the output voltage is 0 - 5 volts?          – Schematic created using


Why does the beam in a weighing balance get tilted proportional to the weights added to each pan?

I'm talking about a beam balance(a simple weighing balance with a beam and two pans hung on either side)   As answered in a previous , the beam comes back to the original position when one side is pushed down and released because the centre of gravity of the beam is a little below the axis of rotation.   practically, when unequal weights are put to the pans, the beam gets tilted proportional to the weight added to each side. Yet, according to my knowledge, this cannot happen theoretically.  for example, if a weight of M is added to the left pan , and a weight of m is added to the right pan, and M>m, and the length of the beam is 2l, the torques acting around the point of rotation would be Ml- anticlockwise and ml-clockwise. Then the resultant torque would be (Ml-ml) anticlockwise. hence theoretically, the beam must rotate anticlockwise by nearly 90 degrees, which means the left pan (the pan with weight M) must move down as much as possible.(Please note the small torque due to the weight of the beam has been ignored)   But what really happens is the beam gets tilted proportional to the weight added to each side. How can this be?


I have trouble with my code. I need to replace element in Array if condition is true.     Inputs are:  dashedCapital = "------"; input = "a"; capital = "Warsaw";   Code should check if capital contains input and if yes replace "-" in dashedCapital to character from input at specified position:    public static String changeDashedCapital(String dashedCapital, String input, String capital){   String[] capitalArray = capital.split("");   String[] dashedCapitalArray = dashedCapital.split("");   String[] character = input.split("");    for(int i = 0; i < capitalArray.length; i++){     //System.out.println(i);     //System.out.println(capitalArray[i] + character[0] + dashedCapitalArray[i]);     if(capitalArray[i] == character[0]){       dashedCapitalArray[i] = character[0];     }   }    String result = Arrays.toString(dashedCapitalArray);   System.out.println(result);   return result; }   Result is "------" but should be "-a--a-". What's going wrong?  John, thanks for your reply, it was helpful.  I edited my method so it's look like this now:      public static String changeDashedCapital(String dashedCapital, String input, String capital){    for(int i = 0; i < capital.length(); i++){     if(capital.charAt(i).equals(input.charAt(0))) {       String new_dashed = dashedCapital.substring(0,i)+input.charAt(0)+dashedCapital.substring(i);       System.out.println(new_dashed);     }   }    return "OK:";   Now i get this error:       GetWord.java:69: error: char cannot be dereferenced     if(capital.charAt(i).equals(input.charAt(0))) {                         ^     1 error   I don't understand why it's wrong. I using a equals() function. I also tried "==" operator but then nothing happens. What does it mean "char cannot be dereferenced"? How I could compare single chars from string with another chars from another string?


Deep copies and shallow copies using = sign

I was wondering about a specific difference between deep and shallow copies. I understand that in code such as:   int[] array = {1,2,3,4};  int[] array1 = array;  array1 will be a shallow copy of array. However, how does this relate to objects of different types? I was wondering - as I am not exactly sure the correct terminology for my question, which types, does the "=" sign make a deep or shallow copy? Like is there a default? With an array, it is shallow, but are there situations in which it creates a deep copy automatically?  I really appreciate all of the help I can get!


I want my Java program to round numbers off to two decimals. I've been looking at my class materials and I can't find a solution. Here's the code  import java.io.*;  import java.util.*;  public class prog58i  { public static void main (String[] args)  { //input System.out.print("the amount I wish to borrow is? "); Scanner a = new Scanner(System.in); double borrow = a.nextDouble(); //Shows amount of money someone wants to borrow  System.out.print("The loan rate I can get is? "); Scanner b = new Scanner(System.in); double rate = b.nextDouble(); //Shows loan interest rate  System.out.print("The number of months it will take me to pay of this loan is? "); Scanner c = new Scanner(System.in); double months = c.nextDouble(); //Shows months loan will be taken out   //The Math Part double MP = borrow * (rate/1200) * (Math.pow((1+rate/1200), months)) /     (Math.pow((1+rate/1200), months)- 1); double intrest = (MP * months) - borrow; double repaid = (MP*months);  //Output System.out.print( "My monthly payments will be $" +MP +"\n"); System.out.print( "Total Interest Paid is $" +intrest +"\n"); System.out.print( "Total Amount Paid is $" +repaid +"\n"); } }   I'm more looking for a tutorial or just some advice on how to do it myself.


I have the cron job as shown below, and wanted it to run every 2 hours, but it keeps running every 2 minutes.  Can someone tell me where I'm going wrong?      * */2 * * * /path-to-script


How can I exclude an application from Dash search?

I have an application that I'd like not to show up when I search for it is Dash. How can I keep the application, but prevent it from being found when I search for it?


Hi I want to install the eclipse from scratch, please let me know how can i do this, in case if I have previous eclipse installed how can i remove it completely from the ubuntu 13.10


How to efficiently animate 2D scene spanning sprites in Unity?

Our game is a 2D point-and-click adventure game.  One of the levels is set in a factory with conveyor belts that span the scene.  The game is hand animated in 2D and so animating these conveyor belts could potentially take up lots of memory since the sprites are as long as the screen (it's an HD game - 1920 x 1080). I'm not sure if tiled sprite shapes can be animated, so I was wondering if there's a prescribed way to handle larger sprite animation like this - efficiently.


I want to boot multiple ISO images from an external drive what is the best way to do this?  The reason for this is Windows restoration discs. I want to create an .ISO file of each of the recovery DVD's (can be up to 12 discs) and then boot from the USB device to recovery the computer so I don't have to use the DVD's every time I want a recovery.  I'm guessing there will have to be some way to mount each .ISO file when the next disc is needed.


Are Chinese websites unfriendly to Google optimization? Why does my website always fail to rank on Google? my:  And why many people on this platform want to hack our China, we are also a free and safe country!


uinstall ubuntu 10.04 and download windows 8 from dreamspark free for students

I am very new to computers and want to remove ubuntu 10.04 on my recycled pc from alameda county computer resource center which seems to have had windows vista prior to linux (there is a windows vista sticker next to the intel sticker) and then download windows 8 pro for free for students at dreamspark.  Is that possible?


In  (2014), the crew members visited the second planet and found Mann. Soon after finding Mann, they discover that he has lied about the data. And then he tried to kill Cooper as he decides to leave to Earth.   Why did Mann try to kill Cooper?


Creating updated field in ArcGIS for desktop?

This is my attribute table:    the field "hight" is short type.  the field "text" is string type.  I try to find how can i connect between those two field with python phrase (i know how to do it with python phrase) but whats importent to me is that if i change the field "hight", then the new field will update automaticlly.  I red  but this isn't what i seek because it clumsy and long solution. I need a simple python\ Vb phrase to implement in the Field Calculator of the layer.


Simulate printing imperfections and defects with TeX?

Is there a way to simulate imperfections of some of the older books in LaTeX? Like the missing pieces of letters, extra splotches of ink and such?  Here is an interesting artifact:   P.S.: I guess one way would be to get an old printer haha :-0


How do I copy files from the windows file system to the Ubuntu file system on Windows 10

I found where the Ubuntu file system is on Windows 10   C:\Users\{username}\AppData\Local\lxss\home\{username}   For some reason the lxss/ directory doesn't show up in Windows File Explorer. but if you type it in the title bar it shows up.  Now when I copy a file from the Windows file system into my home directory in the Ubuntu file system the Ubuntu file system doesn't show the file.  How do I get interoperability between the two file systems?


Why doesn"t centrifugal force throw us off the earth?

I was drawing a diagram and trying to resolve all the forces. It seems to me that because of gravity, centrifugal force will produce a sort of "dragging" motion along the surface of the earth. The centrifugal force is quite small (I got around 2.5 N at the equator). This force is easily neutralized by friction. Is this right?  EDIT: I did not consider any complexities that may arise due to revolution, I just considered rotation.


Why do the new paragraphs I add with jQuery do nothing on click?

I have some paragraphs in my html as an example, and when I click on it, the JQuery click activates correctly and executes de function. However, I have a button that adds new paragraphs to de body but the new ones do nothing on click and I don't know why:  My html body           <h1> Test </h1>         <input type="text" id="newP" value="New paragraph">         <button id="add"> Add </button>         <p> Paragraph 1 </p>         <p> Paragraph 2 </p>   My js file  $(document).ready(function(){  $("p").click(function(){     console.log("Hello");     this.remove(); }); $("#add").click(function(){     $("#add").after("<p> " + $("#newP").val() + "</p>"); }); });   The 2 example paragraphs delete correctly and shows "Hello" but de new ones don't. I want to do something more complicated than just deleting them so I need to know why the function isn't working for them. (I must use JQuery)


Differentiable and Continuous functions on [0,1] with 'weird' conditions.

I've been stuck on this one for a while. Comes from an analysis qual question.  Let f be a function that is continuous on $\left[0,1\right]$ and differentiable on $(0,1)$. Show that if $f(0)=0$ and $|f'(x)| \leq |f(x)|$ for all $x \in (0,1)$, then $f(x)=0$ for all $x \in \left[0,1\right]$.  What I've tried doing so far is see if there was anything I could do with MVT. I didn't really see anything to do with definitions either..to which I have a feeling I'll be playing around with them. Drawing a picture was a little difficult with these conditions as well  Any hints/suggestions?


Sets of size 45 with pairwise intersections having 1 element

Let $n$ be a positive integer and consider $2009$ (not necessarily distinct) subsets of $\{1,2,\ldots,n\}$ such that each of them has size $45$ and any two of them have exactly $1$ common element. Prove that there is an integer which belongs to all $2009$ subsets. Progress: 1) By Fisher's inequality the number of distinct subsets is at most $n$ and so by Pigeonhole there are some $\lceil 2009/n \rceil$ of the $2009$ subsets which coincide.  Suppose the desired statement is false, let $k_i$ be the number of subsets containing $i$ and let $k = \max_{i} k_i$. We claim that $k\leq 44$. Suppose $k = k_j$ and pick sets $A$ and $B$ which contain $j$ and $X$ which does not contain $j$. Then $A\cap B = \{j\}$ and $A \cap X \neq B \cap X$. Now by fixing $A$ and $X$ and letting $B$ run through all subsets which contain $j$, the claim follows.  Any help appreciated! (Hopefully with an entirely combinatorial proof.)


consider a table which is filled with numbers from 0 to 9 and each number is repeated exactly 10 times using graph prove that there exists a row or column with more than 3 unique digits I faced this question and couldn't solve it using graph I'll be glad if you help me solve it.


From English grammar point of view, which of below sentence is correct? And why?  He did this better than I did.  He did this better than me.


Sort questions by most recently answered

One can sort questions by the newest question ("newest") or by the most recent activity ("active"), but there is no way to sort by most recently answered.  I would like to request this sort option be added.  "Active" sort of does the job, but not so well if there are lots of new questions and/or edited posts coming in.  Sometimes, I would like to review only new answers, not everything else, and there is no way to easily do that at current.


Show that these rings are not isomorphic

Prove that the rings $2 \mathbb{Z}$ and $3\mathbb{Z}$ are not isomorphic. I find that if i make a map $\phi$:$2 \mathbb{Z}$ $\longmapsto$ $3\mathbb{Z}$ the map homomorphism works. so the only thing that i need is to show that $\phi$ is not surjective. How do i show that.


Adjusting the background color/picture for each workspace

I remember some years ago when playing with linux you could adjust the background color or picture independantly for each workspace, so you could have different colors on each space.     Is that possible in Ubuntu 12.04 lts ?


Repercussions when suggested edits are rejected?

Do I, as a user, receive any form of repercussion when getting rejected suggested edits?   No Yes, after n number of declined suggested edits, I will not able to suggest edits for a while. ( Timeout ) Yes, after n number of declined suggested edits, I will get banned from suggesting edits. Yes, but something else.


Why does the US Declaration of Independence use the word "depository" instead of "depositories"?

In the following paragraph from the US Declaration of Independence, it seems to me "depository" should be plural.  Is it an error, or is there a reason for it?     He has called together legislative bodies at places unusual,   uncomfortable, and distant from the depository of their public   Records, for the sole purpose of fatiguing them into compliance   with his measures.   This question is not only about whether it's an error, but also whether there is a reason for it.  All the answers I'm seeing and finding seem to point towards it's being technically correct but not as correct as it could be, but with no explanation of why that word choice was made, other than the implied assumption that it was a semi-error, in the sense that the plural would have been more correct but wasn't strictly required.  But those answers don't really answer it, as they only vaguely assume that answer, while arguing that it was technically correct, which only answers part of the question.  In any case, on the assumption that a complete answer is not really available, I will just assume it was a careless semi-error, not worth correcting because it was technically correct, and because the author did not have a word processor.  I'm also seeing a notice that the question was marked as an exact duplicate while I was typing the above additional paragraphs.  It doesn't say what it was marked as an exact duplicate of, just that it was marked as an exact duplicate.  I will assume the above 3 additional paragraphs clarify the question to make it clear that it's not the exact duplicate of whatever.


I'm solving a problem described in English and because I didn't learn to code in English, it's difficult for me to understand what the guide want me to do. I'll be appreciated if anyone would like to explain for me. The full question is . My question is if the list maintained in the question is the LIST in Python. If so, the created class seems useless. How can I use the overridden ==?(literally I don't know which two should be compared in this case) I don't know what to do next. Here's what I've done.      def __init__(self,fn,ln,num):         self.firstName=fn         self.lastName=ln         self.idnumber= num               def insert(self):         newfirstname=input('First Name: ')         newlastname=input('Last Name: ')         newidnumber=input('ID Number: ')         personnew=Person(newfirstname,newlastname,newidnumber)         persons.append(personnew)     # def __eq__():         # def __greater__():         # def str():                     filepath=input('the path of the file is:') n=input('how many lines are required:') n=int(n)  persons=[] f=open(filepath,'r')  for i in range(n):     print(f.readline())     person=Person(f.readline().split()[0],f.readline().split()[1],f.readline().split()[2])     persons.append(person)   When I input n=2, the output is not the first and  the second line. Looking forward to someone to help and thank you in advance.


Find the sum of the series: $\cos^3 \alpha +\cos^3 {3\alpha} + \cos^3 {5\alpha}+....+\cos^3 {(2n-1)\alpha}$.

Question: Find the sum of the series:   $$\cos^3 \alpha +\cos^3 {3\alpha} + \cos^3 {5\alpha}+....+\cos^3 {(2n-1)\alpha}$$   The book from which this question was taken says that the answer is $\frac{3\sin{n\alpha}\cos{n\alpha}}{4\sin\alpha}+\frac{\sin{3n\alpha}\cos{3n\alpha}}{4\sin{3\alpha}}$.  My attempt to solve this question: $$\text{Let S be the trigonometric series,}$$ $$\cos {3\theta} = 4\cos^3\theta-3\cos\theta \implies 4\cos^3 \theta=\cos{3\theta}+3\cos\theta$$ Applying formula on $\cos^3\theta$,.. $$4S = 3\cos\alpha + \cos3\alpha +3\cos3\alpha + \cos9\alpha+...+3\cos{(2n-1)\alpha}+\cos{(6n-3)\alpha}$$ $$4S= 3(\cos \alpha + \cos 3\alpha+\cos5\alpha+...)+(\cos3\alpha + \cos9\alpha+..)$$ Applying the summation of cosine formula, $$4S= 3\frac{\sin{n\alpha}}{\sin\alpha}\cdot\cos{(\alpha+(n-1)\alpha)}+?$$  So my problem is I don't know how to apply the formula for the second series (denoted by '?') for a fixed number of terms $n$ or should I treat it as a general and separate series.  To clarify my doubt again, what I am asking is that would the $(2n-1)$ affect the formula for the second series (denoted by '?').  My working here looks most probably correct but if there is any mistake please correct it.


Time of Accepted Answer in Stack Exchange Dump

I was looking into the Stack Exchange dump and wanted to try to get more information on when an accepted answer is declared. The Votes table had been suggested in a  since it has a type that marks when an answer is accepted (1 = "AcceptedByOriginator") but it does not give an exact time (defaults to midnight).  Since the last post was awhile ago, trying to confirm if there are any new elements I might have missed that can capture when the answer was accepted or if there is a related feature to the request in the previous post that I can check to see if it fulfills my needs.


Aligning citation and number of an equation

I have an equation that is taken from a book, so naturally I have to cite it.  How I would like to do it:                  x+y=z (in the middle)          [4](1.1) (on the right)    In which [4] would link to the corresponding citation (I do that using \citep{...}) and (1.1) would be the first equation in section 1 - both of that work on their own.  For the equations in general I go for  \begin{equation} ... \end{equation}   using the   \usepackage{chngcntr}  \counterwithin{equation}{section}   for the number  I tried adding the citation on the right side with \tag*{...} but this makes the number of the equation disappear.  Thanks a lot in advance.


Which version of Ubuntu should I use on an old MAcbook pro?

I have an old Macbook Pro 15 Inch from 2009. It has  Memory 3.7 G Processor Intel® Core™ i7 CPU M 620 @ 2.67GHz × 4  Graphics NVA5 Gnome 3.28.2 OS 64 bit Disk 491 GB  I am running Ubuntu  18.04.3 LTS - it struggles to start up often requiring multiple attempts to start and does not allow me to create documents or save files. I have had to reload GRUB and added in a boot-repair tool (tutorial here ). This enabled me to reboot normally but it still takes a long time and sometimes requires two tries.  I wonder if my old computer would run better with a different version of Ubuntu?


How do I "Show total up and down vote counts" since I'm at 1K rep?

Possible Duplicate:        I'm supposed to be able to see the total up/down votes, but I'm way above 1K rep and I still don't see any of .  So how do I see the breakup of votes?


Can anyone advise on the status of the recent mesa issue after an update January 4th or 5th, 2018? If it was update related what is a normal time frame for resolution? Noob getting his feet wet with Ubuntu! Thanks for your time. GordK  follow up...I followed the suggestions in that answer prior to placing my question. I jumped ahead to the 17.3 ppa as per that answer. Things are OK for now. I see there will be a fix released for this issue. I will watch for that fix and get back on track with regular sourced updates. Thanks for your time! GordK  190118 Thanks for the follow up on this issue. I have been checking on progress and just saw that the issue has been resolved. I have updated to remove the 17.3 work around and rebooted and did the suggested update. Things look solid. Thanks again for your time and expertise! GordK


Book recommendation for Atomic & Molecular physics

What are some interesting books for a sophomore undergrad about Atomic & Molecular Physics?


Its very easy to pull a logic gate or transistor circuit of the internet for example and begin to understand how it represents physical bits, by either having 5V across the circuit or below 3.3V. But I was wondering what are some of the methods for representing qubits from a hardware perspective.  I have already looked on Wikipedia and find the explanation to be very abstract and vague.


effect of mass of spring on period of oscillation

Consider a massless spring system which is hanging vertically. Attach a mass $M$ and set it into simple harmonic motion. Let the period with which the mass oscillates be $T$.   We assume that the spring is massless in most cases. Would taking effect of the non-zero mass of the spring affect the time period ($T$)?


Evaluate : $$ \lim_{n\to\infty}\left(\dfrac{1}{e^{n}}\displaystyle \sum_{r=0}^{n} \dfrac{n^r}{r!}\right) $$  Numerical calculation suggests that the limit should be $\dfrac{1}{2}$. I tried using  and , but to no avail. An elementary solution is appreciated. Thanks in advance.


How to find $\lim_{n\to\infty}n\cdot\sin(2\pi\ e\ n!)$?

What will be the value of this limit?  $$\lim_{n\to\infty}n\cdot\sin(2\pi\ e\ n!)$$  Any help on how to proceed?


Creating parallel lines at particular distance from lines which are part of a shapefile

I am using QGIS 2.18 . I have shapefile which contains multiple lines. After processing certain data processing , I need to draw parallel lines at different distances from existing lines. For example I have 32 lines in existing shapefile. I want to draw parallel lines at distance of 50, 100, 170, 500,400 from line ID no. 3 ,6,20,25,31 in one go. Is there any method or plugin in QGIS for doing same?


How do open files behave on linux systems?

I just renamed a log file to "foo.log.old", and assumed that the application will start writing a new logfile at "foo.log". I was surprised to discover that it tracked the logfile to its new name, and kept appending lines to "foo.log.old".  In Windows, I'm not familiar with this kind of behavior - I don't know if it's even possible to implement it. How exactly is this behavior implemented in linux? Where can I learn more about it?


Verse in memoir produces an unwanted extra empty line when the previous one is full

I am having the same problem in memoir as . , but unfortunately the solution proposed by the asker himself seemed to be a minor tweak and did not resolve the problem (besides, I cannot change the font to something else because I am using the standard CM). Let me quote this:     I'm having a problem where lines which are almost long enough to cause the verse environment to break a line are creating an unwanted blank line. It seems as if the environment is breaking the line, but doesn’t actually have anything to put on that line.   Here is my MWE of the problem I got while typesetting a verse in Macedonian (babel has no Macedonian hyphenation rules, so I am using Russian ones):  \documentclass[11pt]{memoir} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage[paper=a4paper, showframe]{geometry} \usepackage[russian]{babel} \usepackage{microtype}  \begin{document} \begin{verse} Tаа мозаична креација, Вавилон сака да го состави, \\* секојдневно ја пишува светската историја "--- познавајќи исклучиво кинески, \\ работи на природен пергамент користејќи камен, \\ сликовно писмо со клинест примес \\* и арапски акцент со јапонска мускулна моторика.  \end{verse} \end{document}     This is likely to be a bug, so I do not want to change the \textwidth or other general parameters just for the sake of this occurrence (otherwise everything else will shift, which I do not want to happen).  Any help would be appreciated!


Make bibliography appear in toc as a chapter, not section

Latex shows bibliography by default as a section. I want it to appear as a chapter.   My code is:   \documentclass{book} \usepackage{xgreek} \usepackage{apacite} % .... \bibliographystyle{apacite}  \addcontentsline{toc}{chapter}{Βιβλιογραφία} \bibliography{PhDthesis}    And the result looks like this:  Βιβλιογραφία                              153       References . . . . .  . . . . . . . 153   Any ideas? Thanks in advance


C++ calculation error including pow and subtraction

I'm working on CSES number spiral problem and I've noticed that c++ isn't calculating it right? ans = pow(y, 2) - (x-1);  This is the code and I have x and y both set as 1000000000. cout << "pow =" << pow(y, 2) << "\n"; cout << "x-1 =" << (x - 1) << "\n";  I've put this right before the calculation and pow shows up correct with 1e18 and x-1 is also correct with 999999999. cout << 1000000000000000000 - 999999999 << "\n";  If I manually write it like this it works but pow(y,2) - (x-1) doesn't. It will give me an answer of 999999999000000000.


Show that $\Phi_{p^n}(X)=\Phi_p(X^{p^{n-1}})$ with $p$ prime.

How to show that $\Phi_{p^n}(X)=\Phi_p(X^{p^{n-1}})$ with $p$ prime where $\Phi_n(X)$ is the cyclotomic polynomial define by $$\Phi_n(X)=\prod_{\underset{\gcd(k,n)=1}{k=1}}^n(X-e^{\frac{2ik\pi}{n}}).$$  I have shown already that $$X^n-1=\prod_{d\mid n}\Phi_d(X)$$ and that  $$\Phi_p(X)=\prod_{k=1}^p(X-e^{\frac{2ik\pi}{p}})$$  but I'm not able to conclude that  $\Phi_{p^n}(X)=\Phi_p(X^{p^{n-1}})$ with $p$ prime.


If $\{u,v,w\}$ is a spanning subset of $V$ then so is $\{u+v, v+w, w+u\}$

I've looked at the following solution but am unsure if it translates to this problem.


Chain skip happening seemingly at random with a new chain

My bike's a 24-gear trail/road hybrid, and I've had it for about three years (although I've been riding it much more lately than in previous years).  For a long while, I've had an issue with chain skip happening seemingly at random, even on level, paved paths, however this issue was always more serious going uphill. I decided to replace my chain yesterday (it's appropriately sized, was pre-lubed, and none of the links locked upon inspection), however on this morning's commute I still got the same amount of skip, likewise more serious going uphill.  I've tried using best practices to avoid this issue, as well:   I avoid pedalling while changing gears I've checked my front and rear derailleur alignment (and adjusted it as best I could, there's still a very, very slight amount of scraping on the front derailleur if the chain has to travel too far laterally e.g. between my largest front sprocket and the smallest sprocket on the cassette on the rear wheel) I've double-checked that the links don't block, multiple times The teeth on the front sprockets as well as on the cassette don't seem to be overly worn down   Two more factors could be relevant to this; this new chain has those "tool-free" break links (you bend the chain to attach or detach one side of the link and break the chain), and I'm a more heavyset guy, so I pedal hard - I think this could be putting more stress on the chain.  I'm not sure what else I can do to reduce chain skip.  Update: I've gone by my LBS and apparently one of the chain gears is in fact worn down (I just didn't know how to tell, apparently).


Can Unearthed Arcana material be used in Adventurers League?

Are classes and other material from Unearthed Arcana articles legal to use in Adventurers League, or are they a kind of beta phase intended for playtest only before they go official?


I am having some issues with \footnote{...} . I have defined the margins of my document and the textwidth. However, everytime I include a footnote it streches until the margins of the document thus becoming much larger than the actual text width. I tried to change the margins to the actual textwidth but I was not able to do it.   Can anyone help me?  Below a dummy example:      %2multibyte Version: 5.50.0.2890 CodePage: 65001  \documentclass[12pt,a4paper]{article} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{amssymb} \usepackage{graphicx} \usepackage{amsmath} \usepackage{graphicx} \usepackage{siunitx} \usepackage{booktabs} %\usepackage[autolinebreaks]{mcode0} \usepackage{natbib} \usepackage{url} \usepackage{float} \usepackage{placeins} \usepackage[font=small,labelfont=bf,margin=\parindent,tableposition=top]{caption} \usepackage{rotating} %\usepackage{showframe} \setcounter{MaxMatrixCols}{10} \usepackage{geometry}  \geometry{  a4paper,  total={210mm,297mm},  left=14mm,  right=14mm,  top=21mm,  bottom=21mm,  }  %\addtolength{\oddsidemargin}{-.875in} %   \addtolength{\evensidemargin}{-.875in} %   \addtolength{\textwidth}{1.75in} %   \addtolength{\topmargin}{-.875in} %   \addtolength{\textheight}{1.75in}  \parskip = 0pt \pagestyle{plain} \setlength{\parskip}{.0in} \renewcommand{\baselinestretch}{1.3}   \newenvironment{Question}[2][Question]{\begin{trivlist} \item[\hskip \labelsep {\bfseries #1}\hskip \labelsep {\bfseries #2.}]}{\end{trivlist}}  \begin{document}  \pagenumbering{gobble} \title{Title...} \date{} \author{Volcompt} \maketitle  \abstract{ABSTRACT HERE }  \vspace{50 mm} \begin{center}     [VERY PRELIMINARY AND INCOMPLETE]  \end{center}   \newpage \pagenumbering{arabic}  \section{Introduction}   Some random text here. A stock option is a contract between two people that gives the holder the right, but not the obligation, to buy or sell outstanding stocks at a specific price and at a specific date. Options are purchased when it is believed that the price of a stock will go up or down (depending on the option type). For example, if a stock currently trades at 40 and you believe the price will rise to 50 next month, you would buy a call option today so that next month you can buy the stock for 40, sell it for 50, and make a profit of 10. Stock options trade on a securities exchange, just like stocks.  A stock warrant is just like a stock option because it gives you the right to purchase a company's stock at a specific price and at a specific date. However, a stock warrant differs from an option in two key ways:  A stock warrant is issued by the company itself New shares are issued by the company for the transaction. Unlike a stock option, a stock warrant is issued directly by the company. When a stock option is exercised, the shares usually are received or given by one investor to another; when a stock warrant is exercised, the shares that fulfill the obligation are not received from another investor, but directly from the company. \footnote{footnote off margins} \end{document}    Thanks


Why phpmyadmin.conf file doesn't exist after installing?

I've followed  to install phpMyAdmin on the server which uses ubuntu 14.04. I've entered all commands and restarted apache, but when I open this path through the browser:  http://domain_name_or_IP/phpmyadmin // I replace my real IP with domain_name_or_IP   It throws:  Not Found  The requested URL /phpmyadmin was not found on this server.  Apache/2.4.7 (Ubuntu) Server     Also here is the result of this command:  root@ubuntu:/etc/apache2/conf-available# ls     See? there is not any file related to phpMyAdmin. Does anybody know what's wrong?


Salesforce query for working in code for testing

Below is the query i want to run without using tooling api is there a way possible if not how to use tooling api in my code as i Have never used it in code apart from dev console. SELECT  QualifiedApiName FROM EntityDefinition where QualifiedApiName = 'objectname' AND IsFieldHistoryTracked = true AND IsReportingEnabled = true AND IsSearchable = true


I am not good in bash, i can do basic but when it comes into multiple if statements, then i am a no brainer for them.  I currently have the following statement made.  var=$(cat /sys/block/vda/queue/rotational) dtype='nil' if [ $var = 0 ]; then         dtype=' SSD ' elif [ $var = 1 ]; then         dtype=' HDD ' fi   Since many machines use sda instead of vda, im looking for a way to make it that there would be multiple? if statements (atleast thats how i understand it)  Basically. If the first  var=$(cat /sys/block/vda/queue/rotational) command gives me and error, it would not print that one out. and it would choose this command instead. (Only if the first one is not working)   var1=$(cat /sys/block/sda/queue/rotational) dtype='nil' if [ $var = 0 ]; then         dtype=' SSD ' elif [ $var = 1 ]; then         dtype=' HDD ' fi


Can't create new folder from anywhere in Windows 7

I have this problem on two of my new laptops and can't seem to find a decent workable solution elsewhere in forum land. The problem is that on my Windows 7 Professional machines the right mouse button doesn't show the New Folder option and elsewhere as well (via Explorer) I'm unable to create new folders.   I'll be happy to get this tiny problem resolved and declare that Windows 7 is almost perfect! Thanks to all of you in advance for your contribution!  PS: None of the Vista solutions seem to work here!      Tried NewFolderFix.reg, didn't work - "Not all data was succesfully written to the registry. Some keys are open by the system or other processes."  Converted FolderFix.reg to .inf file and that worked.  Don't recall the problem appearing after an update.  MS answer to the explore process hanging (KB 972685) was to install the latest Visual C++ Update (vcredist.exe).  Nope. That didn't help either.  I haven't touched Silverlight since installation when Windows 7 hit the shelves. I tortured the RC installation before that, and never had problems there either.    UPDATE-  Logged back into Administrator account, still missing from there. Spent a bit more time looking instead of just fixing. Just yto make sure, logged back into my user account - still OK there.  Turns out the entries in HKCR\CLSID were the culprit here. Reg file wouldn't take again (as above) but inf file fixed it. This key was unable to be entered from regfile, or altered or deleted in Regedit (Permissions).   Don't quite understand why a common key in HKCR needed to be entered separately for each user.   Here is the file I used to fix it. Just copy into notepad, save as newfolderfix.inf, rt-click and select Install  ================================================================  [Version]  Signature=$Windows NT$  [DefaultInstall]  AddReg     =REGEntries.AddReg  [REGEntries.AddReg]  HKCR,"%String0%",,0x0,"CLSID_ExecuteFolder"  HKCR,"%String0%\InProcServer32",,0x0,"ExplorerFrame.dll"  HKCR,"%String0%\InProcServer32","ThreadingModel",0x0,"Apartment"   [Strings]  String0 = "CLSID\{11dbb47c-a525-400b-9e80-a54615a090c0}"  =============================================================   Thanks to others who helped point me in the right direction.


Milestone aspect ratio in pgfgantt adjusted for units?

So: I have a Gantt chart created with pgfgantt where in order to fit my pages I have included  x unit=1.4cm,y unit chart=6mm   in its preamble.  This means that milestone shapes are spread out horizontally.  How can I change the vertical and horizontal units of a Gantt chart in a way which doesn't affect the aspect ratios of elements like milestones?


Table of contents: same colour for all entries

I try to  generate a tableofcontents which I will get, but the color of the numbering+text for sections, subsections is different than the color of the pagenumber. What am I doing wrong ? Am I using the right packages, or too many packages, or not in the right order?  My code looks like :  \documentclass[twoside]{article}  % Packages required  \usepackage{calc} \usepackage{doxygen} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage{makeidx} \usepackage{multicol} \usepackage{multirow} \usepackage{textcomp} \usepackage[table]{xcolor} %\usepackage{color}  % Font selection \usepackage[T1]{fontenc} \usepackage{mathptmx}            %  \usepackage[scaled=.90]{helvet}  %  \usepackage{courier}             %  \usepackage{amssymb} \usepackage{sectsty} \renewcommand{\familydefault}{\sfdefault} % \usepackage{float} % for the "pageanchor" \usepackage[titles]{tocloft} % Einrücken \tocloftpagestyle{fancy} % Headers & footers \usepackage{fancyhdr}  % making  use of the fancy-package \pagestyle{fancy} % \usepackage{titletoc} \usepackage{titlesec} % \titlespacing{\section}{0pt}{0cm}{1cm} % move the "next" text a little bit down  \titlespacing{\subparagraph}{0pt}{0pt}{0pt} % \titleformat{name=\section}[hang]{\color{black}\hrule\vspace{-1cm}}{\cmssbx\color{blue}\thesection}{1.8em}{\cmssbx\color{blue}}{\cmssbx\color{blue}}   % \let\stdsection\section \renewcommand{\section}{\newpage\stdsection} % start every section on a new page  %================================ \begin{document}  \tableofcontents


Proof for the funky trace derivative : $d (\operatorname{trace} (ABA'C))$?

Given three matrices $A$, $B$ and $C$ such that $ABA^T C$ is a square matrix, the derivative of the trace with respect to $A$ is:  $$ \nabla_A \operatorname{trace}( ABA^{T}C )  = CAB + C^T AB^T $$  There is a proof . However, I was not able to understand the second line of the proof. it says something like this:  $$ \nabla_A \operatorname{trace}( ABA^T C )= \nabla_\bullet \operatorname{trace}(f(\bullet)A^{T}C) + \nabla_\bullet \operatorname{trace}(f(A) \bullet^T C) $$  Where  $f(A) = AB$  I tried searching the proof or any hint using google, but I couldn't fine anything. Could anyone please help me with this second line. I cannot sleep. I am obsessed with this proof.


Suppose that $T$ is continuous map from an interval $I$ to itself. Moreover, suppose that there exists $x_1 < x_2 < x_3 < x_4 $ such that   $$T(x_1) = x_2, T(x_2) = x_3, T(x_3) = x_4\ \  \text{ and }\ \ T(x_4) \le x_1.$$   Prove that $T$ has an orbit of period 3.   I don't really know how to start the problem. I am wondering how do I apply Sharkovskii's Theorem to the problem? Helps are much appreciated!  As we are given $x_1 < x_2 < x_3 < x_4 $ such that $T(x_1) = x_2, T(x_2) = x_3, T(x_3) = x_4 $ and $T(x_4) \le x_1$, we get  $ x_1 < x_2 = T(x_1) < x_3 = T(x_2) < x_4 = T(x_3)$. Also note that $T(x_4) \le x_1$, then $T(x_4) \le x_1 < T(x_3)$.


Can you have multiple enchanted Fire Lashes?

Relating to :  Can you have multiple fire lashes, each enchanted differently (for example, +1 shock and +2 keen, choosing each time you summon a fire lash which type you want?


Why is it that when I add up the product of cofactors for one row and a corresponding element of any other row , the answer is 0? For example:   This seems to work for all matrices but I'm unable to figure out why.


Delete Ubuntu or get back to Windows from GNU GRUB terminal

I had a partition on my computer for a while. Recently I wanted to delete it. So I deleted the partition of Ubuntu on my Windows computer. The thing is that I did it the wrong way. I just deleted it and reset my computer to the fabric settings. But when it started resetting, the GNU GRUB terminal appeared. Now I don’t know how I can go back to Windows system or how can I just delete Ubuntu from the grub terminal.  The only thing I see when I turn on my computer is the GNU GRUB screen with a prompt.  What can I do in this situation?


How to change background color in diffuse color render pass?

I looked around and seems like its not possible according to another post. As a workaround, i'm using a bunch of white images to act as the background color change. Any way to change the black color itself or a better workaround?


How can I search for the literal '[' with python 3.9.5?

I have the following code: import re  pattern = '\[[0-9]+\]' testString = '6581_1_[14]_G' result = re.match(pattern, testString)  if result:   print("Match") else:    print("No Match")  I would like my result to show "Match" when [14] is found. What has changed with Python3.9.5 that will not give me the desired result. I have reviewed  but from what I read, my code is correct. Any suggestions


If $a + b \sqrt{c} = d + e \sqrt{f}$ can we equate the numbers?

Let $a, b, d, \text{ and } e$ be integers; Let $c \text{ and } f$ be positive integers greater than or equal to 2. If the following is true:  $a + b \sqrt{c} = d + e \sqrt{f}$ $b \neq 0,  e\neq0$ $c \text{ and } f$ are square-free.  Then is it true that $a=d, b=e,\text{ and } c=f $? Edit: I added the condition that $c$ and $f$ are at least 2.


Is there any comic book canon for Batmans lack of morals in Dawn of Justice?

I just watched Batman V Superman: Dawn of Justice, and in it, Batman seems to display a complete lack of moral code.  He has no issue with killing in the name of the law, even throwing a man through a floor (I assume that would break his neck or fracture his skull), repeatedly stabbing a man to death, shooting a fair few people, not to mention the branding of criminals and using the Gotham prison system as his own personal outfit to deal with/kill criminals.  He was even referred to as 'the warden' in the last Lex Luther scene. This is contrary to the Christopher Nolan interpretation in the Dark Night trilogy, and the (few) comic books that I have read where Batman attempts to non-lethally deal with his enemies, and ensure that they face justice.  I realize that in this movie, Batman is old, bitter and scarred after fighting for years, so he may have become a tad overzealous in his crime fighting ways.  He had a robin, and then lost him.  Is there any comic book interpretations of Batman where he takes the ultra-violent role of Judge, Jury and Executioner?


Java removing elements from List of maps

I have Java ArrayList<Map<String, Object>>. Is it okay to remove elements from that list as follows:      for (Map<String, Object> anObject : manyObjects) {         if (anObject.get("x").equals("y")) {             manyObjects.remove(anObject);         }     }   Is there anything fundamentally wrong with this approach?


Is there a $2\times2$ matrix $X$ with real entires such that $X^2 +2X = -I_2$ other than $X=I_2$?   If the answer is yes, can someone explain it to me?


Javascript - Limit the number to no decimals

I'm using following Javascript code in one of my calculations:   var bx1 = parseFloat(tx9) * ( 70 / 100 );  The output of bx1 is showing in decimals. However, I want it to be no decimals. Looking for some help!      Eg. bx1 = 700*70/100 = 489.999. I want it either 489 or 490, anything is fine.


Let $a_n$ be a sequence in set of real numbers. Assume $a_n$ converges to $a$ in $\mathbb{R}$. Show that $\left\{a_{n}:n\in\mathbb{N}\right\} \cup \left\{ a\right\}$ is closed  Recall. $X\in\mathbb{R}$ is closed if and only if the complement of $X$ is open.  Let $X=\left\{a_{n}:n\in\mathbb{N}\right\} \cup \left\{ a\right\}$ be a set.   I need to show that $X^c$ is open. Let $t\in X^c$. Then, $t\not\in X$.   So what should I do?


With udisksctl I'm able to power-off device: udisksctl power-off --block-device /dev/sdd  But how can I power it back ON from commandline?


The summation of reciprocal of factorial of number

$$\lim_{n\to \infty} S_n=\lim_{n\to \infty}\sum_{k=1}^n\frac{1}{n!}$$  I need to show that this series is a convergent series. How do I show this series to be convergent? My book says that this is convergent. Please provide sone hint.


How to write a secure username & password verification in PHP to prevent SQL Injection?

How to write a secure username & password verification in PHP ?  I use MD5 for password ($pass) and string for username ($name) and write this code in PHP for user account verification.  $post_vars = $_POST; if (isset($post_vars['name']))       {         $name = $post_vars['name'];         $pass = md5($post_vars['pass']);         $dbConn = db_open();         $sql = "select `password` from `user_table` where `user_name` = '$name' limit 1;";         echo $sql;         $sth = $dbConn->prepare($sql);         $sth->execute();         $row = $sth->fetch();         if ($row !== false)         {           $verify = $row['password'];           if ($pass == $verify)           {             $_SESSION['isLoggedIn'] = true;             header('Location: ' . _DEBUG_URL_);           }           else $iframeURL = _LIB_URL_ . 'accessdenied.htm';         }         else echo 'No results found!';     }   Is this query hackable by method of SQL Injection, and how it can be hacked ? I use PDO for MySQL.   "select `password` from `user_table` where `user_name` = '$name' limit 1;"


Why are these mesh white and does not appear in rendering?

I'm trying to edit this intro , but the mesh contained in the intro does not appear in rendering, the mesh appears all white in preview.  In the video contains the link with the file blender.  Thanks to all who tried to help me  Cheers!


How do I turn values from a String into a Matrix

So I am working on this 8 puzzle game and I need to set an initial state. So lets say I am given the input "1b2 345 678" and I want to do various search methods and move pieces around (in particular the b (blank) piece). So I want to represent that given input in a matrix like:  1 b 2  3 4 5 6 7 8  So I wrote the following code:  public class EightPuzzle {      String[][] gameBoard = new String[3][3];     String bLocation;     String board;       /*public void ReadFromTxt(String file) throws FileNotFoundException, IOException {         String read;          FileReader f = new FileReader(file);         int i = 0;         int j;         BufferedReader b = new BufferedReader(f);         System.out.println("Loading puzzle from file...");         while((read = b.readLine())!=null){             if(read.length()==3){                 for(j=0;j<3;j++){                     board[i][j] = (int)(read.charAt(j)-48);                 }             }             i++;         }         b.close();         System.out.println("Puzzle loaded!");     }*/      public String[][] setState(String board){          gameBoard[0][0] = board.substring(0,1);         gameBoard[0][1] = board.substring(1,2);         gameBoard[0][2] = board.substring(2,3);         gameBoard[1][0] = board.substring(4,5);         gameBoard[1][1] = board.substring(5,6);         gameBoard[1][2] = board.substring(6,7);         gameBoard[2][0] = board.substring(8,9);         gameBoard[2][1] = board.substring(9,10);         gameBoard[2][2] = board.substring(10,11);         System.out.println(gameBoard);          return gameBoard;      }      public static void main (String[]args){          EightPuzzle b1=new EightPuzzle();         b1.setState("b12 345 678");      }  }   But when I run it, it just displays that my gameBoard is stored as:     [[Ljava.lang.String;@15db9742  What am I doing wrong?


Computing integral of distribution function

Let $F$ be a distribution function. Compute   $$\int_{-\infty}^{\infty} F(x+10)-F(x)\mathop{dx}$$  I tried to do this using the definition of the cdf. I wrote it out and took complements but then I just got a bunch of double integrals. I'm pretty sure you need to use Fubinis theorem (not 100% sure though) to solve this problem but I really cannot figute this out. I am greatful for anyone's assistance


Prove that if $x$ is odd, then $x^8 \equiv 1 \pmod{32}$.   I tried using the expansion $$(2k+1)^8 = 256 k^8+1024 k^7+1792 k^6+1792 k^5+1120 k^4+448 k^3+112 k^2+16 k+1,$$ but I don't see how that helps. Is there an easier way?  How would we prove in general that $x^{{2^k}} \equiv 1 \pmod{2^{k+2}}$ if $x$ is odd?


Run program as admin without entering credentials? (Automatic Win7 elevation)

I'm working on my systems without admin rights, but I'd like to start sysinternals process explorer as full admin to have some debug access on my machine.  Right now I run procexp.exe with parameter /e, which prompts me for admin credentials.  Of course I could use runas, but for this I would need to put my admin passwort in clear text in the corresponding batch file, which is something I don't like to do.  Is there a way to tell windows that this one procexp.exe is allowed to run as admin without needing to enter the credentials? In Unix systems this is done using setuid (or setgid), but how can I achieve this functionality in windows?


How can I spread the ToC over two slides in beamer?

As I have a rather long Table of Contents in my beamer document (I have four section, each composed of at least five subsections), I'd like to spread it over two slides rather than just one. How can I do that? My code so far:  \documentclass[leqno,mathserif]{beamer} \usepackage{graphics,bm} \usetheme{Luebeck} \setbeamercovered{transparent} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english,french]{babel}  \newcommand{\diff}{\mathop{}\mathopen{}\mathrm{d}} \setbeamercovered{transparent} \usepackage{enumitem} %the university of bamberg colors % colors to be used \definecolor{fu-blue}{RGB}{0, 51, 102} % blue text \definecolor{fu-green}{RGB}{153, 204, 0} % green text \definecolor{fu-red}{RGB}{204, 0, 0} % red text (used by \alert)   %the usage of the colors in special elements %\setbeamercolor{title}{fg=UBBlack} %\setbeamercolor{frametitle}{UBBlack} \setbeamercolor{structure}{fg=fu-blue}  \usepackage[tightpage]{preview}   \setbeamercolor{block title example}{fg=black,bg=red!20!green!50!white} \setbeamercolor{block title}{fg=black,bg=blue!50!white} \setbeamercolor{block title alerted}{fg=black,bg=red!70!white}   \AtBeginSection[]  {  \begin{frame}<beamer>{Plan}  \tableofcontents[currentsection]  \end{frame}  }   \title[SDE]{SDE} \subtitle{XXXXXXXXXXXXXXXXXXX} \author[XXXXXXXXXXXX]{XXXXXXX}  \institute{XXXXXXXX} \date{\today}  %\setbeamertemplate{navigation symbols}{\insertslidenavigationsymbol}  \begin{document} \begin{frame} \titlepage \end{frame} \section[Plan]{} \begin{frame} \tableofcontents \end{frame}  \section[Introduction]{Introduction} \begin{frame} (introduction) \end{frame}  \section[EDS]{EDS} \subsection[Définition XXX]{Définition XXX} \begin{frame} \frametitle{Définition XXXX} bla bla bla bla  \end{frame}  \subsection[Solution XXXXXXX]{Solution XXX} \begin{frame} \frametitle{Solution XXXX} bla bla bla bla bla \end{frame}  \subsubsection[Diverses notions de solutions]{Diverses notions de solutions} \begin{frame} \frametitle{Diverses XXXXXXXXXXX} \framesubtitle{Solution XXXXXXX} bla bla bla \end{frame}  \begin{frame} \frametitle{Diverses XXXXX} \framesubtitle{Solution XXXXX} bla bla bla \end{frame} \subsubsection{Diverses XXXX} \begin{frame} \frametitle{Diverses XXXX} \framesubtitle{Unicité } bla bla bla   \end{frame}  \subsection{Diverses notions d'existence et unicité des solutions } \begin{frame} \frametitle{Existence et unicité des solutions } \framesubtitle{Sous Condition de lipschitzienne } bla bla bla \end{frame}  \begin{frame} \frametitle{Existence et unicité des solutions} \framesubtitle{Sous Condition de XXXXXXX} \end{frame}   \section[Diffusion]{Diffusion} \subsection{Définition d'une diffusion d'Itô} \begin{frame} \frametitle{Définition d'une diffusion d'Itô} \framesubtitle{Notation} bla bla bla  \end{frame}  \begin{frame} \frametitle{Définition d'une diffusion d'Itô} bla bla bla  \end{frame}  \subsection{Flot stochastique} \begin{frame} \frametitle{Flot stochastique} \framesubtitle{propriété du Flot stochastique} bla bla bla  \end{frame}  \subsection{La propriété de Markov} \begin{frame} \frametitle{La propriété de Markov} \framesubtitle{Notation} bla bla bla  \end{frame}  \begin{frame} \frametitle{Propriété de Markov} \framesubtitle{Propriété de Markov version :Faible et Forte} bla bla  \end{frame}  \subsection{Semi-groupes et générateurs d'une diffusion d'Itô} \begin{frame} \frametitle{Semi-groupes} \frametitle{Définition d'un Semi-groupes} bla bla bla  \end{frame}  \begin{frame} \frametitle{Définition d'un Générateur d'une diffusion d'Itô} \framesubtitle{Notation} bla bla  \end{frame}  \subsection{La formule de Dynkin} \begin{frame} bla bla bla  \end{frame}  \section[Simulation]{Simulation} \subsection{A-1} \begin{frame} bla bla bla  \end{frame} \subsection{A-2} \begin{frame} bla bla bla \end{frame} \subsection{A-3} \begin{frame} bla bla \end{frame} \subsection{A-4} \begin{frame} bla bla  \end{frame} \subsection{A-5} \begin{frame} bla bla \end{frame} \end{document}


Command line processing - tokens and metacharacters

I am just learning about command line processing, and hoping someone can confirm how I am interpreting the following statement. In the book I am reading the first step in command line processing is:        Splits the command into tokens that are separated by the fixed set of metacharacters: SPACE, TAB, NEWLINE, ;, (, ), <, >, |, and &. Types of tokens include words, keywords, I/O redirectors, and semicolons      Am I right in thinking that  for  the command:  ls | more  ls and more are the tokens, and the pipe character is the meta character separating the two tokens?  I got bit confused as it goes on to say that < and > are meta characters, but then says that tokens can be I/O directors.


proof of binomial identity involving double sum

It's asked to simplify the sum  $$\displaystyle\sum_{0\le i <j\le n+1} \binom{n}{i} \times \binom{n+1}{j} $$  inspecting first values of $n$ shows the sum if apparently equal to $4^n$  I tried re-writing the sum as   $$\displaystyle\sum_{j=1}^{n+1} \binom{n+1}{j} \displaystyle\sum_{i=0}^{j-1} \binom{n}{i}  $$ but that doesn't seem to lead us to the result.  Any suggestions are welcome.  Thanks.


Two six-sided dice are rolled. Find the probability distribution of $\max[X_1,X_2]$

I am not sure if I am understanding this problem correctly. It says;     Two six-sided dice are rolled. Let X1 and X2   denote the outcomes of the first and second die roll respectively.   Define a new random variable Y such that:       Y = max{X1 , X2}   Does this mean I am supposed to roll the two dice and find the largest roll?   From my own understanding, if I am supposed to find the largest roll from the two dice roll, is this example of mine correct?  ex: the outcomes are {2,3} then Y=3  Moving on to what is asked of me:     Find the probability distribution of Y   For this part, do I need to find all the possible outcomes of the two dice? For example;   {1,1} {1,2} {1,3} {1,4} {1,5} {1,6}  {2,1} {2,2} {2,3} {2,4} {2,5} {2,6}  {3,1} {3,2} {3,3} {3,4} {3,5} {3,6}  etc....  And do I need to find the probability of the sum of two dice? For example;  Sum = 2 , Prob = 1/36  Sum = 3 , Prob = 2/36  Sum = 4 , Prob = 3/36  etc....  After this, what do I do from here to find the probability distribution of Y?   If I am totally off track, explanation from you guys will be great. Sorry if it looks like I'm asking too much. Please feel free to correct me on anything!


Ubuntu 13.04 users switching without password

My wife and I share the same PC, we only use two different users for easier switching between each other's task without interrupting anything. We're not concerned about privacy nor security.  Whatever solution you think you know, I've already tried, nothing that could work on Ubuntu versions up to 12.10, doesn't work anymore on 13.04, that's why I'm asking something that seems to be answered so many times in the past.  I've already disabled the "lock screen" for both users, and this is not enough.  Please tell me what could be a good solution for this. Thanks!


I have an overloaded function, their definitions are the same and only one parameter change. So, I tried to create a template function but when I call it I got a symbol lookup error.  Header file  void func(Myobject obj); void func(MySecondObject obj);   Source file  template<typename T> void func(T obj) { obj.foo(); }   Test file  #include "MyHeaderFile.h"  func(MySecondObject()); // symbol lookup error at runtime   Thanks.


Prove that every linear map on a finite dimensional vector space is continuous

Need to know how to prove that every linear map is continuous.  working with finite dimensional vector spaces. It's one of the problems I'm currently working on as revision for an upcoming test.  I know that that a map is continuous if the preimage of any open set is open but can't seem to figure out the full proof.


I tried to solve but could not develop the left part of the equation    Thanks


Deleted all files in dir, except ones within a json file

I have a static assets server with 1 million+ images sitting in a folder, most of them I don't need anymore.  I have a list of the filenames I do still need in a .json file.  How in bash can I delete every file in that directory, except if the file name exists in the json list?  Thanks in advance!


Why does what appaears to be a Geomtric Series simplifiy to this?

[enter image description here][1]  $$\sum_{k=1}^{\infty} k[(1-p)^k +p^k(1 -p)] =(1-p)p \sum_{k=1}^{\infty} [k(1-p)^{k-1} +\sum_{k=1}^{\infty} kp^{k-1}]$$  $$=(1-p)p + [\frac{1}{p^2} +\frac{1}{(1-p)^2}] =\frac{1-2p+2p^2}{p(1-p)}$$   Can someone please let me know how the 2 summed series simplified to $\frac{1}{p^2}$ and $\frac{1}{p-1}^2$   I suspect it to be a geometric series and I seem to have $\frac{1}{p}-\frac{1}{1-p}$


On forms, is inline placeholder text better than a label outside each field?

I am familiar with research on label placement to the left or above. I tend to go with right justified with the label to the left of the field for my form designs.   However, inline placeholder text is trending and it does further reduce page clutter. Is there any research out there supporting its use? Has anyone conducted usability studies on their forms that they can share?    Research Links:


Images instead of radio buttons or dropdown list?

I would like the user to choose the category when he creates a new node content. However, instead of radio buttons or dropdown list I would like to have selectable images, with exactly the same logic. Is it possible to somehow ovveride radio buttons / dropdown lists with options being displayed as images? So, for example instead of a radio button with 'Cars' label I would like to have a picture of a car, then for the next category another picture, etc. Any advice appreciated.


I have obtained my Microsoft Windows 7 Product Key, and I have decided to do a fresh install the Windows 7 Home Edition.  How should I create the bootable media to install a 64-bit Windows 7 Home Basic edition?  I was redirected by Microsoft support representative to , but he himself said that this link is for retail key, and my key is not retail key but rather one shipped with the machine (OEM key?).  My question is actually in extension with the question posted .  I have to Create this new thread for the 2 reason →   I do not have 50 reputation yet to ask question in comment box there. I have lots of questions that thread was unable to answer.   That thread gives a link →  I could Not find Window 7 Home Basic Download link for 64 bit window. Can some one Please help me with that?  I found this → en_windows_7_home_basic_with_sp1_x86_dvd_u_676470.iso     But I am not sure if it is equivalent to 64 bit installation also.  If my above question is resolved then my 2nd question will be → Since the download link is .iso extension so just by saving it in dvd will it be a bootable window or we have to still burn it to create a DVD?  I have  4.7GB DVD and I hope that will be sufficient.


What license to use while putting papers on the Arxiv?

I am new to this and not sure what to make of all the options available. I am interested in putting a machine-learning-related preprint, which will potentially be submitted to places like NIPS/ICLR/ICML in the future.   arXiv.org perpetual, non-exclusive license to distribute this article (Minimal rights required by arXiv.org)  Creative Commons Attribution license (CC BY 4.0)  Creative Commons Attribution-ShareAlike license (CC BY-SA 4.0)  Creative Commons Attribution-Noncommercial-ShareAlike license (CC BY-NC-SA 4.0)  Creative Commons Public Domain Declaration (CC0 1.0)


If a person uses the wrong form of your or you're, would that be considered a spelling or grammatical error? I can really see it swinging both ways...  A sentence with the incorrect use of the word is technically grammatically incorrect, but the root cause could be simple spelling error. If a person speaks a sentence with an incorrect use of the word in question, it seems grammatically correct. When you look at the reader's script, it is then determined to be a spelling error.  When shown in writing, should the error be marked as a spelling or grammatical error?


Automatically download missing packages in texstudio

I want to use package clipboard through texstudio, but it shows the package doesn't exist on my system. I faintly remember that earlier texstudio used to automatically download required packages. Not sure how it stopped doing it. How can i configure texstudio to do the same? In case I am wrong, and texstudio doesn't have the said feature, can someone let me know how to manually download a package using texstudio. Thanks.


The computer didn't automatically boot from USB,

I am new in Ubuntu and created a bootable USB disk first and restarted the PC(with OS Windows8) as recommended in the tutorial. However, the computer didn't automatically boot from USB, no menu box appeared on screen to choose "Try Ubuntu" or "Install Ubuntu", even though I tried holding esc, F12, F10. I appreciate any help!


Consider an equation $\frac{dy}{dx}=y - x$. Is there a solution to this? If so, will it have a local mininum along $y=x$? Sorry if the question is not specific, this is the best I can phrase it, and I don't really understand how to approach the problem.


Does it just vanish into space leaving nothing behind or does it expel some material?    Also, talking more about black holes, as far as I understand the term "temperature", it is defined by the amount of kinetic energy of the particles of a body and from what I have read, there are no particles inside a black hole, I know that you can find the temperature of a black hole by analyzing its Hawking radiation but I cant really understand how the term "temperature" can be applied to a black hole. Does it mean that whatever is that it is inside a black hole has kinetic energy? Have physicist already experienced the death of any regular black hole (by regular I mean space-sized black holes not micro ones created in labs)? Also, where is the Hawking radiation form? Because if it is released by the black hole I bet it must have formed outside the event horizon, but how exactly?


Foreign text in Blender isn't processed correctly

Blender has issues when dealing with non-English characters.   I can't enter Russian text in 3D objects. Blender displays folder and file names incorrectly if they are in Russian.   Is there a solution to these text-encoding problems?  UPDATE    Demonstration of only Bfont available:


How was Jonas Quinn able to learn so fast?

Did Stargate SG-1 ever explain why the Kelownans like Jonas were able to learn so fast?  Did it have something to do with the experiments that were conducted by the Goa'uld?


Finite group of even order has an element $g \neq e$ such that $g^ 2 = e$

I am trying to prove the following result.  Let $G$ be a finite group of even order. Prove that there exists $g \in G$ where $g^2 = e$ and $g \neq e$.  Here is my attempt.  Since $G$ has even order, $|G| \geq 2$. Hence, there exists some $g \neq e$. Since $G$ is of a finite order, there must exist some power, possibly not minimal, such that $g^m = e$. (Otherwise, the order is infinite.) Let $n$ be the order of $G$. Then $n \mid m$, so $m = nk$ for some $k \in \mathbb{N}$. But $G$ is of even order, so $n = 2j$ for some natural number $j$, so $m=nk=(2j)k = 2(jk)$. We have $$g^m = e \iff g^{2jk} = (g^{jk})^2.$$  The one remaining thing to show is that $g^{jk} \neq e$, but I'm having trouble accomplishing this. (I worry, actually, that we may have $jk = n$, in which case this wouldn't work.)


I noticed that the about section has a copyright date range from 2014 to 2015. This should probably be extended to the current year. It makes me wonder why that was apparently hard coded instead of automatically updating to the current year. So maybe this isn't really a bug?  App Version: 1.0.95   About Copyright 2014 – 2015, Stack Exchange Inc.


Can you please clarify the relation and differences between these nouns?   For example, is it proper to use "persons" instead of "people"? Are they the same? As I believe that "people" is plural, how come there exists the plural of the plural (=peoples)? Does it have any usage?


Please correct any mistakes in this proof and, if you're feeling inclined, please provide a better one where "better" is defined by whatever criteria you prefer.    Assume $2^{1/2}$ is irrational.  $2^{1/3} * 2^{x} = 2^{1/2} \Rightarrow x = 1/6$.  $2^{1/3} * {2^{1/2}}^{1/3} = 2^{1/2}$. if $2^{1/2}$ is irrational, then ${2^{1/2}}^{1/3}$ is irrational.  $2^{1/3} = 2^{1/2} / {2^{1/2}}^{1/3}$.  $2^{1/3}$ equals an irrational number divided by an irrational number.  $2^{1/3}$ is an irrational number.


ifconfig shows multiple network interfaces

When I run ifconfigon my Macbook air 2018 with MacOS Mojave 10.14.6 I get this:  lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384     options=1203<RXCSUM,TXCSUM,TXSTATUS,SW_TIMESTAMP>     inet 127.0.0.1 netmask 0xff000000      inet6 ::1 prefixlen 128      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1      nd6 options=201<PERFORMNUD,DAD> gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280 stf0: flags=0<> mtu 1280 XHC20: flags=0<> mtu 0 XHC0: flags=0<> mtu 0 VHC128: flags=0<> mtu 0 en3: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500     ether xx:xx:xx:xx:xx:xx      inet6 xxxx::xxxx:xxxx:xxxx:xxxx%en3 prefixlen 64 scopeid 0x7      nd6 options=201<PERFORMNUD,DAD>     media: autoselect (100baseTX <full-duplex>)     status: active ap1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500     ether xx:xx:xx:xx:xx:xx      media: autoselect     status: inactive en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500     ether xx:xx:xx:xx:xx:xx      inet6 xxxx::xxxx:xxxx:xxxx:xxxx%en0 prefixlen 64 secured scopeid 0x9      inet xxx.xxx.x.x netmask 0xffffff00 broadcast 192.168.1.255     nd6 options=201<PERFORMNUD,DAD>     media: autoselect     status: active p2p0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 2304     ether xx:xx:xx:xx:xx:xx      media: autoselect     status: inactive awdl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1484     ether xx:xx:xx:xx:xx:xx      inet6 xxxx::xxxx:xxxx:xxxx:xxxx%awdl0 prefixlen 64 scopeid 0xb      nd6 options=201<PERFORMNUD,DAD>     media: autoselect     status: active en1: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500     options=60<TSO4,TSO6>     ether xx:xx:xx:xx:xx:xx      media: autoselect <full-duplex>     status: inactive en2: flags=8963<UP,BROADCAST,SMART,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500     options=60<TSO4,TSO6>     ether xx:xx:xx:xx:xx:xx      media: autoselect <full-duplex>     status: inactive bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500     options=63<RXCSUM,TXCSUM,TSO4,TSO6>     ether xx:xx:xx:xx:xx:xx      Configuration:         id 0:0:0:0:0:0 priority 0 hellotime 0 fwddelay 0         maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200         root id 0:0:0:0:0:0 priority 0 ifcost 0 port 0         ipfilter disabled flags 0x2     member: en1 flags=3<LEARNING,DISCOVER>             ifmaxaddr 0 port 12 priority 0 path cost 0     member: en2 flags=3<LEARNING,DISCOVER>             ifmaxaddr 0 port 13 priority 0 path cost 0     nd6 options=201<PERFORMNUD,DAD>     media: <unknown type>     status: inactive utun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 2000     inet6 xxxx::xxxx:xxxx:xxxx:xxxx%utun0 prefixlen 64 scopeid 0xf      nd6 options=201<PERFORMNUD,DAD> ipsec0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1400     inet xx.x.x.xxx --> xx.x.x.xxx netmask 0xff000000    I'm not very good at networking stuff but this seems strange to me due to the fact that I never saw this many network interfaces on my old macbook air.  Question: Is this normal or could this be something bad? What can I do about it if it is something bad?  All the "x"s were not there originally, I changed the addresses to them instead


How can I automate a key press with command and option keys involved on a MacBook?

I'd like to automate the simultaneous key press of command, option and "s" on my MacBook, but unfortunately, I don't know Apple Script well enough to programme this. Any suggestions? Thanks!


How to compare a CharSequence to a String - Android

I have a class that places a text into an arrayList. Then it makes all the variables into CharSequences, when I try to compare the variables to a String such as == "test"; it doesn't work here is my code that I use to get the variables  class Item {             String descs;              public Item (String descs){                   this.descs = descs;                   }               public CharSequence getDescs() {                 return descs;             }         }   This is the code that compares it to the String   if(p.getDescs().toString() == "trash"){            descsView.setVisibility(View.GONE);                              }            else{               descsView.setText(p.getDescs());                              }   I know for a fact that p.getDescs() is equal to trash because when it sets the text for descsView it is set to trash. SO why doesn't the first if statement work?


Read Post Data submitted to ASP.Net Form

I have a working login form in an asp.net application.  Standard stuff with a username and password text box and a button to process the login.  Works fine.  I have a new requirement to allow the user to input the username and password from a separate plain html page that is not a part of my asp.net application.  I plan on achieving this using standard html - form, input, submit button etc.  The form action will be the URL of my asp.net login page and its method will be POST.    What I want to do in the C# code behind page of the asp.net login form, presumably in the Page_Load event, is to check if the request for the page contains a username and password value being passed in.  If it does then I need to read those values and process the login as if someone had clicked the login button on the asp.net page.  If not then I will display the login form as usual.    How do I check for the existence of, and read, the username and password values in the request for my page.


How can I check which songs or videos that I purchased from the iTunes Store have DRM restrictions?  All of the mobile OSes are very impressive to me at the moment, and I'm thinking about trying a non-iOS device again. I want to know now the impact it has on my Apple-sourced music collection though.  Is there a date cut-off for purchases when items went DRM free?


I know the answer is probably simple but i have tried many methods nothing worked. I am trying to turn a java code into mac and windows native runnables(exe/dmg) Now my netbeans ide generates a jar file and another lib folder containing another jar file. What is the exact procedure to turn these files to exe or dmg?  I tried many tools such as app bundler and launch4j but none worked. I suppose it is because it is NOT a single jar file? Anyone know efficient tool or simple tutorial for this please? Thanks


Proving G/N is simple if N is a normal subgroup of G

Suppose that G is a group and N < G a normal subgroup. Assume that there is no normal subgroup M < G with N < M. Prove that G/N is simple.  I am not really 100% sure where to start here. I feel like I may be missing something obvious but I'm not really sure. I know based off the information that N is the smallest normal subgroup of G, and that simple groups' normal subgroups are only the identity and themselves, so I can see the connection, I just can't see HOW to actually connect them


Permanently allow Chrome to access location

Recently, Google Chrome keeps loosing the ability to detect my location. When I open Google Maps, it has the icon indicating This site has been blocked from accessing your location and when I click it, a dialog containing Location is turned off in Mac system preferences is shown:  So I have to go to Enable Location Services:  But I am sure that I have done this several times recently. It seems that this setting is lost regularly (maybe for every Chrome auto-update?). How can I make this setting permanent?


Does "either A or B " preclude "both A and B"?

In mathematics, "A or B" includes "A and B". Does "either" mean "A or B but not (A and B)" or does it include the possibility of "A and B"? The context might be mathematics, formal logic or ordinary language.


$\mathbb{R}$ is not contained in $\mathbb{C}$

A teacher of mine says to me that the real numbers is NOT a subset of complex numbers, but that complex numbers has an isomorphic copy of real numbers with the isomorphism $x$ $\rightarrow$ $(x,0)$. I can see this if we consider the complex numbers as $$C=\{(a,b):a,b \in \mathbb{R} \}$$ because the real numbers are not ordered couples.  But what if I consider $$C=\{x+iy:x,y \in \mathbb{R}, i^2=-1\}?$$ Then $\mathbb{R}$ is a subset of $\mathbb{C}$ because $x= x+0$ for all $x \in \mathbb{R}$.  So... $\mathbb{R}$ is a subset of $\mathbb{C}$ or not?  Any help would be appreciated.  NOTE: My question is slightly different from the one "$a=a+0i$?" because I'm taking two definitions of $\mathbb{C}$ but there is more sets isomorphic to $\mathbb{C}$ and I want to know if always the reals are a subset of the complex numbers or not.


Proof of the L'Hôpital Rule for $\frac{\infty}{\infty}$

I ask for the proof of the L'Hôpital rule for the indeterminate form $\frac{\infty}{\infty}$ utilizing the rule for the form $\frac{0}{0}$.   Theorem: Let $f,g:(a,b)\to \mathbb{R}$ be two differentiable functions such as that:  $\forall x\in(a,b)\ \ g(x)\neq 0\text{ and }g^{\prime}(x)\neq 0$ and $\lim_{x\to a^+}f(x)=\lim_{x\to a^+}g(x)=+\infty$ If the limit $$\lim_{x\to a^+}\frac{f^{\prime}(x)}{g^{\prime}(x)}$$ exists and is finite, then  $$\lim_{x\to a^+}\frac{f(x)}{g(x)}=\lim_{x\to a^+}\frac{f^{\prime}(x)}{g^{\prime}(x)}$$  My attempt:  Since $\lim_{x\to a^+}f(x)=+\infty$, $$\exists \delta>0:a<x<a+\delta<b\Rightarrow f(x)>0\Rightarrow f(x)\neq 0$$  Let $F,G:(a,a+\delta)\to \mathbb{R}$, $F(x)=\frac{1}{f(x)}$, $G(x)=\frac{1}{g(x)}$. Then by the hypothesis $\lim_{x\to a^+}F(x)=\lim_{x\to a^+}G(x)=0$, $$\forall x\in(a,b)\ \ G(x)\neq 0\text{ and }G^{\prime}(x)=-\frac{1}{g^2(x)}g^{\prime}(x)\neq 0$$ The question is, does the limit $$\lim_{x\to a^+}\frac{F^{\prime}(x)}{G^{\prime}(x)}=\lim_{x\to a^+}\frac{-\frac{1}{f^2(x)}f^{\prime}(x)}{-\frac{1}{g^2(x)}g^{\prime}(X)}=\lim_{x\to a^+}\frac{g^2(x)f^{\prime}(x)}{f^2(x)g^{\prime}(x)}$$ exist?   The limit $$\lim_{x\to a^+}\frac{f^{\prime}(x)}{g^{\prime}(x)}$$ exists by the hypothesis but we don't know if the limit $\displaystyle\lim_{x\to a^+}\frac{g^2(x)}{f^2(x)}$ exists to deduce that the limit $$\lim_{x\to a^+}\frac{F^{\prime}(x)}{G^{\prime}(x)}$$ exists to use the L'Hôpital Rule for the form $\frac{0}{0}$.  EDIT: After discussing it with other users in the site, we came to the conclusion that this proof is only partial and can't logically be continued to yield the Theorem.  As a result, the rule for the $\frac{0}{0}$ form can't be used to proove the rule for the  $\frac{\infty}{\infty}$ form. Mr. Tavares and myself have already given two different proofs (with the pretty much the same main idea) of the Theorem in question using Cauchy's Mean Value Theorem. You can read them below. You can also read the proof Rudin gives for a stronger version of the Theorem (that does not suppose that $\lim_{x\to a^+}f(x)=+\infty$) in his book Principle of Meathematical Analysis. If you have any objections in either proofs please let me know. Thank you.


I recently migrated some sites from my old server to a new one with the same configuration on DigitalOcean.  The sites working great except for the php mail() function that isn't sending emails.  The php configuration is the same of the old server, and I can't see where the problem is.  The postfix configuration is:  $ postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 html_directory = no inet_interfaces = localhost inet_protocols = ipv4 mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = MY_DOMAIN myhostname = MY_DOMAIN myorigin = $mydomain newaliases_path = /usr/bin/newaliases.postfix queue_directory = /var/spool/postfix readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES sample_directory = /usr/share/doc/postfix-2.6.6/samples sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop unknown_local_recipient_reject_code = 550   And when a make a test, the maillog output is:   Jun  3 16:43:18 tori postfix/pickup[3648]: 7F6D8480E73: uid=500 from=<santiago@gmail.com> Jun  3 16:43:18 tori postfix/cleanup[4033]: 7F6D8480E73: message-id=<20150603204318.7F6D8480E73@MY_DOMAIN> Jun  3 16:43:18 tori postfix/qmgr[3649]: 7F6D8480E73: from=<santiago@gmail.com>, size=360, nrcpt=1 (queue active) Jun  3 16:43:18 tori postfix/error[3992]: 7F6D8480E73: to=<santiago@gmail.com>, relay=none, delay=0.06, delays=0.05/0/0/0.01, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to aspmx5.googlemail.com[74.125.205.27]:25: Connection timed out)   Can you help me?  Thanks.