I heard people pronouncing "Probably" as "Praw-b-lee", is this limited to particular area or it is correct pronunciation every should follow.

Prolly is given this definition at :     Clipped pronunciation of probably.   I was reading an interesting article today that  from 1947 and that surprised me. Unfortunately, I wasn't able to find a listed source for the claim. So how old is prolly?


I've made this model with bones but when i try to animate the model by moving or rotating a bone it disconnects from another. How do i get a bone so when i rotate it its still connected to another bone?  Bone before rotation:    Bone after rotation:    I have no idea why this is happening i thought bones were supposed to be connected. I have been researching this problem for hours but this nothing about this, it doesn't look like anyone else has this problem.

I have a simple armature that has three loose bones that I would like to join at one joint. Is there a way I can join these 3 into a single joint?


I have encountered a problem which requires me to prove that ideal inclusion is a local property. That is to say, suppose $S,T \subset R$. Show that $S \subset   T \Leftrightarrow SR_P \subset TR_P$ for every prime ideal $P \subset R$.  This is rather an elementary exercise but I think it would be tedious to start with definition and prove the if and only if statement. I was wondering if there is an extremely easy and fast way to show this statement? Since I know a proposition saying that being injective or surjective as Noetherian module is a local property. The proof will be one line for Noetherian ring if we just let the injective map be inclusion. However, it is not always true for general rings. Are there any famous propositions we can use to JUST finish this proof in several sentences, or we must prove this statement from definition?

Let $R$ be a commutative ring with $1$ and $I$, $J$ ideals in $R$.   For a prime ideal $P$, let $I_P=(R-P)^{-1}I$ be the localization of $I$ at $P$.   Question:     If $I_P=J_P$ for all prime ideals $P$ then is $I=J$?   My first attempt at a solution: take $x\in I$ then for each prime $P$ write $x/1=y/s$ for some $y\in J$ and $s\in R-P$. Then for some $t\in R-P$, $xst=yt\in J$ where $y,s,t$ all depend on $P$. From this can I deduce that $x\in J$?   Is there a better way to show this?  Thank you!


I am using Entity Framework 5. In my C# code I want to compare if two objects are equal. If there are not then I want to issue an update.   I have been told I need to override the .Equals method and then also the gethascode method.  My classes look like this:  public class Students    {     public int PersonId { get; set; }     public string Name { get; set; }     public int Age {get; set;}  }   Can some explain why I need to override .Equals and .GetHashCode.  Also can someone give me an example. In particular I am not sure about the hashcode.  Note that my PersonId is a unique number for this class.

Given the following class  public class Foo {     public int FooId { get; set; }     public string FooName { get; set; }      public override bool Equals(object obj)     {         Foo fooItem = obj as Foo;          if (fooItem == null)          {            return false;         }          return fooItem.FooId == this.FooId;     }      public override int GetHashCode()     {         // Which is preferred?          return base.GetHashCode();          //return this.FooId.GetHashCode();     } }   I have overridden the Equals method because Foo represent a row for the Foos table.  Which is the preferred method for overriding the GetHashCode?  Why is it important to override GetHashCode?


Introduction to Topological Manifolds - 2e (J.M. Lee), pg-46 ,Q-25.   For each of the following properties, give an example consisting of two subsets $X,Y \in \mathbb{R^2}$, both considered as a topological space with their Euclidian topologies, together with a map $f:X \to Y$ that has the indicated property.   (a) $f$ is open but neither closed nor continuous.   (b) $f$ is closed but neither open nor continuous.   (c) $f$ is continuous but neither open nor closed.   (d) $f$ is continuous and open but not closed.   (e) $f$ is continuous and closed but not open.   (f) $f$ is open and closed but not continuous.       During my attempt, I have come up with the following maps and spaces.   f) I define a map that divide an open disk $X \equiv B_r(0)$ in $\mathbb{R^2}$ into two parts for some $r'<r$ where all points that lies inside open ball of radius $r'$ are mapped to a one single point and rest to another single point. Then I define $Y$ to the space formed with those two points. It is clear $f$ is open and closed. Also, the inverse image of second point is obviously not open in $X$. (I don't know how fair is merely considering two points in $\mathbb{R^2}$ pertaining to the spirit of this question)  e) I take the closed annulus between $1\leq r \leq 2$ and define the map in polar coordinates: $f(r)=r-1$. This is a quotient map that collapses the inner ring to a point and maps to $\bar{B}_1(0)$. Since Quotient maps are continuous, it is continuous. I think this map should be closed using the closed map lemma. A map from Compact space to a hausdorff spaces is closed. And I think it's not open because if we consider the sector of an annulus between two angles. The ring that collapses to a point doesn't allow the set to remain open in $\bar{B}_1(0)$.  d) I think a topological embedding would do in this case of any open ball into some bigger open ball.     But from this point onwards, I am getting worried that I am missing the big picture of this question. I think I am merely brute forcing the examples. Is there any general conception I am missing to generate such examples. Something thats's bit more intuititve to comprehend?

I'm self studying J. Lee's Introduction to Topological Manifolds, and after doing all other exercises on chapter 2, I can't seem to come with the proper counterexamples for this one.      For each of the following properties, give an example consisting of two subsets $X, Y \subset \mathbb{R}^2 $, both considered as topological spaces with their Euclidean topologies, together with a map $f: X \rightarrow Y$ that has the indicated property.         Open but not closed/continuous   Closed but not open/continuous    Continuous but not open/closed         etc... (all cases)   I think the reason for my difficulty is a lack of geometric intuition of what open, closed and continuous maps look like as deformations of shapes in $\mathbb{R}^2$ (I can construct counterexamples from artificial made up spaces).   I tried squashing balls and 'pumping space' into lines, as well as joining strips in annulus shapes, but all the examples I seem to come up with are either too well behaved (i.e. all 3) or too misbehaved.   Instead of a case by case answered I would prefer a couple worked out cases and some intuition on how to visualise open / closed maps in this context.


Why training deep learning models is more likely to suffer from plateaus than local minima?   Could anyone illustrate it.

I heard Andrew Ng (in a video I unfortunately can't find anymore) talk about how the understanding of local minima in deep learning problems has changed in the sense that they are now regarded as less problematic because in high-dimensional spaces (encountered in deep learning) critical points are more likely to be saddle points or plateaus rather than local minima.   I've seen papers (e.g. ) that discuss assumptions under which "every local minimum is a global minimum". These assumptions are all rather technical, but from what I understand they tend to impose a structure on the neural network that make it somewhat linear.  Is it a valid claim that, in deep learning (incl. nonlinear architectures), plateaus are more likely than local minima? And if so, is there a (possibly mathematical) intuition behind it?   Is there anything particular about deep learning and saddle points?


An exercise in my number theory book asks to implement the following algorithm to solve $ax + by = gcd(a,b)$:  Set $x = 1$, $g = a$, $v = 0$, and $w = b$ If $w = 0$, set $y = \frac{g-ax}{b}$ and return $(g,x,y)$ Divide $g$ by $w$ with remainder, $g = qw + t$, with $0\leq t < w$ Set $s = x - qv$ Set $(x,g) = (v,w)$ Set $(v,w) = (s,t)$ Go to step 2.  Initially, I didn't even understand how it could work. Then I implemented it blindly in Python and it worked right off the bat. I tried to use the algorithm to manually solve some simple equations, and now I do see that it basically goes through $a$, $b$, and all subsequent remainders of the divisions in the Euclidian algorithm until it hits zero, but all the value swapping confuses me. The book also asks to prove that the algorithm does return the gcd as well as a solution to the equation, but I can't because I don't quite understand what it is doing. I think I kind of see that it is using $s$ to keep track of possible values of the solution, but the rest is foggy. Could you help me understand what it is doing? Note: yes, as it is the algorithm goes bonkers if $b = 0$. The books asks you to fix that and I did, but it's not relevant here.

I've only found a recursive algorithm of the extended Euclidean algorithm. I'd like to know how to use it by hand. Any idea?


My idea was: If $n$ is even,  $\gcd (3ⁿ-1; 2ⁿ-1) =  \gcd (6ⁿ-3ⁿ + 3ⁿ-1; 2ⁿ-1) =  \gcd (6ⁿ-1; 3ⁿ-1) = 2ⁿ-1 $  So $3ⁿ-1 = 2ⁿ-1$ So $3ⁿ = 2ⁿ$, what does $n = 0$ (nonsense pq gets 0/0)  $3ⁿ-1 \equiv 0 \mod 2ⁿ-1$, so $3ⁿ \equiv 1 \mod 2ⁿ-1$, i.e. $3 \equiv 1 \mod 2ⁿ-1$,  $2 \equiv 0 \mod 2ⁿ-1$.  Someone help me?

Is it possible for some integer $n>1$ that $2^n-1\mid 3^n-1$ ?   I have tried many things, but nothing worked.


I've started using new command lately and I think it is great.  For example \newcommand{\QQQ}{~~,\quad\text{and}\qquad }   \newcommand{\WW}{~~,\quad\text{with}\qquad }  \newcommand{\WWW}{~~,\quad\text{where}\qquad }   I also want to have a shortcut for creating equation and align envornments, but newcommand won't let me do it.  How can I make a shortcut for \begin{equation} \end{equation}?  I'm using TeXStudio if there's a non-latex way to do it in my editor. For example, if I use \newcommand{\ZZ }{\begin{align}}  \newcommand{\ZZZ }{\end{align}}   and then type \ZZ  \pi \ZZZ  I get the PDF compiler error: Paragraph ended before \align was complete.

I'm trying to define two commands \bal and \eal instead of inserting \begin{align} and \end{align} in my document, but in the code below, I'll get some errors. What is wrong with it?    \documentclass{article} \usepackage{amsmath} \makeatletter  \newcommand{\bal}{%  \begingroup  \align% \@ifstar{\nonumber}{}%  }  \newcommand{\eal}{\endalign\endgroup} \makeatother \begin{document} \bal* x=y \eal \end{document}


I currently have a few tables that look like this:  create table Actors (ActorID    varchar (20) primary key not null, FirstName   varchar (35) null, LastName    varchar(35) null, "Address"   varchar (30) null, Country varchar (30) null, "State/Province"    varchar (30) null, PhoneNumber varchar (15)  null );   go      insert into Actors     values ('A-63','Tom','Hanks','4332 Whalibee Way','US','Washington','555-619-9905') ,     ('A-42','Sandra','Bullock','63 Sharridon Ave.','US','Texas','329-556-3030'); go  create table Director     (   DirectorID  varchar (20) primary key not null,     FirstName   varchar (40) null,     LastName    varchar(40) null,     MovieID varchar(20) foreign key references Movies (MovieID) null,     "Address" varchar ( 30) null,     Country varchar (35) null,     "State/Province"    varchar (35) null,     PhoneNumber     varchar (15) null     ); go      insert into Director values     ('D700','David','Speilberg','MO-57','9000 Cheque St','US','California','432-553-2267'),     ('D-900','William','Bruckheimner','MO-31','68585 lava lane','US','California','519-242-2543'); go  create table Producer     (ProducerID     varchar (20) primary key not null,       FirstName   varchar (40) null,     LastName    varchar (40) null,     MovieID varchar (20) foreign key references Movies(MovieID) null,     "Address"   varchar (30) null,     Country varchar (35) null,     "State/Province"    varchar (35) null,     PhoneNumber varchar (15) null     );     go      insert into producer values      ('P-123','RJ','Abrams','MO-57','45 Canterbelly Cres.','US','California','556-876-4134'),     ('P-82','Malcolm','Brooks','MO-62','678 Undertree rd','US','Arizona','897-332-6633'); go  Create table Movies  ( MovieID varchar(20) primary key not null,     MovieName   varchar (40) null ,     "Type"  varchar (20) null,     Rating  varchar (20) null,     Director    varchar (35) null,     Producer    varchar (35) null,     MainActor1  varchar (35) null,     MainActor2  varchar (35) null,     SupportingActor1    varchar (35) null,     SupportingActor2    varchar (35) null,     ReleaseDate Date null,     Description varchar(500) null     );     go      Insert into Movies (MovieID,MovieName,"Type",Rating,Director,Producer,MainActor1,MainActor2,SupportingActor1,SupportingActor2,ReleaseDate,"Description")     values ( 'MO-150','The Legend Of Zelda','Fantasy','R','','','','','','','July 23 2018',''),     (   'MO-216','The SQL Games:Replication','Science Fiction','PG','','','','','None','','March 20 2020',''); go   current Format: Robert  Downey JR. FirstName| LastName Ben        Affleck Christian    Bale Will         Smith Charlize     Theron Angelina     Jolie Jessica      Alba Cameron     Diaz Jennifer    Anniston Bradley     Cooper Sandra       Bullock Leonardo    DiCaprio Matt        Damon Chris        Hemsworth Tom         Hanks Mila      Kunis Scarlet   Johansson Emma      Stone Julia     Roberts  Now I have a Table for Actors, Directors and Producers as well as a Movie table, all with their own ID columns and a MovieInfo table with foreign keys to link them.   I was wondering if there was a way to make a view that would take the first and last names and put them together in 1 column for the Actors,Producers,Directors and Movies column and have them joined.  So the table would look like this:  Actors(col1)   Producers(col2)   Directors (col3) Movies(col4)  (Sandra Bullock) (RJ Abrams)   (David Speilberg) (Late For Class)  Any help is greatly appreciated. I know if it was possible to do a view as such, it'd probably be very complicated.

Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary?


Say I have an array, and I need to print out the info in that array with a certain character in between each string in the array. How would I go about this? I'll provide an example.  Print out array with info seperated by a " | " without hardcoding it ex: yes|no|maybe etc...  public class Responses {    public static void main(String[] args)        String[] response = {"yes", "no", "maybe", "perhaps"};   The only way I could think of was hard coding it, but I am not allowed to hard code it so that in the event you take out or add something to the array, it will automatically print out that info as well  EDIT: This is not the same as simply printing an array. It is printing the array with the addition of a character between each string

In Java, arrays don't override toString(), so if you try to print one directly, you get the className + '@' + the hex of the  of the array, as defined by Object.toString():  int[] intArray = new int[] {1, 2, 3, 4, 5}; System.out.println(intArray);     // prints something like '[I@3343c8b3'   But usually, we'd actually want something more like [1, 2, 3, 4, 5]. What's the simplest way of doing that? Here are some example inputs and outputs:  // Array of primitives: int[] intArray = new int[] {1, 2, 3, 4, 5}; //output: [1, 2, 3, 4, 5]  // Array of object references: String[] strArray = new String[] {"John", "Mary", "Bob"}; //output: [John, Mary, Bob]


I did a first \begin{align} with equations in a document and I did a second one. Yet I noticed that the counter didn't started over again.  For instance here is the second equation which should start form one again.    Here is a code I hope that reproduce the problem but from which the photo is from.  \usepackage{amsmath}  \begin{document}  \begin{align} \neg\phi\rightarrow\Box\neg\phi,w_i \mbox{ contrapositive of }T\\ \neg\neg\phi\rightarrow\neg\Box\neg\phi,w_i \mbox{ negation of }1 \end{align}  blabla      \begin{align} &\neg(\Diamond\Diamond p\rightarrow\Box\Diamond p),w_i\mbox{ hypothesis}\\ &\Diamond\Diamond p,w_i\mbox{ from } R_{\neg}\mbox{ on }3\\ &\neg\Box\Diamond p,w_i\mbox{ from } R_{\neg}\mbox{ on }3\\ &\Diamond\neg\Diamond p,w_i\mbox{ from } R_{\neg\Box}\mbox{ on }5\\ &\Diamond\Box\neg p,w_i\mbox{ from } R_{\neg\Diamond}\mbox{ on }\\ &w_iRw_j\mbox{ from } R_{\Diamond}\mbox{ on }\\ &\Box\neg p,w_j\mbox{ from }R_{\Diamond}\mbox{ on }\\ &w_jRw_k\mbox{ from } R_{\Box}\mbox{ on }\\ &\neg p,w_k\mbox{ from } R_{\Box}\mbox{ on }\\ &w_iRw_j\mbox{ from } R_{\Diamond}\mbox{ on }4\\ &\Diamond p,w_j\mbox{ from }R_{\Diamond}\mbox{ on }4\\ &w_jRw_k\mbox{ from } R_{\Box}\mbox{ on }13\\ &p,w_k\mbox{ from }R_{\Diamond}\mbox{ on }13 \end{align}  \end{document}

If I am using align to display an equation and have each line numbered, how do I reset the align counter?  As is, even if I use \end{align} and later in the document have a second \begin{align}, the counter continues from where it left off, instead of starting at 1.  Is there any simple way to do this? Or would I be better off creating my own counter and not using align?  Edit: More specifically, I am this to show lines/steps on a solution to homework problems. Separate occurrences of (1) will be in answers to different problems, so there should not be any trouble distinguishing.


I created a custom class for sockets:  class clientSocket{      Socket clientSocket = null;      public clientSocket() {      }      void accept(ServerSocket welcomeSocket) throws IOException{         clientSocket = welcomeSocket.accept();     } }   When I try to use it in my server class like below, it throws a null pointer exception:  ServerSocket sSocket = new ServerSocket(1234); clientSocket[] client = new clientSocket[3]; client[0].accept(sSocket); //this throws a null pointer exception.   Any idea why the 3rd line throws that null pointer?

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


For example, the relationship between two things that overlap is called or is described by their "overlap" or "intersection".  What word or words might have the same role in describing the relationship between a thing and a thing it contains?  Failing that, is there a word or words that describe the phenomenon instead of the relationship? I'd also be open to replacing "contains" with "is a superset of", "completely covers", or "starts before and ends after".

An adjacency relation is one which denotes whether two objects are adjacent.     The two neighbors are adjacent, and hence have an adjacency relation.   What is the equivalent for a "contains" relation, for example:     The box contains oranges, and hence they have a ??? relationship.   I am not sure whether "containment" is appropriate given its connotations.  Note that the word may not necessarily be based on "contains", perhaps on a synonym.


I've played some fallout with an average all-rounder character to get to know the game and see which play-style I like. Now I would like to specialize, but I don't really have much desire/spare time to redo all the story that I've completed so far starting with a new character, so I'd like to respec. Effectively, I would like to reallocate SPECIALs and perks picked for level-ups.  Note, I'm fine with cheating this, if its the only option.

In Fallout 4, is there any way to change your skills/perks after you've gotten out of the vault, with or without cheating?


What is the endpoint $P(x,y)$ of a line segment , if I know its starting point: $C(x(1), y(1))$, the gradient $G$, and its length $L$?

In a Cartesian system, I've got the slope, start point and distance of a line segment.  What's the formula to find the endpoint?


Every time I open Terminal this is on there like 50 times.  -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory   I have no idea what I'm doing, I was just trying to get my Terminal to start with a folder and I found this online:  echo "cd "`pwd` >> ~/.bash_profile    I used that when I was in the folder I wanted to start with on Terminal and it didn't work so being dumb I did it like 50 times so my Terminal always starts with a bunch of -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory. It's ugly and I need it gone.

in .bash_profile I accidentally set the path to:  PATH="~/Tools/apache-maven-3.3.3/bin"   and now the default path is gone. Nothing in Terminal works anymore:  Korays-MacBook-Pro:~ koraytugay$ ls -bash: ls: command not found Korays-MacBook-Pro:~ koraytugay$ mkdir test -bash: mkdir: command not found   I can not see hidden files in Finder so I can not modify .bash_profile from Finder as well.  How can I fix this situation?


I would like to draw the attached diagram, but since it contains colors and texts I couldn't get a good picture. If one can help me with code that would be great. Note, the boxes are of the same size! Thanks.

What packages do you use and recommend for creating graphics in your LaTeX documents?     As this is a community wiki post, please add your package to the accepted answer (or add a comment, and someone with >100 rep will add it to the CW answer), and include a brief description of what differentiates it from others and how it can be used (GUI drawing tool which generates code, type in raw text, or generates image for inclusion in document).   We'll eventually sort these answers under headings.


I am trying to understand the benefits of transformation functions. Mainly, I am trying to understand the kick / the motivation to even attempt a transformation function on a sample data being analyzed. So, below I have 2 scatter plots of the same dataset.   The first plot is carat v/s price:    The second plots is log(carat) v/s log(price):    Yeah, it is true that the second plot gives a more straight line as compared to the first scatter plot. But can we deduce something here? Could you give an example/case where the second graph could be useful? One thing that shadows my approach towards transformation is that, why would anyone want to study log(carat) vs log(price), when in real life, carat and price occur?

Say I have some historical data e.g., past stock prices, airline ticket price fluctuations, past financial data of the company...  Now someone (or some formula) comes along and says "let's take/use the log of the distribution" and here's where I go WHY?  Questions:   WHY should one take the log of the distribution in the first place? WHAT does the log of the distribution 'give/simplify' that the original distribution couldn't/didn't? Is the log transformation 'lossless'? I.e., when transforming to log-space and analyzing the data, do the same conclusions hold for the original distribution? How come? And lastly WHEN to take the log of the distribution? Under what conditions does one decide to do this?   I've really wanted to understand log-based distributions (for example lognormal) but I never understood the when/why aspects - i.e., the log of the distribution is a normal distribution, so what? What does that even tell and me and why bother? Hence the question!  UPDATE: As per @whuber's comment I looked at the posts and for some reason I do understand the use of log transforms and their application in linear regression, since you can draw a relation between the independent variable and the log of the dependent variable. However, my question is generic in the sense of analyzing the distribution itself - there is no relation per se that I can conclude to help understand the reason of taking logs to analyze a distribution. I hope I'm making sense :-/  In regression analysis you do have constraints on the type/fit/distribution of the data and you can transform it and define a relation between the independent and (not transformed) dependent variable. But when/why would one do that for a distribution in isolation where constraints of type/fit/distribution are not necessarily applicable in a framework (like regression). I hope the clarification makes things more clear than confusing :)  This question deserves a clear answer as to "WHY and WHEN"


The man who came at yesterday's party, his car has been stolen at GIP Market.   I want to Express that   a man came in a yesterday's party and his car has been stolen by some one  from GIP Market.so is the above sentence is correct?

All those pipelines you monitored yesterday I need their report in my office today.   Is the above sentence correct? I am concerned about "their" in the second clause, which refers back to the pipelines.


So, we know that value of variables that contain objects in javascript are passed by reference. for example: let a = {name:'john'}; let b = a; a.name = 'doe'; console.log(b.name)//prints out doe  but: let a = {name:'john'}; let b = a; a = {name: 'not john'} console.log(b.name)//should printing not john, but instead keeps showing john  How this is possible ? Value of variable a are replaced with a new object with a different value. Object with a name property john are gone and variable b should refer to variable a with property value 'not john' but it keeps refering to an objects which doesn't exist !

The primitive types (number, string, etc.) are passed by value, but objects are unknown, because they can be both passed-by-value (in case we consider that a variable holding an object is in fact a reference to the object) and passed-by-reference (when we consider that the variable to the object holds the object itself).  Although it doesn't really matter at the end, I want to know what is the correct way to present the arguments passing conventions. Is there an excerpt from JavaScript specification, which defines what should be the semantics regarding this?


I have to prove that if $(ab)^i = a^ib^i$ is valid for $3$ consecutive integers, then the group is abelian.  I've found this answer in the internet, but I can't understand the part that says we can cancel $a$ from the left and $b$ from the rigth. For example: $(\color{red}{a^{-1}}a)b(ab)^i = (\color{red}{a^{-1}}a)b a^{i+1}b^{i+1} \implies b(ab)^i = a^{i}b^{i+1}$ But how can I cancel $b$? Also, could someone explain this proof for me?

I've been working on this problem listed in Herstein's Topics in Algebra (Chapter 2.3, problem 4):     If $G$ is a group such that $(ab)^i = a^ib^i$ for three consecutive integers $i$ for all $a, b\in G$, show that $G$ is abelian.   I managed to prove it, but I'm not very happy with my result (I think there's a neater way to prove this). Anyway, I'm just looking to see if there's a different approach to this.   My approach:  Let $j=i+1, k=i+2$ for some $i\in \mathbb{Z}$.  Then we have that $(ab)^i = a^ib^i$, $(ab)^j = a^jb^j$ and $(ab)^k = a^kb^k$.  If $(ab)^k = a^kb^k$, then $a^jb^jab =a^jab^jb$.   We cancel on the left and right and we have $b^ja = ab^j$, that is $b^iba = ab^j$.  Multiply both sides by $a^i$ on the left and we get $a^ib^iba = a^jb^j$, so $(ab)^iba = (ab)^j$. But that is $(ab)^iba = (ab)^iab$.   Cancelling on the left yields $ab=ba$, which holds for all $a,b \in G$, and therefore, $G$ is abelian.  Thanks!


I'm going to upload my first package to CTAN.  But after reading all the upload guides from CTAN and TeXLive I'm still feeling daunted by the directory structure. My package is rather complex and by now consists of >160 files which will become a lot more when the package matures (for example there are a bunch of small pdf files used by the package, along with the sources to recreate them).  So I'm far from being able to produce a package with four or five files in one single directory.  Do such large numbers of files and changing package contents present special problems for CTAN (and the distros consecutively)?  Has best practice for uploading and maintaining such large packages been documented?    Details: the package is in good shape, and a few testers fetched it from Github and got it to run without problems.  If you want to have a look: the package resides at   Edit  Right now I'm trying to understand the TDS and how I can prepare a lilyglyphs.tds.zip file.  Am I right that I a) provide the directory as I would use it myself, and when someone downloads from CTAN she will put the complete directory under texmf/tex/latex/lilyglyphs b) provide a tds.zip that will allow the distributions to put my files in the right locations in their distribution (that is, the files are stored at different locations) ?  If that's true I still have a few questions about where some of my files should go, but I will come back to this after having tried to tackle the tds documentation.

I'm thinking of submitting a package to CTAN, and would like some hints which will help keep the path as smooth as possible for me, the CTAN administators, and the final users.  Please tell me what I should take care with in doing this. In particular, the doubts I have are:   I'm not a top-drawer TeXnician, so I don't really understand .dtx and .ins files. Can I get by without them, and is it OK just to submit a zip file containing a flat folder? I'll be preparing the package user documentation (by hand) as a PDF. Should I use a specific document class, or can I, for example, use memoir? How important is it to provide the source LaTeX code for the documentation? If I do provide the documentation source, should I "declare" the prerequisite packages for formatting the manual (as opposed to the prereqs for using the package) as prereqs for the package?


I am relatively new to Java, and trying to sort LinkedHashMap<Integer, HtmlTagValues> newHtmlTagValues where HtmlTagValues is a public class which has numerous values from a HTML page. I want to sort on the Top values.  public class HtmlTagValues {     public String Top;     public String Height;     public String Width;     public String Left;     .... }   The values are stored in the following way.  HtmlTagValues v = new HtmlTagValues(); v.Top = topValue; v.Left = leftValue;  hHtmlTagValues.put(nPage + ElementID, v);

I am relatively new to Java, and often find that I need to sort a Map<Key, Value> on the values.  Since the values are not unique, I find myself converting the keySet into an array, and sorting that array through array sort with a custom comparator that sorts on the value associated with the key.  Is there an easier way?


I'm currently reworking my technical report and was wondering which of the following wordings is correct. If both are correct, which one is the better one?  This means that the behavior of the cmd.exe is accessible [...]. This means the behavior of the cmd.exe is accesible [...].

He will understand that I was not joking.   He will understand I was not joking.  Which of the sentences is correct? Are there any specific rules about the use of "that" in the sentences I reported as example?


For the following script:  for f in $FILES do      fname="$(basename "${f}")"     fn="${fname:6:2}"     if [["$fn" == "01"]]; then #error here         echo "yes"     fi done

As a primarily Java programmer, I find the bash if-then construct quite confusing, especially regarding whitespace. Can anyone explain why the first one works, but not the second or third?  #works if [ -n $1 ]; then echo "parameterized"; fi  #output: ./links: Zeile 1: [-n: Kommando nicht gefunden. if [-n $1 ]; then echo "parameterized"; fi  #output: ./links: Zeile 1: [: Fehlende `]' if [ -n $1]; then echo "parameterized"; fi


Problem:  I'm interested to bind the click event of all children of a dynamically generated div.  Understandings:  Binding as of 1.7  $(staticAncestors).on(eventName, dynamicChild, function() {...  example: $('body').on('click','.myDiv', function() {...   Using * as selector binds to ALL ELEMENTS  $('.myDiv').on('click', '*', function() {...   Question:  How would I bind the * to a dynamically generated div?  've replicated my project in a .  NOTE: In Ahmad's jsfiddle (see the first answer), the child click events work WITH or WITHOUT the * included in the on click selector. In my jsfiddle, my example works fine (when the * isn) if you click the PARENT div, but clicking on CHILD elements (image and text title) does not. Now, add the * to my example, and nothing works...

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


I will be travelling from Jeju island bound for Manila, my plane will land in Seoul Gimpo and will transfer to Incheon, Do i need to secure a visa to get to Incheon airport from Seoul Gimpo?

A friend of mine misplaced his passport while staying in Jeju island. Normally I would advise him to just travel to Seoul, get an emergency passport from his embassy and fly back home without issues, but I know that Jeju island has a special immigration regime.   Are there any immigration checks on the way from Jeju island to Seoul? If not, can one travel that route without a passport?


Apache is acting as a frontend to another (Rails) server that is responsible for handling the requests. How can I make Apache return a static maintenance page when the backend is down (or unreachable in the past minutes)?  The current Apache configuration is basically  RewriteRule  ^/(.*)$   http://backend.example.net:9002/$1  [P,L] ProxyPassReverse /     http://backend.example.net:9002/

I am using Apache2 as a reverse proxy for tomcat, my configuration being something like:  ProxyRequests Off  ProxyPass        / http://localhost:8080/ ProxyPassReverse / http://localhost:8080/   My question is: can I configure Apache to show up a courtesy page (an "under construction" HTML static page) whenever Tomcat is down?


I have a simple particle game, where all the particles are arranged in a grid.  This game is for touch devices so to take advantage of it I am trying to have a multitouch gravity field thing going on.  Basically I am trying to get it so that each finger is basically a well in an otherwise non existent gravity field. That way the particles are pulled towards a finger.  My problem is I don't even know where to begin with these calculations, I have tried averaging a particles distance to each finger, its direction to each finger and nothing seems to work nicely!  I have seen other games do this.  What does the math for it look like?

I'm trying to make a simple game where a spaceship is launched and then its path is effected by the gravity of planets.  Similar to this game:   I wish to know how to replicate the effect the planets have on the spaceship in this game so a spaceship can 'loop' around a planet to change direction.  I have managed to achieve some bogus results where the spaceship loops in a huge ellipse around the planet or is only slightly affected by the gravity of a planet using Vectors.  Thanks in advance.  p.s I have plenty of coding experience just none to do with game dev.


I have an upgrade install of Ubuntu 16.04.1 which will not load the desktop, when I attempt some of the solutions I get an error gzip: stdout: No space left on device. My /boot partition is 449 MB and has many old kernel versions. I am currently using a Live CD while searching for solutions, how can I free up some space on the /boot partition?  Here is the output of a ls command on the mounted boot partition in a live cd session:   abi-3.13.0-67-generic abi-3.13.0-68-generic abi-3.13.0-70-generic abi-3.13.0-71-generic abi-3.13.0-73-generic abi-3.13.0-74-generic abi-3.13.0-76-generic abi-3.13.0-77-generic abi-3.13.0-79-generic abi-3.13.0-83-generic abi-3.13.0-88-generic abi-3.13.0-91-generic abi-3.13.0-92-generic abi-4.4.0-31-generic config-3.13.0-67-generic config-3.13.0-68-generic config-3.13.0-70-generic config-3.13.0-71-generic config-3.13.0-73-generic config-3.13.0-74-generic config-3.13.0-76-generic config-3.13.0-77-generic config-3.13.0-79-generic config-3.13.0-83-generic config-3.13.0-88-generic config-3.13.0-91-generic config-3.13.0-92-generic config-4.4.0-31-generic grub initrd.img-3.13.0-67-generic initrd.img-3.13.0-68-generic initrd.img-3.13.0-70-generic initrd.img-3.13.0-71-generic initrd.img-3.13.0-73-generic initrd.img-3.13.0-74-generic initrd.img-3.13.0-76-generic initrd.img-3.13.0-77-generic initrd.img-3.13.0-79-generic initrd.img-3.13.0-83-generic initrd.img-3.13.0-88-generic initrd.img-3.13.0-91-generic initrd.img-3.13.0-92-generic initrd.img-4.4.0-31-generic lost+found memtest86+.bin memtest86+.elf memtest86+_multiboot.bin System.map-3.13.0-67-generic System.map-3.13.0-68-generic System.map-3.13.0-70-generic System.map-3.13.0-71-generic System.map-3.13.0-73-generic System.map-3.13.0-74-generic System.map-3.13.0-76-generic System.map-3.13.0-77-generic System.map-3.13.0-79-generic System.map-3.13.0-83-generic System.map-3.13.0-88-generic System.map-3.13.0-91-generic System.map-3.13.0-92-generic System.map-4.4.0-31-generic vmlinuz-3.13.0-67-generic vmlinuz-3.13.0-68-generic vmlinuz-3.13.0-70-generic vmlinuz-3.13.0-71-generic vmlinuz-3.13.0-73-generic vmlinuz-3.13.0-74-generic vmlinuz-3.13.0-76-generic vmlinuz-3.13.0-77-generic vmlinuz-3.13.0-79-generic vmlinuz-3.13.0-83-generic vmlinuz-3.13.0-88-generic vmlinuz-3.13.0-91-generic vmlinuz-3.13.0-92-generic vmlinuz-4.4.0-31-generic

My /boot partition is nearly full and I get a warning every time I reboot my system. I already deleted old kernel packages (linux-headers...), actually I did that to install a newer kernel version that came with the automatic updates.  After installing that new version, the partition is nearly full again. So what else can I delete? Are there some other files associated to the old kernel images?  Here is a list of files that are on my /boot partition:  :~$ ls /boot/ abi-2.6.31-21-generic         lost+found abi-2.6.32-25-generic         memtest86+.bin abi-2.6.38-10-generic         memtest86+_multiboot.bin abi-2.6.38-11-generic         System.map-2.6.31-21-generic abi-2.6.38-12-generic         System.map-2.6.32-25-generic abi-2.6.38-8-generic          System.map-2.6.38-10-generic abi-3.0.0-12-generic          System.map-2.6.38-11-generic abi-3.0.0-13-generic          System.map-2.6.38-12-generic abi-3.0.0-14-generic          System.map-2.6.38-8-generic boot                          System.map-3.0.0-12-generic config-2.6.31-21-generic      System.map-3.0.0-13-generic config-2.6.32-25-generic      System.map-3.0.0-14-generic config-2.6.38-10-generic      vmcoreinfo-2.6.31-21-generic config-2.6.38-11-generic      vmcoreinfo-2.6.32-25-generic config-2.6.38-12-generic      vmcoreinfo-2.6.38-10-generic config-2.6.38-8-generic       vmcoreinfo-2.6.38-11-generic config-3.0.0-12-generic       vmcoreinfo-2.6.38-12-generic config-3.0.0-13-generic       vmcoreinfo-2.6.38-8-generic config-3.0.0-14-generic       vmcoreinfo-3.0.0-12-generic extlinux                      vmcoreinfo-3.0.0-13-generic grub                          vmcoreinfo-3.0.0-14-generic initrd.img-2.6.31-21-generic  vmlinuz-2.6.31-21-generic initrd.img-2.6.32-25-generic  vmlinuz-2.6.32-25-generic initrd.img-2.6.38-10-generic  vmlinuz-2.6.38-10-generic initrd.img-2.6.38-11-generic  vmlinuz-2.6.38-11-generic initrd.img-2.6.38-12-generic  vmlinuz-2.6.38-12-generic initrd.img-2.6.38-8-generic   vmlinuz-2.6.38-8-generic initrd.img-3.0.0-12-generic   vmlinuz-3.0.0-12-generic initrd.img-3.0.0-13-generic   vmlinuz-3.0.0-13-generic initrd.img-3.0.0-14-generic   vmlinuz-3.0.0-14-generic   Currently, I'm using the 3.0.0-14-generic kernel.


Why is this one way flight from Paris to Toronto is significantly more expensive than the same trip that includes a round trip? If anything the round trip should be more expensive because it's the same as the one-way trip and more! Also, why are these economy flights so expensive? Usually it's 1/3rd of the price.

Based on the question , I got curious. Is there a guide or resource that describes how the price of a ticket is determined?  When you search you often see curious effects like cheaper tickets for a flight from A to B with a layover compared to a direct flight. This seems counter-intuitive from an outsider's perspective since you fly twice. Also one way tickets more expensive than 2 ways.  It can be a short set of rules. Something that helps someone to get started with finding good prices. I know these can be very complex and they probably change over time and over airline interests but there is probably a simplified set of rules that can be enunciated.


I would like to use function of same name from different packages dependent on a function flag:  import chainer.functions as F def random_q_z(input, test = False):     if test:         F = np         # ...     else:         # ...         pass      return F.sum(input)   However the interpreter protests:  UnboundLocalError: local variable 'F' referenced before assignment  How to please it and do conditional referencing of packages?     I see that this question relates to other questions on variable scopes, but here the question is about how to handle different scopes. And the answer I got is valuable for this particular question.

The following code works as expected in both Python 2.5 and 3.0:  a, b, c = (1, 2, 3)  print(a, b, c)  def test():     print(a)     print(b)     print(c)    # (A)     #c+=1       # (B) test()   However, when I uncomment line (B), I get an UnboundLocalError: 'c' not assigned at line (A). The values of a and b are printed correctly. This has me completely baffled for two reasons:   Why is there a runtime error thrown at line (A) because of a later statement on line (B)? Why are variables a and b printed as expected, while c raises an error?   The only explanation I can come up with is that a local variable c is created by the assignment c+=1, which takes precedent over the "global" variable c even before the local variable is created. Of course, it doesn't make sense for a variable to "steal" scope before it exists.  Could someone please explain this behavior?


After I scroll down to the bottom of the  page I see sidebar overlapping footer. Almost like in this question:   Screenshot:

I just edited an answer on Unix&Linux and when scrolling down, the semi-transparent right sidebar boxes "How to edit" and "How to format" kept their fixed positioning and overlapped with the page footer.     While posting this, I have seen several (not) duplicate questions about this issue, and although from my personal taste, I would prefer the boxes to stop scrolling before the footer is reached, I can accept the development teams decision to let it overlap.   However, on all those other posts, the boxes had an opaque background, so that the footer was hidden and the box content was readable. Here the boxes are transparent though, so the texts get mixed and are no longer well readable.


I need to replace my windows 10 system with Ubuntu. Not a dual boot as I do not need to keep Windows.  I do not want to lose my D: partition though. Windows is installed on the C: partition.  How can I do that?

I have already installed Windows 7 on C: drive. Now I want to install Ubuntu on E: drive which is a free partition. How do I proceed?


Can any number be said to be larger than every member of the empty set? I have been asked to compare a positive integer to the empty set, but I'm not sure how to compare...

Can anyone explain why the predicate all is true for an empty set? If the set is empty, there are no elements in it, so there is not really any elements to apply the predicate on? So it feels to me it should be false rather than true.


I'm trying to get my footer to stay at the bottom of the page and I feel like I have tried everything. If a page lacks content then the footer pushes right up underneath the body. My current css for my footer is:   width: 100%;  height: 50px;  border-top: 1px solid #fff;    The div before the footer is a container with this css:   padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;   I have tried absolute positioning the footer with bottom: 0 but that doesn't give the desired result. I have tried clear: both on the footer and container with a position of relative. I have tried fixed positioning but that doesn't give the desired result either. Does anyone have any solution I could use?

I have a simple 2-column layout with a footer that clears both the right and left div in my markup.  My problem is that I can't get the footer to stay at the bottom of the page in all browsers.  It works if the content pushes the footer down, but that's not always the case.


I want to render an image that is, for example, 170 px by 180 px. How can this be done in blender? I'm using the cycles render. Is the process any different for an animation?

When I hit F12 to render an image and zoom in it is quickly pixelated. How can I render a higher res display? I have looked through the settings and couldn't find a solution.


Show that there is a rational number and an irrational number between any two real numbers.

Prove that between any two different real numbers there is a rational number and an irrational number.  My attempt at a proof: (Throughout this proof it is assumed without any loss of generality that $x < y$)  1.) $x$ is irrational and $y$ is irrational.  In this case the arithmetic mean $\frac{x+y}{2}$ is always an irrational number between $x$ and $y$. Also, if $y$ is irrational then it has a non-terminating decimal expansion and so we can always find a positive integer $n$ such that $x < y - 10^{-n}y < y$. The middle of the three numbers here will have a terminating decimal expansion, and hence it is rational. It also clearly lies between $x$ and $y$. These examples of rational and irrational numbers should also work in the cases:  2.) $x$ is irrational and $y$ is rational.  3.) $x$ is rational and $y$ is irrational.  There is one last case to consider.  4.) $x$ is rational and $y$ is rational.  In this case the arithmetic mean of $x$ and $y$ is rational. An irrational number for example could be the ratio $\frac{ex + \pi y}{e + \pi}$  I'm not sure if this proof is a good method or if it is even valid, so some feedback would be appreciated.


I'm thinking of upgrading from a 9 speed (11-34T cassette) to 10 speed.  Scoped out a few components and  1) Shimano Deore XT CS-M771 10-Speed Cassette 11-36T 10-speed HG cassette 2) Shimano Dyna-Sys, super-narrow 10-speed HG chains (hg95) 3) Shimano Ultegra 6700 Shifter (for 10 speed)  I have an existing Deore XT rear long cage derailleur used to support 9 spped 11-34T cassette.  Two part question:    A) can existing rear derailleur support HyperGlide chain and cassette? B) any other comments on compatibility of proposed new components or suggestions?

I'm thinking of changing the 9-speed Tiagra rear mech on one of my (road) bikes to something, still Shimano, but 10-speed.  The obvious replacements I'll need are cassette, right-shifter and chain. But I reckon because of the narrower chain I'm also looking at a new chainset and rear derailleur. However I think the front derailleur and left-shifter should be safe (still keeping the front mech the same). Ditto the bb, regardless of whether I need a new chainset  Has anyone actually done this conversion and is able to confirm (or put me right)?  Thanks  Update  Decided in the end that going from 9- to 10- was too much to spend all in one go. But I used a service as an excuse to change the cassette (to a 9-speed ultegra) and the chain (dura ace) at quite minimal cost. Can upgrade other parts as and when, although I'm basically looking at Shim's 6500 range here so all quite dated now.


Let $f: \mathbb{R} \to \mathbb{R} $ be a continuous function with $f(x+y) = f(x) +f(y),\forall x,y\in \mathbb{R}.$   Find $\frac {df} {dx} $, if it is exist?

Can you show me a continuous function $f \colon \mathbb{R}^n\to\mathbb{R}^m$ that satisfies $f(a+b)=f(a)+f(b)$ but is not linear?   We have that  $$f(0)=f(0+0)=2f(0)\implies f(0)=0\\ f(x-x)=f(0)=f(x)+f(-x)=0\implies f(-x)=-f(x)\\ f(nx)=f(x+x+\dots+x)=f(x)+\dots+f(x)=nf(x)\quad \forall n \in \mathbb{N}$$ But $$ f(-nx)=-f(nx)=-nf(x) $$ So: $$ f(ax)=af(x) \quad \forall a \in \mathbb{Z} $$


On Linux, I've downloaded the "" Beamer theme to my ~/texmf folder. I've run texhash ~/texmf, which happily creates an ls-R file containing this:  % ls-R -- filename database for kpathsea; do not change this line. ./: .: beamerthemediepen-master ls-R  [some lines omitted]  ./beamerthemediepen-master/themes/theme: beamerthemediepen.sty   But if I then run kpsewhich beamerthemediepen.sty, it prints nothing. And, indeed, trying to use \usetheme{diepen} in my Beamer file results in this error message:   File `beamerthemediepen.sty' not found.   What am I missing?

I've created a custom theme for beamer that I plan to use for multiple presentations. So, while I currently have the .sty file (just one at this point, as I load an inner theme and color theme, then define the outer theme) in the same directory as the presentation I'm working on now, I want it available in the future without have to maintain multiple copies.  From , I understand I can install packages in my home texmf folder (e.g. ~/texmf on Linux, which is where I do most of my work), however should I then structure my texmf folder like the beamer subdirectory in the main texmf folder (i.e. /usr/share/texmf/tex/latex/beamer/themes/[color,font,inner,outer,theme] on my Ubuntu machine), or just put put down any/all .sty files in the single directory.  Note, while I mentioned I do most of my work on Linux, answers for OS X and Windows would be useful, as I do work on both of these platforms as well - and frequently sync files between machines via Git repositories.


So i am working on a little funproject. Everything seemed fine in the preview, but than the render turned out quite strange. I should further explain. Those object´s which turned ok are ones that actually are seperate. The ground mesh is a subdivided plane with some downwards extruded squares. It has the same material as everything else (except the lights). Why is it white and glitchy in the render?

I was following  on creating a watch and noticed that when I rendered the watch, some pieces were messed up.  I'm new to 3D modeling and I've just learned Blender, I can't explain it well, so here's a picture:    Other examples:     I don't know if it's a problem with my World texture, the object, or the object's texture/material, so I can't even guess how to fix it. What causes this? Is it possible to fix it?


Proof.  Base case. When $n = 6$, LHS = $6! = 720$ and RHS = $6^{3} =  216$. Thus LHS > RHS.  Inductive step. Assume that $m! > m^{3}$ for some fixed integer $m$ such that $m \ge 6$. We must show that it also holds true for $(m+1)$, i.e, $(m+1)! > (m+1)^{3}$. Observe that   \begin{align*} (m+1)! &= (m+1) \cdot m! \\ &> (m+1) \cdot m^{3} \text{$\quad$(by the inductive hypothesis)}\\ \end{align*}  (still unfinished)    I know it boils down to showing that $(m+1) \cdot m^{3} > (m+1)^{3}$ but I'm unsure on how to proceed.

I'm given a inequality as such: $n! > n^3$ Where n > 5,   I've done this so far:  BC: n = 6, 6! > 720 (Works)  IH: let n = k, we have that: $k! > k^3$  IS: try n = k+1, (I'm told to only work from one side)  So I have (k+1)!, but I'm not sure where to go from here.  I've been told that writing out: $(k+1)! > (k+1)^3$ is a fallacy, because I can't sub in k+1 into both sides, but rather prove from one side only.    Any Help on how to continue from here, would be much appreciated.


After updates, some text is not rendering.  I think it is in the form of binary. Here's a  of the issue in GIMP.

I don't know what I did wrong in my Ubuntu 18.04 OS. For some reason some of my apps look like this:    This also happens to other gnome apps like pdf-reviewer and Logs. Window title, menu bar etc. are all blank, display only squares.  *Problem solved: I downloaded Google Fonts, saved them in a new folder, they can be applied system-wide, but after I did some font settings using Google Fonts it didn't work. I changed the font of Interface with Tweaks-Tool, that was what causing the problem.


I'm still quite new to blender so this might be an easy fix but I'm really not sure. My problem is that I would like to see how the base colors I apply to my objects look like, so I switched to render mode. As you can see in the video, some weird stuff is going on while rendering the image, I can't even really describe what's happening there ':) I read about wrong camera settings and wrong camera focus already, but I don't even use "Depth of field". At the end of the video I show my camera settings as well. The light source is the standard point light on 1000W. Even if my camera or light settings are set wrong, this shouldn't explain the mess with the partly visible objects, right? Would be cool if somebody could help :) thanks in advance!  PS: I'm sorry that it's a youtube video, but I think it's important to see the whole video and not only images or parts :)

I don't know why but now, when i go in material preview or rendered (in solid mode it works fine), my object is entirely gray, or invisible idk, because it has the same color of the background. I've been working for days on this project without having this issue, it suddenly showed up. I tried opening other old projects and suddenly they all do the same so i guess it is some blender program setting that applies for all the projects, but idk how it happened cuz i didn't change anything :/, anyone got any tips?


I'm trying to work on redstone works with a new adventure map, how can I make command blocks detect player levels? That's my main question, the rest I know how to work out but here's the purpose anyway, I'm trying to make a command block detect player levels and at a certain amount of levels an action will happen (yet to be decided) but I know how to do that, just use a comparator to link up to the next command block and continue out the line of commands needed.

I want to make an XP shop but I'm not sure about how to detect if people have sufficient XP Levels.  Can anyone help me?


In the following examples, the world "talk" was used as a verb and as a noun:     I look forward to talk to you more soon, enjoy your day!        I look forward to talking to you more soon, enjoy your day!   Which sentence is correct gramatically? If both are correct, what is the difference in the usage of talk vs talking in the previous two sentences?

Should I say      I look forward to hearing from you   or     looking forward to hear from you?   I have doubt because I know that the form of a verb is "to+ infinity" without the addition of the -ing that changes it to become a noun.


I have a method which allows me to reach competitor information which is saved in my class.  It already blocks empty inputs with a message. If the user inputs a number which is non-existent, the program blocks with another message.  I would like to implement a functionality where, if any form of text input is true, the input is classed as invalid so the user has to change their input to a valid value instead.   Here is my piece of code where I pick which competitor needs to be printed. I am new to stackoverflow so please let me know if more code needs to be shared by my side.  public void CompetitorToPrint(string NumberTextBoxInput) {      Skier searchCompetitor = ActiveLodge.FindCompetitor(NumberTextBoxInput);     if (searchCompetitor == null)         MessageBox.Show("Competitor number does not exist. Please try again. ");     else         EditCompetitor(searchCompetitor); }

What is the most efficient way of testing an input string whether it contains a numeric value (or conversely Not A Number)? I guess I can use Double.Parse or a regex (see below) but I was wondering if there is some built in way to do this, such as javascript's NaN() or IsNumeric() (was that VB, I can't remember?).  public static bool IsNumeric(this string value) {     return Regex.IsMatch(value, "^\\d+$"); }


I just started to do cubes on blender... And I pressed a key(don't know which one) and I only see a part from all the scene.    I don't know how to make reference to this for searching what did I press...  Can someone explain me what did I do and how to reverse that?  Thank you so much.

When looking at my objects in 3d view I'm seeing a gray cone that seems to be hiding other objects.   Can anyone help me turn this off and explain what it is please.  Screenshots attached.


The package mathptmx is giving "Times Roman" font. Instead, I need "Times New Roman" font in my LaTeX pdf document.

I wanted to know how to set font of a document to Times New Roman and size to 12 for text and for Chapter Heading 14 only, for the whole document. I don't want to use the fontspec package for this. Please help me out on this.


I found: "...peanut butter at 4¢ ..."   What the symbol is, and how to write?

I know what my symbol or character looks like, but I don't know what the command is or which math alphabet it came from. How do I go about finding this out?


In the phrase, "Tim Rice and Andrew Lloyd Webber's Jesus Christ Superstar...," I believe Rice should end in 's, as Webber does, because the show is as much Rice's as it is his partner's. However, whenever I've seen multiple nouns in a possessive, the first noun does not have thhe 's. I cannot fine a grammar rule to address this. Is it a case in which people have written and said it wrong for so long, the incorrect use has become acceptable? Which use is correct?

Which option is grammatical?        There will be readings from Nikki Giovanni’s and Alice Walker’s writings.   There will be readings from Nikki Giovanni and Alice Walker's writings.      Saying it out loud the latter sounds right, but looking at it the former looks better.


The following code does not compile both in MSVC and GCC. It produces exactly opposite compiler behavior regarding the presence of the 'typename' keyword. MSVC requires that 'typename' is included before A::B<E>, otherwise an error is displayed, while GCC requires that the typename' keyword is removed. Is there a way to workaround this problem without using #ifdef/#endif blocks?  template <class C> class A {    template <class D>    class B    {    };     template <class E>    void get(typename A::B<E>& value)    {    } };  int main(int argc, char *argv[]) {     return 0; }   MSVC output when 'typename' keyword is not present:  warning C4346: 'A<C>::?$B@$RCAAB@': dependent name is not a type note: prefix with 'typename' to indicate a type error C2061: syntax error: identifier 'B'   GCC output when 'typename' keyword is present:  error: 'typename A<C>::B' names 'template<class C> template<class D> class A<C>::B', which is not a type

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway?    I have the following code:  template <typename T, typename Tail> // Tail will be a UnionNode too. struct UnionNode : public Tail {     // ...     template<typename U> struct inUnion {         // Q: where to add typename/template here?         typedef Tail::inUnion<U> dummy;      };     template< > struct inUnion<T> {     }; }; template <typename T> // For the last node Tn. struct UnionNode<T, void> {     // ...     template<typename U> struct inUnion {         char fail[ -2 + (sizeof(U)%2) ]; // Cannot be instantiated for any U     };     template< > struct inUnion<T> {     }; };   The problem I have is in the typedef Tail::inUnion<U> dummy line. I'm fairly certain that inUnion is a dependent name, and VC++ is quite right in choking on it. I also know that I should be able to add template somewhere to tell the compiler that inUnion is a template-id. But where exactly? And should it then assume that inUnion is a class template, i.e. inUnion<U> names a type and not a function?


How do I prove that the following rings are not isomorphic to each other? I have already proved that $R \times R$ is not isomorphic to $C$. I also need to show that $C$ is not isomorphic to $R[x]/(x^2)$. Thanks

I have a ring $\mathbf R =(R, +, -, ., 0, 1)$ (note that there is no invers for multiplication, $R$ is not $\mathbb R$, it is any set for the given algebra).  How do you prove that the following does not apply generally (meaning for all $a \in R$)?  $$\mathbf R[x]/(x^2−a)\mathbf R[x] \simeq \mathbf R^2$$  I know that the following does apply:  $\mathbf R[x]/(x−a)\mathbf R[x] \simeq \mathbf R$ , you can prove that using the first isomorphism theorem by finiding a homomorphism by substitution   $\Omega_a : \mathbf R[x] \to \mathbf R$ $\Omega_a(f(x)) = f(a)$  then $Ker(\Omega_a) = (x - a)\mathbf R[x]$ and $Im(\Omega_a) = \mathbf R$ therefore the two are isomorphic.  Please help, Thanks


Trying to find what type of analysis to run. Im trying to determine if three continuous variables can predict a categorical dependent variable (physical activity) w/ three levels (high, medium, and low). Any ideas?

I have an ordinal dependent variable, named D, which varies from very small, small, medium, big, to very big. This variable depends on the independent variables X, V, which are continuous variables. Could I perform an ordinal logistic regression analysis in the former data in order to obtain the relationship between D and X, V? Could I obtain in this way the D variable as percentages?


I am trying to populate Field B based on the value in Field A and the next value in Field A. I'm having trouble with the syntax for getting the "next" value in Field A. Here is my current code:  with arcpy.da.UpdateCursor(copyFile, ['OID@', 'FieldA', 'FieldB']) as cursor:     counter = 1     for row in cursor:         row[2] = counter         fieldA = row[1]         # get next fieldA         if fieldA == fieldA_next:             counter += 1         else:             counter = 1         cursor.updateRow(row)   And here's what I'm trying to produce (FieldA is known):

I am needing to auto increment a field based on groups within a feature class. I have 8 plots within a given polygon and I need to assign them an ID from 1-8 for each set of plots within each polygon. The polygon would have its own unique ID number to be used to group the plots.  I assume it would be an alteration of this:  rec=0 def autoIncrement():  global rec  pStart = 1   pInterval = 1   if (rec == 0):    rec = pStart   else:    rec = rec + pInterval   return rec


Prove that for the $\mathbb R^{n\times n}$ vector space doesn't exist a basis containing  $n^2$ matrices, such that AB=BA for every two matrices $A$, $B$ in the base. $(n>1)$  I think it is true because I did not get any example which makes it false. Thanks in advance.

I know that matrix multiplication in general is not commutative. So, in general:  $A, B \in \mathbb{R}^{n \times n}: A \cdot B \neq B \cdot A$  But for some matrices, this equations holds, e.g. A = Identity or A = Null-matrix $\forall B \in \mathbb{R}^{n \times n}$.  I think I remember that a group of special matrices (was it $O(n)$, the ?) exist, for which matrix multiplication is commutative.  For which matrices $A, B \in \mathbb{R}^{n \times n}$ is $A\cdot B = B \cdot A$?


I want to defrost a bulk bag of boneless chicken breasts....while they are still VERY cold I want to marinade them and refreeze to use in a few days and have them already in the marinade to save me time....can i do this without a problem? The marinade has EVOO and lemoin juice, and spices.

OK, so we shouldn't refreeze meat once it's been defrosted.  But if I've partially defrosted meat, then popped it back in the freezer, is that safe? Specifically I'm thinking of sausages or steaks or chops, which may be frozen in groups. You might want to pull them out of the freezer for 30 mins to 1 hr, so they thaw just enough to loosen up to separate them, then put half back. Is this safe?  My question is ... is there a clean cut off point with defrosting after which it becomes unsafe to refreeze, or does it just get progressively more dangerous?


I'm now use LaTex to write a mathematics problem solving book. It has some problems in the end of the chapter, and the last chapter is used to demonstrate the solution. But I don't know how to auto number the solutions for problems through the chapter, like Chapter 4, problem 4.1 (containing the solution)  I use gsm-l packages, a derived package of ams.   Here is the MWE   \documentclass{gsm-l}  \usepackage[papersize={160mm,240mm},inner=20mm, outer=15mm, vmargin=15mm]{geometry}  \geometry{includeheadfoot}  \usepackage{amssymb, amsmath}  \setcounter{tocdepth}{2}  \usepackage{pgf,tikz}  \usetikzlibrary{arrows}  \newtheorem{problem}{Problem}  \numberwithin{problem}{chapter}  \begin{document}  \chapter{Introduction}  \begin{problem}  This is problem 1.1  \end{problem}  \chapter{Key to the exercises}  I want to know how to auto list the problem number and the solution is behind it,   like :   \noindent \textbf{Problem 1.1}   The following is solution.  \end{document}   Please help me. Thanks.

How can I produce exercises in one part of a LaTeX document with selected answers in another? I could, of course, simply typeset the questions and the answers separately, but this is too likely lead to divergence in the labels for the questions and the answers as the document is edited.   What I'd really like is a command that would allow me to typeset exercises at the point at which the command was used and which took an optional argument for a solution to be stored until a final section (chapter, or part) "Selected Exercise Answers". I'd like the questions (and the selected answers) to be labeled in the output by Chapter.Section.Question or even Chapter.Question.


I'm from a place where there is no "L" in the language, and it's always been tricky to say.   Well, I did some research and, at least for American-English, there are two types: A "light L" and a "dark L".   Individually, I don't have a problem, but putting the dark L together with another word is sometimes a challenge. For example, I'm uncertain about "all of". Out of habit I use a light L to say it similar to "olive", but from what I read (and correct me if I'm wrong), I think I'm supposed to use a dark L for "all". This is very uncomfortable to say.  What's the proper way to pronounce "all" and "all of"? Is there a difference when put together?  EDIT: I did some more research, and some sources say that the dark L also uses the tip of the tongue as well as raising the back of the tongue. It's possible that "all of" is used in this manner. "All of" and "olive" may be different after all.  The linked post  does have some information, but it doesn't fully answer this question.  Tom says in the question that     Dark "L": is "L" at the end of the word or after a vowel sound.   Example: ball, pull.      Light "L:: is "L" at the beginning or before a vowel sound. Example:   light, love.   Araucaria says in an answer that      The rule for dark /l/ is that we always use dark /l/ when /l/ isn't   followed by a vowel. So in the word falafel the first /l/ is clear, the second is dark.   But neither of these posts seem to say if the rule applies when a word ending in "l," such as "all," is followed by a word starting with a vowel sound, such as "of."

"Dark L" is "L" at the end of the word or after a vowel sound. Example: ball, pull.  "Light L" is "L" at the beginning or before a vowel sound. Example: light, love.  There are 4 explanations of how to pronounce "dark L":   1st explanation: the tongue tip must contact the ridge right behind the upper teeth. 2nd explanation: before the tongue tip must contact the ridge right behind the upper teeth, you must curl the tongue and make sound like /r/ before make the /l/ as in the 1st explanation. 3rd explanation: just put the tongue between upper and lower teeth is enough to make the dark L 4th explanation: the tongue tip must contact the ridge right behind the upper teeth & the back of the tongue raises up (a British teacher teaches that).   see this vid:  and  for more info  So what is the correct way to make the "dark L"?


The keyup event is not working for dynamically added id attribute. My code,  HTML
     <input type="text" name="package_weight[]" id="package_weight_0" placeholder="Package weight" class="package_weight">

 Add more package   JQUERY  var count = 1; var i = 0; $('#add-more-package').on('click', function(){     $('#extra-packages').append($('#more-package-div').html());     $('#package_weight_'+i).attr('id','package_weight_'+count);     i+= 1;     count += 1; });  $('.package_weight').on('keyup', function(){     alert(this.id); });   In this case the keyup event is only working for the first textbox. How can I trigger the 'keyup' event for dynamically added attributes ?  This is my

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off.  This happens on page ready and works just fine.  The problem I have is that any select boxes I add via Ajax or DOM after the initial loop won't have the event bound.  I have found this plugin (), but before I add another 5k to my pages with a plugin, I want to see if anyone knows a way to do this, either with jQuery directly or by another option.


In my models file (django) I have a following code  def __unicode__(self):     return  u'EXAM: grade: %f' % (self.get_grade_display())   and in admin panel I have obrained  EXAM: grade: 2.000000   Anyone knows how to truncate the float number to the following format:   EXAM: grade: 2.0

I want a to be rounded to 13.95.  >>> a 13.949999999999999 >>> round(a, 2) 13.949999999999999   The  function does not work the way I expected.


I am looking for an expression that uniquely determines the following set: $S$ is the set of binary strings such that each block of $0$'s is congruent modulo $3$ to the length of block of $1$'s that follows it (if it exists)...that is,  (length of $0$) = (length of $1$) mod $3$. I am thinking to start from $0^*(\{1\}\{1\}^*\{0\}\{0\}^*)^*1^*$, but soon I realize that, the length of block of $1$ is arbitrary, then I got stuck....Could you please give me some hints?

I need to calculate no of possible substrings containing "00" as a substring. I know the length of the binary string.  Eg: for a string of length 4, possible substrings are: 0000 0001 0010 0011 0100 1000 1001 1100  I just need the number of possible combinations, not enumerate all of them.


I train people in software and sometimes the students are resistant or unwilling to learn. I would like to know if there is a word to describe these people.

What would you call a person who doesn't want to learn new things and even maybe thinks that this is unnecessary since he knows enough already?  An ignorant person?


How should suggested edits like , where the entire edit essentially just removes the whole block of import statements (or include, use, etc... for other languages) be handled? Can understand both sides of it  Benefit:    Shorter, more readable code, allowing users answering the question to focus on more on the code that matters.   Harm:    May be slightly harder to answer for some users if they want to test code are not as familiar with the language.   In cases where some rare libraries are used, I would think the suggested edit should definitely be rejected. But what about the example case, where most of the import statements are very common, and considering that IDE's and other editing tools generally have some functionality to include used libraries on the fly or with one command (so shouldn't really make it any harder to test)?

suggested edit made one change to the question -- changing the title to ALL CAPS.  I rejected it with a custom note and was pleased to see that the review was rejected by other reviewers as well.  However, out of curiosity, I looked at the  made by the user and ran into .  It is evident that the user has removed all the import statements from the code and the review was happily approved by three reviewers.  I don't quite agree that the review should have been approved.  Of course, I can rollback and make revision to the post in order to fix it but have some questions:   Does a mechanism exist for flagging such reviews? Shouldn't reviewers be given a break for permitting such changes?


I have looked around the web and tried to follow the official instructions () but the file I am meant to run called "Studio.sh" wont run? Thanks.

I have used the following command to install android studio to Ubuntu:   sudo apt-get install android-studio    However, the following message appears :  E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.    What is the problem and how to solve it ?


I am wondering if someone can help me figure out how to fully break out of my while loop(s) and continue with the rest of my program. Thanks!  import time while True:     company_name = input("\nWhat is the name of your company? ")     if company_name == "":         time.sleep(1)         print("\nThis is not eligible. Please try again")     else:         while True:             verify_name = input("\nPlease verify that {} is the correct name of your company \nusing Yes or No: ".format(company_name))             if verify_name.lower() == "no":                 print("\nPlease re-enter your company name.")                 time.sleep(1)                 break             elif verify_name.lower() not in ('yes', 'y'):                 print("\nThis is an invalid response, please try again.")                 time.sleep(1)                 break             else:                 print("\nWelcome {}.".format(company_name))                 verify_name == True                 break         else:             break #Continue with rest of my program

Given the following code (that doesn't work):  while True:     #snip: print out current state     while True:         ok = get_input("Is this ok? (y/n)")         if ok.lower() == "y": break 2 #this doesn't work :(         if ok.lower() == "n": break     #do more processing with menus and stuff   Is there a way to make this work? Or do I have do one check to break out of the input loop, then another, more limited, check in the outside loop to break out all together if the user is satisfied?


The question is about Familiar variants of creatures in the Monster Manual.  says that the traits and restrictions from the  spell don't apply when enlisting a quasit, imp, or pseudodragon as a familiar to become a Familiar variant of the monster.  Consider the case where a DM allows a character to get that special kind of familiar. Because Find Familiar's restrictions don't apply to the existing familiar, would anything stop that character from getting another one from the Find Familiar spell?

Out of curiosity, is it possible to have two familiars? As far as I know there are two possible ways to obtain familiars. One is with the find familiar spell; the other is to find a creature with the familiar variant option. In the first instance, the rules specify that you can't have more than one familiar, but the way is worded seems to be referring to the find familiar spell:  You gain the service of a familiar, a spirit that takes an animal form you choose. The familiar has the statistics of the chosen form, though it is a celestial, fey, or fiend (your choice) instead of a beast. You can’t have more than one familiar at a time. If you cast this spell while you already have a familiar, you instead cause it to adopt a new form.  But in the variant case you don't have a spirit per-se; you have the actual living thing and it does not change forms (as in the spell). Also, there is nothing in the variant rules that seems to rule out the option of having two familiars:  Variant: Quasit Familiar [...] The quasit can serve another creature as a familiar, forming a telepathic bond with its willing master. While the two are bonded, the master can sense what the quasit senses as long as they are within 1 mile of each other. While the quasit is within 10 feet of its master, the master shares the quasit's Magic Resistance trait. At any time and for any reason, the quasit can end its service as a familiar, ending the telepathic bond.  And, as far as I know, there is no limit on how many telepathic bonds you may have, if the telepathic communication and "possession" is considered a telepathic bond. Therefore, is it really possible to have two familiars, particularly using both rules, the find familiar and the variant option, or I missing something?


I came across a homework question asking if this is true or false. After plugging in some numbers, this turned out to be true. May I know a proof or explanation for this? I sort of know this is related to congruence and GCD, but unsure of how to start.

In respect to a larger proof I need to prove that $(n-m) \mid (n^r - m^r) $ (where $\mid$ means divides, i.e., $a \mid b$ means that $b$ modulus $a$ = $0$). I have played around with this for a while now but to no avail and would be grateful if you could help me.


From few days my Internet connection is being used by some application internally by my system.        I want to know which application is using it? I used Task Manager to see which resource is using my network it just say svchost.exe   (which is internally running more services, processes can't figured it   through it)   Can I restrict my Internet access to only certain applications (I think you are gonna say firewall, i even tried it but it is making   my system damn slow, i have an Intel i7 with 8GB RAM, so i uninstalled   it)   And this usage of Internet making CPU usage more than 15% which make my PC hotter. In turn makes my fan runs fast which in turn makes   sound. Immediatly after disconnecting my Internet my CPU usage will go   normal (1 or 2 % mostly even with lot of apps opened)

Possible Duplicates:             I need a free tool ( non browser ) to monitor my broadband usage on Windows 7 since my ISP has placed a cap on monthly downloads.  I need a PC based solution since I use a USB router to connect to the internet.All other solutions I found were router/network based and also wasn't sure of all the freeware tools I found on Google to do this job.Need suggestions personal experiences.


How can I detect if a gameObject has collided with two other specific objects AT THE SAME TIME?  This is what I intend to do but it does not work:  void OnCollisionEnter (Collision col) {  if(col.gameObject.name == "object1" && "object2") {     Destroy(gameObject); } }   How can I correct this piece of code?

I want an object to rotate after a delay. I tried using StartCoroutine, yield and WaitForSeconds, but failed. How can I do it?


I was trying to load new php page from one the PHP page using Jquery.  window.location = 'admin-editcp.php'; //no success $(location).attr('href','admin-editcp.php'); // no success   Checked my browser JS is also enabled. I tried it with Mozila, IE and Chrome.  Then i manage site in dreamweaver and I checked it there via live preview and when i clicked in click event, it loads properly.   But not in the above two methods with 3 browser.  I am confuse that what is missing here????  What I have tried:

How can I redirect the user from one page to another using jQuery or pure JavaScript?


I have many files and I want to export certain lines to new files while maintaining the input files as they are. For example, I want all lines beginning with a to be sent to a new file, let's call that a.txt, and then I want all other lines to be sent to a separate file, bcd.txt.  a.......  b.......  c.......  a.......  d.......   Currently, I'm using grep '^a' infile.txt > a.txt to do the first part and then I duplicated the input file and used sed -i 's/^a.*$//g to just delete the a lines starting with a. Is there a way I can do both tasks, while maintaining the original input file and not duplicating it?

Is there a script/program/utility already available for the following requirement in a optimised way?  someCommand |    tee >(grep "pattern" > LinesWhichMatch) |    grep -v "pattern" > LinesWhichDoesNotMatch


Is it possible to share 32.768kHz crystal for nRF52 and BNO055? The purpose is reducing cost&space.       Preferred crystal this one:  FC-135R     Also,how can i handle different load capacitance values?(If sharing possible,surely) Other question's accepted answer not satisfy me

How do I share a single crystal (not a complete oscillator module) between two micros? Is it OK to just connect everything as normal for the first micro and also directly connect its XO to the XI of the second microcontroller? I expect to place the micros very close together on the board.


So this is my first app on android and it's working great. However, when I tilt the screen to its horizontal view then my integers get reset to zero. If I start horizontally then switch it to vertical, it resets the integers to zero too. How can I get it to not reset and just switch?

In my Android application, when I rotate the device (slide out the keyboard) then my Activity is restarted (onCreate is called). Now, this is probably how it's supposed to be, but I do a lot of initial setting up in the onCreate method, so I need either:   Put all the initial setting up in another function so it's not all lost on device rotation or Make it so onCreate is not called again and the layout just adjusts or Limit the app to just portrait so that onCreate is not called.


I use Debian 10 on my PC (so far so good - lovin' it)- installed on a 1TB HDD (home, root, swap and EFI are separate partitions). I've installed timeshift and made some snapshots of the system, they are stored on the home partition. But I also have an old 120GB HDD from a laptop (sata3) I could use via a USB cable. How do I go about turning it into a backup disk which (should disaster strike and my system become unbootable one day) I could just plug into the USB socket and restore my system? If possible, could I allocate part of the disk to this function, say 20 GB and still use the remainder as portable storage for data? Timeshift seems noob-friendly enough for me. But how do I do it? Install an OS on the 120 GB HDD? Maybe there are better options. And I don't worry to much about the data I keep on my home partition - I wouldn't be backing that up. I would appreciate an answer.

Does a Linux alternative to Time Machine (macOS) exist? I'm looking for  that lets you restore the system completely. Can programs like  or  do that?


I would like to know if there is any way to be able to graph in blender a function of two variables, for example Sin (x y2) for the domain of x from -3 to 3, the domain of y from -2 to 2, to get something like the following image:    Clear this without axes, nor box,to later add some material and other things. I searched on YouTube for something similar but without success  I hope someone can help me

I have tried and failed to use the Bezier Curve tool to create a 3D saddle shape only managing to bend a plane in one direction.  Is this the best way to do so and how should I go about doing it?  This is the shape i'm trying to create:    Thanks


So I'm pretty new to programming, and I'm working on a small text based game for practice. Anyways, here's my problem.      x=1     for items in hero.basics:         print(x, ". ", items, sep = "")         x += 1   and the dictionary is,  self.basics    = {"Attack" : self.attack, "Potion" : self.potion}   So I need it to display in the same order as the actual dictionary, but it always displays randomly.  Any suggestions?

Here is the dictionary I have  propertyList = {     "id":           "int",     "name":         "char(40)",      "team":         "int",     "realOwner":    "int",      "x":            "int",     "y":            "int",      "description":  "char(255)",      "port":         "bool",     "secret":       "bool",     "dead":         "bool",     "nomadic":      "bool",      "population":   "int",     "slaves":       "int", }   But when I print it out with "\n".join(myDict) I get this  name nomadic dead port realOwner secret slaves team y x population id description   I know that a dictionary is unordered but it comes out the same every time and I've no idea why.


I've been using Ubuntu for years and I'm currently running Ubuntu 16.04. Since upgrading to 16.04, I occasionally get a pop-up message saying that there are program updates available but when I run sudo apt-get update it seems like there are no updates available. However, when I run sudo apt-get upgrade I'm able to install a bunch of updates. I haven't been able to see and install updates with the update command since I upgraded to 16.04, what's up with that?

I am wondering what sudo apt-get update does?  What does it update?


I'm really new to Python but I'm trying to do something definitely above my skill level. Is it possible to calla a function though a variable? For example,   def one():     print("this is a function") progress = "one" progress()    with the intention of calling the function "one()".  Is this possible?

What is the best way to go about calling a function given a string with the function's name in a Python program.  For example, let's say that I have a module foo, and I have a string whose content is "bar". What is the best way to call foo.bar()?  I need to get the return value of the function, which is why I don't just use eval. I figured out how to do it by using eval to define a temp function that returns the result of that function call, but I'm hoping that there is a more elegant way to do this.


Since two years ago I have this problem. I have a HP Pavilion dm4 Notebook PC. Every time I turn on my laptop it comes a black screen like this one(I found it in Internet):    In this two years nothing have happened. Therefore, I would just like to know how to remove this screen, if it's possible, each time I boot my computer.

This morning I went to turn on a family member's laptop to find the SMART message displaying that the laptop's hard disk is close to failure and needs replacing.   The laptop is around 2 years old now and I have now backed everything up just in case of this 'imminent' failure.   I ran the HDTune programme to test the amount of damaged blocks there are in the hard disk.  This resulted in 24/2500 blocks (1%)  To me, (someone who doesn't know a great deal about computer hardware) this doesn't seem like a very large amount and I am not entirely sure where to go from here.   Shall I just suggest to immediately buy a new hard drive for the laptop as this one will just keep on deteriorating?  Or, as everything is now backed up, keep on using the laptop until the inevitable happens which could be; days, weeks or months, as this laptop isn't really used for anything majorly important?  Thanks in advance,  JD


I have a good trafic website (with a nasty domain name) and a low trafic site (with a good domain name)  My idea is to join both websites and finally have 1 website with the good domaine name (where I would import the posts from the good trafic website)  What would be the smart way to achieve that and keep a good trafic ?  regards

I have a friend that I'm helping out with some web design. Basically, the guy owns a few businesses that are all complementary of each other and he wants to combine them all into a single site. There's service A and B, based on the west side of our state; and service A and B based on the east side. Each has their own website (eg, eastservicea.com, westservicea.com).  The previous web designer maintained completely separate and unique content, and unique designs, for all four sites. He is now wanting to merge all that together into a single site (statewideservica.com) with a new design.  Right now all four sites are at the top of the searches for his niche market. The last thing we want to do is hurt that SEO. So the debate how do we merge these sites without hurting the SEO.   Keep the existing URL's and just make the content of all the same. Redirect all the sites to the new URL. Set a static page on all the existing URLs with content, but all links point to the new URL.   Any thoughts?


When reviewing a suggested edit, you can give a custom rejection reason, and when you open the rejection popup and someone already voted to reject with a custom reason, you get a blue (1) indicator after the "custom" label next to the text box.  I propose that, when someone votes to reject with a custom reason, there's a "new" rejection reason added to the list, which is that custom reason. A bit similar like what happens with custom close vote reasons. I think this would be a good idea because it could accelerate the rejection of bad edits that wouldn't match one of the existing reasons, because then just one person has to type the rejection reason, other people can just reuse it.  Visualization of what I mean:

Somewhat similar to , but rather more limited: when Rejecting an edit, not only the count of custom rejection reasons but the actual text of the reasons should be shown, IMO. Just now I  on SO that tidied some code in a trivially correct and substantially superior way because it looked perfectly legitimate and I couldn't understand why anyone would bother with a custom rejection reason. As it turned out, it was code in a question, of course.  In this case, the rejection reason correctly identified the problem, and had I seen it, I would have been reminded of that aspect I had neglected to check.


I am trying to prove that the composition R o R of an equivalence relation of R is also an equivalence relation.  I believe I have to prove that the composition of  R o R is symmetric, reflexive and transitive.  But I am really stuck. It would be great if someone could help.

As part of a HW assignment in the course elementary set theory, I was given the following question:  Let $A$ be a set and let $T$ and $S$ be two equivalence relations on $A$. Prove: $S\circ T=T\circ S \iff S\circ T$ is an equivalence relation The $\Longleftarrow $ direction was not so difficult but I had a problem with the $\Longrightarrow $ direction.  I managed to prove reflexiveness and symmetry of $S\circ T$, but cannot prove the transitivity of $S\circ T$. Any suggestions?


Which one is correct? Can I use both?  "I am going to listen and read." "I am going to listen and to read."

I googled it but I couldn't find the answer... maybe I didn't seek it in the proper way. My question is if "to" must be repeated in sentences such as the following ones:   In the past, women used to do the housework and to take care of children.  The aim of this meeting is to control their progress and to discuss the new working plan.    If I had to bet, I would omit the second to... But I am not sure about it.


Assume there's a short sequence of an amino acids.  MAKMGSKKKAGHGGKEKLENMGE   I am using molecular structuring softwares to look at secondary structure. But it's blackbox method. In plain theory, how to determine what structure the above peptide will fold into? There must be a basic set of rules, prior to all the complex maths, and modelling?   Based on basic rules I also want to know what and how a different amino acid contributes to the formation specificity.  Will add more details.

Is there a particular sequence of amino acids that we know will take on a beta-sheet or an alpha helix or is it essentially random?


One in six people struggles to read.  OR  One in six people struggle to read.  "One in six" is singular, naturally, but "one in six people" clearly amounts to a huge number. Should the verb thus be singular or plural, please?   As a corollary, I could imagine the sentence being qualified thus:  One in six people (11 million in the UK alone) struggle to read.  Certainly, to my ear at least, the latter would thus "sound" more natural.  Thanks in advance.

Take the examples:   "One in ten children are dyslexic."  "One in ten children is dyslexic." "One in ten children has dyslexia." "One in ten children have dyslexia."   The "one" is singular so 2 and 3 should be correct. But the "one in ten" is a fraction" so 1 and 4 should be correct. And yet I think I usually say 1 and 3. Which is/are correct?!


Based on my knowledge of quantum entanglement, I can set up a scenario which leads to a contradiction with the No-communication theorem. Please help me find the flaw.   Suppose Alice wants to communicate a message to Bob (1 or 0). Alice has 100 electrons (which we will call a_1, a_2, ..., a_100) and Bob also has 100 electrons (which we will call b_1, b_2, ..., b_100). Each one of Alice's electrons is entangled to exactly one of Bob's electrons such that a_n and b_n have opposite spin. First, Alice measures the spin of each of her electrons along the z axis and records each result. Then, if Bob wants to communicate a zero, he does not measure the spin of his electron, so that when Alice measures her's a second time about the z axis, she gets the same results as in her first measurement. If Bob wants to communicate a 1, he measures the spin of each one of his electrons about the x axis so that when Alice makes a second measurement of each of her electrons about the z axis, her results should not be correlated to the first measurement she took. If everything I said were true, this would provide a very high probability for Bob to correctly transfer a bit of information to Alice, potentially at faster than light speeds which violates the No-communication theorem.

It is often stated, particularly in popular physics articles and videos, that if one measures a particle A that is entangled with some other particle B, then this measurement will immediately affect the state of the entangled partner.  For example, if Alice and Bob share an entangled pair of electrons and Alice measures her spin in the $x$ direction, then Bob's spin will also end up spinning in that direction, and similarly if she measures in the $z$ direction. Moreover, the effect will be instantaneous, regardless of the spatial distance between the two particles, which seems at odds with special relativity.  Can I use a scheme like this to communicate faster than light?


I need some clear explanations on the following questions.   What is Desktop Environment?  What is Desktop Manager? What is Display Manager? What is X window system, server, X11 and Xorg? What is the relation between the above, which runs/depends on which? How can I check what Desktop Manager and Display Manager I am using in Raspbian?    Thank you in advance!

I use debian wheezy xfce and want to set up my desktop. But I read some settings are redundant. Hence I want to understand how everything works, but I am massively lost. Can someone please sort, complete and entitle the following list and explain me what uses what?  KDE, Gnome, XFCE, X11, dgm, kdm, GTK(x), Sessions, lxdm, lightdm, compiz, Kwin, window- and desktopmanager... etc  Always when I think I understood it I find new expressions I never heard before. Okay heres what I know. Gnome, KDE, XFCE are Desktops. They are on top of the stack. X11 is a library that displays something and makes use of the graphic driver, hence I think it is at the bottom of the stack. (But above the graphic driver)...


I am getting continuous error when I run the command sudo apt-get -f install The output of the command is as follows:  Reading package lists... Done Building dependency tree   Reading state information... Done Correcting dependencies... Done The following extra packages will be installed: default-jre-headless icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib Suggested packages:   fonts-ipafont-gothic fonts-ipafont-mincho ttf-telugu-fonts ttf-oriya-fonts ttf-kannada-fonts ttf-bengali-fonts The following NEW packages will be installed:   default-jre-headless icedtea-7-jre-jamvm openjdk-7-jre openjdk-7-jre-headless openjdk-7-jre-lib 0 upgraded, 5 newly installed, 0 to remove and 28 not upgraded. 2 not fully installed or removed E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/cache/apt/archives/ satish@satish-Inspiron-N5010 ~ $    please guide ASAP

I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this?