Who is #2 in First Order? General Hux or Kylo Ren?

When First Order launched the Starkiller, it was General Hux's order, Ren was in his warship. I wonder which of those two has higher rank in the First Order?


I have a weird problem with \makeindex that I cannot resolve. Here is a minimal example:  \documentclass[12pt,letterpaper,twoside]{memoir} \newcommand{\defn}{\textit} \begin{document}  Autopoiesis, developed by Humberto  Maturana\footnote{H. R. Maturana and F. Varela (1973)  \textit{De M\'aquinas y Seres Vivos}\index{maqui@\textit{M\'aquinas y Seres Vivos, de}}, Editorial Universitaria, Santiago, Chile.\label{maq}}\footnote{H. R. Maturana and F. Varela (1980) \textit{Autopoiesis and Cognition: the Realisation of the Living}  \index{AutopoiesisAnd@\textit{Autopoiesis and Cognition}}  D. Reidel Publishing Company, Dordrecht.\label{cogn}}   \textit{Autopoiesis and Cognition: the Realisation of the Living}\footref{cogn}  \index{AutopoiesisAnd@\textit{Autopoiesis and Cognition}} are the original sources for Humberto Maturana and Francisco Varela's autopoiesis.  \printindex \end{document}   Both book titles appear twice in the index, even though I copied and pasted the \index entries. In the full example they are on different pages, but in the minimal example they are both on p. 1, but that doesn't stop them appearing twice. This does NOT happen with similar cases in the complete example.  The idx file looks like this:  \indexentry{maqui@\textit{M\'aquinas y Seres Vivos, de}}{1} \indexentry{AutopoiesisAnd@\textit{Autopoiesis and Cognition}}{1} \indexentry{maqui@\textit  {M\'aquinas y Seres Vivos, de}}{1} \indexentry{AutopoiesisAnd@\textit  {Autopoiesis and Cognition}}{1}   In the third and fourth there is whitespace after \textit{, but in the first and second there isn't.


How to ensure sharp focus when shooting with an open aperture?

I've bought a  to use with my EOS 200D and while I love the wide aperture, it appears to be quite difficult to achieve sharp focus on people's faces when shooting at f/1.8. I've tried both using Dual Pixel focus in Live View and using the center focusing point in the viewfinder, but it doesn't get me perfect results.  Is this simply a characteristic of cheap wide-aperture lenses? Or is it impossible to get sharp focus with a fully open aperture?  When I'm at at home using a tripod and focusing on a still subject I do get good focus (so it's not a camera or lens issue). But it's hard to do with people who are slightly moving between shots.


Leibniz formula for successive differentiation proof?

is there any proof for the Leibniz rule for successive differentiation  $(uv)^{(n)}=\sum\limits_{k=0}^n\binom{k}{n}u^{(n-k)}v^{(k)}$


varargs/params object[] but differentiate between actual object[] input and varargs input(s)

In C# .NET object is used for multi-type arguments, allowing one to pass integers, strings, characters, etc. as possible inputs. For example:  // Can be called like: `F(2)`, `F("test")`, `F('a')`, etc. void F(object arg){ ... }   C# .NET can also have a fixed size of optional arguments. For example:  // Can be called like: `F()`, `F(2)`, `F("test")`, `F('a')`, etc. void F(object arg = null){ ... }   And there are also varargs, which is an undefined amount of optional arguments (which is what I've used in this answer). For example:  // Can be called like: `F()`, `F(2)`, `F(2, "test", 'a')`, etc. void F(params object[] args){ ... }   Usually lambdas are created like this:  System.Func<object[], int> F f = a=>a.Length; // A call like `f(new object[]{2, "test", 'a'))` will return 3 (size of the input array)   But unfortunately System.Func doesn't support params varargs, so I'll have to create a delegate instead:  delegate int F(params object[] args); F f = a=>a.Length; // A call like `f()` will return 0, and `f(2, "test", 'a')` will return 3     As for my question: Is there a way to know whether I've inputted an actual object[] instead of varargs?  So with the final lambda above, how can I let the input f(new object[]{2,"test",'a'}); have a result of 1 instead of 3?  Kinda like how f(new int[]{1,2,3}); will give a result of 1 because it interprets the entire integer-array as a single object. How can I have an entire object-array as single object as well using a C# .NET varargs? Is there another way to enter a varargs in C# .NET besides using params?  I know I can input it like f((object)new object[]{2,"test",'a'}); to give a result of 1, but without changing the input type f(new object[]{2,"test",'a'}); is there a way to return 1 instead of 3 (is this even possible in C# .NET)?  I tried this, but unfortunately (and as expected of course) it still returns 3:  a=>((object[])(object)a).Length


Can I visit Ireland if I’ve voluntarily left the UK?

I left the UK voluntarily last year and have been given notice that I am not allowed to renter the UK for another 2-5 years.   However, nothing is mentioned about Ireland. I have a couple of friends and family in Ireland and I'm hoping to visit them this year, would I be able to seeing as I’m not allowed in the UK?   Additionally,  Would I still be denied entry if I applied for a student or work visa to either Ireland or the UK?  When I signed the documents to leave the UK it was against my will (my parents decision) and so as a result my education is still in complete. Would there be any other way to carry my A levels as per English curriculum seeing as I’m prohibited from entering the UK?


Can I sacrifice the same permanent for two different sacrifice costs?

Hi im new the mtg and have a question about the deck im playing.  so I use "Ravenous Intruders" ability (sacrifice an artifact gain +2/+2 until the end of the turn)  the artifact I sacrifice is "Implement of Combustion"   "Implement of Combustion" has an ability where I can pay 1 red mana and sacrifice it to deal 1 damage  would I be able to activate "Implement of Combustion" ability on top of Ravenous Intruder's ability so I can buff him and deal the 1 damage or would sacrificing implement leave no target for ravenous intruder so he does not buff?


Counter example for a result of intersection of subspaces

I am struggling with this question from Halmos's text, please ignore the imperative language.  "Suppose that $L, M$  and $N$ are subspaces of a vector space. Show that the equation    $$L \cap (M + N) = (L \cap M) + (L \cap N)$$   is not necessarily true.  Since each of these subspaces has origin in them, clearly there intersections could not be empty. I wasn't able to formulate an example where this result did n't hold. Any help would be highly appreciated.


Demonstrate why conservation of momentum stems from invariance to translation - in Newtonian mechanics

I know that conservation of momentum is caused by invariance (symmetry) of the laws of mechanics to translation - this is an example of . However, I'm looking for an explanation, using only the terminology of Newtonian mechanics (force, position and its derivatives, etc.) and not Lagrangian or Hamiltonian mechanics, why this specific example of Noether's theorem hold - without understanding the theorem as a whole. Think of trying to explain why momentum has to be conserved to someone learning Newtonian mechanics for the first time. A bit of calculus would be fine, but terms like Lagrangian, Noether's theorem, are not. The Wikipedia article  gives a different justification for conservation of momentum - Newton's third law. But this appears to be a different justification of the conservation of momentum - it's not based on translation invariance. Or, maybe Newton's third law could be proved from translation invariance and both explanations are somehow equivalent?


Ubuntu 20.4 LTE 64 bit/Gnome-Install Desktop App downloaded from Web for Linux Version Ubuntu 16.04 or later: Breitbandmessung-linux.deb

My laptop is running Ubuntu 20.04 LTE 64-bit/Gnome. I want to install the Desktop App downloaded from Web for Linux . The file is Breitbandmessung-linux.deb. The information says it is  Download für Linux (64-Bit) Ubuntu ab Version 16.04 / Debian ab Version 8 / KDE neon ab Version 16.04 / Mint ab Version 18  How can I install this software?


Why are natural numbers defined with union in Zermelo–Fraenkel (ZF) set theory?

In Zermelo–Fraenkel (ZF) set theory, the natural numbers are defined as $0 = \emptyset$ and $n + 1 = n \cup \{n\}$  $$\begin{alignat}{2}    0 & {} = \{\} && {} = \emptyset,\\    1 & {} = \{0\} && {} = \{\emptyset\},\\    2 & {} = \{0,1\} && {} = \{\emptyset,\{\emptyset\}\},\\    3 & {} = \{0,1,2\} && {} = \{\emptyset,\{\emptyset\},\{\emptyset,\{\emptyset\}\}\}  \end{alignat}$$  My intuition would be, to define it as $0 = \emptyset$ and $n + 1 = \{n\}$  $$\begin{alignat}{0}    0 && = \emptyset,\\    1 && = \{\emptyset\},\\    2 && = \{\{\emptyset\}\},\\    3 && = \{\{\{\emptyset\}\}\}  \end{alignat}$$  Why is it defined that way? What makes it more straightforward than my definition?


Do these plots imply a good fit of a linear model with normal errors?

Edit: the most obvious way forward would be to convert the data to a linear form. The data below seem to be a polynomial of order five. My question is do we know of any way to convert a polynomial of order five to a linear form?  I have data for the effective changing VPIP of a poker agent over 86 hands. Need help determining if I can indeed use a linear model and if errors are normal.   Each data point is the average of a cumulative probability. Therefore the first data point is simply the probability of an event. The second data point is the cumulative probability of of a specific event at time 1 + an event at time 2, all divided by 2. The third data point is the cumulative prob of the events expected to happen at times 1-3 all divided by 3. Note that the "events" in question are the probabilities of a poker player receiving a one of a set of particular starting hands, where the set of starting hands increases at each time point. So the event at time 1 is the probability of getting 2 Aces (4 choose 2 divided by 52 choose 2). The event at time 2 is the player being dealt EITHER 2 Aces or 2 Kings. etc. In below plots, the response variable is called effective.vpip and the x variable I havent named (is just called c(1:length(effective.vpip))           Other notes   If this turns out to be a good linear fit, then I will go on to transform the model into a dynamic linear model with drift i.e. a random walk with drift. so the linear model will be modelled as y(t)=y(t-1) + (drift term determined by slope of linear model) + (error term which is normally distributed and has time varying errors (just as in the data) which correspond to the errors of the data wrt the linear model).


continuity on compact subsets implies continuity

Consider this problem: Let $(X,d)$,$(Y,\rho)$ be two metric spaces (no further hypothesis). Prove a function $f:(X,d)\rightarrow (Y,\rho)$ is continuous if and only if for every compact $K\subseteq X$ the restriction of $f$ on $K$ is continuous.    Now the => part is fairly simple since the restriction of a continuous function is also continuous.  What about the <= part? If we choose a convergent sequence $x_n\rightarrow x$ we need only show $f(x_n)\rightarrow f(x)$, but how does compactness come into play?


I was looking for a way to beautifully display UML stereotype titles including angle brackets like you can see here:    What I came up with is $\mathtt{\ll metaclass\gg}$, however, as you can see here    the brackets are too pointy (I hope you know what I mean) and the spacing between brackets and expression is too big.  Short version: Does anyone know a command for according brackets?


Does "Star Wars: The Force Awakens" Invalidate Some of EU / Legends?

Does "Star Wars: The Force Awakens" invalidate some or most of the Star Wars Expanded Universe (EU) / Legends series of books, comics, games, etc?  Given that "Star Wars: The Force Awakens" is set about 30 years after the Battle of Endor and the events of "Return of the Jedi", it looks like its a safe enough time period where all the events of EU could have happened, and then the new movie trilogy.  In particular, EU has some elements that are eeriely similar to The Force Awakens:   There is a Ben in the Skywalker family tree, who is a grand-son of Darth Vader One of Darth Vader's grand-children does fall prey to the Dark Side and becomes Darth Caedus Luke Skywalker does train and build a new generation of Jedi Knights, but their numbers often fall as a result of some galactic war (example: the battles with the Yuuzhan Vong across the galaxy, and Abeloth and her Sith acolytes) There are references to the ancient Jedi temple / home world where Luke Skywalker has gone into self-imposed exile by the time of "The Force Awakens"   Having said all that, it looks like there are also elements in "The Force Awakens" that invalidate some of the story lines. Just wondering if there is an explicit demarcation or any EU story lines that did get invalidated in the new Disney trilogy?


Separate template class declaration and implementation

I have a template class with separate declaration and implementation:  // template.hpp template <typename T> class Foo {   T _data;   void func(); };  // template.cpp #include "template.hpp"  template <typename T> void Foo<T>::func() {   // Do something on _data }   those template files will be compiled into a library, and in another cpp file I link the library and instantiate the template class as follows:  // my.cpp #include "template.hpp"  struct MyData {   // Some data here };  class Bar {   Foo<MyData> foo; };   I get linker error when compiling my.cpp file. Is there any way to avoid the linker error by just modifying the template.hpp and template.cpp?   I don't want to move the template implementation into the header file and I can't move the MyData into template.hpp.


Number format Exception for input string

currently i'm making an attendence software but getting an runtime error here is my code:-  public class gui015 extends JFrame {  private JTextField[] tf; private JRadioButton a; private JRadioButton b; private JTextField t2; private JOptionPane op; private JButton c; public gui015() {     super("Attenedence");     setLayout(new FlowLayout());     t2 = new JTextField("Enter no. of students");     add(t2);     String s = t2.getText();     int a = Integer.parseInt(s);     tf = new JTextField[a];     while(a>0)     {         tf[a] = new JTextField();         add(tf[a]);     } }   and i'm getting an bunch of errors like this:-  Exception in thread "main" java.lang.NumberFormatException: For input string: "Enter no. of students"     at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)     at java.lang.Integer.parseInt(Integer.java:580)     at java.lang.Integer.parseInt(Integer.java:615)     at tutorial.gui015.<init>(gui015.java:26)     at tutorial.gui016.main(gui016.java:7)


I'm not a native speaker. Apologies if the question is obvious.  The scenario is:   I'm not doing A, and I'm not doing B.   In order to communicate this joint event in a single sentence: should I say: "I'm not doing A or B" or "I'm not doing A and B." (I know I can also say "I'm doing neither A nor B" but that is a seperate solution.)  The source of my uncertainty is that the logical negation of (A and B) is [(not A) or (not B)] so I don't know whether "I'm not doing A and B" can be interpreted as   I'm not doing A, or I'm not doing B.   which is not my original scenario.


Ok, I am a new linux user as of 30 mins ago and it won't let me connect to any wireless network. How can I fix this in the simplest terms? haha  Thanks  nathan@nathan-eMachines-E725:~$ lspci -nn -d 14e4: 04:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g LP-PHY [14e4:4315] (rev 01) nathan@nathan-eMachines-E725:~$ sudo apt-get update [sudo] password for nathan:  E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? nathan@nathan-eMachines-E725:~$ sudo update-pciids Downloaded daily snapshot dated 2015-03-29 03:15:02 nathan@nathan-eMachines-E725:~$ sudo apt-get install linux-firmware-nonfree E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? nathan@nathan-eMachines-E725:~$ lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 09) 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09) 00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 09) 00:1a.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.2 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 (rev 03) 00:1d.0 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.3 USB controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1d.7 USB controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 04:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01) 05:00.0 Ethernet controller: Qualcomm Atheros AR8132 Fast Ethernet (rev c0)


I have laptop with 512MB ram and 80 GB HDD, dual core 2.0GB Hz speed, 32bit earlier i was using W-XP on this once i have tried to install Win7 and it get all problematic. now have tried to install back Win-Xp but it get hanged in between and shows the message , file not found. hence decided to go for Ubuntu.  I Have already downloaded Ubuntu 14.04 ISO file. I want to know how to install it from USB and if the message of "file not found" reappears, then what to do.


Login check android with sharedPreference

Goodday, I'm trying to create a login and logout with my app. Here is what i do, In my login activityi add this   @Override public void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.login_layout);      String Username = new SessionHandler().getUsername(this);         if(!Username.toString().equals("")){             Intent mainIntent = new Intent(Login_activity.this,MainActivity.class);             startActivity(mainIntent);         } }   and here is my SessionHandler().getUsername()    public String getUsername(Context context){         sess_content = context.getSharedPreferences("LoginInfo", Context.MODE_PRIVATE); //1         Username = sess_content.getString("Username", null); //2         return Username;     }   So, here is the problem when i already login i can pass the login activity and open main activity but when i logout then trying to open my app again . I get an error.     java.lang.RuntimeException: Unable to start activity   ComponentInfo{com.example.boby.helpdesk/com.example.boby.helpdesk.Login_activity}:   java.lang.NullPointerException   this is how i set my SharedPreferences  public  void setSession(String name,String notelp,String alamat,String deskripsi,Context context){     SharedPreferences.Editor editor = context.getSharedPreferences("LoginInfo", MODE_PRIVATE).edit();     editor.putString("Username", name);     editor.putString("NoTelp", notelp);     editor.putString("Alamat", alamat);     editor.putString("Deskripsi", deskripsi);     editor.apply(); }


I've been trying to create a java app that can print the current date and time into a csv file. But now I'm experiencing NullPointerException with the program. Can anyone help me to identify the problem? Thanks for the help! import java.io.FileWriter; import java.io.IOException; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Vector;  public class Main {     public Vector<String> log;          public Vector getInstance(){         if(log == null) {             return new Vector<>();         }         return this.log;     }          public Main() {         getInstance();                  DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");                  //masukin tanggal hari ini 5x         Calendar cal = Calendar.getInstance();                  for(int i=0; i<5; i++) {             log.add(dateFormat.format(cal.getTime()));         }                  try {             FileWriter csvWriter = new FileWriter("status.csv");             for(int i=0; i<log.size(); i++) {                 csvWriter.append(log.get(i));                 if(i < log.size()-1) {                     csvWriter.append("\n");                 }             }                          System.out.println("Success write data!");             csvWriter.flush();             csvWriter.close();         } catch (IOException e) {             // TODO Auto-generated catch block             e.printStackTrace();         }              }      public static void main(String[] args) {         new Main();     }  }  Error Exception in thread "main" java.lang.NullPointerException     at Main.<init>(Main.java:27)     at Main.main(Main.java:50)


I recently installed wireshark and before i could even start capturing anything it says "no interface can be used for capturing in this system with the current configuration"  as im new to wireshark, does anyone know how to change the current configuration and what to change them to? sorry for any duplication and for shortness in description but i cant proceed without this configuration being set right


Info box on duplicate question states you should ask a new one instead of editing the original question

A couple of days ago I asked a . The question was marked as duplicate. The linked question did not answer my question, so according to the info box, I  (and received a helpful comment before the 2nd question was closed as duplicate of the 1st question). A user commented that I should have edited the 1st question instead of opening the 2nd one. Doing some research, I also found  about reopening question. How can I suggest to change the text on the info box so it clearly states that one should edit the question instead of creating a new one? Btw here is the current text of the info box  Your post has been associated with a similar question. If this question doesn’t resolve your question, ask a new one.


ToastEvent is not working and it's throwing error message

when i clicked on button after saving record it is showing error message that component need to refresh it. i have already refresh it even cookie cache and history also deleted but not showing success toast message.       ({ CreateContact : function(component, event, helper) {     var cont = component.get("v.ConDetails");     var toastEvent = $A.get("e.force:showToast");     toastEvent.setParams({                     "title": "Success!",                     "message": "Record Save Successfully",                     "type": "SUCCESS"                 });     var action = component.get("c.NewCon");     action.setParams({ "con": cont     });      action.setCallback(this, function(a) {            var state = a.getState();             if (state === "SUCCESS") {                 toastEvent.fire();              }         });     $A.enqueueAction(action); } })     Controller code below     public class NewContactController {  @AuraEnabled public static contact NewCon(Contact con){     if(con != null){         insert con;     }     return con;   } }   Component code below    <aura:component controller="NewContactController" implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId" access="global" > <aura:attribute name="ConDetails" type="contact" default="{ 'sobjectType' : 'Contact' }" />  <lightning:card variant="Narrow" title="Contact" iconName="standard:contact"> </lightning:card>

             <lightning:input aura:id="confn" value="{!v.ConDetails.FirstName}" label="First Name"/>

             <lightning:input aura:id="conln" value="{!v.ConDetails.LastName}" label="Last Name"/>

             <lightning:input aura:id="contemail" value="{!v.ConDetails.Email}" label="Email"/>

             <lightning:button aura:id="save" type="save" label="Save record" variant="brand" class="slds-m-top_medium" onclick="{!c.CreateContact}" />


I am having some trouble with NFS, and I'd like to try using just plain old TCP.  I have no idea where to begin, though.  Hardware-wise, I am using an ethernet crossover cable to network two netbooks.  To network them, I type  $ sudo ifconfig eth0 192.168.1.1 up && ping -c 10 -s 10 192.168.1.2 && sudo /etc/init.d/nfs-kernel-server start   on the first netbook and  $ sudo ifconfig eth0 192.168.1.2 up $ ping -c 10 -s 10 192.168.1.1 $ mount /mnt/network1   on the second  where /mnt/network1 is specified in /etc/fstab as  192.168.1.1:/home /mnt/network1 nfs noauto,user,exec,soft,nfsvers=2 0 0  as well as in /etc/exports (using the syntax of that file), on the first netbook.  The above works fine, but the files and directories are huge. The files average about half a gigabyte a piece, and the directories are all between 15 and 50 gigabytes.   I'm using rsync to transfer them, and the command (on 192.168.1.2) is  $ rsync -avxS /mnt/network1 ~/somedir   I'm not sure if there's a way to tweak my NFS settings to handle huge files better, but I'd like to see if running an rsync daemon over plain old TCP works better than rsync over NFS.  So, to reiterate, how do I set up a similar network with TCP?  UPDATE:  So, after a good at few hours of attempting to pull myself out of the morass of my own ignorance (or, as I like to think of it, to pull myself up by my own bootstraps) I came up with some useful facts.  But first of all, what led me on this rabbit trail instead of simply accepting the current best answer was this: nc is an unbelievably cool program that resolutely fails to work for me. I've tried the netcat-openbsd and netcat-traditional packages with no luck whatsoever.  The error I get on the receiving machine (192.168.1.2) is:  me@netbook:~$ nc -q 1 -l -p 32934 | tar xv Can't grab 0.0.0.0:32934 with bind tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors   route gives:  me@netbook:~$ route Kernel IP routing table Destination     Gateway         Genmask         Flags Metric Ref    Use Iface default         dir-615         0.0.0.0         UG    0      0        0 wlan0 link-local      *               255.255.0.0     U     1000   0        0 eth0 192.168.0.0     *               255.255.255.0   U     2      0        0 wlan0 192.168.1.0     *               255.255.255.0   U     0      0        0 eth0   But, here's the good news: having the static IP addresses set in /etc/network/interfaces, which I started doing while trying to get nc working, fixed all my NFS problems and rekindled my love for NFS.  The exact configuration I used (with 192.168.1.1 for the first netbook, of course) was:  auto eth0 iface eth0 inet static address 192.168.1.2 netmask 255.255.255.0   With those settings, the two netbooks will be able to ping each other directly after being booted up, without even an ifup.  Anyway, I'd still really like to see nc in action, so I'm hoping someone help me debug this process.


Recover data from partition overwritten by swap partition

I've just reinstalled Ubuntu, and I chose a partition full of data as a swap area. I didn't realize that the swap area would overwrite my files.  Can I recover my partition or my data now?


how to avoid overlap between randomly placed dots

My question is different from that question. I'd like to randomly draw a number of dots with different colors and sizes, for example, 50 dots, 60 dots... It will be better if these dots can distribute in a circle.      \documentclass{article}     \usepackage{tikz,pgfmath}     \begin{document}     \thispagestyle{empty}     \begin{pgfpicture}     \pgfmathdeclarerandomlist{color}{{red}{blue}{green}{yellow}{white}}     \foreach \a in {1,...,50}{     \pgfmathrandominteger{\x}{1}{200}     \pgfmathrandominteger{\y}{1}{200}     \pgfmathrandominteger{\r}{5}{10}     \pgfmathrandomitem{\c}{color}     \pgfpathcircle{\pgfpoint{+\x pt}{+\y pt}}{+\r pt}     \color{\c!40!white}     \pgfsetstrokecolor{\c!80!black}     \pgfusepath{stroke, fill}     }     \end{pgfpicture}     \end{document}    Example output:


how to know the ie's table is closed but not refreshed

I want to do somethin when users closing my webs.  So I'd done like this:  window.onbeforeunload = function(){     #do something  }   But it's dispoint that I can't know the uers is doing close or not, because it's also can be refresh (like F5); do anybody would like to help me?


Introduction of a hydro/aquaponics Stack Exchange section

I wanted to ask if it would make sense to create a hydroponics specific Stack Exchange site. This could be extended to (automated) farming in general. The idea behind it is that there is a large amount of accumulated knowledge by people active in this area and might have the potential to become a vibrant community.  The questions in this domain may range from the pure growing aspect of plants, all the way to autonomous monitoring systems that employ robotics and integrated software solutions. There are also several different approaches to hydroponics, which would result in a range of different questions.


Dismiss suggested edits which conflict with full edit instead of auto rejecting them

Currently, once an edit by a user without full edit privilege is suggested, it can be either approved or rejected.  There is a known edge case that cause suggested edits to get auto rejected: (aka edit conflict)   User with full edit privilege click "edit" and start typing. Let's name this user Joe. Since the user from previous step did not yet send the edit, users without full edit privilege can still click the "edit" as well, oblivious to the fact someone else is editing the same post in those very seconds. Such user click "edit" too and start typing. Let's name this user Kenny. Kenny is faster than Joe: he send his edit first, creating new suggested edit. Joe is still typing. Joe finally done typing. He send his edit to its merry way oblivious to the consequences. As result of the full edit made by Joe, Kenny's suggested edit is kicked away and rejected. Boom.   This is all known and reported many times.  where the user got it hard with at least two auto rejections in short period of time. Some concrete examples: , , .  For edge case, it became pretty thick edge. This is not just minor hassle: enough rejections, and the user is banned from suggesting for a whole week: and remember we're talking here about good edits made by good users. The above used to count for the ban, but . Thanks Gilles for requesting such a change!   I know it was already suggested to lock edits and similar solutions, but I suggest whole different approach: instead of auto rejecting the suggested edit, dismiss it, i.e. cancel it like it never existed same way a bounty can be revoked by moderator.  In the edit suggestion page it will show "Dismissed" instead of Approved or Rejected maybe with a tooltip explaining what caused this. This will soften the blow from those edge cases, taking the edge out of them. :)


Is there a term for a question that repeats something someone just said, followed by a stressed interrogative pronoun?

Examples:   "She said you were here and saw everything."   "She said WHAT?" "They are going to Swaziland in November."   "They are going WHERE?"   People stress the interrogative pronoun usually because of surprise, indignation, or even doubt about having heard the right word.


How to Set A custum Font to Label in iOS?

i am Newbie in iOS Development. I want to set a custom font to my Label. For that, I add my Font.ttf file in my project and add it to info.plist File "Fonts provided by application" My Font Name. Also I check in my Project Build Phases "Copy Bundle Resources" that contain my Font.ttf name but label font are not change please give me solution for it.  Code for it like as  [cell.headLabel setFont:[UIFont fontWithName:@"RobotoCondensed-Bold" size:10.0f]];


I have just installed Lubuntu on a laptop.  I was trying to install it alongside Windows and therefore chose the option for Local Volume control (I think that is correct) and expected that when I booted up I would be presented with a choice between Lubuntu and Windows. But I am not getting a choice.  It goes straight into Lubuntu.  So have I lost my windows files forever or is there a way to get back in Windows and recover my files? Thank you. SJF


How do I get a new question flagged for Migration to Programmers?

According to ,  was removed from the list of migration flag sites. As a normal user, what is the best way for me to indicate a question probably needs to be migrated to Programmers.SE? Additionally, it seems redundant to have the list of topics before the list of SE sites to migrate to, especially when both pages suggest  as a desination. Maybe superuser should be removed from the list of 5 sister sites given that you can flag it as a general hardware/software question on the previous page? It seems silly that the list is limited to the top 5 sites when there are a lot more  that questions might need to be migrated to. For reference, the question in question was this one:


Discrete Structures, Prove by induction: $1+x+x^2+x^3+\dotsb+x^n=\frac{1-x^{n+1}}{1-x}$ assuming $x\neq1$

$1+x+x^2+x^3+\dotsb+x^n=\frac{1-x^{n+1}}{1-x}$, assuming $x\neq1$ I am having a hard time proving by induction on this one. I am getting stuck on trying to prove for $k+1$ (or some variable that proves that it holds true for the next case). I tried to find the base case by plugging in $2$ and $3$ but I feel like I am missing a fundamental part of the problem required to solve it. Sorry for this if this is not the correct way to post things as its my first time! EDIT: - Wow thanks for the help guys! That was incredibly fast.


Failed to load session ''ubuntu'' after Upgrade

I upgraded from 11.04 to 12.04. After closing the computer and trying to login again, it presented me with failed to load session "ubuntu".  What can I do to rectify the problem?


Why can't I comment until I get 50 reputation?

Why does Stack Overflow require a contributor to have 50 reputation points before allowing to comment?  I wanted to answer a problem that many have in Visual Studio with performance but I can't add my comment. I find it not only annoying that I can't contribute.  Why should I come back and try to help others on this site if I'm not allowed to? Doesn't that defeat the purpose of this site?


Regarding the possibility of Closed Timelike Curves

I've been looking a lot at , and how if a theory allows for these curves it doesn't respect causality. I understand that about the curves themselves (Grandfather Paradox), but can't seem to fathom how a theory would allow for such structures, since they seem to be "geometrically" impossible in a spacetime.  To my understanding, CTC are simply worldlines that loop back on themselves, and are therefore closed. The problem comes in when I actually try to picture a CLOSED worldline: If I start at a point in Minkowski Spacespacetime and draw any closed curve, I end up always having a portion of it be spacelike, and therefore the curve is never fully timelike. Meaning It's impossible to draw a CTC.  So my question is, how can a theory allow for such worldlines, since the fundamental principles behind the geometry of spacetime simply prohibit it?


A while back, I read a story in a collection, but I don't remember very much. I know that it was about some missionaries on Mars. Eventually they found a bunch of spheres that apparently have escaped sin by leaving the material world. I don't remember anything else about it. Someone told me that it was in "The Martian Chronicles" by Ray Bradbury, but I checked my copy and couldn't find. I'm pretty sure that it was by Ray Bradbury though. Help would be greatly appreciated.


Geometric progression question. Year less?

Here is the math question.  A 100m cliff erodes by 2/7 of its height each year. (a) What will the height of the cliff be after 10 years?  This is how I worked out the question. 100*(5/7)^10  Which is 3.46m to 2d.p. However my teacher said that it is wrong (to the whole class and also insulted me a bit >_>) and that I didn't follow this formula. Tn = ar^(n-1)  And that I should have done 100(5/7)^9  Which is instead 4.84m to 2d.p.  This doesn't make sense because if you used the formula and the question was  What will the height of the cliff be after 1 year?   100(5/7)^(1-1) =100(5/7)^0 =100  That doesn't make sense at all! Am I right or is the teacher right? ADDITIONALLY my teacher said his answer is an interpretation of the question. Is his answer a valid interpretation of this question? Or is it just incorrect mathematics?  BTW Also my teacher said my answer has no common sense and that I won't be able to do the HSC well if I keep reading questions wrong.


Using sieve filter in ERDAS Imagine and/or ArcGIS for Desktop?

Where can i use a sieve filter for my supervised classification?   Can i do it in Erdas Imagine or in ArcGIS?   I can't find it anywhere.


How can I find and replace only if a match forms a whole word?

My script is:  n="y" while [ "{n}" = "y" ] if [ $n == "n" ]; then   break; fi echo "n is $n" do         read -p "Enter the word to find = " word         read -p "Enter word to replace = " replace         echo "$word n $replace"         #sed -i r.text.bak 's/$word/$replace/g' r.txt         sed -i "s/$word/$replace/g" "test.txt" echo "do you have further replacement? n or y" read temp n=$temp done   My problem is that I am also replacing partial matches. For example, for a line like this:  1.1.1.14 1.1.1.14567   I get this output:  1.1.1.3  1.1.1.3567   but I expected:  1.1.1.3 1.1.1.14567   How can I solve this?


It appears  is no longer accurate. There is no longer a Delete Profile link under Site Settings.  It looks like it changed in the last week or so.  How does one delete unwanted site memberships now?    Below is a screen capture of the Raspberry Pi Stack Exchange. I'm showing membership in the community, with reputation points. I also received a notification today of a badge for being an active member for a year.


Does Enumerable.Where in LINQ-to-objects preserve order?

var source = new List<string> { "A1", "A2", "B1", "B2" }; var filtered = source.Where(s => s.StartsWith("A"));  foreach (var s in filtered)     Console.WriteLine(s);    // outputs first A1 and then A2   It seems like  keeps the original order of elements when used on an ordered IEnumerable (such as a List<T> or T[]). Is this always the case? If yes, where is this documented?


I am holding b1/b2 visa, I have already visited us on business , can I go to US on travel us for attend my friends marriage.


New queue for moderators: questions that appear stuck in close votes review at SO

Suggest to setup a dedicated queue for moderators to review questions that hang in  for more than specified amount of time - say for 5, or 10, or 20 days, or maybe for a month.   For this queue, suggest to have no review limits set (as moderators are expected to be trusted), allowing them to pick the comfortable rate at their discretion. Also I am not sure if  or badges make sense there.   Taking into account absence of review limits, along with the fact that per my observations, moderator vote is binding in the sense that both Close and Leave Open drop the questions off the "main" CV queue, I would expect this to help in handling "long tail" of the CV queue.    Above assumes that moderators are interested in helping community to handle CV queue. This assumption is in turn based on my observations, for example of  being a moderator with fairly respectable 12K+ reviews. Also, I noticed that several dozens of my flags bringing mod attention to particularly tricky cases in CV queue at Programmers were actioned with an impressive consistence (in comparison, other kinds of my flags result in no action from time to time).  For a somewhat similar suggestion, take a look at  - mine is different in that suggested queue is designed to pick and serially present particular kind of troublesome items for mod attention.


How seriously do math PhD/Grad programs take grades in non math courses/overall GPA relative to relevant GPA?

I'm sure this question has been asked before but probably not to the extreme degree of my situation. I am nearing the end of my undergrad experience (Electical Engineering and Mathematics) and I want to at least apply to some solid grad/PhD programs in pure math. The problem is that while I have a top notch GPA in all of my math classes from Calc I to my graduate level real analysis class, I have a very poor GPA in just about every non-math or EE class I ever took. To quantify this more precisely, I get almost all A's with one exception (B+ in abstract algebra) in math classes but I get mostly C's and the occasional B in all of the useless gen-ed classes. For my electrical engineering classes, I also get mostly A's but a few more B's sprinkled in. I also got a "C" in chemistry for whatever that is worth.   I have been fearing that my distaste for the "liberal arts" might greatly restrict my choices for grad school. I'll say that I am at a state school that has a solid reputation for technical (think something along the lines of NC State) studies but is much more focused on the applied side of things. My main interests are in functional analysis and as you might guess from my user name, I really like wavelets. I was thinking about applying to somewhere like Rice, which might be a stretch given my mediocre overall GPA but perhaps with the right recommendations, I might have a chance. Can anyone with some experience in this area tell me if I am living in a fantasy land or if I have a realistic chance?  Edit: Just to make this more clear, lets say hypothetically that my overall GPA was 2.8 but my math GPA was a 3.95 and my EE GPA was a 3.75.  Edit: This question is a little bit different in the sense that my situation is probably more extreme and specific. I was hoping to get some feedback from people who have been in my shoes or known other people in my shoes. While the answers to the other question were somewhat enlightening, I am not a foreigner/ESL and I do not have that excuse for why I did poorly in the humanities.


I'm flying from Singapore to Tel Aviv, Israel and will be transiting in Paris, France for about 2.5 hours via Air France. Do I need to apply transit visa?  Going back time is from Israel to Rome, Italy to Abu Dabhi and Singapore. Do I need to apply visa entering Rome and Abu Dhabi?  By the way, I'm working in Singapore and holding a Philippine passport.


What is the difference between const_iterator and non-const iterator in the C++ STL?

What is the difference between a const_iterator and an iterator and where would you use one over the other?


Prove that a given function is bijective

Let $p$ be a prime number such that $p \equiv 2 \pmod 3$. Prove that the function $f : \mathbb{Z}_p \to \mathbb{Z}_p$, with $f(x) = x^3$ is bijective.  Besides the fact that $p = 3k+2$, for some integer $k$, I haven't figured out anything meaningful yet.  Thank you in advance!


How to convert Binary string to Just Binary?

I want to know how to convert binary string to just binary numbers. For example, there is a data string as "0xC194" I succeeded to get binary string from string through bin(data) format And after, I want to shift a bit using 'data >> 8' But it shows error that data is string which couldn't shift the bit How can I convert binary string to just binaries for shifting bits ? data = "0xC194" data_b = bin(data) print(data_b)              // 0b1100000110010100 data_b = data_b >> 8        print(data_b)              // error


PNG transparency shadow issue for graphics on a coffee mug

After finally figuring out how to apply a transparent PNG only to specific faces of a mesh, I spent forever trying to figure out why I was getting a shadow and finally realized it was because my coffee mug is hollow and a shadow is being cast on the inner wall of the mesh.  Is there a better way to add transparent graphics and logos to solid objects like this?  Ultimately, I want to be able to do this for cars and characters.  Thanks!    EDIT: I do not believe this is a duplicate of those other issues as my problem was a shadow casting onto the interior of a mesh due to the transparency.  I tried both of the solutions shown below and here are the results.  I believe the shrinkwrap mod is the best solution for me right now (thanks @masterj2001), but I will continue to tinker with the other solution (thanks @thibsert) to try to get rid of the lighter background, and I did try all the blending modes in the MixRGB node.


I was reading these 2 interesting articles about dark matter inside the solar system:       But I can't figure if:  A) Dark matter doesn't affect the planetary motion because this can't radiate, and thus has large orbits and then is less dense in the inner region of the galaxies and more dense in the outside regions. Or,  B) Dark matter has equal low density across the galaxy (compared with the higher density of baryonic mass inside the solar system), and simply his effects are only important if we sum all the matter in the vast space between stars.  I'm confused because I tend to think that if the dark matter is in a kind of shell, mainly outside the galaxy, this would help to spread the stars far from the galaxy center instead of contain everything in his relative rotation place. I can't find a distribution graph by the way.  Excuse my simple english and thanks in advance for your help!    Edit: I had heard a wrong idea in some documentaries, or I misinterpreted it, about a greater DM density in the outside region of the galaxies. Thanks to @KyleOman for pointing out DM is denser in the center.


Growth rate of $\max(X_1,\dots, X_n)$ for $X_i$ iid standard nromal

Let $(X_n)_{n\ge 1}$ be a sequence of i.i.d standard normal r.v's. I am trying to show that $$ \frac{\max_{1\le i \le n} X_i}{\sqrt{2\log n}}$$ converges to 1 a.s. Using tail bounds, a common problem to prove is $\limsup_n\frac{X_n}{n}=1$ holds with probability 1. Does the result of interest extend this problem easily or is it something else entirely?


Python on Windows - how to wait for multiple child processes?

How to wait for multiple child processes in Python on Windows, without active wait (polling)? Something like this almost works for me:  proc1 = subprocess.Popen(['python','mytest.py']) proc2 = subprocess.Popen(['python','mytest.py'])     proc1.wait() print "1 finished" proc2.wait() print "2 finished"   The problem is that when proc2 finishes before proc1, the parent process will still wait for proc1. On Unix one would use waitpid(0) in a loop to get the child processes' return codes as they finish - how to achieve something like this in Python on Windows?


How to remove Offers4U Ads from Chrome on Mac

My browser will fill up with offers4u ads whenever I open any shopping website.  I have AdBlocker Plus, I've uninstalled all extensions, but still the ads are coming.  Can anyone solve my problem? This is really making me to not to do online shopping. Please help.


Compare string to List of strings ignoring case using Linq

I am sure this has been asked million of times on this website, but I just can't get it working after 2 hours reading and trying everything I have came up with. This is simple task, but yet so difficult. Basically I am searching for solution that would compare myString to notProductiveList ignoring case. In my current solution if I use youTube instead of YouTube it will fail. Also ToLower() and ToUpper() is not the solution, as I have already read about Turkey Test. Please do not suggest that. I have tried also notProductiveList.Any(x => x.Contains(myString, StringComparison.OrdinalIgnoreCase)) also I have tried another approach with StringComparer. They either do nothing or does not compile. Here is my current code (works but is not able to handle IgnoreCase): using System; using System.Linq; using System.Collections.Generic;  public class Program {     public static void Main(string[] args)     {         List<string> notProductiveList = new List<string> { "YouTube", "BBC" };                  string myString = "Joe Exotic and the Tiger Trade | Trafficked with Mariana van Zeller - YouTube — Mozilla Firefox";                  bool result = notProductiveList.Any(myString.Contains);                  Console.WriteLine(result.ToString());     } }


The sun is a continuous explosion. The reason we cannot hear the sun is because of the vacuum separating us.  If that space was to be filled with air, would the sun be audible?


Probability of a point taken from a certain normal distribution will be greater than a point taken from another?

Let's say I have one point that will be taken randomly from a normal distribution with mean $\mu_1$ and standard deviation $\sigma_1$.  Let's say I have another point that is taken much in the same way from another normal distribution with mean $\mu_2$ and standard deviation $\sigma_2$;.  How can I compute the probability, given $\mu_1$, $\mu_2$, $\sigma_1$, and $\sigma_2$, that my first point will be larger than the second?  I am sort of interested in the reasoning behind an "analytic" answer (or as analytic as you can possibly get with the normal distribution, which isn't that much), but I am more importantly looking for an algorithm of computing this probability, as it will be used in a simulation/model.  Does anyone know where I could get started on reasoning through this?  Note: For actual computation, having a table of values of the % of the curve within a given multiple of the standard deviation is feasible in my situation.


Does correlation assume stationarity of data?

Inter-market analysis is a method of modeling market behavior by means of finding relationships between different markets. Often times, a correlation is computed between two markets, say S&P 500 and 30-Year US treasuries. These computations are more often than not based on price data, which is obvious to everyone that it does not fit the definition of stationary time series.   Possible solutions aside (using returns instead), is the computation of correlation whose data is non-stationary even a valid statistical calculation?  Would you say that such a correlation calculation is somewhat unreliable, or just plain nonsense?


4k@60hz on MBP mid 2015 (intel iris 1536 only) HOW?

Right now i can only do 4k@30hz through the hdmi port. I get "No Signal" when i connect using a mDP to DP cable on the same monitor.  What steps would I take to get 60 Hz @ 4K display?


How to non-interactively install tzdata?

I am building a docker image based on Ubuntu 20.04 and one of the commands is: apt update && apt install -y python3-arrow python3-pip python3-paho-mqtt  As the installation proceeds, I am at some point requested to interactively choose the place I an in, when installing tzdata (which breaks the docker build): (...) Setting up libfakeroot:amd64 (1.24-1) ... Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-2) ... Setting up tzdata (2020d-0ubuntu0.20.04) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline Configuring tzdata ------------------  Please select the geographic area in which you live. Subsequent configuration questions will narrow this down by presenting a list of cities, representing the time zones in which they are located.    1. Africa      4. Australia  7. Atlantic  10. Pacific  13. Etc   2. America     5. Arctic     8. Europe    11. SystemV   3. Antarctica  6. Asia       9. Indian    12. US Geographic area:   Is it possible to force a non-interactive installation of this dependency of one of the installed packages?


I would like to put a phrase like "turn the page" or something on the bottom of a page, preferably on the last line. I may use \vspace{ } with some trial and error. I was wondering if there is a better solution.


Old movie where a submarine is powered by a necklace crystal

As I was a kid, I watched this one movie where I have forgotten most of it, I want to watch that movie again and I am asking for your help. Here's what I remember in as much detail as possible:  A man thought to be dead after an aircraft accident that crashes his plane into the sea was found alive by our protagonists.  An old sub is powered by a glowing necklace crystal from a female character given to her by someone important to her, as you can see from the image below, the necklace is placed in the star spot in a compartment on the floor and the triangle thing starts spinning.   The main characters are looking for some more of these white glowing crystals and in the end, they found a whole cave full of them. Then, finally, the villain tried to use more of these crystals to power up the sub again but none of the chunks fit into the star slot, ending his life.    The time when I watched it but (it is very hazy, I may be wrong): 2002-2006


When flagging duplicates, the auto-posted comment should be capitalized correctly

When flagging a question as duplicate a comment is auto posted on the first one to flag (or vote to close) behalf. Can it please get proper case?        Or in words, make it:     Possible duplicate of ...   Instead of:     possible duplicate of ...


How Deutsche Kuche German bread has 1 year shelf life?

Why does Deutsche Kuche German bread have a 1 year shelf life? How it is achieved without mold developing?


Can I tap a card after I assign it to block?

During the combat phase, after I assign a blocker, can I then tap that blocker for its activated ability? What would happen? For example, say that a 1/1  token equipped with  is assigned to block an attacking 3/1 , but after it's assigned, the Saproling is tapped to prevent one damage to it. Is that legal? Would anything change if the attacking creature had first strike, like ?


I have an installation of wine on my Ubuntu 14.04 (minimal) system (with xfce):  sudo apt-get install --no-install-recommends wine   I wanted to run .NET applications with it. When I use a GUI (File manager) to execute such an application with wine for the first time, a message from wine is displayed telling me that mono is not installed. It then prompts me to install mono for wine. If I proceed, it downloads and installs it and everything works fine, i.e., I can execute .NET applications with wine.  Now, since I want to create an automated install script for various applications (including wine and mono for wine), I was looking for a package that does what I described above, but without the GUI and, more importantly, without user interaction. I found the wine-mono0.0.8 package, which I tried to install:  sudo apt-get install --no-install-recommends wine-mono0.0.8   However, even after it is installed, wine complains that mono for wine is not installed, refusing to run .NET applications. I also tried winetricks (from the package with the same name), but not only did the installation fail - it required user interaction in the setup.  My question now is: Is there an alternative way to install wine for mono (like it does when started in a GUI for the first time), but without the need for user interaction? Alternatively, is there another package like wine-mono0.0.8 which works, i.e., makes wine recognize the mono installation?  Best regards Andreas


Does increasing the magnitude of the pendulum angle cause its time period to be underestimated?

The pendulum equation states that the time period $T=2π\sqrt{l/g}$. This is based on the small angle approximation where we approximate  l  $$\frac{{\rm d}^2 θ}{{\rm d}t^2 }= -\frac{g}{l}\sin θ \approx  -\frac{g}{l} θ.$$ So my question is, since the magnitude of $\sinθ$ is smaller than $θ$, through the approximation will the angular acceleration be larger reality, so its speed is overestimated and the time period smaller than without the small-angle approximation?


How to Filter Emails Forwarded to Gmail Alias?

I have a Google Apps email (me@business.com) set to auto-forward all mail to my personal Gmail (me@gmail.com).  I have added the me@business.com address to my personal Gmail so I can send mail as me@business.com from within my personal email account.  It's a fairly common way to consolidate email accounts.  Here's my problem.  I want me@gmail.com to filter all emails being forwarded from me@business.com and apply the Business label.  So I tried it two different ways:  A) Use an Alias:   me@business.com forward to me+business@gmail.com Create filter "To:me+business@gmail.com" in me@gmail account Have filter apply Business label   B) Use Googlemail.com address:   me@business.com forward to me@googlemail.com Create filter "To:me@googlemail.com" in me@gmail account Have filter apply Business label   However, neither of these filters work.  I've tested it using a third email address, me@yahoo.com.  Whenever I send an email from me@yahoo.com to me@business.com, the email is properly forwarded to me@gmail.com, and I can reply to me@yahoo.com using the me@business.com address.  But Gmail does NOT apply the Business label.  This is case using either filtering method A or B.  But if I send an email from me@yahoo.com DIRECTLY to me+business@gmail.com or me@googlemail.com, the filter works properly and applies the label.  So there must be something going on with the forwarding of me@business.com to me@gmail.com.  Does anyone know how to get this working?


Would it be possible to create a site on climate change?

As climate change is a hot topic in the scientific community nowadays, with broader and broader subtopics, I thought it could be interesting to introduce a Stack Exchange on Climate Change. What do you think of it?


Compute: $\lim_{n \rightarrow \infty}\sqrt{n}(A_{n+1} − A_n)$ where $A_n = \frac{1}{n}(a_1 + a_2 + \cdots + a_n)$

Let $\{a_n\}, {n\geq 1}$, be a sequence of real numbers satisfying $|a_n|\leq 1$ for all $n$. Define  $$A_n = \frac{1}{n}(a_1 + a_2 + \cdots + a_n),$$ for $n\geq 1$. Then find $\displaystyle\lim_{n \rightarrow \infty}\sqrt{n}(A_{n+1} − A_n)$ .    I proceed in this way  $$\lim_{n \rightarrow \infty}\sqrt{n}(A_{n+1} − A_n)=\lim_{n \rightarrow \infty}\sqrt{n}\left[\frac{1}{n+1}(a_1 + a_2 + \cdots + a_n+a_{n+1})-\frac{1}{n}(a_1 + a_2 + \cdots + a_{n})\right]=\lim_{n \rightarrow \infty}\left[{(na_{n+1}-a_1 - a_2 - \cdots - a_n})\frac{1}{\sqrt{n}(n+1)}\right]$$  Please help me to complete from here


How is Logistic Regression related to Logistic Distribution?

We all know that logistic regression is used to calculate probabilities through the logistic function. For a dependent categorical random variable $y$ and a set of $n$ predictors $\textbf{X} = [X_1 \quad X_2 \quad \dots \quad X_n]$ the probability $p$ is  $$p = P(y=1|\textbf{X}) = \frac{1}{1 + e^{-(\alpha + \boldsymbol{\beta}\textbf{X})}}$$  The cdf of the logistic distribution is parameterized by its scale $s$ and location $\mu$  $$F(x) = \frac{1}{1 - e^{-\frac{x - \mu}{s}}}$$  So, for $\textbf{X} = X_1$ it is easy to see that  $$s = \frac{1}{\beta}, \quad \mu = -\alpha s$$  and this way we map the two fashions of the sigmoid curve. However, how does this mapping works when $\textbf{X}$ has more than one predictor? Say $\textbf{X} = [X_1 \quad X_2]$, what I see from a tri-dimensional perspective is depicted in the figure below.    So, $\textbf{s} = [s_1 \quad s_2]$ and $\boldsymbol{\mu} = [\mu_1 \quad \mu_2]$ would become  $$\textbf{s} = \boldsymbol{\beta}^{-1}, \quad \boldsymbol{\mu} = -\alpha\textbf{s}$$  and $p$ would derive from the linear combination of the parameters and the predictors  in $\textbf{X}$. The way the unknown parameters of the logistic regression function relate to the cdf of the logistic distribution is what I am trying to understand here. I would be glad if someone could provide with insights on this matter.


Consider this question:  Where are they (things or people)?  Would the following answer be with (at), without it or either one?  I left them (at) home  I have done a quick Google search and found quotes for both cases, with and without:  This Widow's 4 Kids Were Taken After She Left Them Home Alone. Leaving Your Child Home Alone - KidsHealth Gerry said, "I left them at home." Gerry sat down and turned on the TV set just as Mark would have done.  I read about "home" being an adverb but also know "stay at home moms" for example. So you see I need definite answers.


Looking for a book featuring a soldier/marine travelling to a different time/universe

I picked up a book a year ago and read the summary at the back(part of a series maybe?) at a airport bookshop but had to stop because of my flight was about to depart. I can't remember the author or the title but I liked the plot and premise. Basically, the summary at the back of the book describes a soldier or marine or was it a unit? that was transported to a different reality that has magic/fantasy element in it. I know it's kinda vague but I hope you can help me out. I just found the plot so cool so anything close will be good enough for me.


I'm using putty to connect to my Linux machine. I don't like blue color font since it is not easy to read:   How to change terminal font color?


A complex polynomial with partial derivatives equal to zero is constant.

There is an exercise in Function Theory of One Complex Variable by Greene & Krantz that is very similar to a Proposition in the book, but I am having trouble getting to the conclusion.      Let $f : \mathbb{C} \to \mathbb{C}$ be a polynomial. Suppose further that $$\frac{\partial f}{\partial z} = 0$$   and $$\frac{\partial f}{\partial \bar z} = 0$$    for all $z \in \mathbb{C}$    Prove that $ f \equiv$ constant.    Now, part of the proposition (1.3.2) proves that if $p$ is a polynomial, $$p(z, \bar z) = \sum a_{lm}z^l \bar z^m$$ with $\frac{\partial f}{\partial \bar z} = 0$, then $\frac{\partial ^{l + m}}{\partial z^l \partial \bar z^m}p$ evaluated at zero is $l!m!a_{lm}$.  Is this the constant that $f$ equals? It doesn't seem like I've used the hypothesis, or reached the conclusion!  Maybe I should use the definition of the partial... $$\frac{\partial f}{\partial z} := 1/2 (\frac{\partial }{\partial z} - i \cdot \frac{\partial }{\partial z})f$$  Any hints would be greatly appreciated.


How to select a face (to add a texture) after importing from STL?

Just installed Blender 20 minutes ago (so please be nice!).  After importing an STL, how can I apply a texture?  I'm stuck even trying to select a face.  The help file says which icon to click but not how to get to a screen with that icon on it! Could it be I need to do something with the imported STL before I can add textures? My STL is here:


How can I prove my proficiency in a math subject that I've learned on my own after I graduated?

After I graduated university in an unrelated field, I decided I want to learn a couple of math subjects. So I've gathered the interned resources I could find and I studied them on my own. I've been doing this in order to increase my chances of being accepted to a masters program that would require these as prerequisites.   But how am I to prove in my application that I've been learning these subjects through self study? If it were coding, I could have provided some github projects, but regarding mathematics I find it hard to find some meaningful way to attest that you've covered some area unless you've taken a university degree in that field.


Calling bpy ops fails with context is incorrect

I have a bare bones script that has 2 lines:  import bpy  bpy.ops.mesh.rip()   I've made sure I am in EDIT mode and have edges selected in edge mode. It fails with  RuntimeError: Operator bpy.ops.mesh.rip.poll() failed, context is incorrect   But I've fulfilled all of the context rules in the docs. Anybody?


Does $\big|\sum_{k=1}^na_k\big|\leq\sqrt{n}$ imply the convergence of $\sum_{1}^\infty \frac{a_k}{k}$?

Suppose $\big|\sum_{k=1}^na_k\,\big|\leq\sqrt{n}$ for all $n\geq 1$. Show that $\sum_{1}^\infty \frac{a_k}{k}$ converges.     Summation by part doesn't help. ([Added: Thanks to the comments, I should have made my thought clear so that it would not cause confusion. It is not that "Summation by part doesn't help", but that "I don't see how 'summation by part' might work".]) I tried several convergence tests without any progress. The assumption gives an estimate for the Cesaro mean: $$ \left|\frac{\sum_{k=1}^n a_k}{n}\right|\leq \frac{1}{\sqrt n}. $$ It seems that if I can get $$ a_n\sim \left|\frac{\sum_{k=1}^n a_k}{n}\right| $$ then things will be done since  $$ \sum\frac{1}{\sqrt k \cdot k} $$ converges. How shall I go on?


How can I solve a connection pool problem between ASP.NET and SQL Server?

The last few days we see this error message in our website too much:  "Timeout expired. The timeout period elapsed prior to obtaining a connection from the pool.  This may have occurred because all pooled connections were in use and max pool size was reached."  We have not changed anything in our code in a while. I revised the code to check open connections which didn't close, but found everything to be fine.  How can I solve this?  Do I need to edit this pool?  How can I edit this pool's max number of connections?  What is the recommended value for a high traffic website?    Update: Do I need to edit something in IIS? Update: I found that the number of active connections are anywhere from 15 to 31, and I found that the max allowed number of connections configured in SQL server is more than 3200 connections, is 31 too many or should I edit something in the ASP.NET configration?


I have an 27" iMac (mid-2011) upgraded all the way from Snow Leopard-Lion-Mountain Lion-Mavericks-Yosemite-El Capitan. I am curious abot the new System Font (San Francisco) however I cant find it in any font lists? Not in FontBook either? So where is it?


Unfortunately hard disk of my system is damaged, now I recovered my database. But it cannot be attached again to SQL management studio 2005. The error is:  myfile.mdf is not a primary database file. (SQL server , error 5171)


Lock the formula of a cell, even if the cells it references change

I have this, in D1:  =sum(D3:D)   I want D1 to always be the sum of the rest of column D (D2 is a header)  I sometimes move a row, from eg 8 to 3, and that causes D1 to change to sum(d4:d).    I want D1 to stay as my sum of the column.


Why is Bayes Classifier the ideal classifier?

It is considered the ideal case in which the probability structure underlying the categories is known perfectly.  Why is that with Bayes classifier we achieve the best performance that can be achieved ?  What is the formal proof/explanation for this? As we always use Bayes classifier as a benchmark to compare the performance of all other classifiers.


Unity and Compiz not working in 16.04 LTS after 20180221 update

First at all, I know that this question is duplicate, but I have tried every solution of all the other "compiz/unity issue after upgrading 16.04 LTS" questions with no luck. I have been hours trying things and in the end I have switched to Gnome with metacity to be able to work a bit.  To be honest, I think I have the same problem that this question:    but I can't post a comment there and I can do a new question (weird, isn't it?). I have tried all the things Samvid tried except downgrading Mesa (I have not it installed) and still nothing.  That question remains unsolved and communication finished the 3rd of March, so I wonder if there is any other solution not documented there.  If you need any data of my computer, please ask it. I'll be happy to help.  Thanks in advance.  PS: I suspect that the solution to this bug   is what has broken my current version.  PS 20180313: Not sure if it is because I have applied the answer of N0rbert, but now i have tried (for sixth or seventh time) the "setsid unity" command in a terminal of a metacity session and after rebooting I have Unity and Compiz (with reset values) working again! Thanks a lot


Custom screen / monitor size in Virtualbox

After installing guest additions in Virtualbox, I can now get 1024x768, 1440x1050, 1280x960, 1600x1200 sized displays. However, I seem to remember there being some setting which permitted the display to adapt to whatever size the VM's viewport was. Effectively, that would have allowed one to have Ubuntu displaying odd dimensioned virtual monitors like 1400x800 (which seems to fit pretty well on my Windows 7 desktop).


Let $ (G,\cdot ) $ be a group and let $ a $ be the only element of the group which has order 2. Prove that $ a\cdot x=x\cdot a,\forall x\in G $ .


Where does my devops question belong to?

I've just filed a somewhat broad question on superuser and received feedback saying I was posting off-topic in this forum. Hence my meta question, where would this very question fit in best?  The question:     stackexchange? serverfault? ProWebmasters? WordPress? ...?


Find undetermined coefficients in polynomial quotient and remainder

When a polynomial   $$P(x)=x^4- 6x^3 +16x^2 -25x + 10$$  is divided by another polynomial   $$Q(x)=x^2 - 2x +k,$$  then the remainder is   $$x+a.$$  I have to find the values of $a$ and $k$.   Can somebody tell me shortest way to get these values? Which theorem should be applied here?


I have a small spot of rust on the bottom side of my steel frame's top tube (Columbus Niobium tubing).  It's from abrasion during transport that I didn't notice until it was too late.  The spot is about 2cm x 2cm and most the worn area is white in colour (base coat or primer?) but there's a bit of rust forming in the center.  I'm not ready to get the frame totally repainted so what's the best way to get this patched up?


How can I configure macOS to mimic the double press spacebar function from iOS?

Using iOS I have grown to love double-pressing the spacebar to enter a full stop / period, especially when using a keyboard with my iPad. When I enter " " +  " " I would like the system to output ". " Is there any way I can enable this same option in OS X / macOS?


find a sequence converging to zero but not the element of lp space for every 1<_p<infinity

I am studying functional analysis and I have a problem about finding a sequence converging to zero such that this sequence is not in $l_p$ for every $p$. By $l_p$ I mean $$l_p=\{(x_k)=(x_1,x_12,...):Σ|x_k|^p<\infty\}$$ where $1<p<\infty$. First I thought very simple sequence $i/k$ which converges to zero but then I realized when $p>2$ it is element of $l_p$ space. I thought couple more examples but they did not work either. Can somebody help me out here?  Thanks.


Prove statement with a counter-example: For all sets S, T and V, V ∪ (S ∩ T) = (V ∪ S) ∩ T is false

Title says it all.  Prove the statement is false with a counter-example:  For all sets S, T and V, V ∪ (S ∩ T) = (V ∪ S) ∩ T  Explain thoroughly if possible. I'm new to this


Lighting Question- How do I achieve pictures such as these?

I have a Nikon d5500 and a 55-200mm lens. I'm hoping to get pictures like these for a project- my main hang up is lighting? What sort of equipment should I use and are there any specific angles? Thanks!


Extending a morphism to a finite algebraic field extension

I am trying to understand the proof of Theorem 5.21 in Introduction to Commutative Algebra, and am stuck on the portion underlined in red (note that $$\Sigma := \{(A,f) \mid A \text{ is a subring of $K$ and $f$ is a homomorphism of $A$ into $\Omega$} \}$$ is a partially ordered set: $(A,f) \leq (A', f') \iff A \subset A' \text{ and } f'\mid A=f$).


Hi there, I'm a newbie to ubuntu and just installed ubuntu 20.04 and after the install I noticed that my wifi driver was unrecognized

I was using windows 7 before the update and before the update the driver was working good it was detecting all the WiFi networks but after the update there is a notification which is 'NO WIFI - ADAPTER FOUND'. My WIFI driver model is -07:00.0 Network controller: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n (rev 01) Please help me, I have to attend my classes, so please help me as soon. Thank you!


The curl in cylindrical coordinates is defined:  $$\nabla \times \vec{A}=\left({\frac {1}{\rho }}{\frac {\partial A_{z}}{\partial \varphi }}-{\frac {\partial A_{\varphi }}{\partial z}}\right){\hat {\boldsymbol {\rho }}}+\left({\frac {\partial A_{\rho }}{\partial z}}-{\frac {\partial A_{z}}{\partial \rho }}\right){\hat {\boldsymbol {\varphi }}}{}+{\frac {1}{\rho }}\left({\frac {\partial \left(\rho A_{\varphi }\right)}{\partial \rho }}-{\frac {\partial A_{\rho }}{\partial \varphi }}\right){\hat {\mathbf {z} }}$$  For vector fields of the form $\vec{A}=\frac{k }{\rho}\hat{\varphi}$  (plotted below), $A_z=A_\rho=0$ and $A_\varphi = k\rho^{-1}$, so the resulting field has zero curl. But choosing $k=\frac{\mu_o I}{2\pi}$ results in the correct solution for the magnetic field around a wire:  $$\vec{B}=\frac{\mu_o I}{2\pi R}\hat{\varphi}$$  This field cannot be curl-free because of Maxwell's equations, Ampere's law, etc. So I must have made a mistake somewhere: Why am I calculating this field to be curl-free?


MySQL Performance - Select one row, should I use limit 1?

I'm trying to find out if using "limit 1" would work faster while executing a "select" query on MySQL database with milions of records, like:  SELECT * FROM users where id = 99999;  SELECT * FROM users where id = 99999 LIMIT 1; /* Is it faster? */   I made some tests executing some queries with and without the LIMIT, but the difference between them are really small (using LIMIt has some better speed tho), but I'm not sure if there is any difference between using the "WHERE" in a not indexed column and in an indexed column, if it would have some performance problem or not.  Should I use the "LIMIT 1" in all queries that I want to return only one result even knowing that the "WHERE id = 99999" will return only one row?


How to return the 2 ArrayList that was stored in this method, instead of just printing it in the void?

I just want my checkerOddEven() method to be an ArrayList type instead of void, and I want it to be able to return both Arraylist that was stored inside each variables, so that it will print out exactly like the current output with void method.  this is the output of the current code:   int[] numbers;  public Main(){     numbers = new int[] {1,2,3,4,5,6,7,8,9,10}; }  public boolean oddEven (int number){      if(number%2!=0){         return true;     }     return false;  } public void checkerOddEven (int[] numbers){      ArrayList<Integer> answerOdd = new ArrayList<Integer>();     ArrayList<Integer> answerEven = new ArrayList<Integer>();      for(int number : numbers){         if(oddEven(number)){             answerOdd.add(number);         }         else answerEven.add(number);     }      System.out.println("The Odd numbers are :"+answerOdd);     System.out.println("The Even numbers are :"+answerEven);  }  public static void main(String[] args) {     Main main = new Main();      main.checkerOddEven(main.numbers); }


How to find this integral $\int_{0}^{1}\ln\ln\bigl(1/x+\sqrt{(1/x^2)-1}\,\bigr)dx$

How do I compute this integral ? $$I=\int_{0}^{1}\ln{\left(\ln{\left(\frac{1}{x}+\sqrt{\frac{1}{x^2}-1}\right)}\right)}dx$$  In the math  someone suggests setting $x=\operatorname{sech}(t)$ and that the result immediately follows. I don't agree with it because $$\frac{1}{x}+\sqrt{\frac{1}{x^2}-1}=\frac{e^t+e^{-t}}{2}+\sqrt{\cosh^2{t}-1}=e^t$$ and $$dx=\frac{e^t}{(e^{2t}+1)^2}dt$$ so $$I=\int_{0}^{\infty}\ln(t)\frac{e^{t}}{(e^{2t}+1)^2}dt$$ Thanks for your help.


Prove that entire function satisfying this is constant

This question was part of an assignment which I am trying to solve but couldn't.  Let f be an entire function such that $\frac{f(z) } {z} \in 0$ as $  |z|\to \infty$ . Show that f is constant.  Entire function means that f is holomorohic on all of $\mathbb{C} $ but what result can I use? One can also proceed by assuming that f is not constant. But in this way also I was unable to find a contradiction. Kindly help!!


Are there privacy concerns with the Built-In iSight Camera and LED Indicator?

I was having a discussion with some friends about the built in camera of computer and what you can do with them, and I realized that my macbook has one of those. That got me thinking about how the camera and LED are connected; Are they connected to the same power supply or can they be turned on or off individually?  If it's not connected to the same power supply has Apple said anything to ensure my privacy against anyone looking at me without the LED turning on?


What do you call the frequent conjunction {juxtaposition} of two words?

The statement that I want to make is:     "Impostor syndrome" ... why does this (conjunction of words) sneak into every text I read these days?   What is the right or best expression for "conjunction of words"? In the statement I don't want to refer to the syndrome itself, but rather to the expression. If it was one word instead of two I would want to say     ... why does this word sneak into every text I read these days.   However, writing     ________ why do these two words sneak into every text I read these days.   would miss the point, because it's not these two words that sneak into every text at various location but rather their conjunction.


two admins : can one admin prevent another admin from accessing his/her data?

In case there are two or more admins in ubuntu, can one admin prevent another admin from accessing his/her data ?  Regards.


I have a problem that seems easy to solve, but I'm stuck. I've an array like array[0] = test; array[1] = test; array[2] = test1; array[3] = test1; array[4] = test2; array[5] = test2; array[6] = test3;  and I wish my paintings were like her array[0] = test; array[1] = test1; array[2] = test2; array[3] = test3;  I would like to remove duplicate rows from the tables.


How to collect heap dump for a specific pid from java program

Let say my java application is running with some pid number, I have written the program to get my application pid runtime, now how to collect the heap dump for this pid from my java program. I followed the below link but it will give heap dump for all live objects not specific my pid, Is there a way to collect heap dump for only specific to my pid. Assume I have pid number.


I have 2 models within my blender. i Want to put on my horse model simple jpg texture like on my turtle. Theres any way to do that? Thanks for answers!


How to create a new command for parameters?

I'm using enumitem package, and I often, in my code, have to input parameters as follows: \begin{enumerate}[topsep=0.1cm, itemsep=0cm, parsep=0cm, label=(\roman*)] \item \end{enumerate}  I tried to quicken this by defining the command: \newcommand{\EnumParams}{topsep=0.1cm, itemsep=0cm, parsep=0cm, label=(\roman*)}  However, when I run the following, error is shown. \begin{enumerate}[\EnumParams] \item \end{enumerate}  Can you tell why this crahes? And what might be a solution?  I also tried defining: \newcommand{\EnumParams}{\ItemSep, \ParSep, \TopSep, \Label} \newcommand{\ItemSep}{itemsep=0cm} \newcommand{\ParSep}{parsep=0cm} \newcommand{\TopSep}{topsep=0.1cm} \newcommand{\Label}{label=(\roman*)}  But this also shows error.


Should I have a Joint account with spouse?

We have been married for almost 10 years, and have a stable, happy relationship. Both of us were working and living independently before getting married, and we continued the arrangement after marriage. In other words, we do not have a joint account for household expenses. We (more or less) have a division of household expenses, and I can see from credit reports that we are current on everything. I do not have a problem with how my spouse spends money and afaik, the feeling is mutual. I do not have any access to my spouse's money and vice-versa.  Is there any compelling reason to have a joint account for household expenses? We are in the US, if that matters.  If our relationship turns terrible, I think I will be OK to divorce without any financial entanglements.


How to replicate MySql database between two 2012 server

I am setting up a disaster recovery strategy for two 2012 servers DB1 and DB2 in one location and may be later I plan to set them in different locations, I want DB2 to take control incase of of DB1 failure. They are installed with MySql 5.5 database application and for now DB2 has no data.  How can can I replicate and synch these two servers? and create backups from DB2?


Why is for (int i = 0; i + 9 < s.length(); i++) much faster than for (int i = 0; i < s.length()-9; i++) {

s is a string with a length of up to 100000 characters. When I run the first loop: for (int i = 0; i + 9 < s.length(); i++) I get a runtime of 14ms for a test set. When I run the second loop instead of the first: for (int i = 0; i < s.length() - 9; i++) it consistently takes about 2 times more (28ms) than the first loop for the same test set. Does the structure of the first loop allow for some kind of optimization?


How to account for direction of wave propagation in the wave function?

The wave function (this is the wave function in mechanical waves. It is not the wave equation, which is derived from this wave function. Neither is this the wave function for quantum mechanics!) is given as:  \begin{align} y(x,t)&=A\cos(kx \pm \omega t + \phi)  \end{align} (where $k$ is the wavenumber, $x$ is the position, $A$ is the amplitude, $\omega$ is the angular frequency, $t$ is the time, and $\phi$ is the phase difference)  From my knowledge, the $\pm$ in front of $\omega t$ is to account for wave direction. However, mathematically, I am unable to intuitively understand or even picture why this $\pm$ sign in front of $\omega t$ (which accounts for the time dependency of the wave function) should account for direction. Hence, may I know the connection between this $\pm$ sign and the direction of the wave propagation? Thank you!


I want to plot the integral of sin(x^2) in pgfplots

i want to plot the integral of y=sin(x^2) in pgfplots but dont know what to put inside  the ''{ }''. This is because its a prety hard function to integrate. Can someone help me!


How to recover NTFS partitions after Installing Ubuntu

Usually I install Ubuntu Alongside windows , this time I decide to make Ubuntu the main system so I choose erase disk blah blah option which has a description say "It will delete my documents , photos , videos and the windows system" in installation screen , After Ubuntu successfully installed I found my NTFS partitions [C:,D:,E:,F:] Deleted I know this question is duplicated , but I really don't know how to recover it Also TestDisk is not available choice ; Because I'm not going to buy a new hardDisk to recover files on it  Please I beg you guys, about 200GB of my work and 80GB of programs deleted


What is the Difference between Lorentz Invariant and Lorentz Covariant?

Like my title, I sometimes see that my books says something is Lorentz invariant or Lorentz covariant. What's the difference between these two transformation properties? Or are they just the same thing? If they are different, is there a term called "Lorentz contravariant" like tensors?


If a linear operator T makes a vector zero, a product of linear operators containing T makes that vector zero. Why?

I am reading a linear algebra book and I don't understand some part of it. The chapter is about diagonalization of linear operators.I state what is exactly in the book:    Let $T$ be a diagonizable linear operator and let $c_1,...,c_k$ be the distinct characteristic values of $T$. Then it is easy to see that the minimal polynomial fot $T$ is the polynomial $$p=(x-c_1)...(x-c_k).$$ If $\alpha$ is a characteristic vector, then one of the operators $T-c_1I,...,T-c_kI$ sends $\alpha$ into $0$. Therefore $$(T-c_1I)...(T-c_kI)\alpha=0$$ for every characteristic vector $\alpha$.  Please explain why the last claim is true i.e. $(T-c_1I)...(T-c_kI)\alpha=0$ for every characteristic vector $\alpha$.  ---------------------------------------EDIT-------------------------------------  I got my answer. My answer is the duplicate of  and the answer is the commutativity of the operators (T-c_kI).


How do you use texture to be spiraled or circular?

If I add texture of just a horizontal or vertical pattern, then how do I manipulate it to be circular, like the top of toilet paper?


How do I calculate a probability to encounter a pattern of numbers in a numbers list?

Imagine you have an array of integer numbers. You need to calculate the probability of encountering some integer sub-array in that list.   For example:   the original list: '1284726437594563495834905834095845634853' which is N integers from 0 to 9.  the question is: what is the probability to encounter '456', order is significant, in that big data set?  my considerations: The are N-2 possible sets of 3 numbers in big list. Each has (1/10)^3 variants. With order significant we need one of them, but any place of the pattern would match. So we have   (1/10)^3 * (N-2)   In case order is not significant, there are n! possible permutations for n items. Thus the formula is   (1/10)^3 * 3! * (N-2)   Am I right?   UPDATE: The digits are distributed randomly, i.e. a possibilities of them are equal. The list is some sequence of these random digits. By "encounter" I mean to have at least one '456' sequence in the given data set.   Looks like my considerations were wrong. Here is a corrected version: A probability to meet at least one sub-array '456':  A probability not to meet any is (1 - (1/10)^3) ^ (N-2), so probability to meet one is   1 - (1 - (1/10)^3) ^ (N-2)   A most probable number of patterns to meet is  (N-2) * 1/10^3


In my Page Layout I am using one section calling a Visualforce Page. In Inner Visualforce Page I am not getting the URL parameter. How to get the parameter?  For example:         In Inner section of the Visualforce page, in the Apex class I am calling   Apexpages.currentpage.getParameter('RUN')   But I'm getting a NULL Value. How to get the URL parameter in Inner section of  Visualforce page.  Thanks!


What year is it in Spider-Man: Homecoming?

"Avengers" took place in 2012. The start of "Spider-Man: Homecoming" was right after the Battle of New York. In "Civil War", in 2016, it's been 8 years since Iron Man was outed as Tony Stark.  Captain America says he was in the ice for 65 years. That means he was iced in 1946.


I'm new to both linear algebra and Matlab, so naturally I'm probably asking an obvious question. If someone could attempt to explain to me in layman's terms how to go about answering this question in Matlab it'd be great, thanks in advance.


How to make a button look pressed after click in C#?

I have a button to select a tool and I want to make it look pressed after the user clicks it. I am using winforms and I do not want to use Check Box with Button Appearance. How can I achieve that?


Novel where a kid learns psychic powers by squeezing little cubes with binary numbers on them?

I recall a novel where a kid learns psychic powers by squeezing little cubes with binary numbers on them?  Does anyone remember this story from my childhood?


I have a 40 chars text String which is written in log files as follows:  0xee, 0x36, 0xe3, 0x57, 0x2b, 0x06, 0x1e, 0x3e, 0x5a, 0x3e, 0xc0, 0x07, 0xab, 0x81, 0xa7, 0x76, 0xa4, 0x27, 0x26, 0x37   I'm able to convert it statically with some functions:  static byte[] rawbytes = toBytes(0xee, 0x36, 0xe3, 0x57, 0x2b, 0x06, 0x1e, 0x3e, 0x5a, 0x3e, 0xc0, 0x07, 0xab, 0x81, 0xa7, 0x76, 0xa4, 0x27, 0x26, 0x37);  public static byte[] toBytes(int... ints) { // helper function     byte[] result = new byte[ints.length];     for (int i = 0; i < ints.length; i++) {         result[i] = (byte) ints[i];     }     return result; }   However the problem is that I cannot find a way to create the byte[] at runtime, starting from the String displayed in the logs. Any help? Thanks


First can somebody explain me the meaning of "Existentialism" in a layman's term. I looked up Wikipedia and some other sites but I am not getting the definition.  In an episode of 'Criminal Minds', a character, Dr. Spencer Reid (a genius with 3 Ph.D's, one in philosophy too) cracks a joke in a classroom which no one gets except one or two, and he himself laugh pretty hard.  JOKE-  "How many existentialists does it take to screw in a lightbulb?  Two. One to change the lightbulb, and one to observe how it symbolizes an incandescent beacon of subjectivity in a netherworld of cosmic nothingness."   Please explain what existentialism is, and what this joke means?


Excel Formula to count unique cells in a range with Condition in another column

I am using the following formula to count the unique values in a range:  =SUMPRODUCT(('Sheet 1'!$E$5:$E$900<>"")/COUNTIF('Sheet 1'!$E$5:$E$900,'Sheet 1'!$E$5:$E$900&""))  This formula is on Sheet 2 and works fine. But now I am trying to add a condition to this which I cannot get to work. Instead of counting all values in Column E, I want to include only the values which have a value in Column M on the same row. If Column M is blank, I do not want to count what is in Column E. Can someone please tell me how I would do that?


Will not having more than 10% disk space available on my hard drive affect performance?

I ask this because many years ago I heard such a thing. I have a 900GB hard drive and I am lingering around 40GB free space. Is this bad, will it harm the drive's health, or will it hurt my system's performance at all?


Why does the magnitude squared of the wave function give us the probability density?

My question doesn't go much beyond the title:  Why does $$\left | \psi \left ( x,t \right ) \right |^{2}$$ give us the probability density of something appearing at a certain location?  I understand that $$\left | \psi \left ( x,t \right ) \right |^{2} =  \psi \left ( x,t \right )^{*}\psi \left ( x,t \right )  $$ where $\psi \left ( x,t \right )^{*}$ is the complex conjugate, but I still don't understand how multiplying these two variants of the wave equation gives us a probability of a location.


I have a problem with hibernate. Issue: Error creating bean with name 'emf' defined in ServletContext resource [/WEB-INF/spring/appServlet/servlet-context.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.hibernate.cfg.Environment.verifyProperties(Ljava/util/Map;)V  It's xml file (servlet-context):  And, I have only one dependency from hibernate:  <dependency>     <groupId>org.hibernate</groupId>     <artifactId>hibernate-entitymanager</artifactId>     <version>5.2.4.Final</version> </dependency>   In classpath, tried add all packages, have the same effect  Full stack trace:


Can I initialize an array with conditionals?

I think thats my question? Basically this code won't work no matter how many ways I try it. The state won't set to the given array.   if(difficulty == "easy")  {     state= new int[] {1,3,4,8,6,2,7,0,5};     blankTile = 7;     Node start = new Node(difficulty,state,blankTile);     openList.add(start);  }  else if(difficulty == "medium")  {     state= new int[] {2,8,1,0,4,3,7,6,5};     blankTile = 3;     Node start = new Node(difficulty,state,blankTile);     openList.add(start);  }  else if(difficulty == "hard")  {     state= new int[] {2,8,1,4,6,3,0,7,5};     blankTile = 6;     Node start = new Node(difficulty,state,blankTile);     openList.add(start);   }  else if(difficulty == "worst"){       state= new int[] {5,6,7,4,0,8,3,2,1};     blankTile = 4;     Node start = new Node(difficulty,state,blankTile);     openList.add(start);  }   I had this in the constructor of Node at first, where I would just pass in difficulty and it would set the state and blankTile in the constructor. but that wasn't working either. Would somebody be kind enough to help me?


What does acting as a "co-author" entail, and how common is it for first year undergraduate students to be added as co-authors to a paper being prepared by a professor?


I have two submit buttons, a back submit button and a next submit button, when the user is in a text input and press enter, it takes them backwards... I think this is because enter evokes the back submit button instead of the next submit button.  <form action="" method="post">      <input type="submit" name="GOTO1" value="back" />      <input type="text" name="value1" />      <input type="submit" name="GOTO3" value="next" />  </form>   So when you are instead of the text field, and press enter it executes the first submit button, how can I change that...


Why does the Archipack add-on add a black wall to my scene when trying to add a window?

I was using Blender 2.82a's Archipack add on, and whenever I try to add in a window to my scene in Blender, it comes up with a black wall looking thing, and a search bar, and I can't do anything to my scene once it is there. And I don't know what to type into the search bar. What am I supposed to do with it?


How do I know I have the correct exposure when shooting in manual mode?

I have a Canon XTI which I've been using for a few years now. Most of the time I'm been shooting in one of the "semi-manual" modes like aperture priority or shutter priority, but now I'd like to try using full manual mode. I should have a new EF-S 17-55 f/2.8 delivered when I get home today. Before I was using a variable aperture Sigma 17-70 which made manual mode more difficult with the aperture changing arbitrarily.  I understand the effect of changing aperture and shutter speed, but right now I'm accustomed  to only controlling one at a time. The camera is usually setting the other to get the right exposure automatically for me. So if I'm controlling both how do I know I have the correct exposure? I understand I need to use the metering in my camera but I'm not sure exactly how do do that.   First when should I be using each of the metering modes (Evaluative, Partial, Center weighted, or Spot)? These just change the area of the scene which is metered correct?  How do I know what the meter should read off a specific object? Obviously if I just happen to be shooting a 18% gray wall then it should be at zero, but that can't apply to everything? If I'm shooting a black cat and take a spot meter reading off of the cat then the meter should read less then zero right? But how do I know how much less then zero? Are there rules of thumb I can follow? I've ordered a couple gray cards with my new lens. So experimenting with those should help.  How often should I be changing these settings? Say I'm at a party indoors which is consistently lit. I should be able to set the aperture, shutter speed, and ISO and just forget about it unless the lighting changes correct? Does the same apply to outdoor scenes? I've been hesitant to use manual mode in the past because I felt like I was spending a lot of times messing with settings before each shot. But not I'm realizing that this is really only the case when the lighting changes, or I want a different style of photo such as a different depth of field.  Finally, does exposure change with distance to the subject? For example say I want to take a picture of a statue with correct exposure using a gray card. I'd place the card on the statue, and while being careful not the block the light on the card find the correct exposure by spot metering the card. If I were then to step back 20' to get the whole statue in frame would I still have the correct exposure?


Been trying to this line to parse for a good 20mins, but all attempts have failed:  \beta = $-$0.84, t = $-$2.09, P = 0.04   Could anyone tell me why I'm getting a Missing $ inserted error here?


It was announced in October of 2018, that IBM will acquire Red Hat (RHT) for 190 per share. I have shares of RHT. Current price is in the 180 range. What will happen next?  Will my shares be converted to IBM shares? If so, where can I locate the conversion factor? If not, will I eventually "force sell" at 190? Is there any risk to sitting on the shares, or could it potentially fall apart, falling in price, and I should consider selling now?


Wraping rectangles with text around circle - Illustrator

How to create rectangles with text around circle like the figure below using Illustrator.    Figure taken from here:


Which version of Ubuntu can i install on my imac G5 Power PC.  It has 1 GB RAM, Power PC 1,6 processor, and nVidia GeForce FX 5200.  14.04 Trusty Tahr will be ok?  Thanks


I'm playing Tiny Death Star but have all the available levels and nothing new has come up for months. I'm just collecting money and hit the 6 million Mark but I can't spend it on anything. Am I finished? Is it over? Am I the only one with this problem?