All the textbooks and articles regarding diodes talk about forward bias or reverse bias and break-down voltage. I don't know why the break-down voltage is never related to the forward bias?  I think the same thing could in reality happen in forward biased mode as it can happen in reverse biased mode. If we apply lot more voltage than 0.7 V in forward direction, this is still bad, and it may lead to a break-down condition.


There are several verbs in English meaning "to cause to become [a given color]". Most of these, it seems, end in the suffix "-en". There are other adjectives as well that use "-en" to create causative verbs; "harden" and "fasten" come to mind. The verb meaning "to make brown, tthough, is simply "brown". I can't think of any other verb of this class that uses the bare adjective form without a suffix. Does "brown" have a different history than other causative verbs formed from adjectives? Or why did it, and seemingly only it, retain the adjective form?


Do we use the SD of whole population or SD of just one sample to calculate SE of samples means in central limit theorem?

I'm learning applications on Central Limit Theorem and got really confused with a few points. According to this , the procedure to apply CLT usually goes like this:   So if SD is the population standard deviation, how are we gonna get it?? Isn't the whole population standard deviation what we eventually calculate by applying CLT and analyzing a sample of the whole population? How come the population standard deviation become a prerequisite??   Please tell me this tutorial is wrong.   I think the SD actually refers to the standard deviation of a sample (of some size n), which we can actually get easily. For example:    sample the whole population with a sample size of n (e.g. randomly select 10000 users from the whole population of 10 billions) calculate the mean of the 10000 measurements. calculate SE = SD / sqrt(10000), where SD is the standard deviation of the 10000 measurements, instead of the standard deviation of the whole population of 10 billions.    This explanation would make much more sense.   Any thoughts?


Book about an alien insectoid civilization and their journey from pre-space-travel to the stars?

I'm trying to remember the author and title of a book I read 30 years ago or so, about a race of insectoid aliens and their journey from pre-space-age, to being able to travel between the stars. Kind of a Foundation-scale scope, but just a single book. The perspective jumps by generations throughout the history of this civilization.  I thought it was Brin, or Saberhagen, or Pohl, but I've not been able to find the book listed in any of their bibliographies.  Ring any bells?


What tools are useful to organize a GM's campaign notes?

There are plenty of tools available to organize campaign notes.  I've tried 4x6 cards, files on my computer, notebooks, and more.  I have thought of trying mind mapping software such as , note taking applications like , or even setting up a wiki somewhere.  What tools (electronic or not) have you used that let you keep track of what has already happened in your campaign, including settings, events, NPCs, and PCs, as well as what you are planning for future sessions?


how to find specific file with date range

Is there a way to list all files that have been downloaded in the past 12 hours (or 10 days, or 2 months) without knowing the exact location?  For example, let's say that the system downloaded automatically 1200 files, which are likely in 1 or 2 folders (same hard drive, SDA1), however in this folder there are already 5000 files.  Is there a way from the command line to find out which files where downloaded eg. today and put their names in a txt file? Note that while the files were being downloaded i was working on other files in the same directory, so I am not interested to find out which file(s) was last modified, but more specifically which files where downloaded today.


Caldeira-Leggett Dissipation: frequency shift due to bath coupling

I am trying to understand the . It considers the Lagrangian   $$L = \frac{1}{2} \left(\dot{Q}^2 - \left(\Omega^2-\Delta \Omega^2\right)Q^2\right) - Q \sum_{i} f_iq_i + \sum_{i}\frac{1}{2} \left(\dot{q}^2 - \omega_i^2q^2\right)$$   where $Q$ is the generalised coordinate of the macro variable (an oscillator with natural frequency $\Omega$), $q_i$ are variables related to an array of harmonic oscillators each with natural frequency $\omega_i$.The first term describes the potentail and kinetic energies related to the macro degree of freedom, the second term describes the coupling using constants $f_i$, the third again describes potential and kinetic energies of the array of oscillators,   $$\Delta \Omega^2 = -\sum_i \left( \frac{f_i}{\omega_i} \right)^2$$   is the ad hoc term my first question relates to. The explanation I found goes      the quantity is inserted to cancel the frequency shift    $$\Omega^2 \to \Omega^2 - \sum_{i} \left(\frac{f_i}{\omega_i}\right)^2$$    [...] the shift arises because a static Q displaces the bath oscillators so that $$f_i q_i = - \left(f_i^2 / \omega_i^2\right)Q$$    Substituing these values for the $f_i q_i$ into the potential terms shows that the effective potentail seen by $Q$ would have a "shifted" frequency.   I regretfully do not get it. I tried to get to the equation   $$f_i q_i = - \left(f_i^2 / \omega_i^2\right)Q$$   by considering the equation of motion in equilibrium, without success. Why would $\Omega$ be affected by the coupling? Also from the intuitive point of view, I fail to see how a "pre-load" would affect the natural frequency of a harmonic oscillator. Any hint would be so appreciated.


Thoroughly understand the concepts and formulas in Linear Algebra

In linear algebra(I'm the beginner so far), I feel the concepts and ideas are based on on another, like layer by layer, and there are many relations among the properties.  For example, Matrix Multiplication, AB is essentially the composition of Linear Transformation（$A(Bx)=(AB)x$ to manually define AB) , and Linear Transformation is also from Matrix Equation($Ax=b, T(x)=b=Ax$)，and Matrix Equation is also from Vector Equation($x_1a_1+...+x_na_n=b$ equivalent to $Ax=b$)，and finally Vector Equation is the basic System of Linear Equations.  so Vector Equation could be intuitively understood as Linear System，Matrix Equation is just another formation。 Linear Transformation is fine too，but when it comes to Matrix Algebra， like Inverse Matrix and its properties, it seems very hard to be intuitively understood through the basic System of Linear Equations. It'll be only fine when I admit the manually definition the matrix multiplication from composition of linear transformation. Because as the process moves on, it's more and more like everything is constructed layer by layer, and more and more complicated as it's very hard to try to understand it from the very basic layer (e.g. linear system) intuitively.  I'm not sure whether it's the normal situation, because there are also intersected properties among many 'layers'. Therefore the whole 'knowledge structure' is not very clear in my brain.  And, when I think of the the basic Quadratic Formula in elementary algebra, ， its meaning is just to solve the quadratic equation with one variable, and then it is proved from completing square of $ax^2+bx+c=0$ to find general formation of $x$. But it is still impossible to 'understand thoroughly' from the original equation like how the relation among each variable and coefficient. So when I need to use it, I just refer to the book or prove it myself (assume if I forget)   So will it the same thing as learning the Linear Algebra, like the determinant of matrix,  $\det A = \sum_{j=1}^{n}(-1)^{1+j}a_{1j}\det A_{1j}$. Is it okay that what I need to do is only to know two things,    What it really is.  How to prove it.   (When I use it, just refer to book or prove it, however, prove the determinant takes a little long time). Because this formula ($\det A$) is already impossible to be thoroughly understood from the very basic 'layer' like system of linear equations or even vector equation. I only know, Firstly its meaning is to determine whether a matrix is invertible (because invertible matrix must has $n\times n$ size and has pivot position in each row and no zeros in diagonal entries.), Secondly it's proved from $n\times n$ matrix row reduced to echelon form, then the right-bottom corner must be nonzero, the above formula is just the brief formation of the item in right-bottom corner.  I know this two things,could I say I'm already understand it ?  Because even though I know 1.what is really is and 2.how to prove it, but I'm still not able to remember it when use it.


Why action and reaction forces are not equal while walking on water?

i have seen newton's third law as every action has equal and opposite reactions and they act on different bodies,  my concern is is it only when both the bodies are at rest as while standing on water i m giving a force mg to water and the water should give me back mg keeping me in equilibrium,where m i going wrong.  i understand that its the normal reaction of water that should balance my weight to keep myself in equilibrium but my concern is why the normal reaction is not equal to mg,i understand it very well that as my foot presses water,the water yields,but my query is why all these things happen.


so I am writing a JavaFX program for fun and my main method is throwing this I know it is a null pointer exception but I don't see how to fix it please help and thanks.  Exception in Application start method java.lang.reflect.InvocationTargetException     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389)     at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)     at java.lang.reflect.Method.invoke(Method.java:498)     at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) Caused by: java.lang.RuntimeException: Exception in Application start method     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)     at java.lang.Thread.run(Thread.java:748) Caused by: javafx.fxml.LoadException:  /C:/Users/Benaiah/Desktop/Java/D&D_5e_Characture_Generator/target/classes/GUI.fxml      at javafx.fxml.FXMLLoader.constructLoadException(FXMLLoader.java:2601)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2579)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3214)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3175)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3148)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3124)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3104)     at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3097)     at com.gmail.frazee.benaiah.Main.start(Main.java:13)     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)     at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)     at java.security.AccessController.doPrivileged(Native Method)     at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)     at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)     at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177)     ... 1 more Caused by: java.lang.NullPointerException     at com.gmail.frazee.benaiah.Controller.initialize(Controller.java:23)     at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)     ... 17 more Exception running application com.gmail.frazee.benaiah.Main  Process finished with exit code 1   and this is my Mian class as you can see its very basic so I don't understand why its giving me this from what i have read this should work thanks for any help you give.  package com.gmail.frazee.benaiah;  import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.scene.Parent; import javafx.scene.Scene; import javafx.stage.Stage;  public class Main extends Application {      @Override     public void start(Stage primaryStage) throws Exception{         Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("GUI.fxml"));         primaryStage.setTitle("Hello World");         primaryStage.setScene(new Scene(root, 300, 275));         primaryStage.show();     }       public static void main(String[] args) {         launch(args);     } }


2000s (or earlier) anime movie with a mech powered by holy men, and a bad guy killing his family while pretending to be an idiot

I watched this on the Sci Fi Channel - SYFY UK about 15 years ago. It ended with a giant mech battle. The bad guys' mech was powered by holy men (that chanted to keep it working). The good guys' mech was linked to him and controlled by his mind.  Also the main villain in the giant mech, pretended to be an idiot at the beginning until he poisoned his family so he could become king.


Is there a function similar to mysql_real_escape_string for php's sqlsrv library?

I'm am looking for a function similar to mysql_real_escape_string for the SQLSRV library.  Specifically I'm having difficulties escaping single quotation marks. Instead of escaping with a "\" like in mysql you use a single quote in front of the other single quote as the escape method.  I'm working on coming up with a solution of my own using preg_replace but was just wondering if there was something else out there I was missing.


Reverse (parse the output) of Arrays.toString(int[])

Is there in the JDK or Jakarta Commons (or anywhere else) a method that can parse the output of Arrays.toString, at least for integer arrays?  int[] i = fromString(Arrays.toString(new int[] { 1, 2, 3} );


How can I prove this formula? $\cdots=\sqrt{\frac{e\pi}2}$

I found in the book Escapades Arithmétiques written by Frédéric Laroche this formula:     $$1+\frac 1{1\cdot 3}+\frac 1{1\cdot 3\cdot 5}+\cdots+\frac 1{1+\frac 1{1+\frac 2{1+\frac 3{1+\cdots}}}}=\sqrt{\frac{e\pi}2}.$$   Perhaps in a more explicit way, the first part of this formula is:  $$\sum_{k=0}^\infty \left(\prod_{j=0}^k (2j+1)\right)^{-1}.$$  What I do not like is that this formula (beautiful in my opinion) is written without any proof nor reference.   Do you have an idea on how to prove such a result? Do you know a book that gives the proof of this formula?


I have a question regarding the two QGIS Versions 2 and 3. When I load exactly the same raster file into QGIS 2 and QGIS 3 I get different min/max values, how is this possible? I have used the same coordination system.


Where should I start My Hero Academia manga after season 4?

My Hero Academia just finished its fourth season. I wanted to read its manga ahead. So, where does Season 4 end in the manga so that I can start reading from there?


Set memory allocation for applications in Ubuntu

I have an application running under Ubuntu that tries to consume all available memory. Is there a way to specify and restrict the allocations available for a given application?


I can enter U+0008 (backspace character) into a chat message

I typed . I believe I tab-completed @rumtscho and fully typed @MarthaF (since she doesn't tab complete). However, other people tell me that a Unicode character was inserted into the message; I can't see it:  Originally, I abandoned this bug report for a lack of reproducibility. But on another machine, I can see the character and managed to reproduce it: press tab, then press backspace. It works anywhere in a message, not just in a @-ping. (Actually, it seems that you just need to un-focus the input box; clicking elsewhere then hitting backspace works, too)  First machine is Firefox 12 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts. Greasemonkey is installed, but disabled in the extension manager Second machine is Firefox 10 (Iceweasel) on Debian GNU/Linux AMD64, testing+unstable. No user scripts, Greasemonkey not even installed Third machine (just tested) is Firefox 11 (Iceweasel) on Debian GNU/Linux AMD64. Greasemonkey installed and enabled, and there is a global userscript. Does not happen on Chromium 18.0.1025.151, running on machine #3.  So far, that's all the machines I've tested on, and it happens on all of them. It only happens in chat. Easiest way to produce it is to click on the page background, somewhere outside the text box, to un-focus the text box. Then press backspace. Note that not all browsers will display the character, even if its there (check  to see if yours does)


Passing user variables in a demo class through a method in a different class

The method that I am having trouble with is the "getTotalCost" method.  Each method is as follows:  DemoRoomCarpet  package cnmt.sec01.homeworkassign05;  import javax.swing.JOptionPane;  public class DemoRoomCarpet {     private static double length;     private static double width;     private static double cost;     public static void main(String[] args) {         length = Double.valueOf(JOptionPane.showInputDialog("What is the length of your carpet?"));         width = Double.valueOf(JOptionPane.showInputDialog("What is the width of your carpet?"));         cost = Double.valueOf(JOptionPane.showInputDialog("What is the cost per square foot of carpet?"));          RoomDimension myRoomDim =                  new RoomDimension(length,width);          RoomCarpet myRoomCarpet =                 new RoomCarpet(cost);          myRoomDim.setLength(length);         myRoomDim.setWidth(width);         myRoomCarpet.setCarpetCost(cost);          myRoomCarpet.getTotalCost();          myRoomCarpet.toString();     } }   RoomDimension  package cnmt.sec01.homeworkassign05;  public class RoomDimension {      private double length,                    width;       public RoomDimension(double length, double width)     {         this.length = length;         this.width = width;     }         public RoomDimension(RoomDimension object)        {            length = object.length;            width = object.width;        }       /**      * @return the length      */     public double getLength() {         return length;     }      /**      * @param length the length to set      */     public void setLength(double length) {         this.length = length;     }      /**      * @return the width      */     public double getWidth() {         return width;     }      /**      * @param width the width to set      */     public void setWidth(double width) {         this.width = width;     }      public double getArea()     {         double area = length * width;         return area;     }      public String toString() {         String str = "Length is: " + length + "\nWidth is: " + width + "\nArea is: " + this.getArea();         return str;     } }   and RoomCarpet  package cnmt.sec01.homeworkassign05;  public class RoomCarpet {      private RoomDimension dim;     private double carpetCost;      public RoomCarpet(double carpetCost)     {         this.carpetCost = carpetCost;     }         public RoomCarpet(RoomCarpet object)        {            carpetCost = object.carpetCost;        }      /**      * @return the carpetCost      */     public double getCarpetCost() {         return carpetCost;     }      /**      * @param carpetCost the carpetCost to set      */     public void setCarpetCost(double carpetCost) {         this.carpetCost = carpetCost;     }      public double getTotalCost()     {         double total = dim.getArea() * carpetCost;         return total;     }      public String toString()     {         String str = "Your total cost is " + this.getTotalCost() + " dollars";         return str;     }  }   I feel like the issue is something minor that I am missing, but I could be wrong. Apologies for no comments, but I will add them once I get over this error. Passing the getTotalCost method gives a null pointer exception, but I believe that I passed the user input through it.


"A History of Britain": Why the indefinite article?

There is a movie called .  Why is the indefinite article used? I have always thought in such cases the article must be definite because a country's history (or that of anything else) is something which is ‘one of a kind’. And both movies and articles on the Internet seem to follow this rule:        However, having started looking for information about this I found that in titles there may not be an article, but in the text itself definite article is used:   I have the following questions:   Should I use definite article (the) when referring to history of something?    As for A History of Britain: why is the indefinite article “a” used? Does it mean this is another interpretation of/movie on the British history?


is there any integrated circuit HEX to 7 segment decoder for a common anode 7 SEG display that generates codes to display hex digits from 0 to F as shown in the photo. Thanks


I have a 3 total wire 220 volt service. New oven has 4 wires

How do I wire my new oven with 4 wires, red black white and bare ground to my 240 service with black wire with red stripe, black and a bare ground. Thanks in advance for your help.


Does Python(2.7)'s interactive shell have an equivalent to bash's "!!" (bang bang)?

I'm used to typing !! in bash when I want to reference the last command executed in that shell.  $ ls -la   drwxr-xr-x   4 me  wheel    136 Jan 19  2013 wireshark_stuff   ... (etc) ...   -rw-r--r--   1 me  wheel     11 Mar 13 13:51 old_PS1   $ !! |grep for_something_in_those_results   ls -la |grep for_something_in_those_results   /grep_results   Is there a way to do this in python?  >>> complicated_dict.['long_key_name'][0]   (response)   >>> my_func(!!)    This would get really handy as the interpreter commands become increasingly complicated. Sure, I could just use a plethora of local variables - but sometimes it's handy to just invoke the last thing run...


Can I apply for a Schengen visa from the French embassy if I don’t actually visit France?

I have to travel to Germany soon and there are no dates available at the German consulate for a visa appointment for a month. I was thinking of getting a Schengen visa via the French embassy since that's the only one with dates available. I would be spending 12 or more days in Germany and a couple of days in Switzerland and Spain. Sadly, none of those embassys have dates either.  Is that something I can do or would it land me in trouble?


After installing ubuntu,the internal disk drives are read only

After dual boot of ubuntu with windows 10, the internal drives within PC are read only.How to change it to normal mode because I cannot change any thing to my files?


How do I reverse a list of commits in git?

I have a source tree with git and I need to reverse all my changes that I have done since September, I know the id of the commit, and I can also generate a list of commits that I want to revert with git rev-list, the question is how do I feed that list to git so that it uncommits all of them?  Or if there is a better way to do this I would really appreciate it.


Given a square matrix $A,D\in \Bbb{R}^{n \times n}$ a. $\det(\bigl(\begin{smallmatrix} A & 0 \\ 0 & I \end{smallmatrix} \bigr)\bigr)$ = det(A) (Already done) b. The determinant of a triangular matrix equals to the product of its diagonal entries. (Already done) c. Any real square matrix $A$ may be decomposed as $A = QR$ where $Q$ is an orthogonal matrix (its columns are orthogonal unit vectors meaning $Q^TQ = QQ^T = I$) and $R$ is an upper triangular matrix. If $A$ is invertible, then the factorization is unique. This is called $QR$ decomposition. Prove that  det $(\bigl( \begin{smallmatrix} A & B \\ 0 & D \end{smallmatrix} \bigr)) = \det(A)\cdot \det(D)$ Hint: First prove that $(\bigl( \begin{smallmatrix} A & 0 \\ 0 & D \end{smallmatrix} \bigr)) = \det(A) \cdot \det(D)$ using the fact that $\det(AB) = \det(A)\cdot \det(B)$ (for every two matrices $A$, $B$) and part a and then use the $QR-$decomposition.


Points at which function is continuous is countable intersection of open sets

Let $f$ be a real-valued function defined on $\mathbb{R}$. Show that the set of points at which $f$ is continuous is a countable intersection of open sets.   Not sure where to start on this one... what would be the open sets?


Best route to reach the United States from a Schengen Country

I need to reach the United States from a Schengen Country (I am an Italian Citizen), but as you may know, President Trump has issued a travel ban preventing to enter the US to those who have been in the Schengen area (plus UK and Ireland) in the last 14 days. Please note that I am already fine with visa and the rest of the documentation that I need to show at the US border. To comply with the proclamation, I'm looking for the most convenient place to do this. For convenient I mean that:  the 14-day "quarantine" country admits Italian citizens into its borders;  there is a reliable airlines that does not stop again in the Schengen area while reaching the US (otherwise I would invalidate the 14 days out).  if the place is nice or not too expensive (or both) it would be nice as well, but this is secondary compared to the previous two points.   As for now, I identified Istanbul (Turkey) as I heard that Turkish Airlines is good and I see it has a direct flight to Miami. I was also trying to understand if the Dominican Republic admits Italians into its territory (I'm waiting for an answer from the embassy). Does someone know/has tried other good options?


I am looking for a faster and more accurate way to check a Sequence:  List<int> sequence = new List<int> { 0, 1, 2, 3, 4, 5, 6, 7 … 41}    private bool IsSequential(List<int> sequence) {      int S = sequence[0];     int T = sequence[sequence.Count- 1];      List<int> Possible = Enumerable.Range(S, T).ToList();     List<int> Except = sequence.Except(Possible).ToList();      if (Except.Count == 0)         return true;     else         return false; }   My code returns 1 if the list is the same, I have some sort of count issue?  I wonder if there is a better way to check an integer sequence: 200, 201, 202... and so on.  Some Sequences may be out of sequence: 200, 210, 203, 204... I need to identify this issue.  Thanks


How to prevent memory leaks in the below code? I added "delete sentinel" before return statement. But how to deal with the memory leak of these 2 lines d->next = new ListNode(sum % 10) and d->next = new ListNode(1)  ListNode* addTwoNumbers(ListNode* l1, ListNode* l2) {         ListNode* c1 = l1;         ListNode* c2 = l2;         ListNode* sentinel = new ListNode(0);         ListNode* d = sentinel;         int sum = 0;          while(c1 != NULL || c2 != NULL) {             sum /=10;              if(c1 != NULL){                 sum += c1->val;                 c1 = c1->next;             }              if(c2!= NULL){                 sum += c2->val;                 c2 = c2->next;             }              d->next = new ListNode(sum % 10);             d = d->next;         }              if(sum /10 == 1){                 d->next = new ListNode(1);         }          return sentinel->next;     } };


How to call a java program automatically using a python script?

I am working on a research project that involves dealing with an EEG headset Device. The functional code and logic for the device (Mindwave Neursky EEG Headset) is completely documented in java so I have coded the whole project in java and the GUI is made with JavaFX. But as the research involves some other functionalities such as face data capturing, the other parts of the project ( The ML-based part) are coded in python. Now I need a way to interact with the java program through a python script. Namely, I want something like: When a python program is run, it automatically invokes the java program on my pc to run also.  A simple call just: Run the python code -> Java code automatically runs.  Thanks for any suggestion.


Why is acceleration due to gravity a constant?

I just learned of Newton's law of gravitation and that distance between two bodies is a factor in the gravitational force. My question is if that's true why is the Earth's gravitational acceleration a constant $9.8\mathrm{ms^{-2}}$ as change in force mathematically should mean change in acceleration if you refer to the equation $F=ma$.


Low-graphics mode error in 13.04 with no graphics card

When I try to boot my computer, I get this error:     The system is running in low-graphics mode   Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.   The LIKELY causes like installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space, incorrect installation of graphics card like ATI and Nvidia, incorrect configuration of xorg.conf file while setting up multiple monitors are not what is causing this as   I have No graphics card. No additional drivers. I freed space too. I reinstalled desktop too. I checked lightdm.config too. It already had  greeter-session=unity-greeter  I did this too. sudo apt-get install fglrx  sudo reboot No idea what this does but this was one of the solutions provided. And this too.   sudo apt-get update sudo apt-get -d install --reinstall gdm sudo apt-get remove --purge gdm sudo apt-get install gdm sudo reboot    Now I have no desktop in failsafe mode in ubuntu.  Now what do I do? I HAVE TRIED THE SOLUTIONS PROVIDED FOR . They didn't work.


Rationale for having different rep requirements for uploading images to the chat and the main site

To post an image in a question/answer an user requires at least 10 rep points (see ). To be able to upload an image in the chat, the rep requirements is instead 100 rep point (see ).  Is there any reason to that? I am asking because IF the rationale is to provide more protection inside the chat, the protection is easily circumvented by uploading the image via the question editor, and then copying the link to the chat. Basically, the more restrictive requirement fail to reach its goal - assuming that blocking uploads from new users was indeed the target.  I am not proposing to change that (it doesn't seem worthy the effort) but I was curios to know if this is just a refuse caused by successive changes to the system or if there is actually a different rationale to this that I am missing.  [note: I will remove the double Discussion/Support tag as soon as I can focus if the question has a staff answer - support or will prompt a discussion]


Why weren't Hermione and Ron allowed in The Three Broomsticks? I know they were underage but Hogwarts students went in all the time. So why can't Hermione and Ron go into The Three Broomsticks?


Is there any way to use a USB flash memory drive as computer RAM?

Someone told me that he can improve the computer speed by increasing the size of RAM using a USB flash memory drive. I just want to know how that might be possible.


Let $R$ be commutative ring with no (nonzero) nilpotents. If $f(x) = a_0+a_1x+\cdots+a_nx^n$ is a zero divisor in $R[x]$, how do I show there's an element $b \ne 0$ in $R$ such that $ba_0=ba_1=\cdots=ba_n=0$?


Too simple proof for convergence of $\sum_n a_n b_n$?

My question relates to Chapter 3, Exercise 8 in "Baby Rudin". It states: If $\sum_n a_n$ converges, and if $\{b_n\}$ is monotonic and bounded, prove that $\sum_n a_n b_n$ converges. My attempt would have been: Since $\{b_n\}$ is monotonic and bounded, $\{b_n\}$ converges and it exists $\inf \{b_n\}$ as well as $\sup \{b_n\}$. But then we have $$ \left| \sum_n a_n \inf \{b_n\} \right| \leq \left| \sum_n a_n b_n \right| \leq  \left| \sum_n a_n \sup \{b_n\} \right| \leq \max \left( \left| \sup \{b_n\} \right|, \left| \inf \{b_n \} \right| \right)\varepsilon \leq \tilde{\varepsilon} $$ since $\sum_n a_n$ converges and $\max \left( \left| \sup \{b_n\} \right|, \left| \inf \{b_n \} \right| \right)$ is a finite number. This would imply, by the comparison test, that $\sum_n a_n b_n$ converges as well. $\quad \Box$ But as there was a way longer, more rigorous proof chosen in this , I'm a bit suspicious that my proof is not complete. Am I missing something?  EDIT: Thanks everyone! @hermes: The last part of your proof gave me the following idea. As $\lim_{n \to \infty} b_n = c$ and $\{b_n\}$ is monotonic, couldn't we just set $b_n = c - c_n$ with a monotonically decreasing sequence $\{c_n\}$ which has $\lim_{n \to \infty} c_n = 0$. Then we have $$\sum_n a_n b_n = \underbrace{c \sum_n a_n}_{\text{converges by assumption}} - \underbrace{\sum_n a_n c_n}_{\text{converges by Theorem 3.42}} \leq \varepsilon_1 - \varepsilon_2 = \varepsilon $$ since  Theorem 3.42 Suppose  the partial sums of $\sum_n a_n$ form a bounded space $\quad \checkmark$ $c_0 \geq c_1 \geq c_2 \geq \dots \quad \checkmark$ $\lim_{n \to \infty} c_n = 0 \quad \checkmark$  Then $\sum_n a_n c_n$ converges.  Thus $\sum_n a_n b_n$ converges as well. $\quad \Box$ Now that should hold, I think. So I wouldn't need to go through all the estimates.


When did it become correct to add an “s” to a singular possessive already ending in “‑s”?

According to my grammar book, but at variance to the answer to , the correct singular possessive if a word ends in ‑s is:     James’s car   The grammar book allows exceptions for historical nouns, so the examples in the answer to the above-linked question would pass muster.  However, I’m sure that I learnt at school (which, admittedly, was a while ago) that for a singular (proper) noun ending in ‑s, the apostrophe went after the s and there was no additional s.  I don’t wish to start a flame war on which is correct, though my question doesn't really make sense if my grammar book is wrong!  What I’m curious about is when the change occurred.  :  So my question is when did James’s become the correct form and James’ the incorrect one?


What are two people from the same town called?

We usually use the word 'countryman' or 'countrywoman' for the people who live in the same country. What word do we use for the people living in the same city or town?


How to use Mask to hide a specific object?

In this scene, I want the blue disk to be invisible to the camera, hide the part of text that disk covers while keeping the plane all visible.


Coupling the powerline communication modem for 3 phase line

i recently assigned for the Powerline Communication project for transmission up to 200MBps.the problem occurred when trying to find circuit for coupling between the modem and the powerline cable.is it just connecting the X2 class capacitor?or is there any special linear transformer for coupling purposes?  thanks....


Gravitational field strength to distance graph

Can someone please explain why the graph is linear from the start to the surface?


So I downloaded Wine from the Software Center and it works very well. Unfortunately, the software center does not offer the latest version. My question is; when will the version be bumped to 1.6?


Logging into Windows 10 OpenSSH server with Administrator account and public key

I am unable to log into a Windows 10 OpenSSH Server from a CentOS OpenSSH client via public key. My password is always requested (and is accepted).  I've found many posts about setting the permissions properly on the server side for:   Directory C:\Users\username\.ssh File C:\Users\username\.ssh\authorized_keys   I believe I've done everything required in terms of permissions. But to rule a permissions problem out, I set StrictModes=no on the server as a test and restarted the server. I found that I still must enter my password.  What else might be preventing me from logging in via public key?


Javascript even after bind can't access the variable

I was trying to understand the closure but I was not getting how it can access the variable of a function that no longer exists. So I wrote this.   function foo() {     var from = 'from node';     function func() {         console.log('hello world', from);     }     func(); } foo();   Output   node index.js hello world from node   OK this is also working  Now what if I move the func to global scope  function func() {     console.log('hello world', from); }  function foo() {     var from = 'from node';     func(); } foo();   And it didn't work as I thought. What if I bind the this and then call Like this  function func() {     console.log('hello world', this.from); }  function foo() {     var from = 'from node';     func.bind(this)(); } foo();   According to me, this should work as I have explicitly given it this variable.  But it is still printing undefined which don't understand why.


I'm a noob in php and i'm having a hard time to protect my code against MySQL injection. What my code does is that it fetches the info that has been submitted from a form and then inserts it into database. I don't know where to put the protection. Can anyon eplease help me. Thank you very much. This is my code`       <?php $db_host="localhost";   $db_uname="regina_rainier";     $db_pass="rainier1990";  $db_name="regina_testdatabase";   $url = 'home.php';  $con=@mysql_connect($db_host,$db_uname,$db_pass);   // Check connection if (!$con) { echo "
"; die('Could not connect: ' . mysql_error()); } else{ echo "
"; } mysql_select_db($db_name) or die("cannot find database");  echo "
";    $sql="INSERT INTO costumer (costumer_ID,  first_name, last_name, birth_date, adress,  city, state,  postal_code, country, phone, email_client,username, password, Credit_Card, Credit_CardType)  VALUES  ('$_POST[costumer_ID]',  '$_POST[first_name]', '$_POST[last_name]',     '$_POST[birth_date]', '$_POST[adress]', '$_POST[city]', '$_POST[state]', '$_POST[postal_code]', '$_POST[country]', '$_POST[phone]', '$_POST[email_client]','$_POST[username]', '$_POST[password]','$_POST[Credit_Card]','$_POST[Credit_CardType]');"   echo "
";  if (!mysql_query($sql,$con)) {  echo "
"; die('Error: ' . mysql_error()); } $sql2="INSERT INTO login(password, username, costumer_costumer_ID)  VALUES ('$_POST[username]',  '$_POST[password]', '$_POST[costumer_ID]');"; if(!mysql_query($sql2,$con)){ echo "
"; die ("ERROR: ".mysql_error());  }   if (isset($_REQUEST['email_client'])){  $email = $_REQUEST['email_client'] ; $subject = 'Email Confirmation testing'; $message = 'Greetings'." ". $_REQUEST['first_name'].","."\n"  ."We have received your request."."\n". "Please check if the fields are filled correctly."."\n\n" ."Desired Username: ".$_REQUEST['username']."\n"  ."Desired password is: ".$_REQUEST['password']."\n" ."I.D. number: ".$_REQUEST['costumer_ID']."\n" ."First name: ".$_REQUEST['first_name']."\n" ."Last name: ".$_REQUEST['last_name']."\n" ."Birth date: ".$_REQUEST['birth_date']."\n" ."Adress: ".$_REQUEST['adress']."\n" ."City: ".$_REQUEST['city']."\n" ."Country: ".$_REQUEST['country']."\n" ."Phone: ".$_REQUEST['phone']."\n" ."Email Adress: ".$_REQUEST['email_client']."\n" ."Card Number: ".$_REQUEST['Credit_Card']."\n" ."Card Type:".$_REQUEST['Credit_CardType']."\n" ."\n\n Your account was succesfully created";  ;  $_sender='www.postmasterSPapiesOnlineShopping.com'; mail($email, $subject, $message, "From:" . $_sender );   }     echo"
";  echo " Congratulations, your account was succesfully created.";  mysql_close($con);   echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL='.$url.'">'; ?>


Remove [bracket-shell] tag on Stack Overflow

I created a tag for an application but I made a typo on the name. I created another tag with the correct name  but the mistyped tag  is still around. How can I get it removed?


Reading about  I understood that black holes lose energy over time - which is logical in some way (otherwise they would be there forever and heat death would never technically happen)  But - how exactly does it "evaporate"? What happens when it no longer contains enough mass within it's  ? Does it explode somehow? Transforms into "regular matter"? Simply vanishes over time? Or?


I have this bash script:  #!/bin/sh -eux  . ./.env   What does the second line do?   It seems to be impossible to google such syntax :)


Searching for questions tagged with PHP or MySQL or JavaScript or

If you want to see question related to PHP you just need to type [PHP] in search box, and if you want to see any question which are tag by PHP and MySQL then I can search with [PHP][mysql].  But what if I want to see questions tagged either PHP or MySQL?


What is the cause of java.lang.NullPointerException ? working with apache-Flink

I need to extract text from a bufferImage using tessearct library (tess4j), however function throws a NullPointerException. PS: when I execute the function getImageText() out side the flatMap scope, the function worked perfectly public String getImgText(BufferedImage bufferImage) throws TesseractException {         ITesseract instance = new Tesseract();         try         {             if (instance == null){                 System.out.println("instance is null");             }             String imgText = instance.doOCR(bufferImage);             return imgText;         }         catch (TesseractException e)         {             return "Error while reading image: "+e.getMessage();         }     }  e_stream.flatMap(new FlatMapFunction<BufferedImage, String>() {                 @Override                 public void flatMap(BufferedImage iBuffer, Collector<String> out) throws Exception{                     TextExtraction ocr = new TextExtraction();                     String cv = ocr.getImgText(iBuffer);                     out.collect(cv);                 }             }).print();


A few days ago I turn on my computer and when Linux started, the icons on the desktop look black, I tried reinstalling the desktop, the gnome-shell, updating but nothing happens. I attached a picture with the problem.


How to copy text to the client's clipboard using jQuery?

The workflow is simple:   You click inside a textarea. The text is copied to the client's clipboard. Display notice to the user.   How do you do it?


Does the extradimensional space created by Mordenkainen's Magnificent Mansion count as a separate plane?

You conjure an extradimensional dwelling in range that lasts for the duration   Does this extradimensional space count as a separate plane for effects dependent on the plane a player is on.  For example, take  .     [...] if the target is on a different plane than you, there is a 5 percent chance that the message doesn't arrive.   What about the various planar effects outlined in the Dungeon Master's Guide?  (DMG p. 47)     Creatures on the Astral Plane don't age or suffer from hunger or thirst   (DMG p.61)     As an action, a creature on Limbo can make an Intelligence check to mentally move an object on the plane that it can see within 30 feet of it.


Is there any way to work normally with strings that can conatain "\0"? For example:  std::string a("abc\0def"); std::cout << a.length();   this produces output:   3   I understand that \0 is used in C to signal the end of an array of chars, but I didn't think it would work like this in c++ as well? I haven't been able to find this explained in detail anywhere.


remote action function encountering CPU time out limit exception

CPU time out limit was being hit while processing child records on the inline opportunity visualforce page, to handle this i wrote a remoteActionFunction on the page that invokes controller method that's taking long to process and when i get CPU LIMIT exception in the result, i am invoking javascript call back function that invokes a action function which handles the same code asynchronously(@future).  Question: by setting the timeout (Visualforce.remoting.timeout = 120000;) can't we overcome CPU TIME out limit of 10,000 ms.


Equivalence class of polynomials in abstract algebra

Suppose I have the set of polynomials $P$ in one real variable.   $p(t) = t^3 + 2t^2 + 3t + 5, p ∈ P$.  And I have an equivalence relation $\sim$ on P defined as $a \sim b$ if $a = b + pq$ for some $q \in P$.  How can I show that each equivalence class has a unique representative of a degree less than $3$?


C++ template keyword in template definition

I was reading the code from spdlog(C++ logging library) in github and i come up to the  following template:  template<typename Factory> SPDLOG_INLINE std::shared_ptr<logger> stdout_color_mt(const std::string &logger_name, color_mode mode) {     return Factory::template create<sinks::stdout_color_sink_mt>(logger_name, mode); }   My general understanding of the code is that this will produce a function that will return a smart pointer using the another template called create. My confusion is about the meaning of Factory::template after the return statement.


prove $f(x)f(y)=f(xy), f(1)=1 \iff f(x)=x^k (k\ real)$ for $f:\mathbb{R}^+\to \mathbb{R}^+$   I find $f(a^r)=f(a)^r$ for rational r, but I cannot move to the next step.


Why doesn't regularization solve Deep Neural Nets hunger for data?

An issue I've seen frequently brought up in the context of Neural Networks in general, and Deep Neural Networks in particular, is that they're "data hungry" - that is they don't perform well unless we have a large data set with which to train the network.  My understanding is that this is due to the fact that NNets, especially Deep NNets, have a large number of degrees of freedom. So as a model, a NNet has a very large number of parameters, and if the number of parameters of the model is large relative to the number of training data points, there is an increased tendency to over fit.   But why isn't this issue solved by regularization? As far as I know NNets can use L1 and L2 regularization and also have their own regularization methods like dropout which can reduce the number of parameters in the network.   Can we choose our regularizations methods such that they enforce parsimony and limit the size of the network?     To clarify my thinking: Say we are using a large Deep NNet to try to model our data, but the data set is small and could actually be modeled by a linear model. Then why don't the network weights converge in such a way that one neuron simulates the linear regression and all the others converge to zeros? Why doesn't regularization help with this?


voltage transient protection for MV Motors

What types of transient voltage protection is applied on medium voltage motors and are these types of protection that are applied depended on the type of motor it is e.g Synchronous vs Induction motor?


How many solutions does the equation $x+y+z=17$ have where $x,y,z$ are non negative integers?

I'm not able to understand the solution to this problem. It says selecting $17$ items from a set of $(x,y,z)$ Final answer: $(17+3-1)C17$


I need some help on my terraria world...   So basically I'm trying to contain the corruption and hallow but underground they've spread. I tried to do the three block gap however underground the hallow and corruption merge so there's no where to dig.  I don't particularly want my whole world to be one biome so if anyone has any recommendations could you please comment bellow and tell me what you think. :/


Null-homotopic closed curve in a Jordan domain

If every Jordan curve $J \subset D$ is null-homotopic in a domain $D \subset \mathbb{R}^2$, then is it clear that every closed curve $C \subset D$ is also null-homotopic in $D$?  Apparently the set $\mathbb{R}^2 \setminus C$ is an union of countably many Jordan domains $D_i$, but it's not clear to me that the result for every $\partial D_i$ is enough. What is the right approach?  EDIT: Before you mofos shut down my question with silly down votes I ask to check out the following link   There this question is answered with seemingly simple compactness argument. It would be nice if someone of you can explain why those argument are enough?


I am writing a report divided into parts. I would like to write a short description of each part on the same page as the part headline. When I just write:  \part{Hello} Hello there...   The text "Hello there.." skips to the next page instead of the same.  Can you help me?


Value of momentum of a particle in 1D box prepared in a particular state?

What is the value of momentum of particle in 1D box in state $\sin(10\pi x/a)$? My understanding Standing waves representing particle in 1D box is not an momentum eigenstate so if we measure the momentum of particle in this state we may get any value of momentum which gives a distribution whose expectation value tends to zero. Answer key In the answer key it's given that the value of momentum is 5h/a and -5h/a.If we measure the momentum for this state we may get any of these two values.But is this a wrong reasoning because if these was the case,these should mean that 5h/a and -5h/a are the eigenvalue of the following wavefunction which is clearly not. What is the correct answer?


Why more bandwidth means more bit rate per second?

According to this  ( and some other sources I have found ) more bandwidth on a wire means more bit rates per second...   Can someone try to explain why this is so as simple as possible?   This is all I know so far ( that I was able to learn by myself: )   -> Data is sent through a wire using frequency modulation, meaning, the voltage on the wire changes over time. At the end node, this signal is decoded.   -> A voltage in a specific frequency can be sent over a wire. ( Like a voltage change with a frequency of 5 Hz. ) That will be a sinusoidal signal.   -> To represent a data ( something like 10111001 ), you need to mix up a number of voltages in different frequencies so that it looks something more like:   My exact questions are:   -> Can this be done with any frequencies that is chosen? For example, can I achieve the desired signal with using frequencies between 10 - 20 Herz, OR 50 to 60 Herz? Or do I need specific frequencies?   -> How does the bandwidth ( the frequency range I can use ) affect, how fast the signal goes on the wire? ( the bit rate? )   I am all trying to learn this stuff by myself with not much of an Electrical Engineering background, so if you can try to keep it simple, it would be very helpful.  Also any advise on background info that I require first is much appreciated.


Some answers were provided in this question:     It is clear then, that one can make a custom "breve below" macro. However, is the best way, as of today? That is, are there packages that provide more versatile definitions?


What is the ratio of rational to irrational real numbers?

There exists an infinite amount of rational and irrational numbers. But is there more irrational numbers than rational? And if so can a ratio of one to the other be calculated?


Minecraft 1.14 /give command with multiple NBT tags

I'm making a map in the 1.14 snapshot 19w09a where the player will be in adventure mode and needs to find a key to access the next room. I've been able to run the command successfully with:  /give @p minecraft:lever{CanPlaceOn:["minecraft:gold_block"]} 1   When I wanted to add a name, "Lab Key" I looked up how to add a name to a /give command, but when I added it the text went red and the command wouldn't work. I tried fitting it in a few different ways but that didn't work either.  The extra I used is:  {display:{Name:"Lab Key"}}   and I added it in like:  /give @p minecraft:lever{CanPlaceOn:["minecraft:gold_block"],display:{Name:"Lab Key"}}   Both commands worked on their own (although the lever turned out to not actually be named anything, but the command block accepted it) and I'm wondering if I'm doing something wrong or if it's just the snapshot having redstone updates?


What is approximate error of Pythagorean Theorem vs. Haversine Formula in measuring distances on sphere at various scales?

Many people when first trying to calculate distances between two longitude / latitude pairs  ask if Pythagorean theorem works as an appropriate distance function.  Most often people answer "no, the Pythagorean theorem only works on a 2D Euclidean plane." Rarely, however, do people mention the effect of scale and location on the sphere on how inaccurate the Pythagorean theorem is.  The basic idea being at very small scales, the surface of a sphere looks very much like a plane. At very large scales, it distances along the surface are more curved and therefore the difference between the incorrect Pythagorean Theorem and the correct Haversine Formula is greater.  Does anyone know a formula or rule of thumb that tells you the difference between the two distance measures based on the scale of the distance you are trying to measure?   I think having this explicitly would help in:   explaining why the Pythagorean Theorem isn't perfect; and in letting people who are looking for more "rough" distances know when Pythagoras actually will serve their purposes.


Aliens like giant grasshoppers invade earth, give black people power over whites

I'm looking for a novel that I think was published before 2006; it was a great read.   From what I can remember there was an aggressor alien species that came to earth and put the human race into something like castes to control them. They gave black people power and made whites more like slaves. This alien race were like giant grasshoppers or bugs and could jump high.  There was another friendly alien race that befriended humans; they were very short and might have been a slave race. Humans taught them military tactics and tech, and both these friendly aliens and humans were able to defeat their mutual enemy.


what is the formula to calculate the irreducible fraction series as sum?

I have a series like   sum = 1 + 1/2 + 1/3 + ... ... ... + 1/n   Suppose I know the value of n. so what is the formula to calculate sum?


How to create and send an email to multiple clients

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


For me it´s not really clear, because it´s possible to keep it in singular in German.   which version correct?  The Motor front and the motor rear bearing "has" or "have" been replaced?  Thanks in advance ;)  Kind regards


How can I simulate a ssh session on a client behind a NAT?

Quick question:  How can I simulate a ssh session, that I can use to run commands on a client behind a NAT, that uses only program installed by default on most operating systems (telnet...).  Long version:  I got this problem from this story: a friend of mine got her linux broken. She wasn't able to install anything, and I wanted to run commands on her computer to solve the problem (it's really not practical to say "type this", "what is written ?", "ok, now type this"...). The thing is that she does not have open-ssh-server installed, and she is behind a NAT proxy. Hopefully, I have a server with a public ip.  So I came out with this first solution. On the server side, I run (nc is also named netcat sometimes):  nc -l -p 23456   and on the client side, I run these commands to create a double pipe between netcat and bash. NB : I could use telnet instead of netcat here if netcat is not installed:  mkfifo fifo0 nc <server ip> 23456 < fifo0 | sh > fifo0   Then, I just need to type the commands on the server, and I get the answer directly. However, it does not work well with complex applications such as vim/emacs/screen that needs to run inside a tty. I though that I could use socat to deal with that, but actually I don't really understand how the tty works (I cannot even link a bash session to a tty)... So here is my question: how could I improve (or change) what I did, in order to provide also a working session for application that needs to run in a tty ? I also would like to use the most basic applications as possible, I want to use only the application installed by default on most operating system (debian and ubuntu for example).  EDIT 1 I found a first solution. For now it has one problem: it does not handle the Ctrl-... keys (I need to find a way not to escape these chars I guess), and it needs socat installed (which is not installed by default):  on the server:  socat READLINE,history=/tmp/my_history TCP-LISTEN:23456   on the client:  socat PTY,link=/tmp/socat.pty TCP:185.107.80.185:23456 & sleep 1 && ( setsid bash ) </tmp/socat.pty >/tmp/socat.pty 2>&1   EDIT 2 I found a way to avoid the problem of Ctrl-... keys, by logging using screen (works also with minicom...) on the server. It still has the problem of needing socat installed on the client machine. Here are all the commands:  On the server:  socat PTY,link=/tmp/socat.pty TCP-LISTEN:<server port> & screen /tmp/socat.pty   on the client:  socat PTY,link=/tmp/socat.pty TCP:<server ip>:<server port> sleep 1 && ( setsid bash ) </tmp/socat.pty >/tmp/socat.pty 2>&1   Now, I'm curious if it's possible to do the same thing with just telnet installed.


How to bottle your own homemade salad dressing

I would like to bottle my homemade dressing. The main ingredients are olive oil, balsamic vinegar, honey, lemon and dijon mustard. Once it is bottled, is there a processing time as there is with canning vegetables?


I think I spotted a contradiction in the java official documentation here:   On one hand, it says:     " If the subclass is in the same package as its parent, it also   inherits the package-private members of the parent."   after which, it says:     A subclass does not inherit the private members of its parent class.   Aren't they contradictory statements?  I would think the second statement is correct. Private fields can be accessed only within the class that it defines them (unless we have defined private or protected get accessors in that class). Thank you.


A carpenter has a rectangular board, $x$ feet long and $y$ feet wide, with total area $n = xy $square feet. The board is to be divided into n squares (each 1 foot x 1 foot) by successively cutting a rectangle into two smaller rectangles whose sides are each a whole number of feet. Using strong induction, show that exactly $n -1$ cuts are needed, no matter how the carpenter decides to perform the cuts.  Any help please? I was thinking of maybe trying to write down the possible number of arrangements he can do it but I think it is pointless since it states no matter how it is done.


Apex test coverage for custom metadata type

Question: How can a unit test cover the throw exception part?         List<abc__mdt> settings = [             SELECT DeveloperName, Value__c             FROM Setting__mdt             WHERE DeveloperName = :name         ];          if (settings.isEmpty() || !settings[0].Value__c.isNumeric()) {             String error = 'Custom error message';             throw new ElisaOCServiceException(error);         }


Is there a formula to calculate ISO according to Shutter speed?

Note: This is not a duplicate of "Exposure Triangle things". This is more related to Camera's auto settings i.e. Aperture and human's manual settings i.e. Shutter and ISO and their co-relation.    I am a previous user of Point and Shoot camera (Canon Powershot series) and recently shifted to canon EOS 80D. In Shutter Speed Priority Mode, we adjust Shutter and ISO and camera adjusts the Aperture. Higher the Shutter speed would require higher the ISO, otherwise, the picture would be darker.  I tried to set it in Live View, but sometimes Live View is not accurately understandable in some environments.  Is there a formula to quickly calculate ISO according to shutter speed we set?


Since we know the following:  $\lim_{n\to\infty} 1/n=0$  Can we say that the this holds too:  $\lim_{n\to\infty} n*0=1$?  Thank you!


When using the --help option of a terminal program, a lot of output is produced. It usually starts with Usage: and then a bunch of things and brackets and parentheses. My question is, what doe the brackets/parentheses mean? I believe that anything in between [] is optional, but could somebody explain what the rest means?


Wolfram Alpha says the following series converges, but I can't figure out how to prove it.  $$\sum_{n=1}^{\infty}\frac{\sin(n)+\sqrt{n}}{n^2+5}$$  Can I use a comparison test with a simple harmonic p series, or is there a better way?


Javascript 0 == '0'. Explain this example

I found thoose examples in another thread but I dont get it.   0 == '0'            // true   0 to the left i converted to false(the only number that does that). The right is a non empty string wich converts to true.  So how can  false == true --> true  What have I missed?  Edit: a lot of complaining. I didn't understand my specific case. (And the link on the top is exactly where I have copy and pasted this case from)


i am working LWC for last one year and this one question always comes in my mind, why we need to use "this" notation to access LWC properties. I know this is a global variable in javascript and lwc model works on concept of shadow DOM. Also Only the lwc javascript requires this notation to access it not for the locally defined(with const,let and var) javascript variable. Thanks in advance.


Geometric interpretation of connection forms, torsion forms, curvature forms, etc

I have just begun learning about the , , and  in the context of Riemannian manifolds.  However, I am finding it hard to relate these notions to any sort of geometric intuition.  How can one interpret these differential forms geometrically?  Or at least, what is the motivation for considering such objects?  What sort of information do they provide?  Edit: I should clarify that I think I have somewhat of an intuition for connections, the curvature tensor, and (to a lesser extent) the torsion tensor.  What I am asking about are the connection forms, torsion forms, and curvature forms.


What is the cause of discrete or quantized energy levels in an atom?

I understand how it is that electrons move from one energy state to another, however I've not been able to find anywhere that describes why an atom has any .   Why should an atom of one element have a particular set of energy states and an atom of another element have a different set of energy states?


Publish a Post on a Future Date Automtically

I would like to give my user the ability to publish a post and the post only becomes visible  (like with a published status) when the date hits. I'm using the following code to try and set it to published but on a future date:  $bmt_post = array(     'post_title'    => wp_strip_all_tags( $title ),     'post_content'  => $information,     'post_status'   => 'publish',     'post_category' => array( $cat_ids ),     'post_date_gmt' => $postdate,     'post_date' => $postdate, ); $post_id = wp_insert_post( $bmt_post );   When I do this, the post is already visible even though it's scheduled for a future date. If I remove the 'post_status'   => 'publish' then it creates the post as a draft but then someone would have to go back on the date and change the status from draft to published.  How can I do this so when the user creates the post it's created for the future and only becomes visible when the post_date is the actual date? I know there is a 'post_status'   => 'future' but does that automatically convert to published on that date?


Why does a cockroach not die even after decapitation?

Why does a cockroach not die after its head is cut off?


Category-theoretic limit related to topological limit?

Is there any connection between category-theoretic term 'limit' (=universal cone) over diagram, and topological term 'limit point' of a sequence, function, net...?  To be more precise, is there a category-theoretic setting of some non-trivial topological space such that these different concepts of term 'limit' somehow relate?  This question came to me after I saw (  ) a surprising fact that generalised metric spaces can be seen as categories enriched over preorder $([0,\infty],\leq)$.


Change type of date in html table - php mysql

I need some help with converting the date to dd/mm/YYYY.  I have this code to display my date in a html table from a mysql database  echo "<td>".$zeile['datumFahrt']."</td>";   Can I convert it in this line so the format will be dd/mm/YYYY instead of YYYY/mm/dd?


I want to show $\sqrt{x}$ is uniformly continuous on $[0, \infty)$. I know it is uniformly continuous on $[0,1]$ and I can show it's uniformly cts. on $[1, \infty)$, so if I choose $x=1/2$ and $y\in [1,\infty)$, is it uniformly continuous on $[0,\infty)$?


How to get lines 10 to 100 from a 200 line file into a new file

I have file with 200 lines.  I need to extract lines from 10 to 100 and put them into a new file.  How do you do this in unix/Linux?  What are the possible commands you could use?


Insert list of figures in the table of contents

Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents?  So in the the table of content there will be a line saying List of figures ... 19 for example?


Does a confidence interval for an estimator allow me to evaluate a hypothesis?

Let's suppose I am surveying $n$ democratic citizens about whether they will vote for Candidate A or Candidate B. Let's suppose my survey yields $x$ for Candidate A and $n-x$ for Candidate B, $x \in \Bbb Z_+$. Let $p$ denote the fraction of voters who prefer Candidate A. Let's suppose I estimate $p$ by using $\hat{p} = \frac{x}{n}$. Suppose my variance is $\hat{p}(1-\hat{p})$. Suppose $H_0 : p = 0.5$ and $H_A : p \ne 0.5$.   For $n=400, x = 215$, the estimator $\hat{p} = \frac{43}{80}$ is and a 95% confidence interval of $$\frac{43}{80} - 1.96 \frac{\sqrt{1591}}{1000}<\hat{p} < \frac{43}{80} + 1.96 \frac{\sqrt{1591}}{1000}$$   $$0.48864 < \hat{p} < 0.58656$$  My Question  Does this confidence interval tell me anything about the validity of my null hypothesis? That is, can I decide whether to accept or reject my null hypothesis based on $0.48864 < \hat{p} < 0.58656$?


What's the correct way to share a Juju environment?

I would like to deploy something but I need to be able to have teammates interact with the environment.  How do I do this? Are ssh keys involved?


I get a string from input ,I want to give it a index like the following:  For example:  string Name = "Jack"   There are 5 possibilities :  Jack   = 1,  Alice  = 2, Stiven = 3, Alex   = 4, Katrin = 5   when I get Name from input I want to go through this enum class and get the index of it


If there are universal translators, why are some words/phrases not translated?

In Star Trek, there are universal translators on the ship to make communications between the different species possible.  But there are countless times when Klingons talk in Klingon and English, when Picard quotes French or Latin, when characters say a few lines here or there in some foreign tongue to show they know the language.  Why doesn't the translator translate these phrases, too, if all other languages are instantly translated?


For every odd $n \in \mathbb{N}$ prove that $\phi(n)$ is not equal $2^{32}$

I have a question:  I proved that If $n \in \mathbb{N}$ is an odd number and $\phi(n)$ is a power of $2$ then $n$ is a product of distinct primes.  Now I need to prove that for every odd $n \in \mathbb{N}$ then  $\phi(n) \neq 2^{32}$.  Can someone give me an advice?


I'm trying to find a word that describes a lack of confidence. Something that gives a sense of worthlessness maybe. I've dried looking up in Thesarus.com for similarities to lack of confidence and antonyms to self-worth, but with no luck. Anyone have some ideas?


How can I open up PDFs in Google Drive with the Google Chrome PDF viewer?

I'm in Google Chrome, but when I click on the PDF in Drive, I can only read it in the Drive viewer. I'd like to be able to read it in the normal Chrome viewer.  I know I can download the file and then open it up in the Chrome PDF viewer, but that seems like a workaround.  Is there any way to go straight from the file in Drive to the viewing it in the Chrome PDF viewer?


Why does my baby grind her face into my shoulder?

During episodes of fussiness, my 6-week-old daughter has started grinding her face into my chest or shoulder. She shakes vigorously from side to side like she's trying to burrow out the other side. When this started with my wife's chest, we assumed it was a hunger cue. However, after watching it for a week or two we haven't found any correlation between the grinding behavior and the need to eat or suck. She will facegrind against a shoulder, chest, arm... it doesn't seem to matter (though she always looks quite determined).  Has anyone else here experienced this sort of behavior with an infant? As with most baby issues that come up, my question is what the hell is she trying to tell us?  It's worth noting that she will also swing or bang her head during fussy episodes. Disconcerting though that is, I'm told this is a strange but not uncommon attempt at soothing. Is facegrinding possibly in the same category?


Who would have signed Tom Riddle's permission slip to go to Hogsmeade?  That asked, are there instances in canon showing Tom Riddle in Hogsmeade, or going to Hogsmeade?   As an orphan with no parents or available relatives (I realize Marvolo and Morfin Gaunt were alive during Tom Riddle's Hogwarts days. Or at least most of Riddle's days! But they weren't parents), would the Ministry have given him permission to go to Hogsmeade, or would Headmaster Dippet?   Does canon refer to this particular issue?


How can I boot my other OS automatically when I reboot?

I have both Linux and Windows installed on my computer.  I want to set it up so that that every time I reboot my computer it automatically loads the other OS:    Linux-> (restart) --> Windows Windows-> (restart) --> Linux   How can I do that?


Why are recomended RSA key lengths so high?

I was checking for authoritative sources to back up my recommendation of a minimum RSA key length of 1024 and was shocked to find that NIST 800-56Br1 and FIPS 186-4 both recommend at least 2048 bits with 3072 bits for TOP SECRET data.  I found that other sources have similarly high recommendations based on expected lifetime of the key.  These recommendations seem excessive in light of what I can find about attacks against RSA encryption.  As far as I can find, the most recent attempt to factor RSA numbers was the successful factoring of the 756 bit RSA number.  That was in 2009 and required, roughly, two years of effort with 100 computers and a team of mathematicians.  Those researchers noted that their methods would not scale to significantly larger RSA numbers, so other [and unknown] methods would need to be developed.  Given that each additional bit doubles the number of values, 1024 bits would have $2^{256}$ times as many possible values.  Even given very sparse utilization of that immense field, the effort required to attack a 1024 bit RSA key appears very far outside the reach of current capabilities.  Have I missed some more recent attacks?  I note that some of the recommendations I have found predate the 2009 paper.  Why would cryptanalysts believe that 1024 bit RSA keys would be insufficient when no one had even attacked the 756 bit key, which is vastly easier than 1024?  Can anyone point me to cryptanalytic work that demonstrates the risk to 1024 bit RSA?


I am a (La)TeX newbie and I have found the following graphic in a :   I am quite sure it was generated by LaTeX code since you can select every bit of text in the original file.  I am not asking for complete code (though it would be nice), but some starters e.g. what packages to use and what features of such packages. My initial searches indicate TikZ may be appropriate.


A community project: prove (or disprove) that $\sum_{n\geq 1}\frac{\sin(2^n)}{n}$ is convergent

As the title says, I would like to launch a community project for   proving that the series $$\sum_{n\geq 1}\frac{\sin(2^n)}{n}$$ is   convergent.   An extensive list of considerations follows. The first fact is that the inequality $$ \sum_{n=1}^{N}\sin(2^n)\ll N^{1-\varepsilon}\qquad\text{or}\qquad\sum_{n=1}^{N}e^{2^n i}\ll \frac{N}{\log(N)^{1+\varepsilon}} \tag{1}$$ for some $\varepsilon>0$ is enough to prove the claim by Abel summation. In the same spirit, it is quite common to employ  /  to prove the convergence of $\sum_{n\geq 1}\frac{\sin(n^p)}{n}$. In our case, however, we do not have an additive base of $\mathbb{N}$ made by perfect powers associated with some exponent, hence an additive base of finite order, so the estimation of the exponential sums appearing in the right side of $(1)$ is more difficult. Assuming that for an infinite number of primes $p$ the element $2$ is a generator of $\mathbb{Z}/(p\mathbb{Z})^*$ (Legendre's conjecture), we may probably regard $[1,N]$ as a subset of $\mathbb{Z}/(p\mathbb{Z})$ (for a huge $p$) and prove there is enough cancellation to grant $(1)$. However, Legendre's conjecture seems quite out-of-reach at the moment.  Integral extimations techniques, that turned out to be pretty effective , are almost ineffective here, since $\sin(2^x)$ oscillates too fast, so that there is no reason for expecting that $$ \sum_{n=M+1}^{M+N}\sin(2^n)\approx \int_{M}^{N+M}\sin(2^x)\,dx, $$ so, even if $\lim_{N\to +\infty}\int_{1}^{N}\sin(2^x)\,dx$ is convergent by Dirichlet's test, there is little use of that.  However, the series $g(\xi)=\sum_{n\geq 1}\frac{\sin(2^n\xi)}{n}$ is convergent for almost every $\xi$, since $g\in L^2\left(-\pi,\pi\right)$.  Additionally, the statement there is enough cancellation to ensure $(1)$ appears to be equivalent to (or, at least, a consequence of) the statement the digits $0$ and $1$ in the binary representation of $\pi$ are equidistributed. It is hard to believe that is not the case, and the   $$\pi=\sum_{k\geq 0}\frac{1}{16^k}\left(\frac{4}{8k+1}-\frac{2}{8k+4}-\frac{1}{8k+5}-\frac{1}{8k+6}\right)\tag{2}$$ may provide a way to prove it.


Underlining greek letters with soulutf8 and compiling with LuaLaTeX

I would like to use the features of  and compile a document containing greek letters with LuaLaTeX. However, this approach seems to gobble the letters that I chose for underlining. What can be done?  \documentclass{scrbook}  \usepackage{fontspec} \usepackage{libertine} \usepackage{soulutf8}  \begin{document}  ὦ \ul{Ἀχιλεῦ}, Πηλῆος υἱέ, μέγα φέρτατ’ \ul{Ἀχαιῶν},  \end{document}


Involuntary initial struggle of doing something different

I find people are limited in growth in technology due to them not expanding their skill  despite it not being difficult  so they end up being held back  despite the demand in business and in job marking being in new technology. Technology constantly changes and being valued at corporations is dependent on overcoming ***** steps. This phenomenom can be described by an analogy. If you slowly move your finger up against a balloon, you feel resistance and feel like it is pushing back. You move your hand further still feeling the resistance until it pops and you can move on. These people are really smart and not lazy. The struggle in the first step of learning something new and different and give up. They need to learn to over the *****.  Words I can think of  barrier/friction/glass ceiling/struggle/opposition  Neither describes the face that the friction is just in the beginning. Learning the new thing isn't really hard but the resistance is merely in it being different and new. I guess it is similar to waking up early in the morning or exercising. Initially it is very hard but becomes routine it is easy and become easy.  Two people get given the same task of fishing. One tries to immediately catch  fish with his hands. The other takes his time by making a net. The former could have done the same as it would make fishing so much easier however the friction of doing something different to what his existing methods was, he found to hard .  What do you call (single word or compound word) the initial friction of doing something different or the bias of not wanting to do it because it is different/strange/alien even though it is beneficial once that irrational mental block gets passed. Not a dislike. Almost a phantom resistance but that isn't a recognized phrase. Not a mind block but a mind bubble but that also isn't a recognized phrase


Pressing backspace doesn't open previous page in Firefox

In Firefox on Windows when I press the Backspace key it goes to the previous web page I surfed to.  Why doesn't it work in Ubuntu and what can I change to make it work?


Transit visa for Brussels for Jordanian citizens

I am travelling from UAE to Russia in the coming month.  My flight will halt for about 4 hr at Brussels, there I will take another flight to Russia.    May I know whether I would require transit Visa-on-arrival at Brussels Airport, if for any unexpected reason passengers are asked to disembark the flight?  I am a Jordanian citizen.


Can you explain closures (as they relate to Python)?

I've been reading a lot about closures and I think I understand them, but without clouding the picture for myself and others, I am hoping someone can explain closures as succinctly and clearly as possible.  I'm looking for a simple explanation that might help me understand where and why I would want to use them.


How to get the date in days ago in javascript

So,  I have this  10 Dec, 2019T14:07:21  format of date coming from backend , what I need is to find how many days ago.  like today is 20 , so for todays date it will give 0 days ago.


How can we demonstrate a Swiss Visitor will go home? (appealing Visa refusal)

I know there have been many questions asked about rejected visas. However, every single case is a bit different, and I now need your help to sort something out with the visa.  I'm a Swiss citizen. My fiancé is Egyptian. He wanted to come here in August for a visit for the first time, however he got his Visitor Visa refused. We are now considering doing an appeal, however we're in a very bad position, because my fiancé's final goal would be immigrating to Switzerland in the future. But not this time. This time it was really only about visiting and seeing the country. A few facts:   the reasons the visa was refused were:     The information submitted regarding the justification for the purpose and conditions of the intended stay was not reliable.      Your intention to leave the territory of the member state before the expiry of visa could not be ascertained.  the purpose of the travel was stated on the invitation letter that my mother signed, and were: visiting my family and visiting Switzerland on the invitation letter we also stated the following:   Details of my mom and of my fiancé Period of the trip: from the end of July to the end of August 2015 relationship: family friend since 4 years (we left out the fact that he's my fiancé thinking that it would lead to a direct refusal) guarantee of his return: a short paragraph stating that after the visit he would return to Egypt costs of the trip: we stated that we would offer accommodation in our house and food during the stay, saying that my mom is self funded and has enough money for that (we also brought the bank statement, but it wasn't taken at the time of delivery) Passport copy attached  my fiancé delivered all the papers requested (application form, passport, certificate from Mogamma, identity photo, invitation letter, employment certificate, confirmation of leave approval, bank statement, insurance, round trip flight ticket)   After delivering all the papers, we don't really understand what went wrong.  Anyhow, what happened, happened, and now we want to make an appeal. We read some info online, and found that basically what we need is to show that he has strong ties to his country. Which he doesn't. He has a job, yeah, but he's looking for a new one (in Egypt or in Europe), as the contract is ending. He's not responsible for anyone (such as children) in Egypt. He would like to immigrate in the near future.  So at this point, other than the letter from my mom saying that we guarantee that he would return to the country, we really don't have much.  What could we deliver with the appeal to make them understand that it's really just a visit? Because it is, we're not planning to break the rules and make him stay with an expired visa. We just want him to come, spend some quality time with us in this beautiful country, and then let him go back to Egypt till the next time.


What would be the reason for WinSCP using a ".com" instead of ".exe"?

winscp.com. That's not a domain but an executable on Windows. Why does it use the (I thought) ancient and MS-DOS-era .com executable instead of an .exe, like every other program in the last 30+ years?


How to upgrade Kubuntu from 19.04 to 20.04

I am having issue upgrading my Kubuntu from 19.04 to 20.04. I have tried to find a solution, but nothing seems to be working for me. W test@test:~/Document$ [sudo] password for name:   Checking for a new Ubuntu release Your Ubuntu release is not supported anymore. For upgrade information, please visit: http://www.ubuntu.com/releaseendoflife  Please install all available updates for your release before upgrading.  Can someone help me to upgrade Kubuntu?


Can non-creature permanents have +1/+1 counters?

Say I have a  and  out. I tap the Steel Overseer for his ability to put +1/+1 counters while my Blinkmoth is a creature, and it gains a counter. After my Blinkmoth goes back into a land, does it keep the counter, or does it lose it?


Where do I get this underscore from in Latex?

I have been looking everywhere. Has anyone seen this before?


I often need to select a number of rows from each group in a result set.  For example, I might want to list the 'n' highest or lowest recent order values per customer.  In more complex cases, the number of rows to list might vary per group (defined by an attribute of the grouping/parent record). This part is definitely optional/for extra credit and not intended to dissuade people from answering.  What are the main options for solving these types of problems in SQL Server 2005 and later? What are the main advantages and disadvantages of each method?  AdventureWorks examples (for clarity, optional)   List the five most recent recent transaction dates and IDs from the TransactionHistory table, for each product that starts with a letter from M to R inclusive. Same again, but with n history lines per product, where n is five times the DaysToManufacture Product attribute. Same, for the special case where exactly one history line per product is required (the single most recent entry by TransactionDate, tie-break on TransactionID.


I think this question is already answered anywhere, but I couldn't find a solution with my search terms :/ .  So I got this model and I only want to smooth out the cylinder parts, but not the extruded edges.  So here is my original model, I think it's kinda clear what should be smoothed out, it is supposed to become a rifle scope.    This happens with the normal smooth button, but I already tried it with a Bevel modifier and subdivison surface aswell.    Solution: Edge Split Modifier with Smooth:


If the Big Bang theory suggests that the Universe is "expanding" then what is it expanding INTO?

I am a software engineer and not an astrophysicist but I want to know if anyone is working on sorting out what exists outside the universe?  So what about outside spacetime? what is there? or shall I assume there are infinite galaxies? and even that is not a satisfying answer.  I know this question might get closed soon ... but guys please tell me what is there outside the space as we know it? since childhood I have wondered about this.   Its really a simple question. If we say that we live "inside" a Universe ... then we are objectively saying that there IS something "outside" the universe as well? Am I crazy? What exists there? Is it just empty space? Or what?


I am trying to join a shp and dbf file using the PyQGIS API. The code I'll use is below:  from PyQt4.QtCore import * vector1 = QgsVectorLayer("path to dbf file", "test1", "ogr") id1 = vector1.id() print id1 vector2 = QgsVectorLayer("path to shapefile", "test2", "ogr") id2 = vector2.id() print id2 QgsMapLayerRegistry.instance().addMapLayer(vector1) QgsMapLayerRegistry.instance().addMapLayer(vector2) info = QgsVectorJoinInfo() info.joinFieldIndex = QgsMapLayerRegistry.instance().mapLayer(id1).fieldNameIndex("Id1Column0") # Returns 0 as expected info.joinFieldName = QString(u"Id1Column0") info.joinLayerId = QgsMapLayerRegistry.instance().mapLayer(id1).id() info.targetFieldIndex = QgsMapLayerRegistry.instance().mapLayer(id2).fieldNameIndex("Id2Column0")  # Returns 0 as expected info.targetFieldName = QString(u"Id2Column0") info.memoryCache = True print info.joinFieldIndex #All the following show the correct values print info.joinFieldName print info.joinLayerId print info.targetFieldIndex print info.targetFieldName print info.memoryCache QgsMapLayerRegistry.instance().mapLayer(id2).addJoin(info)   Querying for the respective field names using QgsVectorLayer.attributeDisplayName(0) yields the respective column names as expected.  Yet when I look in the GUI properties, while the join layer is set correctly, the join field is something different and the target field is empty.  Could anyone shed some light on what goes wrong?


Will I be able to use my NTFS data partition in Ubuntu?

My machine is currently running Windows 7. I have 2 partitions: OS (C:) and DATA (D:). I intend to do a native Ubuntu 14.04 install. Assuming I format my Windows OS partition, will I have full access to my D partition in Ubuntu ?


Is $(-1)^{\infty}$ an indeterminate form?

We know that $\lim_{n\to\infty}(-1)^n=(-1)^{\infty}$ doesn't exist. Now take $\lim_{n\to\infty}(-1)^{2n}=(-1)^{\infty}$. This limit exists, because $\lim_{n\to\infty}(-1)^{2n}=\lim_{n\to\infty}((-1)^2)^n=1$. Does this mean that $(-1)^{\infty}$ is an indeterminate form?


What does be it mean in this context and what kind of sentence is this? (grammatically)     There is no one in our society who is not ethnocentric to some degree, no matter how liberal and open-minded he or she might claim to be. People will always find some aspect of another culture distasteful, be it practices, a way of treating or relatives, or simply a food that they cannot manage to get down with a smile.


Can you make a pygame set_mode transparent?

I am trying to make the pygame window background transparent. I want it to show content, but just the background fully transparent. Here is my code so far: import pygame pygame.init()  screen = pygame.display.set_mode((600, 600), flags=pygame.NOFRAME)  If you need more info just ask!


How to install ns2 simulation on Ubuntu 18.04.5

I am trying to install ns2 simulations on ubuntu 18.04.5, But got an error. I was followed this step  E: Unable to locate package ns2


If I accept an answer on my question, remind me I can upvote it as well

If I upvote an answer on my question, I am reminded that I can accept the answer. If I accept an answer on my question, there should be a prompt to upvote the answer.


I am looking for data which shows how time it would take to brute force (or crack by any other method) different sizes of RSA/DSA keys used for a digital signature.    I am looking to use as small a key as possible & hence looking for how long a signature generated by it can be cracked.


Is "iff" considered a real word or just an abbreviation?

I wonder if "iff" is considered a real word (as  says) or is it just an abbreviation (as in )?


How to delete article type in a managed package development org?

We publish an app which is a managed package and contains an article type object in Classic Knowledge. With Lightning Knowledge coming in picture, Lightning knowledge customer upgrades are failing due to an article type existing in our package. What are options for us to immediately avoid this situation as our customers are blocked from upgrades?  Edit: I came across this idea submitted on Salesforce board:, anyone knows of an existing workaround for this?


Each time I have Purchased an airplane ticket (specifically, using a travel agent, though I'm not sure every  time was through one) the bottom of the email confirms of my ticket that I receive says something to the effect of "please make sure to re-confrim 72 hours before departure ".  I have always wondered, with whom do I confirm? How do I confirm? What am I confirming?  Never have I re-confirmed and I have yet to run into issues....


Archiving papers, simulation and experimental data, etc?

Archiving of papers and projects is very important for most of the people, and everyone has a method of it.   I, personally, try to have different folders for different papers. In the folder of each paper, in addition to my manuscript, I keep my simulation files, experimental data, program codes, etc, in different subfolders. Also, I try to keep track of my revisions on the paper, reviewer comments, my response to reviewers in different subfolders. My method has the advantage of all the related material for a paper are together, and I can quickly track the whole process from initial submission to the final proofreading. However, this usually leads to duplicated files.   I work with both my office desktop and my personal Laptop. I transfer my files between these systems by a flash memory. I agree maybe cloud technology is a better choice in this age, but I postponed it because of my poor internet connection at home.  I am curious to know how others approach to archive their works. I also hope to find some methods more efficient than mine, or get some tips to improve my method.  Edit at 2 Apr 13: Thanks to these great answers, it is almost a month that I use Git for my version control. Also, I manage my repositories in the , which gives me unlimited storage for unlimited number of projects.


Email is dropping in spam folder using php mail()

define("WEBMASTER_EMAIL","");
  $from_Email = "garglawfirm@gmail.com";
   //send email to the client...  $subject = "Trademark Registration Request";
 $message = "Hi ".$client_applicantName.",
   Your request for Trademark Registration has been received. We will Proceed it!..  Your Request Id is: ".$lastInserId." and Applicant Type is: ".$client_applicantType." Sent by Garg Law Firm";                  $send = @mail(WEBMASTER_EMAIL, $subject, $message,        "To: ".$client_applicantEmail."\r\n"       ."From: ".$from_Email."\r\n"       ."Return-path: ".$client_applicantEmail."\r\n"       ."MIME-Version: 1.0\r\n"       ."Content-type: text/html; charset=iso-8859-1\r\n");
 if($send){
        echo "";
           }else{
           echo "";
       }


I'm hand-maintaining an HTML document, and I'm looking for a way to automatically insert a link around text in a table. Let me illustrate:

123456

   I would like to automatically make every text in a TD with class "case" a link to that case in our bug tracking system (which, incidentally, is FogBugz).  So I'd like that "123456" to be changed to a link of this form:  123456   Is that possible? I've played with the :before and :after pseudo-elements, but there doesn't seem to be a way to repeat the case number.


What is the difference in this specific breadboard wiring?

As an absolute layperson in electronics I just found out that an LED only lights up when connected like in figure 1 but not when connected like in figure 2. And I just don't get why?  I know an LED is a diode and current can only move through it in one direction, but that's the case in both constructions. I don't see a difference in both constructions.  So why does it obviously make a difference?  figure 1 (battery not depicted):  figure 2 (battery not depicted):


I know unplugging a raspberry without shutting down property is a sin, so what do I do if it's frozen and nothing is responding? I waited about 10 minutes and it's still stuck. Edit: I'm running Ubuntu 20.10 on a Raspberry Pi 4 I was transferring some files to an external hard drive when it froze. The Mouse and keyboard wasn't responding.


Anova() / anova() on a single lme not consistent results - Can you ignore ANOVA?

I am working with the following data:  Fixed effect:   GROUP (each subject only in one group) CONDITION (within subject variable, there are 2 conditions (1) baseline - same for all the groups, and (2) experimental - different for each group) GENDER (of the speaker from the stimuli) GENDER_S (of the subject)   Random Effects:   Subject Item (the audio stimuli)   Response Variable: accent ratings converted to z-scores  Research Question: Will the accent ratings differ between the groups in the experimental condition - and if so, between which? (all the groups listened to the same audio BUT with different visual stimuli)  I have 100 response total per participant = 80 x 100 -> 8000 (40 in one condition and 60 in the other) and model including all these Fixed Effects seems to be the best one based on AIC/BIC (prioritizing BIC in my case), hence in the final model I decided to include both GENDERs.   Since I was first interested only in the group:condition interaction (and which groups differ if any) I used a mixed design ANOVA which showed that it is NOT significant.  I have then moved to LMM, I choose "the best" model which seems to include the genders as well. I tried Anova() on the single model and got SIGNIFICANT group:condition interaction. However, when I did pairwise comparison with glht() and Holm's adjustment there are no significant pairs for group:condition only (averaging on the gender variable). The same happens when I fit a new model with group and condition as the only fixed effect. Also the same outcome even if I use NO adjustment at all.  Any ideas what should one do in a situation like this? Is it OK to ignore ANOVA and use the pairwise comparison since I am interested in which groups differ in the experimental condition (and I need to make sure that they don't in the baseline condition)?


Allow quick categorization of downvotes / hint templates

When a reviewer feels something is off about a question, he/she has two choices:   Flagging the question with a category Downvote and optionally leave a comment   Leaving a comment is encouraged by a message saying something like: 'Please consider adding a comment ...'  However, writing a comment takes time (unless one has a user-script with templates), and I assume many downvotes have common causes, such as:   Mostly off-topic (but not in the off-topic list of reasons in the flags) Badly formatted Badly phrased Answer easily found via search engine, did not read the manual   I think it would be helpful if there was a one-click way of justifying a downvote, possibly adding a auto-generated comment (or an upvote on the same comment category).  Alternatively providing comment templates in the UI, such as these already shared in questions like this (which indicates there is a whole cult about many new posts doing the same mistakes requiring same old comments):


Is there a word for "one who decides (something)"?

"Decider" is not the word I am looking for. It is used only in context of a game. Can anyone help me with a word for "one who decides (something)", in general context?


Convergence of the improper integral $\int_{0}^{\pi/2}\tan^{p}(x) \; dx$

I need help solving this integral: for which values of the parameter $p$ is this improper integral convergent?  $$\int_{0}^{\pi/2}\tan^{p}(x) \; dx$$  Thanks a lot!


Using ML algorithms like decision trees, support vector machines, neural networks for panel data

Someone has already asked  and  on this but no one has answered yet in terms of predictive modelling.  If I have a  of customers, their demographics and their order amount in dollars in a day over a period of time, how would I implement ML models(Neural network or standard ML like decision tree, logistic regression), say to forecast their next  order amount or which specific item they are likely to order or whether they are going to order anything in the next week?  Goal is to create customized engagement campaigns to improve conversion/revenue.


For a long time I have been wondering about the existence of many shells in GNU/Linux. To make the question a bit focused I have used only three shells - bash, dash and zsh.   From wikipedia articles  ,  ,  and other sources arguably, the modern bash seems to be the father of all shells.   There doesn't seem to be any coherent story which shares how all the shells started at various parts of time. Can anybody help out here sharing the motivations of various developers at specific points of time and issue they were trying to solve?


I'm getting a 403 error message with Apache, in Debian Testing.  Apache version:  # aptitude show apache2 | grep -i version Version: 2.4.9-1  # ls -la /home/  total 28 drwxr-xr-x  4 root    root     4096 Apr  3 13:19 . drwxr-xr-x 23 root    root     4096 Apr  4 07:28 .. drwx------  2 root    root    16384 Apr  3 13:13 lost+found drwx--x--x 36 username username  4096 Apr  7 13:30 username  # ls -la /home/username/Development/PHP/foo.dev.com/  total 16 drwx--x--x 4 username username 4096 Apr  3 14:35 . drwx--x--x 6 username username 4096 Apr  3 14:36 .. drwx--x--x 2 username username 4096 Apr  3 14:35 logs drwx--x--x 8 username username 4096 Apr  3 14:35 public_html  # cat /etc/apache2/sites-enabled/dev.com.conf UseCanonicalName Off  <VirtualHost *>     VirtualDocumentRoot "/home/username/Development/PHP/%0/public_html/"     <Directory "/home/username/Development/PHP/%0/public_html/">         Require all granted     </Directory> </VirtualHost>  # cat /var/log/apache2/error.log [Mon Apr 07 14:08:15.069251 2014] [authz_core:error] [pid 8649] [client 127.0.0.1:48578] AH01630: client denied by server configuration: /home/username/Development/PHP/foo.dev.com/public_html/   Firefox, "No proxy for" configuration:     localhost, 127.0.0.1, *.dev.com  # cat /etc/hosts: hosts        hosts.allow  hosts.deny root@username:/home# cat /etc/hosts 127.0.0.1   localhost 127.0.1.1   username.mymachine.local    username  # Custom 127.0.0.1   teste.dev.com  # The following lines are desirable for IPv6 capable hosts ::1     localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters   UPDATE 1:  SELinux does not seems to be installed:  $ aptitude search ~i | grep selinux i   libselinux1                     - SELinux runtime shared libraries   UPDATE 2:  $ ls -la /home/ total 28 drwxr-xr-x  4 root    root     4096 Apr  3 13:19 . drwxr-xr-x 23 root    root     4096 Apr  4 07:28 .. drwx------  2 root    root    16384 Apr  3 13:13 lost+found drwx--xr-x 38 username username  4096 Apr  9 08:26 username