Would Netherlands refuse entry for a Schengen visa issued by the French embassy?

I have a valid multiple-entry Schengen visa issued from the French embassy in Bahrain. At the beginning, my flight was to Paris, France, but I want to change my route to be Amsterdam, Netherlands my first destination (first port of entry) then France.   I heard some people saying that Netherlands may refuse your entry as a first destination (first port of entry and it should be to France). If so, can I purchase a ticket from their airport (Amsterdam Schiphol Airport) to France. Or it is allowed for me to enter?  Note: I have all the confirmed booking documents that prove I will be staying longer period in France. And this is why I applied for the visa at the French embassy.


Show the relation: $\partial_c g = g g^{ab} (\partial_c g_{ab})$

In order to follow my book on General Relativity, I need to prove the above relation, where $g_{ab}$ is some general metric, $\partial_c$ denotes the partial derivative with respect to $x^c$, $\partial_c=\frac{\partial}{\partial x^c}$ and, as it's said on the title, $g$ is the determinant of the metric matrix. On the book it's said (and seems like it's useful for the proof) that the cofactor of the element $g_{ab}$ in this determinant is $gg_{ab}$, but I can't see why this would be true... Any help would be much appreciated!


Is there a way to add the usage of a table/reference in the caption of the reference/table in LaTeX?  For example:  \begin{table}     \begin{tabular}{ll}     \textbf{Name} & \textbf{Description} \\         Foo & bar \\         Foo & bar     \end{tabular}     \caption{Nice Table. Used on pages [2,3,4].}     \label{tab:table} \end{table}   I would like the "Used on pages[2,3,4]." to appear automatically and linked to the correct reference, to all the locations in the document that use \ref{tab:table}.  Anyone knows a package that takes care of this?


Ofter i come across things like this:  $$7^x\equiv 1 \pmod{180} $$  $$x^3\equiv7 \pmod{13}$$  Are there easy ways to solve in general these kinds of congruences: $$a^x\equiv b \pmod{n} $$  $$x^a\equiv b \pmod{n}$$  For example $7^x\equiv 1 \pmod{180} $ has as solution $x\equiv 0 \pmod{12}$, I checked with Wolfram. But how can I do these?  Thank you for your time :)


Is there a function $f(x)$ such that $f(f(x))=e^x$?

Is there a function which would be a "functional square root" of the exponential function? I.e., function $f(x)$ such that: \begin{equation} f(f(x))\equiv f^2(x)=e^x \end{equation}  If not, what is the proof of non-existence?  If there is such a function, is it unique? Is it analytic? If it isn't unique and can be analytic, is analytic solution unique?


Acessing a random array a given number of times without using the random module (Python)

For instance, let's say I have a random array [5,2,1,3,6,4] and I want to access it at least 6 times (i.e. 6 == len(array)) (the acess order doesn't matter, nor does it matter that I've accessed them all). How can I randomly access the whole array without popping any of the values ? In other words, I am trying to write a function find_new_index which takes an index i such that: arr = [5,2,1,3,6,4] i=0 x = 0 while i < 6:     access = arr[i]     x+=1     i = i + find_new_index(i) assert(x >= 6)  The idea is that this function works for any random array of size N which has random values from 1 to N. PS : The easy way to write find_indexis to generate a random number within it. However, I want to know if it's possible to write this function without loops or any function calls. This differs from other questions, since I don't want to use the Random Module.


Do groups of prime order have one subgroup?

So let's say that I have a group of order $p$, where p is prime; does that group only have one subgroup?   I've look at the wiki article and it says there's a trivial and actual solution, so can we somewhat say it is only one group that exists.   I apologize if I am misinterpreting this.   Thanks for the time and help.


How can I monitor other windows non-intrusively (enable picture-in-picture feature) on GNOME 3?

I am looking for an application or a GNOME Shell extension which I can use to easily and non-intrusively monitor other windows without having to have them on top in any way.  So I would like it to have the following features:   The ability to show window previews of windows without having them on top and even showing minimized windows Allow showing the window preview in any corners of the screen Allow one with ease to view what is behind the window preview on screen and click on what is behind it Allow windows from different workspaces to be accessible Allow the resizing of the window preview Allow the switching on and off of the window preview with ease Allow the viewing of workspaces in the preview   I am running Ubuntu GNOME 17.04 with GNOME 3.24.1, is there such an extension?  This would be really useful for when I need to be monitoring a system application or I want to watch a film or a video call while doing work or other stuff and don't want to either have two windows taking up either half of the screen or to have to keep switching between them.


How to prove that $\lfloor a\rfloor+\lfloor b\rfloor\leq \lfloor a+b\rfloor$

We have the floor function $F(x)=[x]$ such that $F(2.5)=[2.5]=2, F(-3.5)=[-3.5]=-4, F(2)=[2]=2$.   How can I prove the following property of floor function: $$[a]+[b] \le [a+b]$$


Garbage collection performance comparison, java vs .net 4.5

In the case of garbage collector performance comparison between .NET 4.5 and Java, is there any detailed comparison which shows their efficiency in different situations?  I've found (.Net vs Java Garbage Collector ) question which has a good answer, but it's as old as about 4 years ago. I think with .NET 4.5 and Java 7, there should be some more optimizations.


Google Sheets Customize View Using Create Custom Menu and Hiding/Showing Specifc Columns

Trying to determine a way that I can use a custom menu (.createMenu) with views that will allow me to show / hide specific columns.  I need the capability to pick specific multiple columns and not ranges.  In the example below how can you pick a custom view from the menu (say "Customer Info") that will only show columns A, B, C, and H?  Maybe another view could show "Financial".


I've been programming in Java for a while and just got thrown onto a project that's written entirely in C#.  I'm trying to come up to speed in C#, and noticed enums used in several places in my new project, but at first glance, C#'s enums seem to be more simplistic than the Java 1.5+ implementation.  Can anyone enumerate the differences between C# and Java enums, and how to overcome the differences?  (I don't want to start a language flame war, I just want to know how to do some things in C# that I used to do in Java).  For example, could someone post a C# counterpart to Sun's famous Planet enum example?  public enum Planet {   MERCURY (3.303e+23, 2.4397e6),   VENUS   (4.869e+24, 6.0518e6),   EARTH   (5.976e+24, 6.37814e6),   MARS    (6.421e+23, 3.3972e6),   JUPITER (1.9e+27,   7.1492e7),   SATURN  (5.688e+26, 6.0268e7),   URANUS  (8.686e+25, 2.5559e7),   NEPTUNE (1.024e+26, 2.4746e7),   PLUTO   (1.27e+22,  1.137e6);    private final double mass;   // in kilograms   private final double radius; // in meters   Planet(double mass, double radius) {       this.mass = mass;       this.radius = radius;   }   public double mass()   { return mass; }   public double radius() { return radius; }    // universal gravitational constant  (m3 kg-1 s-2)   public static final double G = 6.67300E-11;    public double surfaceGravity() {       return G * mass / (radius * radius);   }   public double surfaceWeight(double otherMass) {       return otherMass * surfaceGravity();   } }  // Example usage (slight modification of Sun's example): public static void main(String[] args) {     Planet pEarth = Planet.EARTH;     double earthRadius = pEarth.radius(); // Just threw it in to show usage      // Argument passed in is earth Weight.  Calculate weight on each planet:     double earthWeight = Double.parseDouble(args[0]);     double mass = earthWeight/pEarth.surfaceGravity();     for (Planet p : Planet.values())        System.out.printf("Your weight on %s is %f%n",                          p, p.surfaceWeight(mass)); }  // Example output: $ java Planet 175 Your weight on MERCURY is 66.107583 Your weight on VENUS is 158.374842 [etc ...]


I need to build a website for a client where the can password protect certain pages and posts on the front end. So, a visitor is required to enter a password on these pages / posts.  Having searched and tried out a couple of plugins 'password protected' and 'smart passworded pages' without much success.   I was wondering if there is a way to set the wordpress built in password protect password globally. So the client only has to select if they want the page / post protected and not have to enter the password each time... which is not an option here.  Also, as they will be changing the password each term being able to do so from a single place would be great!  If anyone can point me in the right direction that would be a great help.  Many thanks


D'Alembers Principle - further explanation

In question :  there is a response :  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  Perhaps a simple example is called for.  Example. In 2D consider a point mass $m$ with position ${\bf r}=(x,y)$ that is constrained to move on a frictionless vertical rod, which in turn has pre-determined horizontal position $$x=f(t),\tag{1}$$ where $f$ is a given function of time $t$. In other words, eq. (1) is a holonomic constraint, and there is one  $q\equiv y$, i.e. one degree of freedom. The constraint force ${\bf F}^{(c)}$ is horizontal. The  $\delta q \equiv\delta y$ are by definition vertical with $\delta t=0$, leading to that the constraint force ${\bf F}^{(c)}$ does no virtual work$^1$  $$ {\bf F}^{(c)} \cdot \delta {\bf r}~=~0.\tag{2} $$ However if we allow $\delta t\neq 0$, then eq. (2) will no longer hold, and this implies that we can no longer derive  from Newton's 2nd law.  --  $^1$It is tempting to call eq. (2) the , but strictly speaking, the principle of virtual work is just d'Alembert's principle for a static system. For d'Alembert's principle, see also  and  related Phys.SE posts.  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  $\boldsymbol {My}$ $\boldsymbol {question}$ is if $\delta t\neq 0$ why will eq. (2) no longer hold?


Does Finger of Death turn you into a zombie if it drops you to 0hp?

says:     A humanoid killed by this spell rises at the start of your next turn as a zombie that is permanently under your command   If a player is hit by finger of death and dropped to 0hp, do they turn into a zombie immediately? If they subsequently fail death saves and die, do they then turn into a zombie?


How can i call syntaxnet from python file?

We have successfully installed syntaxnet and we are able to get the parsed output by calling the command echo 'open Book, which I have written with laboratory writer, with libreoffice writer.' | syntaxnet/demo.sh.  Ideally what we want is calling syntaxnet from python file (more specifically from flask) and expose syntaxnet service as api for internal team.


Circles and lines on the complex plane correspond to circles on Riemann sphere.

I need to prove that circles and lines on the complex plane correspond to circles on Riemann sphere. This is intuitively easy to understand, as lines on the complex plane can be viewed as a circle going through the point $\infty$. But the thing is, how to describe a circle on Riemann sphere? How to make sure that circles and lines map to circles instead of ellipses or other shapes? So I need some features to determine that the images under this projection are indeed circles. Any help would be appreciated!


Where does the String.Reverse method come from?

I am learning C# throught the C# via CLR book. And I come across the following piece of code (simplified to create minimal example):  using System;  public class Program  {     public static void Main(String[] args)     {      string text = "Test";      string reversed = new String(text.Reverse().ToArray());       Console.WriteLine(reversed);    } }   Before trying to run the code above a compiler tells the following:     'string' does not contain a definition for 'Reverse' and no accessible extension method 'Reverse' accepting a first argument of type 'string' could be found (are you missing a using directive or an assembly reference?) [Console.NET]csharp(CS1061)   I can not wrap my head where the Reverse method come from. Was the Reverse method present in an older version of C#?  Original code is the last page of the Delegates topic (417-418 page).


Is the log loss function $f(w) = y_t \log(y_p) + (1 - y_t) \log(1 - y_p)$ convex in $w$?

Kaggle defines the log loss function as:   $$f(w) = \log \Pr(y_t|y_p) = y_t \log(y_p) + (1 - y_t) \log(1 - y_p)$$  Let $y_t \in {0, 1}$, and $y_p$ is given by the sigmoid function $y_p = \sigma(w \cdot x) \in (0,1)$, where $\sigma$ is defined by  $$\sigma(w \cdot x) = \dfrac{1}{(1+\exp(-w \cdot x)}$$  $w,x \in \mathbb{R}^n$. The objective variable is $w$ so $x$ could be thought of as a weight.   So putting everything together:  $$f(w) = y_t \log\left(\dfrac{1}{(1+\exp(-w \cdot x)}\right) + (1 - y_t) \log\left(1 - \dfrac{1}{(1+\exp(-w \cdot x)}\right)$$  My question is: Is $f(w)$ convex?  I have read up some references but can't see the relationship: . If anyone has a reference, it will be greatly appreciated!!


I want to enable "show desktop icon to the launcher" as in ubuntu 16.04. I cannot find the why. Is this option somewere in ubuntu 18?


I am on Ubuntu 14.04 and I reside in Dubai and thus I set up my date and time settings accordingly. However, I do not speak Arabic but Ubuntu insists on displaying the date in Arabic. Other applications such as Skype on my Ubuntu machine display date and time in Arabic. Is there anyway I can change this to English?


I'm getting the following GET requests in my apache logs:  109.230.251.14 - - [29/Mar/2011:16:28:18 +0100] "GET http://209.191.92.114/config/pwtoken_get?login=jackmcphee232&src=ygodgw&passwd=e59e2240415e6f1aba3da72b8f189f4e&challenge=9TbU_9yfZhKmzlHtK9X4OkQlesTH&md5=1 HTTP/1.0" 404 1226 "-" "-"   Any idea what it could be and how is that possibly a get request? That IP address seems to point to Yahoo! I'm very confused.


Prove that there are infinitely many primes p, such that the congruence $x^7$ + $3x^5 + 1 \equiv 0 \mod p$ has a solution

How would you go about solving this? What kind of proof should i use? Any help will be much appreciated, thank you!


Calling function in Child component controller from Parent Controller using aura:method not working

I have a parent component controller from which I am calling a Child controller  function using aura:method as described in    But now working. Giving the error:      c:WspPOLITICS$controller$save [childComponent.callScoremethod is not   a function]   Parent Component     <aura:component access="global">    <!--some code-->       <c:questionSectionPolitic aura:id="childQuestion" />      <button type="button" aura:id="saveAndReturn" class="slds-button slds-button--neutral slds-button slds-button--brand slds-hide" onclick="{!c.save}" >Save and return      </button>  </aura:component>   ParentComponent Controller  save : function(component,helper,event){   var childComponent = component.find("childQuestion");   console.log('childComponent-->'+childComponent);   childComponent.callScoremethod(); }   Child Component     <aura:component access="global">    <aura:method name="callScoremethod" action="{!c.calcScore}" access="PUBLIC"></aura:method>    <!--some code-->    </aura:component>   Child Controller  calcScore : function(component,event,handler){  <!Some logic-->  }


MySQL consuming nearly all memory in cache?

I am running a server with 24G of RAM. The only thing running here is a MySQL server configured as Master.  When I check the memory via free -m I am getting this:               total       used       free     shared    buffers     cached Mem:         24158      24027        131          0        131      23050   Approx. 23G is in cache. Which seems a lot to me.   I also set caching to 0 in the my.cnf  query_cache_size        = 0   How can I check what is exactly cached?  Also a restart of mysql doesn't clear the cache. A flush tables also didn't help.


I'm extracting some performance metrics from "top" and saving them into file  top -b | grep 'tesseract\|node\|java\|beam.smp\|dockerd' > testm.txt   so for every second I'm getting next output:     535 rabbitmq  20   0 1246756 128432   5536 S   1.3  3.4 618:33.41 beam.smp    589 root      20   0  351040  47836  25740 S   0.0  1.3  12:38.72 dockerd   1980 root      20   0 2236796  36844  15980 S   0.0  1.0   6:11.59 java   1995 root      20   0 1766008 241428  21844 S   0.0  6.4  11:26.85 java  29965 root      20   0 1107460  63732  19328 S   0.0  1.7   0:01.69 node   I'm curious how to add timestamps for every chunk of this output, because when running this script for a long period of time it become impossible to find out when some random data chunk had been collected.  Thanks in advance!


"any other verbs then being located in VP" -- is this acceptable?

if the sentence you are analysing contains a modal verb, then it is positioned in ‘I’,any other verbs then being located in VP.      (English Syntax and Argumentation - Bas Aarts)   At first, I think the The bold clause should be "...is located..." but then I realize it might be in the form of a non-finite clause (ing clause with a subject) but I'm not sure. If it isn't, how you describe this usage? Is this common in English?


Is a character level an abstract concept, or a literal?

This question was inspired (at least in my head) by . Namely, wishing for higher levels. One reason wishes for levels don't work is because many DM's say that a player is meta-gaming if they talk about "levels". But I wonder if levels are truly a abstract concept. In game, a character would not understand things like experience points, hit points, ability scores, and terms like that. These are what I would call abstract--They are concepts we use as players to describe and work within the parameters of the 5e (and other systems) rules. But levels have very specific traits attached to to them. The player gains more hit points, so yes, that part is still abstract and is reflected by the ability to withstand more punishment. But there are features that are determined (or even defined) by level such as extra attacks, new feats, ability to learn and use new spells. The list goes on. There is a direct correlation between these features/abilities and level. In martial arts, there is the definitive marker of experience; the belt. In scouting there are merit badges. In the military there are ranks. These are what I would refer to as literal--proof of experience and training. A 1st-level Fighter is a white belt, and a 20th-level Battle Master is a black belt and there would be stages in between. A 1st-level Ranger is a Cub Scout and a 20th-level Ranger is an "Arrow of Light". You get the idea. So I'm asking, in 5e, is "level" (not XP) an abstract or a literal?


The role of the variable $r$ in gravitational time dilation?

I've recently become interested in the equation for gravitational time dilation, which is as follows:  $$ t_{0}=t_{f}{\sqrt {1-{\frac {2GM}{rc^{2}}}}}=t_{f}{\sqrt {1-{\frac {r_{s}}{r}}}} $$  I understand the concepts of proper and coordinate time, along with the Schwarzchild radius. However, Schwarzchild's other contribution is griefing me, which is the $r$, or "the radial coordinate of the observer" based on the Schwarzchild metric.  I've tried researching this r, but everything I find makes it seem more confusing. If it is really a "sphere centered around the body", then it is not necessarily a physical entity, as I understand it. If that is so, then why does its circumference / radius have any bearing on time dilation?  Could someone direct me to the answer of what it is, and what it's purpose is?


Why doesn't Stack Exchange pay users who contribute the most?

Imagine if Stack Exchange set aside some of its proceeds to help pay a set of those users who have impacted the most people or have some of the highest reputation scores, which would in turn cause those people to give back even more to the Stack Exchange network, or possibly build full careers out of it, out of helping others.  Just like YouTube's model had started the changed back in 2007 it seems this has led to , and in turn more people being entertained. Much the same this model would help growth for Stack Exchange, increasing revenues, number of questions asked, question and answer quality, and much more. I'm a bit biased but I think some sites (cough Stack Overflow cough) deserve a larger market share because they are more technically demanding of quality answers than others, but that's just me.  The question is, what does everyone else think?


It is well-known that any finite group is the Galois group of a Galois extension. This follows from  (as can be seen in ). This (linked) answer led me to the following question:     What about infinite groups?    Infinite groups appear as Galois groups on infinite extensions, as when one defines the absolute Galois group of a field $F$. There is a natural topology on the Galois group, called the Krull topology, which turns this group into a  (i.e. a compact, totally disconnected, Hausdorff topological group). It can be proven that any profinite group is the Galois group of an extension (see this  by Waterhouse). Therefore, the above question is equivalent to the following:     Can any group be given the structure of a profinite group?   I would like to get more information about this question. In particular, if the answer is no, are there definite restrictions (e.g. cardinality)?


Say I'm printing out a long series of strings, and instead of only showing lines containing a certain pattern (which one uses "grep" to do), how do I filter out certain patterns?


Minimum number of dominoes on an $n \times n$ chessboard to prevent placement of another domino.

OEIS sequence  (based on ) describes the     minimum number of dominoes on an $n \times n$ chessboard to prevent placement of another domino.   The sequence begins:  0, 2, 3, 6, 9, 12, 17, 22, 27, 34, 41, 48, 57, 66, 75   Fifteen terms are known, and a few folks have conjectured that $$    A280984(n) = \left\lceil \frac {n^2}3 \right\rceil \text{ for } n > 1. $$  Andrey Zabolotskiy has a proof that (1) this is a lower bound, and (2) this conjecture holds when $n$ is a multiple of $3$.  In order to prove the conjecture it is sufficient to give a tiling strategy for the $(3n+1)\times(3n + 1)$ and $(3n+2)\times(3n+2)$ boards.  Example of $3n \times 3n$ boards.  To achieve this bound for the $3n \times 3n$ boards you can just do the naive placement, but for the other boards, it's not clear which placement strategy to use.  (Notice that the second and third examples are not optimal: the last two boards have $35$ tiles and $42$ tiles respectively, but there exist $34$ and $41$ tile placements.)      Question  Is there simple strategy for the $(3n+1) \times (3n+1)$ and/or the $(3n+2) \times (3n+2)$ boards that attains the lower bound? Or is the conjecture false?


I'm new to programming, so this could be a complete oversight on my part. But I can confirm (down below) that the two values in the If tag are equivalent, but it is not returning my value.  public static LANGUAGESTRING toLangString(String text) {      for (LANGUAGESTRING lang : LANGUAGESTRING.values()) {         String langStr = lang.toString();         System.out.println(langStr);         System.out.println(text);         if (text == langStr) {             return lang;         }     }     return null; }   Here is what was printed out. This is not my entire LANGUAGESTRING enum, but you can get the point from here. It should return the languagestring, right? Seeing as how the 5th and 6th line are the same? And even if it was returning it, it would break the loop, right?  [14:41:45] GodToBelieverPrayerWhenNoItemNeed [14:41:45] GodToBelieverPrayingWeak [14:41:45] GodToBelieverPrayerTooSoon [14:41:45] GodToBelieverPrayingWeak [14:41:45] GodToBelieverPrayingWeak [14:41:45] GodToBelieverPrayingWeak [14:41:45] EnterHolyLandInfoYourGod [14:41:45] GodToBelieverPrayingWeak


I'm making a presentation of thesis in beamer, but I want to include speaker notes.  I see in other publications that I can use \note , but the slides appear side by side in the same screen, and don't split for both screens.   I search a bit about the subject but I can't find a viewer to solve this in Windows and Ubuntu.  Can anyone help me with this?  Thanks in advance!


How to sort a list of objects based on an attribute of the objects?

I've got a list of Python objects that I'd like to sort by an attribute of the objects themselves.  The list looks like:  >>> ut [<Tag: 128>, <Tag: 2008>, <Tag: <>, <Tag: actionscript>, <Tag: addresses>,  <Tag: aes>, <Tag: ajax> ...]   Each object has a count:  >>> ut[1].count 1L   I need to sort the list by number of counts descending.  I've seen several methods for this, but I'm looking for best practice in Python.


I am wondering how to recreate some kinds of effects (you can easily do in Photoshop) in Blender.  I want to create the gradient textures like ones pictured below, should I render objects and blur them in compositor? Or can I achieve it using only material nodes?


How can I install Windows 7 without dvd or usb, on linux?

I have a different problem that I don't think can be solved but it's better to ask before loosing all hope.  I currently run Crunchbang (Debian dist) and would like to install Windows 7 as well. However, my computer don't have a dvd-reader and all my usb-drives are too small.  Is my only solution to this problem to buy a larger usb-drive?


How does rooting work?  What kind of code/programs the manufacturers don't want to install in the phones (so that people have to root)? Why?  Can it be unrooted too?  Thanks in advance.


What are the functional differences between Lubuntu and Ubuntu?

I understand that Lubuntu utilizes LXDE over Ubuntu's Unity(Gnome?); But being new to Linux I'm not sure if that change is going to be simply cosmetic, or if there will be functional differences I need to be aware of. The Ubuntu wiki says no, but it is also seems to be a very superficial discussion. I am comfortable(ish) with the command line and I suppose my question is more directed in that direction, but any information would be great.


Total distance/time taken and (Vi+Vf)/2 are both refered to as formulas for average velocity. What is the difference and similarity between these two?


Photoelectric effect in a a frequency range

I know how to calculate the kinetic energy of the emitted electrons   $$KE=hf-\phi$$  And the number of the emitted electrons, but this is valid for a certain frequency  $$N=\frac{IA}{hf}=\frac{P}{hf}$$  What happens if I have a frequency range? for example between λ1 and λ2?  BTW: It's not homework, I'm an engineering student,  not a physics student


Can we update values of lightning:inputfield used in record edit form from JS controller?

I have used record edit form with "lightning:inputfield" and i want to set values of those input fields from JS controller.But when i have tried using following code values are not getting set/updated for which i have manually changed the values from UI(user input) anyone having same problem ?  CODE :  MARKUP :  <lightning:recordEditForm aura:id="editRecordFormForContact"  objectApiName="Contact">     <lightning:inputField aura:id='inputFieldToDisaply' fieldName="FirstName"  />      <lightning:button class="slds-m-vertical_small" variant="brand" label="set value"  title="set value" onclick="{!c.setValues}" /> </lightning:recordEditForm>   Js controller :  setValues: function(component, event, helper) {    var fields= component.find("inputFieldToDisaply");    for(var i in fields){         fields[i].set("v.value",'test');    } }   here, 'test' is only getting set if user dont enter name from UI if for once user update first name it wont set test for click of set values.  This issue is still coming.


I tried this problem for a while, but didn't see the application of Eisenstein's irreducibility criterion here. All the coefficients, including the leading coefficient, are equal to 1.   p is a prime number.  The polynomial is $f(x) = x^{p-1} + x^{p-2} + \cdots + x + 1$  How do I proceed? Many thanks.


Let a be a positive real number and let $M_a=\{z \in C^* : |z+\frac{1}{z}|=a\}$ Find the minimum....

Problem :  Let a be a positive real number and let $M_a=\{z \in C^* : |z+\frac{1}{z}|=a\}$ Find the minimum and maximum value of $|z|$ when $z \in M_a$   My approach :   $|z+\frac{1}{z}|=a$  Squaring both sides we get :   $\Rightarrow |z+\frac{1}{z}|^2=a^2$  $ \Rightarrow (z+\frac{1}{z})(\overline{z}+\frac{1}{\overline{z}}) =|z|^2+\frac{z^2+(\overline{z})^2}{|z|^2}+\frac{1}{|z|^2}$  $\Rightarrow |z|^4-|z|^2.(a^2+2)+1 = -(z+\overline{z})^ \leq 0$  Now how to approach further please suggest will be of great help. Thanks.


If I jump, would I be displaced from my initial position since the Earth is moving?

If I jump and stay in the air for a long enough time, will my position be changed since the Earth is rotating?


Why are the Millennium Falcon and other civilian vessels allowed to have ship-mounted weapons?

First things first, let's just pretend the hyperspace ramming in the Last Jedi didn't happen, because hyperspace ramming means every FTL-capable vessel in the galaxy is a deadly weapon capable of destroying star destroyers, making this thread irrelevant.  Okay, so according to Wookieepedia, Han Solo won the Millennium Falcon . This explains how he was able to afford the ship. The Falcon is a . Wookieepedia defines freighters as such:      A freighter, cargo ship, or barge was a kind of spacecraft used for   hauling cargo from one place to another. Although light freighters   could usually hold their own in combat against other fighter craft,   larger vessels tended to be less capable. These large freighters could   be easy targets considering their large size, slow speed, and weak   armament. For this reason most heavy freighters required escorts when   navigating more dangerous regions of the galaxy.   This is troubling; does this mean civilians are allowed to pilot spacecraft mounted with weapons capable of destroying other vessels? Spaceships can't be cheap, and I'm assuming Han has some sort of title and registration for the falcon, but in the real world most vehicles much bigger than an RV are owned by organizations, and in the case of naval vessels owned by shipping companies, merchant marines, or part of a country's fleet. With that comes all sorts of regulations, licensing fees, ID numbers, permits...   So what is Han Solo's official job title? We all know he's a smuggler, but that implies that his "official" job is something like cargo shipper or merchant. Or does he fly under the radar at all times, running from every authority he sees? What about other private vessels? Wookieepedia makes it clear that other freighters are allowed to have weapons mounted on their ships.   In the past during wartime private vessels were temporarily allowed to be mounted with weapons (), but that was an exceptional time (although granted the original trilogy does take many cues from WWII). Yes, armed guards with small arms are allowed, though expensive (, )... but ship-mounted weapons are a different story (, ). but what is the rationalization for a private spaceship like the Millennium Falcon being outfitted with weaponry capable of shooting down a pursuing fleet of Imperial Tie Fighters (the equivalent of fighter jets attacking a merchant freighter)? This "freighter" took out a Death Star for crying out loud.   My guess is it's allowed because of space pirates or the difficulty of maintaining law in the vast reaches of space, but then again, you'd think the Empire wouldn't allow much leeway considering their greatest threat is a massive covert rebellion and all. It seems like it would make more sense for freighters to be escorted or dangerous areas patrolled by the Empire.   I'm writing a sci-fi story of my own so it would be nice to know if there is a decent explanation other than "because it's cool." Example from sci-fi works other than Star Wars are welcome as well.


Prove that $\max(X,Y)$ is random variable

I need help with answering the following questions: Given $X,Y$ random variables: (1) prove that $\max(X,Y)$ is random variable (2) suppose $X$ and $Y$ iid show that: $F_{\max(X,Y)}(t) = F_X(t)F_Y(t)$ (3) give example for $X$ and $Y$ that: $F_{\max(X,Y)}(t) = F_X(t)$ My thoughts: (1) let's mark $\max(X,Y)$ as $Z$ for simplicity, $Z$ is a measurable function $Z:\Omega\rightarrow E\space$ , where $\space\Omega$ is the set of possible outcomes and $E$ is a measurable space. Is that enough to say that $\max(X,Y)$ is a random variable? (2) I don't know where to start with. (3) Each pair of CDFs which satisfy $F_X(t) \succ F_Y(t)$ will result $F_{\max(X,Y)}(t) = F_X(t)$ for example: $X\sim Unif[9,10],\space Y\sim Unif[5,6]$ Thanks in advance.


Internal Storage has no space even with SD card?

So I have an LGK4 android phone with 8GB of storage, and lately I've been having really weird storage problems; When I try to install or update an app I can't because the storage is full; thing is, I've already cleared my cache, deleted unnecessary apps, and all my photos/videos etc are on the SD card. The apps I do have installed all come to 3.16GB, which theoretically should be the only things on the internal storage, but it still says I just have 611MB available? What happened to those 4GB? To top it all off, I can't access any files on the internal storage, it literally doesn't have any icon or button to access it, so I can't see what's causing this. Any ideas? Should I do a factory reset?


constant to the $\log(n)$ equals $n$ to $\log(\text{constant})$

Could someone explain to me why  $$x^{\log(n)} = n^{\log(x)}$$ in simple terms?  I tried to simply take the $log$ of both sides but it doesn't work out or simplify.


I am following this  on making an asteroid and when it comes to rendering the scene I get an unwanted "shadow". The shadow starts to appear in frame 36 of the render (but is clearer in frame 40) and i do not know what i have done wrong. Here is the .  The effect described here is clearly visible in the right top corner, like a polygonal darkness.


How to work with pointer to pointer to structure in C?

I want to change member of structure under double pointer. Do you know how?  Example code  typedef struct {     int member; } Ttype;  void changeMember(Ttype **foo) {    //I don`t know how to do it    //maybe    *foo->member = 1; }


Is it acceptable to use Latin abbreviations in formal academic writings?

Is it acceptable to use Latin abbreviations such as "etc" and "e.g." in formal academic writings? Personally I think, they are. However, somewhere I read I should avoid them. Is it correct?   In general, are not Latin abbreviations more formal than "OK" or "&"?


I have been trying to find the $i$th power of $i$ as a mental exercise, I have tried two approaches For the first, using properties of exponents $$i^i=i^{\sqrt{-1}}=i^{-1^{\frac{1}{2}}} \implies i^i=i^{-\frac{1}{2}}=\frac{1}{i^2}=-1$$ However this seems a bit, for a lack of a better word "bodgy".  The next method I used was rewriting into exponential form $$z=i^i + 0 \implies \arg(z)=\tan^-{1}\left(\frac{1^i}{0}\right)=\frac{\pi}{2}$$ $$ \therefore i^i=e^{\frac{\pi}{2}i}$$ I am quite sure that none of these answers are correct, what are the flaws in my method and how should I go about actually computing this ?


How to convert mediawiki syntax to latex?

I think I've seen a script for converting mediawiki syntax to Latex. Also, in case there are more than one solution for this, it might be nice to summarize them here.


Is there a way to avoid SSH typing delay?

Can I tell SSH to send the data only after pressing enter or tab, and not after each individual keypress?


Run command for all videos in a directory

I have multiple video files ending in .mp4 in a directory. I would like to add our advertisement message to each video intro example.mp4 to the front and end of each video. I can do this manually for each video using the example below  mkvmerge -o 'RANDOM VIDEO NAME.mp4' 'intro example.mp4' \+ 'RANDOM VIDEO NAME.mp4' \+ 'intro example.mp4'   How can I do this for every video in a specific folder? and then save the video that has the intro at the start and end to a specific folder. The file also must be saved in the new folder with the same name as the original file.  This question is not a duplicate as linked below due to the file names staying the same


What is the fan connector on a PC motherboard?

Typically it is a three bare pin polarized connector, with power, ground and tacho connections. However, I am having difficulty finding it as a part. What is it called?  This is what I am trying to connect to


What is JavaScript's highest integer value that a number can go to without losing precision?

Is this defined by the language? Is there a defined maximum? Is it different in different browsers?


.sh files won't run, even after permission given

I have had a long history of not being able to run .sh files. I don't understand what the underlying problem is,(I'm a little bit new to Ubuntu/UNIX based systems). When I try to run certain .sh scripts I get the following error, accompanied by the Ubuntu Software Center starting up:  "The file "/home/user/Downloads/netbeans-8.1-cpp-linux-x86.sh" could not be opened."  As a clarification, I have been double clicking directly on the .sh file in the file system.


Are there downsides to using resistors with too high power ratings?

I'm hoping to measure the current draw to my ESP8266 with a scope and a shunt resistor. I think a 1ohm resistor might drop the voltage too much, so I'm thinking to use a 0.5ohm (or even a 0.1ohm) instead.   However, most 0.5ohm (and 0.1ohm) resistors tend to have at least 1W, 2W power ratings.  Are there issues with using resistors that have power ratings much higher than required?


Are there ways to browse a website blocked by my ISP?

Is it possible to browse a website blocked by my ISP?


Did I solve this definite integral correctly?


I have the basic knowledge about multivibrators, but I did not understand the working principles of the circuit schematic provided down below.    I have done the basic research about how it works, but I could not understand this particular BJT Astable Multivibrator circuit. Could someone please explain why 470 ohm and 10K ohm resistors are used and why the outputs of the circuit are not the emitter legs of the transistor but the collectors of the transistors.  And the most important question is : I put LEDs to the outputs. Does that changes the duty cycle of the Multivibrator (or frequency)?


What is displacement? Position relative to a reference point or change of position

What is the "official" or most useful definition of displacement in the context of kinematics?  There are two common ones:   Displacement is the length and direction of a line from a fixed reference point. (Basically position). Displacement is the change in position.   Textbooks using the first  definition  frequently define velocity as $v=\Delta s/\Delta t$ (where $s$ is displacement) but then for acceleration give equations such as $s=ut+1/2at^2$ (if they were consistent, they would have to use $\Delta s$). What throws me off is that  are the better textbooks.  A similar confusion comes through in Wikipedia: A  vector is the straight path between the initial and the final position. But  is defined as $v=\Delta d/\Delta t$.  Background: I am writing on a learning tool for students but different textbooks require them to learn contradicting definitions and I would appreciate your help on which is the right definition to learn.


$\text {let}\ p(z)=a_0+a_1z+\dotsb+a_{n-1}z^{n-1}+z^n,a_i\in\mathbb{C}.$ If $|p(z)|=1 \forall |z|=1$ is it true that $p(z)=z^n$?

$\text {let}\ p(z)=a_0+a_1z+......+a_{n-1}z^{n-1}+z^n,a_i\in\mathbb{C}.$ if $|p(z)|=1 \forall |z|=1$ is it true that $p(z)=z^n$ for n=1,this is true.but is it also for higher value of n ???


Change Command Prompt width from the Command Line

Don't really know what more I can say really. That window captured below will simply not get any larger. Are there some settings somewhere that will allow me to resize it?    See, this limited window thing has left me in a bit of a pickle. Basically I've created an application with a command line GUI (With Ruby's Curses Library), and while everything works beautifully on OSX and Ubuntu Terminals, with Command Prompt, if the Curses Windows are larger than the Command Prompt window as shown below, the whole application crashes with a 'window already closed' error.  So, is there a setting that allows users to resize their Command Prompt window, something that I'll have to put in the documentation.  Here's what the holy grail answer would, be though:  Is there a way to do this from the command line? Could my application detect if the Command Prompt it's running on is of fixed width, and actually programatically run the command to allow the Command Prompt window to be enlarged? Or at least give the user a helpful error message?


As shown in the picture, I have a plane, and would like to set it transparent, while remaining the shadow for the cube. I want to do this for video motion tracking. How can I do this?  Thanks!!


What makes more sense - char* string or char *string?

Possible Duplicate:          I'm learning C++ at the moment, and I'm coming across a lot of null-terminated strings. This has got me thinking, what makes more sense when declaring pointers:  char* string   or  char *string   ? To me, the char* format makes more sense, because the type of "string" is a pointer to a char, rather than a char. However, I generally see the latter format. This applies to references as well, obviously.  Could someone tell me if there is a logical reason for the latter format?


Blender 2.77 no longer orbits around the z axis when using scroll wheel or numpad 6, 4?

Does anyone have this problem and know how to fix it? I am used to being able to rotate around the global z with the number pad or using scrollwheel + ctrl + alt, without regard to which way my camera was currently facing. It is a habit formed over the last 10 years of blender use, and was a quick way to single out parts of a mesh when working. Now however, this appears to rotate around the viewport why (IE, it rotates around an imaginary fixed line drawn from the center top to center bottom of the viewport.) This change is really throwing off my work, and I have ground to a complete halt since installing blender 2.77 an hour ago. Edit: Things I have tried so far, with no change:  Re-installing  Resetting to Factory  Switching Orbit from Turntable to Trackball (I think the problem is that I am stuck in Trackball for some reason, but not sure.)


How do outliers affect the k-means algorithm?

I searched the internet to find out about the effects of outliers on k-means clustering, but could not find any useful source. Does it cause bad clusters to be formed? If so, how?  (Please also provide a simple example with data such as a list of integers so that my doubt can be clarified.)


Table cell as one of several arguments of a command issued via >{} and <{}

Is an extension of  or  possible such that  without defining a new command or macro for each possible argument?


Finding the top / starting point of the node tree using Blender's Python API

I am working on an exporter, for Babylon.JS, for a version of Blender which does not have the internal render (developing in 2.79 though).  For previous versions of the exporter, if a material with nodes was encountered, baking was just done right in the exporter.  Babylon.JS supports Physically Based Rendering (PBR), and materials similar for the internal render, so I want to try to map things when possible.  Leads me to, how do I know where to start walking the tree.  I could just run through the nodes checking for an output material like:  for shader in material.node_tree.nodes:     shaderName = shader.bl_idname     if shaderName == 'ShaderNodeOutputMaterial':         # got it   Think there must be a better way.  Though it might be stupid, you can add more than one of that type, yet the UI knows which is the one hooked up.  Another way might look for a node which has no outputs, but I can see the same issue.


Remove reference to footnote number in bibliography

When creating my bibliography it adds a number behind the book which links to the number of the footnote like:     Finkenzeller 2012      Finkenzeller, Klaus: RFID-Handbuch. Hanser, Carl GmbH + Co., 2012 5   As you can see its the number 5. How can I remove this number?  At the moment im just using this for bib:  \bibliography{Bibliographie}  \bibliographystyle{natdin}


Error while calculating the derivative of a function to the power of another function

I asked myself how one may calculate the derivative of a function that looks like this:  $h(x) = f(x)^{g(x)}$  And used the following process of derivation  $h'(x) = \frac{d}{dx}(f(x) \cdot 1^{g(x)})$  $h'(x) = f(x) \cdot \frac{d}{dx}(1^{g(x)}) +  1^{g(x)} \cdot f'(x)$  $h'(x) = f(x) \cdot 1^{g(x)} \cdot ln(1) \cdot g'(x) + 1^{g(x)} \cdot f'(x)$  $h'(x) = f'(x)^{g(x)}$  But when checking with a calculator it's clear than the result is wrong, I suspect my mistake is very obvious but I'm not able to find it. So the question is, could you tell me what I did wrong?


Force, work and the apparent disappearance of Mechanical Energy

A man exerts force on a wall of bricks. The man must have consumed the energy he possessed (mechanical energy?) to exert the force. The man sweats and tires himself out but the wall does not move.  The force is given as $F = ma$ but no acceleration was produced in the wall. So, the force is zero even though force was exerted. The definition of force says that it moves, tends to move, stops or tends to stop the motion of a body. How can the force be zero?  The work done is zero since displacement is zero. The Work-Energy principle says that work done on a body appears as a change in its kinetic or potential energy. Since work done is zero, no change in the energy of the wall occurs. Where did all of the energy the man spent go?


How to define a DllImport declaration from c/c++ to c#

i want to use a c libary for my program in C#. This libary contains a headerfile with functions in c, to control a camera.  Some of these functions in c, use a pointer called *fg which points at a typedef called Fg_Struct and finally this typedef is declared as Typedef struct Fg_Struct_s Fg_Struct  So now, i want to use these functions from the header file in my c# program. I created a new class and imported these functions from the dll-libary over the pinvoker-addon. The pinvoker-addon created a new declaration of these functions  (from unmanaged to managed). Most of these new declared functions has a variable called Fg_Struct [] Fg  Visual Studio shows me an error for "Fg_Struct is undefined" in C# programm.    For example, i can use the Fg_getLastErrorDiscripstion function to call the Error discription  in C:  fgrab_struct.h  typedef struct Fg_Struct_s Fg_Struct;   fgrab-prototyp.h  include "struct.h" const char *const Fg_getLastErrorDescription(Fg_Struct *Fg);   main.cpp  Fg_Struct *fg = NULL; fg = Fg_Init(DLLNAME, boardNr) fprintf(stderr, "error in Fg_Init: %s\n", Fg_getLastErrorDescription(NULL));   now i want to use it in c#:  CAM_SISO.cs  [DllImport("fglib5.dll", SetLastError = true, CallingConvention = CallingConvention.Cdecl)] public extern static IntPtr Fg_getLastErrorDescription(Fg_Struct [] Fg);`   I'm really new in C# programming and researched in every topics with pinvoker  but I couldn't find a right answer for me, how to declare or define Fg_Struct [] Fg to use the Fg_getLastErrorDiscription function in C#.


Complete Eejit's Guide to BGE -- recommendations?

In light of downvotes and comments it seems like I should delete this question, in hindsight it is obviously too vague.  But when I tried to delete it, I was presented with a dire warning about deleting any question with an answer -- this might result in being banned from asking questions!  If any moderator wishes to delete this question, go right ahead -- I regret having asked it.  I would like to venture into BGE, but given my complete ignorance of game design software I think I'll need some tutorials, examples, etc.  Can anyone recommend their favourite Absolute Beginner's Guide to BGE, preferably video format?  I have a CGcookie membership so can access their stuff, but have not been able to find anything there that fits the bill :-(  I'm also aware of the excellent ebook N00b to Pro, which has been very helpful to me in the past, but I thought a video overview might get me started faster, and a couple of recommends for really good ones would be even better.


How to get exit status of a particular command in a pipeline?

I am running this while loop in a script to take mysqldump and compress it, but I want to exit the script if the table doesn't exist. Below is what I have tried.  while read TABLES; do     sudo mysqldump $DB $TABLES | gzip -f > $DB.$TABLES.sql.gz     if [ $? != 0 ]; then         echo "mysqldump Query executed with error !!"         exit 1     fi done < file   But this will give the exit status of gzip -f, but not of mysqldump. I know I can get the exit status of mysqldump if I am not using gzip there, but is there any way in this method to get the exit ststus for mysqldump?


I'm writing a document with and abstract and I've set the language to Spanish, and so the abstract environment displays the word "Resumen" instead of "Abstract". I want the opposite. I've tried  \renewcommand{\abstractname}{Abstract}   And  \renewcommand{\abstract}{Abstract}   The first does nothing and the second displays the word Abstract but removes the bold font, puts it in the beginning of the line and the abstract text displays just after it, something like:  Abstract. This is the abstract...   How should I properly change it? The class document is article  Thanks in advance


Harry Potter : Molly Weasly's character suddenly strengthened towards the end?

Molly Weasley, Ron's mother is always portrayed as a kind,motherly character in most of the contexts in the series.An affectionate,but short-tempered woman when it comes to her kids, she is mostly shown to be a home-maker.  Referring to the books of Gilderoy Lockhart for house-hold spells or Falling prey to the Boggart emotionally in The Harry Potter and the order of Phoenix show that she is not a fighter kind of woman as whom she is portrayed towards the end.  Guarding the 'weapon' in the Harry Potter and the Order of Phoenix .   She would have written all this to you, but if the owl had been intercepted you’d all have been in real trouble, and she can’t say it for herself because she’s on duty tonight.” “On duty doing what?” said Ron quickly. “Never you mind, just stuff for the Order,” said Sirius. “   or killing of Bellatrix Lestrange, a woman who has a sophisticated knowledge of Dark Arts, who has a record of torturing well-trained aurors(the Longbottoms), who has killed Sirius Black.  “No!” Mrs. Weasley cried as a few students ran forward, trying to come to her aid. “Get back! Get back! She is mine!” Molly’s curse soared beneath Bellatrix’s outstretched arm and hit her squarely in the chest, directly over her heart.   Sudden change of intensity of the character does not seem fitting. or does it?


Combat plagiarism in suggested edits by alerting subsequent reviewers

I've been rejecting my fair share of plagiarized suggested edits, mostly tag wiki edits, on my two beta sites I'm involved in.  Here's the thing: It's way to easy for them to get through. For one to get through, all we need is two (three on SO) reviewers on the post that don't bother to punch the edit into Google in quotes - something I'm certainly guilty of not doing.  What if we could have the system alert subsequent reviewers to the problem after a reviewer rejected the edit as plagiarism? Then, only one person would have to do the long, back-breaking task of punching it into Google.  Here's what I'm thinking:  When I go to reject an edit, add a text field to the copied content reason, a place to indicate where the content was copied from:    Since we now have this information, we can show it to subsequent reviewers - along with a big red alert bubble:      The link would be clickable, opening a new tab with the allegedly-copied-from website. Then, I, as the subsequent reviewer, would be instantly alerted to the potential problem - allowing us to have a better filter for plagiarism.  I realize it's a big change - it would probably have a slight hit on performance. But it would have a huge hit on the amount of plagiarism that gets through - making the internet a better place.


Can I prove this inequality algebraically?

With $x+y\ge z$ $(x,y,z\ge0)$, prove that: $$\frac{x}{1+x}+\frac{y}{1+y}\ge\frac{z}{1+z}$$  I'm aware that using analytic view this is easy since $f(x)=\frac{x}{1+x}$ is concave in $[0,\infty)$. However I want to prove it using merely algebraic techniques. Is that possible?


My ZMAX Z970 can't be rooted, at least by me. I can't find where to do that.  I accidentally deleted some videos which were on my sd card.  I have not used the card too much since then and don't plan to until I get this resolved.  I can't find any undelete utility or method that a) is not a scam b) doens't need root access and c) actually works.  How can I do it?  Meta:  If you think this is a duplicate question, please make sure the duplicate actually has a viable answer to my question. Thanks!  The question pointed to as duplicate does not explain how to use the software on an Android phone or make it see the disk from the PC. I tried the software mentioned in that article and it does not see my phone, only local PC disks. Please enable a fresh answer that breaks it down step by step for SD card on no root android phone. Thanks.


Best way to add colourful example code in html

I want to add the example codes in html page with various programming languages languages.   <div class="example-cpp">      #include <iostream>       using namespace std;       int main () {          for( ; ; ) {             printf("This loop will run forever.\n");          }          return 0;      } </div>   I want to show this with colourful font without separate style. Like following example   Can you suggest the best way ?


So I am upgrading my Trek 1.1 (2016) from 8speed Shimano Claris to an assortment of Shimano Ultegra 6800, 105 5800. I just bought a 11speed cassette to complete the major parts (it hasn't shipped yet). Will I also have to buy a larger free hub assembly so that the new cassette will fit? I've never measured the difference so I'm not sure if its necessary.


Short story where time is accelerated and characters have to get back to ship?

Looking for a short story where time is accelerated on a planet.  The characters are actually born at the beginning of the story and then grow up quickly and inadvertently learn that their forebears came from a rocket ship nearby.  After having aged to "teenagers" they try to reach the ship?  At some point there is a war between confused aging survivors.  I think it was in a compilation which included a story called "Cousins".


American 8 Ball Pool - Sinking opponent's ball

On an 8 ball game, I am left with the 8 ball  close to a pocket and the opponent has one ball blocking the pocket to which I am going to play the 8 ball. If I sink the opponents's ball using the 8 ball and make 8 ball in the same pocket in one shot, who wins the table?


Why is "that"/"which" omitted in this sentence?

In the sentence:     All the information you need is in these folders.   I would have expected to find:     All the information that/which you need is in these folders.   Why are those omitted?


$\lim_{n\to\infty}h_n(x) = x\lim_{n\to\infty}x^{\frac{1}{2n-1}}$ where $h_n(x)=x^{1+\frac{1}{2n-1}}$. I understand that $\lim_{n\to\infty}x^{\frac{1}{2n-1}}$ goes to one but what I don't understand is how did our limit become $h_n(x)=|x|$? I'm just having hard time wrapping my head around the appearance of absolute value.  Note. This is an example (Chapter 6, Section 2) from Understanding Analysis by Abbott.


How is possible for the solar system to be stable if has been proved that even the trhee body problem is chaotic with a very small amount of stable solutions?        Do we need to consider the solar system as a very weird and low probabolity solution stable solution of the n body problem?      or if we have a system like that (the mass of one body, the sun, is 99% of the total mass, and Jupiter and Saturn are 90% or more of the resting mass) then the chances to get a solution with stable solution are actually high?


how to make the function return ascii values of every character from the given string

Need to make a function that takes in a string and returns the ascii values for each letter in the string in a form of (103, 104, 105, etc.)


$\sum_{k=1}^{\infty}a_kb_k$ converges for every bounded sequence {$b_k$}, prove that $\sum_{k=1}^{\infty}a_k$ converges absolutely.

Let  $\sum_{k=1}^{\infty}a_k$ be a series of real numbers. Suppose that $\sum_{k=1}^{\infty}a_kb_k$ converges for every bounded sequence {$b_k$} ? Prove that $\sum_{k=1}^{\infty}a_k$ converges absolutely.  Here is my thought process:  Since {$b_k$} is bounded, every |$b_k$| $\leq$ M for all k.  So $\sum_{k=1}^{\infty}|a_kb_k|$ = $\sum_{k=1}^{\infty}|a_k||b_k|$ $\leq$ $\sum_{k=1}^{\infty}|a_k|M$ = $M$$\sum_{k=1}^{\infty}|a_k$| and since $\sum_{k=1}^{\infty}|a_kb_k|$ converges, $\sum_{k=1}^{\infty}|a_k|$ also converges.  However, I am having a hard time figuring out how to prove absolute convergence. I realize that they are similar questions on this website but they're asking to prove that $\sum_{k=1}^{\infty}a_kb_k$ converges, rather than $\sum_{k=1}^{\infty}a_k$ converging absolutely. Would really love any help, I'm quite stuck!


Why did the command ":(){ :|: & };:" make my system lag so badly I had to reboot?

Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system.  I was in my Virtualbox running 12.04 trying to compile an app, and while waiting I happened to chance upon a forum where a comment said:   Try :(){ :|: & };:  Fun, too, and doesn't need root.  Without thinking, I ran it in my gnome-terminal. It made my 12.04(in Virtualbox) lag so badly, I had to shut it down. My question is what does this command do?   :(){ :|: & };:


Was Stack Exchange named after Experts Exchange?

Was Stack Exchange named after Experts Exchange, or is the former using the word "Exchange" a coincidence?


Why a particular question is not closed immediately if one of the close voters have gold badge for a particular tag?

We all know about tag gold badge. If a user has a tag gold bage, he can close a question under particular tag immediately.  This  is asked under particular tags perl,bash,awk and  user have a tag gold badge for bash. He put the first close vote on that question but it fails to close immediately, Why?


A class of 37 is to be divided into teams, and each student in the class must be a member of exactly one team. However, each student dislikes three of their classmates. Dislike between students need not be mutual. How many teams must be created so that no student is the teammate of someone they dislik?  I have no idea about this problem which seems trick. Could anyone give some hints? Thanks!


Changing coordinate system of QGIS layer to projection of Google Earth?

How do I change the coordinate value of a vector layer (13293061,-572595) to 119.413,-5.13677 (vector data & Google Earth do not match)?   If I output my data using Google Earth as background, the vector data does not match with the underlying google layer.   Printing the result to PDF also has this same problem.


Equivalence relations on classes instead of sets

Can someone please explain to me how to deal with equivalence relations on classes instead of sets? Is there some sort of generalisation of relations?  Thank you


How to populate a WPF grid based on a 2-dimensional array

I have a 2-dimensional array of objects and I basically want to databind each one to a cell in a WPF grid.  Currently I have this working but I am doing most of it procedurally.  I create the correct number of row and column definitions, then I loop through the cells and create the controls and set up the correct bindings for each one.    At a minimum I would like to be able to use a template to specify the controls and bindings in xaml.  Ideally I would like to get rid of the procedural code and just do it all with databinding, but I'm not sure that's possible.  Here is the code I am currently using:  public void BindGrid() {     m_Grid.Children.Clear();     m_Grid.ColumnDefinitions.Clear();     m_Grid.RowDefinitions.Clear();      for (int x = 0; x < MefGrid.Width; x++)     {         m_Grid.ColumnDefinitions.Add(new ColumnDefinition() { Width = new GridLength(1, GridUnitType.Star), });     }      for (int y = 0; y < MefGrid.Height; y++)     {         m_Grid.RowDefinitions.Add(new RowDefinition() { Height = new GridLength(1, GridUnitType.Star), });     }      for (int x = 0; x < MefGrid.Width; x++)     {         for (int y = 0; y < MefGrid.Height; y++)         {             Cell cell = (Cell)MefGrid[x, y];                                  SolidColorBrush brush = new SolidColorBrush();              var binding = new Binding("On");             binding.Converter = new BoolColorConverter();             binding.Mode = BindingMode.OneWay;              BindingOperations.SetBinding(brush, SolidColorBrush.ColorProperty, binding);              var rect = new Rectangle();             rect.DataContext = cell;             rect.Fill = brush;             rect.SetValue(Grid.RowProperty, y);             rect.SetValue(Grid.ColumnProperty, x);             m_Grid.Children.Add(rect);         }     }  }


Understanding why buffers not circular in QGIS?

I would like to select areas under a particular circular radius in QGIS. I believe this is accomplished with the buffer tool, but when I specify the radius the area is not circular.   How to make them circular?


Login broken after 15.10 -> 16.04 LTS upgrade, related to NVIDIA driver

I have just updated my system from 15.10 to 16.04 via sudo do-release-upgrade. During this process, it displayed a screen with the following message:  Your system has UEFI Secure Boot enabled. UEFI Secure Boot is not compatible with the use of third-party drivers. (...) Ubuntu will still be able to boot on your system but these third-party drivers will not be available for your hardware. Disable UEFI Secure Boot? (yes | no)  Since the only third-party drivers that I am using are the NVIDIA graphics drivers, and since they have been working fine with Ubuntu 15.10 and Secure Boot enabled, I chose the "no" option here. I don't see why I should disable this for no good reason, and I assumed I can just reinstall the third-party driver via the system settings GUI after the update. Alas, no. Upon reboot, my login screen appeared in very low resolution. When trying to log in it immediately throws me back to the login screen. I have tried the following to fix the situation: sudo apt-get purge nvidia* sudo reboot  This leads to a purple screen and no reaction to Ctrl-Alt-F1. Logging in via SSH, I then did: sudo apt-get install nvidia-current sudo reboot  which again brings me the former scenario, with a very low-res login screen, and no way to log on. This is a pretty bad upgrade experience. Did anyone else have this, and what can I do to fix this? (while keeping UEFI Secure Boot enabled) Thanks.


How do I work out the correct PWM frequency for my application (motor)?

I am working on a project and want to drive a motor with a 12V PWM signal (Motor connected to 12V and the Motor- net on the diagram).  I have it working, however i'm not sure how to work out the optimum frequency for my PWM to operate at for the motor i'm using. It's a brushed DC motor. I have attached the only information I have on the motor in case that helps.   Any advice or input is welcome. Thanks in advance.  Circuit Diagram    Motor Spec


I have created 50 spreadsheets for 50 students. Each spreadsheet contains 33 sheets, numbered 1 to 33, along with a couple of other sheets.  Within each of these 33 sheets, there are many protected ranges.  I accidentally protected a range that ought not to have been protected. So, with 50 students each having 33 sheets, I have over 1800 sheets to unprotected.  I want to loop through each sheet, 1 to 33, and remove protection from cell F15. Right now, I (the owner) am the only editor.  Since I'm not an actual programmer, I've clearly not done this properly.  Can someone offer a suggestion of how I can change my Google Script to make this work?  var ss = SpreadsheetApp.getActiveSpreadsheet(); var sheets = ss.getSheets();  for (var i=2; i  <sheets.length; i++) {   var sheet = ss.getSheets()[i];   sheet.activate();   SpreadsheetApp.flush();   var range = sheet.getRange('F15');        var protection = range.protect().setDescription('Protected range');        var me = Session.getEffectiveUser();        protection.addEditor(me);        protection.removeEditors(protection.getEditors());        if (protection.canDomainEdit()) {          protection.remove();          } //end of if statement  }


Electric Potential produced by Hollow Sphere

Let there be a hollow sphere (Throughout the question we will ignore the thickness of the sphere) which is positively uniformly charged,q of radius,  R. Suppose there to be a test positive charge, q' at point P which is r distance away from the hollow sphere(r>R, P is outside of hollow sphere).  Now I have an doubt on evaluating Electric Potential,V at point P.  Both source charge,q and test charge,q' are +ve, so source charge will repel the test charge which will make the charge, q' to go to infinity.I have to apply external force, F' to displace the charge, q' from infinity to point P against the equal but repulsive force, F.In short, F' is  displacing the q' from infinity to P.  So External Force, F' will do +ve work and Repulsive Force, F will do -ve work. This way the Electric Field,E produced by hollow sphere is Opposite to Displacement of test charge(i.e.,θ=180).  Now we know that E=k(q/(r^2))  [Please Notice that infinity is the lower limit of integration]  Also V=-∫r∞(E dr cosθ)=-∫r∞(E dr cos 180)=∫r∞(E dr)  At last I ended up to V=- k(q/r). I know that V=k(q/r).  I just want to know why I am having this shitty negative sign in my equation.


Why does my iPhone 6 randomly ask me to enter my password with Touch ID enabled?

This happens every few days: I wake up in the morning, try to unlock my phone with Touch ID, and it prompts me for my password. The length and complexity of my password and my drowsiness in the morning make for an unpleasant combination. Why does this keep happening?  Detailed information:   I am using an iPhone 6 (64 GB), running iOS 9.3.2, though this has been an issue for several versions now (at least as far back as 9.3.0). It happens regardless of whether or not I charge my phone at night. It is not caused by iOS updates, because I always manually update iOS. It sometimes happens in the daytime, but seems to be more common after not using my phone for 6+ hours (due to being asleep). I have my "Require Passcode" setting set to "Immediately". I am using a custom alphanumeric code, not a custom numeric code or a 4-digit numeric code. I have Touch ID enabled. Other than when this issue rears its ugly head, it works perfectly.


Should I scrape the paper backing from vinyl flooring off a concrete floor to prep for tiling?

Once the flooring is pulled up is it necessary to remove the dense paper layer which ultimately glued the linoleum to concrete.  If it is not necessary to remove do I rough up the surface to make a more adhesive surface?  Or will thinset adhere to the dense paper layer?  This paper layer has been exposed on my kitchen floor for over 3 years with spills.  It does absorb but no deterioration.  Help! thank you for the expert advice.


Prove that if $A \sim I_n$ and $A \sim I_m$ then $n=m$

Some definitions: Definition of equinumerous sets Two sets are equinumerous if there exists a bijection $f: A \rightarrow B$. We write $A \sim B $ if $A$ is equinumerous to $B$ Definition of finite set and cardinality A set $A$ is said finite if $A \sim I_n$  where $I_n=\{k \in \mathbb{N} | k \leq n\}$ and $\mathbb{N}=\{1,2...\}$ If $A$ is finite the unique number $n$ such that $A \sim I_n$ is called the cardinality of $A$ Now the question: Prove the cardinality of A is well-defined (that is if $A \sim I_n$  and $A \sim I_m$  then $n=m$ ) Suggestion: prove first that if $n \neq m$ then there exist no bijection between $I_n$ and $I_m$. So, if I assume by absurd that $m \neq n$, let's say $m < n$ There exists an injective but not surjective mapping  $i:I_m \rightarrow I_n$. Now since this is so obvious I am having trouble going forward. Actually, I don't know if the previous statement, provided it is needed, is too far a step into the proof, given that what I want to prove is as much as obvious. Can someone enlighten me?


I have a PC with 4 GB ram and while installing I allocated a 40 GB partition as swap space (Overkill right!!). Now I check the amount of space that was utilised and it was just 0.4% of the 40GB. I decided to relieve the space using Gparted but there is no option to resize it. I believe resizing is possible only is swap is turned off(correct me if I am wrong).  I want to allocate 4-6GB of swap space but I have no idea how to do it?


What are some good introductory/elementary books on the Riemann zeta function?

I want to start learning things about the Riemann zeta function, I would like to cover things like its different representations, its universality property and its connections with prime numbers (I know very little about number theory!).  What are some good books on the topic? I'd like to focus exclusively in the $\zeta$ function (and perhaps some topics in analysis required to understand the other content).


Lambdas & conditionals: Can anyone see a reason why the following cannot be resolved by the C# compiler?

I've resolved numerous fights with C# not being able to resolve two lambdas in a conditional expression used to initialize a var. However today I faced what was seemingly a pretty easy and straight-forward pair of lambdas which I could not fight the compiler into accepting as the two results on a conditional expression. The compiler had no problem with them separately using an if-then-else construct instead.  Thus I decided to reduce the code down to as bare minimum as possible to show the problem, and discovered I could reduce it to pretty rock bottom and still get the error.  The compiler is issuing the usual error:  CS0173 Type of conditional expression cannot be determined because there is no implicit conversion between 'lambda expression' and 'lambda expression'  The following code is three examples of pretty rock-bottom code that still generates the error. The first line (test1) being what should be reasonably usable enough.  The other lines being efforts to clarify through precedence and explicit typing.  Considering I have successfully used conditionals to select between two somewhat more complex (although not very complex) lambdas before, I was surprised to discover these extremely simple examples don't work.  Anybody know what's going on here?  In my case it's a C# UWP project set to build using C# 7.3. Visual Studio is not reporting any pending updates.  Func<int, int> test1 = true ? (a) => 0 : (a) => 0;  Func<int, int> test2 = true ? ((int a) => (int)0) : ((int a) => (int)0);  Func<int, int> test3 = true ? ((int a) => { return (int)0; }) : ((int a) => { return (int)0; });


I have installed PyCharm Edu and am trying to run a python script calling on ArcPy.   I get an import arcpy module error:    However, when I use the python scripter in ArcGIS Desktop, I see that it is able to find arcpy    I tried finding the actual arcpy folder in C:\Python27\ArcGIS10.3\Lib, but am unable to find it.   Why do I get the arcpy module error on Pycharm?   Is there an installation error in ArcGIS Desktop or PyCharm?


Replace Windows 7 Entirely W/ Ubuntu & Security Feature Allows Wildows Files?

If Ubuntu supports files from windows, doesn't this defeat the "security" of Ubuntu? Obviously not a technie How to install and "replace" Windows 7 entirely, and get Microsoft out of my desktop.   Appreciate your help very much.


modify a regex so that only [a-zA-Z] is captured

I have the following Regular Expression: /i'm [a-zA-Z]|i am [a-zA-Z]*/i It works in terms of detecting when a phrase matches the regex, but I'm specifically trying to capture the [a-zA-Z] part. For example:  "I'm sam" // -> sam  I am good at this // -> good   Tell me if this question needs any improvement. Thanks in advance! ^^


I'd like to know what all I can delete that isn't part of the terminal. I don't really want to delete it, per se, but rather I want to copy it all over onto another disk, then use symbolic links to put it all back, but so it'll free up space on the main disk. first thing I tried was /bin/, which wrecked the terminal. I want to move everything that I possibly can onto the other drive, and I can't do that without the terminal. it's kind of a complicated situation where I can't move the entire OS to the bigger drive. thank you for your time.


Format of titles in a dissertation (chapter, section, . . .)

Where can I find some tutorials for page geometry and margins or formatting of chapters, sections, titles, . . . ?  Thank you,


Why aren't links in comments replaced with the name of the question?

When I post the link to a Stack Overflow question in this question, the name of the link is converted to the title of the question:    When I post the same link in a comment (as shown below), it is displayed as a bare URL, which makes it harder to read.  Automatically including the name of the question makes these links easier to read, but it appears that links in comments don't automatically display the question's title. The readability of these links would be much improved if the names of the questions were automatically generated.


Difference between information and knowledge?

As far as I think projection of data unto subject mind is information for the subject whereas indentation or impressions accumulated owing to projection of data unto subject mind is knowledge for the subject. I want to know am I right? Or can someone provide a more rigorous answer!


I am still a freshmen taking statistics and am disappointed with a second semester statistical theory course which just raves on from typical distributions to bi-variate random variables to random variable functions and Order Statistics.   I am mad with my teacher who pretty much expects the class to "remember" he theories and fails to explain their origin or source.    Although I am yet to learn Analysis or collegiate integral calculus for that matter I found this book "An Outline of Statistical Theory - Goon, Gupta, Dasgupta" which teaches probability from a measure theoretic perspective and am enjoying it. Although I don't get concepts like the Lebesgue-Stieltjes integral, I am however enjoying the rigor and the grassroot teaching of the book.  Looking for books on measure theory/ Probability that might further help me understand statistics properly instead of superficially. Any suggestions will be greatly appreciated..


Are there any drawbacks to using Lead Free Solder Paste

I understand from first hand experience that Lead Free solder is more difficult to use than leaded solder. But for a PCB, if I were to use Lead Free solder paste, are there any serious drawbacks using that instead of Lead solder paste? For my application, this is for hobby PCB application. I don't have a curing oven, so I planned on using my hot air station to melt the solder paste. Thanks.


How can I edit Nautilus Places sidebar and Unity QuickList?

I'm running Ubuntu 13.04 with Nautilus 3.6 and I want to edit the Nautilus Places sidebar menu (Not Bookmarks).  By default have the following items: Recent, Home, Desktop, Documents, Downloads, Music, Pictures, Videos & Trash.  I wish:        Add folder to Places (Not Bookmarks).   Added Folder must be present in Unity QuickList (Right Click Nautilus icon in Launcher).   Remove Recent files (Default in Nautilus 3.6).   Rename Trash to another name.      how can I achieve these goals?  NOTE: I tried editing ~/.config/user-dirs.dirs file, but not luck. Is there another way to customize Nautilus Places menu?


Avoiding confusion over the term "Research Assistant"

When applying for non-research related work in the commercial sector, how should confusion be avoided over the term "Research Assistant" being used in a CV?  Are human resources staff at companies, and recruiters, at risk of assuming "research" means market research, as opposed to scientific research, especially if they're skimming through the CV?


LaTeX complains that \tkzDrawArc is not defined

I'm trying to draw an arc between two points, centered at a third.  I thought the following example should work  \documentclass{article} \usepackage{tikz} \usepackage{tkz-euclide} \usetikzlibrary{calc} \begin{document}  \begin{tikzpicture}[scale=1.5]   \tkzDefPoint(0,0){O}   \tkzDefPoint(2,-1){A}   \tkzDefPoint(1,1){B}   \tkzDrawArc[color=blue](O,A)(B)   \tkzDrawArc[color=Maroon](O,B)(A)   \tkzDrawArc(O,B)(A)   \tkzDrawLines[add = 0 and .5](O,A O,B)   \tkzDrawPoints(O,A,B)   \tkzLabelPoints[below](O,A,B) \end{tikzpicture}  \end{document}   instead I get an error message that \tkzDrawArc is an undefined control sequence.


Do Israeli security agents interview all those flying to Israel or is it restricted to El Al flights?

The one thing I hate about flying to Israel are the security checks at the origin airports. I don't mind X-rays and deep luggage searches, but there's also an annoying interview you have to "pass". The security folks can't really turn you down (especially since I'm a citizen), but they always make it a pain in the butt, because for some reason I fit their profile of a suspicious person.  Can I avoid the personal interviews if I book on a non-Israeli airline? Or perhaps a low-cost airline?


How to apply "Put to next output" to all windows?

I recently got a second monitor set up, and I now have a "main" bigger monitor and a second small one. I found that I often work on the main monitor while having things on the second monitor for reference, but I often have to switch between the two. The CompizConfig plugin has a shortcut for "put to next output" which does exactly what I want; it moves the active window to the other monitor. However I often need to swap the windows between monitors, so I was wondering:  Is there a way to move all windows to the other monitor with a single keyboard shortcut?  EDIT: I checked  question, but the script provided by point 1 of the accepted answer fails with this terminal output:  Traceback (most recent call last):   File "./.bin/swap_windows", line 32, in <module>     swap_windows()   File "./.bin/swap_windows", line 18, in swap_windows     shift_r = get_shiftright(xr_output)   File "./.bin/swap_windows", line 9, in get_shiftright     lines = [l for l in xr_output.splitlines() if "+0+0" in l][0].split() IndexError: list index out of range


iMac 2013 (late) as external monitor for PC

I have an iMac 27" with two thunderbolt ports, and a PC with DisplayPort output. In order to use the iMac as a monitor, it appears that a thunderbolt display output at the source is required (), and using a DP-mDP cable did not work (Target DisplayMode on the mac using cmd-F2 doesn't respond).  The question is, is there anything I can do on the PC side (a new graphics card, perhaps? or some sort of a converter) to make this happen?


iTunes Connect developer API for own statistics site

I'd like to setup my own statistics site for my own released apps. I'm just wondering, if it's possible to have an iTunes Connect API where I can fetch all statistics from the iTunes Analytics area like downloads, crashes, paid applications, active users, in app purchases, etc.  This kind of question was already asked a couple of years ago (around 2015) but without any appropriate answers.   Just to be clear: I'd like to build my own dashboard and I'm not asking for an export functionality (e.g. xls, csv, etc.) or where I can find some other tools.


Prevent questions with movie/tv shows/game spoilers from appearing in the hot questions list

I've noticed that occasionally "hot questions" from SciFi and the Movies & TV network contain major spoilers about the movie/show discussed.  The Matrix spoilers:      (just now there's something about Cypher betraying Morpheus in the Matrix, which is a big deal for people who haven't seen the movie).   I like browsing through those but fear that one day one of these questions will spoil a show I'm excited about and yet to finish   Breaking Bad spoilers:      (like the finale of Breaking Bad, imagine a question asking why did one character betray another at the end or something).   Can users posting such questions be asked to label those with a tag (such as 'spoilers') and then somehow have the network hide those from the "hot questions" list? Or possibly format them differently?  Similarly, this could apply to the Arcade network too.  P.S. Love how this question spikes in popularity around the time GoT starts running again. I swear it should be fairly simple technically to ban questions that have a tag that says 'spoilers' from appearing in the Hot Network Questions.  P.P.S. Oh, and with every fresh release of Star Wars (The Last Jedi being the most recent one)!  P.P.P.S. Another year, another Game of Thrones, another spike in popularity!


I am running a fairly current version of Kubuntu...  Kernel: 4.13.0-36-generic x86_64   bits: 64 Desktop: KDE Plasma 5.10.5   Distro: Ubuntu 17.10  In all the "KDE" distros I've used in the past I could easily run "gui" apps with elevated credentials: ie. "sudo dolphin", "kdesu dolphin", etc.  With kubuntu I cannot get any of these to work. I managed to do a cli "cp" to get some scripts moved to /usr/local/bin but I'm not a Linux tekkie so it was a real fight for me. If I can't get the apps I normally use to run "elevated" on those rare occasions when I have that need then kubuntu is not a good fit for me. Is there a way I can continue using kubuntu and do what I need to do?  Specifically: I need to run Dolphin with root privileges.  Thank you


I had a problem with the /etc/log/syslog file in the logs because he was reporting an error every second: Apr 26 16:09:53 ubuntu2004 multipathd [728]: sda: failed to get unknown uid: Invalid argument Apr 26 16:09:53 ubuntu2004 multipathd [728]: sda: failed to get path uid ".  I fixed it. Can I clean the /etc/log/syslog.1 and /etc/log/syslog files now?


Given $p=0.05$ in one study, what is the likelihood of $p \ge 0.05$ in a repeated study?

This question comes from a .  One user asked a question:     Given $p=0.05$ in one study, what is the likelihood of $p \ge 0.05$ if the same study was repeated under the exact same condition in the same population?   With a set of possible answers: 5%, 10%, 50%, 95% and 99%.    The most common and most accepted answer seemed to be that you don't have enough information to tell.  However this seems wrong. My reasoning is the following:  0.05 is an arbitrary p-value. So the question really asks - when you obtain a p-value, what's the probability that the second p-value will be greater than the first one? And when rephrased that way 50% looks like an obvious answer.    The question is - what is the correct answer and how to derive it in a more rigorous way?


Did Tyranus plan to kill Sidious and rule himself?

We see numerous times over the course of Star Wars that a Sith will kill his master and take a new apprentice for himself with a plan to control the galaxy.  We never see this behavior from Count Dooku in the movies.  Is there anything within the canon that would suggest Dooku had undertaken any extensive planning to kill and replace his master?  Note that I'm looking for events prior to his fight with Anakin Skywalker.


Short (?) story about immortality and end of mankind

I'm looking for a probably short story (but I'm not 100% sure about it) where mankind got this huge achievement (probably immortality but might have been energy) through killing an inferior alien species.   Because of that, some kind of galactic/space alien counsel decided to punish mankind by extermination, which led to a war. What I can clearly remember (and the reason I'm looking for it) was the ending, where a bunch of humans escaped with a very fast ship, chased by an alien one. The ships were so fast that they bent time, and in the end, as the universe was crunching, the aliens sent a message by asking humans to let them catch them so that the whole thing would make sense.


What's the most efficient way to draw edges for an object? By efficient I mean quick in drawing and efficient in rendering.  Example: Adding red edges to a box.


Simulate manipulation of the etc/hosts file in Google Chrome

How can I set up Chrome to reference hostname lookups locally and not from the standard etc/hosts file?  When debugging a website, it's sometimes useful to set up entries in C:\Windows\system32\drivers\etc\hosts that replace certain domains with localhost, thus allowing me to test out on-the-fly versions of websites or domains that may conflict with live actual sites.   Can I set up Google Chrome in a way that simulates and simplifies this process?  I won't to modify the browser instance to behave as if etc/hosts has been modified although even that might be too much of a security risk in an extension.


In the universial coefficient theorem for cohomology, we have split exact sequence $0 \to Ext(H_{n-1}(C),G)\to H^n(C;G)\to Hom(H_n(C),G)\to 0$, where $H_n(C)$ are homology groups for a chain complex $C$ and $G$ is a chosen group.  It is said that if $G=F$ is a field, then we have isomophism $H^n(C;F)=Hom(H_n(C),F)$ because $Ext_F$ vanishes since $F$ is a field. I don't know why $Ext_F$ vanishes under this circumstance? Hope someone could help. Thanks!


What is Google Search Console's complaint about CLS (cumulative layout shift)?

Google Search Console is saying:  CLS issue: more than 0.25 (desktop) First detected: 5/27/20 Status: Poor   But the  is simply a table containing UTF-8 text. It has an external style sheet, but no images, scripts, or forms. The one possibly uncommon thing is that I serve it as XHTML. Why would this page experience shift? Strangely, the complaint occurs only for desktop, not for mobile, even though it is a wide table that can be read much better on a large screen. (Note that I'm not especially concerned about performance, etc. itself; the page is mostly only for my own use.  I'm simply curious about how and why layout shift could be detected.) UPDATE: I've found a related problem, which I've posted as


Do I need a transit visa for transit flight from Vienna to New Delhi for Indian citizens?

I am traveling from USA to India via Vienna, Austria in June 1st week of 2015. I am having a valid I-797 valid until Dec 2016 and also EAD documents. However I don't have valid USA visa now because I did not go out of USA for last 8 years.   I have a layover of around 4.5 hrs in Vienna on my way to India. Do I need any kind of transit visa in Vienna. I am not planning to go anywhere outside the waiting area of international travel lounge. Please advise.  I hold Indian Passport and valid USA EAD documents.


In a DND 5E game, my character has the staff of healing. Does this count as a staff/quarter staff for melee purposes? If so, does it get +1 to attack and damage rolls for for being magical?    The spell Magic Weapon reads     You touch a nonmagical weapon. Until the spell ends, that weapon becomes a magic weapon with a +1 bonus to Attack rolls and Damage Rolls."   This would imply that all weapons that are magical in some way would have a natural +1 to attack and damage rolls (unless stated otherwise or of a higher value)  So does the staff of healing get +1 to attack and damage rolls?


How to transfer images from Nikon D3300 to external devices?

I would like help with the best method of transferring images (RAW & jpeg) from my Nikon D3300 to an external hard drive and/or to my iPad Pro (2018) when traveling.  I used to carry a laptop and would connect the camera directly to my laptop, now I will just be carrying my camera, my iPad, and figure I would need to purchase an external hard drive.  My issue is how to connect these devices?  A cable from my camera to my iPad, a cable from my camera to the external drive, or a drive that I can insert the SD card from my camera to an external drive?


What is the use of NOT CONNECTED pin in 741 opamp?

When I attended a viva about the IC Applications, I was asked What is the use of NC pin in 741 opamp? so I answered as it just indicates no need of any connection to that pin in return I was asked then why this pin is placed? Unfortunately I didn't answer.  I researched about it and found that it is filler space from this .  Is there anything else I didn't reached in this case? and What is Filler space?


The meaning of word "do" in “Yes, I do watch TV”

Suppose Alice asks Tom “Do you watch TV?”   Tom answers,     “Yes, I watch TV”   But Tom can also answer as follows       “Yes, I do watch TV.”   What is the difference between the two answers and the inclusion of the word "do", in the answer given by Tom.   I would also like to know  which one is the more precise answer.


What is the difference between "general" and "generic"?

For example, as a student, I have a "general" or "generic" question. My question is "Does every student need to wear school uniform every school day?" Are "general" and "generic" interchangeable here? If so, which one is more common in colloquial AmE?


In Ubuntu Server 16.04, what partition type should I use for system space?

I am setting up a server using Ubuntu Server 16.04 and I have 5 GB of free space on my drive that I want to partition into space used for installing the system. What option should I select under "How to use this partition:"? These options include (but are not limited to) Ext4 journaling file system, FAT16 file system, EFI System Partition and Reserved BIOS Boot Area. There are 15 options, including "do not use the partition". Which should I select?


Does review activity appear in a question's timeline? If not it should

It would be nice to be able to answer  by refering to the  and seeing that reviews have occurred (and what the outcome has been).


I have almost 6000 directories with thousands of files:  all/recup_dir.1/1.txt all/recup_dir.1/2.jpg ... all/recup_dir.5987/1.txt all/recup_dir.5987/2.txt ...   and I want to move all .txt files in the all/txt folder. I have used this command:  mv **/*.txt txt   but I get this error:  bash /bin/mv arg list too long   How can I do?


I downloaded Ubuntu (I think version 14 point something, but not sure how to check the version), afterward I checked my download directory and I have an application file and an ISO file. I burned a DVD with the ISO file and loaded Ubuntu from the DVD. During the installation I gave Ubuntu much more space on the drive than required because I didn't know how much to give it- I think I gave it 88GB. I was asked to click on something that would allow my computer to boot from disk and agreed so that I wouldn't have to worry with going into the BIOS. Afterward, I was able to boot Ubuntu and was happy until I discovered that Windows Vista needed repair in order to boot. I did have the screen that asked which operating system to use. I repaired the Windows boot by going to a microsoft site that explained options to type into the command line. After repairing Windows boot, Ubuntu won't boot. Please advise!


If there is a spaceship hovering above a black hole so that it can get away, what would happen if the spaceship connected a rope to itself and dropped the rope in? Could you pull the rope out?


How one can create an installer for custom keyboard layout

I've managed to create a custom keyboard layout for .  Now that the keyboard is in a state that I can share it. I don't know how to make it a redistributable package.


Currently I am uploading image in codeigniter via ajax. In this all my input fields are taken, but input file was not getting. I am getting error undefine "image name" how to do image upload via ajax. I have attached my code below,  HTML:  <form method="post"  enctype="multipart/form-data" action="" id="newsFeedForm"> <input type="file" name="newsimages<?php echo $i; ?>[]" id="newsimages<?php echo $i; ?>" data-feed="feed<?php echo $i; ?>" multiple> <input type="button" id="newsSubmit" value="Update" class="btn btn-primary btn-sm pull-right mt10 col-lg-2 col-sm-2 col-xs-2 mt10" name="newsSubmit" onclick="updateFeedDatabase(<?php echo $i.','.$fed->news_id; ?>);"> </form>  ajax: function updateFeedDatabase(id, nid){    var myData = $('#your_form').serialize();      //alert(formData);      $.ajax({         type:"POST",         contentType:attr( "enctype", "multipart/form-data" ),         url:"<?=base_url();?>nhome/updateFeed/"+id+"/"+nid,         data: myData,         cache: false,         processData: false,         success: function (data) {            alert(data);         },         error: function(data){         //error function     }      }); }   Model:   public function updatefeedDb($id,$nid){     $message = $this->input->post('newsMessage'.$id);     $status = $this->input->post('newsstatus'.$id);     echo $_FILES['newsimages'.$id]['name'];      if (empty($_FILES['newsimages'.$id]['name'])) {         echo "I am not empty";     }else{         echo "I am empty";     }     }   In this above code, I am getting undefined "newsimages1". How to get image in to ajax page, Can you please help in this task.


I am self learning QFT and I am stuck on some interpretation. What does the quantity that denotes the field say, $\phi(t,\vec{x})$, really mean? How is it different from a similar quantity describing a point mass?


Where do I get a community for a proposal?

For a proposal I need 200 people. My Question is simple: Where do I find them?  Is there any site, or other social network for proposing stack sites or similar to this use?


Problem working fontspec, babel and datetime with cyrillic

I have discovered that fontspec with russian babel settings doesn't work with datetime package. I tried to compile such code:  \documentclass[a4paper,11pt]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[main=russian,english]{babel} \usepackage{datetime} \usepackage[cm-default]{fontspec}  \begin{document} \today \end{document}   with a xelatex and got an error: Command \cyri unavailable in encoding EU1.  Is there any way to handle it?  UPDATE: I really bungle with charset in XeLateX. Thanks to egreg. I have removed fontenc and inputenc and used some cyrillic font, so my MWE now looks this way:  \documentclass[a4paper,11pt]{article} \usepackage[main=russian,english]{babel} \usepackage{fontspec} \setromanfont{PT Sans} \usepackage{datetime}  \begin{document} \today \end{document}   and I've got another error, if I used russian as a main language in babel: Undefined control sequence. \\monthnamerussian ...cyrm \cyra \cyrya \or \cyri  \cyryu \cyrn \cyrya \or \c...  Is it still because of XeLaTeX?


How do I disable command blocks in Minecraft 1.8 singleplayer?

My friend created a clock with a command block that teleports me to one place on my singlepalyer world.   How can I disable command blocks and get unstuck from this infinite loop?


Javascript - Make same function have different inputs

So in Java, you can do:  void F(int x, int y) {   run(x, y); }  void F(String a) {   say(a); }   but in Javascript you always have to do:  function F(x, y) {   if (typeof x == "string") {     say(a);   } else {     run(x, y)   } }   I want to do something like the Java functions in Javascript without checking every single thing, anyway to do that?


Why isn't my while loop condition working?

When I try to use a while loop it won't follow the conditions I set in the while. Like if I put while s1 != "n") it will continue even if s1 = n. It does the opposite when I try to use while s1 == "y") and it very irritating. I'm trying to make a factorial calculator that prompts the user if they would like to keep going or stop.  Here's the full code:  package factorial;  import java.util.Scanner;  public class Factorial {      public static void main(String[] args) {     int factorial = 1;     int number = 6;     int i = 1;     String s1 = "y";      Scanner keyboard = new Scanner(System.in);  while(s1 != "n") {     System.out.println("Enter an N:");     number = keyboard.nextInt();     while(i <= number) {         factorial *= i;         i++;     }     System.out.println("Factorial = "+factorial);     System.out.println("Would you like to continue? (y/n)");     s1 = keyboard.next(); } keyboard.close(); System.out.println("Have a nice day!"); } }


I feel like I'm missing something very obvious here, but I have a query where I need the result to be to 16 bits of precision after the decimal.   Below is an example query.   select (CONVERT(decimal(38,16), 467897.78) * 12) / CONVERT(decimal(38,16), 8143372.15)   If I run that query from SSMS, the result is 0.689489 , however, if I run that exact same math problem from just the windows calculator app, the result it shows is 0.6894899627054337 . Am I missing something with my tsql query?