Why did Newton state his first law separately even though it is apparently a direct consequence of the second law?

If $F=0$, $F=ma \implies m\frac{(v-u)}{t}=0\implies v-u=0 \implies v=u $   Which is essentially Newton's first law.


Can any one please recommend any ad-ons for complete document library printing - without having to go into each document one by one? on 0365 Sharepoint2013 online?  Other than sharepointprinting.com  Thanks!


The infinitely dense point from which the universe allegedly originated - the universe must expand, right?

This is all based on some thoughts  gave me.  Assertions   The big bang theory is currently accepted theory about the origin of the universe Infinitely dense implies some kind of material (I avoid the term matter intentionally) - think of it as the fabric the universe is made of (irrelevant what it is at its core)   Question  If the point was indeed infinitely dense it would suggest that it never runs out of whatever that material is that defines its density, right?  From that viewpoint it would seem to be logical that the universe will keep expanding and expanding as the ("spatial") origin never runs out of the material the universe is made of, right?  So doesn't the big bang theory as it stands imply the ever-expanding universe outcome?  I wonder, because there is still no consensus about it in the scientific community, it seems.  Remarks  Now I am aware that the physics of the beginning of the universe is theoretical and oftentimes beyond comprehension, in short: mind-boggling. This is why I came up with that question.  I'm just wondering whether one cannot automatically deduce one (ever-expanding universe) from the other (infinitely dense point at origin of universe)?  Or is my fallacy the one that the infinitely dense point refers not to the fact that the amount of material $x$ at that point is $\infty$, but rather because the space of a point is $0$? So because of that it doesn't matter whether $x = \infty$ at all? ...


Why does Spock's rapid aging stop after Genesis?

In The Search for Spock, Spock is resurrected as a consequence of super blood the Genesis effect.  A new organism, genetical identically to the deceased Spock, is created from the DNA in his corpse, which was left on the planet Genesis at the end of The Wrath of Khan.  On Genesis, the new Spock ages more rapidly than normal, going from infancy to adulthood in the space of a day or two.  By the time he is rescued from Genesis by Kirk and friends, he seems to be at roughly the same age as when he died (albeit somewhat conveniently).  My question:  Why did Spock stop aging so rapidly when he was removed from Genesis?  (If the answer is that one must be present on Genesis to experience the effect, then why did it not not affect David Marcus or Saavik?)  Also, when Spock was removed from Genesis, was he younger, the same age, or older than when he died?


How do I hide an element when printing a web page?

I have a link on my webpage to print the webpage. However, the link is also visible in the printout itself.  Is there javascript or HTML code which would hide the link button when I click the print link?  Example:   "Good Evening"  Print (click Here To Print)   I want to hide this "Print" label when it prints the text "Good Evening". The "Print" label should not show on the printout itself.


I have a custom module which are basically APIs, hence require headers like content-type to be added to the responses. I was using drupal_add_http_header() in Drupal 7, but it seems to be deprecated in 8. Is there any replacement?  I did read about it on the Drupal website talking about Symfony object Response, but I am unable to use that either.


I have 250 shapefiles of large area. I have a area shapefile against which I want to clip the small portion of all 250 shapefiles. I tried using transformer Clipper individually on each shapefile as reader and output on individually writer.  As it is lengthy process to assign Clipper to 250 readers individually.  Is there any process to clip all shapes using single clip transformer and output to 250 layers.


Recently, I have been looking at the Lagrange equations that describe particles of different spin. I know lagrange takes the form $L=$kinetic-potential, and it seems these equations do take this form. But I dont see how they correspond to the kinetic or potential. How are these equations derived? The Klein-Gordon equation spin 0 $$L=c^2\partial _\lambda \phi \partial^\lambda \phi ^* -\left(\frac{mc}{\hbar}\right)^2\phi \phi^*$$ Dirac Lagrangian spin 1/2 $$L=i\hbar c \tilde\psi \gamma ^\mu \partial _\mu \psi-mc^2\tilde\psi  \psi $$ The Proca equation spin 1 $$L=-\frac{1}{16 \pi}F^{\mu \nu} F_{\mu \nu} +\frac{1}{8 \pi} \left(\frac{mc}{\hbar}\right)^2A^\mu A_\mu$$ I suppose I mean to say, is there one equation that you can get all three of these equations from?


Java ArrayList.toArray not working - returning reference of some kind

I'm writing a program that involves reading data from a database and displaying it in a table in a GUI. I'm trying to convert a 2D ArrayList to a 2D array, by doing 1 column at a time, but when the list is converted, it's only returning a reference of some kind. I don't understand why this is and how I can fix it  The code I am trying is:      System.out.println(columns);     Object[] column0 = new String[15];     column0 = columns.get(0).toArray();     System.out.println(column0);   The arrayList in question, columns, is  [[802018    , 800319    , 800319    , 800319    , 800319    , 800319    , 802112    , 802112    , 802112    , 802002    , 802002    , 802002    , 802003    , 802003    , 802013    , 802013    ], [5C92      , 1C19      , 1A33      , 1C36      , 1K71      , 5K71      , 1C05      , 1A92      , 5A92      , 1A14      , 1C84      , 5C84      , 1A85      , 5A85      , 1C81      , 5C81      ], [505, 1515, 1838, 2337, 515, 759, 805, 1500, 2048, 1053, 1303, 1900, 1101, 1640, 1203, 1755]] and the column0 list is only showing as [Ljava.lang.Object;@436e852b


JSONError - System.JSONException: Can not start an object, expecting field name

I would like to create JSON as a output, for that I have written one sample code, but in that code on line no 30 I am getting error as, 'System.JSONException: Can not start an object, expecting field name' can anyone please provide me the way to minimize that error      public class JSonGeneratorDemo {      public class Employee{         String val = '';         public Employee(){            // this.val = val;         }     }         public static void generateJSONContent(){          JSONGenerator gen = JSON.createGenerator(true);         List<Integer> intList = new List<Integer>();             intList.add(101);             intList.add(201);             intList.add(301);          Employee test = new Employee();          gen.writeStartObject();         gen.writeStringField('Orgnization', 'Prorigo Software Pvt. Ltd.');         gen.writeStringField('EmpName', 'Amol Jadhav');         gen.writeNumberField('EmpId', 10);         gen.writeStartObject();         gen.writeObjectField('Remaining Employee Ids', intList);         gen.writeEndObject();         gen.writeFieldName('Demo Field');         gen.writeObject(test);         gen.writeEndObject();          String pretty = gen.getAsString(); // Error on this line         //System.debug('The Generated JSON :' +pretty);       } }


Yoda's unique speech consisting of reversed grammar is iconic.  Is there any reason he has adopted this speech pattern?  All other alien species encountered seem to have no trouble speaking normally. Why does Yoda speak in this way?


If I call a Black person "nigger", how bad is this today? If a Black calls another Black with this word, is it wrong?


If $A\subset\mathbb{R^2}$ is countable, is $\mathbb{R^2}\setminus A$ path connected?

Possible Duplicate:          As the topic,if $A\subset\mathbb{R^2}$ is countable, does $\mathbb{R^2}\setminus A$ path connected??? I know the answer is it is path connected but not sure how to prove it.


How to remove duplicate domains from a large list of URLs in c#

I want to remove duplicate domains in a large list of URLs in c#, For example if the list was: https://example.com/example.php/login/ https://2example2.com/example/ https://example.com/register.php/ https://example.com/info/ https://example.com/example.php/login/ https://2example2.com/register/  I need to remove all of the duplicate domains except the first one so this would be the end result: https://example.com/example.php/login/ https://2example2.com/example/  Can anyone help me? I know how to separate the domain from the rest of the URL but I'm not sure how to keep the first one.


Show that $n^{13} - n$ is divisible by 2, 3, 5, 7, 13

Show that $n^{13} - n$ is divisible by $2, 3, 5, 7$ and $13$   I know this has been asked before, but the other approaches seem different than mine.   Here is my approach:  Look at $ n^{13} -n \equiv 0 \bmod k $ where $k$ is some positive integer. Then we can write $ n^{13} \equiv n \bmod k $ which has the form $ n^{\phi(k) + 1} \equiv n \bmod k $. So we can solve for $k$ that satisfies the equation $\phi(k) + 1 = 13$. The first few $k$ that satisfy this are $13, 21,$ and $26$. Since $21 = 3 * 7$ and $ 26 = 2 *13$, this shows that $ n^{13} -n $ is divisible by $ 2,3,7,13 $.  My trouble is proving this for $5$. I have checked the Euler totient function up to $k= 100,000,000$ with Mathematica. There is not an integer on this list that is divisible by $5$. The list seems to have stopped growing after $42$: $\{ 13, 21, 26, 28, 36, 42 \}$. Why does this method not seem to work for $5$?


Does Python have something like anonymous inner classes of Java?

In Java you can define a new class inline using anonymous inner classes. This is useful when you need to rewrite only a single method of the class.  Suppose that you want create a subclass of OptionParser that overrides only a single method (for example exit()). In Java you can write something like this:  new OptionParser () {      public void exit() {         // body of the method     } };   This piece of code creates a anonymous class that extends OptionParser and override only the exit() method.  There is a similar idiom in Python? Which idiom is used in these circumstances?


The intensity of an electromagnetic wave is only related to its amplitude $E^2$ and not its frequency. A photon has the same wavelength as the wave that's carrying it, and its energy is $h  f$.   So if a laser wave is kept at the same amplitude and the wave length is reduced, why does its intensity remain the same even though its photons now carry less energy?  Why are the intensities of electromagnetic waves so different to sound waves (and other waves travelling through a medium) which are related to $f^2  E^2$?


How to create a table (like tabular) with only equations

I am trying to create a table containing only equations. Similar to a tabular environment. I want to be able to set margins in the table like you can in tabular, but there doesn't seem to be a simple way of doing this without going through each entry and specifying maths mode with $.$. Is there something like the following which produces what I describe?  \begin{mathtable}{|c|c|c|} \hline 2\pi     & \phi     & \eta   \\ \sqrt 2  & \lambda  & \sigma \\ \hline \end{mathtable}


The Relationship Between Topological Space and Fundamental Group

I am just an Algebraic Topology beginner and I have one doubt related to the relationship between the topological space and the fundamental group. As we know that if given a  specific topological space, we can calculate the fundamental group of it. Therefore, my question is that if given a fundamental group, can we define a particular topological space for it? How?   I hope you do not mind me and provide me with some intuitions on this problem.   Thanks!


Why do objects sometimes fall on their own?

I have observed sometimes that when I keep some objects precariously balanced, for e.g. some objects in a cupboard, they seem quite stable at the time when I place them there but after a certain period, maybe even 8 - 12 hours suddenly you hear a noise and you can see that they have fallen for what seems like no apparent reason. What can be the reason for this? obviously, I am looking for a physics explanation and not a supernatural one.


How to sort a list of dictionaries of dictionaries by value

I have a list of dicts of dicts like this:  mydic = [{'name':'a', 'loc':{'locname':'z'}, 'id':{'value':'1'}},{'name':'b', 'loc':{'locname':'o'}, 'id':{'value':'2'}}]   How do I sort it by locname? I should get this:  mydic_sorted = [{'name':'b', 'loc':{'locname':'o'}, 'id':{'value':'2'}}, {'name':'a', 'loc':{'locname':'z'}, 'id':{'value':'1'}}]


Where do we find a LaTeX style/class development expert for hire?

We would like to hire the services of an expert (individual or company) in LaTeX style/class development to modernize the template used in a scientific conference's proceedings.  We are currently using a very old style that doesn't incorporate many of the advances made in the TeX community (no hyperref, document layout, bad interactions with some packages, etc.). This class is used for hundreds of documents, that are typeset by the article authors themselves.  Is there some directory of experts for hire?


It's easy to find good recommendation for books here for any subject other than analytic geometry ,therefore I'd like to ask for any suggestion of analytic geometry books ,the only  charactrestic I'm looking for is a somewhat visual expostion.


When I turn on my computer, the violet ubuntu image from there changes to black if I don't quickly press the esc key or f1 goes black. Any solution for the black screen when turning on?


Prove that the relation 'is parallel to' on the set 'S' of all straight lines in a plane is an equivalence relation .  My attempt:  The relation 'is parallel to' on set 'S' is:  (1). Reflexive, because every line is parallel to itself.


Do iOS app visits count to your consecutive visits

The title says it all, just wondered if accessing the iOS will count towards your consecutive visited days.


In this code, foo() is a function which takes time as an argument. I want to set the timer for multiple function instances, each of the same function but different parameter. The parameter of each function is each and every element of Time array entryTimes, and the time at which the function should run is also the same. enterLength is the length of entryTimes. Here is the code:  public void scheduler()     {         java.util.Timer[] _timer = new Timer[enterLength+1];         int i=0;         TimerTask[] tt = new TimerTask[enterLength+1];          for (i = 0; i < enterLength; i++) {             nowAt = i;             System.out.println(entryTimes[nowAt] + " : " + i +" 100");             tt[i] = new TimerTask() {                 @Override                 public void run() {                     setMissedEntries(entryTimes[i]);                 }             };             _timer[i].schedule(tt[i], entryTimes[i]);             System.out.println("Uff");         }     }  I keep getting the java.lang.NullPointerException exception. Please help.


I would like to decrease the space from the top of the page and the chapter please?


C: double to int conversion error in gcc 6.3.0

I have the following c program, and some of the times I run it, the output differs, based on the compiler and the platform. I understand that double to int conversion could cause problems.  Here is the code:  //Compiler version gcc 6.3.0 #include <stdio.h> #include <math.h>  int main(void){     double d = 2;     printf("%.20lf\n", pow(10, d));     printf("%d\n", (int)pow(10, d));     printf("%d\n", (int)pow(10, 2)); }   100 is the expected value, but the statement      printf("%d\n", (int)pow(10, d));   has 99 as output when I use both gcc 6.3.0 and Windows 10 x64, but not in other cases.  Here are some results:  //gcc 6.3.0 (Sublime Text 3) in Windows 10 x64 100.00000000000000000000 99 ->this is the problem 100  //gcc 6.3.0 in Android (using Dcoder app) 100.00000000000000000000 100 100  //MSVC(VS 2017 x86) in Windows 10 x64 100.00000000000000000000 100 100   I also tested some online gcc(6.3.0) compilers but all the outputs were 100.  Thanks for the help.


GTA V coordinates transformation to WGS84

I'd like to use GTA V coordinates in leaflet to show some markers on the map.  How to do a transformation between the (unknown) coordinate system of GTA V to WGS84 (leaflet)?  I already tried to write a function for that. Sometimes the coordinates are correct but not always. I'm not sure what I did wrong. Is there a more simple way to achieve this? Perhaps with leaflet's ?  function convertCoords(x, y) {     var game_1_x = 1972.606;     // random lng point (GTA)     var game_1_y = 3817.044;     // random lat point (GTA)     var map_1_lat = 80.751791;   // same lng point (WGS84)     var map_1_lng = -121.717529; // same lat point (WGS84)      var game_2_x = -1154.11;    // random lng point (GTA)     var game_2_y = -2715.203;   // random lat point (GTA)     var map_2_lat = 71.3602;    // same lng point (WGS84)     var map_2_lng = -144.30542; // same lat point (WGS84)      var rLat = map_1_lat + (y - game_1_y) * (map_1_lat - map_2_lat) / (game_1_y - game_2_y);     var rLng = map_1_lng + (x - game_1_x) * (map_1_lng - map_2_lng) / (game_1_x - game_2_x);      return L.latLng(rLat, rLng); }   Here is a gridded map of GTA V:


Having trouble creating an array of objects

Hey guys I'm trying to get back into java. Took a class in high school a couple years ago. Right now I'm working on a small project where I want to use an array of objects but I'm having a problem with initializing the objects. Here's kinda what I have right now.  import java.util.Scanner; public class Test{   public static void main(String args[]){     Scanner s=new Scanner(System.in);     System.out.println("Welcome to Test. What is your name");     String ans=s.nextLine();     User[] people=new User[10];     people[1].initializeUser(ans);     people[1].printName();   } }   I'm having a run time error where I try to initializeUser. "Exception in thread "main" java.lang.NullPointerException" Here's the code for class User if it's helpful.  public class User{    public String name;    public User(String x){       name=x;    }    public User intitializeUser(String x){       User y=new User(x);       return y;    } }   and just a quick question relating to classes.. When should I use private instead of public? Also when am I supposed to use static for methods and variables? Thanks, guys


I found a Christmas Village building that has a motor rated at 12V AC 1.5-2W. What power-supply/adapter do I need to power this motor? It seems I can find many 12V adapters, but all would over power the 1.5-2W motor. Am I thinking about this wrong? Would a 12V AC 500ma power-supply at 6W be too much for the motor? Thanks.


Black " administrator" screen when connecting

would anyone know how I can get passed this screen, im fairly new to this and have had other instances connected using RDP work just fine.


I play Scrabble. I'm learning words with the letter 'q'. What is the usage of the word 'qua'?


How do I run this script with sudo from the command-line?

I have the following script in my user's bin directory; let's pretend the filename is 'myScript':  #!/bin/bash  python3 /myPath/myProgram.py "$@"   From the commandline, if I type myScript, it launches my myProgram.py. If I type sudo myScript, however it gives me this error: sudo: myProgram: command not found.  Why doesn't this work? How can I make it work?  Thanks!


How to limit Google search result to a set of websites?

I want to limit my Google search query to a set of websites. I am using the Opera Mini browser on my tablet for searching.


How does carbon dioxide or water vapour absorb thermal infra red radiation from the sun?

We are all told at school water vapour and carbon dioxide are the top two greenhouse gases, and that they absorb thermal infra red radiation, trap heat and warm up the Earth. My question is how do they do that? Why can't Oxygen or Nitrogen or any other gas not absorb infra red radiation as well as water vapour or CO2?


E: Package 'libpng12-0' has no installation candidate [ubuntu 16.10 Gnome]

I tried to install WPS Office on my laptop (ubuntu 16.10 Gnome, 64 bit) with  Gdebi installer but it said   Dependency is not satisfiable: libpng12-0   Then I tried to open this library as follows  sudo apt-get install libpng12-0   But I encountered an error:  Reading package lists... Done Building dependency tree        Reading state information... Done Package libpng12-0 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source  E: Package 'libpng12-0' has no installation candidate   Can anyone help? Thanks a lot


Quadratic congruence in $ \mathbb{Z}/187\mathbb{Z},\ 187 =11\cdot 17 $

Given $x^2 - \overline{51}x - \overline{43} = \overline{0}$.  Solve it in $\mathbb{Z}/187\mathbb{Z}$.  First of all, does the $\overline{x}$ mean that $\overline x = \{x + z \ | z\in I\}$?  I am getting really confused, because 187 is composite. I think I should somehow decompose this equation into two equations and solve them in $\mathbb{Z}/11\mathbb{Z}$ and $\mathbb{Z}/17\mathbb{Z}$, but I'm not sure.  And what is the pattern to solve things like that?


I find it hard to understand what really is the issue with multiple comparisons.  With a simple analogy, it is said that a person who will make many decisions will make many mistakes. So very conservative precaution is applied, like Bonferroni correction, so as to make the probability that, this person will make any mistake at all, as low as possible.   But why do we care about whether the person has made any mistake at all among all decisions he/she has made, rather than the percentage of the wrong decisions?    Let me try to explain what confuses me with another analogy.  Suppose there are two judges, one is 60 years old, and the other is 20 years old.  Then Bonferroni correction tells the one which is 20 years old to be as conservative as possible, in deciding for execution, because he  will work for many more years as a judge, will make many more decisions, so he has to be careful.  But the one at 60 years old will possibly retire soon, will make fewer decisions, so he can be more careless compared to the other.  But actually, both judges should be equally careful or conservative, regardless of the total number of decisions they will make.  I think this analogy more or less translates to the real problems where Bonferroni correction is applied, which I find counterintuitive.


A folder (not the disk itself) containing misc. things in my flash drive turned into a single USBC[]ÇNY file when I was running the Sublime Text app. It has no modified-date, nothing, looks like something corrupted and the file manager says it's both 3.42 GB and 0 GB large.  My question is now how can that happen? I rant disk-check (dskchk) and a tool like Recuva and yet nothing got back. The best I got is, thanks to dskchk, disrupt that file, but it just had a USBC... header with most content nulled, and were just 32 KB., meaning it had nothing! How could I at least avoid that to happen?    Before I tried dskchk and Recuva, I used WinRaR to open the USBC file and it said the file doesn't exist. I've tried renaming it too and it were still n't existing. Only the command prompt found it:    Yet more, that _Self folder just had a ascargo folder. That ascargo folder was open in Sublime Text (a workspace), so maybe that could be the issue?  Now I doubt I can really recover the content, but lucky it was just an experiment... I'd like to know how that happens.


Why two separate batteries in a circuit don't work?

If electrons move from the negative side to the positive side in a battery(thus creating electricity when they flow), why doing the same circuit with two separate batteries doesn't create electricity?    As you can see in the diagram electrons should be moving from A to B because the wire is connected in A - side(high pressure) to B + side(low pressure)...so, they should flow...why they aren't?  I've heard some people say that it is because of the balance(not enough to keep the constant flow). But then shouldn't it work if battery A has less charge than B?


I moved recently (like, yesterday) from Windows to Ubuntu. My computer has one SSD and one HDD, and I installed the operating system on the SSD. Now, I would like to keep most of my things in the HDD, but use the SSD for important stuff. In Windows, the drives were clearly different, but I don't understand how I can do this in Ubuntu. So, how can I use both drives, and how do I know where I'm installing/downloading/etc applications and/or files? I haven't done anything yet, so everything should be completely at a "starting point". Also, I am completely new to Ubuntu.


Prove $(x+y) \text{ mod } n = ((x \text{ mod } n)+(y \text{ mod } n)) \text{ mod } n,\,$ and product analog

For all $n \in \mathbb{N}$, $n > 1$ and $x,y \in \mathbb{Z}$ prove that      \begin{equation}   (x+y) \text{ mod } n   = ((x \text{ mod } n)+(y \text{ mod } n))\text{ mod } n. \end{equation}   Would this be a proof if I say:  Let $x = x' \text{ mod } n$ and let $y=y' \text{ mod } n$. Then  \begin{equation}   x+y = x'+y' \text{ mod } n. \end{equation}  Now, if we look at the current thing we want prove, this will follow:  \begin{equation}   x+y \text { mod } n = (x \text{ mod } n + y \text{ mod } n) \text{ mod } n. \end{equation}    I'm not sure if this is allowed or will count as a "proof" at all. Maybe you can show me some other ways of doing this, more precise ones?


Is Ubuntu based on Debian unstable or Debian testing?


When can uncountable nouns be countable?

I have a question about uncountable nouns that are used as countable in certain situations. When it comes to some uncountable nouns such as fruit, cake, coffee etc., I have found out that they can be countable if they indicate specific items. Here's an example.   I love chocolate cake. → The term cake is treated as a singular noun because here, cake is a general term.  I need a cake please. → Here, a cake means one of the cakes displayed in the bakery where I am visiting. Here, cake means the ‘whole’ cake.  I need a piece of cake. (at a coffee shop) → Here, a piece of cake means a part of the whole cake.    Usually, if we say,  "I'd like some cakes"  it means I would like some pieces of cake, not the whole ones. In fact, my grammar book, Grammar In Use by Raymond Murphy, explains this.  It says: “When people say ‘some cakes’, it usually means ‘some pieces of cake’, not the whole ones.” If this rule is correct, can I apply this rule to other uncountable nouns listed above? Here are some other examples:  I love fruit as a dessert. (compared with sweets). I sell fruit in the market. (compared with vegetables) I am now eating some fruits. (some apples and bananas)  I like to drink coffee in the morning. (compared with tea) May I have one coffee please? I need one Americano. (at Starbucks)  I like fish. (compared with meat) Look at those fishes in the fish bowl. There are several gold fishes! I need one salmon and two tunas.   However, some uncountable nouns are always uncountable as far as I can see. For example,  I love to eat cheese when drinking wine. I came here to buy some cheese. → in this case, even though I indicate some specific kinds of cheese or one kind of cheese, I still say ‘cheese’, right? I shouldn't say a cheese, or a few cheeses. Am I correct?  I love meat. May I have some beef and pork? Some pounds of beef, a pack of pork... → Here, I can't say “I need those beefs and porks”, can I?  I usually put milk in my coffee. I need two cartons of milk. → I can't say “I need two milks” unlike “two coffees", can I? I need one vanilla-flavored milk and one strawberry milk.--> In this case, though, I kind of feel that I can count them because it states a more specific kind of milk.


Why don't we add a question with the same tag on multiple Stack Exchange sites?

At first I thought my question might be a duplicate of , but it's different. In fact it's the reverse. Most of the time users encounter with the problem where to ask a certain question for example there is the tag remote sensing in , , , so someone who wants to ask a remote sensing question may be confused where to ask the question. Since cross-posting is not allowed on Stack Exchange he finally will choose one of these sites and most likely his choice will be  because of the more traffic of the site while Space Exploration was a better choice for that specific question. We have the same problem for the tag OpenGL in  and  and for many other tags that are available on multiple Stack Exchange sites. The OP wants to show his question to the largest audience available and he often cross-posts and downvotes start advising him not to ask the same question in multiple sites. I think a good way to solve this issue is to include the question with the same tag in multiple sites. For example, consider someone who is active on GIS.SE and asks a question with the tag remote sensing there then this question might be included (or just viewed) on the two other sites and when someone answers the question in one of these sites, that answer should be included in the other two too. Maybe you ask then how will we score the questions and answers then? Suppose that the question was asked on GIS and included on ES. But the answer was given on Earth Science and included in GIS. Then each upvote to the question will be added to the questioners' score on GIS and each upvote to the answer will be added to the responser's score on Earth Science. I can think of following benefits using this approach already, but maybe there are some other advantages and also disadvantages. I don't know. It's just an idea and a discussion.  As I said, the question will be exposed to the largest available audiance that might know the answer and so the questioning and answering process will be even faster. User's confusion about where to ask will be removed and the probability of cross-posting will decrease. As I said, most of the time people choose the site with the highest traffic as the appropriate one (here GIS) and this diminishes the beta sites' probability of success in reaching their critical number of questions and graduating. So this approach will intensify activity on beta sites. Most of the time moderators of old sites are concerned that the new proposals might tend to drain audience from their site and will disperse the users (For example  might drain audience of GIS, earth science and ... ). But this approach will minimize this worry.  This way Stack Exchange will be converted to a big site that virtually has different sections. Each expert will be active in the section that is most related to his expertise, but he will also see what is related to him written in other sections of the site. This way each community will have its own site and its own brand and will help other communities in other parts of the site.  P.S. As I've said,  is that it is an interdisciplinary subject. Each sites Physics, Mathematics, GIS, Earth Science, Space Exploration, Aviation, Cross Validated, Electrical Engineering, Engineering, and Open Data contain a part of remote sensing, but they do not cover the whole of it. I'm trying to build a place and gather all remote sensing researchers there to have a focused site about this wide subject.


How to put 19 digit or more digit number in a excel cell.   I want to save 19 digit number in cell of column .How I will format that cell.Can anybody give me some idea in this regard?


I have a new server and am planning to upgrade the paltry 2 GB of memory to the maximum of 16 GB. (Theoretically 8 GB is the limit, but empirically 16 GB has been shown to work.)   advise that ECC memory is not that important, but I'm not so sure I believe this.     I've installed  and am planning to add ZFS volumes as soon as my new hard drives arrive.   Would it be stupid to skimp and get non-ECC memory for a ZFS-based NAS?  If it's necessary, then I'll bite the bullet, but if it's just paranoia, then I'll probably skip it.  Is there any reason ZFS or FeeeNAS specifically would require ECC memory, or suffer especially when running on a system using non-ECC memory?


Why do different letters sound different?

If one sings the letter "A" and "M" at the same volume and pitch, the two letters are still differentiable. If both pitch and volume are the same however, shouldn't the sound be the exact same?


Is $x^3+nx+1$ irreducible over $\mathbb{Z}$ for infinitely many $n$.

Let $n \in \mathbb{Z}$. Then is $x^3+nx+1$ irreducible over $\mathbb{Z}$ for infinitely many $n$?


How to calculate pooled variance of two or more groups given known group variances, means, and sample sizes?

Say there are $m+n$ elements split into two groups ($m$ and $n$). The variance of the first group is $\sigma_m^2$ and the variance of the second group is $\sigma^2_n$. The elements themselves are assumed to be unknown but I know the means $\mu_m$ and $\mu_n$.  Is there a way to calculate the combined variance $\sigma^2_{(m+n)}$?   The variance doesn't have to be unbiased so denominator is $(m+n)$ and not $(m+n-1)$.


netstat is not showing port opened through ufw

I am setting up a ftp server on my Ubuntu 16.  After using the following command:  sudo ufw allow 21/tcp sudo ufw status verbose   I can see the output that says:     21/tcp    ALLOW    IN    Anywhere   But, if I type:  netstat -tnlp   It does not show the port 21 at all  Do I am doing something wrong?


iPhone 5 still has previous owners itunes info

I bought an iphone 5 off kijiji and was able to restore it however the previous owner still had it connected to itunes therefore am unable to use it. Hiw do I completely wipe phone clean nd start fresh creating my own itunes account


does $f(x,y)$ continuous imply $\int_{a}^{b} f(x,y) \,dx $ is continuous with respect to y?

let $f(x,y)$ be a continuous function define $ \int_{a}^{b} f(x,y) \,dx $ as a function of y $g(y)$. Is $g(y)$ continuous ? I tried to link this by Fundamental Theorem of calculus by setting $F(x,y)=  \int_{a}^{x} f(t,y) \,dt $. However I could not show it is continuous or not with respect to y. Any help would be appreciated! Edit: Is this valid ? $\lim_{y \to y_0} \int_{a}^{b} f(x,y) \,dx = \int_{a}^{b}\lim_{y \to y_0}f(x,y)=\int_{a}^{b}f(x,y_0)=g(y_o)$ .


Sci-fi novel where genius orphans are recruited via a puzzle game and taken to a lab

I read this when I was a kid. It probably came out around 2004? That's when other books I remember from around then came out.  This eccentric billionaire ran orphanages where children could play this one puzzle game that, if beaten, it alerted him that they had a genius on their hands. He'd come recruit them to work in his lab where, among other things, they made an anti-aging serum using some exotic elements produced by a miniature particle accelerator.  Two of the kids try to escape and I'm pretty sure everything ends up exploding by the end.


Ubuntu 13.04 Runs Very Slow After Update From Xorg-Edgers PPA

Ubuntu Ver - 13-04 32bit. Kernel Ver - 3.8.0-30-generic Computer Specs - Pentium IV (2.80GHz × 2) with build in graphics using an Intel 915G.  After getting the latest drivers from Xorg-Edgers PPA the response time and Performance in Unity and Ubuntu altogether is very slow. I need help because this update from Xorg-edgers is key for me to run wine


Running a campaign for the first time (first time for players and for me) and of course I am running Lost Mine of Phandelver. My players are about to confront Glasstaff and I had a question about the staff of defense he holds.  Do players and their characters know that if they use up all the item's charges there is a chance it will be destroyed? I am writing the item description on the card to give to the player and I wasn't sure if if should include the "roll a d20 after all charges, if 1 item destroyed".    I suppose there are 3 ways:   They know immediately upon attuning. They can take it to someone to know more about it They will never find out until the day they roll that 1     How should the players find out about this property in magic items?


42.8mm on Nikon COOLPIX P7700 > 55mm on Canon EOS 77D?

I have a Nikon COOLPIX P7700 and because it has been losing function due to wear and tear after 6 years, and I wanted a better zoom range for wildlife, I decided to get a Canon 77D DSLR so I could get myself a more powerful camera that could have a really long zoom range and be of high quality. Although the kit lens isn't telephoto, it advertises a mm range of 18mm to 55mm range while the Nikon advertises 6mm to 42.8 mm. Although 55 on Canon isn't much more than 42.8 on Nikon, I thought it would still be a little further optical zoom than the Nikon's. Yet the Nikon displays an image much more zoomed in than the Canon's (keep in mind I've disabled digital zooms for both cameras but am pushing them to their maximum zoom). How/why could this be? I'm completely lost because I thought more mm = more zoom, and in fact you're supposed to multiply 1.5x on Nikon and 1.6x on Canon, so Canon should be significantly stronger.  This picture is a comparison between the two. I've digitally zoomed into both photos to show them at equal size. As you can see there's more grain and warp on the Canon photo because I had to digitally zoom in more, as the optical zoom was weaker (and my question is: why was it weaker if it was 55mm vs Nikon's 42.8mm?)  Thanks for the help!


Block specific application with iptables

I have to harden a Linux desktop as an assignment in my college. But I got stuck at a specific problem: I have to control the outgoing traffic with iptables.  It should be possible to prevent a specific application (like LibreOffice) to access the internet. My professor said "look for the 'match' option". But I can't figure out how to do it. I thought of setting a rule which drops all packets of a specific group id with the -m owner --owner-gid option. But how can I configure my applications to run under this particular group? Or is this just the wrong way to do it?  The OS is Debian 7.


Including a particular function from a source file

I know I can use the listings package to include specific lines of a source file in my document, but is there any option or package that would allow me to specify a particular function to include instead?


Entire functions bounded along $\vert z\vert = R$

Suppose that $f$ is an entire function such that $\forall \vert z \vert =R$, $f(z)\leq M$, then for each coefficient $C_k$ in its power series expansion $f(z)=\sum C_kz^k$, $$|C_k|\leq \frac{M}{R^k}$$  My approach was plugging in $f(Re^{i\theta})$ which is $\sum C_kR^ke^{ik\theta}$. So $$\sum C_kR^ke^{ik\theta} \leq M$$  and then suppose that $C_l = 0$ for $l\neq k$. Which leads to $$C_kR^ke^{ik\theta} \leq M$$ $$C_k \leq \frac{M}{R^Ke^{ik\theta}}$$  I am not sure what to do at this point or if my steps leading up to this are correct. Any guidance would be appreciated. Thanks


I am trying to prove the follwowing: $$\sum_{k=0}^n F_kF_{n-k}=\sum_{k=0}^n(k+1)F_{k+1}(-2)^{n-k}$$  where $F_k = F_{k-1} + F_{k-2}$ with $F_0 = F_1=1$ are the Fibonacci numbers.  Now the left hand side of the identity is simply the cauchy product of the $n$-th coefficient of the generating function multiplied by itself, meaning the $n$-th coefficient of  $$F(z)\cdot F(z)$$ where $F(z)=\sum_{k\ge 0} F_k z^k$. I am not sure however, if this insight really helps a lot. The only thing I know about the coefficients are its explicit form $$F_k=\sum_{k\ge 0}\binom{n-k}{k}$$ but this did not lead to any results as I would be left with  $$\sum_{k=0}^n F_kF_{n-k}=\sum_{k=0}^n\sum_{l\ge 0 }\binom{n-l}{l}\sum_{j\ge 0}\binom{n-j}{j}$$  I would appreciate any hints or ideas.


Is this correct and if so can we find a nicer way to solve $\lim_{n \to \infty}\frac{f(n)}{n}$?

The question:  Suppose that $f: \mathbb{N} \to \mathbb{R}$. If $$\lim_{n \to \infty}[f(n+1)-f(n)] =L$$ prove that $\lim_{n \to \infty}\frac{f(n)}{n}$ exist and equals $L$.  My answer:  Define $g(n):= f(n+1)-f(n)$ then $g(n-1)=f(n)-f(n-1)$ and so $f(n) = g(n-1)+f(n-1)$. We can recursively apply this to get $f(n)=g(n-1)+g(n-2)+ \cdots +g(0) +f(0)$.  Then for $k \ge N_0$ we can  make $|g(k) - L| < \epsilon_0$ which gives $L-\epsilon_0 <g(k)<L+ \epsilon_0$. Also note that $f(N_0) = f(0) + g(0) + \cdots + g(N_0 -1)$ is just some number say $d \in \mathbb{R}$.  Now $f(N_0 + n) = d + g(N_0) + g(N_0 +1) + \cdots + g(N_0+n-1)$ and so using the above bound for $g(k)$ with $k \ge N_0$ we can bound $f(N_0+n)$ as follows:$$d+n(L-\epsilon_0) < f(N_0+n)<d+n(L+\epsilon_0)$$ $$\frac{d}{n} +L-\epsilon_0 < \frac{f(N_0+n)}{n}<\frac{d}{n} +L+\epsilon_0$$ $$\frac{d}{n} -\epsilon_0 < \frac{f(N_0+n)}{n}-L<\frac{d}{n}+\epsilon_0$$  We can take $n$ large enough so that $|\frac{d}{n}| < \frac{\epsilon}{2}$. Also take $\epsilon_0 = \frac{\epsilon}{2}$ and we have shown that the limit of $\frac{f(N_0+n)}{n} = L$.   If we define $h(n) = \frac{f(N_0+n)}{n}$ then $h(x_n)$ will go to $L$ for every $x_n$ that goes to infinity as $n$ does. So take $x_n = n-N_0$ and we have $\lim_{n \to \infty}h(n-N_0) =L= \lim_{n \to \infty}\frac{f(n)}{n-N_0}$ dividing top and bottom by $n$ we see that: $$\lim_{n \to \infty}\frac{\frac{f(n)}{n}}{1-\frac{N_0}{n}}=\lim_{n \to \infty} \frac{f(n)}{n} =L$$   I feel like I have missed something because this question is a lot more involved than all of the others I have done so far in the book. Is this correct? Is there a nicer way to do this? Or have I just wasted two days and rambled nonsense ;-)


How to have Outlook emptying trash on quit without asking?

When I leave my PC, I shut it down. But when it is the turn to Outlook to quit, he wants me to confirm that I want to delete what is in the trash folder.     So when I leave without waiting for this dialog to appear and not answering it, the PC get stuck on that dialog and then the shutdown is cancelled.  Is there a way to avoid this Dialog box, and still have my outlook trash folder cleaned on exit?


There has got to be the establishment of a universal auxiliary language.   Does the verb got add more to the context or is it there just for emphasis? Is it even grammatical?  Using Google-Ngrams I found a few similar versions as follow: . For example;   For many from the North, however, it has seemed difficult and there has seemed to be a problem. There has come to be a convolution between this become enmeshed concept of marriage as it exists in the sacred and how it exists in the secular. Most of the time since I have been here, there has appeared to be considerable feeling in the minds of a few. There has had to be some negotiation, obviously, but I think we provided what our soldiers need and what our country needs.   In general, I wanna know if 'have/has'+past-participle+'to be' is grammatical.


Relation between limit ordinals and alephs.

I was wondering what the relation is between a limit ordinal and the alephs. Are all limit ordinals alephs and if so can it be proven.


Let $Q^+ := {z ∈ C : Im(z) > 0}$ . Suppose $f$ is analytic on $Q^+$ and $f( Q^+) ⊂ D$ where $D$ is the open unit disc centred at $0$. what can be the maximum value of $|f'(i)|$ ?  Is it ok to use Cauchy's estimate on $B(i,1)$?


How to create a relational data table in Excel

If I have the following Table1 in Excel  Name    Age Sex Pablo   28  Male Victor  32  Male Juan    33  Male Pedro   40  Male Jacinta 24  Female Laura   39  Female   And Table2  Sex    Color Male   Blue Female Pink   How can I create a table (or pivot table, or just a simple Excel range) that can relate both tables through the Sex field?  Name    Age Color Pablo   28  Blue Victor  32  Blue Juan    33  Blue Pedro   40  Blue Jacinta 24  Pink Laura   39  Pink   I know I can use VLOOKUP or INDEX-MATCH, but I'm looking for a more elegant solution using Excel data model.


Difference between virtual and simple inheritance in C++

What is the difference between class A {}; class Z: public A {};  and class A {}; class Z: virtual public A {};


I'm making an adventure map in Minecraft.  I've been trying to make a key that opens a door and then deletes itself from your inventory. I got it to work flawlessly without NBT tags, using a trip-wire hook as a key.   After I assigned NBT tags to it thusly, tripwire_hook {display:{Name:"Key",Lore:["Opens one door"]}} the tripwire is now called a "Key" and describes exactly what it does and it even works to open the door. The command block that tests for the key in the players hand still works.  Unfortunately, the /clear @p command block will not recognize the item whether I add the NBT tag after "tripwire_hook" or not. Here is the command that I've used:  /clear @p tripwire_hook 1 {display:{Name:"Key",Lore:["Opens one door"]}}  Just to be safe, I tried the following:  /clear @p tripwire_hook 1 1 {display:{Name:"Key",Lore:["Opens one door"]}}  /clear @p tripwire_hook 0 1 {display:{Name:"Key",Lore:["Opens one door"]}}  And it will still not clear the item.  I'm using Minecraft 1.8.3. Can anyone please advise?


Where to put Thanks and +1 and say I did it without creating extra work?

Many times I want to tell the person who answers thanks and want them to know I up vote them. In the comment section it says not to so as a comment. Where should I say thanks ?


Is this proof correct? If not, where is the flaw?

It is to prove that the empty set is a subset of every set.   Therefore the following proposition is to be proven:   $$ \forall z: ( \emptyset \subset z)~~.$$  Therefore, the converse  $$ \exists z: ( \emptyset \not \subset z)$$  must lead to a contradiction.  Now, considering the set   $$ z = \{\{a\}\} \setminus \{a\} = \{\}~~, $$  if   $$ \emptyset \not \subset z~~, \text{and therefore} ~~ \emptyset \neq z ~~,$$  then $z$ wouldn't be a set, yet it is by definition a set, since the proposition   $$ a \in z $$  is still either true or false. Which is a contradiction.  Assuming my reasoning is flawed, please don't give me the proof. If it is correcct though, I would appreciate an alternative proof. Thank you in advance.


Possible to merge a DLL into a .NET EXE?

I have a DLL that stores classes common to two applications.  I'd like to keep my application limited to one EXE file and would like to see if I can somehow embed this DLL within my main EXE.  How can I embed the external DLL into my application? (if possible)


NullPointerException error, anyone have an idea?

Here is my code to take a look, I have been fighting with it for an hour now and I think this is the class killing my progress, does the 30 in the error shown at the bottom represent the error being in line 30 but since that is the while loop does that mean the whole loop is flawed? I am wracking my head to figure this out with no luck.  import java.util.Scanner; import java.io.File; import java.util.regex.Pattern;  public class ContributorManager {    public static void main(String [] args) {        Scanner inputFile = null;        String name = null;        String city = null;        String country = null;        String phone = null;        double contribution = 0;        int id = 0;        Contributor c = null;        TheStack stack = new TheStack();        Node1 node = null;         //open contributors file        try {            inputFile = new Scanner(new File("contributors.csv"));            inputFile.useDelimiter(Pattern.compile("(\\n)|(\\r)|,"));        }        catch (Exception e) {            System.err.println("Error opening file.");        }         //create contributors object for each row, and add to the stack        while (inputFile.hasNext()) {            name = inputFile.next();            city = inputFile.next();            country = inputFile.next();            phone = inputFile.next();            contribution = inputFile.nextDouble();            id = inputFile.nextInt();            inputFile.nextLine(); //advance to the next line             c = new Contributor(name, city, country, phone, contribution, id);            node = new Node1(c); //create a node using the contributor object            stack.push(node); //add the node to the top of the stack        }         stack.pop(); //remove the last node from the top of the stack         stack.print(); //print the contents of the entire stack    } }    And here is the error exactly as I see it, I am new so I do not have the best ability to find my own errors as often as they happen, thank you.  Error opening file. Exception in thread "main" java.lang.NullPointerException     at ip1_second_try/Module.ContributorManager.main(ContributorManager.java:30)


easiest way to fill in holes on distressed font?

Using a font with some distressing.  I need to remove the distress holes in the font.  When i try to get rid of the little holes, it's also getting rid of the large holes that make the letters o and f.  Is there an easy way to do this that I'm totally overlooking? Thank you!


Prevent Windows Server 2012 from forcing a reboot after updates

I have a domain controller with Windows Server 2012 on it. After updates, the server does not reboot immediately. However if I remote into the server I will be presented with a countdown for a reboot. The only options are to restart now or to close the notification. However the countdown still continues and the server eventually reboots without my permission. How can I stop this from occurring?


From advice on  , I've opened a new question about the same issue, as it turned out my problem was not the one described in the question, information I did not know at the time. I'm running Ubuntu 16.04.  $ sudo apt-get update  Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [307 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [226 kB] Get:7 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [185 kB] Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [268 kB] Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,888 B] Get:10 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B] Get:11 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [4,712 B] Get:12 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [62.7 kB] Get:13 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [71.2 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [51.3 kB] Get:15 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [85.1 kB] Fetched 1,578 kB in 1s (1,529 kB/s)                                     Reading package lists... Error! E: Read error - read (5: Input/output error) W: You may want to run apt-get update to correct these problems E: The package cache file is corrupted   If there's any more information you need, don't hesitate to ask in the comments.  Edit 1:  $ sudo df -h Filesystem      Size  Used Avail Use% Mounted on udev            5.9G     0  5.9G   0% /dev tmpfs           1.2G  9.4M  1.2G   1% /run /dev/sda1       135G  7.2G  121G   6% / tmpfs           5.9G   14M  5.9G   1% /dev/shm tmpfs           5.0M  4.0K  5.0M   1% /run/lock tmpfs           5.9G     0  5.9G   0% /sys/fs/cgroup tmpfs           1.2G   88K  1.2G   1% /run/user/1000 /dev/sdb1       932G  300G  633G  33% /media/adoria298/MDrive1   Edit 2 SMART Test results:


Some yesterday I accidentally clicked/used a keyboard shortut that screwed up my item movement. Previously, when I used the arrows to move an object, the object would follow along in real time, now, the object seems to move on a tiled grid. It jumps around following my cursor instead of moving fluently.   I'm relatively new to blender, and I can't find an answer to my question anywhere :)  Thanks!


I'm trying to get a caption with manual line breaks, where the next lines indent on the left with the first one. By default the next lines are not indented at all, so I tried using a tabular environment:  \documentclass{article} \begin{document} \begin{figure}[ht]   \centering   \rule{1cm}{1cm}   \caption[Three figures]{     \begin{tabular}[t]{@{}l@{}}       Three figures\\       a) Some very very very very very very very very very very long          sentence that should wrap to the next line.\\       b) Second\\       c) Third           \end{tabular}   } \end{figure} \end{document}   But in the result lines are not wrapped:    I know the p{width} type of column allows wrapping lines, but the total width needs to be given manually, and the same goes for tabularx. This means that if the figure number bumps from 9 to 10, the width of the rest of the caption will need to be re-adjusted manually.     How can I get the following features?         Indentation so that all caption lines align with the first one   Word wrapping   Automatic calculation of word width


Blackboard bold like symbols for the number "one" 1 and its mirror shape

I am looking for latex codes for the following characters:  My attempt to use detexify to find the symbols were unsuccessful. \mathbb{1} does not produce the right symbol.


Evaluate $3\int_{0}^{2\pi} \sin(t) \cos(t) \,{\rm d}t$

$$3\int_{0}^{2\pi} \sin(t) \cos(t) \,{\rm d}t$$ My calculus is a bit rusty and I can not find where I get it wrong. Setting $u= \sin(t)$, I get ${\rm d} u=\cos(t) \,{\rm d} t$ and, thus, $$3\int_{u=0}^{u=0}u \,{\rm d}u=0$$


Why does scaling not apply to node and how to correctly scale a node in TikZ?

The following code and its output shows that although the line drawn is scaled, the rectangle node is not scaled.  \documentclass{article} \usepackage{tikz} \begin{document}  \section*{Without Scaling} \begin{tikzpicture} \node at (0, 0) [rectangle,draw,minimum size=5cm] {A}; \draw (-2.5, 1) -- (2.5, 1) node[midway,below] {B}; \end{tikzpicture}  \section*{With Scaling} \begin{tikzpicture}[scale=0.5] \node at (0, 0) [rectangle,draw,minimum size=5cm] {A}; \draw (-2.5, 1) -- (2.5, 1) node[midway,below] {B}; \end{tikzpicture}  \end{document}     What is the right/recommended way to scale a tikzpicture such that:   All drawings are scaled. All nodes are scaled. But text is not scaled.


Google Sheets importxml() showing "Imported Content Empty"

I'm would like to fetch some information(price, address, etc.) from this website:    using importxml function. I'm getting a message "Imported Content Empty" instead the value. Example: =importxml("https://www.realtor.ca/on/barrie/real-estate","//*[@id='SEOCardList']/ul/li[1]/div/a/div/div[2]/div[1]/div[2]") The solutions suggests in the other threads are not working for me, or maybe I missed other solutions. Any help will be appreciated.


In OOP, is function same things as a method?

In OOP, is it correct to say a method is a function that is located within a class?


Why Task Manager is showing lesser RAM than installed?

I was surprised to open Task Manager on my PC, as the RAM it was showing was 8GB, because actual RAM I installed was 16GB. I instantly opened up my cabinet and put both my 8GB RAMs into different slots. Rebooted and opened up dxdiag to confirm I had 16GB RAM.   But Task Manager still showed 8GB RAM.     On the other hand, the UEFI says I have only 8GB RAM available. Here are my motherboard details:  Manufacturer           Product     SerialNumber     Version ASUSTeK COMPUTER INC.  M5A97 R2.0  141134705803134  Rev 1.xx   I've read this post:  but I don't find anything relevant. Earlier, Task Manager used to show full 16GB RAM inside the left column.


I am a bit confused as to why an array length is a field and a String length is a function. does it mean that by using str.length() I traverse through all the chars of the String and return the count ?


I'm been working on this problem:  Suppose $f$ and $g$ are analytic and nonzero in $|z|<1$ and  $$ \frac{f'(1/n)}{f(1/n)}=\frac{g'(1/n)}{g(1/n)} \quad \quad \forall n \in \mathbb{N}. $$ Show that $f/g$ is identically constant throughout $|z|<1$.   Solution: One way is to show that $(f'g-g'f)/g^2=(f/g)'\equiv 0$. However, I don't see anything. Also, it looks like  the Argument Principle. Any hint will be appreciated. Thanks


Related question vote count number breaks if >99

This is what I see on the right under Related questions on meta:    As you can see, all numbers over 99 break into two lines.


Can I use the 15GB space offered free in Google Drive to host a website? If yes then how?

I am a newbie to all this. And am currently planning as well as learning to make a dynamic site.. Can I host site on the free space offered in Google Drive?


Why does find print a leading './' if no paths are given?

Why is it that find prints out a leading ./ to results if no paths are given?  $ find ./file1 ./file2 ./file3   What is the reason for not printing out this?  $ find file1 file2 file3


How to second-order timeseries data in deep learning?

I have a timeseries classification dataset that has about 2000 data points (binary classification).  When I use a LSTM model straighly on data, I got really bad results (nearly 0.1). But when I use first order differences in timeseries I got more improve results (nearly 0.3).  Example of first order difference: [1, 6, 6, 8, 9] = [5, 0, 2, 1]   Therefore, I concluded that LSTM works better when we provide more processed data.  While doing some Google search I discovered that there is something called second-order differences. However, I am not clear what is the objective of second order difference and how to calculate it. Please let me know your thoughts on this.  I am happy to provide more details if needed.


Sheets - Import XML pulling specific table values not working

I have been trying to pull specific values from the "on-ice" chart and applying this to many players at once but I cannot seem to string together the correct path to achieve this. Here is the link to the page:  For example if I want the CF from the 19-20 season. I've been using variations of this formula to achieve it but never have a result. =IMPORTXML("https://www.naturalstattrick.com/playerreport.php?fromseason=20192020&thruseason=20192020&playerid=8465009&sit=5v5&stype=2","/table/tr[10]/td[2]")


Query on a Solution to problem: If a is odd, then gcd(3a,3a+2)=1. I tried to put a=2k+1 to be an odd number. But it does not solved.


"With editor" status for 2 months: is it normal?

I'm a bit worried because one of my papers have been more than 2 months "with editor" status. It's a science journal (field: drug residue, food), from a famous editorial and impact factor 3.3. I'm used to 48h desk reject and I was wondering about the options of being so long with this status 1) very busy editor 2) my paper was forgotten 3) there is a mistake on the website  Oh, normally we have the option to send an e-mail to the assigned editor, but in this case there is only "view your submission".  Edit:  At the end it took 2 months but... We are under review!


"E:Malformed line 1 in source list /etc/apt/sources.list.d/medibuntu.list (type),"

I want to update Ubuntu, but I see this message:  E:Malformed line 1 in source list /etc/apt/sources.list.d/medibuntu.list (type), E:The list of sources could not be read., E:The package lists or status file could not be parsed or opened.   How can I solve this?


I just joined a multiplayer server and want to make a village in the Nether.  Is it possible to create farms for growing food and trees there? If so, how  could I go about doing it?


Why we can't follow other users on stackoverflow?

Sometimes I am eager to see the activity of other users, who I am interested in . Is there any good way, except to search the id each time, to achieve this? Why can't stackoverflow have the follow feature?


Need +9V power supply for breadboard (3x Stepper motors). Tried Arduino wall wart

I need to supply +9V to three stepper motors on a breadboard with driver carriers (see parts below). Its too much for my raspberry pi to handle, apparently. I was able to power and control a single driver, so I know my setup is good.   I tried using an arduino power supply to drive them (+9V, 0.664A), but when its under load, the voltage seems to drop below +3V and nothing works.  I need to find a power source (not battery) for this. I'd prefer not ordering anything (short on time). Any suggestions, or tips to get the arduino supply to work properly?


BA - Cancel Domestic Leg of European Flight

I have a British Airways booking from GLA to FCO with a stopover in LHR (booked as a single booking).  The booking was a reward booking made with Avios points.  My issue is that I will now be in London on the date of the first leg and therefore only require the second leg.  If I don't fly the first domestic leg, will the second leg to Italy be automatically cancelled?  Also, if I contact them beforehand, would there be additional charges in changing the flight?  Many thanks in advance for any answers.


The Dash action gives you extra movement for the current turn (equal to your speed). If I have an effect (like the Expeditious Retreat spell or the monk's Step of the Wind feature) which allows me to dash as a bonus action, can I also dash as my regular action, for triple movement?


Templated function inside class, error when moving to header file?

I have this templated function inside a class. This is implemented in a file named Mtry.cpp  class Mtry { public:     template <typename DerivedV, typename DerivedF, typename Scalar>     static void cotmatrix(         const Eigen::MatrixBase<DerivedV> & V,         const Eigen::MatrixBase<DerivedF> & F,         Eigen::SparseMatrix<Scalar>& L); };    template <typename DerivedV, typename DerivedF, typename Scalar> void Mtry::cotmatrix(     const Eigen::MatrixBase<DerivedV> & V,     const Eigen::MatrixBase<DerivedF> & F,     Eigen::SparseMatrix<Scalar>& L) {     // Implementation... }   I have no problem when using that code. However, if I move the declaration towards Mtry.hpp and the implementation to Mtry.cpp I get an undefined reference  Mtry.hpp:  class Mtry { public:     template <typename DerivedV, typename DerivedF, typename Scalar>     static void cotmatrix(             const Eigen::MatrixBase<DerivedV> & V,             const Eigen::MatrixBase<DerivedF> & F,             Eigen::SparseMatrix<Scalar>& L); };   Mtry.cpp  template <typename DerivedV, typename DerivedF, typename Scalar> void Mtry::cotmatrix(     const Eigen::MatrixBase<DerivedV> & V,     const Eigen::MatrixBase<DerivedF> & F,     Eigen::SparseMatrix<Scalar>& L) {     // Implementation... }   I saw  where it states that the first code should work. However I couldn't find how to separate the code properly into header and source. How should it be done?


Is a group in which $a^3 = 1$ for all $a \in G$ abelian?

Suppose that $G$ is a group in which $a^3 =1$ for all $a \in G$. Is $G$ abelian?   I tried to play around with algebraic expressions. I found e.g. $(ab)^2 = b^2 a^2$ for all $a,b$. I don't know what to do.  I also can't find a counterexample.  Thanks for help


Prove by induction that the product n(n+1)(n+2).....(n+r-1) of any consecutive r numbers is divisible by r!

I tried it by showing that true for r=0 and then assuming it to be true for r=k and trying to show it true for r=k+1. But I was not able to do that efficiently. So, please help me get a way out of it...


I'm trying to make a script where it makes a test user with a home dir and the rights he needs but everytime I run the script I get the following error:  /home/thomas/Scripts/CreateUser.sh: line 2: useradd: command not found passwd: user 'password' does not exist /home/thomas/Scripts/CreateUser.sh: line 4: mkhomedir_helper: command not found chmod: cannot access ‘/home/Test/’: No such file or directory   Script:  #!/bin/bash useradd Test  passwd password mkhomedir_helper Test chmod 700 /home/Test/   I'm new to linux so I don't know why this happens, any solutions?


Show an indicator when an answer (or comment) is deleted for users without moderator tools privilege

When a user without moderator tools privilege (10K on most sites) opens a link to deleted question (), they will see 404 page, which is clearly showing that the post is already deleted.        However, when they open a link to a deleted answer () / comment () on existing question, they will only see the question. There is no clear indicator that the link is supposed to be a deleted answer/comment.  I guess this is not a problem for experienced users, since they will notice it by:   Looking at the URL and see if it's an answer/comment or not (indicated by post ID after the title, then See if the browser doesn't auto-scroll to any post (well, unless the connection is laggy)   But still, I believe it'd be better if SE shows a notification to show that the answer/comment is already deleted, perhaps looking like this?        One of the reason why I think it'd be useful is for spam/offensive answer hunting on chatroom. I understand that these flags should be used very carefully. When flagging spam question, there's no problem since you cannot flag if it's already removed. But for spam answer, there is a possibility that the user will think that the question itself is a spam if the answer is already removed (well, the onus is on the flagger, but with this feature, it can be prevented).


I just installed Ubuntu and it is great.  However, I installed in beside the Windows Vista OS.  I now want to remove Windows in an effort to improve performance.  What is the easiest way to do this?


I was reading about Ramsey numbers lately, and found a lower bound in a book. It stated that: $ R(k,k) > \binom{k-1}{3} $ However it did not say the proof and I could not come up with a construction. I found that $R(k,k) \geq (k-1)^2 $, but that is not sharp enough, only for large k. Any ideas how one could prove the firstly mentioned inequality?


set a variable equal to a value, not a reference

When I initialize an object I want to set this.sound to the current value of Dog.sound.   The code below appears to make this.sound a reference to Dog.sound's value. How can I grab the value instead of a reference?  init: function() {   this.sound = Dog.sound; }


Who ''coined'' the term “scare quotes,” and why is the word “scare” used?

I have seen this term used frequently and I had never heard of it until a few months ago. I am wondering if most readers of general newspapers and magazines (where such a term is often used) are aware of its meaning and understand why it is called a quote-unquote "scare" quote.


$ N $ normal in a finite group $ G $, $ |N| = 5 $ and $ |G| $ odd. Why is $ N \subseteq Z(G) $?

Suppose that $ N $ is a normal subgroup of a finite group $ G $. If $ |N| = 5 $ and $ |G| $ is odd, why is $ N $ contained in $ Z(G) $, the center of $ G $?  I know how to do this when $ |N| = 2 $ and $ |G| $ is even, but am not sure what to do with this one. Sylow's theorems maybe?  Thank you guys!


I have bought some olive oils glass bottles. My question is - can I buy olive oil from the shop and add it to the bottle and add in some decoration like chillies, herbs etc? Or is there a process for decoration? Thanks


I have a little problem. I recently bought an Asus X541UVK, with an Intel core I3-7100U, and a GeForce 920MX, with 4GB RAM. I tried to install ubuntu 18.04 on this machine, but after the installing finished succesfully, at first boot, after splash screen, the screen turns off. Ctrl+alt+f1 doesn't work. I also tried fedora, which has gnome too, but after login, even a simple action like opening the activities or turning WiFi on, completely frozens the desktop. I also tried other distros, like kde neon or deepin which works fine. What's happening? Sorry for my English, this is not my native language.


Prove that     $\lim_{n \to \infty} \frac{n!}{n^n} = 0$    I've already considered using l'Hoptials rules but I cannot take the derivative of a factorial (as it is a discrete function).   Thanks


Finding a function from the given functional equation .

The question asks us to find the function $f(x)$ with the given information     Let $f:\mathbb R   \rightarrow  \mathbb R$ such that $f'(0)=1$ and $f(x+y)=f(x) + f(y) + (e^{x+y})(x+y)-xe^x-ye^y+2xy$ where $x,y ∈\mathbb R$. Then determine $f(x)$.   Also,It will be great if someone could explain the general approach used in such questions.  Thanks in advance.


Arranging GUI elements in QGIS 3 processing model user interface

Using QGIS 3 graphical modeler I created a model with a variety of input parameters (> 10). When starting the model, a nice user interface is generated. But the arrangement of the GUI elements is totally confused and apparently unpredictable during creating the model. It does neither seem to depend on the arrangement of input parameters in the graphical modeler nor on the chronological order in which the input parameters are added to the model.   Is there a way that let's me arrange the GUI elements in the order I desire?


How to cut the output of my python program?

Hello I am a python beginner and I am actually writing  a programm which calculates the area of an circle by asking the user for an radius. My Problem: The ouput is like this '47529.15525615998' So my question is how to shorten the output so that it would be for example '47529.155'?   Here is my code:  import math  def compute_area(r):  area=(r*r)*math.pi  print(float(area),("Centimeter"))  r=(float(input("Radius: ")))   compute_area(r)


Old book or story about alien stones which glow and merge together

From what I remember it is an old book. It's about a guy who lives near woods and is a fisherman. He finds some alien stones that glow and I think burn a hole through his desk drawer. They get larger and merge together. I think aliens come.


Issue understanding static nested classes

Referencing the following example:  class Plane {     ...     static class Gearbox {         ...     } }   The following is possible:  Plane.Gearbox gearbox = new Plane.Gearbox();   I was wondering if someone could explain what effect the 'static' keyword has in this situation. Coming from C#, this is very strange to me as static classes cannot be instantiated.  I am well aware that there are other questions referring to the same topic, or information online, however I still don't fully understand the use of the 'static' keyword in this situation. Therefore I would greatly appreciate someones help to understand this concept in Java.


SelectLayerByLocation works in ArcMap but not in standalone script

I have a piece of code that selects a layer based on the data frame extent.  the code works when I use the code within ArcMap.  However, as soon as I try run this as a stand alone script, nothing gets selected. So some empty Excel files get created.  I have no understanding of why running this as a standalone script would be any different.  import os import arcpy import sys  #create polygon for DF extent def getDataFramePoly(mxd):     mxd = mxd     df = arcpy.mapping.ListDataFrames(mxd)[0]     extent = df.extent     array = arcpy.Array()     array.add(extent.lowerLeft)     array.add(extent.lowerRight)     array.add(extent.upperRight)     array.add(extent.upperLeft)     array.add(extent.lowerLeft)     polygon = arcpy.Polygon(array)     return polygon   #get relevant layers function def getLayers(layers, datasources):     analysis_layers = []     layers = layers     for lyr in layers:         if lyr.supports('DATASOURCE') and str(lyr.dataSource)in datasources:             analysis_layers.append(lyr)     return analysis_layers   mxd = arcpy.mapping.MapDocument(r"G:\mxdName.mxd") df = arcpy.mapping.ListDataFrames(mxd)[0] #First Dataframe extent = df.extent  #select layer by DF df_extent = "DF_EXTENT" polygon = getDataFramePoly(mxd) arcpy.MakeFeatureLayer_management(polygon,df_extent)  #feature classes that should be included in analysis dataSources = [r'datasourcePath' r'datapayt']  analysis_layers = getLayers(arcpy.mapping.ListLayers(mxd,"",df), dataSources) excel_out_path = r'C:\Users\Bbrokling\Desktop\Test'   #Select visible features i = 0 for lyr in analysis_layers:     arcpy.SelectLayerByLocation_management(lyr,"INTERSECT",df_extent)     desc = arcpy.Describe(lyr)     if not desc.FIDSet  == '':         print 'Layer has a selection'      if lyr.symbologyType == u"UNIQUE_VALUES":         desc = arcpy.Describe(lyr)         symField = lyr.symbology.valueField         symClassValues = lyr.symbology.classValues         otherValues = lyr.symbology.showOtherValues         if not otherValues:             for x in desc.fields:                 if x.name == symField:                     print x.type                     fieldType = x.type             if fieldType in ['SmallInteger', 'Double', 'Integer']:                 newclassvalues = tuple([float(x) for x in symClassValues])             else:                 newclassvalues = tuple([x.encode('UTF8') for x in symClassValues])             newQuery = "{} in {}".format(symField, newclassvalues)             arcpy.SelectLayerByAttribute_management(lyr,"SUBSET_SELECTION",newQuery)     out = r'%s\%s.xls' % (excel_out_path,lyr.name)     desc = arcpy.Describe(lyr)     if not desc.FIDSet  == '':             print 'Layer has a selection'     table_view_Name =  "tableView%s" % str(i)     arcpy.MakeTableView_management(lyr, table_view_Name)     arcpy.TableToExcel_conversion(table_view_Name, out)     i += 1


In an RLC circuit,what criteria could be used to decide whether the system is overdamped or underdamped? Could we compare the maximum energy stored during one cycle to the energy dissipated during one cycle?


While the "normal" syntax for creating an array (lets say for this example an array of type MyClass) in Java is MyClass[] arr = new MyClass[3], I've noticed the next syntax also works:  MyClass arr[] = new MyClass[3]  That surprised me today, since by intuition a program would want a uniform syntax. My question is there is a reason for this syntax?   Is it because of an impact from another language or is it just to offer flexibility? Or, another option is that it is actually not weird and is just weird for me, but I will mention that I haven't seen this type of array deceleration anywhere.


I'm inserting data into a MySQL database from a form with PHP. I get an error when I use apostrophes?

I am making a form that inserts the values into a sql database. It works fine and puts into the database cleanly. The problem is that when I try to use apostrophes (') in my form it gives me an error.   This is for a test for a bigger project. I've tried researching it, if I was writing it in PHP I would put a "/" but it's user input.   PHP Code (action):  $sql = "INSERT INTO promotions (yourname, yourrank, theirname, oldrank, newrank, reason, date, profile) VALUES ('$yname', '$rank', '$tname', '$orank', '$nrank', '$reason', '$datetext', '$profile')"; $dateTime = new \DateTime(null, new DateTimeZone('Europe/London'));  if ($conn->query($sql) === TRUE) {     echo "New record created successfully"; } else {     echo "Error: " . $sql . "
" . $conn->error; }   HTML Form:  <form action="action.php" id="promotions" method="post" class="ui form">
     Their name     <input required type="text" name="theirname" placeholder="Their name">

     Their old rank     <input required type="text" name="oldrank" placeholder="Their old rank">

     Their new rank     <input required type="text" name="newrank" placeholder="Their new rank">

     Reason     <textarea name="reason" form="promotions" placeholder="Their reason for promotion. Try to keep this brief and make sure you don't use apostraphes ( ' )."></textarea>
   <input class="ui button large fluid teal" type="submit" value="Submit"> </form>   Here is the error I get when I input "howd'y":  You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'y'   My expected result would be for me to be able to put apostrophes in my input, but instead I get that error.


Deleted pinned taskbar items reappear after boot

Title says it all - this is driving me nuts. After reboot, Outlook and IE are pinned to the taskbar even though I explicitly removed them.  Following  on Reddit, and  on SU, I scoured all Taskbar folders for every user and the registry under taskband - nothing.  I'll note the public and default users have no such folder, and the rest do not have links to IE or outlook (e.g. C:\Users\Administrator\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar).  In the Reddit post I linked to the solution alludes that C:\ProgramData may help, but I found nothing.


I'm trying to add two backgrounds in CSS but one image to fill the entire background and the other to be aligned on the centre right of the page. Here is a section of my current StyleSheet:     body {   font-family: 'Nunito', sans-serif;   color: #384047;   background-image: url(http://footyprofit.co/wp-content/uploads/2013/02/golf-background.jpg);   background-color: #cccccc;   background-position: center;   background-repeat: no-repeat;   -webkit-background-size: cover; }   I've tried separating the URLs with a comma and then separating the positioning by comma but this doesn't work. Any ideas?


Elementary OS PPA gives “The repository does not have a Release file.” error

I am running Ubuntu Bionic Beaver. I was trying to download the pantheon desktop environment on Ubuntu and it didn't work so I gave up. Now when I try to download themes or other things from the terminal I get an error code mentioning Elementary OS even though what I am downloading doesn't have to do with Elementary or pantheon. Here is what the terminal says:   jacob@jacob-MacBookPro:~$ sudo apt-add-repository ppa:tista/adapta -y …                                           E: The repository 'http://ppa.launchpad.net/elementary-os/testing/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. E: The repository 'http://ppa.launchpad.net/mpstark/elementary-tweaks-daily/ubuntu bionic Release' does not have a Release file. N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.


Curled brackets as an argument to a function

I have a method login() that calls another method registerLoginHandler().  The thing that is confusing to me is that the arguments of registerLoginHandler() contain a lot of stuff inside curled brackets.  It's almost as if it is passing an entire class to registerLoginHandler().  Could someone shed some light on what is going on here?  public static ITeamRepository login() throws TeamRepositoryException {     ITeamRepository repository = TeamPlatform.getTeamRepositoryService().getTeamRepository(REPOSITORY_ADDRESS);     repository.registerLoginHandler(new ITeamRepository.ILoginHandler() {         public ILoginInfo challenge(ITeamRepository repository) {             return new ILoginInfo() {                 public String getUserId() {                     return "UserName";                 }                 public String getPassword() {                     return "Password";                 }             };         }     });      monitor.subTask("Contacting " + repository.getRepositoryURI() + "...");     repository.login(monitor);     monitor.subTask("Connected");     return repository; }


How do I make Windows 10's File Explorer open "This PC" by default?

I know how to do that on Windows Vista and Windows 7, and I know how to do that on Windows 8 and Windows 8.1, but neither of the ways work with Windows 10; it always defaults into the "Home" view.  (I am basically reposting  for Windows 10.)


Crossing rainbow bridge by foot from Canadian side to US side without a visa

In October I will be going from Europe (Germany) to Canada and then continuing to Buffalo before flying to Miami. I will leave my rental car at the Canadian side of Niagara Falls and cross the rainbow bridge in the evening by foot.   I will not have a visa because ESTA only applies for boat/airplane travels. Will they care if I just get there with my luggage and without a car and apply directly for a visa or is it a normal procedure? Can I prepare something (visa application etc.)?


What's the difference between 'a year' and 'the year'?

When I should use "a year" and when I should use "the year."


How do I check if a number $m \bmod 20$ can be written in the form $a^2 + 5b^2$?  I am trying to prove that if the prime $p = a^2 + 5b^2$ then $p \equiv 1\text{ or }9 \pmod{20}$ and the only way I know how is to check each case from $p\equiv 1 \pmod{20}$ to $19 \pmod{20}$ and show that only $1$ and $9$ works. If there's a simpler way please share. Thanks!


How can I play Splitscreen in Minecraft Xbox 360

I am gamer youtuber and I'm making gaming videos. I want to play with my best friend and make a video. I have a HDMI cable and a Xbox 360 HD AV cable. I've tried both of them but it still doesn't work! I've logged in a world, opened both controllers and I hit "START" but It still does not work. Can you guys help me please...


What is meant by multicollinearity does not influence the predictive power of the model?

1)I saw many posts online and on cross-validated itself, that the predictive power of a model is not influenced by multicollinearity. I would like to know what is meant by this statement, does it mean that the model, even if I omitted one out of the 2 correlated variables would still have the same predictive power as before?  2)What is meant by     coefficient estimates of the multiple regression may change erratically in response to small changes in the model or the data.   Does this mean that if I only introduce one more observation into the training dataset, then the coefficient estimates would change drastically? If this is the case, what is the intuitive reason behind it?


Using QGIS 2.x processing model in QGIS 3.0?

Is it somehow possible to convert a QGIS 2.x processing model (*.model) to a *.model3 so i can run them in QGIS 3.0 without having to redo mine from scratch?


\todo[inline]{   \begin{itemize}   \item aaaa   \item bbbb   \end{itemize}}   I have no problem to use \todo without using itemize inside. So what is the problems here? Thanks!


I cannot create the tcolorbox like above. Thanks to everyone for help


How to process all products defined in a project (ConTeXt)

If I have  project.tex  \startproject project \product one \product two \endproject   and the corresponding product files, is there an easy way to process all product files, so I get  one.pdf  two.pdf  at once?


I've tried many different brownie recipes and most of mine bake to a cake-like consistency. The brownie holy grail for me is crusty top chewy brownies. What can I add/remove/do that will make my brownies chewier?


I've created a horizontal navigation menu in HTML using
 and inline-block display styling. I'm wanting to set the background colour of the containing
, but it isn't working. It's as though the
 isn't wrapping around the
.  The first
 is supposed to set the background colour for the entire width of that part of the page. The second
 then sets the width of the navigation menu within that area, and centres the
 so that the unused space is evenly distributed either side.  Here's the code:

Design

Proofreading

   Also, how would I centre the
 within the second
, so that the
s appear in the centre?


I usually do apt-get update then apt-get upgrade and in some cases apt-get dist-upgrade.   What's the difference?


Evaluate $\lim_\limits{(x,y)\to(0,0)}\dfrac{\cos(xy)-1}{x^2y^2}$  The limit does exist.  The only thing I can think of is let $t=xy$. Then our limit becomes  $$\lim_{t\to 0}\dfrac{\cos(t)-1}{t^2}=\lim_{t\to 0}\dfrac{\cos(t)-1}{t^2}\dfrac{(\cos(t)+1)}{(\cos(t)+1)}=\lim_{t\to 0}\dfrac{-\sin^{2}t}{t^2(\cos(t)+1)}$$  This is how far I got and then I don't know. Not even sure if this is the best method to find the limit.  Any hints would help.  Thank you.


Unwanted comma between author and year using citet command

I've been using the biblatex package for a while, and since updating my TeX installation (post-el capitan upgrade) I have been experiencing the following.   If the following is typed:  Such and such has been said \citep[111]{citekey}.   The following text is displayed:  Such and such has been said (Author, 2016, p. 111).   And if the following is typed:  \citet[111]{citekey} has said such and such.   The following text is displayed:  Author, (2016, p. 111) has said such and such.   The citep command is working as I want it to, but I do not want a comma placed after the author's name when using the citet command. I would like it to display as follows:  Author (2016, p. 111) has said such and such.    If I use the \citeyearpar command, it is fine, but I would rather not have to type the author's name in manually.   Here is the command placed in the preamble:  \usepackage[backend=bibtex, style=authoryear-icomp, url=true, isbn=false, natbib=true, sortcites=true, block=space, pagetracker=false, loccittracker=constrict]{biblatex}   Here is an example of an entry in my bib file (made using BibDesk):  @article{poldrack2006, Author = {Poldrack, Russell}, Journal = {Trends in Cognitive Sciences}, Number = {2}, Pages = {59--63}, Title = {{Can cognitive processes be inferred from neuroimaging data?}}, Volume = {10}, Year = {2006}}   I have also tried changing the entry to the following:  @article{poldrack2006, Author = {Russell Poldrack}, Journal = {Trends in Cognitive Sciences}, Number = {2}, Pages = {59--63}, Title = {{Can cognitive processes be inferred from neuroimaging data?}}, Volume = {10}, Year = {2006}}   The bibliography entry appears as follows, and is fine:  Poldrack, Russell (2006). “Can cognitive processes be inferred from neuroimaging data?” In: Trends in Cognitive Sciences 10.2, pp. 59–63.  Thank you for any help that can be offered.


Add file number to beginning of each file in directory

If I have a directory, how do I add the number of the file to beginning of the filename? For example, the directory would look something like this:  file.txt another_file.txt   And the expected output would be:   1_file.txt 2_another_file.txt   Is there a way to do this? I've seen , but I amn't sure how to change the prefix for each file (in this example, have it increase by one each time).


When I try to make faces from non manifold edges the edge of the model is darkens.      I see the same affect on Unity 3D when I import .blender files. When I add a material to the model the affect doesnt change and the color of the corners stays darkened. How can I prevent this?


How to display taxonomy terms parents along with child terms in views block?

I have taxonomy terms structure something like below:    - Parent 1     - Child 1     - Child 2     - Child 3   - Parent 2   - Parent 3     - Child 4     - Child 5   I want to display same structure in a views block. I already . They have not used blocks. They used pages and depend upon url argument they did something. But I need this to be display in a block. I searched some of the suggestions by using contextual filters and relations but not able to get this structure. Please give some other suggestion which you have used in your case. thanks in advance.


Can Ubuntu 64bit be installed on a 32bit computer?

I have a bootable pendrive containing Ubuntu GNOME 16.10 (amd64) on it, and I installed it on my pc with no problems. But when I tried installing it on a pc in my college, it said "failed to load ldlinux.c32". After a while, I found out that that pc was 32bit. Could this be the reason that the installation wasn't working?


Where can I buy logos/get someone to design a logo, that will only be used by me once paid for?

The reason i ask this is that i plan once i have chosen/created/bought a logo i plan to use it on items to start selling.   Any advice would be greatly appreciated.   Thanks!


PHP : Return JSON content instead of String from database

I would like to return a JSON objet containing informations retrieved from my database. Today, i only check that the username/password couple is correct and return a string "success".  The structure of tbl_user table is the following :  ================================ ============ tbl_user ========== ================================ - id - username - password - name - surname - city ================================ ================================   If the username/password couple exist in database, i would like to return a JSON object like that :  {    username : ..,    name : ..,    surname : ..,    city : .. }   How can i do this ?  Here is my PHP code :  <?php $hostname_localhost ="localhost"; $database_localhost ="database"; $username_localhost ="myusername"; $password_localhost ="mypassword"; $localhost = mysql_connect($hostname_localhost,$username_localhost,$password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);  mysql_select_db($database_localhost, $localhost);  $username = $_POST['username']; $password = $_POST['password']; $query_search = "select * from tbl_user where username = '".$username."' AND password = '".$password. "'"; $query_exec = mysql_query($query_search) or die(mysql_error()); $rows = mysql_num_rows($query_exec); //echo $rows;  if($rows == 0) {   echo "fail";   }  else  {     echo "success";  } ?>


Install freezes on a screen with weird colors and no text

I am trying to install Ubuntu 18.04 from a USB stick.  My computer setup is as follows:   MB: Asus X99-A USB3.1  CPU: Intel 5960X  GPU: Nvidia GTX 970  Screen (it might be relevant): Asus ROG Swift PG278Q (only possible to run with DP)   I have done some troubleshooting:   Update to latest BIOS and restore to optimized defaults Disabled Fast Boot Disabled Secure Boot   These changes have not had any effect on the current problem.  This system should run as a dual boot with Windows 10 which is installed in UEFI mode. I have also tried to install in legacy mode. I see the purple screen, then after several seconds there is a crash with other graphic errors. The graphical error in the picture below is when trying to install in UEFI mode.   picture of screen as it freezes on install  I know that this is probably not enough information to solve the issue, so please ask for the information you would think is relevant.  I can add that I have had similar errors when installing Ubuntu 16.04 and Linux Mint 19. I did somehow manage to install Linux Mint 18.1 a couple of years ago.


If f is differentiable then f is uniformly continuous?

Assume $f:\mathbb{R} \to \mathbb{R}$ is a differentiable function such that $\left|f '(x) \right |< M$ for all $x \in \Bbb R$. Show that $f$ is uniformly continuous.  I have no idea on how to approach this question, can someone help me?


Content for textgroup views is not allowed for translation because of its text format

I have this problem with a view's header. I am allowed to enter a translation but the translated text is not rendered when the view is displayed in that language. I have the following warning in the Views interface.  content for textgroup views is not allowed for translation because of its text format  I read other posts suggesting to visit Configuration » Regional and language » Multilingual settings and verify the text format is selected. These posts were addressing the problem for blocks and they didn't solve my problem. Any similar experience or solution?


Neural Network: MLP for regression with 3 continuous features, 1 categorical

I am starting to study Neural Network. I want to build a MLP where I will feed it:   3 features which are continuous one feature which is categorical (48 classes)   How can I do this?  Before adding the categorical feature, I was using 'relu' activation function and 'lbfgs' as a solver in MLPRegrssor in sklearn.  I was wondering: how can I integrate this variable into the network? Should I do one-hot encoding? Should I keep relu as activation function or should I try sigmoid, softmax or something like that?


Adding new share (Shamir Secret Shares )

I am using this  Shamir implementation. I generated 4 shares from secret (threshold of 2).   I am wondering if I can recreate (interpolate) original polynomial from these shares (polynomial which was generated from random numbers)  and base on it create a new point (share). In normal cases (not GF(2) fields) is will be an easy task, because after I get pair of points $(x,y)$ I can easily interpolate linear function.


Noise equivalent power of thermopile sensor?

I am working on the characterisation of thermopile sensor and stuck in determining the NEP of the sensor. My thermopile sensor with AD8630 amplifier receives IR radiation coming from the blackbody at 500K. To calculate noise equivalent power I have calculated output voltage of the thermopile by simply taking the output of the sensor and power incident through power meter but I am not sure how to calculate the noise voltage ? should I take Johnson noise as the noise voltage ? if so then how can I calculate it ? Please, someone give me an idea about how to deal with NEP in such situation. Thank you and stay safe


Specifying SSH KexAlgorithms works at CLI but not via ssh_config

By default, my SSH client disallows the use of the diffie-hellman-group-exchange-sha256 key exchange algorithm. However, I need to access a server on 10.0.0.1 that requires the use of that algorithm.  This works fine at the command line:  $ ssh -o KexAlgorithms=diffie-hellman-group-exchange-sha256 user@10.0.0.1 Password:   However, it fails if I attempt to rely on the following addition at the end of /etc/ssh/ssh_config:  Host 10.0.0.1     KexAlgorithms diffie-hellman-group-exchange-sha256   Here is the relevant output:  $ ssh -vvv user@10.0.0.1 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug3: kex names ok: [curve25519-sha256@libssh.org] ... debug1: /etc/ssh/ssh_config line 72: Applying options for 10.0.0.1 debug3: kex names ok: [diffie-hellman-group-exchange-sha256] ... debug1: Connecting to 10.0.0.1 [10.0.0.1] port 22. debug1: Connection established. ... debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug2: kex_parse_kexinit: curve25519-sha256@libssh.org ... debug2: kex_parse_kexinit: first_kex_follows 0  debug2: kex_parse_kexinit: reserved 0  debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256 ... debug2: kex_parse_kexinit: first_kex_follows 0  debug2: kex_parse_kexinit: reserved 0  debug2: mac_setup: setup hmac-ripemd160 debug1: kex: server->client aes256-ctr hmac-ripemd160 none debug2: mac_setup: setup hmac-ripemd160 debug1: kex: client->server aes256-ctr hmac-ripemd160 none Unable to negotiate a key exchange method   What I find puzzling about this is that SSH is clearly reading the relevant line in /etc/ssh/ssh_config and seems to be happy with it. But then it tries to negotiate a key exchange with the server using curve25519-sha256@libssh.org instead of diffie-hellman-group-exchange-sha256, which of course fails.  Why does it do that, and how can I rectify it?


How do I see all my bookmarks without looking through every community?

Here's my scenario: about a year ago, I remember bookmarking a question that I would want to return to if I ever formatted my hard drive. That day came, but it took me a lot of time to find the bookmark because I had to click on every community, look at my profile, look at my bookmarks, and see if what I was looking for was mentioned there. Is there a way I can see all my bookmarks at once, regardless of which community they are on? It would save me a lot of time in situations like this.


I have two thumb buttons on my mice.  In Windows (using MS or Logitech config software), can assign one as "Copy", and the other as "Paste"- or their keyboard shortcut equivalents: Ctrl-C, and Ctrl-V, respectively.  I haven't been able to find out how to do this in Kubuntu (14.04).  Oddly, the desktop settings allows setting buttons to interact with the desktop, but the mouse settings (Settings | System Settings | Input Devices | Mouse) doesn't allow configuring those buttons to perform specified functions within applications.


Lagrangian of classical electromagnetism without $A_{\mu}$ field

Is there a Lagrangian reproducing Maxwell's equations without the use of the scalar and vector potential? Obviously $\mathcal{L} = -\frac14F_{\mu \nu}F^{\mu \nu}$ doesn't work since in terms of $E$ and $B$ fields it doesn't contain timederivatives of those and won't reproduce dynamics.  What I'm looking for is a Lagrangian that reproduces Maxwell equations when varied wrt $E$ and $B$ and does not contain any reference to the unphysical $A^\mu$


I would like to limit my http request for only one virtualhost on apache, is it possible to do this via iptables for only one virtualhost ? I prefer to do not use apache if it's possible for better performance. If not how I can limit requests for only one virtualhost on apache 2.2 ?


Render taking ages, just CPU or i did something wrong?

I'm an absolute beginner, i've installed blender just some days ago, but i got some basics from other software and my background. So, my GPU seems too old, it's not that fast and sometimes crashes so i'm rendering on CPU got an i7 put to 6 thread so i can use the PC while it render (i mostly write code, so nothing intensive)... But the render is taking ages   So i've read some articles on how to tweak to render faster, but the results aren't that good, the scene seems waaay darker and i loose lot of color from the environment, the scene is an interior, geometrically speaking easy.  But a nightmare in terms of lighting and textures, all the materials use the new shader and procedural textures... Can i have some advice ? should i just turn down some settings? How do i balance what i turn down ?  And at least...  Why so noisy ? after 3 hours, more than 200 samples i was expecting something more... clear... at the original resolution is way more noisy


Question: Show that $$\color{Blue}{e^{-\pi/2}=i^{i}}$$  My answer: First establish that $\qquad\qquad\quad e^{-i\pi/2}=\cos(-\pi/2)+i \sin(-\pi/2)=-i$ then $\qquad\qquad\qquad\qquad \mathrm{Log}(e^{-i \pi/2})=\mathrm{Log}(-i)$ so $\qquad\qquad\qquad\qquad\quad -i \mathrm{Log}(e^{ -\pi/2})=\mathrm{Log}(-i)$ $\qquad\qquad\qquad\qquad\qquad\quad \mathrm{Log}(e^{ -\pi/2})=-i^{-1}\mathrm{Log}(-i)$    Therefore the RHS should equal to $\mathrm{Log}(i^{i})$, but how?