If $T\alpha=c\alpha$, then there is a non-zero linear functional $f$ on $V$ such that $T^{t}f=cf$

I am self-studying Hoffman and Kunze's book Linear Algebra. This is exercise $4$ from page $115$. It is in the section of The transpose of a Linear Transformation.     Let $V$ be a finite-dimensional vector space over the field   $\mathbb{F}$ and let $T$ be a linear operator on $V$. Let $c$  be a   scalar and suppose there is a non-zero vector $\alpha$ in $V$ such   that $T\alpha=c\alpha.$ Prove that there is a non-zero linear   functional $f$ on $V$ such that $T^{t}f=cf.$ ($T^{t}$ is the transpose of $T$.)   I tried to solve this question by induction on $\dim V$. I was able to show the base case, that is, when $\dim V=1$, but I got stuck in the  inductive step. If $\alpha $ is a non-zero vector, then we can find a base $\mathcal{B}=\{\alpha,\alpha_{1},\ldots\alpha_{m}\}$ of $V$. We can write $V=W_{1}\oplus W_{2}$, where $W_{1}=\langle \alpha \rangle$ and $W_{2}=\langle \alpha_{1},\ldots,\alpha_{m}\rangle.$ I can not show that $T(W_{2})\subset W_{2}.$ Anyway, $\alpha \notin W_{2}.$  EDIT: If $T$ is a linear transformation from $V$ to $W$, then $T^{t}$ is the linear transformation from $W^{\star}$ into $V^{\star}$ such that $$(T^{t}f)(\alpha)=g(T\alpha)$$ for every $f\in W^{\star}$ and $\alpha \in V$.


How to compute: $\int\limits_0^{\infty} \frac{x^{1/3}}{1+x^{2}} dx$

This question was asked in a masters of mathematics exam for which I am preparing.  Compute $\int\limits_0^{\infty} \frac{x^{1/3}}{1+x^{2}} dx$.  I could only think of substituting $y^3 = x$ and that does not change much. Could somebody post a solution using residues or in ways besides here in this link?:  Edit : I am interested in the answers which use contour integration and residue calculus.


No Tab Bash Auto-Complete for apt in Ubuntu 14.04

Now Ubuntu 14.04 is released and I upgraded my system a few days ago. One major change was the introduction of a new version of apt. Fortunately, it is possible to do the most common task by just writing apt and the necessary command e.g. install.  Unfortunately, there is still one feature missing from the older apt-get: Auto-Complete. When I type sudo apt and press Tab it suggestes all files in my current directory. Also, if I type sudo apt install dcon and press Tab, nothing happens. Doing the same with sudo apt-get install dcon will invoke the suggestions to install different packages beginning with dconf.  Is there a possibility to enable the auto-complete in apt?


I am searching for a tv show (or maybe a movie but I remember that I used to watch it) from the 90s or early 2000s about time travel. I remember that it was a teenager boy and some other characters that used to travel trough time and space (they got to the medieval era and I remember they even got into a land of giants and they were kept in a toy box). I remember it was also a command room where they travel through but I really cannot remember the name and it is frustrating. If anyone can help me?


How do I prove and expand Bayesian Networks?

Attempting to understand Exercise 20 (pdf page 44) in the paper: (Warning: large paper; small exercise)        The party animal problem corresponds to the network in g(3.14). The boss is angry and the worker has a headache - what is the probability  the worker has been to a party?      When set to 1 the statements are true: P = Been to Party, H = Got a Headache, D = Demotivated at work, U = Underperform at work, A =Boss Angry. Shaded variables (A, H) are observed in the true state.      $\begin{matrix} & & D \\ & & \downarrow \\ P & \rightarrow & U \\ \downarrow & & \downarrow \\ (H) & & (A)\end{matrix} $   I would like to solve the following:   Prove that p(P|H,A ) = a*p(P,H,A) where a is a constant. Expand p(P, H, A) by marginalizing over the variables U and D. how to compute 'a'   Any help is greatly appreciated.  Thank You.


Can I discard a race or class card directly from my hand to avoid charity?

In Munchkin (or any of its various sets) the rules say that "You can discard a Class card at any time, even in combat: "I don't want to be a wizard anymore." When you discard a Class card, you become classless until you play another Class card." It also says the same thing for Races, Accents, etc. for the various game sets.  This wording suggests that the intent is that you can discard an "in play" Class at any time, but it isn't clear about such cards in the player's hand. I would prefer to discard the extra Elf card in my hand so that my opponent doesn't get it during the Charity phase. Can I discard the card rather than give it away?  Note: The rules I am using are the most current rules from the 1st Edition, 23rd printing of Munchkin published May 2012.


I am currently developing an app that will require that the user enters their password to access the game. I have the following if statement but it will not work, as you can see from the if statements I have tried three different ways to get the match to equal true.       EditText passInput = (EditText) findViewById(R.id.passwordBox);     CharSequence Password = passInput.getText();     RelativeLayout loggedIn = (RelativeLayout) findViewById(R.id.LoggedInLayout);     RelativeLayout CreateUser = (RelativeLayout) findViewById(R.id.createUserLayout);     Button loginBtt = (Button) findViewById(R.id.createUser);     String actualPass = password[x];      System.out.println(Password + actualPass + passInput);      if(Password.equals(actualPass)){          System.out.println("They Matched!");         loggedIn.setVisibility(View.VISIBLE);         CreateUser.setVisibility(View.GONE);         loginBtt.setText("Create User");      }else if(Password.toString() == actualPass.toString()){          System.out.println("Second Match");      }else if(Password == actualPass){          System.out.println("Third Match");      }else if(Password.equals(actualPass) == false){      System.out.println("Wrong");     incorrectPassword();     System.out.println(Password);     System.out.println(actualPass);      }   When the user registers they are required to set a password. For testing I tried the password 'trst' but when inserted to the login page it comes back as being not correct. This is what my LogCat displays:  11-07 11:46:16.357: I/System.out(1998): Wrong 11-07 11:46:16.547: I/System.out(1998): trst 11-07 11:46:16.547: I/System.out(1998): trst   As you can see from the LogCat the inserted password and the actual password are identical but the program says they are not!


Making a face with lines and vertices inside, like a grid,

I would like to be able to create a face, with lines and vertices inside that connect all the vertices to the ones on the other side. Pressing F will create a face inside the selected vertices like this:   but, I would like all the lines to match together on the other side, like a grid. Is there a shortcut for doing this, or some other shortcuts that would do the same?


Can my 84-year-old mother travel from Pune to Hydrabad with no ID documents?

I am travelling from Pune to Hydrabad by Indigo with my mother. She is 84 years old. I have my passport but my mother doesn’t have any ID. Can we travel?


#include <iostream> #include<bits/stdc++.h>  using namespace std; int solve(int t){     float ans = static_cast<float>(320)/100;     cout<<fixed<<setprecision(2)<<ans; } int main(){     int t=320;     cout<<solve(t);     return 0; }  output:3.204745728 how should I get output as 3.20


We are given an array $[a_1,a_2,\dots,a_n]$  Define an operation :  select any one element of array and multiply by $-1$  We apply this operation $x$ times.  How many distinct arrays we can get after the operation is done $x$ times ?


I was used to working long hours. I got used to working long hours.  What meaning do the verbs be and get have here? My textbook doesn't explain it. But from the examples they're used in, I have an impression that get emphasizes that there is some transition between one state and another. For example in my sentence got used means that I was not used to it before but then became used to it. While was used doesn't imply that, maybe I was always used to it. And this usage in Present Simple:  I am used to it. I get used to it.  Does get imply that however I am not used to it at the moment but I will be used to it soon?


Proof that $W^{\perp\perp}=W$ (in a finite dimensional vector space)

Let $V$ be a finite dimensional vector space over the field $K$, with a non-degenerate scalar product. Let $W$ be a subspace. Show that $W^{\perp\perp}=W$.   I have no idea how to solve this one. Since I am self-studying I have no way to know if I get this right, that is the reason I ask for a resolution.  Questions:  Can someone provide me a resolution?  Thanks in advance!


Why doesn't the "zig-zag" comb deformation retract onto a point, even though it's contractible?

I am starting to read Hatcher's book on Algebraic Topology, and I am a little stuck with exercise 6(c) in Chapter $0$. Unfortunately a picture is involved so it doesn't quite make sense for me to repeat it here - but I'll do it anyways (maybe it helps)     Let $Z$ be the zigzag subspace of $Y$ homeomorphic to $\mathbb{R}$ indicated by the heavier line in the picture:       Show there is a deformation retraction in the weak sense of $Y$ onto $Z$, but no true deformation retraction."   Now the definition for deformation retraction and weak deformation retraction as as follows:  We say that $f: X \to X$ is a deformation retraction of a space $X$ onto a subspace $A \subset X$ if there exists a family of maps $f_t : X \to X$ with $t \in [0,1]$ such that $f_0 = \mathbb{1}$ (the identity) and $f_1 (X) = A$ and also $f_t$ restricts to the identity on $A$ for each $t$.   A weak deformation retraction is almost the same, only that we now relax the conditions $f_1(X) = A$ to $f_1 \subset A$ and, for each $t \in [0,1]$ we require that $f_t(A) \subset A$.  Hence, as far as I understand the question and the concepts involved, I need to show that basically no map can be constructed such that the bold zigzag - line stays put while the thin lines retract to the bold line over a finite time interval $0 \leq t \leq 1$. However, I should be able to show that I can pull the thin lines continously onto the thick line, provided I am allowed to move points on the zigzag line .. is that correct ?  Now, the problem is I can't see why I shouldn't be able to do the former, given that I could find a weak deformation retract. Any help would be great!


How can I model the mechanics of an army battlefield scene?

TL;DR;  I want to model a strategic battlefield fight for my players to command and participate. I'm seeking advice on how to model it mechanically so that it is exciting for the players.  Background  The final scene of Act II of my campaign is envisioned to be a big battle between the army of the Big Bad and the allied forces gathered by my players. The full set of Act II runs with the players gaining the allegiance of the different factions to support them on the fight.  Now, in terms of that final scene, I'm struggling to decide how to DM the fight. In games and movies the action is made epic by having cinematic scenes of the fight happening with cuts to our heroes doing their amazing things, be it just plowing through dozens of enemies in quick succession or fighting the big ugly overpowered monster that is otherwise cause havoc among the army. I want that feeling  The set up will involve an army of several thousand enemies agains the different forces gathered by my players. Depending on what they've done during the second act, they'll have more or less support with a minimum number of regiments belonging to several faction (i.e. the silver guard of Wizardwight).  Intended way of DMing the scenario.  What I've come up with is to have the players be military leaders. Draw the map of the battlefield and have them manage the battlefield strategically and tactically, distributing the units and, somehow, enabling a dice based mechanism to evaluate how well each unit is doing. This will transform the tabletop into something similar to Warhammer Fantasy. They can choose to join a particular place of the battlefield to help either together or separately.  I have absolutely no idea on how to model this mechanically (as far as I know D&D 5e does not cover this kind of fights).  Question:  What are good ways to mechanically model this kind of strategic army combat? Should I switch to a different system just for this scene or can I model this with D&D 5e?  Notes on level: At this point I expect my players to range between level 9-12 and for the party to be between 3 and 4 players (this is not a limitation of the campaign, more like the players I'm running the campaign with).


I have just started learning about differentiation. I know that differentiation is about finding the slopes of curves of functions and etc.  I have many saying that differential and integral calculus are important tools of math and have many real-life applications. So I want to know how differentiation, which about finding slopes of functions, is important in real life. Explain it with some applications. I am sorry if this is duplicate of other question. But as far as I have searched, I have not found an answer to this question


Where on Github, or elsewhere, can I find the code for core-blocks?

Apparently, at one time, there was a directory of core-blocks for building Gutenberg templates on GitHub, but I'm not finding it anywhere. I talking about core/paragraph, etc.     array( 'core/paragraph', array(         'placeholder' => 'Content goes here',     ) ),     array( 'core/image', array(         ...  Thanks!


Let $E$ be a complex vector space of dimension 3. Let $f$ be a non zero endomorphism such that $f^2=0$. I want to show that there is a basis $B=\{b_1,b_2,b_3\}$ of $E$ such that $$f(b_1)=0, f(b_2)=b_1,f(b_3)=0$$  Edit Here is how i see the answer now:   $f$ being non zero there exists $x_0\in E$ such that $f(x_0)\not =0$.   Let $M=span\{f(x_0),x_0\}$. Since $f^2=0$ we show easily that $f(x_0)$ and $x_0$ are linearly independent hence they form a basis for $M$.   We take $b_1=f(x_0)$, $b_2=x_0$.   Take any $z\not \in M$.   If $z\in \ker f$ then take $b_3=z$.   If $z\not \in \ker f$ then there exists $\beta \not = 0$ such that $f(z)=\beta f(x_0)$ (because $\dim(Im(f))=1$ hence it is spanned by any non zero vector, we take $f(x_0)$ as a spanning vector). Take $z'=\dfrac{1}{\beta}z-f(x_0)$ hence $z'\in \ker f$ and we take $b_3=z'$.


Increase available memory in Windows 8.1 4 GB machine with SSD

I have a new laptop with only 4 GB of RAM. When I boot up the system, almost 2 GB are used for something.   Are there some quick tricks to increase available space? Maybe disable Superfetch as I have SSD, or decrease size of disk cache?


Is there a way to copy from a PDF to a LaTeX document? Whenever I do it, it copies in with weird symbols in the place of LaTeX commands for example:  $$f:\mathbb{R}\rightarrow \mathbb{R}$$   copies in as     f : R ! R;   I did a quick search and I couldn't really find anything (some sort of PDF to LaTeX converter that worked well)  Am I missing something obvious or can this not be done (for some reason)?


Python surprising behaviour of 2d arrays

I have encountered a strange behaviour of python  Case-1:-          arr=[[0]*2]*3 and          arr[0][0]=12 gives arr as [[12, 0], [12, 0], [12, 0]]  Case-2:-          arr=[[0, 0], [0, 0], [0, 0]] and          arr[0][0]=12 gives arr as [[12, 0], [0, 0], [0, 0]]  Why this type of behaviour?


How to combine several datapoints in one location to a single point varying in size accordingly?

This might be a very simple thing, but I just can't figure it out how to do it in QGIS (alternatively I'm also grateful for explanations for ArcGIS). I have a fisheries dataset with multiple catches in one location. I'd like to display these catches as a dot varying in size according to the number of catches - like dots displaying population size in a city. However, the excel sheet I have is one catch each row, with the same coordinates but different attributes (length, weight, etc). Is there a tool in QGIS that can merge all points in one location (other attributes not needed then)? Thanks a lot for your help!


Prove that any base $a>1$ , each positive integer $m$ has a unique expression of the form $a^nr_n+a^{n-1}r_{n-1}+...+ar_1+r_0$

I have the next problem. Prove that any base $a>1$, each positive integer $m$ has a unique expression as the form $$a^nr_n+a^{n-1}r_{n-1}+...+ar_1+r_0$$ where the integers $r_k$ satisfy $$0\le r_k \lt a,  r_n\neq0.$$  I have tried this.   Proof: By induction above n $$m_1=ar_1+r_0$$  We suppose that it is true for n=k  $$m_k=a^kr_k+a^{k-1}r_{k-1}+...+ar_1+r_0$$ Prove for n=k+1. By hypothesis $$m_k=a^kr_k+a^{k-1}r_{k-1}+...+ar_1+r_0$$ We add $a^{k+1}r_{k+1}$.  $$m_k+a^{k+1}r_{k+1}=a^{k+1}r_{k+1}+a^kr_k+a^{k-1}r_{k-1}+...+ar_1+r_0$$  As $a^{k+1}r_{k+1}$ and $m_k$ are positive integers then be  $m_{k+1}=m_k+a^{k+1}r_{k+1}$ a positive integer, hence      $$m_{k+1}=a^{k+1}r_{k+1}+a^kr_k+a^{k-1}r_{k-1}+...+ar_1+r_0$$  but I am not sure and still I need to prove the uniqueness.Thank you for your advices.


Although this question looks little weird because Ubuntu is meant to be good on GUI based linux. But if I wanted to remove this GUI layer and wanted to leverage only terminal when I boot up my machine. Will this be possible ? If so may I know the proc on how to do it.


Using Linq To Sql Classes do not update the object in the context. I'm using a Context to get some records and update them.   In my DB I have one record that I want to update...  I get it and I update a field, but the object in the context doesn't change. How is that possible? My code looks like:  using(myPersonalModelContext ctx = new myContext()) {     List<LogIn> notProcessedLogins = ctx.LogIns.Where(login => login.processed == false).ToList(); //Returns 1 record. Ok.     foreach (LogIn notProcessedLogin in notProcessedLogins)     {         notProcessedLogin.processed = true;     }     int notProcessedLoginsCounter = ctx.LogIns.Where(login => login.processed == false).Count(); //Returns 1!!!     ctx.SubmitChanges(); //The object in the context has no change, so it doesn't update nothing.     int notProcessedLoginsCounter = ctx.LogIns.Where(login => login.processed == false).Count(); //Returns 1!!! }   I'm following the   and looks quite trivial, so I don't get it. Any idea?  In the autogenerated file, I see that is updating _processed properly:  [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_processed", DbType="Bit")] public System.Nullable<bool> processed {     get     {         return this._processed;     }     set     {         if ((this._processed != value))         {             this._processed = value;         }     } }   I have the impression that the object that I'm updating is, for some reason, detached from the Context.


What is $e^A$, where$$A = \begin{pmatrix} 0 & 1 \\ 4 & 0 \end{pmatrix}?$$


Unable to change the boot order of Ubuntu 16.04 dual installed with Windows 10

I have installed Ubuntu 16.04 with Windows 10. No matter what I do, it always boots up Windows first. I have tried four ways:   Changed boot order using sudo efibootmgr -o command on Ubuntu. Used bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi to change the windows boot file. Used  on windows to change the File Path of the windows boot manager to both \EFI\ubuntu\shimx64.efi and \EFI\ubuntu\grubx64.efi. Again used  to change the order of different boot profiles.   Disappointingly, every boot process starts directly booting the windows. On checking the boot order and its settings I find that there are two windows boot profiles. One of these two always stay at the top, and is uneditable by every means that I tried.


Will overstaying a Schengen visa be entered in SIS II?

Long story short, this is my ignorance.  I am an Indian national. I had visa duration for 88 days and I entered the Prague airport before midnight on the 88th day but my fight was the next morning (to Frankfurt). During the security check, the officer told me that I had overstayed and it was recorded as criminal offense. I signed papers and got a receipt (no fine collected) and flew back home.  Now I have few questions:    Will this offense (mentioned as criminal) go into the Schengen Information System?  Will the public prosecutor proceed with the case or drop it? I have applied for a 3 month long term visa and I have been told by the Embassy that they are waiting a response from MOI of Czech Republic; will the above case affect my visa? Will it be a problem for future Schengen visas (especially when I enter Germany)?


Evaluate $\int_{0}^{\frac{\pi}{2}} x\ln(\tan(x))dx $

How do I evaluate: $$\int_{0}^{\frac{\pi}{2}} x\ln(\tan(x))dx $$ I know it equals $\frac{7\zeta(3)}{8}$, but I'm not sure how to get there. I've been trying to convert it into a sum somehow, but I'm not getting anywhere. Equivalent integrals are: $$\frac{1}{2}\int_{-\infty}^\infty x\operatorname{sech}(x)\arctan(e^x)dx$$ $$\int_0^\infty \frac{\arctan(x)\ln(x)}{1+x^2} dx$$  I've tried differentiating under the integral but to no avail.


I'm trying to make a deep copy of objects in Javascript:  let test = {     myProp: "Hello All" }  let testCopy1 = Object.create(test); let testCopy2 = JSON.parse(JSON.stringify(test));  // {} console.log(testCopy1);  // { myProp: 'Hello All' } console.log(testCopy2);   Why does Object.create() not copy this object? Or was this not the correct way of making a deep copy and there was another "less hacky" alternative to JSON.parse(JSON.stringify(myObject))  ?


I am trying to export an image collection of model results as an asset in GEE but I get the error message:      Error: Unable to export features with unbounded geometry.   The images in the collection are calculated from the GDDP dataset and have the same global footprint as the source data. I have tried filtering the collection by bounds but still get the same message. Following is a code that replicates my problem:  var GDDP = ee.ImageCollection('NASA/NEX-GDDP').filterDate('2002-01-01') Export.table.toAsset(GDDP, 'GDDP', 'GDDP')


How can I export the "available software to download" to a file?

Sometimes Ubuntu will show a popup like this:    (It looks weird because I'm using )  How can I export the list of packages/changes Ubuntu wants to install to a file? This is for debugging purposes - I think something in this update is breaking my system, and I want to be able to be able to figure out exactly where the break is coming from.


I've a doubt for using adjectives in front of nouns in regards dropping the "s"  I'm a translator (PT>EN) and sometimes the following examples pop out:  (single) Patient Chart / Patient's chart  (plural) Program Characteristics / Program's characteristics  I always see some of these without the "s" and my doubt is the correct usage of the "s"/possessive/etc.  Thank you very much.


Is it poor form to switch accepted answers?

I had a question of the form "does something like X exist?" Someone wrote a response to say that, No, X does not exist, but I could write it if I liked. I had suspected as much, so I marked his answer as the accepted answer. Today someone actually posted the code to do X for me, and I feel that the new poster deserves the "Accepted Answer" checkmark.  Is it poor form for me to pick a new Accepted answer? Does the original answerer get penalized in terms of reputation?  While the original responder's answer was accepted at the time, I feel this new answer is really more helpful.  Edit: Which of these responses should I accept? What does the notion of a single accepted answer mean with a question that is subjective that could have multiple "right" answers?


Chat parent user doesn't reflect deleted account

Parent user for  is deleted, but chat user page displays him like existing one:        Name, reputation and badges are still visible, but  is deleted.  According to Shog9's  chat user should be deleted, but it doesn't. Hence proposed duplicates are not duplicates, because doesn't answer my question.


Bad Headphone Connector Wiring Issues - What Could Be Wrong?

I am trying to repair a headphone cable with a splice. The audio sounds really bad after the repair. I can hear instruments, but not the vocals. Also, the playback is mono, same sound on both sides.  If I short Left to Right, the audio gets quiet, but still sounds bad. If I short Left to Common, or Right to Common, the sound quality returns to normal, but audio playback is still mono. Does this mean there is a open connection on common, and a short between Left and Right? Or is some other fault possible?


Question is very popular but closed (not constructive) - Shouldn't it be reopened for users' benefit?

I recently came across a question which had been closed because it was supposed to be "not constructive" ().    And I noted that some 70 odd people had favorited the question as well, which leads to the question.. wouldn't it be more helpful if it were reopened?  Admittedly, the question was not constructive. But as a source of information, it's helped me a lot, and isn't that the objective of the site? to provide information to people in need?  P.S I would have cast a reopen vote, but unfortunately, I don't have the required reputation.


I am using Ubuntu 18.04 on Dell Vostro 3546 uname -a  Linux <host-name> 4.15.0-122-generic #124-Ubuntu SMP Thu Oct 15 13:03:05 UTC 2020 x86_64 x86_64 x86_64 GNU/Linu  I am having severe wine dependency problems. This started when I did sudo apt-get purge wine*. I am not able to install it back. Please help, wine is very essential for me.  32-bit architecture is enabled  Output of sudo apt-get update, just for you to look at my repositories list :   Output of normal winehq-stable installation:   Output of winehq-stable installation using my favourite dependency tool: . If I choose "Y" in the first prompt it will do nothing and just exit. Then, in the second prompt if I choose "Y" it completely ruins my system by removing everything. If I choose "n", then it will ask again and again to do the same thing. Had to "q" abort.  Using synaptic:    EDIT: apt-cache policy winehq-stable wine-stable   winehq-stable:   Installed: (none)   Candidate: 5.0.2~bionic   Version table:      5.0.2~bionic 500         500 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Packages wine-stable:   Installed: (none)   Candidate: 5.0.2~bionic   Version table:      5.0.2~bionic 500         500 https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/xUbuntu_18.04 ./ Packages      3.0-1ubuntu1 500         500 http://es-mirrors.evowise.com/ubuntu bionic/universe amd64 Packages         500 http://es-mirrors.evowise.com/ubuntu bionic/universe i386 Packages  sudo apt install --install-recommends winehq-stable   Reading package lists... Done Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:   The following packages have unmet dependencies:  winehq-stable : Depends: wine-stable (= 5.0.2~bionic) E: Unable to correct problems, you have held broken packages.  Output of apt-cache policy $(apt-rdepends winehq-stable 2>/dev/null | grep "^[a-zA-Z]" | sort | paste -s -d" ") =  Output of apt-cache policy $(apt-rdepends wine-stable 2>/dev/null | grep "^[a-zA-Z]" | sort | paste -s -d" ") =


Which year can I start to apply graduate program in United States?

As the question stated, is it possible for me to start applying graduate programs during forth year of undergraduate studies?


Consider the action of $\mathbb{R}$ on $\mathbb{R^2}$  given by $t \cdot (x,y) = (x+t, y)$.   I am asked to find closed subsets $A \subseteq \mathbb{R}$ and $B \subseteq\mathbb{R^2}$ such that $A\cdot B$ is not closed.  there is a similar result that stats that     For any topological group $G$ acting on a space $X$, if $A \subseteq G$ is compact and $B \subseteq X$ is closed, then $A \cdot B$ is closed.   Therefore, for my example I am starting from a closed but not compact subset $A$ in $\mathbb{R}$; I have tried with unbounded intervals $[a,\infty)$ or discrete subsets like $\mathbb{N}$ or $\mathbb{Z}$. However; I can't find a suitable $B$ to get what I want.


When am I entitled to participate in a stock split? — record date, split date, ex date

Stock split announcements usually mention a few dates — record date ("date of record"), split date ("distribution date", "pay date", or "payment date"), ex date ("ex-split date"). Examples:  :  Each Apple shareholder of record at the close of business on August 24, 2020 will receive three additional shares for every share held on the record date, and trading will begin on a split-adjusted basis on August 31, 2020.   :  Each stockholder of record on August 21, 2020 will receive a dividend of four additional shares of common stock for each then-held share, to be distributed after close of trading on August 28, 2020. Trading will begin on a stock split-adjusted basis on August 31, 2020.    In the case of the Tesla split, the record date is August 21, the split date is August 28 (Friday), and the ex date is August 31 (Monday). Apple's  provides definitions of these dates:  What is the effective date of the split? There are several key dates. The Record Date – August 24, 2020 - determines which shareholders are entitled to receive additional shares due to the split. The Split Date – August 28, 2020 - shareholders are due split shares after the close of business on this date. The Ex Date – August 31, 2020 - the date determined by Nasdaq when Apple common shares will trade at the new split-adjusted price.  However, further down in the FAQ, there is an explanation that seems to contradict the definition of the record date given above:  What happens if I buy or sell shares on or after the Record Date and before the Ex Date? [...] If you buy shares on or after the Record Date but before the Ex Date, you will purchase the shares at the pre-split price and will receive (or your brokerage account will be credited with) the shares purchased. Following the split, you will receive (or your brokerage account will be credited with) the additional shares resulting from the stock split.  Judging by the Apple FAQ, the way the record date works for stock splits is completely different from the way the record date works for cash dividends. With cash dividends, people who become shareholders of record after the record date are not entitled to the dividends. With stock splits, however, people who purchase shares after the record date (but before the ex date) are entitled to the stock split. Furthermore, for stock splits, the record date comes before the ex date, whereas for cash dividends, the record date comes after the ex date. It appears that I am not the only one confused about this. A quick internet search reveals years and years of confusion regarding the record date for stock splits. An extremely common point of confusion is the apparently incorrect assumption that the record date for stock splits works in the same way as the record date for cash dividends. A few questions:  Am I right that the record date for stock splits works differently from the record date of cash dividends? The only relevant dates for a stock split seem to be the split date (on which I will receive new shares after the market closes), and the ex date (on which I can sell the new shares on stock exchanges at a post-split price). It seems that the record date is completely irrelevant. What is the record date for? From my understanding, the price of the stock will be reduced at the instant the new shares are distributed (on the split date). Is this correct?


Why didn't Obi-Wan and Yoda train Luke from a young age?

I feel like I should note that I've watched the Star Wars movies as a kid, but it has been a while, and I may have missed/forgotten a lot of details along the way. Also, the movies are all I've seen. I've never read any of the books or anything like that.  I was wondering why Obi-Wan Kenobi and Yoda didn't train Luke from the time he was very young. Obi-Wan knew where Yoda was, so the two of them could have trained Luke from a very young age. They could have helped him become very strong by the time the first movie began. Why didn't they do that? Why was giving Luke to his aunt and uncle more preferable?


I have just noticed a funny Python lists' behaviour: matrix = [[0] * 3] * 2  matrix[0][0] = 1 print(matrix)  Output: [[1, 0, 0], [1, 0, 0]]  matrix[1][0] = 5 print(matrix)  Output: [[5, 0, 0], [5, 0, 0]]  How can I fix it? I'm figuring out, how to make matrix transposition, so I created such function: def transpose(matrix):   transMat = [[0] * len(matrix)] * len(matrix[0])    for i in range(len(transMat)):     for j in range(len(transMat[i])):       transMat[i][j] = matrix[j][i]  But because of this Python's feature it doesn't work. How can I avoid it?


How to make continuous (but breakable) vertical rule along left side of paragraph?

I'm looking for a way in Plain TeX to make a continuous vertical rule along the left side of a paragraph (or arbitrary block of text), such that it observes normal page-break rules. I started with the following, which looks exactly how I want, except of course it has the undesirable side-effect of preventing page breaks for large runs of text, since it uses \vbox:  % Definition \def\codeblock#1{%   \hbox{%     {\vrule width .6pt}%     \hskip 1em%     \vbox{\tt #1}%   }% }  % Example \codeblock{% \hbox{void main(int argc, char *argv[]) \char123}% \hbox{{\ }{\ }printf("Hello, world!{\char92}n");}% \hbox{\char125}% }   As a workaround, I'm currently resorting to breaking things into separate lines and a series of kludged non-continous-but-overlapping vertical rule segments:  % Definition \def\codeline#1{%   \hbox{%     \vrule width .6pt height .85em depth .46em%     \hskip 1em%     \tt #1%   }%   \vskip -.11em% }  % Example \codeline{void main(int argc, char *argv[]) \char123} \codeline{{\ }{\ }printf("Hello, world!{\char92}n");} \codeline{\char125}   In a perfect world, I'd like to simply pass an arbitrary block of text to a macro and have it apply normal pagination rules to the block of text, while at the same time making a vertical rule down the left. I don't have much experience with TeX but I suspect the answer is that it's not trivial?  While typing this question,  appeared in the margin. I will definitely give that a try — and it looks really powerful and well thought out — but it also seems quite heavyweight for something that I would think ought to be reasonably straightforward. Also, not that I have anything against LaTeX, but I'd prefer to use a solution as close to Plain TeX as possible, so that I can have some hope of understanding it.


A Script to insert dummy Data in all tables of Database

I wanted a Script that can loop through all tables and their columns in the database and insert dummy data based on column type and size, so that i can start using the database for testing, and ability to run queries and Test Apps.


Is it possible to include .x3d, .dae, .pov, .dxf, or .wmf grapics into tex-syntax in order to create a pdf file?


I'm confuse with thousand numerals. Especially for 4 distinct digits and 3 distinct digits. For example:  How to pronounce 1987?  a)  one thousand nine hundred eighty seven  b) nineteen "and" eighty seven  c) nineteen eighty seven  d) All correct  Is it always allowed to make a partition on a number so we can speak it easily? So, if i have 6 digits number, i can divide it 2 pieces or 3 pieces?. Example: 111222. I will pronounce it as   a) Eleven twelve twenty two, or  b) one hundred eleven two hundred twenty two  Those sound weird to be honest. Or maybe that rule only holds for thousand numerals?  Second question if i have 3 distinct digits on thousand numerals. Example:  2003  Which one is true between:  a) two thousand three  b) two thousand "and" three  c) twenty "o" (Read: oh) three, i heard this from facebook video.  d) All true?  Please explain to me with easy language, because my English isn't good enough. Thanks in advance.


I'm trying to achieve the following mapping keycode 135 = <Ctrl-C>  Is it possible to achieve this in some way?


A normal subgroup of a nilpotent group intersects the centre non-trivially

How could I prove the above statement?  For $G$ nilpotent and $N \lhd G$, how do I show that $N \cap Z(G) \neq 1$?


2 monitors - different resolutions - cursor between monitors

Wasn't even sure how do I google this. I am using the laptop screen (1366x768) and an external screen (1920x1080). Is there some way/setting to change the screen height at which the cursor goes to the smaller screen, so that you can move the cursor between the screens at any height? Because right now you can only drag the cursor from the larger screen to the laptop one at the middle of the screen, if you try it any higher or lower it "hit's a wall".   I am already using Actual Multiple Monitors, but I don't think it has this feature.  Windows 7 x64


random thought: are some infinite sets larger than other

I was in the shower today and I just thought of this so I'm asking it. I'm sure this has been thought of before.  Let's say we have two sets, the set of all even numbers and the set of all natural numbers. They are both infinite, right?  But let's say we cut off the set at any number $n$. So for example if $n = 4$ then the even set would be ${2,4}$ and the natural set would be ${1,2,3,4}$.  So the set of natural numbers is bigger when they both reach 4, since they both increase in the same direction in a linear fashion that doesn't seem to be an unreasonable comparison to me. So if we take $n = \infty$ , then why are both sets the same size? In other words, is it possible that one infinity is greater than another?  I'm sure this is not the case, but can someone please explain? Thanks


Partial Fraction Decomposition When Denominator Has an Irreducible Factor of Degree 2

When doing partial fraction decomposition, there are three cases:  Case 1: Denominator has distinct linear factors.  $f(x) = \dfrac{P(x)}{(x - a_1)...(x - a_k)} = \dfrac{A}{x - a_2} + \dfrac{B}{x - a_k}$ where $a_1, ..., a_k$ are pairwise distinct.   Case 2: Denominator has repeated linear factors.  $f(x) = \dfrac{P(x)}{(x - a)^c} = \dfrac{B_1}{x - a} + ... + \dfrac{B_c}{(c - a)^c}$  Case 3: Denominator has an irreducible factor of degree 2:  $f(x) = \dfrac{P(x)}{(x - a)(x^2 + bx + c)} = \dfrac{A_1}{x - a} + \dfrac{C_1x + C_2}{x^2 + bx + c}$  In cases 1 and 2, the numerators are all given constant placeholders ($A, B$), but in case 3, the numerator is given a polynomial of degree one as the placeholder ($C_1x + C_2$). I'm curious as to why this is the case. What is the difference between case 1 and 2 and 3 that necessitates this difference in the numerator? What is the reasoning behind this?  I would greatly appreciate it if people could please take the time to elaborate on this.


hello i am trying to call method in a string but i am facing error method invocation may produce

i am trying to call a method in string from sharedpreference but when i am calling i am facing method invocation getText may produce 'nullpointerexception' warning public class RetrofitClient  {             Sharedpreference sharedpreference;         private final  String token = sharedpreference.getTEXT();  following is my sharedpreference code from where i am calling my method getText where i returning a string which is TEXT   public class Sharedpreference  {                  public static String TEXT = "text";         public static final String Otp = "1234";               SharedPreferences prefs;      SharedPreferences.Editor editor;          public Sharedpreference(Context context){         prefs=context.getSharedPreferences("App_key",0);         editor=prefs.edit();         editor.apply();     }    public  void setTEXT(String prize) {                  editor.putString(TEXT,prize);             editor.commit();              }              public  String getTEXT() {             return prefs.getString(TEXT,"");         }         public  void setotp(String otp) {                  editor.putString("otp",otp);             editor.commit();              }         public  String getotp() {             return prefs.getString("otp","");         }           }


f is differentiable on convex domain D and Re(f')>0 implies f is injective on D

Suppose that $f$ is differentiable on a convex domain (open and connected) D and Re($f')>0$ in D. How can we prove that f is injective on D?  I found some answers using the mean value theorem for holomorphic functions, but I am not familiar with that theorem. Actually I want to use the mean value theorem for integrals, which tells us that the value of an differentiable function $f$ at the center $z_{0}$ of the disk $|z-z_{0}|<r$ is equal to the integral mean of its values on the boundary of that disk: $f(z_{0})=\int^{2\pi}_{0}{f(z_{0}+re^{it})dt}$.  Can you help me proving it by the mean value theorem for integrals?


When one say two cohomology rings are isomorphic, does the degree of generator matters?

My question is when one say two cohomology rings are isomorphic, does the degree of generator matters?  Here is a motivating example:   $H^*(RP^{\infty}, \mathbb Z_2)\cong \mathbb Z_2[\alpha]$ with $|\alpha|=1$, and $H^*(CP^{\infty}, \mathbb Z_2)\cong \mathbb Z_2[\beta]$, with $|\beta|=2$, but if we define map between two cohomology rings by sending $\alpha$ to $\beta$, it is clearly a ring isomorphism. But we know that the two spaces even don't share the same cohomology groups. So, I have a doubt on definition of isomorphism between cohomology rings.


I'm not able to figure out how to get any code coverage on an Apex HttpPost method. Apex class: @RestResource(urlMapping='/approve/*') global with sharing class exAppClass { jstcl__TG_Timesheet__c ts = new jstcl__TG_Timesheet__c();     // GET request    @HttpPost     global static String doGet() {     RestRequest req = RestContext.request;          String secid = req.params.get('id');       String approverId = req.params.get('appid');       String ipString = req.params.get('ip');       System.debug(secid);       String alreadyApproved = 'expired';       String error = 'error';       String success = 'approved';       String primApprover;       String secApprover;       jstcl__TG_Timesheet__c ts;       ts = [SELECT Id, jstcl__Week_Ending__c, jstcl__Status__c, jstcl__Placement__r.jstcl__SecondaryApprover__c, jstcl__Placement__r.jstcl__TimecardApprover__c FROM jstcl__TG_Timesheet__c WHERE Id = :tsid FOR UPDATE];       primApprover = String.valueOf(ts.jstcl__Placement__r.jstcl__TimecardApprover__c);       secApprover = String.valueOf(ts.jstcl__Placement__r.jstcl__SecondaryApprover__c);         if (ts != null && ts.jstcl__Status__c == 'Approved' && (primApprover == approverId || secApprover == approverId )) {         return alreadyApproved;       } else if(ts != null && ts.jstcl__Status__c == 'Submitted' && (primApprover == approverId || secApprover == approverId)){         try{             insertLog(ts, approverId, ipString);             ts.jstcl__Status__c = 'Approved';             update ts;            } catch(Exception e) {             System.debug('Exception caught: ' + e.getMessage());              return error;            }        return success;       }else {       return error;       }     }       private static Express_Approval_Log__c insertLog(jstcl__TG_Timesheet__c ts, Id approverId, String ip){       Express_Approval_Log__c log = new Express_Approval_Log__c();       log.Name = 'EAL '+ts.jstcl__Week_Ending__c;       log.Timesheet__c = ts.Id;       log.Approval_Date_Time__c= DateTime.now();       log.Status__c = 'Approved';       log.Timesheet_Approver__c = approverId;       log.IP_Address__c = ip;      try{         insert log;      }catch(Exception e) {         System.debug('Exception caught: ' + e.getMessage());         }        return log;   } }  Test Class (so far): @isTest private class exAppClassTest { @isTest static void exAppClassUnitTest() {  Test.startTest();  Contact con = new Contact(         FirstName='fname',         LastName = 'lname',         Email = 'email@gmail.com',         Phone = '9743800309');  insert con;  ts2__Placement__c plc = new ts2__Placement__c(); plc.jstcl__SecondaryApprover__c = con.Id; plc.jstcl__TimecardApprover__c = con.Id; insert plc; jstcl__TG_Timesheet__c ts =new jstcl__TG_Timesheet__c (); date mydate = date.parse('12/27/2009'); ts.jstcl__Status__c='Test'; ts.jstcl__Week_Ending__c=mydate ; insert ts; Express_Approval_Log__c log = new Express_Approval_Log__c(); log.Name = 'EAL '+ts.jstcl__Week_Ending__c; log.Timesheet__c = ts.Id; log.Approval_Date_Time__c= DateTime.now(); log.Status__c = 'Approved'; log.IP_Address__c = '12:12:123'; log.Timesheet_Approver__c = plc.jstcl__TimecardApprover__c;     insert log; RestRequest req = new RestRequest();  RestResponse res = new RestResponse();  req.requestURI = '/services/apexrest/exAppClass/';  //Request URL //req.requestBody = Blob.valueof(JsonMsg);  req.httpMethod = 'POST'; RestContext.request = req; RestContext.response= res; exAppClass.doGet(); Test.stopTest(); } }


Why don't most common Linux package managers allow package installation for normal users?

I tend to install quite a lot of packages with ./configure --prefix=$HOME && make && make install. Why can't I do this as easily with dpkg or yum? Or if I somehow can, what is the way to do that?


Class method differences in Python: bound, unbound and static

What is the difference between the following class methods?  Is it that one is static and the other is not?  class Test(object):   def method_one(self):     print "Called method_one"    def method_two():     print "Called method_two"  a_test = Test() a_test.method_one() a_test.method_two()


I am looking for some LaTex timeline, which should look like something as below:    Edit 1: I did check the pgfgantt package but it doesn't provide as cool a timeline as above. Edit 2: The minimal code is from  . The diagram on its page 48, would work for me too. But I can't reproduce it with the following minimal code.   \documentclass[tikz]{standalone} \usepackage{pgfgantt} \title{Gantt Charts with the pgfgantt Package} \begin{document}  % % A fairly complicated example from section 2.9 of the package % documentation. This reproduces an example from Wikipedia: % http://en.wikipedia.org/wiki/Gantt_chart % \definecolor{barblue}{RGB}{153,204,254} \definecolor{groupblue}{RGB}{51,102,254} \definecolor{linkred}{RGB}{165,0,33} \renewcommand\sfdefault{phv} \renewcommand\mddefault{mc} \renewcommand\bfdefault{bc} \setganttlinklabel{s-s}{START-TO-START} \setganttlinklabel{f-s}{FINISH-TO-START} \setganttlinklabel{f-f}{FINISH-TO-FINISH} \sffamily \begin{ganttchart}[     canvas/.append style={fill=none, draw=black!5, line width=.75pt},     hgrid style/.style={draw=black!5, line width=.75pt},     vgrid={*1{draw=black!5, line width=.75pt}},     today=7,     today rule/.style={       draw=black!64,       dash pattern=on 3.5pt off 4.5pt,       line width=1.5pt     },     today label font=\small\bfseries,     title/.style={draw=none, fill=none},     title label font=\bfseries\footnotesize,     title label node/.append style={below=7pt},     include title in canvas=false,     bar label font=\mdseries\small\color{black!70},     bar label node/.append style={left=2cm},     bar/.append style={draw=none, fill=black!63},     bar incomplete/.append style={fill=barblue},     bar progress label font=\mdseries\footnotesize\color{black!70},     group incomplete/.append style={fill=groupblue},     group left shift=0,     group right shift=0,     group height=.5,     group peaks tip position=0,     group label node/.append style={left=.6cm},     group progress label font=\bfseries\small,     link/.style={-latex, line width=1.5pt, linkred},     link label font=\scriptsize\bfseries,     link label node/.append style={below left=-2pt and 0pt}   ]{1}{13}   \gantttitle[     title label node/.append style={below left=7pt and -3pt}   ]{WEEKS:\quad1}{1}   \gantttitlelist{2,...,13}{1} \\   \ganttgroup[progress=57]{WBS 1 Summary Element 1}{1}{10} \\   \ganttbar[     progress=75,     name=WBS1A   ]{\textbf{WBS 1.1} Activity A}{1}{8} \\   \ganttbar[     progress=67,     name=WBS1B   ]{\textbf{WBS 1.2} Activity B}{1}{3} \\   \ganttbar[     progress=50,     name=WBS1C   ]{\textbf{WBS 1.3} Activity C}{4}{10} \\   \ganttbar[     progress=0,     name=WBS1D   ]{\textbf{WBS 1.4} Activity D}{4}{10} \\[grid]   \ganttgroup[progress=0]{WBS 2 Summary Element 2}{4}{10} \\   \ganttbar[progress=0]{\textbf{WBS 2.1} Activity E}{4}{5} \\   \ganttbar[progress=0]{\textbf{WBS 2.2} Activity F}{6}{8} \\   \ganttbar[progress=0]{\textbf{WBS 2.3} Activity G}{9}{10}   \ganttlink[link type=s-s]{WBS1A}{WBS1B}   \ganttlink[link type=f-s]{WBS1B}{WBS1C}   \ganttlink[     link type=f-f,     link label node/.append style=left   ]{WBS1C}{WBS1D} \end{ganttchart}  % % A simpler example from the package documentation: % \begin{ganttchart}{1}{12}   \gantttitle{2011}{12} \\   \gantttitlelist{1,...,12}{1} \\   \ganttgroup{Group 1}{1}{7} \\   \ganttbar{Task 1}{1}{2} \\   \ganttlinkedbar{Task 2}{3}{7} \ganttnewline   \ganttmilestone{Milestone}{7} \ganttnewline   \ganttbar{Final Task}{8}{12}   \ganttlink{elem2}{elem3}   \ganttlink{elem3}{elem4} \end{ganttchart}  \end{document}


While installing Ubuntu 13.04 I selected Replace Windows 7 with Ubuntu.   Apparently by doing so I have lost all my data that is stored in local disk:D. Is there any way that I can recover my lost data?


Wine is saying that Mono package is not installed, but I installed it with Terminal by:  sudo apt-get install mono-complete   What should I do?


If electric fields can't pass through a grounded shield, how can a magnetic force be generated on moving charges outside a wire?

Say an electron outside a wire is moving with the same velocity as the electrons inside, then due to Lorentz contraction, an electric field would be generated in the outside electron's frame of reference and hence the electron will move towards the wire, and the positive charges moving in this frame of reference with the same velocity of the electrons but in the opposite direction will create a magnetic field that wouldn't affect the electron that is not moving in this frame of reference. Now, if a grounded shield is placed around this wire, the electric field would not penetrate it and therefore there should be no attraction but then why is the electron attracted to the wire in spite of this shield?


When does a locational distinction change its suffix and capitialization in a proper name?

I am trying to capitalize Western Canada or western Canada properly and am wanting a definition for when the "ern" is added as a suffix to a locational distinction of a proper noun.  I believe the capitalization is related to the suffix and am grouping two questions.  After researching on the internet I have found a trend that areas of discrete area become capitalized along with their proper noun   East New York West Hollywood East London (Britain) East Los Angeles   Some locations have "ern" added to their locational modifier.    Web Examples (from government sites):   eastern Canada ( Western Canada ()   All the examples listed contain discrete areas.  The "ern" suffix is used for larger areas, but I am unable to determine when an area becomes large enough.


Use Windows 10 wifi hotspot with no internet connection

I'm trying to play a video game with my friends that requires a local wifi network that allows UDP broadcasts. The dorm wifi doesn't allow UDP broadcasts, so I'm trying to set up my laptop as a hotspot. Windows 10 by default allows you to share an internet connection over wifi, but you must have an internet connection to do so. Sharing the wifi connection results in a lot of problems such as constant disconnects, and I don't have access to an ethernet connection to share. Is there some way I can set up a wifi network without actually sharing an internet connection?


2000's novel where a man wakes up to find a chunk of his brain replaced by a cybernetic implant he turns out to have developed himself

I'm trying to remember the name/author of a novel I read a few years ago.    The basic premise is the main character wakes up after being in hospital, to find a chunk of brain missing from a gunshot wound and a cybernetic implant being used to connect the missing synapses.    The main character was the actual developer of the tech, and during the course of the novel he gradually works out who tried to kill him and stole the tech.  The thief/attempted killer re purposed the tech as a robotic pest controller to try and patent the overall tech without being obvious it was the stolen tech.  I think the novel was written in the early 2000's.


Textbook has two different versions, which to use?

I've recently enrolled in an Introduction to Computer Science II course in which the professor allowed me to skip the prerequisites.The problem is, I don't have the textbook from the previous course, Java How to Program 10th Edition Late Objects - Deitel & Deitel. The course and the one before it both encompass the same book, so I would like to catch up before the course starts.  While browsing on online stores, this led me to two different books, the 'Global Edition', and the US edition. Seeing that the Global Edition was half the price of the US version and I was on a budget, I thought it was a steal. There are many choices online with international editions at around $60 and the US at $150.  Why would the global textbook be lower than half the price than the US edition? What's the difference? I've read around that there is not much of a difference except for the cover, but why would that call for such a lowered price? The US book comes with access codes and other features, will the Global also come with those exact features?


While I install Ubuntu 18.04 on my HP OMEN15T gaming laptop, it just works a few seconds and then the screen freezes and I can't click anything. I have tried to use a another USB, but it still has the same error.


Estimation of variance of mean of Bernoulli distribution, if sample is degenerated

If $X_1,X_2,…,X_n∼Bernoulli(p)$   Variance of the average of $X$ is   $Var[S_x/n]=\frac{p(1−p)}{n}$  But if we have sample, where all $X$ are equal, $\hat{p}=1$ (or zero), and estimation of var of mean became equal to 0. Is it correct?


What is the correct spelling of two fold?

Two fold, twofold, or two-fold: which one is the best option?


How can I skip showing labels above inputs in an html form and only use placeholders in a clear manner?

I have a long form with many inputs and I've chosen to not show any labels for the inputs but instead use the input placeholder to show what they should contain:    The problem is, when they fill out the form, it's no longer obvious what the inputs actually are. I really don't want to show a label above each input since it would make the form longer and longer (and there are more inputs to come):   Any ideas how to tackle this?


How can I please union of cells according to the picture? Thank you.  \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[czech]{babel}  \usepackage{indentfirst} \usepackage{amsmath} \usepackage[left=2cm,right=2cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{tabularx} \usepackage{caption}  \captionsetup[table]{skip=10pt} \begin{document}      \begin{table}[h!]\footnotesize     \caption{Zářič $^{137}$Cs - přirozené pozadí}     \centering         \begin{tabular}{|c|c|c|c|c|c|}         \hline $PEAK$ [keV] &$E_{tab}$ [keV] &Zdroj& $FWHM$ [keV]&$NET$&$GROSS$ \\  \hline  609,35& 609,31& $^{214}$Bi& 1,38&   539&    4675\\ \cline{1-2} \cline{4-6} 1120,29&    1120,29&    &   1,95&   558&    1530\\   1764,57&    1764,49&    &   2,08&   451&    574\\ 2204,36&    2204,21&    &   1,86&   141&    188\\ 1460,81&    1460,75&    $^{40}$K&   1,73&   422&    738\\ 74,71&  rtg&    $^{214}$Pb& 1,15&   2321&   34035\\ 84,54&  &   &   1,22&   891&    16412\\          \hline         \end{tabular}      \label{Csp} \end{table} \end{document}


What is the essential difference between a resonance and a particle?

Let me start by explaining my particle physics background is very patchy, so this question may not be as coherent as  I would like it to be.   In general terms, what is the difference between a resonance found during a particle experiment and a particle?   From reading Wikipedia it seems to be mostly based on timescales. If a heavy particle decays quickly, how can we distinguish it from a resonance?  I would not be posting this question except for the fact that the Wikipedia page says "This page has some issues".        and I would be interested in knowing more about the subject.


Applying Wilson's Theorem to Prove a Congruence

Let $n \in \mathbb{N}$ and suppose that $n = kl$, for some $k, l \in \mathbb{N}$ such that $1<k<l<n$. Show that $(n-1)! \equiv 0(\mod n)$. So far I have show Wilson's Theorem, that is $(p-1)! \equiv -1(\mod p)$ for some prime $p$. How would I go about this?


Number of ways to pair off $2n$ points such that no chords intersect

For $n \geq 0$ evenly distribute $2n$ points on the circumference of a circle, and label these point cyclically with the numbers $1, 2 . . . , 2n$ Let $h_n$ be the number of ways in which these $2n$ points can be paired off as $n$ chords where no two chords intersect  I want to find a recursive formula for $h_n$.  First I find $h_1,h_2,h_3$ to see the recursive nature.    $h_1 = 1$ as their only one way to make one chord  $h_2 = 2$   Now $\require{enclose}      \enclose{horizontalstrike}{h_3=4}h_3=5$ ((1,4), (2,3), (5,6) case is missed in image)  I found a wikipedia link    and it is very close to my problem, But in this link you don't need to pair off $n$ chords.  But I can't get to come up with a recursive formula for my question.  If I would to guess I would say $h_n = 2 \times h_{n-1}$, And would this means that $h_4 = 8$ ??


Integration with a constant "a": $ \int_0^a \frac1{\sqrt {a^2-x^2}} dx $

Find the exact value of     $$ \int_{0}^{a} \frac{1}{\sqrt {a^2-x^2}} \mathrm {dx} $$   Where, $a$ is a positive constant  Hi, guys can give me tips to solve this ? Should we use like u substitution?


Is there a way to link two Ethernet adapters in Windows so that they can share the same IP address?

I just bought an Intel NUC running Windows 10 and it comes with a WiFi adapter as well as a wired Ethernet port.  I’m using my router to assign IP addresses based upon a device’s MAC address so they always get the same IP. I plan on using the Ethernet port, but every now and then I might move the machine to a location that doesn’t have a jack available.  I’d like to be able to use the WiFi, but still be able to use the IP address assigned to the wired port.  So if I have the following:   Wired Ethernet 172.16.68.67 WiFi Adapter   172.16.68.68   I’d like to always be able to use 172.16.68.67 as long as either the Ethernet is plugged in and/or the WiFi is connected.  Or even better, use 172.16.68.69 and the OS forwards traffic to 67 if it is connected, 68 if it is not.   One caveat is that I need to expose this adapter to HyperV so my virtual machines can use this adapter for connectivity.


Best way to handle query string params no longer used

A client's SEO "expert" has recently asked us to redirect hundreds of URLs to the home page but we're not sure if her request is the best way of going about it.  Here's the situation:  The clients site as a page called /knowledgebase.aspx. By default, this page shows the latest 10 articles.  When using the search feature of the site, it goes to the KB and adds the search terms to the querystring eg /knowledgebase.aspx?search=popcorn it will shows a list of articles containing popcorn.  A feature of the site recently removed is that of keywords or tags. Tags, like a blog, could be added to articles and the assigned tags were displayed under the article. Clicking on a tag of fruit, for example, would take you to the KB page with the url /knowledgebase.aspx?keyword=fruit. And, as expected, it would display a list of articles with a tag of fruit.  As this tag functionality no longer exists the site no longer contains pages with links to the KB with keyword in the query string.  Here's the problem:  Apparently, in Google's webmaster tools, these tag URLs ranked well and so the SEO expert wants all URLs containing knowledgebase.aspx?keyword= to be 301'd to the homepage. (Wouldn't this mean lots of URLs with dupe content so google will decide which to use on its results pages?)  We're thinking maybe add some 301s to a category page for closely matching content while using 404s for everything else (with human friendly content obviously).  The SEO expert though has an allergy or something to 404s though, thinking them an "error" and "bad".  What should we do?  Make all URLs with /knowledgebase.aspx?keyword= redirect to the homepage? (as requested)  301 good URLs to relevant other pages and return 404 for the rest? (our current thinking)  We could do nothing which presumably would have a similar effect to 301ing everything in that they will all have different URLs but the same content (in this case the latest articles as opposed to the homepage).  Any advice, pointers & hints would be greatly appreciated :)


The layman's question. Is there a maximum temperature that can be reached by air on Earth due to global warming? For example, one that would prevent living organisms from functioning? I read somewhere that with the increase of the sun's brightness by 10%, the average temperature on our planet will be 47 C. This, however, only for about 600 million years. Would global warming enable reaching such a high average temperature?


how to insert object to Specific index in object array using javascript

I want to insert object Specific index.  I research push and splice but I couldn't find a solution.  var collection = [ {id:"123"} ,{id:"567"}, {id:"999"} ]    The result I'm looking forward to is  result :  [ {id:"123"} ,{id:"567"}, {id:"1111"}, {id:"999"} ]


I cannot start up QGIS and get an error message

When I start up my QGIS, the following appears on the screen and it closes down. Please help me; I really need my files that are there and do my work as well.  The message says:  The ordinal 284 could not be located in the dynamic link library SSLEAY32.dll.


Why does my Python script give incorrect moduli?

I am right now playing with some code to try & get more familiar with Python & I made a change calculator in which you input a certain amount of money & it gives you the change you have to return (In Euros). However, I saw it would sometimes give a faulty result for the €0.01 change.  After doing some research, I saw the results for (x mod 20) would give a very strange number. For example, 20.03 mod 20 gives 0.030000000000001137. This problem also occurs for modulo 0.02 (in which the result becomes 0.030000000000001136). My code is as follows:  money = 20.33   # Input here the amount of money you would like to change moneydivs = [500, 200, 100, 50, 20, 10,              5, 2, 1, 0.50, 0.20, 0.10, 0.05, 0.02, 0.01] list = [] i = 0 countpos = 0 moneyoriginal = money   def printlines(pos):     print(f'{list[pos]} pieces of €{str(moneydivs[pos])}')   print('-----------[Steps in between (For bug hunting)]-----------') for num in moneydivs:     if money == 0:         break     list.append(int(money // num))     print(f'num = {num} & '           f'floor devision = {money // num} and modulus = {money % num}')     money = money % num     countpos += 1  print('-----------[Casual output itself]-----------') print(f'To change {moneyoriginal}, you have to give:') while i < countpos:     if list[i] == 0:         i += 1         continue     if i > 8 and i < 12:         moneydivs[i] = str(moneydivs[i]) + "0"         # Adds a 0 behind the decimal cents     printlines(i)     i += 1   And the output is as following:  -----------[Steps in between (For bug hunting)]----------- num = 500 & floor devision = 0.0 and modulus = 20.33 num = 200 & floor devision = 0.0 and modulus = 20.33 num = 100 & floor devision = 0.0 and modulus = 20.33 num = 50 & floor devision = 0.0 and modulus = 20.33 num = 20 & floor devision = 1.0 and modulus = 0.3299999999999983 num = 10 & floor devision = 0.0 and modulus = 0.3299999999999983 num = 5 & floor devision = 0.0 and modulus = 0.3299999999999983 num = 2 & floor devision = 0.0 and modulus = 0.3299999999999983 num = 1 & floor devision = 0.0 and modulus = 0.3299999999999983 num = 0.5 & floor devision = 0.0 and modulus = 0.3299999999999983 num = 0.2 & floor devision = 1.0 and modulus = 0.12999999999999828 num = 0.1 & floor devision = 1.0 and modulus = 0.029999999999998278 num = 0.05 & floor devision = 0.0 and modulus = 0.029999999999998278 num = 0.02 & floor devision = 1.0 and modulus = 0.009999999999998278 num = 0.01 & floor devision = 0.0 and modulus = 0.009999999999998278 -----------[Casual output itself]----------- To change 20.33, you have to give: 1 pieces of €20 1 pieces of €0.20 1 pieces of €0.10 1 pieces of €0.02   I don't understand where this offset comes from, or in case of my current code: Why 20.33 mod 20 = 0.33 - 1.7E-15. Where does the -1.7E-15 come from?  I should add that I'm using the Hydrogen package (in Atom) to give this output. Is there a possibility the issue may lay here?  Sorry if the question is a little bit messy. I get that I should not add my complete code, but I believe in the current case it is necessary to pull a conclusion & since my code is pretty short


What role does "spontaneously symmetry breaking" played in the "Higgs Mechanism"?

In talking about Higgs mechanism, the first part is always some introduction to the concept of spontaneously  symmetry breaking (SSB), some people saying that Higgs mechanism is the results of SSB of local gauge symmetry, some people says that we can formulate Higgs mechanism in a gauge invariant way, some people also says that we need only a non-zero vaccum expectation value... I am confused about this different or maybe same point of views.  In this post:  , the most highly voted answer, I still can't feel how SSB worked in Higgs mechanism. It seem that the validity of last part, the appearance of a mass term for $A$, is guaranteed if we have a non-zero equilibrium value $\phi_0$ to expand around. I do not see that the requirement that the phase of the field $\phi$ need to be fixed at some particular value to generate mass term. Thus it seems to me it is not true that SSB is really indispensable for Higgs mechanism.  To put it simply:  The spontanously breaking of what is attributed to Higgs mechanism?   local gauge symmetry global symmetry, since breaking of a "gauge symmetry" should not have any effect on physics. In higgs mechanism, the really broken symmetry is a global one. Mathematically, it is similar in looking as fixing a gauge, but one should not think it as a spontanously breakdown of local gauge symmetry. other.   Is SSB really indispensable for Higgs mechanism?    yes, Higgs mechanism is relied on the SSB of some symmetry (above question), the other approches of description eventually has spontanously broke some symmetry. No, the SSB is just one way to describe Higgs mechanism (or even not a complete way), what is really need is the non-zero vaccum expectation value, for example in the linked post the requirement for the mass term to occur is to have some non-zero expectation value of $\phi$ to expand around, we do not need the phase of the field to be fixed, thus the symmetry is not broken. Other.   some reference materials:    States that SSB of local gauge symmetry is impossible.  in the abstract states that:       gauge symmetries merely reflect a redundancy in the state description   and therefore the spontaneous breaking can not be an essential   ingredient. Indeed, as already shown by Higgs and Kibble, the   mechanism can be explained in terms of gauge invariant variables,   without invoking spontaneous symmetry breaking     In the introduction it says:      In particular, we emphasize that global U(1) phase rotation symmetry,   and not gauge symmetry, is spontaneously violated, and show that the   BCS wave function is, contrary to claims in the literature, fully   gauge invariant


How to show/hide columns based on value of SharePoint choice check box

I am working with SharePoint online and in one of the lists, I am using a choice check box column called 'Vehicle Type' with following choices: Personal Vehicle, Company Vehicle.  I am looking to do a simple thing, when Personal vehicle is checked, then I would like to hide two currency columns: Car Rental, Fuel and if Company Vehicle is checked I want to show the above two columns. Can someone help me with the JS solution. Thanks in advance.  P.S: it should account for the change event.  <script src="//code.jquery.com/jquery-3.2.1.min.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function()      $("input[title='Vehicle Driven']").change(function(){         if($(this).is(":checked")=="Personal Vehicle"){             $("nobr:contains('Fuel')").closest('tr').hide();         }else{             $("nobr:contains('Fuel')").closest('tr').show();         }     });  }); </script>


How to solve non-linear differential equation $$y'(x) = y(y(x)), \quad y\colon\mathbb{R}\to\mathbb{R}?$$  Of course, $y(x)\not\equiv 0$. If we substitute $y(x) = Ax^n$, we get complex $n$ and $A$. Any numerical solution doesn't work because we can't calculate $y(y(x))$. Series expansion for $y(x)$ is also failed.  Is there a theory of such equations? Numerical solution is not what I want.


Exposure to asbestos, what to do with stuff and worries?

I learned just recently about asbestos in condos I had few possible exposures:  In old condo put 20 screws and nails into asbestos wall and took them out later, without cleaning the dust. What to do with carpet, bed, clothes, shoes, camping stuff...where it all might got? Keep or throw out? Do I need to wash every single clothes?  In new condo around 3 tablespoons of dust/powder from possible asbestos drywall, popcorn ceiling, tiles  from old renovation was uncovered under new laminate floor and blew into whole aparment, carpet, furniture, blankets... What should I do with all the stuff? Keep or throw away? How to make sure the place is safe?  I am worried that also there is still some asbestos dust left from the old renovation in hidden places, between baseboard heaters, in dust in popcorn ceiling,walls, closets... since the previous owner said they didnt test for asbestos before renovation (renovation was done 2 years ago, condo is from 1970)  I am worried about constant exposure because of many renovations in the condo building in common areas, elevator, garbage chute...Also blowing it inside while the windows are open from renovation or if exterior of bulding is made of it and its windy...  I am worried about exposure in common areas of the building in laundry room, garage... as I doubt its being monitored and I seen falling paint, missing vinil tile, broken pipe insulation...   Any advice appreciated!


In the following diagram, let the side length of the large square be $s$.    How do I specifically determine the numerical value of the area of the blue region?  I can easily show the equivalence between the blue and yellow area, but I don't think this helps determine the area. If possible, I would like to have a method without integration.


Python 2.7, using packages from another location

I've tried searching for this but can't understand the answers that I've seen.  I'm relatively new to Python (2.7) and am the only person at my org who uses it. They're sunsetting one of our virtual environments, and the one which will remain doesn't have any of the necessary third party packages to basically do anything. I need to copy all of the package folders (from 'Python27\Lib\site-packages') to a shared network drive so they're not lost. I've copied the entire Python27 folder over to a shared drive (T:) and want to run them using the copy of Python27 on the new virtual environment (C:)  I want to modify my scripts to import these packages from the networked drive.   The answers I'm seeing for this are similar to:  from application.app.folder.file import func_name   However, this isn't helpful to me, I guess I'm just too stupid to understand it. Lets say I want to import the babel package from the copy I made on T:. The above has me thinking I need to enter something like   from 'T:\foo\Python27\Lib\site-packages' import babel   or   from 'T:\foo\Python2y7\Lib\site-packages\babel' import babel   but every variation of this I try gives syntax errors. Additionally I'm confused, because the examples I see show people pointing to literal '.py' files, but none of these packages have an actual '.py' file of the same name as the package (they all have init files within their individual folders, and lots of other randomly named .py files).  Can someone, in plain english, using filepath examples, show me how to do this? I'm very confused by the long answers and fake example paths, I would love a literal absolute path starting with 'T:\', as answers like   from packA.subA.sa1 import helloWorld   confuse the crap out of me (what is packA? what is subA? is helloWorld the name of the actual package, the name of the folder within site-packages, or the name of a .py file within a folder?)  Unfortunately I'm unable to use PIP or any other third party libs that might make this easier, as the new VDE doesn't have anything but stock 2.7 packages.   I'm sorry for being so dumb, I stayed late and created a StackOverflow account just for this, would really appreciate a hand holding.


accidently I did "chown -R www-data:www-data /" (I wanted to chown current directory).  Is the only good way now to set the system up again from beginning?  waaaah -.-  Thanks


How does Ultra-pasteurized milk compare with pasteurized milk?

I am specifically interested in whether all proteins and nutrients lose their structure permanently because of the very high temperature of ultra-pasteurization.  What is the case for pasteurized milk?


The site description in the hero header is wrong for Meta sites

The hero header contains the same description for the Main and Meta sites. Here's the one for MSO:           Meta Stack Overflow is a question and answer site for professional and enthusiast programmers. Join them; it only takes a minute:    This can easily confuse people who are new to the network, so I feel this should be changed to something Meta specific. Perhaps re-use the text from the sidebar, that has a good description:     This site is intended for bugs, features, and discussion of Stack Overflow and the software that powers it. You must have an account on Stack Overflow to participate.


Traveling with US visa with new passport with non-matching surname

I'm separated from my spouse I don't want to put his name on new passport which was expiring. My concern is that my old passport had surname of his and my visa is valid with his surname. Can I still travel my visa?


I want to test a private method - is there something wrong with my design?

So I'm extremely new to software testing, and am looking at adding a couple of tests to one of my applications. I have a public method addKeywords() which along the way calls a private method removeInvalidOperations(). This private method makes calls to an external API and is ~50 lines of code. As I consider this to be a somewhat complex method I would like to test this without having to do so through calling the addKeyword() method. Yet this does not seem to be possible (at least not though JUnit).  The information I have looked at is suggesting that the desire to test ones private methods could be a code smell. Some people suggest that it may be a sign that this should be refactored into a separate class and made public. Also, there are the suggestions that if you really need to then you can make edits to your production code e.g. change the visibility of the private method.  I don't really see why I have a problem with my current code design, but also don't like the idea of editing my production code to suit my tests needs.  As I say - I'm rather new to testing, so any help is much appreciated. Also, please let me know if there is any further info I can provide to help with the answers.


After the performance problems we have run into with  we've decided to make a change, we're moving the network on to .  Here's where to get started:   What works:   All search operators should be in Many changes below from the old search behavior   What's different:   The new search is AND, adding a search term will narrow your results, not expand them. The look of search results is now more unified with the following differences between Q&A:   "Q:" or "A:" prefix Answer counts and tags will be present in questions. The answer count will be highlighted in green if it's accepted. (We may index other things later, that's why the results are more generic/google-y now.)  It's faster, about 5-10x faster for almost all searches on large sites like Stack Overflow Quoted phrases are exact matches except for case-sensitivity, for example,  or . If not in a quoted phrase, words will now be stemmed () Snippets for context will now be more relevant Excludes are now explicitly supported (like -term and -"my phrase") We don't roll up to the question anymore, if you searched for something that matched an answer, we'll show you the answer directly in search results The search per minute limit is effectively gone, it'll block a bot, but no one else should hit it... We'll be monitoring performance though infavorites:mine is back, with infavorites:12345 (any user id) added   What needs work:   What you tell us is broken... Do your worst.   Testing, not yet final:   New range support, here are some examples:   answers:1..1 (exactly one answer) answers:10..20 (10 to 20 answers) created:2008..2009 (created between Jan 1st, 2008 and Dec 31, 2009) created:2010-04..2010-05 (created between April 1st, 2010 and May 31st, 2010) created:2011-01-05..2011-01-06 (to be clear: it goes to end-of-day) This range syntax applies to a new advanced operator: lastactive: and the other numerical ranges, views:, and score:  Additionally, the above syntax is a bit more flexible if you forget it exactly (e.g. score:20-30) in an effort to be intuitive as possible, give it a try - tell us what you think.    I'll try and improve the search as much as possible before it becomes default... At the very least we want it equivalent in relevance and functionality before the switch, but ideally much better. We won't switch until then.  Please give it a try, tell us what you think here, and we'll continually improve it over the holidays as time allows. Bear in mind you may get a search offline page during this test if a change we're making for results necessitates a reindex, and even that should only last about two minutes here on Meta Stack Overflow.  Give it your worst, compare results to the old search, tell us what's better and what's not. We look forward to the feedback.  Update The new search is now the default across the network - we'll be monitoring things over the next few days and would appreciate reports of any crazy behavior you see here.


Is there an option in top to show memory sizes in human readable format?  Example:  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND                             3960 phil      20   0 1347280 383112  30316 S   0.0  9.5   6:59.45 firefox   It would be nicer to show RES as 374m (instead of 383112).  I'm currently using Arch Linux. Ubuntu seems to use human readable representations by default.  (I tried man top but could not find the option. Maybe I missed it.)


Can I install Ubuntu/Lubuntu on a pc with a video card that is not supported if I add `nomodeset` in using the live cd/usb?

I have a computer with a video card that has no Linux support.  I discovered this issue while trying to use a persistent usb to boot from.   I found that I can boot like that if I change options and edit so as to add nomodeset there (see ).  Also, editing the syslinux.cfg file from my live persistent USB and adding nomodeset in a line there made this setting automatic for booting from the persistent USB.  Can I make a similar edit for proper install from the same live USB?  Is it possible to edit something on the live USB in order to install the SO from it,  -- that is: having automatically the nomodeset setting already there when the installation starts?  My problem is that in order to install I think I already have to have added nomodeset or I'll see nothing on my display. I need a way to be sure that nomodeset it's permanent from the start.


How do I search for my posts in all communities?

I want to look at a list of my new posts, not just for the current community I'm logged into, but for all communities together.  How can I do this?


Why doesn't Harry live with the Weasleys?

As we know, whenever school ends, Harry is sent back to live with the Dursleys, where he suffers from abuse. He would much prefer to live with the Weasleys, and often visits there before returning to school. It stands to reason that they probably don't live that far from each other, since:   Both Harry and the Weasleys use Platform 9¾ to get to school Ron was able to take Harry to the Burrow in a flying car within a reasonable amount of time   It's heavily hinted at that the Weasleys are poor. However, it's not like Harry would live there permanently. Three months isn't that bad, not to mention he's pretty well-off from his parents' money. There would be little to no extra expense on the Weasleys.  The only explanation is that Dumbledore goes out of his way to ensure Harry lives with the Dursleys. If so, why is this?


14.04 - Keyboard does not work in login screen after sleep

I have an issue I'm not sure how to work out. On Ubuntu 14.04, after sleeping the keyboard will be non-responsive most of the time on the lightdm login screen. It's not completely non-responsive: I can still Ctrl+Alt+F1 into a virtual terminal to restart the lightdm service and everything is alright. However, obviously anything I left behind when I originally put the laptop to sleep has now been washed away, somewhat defeating the purpose.  Where do I look to figure out what the problem might be?  Edit:  As it turns out, the original solution I found does not solve the problem. It still recurs fairly frequently (without reinstalling the input package over and over again). In this case the mouse and keyboard work fine, except for typing a password into the box. This can be solved simply by highlighting some other GUI element, for example I click the power button in the top right. After that the text input works fine again. It's a bit bizarre...


Can we find a closed form for this integral?

Can we find a closed form for this integral: $$\int_0^\infty e^{-ix} x^{\alpha -1} \mathrm{d}x$$  I am assuming it requires complex analysis and the use of Cauchy's residue theorem, but is there any elementary way other than complex analysis to evaluate this? I am not asking for a solution; a hint or guidance would not be overlooked. Thank you in advance!


issues with DKMS while installing nvidia drivers on ubuntu 16.04

I'm unable to install Nvidia driver, and got stuck in a login loop after trying to install the Nvidia driver from ppa:graphics-drivers/ppa. I tried installing version 396, but I am not able to understand the error. I tried the following commands.   sudo add-apt-repository ppa:graphics-drivers/ppa sudo apt update sudo apt install nvidia-396   I got the following error:    I'm also unable to login into my account and coming back to the login screen after putting the login credentials.


Methods for testing a Bayesian method's software implementation

I'm a frequentist but have been exploring Bayesian techniques lately. One thing that bothers me is that I'm never completely sure that I've implemented them correctly. To be specific, I'm not talking about convergence, burn-in time, or autocorrelation. I'm talking about, 'did I code the formulas correctly?'.  What I do now is to jack up the sample size and watch for the posterior to hug the true parameter values (with simulated data). But that's completely ignoring the power of the prior and the great small sample properties that Bayesians love to talk about.   Frequentist techniques make testable predictions in the form of relative frequencies. But in the Bayesian context, we lose the relative frequency-based interpretation of probability. So how does one programmatically test a Bayesian method's software implementation?


Passport control location when travelling from Disneyland Resort (Marne-la-Vallée/Chessy) by train to London

I am an Indian planning to take a train from Disneyland Resort (Marne-la-Vallée/Chessy) to London. Please let me know where France and UK immigration respectively will be done.


Why do my apps scale incorrectly when I drag them onto a second monitor?

Google chrome scaling incorrectly from an ultrawide (3440 x 1440) to a 1080p monitor.  I have one ultrawide the monitor on the right in the picture and one 1080p monitor (the one on the left). Whenever I drag an app over it does what is shown in the picture. It also does this with my wallpapers as well. I have tried 'LittleBigMouse' and that didn't fix it. It seems that the further up the monitor you go the worse the jump in size is. I would greatly appreciate it if anyone could help me with this issue. Thanks.


Get Boolean result by String expression in APEX

I have a string conditions logic that retrieves values for a Map<String,Boolean> and checks if logic is true or false. For example my logic looks like:  ((1A2)O3)   Being A => AND and O => OR.  And my map has this kind of structure:  new Map<String,Boolean>{'1'=>true,'2'=>false,'3'=>true};  Is it possible to replace characters in logic conditions with boolean values and get a proper result in Apex? Or even in Javascript?


Should you not fix one problem when there are bigger ones?

I read an excellent explanation about an informal fallacy in a textbook about 20 years ago, but now I can't find it.  It involves people rejecting a proposal to fix one issue because larger, more important issues exist.  For example, if someone argues "the government shouldn't spend money on trying to reduce sexual assault while climate change hangs over our heads threatening to kill more people than are assaulted. We should be working on that, instead."  The fallacy, the textbook explained, was that it assumed the government could only work on one thing at a time. Such a prioritisation might justify spending more resources on the higher severity issue than the lower severity one, but it didn't justify rejecting a proposal that might help the lower severity one.  I see people arguing this fallacious position frequently, and want to have some resources to support me turning that around, but I don't know the name of the fallacy.  Can anyone tell me the name of the fallacy?


Where can I locate source code of Drupal 1.0 or earlier version?

As for learning purposes, as I am developing my own micro-CMS (well, in fact a femto-CMS) in PHP + MySQL, I would like to locate the earliest possible version of the source code of Drupal. In Drupal.org I can only locate from version 4.x and above, I would like to find 1.0 or even an earlier beta version.


Is there a way to add a superscript "6" into the "content" CSS property for a pseudo element? I've been all over the web, trying different Unicode strings and glyph codes to try to get this to work, but haven't found a solution.  Thanks!  EDIT: Sorry for not clarifying... I'm needing to put the superscript "6" amongst other text in the same "content" property. Looks like I'll need to just define a different encoding for my CSS and drop it in as a literal character.


Use of substitution into the integral $\int_0^2 \frac{\arctan x}{x^2+2x+2}dx$

This question: got some attention, but I didn't understand anything of it. Now I looked at the solution of the book and there is given the hint to use the change of variable $$x=\frac{1-t}{1+2t}$$ Could you please explain how one could think of such substitution? Is there some intuition behind this? Also after I used the substitution I got: $$\int_{-1/5}^1\frac{3\arctan\left(\frac{1-t}{1+2t}\right)}{5t^2+8t+5}dt$$ How can I finish this using the hint from the book?


Dell XPS 13 9350 with Ubuntu 15.10 - Touchpad freezing, jumping

I have the XPS 13 9350 (2016 edition) dual-booting into Ubuntu 15.10. I have an issue with the touchpad where it will run fine after starting up the computer, but typically within 5-15 minutes of use the touchpad will start acting up. Sometimes the whole thing will freeze and won't respond at all, or will only respond on the far-right edge. Other times I can click and drag, but I can't move the cursor without clicking. Occasionally the cursor itself will jump all over the screen when I'm not touching the touchpad at all. None of these problems are apparent on the Windows install, which makes me think it isn't a hardware problem.  When I set up Ubuntu I followed this guide  and created the /etc/X11/xorg.conf.d/50-synaptics.conf file, but I deleted it to see if it would fix any of the issues I was having (it did not).  Anyone else have this problem? Any fixes out there?


If $\gcd(a,b)=1$, then there exists integers $x$ and $y$ such that $xa + yb = 1$

Did not find this from this website...  If $$ \gcd(a,b)=1,$$ then there exists integers $x$ and $y$ such that $$xa+yb=1.$$  Now, the tip is to use particular corollary, that states:  The class $[m]_{n}$ generates $\mathbb{Z}/n\mathbb{Z}\Leftrightarrow \gcd(m,n)=1.$  I am totally lost with the corollary.  Let's assume that $\gcd(m,n)=1$. Then, $[m]_{n}$ generates $\mathbb{Z}/n\mathbb{Z}$.  OK! Then what?  There is also follow up, where I have to prove the converse. I am familiar with Bezout's lemma.


Test Method throwing null pointer exception on custom setting

I am trying to write a test class.  My Apex class has the following constructor:  public NController(ApexPages.StandardController controller) {      cas =  (Case) controller.getRecord();     csId = cas.Id;     owner = cas.OwnerId;      N_SSettings__c nhdsms = N_SSettings__c.getValues('Int');     rate=nhdsms.Rate_Code__c;     accId=nhdsms.Acc_Id__c;  }   Here N_SSettings__c is a custom settings which has two fields Rate_Code__c and Acc_Id__c. It has a record called 'Int' with both Rate_Code__c and Acc_Id__c field values populated.  I am using the following test class method:  @isTest public class NHSsendSMSController_Test {     public static testMethod void NHSsendSMSControllerTest()     {         Case caseObj = new Case();         insert caseObj;         ApexPages.StandardController sc = new ApexPages.standardController(caseObj);         NController nControllerObj = new NController(sc);         nControllerObj.methodName();     } }   When I run the test method, it is throwing a null pointer exception on the line :  rate = nhdsms.Rate_Code__c;   The custom setting is definitely present with the required values of both the fields of Int.


So my Linux experience began a week ago. I thought that Ubuntu is a great project so switched to it instead of Windows  as I saw that just replacing it was easier and less tedious. So I made the backup image plus the Windows Recovery on a USB stick (I tested if it worked or not before installing Ubuntu and it worked) then I decided that it was time that I switch back to Windows. The USB stick is on the first slot of boot order in the BIOS but it still boots Ubuntu instead of the Windows recovery USB. So I tried to uninstall grub and now I'm stuck in grub rescue and the usb stick still doesn't boot even though it is supposed to boot first.


it is possible to put ubuntu on my htc wildfire s? and how?

I have a htc wildfire s it is rooted but is it possible to get ubuntu on my phone? If so, how?  I am not so smart with this so please if it is possible a full tutorial?


Why do these reflections appear in some photos and how can I stop it from happening? This is not the first time this has happened. Wondering if a hood would fix the problem


We have noticed when the main part of our company name is searched in Google (Premier Disability) it shows 3-4 of our pages on the very top (home, contact us, current clients, about ssdi). However, when we search using a longer and more specific version of our name (Premier Disability Services or Premier Disability Services, LLC) it only displays 1 page (home page). When searching these terms we used Chrome desktop in incognito mode.   Most searches for our company are using "Premier Disability" and not our longer version. However, we're interested in seeing why more of our pages don't show when searching a more exact term of our name. I know this is a bit nebulous of a question but any help would be appreciated.


How to set previous kernel as default in GRUB (Grub customizer)

Can you guys please help me use Grub Customizer to set an older version of the kernel 4.4.0 of Ubuntu 16.04 LTS as default when booting? I'm not using a dual boot system, and I have installed 4.4.8 kernel to help me solve the suspend problem, but it's draining my battery.  What do I have to do, I wouldn't want to f*** things up.


Question title placeholder is partially obscured in the iOS app

After upgrading to iOS 11 I noticed that question title placeholder is partially obscured:         App Version: 1.7.0.1 Device: Unknown (iPad7,3) OS Version: Version 11.0 (Build 15A372)


Labeling everything that is auto-forwarded from a (non-Gmail) account

I've got several email accounts, but I always set them up to be auto forwarded to the main one, so I always check just one inbox. This is awesome, but sometimes I need labels to organize and categorize work, promos, academic, etc...  Lets suppose main account is julian@gmail.com, academic is julian@university.edu, and work is julian@company.com, What I have now is academic and company forwarding everything automatically to Gmail, and it's working, and some labels are working as well, but there are some groups such as math@university.edu that is a list to all of the students in that class, or project@company.com that has same behavior.  I set up a label called "academic" to everything in Gmail that matches To:julian@university.edu, and in this scenario is working:  From: martin@university.edu To: julian@university.edu (julian@university.edu forwards everything to julian@gmail.com) So in inbox, I see "To: julian@university.edu", and that conversation gets the label!   But, let's suppose this scenario:  From: martin@university.edu To: math@university.edu (It's forwarded auto to all students, so julian@university.edu receives it) (julian@university.edu forwards everything to julian@gmail.com) So in inbox, I see "To: math@university.edu", and that conversation does not get the label!   I don't want to modify the label so it consider julian@university.edu AND math@university.edu, it's just not practical, there are like 15 groups among university, familiar and work, so filters would be a bit confuse.  Is there a way that Gmail detects that email is being forwarded FROM academic, without taking into account the TO and FROM fields, so it puts the correct label on it?  The deliveredto field was quite useful for admin by google accounts, but that field seems to stop working when secondary accounts are not Google, such as Gmail or a simple cpanel email account. How do I get same effect with different accounts?


Will Ubuntu support my machine features?

I'm looking to download and install the latest version of Ubuntu to replace the current version of Windows I had pre-installed on my machine when bought it.   I have some really neat features on the machine that I really am hoping will still work when I move over to Ubuntu.  Can someone please confirm if the below will still work and, if not, how I can get them to work:   The USB ports on my machine The ethernet or Network work port on the machine The HDMI output on the machine and finally, the built in webcam   Thanks Sam


Let $G$ be a finite group and suppose $H$ is a subgroup of $G$ having index $n$. Show there is a normal subgroup $K$ of $G$ with $K\subset H$ and such that the order of $K$ divides $n!$ . any suggestion? Thanks.


What exactly happened with Dr. Crusher's husband and Captain Picard?

In ST:TNG "Encounter at Farpoint", it's clear that Dr. Crusher knows Jean-Luc Picard, and this had something to do with the way her former husband died.   From the script:     RIKER: Jean-Luc? You know Captain Picard?   WESLEY: When I was little, he brought my father's body home to us.   ...     BEVERLY: Then you must object to me personally. Has it to do with our last meeting?   PICARD: I'm trying to be considerate of your feelings, Doctor Crusher. For you to serve with a commanding officer who would continually remind you of such a terrible personal tragedy... .    ...   BEVERLY: Captain. My feelings about my husband's death will have no effect on the way I serve you, this vessel, or this mission.   Is it known what exactly the circumstances were?


Theorem 9.1. of Serge Lang's algebra proves that if $A$ is a complete local ring with maximal ideal $I$, if $$ f = a_0 + a_1X + \dots $$ is an element of $A[[X]]$, if $a_0,\dots,a_{n-1} \in I$ but $a_n \not \in I$, then for any $g \in A[[X]]$, there exists a unique $q \in A[[X]]$ and $r \in A[X]$ with $\deg(r) \leq n-1$ such that $f = qg + r$. To prove this statement, Lang introduces two maps $$ \alpha(b_0 + b_1X + \dots) = b_0 + \dots + b_{n-1} X^{n-1} $$ and $$ \tau(b_0 + b_1X + \dots) = b_n + b_{n+1}X + \dots $$ Clearly the assumptions on $f$ imply that $\tau(f)$ is invertible since the leading coefficient of $\tau(f)$ is a unit in $A$. A key claim in the argument is that the map $$ h \mapsto h + \tau \left( [\alpha(f)/\tau(f)] h \right) $$ is invertible, but I am unable to see how Lang is able to justify this. I am able to prove this map is injective but I have no idea how to prove the map is surjective.