My algorithm pseudo code is not being published beyond one page though there is no syntax error. The PDF  produced via LaTeX is of only one page but my entire algorithm requires more than one page. So only one page of my algorithm is published in PDF, rest of the matter is truncated. Why is there a limit of one page? Please suggest remedies.  \documentclass{article} \usepackage{amsmath} \usepackage{algorithm} \usepackage[noend]{algpseudocode}  \makeatletter \def\BState{\State\hskip-\ALG@thistlm} \makeatother  \begin{document} \begin{algorithm} \caption{My algorithm}\label{euclid} \begin{algorithmic}[1] \Procedure{MyProcedure}{} \State $\textit{stringlen} \gets \text{length of }\textit{string}$ \State $i \gets \textit{patlen}$ \BState \emph{top}: \If {$i > \textit{stringlen}$} \Return false \EndIf \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \State $j \gets \textit{patlen}$ \BState \emph{loop}: \If {$\textit{string}(i) = \textit{path}(j)$} \State $j \gets j-1$. \State $i \gets i-1$. \State \textbf{goto} \emph{loop}. \State \textbf{close}; \EndIf \State $i \gets i+\max(\textit{delta}_1(\textit{string}(i)),\textit{delta}_2(j))$. \State \textbf{goto} \emph{top}. \EndProcedure \end{algorithmic} \end{algorithm} \end{document}

I'm starting my experiment with LaTeX, i'm writing an article and all that I want is to embed an algorithm inside normal text, this is my code:  \documentclass{article} \usepackage{algorithmic} \begin{document} \section{Lettura file .gpx}  Lorem ipsum ...  \algsetup{indent=1.7em} \begin{algorithm} \caption{Alg capt} \label{alg1}  \begin{algorithmic}[1] ... algorithm here... \end{algorithmic} \end{algorithm} \end{document}   This is fully working but algorithmic uses a pagebreak automatically, how can I avoid this break and show the algorithm immediately after "lorem ipsum" part?


I am new in the programming world and I am stuck with a simple if statement I have some enviroment variables given by gitlab, and i have some if statment and depending of the variable value it will be deploy to Openshift import os  if (os.environ['CI_JOB_STAGE'] is 'master'):     #deploy to Openshift master (Production enviroment  )     print(os.environ['CI_JOB_STAGE'])  if (os.environ['CI_JOB_STAGE'] is 'test'):     #deploy to Openshift test(Test enviroment )     print(os.environ['CI_JOB_STAGE'])   but the above code doesn't return anything. Anyway I print out  the current os.environ['CI_JOB_STAGE'] variable to check its value and I got this print(os.environ['CI_JOB_STAGE']) Output : test That means the variable is not empty but I do not understand why the if statement does not return anything

My  has failed me.  In Python, are the following two tests for equality equivalent?  n = 5 # Test one. if n == 5:     print 'Yay!'  # Test two. if n is 5:     print 'Yay!'   Does this hold true for objects where you would be comparing instances (a list say)?  Okay, so this kind of answers my question:  L = [] L.append(1) if L == [1]:     print 'Yay!' # Holds true, but...  if L is [1]:     print 'Yay!' # Doesn't.   So == tests value where is tests to see if they are the same object?


I would like to pass a variable directly into the select statement to identify the table, so the code recognizes SELECT * FROM us_total_Y. Is this possible with PDO? I have googled around and looked through three books but don't see an example.  Would anyone know? Thank you in advance.    $loc = 'us';   $stmt = $pdo->prepare('SELECT * FROM :loc _total_Y');   $stmt->execute(array('loc' => $loc));

Why can't I pass the table name to a prepared PDO statement?  $stmt = $dbh->prepare('SELECT * FROM :table WHERE 1'); if ($stmt->execute(array(':table' => 'users'))) {     var_dump($stmt->fetchAll()); }   Is there another safe way to insert a table name into a SQL query? With safe, I mean that I don't want to do  $sql = "SELECT * FROM $table WHERE 1"


This behavior in Python 3.7.2 (did not check other versions) surprises me. The goal is to have a list of dictionaries with the same keys and be able to manipulate individual values. Using list index and dictionary key, the expected behavior is that I should be able to set value of a key of a specific dictionary.   Here's a sample code:      lst = []      lst.append({"A" : 0, "B" : 0 })     lst.append({"A" : 0, "B" : 0 })      lst[1]["B"] = 11     print(lst)      lst2 = [{"A" : 0, "B" : 0 }]*2      lst2[1]["B"] = 11     print(lst2)   Here's the result:  [{'A': 0, 'B': 0}, {'A': 0, 'B': 11}] [{'A': 0, 'B': 11}, {'A': 0, 'B': 11}]   The second result surprises me, why would it set value of key "B" to 11 for both dictionaries? Why is there a difference between initializing as lst and lst1.

I needed to create a list of lists in Python, so I typed the following: my_list = [[1] * 4] * 3  The list looked like this: [[1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1, 1]]    Then I changed one of the innermost values: my_list[0][0] = 5  Now my list looks like this: [[5, 1, 1, 1], [5, 1, 1, 1], [5, 1, 1, 1]]    which is not what I wanted or expected. Can someone please explain what's going on, and how to get around it?


I bought a USO call option before the reverse stock split and thought it was worthless because nobody is able to purchase it (nobody wanted to purchase it) but today after hours I checked and it increased a whole 100% in value. How are people able to purchase it? Why would they want to purchase it?   $2.5 USO1 call Exp 5/8      4/29 = $.04      4/30 = $.08

Today 4/30/20 my seemingly worthless USO call option increased in value.   Specifically: USO1 $2.5 Call 5/8  On 4/29 it was valued at $.04 and stayed there.   4/30 I checked after hours and now it’s up to $.08? Which was wasn’t even the highest it went to today.  So who is buying this contract?  Who is allowed to buy this contract? Bc I’m only able to sell and from what I understood, nobody is able to buy it.   I have screenshots and will post if requested. Thank you


I want to make a map but the /tellraw command won't work in Minecraft 1.10, not 1.9 or 1.8 just 1.10 it used to work perfectly in 1.8 as:  /tellraw @p {text:"what ever you want",color:red,bold:true,underlined:true,clickEvent:{action:open_url,value:"a url"}}   How can I fix this?

I have two tellraw commands  /tellraw Froggygamingmc {text:"Thanks For Using",color:red}   and  /tellraw Froggygamingmc {text:"Vend U.S.A.",color:green}   but whenever I execute them it says      Invalid json: malformed JSON at line 1 column 3.    Does anyone know how I can get the /tellraw command to work?


Lets see same program written in java and python . I cannot understand the motive behind python's behavior .  prog.py :  #!/usr/bin/python print "Hello, World!\n" def hello(name):     print "Hello " + name     print sample  #hello("harish")   Prog.java  public class Prog {     public static void hello(String name) {        System.out.println("Hello " + name);        System.out.println(sample);       }      public static void main (String... args) {         System.out.println("Hello, World!\n");        //hello("Harish");     } }   The above python code prog.py executes without any problem  but Prog.java raises errors .  My arguments   1) I would prefer python is good , looking from the angle that I need not bother about it until I call the function hello(name) . If i called the function during execution phase , then an error would be flung as "NameError: global name 'sample' is not defined".  2) But it looks danger by looking at the angle that it might fling such errors in execution time . But java tells all these things even during compile time .  3) also if I want to distribute the python code as .pyc file , using py_compile.compile("prog.py") . The pyc file is generated without warning that 'sample' is an undefined variable . This puts me at risk because these errors might be discovered in production ,which is too dangerous .  What am I to interpret from this type of working of python . Why is it designed to be so ? what is the advantage in not being so strict while compilation (py -> pyc ) ? Is it not dangerous ?

What are the advantages and limitations of dynamic type languages compared to static type languages?  See also:  (a far more argumentative thread...)


I'm writing a function that is supposed to split a string on "-" and return and array containing the parts from the string, so if the string is: 2017-10-23 I want the array to have three elements populated like: arr[0] = 2017, arr[1] = 10, arr[2] = 23  This is the function:  /*   *  return a array of the parts of date_string   */ int * to_date_array(char *date_string) {         int i = 0;         int f = 0;         char *tokens = strtok(date_string, "-"); /* get initial token */         static int arr[3] = {0, 0, 0};         char *ptr;         int val;          /* init static arr */          for (f = 0; f < sizeof(arr); f++)                 arr[f] = 0;          /* do the split */         while (tokens != NULL) {                 val = strtol(tokens, &ptr, 10);                 arr[i++] = val;                 tokens = strtok(NULL, "-");         }          /*           * for some reason arr becomes 12 elements long?          * I expected it to have 3 elements          */         puts("func: to_date_array");         puts("------------------------");         for (f = 0; f < sizeof(arr); f++)                 printf("arr[%d]: %d\n", f, arr[f]);          return arr; }   The function works but I'm really puzzled by the "arr" array. I expect it to be three elements long but when I iterate through it and print every element, it show 12 elements?   $ gcc -Wall main.c arguments.c -o timespan  $ ./timespan 2015-08-10 2017-10-18 func: to_date_array ------------------------ arr[0]: 2015 arr[1]: 8 arr[2]: 10 arr[3]: 0 arr[4]: 0 arr[5]: 0 arr[6]: 0 arr[7]: 0 arr[8]: 0 arr[9]: 0 arr[10]: 0 arr[11]: 0

How do I determine the size of my array in C?   That is, the number of elements the array can hold?


So I am sort of new to Java and have only been doing it for a couple of months. I'm trying to implement different types of sorting algorithms and I think everything is okay except when I run it I get a NullPointerException on the for loop. I have already read this post . But I still can not figure out how to fix the problem even though I think it is quite simple. Any help?  import java.lang.*; import java.util.*;  public class SortApp {      public int[] generateRandomArray(int size) {          int[] output = new int[size];         for (int i = 0; i < size; i++) {             output[i] = (int) (Math.random() * Integer.MAX_VALUE);         }         return output;     }      public void printArray(int[] inarray) {          for (int i = 0; i < inarray.length; i++) {             System.out.println(inarray[i]);         }     }      public boolean isSorted(int[] inarray) {         for (int i = 0; i < inarray.length; i++) {       //Error here             if (inarray[i] > inarray[i + 1]) {                 return false;             }         }         return true;     }      public int[] insertionSort(int[] inarray) {          int[] data = Arrays.copyOf(inarray, inarray.length);         int temp;         int j;         for (int i = 0; i < inarray.length; i++) {             temp = inarray[i];             for (j = 0; (j > 1) && (temp < inarray[j - 1]); j--)                 inarray[j] = inarray[j - 1];             inarray[j] = temp;         }         return data;     }      public int[] selectionSort(int[] inarray) {          int[] data = Arrays.copyOf(inarray, inarray.length);         int temp;         int n = inarray.length;         for (int i = 0; i < inarray.length; i++) {             int k = i;             for (int j = i + 1; j < n; j++)                 if (inarray[j] < inarray[k])                     k = j;             temp = inarray[i];             inarray[i] = inarray[k];             inarray[k] = temp;         }         return data;     }      public int[] mergeSort(int[] inarray, int temp[], int l, int r) {          int[] data = Arrays.copyOf(inarray, inarray.length);          if (l == r) return null;         int mid = (l + r) / 2;         mergeSort(inarray, temp, l, mid);         mergeSort(inarray, temp, mid + 1, r);          int i, j, k;         for (i = l; i <= r; i++)             temp[i] = inarray[i];         for (i = l, j = mid + 1, k = l; i <= mid && j <= r && k <= r; k++)             if (temp[i] < temp[j]) inarray[k] = temp[i];         i++;         inarray[k] = temp[j];         j++;         for (; i <= mid; i++, k++)             inarray[k] = temp[i];         for (; j <= r; j++, k++)             inarray[k] = temp[j];          return data;     }      public static void main(String[] args) {         SortApp myApp = new SortApp();         int[] data = myApp.generateRandomArray(10);          boolean isSortedA = myApp.isSorted(myApp.insertionSort(data));         boolean isSortedB = myApp.isSorted(myApp.selectionSort(data));         boolean isSortedC = myApp.isSorted(myApp.mergeSort(data, data, 0, 0)); //Error here         myApp.printArray(data);     } }   Error I am getting is this:  Exception in thread "main" java.lang.NullPointerException at SortApp.isSorted(SortApp.java:23) at SortApp.main(SortApp.java:91)

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


From a custom directive, I want to determine what is the element that is receiving the focus when a blur event occurs:  @Directive({   selector: '[my-directive]',   host: {     //...     '(ionBlur)': 'onBlur($event)'   } }) export class MyCustomDirective implements OnInit {     //...     onBlur($event) {         console.log(event) // This logs a CustomEvent that contains information only about the element that losing the focus         console.log(event.relatedTarget) // This logs undefined     }     //... }   I am using this directive with an ion-input element:  <ion-input my-directive></ion-input>   When testing, the event parameter of the onBlur method contains the attributes target and currentTarget which both are the element that is losing the focus, but the event.relatedTarget was undefined:    Is it possible to have the element that is receiving the focus too?

Suppose I attach an blur function to an HTML input box like this:  <input id="myInput" onblur="function() { ... }"></input>   Is there a way to get the ID of the element which caused the blur event to fire (the element which was clicked) inside the function? How?  For example, suppose I have a span like this:  Hello World   If I click the span right after the input element has focus, the input element will lose its focus. How does the function know that it was mySpan that was clicked?  PS: If the onclick event of the span would occur before the onblur event of the input element my problem would be solved, because I could set some status value indicating a specific element had been clicked.  PPS: The background of this problem is that I want to trigger an AJAX autocompleter control externally (from a clickable element) to show its suggestions, without the suggestions disappearing immediately because of the blur event on the input element. So I want to check in the blur function if one specific element has been clicked, and if so, ignore the blur event.


Is it ever explained why so many races evolve, technologically speaking, on a nearly parallel course in the Star Trek universe? Obviously their physical and social evolution was far from parallel but technologically nearly every space faring civilization evolved along nearly identical lines.    I know every race developed technologically at different rates, a few are thousands of years more advanced, but the similarities are undeniable. I also know that some races were gifted technology by other, more advanced civilizations and some stole tech to further the advancement of their own.  Is this just a subtle plot point within the Trek universe to avoid multiple technology theories? As such does it make it easier to say everyone above a specific technological checkpoint have similar tech?

It's uncanny how many alien races encountered in Star Trek are at a comparable level of technological development: humans, Vulcans, Romulans, Klingons, + numerous other species. The likelihood of all these races independently evolving warp drive within a few thousand years of each other seems improbable.    Are there canonical explanations for this? A few possible answers (which may be supported by canon, I don't know):   Advanced species share or involuntarily leak their technology with low-tech species. Advanced species "uplift" less evolved species as the Dominion did. Low-tech species are annihilated or absorbed into the empires/federations of expanding high-tech warp capable species. This continues until two or more advanced civilizations at the same military tech level eventually bump into each other. Most civilizations tend to stagnate once they hit a tech level say a few hundred or thousand years beyond our own. Many intelligent species either go extinct (eg, the Tkon and Iconian Empires) or evolve to a higher state of being (eg, the Zalkonians) soon after developing warp technology and leave our plane of existence or become aloof to mundane matters. This would conveniently clear out all civilizations that had evolved billions of years in the past up through several thousand years ago, and also explain the many god-like entities throughout the Galaxy.   Any other thoughts?


At the very end of the movie , Riddick asks the question:   Is Vaako alive or dead?  And gets the following answer:   Both.  I don't understand the meaning of the end at all. How should I interpret this answer and the whole conclusion of the movie.

It states in  that each one is to make the trip to the Threshold,      Since Covu "The Transcended" discovered the gate to The Underverse, called "The Threshold", each successive Lord Marshal has made a pilgrimage to The Underverse. His trip to The Underverse grants him a plethora of greater inhuman powers. All The Lord Marshals are extremely long lived, perhaps even immortal.   In the next section it states that Zhylaw "The Last" finds an artifact, but it does not imply that this artifact shows the way to The Threshold, only its secrets.      Zhylaw "The Last" discovered a great ancient artifact on Helion Prime, within the secrets of The Threshold were written, after studying and destroying the artifact so that nobody could ever find it, he would use it in his great crusade. With this knowledge he could use more of the Soulpower than any other Lord Marshal making him the most powerful Lord Marshal in history.   In  , Riddick does not display any of the powers of a lord Marshal, so it would be safe to assume that he did not go?


I have a class that depends on another class. Rather that instantiate the depended upon class, I require it be passed in in the one and only constructor. Does this effectively inject said dependency?  So confused!

There have been several questions already posted with specific questions about , such as when to use it and what frameworks are there for it. However,  What is dependency injection and when/why should or shouldn't it be used?


I'm trying to simulate a tank-like/skid-steered vehicle, i.e. both of the wheels (one on each side) have separate velocities, and steering is done by increasing or decreasing the velocity of one of the sides.  For example, If I set the velocity of the left wheel to 5, and the right wheel to 3, it will turn right. What I'd like to know is, given the velocities of the wheels Vl and Vr, and the distance between the wheels D, by how many degrees will the direction the vehicle is pointing in change in one tick?  I've tried looking at , and the links on that question, but haven't come up with anything. All my best guesses have failed.

Anyone know the formula used to control the movement of a simple tank-like vehicle?  To 'steer' it, you need to alter the force applied the left and right "wheels".  Eg.  1 unit of force on both wheels makes it go forward.  -1 units of force on both wheels makes it go backwards.  Apply more force to one wheel than the other and it turns.  How would you calculate the amount of force needed on both wheels to turn the tank a certain number of degrees either way?  Or am I thinking about this in the wrong way?  edit: As William Keller mentioned I missed out the speed of the tank.  Assume 1 unit of force on both wheels moves the tank forward at 1 unit per second.  For anyone who's interested, I just found this thread on gamedev.net:   Another thread:   It turns out the key to finding the formula was just knowing the correct terminology ("skid steer") :P


I'm on windows 7 64 bit, Intel Core i7 3612QM, NVIDIA GeForce GT640M 2GB, 8GB RAM, 240GB SSD and 500GB HDD.  I want to delete and get rid of windows 7 partition and install Ubuntu 13.10 on my 240GB SSD.  I tried installing Ubuntu 13.10 64 bit on virtualbox but I get this error:     This Kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.   I have checked my CPU details here:   If you scroll a bit to that site, you can see there: 64 Bit - 64 Bit support  I want to install Ubuntu 64 bit, but is my computer compatible with it?

I was trying to install Ubuntu 12.04 in VirtualBox 4.2.12r84980. I see    this kernel requires an x86-64 CPU, but only detects an i686 CPU, unable to boot   But I am using a 64 bit Windows 8, and trying same .iso for trying Ubuntu. Then what is the problem?


How to prove that $$\frac{\sin \pi x}{\pi x}=\prod_{n=1}^{\infty}\left(1-\frac{x^2}{n^2}\right)$$  I tried it with the Taylor series of $\sin(x)$ but I failed.   Is there any help?

How to prove the following product? $$\frac{\sin(x)}{x}= \left(1+\frac{x}{\pi}\right) \left(1-\frac{x}{\pi}\right) \left(1+\frac{x}{2\pi}\right) \left(1-\frac{x}{2\pi}\right) \left(1+\frac{x}{3\pi}\right) \left(1-\frac{x}{3\pi}\right)\cdots$$


Has anyone had any success completing the s module?   I attempted the challenge using the Trailhead playground. And think what I did is correct. Yet I get the following error...   "Challenge Not yet complete... here's what's wrong:  The Packed field is either not using the lightning input component, the checked value of the item's Packed__c attribute or the correct type of input"  Following is the component I have written:  Component Bundle Name : "campingListItem"  <aura:component >     <aura:attribute name="item" type="Camping_Item__c" required="True"/>   <ui:outputText value="{!v.item.Name}"/>   <lightning:formattedNumber value="{!v.item.Price__c}" style="currency"/>   <lightning:formattedNumber value="{!v.item.Quantity__c}" style="decimal"/>   <lightning:input type="checkbox" label="Packed?" name="packed" checked="{!v.item.Packed__c}"/>       </aura:component>   Object schema is :   Name - Text (80),  Packed__c - Checkbox,  Price__c - Currency (16,2), Quantity__c - Number (18,0).  What could I be doing wrong. Any advice?

The error :      The Packed field is either not using the lightning input component,   the checked value of the item's Packed__c attribute or the correct   type of input.   My Code:  <aura:component >     <aura:attribute name="item" type="Camping_Item__c"                      required="true"                     default="{Name:'Tent', Price__c:100, Quantity__c:1, Packed__c:true}"                     />         <p> The Item is <ui:outputText value ="{!v.item}"></ui:outputText></p>          <ui:outputText value="{!v.item.Name}"/>     <lightning:input type="toggle" label="Packed" name="togglevalue" value="{!v.item.Packed__c}" />     <lightning:formattedNumber value="{!v.item.Price__c}" style="currency" currencyCode="USD" currencyDisplayAs="symbol"/>      <lightning:formattedNumber  value="{!v.item.Quantity__c}"/> </aura:component>


I have looked at other people's problems regarding this issue but the way they solved it cannot fix my problem as I don't have any options to change anything. see images.

After upgrading my Macbook Pro to Yosemite, the volume icon at the top right is greyed out and sound does not work.    How can I fix this issue?


So I'm flying in from Ottawa, in Canada, and I have a 1 hour 3 minute "layover" between flights. Is this enough time? I booked through Expedia and it's both with United Airlines and I believe it'll be on one ticket because it's the same itinerary. I am not checking luggage, and as of tonight (flight is tomorrow morning), the gate I arrive at is F17 and I depart from F5. These are on the same terminal, but will I have enough time? I know the travel distance between the gates isn't bad at all as they're in the same big hallway, but I'm worried about customs/immigration time since I'm coming in from international.   I've never flown before and I'm worried about how long that would take. I heard that they give you customs forms to fill out on the plane, but I don't know if that would speed things up much. My plane is small (only 50 people) so I also don't think getting off the plane should take too long, but I do need to wait around for my carry on to be given back to me because it's "gate-checked" because it's a United Express flight and the overhead probably won't be able to fit it.  I apologize if this is just me being paranoid, but I want to make sure.

My grandparents bought a flight on United Airlines, as the one and same ticket, from Toronto, to ORD with one 55-minute layover, then to Maui. :     You won’t need to pay extra for airfare if you miss the flight, but on the other hand, you will most likely not be compensated by the airline for the incurred delay. It always depends on the amount of time, the reason for the delay and the airline’s policies. As soon as it’s weather-related, you won’t be getting a penny (and that’s normal: airlines can’t control the weather).    Yet they obviously prefer to avoid such charges from missing the 2nd flight.   Please see the titled question? Would they need to hotfoot or scamper from one gate to another, to not miss the 2nd flight? If yes to 2, can they request an airport electric shuttle cart now, before the flight?


I am making a Mini-Air conditioner based on Peltier TEC12715. I'm going to use 10 peltier elements for better cooling. 1 peltier module requires: Umax(V):15.4 Imax(A):15 Max power consumption (watt):231 Watt . How much power supply is required to run all 10 Peltier Module. Which Power supply driver(AC to DC) should i pick?

Power supplies are available in a wide range of voltage and current ratings.  If I have a device that has specific voltage and current ratings, how do those relate to the power ratings I need to specify?  What if I don't know the device's specs, but am replacing a previous power supply with particular ratings?  Is it OK to go lower voltage, or should it always be higher?  What about current?  I don't want a 10 A supply to damage my 1 A device.


What is Badge - Civic Duty It has simple description "Vote 300 or more times". I'm looking for detail of this badge. I can't see any effect upon down vote question/answers. Does it consider down vote also.

Formerly List of all badges with full descriptions.  What are badge name's requirements? Why didn't I get badge name ? Which badges can I earn multiple times?    Jump to:                    Note: Some badges are awarded based on score. The term score means the total number of upvotes minus the total number of downvotes.  Any badge with a *** next to it is one of 20 badges that count towards the  displayed on a moderator candidate in an election. The candidate score is a total of 40 points: the first 20 are awarded based on the user's rep divided by 1000 and rounded down; the second 20 represents the total number of unique badges earned of the 20 that count. Note that if the same badge is earned multiple times, it will only count once towards the candidate score.  Any badge with a "(retired)" next to it is no longer awarded, but is retained by users who previously earned them. See  for more info on what it means for a badge to be retired.       Visit the  of the  on any site to see a complete list of badges that you can filter by earned, unearned, or type.


We've got around ~15 relatively decent Windows machines in the office and I'm wondering if it's possible to set up a system that clusters them as a single virtual machine when they're not in use during office hours.  We run a lot of CPU intensive numerical simulations and rather than buying standalone simulation machines, it'd be nice to leverage the unused office workstations at night/over the weekend (ideally as a single VM with many CPUs).  If this is possible, where would one start looking to go about this? Are there any common issues/considerations I should be aware of?  Thanks.

by now I have 10 servers for hpc, power computing oriented. My users need to launch several processes using qmake. The users are used to work with ubuntu 9.10, and the software from the repositories is switable for them.  I've deployed ubuntu 9.10 to all 10 servers (pxe rocks).  By now we work with parallel-ssh and cluster-ssh, which allows as to launch the same process to all servers. With this tools this tools the servers remain as independent but with the same software and the same launched command.  Now we would like to go to next step and see all the servers as a single one with all the resources from the other 9 as if was its resources.   The difference would be substantial in time to process and also time to design the command to launch.  Any advice on wich software to use will be very useful?  Thanks


I am in a savannah biome and have been working on starting a village. Recently, I tried to build snow golems for defenders. Once they are built, they immediately start to take damage and die soon after. I have read the Minecraft wiki and found the, short, list of biomes that snow golems can't survive. Given the list and information also posted in the biomes page of the wiki, I'm thinking that the article needs to be amended to say that snow golems can't exist in temperatures of 0.95 or greater. Can anybody confirm or simply clear up my confusion?  Snow Golems -   Biomes -

Snow golems won't survive in the Nether (neither spawned in nor built ones). Is there a way to make a snow golem survive in the Nether and other hot biomes in vanilla Minecraft (i.e., without using mods)?


$A_{n\times n}$ be a non singular matrix, could any one tell me what is the minimum value of $\operatorname{trace}(AA^T)$

For invertible $A_{n\times n}$ find $\min(\operatorname{trace}(AA^T))$  (a) $0$ (b) $1$ (c) $n$ (d) $n^2$  Clearly for $A=I$, it is $n$, and I am unable to get any lower values, but how do I prove it.


I did an experiment. The experiment was to use a gripper which had rubber fingers to grip a plastic rod which attached to a mass. After that I had a linear motor to move the gripper.   What I wanted to see was that the rod with a mass was moved by the gripper which was driven by linear motor.  Technically, the length of the rod which is gripped by the rubber fingers does not related to the area that gripped by the rubber finger because F=uN, friction force by the rubber gripper has no relation with the area.  However,it does make some different. It has higher chance to move the heavier mass.   Does there are more than just F=uN that I need to concern?

Is  really independent of area? The friction force, $f_s = \mu_s N$. The equation says that friction only depends on the normal force, which is $ N = W = mg$, and nature of sliding surface, due to $\mu_S$.   Now, less inflated tires experiences more friction compared to well inflated tire. Can someone give clear explanation, why friction does not depend on area, as the textbooks says?


I'm studying C and I came across the code below. The printed results are always the same for all the printf calls.   What does [x,y] mean?  A memory address or something else?  printf("%d ", array[0,0]); printf("%d ", array[1,0]); printf("%d ", array[2,0]);


How a battery maintains the current in the citcuit? Iwant to know each and every step of this process mathematically and theoretically also.

I am beginning of learn electricity so sorry if my questions are confusing or does not make sense. My question is specifically about how voltage (which I guess is due to separation of uneven charges) is constantly maintained in a battery. My knowledge of battery comes from chemistry and there examples of battery were not as complicated as those found in physics. Like in chemistry we learned of how electrons traveled one one electrode to another another and when the charges are evened the battery then dies. But in physics I am reading of examples when the battery constantly maintains the voltage and charges keep on traveling the circuit even when they reach the other terminal. Can anyone explain how this is happening? I guess I don't understand how batteries work completely.


We are encountering this error:  Error  The website encountered an unexpected error. Please try again later.  On frontpage only and if the user is anonymous. If logged in, we can view the front page but if not, we see this error.  This is the error message from the error log.     PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column   'node.entity_id' in 'where clause': SELECT COUNT(*) AS expression FROM   (SELECT 1 AS expression FROM {node} node WHERE (node.nid =   :db_condition_placeholder_0) AND (node.type IN   (:db_condition_placeholder_1)) AND(( ( EXISTS (SELECT na.nid AS nid   FROM {node_access} na WHERE (( (na.gid = :db_condition_placeholder_2)   AND (na.realm = :db_condition_placeholder_3) )OR( (na.gid =   :db_condition_placeholder_4) AND (na.realm =   :db_condition_placeholder_5) ))AND (na.grant_view >=   :db_condition_placeholder_6) AND (node.entity_id = na.nid) )) AND   (node.entity_type = :db_condition_placeholder_7) )OR (node.entity_type   <> :db_condition_placeholder_8) )) subquery; Array (   [:db_condition_placeholder_0] => -1 [:db_condition_placeholder_1] =>   evite [:db_condition_placeholder_2] => 0 [:db_condition_placeholder_3]   => all [:db_condition_placeholder_4] => 0 [:db_condition_placeholder_5] => flag_friend   [:db_condition_placeholder_6] => 1 [:db_condition_placeholder_7] =>   node [:db_condition_placeholder_8] => node ) in   EntityFieldQuery->execute() (line 1154 of   /var/www/vanille/includes/entity.inc).

I get this error with Drupal 7.     The website encountered an unexpected error. Please try again later.   How can I get more information about this error? Is there any report or log to understand what happened? The PHP log doesn't report errors. How can I disable that message and have a more useful one for debugging purpose?


A ransomware encrypted all my files with the extension (.haecvvv.D02-C74-B2B). I can't recognize the virus ... this is the first time i see this encryption extension. Does any one has any idea about it or a probable solution to decrypt my files ? Thanks You.

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


Why rabies virus has nearly 100% fatality rate in human (see ; thanks to @iayork for the link) if not vaccinated early, even some people have survived Ebola, then why does rabies doe not get extinct as its most virulent form will kill host and virus also?

It's bothered me for a while now. I understand why a parasitoid would do this, as it only temporarily requires the host, and that not all parasites kill their hosts.  There seems to be no evolutionary advantage in killing a host, because the parasite relies on the host for resources. Yet some organisms, usually microscopic pathogens, seem to fatally damage the host with no immediate benefit to themselves. Why is this?   I know this is asking for a broad soft answer, but I don't want the question to get bogged down by a specific species, although bonus points for using examples.


At my company, In order to SSH into anything, I first have to SSH into an intermediary server like so:  (me@local.machine) ssh intermediary.server.com  (me@intermediary.server.com) ssh application.server.com  (root@application.server.com) this is the command prompt I want to be at  I would like to make a bash alias, so that I can run a single command on my local machine and get dropped into the desired machine's "command prompt".  Is this possible?

I have three Computers.  PC1 and PC2 is on a private LAN, where PC1 is known to PC2 as 192.168.0.2  PC2 and PC3 is on a another  LAN, where PC2 is known to PC3 as 192.168.123.101  How can I connect to PC1 from PC3 with SSH.  Is there something like:  ssh user@192.168.0.2 -via user@192.168.123.101


I have a user, whose name is 2012User. When I try to superping them (@@) in the public 3DPrinting chatroom, with @@2012, their name does not appear in the auto-complete user search suggestions box thing1:        They have a rep over over 100 (192), they have posted questions on the 3D Printing site, so they are an established user. Why is superping not working, or rather, why is their username not listed in the user suggestions?  Note that @@13700@3dprinting.stackexchange.com seems to make the user suggestion work correctly, but it is rather longwinded:        I do wonder if it is the old issue of 3DPrinting's site name causing issues again? See   I have tried pinging them with both @@2012User and @@13700@3dprinting.stackexchange.com but the latter doesn't appear to resolve the name correctly, and ends up looking like this  @@13700@3dprinting.stackexchange.com please join us in chat    whereas I'd expect it to look like:  @2012User please join us in chat    Also, I'm not sure if either of them (@@2012User or @@13700@3dprinting.stackexchange.com) worked as the user has not responded.  Note that other users with usernames beginning with numbers appear in the user suggestion just fine, as the first screen shot shows, just this particular user.    1 I don't know the correct term for this UI component

I've seen the word 'superping' be used across SE meta sites.  What does it mean? Is it just a synonym of the word 'ping' (ie. using @ followed by a user's name to give them a notification in their inbox).


I have a database which is 20 GB and it has history information since year 2001. Now I started deleting data prior to year 2008. after completion of deletion how can i reuse the space that is cleared by my delete statement. I am using SQL Server 2005.  Will Sql server automatically reuse the space if I don't shrink the datafiles? Should we rebuild the indexes?

This question is asked in various forms here but the question boils down to:  I know shrinking a database is risky. In this case, I've removed so much data and I'll never use it again.   How can I shrink my database? What files do I shrink?  What should my considerations be while doing this?  Should I do anything after? What if it is a large database? Can I shrink it in smaller increments?


Take this example: .  I can imagine of any human reasons to create a new user account at SO, e.g. willing to restart with a clean (reputation) history. But particular this one is extreme. The user known as "icepax" currently already has 10 accounts, each involved in only one question/answer.  How and why would one do that? There is certainly more at matter here. Shouldn't it be our task to merge the accounts and inform the user in question about how to use SO and the OpenID properly?

A high-reputation, highly-active user has already been dinged once for a sockpuppet, and I just dinged him again. He probably has another sockpuppet as well.   What are the guidelines for handling users who game the system in this fashion? Specifically,   How can I be sure I'm looking at a sockpuppet? When should sockpuppets be considered a problem? How should moderators handle problematic sockpuppets once they've been identified? I was suspended for sockpuppetting and feel this is unfair


I don't know if my USB flash drive is broken, but I do know that I can hear the usual notification sound when I plug it into whatever which port I decide. The problem is that I can't find the path to the drive.  More info I can give you: I formatted it after it refused to assimilate files that I've tried to replace onto it. I'm confused: did I mess up my Kingston DT50 16GB flash memory drive by formatting? Also I can't find any drivers for it in the official site. What should I do?     The top half of this image shows the output of lsblk when I have it plugged in - it is recognized, but I can't find the path.

How can I tell which device the USB drive is assigned as?  Before inserting the USB drive:  $ lsblk NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT nvme0n1     259:0    0 238.5G  0 disk  ├─nvme0n1p5 259:3    0  15.9G  0 part [SWAP] ├─nvme0n1p1 259:1    0 222.6G  0 part / └─nvme0n1p2 259:2    0     1K  0 part    After:  $ lsblk NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT sda           8:0    1   1.9G  0 disk  ├─sda2        8:2    1   2.4M  0 part  └─sda1        8:1    1   1.2G  0 part  nvme0n1     259:0    0 238.5G  0 disk  ├─nvme0n1p5 259:3    0  15.9G  0 part [SWAP] ├─nvme0n1p1 259:1    0 222.6G  0 part / └─nvme0n1p2 259:2    0     1K  0 part    Is it /dev/sda??


In "Cycle Compute Divece" appears "none". It's as if I did not have a video card. I have a board [AMD / ATI] Cape Verde PRO [Radeon HD 7750/8740 / R7 250E] It is listed as having Opencl support. This happens with both Linux (Ubuntu) and Windos (Windows 10). Is there a solution?

In the settings I can't choose another device to render other than the CPU.     According to the blender wiki the GPUs "with a GCN Architecture superior or equal to 2.0 are supported".     And as I understand my GPU (R9 270) should be supported, according to this table from wikipedia(and has GCN 2.0 and up):   Or am I wrong and my GPU isn't actually supported? :(   GPU:    R9 270 (latest drivers)  OpenCL version: 22.19  Blender version: 2.79


I want to add "debug" optio to my script, for that I added a read commands in specific places in the code. Basically it look like this:  #define it READ_USER_INPUT_IF_IN_DEBUG_MODE="read -p 'press any key to continue:'"  #calling it ${READ_USER_INPUT_IF_IN_DEBUG_MODE}   the screen output is not as desired;  sm2edolt01.corp.nyx.com:/home/oracle/nir >./a.sh 'press   Tried to replace the ' with \" as well.

$ ls -l /tmp/test/my\ dir/ total 0   I was wondering why the following ways to run the above command fail or succeed?  $ abc='ls -l "/tmp/test/my dir"'  $ $abc ls: cannot access '"/tmp/test/my': No such file or directory ls: cannot access 'dir"': No such file or directory  $ "$abc" bash: ls -l "/tmp/test/my dir": No such file or directory  $ bash -c $abc 'my dir'  $ bash -c "$abc" total 0  $ eval $abc total 0  $ eval "$abc" total 0


I recently created a tag and I am wondering if we can actually see who created the tag. Clicking on Tag info gives information like tagged questions,related tags,Top Askers,Top Answerers. Is there a way to see the creator of the tag?

Is there a page where we can see the what tags were created by the taxonomists?


Is the product of two non-differentiable functions in $\mathbb{C}$ always non-differentiable ? similarly for differentiable functions ? and if $f$ is not differentiable in $\mathbb{C}$ does that imply that $f$ will always be differentiable in $\mathbb{R}$ ? If Yes , how should i approach this ?

Suppose $h(z)$ is a complex function. I have noticed that $h(z) = f(z)\cdot g(z)$, where $f(z)$ and $g(z)$ are non-holomorphic. Can $h(z)$ be holomorphic?   Can a similar statement be made, if $f(z)$ is holomorphic, but $g(z)$ is not?


Show that $37|333^{777} + 777^{333}$. Anyone can help me to solve this question? I have no idea how to solve it.

I noticed that , given an operation like $\frac{n}{m},\;n,m \in N$ that result in a periodic decimal number, computes really fast the length of the period.  E.g. $\frac{3923}{6173}$ has a period of 3086: .  I was wondering how this computation is done: is there some method to do this (except the trivial one of executing the division and looking for a sequence repetition) ?


I am trying to convert the Integer 0550 to a String, but using   Integer.toString(0550);   gives me the String "360" instead of "0550" which is what I want. I'm confused as to why it is giving me a completely unrelated (or so it seems) String.

This prints 83  System.out.println(0123)   However this prints 123  System.out.println(123)   Why does it work that way?


I would like to display a "big" formula in a beamer frame. If I test the \Large command this way  \documentclass[hyperref={colorlinks=true}]{beamer}  \usepackage[utf8]{inputenc} \usepackage[italian]{babel} \usepackage{lmodern} \usepackage[T1]{fontenc} \uselanguage{Italian} \languagepath{Italian} \usetheme{Warsaw} \usepackage{pgf,tikz} \usetikzlibrary{arrows} \usetikzlibrary{quotes} \usetikzlibrary{shapes.geometric,intersections,calc} \usepackage{xcolor} \usepackage{booktabs} \usepackage{graphicx}  \begin{document}  \begin{frame}{Test} \[ f(x)=\sum_{n=-\infty}^{+\infty}c_ne^{inx} \]  \Large \[ f(x)=\sum_{n=-\infty}^{+\infty}c_ne^{inx} \] \end{frame} \end{document}   what I see is that the second formula is badly magnified: every symbol or letter is ok, but not the \sum operator, which remains small. What am I doing wrong?  This is what I see:

I am using the tikzposter package and am fairly happy with it except for one small thing: When I have an equation with a sum the sum becomes ridiculously small.    I have read the questions about  and am using amsmath. Putting \displaystyle in front of \sum doesn't change anything.   Does anyone have any idea how to get a "normal" sum symbol?  MWE:  \documentclass[25pt, a0paper, portrait]{tikzposter} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[T1]{fontenc}  \usepackage{lmodern}  \usepackage{amsmath} \usepackage{amssymb}  \title{lalala}  \begin{document} \maketitle  \block{test}{   \begin{equation*}     \Psi = \displaystyle\sum^{n_{max}}_{n=1}C_n   \end{equation*} }   \end{document}


I can easily find out the RAM, Processing Speed of my Windows computer by clicking the Properties section of Computer.   Is there any shortcut method similar to the above to find the front side bus speed , memory bus speed , back side bus speed of my computer beside checking out the model number of your computer's motherboard and search for the model number on the Internet .  I will not mind using a third party utility tool also.

I would like to check my RAM configuration. I know it is easy to check the total RAM installed on a computer (eg 32 GB), but is there an easy way to check in Windows if the RAM is e.g. 2x16 GB, 4x8 GB, 8x4 GB or 16x2 GB?


Is there a set of objects that are equal to themselves? In other words, is this true: $$\exists y \forall x (x\in y \iff x=x)$$  Intuitively, It seems to be the set of all sets and hence false. How can I prove this?

How is Russell’s Paradox, which is defined as the collection $$ \{ x \mid x \notin x \}, $$ equal to the universal set $ \{ x \mid x = x \} $? Do we assume that if $ x = x $, then $ x \notin x $? My question is specifically what is written at the end of Page 21 of .  Thanks for any help!


I'm having trouble with my PATH.  I have a clean instance of an Amazon Linux virtual server and I set this in /etc/profile  M3_HOME=/usr/local/maven JAVA_HOME=/usr/java/latest PATH="$PATH:$M3_HOME/bin:$JAVA_HOME/bin"   In my myuser (my own user) account, I set this in my ~/.bash_profile  PATH=$PATH:$HOME/bin   And then when I output the "env" as my user I get  PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/maven/bin:/usr/java/latest/bin:/home/myuser/bin   But when I output it as sudo I get  sudo env PATH=/sbin:/bin:/usr/sbin:/usr/bin   How do I get my sudo user to use the same path as my normal user?

I have a program that is installed in a custom directory under /opt. To make it easier to run it, I edited my bashrc to add said directory to my path: export PATH=$PATH:/opt/godi/bin:/opt/godi/sbin  This works fine if I want to run the program without sudo. However, if I try to run it with sudo it fails with a "command not found" error. $ sudo godi_console sudo: godi_console: command not found  Inspecting the PATH variable after using sudo reveals that its not including the same PATH I have as a normal user: $ sudo sh # echo $PATH                  /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin  Why is the PATH not the same? Am I doing something wrong? I'm on Debian Jessie, if it makes a difference. One thing I tried was to invoke /opt/godi/sbin/godi_console directly, passing the absolute path to the executable. Unfortunatelly, that didn't help in this particular case because godi_console itself depends on the PATH being correctly set.


I've been trying to prove the following inequality  Assume that a,b,c are positive reals s.t. $abc=1$ , prove that : $$S=\frac{a^{n+2}}{a^n+(n-1)b^n}+\frac{b^{n+2}}{b^n+(n-1)c^n}+\frac{c^{n+2}}{c^n+(n-1)a^n} \geq \frac{3}{n} $$  If you apply AM-GM directy you get :    $$  S \geq \frac{3}{\sqrt[3]{(a^n+(n-1)b^n)(b^n+(n-1)c^n)(c^n+(n-1)a^n)}}  $$  But from here I get stuck ... I think there is probably a change of variable or another trick (convex function + Jensen).  We can apply AM-GM again to get this : $$\sqrt[3]{(a^n+(n-1)b^n)(b^n+(n-1)c^n)(c^n+(n-1)a^n)} \leq \frac{n}{3} \left(a^ n+ b^n+c^ n \right) $$  $$ S \geq \frac{9}{n(a^n+b^n+c^n)} $$  Unfortunately $ a^n+b^n+c^n \geq 3 $ by AM-GM so it doesnt help to conclude  Thanks for your help.

Let $a$, $b$ and $c$ be positive real numbers with $abc=1$. Prove that   $$ \frac{a^{n+2}}{a^n+(n-1)b^n}+\frac{b^{n+2}}{b^n+(n-1)c^n}+\frac{c^{n+2}}{c^n+(n-1)a^n} \geq \frac{3}{n} $$   for each integer $n$.   I have used Cauchy-Schwarz inequalities and Jensen inequality. But I am stuck. I need some idea and advice on this problem. Induction would be cruel.


What I have is a class of table rows that, when one of them is clicked, activates a function in jQuery capturing the id of the element that was clicked. I have seen several posts on how to do this (i.e  or ), but none of them have worked for me.  So, I thought that this would work:  $(".yourStockTabs").click(function() {     if (sellStockClicked === true) {         var ids = $(this).attr("id");         alert(ids);     } });   But it does not. The sellStockClicked === true part is the checker to make sure that a button has already been previously clicked. I figured at first maybe the code to get the attribute was incorrect or maybe the variable wasn't true, but I found that neither of these were the case because I removed the if function and commented out the id part and just had it alert something, but it still did not.  Here is the full code:  $("#sellStockButton").click(function() {     var sellStockClicked = true;     alert("Please click on the row of the stock that you would like to sell.\n\nWhen you are finished, click this button again.");     $(".yourStockTabs").css("background", "#E50000");     $(".yourStockTabs").css("cursor", "pointer"); }); $(".yourStockTabs").click(function() {     if (sellStockClicked === true) {         var ids = $(this).attr("id");         alert(ids);     } }); $("#sellStockButton").click(function() {     if (sellStockClicked === true) {        var sellStockClicked = false;      } });

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I'm using this code to start the batch file but  import os os.startfile("C:\Documents and Settings\Zha\Desktop\Strings\strings.exe ")   the strings.exe running a batch command when you open it from cmd, like this:  strings -q "C:\Documents and Settings\Zha\Desktop\folder\*"   and I need to run it from python. Possible way to solve this?

How do you call an external command (as if I'd typed it at the Unix shell or Windows command prompt) from within a Python script?


Please give me some link to help me understand this       var obj = {   a: 1 }; (function(obj) {   obj = {     a: 2   }; })(obj); console.log(obj.a);   logs out 1 whereas this   var obj = {   a: 1 }; (function() {   obj = {     a: 2   }; })(); console.log(obj.a);   logs out 2

How would you explain JavaScript closures to someone with a knowledge of the concepts they consist of (for example functions, variables and the like), but does not understand closures themselves?  I have seen  given on Wikipedia, but unfortunately it did not help.


I'm trying to solve the following problem from the Polish XI Olimpiada Matematyczna Gimnazjalistów, question 2 from . (The deadline of 12 October 2015 has now passed.)    I managed to solve it using analytical approach, but I have to solve it the "normal way" - in this case using angles.  I almost found the proof, but I need a help in showing 1 thing. Take a look at my approach, where I found almost all angles:    I don't know how to show, that angles $DCQ$ is equal to angle $PBC$. When we prove this, we'll prove, that $AP=2PD$.

There is a problem I'm trying to solve from the Polish XI Olimpiada Matematyczna Gimnazjalistów. It is question 2 from . (The deadline of 12 October 2015 has passed.)    So far I found $x^2$ and $y^2$ (that are $|AP|^2$ and $|PD|^2$).  In order to prove, that AP=2PD, can I just divide $$ \sqrt{\frac{x^2}{y^2}} $$ and show, that it equals $2$?


There are 8 smugglers standing in a row and they are waiting for customs inspecting. One of the smugglers takes a small bag which contains smugglings. There is one officer who can examine one smuggler at a time. After every examination, smuggler with the bag must pass the bag to another smuggler who stands next to him. The officer may examine as many times as he wants till he finds the bag.  The question：  Is there a winning strategy for officer? What tool should I use to solve this question?

There is a train with 'N' cabins, a monkey is present in one of the cabins initially (which is unknown). Your goal is to catch the monkey, given you can open a cabin every minute and monkey would jump to either the immediate left or right cabin in that time. What is the strategy you use to catch the monkey surely?  N=1 => Trivial case  N=2,3 =>  Open the first cabin twice in case of N=2 and middle cabin twice when N=3. We can surely catch him in at most 2 trials.  First non-trivial case is when N=4 where monkey can just move between any two cabins and hence opening any cabin repeatedly doesn't guarantee that we can catch him, is it possible to find a strategy that works for all N?


Can we say:  His mother forbade his going out at midnight.  In some countries, women's wearing tiny skirts is totally forbidden!  But I don't mind (my) smoking here. here can we add "my"?  Somebody told me forbid+act so we can't say like that is that true?  Thanks very much!

I assume that the following sentences are grammatically correct:   He resents your being more popular than he is. Most of the members paid their dues without my asking them. They objected to the youngest girl's being given the command position. What do you think about his buying such an expensive car? We were all sorry about Jane's losing her parents like that.   I'm still getting used to this possessive gerund structure. It sounded so weird to me at first. Is the structure used in both formal and informal contexts? Are there any alternative structures that result in the same meaning and are more frequently used? (Examples taken from )


I have tried on every character that is able to carry the portal gun and if i shoot all i get is a weird noise and it will do nothing else. i have seen videos where it comes in to use like it would in the portal game but nothing has happened for me. any ideas why?

The topic pretty much sums up my question. I have not yet figured out how the gun operates aside from the fact that it creates Portal portals. The weapon description indicates that it deals 250+ base damage, but how is that damage applied to the monsters?


I know some Pokemon are region locked (Farfetch'd is exclusive to Asia, Tauros is to N. America, etc.), or at least that's what has been theorized. However, Farfetch'd (and some others) are still on the list of Pokemon that can hatch from 5km eggs. Has anyone in the US hatched one yet?

Some people claim you can get the pokémon that are not in your region from eggs. Is this only a rumour or actually true? I've seen off-regional pokémon in gyms nearby but I can't rule out that the owner had been abroad or maybe even used location spoofing.


I recently broke my windows installation but I dual boot with Ubuntu  So now I need installation media  I tried just dd'ing the iso to my USB drive on /dev/sdb1 but it refused to boot inisisting I was trying to boot uefi in bios mode (even though my pc is set up to boot either)  I really need windows for college so how do I make install media without another windows install?

I'd like to create a Windows bootable USB stick, but I don't have a Windows machine with me at the moment to do so. How could I achieve the same using Ubuntu?


I tried getting $n_{2}$ and $n_{7}$ , denote the number of Sylow-2-Subgroups and Sylow-7-Subgroups respectively.  I got two cases for $n_{2} = 1 , 7 $ and for  $n_{7} = 1 , 8$ , i noticed that if $n_{2} = 1$ and $n_{7}= 1$ ,then we are done since they are unique subgroups and hence will be normal in $G$.  Next how to proceed with the cases of $n_{2} = 7$ and $n_7 = 8$.  Please help?

Let $G$ be a group of order $56$. (We do NOT assume the Sylow-$7$ subgroup to be normal.) Then either the Sylow-$2$ subgroup is normal or the Sylow-$7$ subgroup is normal. How to prove?  My idea: consider the case $n_2=7,n_7=8$. Then the number of elements in all Sylow $2$ -subgroups and Sylow $7$-subgroups is at most exactly $(7-1)*8+(2-1)*7+1=56$. This cannot give a contradiction. We need to prove that $G$ is simple. Then $|G||(8!/2)$. To prove $G$ simple, we need to prove there does not exist normal subgroups of order $2$ and order $4$. But I do not know how to prove.


If I have a MATLAB class MyClass with a   classdef MyClass       properties         myArray     end      methods          function update(obj, i)             obj.myArray[i] = i*5;         end end   and I call the update function with   myClass.update(i)   the myArray object does not 'remember' the updates when i increments and I get left with an empty property. Ie. myArray = []  However if I define the function as follows  classdef MyClass       properties         myArray     end      methods          function out = update(obj, i)             out = i*5;         end end   and call the update function with  myClass.myArray[i] = update(i)   the updates to the myArray property are remembered. Ie. Ie. myArray = [5, 10, 15, 20, 25]  So what is going on here?...in every other language this would work as expected, it seems like there is some MATLAB specific weird scoping/referencing going on here. Anybody know what's happening?

I am trying to create a MATLAB class with a member variable that's being updated as a result of a method invocation, but when I try to change the property within the class it (apperently, from what I understood from MATLAB's memory management) creates a copy of the object and then modifies it, leaving the original object's property untouched.  classdef testprop       properties           numRequests=0;       end       methods           function Request(this, val)               disp(val);               this.numRequests=this.numRequests+1;           end       end   end     .  >> a=testprop; >> a.Request(9); >> a.Request(5);   >> a.numRequests    ans = 0


I am using QGIS and I am looking for a script, or a plugin, that can create a large number of perpendicular lines from a point layer to lines in a separate line layer.  So far, I've tried to use the Hub Distance function in MMQGIS (turning the lines into points and then connecting the points to the nearest hub) and the respective tool of the QGIS geoalgorithms. Neither worked. Both take more than 2 hours and create either lines all of the layer or lines that are not perpendicular or connected to the points.  In the picture, you can see the present status of the project. The perpendicular lines should run from the points to the nearest line. In the end, I would like to use intersection points with a line between the points and the country borders to create a buffer of 4-sided polygons that is two polygons deep. I mention this in case that there is an easier way of doing this.    I know that there are some posts on how to create perpendicular lines, but neither of them solved my problem.

I have a situation like this:     What I need to do is to connect each point to every line that is at most, let's say 200 m, away from the point. In other words, I need to draw a perpendicular line from each point to every line that is in the buffer.  Is there a way to do this in PyQGIS?


In Bayesian hypothesis testing, where one actually commits to estimates of the probabilities of each hypothesis, an analog of the Bonferroni correction is easy to justify. Namely, in the multiple comparison scenario, we might ask when Bayesian hypothesis testing: "what is the probability that at least one of these hypotheses is true, already knowing the probability of each individual hypothesis separately?". Then the  should give something analogous to Bonferroni.     Question: Is there an analog of Benjamini-Hochberg for Bayesian hypothesis testing?   More generally I am interested in the extent to which the theory for the multiple comparison problem is analogous between Bayesian and non-Bayesian hypothesis testing. But for the sake of specificity, and since that is the method I am most interested in right now, I refer to the Benjamini-Hochberg procedure. In particular, it is unclear to me whether the absence of p-values in the Bayesian setting makes procedures or considerations like Benjamini-Hochberg irrelevant.  Pointers to references will more than suffice for an answer. But of course if you want to share your unique insights into these issues, please do not hesitate.

Andrew Gelman wrote an extensive article on why Bayesian AB testing doesn't require multiple hypothesis correction: , 2012.  I don't quite understand: why don't Bayesian methods require multiple testing corrections?  A ~ Distribution1 + Common Distribution B ~ Distribution2 + Common Distribution C ~ Distribution3 + Common Distribution Common Distribution ~ Normal   My understanding is that the Bayesian approach shown above accounts for the shared underlying distribution by all the hypothesis (unlike in a frequentist Bonferroni correction). Is my reasoning correct?


Now I'm completely fazed.  I don't understand why Windows 10 is complaining about administrator permissions.  A while ago I was annoyed about how this fonts folder could not be deleted, asking permissions. So naturally I found about how Windows 10 (Home ed) was hindering me from making any changes to my computer, and I activated the hidden administrator user. That was yesterday.  And shazam, the fonts folder won't let itself be deleted. With this very administrator account I remember myself being able to hold success in seeking its bane, and now it's lingering to my computer like some virus.  Win 10 Home, ver. 1511.

After install Windows 10, it seems that I lost the ability to run explorer.exe as administrator with a user in administrator group.   The reason I want to do that is, in our team's development environment, we are using a C# exe to do some environment configuration which will start command prompt under administrator mode and subst a drive. As a result those substed drives are not visible within the file explorer since it is run not as administrator. That will be kind of inconvenience and sometimes make mistakes.   I was able to run explorer.exe from task manager with the option "create with privileges" checked and then I can see all the drives in explorer. But now this is not working anymore.   I knew there are other options to workaround this workflow, but just want to make sure that if it is now totally impossible under Windows 10?  Any comment is appreciated.


I am a student and I've been studying a physics book. There is one statement in the solution of one question (regarding calculation of Potential energy) which is confusing me. It states that:     If the particles are brought by some external agency without changing the kinetic energy, the work done by the external agency is equal    to the change in potential energy = - 1.0 x 10 -11 J.   Now I want to know how is it possible to bring or move a particle without changing its kinetic energy because in bringing a particle there is some change in the velocity which should change the Kinetic energy?

So, recently while I was studying electric fields and charges for a test, I came across the definition of electric potential as -     The amount of work done in moving a unit positive test charge from infinity to a point, without changing its kinetic energy, i.e, without acceleration against the force due to an electrostatic field.   But this contradicts to what the work-energy theorem says, that the work done equals the change in kinetic energy. What am I missing here?  Also, what exactly is electric potential? Why can we only define a potential for a conservative field?


I am often confused when writing a sentence with an "and" or an "or." If I want to then follow the two items/people with what they are doing, do I have to use commas to break off the second item/person so that the reader doesn't think that the action only applies to the second item/person? Which example found below looks correct? It is tricky because the sentence is long.   "The school does not allow the president, or the vice president, to vote in the election." "The school does not allow the president or the vice president to vote in the election."

Here's an example:  Should I use it or not?   OR  Should I use it, or not?   Which one is correct?


If that corridor's just so important and held a very dangerous beast, why would they let it be opened just by simply casting an Alohomora?

“They could hear footsteps, Filch running as fast as he could toward Peeves’s shouts.      “Oh, move over,” Hermione snarled. She grabbed Harry’s wand, tapped the lock, and whispered, “Alohomora!”      The lock clicked and the door swung open — they piled through it, shut it quickly, and pressed their ears against it, listening.”       - Harry Potter and the Philosophers stone     Why didn't Dumbledore bewitch the door to prevent Alohomora from opening it?     “And how are you going to get in there in the first place?'   Harry was ready for this question.      'Sirius's knife,' he said.      'Excuse me?'      'Christmas before last Sirius gave me a knife that'll open any lock,' said Harry. 'So even if she's bewitched the door so Alohomora won't work, which I bet she has -”       - Harry Potter and the Order of Phoenix


In many sources I have seen that in order to prove that any field is euclidean domain we need to take function $d:F-\{0\}\mapsto \mathbb{Z}_{\geq 0}$ and mostly $d$ is taken to be the $d(x)=1$ for any nonzero $x\in F$.   But if I define the function $d$ in different way, namely $d(x)=0$ for any nonzero $x\in F$ then everything still be fine.  1) $d(xy)\geq d(y)$ holds for any nonzero $x,y\in F$.  2) If $a,b\in F$ where $b\neq 0$  then $\exists q,r\in R$ such that $a=bq+r$. In our case we can take $r=0, q=b^{-1}a$.  P.S. In general we can take $d(x)=k$ where $k$ is any nonnegative integer.  Am I right? Would be very grateful for help.

I'm having trouble proving this. This is what I have so far:  Let $F$ be a field. Let $v(x) \rightarrow 1$ for all $x$ not equal to $0$.  So if we let $x$ be in $F$ where $x$ not zero then we can write $x$ as: $x=qy+r$ for some $y$ in $F$. If $r$ not zero then $V(r)=1$.  Not sure what to do from here. I know eventually I'm supposed to get no remainder $(r=0)$ but I'm stuck at applying the definition and valuation map.


So I learn about these two things today. Let $M,N$ be smooth manifolds and $f_1,f_2$ be smooth maps from $M$ to $N$  Def: $f_1$ and $f_2$ are HOMOTOPIC if there exists a a smooth map $H: [0,1]\times M\to N$ s.t. $H(0,m)=f_1(m)$ and $H(1,m)=f_2(m)$.  Def: $f_1$ and $f_2$ are SMOOTHLY HOMOTOPIC if there exists a a smooth map $H: \mathbb{R} \times M\to N$ s.t. $H(0,m)=f_1(m)$ and $H(1,m)=f_2(m)$.  I want to ask what is the relation between these two. I understand that if they are smoothly homotopic, then they are homotopic since we can restrict the homotopy map. What about the other way around? If we have a homotopy on $[0,1]$, can we extend it to $\mathbb{R}$?

In Jeffery M. Lee's Manifolds and Differential Geometry Exercise 1.77:    For smooth manifolds $X$ and $Y$, show that if $f_0: X \rightarrow Y$ and $f_1: X \rightarrow Y$ are $C^r$ homotopic then there is a $C^r$ map $H: X \times \mathbb{R} \rightarrow Y$ such that $H(x,s) = f_0(x)$ for $s \le 0$ and $H(x,s) = f_1(x)$ for $s \ge 1$    The definition of homotopy had been given only for $H: X\times [0,1] \rightarrow \mathbb{R}$.    But I came up with an example which explains the difficulty with this exercise. Let $X = \mathbb{R}$ and $Y = \mathbb{R}$, $f_0(x) = 0$, $f_1(x) = 1$. Both $f_0$ and $f_1$ are smooth maps, and homotopic via $H(x,s) = s$ where the domain of $H$ is $\mathbb{R} \times [0,1]$. I don't see how you could extend the domain of $H$ to be $\mathbb{R} \times \mathbb{R}$ as the exercise requires since the partial derivative in the $x$ direction would be zero for $s \notin [0,1]$ and suddenly nonzero for $s \in [0,1]$    Somehow I need a general way to make the partial derivatives in the $x$ direction zero at the boundaries.


I'm trying to migrate to Blender from Sketchup.  There, instancing is managed simply by 'group' and 'component'.  Groups are just separate coordinate system while components make object an instance. So when you want to separate singular object you make group, else to make linked objects you make component. Groups can have components and components also do. There is no depth restriction so a group can have groups which have component which have another components that have a group, and so on.  This kind of structuring is very crucial in architectural modeling as they tend to have duplicated objects and become very hierarchical.  I've read this and that about blender instancing, grouping, tied playing with boxes for days but still things are not clear. I think one of the cause is that parenting and grouping is separate in Blender.   So I'm asking here hopping someone could give a golden answer (once again) that would weave everything vividly and reveal real power of Blender specific hierarchy structure represented by 'collection'.  Is there anyone coming from Sketchup side and managed to understand instancing in Blender? How should I reroute my thinking?

Apart from testing it myself, I've seen a few posts  and , including from Sketchup users like me, sort of circle around this topic but never ask this question directly. How can I overcome these problems in DupliGroups or Collection Instances?  moving its origin seems to require moving to World origin (and using up a layer for clarity) <=> linked meshes have their own local origin which I can move data around in Edit Mode (easy enough)  It is impractical to link up DupliGroup data to previously created meshes because the origin mismatch as above, and the mesh data that remains in it and needs to be deleted somehow  Linked meshes don't have the above two problems (can be 'blocked in' and then detailed up all at once) but I can't add objects to them, only faces. Say I'd like to add handles as linked meshes, because handles are used elsewhere in the model too.    How feasible would it be to make a linked object type with deeper hierarchy? Say an object that would look at its children and simply make every other instance have the same children. It would also mean dragging and dropping in outliner would be the simplest way to manage it by the looks of it.


I'm completely new to writing a review paper, so how would I best write it? Do I need to read every single paper? Or just a few sections like the introduction and results and get the info from them? How would you approach this?

I want to write a survey on one emerging research topic in wireless communications (It can be applied to any field!). There are almost 500 papers on this topic as published or in early access. And the publishing rate in this topic is increasing day by day. So, I want to write a survey on this topic keeping in mind that it will get high citation and it will help new scholar who are in struggle with this topic. I found only one survey written by some reputed authors, however it lacks in many ways, like detailed information related to particular direction, it just assembles the papers in a good manner. I want to pick some directions and discuss  important approaches with good connection between them. However, I find it very difficult to proceed with large number of papers. Is there any good way to handle the survey process in a good efficient and quick way? PS. According to me, many people have already started to write this.


Kryptonite is green....   Can the Green Lantern defend himself against Kryptonians?   Or can the ring not make something that acts sufficiently like kryptonite?

Is there anything or anyone in the DC universe that can defeat Superman just in case he goes berserk on everybody?  Maybe Batman stores kryptonite in his Cave or something. I don't know if Batman actually has kyptonite, the example was just a theoretical example.  Who can stop Superman if needed, and how?


I just downloaded a copy of the new Firefox Developer Edition browser and started to fiddle around with the dev tools.  I noticed that some of the links and scripts were loaded over chrome:// urls, which I thought were registered for Google Chrome.    Here are some of those lines in specific.  <link id="favicon" rel="icon" type="image/png" href="chrome://branding/content/icon32.png"></link> <link rel="stylesheet" type="text/css" media="all" href="chrome://browser/content/searchSuggestionUI.css"></link> <link rel="stylesheet" type="text/css" media="all" defer="defer" href="chrome://browser/content/abouthome/aboutHome.css"></link> <script type="text/javascript;version=1.8" src="chrome://browser/content/abouthome/aboutHome.js"></script> <script type="text/javascript;version=1.8" src="chrome://browser/content/searchSuggestionUI.js"></script>   I wondered whether they were hijacking chrome assets, but after checking out one of those scripts, I found a Mozilla comment.  /* This Source Code Form is subject to the terms of the Mozilla Public  * License, v. 2.0. If a copy of the MPL was not distributed with this  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */   I don't know much about custom protocols or how they are registered or used. What's going on here?

When I want to configure an addon, for example Ghostery, the tab shows a URL like this one:     chrome://ghostery/content/options.html   What does it mean? Does it have something to do with the Chrome browser?


How would I go about finding this density function? Thanks

Suppose that $Z\sim N(0,1)$ and let $V=Z^2$.  Prove that $V\sim \chi^2(1)$.  I want to use the method of moment generating functions, because I already understand the proof using the method of distribution functions.  I will show my work, and then where I got stuck.  Since $Z\sim N(0,1)$, then $\mu=0$ and $\sigma^2=1$, and we have  $$M_V(t) =E[e^{tV}]=E[e^{tZ^2}]=\int_{-\infty}^\infty e^{tz^2}\frac{1}{\sqrt{2\pi}}e^{-\frac{1}{2}z^2}dz=\int_{-\infty}^\infty \frac{1}{\sqrt{2\pi}}e^{z^2(t-\frac{1}{2})}dz.$$  At this point, I'm out of ideas.  I want to eventually get something that looks like $\frac{1}{(1-2t)^{\frac{1}{2}}}$.  Could I get a hint please?


I was recently on process of upgradation of ubuntu from 14.0 to 16.0. but after up-gradation the boot screen comes with a blank black screen with a cursor blinking.  how can i fix the issue ?

I am trying to boot Ubuntu on my computer.  When I boot Ubuntu, it boots to a black screen.  How can I fix this? Table of Contents:


I work in an insurance company and for different clients I have to send emails about promotions and greetings, etc. How to create an email in Outlook with images and cards and then send it to about 50 to 70 clients?

I'm looking to simultaneously send the same email to multiple recipients.  Let's say I want to email John and Bill the same email, I want them to be in the "To:" field, but I don't want them to see each other in the address list.  I don't want to bcc them both because then they see they are bcc'd.  I want them to each get their own copy of the identical email and to have 2 emails in my sent folder - one for each of them.  Essentially I want the same result as if I separately sent them each the identical email, but I'd like to do it in fewer steps.  Can I accomplish this either natively or with a plug-in, or some pre-existing code?  NOTE: I am looking to do this interactively (in real time), not in batch.


I freed up some space on my 2017 MBP this afternoon. I had 7gb so I deleted 30gb to make some room. Came back to my MBP a few hours later and 30gb of space (and counting) was used up again. How does this happen and how do I stop it? I am watching gb drop at a steady pace and I don't know why. Help is much appreciated, as always.  Now my available storage has dropped to 1.82gb - what is happening???

Every few days I get notices on my MacBook that it's running or run out of hard drive space. Curiously, restarting the computer will enable me to recover gigabytes of space (this past time, it was able to recover about 2.2GB). However, I can't identify anything in my personal activity that consumed that space.  It's possible that it's a rogue iTunes podcast or a huge software update that my Mac is automatically downloading - would either of these reclaim the space upon a restart?  One possibility that I can think of is that FileVault has some sort of disk leak, allocating but not freeing files. Does this make sense? Is there a tool that I can run to determine where this space is going? Assuming it is FileVault, should I try to disable it? What's the best way to turn of FileVault on a nearly full computer?


I'm Pre-Hardmode, Expert Large World, with an Iron Pickaxe, and Underground.  I spotted some sort of shiny rock in the dark, dug my way to it, and found that I can't seem to break it.  I hit it, and its image changes, but no breaking.  I looked up what materials need high levels of pickaxes to break them, but it doesn't seem to fit any of them, since it seems none of them should be Underground, Pre-Hardmode?  I haven't seen any lava yet, either.  No Screenshot, right now.

I just came across this glowy ore, and my 'Sharp Silver Pickaxe' won't mine it. I'm playing on the PC version of Terraria, if that helps.  How do I mine the glowy ore block?


There is 1 out.  There is a runner on first, and the ball is hit to the second baseman.  The second baseman gets the ball and runs towards first.  The runner on first stays on 1st base and the batter is running towards first.  If the second baseman with the ball steps on first base, who is out and who is safe?  If the second baseman steps on first, do they still have a force on 2nd base?

In baseball if a play ends and two base runners are at the same base who is safe and who is out? Does the situation change if one of the runners can be forced?


when I have "Mentor of the Meek" and the "Mutavault"-land on the battlefield, and when I make Mutavault into a 2/2 creature, can I draw a card when I pay the mana cost for a creature entering the battlefield under my control?  Same question applies to "Suture Priest". Can I gain life using Suture Priest's and Mutavault's abilities?  Thanks friends!

I was playing a game last night with a guy who was playing a new Simic Gatecrash deck, and he claimed that if he made a land into a creature, it counted as entering the battlefield, thus triggering evolve (or other "enters the battlefield" abilities).  I thought this was incorrect, being that the creature didn't actually enter the battlefield, it was just created.  Which of us was right?


In my website, I send emails from my website to IIS SMTP Server (using the pickup drlivery method). IIS SMTP server is set up to forward the emails to a local mail server, XMail Server, running on the same machine (using the smart host setting).  This configuration works great, no problems here. The problem I'm seeing though is that emails sent from my website get deleted by some webmail providers (like AOL) or end up in the spam folder (which what happens with Hotmail). I have everything set up correctly to avoid problems with their spam filters (SPF record, reverse DNS resolves to the same IP .. etc), still my messages are not delivered to the user's inbox.  Now, by checking the generated message headers, I see that the IIS SMTP Pickup service adds its headers before forwarding the message to XMail server, is this why my messages get deleted by AOL and flagged as spam with hotmail? Other than sending the emails directly from my website to XMail, is there anything to do to make it work with the current configuration?  Here are the message headers for a message sent from my domain (please note that my real server's IP, domain name and computer were replaced):  Delivered-To: urshad8987@gmail.com Received: by 10.142.234.17 with SMTP id g17cs544432wfh;         Mon, 18 Jan 2010 05:45:09 -0800 (PST) Received: by 10.142.66.27 with SMTP id o27mr3223385wfa.216.1263822309298;         Mon, 18 Jan 2010 05:45:09 -0800 (PST) Return-Path:  Received: from computername (mydomain.com [1.1.1.1])         by mx.google.com with ESMTP id 39si10419762pzk.116.2010.01.18.05.45.08;         Mon, 18 Jan 2010 05:45:09 -0800 (PST) Received-SPF: pass (google.com: domain of confirm@mydomain.com designates 1.1.1.1 as permitted sender) client-ip=1.1.1.1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of confirm@mydomain.com designates 1.1.1.1 as permitted sender) smtp.mail=confirm@mydomain.com Received: from computername ([127.0.0.1]:51518)     by computername with [XMail 4.7.1.imap4.dk-i ESMTP Server]     id  for  from ;     Mon, 18 Jan 2010 05:45:07 -0800 Received: from mail pickup service by computername with Microsoft SMTPSVC;      Mon, 18 Jan 2010 05:45:07 -0800 MIME-Version: 1.0 From: MyDomain  To: urshad8987@gmail.com Date: 18 Jan 2010 05:45:06 -0800 Subject: MyDomain Account Confirmation Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID:  X-OriginalArrivalTime: 18 Jan 2010 13:45:07.0070 (UTC) FILETIME=[71F721E0:01CA9844]  Hi,=0A=0AYou recently registered for MyDomain. Please confirm your=  account by clicking this link:=0Ahttp://www.mydomain.com/confirm.aspx?memberid=3D111&vcode=3D6ca78bb81a464f11a59fbdff69f8459b= =0A=0A=0AThanks,=0AThe MyDomain Team

This is a  about how to handle email sent from your server being misclassified as spam.  For additional information you may find these similar questions helpful:                    Sometimes I want to send newsletters to my customers. The problem is, that some of the emails get caught as spam messages. Mostly by Outlook at the client (even in my own Outlook 2007).  Now I want to know what should be done to create "good" emails. I know about reverse lookup etc., but (for example), what about a unsubscribe link with an unique ID?  Does that increase a spam rating?


How can I synchronize on my computer two different dropbox accounts?  I share one privately and one with my office.

Can Dropbox be used with multiple accounts on one computer?


Why there are no items for you to review while the counter fluctuates around 20 (never seen it that big)? I remember that the counter is not precise, but now it's way off.  After some page refreshes, it showed me a some reviews, but fewer than usual (the counter is still high).

This confusion came up in comments .  On the site I use most actively (RPG.SE), I've noticed that the counts for each review queue appear to only indicate the reviews available to me requiring my action. Just to be clear, I'm talking about this number here:        Since I'm a 10k user, that's pretty easy to tell: even after doing all my reviews, and the review page saying there's 0 items in each queue, I might still have that 10k notice in my top bar saying there's [5] reviews pending, or some other number. So they must still be there, just waiting on other users to finish them, and it just doesn't show them to me. This is fine, I like this behaviour.  However, on Meta SE about an hour ago, there was 1 item in the close vote review queue. I reviewed that item. The count stayed at 1 on the review page. When I clicked to re-enter the queue in case there were new items, I was presented with this:        Another user in that meta question I linked claims this is normal behaviour for them on their own site (Christianity.SE I think?).  What's going on here? Are the review queues supposed to be customised just to what I personally can actually review at the time? Is there a bug, are sites customised differently, or is there just some kind of caching thing leading to a time delay on the review count getting updated? (As they say, it is always caching, but is caching really the culprit here too?)


As a non native english speaker i wonder which one is the correct form to use ?  to think outside the box ? to think out of the box ?  is there any difference in meaning ?

I send a lot of unsolicited emails. In many of them, I ask to buy traditional advertising spots or to help conceive a non-traditional campaign. Oftentimes, I find myself describing these non-traditional campaigns as "out of the box," as in "let's think outside the box!" But I realize this phrase can also be interpreted as "ready-to-go," "turn key" or "prefabricated." That's not what I'm going for.  Am I using the phrase correctly? Is it easily interpreted as I intend? Is there a better phrase?


I am writing a thesis and I would like to add link to references. Below sample code from file "references.bib":  @article{simpleLink, author = {}, journal = {}, number = {}, pages = {}, title = {}, url = {www.wikipedia.com}, volume = {}, year = {} }   The problem is that this link is not visible when I compile the file. In document I see author, title, journal, etc. ,but I can't see url (link -> www.wikipedia.com). How can I solve it? Thanks.  This is the template, which I am using:

I am using natbib with the chicago style as bibliography style. I am trying to cite a web site, but in the bibliography the URL (given in the BibTeX entry) is not printed.   Is there a simple solution to this matter? What am I doing wrong?  ok, as a little example (the entries are generated via Mendeley)  @misc{Carlson2011,    author = {Carlson, Nicholas},   booktitle = {Businessinsider.com},   title = {{How Many Users Does Twitter REALLY  Have?}},   url = {www.businessinsider.com/chart-of-the-day-how-many-users-does-twitter-really-have-2011-31/3},   year = {2011} }   and the output in chicago-style looks like this:     Carlson, N. (2011). How Many Users Does Twitter REALLY Have?


I have a question about the LyX and BibTeX.   For some reason, BibTeX is not working in LyX 2.2.3 ( windows 10 computer). And I got this.   My setting is Natbib and biber, and I followed this instruction:  "Using Biblatex with LyX 2.2 and earlier"   Even the simple examples provided in that website do not work.   This is the example   Anyone knows that is the problem? Thank you very much.

As late as last week my setup for biblatex worked fine. Going back to the same project today not even a minimal file compiles:  \documentclass{article}   \usepackage{biblatex} %\addbibresource{biblatex-examples.bib}   \begin{document}  test%foo\nocite{*}    %\printbibliography  \end{document}   but breaks off with   /usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty:3776: LaTeX  Error: Missing \begin{document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.3776   australian,newzealand} ?  /usr/local/texlive/2017/texmf-dist/tex/latex/biblatex/biblatex.sty:3776: Math f ormula deleted: Insufficient symbol fonts. \expandafter ->american|  l.3776   australian,newzealand}   And keeps repeating the last one until    (That makes 100 errors; please try again.)   when I ignore it.  Files without biblatex work as expected.  Using tlmgr to go my two backup versions of biblatex back in time to 1st Jan I still get the same errors.  Could this be another update from the last week or so that causes this?  If I swich back to TL 16 things work as expected. (For my work I need TL 17 because of packages.)


I am trying to export Google Earth searches as a kml file to QGIS. How come all existing locations of a search (e.g. Walmart) in the United States only shows select locations. I'm doing a project on food deserts and want to include all major chains and their locations in the U.S.

I am trying to export Google Earth searches as a KML file to QGIS. How come all existing locations of a search (e.g. Walmart) in the United States only shows select locations. I'm doing a project on food deserts and want to include all major chains and their locations in the U.S.


I have a script:  [postgres@LaHarch ~]$ cat mkrundir.sh  #!/bin/bash mkdir /run/postresql    With attributes:  [postgres@LaHarch ~]$ ll mkrundir.sh  -rwsr-sr-x 1 root root 74 Aug 26 18:53 mkrundir.sh   But when I run it I get:  [postgres@LaHarch ~]$ ./mkrundir.sh  mkdir: cannot create directory '/run/postresql': Permission denied   Why SUID didn't help me? And what is best practice for such a task?

The setuid permission bit tells Linux to run a program with the effective user id of the owner instead of the executor:  > cat setuid-test.c  #include <stdio.h> #include <unistd.h>  int main(int argc, char** argv) {     printf("%d", geteuid());     return 0; }  > gcc -o setuid-test setuid-test.c > ./setuid-test  1000  > sudo chown nobody ./setuid-test; sudo chmod +s ./setuid-test > ./setuid-test  65534   However, this only applies to executables; shell scripts ignore the setuid bit:  > cat setuid-test2  #!/bin/bash id -u  > ./setuid-test2  1000  > sudo chown nobody ./setuid-test2; sudo chmod +s ./setuid-test2 > ./setuid-test2  1000     Wikipedia :     Due to the increased likelihood of security flaws, many operating systems ignore the setuid attribute when applied to executable shell scripts.   Assuming I'm willing to accept those risks, is there any way to tell Linux to treat the setuid bit the same on shell scripts as it does on executables?  If not, is there a common workaround for this problem? My current solution is to add a sudoers entry to allow ALL to run a given script as the user I want it run as, with NOPASSWD to avoid the password prompt. The main downsides to that is the need for a sudoers entry every time I want to do this, and the need for the caller to sudo some-script instead of just some-script


I have huge list of inactive picklist values that needs to be deleted forever. Manually takes lot of time deleting in each instance, is there any automated way like Apex code or data loader to delete them in single shot? Thanks for your response.

I'm trying to find an automated way to mass delete picklist values. I had a look at the following ways to accomplish this but without success:   Force.com IDE: Deleting the picklist values in the metadata makes them Inactive when uploading Using a Javascript hack:  which was not working anymore due to the deprecated synchronous XMLHttpRequest. Converted to code using jQuery to async processing but didn't work. Seems like the page to replace the picklist values is stopping the deletion Destructive XML on Picklist value Changing type to Text and back to Picklist: Picklist values will be auto created based upon distinct data   Any other ideas?


I have spatially joined a polygon file with census tracts of areas in Houston with a theft occurrence point shapefile. The attribute table contains a field that represents different classes of theft (ie. Class A: $0-$1000, Class B: $1001 -$2000 etc). I want to calculate the frequency of classes in each of my census tracts. So in essence how many different theft classes occur in each of the census tracts. I have figured out how to get the count, but this is not what I want. How would I go about obtaining and representing the frequency?

I am relatively new to GIS and am facing some difficulties trying to summarize/pool data together.  I've attached the file to make it easier. FID_pc11_1 (Refers to postcode identifier) and count refers to the number of each postcode. Basically, there are 2107 objectid_1 (which is the different buffer zones around schools), code represents the different lower super output areas in UK.   I would like to summarize my data, such that it would give me data in the format of; in zone 1 (eg.objectid_1= 1),what is the summated count (of postcodes) for each of the code/lower super output layer (eg:E101002711).


I need to start Steam in offline mode without first logging in and without having an Internet connection. I know there are already questions like this, but there are no decent answers that I can comprehend. Is there just a simple way to do it?  It's not a duplicate of the other question because that's not my problem. Read both questions fluently. He has possible connection to the Internet, I don't. Also, his question is 4 years out of date.

I recently find myself needing to start Steam in offline mode rather frequently (my wife is hogging my account to play Plants Vs. Zombies, and most of what I play doesn't really need to be online).  I was wondering if there is some way to launch Steam in offline mode without first logging in (and selecting it from the menu), since that usually beats the purpose.  While I know that killing my network connection before launching Steam is an option, I am looking for a more "civilized" way, such as a command line switch or something of the sort.


I have some questions concerning names of university.   What is the difference between "The Poznan University of Life Sciences" and "Poznan University of Life Sciences"?  Are there any grammatical rules for a university's name? Where and when should we put "the" before the name?   Thank you for your help in advance.

Is the always used before the name of a school, college, or university?