Can’t unlock MacBook Air with PIN from Find my iPhone

I locked my MacBook Air through Find My iPhone app because I thought I had lost it. One day later I found it. I tried to unlock it with the PIN I had set and apparently I remembered the PIN wrong.  I logged into iCloud from another PC and got my PIN right. When I tried to insert it again it wasn’t possible. In the screen I could only see Wrong Passcode. Try Again. There is no place where I can insert the passcode. If I restart it, it says that my device is disabled and I have to wait 60 min. After 60 min, same message Wrong Passcode. Try Again. and no place where to insert passcode.  I tried what other people suggested in similar posts (option+cmd+R) and it didn’t work for me.  How do I resolve the issue?


Prove that if a group is containing no subgroup of index 2 then any subgroup of index 3 is normal.    Thank you.


Finding the degree of $\sqrt[3]{2} + \sqrt[3]{3}$ over $\mathbb Q$

I am practicing writing down random algebraic numbers and finding their degrees over $\mathbb Q$ and have fumbled when coming to $\sqrt[3]{2} + \sqrt[3]{3}$. Mathematica tells me the minimal polynomial is $x^9-27 x^6-135 x^3-729$, which is a polynomial in $x^3$. I figured by cubing the element I could show that the cube has degree 3, which is some partial progress, but I have failed to even do that. If anyone has any neat tricks up their sleeves about these kinds of results, I would be forever indebted to you.


What is understood if I say "I'm an English teacher"?         "I teach English", or   "I'm a teacher coming from England"?


I have one complex object just like this;  Object A    Object B     Object C       Object D         property A         property B   So If I need to show the property A in my view, I need to     A.getB().getC().getD().getPropertyA();   but what if my user doesn`t send the object C?  so I need to create one If for every object  if(A.getB() != null){   if(A.getB().getC() != null){     if(A.getB().getC().getD() != null){       //here I can show the propertyA     }   }  }   now I have to show this property in 3 views  There is a better way to does this? a framework or something like this to solve this problem?


linear algebra over a division ring vs. over a field

When I was studying linear algebra in the first year, from what I remember, vector spaces were always defined over a field, which was in every single concrete example equal to either $\mathbb{R}$ or $\mathbb{C}$.  In Associative Algebra course, we sometimes mentioned (when talking about $R$-modules) that if $R$ is a division ring, everything becomes trivial and known from linear algebra.  During the summer, I'm planning to revisit my notes of linear algebra, write them in tex, and try to prove as much as possible in a general setting.   Are there any theorems in linear algebra, that hold for vector spaces over a field and not over a division ring? How much linear algebra can be done over a division ring?  Also, what are some examples of division rings, that aren't fields? $\mathbb{H}$ is the only one that comes to mind. I know there aren't any finite ones (Wedderburn). Of course, I'm looking for reasonably nice ones...


I am working on some basic problems involving rings and am getting confused.  If I have a ring $\mathbb{Z}_2 \times \mathbb{Z}_4$, would this just be all elements $(a,b)$ such that $a \in  \mathbb{Z}_2$ and $b \in \mathbb{Z}_4$ or am I mistaken?  I'm then trying to find zero-divisors and units in this ring.  How would I go about doing this?  Thanks


Netstat -a command : Difference between 0.0.0.0 and 127.0.0.1

When running netstat -a on my local machine, i see ports on the 0.0.0.0 address listening.    I would assume that 0.0.0.0 is my local machine, except that i also see 127.0.0.1 listening to specific ports.  What is the 0.0.0.0 address?  What is the difference between 0.0.0.0 and 127.0.0.1?  Below is an example of the output:  Proto  Local Address          Foreign Address        State TCP    0.0.0.0:445            MyComputer1:0          LISTENING TCP    0.0.0.0:49156          MyComputer1:0          LISTENING TCP    0.0.0.0:49157          MyComputer1:0          LISTENING TCP    127.0.0.1:6999         MyComputer1:0          LISTENING TCP    127.0.0.1:6999         MyComputer1:49801      ESTABLISHED TCP    127.0.0.1:6999         MyComputer1:57172      TIME_WAIT


This is really a follow up to the  question.  In the first answer to the question, Ted Bunn says:     However, the best available data seem   to indicate that the Universe is very   nearly spatially flat. This means   that, if we do live in a 3-sphere   Universe, the radius of the sphere is   very large, and the distance you'd   have to travel is much larger than the   size of the observable Universe.   My question is, can the available data be used to set a lower bound to the size of the Universe?   In other words, suppose the Universe was actually shaped like a 3 sphere. Then based on our best data, what would the "radius" of that sphere be? How much larger is that than the observable universe?


I was trying something with Integer, and output is freaking me out.  public class CountB {    public static boolean returnBool(String w, Integer count)   {      for (int i = 0; i < w.length(); i++)      {          if (w.charAt(i) == 'B' || w.charAt(i) == 'b')         {        count++;         }      }      if (count > 0)       return true;     return false;    }    // write the static method “isThisB” here   public static void main(String[] args)   {     //  Scanner keyboard = new Scanner(System.in);    //   System.out.println("Enter a string: ");    String w = "fgsfbhggbB";//keyboard.nextLine();    Integer count = new Integer(0);    System.out.println(returnBool(w, count));    System.out.println("Number of B and b: " + count);   } }   Now, Integer being a wrapper class of int, and count being its object, when I pass count from main to returnBool, value of count becomes 3, so it returns true, as java is pass by value count object value should change in main method also, but in main count prints 0.  I want to understand why this is happening?


"The package system is broken" due to VLC dependency errors

The package system is broken      Check if you are using third party repositories. If so disable them, since they are a common source of problems.   Furthermore run the following command in a Terminal: apt-get install -f      The following packages have unmet dependencies:  libvlccore8: Depends: vlc-data (= 2.2.5.1~ppa) but 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1 is installed              Depends: libc6 (>= 2.15) but 2.23-0ubuntu10 is installed vlc: Depends: vlc-bin (= 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1) but it is not installed      Depends: vlc-plugin-base (= 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1) but 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1 is installed      Depends: vlc-plugin-qt (= 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1) but 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1 is installed      Depends: vlc-plugin-video-output (= 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1) but 4.0.0~rc1~~git20180121+r73720+120~ubuntu16.04.1 is installed    I cannot update or install anything. How can I solve this problem?


Why is it important to have a discrepancy between image and codomain?

A function $f:\mathbb{R}\rightarrow \mathbb{R}$ given by $f(x)=x^2$ has $\mathbb{R}_{\geq0}$ as its image and $\mathbb{R}$ as its codomain.  What's the need for this discrepancy? Why don't we just write $f:\mathbb{R}\rightarrow \mathbb{R}_{\geq0}$?   I believe the reason for this is that there may be some functions in which stating the image this way may be impractical - if this hypothesis is true, what is this class of functions? If yes or no, is there any other reason for this?


can we have a parallel earth made of dark matter?

In the sense that the two planets move together and has intelligent beings with their own forces and particles, but they just do not interact with (are invisible to) us?


I have simple PHP regex to extract all content within   Regex is   (.*?)<\/body>   This is the text  <!doctype html>      <meta charset="utf-8">     <meta name="viewport" content="width=device-width, initial-scale=1.0">     <meta name="description" content="">     <meta name="author" content="">      <link href="http://localhost//themes/default/../dashboard/css/bootstrap.min.css" rel="stylesheet" type="text/css" />      <link rel="stylesheet" type="text/css" href="http://localhost//assets/cache/default_product_groups_product_groups_mod.css" media="screen" />     <link rel="shortcut icon" href="http://localhost//favicon.ico">
      לרכישה מכאן במחיר 37.01$
      <input id="base_url_special" type="hidden" name="base_url_special" value="http://localhost//"/>            This is the live example


Can a method figure out its own name using reflection in Java

I know that you can use reflection in Java to get the name of class, methods, fields...etc at run time.  I was wondering can a method figure out its own name while its inside it's self? Also, I don't want to pass the name of the method as a String parameter either.  For example  public void HelloMyNameIs() {   String thisMethodNameIS = //Do something, so the variable equals the method name HelloMyNameIs.  }   If it that is possible, I was thinking it would probably involve using reflection, but maybe it doesn't.  If anybody know, it would be greatly appreciated.


What determines whether multiple highlighted files in Finder show in the same Get Info window?

I'll often highlight a bunch of files in Finder to find their collective size with Cmd+I. Sometimes the Get Info window shows the pooled size in a single window, but other times it'll open 40 separate Get Info windows. What determines when this happens?  (I've since learned that  will always show the highlighted items' collective size, but when does Cmd+I alone act one way instead of the aforementioned other?)


Help on unclear question determining a probability distribution

The exercise of my homework assignment says  "Let $E$, $F$, $G$ be independent events with probability $\frac{1}{2}$, $\frac{1}{4}$, $\frac{1}{5}$. Let $X$ be the number of events that occur. Determine the random variable $X$, its mean value and variance."  My concern is on the first question, and I hope to be able to explain it. Shouldn't I know how many of the event that occur belong to $E$, $F$, $G$? On a first guess I expect not to be able to write analitically $\Bbb{P}(X=k)$. My only attempt is by using conditioning, but I guess I should know how many of the three events occurred; defining $X\colon = X_1+\cdots+X_n$  \begin{multline} \Bbb{P}(X = k) = \Bbb{P}(X=k|X_1,\cdots,X_{n_1}\in E)\cdot\Bbb{P}(X_1,\cdots,X_{n_1}\in E) + \\ \Bbb{P}(X=k|X_{n_1+1},\cdots,X_{n_2}\in F)\cdot\Bbb{P}(X_1,\cdots,X_{n_2}\in F) + \\ \Bbb{P}(X=k|X_{n_2+1},\cdots,X_{n_3}\in G)\cdot\Bbb{P}(X_1,\cdots,X_{n_3}\in G) + \\ \Bbb{P}(X=k|X_{n_1 + n_2 + n_3},\cdots,X_{n}\notin E\cup F\cup G)\cdot\Bbb{P}(X_{n_1 + n_2 + n_3},\cdots,X_{n}\notin E\cup F\cup G) \end{multline}  where $n_1,\,n_2,\,n_3\,$ are the respective numbers of the events occurring that belong to $E$, $F$, $G$ respectively.   Let me know if my question is as unclear as the exercise is to me.


My windows 10 show garbage characters, I guess I didn't do anything special, but when I start my computer, it looks like this now. is there anything I can do right now?


DatagramSocket - java.lang.NullPointerException [Android]

I created a class TFTPClient which allows user to connect to the server and able to make certain request through the class methods. I have created and tested this outside of Android Studio, but when I transferred and compiled my code I get an error. The error is caused in the MainActivity.java but not when creating the class object, but calling certain method    TFTPClient c = new TFTPClient(); //Works fine  try {     c.sendAndReceive(); //Get the error } catch (UnknownHostException e) {     e.printStackTrace(); }   Here is the sendAndReceive method code    public void sendAndReceive() throws UnknownHostException {     int sendPort;     sendPort = SERVER_RECV_PORT; //(60700)     int clientConnectionPort = -1;     InetAddress serverAddress = InetAddress.getByName("172.17.49.153");      try {         clientConnectionPort = sendRequest(serverAddress, sendPort, "all");     }     catch (IOException e) {         //System.out.println("error");     }     receive(serverAddress, clientConnectionPort); }


How to skip a date if it is generated in a loop?

What this code does: It generates dates based on a single day that is grabbed before ($date). It counts always up one week. E.g. If your start date ($date) is 07.04.2019 it will generate the dates for $final_amount times.  So, if the start of the date is 07.04.2019 and $final_amount is: 5 it will output:  07.04.2019` (handled in separate code, as the first day is excluded in code!) 14.04.2019 21.04.2019 28.04.2019 05.04.2019   The issue with my code: I need to skip the date if it falls into a holiday. So if e.g. 21.04.2019 is a holiday, it should be skipped and replaced with a new date one week later. It should always have the amount $final_amount even if one ore more dates are laying on a holiday. I have no Idea how this could be accomplished, as I am relatively new to PHP.  setlocale(LC_TIME, "de_DE"); //only necessary if the locale isn't already set $date = new DateTime(helper('com://site/ohanah.date.format', array(    'date' => $event->start,    'format' => 'Y-m-d H:i',    'timezone' => 'UTC' )));  $date_scn = new DateTime(helper('com://site/ohanah.date.format', array(    'date' => $event->end,    'format' => 'H:i',    'timezone' => 'UTC' )));  $cnt = 2; // start the termin to count at two as the first one is already defined above $raw_ticket_type = $event->ticket_types->name; $filter_numbers = array_filter(preg_split('/\D/', $raw_ticket_type)); $filtered_numbers = reset($filter_numbers); $first_occurence = substr($filtered_numbers[0], 0, 1); $final_amount = $first_occurence - 1; // subtract 1 from $first_occurence as it is always one more  for ($i = 0; $i < $final_amount; $i++) { // loop     $date->add(new DateInterval('P1W')); //add one week     $formatted_time = utf8_encode(strftime("%A, %d. %B %Y, %H:%M", $date->getTimestamp()));     $formatted_time_scnpart = utf8_encode(strftime("%H:%M", $date_scn->getTimestamp()));      // This is the modal      echo '
' . $cnt++ . '. ' . 'Termin' . ' ' . $formatted_time . ' - ' . $formatted_time_scnpart . '
'; }  echo '

';


Is there a hypernym for "order confirmation", "quotation" and "invoice"?

Is there an abstraction for the following three words?   Order confirmation Quotation Invoice   I want to create a base class for them but I can't find a word that describes all three.


Why am I getting "uses unchecked or unsafe operations" error everytime i compile? What's wrong with the code? I copied the exact same code from this tutorial   import java.io.FileWriter; import java.io.IOException;  import org.json.JSONArray; import org.json.JSONObject;  public class JsonSimpleExample {     public static void main(String[] args) {          JSONObject obj = new JSONObject();         obj.put("name", "mkyong.com");         obj.put("age", new Integer(100));          JSONArray list = new JSONArray();         list.add("msg 1");         list.add("msg 2");         list.add("msg 3");          obj.put("messages", list);          try {             FileWriter file = new FileWriter("c:\\test.json");             file.write(obj.toJSONString());             file.flush();             file.close();         } catch (IOException e) {             e.printStackTrace();         }         System.out.print(obj);     } }


How far into Washington, DC should I drive before taking the Metro?

I plan to drive to Washington, DC, but my understanding is that the Metro is far better than driving for actually getting around downtown DC.  First of all, is that assumption correct?  Assuming the Metro is indeed the way I should ultimately get to my downtown destination, how close should I drive before finding a Metro station?  Should I stop at the first one on the outskirts in Maryland, or should I keep going into the city a bit?  I'm primarily concerned with avoiding traffic if possible as well as generally shortening my travel time.  The travel will be occurring during a weekend (4th of July weekend) in case that is relevant.  My destination in DC is off the Navy Yard station of the Metro Green Line.  Follow-up: I might have found a last-minute hotel deal downtown.  Can I park overnight at the Metro stations that are being suggested?


Please review the duplicate again. I think this question is not a duplicate.    I was thinking about a way to improve the quality of suggested edits.  I even more often than sometimes find myself wanting to improve the suggested edit.  Editing can be quick and easy, but it can be also a little bit time consuming.  How about rewarding good suggested edits?  I was thinking that there could be a check box saying Good edit (or so) and, when the reviewer thinks that the edit was good and/or some effort had been made, he/she could check that box when approving. Checking that box could give some reputation to the editor of the question.  I tend to believe that this could improve the quality of the edits in general since there is an incentive to do it better.    The editors get +2 reps for an approved suggested edit. However, I think there is still quality that can be improved. The +2 reps can be an incentive for someone to go and edit. Now I was thinking to reward those who put a bit more effort and do a proper edit without discouraging them with a reject. This could lead to less rejected edits and hopefully more quality suggested edits, and we would need to press the Improve edit button less often too.


"Naive Bayes" or "Naïve Bayes" issue in my thesis

I'm revising my thesis. I'm in a U.S.A university (American English).  My Prof asks me to change "Naive Bayes" to "Naïve Bayes" in my thesis. However, things are not easy.  First thing is that how to add two dots above i. I solved this issue by using Microsoft Word, where "Naive" can be automatically converted to "Naïve". Then I copy it and paste to the Texmaker and run the LaTeX.    But the result is not what I want


I'm trying to use regular expression to find a string of characters within a string.  I'm using  /TOMOGRAF.*..DE\g   and this is my string  TOMOGRAFIA AXUAL COMPUTADA DE ABDOMEN DE CUELLO TOMOGRAFIA AXUAL COMPUTADA DE TORAX   the problem is that the firts line have two "DE" and I only need until the firts "DE"


I am using Ubuntu 14.04 LTS and I cannot find workspaces.  I have done searches in the Dash for it, I have tried 'sudo apt-get install workspaces' in a terminal.  All without success, help required!


Unicode Regex in Python 3 (from Python 2 Code)

I'm trying to convert my Python 2 script to Python 3. How do we do Regex with Unicode?  This is what I had in Python 2 which works It replaces quotes to « and »:  text = re.sub(ur'"(.*?)"', ur'«\1»', text)  I have some really complex ones which the "ur" made it so easy. But it doesn't work in Python 3:  text = re.sub(ur'ه\sایم([\]\.،\:»\)\s])', ur'ه\u200cایم\1', text)


How to use tabularx and siunitx together with siunitx 2.6h / texlive 2015

This is a follow up question of this question:   Updating to texlive 2015 (with siunitx 2.6h) seems to have broken the accepted answer. So the question is  How to make siunitx and X column type work together for the very last modification introduced (possibly) in texlive 2015?  Broken MWE  \documentclass{article}  \usepackage{array} \usepackage{tabularx} \usepackage{siunitx}   \begingroup % Allow `_` and `:` in macro names (LaTeX3 style) \catcode`\_=11 \catcode`\:=11 % Internal code of `S` \gdef\tabularxcolumn#1{%     >{\siunitx_table_collect_begin:Nn S{} }%     p{#1}%  <- this is different (is `c` in normal `S`)     <{\siunitx_table_print:}% } \endgroup  \begin{document}  \begin{tabularx}{\textwidth}{p{1.5cm} XXX}      bla & 1.23 & 4.5  & 67.89 \\      bla & 1.2  & 4.50 &  7.89 \\      bla &  .2  &  .50 & 67.8 \\ \end{tabularx} \end{document}   Output error:  ! Undefined control sequence. <template> ...\TX@col@width }\siunitx_table_collect_begin:Nn                                                    S{} \ignorespaces    If you consider that this is a duplicate, I will promptly delete this question as soon as someone will add an up-to-date answer to the other question.


I know I can see my total count of votes, but I'd be interested in having these be part of my activity tab, so I can easily revisit questions. I end up favoriting almost every question I upvote, just so I have a way to go back to it.


Passing a filename to shell command in python

Here's the scenario. I want to run a command line program from within a python script.  The command would generate a file after executing which I would read into an for some further  operations. I want to pass a filename as a function parameter.    def myfunc(myinputfile,myoutputfile):      cmd = "mycommand -i %s -o %s" %(myinputfile,myoutputfile)   I tried using subprocess.call but apparently It requires me to write commandname and arguments as seperate entries of list. Is there any other way I way to do this. Also, it is important that the command executes before proceeding as I want to read the output from file into a variable later on in the script.


Why is part of a mesh a different color on the viewport?

I would like to know if the color of a mesh means something special. Is it because these two triangles are deep grey that something is wrong with them? Thanks everyone.


Question about $\lim_{n\to\infty} n|\sin n|$

I have a question regarding this limit (of a sequence): $$\lim_{n\to \infty} n|\sin(n)|$$ Why isn't it infinite? The way I thought this problem is like this-$|\sin(n)|$ is always positive, and n tends to infinity, so shouldn't the whole limit go to infinity? What is the right way to solve this and why is my idea wrong?


I see that the  contain some usful links:        But it seems that it's kinda weird and out of context. When exactly would a user that want to contact Stackexchange will find these links useful? What is so special about those links as opposed to a link to  for example?


Defined integral of $x^{\alpha} (1-x)^{\beta-1}$

How can one prove the following equality?  $$\int_{0}^{1} x^{\alpha} (1-x)^{\beta-1} \,dx = \frac{\Gamma(\alpha+1) \Gamma(\beta)}{\Gamma(\alpha + \beta + 1)}$$


I'm using math mode,   \begin{enumerate}  \item \begin{align*} 3(2x+4)-4x &= 6-x &\text{Initial equation (1)}\\ 6x + 12 - 4x &= 6-x &\text{Distribute (2)}\\ 6x-4x+x &= 6-12 &\text{Rearrange (3)}\\ 3x &= -6 &\text{Combine Like Terms (4)}\\ x &= \boxed{-2} &\text{Simplify (5)} \end{align*}  \end{enumerate}   When I type this up, I get this:  Why is there a giant blank link between "1." and the first line? How can I remove that line?  Thank you!


I am trying to plot some experimental data. When I plot the data using tikzpicture/pgfplots, the data seems "noisy". It becomes less "noisy" when I use the keyword each nth point={n}, where I increased n to 1, 10, 50, 100 (see attached picture). However, when increasing n, I am essentially not being true to my recording.  I was wondering if you could help me remove the "noise" that seems artificial while using my whole data set.   every n={1}   every n={10}   every n={50}   every n={100}   The code I use is as follows:  \documentclass[11pt]{article} \usepackage{tikz} \usetikzlibrary{plotmarks} \usepackage{amsmath} \usepackage{pgfplots} \usetikzlibrary{matrix} \usetikzlibrary{decorations.pathmorphing,patterns} \usepgfplotslibrary{external} \tikzsetexternalprefix{figurescache/} \pgfplotsset{compat=newest} \tikzset{external/system call={lualatex \tikzexternalcheckshellescape -shell-escape -synctex=1 -halt-on-error -jobname "\image" "\texsource"}} \tikzexternalize[mode=list and make] \begin{document}  \begin{tikzpicture}[scale=0.6] \begin{axis}[hide x axis, ymax={90}, ymin={-90}, xmin={0}, xmax={400}] \addplot[very thick, color=black, each nth point={1}]table[x=t,y=rec]  {./data/fig1data.dat}; \end{axis}  \end{tikzpicture} \end{document}   Edit: @Darthbith suggested I add the option /tikz/line join=bevel to my axis. It does a phenomenal job in removing the noise. There is a tiny bit of jaggedness when you zoom in to the plot, but it is already great.  is the link to data I have used in the plots I have attached to this post.


How do I calculate the sum of sum of triangular numbers?

As we know, triangular numbers are a sequence defined by $\frac{n(n+1)}{2}$. And it's first few terms are $1,3,6,10,15...$. Now I want to calculate the sum of the sum of triangular numbers. Let's define $$a_n=\frac{n(n+1)}{2}$$ $$b_n=\sum_{x=1}^na_x$$ $$c_n=\sum_{x=1}^nb_x$$ And I want an explicit formula for $c_n$. After some research, I found the explicit formula for $b_n=\frac{n(n+1)(n+2)}{6}$. Seeing the patterns from $a_n$ and $b_n$, I figured the explicit formula for $c_n$ would be $\frac{n(n+1)(n+2)(n+3)}{24}$ or $\frac{n(n+1)(n+2)(n+3)}{12}$. Then I tried to plug in those two potential equations, If $n=1$, $c_n=1$, $\frac{n(n+1)(n+2)(n+3)}{24}=1$, $\frac{n(n+1)(n+2)(n+3)}{12}=2$. Thus we can know for sure that the second equation is wrong. If $n=2$, $c_n=1+4=5$, $\frac{n(n+1)(n+2)(n+3)}{24}=5$. Seems correct so far. If $n=3$, $c_n=1+4+10=15$, $\frac{n(n+1)(n+2)(n+3)}{24}=\frac{360}{24}=15$. Overall, from the terms that I tried, the formula above seems to have worked. However, I cannot prove, or explain, why that is. Can someone prove (or disprove) my result above?


How to fetch n no of elements from a list in a loop.?

I have a list which may be of any length. I have a method which calculates results for 50 elements at a time. I want to use the list in that manner such that for every iteration i get the next 50 elements.  What is did is, with the length of the list i calculated the no of times my loop should iterate,  count = math.ceil(len(newList)/float(50))   how should i iterate such that i can get the next 50 elements every iteration?  for c in range(0,count):     newList[:50]   how to get the next 50 and then next 50 ?


Does natural armor stack with unarmored defense?

In D&D 5E, does natural armor stack with Unarmored Defense? We have a level 2 player character who wild shaped into an animal. The player said they could stack its natural armor with Unarmored Defense, getting effectively 10 + natural armor + WIS + DEX = a super high AC. Does this work?


Ubuntu16.04 LTS: failed to download package files. Check your internet connection

I realize this question has been asked multiple times and I've browsed through the answers and tried out the suggestions in them as good as I could. Still, the problem remains.  Since some replies to the question suggest to copy&paste the result of sudo apt-get update, I add it here, with the links it lists deleted since my reputation isn't good enough to be allowed posting more than two of those.  Hit:1 http://archive.canonical.com/ubuntu lucid InRelease Hit:2 Hit:3 Hit:4 Hit:5 Ign:6 Hit:7 Hit:8 Hit:9 Reading package lists... Done                       W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target DEP-11 (partner/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: http://archive.canonical.com/ubuntu/dists/lucid/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1) W: Target Packages (partner/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Packages (partner/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target Translations (partner/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target DEP-11 (partner/dep11/Components-i386.yml) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4 W: Target DEP-11-icons (partner/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/lucid-partner.list:4 and /etc/apt/sources.list.d/maverick-partner.list:4   Any help is greatly appreciated.


What is a primary decomposition of the ideal $I = \langle xy, x - yz \rangle$?

Given the ring $k[x,y,z]$, where $k$ is a field, and an ideal $I=(xy,x-yz)$, find a primary decomposition of $I$.    I tried to draw the graph of the variety of $I$ and get a decomposition of $(x,y)\cap(x,z)$ (the two prime ideals corresponds to the irreducible components of the variety), but apparently these two ideals are not the primary decomposition of $I$, and I don't know how to fix this.  I would really appreciate it if someone can help me. thx


How can we split long equation in two or more than two lines in latex?

I am facing problem to split this equation in three lines. Where is the problem because whenever I run latex. It stopped and write missing }. The equation is  \begin{equation}\begin{split} & A_{t}(r,\theta)=[\frac{\alpha^{0}(\frac{r}{2M}) + \beta^{0}}{r}]p_{0} + \frac{\alpha^{1}(\frac{r}{2M} (-\frac{r}{2M} + 1)) \\ &\qquad + \beta^{1}(\frac{r}{2M}(1-\frac{r}{2M}) (2\ln(\frac{r}{r-2M} - \frac{2M}{r} - \frac{1}{\frac{r}{2M} - 1})))}{r} p_{1}(cos\theta)\\ + ...\Bigr, \end{split} \label{eq1} \end{equation}


How do you get a directory listing sorted by creation date in python?

What is the best way to get a list of all files in a directory, sorted by date [created | modified], using python, on a windows machine?


acacia door to be specific . it looks very easy to break ( sorry guys I'm a noob I started yesterday ) I haven't waited to see yet because I only have a wooden sword at the moment and i don't want to be killed i collect a lot and built a nice house


The life range of a temporary object created at callsite arguments

I have the following code, was wondering when Foo's destructor is called.  #include <iostream>  class Foo { public:   Foo() {   }   ~Foo() {     std::cout << "destruct" << std::endl;   } };  void go(Foo f) {   std::cout << "go" << std::endl; }  int main() {   go(Foo());   std::cout << "main" << std::endl;   return 0; }   If I run the code, I got the following output  go destruct main   It shows Foo's destructor is called after go is done. My gcc is 4.8.3.   I had thought the temporary Foo's object should be deleted after it is copied to go's argument. But this is not the case, and only one object of Foo exists. Is this expected or undefined in terms of compiler's implementation?


I have recently installed ubuntu 12.04 LTS i686.I want upgrade it to 64 bit.How can I do it via terminal?


Unable to upgrade dell vostro 3558 laptop to ubuntu 16.04LTS from 14.04LTS properly

I recently upgraded my laptop (Dell Vostro 3558, with Ubuntu 14.04 inbuilt) to Ubuntu 16.04, but it was not working properly. When I upgraded it, a notification said that the system may be unstable. I was not able to shutdown my laptop(when I tried to do that i.e clicked the shutdown button, nothing happened). I somehow managed to shut it down, by removing the battery, but then it didn't start(boot again). There was just the purple screen and the LED on Capslock key kept blinking. Nothing happened. What should I do, should I restore my system back to factory mode(as there is an option of it just before the booting starts) or what should I do to successfully use the upgraded version?


Orthogonal projection: more linear algebra questions

I'm working on proving the following:   If $P:V\to V$ is a linear operator and $P^2=P$ and $\|Pv\|\le\|v\|$ for all $v \in V$ then $P$ is an orthogonal projection.   My thoughts on this are that a linear map with the following properties is an orhtogonal projection: $null(P) $ is the orthogonal complement of its range, $P^2 = P$ and $\|Pv\|\le\|v\|$.  Therefore it should be enough to show that the range of $P$ is orthogonal to its null space. How to do this? Let $n \in null(P)$ and $u \in range(P) = U$. Want to show: $\langle u,n \rangle = 0$.  Am I doing this right? And how can I show $\langle u,n \rangle = 0$?


I'm pretty new to LaTeX, but will try to be as clear as possible.  I'm writing a thesis in humanities, so quoting is quite significant for me - both in-text quotes and block quotes.  Therefore I'm using \csquotes package. But it manages to mess up my bibliography, as it shows question marks instead of quotation marks ("") for articles. Example:   The result I get with csquotes loaded : Peebles, Gustav (2010). ? The anthropology of credit and debt ? In: Annual Review of Anthropology 39.1, p. 225. The result I get with csquotes not loaded (the result I need) : Peebles, Gustav (2010). " The anthropology of credit and debt " In: Annual Review of Anthropology 39.1, p. 225.   What I would like to know, is there an option to get the result I need with csquotes loaded as I need that functionality for my thesis.  My head of file (I need latvian as secondary language for some of the references):  \usepackage{csquotes} \usepackage[UKenglish,latvian]{babel} \usepackage[backend=bibtex,style=authoryear-ibid,ibidtracker=context]{biblatex} \addbibresource{Bibliography}   Later in document I print bibliography (I load main chapters with input):  \cleardoublepage \phantomsection \label{Bibliography} \addcontentsline{toc}{chapter}{Bibliography} \lhead{\emph{Bibliography}} \printbibliography \clearpage   Any help appreciated.


Not sure if my question is considered redundant to another one that was asked of if "please kindly" generally is a redundant expression.  I am curious if  "please disregard my message" is polite enough or if "please kindly disregard my message" is necessary.  Or if "please kindly disregard my message" is actually a redundant expression, as there is no kindly or unkindly way of disregarding a message.


I saw in some code we have a signed value being passed to function (which takes unsigned value). The returned value is again converted back to signed (with the intention of getting the original signed value).. Even though it works currently.. My doubt, will original signed value is retained in this case, in all possible scenarios?   I was told casting is bad, and should be avoided as much as possible.. Can some computer science experts let me know, when this code can be broken?


javascript : get a global variable from its name as string (reflection)

I saw a lot of answer to call a method from a given object using a string, but no one to get the object itself. I would like something like that  var a var b var c  function getObject(objectAsString) { return getMyObject(objectAsString); }   then if I write  var obj=getObject("a")   my result is obj=a  Is there a function "getMyObject"? Thanks


Retired XP machines - which version to install?

I retired several P4 3.4Ghz PCs with 2GB RAM at the office. The hardware is still working but 4-5 years old. Which version of Ubuntu can I use to make these PCs useful. Never used Ubuntu before.


Book about a group of escaped prisoners with tattooed faces

I recall that it might have been the second book of a series. It takes place in the future - not sure if in our universe - and there are robots who kill for the government (I think).  Story of a group of escapees from a prison that go to a massive ship and start a community.  The prisoners have tattooed faces.   I remember more the characters:   A lady that absorbs people and becomes them. A young girl who is a genius but has to be pregnant to be balanced. Two people from the prison they kidnapped and took with them.   Also I remember they terraformed the inside of their ship.


I have a hardware detection problem, what logs do I need to look into?

I am trying to ask a question about getting my hardware to work but I don't know what information to add to my question to get help, what do I need to do?  Related if you don't have access to a GUI:


Typical values of AIC that I have seen for logistic models are in thousands, at least hundreds.  e.g. On  the AIC is 727.39  While it is always said that AIC should be used only to compare models, I wanted to understand  what a particular AIC value means.  As per the formula,  $AIC= -2 \log(L)+ 2K$  Where, L = maximum likelihood from the MLE estimator, K is number of parameters  In the above example, K =8  so, with simple arithmatic:  727.9 = -2*log(L)+ 2*8 Hence, 711.39 = -2*log(L) Hence, log (L)= 711.39/-2 = -355.695 Hence, L = exp(-355.695) = 3.3391E-155   So, if my understanding is correct, this is the likelihood of the function identified by MLE fitting the data. This seems really really really low.  What am I missing here?


This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the  tag.  This canonical question is intended to address several classes of common questions by providing a quick summary and links to comprehensive resources:   How do I start writing my first unit test?  How do I unit test this code?  I need help writing this unit test.   Salesforce Stack Exchange looks for detailed, specific questions that the community can help you with, and can't write tests on your behalf. We feel that working with the resources below can help you get started, and we encourage you to make an attempt to write your test and return to SFSE with your specific questions when you encounter challenges you can't resolve.


Switches? I don't need no stinkin' switches! Or do I?

I have an iron door on the first floor (to the outside) of my tower. I tried to put a switch on both sides of the door so it can be opened from the inside and the outside. My problem is that because the switch has an "On" and "Off" if I open the door from the outside I need to turn "On" the switch on the inside, go back outside and turn "Off" that switch, just to run back inside and turn "Off" the inside switch to finally get the door to close. This is a giant pain in the rear when I have mobs chasing me to the door.   Is there any way to use switches to open and close the door no matter their position? Or would it be easier to use a button and just run through the door and have it close behind me automatically?


Is it good to save tempdb and log files in one drive?

My server has a very 40GB drive for OS, two 2TB drives and one 450GB drive. The server will have about 10 databases; the total data size of the databases is about 1.4TB. Most of the databases are using simple recovery mode. The users love to create big temp tables and sometimes they create large transaction logs.  Is it ok to put all the tempdb files and log files (include tempdb log file) in the 450GB drive?


Scientific mind is full of various features like critical thinking, good observing power, imaginative etc.  Do people with such qualities can be consider good(not evil or bad by intentions or action)?


Defining a command where the argument could contain percent signs

This minimal example won't compile:  \documentclass{article} \usepackage{url} \newcommand{\mycommand}[1]{#1} \begin{document} \mycommand{\url{http://www.example.org/index.php?a=Hello%20World.}} \end{document}   The reason is the percent sign inside the URL. Note that a percent sign occurs often in URLs and that the \url command usually handles it correctly. How do I fix this?


Free will can be seen as freedom "to" and freedom "from". What is it freedom from? Is free will free of logic? Is free will free of cause and effect? What is free will free from?


Which hardware configuration is necessary for QGIS?

What kind of hardware is necessary to run QGIS on Win XP? Closely related:


Isomorphism between dual space and bilinear forms

Studying from Roman's Advanced Linear Algebra, I want to prove that $$U^* \otimes V^* \cong (U \otimes V)^* \cong \hom(U,V;\mathbb{F})$$ The author proves that $U^* \otimes V^* \cong (U \otimes V)^*$ by showing that there is an unique linear transformation   $$\theta:U^* \otimes V^* \to (U \otimes V)^*$$  defined by $\theta(f \otimes g)=f \odot g$ where $(f \odot g)(u \otimes v)=f(u)g(v)$  I want to prove that $U^* \otimes V^* \cong \hom(U,V;\mathbb{F})$. I tried to use the universal property by fixing $f \in U^*, g\in V^*$ and defining $S: U^*\times V^* \to \hom(U,V;\mathbb{F})$ as $S(f,g)=F_{f,g}$, where $F_{f,g}(u,v)=f(u)g(v)$, but I got stuck.


In the episode "A Town Called Mercy" (S07E03 of reboot), the Doctor clearly understands the language of horses.     1) This is the first time in my recollection he is shown to speak with animals.   Is that true?  2) It's my understanding the TARDIS translation works for all species in its vicinity.   This should mean that everyone in town can understand the horse(s).  Why is it only the Doctor can?


Unicode characters seem to be chopped in xterm

I am experiencing this on OpenBSD 6.8 using FantasqueSansMono Nerd Font. Unicode symbols (at least several of them) display in xterm, but not entirely—it seems as if there is a fixed width available for the character to be rendered and ‘wider’ characters are simply chopped. See for example how the ‘Downwards Quadruple Arrow’ (⟱) prints in my terminal:  Could this be a limitation of OpenBSD’s xterm implementation? I really wish I could see these symbols in their full glory. Here is my relevant .Xdefaults snipped: xterm*faceName: monospace:antialias=true:autohint=true xterm*faceSize: 11 xterm*faceSize1: 6 xterm*faceSize2: 8 xterm*faceSize3: 12 xterm*faceSize4: 16 xterm*faceSize5: 22 xterm*faceSize6: 32 xterm*eightBitInput: false  Also my fontconfig for the definition of ‘monospace’: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig>     <alias>         <family>monospace</family>         <prefer>             <family>FantasqueSansMono Nerd Font</family>             <family>Noto Emoji</family>             <family>Font Awesome</family>         </prefer>     </alias> </fontconfig>


How can I get a player to remember his character's bonuses?

In my Dungeons & Dragons group(s), we have a player who can never remember ability scores, spells, bonuses, etc. We currently have two groups, and he is in both. We enjoy playing with him, but it takes forever to find his stats. In our main campaign (7 sessions in), his character sheet is crumpled, only half-filled, etc. So my question is as follows:  How can I get a player to remember his character's bonuses or at least make finding them take less time?


Dimension of a vector space of polynomials in 3 variables of degree $d$ over $\mathbb{R}$

Let $V$ be a vector space of homogeneous polynomials in 3 variables $x_1, x_2$ and $x_3$ over $\mathbb{R}$. What is $\dim V$?  I think it will be some expression in terms of $d$ but I am not sure how to find the answer


What's the difference between "in winter" and "in the winter"?

Reading an old  I found this sentence (you must hover the mouse over the picture to see it):     There are probably children out there holding down spacebar to stay warm in the winter!   I've never heard "in the winter", only "in winter". I've found a discussion on , where they seem to say that there is not much difference and it comes down to personal taste, but they don't sound like they are sure. The user that asked the question suggests that this might be a difference between American English and British English, but at that point no one answered.  So, what's the difference between "in winter" and "in the winter"?


Why (and how) did using cat on binary files mess up the terminal?

If I understand the cat manual correctly:       concatenate files and print on the standard output   cat will take files as argument and print them on standard output. What I don't get is if I use the command:    cat img.png > copy.png   I will obtain 2 png files identical while if I just    cat img.png     I have all chance that my terminal get messed up and misinterpret what I type.     How's that possible?   Binary values are still binary data. Why it does not simply shows a series of 0 and 1 or the interpretation of those binary data in ASCII or whatever the encoding in terminal is?   Is this behavior also possible by cating a text file containing strange characters?   Should a mechanism to prevent this behavior  like try{}catch{} statement should be implemented?


Updating Python 2 code for suitable output

I had some Python 2 code as follows (pardon the indentation): def getZacksRating(symbol):  c = httplib.HTTPSConnection("www.zacks.com") c.request("GET", "/stock/quote/"+symbol) response = c.getresponse() data = response.read() ratingPart = data.split('
')[1] result = ratingPart.partition("<span")[0].strip() return result  print getZacksRating("AAPL")  I changed it to (adding the b' '). import http  def getZacksRating(symbol):      c = http.client.HTTPSConnection("www.zacks.com")     c.request("GET", "/stock/quote/"+symbol)     response = c.getresponse()     data = response.read()     ratingPart = data.split(b'
')[1]     result = ratingPart.partition(b"<span")[0].strip()     return result  print(getZacksRating('AAPL'))  The bad thing is it's getting printed as print(getZacksRating('AAPL')) b'Strong Buy'  I don't wish to see the b' ' in the output. Just want to see Strong Buy being printed. Not very familiar with Python, hence any tip is appreciated.


Just wondering if this would be a good idea or not, but when entering tags into the Tags section of the question would it help if the tag showed the number of online users currently following that tag. That way a user would know when the peak traffic times are in the area they have a problem in. This could stop genuine questions going unanswered.


How do I use shape keys and bones for a Facial Rig?

I want to try my hand at a more professional style facial rig but I am not sure how to go about it.


How do I make a user's browser blink/flash/highlight in the task bar using JavaScript? For example, if I make an AJAX request every 10 seconds to see if the user has any new messages on the server, I want the user to know it right away, even if he is using another application at the time.  Edit: These users do want to be distracted when a new message arrives.


Is it legal to develop a game using D&D rules?

For a while now I've been thinking about trying my hand at creating a game similar in spirit and execution to Baldur's Gate, Icewind Dale and offshoots. I'd rather not face the full bulk of work in implementing my own RPG system - I'd like to use D&D rules.  Now, reading about the subject it seems there is something called "The License" which allows a company to brand a game as D&D. This license seems to be exclusive, and let's just say I don't have the money to buy it :p.  Is it still legal for me to implement and release such a game? Commercially or open-source? I'm not sure exactly which edition would fit the best, but since Baldur's Gate is based of 2nd edition, could I go ahead an implement that?  in short: what are the issues concerning licensing and publishing when it comes to D&D?  Also: Didn't see any similar question...


Minkowski sum of a positive Lebesgue measure set and $\mathbb{Q}$.

Let $A\subset \mathbb{R}$ be of positive Lebesgue measure, i.e. $\mu(A)>0$. Is it then true that $\mu(\mathbb{R}\setminus (A+\mathbb{Q})) = 0$?   I am quite sure that if $\mu(A)>0$, then $A-A$ contains a rational, as well as an irrational number, but I'm not sure if this actually helps.


$f(x,y)=4x^3y^2$ Dealing with Directional Derivatives and Vectors

Let $f(x,y)=4x^3y^2$  How do I find the directional derivative of $f$ at $(2,1)$ in the direction of the vector $3i-4j$? What would be a unit vector in the direction in which $f$ decreases most rapidly from the point $(2,1)$? And, what is the rate of change of $f$ in the direction given in the second question?  My Work (What I have done so far):  For the first question: $\nabla f(x,y)=12x^2y^2$i$+8x^3y$j$\nabla f(2,1)=48$i$+64$j$u=(3/5)$i$-(4/5)$j $\therefore D_u f=\nabla f\bullet u=0$  I'm not entirely sure if this is right? Can someone please verify?  For the second question: $u=(3/5)$i$-(4/5)$j $\therefore -||\nabla f(2,1)||=$? How do I find this? And am I doing this right?  I have no idea what to do for the third question.


where do I get an Ubuntu 18.04 tarball? not iso

I have to download a tarball to install Ubuntu into a Docker environment and can't find any tar.gz packages of Ubuntu 18.04 only .iso's. I cannot install a separate Docker provisioned Ubuntu container either. I need the actual tarball to install inside of a special directory of a development environment. Where can I find what I need?


I try to send mail with sendmail (Debian 8) from a PHP script. It does work but only gmail is not working.  Sending a mail from root, I got this message  xxx@gmail.com... Connecting to gmail-smtp-in.l.google.com. via esmtp... 220 mx.google.com ESMTP ej8si17844651wjd.175 - gsmtp >>> EHLO nxxxxx.eu 250-mx.google.com at your service, [2001:41d0:e:4c8::1] 250-SIZE 35882577 250-8BITMIME 250-STARTTLS 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 >>> STARTTLS 220 2.0.0 Ready to start TLS >>> EHLO xxxxx.eu 250-mx.google.com at your service, [2001:41d0:e:4c8::1] 250-SIZE 35882577 250-8BITMIME 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-CHUNKING 250 SMTPUTF8 >>> MAIL From:<xxx@xxxx.eu> SIZE=20 250 2.1.0 OK ej8si17844651wjd.175 - gsmtp >>> RCPT To:<xxx@gmail.com> >>> DATA 250 2.1.5 OK ej8si17844651wjd.175 - gsmtp 354  Go ahead ej8si17844651wjd.175 - gsmtp >>> . **550-5.7.1 [2001:41d0:e:4c8::1] Our system has detected that this message does 550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and 550-5.7.1 authentication. Please review 550-5.7.1  https://support.google.com/mail/?p=ipv6_authentication_error for more** 550 5.7.1 information. ej8si17844651wjd.175 - gsmtp /root/dead.letter... Saved message in /root/dead.letter Closing connection to gmail-smtp-in.l.google.com. >>> QUIT   Feb 12 09:49:57 ns380959 sendmail[9314]: u1C8nv7O009314: from=www-data, size=1559, class=0, nrcpts=1, msgid=<201602120849.u1C8nv7O009314@ns380959.xxxx.eu>, relay=www-data@localhost     Feb 12 09:49:57 ns380959 sendmail[9314]: u1C8nv7O009314: to=orugari@gmail.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31559, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]     Feb 12 09:50:01 ns380959 sendmail[9316]: u1C8o1ao009316: from=root, size=20, class=0, nrcpts=1, msgid=<201602120850.u1C8o1ao009316@ns380959.xxxx.eu>, relay=root@localhost     Feb 12 09:50:01 ns380959 sendmail[9316]: STARTTLS=client, relay=gmail-smtp-in.l.google.com., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES128-GCM-SHA256, bits=128/128     Feb 12 09:50:02 ns380959 sendmail[9316]: u1C8o1ao009316: to=xxxx@gmail.com, ctladdr=root (0/0), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30020, relay=gmail-smtp-in.l.google.com. [IPv6:2a00:1450:400c:c06::1a], dsn=5.0.0, stat=Service unavailable     Feb 12 09:53:41 ns380959 sendmail[9494]: u1C8rfYP009494: from=www-data, size=1559, class=0, nrcpts=1, msgid=<201602120853.u1C8rfYP009494@ns380959.xxxx.eu>, relay=www-data@localhost     Feb 12 09:53:41 ns380959 sendmail[9494]: u1C8rfYP009494: to=xxxx@gmail.com, ctladdr=www-data (33/33), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=31559, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1]   I don't find where to change 127.0.0.1 in sendmail. I did change in DAEMON_OPTIONS(`Family=inet,  Name=MTA-v4, Port=smtp, Addr=5.xxxx') but didn't take effect.  Where should I change what in sendmail to be able to send mail to gmail?  I really don't understand how to do things on this page:


This is a more granular/specific installation requirements for a specific laptop/software.  Linux NOOB here...  Ubuntu 18.04 LTS states minimum as:   2 GHz dual core processor or better 2 GB system memory 25 GB of free hard drive space Either a DVD drive or a USB port for the installer media Internet access is helpful   I have purchased an Acer Aspire One 532h Netbook which has    Intel Atom N450 / 1.66 GHz processor 2 GB DDR2 PC2-6400 memory (I will be upgrading to) 250GB SSD (I will be upgrading to) Wireless Internet/Wired Ethernet   Hoping performance will be descent. Any thoughts? If this is "too much" for it to handle, any suggestions on best Linux? I want to install and run:   Visual Studio Code GIMP Inkscape Scribus OpenShot Synfig Darktable Natron Ardour Master PDF LibreOffice Notepad++ Chrome Firefox MonoDevelop Hearthstone


Result of jQuery keyup event handler in switch statement not returned

I have a switch Statement in JavaScript in which the keyup event handler doesn't return the callback to my variable (var test in this case).  It is the last case (110) that doesnt work.  Here is the code. Hope you can help to enlight me:  var getDateRange;  $(".nav-reports").append(   '
' +   '<select id="daterange">' +   '<option value="0">Choose duration:</option>' +   '<option value="10">Today</option>' +   '<option value="20">Yesterday</option>' +   '<option value="30">This week</option>' +   '<option value="40">Last week</option>' +   '<option value="50">This month</option>' +   '<option value="60">Last month</option>' +   '<option value="70">This year</option>' +   '<option value="80">Last year</option>' +   '<option value="100">Everything</option>' +   '<option value="110">Last x days</option>' +   '</select>' +   '
' );  getDateRange = function () {   var test;   var dateString = "yyyy-MM-dd";   var selectedOption = parseInt($('#daterange').change().val());   $('.daterange-input').detach();   switch (selectedOption) {     case 10: // works             break;     case 20: // works             break;     case 30: // works             break;     case 40: // works             break;     case 50: // works             break;     case 60: // works             break;     case 70: // works             break;     case 80: // works             break;     case 100: // works             break;     case 110: // doesnt't work             $('#daterange-container').append('<input class="daterange-input" type="text" maxlength="4">');             $('.daterange-input').keyup(function () {               test = '/' + Date.today().addDays(-parseInt($(this).val())).toString(dateString) + '/' + Date.today().toString(dateString);             });             break;   }   return test; };   Thank you in advance.  I call the getDateRange function here:  $('.' + report.description).click(function () {                     var dateRange = getDateRange(); // some more code not in relation                 })


How to fix the error warning failed to connect to lvmetad no such file or directory falling back to internal scanning in ubuntu 15.10

My Ubuntu laptop which was working fine until recently. My desktop disappeared and all the desktop icons are gone. All I have access to is the terminal. In an attempt to fix the problem, I installed GNOME but it made the computer give the error:     Warning! Failed to connect to lvmetad. No such file or directory Falling back to internal scanning.    I can press Ctrl+Alt+F1 to start tty1 but I can't get to a graphical user interface. What did I do wrong and how do I fix it?.  The operating system is ubuntu Linux


How do I get my Canon Pixma printer to just use PGBK cartridge

How do I get my Canon Pixma printer to use just black pigment (PGBK) ink for black and white documents?


Proof of integral identity using integration by parts

If $f:[a,b] \to \mathbb{R}$ is continuous and increasing, then the inverse $f^{-1}$ exists and   $$\int_a^b f(x)dx + \int_{f(a)}^{f(b)} f^{-1}(x)dx = f(b)b - f(a)a.$$  This is obvious by looking at a graph where the integrals are areas of regions that cover a rectangle of area $f(b)b$ with a rectangle of area $f(a)a$ removed.  I recall this is proved rigorously using integration by parts but I can't reconstruct the proof.  Can anyone please help?


Finite group automorphism must be $x\mapsto x^{-1}$

Problem. Let $G$ be a finite group and $f\in \text{Aut}(G)$. Suppose $f$ maps more than three fourths of the elements of $G$ to their respective inverses. Prove that $f(x)=x^{-1}$ for each $x\in G$ (hence $G$ must be Abelian).   My attempt:  Define $A=\{ x\in G\mid f(x)=x^{-1}\}$. Then, by hypothesis, $|A|>\frac{3}{4}|G|$. Since $G$ is finite and $A\subset G$ all what's left to prove is that $|A|=|G|$ or $f(A)=G$... I don't know where to go from this...  Maybe I'm not going through the right path... Any help or hints are appreciated.


How can I install Ubuntu 12.04 from a USB

I want to find out how one can install Ubuntu on a webbook using a usb. I tried to use an external CD drive, but its not detected by my webbook.   I want to upgrade my Ubuntu to 12.04.


Selecting all objects that have been specified in Modifiers

Could anyone help in making a script for selecting all objects that are specified in the different modifiers that an object has stacked? For example if my object has a Boolean modifier and an Array modifier, which both refer to an empty or another object (in the Array modifier there is for example an Object offset you can specify). Would it be possible to select all those object with one click? Thanks.


For CPython implementation, id(x) is the memory address where x is stored?

According to the tutorial,   Every object has an identity, a type and a value. An object’s identity never changes once it has been created; you may think of it as the object’s address in memory. The ‘is’ operator compares the identity of two objects; the id() function returns an integer representing its identity. CPython implementation detail: For CPython, id(x) is the memory address where x is stored.  However, when I check the id of two different variables, the address are the same. They look only the same values to me, how to interpret the CPython implementation here that they have same memory address but not interfere with each other's modication? >>> a=1 >>> b=1 >>> a is b True >>> id(a) 4475991184 >>> id(b) 4475991184 >>> a=2 >>> id(a) 4475991216 >>> a=1 >>> id(a) 4475991184   I changed variable "a" and changed back, its address is changed back to original one again.


Undeleting answers deleted by former moderator

If a moderator has deleted a post, users are not able to cast undelete votes on it. They will receive the following error:    However, if a post was deleted by someone who is no longer a moderator, users with more than 20k+ reputation can cast undelete votes on it. For example, , deleted by a former Science Fiction and Fantasy moderator:     Is this a feature or a bug?


Including variable in where clause of arcpy.Select_analysis()?

I am trying to loop through a shapefile, selecting each feature in turn and copying it to a temporary shapefile to by included in a union analysis. I'm using a cursor to find the ID name for each feature which I'm setting to a varible 'Name'. Whenever I try to use this variable as part of the where clause in arcpy.Select_analysis I get an error:   ExecuteError: ERROR 999999: Error executing function. An invalid SQL statement was used. An invalid SQL statement was used. Failed to execute (Select).  The code I'm using is:  Name = 101 where = "\'\"StudyID\" = \\'"+str(Name)+"\\'\'" arcpy.Select_analysis("C:\\input.shp", "C:\\output.shp", where)   If I type it out without using the variables:  arcpy.Select_analysis("C:\\input.shp", "C:\\output.shp", '"StudyID" = \'101\'')   it works fine  What to I need to do to fit the variable into the sql statement?


How to remove (unlink) all the grease pencil layers?

I have plenty of grease pencil sketches in my blend file. Is it possible to remove all of them very fast?


.option100{     width:100px !important; }   <select id="fieldOfInterestSelect" name="fieldOfInterest" class="form-control" required="">   <option value="-1">SELECT ONE</option>   <option value="4893" class="option100">Actual(R)rrrrrrrrrrrrrrrr</option>   <option value="4891" class="option100">Customerrrrrrrrrrrrrr</option>   <option value="4892" class="option100">Daterrrrrrr</option>   <option value="4894" class="option100">Forecast(R)RRRRRR</option> </select>   My concern is , if the length of text in option is larger than its container's length (option), then it should be automatically converted (fit) into multiple lines to fit the container's width.


Partition table before installing Ubuntu in UEFI mode alongside Windows 10

when installing Ubuntu in UEFI mode alongside Windows 10 I don't know what the partition table should look like.  After this image:    what options will be presented?  Assuming no recovery partition for Windows, just that the whole drive is partitioned for Windows 10 with GPT and UEFI.  The  specify:  Manual partitioning      Choose "Manually edit partition table".     Listed will be your current partitions.     Select the partition you want to resize and press Enter.     Select "Size:", press Enter.     Select Yes, press Enter.     Type in a new size in gigabytes for your partition, it's recommended you free up at least 10 GB of free space for your Ubuntu install. Press Enter when happy with your changes. It may take some time to apply the changes.      Create a swap partition of at least your amount of RAM (if you don't know, 8000 MB is a good value).     Create a partition for your Ubuntu installation.      Create other partitions if necessary: see DiskSpace     Select "Finish partitioning and write changes to disk".    before I install what should the disk look like from fdisk or similar?  On my system lsblk shows:  thufir@doge:~$  thufir@doge:~$ sudo lsblk  NAME                  MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT sda                     8:0    0 74.5G  0 disk  ├─sda1                  8:1    0  487M  0 part /boot ├─sda2                  8:2    0    1K  0 part  └─sda5                  8:5    0 74.1G  0 part    ├─ubuntu--vg-root   252:0    0   72G  0 lvm  /   └─ubuntu--vg-swap_1 252:1    0    2G  0 lvm  [SWAP] sr0                    11:0    1 1024M  0 rom   thufir@doge:~$    but before I press the button to install alongside Windows 10, what should it look like from fdisk or similar?  Assuming UEFI and GPT and that Windows 10 is on the first partition.  GPT:   and UEFI:


If the value is 200.3456, it should be formatted to 200.34. If it is 200, then it should be 200.00.


Is there a dictionary with phonemic transcription for different dialects?

Sometimes I am not sure how a Northerner says "Winter is coming".  I searched on the Internet but nothing showed up. I wonder if you know there is a dictionary (online or offline) that simply contains phonemic transcription for different English dialects.


iOS Job ad for Synechron shows 404 error

The following link shows 404.     When I click the job ad, it shows "Not Found"     App Version: 1.6.2.5 Device: iPhone 6 OS Version: Version 10.2 (Build 14C92)


Let  $\Sigma$ be a countable $\sigma$-algebra.  Show that there is a sequence $A_1,A_2,...$ of disjoint elements of $\Sigma$ such that every $B$ in $\Sigma$ is a countable union of elements in $\{A_n\}$.  My attempt:  Since $\Sigma$ is countable, we have $\Sigma = \{B_1,B_2,B_3,...\}$  Then I took:  $A_1 = B_1$  $A_2 = B_2 - B_1$  $A_3 = B_3 - (B_2 \cup B_1) $  $A_n = B_n - \bigcup_{i=1}^{n-1}{B_i} $  The sequence $\{A_n\}$ is disjoint and $\{A_n\}\subset \Sigma$.  I'm having trouble  showing that every $B$ in $\Sigma$ is a countable union of $\{A_n\}$.  How do I show that every $B$ in $\Sigma$ is a countable union of $\{A_n\}$?  Thanks in advance!


I want to know when to use "has" or "have" with "who"

In the sentence, "We want to know who have to pay.", why does "who have" sound wrong?


i'm trying to set a list of string to an aura:attribute and i get this error:     Uncaught rerender threw an error in 'markup://aura:expression'   [info.$component$.$isValid$ is not a function]   that's the attribute:  <aura:attribute name="parents" type="String[]"/>   i call this function in js:  test: function(component){     var action = component.get("c.test");         //Set up the callback         var self = this;         action.setCallback(this, function(actionResult) {                   debugger;             component.set("v.parents", actionResult.getReturnValue());         });                 $A.enqueueAction(action);    }   and thats the function:  @AuraEnabled public static List<String> test(){     String[] a = new String[]{};     a.add('1');     a.add('2');     return a; }   please help Thanks


ssh into server from desktop & run program X, later ssh into server from laptop & interact with X

I'm sure this is a very basic question. I assume tmux could facilitate this, but I'm not sure of the exact steps.  My use-case is:  I'm sitting at my desktop and I ssh into a server. I start a long-running process. The process continues running on the server while I do other things (but I do not necessarily detach from the server at this time).  Now I'm on my laptop. (Say I went to lunch.) I need to ssh into that same server, see the same console output I would see on my desktop if I were there, and send some keystrokes to that same still-running application. I need to interact with it exactly as if I were still at my desktop ssh session. When finished, I will detach from this session and allow the application to continue running on the server.  Later, I will check on it from my desktop at work. At the end of the work day I will detach from it and go home. (Now no sessions at attached to the process on the server.) At home I will connect to the server and attach to the same still-running application, see what is on the screen and possibly send it some commands.  tmux seems to have such a focus on terminal multiplexing that my use-case is not explained in the answers or tutorials I have found so far. My use-case appears to be almost the opposite. I do not need to sit at one screen and connect to multiple servers. I will be working on one server, but connecting to it from multiple different computers, sometimes having multiple connections open at once, sometimes having no connections at all, and my focus is interacting with one long-running application on the server.  What are the steps to connect to the server and start my console application, then connect to that same application and see the same console output from multiple other computers?  Also, does tmux have to be installed on clients and the server?


How to use a filter on a lens with a bulbous front element? (Rokinon AF 14/2.8)

I have a wide-angle lens, but the hood does not come off. The lens is a Rokinon/Samyang AF 14mm f/2.8. Is there a way to use a filter besides using an adapter filter?


What is the solution to this graph question?

Hi everybody, is there anybody who can answer the following problem? I dont know how to start solving it, thank you very much.![the question is in the picture below][2]


Reset or remove the BIOS password on my laptop

I have a laptop but forgot the BIOS password. I cannot go beyond the BIOS password screen and need to continue.  Is there any way I can reset or even remove the BIOS password on my laptop?


How can I create a lighting engine for BSP geometry in OpenGL?

I am trying to figure out the best way to go about creating a lighting engine for an old game format with BSP based geometry. I have all the relevant information about the light, R/G/B/brightness/radius all that sort. I want to go for per pixel lighting. How can I go about doing this? I have seen tutorials for simple examples like one light revolving around an object but wondered if the same concept applies when having numerous lights illuminating a level.  Also, the BSP geometry does not use lightmaps so that is out of the question.   Also, I am interested in using normal/specular and diffuse maps I generate with Crazybump if that helps influence your advice.


Is the ring $\Bbb Z[x] /\langle x^2-1\rangle$ isomorphic to $\Bbb Z \times \Bbb Z$???

Suppose we have the ring $\Bbb Z[x]$. I tried to find that the ring $\Bbb Z[x]/\langle x^2-1\rangle$ is isomorphic to $\Bbb Z\times\Bbb Z$ or not??? I tried to apply the Chinese Remainder theorem. For it I required that ideals $I=\rangle x+1\langle$ and ideal $J$  generated by $x-1$  must be  comaximal. But unable to get anything. Please anyone tell is above two rings are isomorphic or not??


How exactly do different difficulty levels affect the gameplay in campaign?

Just wondering, how exactly different difficulty levels affects to the gameplay?  Does it switches AI into more aggressive mode, gives more starting money to a computer, etc.?


Prove that exist bijection between inverse image of covering space

Let $B$ be path-connected and $p:E\to B$ covering map (with $E$ as covering space). Prove that $\forall a,b\in B$ exist 1-1 injection correspondence between $p^{-1}(a)$ and $p^{-1}(b)$   I thought somehow taking the path between $a$ to $b$ and take on that the inverse means $p^{-1}(\gamma(t))$ but that's not well defined. How can I prove that?


Why is the colour picker displaying tinted colors?

The colour picker is behaving not as I expect it to. I cannot move the selector towards most of the edges, setting the RGB to 1.00 for red and the rest to 0 just gets an orange colour. Also I cannot simply keep the "value" the same and select a different shade, the "value" resets.  I'm not sure if i've pressed something in error or there is a setting in the user preferences/elsewhere that needs changing. I'm using the cycles renderer. The issue occurs with any colour picking :- material, background etc. Quitting Blender and restarting does not resolve the issue. Version 2.79.6


How to recover deleted files in Ubuntu 14.04

Recover Deleted Fils in Ubuntu 14.04  Last night I made a horrible mistake on my Ubuntu 14.04 machine and I deleted the directory that contained my project's Javascript files. All the files where in .js format. I've searched the web for a solution and I tried every tool out there.  Some of the tools I have tried so far are: photorec(testdisk), foremost, ext4magic, extundelete but no chance! None of them have found anything. It seems like they don't find .js files.  I don't know what I'm going to do without my codes. Please help.


PGP encrypt single message for multiple recipients

Is it possible to encrypt a message using PGP so that multiple recipients (each with their own public private keypair) can decrypt it? I'd like to email one message which can be decrypted by each person with their own keys.


What is the differences between 'try to' and 'try to+verb' and 'try + verb'?

I try to ride a bike. I try riding a bike. I try ride a bike.   What is the difference between above three sentences? Please, tell me about it.


Why is a paraboloid surface formed with a rotated liquid?

I've read in Wikipedia that:      "if a liquid is contained in a cylindrical vessel and is rotating around a vertical axis coinciding with the axis of the cylinder, the free surface will assume a parabolic surface of revolution known as a paraboloid. The free surface at each point is at a right angle to the force acting at it, which is the resultant of the force of gravity and the centrifugal force from the motion of each point in a circle."   Why does it form a paraboloid? My particular difficulty is that all points are supposed to be acted upon same forces so I don't understand the reason they are rotating at circles having different distances from the axis of rotation.


Convergence of nth root of sum of nth potence of positive real numbers

Let $k \in N$ and $a_1, a_2, ..., a_k > 0$. Prove that the following series $(b_n)$ converges and define its limit.  $$b_n := \sqrt[n]{\sum_{i = 1}^ka_i^n}$$  I'm quite sure it converges to something between $min(a_i)$ and $max(a_i)$, but don't really know where to start. Sandwich theorem wasn't of much help as well.  Thanks in advance!


On CentOS exists the yum versionlock option, where you can lock a package to a specific version, so it is never upgraded past that.  I would like that  puppet-server-2.7.19-1 puppet-2.7.19-1   stays on 2.7, and never upgraded to 3.0. Puppet Labs have released 3.0 and put it into the stable repo, so 2.7 will get upgraded to 3.0, which is not backwards compatible.  Does Ubuntu have something similar to yum versionlock?


I was looking for quite some time on whats the best way of selecting or inserting some data.  I have two tables:  ReportData: report_data_id(pk), source_id(fk), value1; Source: source_id(pk), source_name(varchar250);   I am doing a bulk insert into the ReportData around 10k of rows at once, but I don't know which is the best way of getting the source_id, because not all of the sources are defined.  I was thinking that a good way is writing a function to which I send a source (which is a string) and if the source exist return the id, if not insert the source and then return the id. And then before the bulk insert I will add this into the VALUES SELECT * FROM get_source('SourceString'). This then on insert is going to query that function 10k times.  In my ReportData I have like 10 columns which are FK and on each I need to do the same thing as described above.  Is this a good way of doing what I described above?


Using ADSL Router With LAN Internet As Input

Can I use ADSL modem with Ethernet LAN?   The purpose was to broadcast LAN wire internet over WIFI. By mistake,I bought ADSL router, it accepts telephone jack input only as input internet  Is there any tweak available for this?  EDIT: I am planning to flash router software with  to change the behavior of router.   Discard use of telephone jack. Use one of four RJ-45 port for internet input.   Can some one please tell, in which mode modem should operate? client / client bridge / ad-hoc?


I need to find a single word (noun) for a person who acts as a " work-stopper"

I need to find a word (noun) for a person who acts as a "work-stopper" and creates hurdles for others so that the work cannot be completed. For example, some government officials force people to follow long bureaucratic procedures to create delays or put-off the worker (use of delay-tactics).  Example sentence: David is a ...


I am trying to configure multiple monitors on Ubuntu so that each monitor has its own taskbar, with each monitor's taskbar containing only icons for applications that are active on the monitor.  For example, I have a dual monitor setup and on monitor A I have two applications being displayed (or minimized), Firefox and xterm, and on monitor B I have three applications, Firefox, PyCharm, and Slack. Within the taskbar for monitor A I want to see icons for only that monitor's applications (Firefox and xterm) and within the taskbar for monitor B I want to see icons for only that monitor's applications (Firefox, PyCharm, and Slack). There should not be a single icon for Firefox including the instances for both Firefox windows from both monitors, but instead a Firefox icon within each monitor's taskbar corresponding to the Firefox window which is open (or minimized) on that monitor.  In case it helps, the taskbar behavior I'm after is configured in Windows 10 as shown here:    How can I get similar behavior for multiple monitors on Ubuntu desktop?  I am using vanilla Ubuntu 18.04.  Thanks in advance for any suggestions, I appreciate your help!


Failing to run scp command using python subprocess module

I'm trying to copy directory content from MachineA to MachineB. MachineA is CentOS and MachineB is Windows7 (with ssh server installed and working) Since I want to copy directory content I have to use globbing, thus need to call subprocess using shell=True  Code:  scp_cmd = f'scp -v -i ~/ssh_key.pem {SSH_OPTIONS} {src_tests_path}/*'.split() dst_path = f'{user}@{vm_address}:\"{scripts_path}\"' scp_cmd += [dst_path] _logger.info(f"Run scp command: {' '.join(scp_cmd)}") subprocess.check_output(scp_cmd, shell=True)   But looks like scp "think" I'm passing wrong parameters, since I've got following error:  2019-08-22 14:31:58| INFO    | comet.io.windows_job          | Run scp command: scp -v -i ~/ssh_key.pem -q -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no testcomplete_smb_tests/* win7@<IP>:"/Users/win7/Documents/TestComplete 14 Projects/VastSMBProject/VastSMBProject/Script" usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file]            [-l limit] [-o ssh_option] [-P port] [-S program]            [[user@]host1:]file1 ... [[user@]host2:]file2 E: subprocess.CalledProcessError: Command '['scp', '-v', '-i', '~/ssh_key.pem', '-q', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=no', 'testcomplete_smb_tests/*', 'win7@<IP>:"/Users/win7/Documents/TestComplete 14 Projects/VastSMBProject/VastSMBProject/Script"']' returned non-zero exit status 1., Test: <pysrc/tests/comet/io_agent.py:test_windows_client>   Any guess what went wrong here? Thanks for help.


Theorem of the convergence of the series of fourier!

During the demonstration of the theorem of the convergence of the series of fourier, my teacher wrote :$$  \frac{1}{2}+ \sum_{k=1}^{n} \cos(ky)=\frac{\sin((n+\frac{1}{2})y)}{2\sin(\frac{y}{2})} $$  he doesn't explain how to get this for the lack of time, I'm curious so I tried alone, without success. How I can get this equality?


What are the proposed theoretical explanations for the EmDrive?

The  is a proposed propulsion mechanism for spacecraft in which some form of microwave device provides the propulsion. The consensus from the physics community, including many voices on this site, is that the proposed device would violate conservation of momentum.   Several experiments have been conducted, by three main groups: (i) , from Satellite Propulsion Research Ltd, (ii) a research group at the Northwestern Polytechnical University in Xi'an, China, and (iii) Eagleworks Laboratories at NASA's Lyndon B. Johnson Space Center in Houston, Texas. However, few of these experiments have been performed in vacuum (and none of the vacuum tests has been published in a peer-reviewed journal), which means the effect of air currents around the device cannot be ruled out.  This device has been the subject of many questions on this site, including          and their many closed duplicates.  Many of these questions ask what the proposed explanations are, but then veer off into territory of the form "assuming it is true, how does it work?", so they have been (rightfully) closed as counterfactual physics. I feel this sort of bundling does a lot of harm to the discussion, and there is some scope to ask what exactly is being proposed as an explanation. So:     What do the proponents of EmDrive claim is the theoretical justification of the device's function?   Please limit answers exclusively to references, and indicate whether they are peer-reviewed or not. Please limit answers to serious attempts at explanations, as opposed to vague claims about the 'quantum vacuum' - or indicate if an experimental paper does not have any such theoretical explanation or reference.  To be clear, this is not the place to discuss whether the explanations are correct or not. If you have specific questions about any of these sources, ask it separately. (However, if your question starts with "assuming that this works", be prepared for it to be closed.) If you feel there are not enough resources on this thread, you can  but please do not post another question asking people to look for more references.


Sometimes I get confused about why this or that enzyme was named in this or that particular way.  1) TCA: Why was not isocitrate dehydrogenase named isocitrate decarboxylase?  Wouldn't it have been at least as accurate to name the enzyme in question isocitrate decarboxylase as to call it isocitrate dehydrogenase? It does remove the -COOH, doesn't it?  2) Glycolysis: PEP (phosphoenolpyruvate) carboxykinase. Why isn't it oxaloacetate carboxykinase? Isn't it agreed upon that enzyme substrate be used in the name of enzyme?  3) Why name enzymes by reverse reactions (especially when the reaction is irreversible)? Pyruvatekinase makes pyruvate from PEP. Why not use another name, PEP phosphatase, for example?  I understand that this is the way the enzymes were named and I just have to accept it. But I would also like to understand the logic behind these names.


It is said that mobile OS Android is originated from Linux.  It the statement true? And Can I use apps built for Android OS in Ubuntu?  Thank you.  HELLOVENUS Fantagio.


How to create a hash or dictionary object in JavaScript

I want to create a map object in javascript. I came to the following idea:   var a = new Array();  a["key1"] = "value1";  a["key2"] = "value2";   but then how I can find if a particular key exists or not?


Is there any way to check/verify if a ppa repository is safe, or has been flagged by someone for some reason somewhere on the internet?

You ve got a lot of ppa repos out there, and everyone seems to link add and download from these without checking (i assume). Is there a way to verify safety of a ppa somewhere on the internet ?


How to use a value from entered in textbox of form1 in other forms

I want the user name(txtusername) entered in login form to be available in other forms(say form2) too so that i can use them in cmd.parameters.addwithvalue("@last_updated_user",txtusername.text); along with other parameters (textbox values) in form2. latest cost update


What are some rule changes that shorten the game, and what drawbacks do those changes have?  Please limit your answers to rules changes with which you have first-hand experience!


Does autofocus work better with f/2.8 lenses vs f/4 or slower?

I read following in a web site ()     Lenses with maximum apertures of f2.8 allow the camera to use all high   precision sensors. In low light or other situations that are hostile   to autofocus, that’s a big deal. Lenses with a maximum aperture of   f4.0 use only the center focus sensor in its “high precision” mode,   and use the other sensors in their “horizontal line” only mode. Lenses   with a maximum aperture of f5.6 use all sensors in their   “horizontal-only” mode, and lenses with a maximum aperture of f8 use   only the center sensor point, and that with horizontal sensitivity   only.   I want to understand if this is completely true? I am raising this because recently I have purchased a Nikon 70-200 f/4 lens and would like to understand if I have made a wise investment, or, should I collect some more money and buy a 70-200 f/2.8 VR-II lens.


addSnapshotListener, get, update, etc. in onActivityCreated are called several times (when the user rotates the screen for example)

In Fragment and in Dialogs I have put some code relative to CRUD operation on my Firestore database. These operations are, e.g., addSnapshotListener , get, update , WriteBatches , ...  The problem is that the user can rotates the screen, leading to a re-execution of those CRUD operations, which are not free - I have the Firebase SPARK Plan so it's actually free but if the limit is reached, no further CRUD operation will be done until the month ends or something like that.  So my question is: should I put these CRUD operations in another callback than onActivityCreated (if yes: how could I put the UI code that I've written in the CRUD operations' onComplete callback, which must be put in onActivityCreated?)? Or: is there another solution, for example a cache system?


This is so simple problem but i don't understand problem. I was click div change class but it does not work when I click on the changing div    $(".one").click(function() { $(this).attr('class', 'two'); });     $(".two").click(function() { $(this).attr('class', 'one'); }); .one {width: 50px; height: 50px; background-color:red;} .two {width: 50px; height: 50px; background-color:blue;}


How find this integral $I=\int\frac{1}{\sin^5{x}+\cos^5{x}}dx$

Question:  Find  the integral $$I=\int\dfrac{1}{\sin^5{x}+\cos^5{x}}dx$$  my solution: since  \begin{align*}\sin^5{x}+\cos^5{x}&=(\sin^2{x}+\cos^2{x})(\sin^3{x}+\cos^3{x})-\sin^2{x}\cos^2{x}(\sin{x}+\cos{x})\\ &=(\sin{x}+\cos{x})(1-\sin{x}\cos{x})-(\sin{x}+\cos{x})(\sin^2{x}\cos^2{x})\\ &=(\sin{x}+\cos{x})[1-\sin{x}\cos{x}-\sin^2{x}\cos^2{x}) \end{align*}  then let $$\sin{x}+\cos{x}=t\Longrightarrow \sin{x}\cos{x}=\dfrac{1}{2}(t^2-2)$$  then $$\sin^5{x}+\cos^5{x}=t[1-\dfrac{1}{2}(t^2-2)-\dfrac{1}{4}(t^2-2)^2]=-\dfrac{1}{4}t(t^4-2t^2+4)$$ $$x+\dfrac{\pi}{4}=\arcsin{\dfrac{t}{\sqrt{2}}}\Longrightarrow dx=\dfrac{1}{\sqrt{2-t^2}}dt$$ so $$I=-4\int\dfrac{dt}{t\sqrt{2-t^2}(t^4-2t^2+4)}=-2\int\dfrac{1}{u\sqrt{2-u^2}(u^2-2u+4)}du$$ where $u=t^2$  Then I can't, because this wolf can't   Thank you for  you help


Run script with ssh as if I had ran it from the remote computer's UI

When I'm running a script on a remote computer with SSH, I can't import pyautogui in Python: # Output from my terminal while logged in to remote computer  user@remote-desktop:~$ python Python 3.8.5 (default, Jul 28 2020, 12:59:40)  [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyautogui Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/home/user/.virtualenvs/general/lib/python3.8/site-packages/pyautogui/__init__.py", line 241, in <module>     import mouseinfo   File "/home/user/.virtualenvs/general/lib/python3.8/site-packages/mouseinfo/__init__.py", line 223, in <module>     _display = Display(os.environ['DISPLAY'])   File "/usr/lib/python3.8/os.py", line 675, in __getitem__     raise KeyError(key) from None KeyError: 'DISPLAY'  However, it works just fine if I walk to the remote computer and type the exact same commands from it's terminal: # Output from remote computer's terminal  user@remote-desktop:~$ python Python 3.8.5 (default, Jul 28 2020, 12:59:40)  [GCC 9.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pyautogui >>>  How do I run a script in ssh as if I had ran it from the remote computer's UI?


Automorphisms of Quaternion Group $Q$. Prove that $\operatorname{Aut}(Q)$ contains no element of order $6$, and so $\operatorname{Aut}(Q)\cong S_4 $

Let  $Q$ be the quaternion group where $|\operatorname{Aut}(Q)|=24$ and consists of elements  $\phi$ with $\phi(i)\in \left \{ \pm i, \pm j,\pm k \right \}$ and  $\phi(j)\in \left \{ \pm i, \pm j,\pm k \right \}\setminus \left \{ \pm\phi(i)\right \}$.  Prove that $\operatorname{Aut}(Q)$ contains no element of order $6$, and so $\operatorname{Aut}(Q)\simeq S_{4}$.  Any help is appreciated.  I have seen the other posts, but I am not sure how to approach this proof showing $\operatorname{Aut}(Q)$ contains no element of order $6$, then to conclude that it is isomorphic to $S_4$. There is a link in another post, that refers to no element of order $6$, but unable to be accessed.


How to install Qualcomm Atheros AR9565 wireless drivers?

I purchased an HP laptop with the Qualcomm Atheros AR9565 (QCWB335) wireless adapter. I understand that this adapter is currently not supported on Ubuntu 12.04 and there is no way to get wireless access.  I installed compat-wireless-3.6.6-1 ath9k driver and it didn't work, lshw -C network still showed *-network UNCLAIMED after reset.  How can I figure out when Ubuntu will have driver for AR9565? Is there a workaround to get wireless working somehow?


Why are there two different hats for "Where in the World"?

I am wondering why some got a moon and others got a sun as Where in the World hat for the same action:   vs.   And is it possible two collect both e.g. from different sites? I only get moons…  I know that there has already been some spoilering .


If I pay my credit card bill before the company reports it, will they always report zero?

If I spend 20 and pay back that 20 instantly after using it, will the credit card company state that I spent 20 and paid 20 back (to the bureaus), if I paid that amount before they reported it?  Example: they report on day 20; I spend and pay back on the 19th; on day 20 they report "nothing" since, if I pay back what I owe, my credit goes back to max and my balance would be 0.  I'm just saying because having zero is bad  (check the lower part of the answer).  If having zero is bad, I would need to know at what point I should pay before the due date, but after the credit activity has taken place. I would ask the company, but there's no simple way to word this.  It would be very pointless to use the credit and pay it back instantly if they company just reports "0" to the bureaus because that is not the best thing for my credit score. Now, I'm not saying it's smart to skip payment due dates, but it seems nearly as dumb to pay too quickly if the company then says you're using no credit to the bureaus which means you never get a higher credit score despite using the credit and paying it off. The credit card company in question is Capital One.


In a university project which I am writing I have been reprimanded at least 10 times for using the word scuba in lower case. i.e. Scuba tank, Scuba diving etc. Is this permissible and can I tell my tutor that I will stick with my preference of lower case scuba.


I do not get a logout option on Stack Overflow

I use Firefox ESR 24.2. I log in to Stack Overflow using the Yahoo login. Previously, I used to get a logout option after logging in. Nowadays I do not get a logout option. What should I do? Is it normal?


is possible remove self vote to an answer without give point or remove?  I'm explain better the question, for example I give to an answer +1 and the user take 10 point, but then i want to remove it if i press -1 the user loss 2 point and i have value of answer 0, finally him take 8 point, i want remove my vote like that i don't give him point, this is possible?


When i opened up my blender file it suddenly inverted all the lightings of the Solid OpenGl lights and whatsoever. I tried to fix it up but it still wouldn't..! -- Added Explanation as to my reply to someone's comment below:  I'm new to blender so i can't explain much what's going on. When we make a model from scratch, it becomes all gray cause that's the basic color right? Awhile ago when i opened up my blender file it suddenly turned black.. I tried to ignore it and made the leg part, the leg is now gray but the head is still black. When i tried to move the direction lights, the head became gray and the leg became black.. ( I don't know if that made any sense)


I can't get Object Index to give me a clean Luma Matte. Please Help!

Why is it that I can't get a clean looking Luma Matte from either Object Index or Material Index Pass. As you can see in the example I provided, I do have anti-aliasing checked in the ID Mask. What is it that I'm doing wrong here? Or does it even work? Please help!


That solved my problem is rarely true on Meta

On Meta, a lot of duplicate targets  are unanswered, so, while it's a duplicate it doesn't actually solve my problem.  Please could the text on meta be changed to "Yep, it's a duplicate" or "Oops, I made a boo boo".


Post for Suggestion:  scenery: I want to install ubuntu on android phone. not running ubuntu beside android. Remove android from boot and use grub to boot the phone.  Question: Is it possible?  If possible then how?


Should I let a newborn sleep when it's time for feeding?

I have taken up the habit of feeding my newborn every 4 hours during the day, since we left the maternity. However, sometimes when the time to feed her comes, she's sleeping.  Should I wait until she wakes up by herself, or should I wake her up ?


Moving Windows 7 from one hard drive to another?

Is it possible to move a whole Windows 7 install from one hard drive to another, complete with registry, username, passwords and drivers (which would probably have to be later removed/reinstalled)?


I am using OpenSSH chrootdirectory feature to give access to a user via ssh.  Can this user exit the jail and return to the normal OS environment? Maybe with su?


Given that $A$ and $B$ be $n \times n$ matrices over $\mathbb{C}$ then choose the correct option

Given that  $A$ and $B$  be  $n \times  n$ matrices   over  $\mathbb{C}$. Then choose the correct options      $(1)$ $AB$  and $BA $  always  have the same set  of eigenvalues      $(2)$ If $AB$ and $ BA$ have  same  set   of eigenvalue  then AB = BA      $(3)$ If $A ^{-1}$  exist  then $AB$ and $BA$  are  similar      $(4)$ The rank of $AB$  is always  same  as the  ranks  of $BA$   My attempt:   I thinks all option $1,2,3,4$  will be  correct if   take $A=B= I$  Any hints/solution will be appreciated   Thank you!


Non-existent Pygments content on input line "?? PythonTex ??"

I am trying to present my Python script in latex. I have tried using the pyverbatim environment and the \inputpygments package but neither works, with both yielding the error message "Package PythonTeX Warning: Non-existent Pygments content on input line xx". The compiled document simply typsets ?? PythonTeX ?? \documentclass[letterpaper,11pt]{article} \usepackage{pythontex}  \begin{document} \begin{pyverbatim}  print(“Hello, World!”)  \end{pyverbatim} \end{document}  Or try using:  \inputpygments{python}{python.py}  where the file python.py has been uploaded to the project folder in latex.   I have also tried including additional packages such as \usepackage[utf8]{inputenc} and \usepackage[T1]{fontenc} that I noticed others used answering other questions about typesetting one's Python script in Latex, but to no avail.


Any recommended resources for a total beginner with no real maths training?

I'm a philosophy student whose knowledge of physics is fairly piecemeal - I've read a few books (prominently Rovelli's Reality Is Not What It Seems) but want to know more. I don't currently have the time (or the means) to enrol in an actual physics course or to devote all of my time to the study of physics, but I want to develop an understanding that I can build upon at a later date. Many of the books I've looked at thus far have either been too immediately technical or assume more familiarity with maths than I'm comfortable with.   Does anyone have any recommendations of introductory books, lectures, podcasts, etc. that will help me to reach a stage of proficiency so that I can navigate more complex terrain unaided? Introductions to classical physics and the history of physics are appreciated, as are exercise books or introductions to the mathematics required. Please assume as little prior knowledge as possible - I have some formal maths training, but it's somewhat hazy, and my grasp of algebraic equations and so on is very loose indeed!


My problem is about uv mapping. My model has multi parts. I unwrap my model parts then i create uv map image for every single part. In texture painting mode i painted every uv map image but after paint 3 images first and second is gone. I clicked first image and it's just show black color not other colors that i painted. I solved this by save as image but i have to do for all uv map images Is there a other way to do this ?


Need to downsample video to a lower resolution

I would like to convert a Mp4 file in HD into a Mp4 file of lower resolution. Is there any software that can be used for this?


Topology book with tilt towards differential geometry

I've studied some differential geometry and would like to start reading through some more advanced texts on the subject but they all require knowledge of topology which I haven't taken a course in.  Can anyone recommend a good introductory book in topology that is biased toward a future study of differential geometry (or even algebraic geometry)?  So it should cover things like manifolds and fibre bundles.  I know the standard reference is Munkres's Topology but taking a look at the index I didn't see anything on fibre/ vector/ tangent bundles so I don't think that's what I'd want.  What are your recommendations, math.SE?


Which is the recommended OS for HP Mini Netbook

I use an old HP MINI Netbook with 2GB RAM 667 MHz , 1.6 GHz Intel Atom N270/N450 processor with built-in Intel graphics. I want to install Ubuntu on my netbook so please suggest me a very light version of Ubuntu OS which has atleast Internet Sharing feature enabled.  Regards, Vivek


If a charge travels in a circle it must accelerate, thereby producing EM.  However, a wire in a circular loop is analogous to many charges moving in a circle. So, why don't circular currents produce EM? (I have not found any evidence that circular currents can produce EM).  A similar question is: . However, my question asks about circular wires and direct current. Thanks.


Which is correct (or more commonly-used) Events calendar/activities calendar or event calendar/activity calendar?  Thanks!


Why can't I enter my birthdate on Roblox?

I go to change my birthdate on Roblox, but nothing shows up, the dropdowns are just blank with no Month, Day or Year:  It also shows me a pop up asking to put in the Missing Details to improve the experience, but no matter how many times I put in my age it doesn't save and asks it again.


How can I get the write permission for the files residing under /snap directory which is created by snap v.2.44? I cannot do that even with root access and also there isn't any group named snap in /etc/group to enable me to add my user to it to gain any special privilege. Also when I want to chmod the files I get this error :  Read-only filesystem