Graduate schools with no test score cutoffs

I recently received my math subject gre scores and did extremely poor on it (620: 41 percentile). This was an absolute shock to me as I have been preparing for the test since summer but I want to make no excuses. At first I was planning to apply to a lot of top 25 pure math grad schools but now I am looking at schools at the lower end of top 50 as my top choice.  I would like to know if there are strong math schools that do not have any test scores cut off/ do not require math gre scores.   Some examples of such schools are: Texas A&M and UC San Diego.  My current academic profile: My math GPA is 3.8 and I have lots of research experience with 2 publications. I'm taking a grad course and complete 2 more before I graduate.


Is it ok to delete question on one Stack Exchange site (for lack of response) and post it on another Stack Exchange site?

When asking questions related to SharePoint, I generally post them on . But sometimes I don't receive any responses to my question, so I delete the question from SharePoint Stack Exchange and repost it on Stack Overflow.  Is this behavior correct, or will I be penalized for it if this happens frequently?


Make winter bash dropdown act like the other dropdowns

The site selector, inbox, and achievements dropdown are all part of a group; when I open one, I can mouse over another to open it. However, the winter bash dropdown is not included. I cannot switch between the original dropdowns and the winter bash dropdown just by hovering over their respective buttons.  Not only does this severely degrade my experience, but the poor dropdown feels excluded. Can we promote inclusivity by adding the winter bash dropdown to the code that lets us mouseover to switch?


How do I construct a variance-covariance matrix from a matrix formulation of a MLR?

I'm trying to calculate the SE for each coefficient given by a matrix formulation of MLR by the root of each diagonal in the so-called variance-covariance matrix, but I'm unsure how to construct this matrix.


Self adjoint operators and trace class property

This is a variation of the  questioned some time ago.  For a complex Hilbert space $H$ let $T: H \rightarrow H$ be a bounded operator. We call that $T$ is a trace-class operator if the following sum  $$\sum_{i}{\langle |T|e_{i}, e_{i} \rangle} < \infty$$  converges, where $|T| = (T T^{*})^{\frac{1}{2}}$ is the absolute value of the operator.  Assume that  $$\sum_{i}{\langle Te_{i}, e_{i} \rangle}$$  converges for any basis in the space $H$. How to prove that if the aformentioned property holds then the operator is a trace class operator?  The progress on the problem is the following: Given an arbitrary bounded operator $T: H \rightarrow H$, one can use the following decomposition $$T = \big( \frac{T + T^{*}}{2} \big) ^{*} + i \big( \frac{T^{*} - T}{2i} \big) ^{*}$$  The latter line gives the decomposition $$T = A + i B$$ where $A, B$ are normal operators.  For the normal operators we can apply the spectral theorem that proposes that $T$ is unitary equivalent to  $$(UT U^{-1})(f(x)) = g(x) f(x)$$  where  $$U: H \rightarrow L^{2}(X, \mu)$$ $$g \in L^{\infty}(X, \mu)$$  Though this decomposition classify the operator in a broad sence, i see no direct way to conclude the statement. Are the any hints that may extend the previous argument? If not, are there any ways to conclude the statement?


ETClient (401) Unauthorized or bad request with SDK C#

I'm trying to connect to Marketing Cloud via FuelSDK. As soon as I try this line of code: ETClient myclient = new ETClient();  with this configuration inside app.config: <fuelSDK appSignature="none"                   clientId="myClientId"                   clientSecret="myClientSecret"                   authEndPoint="https://xxx.auth.marketingcloudapis.com"                   restEndPoint="https://yyy.rest.marketingcloudapis.com/"                   useOAuth2Authentication="true"                   applicationType="server"                   accountId="myAccountMIDId"                   scope="data_extensions_read data_extensions_write" />  I get the following error: "The remote server returned an error: (401) Unauthorized. If I try to change the mid in the business unit org id, it gives me bad request. I've created an installed package of Server-to-Server type. How can I intervene to fix this behavior? Thank you in advance. Greeting


Correctly formatting list of strings into list of dates in python

I have a list of strings that I want to format into a list of dates, before getting the max date time.  The list looks like:  StrList = ['date_range Date Posted: Thu, 08 11 2018 12:12:55 GMT',  'date_range Date Posted: Thu, 08 11 2018 10:53:49 GMT',  'date_range Date Posted: Thu, 08 11 2018 09:55:08 GMT',  'date_range Date Posted: Wed, 07 11 2018 14:23:56 GMT',  'date_range Date Posted: Wed, 07 11 2018 14:23:12 GMT',  'date_range Date Posted: Wed, 07 11 2018 09:07:47 GMT',  'date_range Date Posted: Tue, 06 11 2018 11:44:51 GMT',  'date_range Date Posted: Mon, 05 11 2018 16:17:51 GMT',  'date_range Date Posted: Mon, 05 11 2018 14:07:41 GMT',  'date_range Date Posted: Mon, 05 11 2018 14:03:19 GMT',  'date_range Date Posted: Mon, 05 11 2018 13:07:10 GMT',  'date_range Date Posted: Mon, 05 11 2018 13:05:56 GMT',  'date_range Date Posted: Mon, 05 11 2018 11:41:31 GMT']   I want to get a list that contains only the extracted date and time part of each list element and then subsequently find the maximum of the date times of all the elements.  E.g. Desired output:   DateList = ['08-11-2018 12:12:55',  '08-11-2018 10:53:49 GMT',  '08-11-2018 09:55:08 GMT',  '07-11-2018 14:23:56 GMT',  '07-11-2018 14:23:12 GMT',  '07-11-2018 09:07:47 GMT',  '06-11-2018 11:44:51 GMT',  '05-11-2018 16:17:51 GMT',  '05-11-2018 14:07:41 GMT',  '05-11-2018 14:03:19 GMT',  '05-11-2018 13:07:10 GMT',  '05-11-2018 13:05:56 GMT',  '05-11-2018 11:41:31 GMT']   Then the final step will be to get the maximum date time which in this case will be:  MaxDate = 08-11-2018 12:12:55   Any help will be appreciated.


How to solve the spam outgoing emails from a VPS?

I bought a new VPS and using WHM i created a cpanel account. After doing some research about why are the emails were going on spam without any reasons and by this i mean :   1. No blacklisted IP,  2. No blacklisted hostname,  3. Normal emails with only text, not html,  4. SPF, DKIM and PTR records configured .   If there is any other reasons for this please help me .


How can i obtain the date only from the datetime column?

I have following query  SELECT GETDATE()   which returns me as 2013-11-16 03:31:07.740 I want only the DATE part and omit Time part.   I have used   select convert(varchar, getdate(), 100) convertResult,100 style union select convert(varchar, getdate(), 101),101 union select convert(varchar, getdate(), 102),102 union select convert(varchar, getdate(), 103),103 union select convert(varchar, getdate(), 104),104 union select convert(varchar, getdate(), 105),105 union select convert(varchar, getdate(), 106),106 union select convert(varchar, getdate(), 107),107 union select convert(varchar, getdate(), 108),108 union select convert(varchar, getdate(), 109),109 union select convert(varchar, getdate(), 110),110 union select convert(varchar, getdate(), 111),111 union select convert(varchar, getdate(), 112),112 union select convert(varchar, getdate(), 113),113 union select convert(varchar, getdate(), 114),114  union select convert(varchar, getdate(), 120),120  union select convert(varchar, getdate(), 121),121  union select convert(varchar, getdate(), 126),126  union select convert(varchar, getdate(), 127),127  union select convert(varchar, getdate(), 130),130  union select convert(varchar, getdate(), 131),131 order by 2   But not any combination gives me the date section only.


I installed youtube-dl and executing the  command it shows:  [youtube] Setting language [youtube] _gp51lt9kdA: Downloading video webpage [youtube] _gp51lt9kdA: Downloading video info webpage [youtube] _gp51lt9kdA: Extracting video information  Traceback (most recent call last):   File "/usr/bin/youtube-dl", line 4645, in <module>     main()   File "/usr/bin/youtube-dl", line 4636, in main     _real_main()   File "/usr/bin/youtube-dl", line 4620, in _real_main     retcode = fd.download(all_urls)   File "/usr/bin/youtube-dl", line 869, in download     ie.extract(url)   File "/usr/bin/youtube-dl", line 1135, in extract     return self._real_extract(url)   File "/usr/bin/youtube-dl", line 1406, in _real_extract     url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data)   File "/usr/bin/youtube-dl", line 1406, in <genexpr>     url_map = dict((ud['itag'][0], ud['url'][0] + '&signature=' + ud['sig'][0]) for ud in url_data) KeyError: 'sig'


My professor who doesn't let me use my phone to read the textbook online in while I'm in class. What should I do?

I'm currently taking a course where I acquired the textbook as an e-book. Physical copies were available too, but I find kindle-versions far more convenient as I can read it wherever, whenever, using the kindle app on my phone.  Then naturally during lectures, I'll have my phone out (on mute of course) so that I can access the book. This is no different to any other student in the hall who have their physical copy out. In fact, I am less disturbing, because when those other students need to look something up, you'll hear pages turning, while my finger is silently scrolling my phone.  And yet, my professor doesn't seem to realize the benefits of technology and bans usage of phones. I of course do not intend to follow this policy: I've paid money for my e-book and am not going to spend more money for another physical copy just to appease this tosser.  However, my question is specifically, what should I do? Should I just keep on using my phone as usual, or should I contact some authority figure immediately? I'm not really worried about what he can do (because there's not really anything he CAN do, he can't throw me out of class or anything), but I would still like to take optimal steps.


Is there a way of predicting where the Mysterious Stranger is going to be?

Is there a mathematical method to figure out what room the Mysterious Stranger will go into next after we previously got him?


What will I lose when I do a factory reset?

I have Locked myself out of my phone because I entered too many pattern attempts. I can't sign into my Google account because my wi-fi isn't turned on. So I need to factory reset it. I'm just wondering what will I lose. My photos and videos are saved onto my phone, will I lose them? If there are any other options in getting back into my without factory resetting it, it would be greatly appreciated. Thanks By the way I have a Samsung Galaxy Xcover


I am trying to integrate $$\int_0^1\int_{0}^1\frac{x^2-y^2}{(x^2+y^2)^2}dy\, dx$$  In my book said that use tangent function but I don`t know how to evaluate it. Please help me. I want to know the process of evaluating this integral.  One more question  $f(x,y)=1$, if $x$ rational  $f(x,y)=2y$, if $x$ irrational   then why is $f(x,y)$ not integrable but the iterated integral exists over $[0,1]\times[0,1]$? Thank you.


In school, we were taught to end each list item with a semicolon. But I have never actually seen this. Can somebody please confirm this? Should we end each list item with anything at all?  I've seen people use periods after each list item, colons, and even commas. But I've never seen a semicolon at the end of each item — and even if I have, it would be that rare that I've forgotten.  Example:   item; item; item; item


Get PHP MySQL PDO column table name as a result of a join

I have fields that have the same name in different tables that I'm joining. Such as ticket.status, user.status and transaction.status. At the moment the query returns just status.  How can I get the table name in such a way that it stops similar field names from overwriting and so I can tell the difference between the fields.  Simply put:  $data = array($eventId); $statement = $this->db->prepare("SELECT * FROM ticket, user, transaction                          WHERE ticket.eventId = ?                          AND ticket.userId = user.userId                         AND ticket.transactionId = transaction.transactionId");  $statement->execute($data);  $rows = $statement->fetchAll(PDO::FETCH_ASSOC);   In my research I've found the constant PDO::ATTR_FETCH_TABLE_NAMES that looks like it could help, but I do not know how to implement ( I assume through $statement->setAttribute(); somehow).   I also have concerns that it will not work, as the PHP documentation mentions it is dependent on the driver.  Thanks


Problem with spacing above some, but not all, "\paragraph" headers

I am writing a text using \paragraph, and I am completely baffled as to why the 1st paragraph has no space between it and the above text whereas the 2nd does! If I add one more paragraph after the 2nd, then the new one has space although the 1st remains the same. If I add it before the 1st one then the new one doesn't have space and the previously 1st has! I used a new document with lipsum package for troubleshooting but in it every paragraph had the appropriate space. I have tried deleting and re-entering the paragraphs in my text but still have the same problem.   If I delete the listings package it seems that the problem fixes but I am not sure. It is completely weird! What is happening?  \documentclass[12pt]{article}  \usepackage [   top=0.7in,   bottom=1.2in,   left=0.8in,   right=0.8in ]{geometry}   \usepackage{parskip}  \setlength{\parindent}{0cm}  \usepackage[fleqn]{amsmath}  \usepackage{unicode-math}  \usepackage{fontspec}  \usepackage[english,greek]{babel}   \setmainfont [   Ligatures=TeX,   Extension=.otf,   UprightFont=*,   BoldFont=*Bold,   ItalicFont=*It,   BoldItalicFont=*BoldIt,   Mapping=tex-text ]{GFSArtemisia}  \setsansfont[Mapping=tex-text]{GFSArtemisia.otf}   %Math fonts  \setmathfont{latinmodern-math.otf} \setmathfont[range=\varnothing]{Asana-Math.otf} \setmathfont[range=\int]{latinmodern-math.otf}  \usepackage{listings}  \usepackage[usenames,dvipsnames,svgnames,table]{xcolor}  \usepackage{lipsum}  \begin{document}  \lstset {     basicstyle=\ttfamily,     keepspaces=true,     emph=     {     if, for, each, loop, do,     then, return, function     },     emphstyle=\color{BrickRed} }  \selectlanguage{english}  \section{Search}  \subsection{Subsection}  Text goes here.  \subsection{Uninformed Search Strategies}  More text goes here.  \subsubsection{Subsubsection}  \begin{lstlisting}[title={Source Cod}] Text \end{lstlisting}  \lipsum[1-2]  \paragraph{Paragraph1}Paragraph1 text  \lipsum[1-2]  \paragraph{Paragraph2}Paragraph2 text  \lipsum[1-2]  \paragraph{Paragraph3} Paragraph3  Text for Paragraph3  \end{document}


How can I generate isometric sprites based on a 3d model?

I'm wondering about the following:  I'd like to create isometric sprites for a game that I'm currently developing.  Rather than asking an artist to draw numerous sprites (which will be quite costly), I'd prefer to purchase a 3d model, for a platform such as Blender or 3DS Max, in order to render these models at different angles in an isometric perspective.  Depending on the level of detail, for each angle (0-359 degrees), I would need a sprite. Is there a specific script or feature available in either Blender, 3DS Max or a similar tool, that would suit my purpose?  Thanks a heap!


How can I cure non-normality of residuals in logistic regression?

I am running a logistic regression against the "Default" dataset of . I am using the  package in R (available on CRAN) to test the goodness of my model. MWE: rm(list=ls()) indf <- read.csv("https://pastebin.com/raw/suXpddVR") indf$default <- as.factor(indf$default) indf$student <- as.factor(indf$student) mod <- glm(default ~ student+balance+income,            data=indf,            family="binomial") print(summary(mod))  library(performance) performance::check_model(mod)  Diagnostic plot is as follows:  As you can see from the plot in the upper right the residuals don't follow a normal distribution. How can I cure that? I have tried putting the squares of the variables in the model, but they are non-significant and the problem remains.


Foreign key referring to primary keys across multiple tables?

I have to two tables namely employees_ce and employees_sn under the database employees.   They both have their respective unique primary key columns.   I have another table called deductions, whose foreign key column I want to reference to primary keys of employees_ce as well as employees_sn. Is this possible?  for example  employees_ce -------------- empid   name khce1   prince  employees_sn ---------------- empid   name khsn1   princess   so is this possible?  deductions -------------- id      name khce1   gold khsn1   silver


Capitalization and hyphenation of proper noun declensions

I'm transcribing some speech and I came across     One of the accusations that certain non-Orthodox Christians level against the Orthodox is that we worship idols.   However, I am not certain on how to style the word "non-Orthodox" properly.  Is there a reference I can consult here? Is there one right way, or are multiple forms acceptable?  For example:   "Nonorthodox" makes sense because 'nonorthodox' is a normal word, but should be capitalized as part of a proper noun. "non-Orthodox" makes sense because "Orthodox Christian" is the base term, but Nonorthodoxy is not a specific class of Christianity.


Why doesn't git fetch update local branch?

I have the following scenario:  I have my remote branch equal to my local branch. Then I made some changes in the remote branch and some different changes in my local branch.  My idea is to run git fetch, to sync my local branch, then check the differences, and then push everything, but it simply doesn't work! (git fetch seems to not get the changes made in the remote branch before) I know running git pull "fixes" this, or git push -f but I want to review the changes before commit.  Why doesn't git fetch work as expected? Or how can I otherwise review the differences before commit?


Existence of a cofree functor (right adjoint)

Given is the forgetful functor: $U: Grp \rightarrow Set$. I've already seen that we can construct a left adjoint $F: Set \rightarrow Grp$ to this functor by introducing the free functor, which associates to any set $X \in Set$ the free group $F(X)$.  Now I want to check if there is a right adjoint to our forgetful functor, let's say it is the functor $R: Set \rightarrow Grp$. If we had a right adjoint, we'd have a bijection between hom-sets, namely $Hom_{Grp}(R(X), G) \simeq Hom_{Set}(X, U(G))$ for any set $X \in Set$ and $G \in Grp$.  I guess there is no such a right adjoint to the forgetful functor $U$ but I don't know how to show it. Can anybody help me, please? Thank you very much!


How to Select UTF8(Persian) Characters From MySQL With Using PHP?

I Want To Read Persian Characters From MySQL With PHP.Characters Are Well Stored By PHP In MySQL. But When Reading Them The Characters Are In The Form Of "?". This Is My Data In MySQL:  This Is My Code For Select Data: $Query = "SELECT ID,Json FROM su"; $MySQLAddress = "___"; $MySQLUsername = "___"; $MySQLPassword = "___"; $MySQLDataBaseName = "___"; $MySQLConnection = mysqli_connect($MySQLAddress,$MySQLUsername,$MySQLPassword,$MySQLDataBaseName); if ($MySQLConnection -> connect_errno) {       echo "Failed to connect to MySQL: " . $MySQLConnection -> connect_error;       exit(); } $MySQLConnection->query("SET NAMES 'utf8'"); $MySQLConnection->query("SET CHARACTER SET 'utf8'"); $MySQLConnection->query("SET character_set_connection = 'utf8'"); $Result = $MySQLConnection->query($Query);  But This Is My Result:


Who was the colleague that Erik was going to contact for help?

After S.H.I.E.L.D confiscates Jane's work in Thor, the researchers discuss what they'll do next.  Erik mentions two colleagues. The first is reasonably implied to be Bruce Banner, but who is the second colleague he mentions? Transcribed from the film:  Jane Who are these people? Erik I knew this scientist... a pioneer in gamma radiation. S.H.I.E.L.D showed up and... umm. He wasn't heard from again. Jane They're not going to do that to us. I'm going to get everything back. Erik mumbles Please. Let me contact one of my colleagues. He's had some dealings with these people before. I'll email him and maybe he can help. Darcy They took your laptop, too.


I had some issues with GPU drivers couple of month ago. They killed my Ubunu's GUI. Now I have only access to console. I can login, and seems to me, I can ping sites. I'm quite a noobie in fixing such things, so after of couple of tens of attemps to recove rmy system I decided to delete Ubuntu and install Windows. However, I don't know the whole procedure. Do I need a USB with Windows, how am I supposed to delete ubuntu, etc.? Also, I don't care about data, which is now on my PC, I just want to uninstall Ubuntu and install fresh latest Windows. Detailed instructions would be highly appreciated.


How is the angular momentum conserved in this case?

So imagine we have a mass attached to a string and spin it. If angular momentum is conserved then why does the object not have a tendency to move in a curved path if the mass is suddenly let go off. Linear momentum appears to be conserved in this case at an instantaneous point where the mass $M$ would have velocity $v$ at any given point and hence a linear momentum of $Mv$ which presumably dies out due to gravity and drag. Where is the angular momentum gone?


Show $a_{n+1}=\sqrt{2+a_n},a_1=\sqrt2$ is monotone increasing and bounded by $2$; what is the limit?

Let  the sequence $\{a_n\}$ be defined as $a_1 = \sqrt 2$ and $a_{n+1} = \sqrt {2+a_n}$. Show that $a_n \le$ 2 for all $n$, $a_n$ is monotone increasing, and find the limit of $a_n$.  I've been working on this problem all night and every approach I've tried has ended in failure. I keep trying to start by saying that $a_n>2$ and showing a contradiction but have yet to conclude my proof.


sysnetwk.exe adware virus removal Windows 10

sysnetwk.exe keeps changing my proxy and browser settings which results in manually resetting proxy settings and dealing with bunch of adware popup etc.  I have tried many methods and malware removers which include:   Removed suspicious programs from Add/Remove programs list Removed unnecessary extensions from browsers  Malware removal tools I tried:   HitmanPro MalwareBytes Adware Cleaner Bitdefender Adware Remover Tool SpyHunter 4 MalwareBytes Zemana AntiMalware Microsoft Essentials Deleting Temp files Deleting sysnetwk.exe, but it keeps coming back Remove/Reset all browsers    I tried all these within safe mode too.  Every time I manually reset proxy settings, many CMD windows flash up and triggers the proxy to change.  Proxy is always changed to http=127.0.0.1:8080;https=127.0.0.1:8080


Why are $\pi$ and $e$ used in so many physical formulae?

It's a fact that in many physical formulae $\pi$ (or even multiples of it as far as I can see) and $e$ show up. But why would that be so? Is because the two are "connected" in the well-known formula $e^{i\pi}+1=0$, though this only shows the two in one formula and, I think, can't be seen as an answer because it only shifts the problem.  Also in statistics, they show up: For example, the chance that the needle in  crosses one of the lines is $\frac{2}{\pi}$. Also, $e$ shows up in many statistical formulae.  Another example (this time for $e$, which is not addressed in the question of which this question is supposed to be a duplicate) is the use of $e$ in the calculation of .  Is there something "deep" about these two numbers?  P.S. Also, the  appears in many physical phenomena, as expressed in the many forms that appear in Nature and which has nothing to do (in the case of $\pi$) with spherical symmetry, the volume of n-spheres, trigonometric functions, Fourier analysis, etc. Neither with $e$, so also of $\varphi$ can be said it's another example of one of the most fundamental numbers.   I think we overlook many aspects of Nature if at the heart of mathematics, as suggested by the answer, lay $\pi$ in geometry and $e$ in calculus. Aren't there many areas of math (or math that still has to be developed) in which these numbers don't form "the fundamental heart", but nevertheless can be applied in investigating Nature mathematically? In this case, the answer to my question is likely that the number of formulae which contain $\pi$ or $e$ would be that in fact, the relative number of these formulae ain't that big (though the absolute number is).


Counting how many functions exist given a relation

Let $A = \{1, 2, 3, 4\}$, and let $F$ be the set of all functions from $A$ to $A$. Let $S$ be the relation on $F$ defined by:  $\forall f, g \in F$, $fSg \iff f(i) = g(i)$ for some $i \in A$  Let $h: A \to A$ be the function defined by $h(x) = 1$ for all $x \in A$ How many functions $g \in F$ are there so that $gSh$?  So for whatever $x \in A$, $h(x) = 1$. So I want to find how many functions $g \in F$ exist so that $gSh$.   So I made a sort of "recipe" for counting how many functions $g$ exist. Since in order for $gSh$, $g(i) = 1$ for any $i \in A$, since $g(i) = h(i)$ if $gSh$.  Step 1: Map $1 \to 1$   Step 2: Map $2 \to 1$   Step 3: Map $3 \to 1$  Step 4: Map $4 \to 1$   So this is just equal to $1 * 1 * 1 * 1$. So my assumption is that there exists only $1$ function $g$ such that $gSh$. Is this correct? I think I might be misunderstanding the wording, and just want to make sure. Thanks in advance.


Why does a single quote inside a comment in an awk command cause quote marks to become unmatched?

Consider the following awk statement which sums the values of column 1 in a file  cat $1 e | awk '      {total=total+$1}   # this comment does not contain any single quote marks                    END {printf("%.2f\n",total)}                '   It works as expected.  Now let's keep the same statement, but change the comment to have a single quote mark inside  cat $1 e | awk '      {total=total+$1}   # don't do this                     END {printf("%.2f\n",total)}                '   When I run this in either Mac Os or Centos, I get the following error  ./bad_sum: line 2: syntax error near unexpected token ` ./bad_sum: line 2: `                  END {printf("%.2f\n",total)}'   It looks like awk is trying to match the quote mark in don't with the quote mark after awk and thus gets confused. But since comments are supposed to be ignored, how can this be explained?


This is a tree that I made by following code:  \begin{tikzpicture}[sibling distance=7em,   every node/.style = {shape=rectangle, rounded corners,     draw,     top color=white, bottom color=blue!20}]]   \node {$ C_{i} $}     child { node {$ q_{1}k_{1} $}      child{node{$q_{2}k_{2} $}}      child{node{$\cdots$}}          child{node{$q_{2}k_{2}+(k_{2}-1) $}}}     child { node {$ \cdots$} }     child { node {$ q_{1}k_{1} +(k_{1}-1)$}      child{node{$q_{2}k_{2} $}}      child{node{$\cdots$}}          child{node{$q_{2}k_{2}+(k_{2}-1) $}}} ; \end{tikzpicture}   As you can see two branch collapse and I wanna make the tree wider to make it nicer.


In a document, is it possible to change the base in which the numeration is written? The default numeration is decimal, but I would like to use an octal or hexadecimal numeration for instance.  Also, when I use a document class 'book' or 'report', how can I set a negative numeration before the main text? What I mean by this is that instead of small latin numeration (i, ii, iii, iv, ...) I would like the pages to decrease with a negative sign in front. Is there a way to do so?


$N(X)$ denotes collection of all nets of $X$. $T:N(X)\to \mathcal{P}(X)$ be a map such that $T\{x_\delta\}=T\{y_\gamma\}$ if one is subnet of other.

Let $X$ be a non-empty set. $N(X)$ denotes the collection of all nets on $X$ and $\mathcal{P}(X)$ denotes the collection of all subsets of $X$. Let $T:N(X)\to \mathcal{P}(X)$ be a map satisfying the condition $T\{x_\lambda\}_{\Lambda}=T\{y_\gamma\}_{\Gamma}$ if one of $\{x_\lambda\}_{\Lambda}$ and $\{y_\gamma\}_{\Gamma}$ is a subnet of the other. Define $\tau=\{A\subset X|\ T\{x_\lambda\}_{\Lambda}\subset A^c\text{ for every net }\{x_\lambda\}_{\Lambda}\subset A^c\}$  We have to prove that $\tau$ is a topology on $X$. I have tried the problem in the following manner-  $\emptyset\in \tau$ since given any net $\{x_\lambda\}_{\Lambda}\subset (\emptyset)^c=X$, we always have $T\{x_\lambda\}_{\Lambda}\subset (\emptyset)^c=X$ . Again, $X\in \tau$ since $X^c=\emptyset$ Let $\{A_i|\ i\in I\}\subset \tau$. Then let $\{x_\lambda\}_{\Lambda}\subset \left(\bigcup A_i\right)^c=\bigcap A_i^c\implies \{x_\lambda\}_{\Lambda}\subset A_i^c\ \forall i\implies T\{x_\lambda\}_{\Lambda}\subset A_i^c\ \forall i\implies T\{x_\lambda\}_{\Lambda}\subset \bigcap A_i^c=\left(\bigcup A_i\right)^c$. Hence, $\bigcup A_i\in \tau$. Let $A,B\in \tau$ and $\{x_\lambda\}_{\Lambda}\in (A\cap B)^c=A^c\cup B^c$. Now we have to prove $T\{x_\lambda\}_{\Lambda}\subset A^c\cup B^c$. Now I define $\Gamma=\{\lambda\in\Lambda|\ x_\lambda\in A^c\}, \Sigma=\{\lambda\in\Lambda|\ x_\lambda\in B^c\}$. Now if I can prove at least one of $\Lambda_1,\Lambda_2$ is directed set then I will construct a subnet of $\{x_\lambda\}_{\Lambda}$, and use the property of $T$ to achieve our goal. But I'm to prove that at least one of $\Gamma,\Sigma$ is directed set, although I have shown that both $\Gamma, \Sigma$ satisfies reflexivity and transitivity condition. But we have to show the third condition which is $$\text{If }\lambda_1,\lambda_2\in \Gamma\text{ (or }\Sigma\text{)}, \exists \lambda_3\in \Gamma\text{ (or }\Sigma\text{) such that } \lambda_3\ge\lambda_1,\lambda_2$$  Can anyone help me with this regard? Thanks for your help in advance.


try {     MailMessage mail = new MailMessage();      SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");      mail.From = new MailAddress("senttoemailaddress@gmail.com");     mail.To.Add("senttoemailaddress@gmail.com");     mail.Subject = "Test Mail";     mail.Body = "This is for testing SMTP mail from GMAIL";      SmtpServer.Port = 587;      SmtpServer.Credentials = new System.Net.NetworkCredential("emailaddress.test@gmail.com", "passW0ord");      SmtpServer.EnableSsl = true;      SmtpServer.Send(mail);      MessageBox.Show("mail Send"); } catch (Exception ex) {     MessageBox.Show(ex.ToString()); }   I'm trying to run the above code to automatically send emails, the code executes up until it reaches smtpServer.send(mail) then it just stops, the email address that I use is valid and the password is valid.


Why does the CAN bus use a 120 ohm resistor as the terminating resistor and not any other value?

I know the reasons for using terminating resistors on a  and how important it is.  But why 120 ohm? How did this value come up? Is there any specific reason to use 120 ohm?


I want to make some cool items for Dota 2 and I'm reading a guide. There are some tips about baking  etc. but I can't use them, because I don't even know what baking means. Can somebody explain this, please?  Thanks for all answers.


Enviroment vars in functions postgressql

I have this function in postgresSQL and I need some help to take them from enviroment. Adding Vars in DockerFile CREATE OR REPLACE FUNCTION prc_get_connstr() RETURNS TEXT AS $$ DECLARE   res TEXT;   SRC_ADDR varchar(50) := `echo ${SRC_ADDR_CRD:-noaddr}`;   SRC_PORT varchar(50) := `echo ${SRC_PORT_CDR:-noport}`;   SRC_DB varchar(50) := `echo ${SRC_DB_CDR:-nodb}`;   SRC_USR varchar(50) := `echo ${SRC_USR_CDR:-nouser}`;   SRC_PASS varchar(50) := `echo ${SRC_PASS_CDR:-nopass}`; BEGIN   RETURN 'dbname=SRC_DB host=SRC_ADDR port=SRC_PORT user=SRC_USR password=SRC_PASS connect_timeout=5'; END; $$ LANGUAGE 'plpgsql';  When I deploy it doesn't work You are now connected to database "cdr" as user "postgres". CREATE EXTENSION CREATE FUNCTION psql:/docker-entrypoint-initdb.d/2_cdr_trigger.sql:31: ERROR:  syntax error at or near "$" LINE 6:   SRC_ADDR varchar(50) := `echo ${SRC_ADDR_CRD:-noaddr}`;  What i have to do to declare de enviroment vars.


There does not exist a polynomial $p(x)$ with integer coefficients which gives a prime number $\forall x\in \mathbb{Z}$    My attempt:    I defined a polynomial as $p(x)=a_0(x-a_1)(x-a_2)\ldots(x-a_n)$. So, whenever $x$ takes an integer value, the polynomial cannot generate a prime number unless the polynomial is a linear one. But I have serious doubts about this solution, suppose any factor is of the form $(x^2+x+1)$ which cannot be factorised into linear factors with integer coefficients. Please help. Thank you.


If a character provokes an opportunity attack by a grick alpha, can the DM choose which of its attacks to use?

If a creature like the  (MM, page 173) has to do an opportunity attack against a PC that is moving out of the Grick Alpha's reach (10 ft), can the DM choose which attack to use?  The Grick Alpha has 3 different attacks and all are described as Melee Weapon Attacks:     Tail. Melee Weapon Attack: +7 to hit, reach 10 ft., one target. Hit: 11 (2d6 + 4) bludgeoning damage.      Tentacles. Melee Weapon Attack: +7 to hit, reach 10 ft., one target. Hit: 22 (4d8 + 4) slashing damage.      Beak. Melee Weapon Attack: +7 to hit, reach 10 ft., one target. Hit: 13 (2d8 + 4) piercing damage.


Calculating shortest distance from point to line using QGIS?

What is the best method to calculate the distance from the nearest road for a series of address points in QGIS, having a very big dataset? (QGIS 2.0.1, Win XP)  I read the answers to previous similar questions:           Nevertheless:   MMQGIS plugin find the disance to the nearest node of a line network, not the shortest (perpendicular) distance to a line. R and Python proposed scripts correctly works for small datasets and can be implemented in the modeler, however for my job I have 530 points and a regional street layer with about 135'000 features, and cycling through all the features then taking the shortest distance for all points will take an enormous amount of time I have problems in making GRASS work in QGIS 2.0.1 ().


$X/{\sim}$ is Hausdorff if and only if $\sim$ is closed in $X \times X$

$X$ is a Hausdorff space and $\sim$ is an equivalence relation.  If the quotient map is open, then $X/{\sim}$ is a Hausdorff space if and only if $\sim$ is a closed subset of the product space $X \times X$.  Necessity is obvious, but I don't know how to prove the other side. That is, $\sim$ is a closed subset of the product space $X \times X$ $\Rightarrow$ $X/{\sim}$ is a Hausdorff space. Any advices and comments will be appreciated.


Documentation for Stack Exchange Data Explorer Schema?

Maybe I'm missing something obvious, but is there documentation on the SEDE schema anywhere? As listed here , it's not obvious what all the fields are. I've had a root around, but can't find anything.


I work in VBA, and want to parse a string eg    <PointN xsi:type='typens:PointN'  xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'  xmlns:xs='http://www.w3.org/2001/XMLSchema'>     <X>24.365</X>     <Y>78.63</Y> </PointN>   and get the X & Y values into two separate integer variables.  I'm a newbie when it comes to XML, since I'm stuck in VB6 and VBA, because of the field I work in.  How do I do this?


Why does the size of the datafile on disk not decrease after deleting records from a table?

When I delete rows from a table in SQL Server, the size of the database file does not get smaller.  Why is that?  Even if I delete every row from every table, the file size remains just as large as before the delete.  I'm interested in understanding why, not how to shrink the database file(s).


Can an Eidolon continue to trip a creature using it's trip evolution?

I am creating a summoner and I'm curious about a particular evolution: Trip (bite) (2 points). It states     An Eidolon becomes adept at knocking foes to the ground with its bite, granting it a trip attack. Whenever the Eidolon makes a successful bite attack of the selected type, it can attempt a free combat maneuver check. If successful, the target is knocked prone. If the check fails, the Eidolon is not tripped in return. This ability only works on creatures of a size equal to or smaller than the Eidolon. The Eidolon must possess the bite evolution to select this evolution.   So this is the scenario I envision: The Eidolon successfully bites and trips an opponent, knocking them prone. The opponent can use a move action to regain their feet, but it will provoke an attack of opportunity. The Eidolon can use this attack of opportunity to bite the opponent, and if successful can trip them again, keeping/knocking them prone. Can the Eidolon continue to do this indefinitely, keeping the opponent prone (at least until it fails a combat maneuver check), or is there some limit whether it can do this, or how many times it can do this?


I would like to run an update as below on a 100 million row table in batches so as to not cause locking/without downtime and not affecting replication.  Update tbl     set col_new = col where (do 1 day at a time) perform pg_sleep(120);   col is timestamp without time_zone, col_new is timestamptz  Can someone help me with the syntax?


Is there a rule for transforming surnames into adjectives?

To be sure, there's a whole bunch of suffixes that are used for this, and some transformations seem to be completely arbitrary while some others deliberate and even a bit contrite.  Rubenesque actually takes liberties with the painter's name, which is Rubens, as does  Thoreauvian, from Thoreau.  Platonic takes advantage of the original Greek spelling of Plato's name (Platon). Shouldn't it be Platoesque instead?  Byronic is straight-forward enough. What about  Shavian, though? When did G.B. Shaw ever ask for a good shave?  And what are you supposed to do with  Edgar Allan Poe Giacomo Puccini or even Leonardo, for that matter?  There are no duplicates of this question. One seeming duplicate only touches upon the subject lightly and approaches the matter from a different angle.


How is the port number known in Forward DNS lookup?

Suppose, I type the website name www.yahoo.com in my browser. Forward DNS lookup will fetch us the IP address of the server but how does the client (browser) know the port number that the application is running on?


Questions   What certifications do you have? Has your certification (or lack of one) ever worked for or against you?   Do you intend to reach out for certification? Do you renew your certifications? If so, does your employer actively support the renewal?


Let $f:\Bbb R\to \Bbb R$ be additive i.e. satisfies $f(x+y)=f(x)+f(y)$ for all $x$, $y$. and Lebesgue measurable.     Show that $f$ is continuous and hence of the form $f(x)=cx$.   In order to show that $f$ is continuous at  a   point $a$ we have to show that $|f(x)-f(a)|<\epsilon $ whenever $|x-a|<\delta$.  But I can't find any way to proceed here. Please give some hints.


Find all path connected components of a subset of $\mathbb{R}$

Let us define $\mathbb{P}=\mathbb{R}\backslash\mathbb{Q}$. Find all path-connected components of $\mathbb{P}^n\cup\mathbb{Q}^n$  I tried solving this question but I'm out of luck. Any help, please?  It is not a duplicate of  because they prove connectivity of the set and not path-connectivity.  In the paragraph above there is an explanation of why this is NOT a duplicate of an existing post, please look closely at the questions asked...


Can engineered hardwood floors be refinished?

I want to replace the floors in the lower floor of my home.  I'm estimating about $8000 worth of work, installed.  My wife has been looking into engineered floors.  I have never been a huge fan of engineered, because I am under the impression that long term durability is not there. We have big pets and children. The chances of needing the floor stripped and refinished in under a decade is extremely high.  Can you even refinish an engineered floor?


How does a company raise capital using Preference shares?

What I understood so far from preference shares is, the promotors sell a part of their shares at the current market price to some investment firm as preferential shares. But what good does it do them?  Can someone please explain me the concept of preferential shares in simple terms?


InDesign and PDF printing boxes instead of shadows - Onscreen looks perfect

I apologize in advance if this has been asked, but I've searched for a few phrases and I'm not sure how else to ask it.  Using InDesign I've created a vector "ribbon" and given it a drop shadow. I've also placed a PSD file with a transparent background on the document.  On screen, the exported PDF and the InDesign screen preview look perfect (View > Overprint Preview is enabled). Here is a screenshot of the exported PDF (v1.5):    When printed on my HP LaserJet 2600n, however, I get these god-awful blocks around the shadow of the ribbon object and the placed PSD file. Here is a photo of the printed page (the camera on my phone washed out the image - it is accurately reproducing the colours):    I've tried converting Spot colours to Process in case the printer was experiencing some issue with the Pantone colours, but the colours are actually printing fine, it seems to be the placed file and the shadow causing issues.  I'd love to learn how to fix this, and more importantly - what causes the issue!


Animated children's series where the 'baddies' were short and had Darth Vader-like helmets

This was on in the UK in the 80's on Saturday mornings. Specifically around 1984-5 Some more details: I think there may have been three good characters - one of them a dog? The baddies were white coloured like storm troopers except they all had Darth Vader shaped helmets and I think the lead baddie had black armour. The animation style was possibly french, not particularly high budget, mostly flat 2D. I can't remember much else except on one episode to get into the enemy base they knocked on the door and there was an exchange along the lines of:  What do you want? To take over the base How many of you are there? Two That's not enough to take over the base I'm going come and check you out .... What do you want? To take over the base How many of you are there? Three That's not enough to take over the base I'm going come and check you out  ...and so on until they had enough to take over the base. Edit: Thanks to @HorusKol  is the exact scene I remembered


I am getting the below error while uninstalling a package using metadata service. This issue is coming sometimes      Error:- . common.exception.SfdcSqlException: ORA-20011: 10743448001074344800126 ORA-06512: at "DOPEY.CLOCK", line 34 ORA-06512: at "DOPEY.CLOCK", line 217 ORA-06512: at "DOPEY.CLOCK", line 261 ORA-06512: at "DOPEY.CLOCK", line 272 ORA-06512: at line 1 SQLException while executing plsql statement: {call cLock.acquire_lock(?)}(PKG)


Get relative path to Visualforce page via Lightning component

I have an iframe in a Lightning component that points to a Visualforce page, but I don't know what the relative path is in Salesforce from Lightning components to Visualforce pages. I currently have this set-up so it's relative to my code in SFDX project:    <iframe src="../../pages/ReCaptcha.page" height="110px" width="304px" frameborder="0" style="border: 0;" />   Of course, that's not the actual location of the Visualforce page in Salesforce. How can I get that?


Non-maximal prime ideal that is maximal among prime ideals

In ZF without choice, can a commutative ring $R$ have a prime ideal $P$ that is maximal among prime ideals but not among proper ideals?   By replacing $R$ with the quotient ring $R/P$, we may assume WLOG that $P$ is the zero ideal, so that $R$ would then be an integral domain that is not a field but has the zero ideal as its only prime ideal.  Note that it is possible for an integral domain (in ZFC or otherwise) to have exactly one nonzero prime ideal (e.g. any discrete valuation ring).


I would like to ask a grammatical question in the following sentence. "I was happily munching away when some mouse spilled coffee on me." Why it says some mouse? But not some mice?


Superluminal expansion of the early universe how is this possible?

Is this a postulate? I get the expansion of the universe, the addition of discrete bits of space time between me and a distant galaxy, until very distant parts of the universe are moving relative to me, faster than the speed of light. But the other sure seems like  (giant steaming load of convenience) I think I get reasons why, because they don't have any other way to explain the size of the universe and so on. Just seems it would be much easier to  say the universe is eternal and cyclical in nature, and call it a day!


"Kept back" packages for update , want to uninstall unity?

Here is the problem, today i started updating my ubuntu 16.04 laptop, to my surprise i got some packages that are marked as "Kept back", here are these packages   compiz compiz-core compiz-gnome compiz-plugins-default libcompizconfig0  libdecoration0   After some googling i tried to run sudo apt-get dist-upgrade i got some info on the kept back packages, like how many are there, how much memory will they use, the standard stuff and after that, the surprise i got   The following packages will be REMOVED:  ubuntu-desktop unity unity-tweak-tool   is this normal? i mean uninstall ubuntu-desktop unity ??? wont that uninstall my DE ???


C++ Similar function to split()[] from Python?

ans = raw_input("Input: ") if ans.split()[0] == "hello":     something.add(ans.split()[1],ans.split()[2]) else if ans.split()[0] == "no":     else.add(ans.split()[1],ans.split()[2]) /* So if i would input "Hello peter pan" Then it would send in >> something.add("peter", "pan") or if i would input "no test 123" Then it would send in >> else.add("test", "123") */   So what i want to do is "catch" every word from the input but i can't seem to find any easy way to do this function in c++. I'm really new to C++, any tips?


What command do I use to spawn to a different area in my Minecraft server?    I spawned on a island and there is no land near?    I really need help and my friends want to join and they are getting tried of waiting.


Why there is an update-initramfs error when removing a kernel by dpkg?

I got the following output when removing a kernel by dpkg --purge :   Removing linux-headers-3.13.0-112-generic (3.13.0-112.159) ... Removing linux-image-extra-3.13.0-112-generic (3.13.0-112.159) ... run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Generating /boot/initrd.img-3.13.0-112-generic W: TMPDIR is mounted noexec, will not cache run scripts.  gzip: stdout: No space left on device E: mkinitramfs failure cpio 141 gzip 1 update-initramfs: failed for /boot/initrd.img-3.13.0-112-generic with 1. run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1 dpkg: error processing package linux-image-extra-3.13.0-112-generic (--purge):  subprocess installed post-removal script returned error exit status 1 Removing linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic update-initramfs: Deleting /boot/initrd.img-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Generating grub configuration file ... Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. Found linux image: /boot/vmlinuz-4.4.0-71-generic Found initrd image: /boot/initrd.img-4.4.0-71-generic Found linux image: /boot/vmlinuz-4.4.0-67-generic Found initrd image: /boot/initrd.img-4.4.0-67-generic Found linux image: /boot/vmlinuz-4.4.0-66-generic Found initrd image: /boot/initrd.img-4.4.0-66-generic Found linux image: /boot/vmlinuz-4.4.0-64-generic Found initrd image: /boot/initrd.img-4.4.0-64-generic Found linux image: /boot/vmlinuz-3.13.0-115-generic Found initrd image: /boot/initrd.img-3.13.0-115-generic Found linux image: /boot/vmlinuz-3.13.0-113-generic Found initrd image: /boot/initrd.img-3.13.0-113-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin   No volume groups found done Purging configuration files for linux-image-3.13.0-112-generic (3.13.0-112.159) ... Examining /etc/kernel/postrm.d . run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.13.0-112-generic /boot/vmlinuz-3.13.0-112-generic Errors were encountered while processing:  linux-image-extra-3.13.0-112-generic  Why does it run out of space even when purging? It is not an inode issue in this case.  Note: There are other questions where error happens during dpkg --configure or when installing a kernel. It is more understandable that system runs out of disk space then, but in this case I am purging a kernel - a linux-image-extra package to be specific - by dpkg. There is no dependency problem in this case. For example in  a solution could be to purge kernel packages directly by dpkg, but the issue of this question produces an error when doing so.


I am flying Norwegian Air from Orlando, FL, to Singapore via Gatwick.  There is a change of plane on Norwegian but the bag is checked through. I'm not leaving the airport. Do I need a transit visa? Filipino passport holder leaving work and I have a Schengen visa.


How to calculate the number of possible connected simple graphs with $n$ labelled vertices

Suppose that we had a set of vertices labelled $1,2,\ldots,n$.  There will several ways to connect vertices using edges. Assume that the graph is simple and connected.  In what efficient (or if there is no efficient way, you can just tell me whatever procedure you can think of) way do we be able to calculate the number of possible ways the graph can be made? (even if some graphs are isomorphic to each other, they are counted as separate cases.)


Which is correct: "What is" or "What are"

How should I phrase "What is the first 5 digits of your home postal code" or "What are the first 5 digits of your home postal code?"


$S=x+x^2+x^4+x^8+x^{16}\dots\dots$ to n terms  I tried to think a lot in this question, but didn't get anything useful.  Problem here is that powers itself are in G.P and it is making it difficult to tackle this question.


Deleting /usr/share/icons folder and now icons are missing

So I deleted the /usr/share/icons folder by accident and now certain icons are missing as well as the SHOW APPLICATIONS icon and top-right icons on my GNOME3 DE. What do I do?


Looking for novel about alien planet adapting to human aggression

Sometime in the late 70'ties or 80'ties I read this novel. It's about a man traveling to a planet where the human colony has a lot of trouble with the indigenous life. The man from the planet accompanying him is very big, muscular, with faster reflexes than ordinary men. This is an adaptation to the conditions on the planet they are traveling to. The conditions on the planet are getting worse all the time.   At the end of the book it is revealed that the local life is reacting telepathically to human aggression, so the situation is becoming worse as the human colonists are becoming more aggressive to save their lives. As the humans realise this they solve the problem by becoming less aggressive.  Can anyone help me find out which novel this is?


How can I control the sharpness of corners using Subsurf?

I'm trying to make these corners sharper after SubSurf.      The solution that comes to my mind is adding edge loops to limit its space, but when I try to add edge loops they also affect the intake shape in front of the object in the same loop, deforming it in the way I don't want (I want sharper edges, but not round as I've done)    Any ideas besides boolean?


How do I group taxonomy by hierarchy, not node?

I am using Drupal 7 and Views.  I'm trying to use the generic Taxonomy/Term view and get a grouping I don't want. I want this:   Taxonomy 1:   Node A Node B  Taxonomy 2:   Node B Node C    (Notice Node B is in both taxonomies.)  What I'm getting is the following one:   Taxonomy 1:   Node A  Taxonomy 2:   Node C  Taxonomy 1, Taxonomy 2   Node B    How do I get the first example to display,  where Node B just appears under the different Taxonomies and doesn't create a new heading with multiple taxonomies?


How to restore a missing Recovery HD partition

I bought a second hand Macbook Pro which came with OSX Lion installed, when I wanted to clean it I found out that it had no Recovery HD partition. I confirmed this through the Disk Utility (enabled debug menu, showing every partition).  I am able to boot using Apple's Internet Recovery feature, but since Lion wasn't bought on my Apple ID, its only giving me the option to buy OSX Mountain Lion. Can I use that to completely reinstall my Macbook and create a proper Recovery HD partition, and then can I simply use Timemachine afterwards to recover my data?  Any hints or tips for this process would be highly appreciated.


Question for any programmer—and cat lover—working from his home office. So many times my keyboard is taken over violently by my two cats who think it’s the right place for a nap. And almost every time when they do this I’m was in this precious 100% concentration phases before I get interrupted.  I tried it with a burning an anti-mosquito coil under the desk but they got used to the smell pretty fast.  EDIT: And no I don’t want to keep the cats away completey from my room.


Hello i have this login that i am trying to make and when i get to the command screen if i want to exit out of the program i type "exit", but the problem is i have it in a double while loop and don't know how to break out of both. Here is an example of the code:  a = 0 b = 0 loginatt = 0  while a == 0:     if loginatt == 4:         print "Too many tires!"         break     password = raw_input("Password: ")     if password == "test":         b = 1         while b == 1:             command = raw_input("command: ")             if command == "exit":                 break     else:         loginatt += 1         print "error, login failed!"   this part of the code won't break out of the double while loop:  command = raw_input("command: ")             if command == "exit":                 break


Word for when one uses the wrong word in a sentence

Specifically, I'm looking for the term for when a person uses a word correctly, but intends a different meaning.  For example:     I empathize with you.   When the person really means:     I sympathize with you.   Both sentences are grammatically correct.  They both have meaning, and as sentences they are both "correct"...they're just incorrect in this case. This isn't a case of a malapropism where a similar sounding word is inserted with ludicrous results, nor is it a parapraxis, eggcorn, or mondegreen (as I understand them).  It's simply a case where a person either misunderstood the difference between the two and thus chose the wrong word or the person did understand but believed (in this case) they empathized when in fact they only sympathized.  I'd like to say something like "You made a grammatical mistake/error" - except in this case it isn't grammar...


How to make a cylinder / pipe with slanted ends (like pasta penne)?

I am trying to recreate a penne pasta. I am creating a cylinder removing the two end faces and then I solidify the mesh.  However I do not know how to extrude (or cut away) the two ends to make them pointy like in the picture of the penne below. I have tried to use bisect and mirror, but without successful results.  Any idea?


Find all ordered pairs $(a, b)$ such that $a$ and $b$ satisfy $a^b$ = $b^a$ and $a$ and $b$ are integers.   The only way I can think of solving this question is by trial and error, but there must be a more efficient way.


I have a lot of entries in the google authenticator app. Those entries were originally entered by scanning QR-codes. If I lose my phone, those entries are lost, and my experience tells me that some services can not be reset at all without access to 2 step authentication (one service specifically requested a convoluted process with high associated fees in order to verify my identity. I ended up creating a new account - luckily no important data was in the old account)  According to  (I have not found a better place describing the data needed to generate a QR-code for Google Authenticator), what I need is:   a label (I assume free text) user (does this need to be the real user linked to my account?) a key: this is the important part a url (is this important, or only for documentation purposes?)   My questions are:   how do I dump all that data from my current Google Authenticator installation? What happens if I enter that data into a new Google Authenticator instance? Will the old stop working? How is this mechanism implemented?   EDIT  I do not want simply to backup the Google Authenticator database so that another instance of Google Authenticator can read it. I do not want the data in any proprietary or binary format.  I want the data in human readable form, ideally as a .txt file, so that I can readily use it for other purposes, be it back it up as I please, enter it in another application (Google Authenticator or any other application), use it manually to generate QR-codes with the service provided above, ...


I have a strange issue. The custom rewrite rules are registered correctly in my plugin activation hook. But, if I go to the permalinks settings page and clic on "Save changes" I lost the rewrite rules registered by my plugin. I have to deactivate and reactivate my plugin to get the custom rewrite rules back again.  Here my activation and deactivation hook  register_activation_hook( __FILE__ , 'properties_plugin_activation' ); function properties_plugin_activation(){     create_property_post_type();     create_properties_taxonomies();     //add custom rewrite rules and custom vars before flush_rewrite_rules()     properties_add_rewrite_rules();     flush_rewrite_rules(); }  register_deactivation_hook( __FILE__ , 'properties_plugin_deactivation' ); function properties_plugin_deactivation(){     flush_rewrite_rules(); }   Here my rewrite rules:  // Register a new vars to be used in the rewrite rules function properties_add_query_vars( $vars) {   $vars[] = "action"; // name of the var as seen in the URL   return $vars; } add_filter('query_vars', 'properties_add_query_vars');  // Add the new rewrite rules function properties_add_rewrite_rules() {     add_rewrite_rule( 'properties/search/?$' , 'index.php?post_type=properties&action=search' , 'top' );     $config = new PConfig();     foreach($config->taxonomies as $taxonomy){         add_rewrite_rule( 'properties/'.$taxonomy["slug"].'/(.+)/?$' , 'index.php?post_type=properties&'.$taxonomy["slug"].'=$matches[1]' , 'top' );     } }


Lately I have been applying to many universities for a position on a master's program, therefore I contaced many people asking them questions regardings these programs. What troubles me is the following:  When I recieve an answer, am I supposed to answer saying "Thank you" or something like that?   My reasoning is that these people (secretaries and such) have too much work and having an email at their inbox just thanking them will just cause iriation and disorganization.


Induction example, where base case harder to prove than inductive step

As the title says, I'm looking for an induction example, where the inductive step is rather simple to prove, but it's hard to find a base case for which the theorem holds.


Is it possible for my Linux box to become infected with a malware?  I haven't heard of it happening to anyone I know, and I've heard quite a few times that it isn't possible. Is that true?  If so, what's up with Linux Anti-Virus (security) software?


Is there a practical gain from elliptical/oval chainrings?

I have seen competitive (amateur) cyclists with oval chainrings (front). What is the deal? Are they just for showing off, or is there a practical gain from it (different force transfer).


What is meant by a shell is in "vi" mode or "emacs" mode?

This question follows directly from . In this case I am specifically unable to understand the part which says:     In that regard, its behaviour is closer to emacs' than with   bash(readline)/ksh/zsh emacs mode, but departs from the terminal   driver embedded line editor (in canonical mode), where Ctrl-W deletes   the previous word (werase, also in vi).   Here we are talking about shells and not editors which are two completely different programs. What does it mean to say shell is in some editor mode?  P.S: You can base your answer on the premise that I understand what a shell is and how to use vim for basic editing.


PHP passing arguments from bash. How can I use foreach starting from [2]?

I am passing some arguments to a PHP file from bash. Current code is working fine: foreach($argv as $value) { $a= $a . "\n" . $value; }  However I am looking for a way to start the foreach from the 3rd item of the array (which is variable so I don't know how many arguments the script will receive). Any ideas on how I can skip the first 3 elements? Thanks!


Is "How to do XYZ?" correct? If so... why?

All over the the internet, and especially on SE sites, I see the following construction in the titles of questions:  How to write a question? How to make a widget? How to add foo to bar?  After some digging, I was able to find this previously answered question:  Both answers offer some insight, but I'm looking for details regarding the correctness of the "sentence" when it includes the question mark, something @Kris mentions briefly that I still don't understand. He offers the example:  I don't have the manual now. How to fix my computer?  and says this is a grammatical sentence since the bolded part is used in context. Is this really grammatical? Both @Barry England and @Kris agree that this phrasing shouldn't be used in formal writing, but I can't think of any situation where (as a native speaker) I would use this even in informal speech. I would never say to a friend:  How to turn on your TV?  All three examples I gave earlier seem perfectly acceptable as titles for instructional articles on the topics when the question mark is removed:  How to write a question How to make a widget How to add foo to bar  but I can't help feeling that something is off when I see these titles with a question mark at the end. Shouldn't they be written like this instead?  How can I write a question? How is a widget made? How is foo added to bar?


QED symbol in a custom theorem environment

I have created my own theorem environment like this  \newtheoremstyle{mythmstyle}{}{}{}{}{\scshape}{.}{ }{} \theoremstyle{mythmstyle} \newtheorem{mythm}{Theorem}   How do I add the QED symbol (the white rectangle) into this custom environment? The \qedhere should work for it too, in case I need it.


How to handle shared projects in team foundation server source control structure

After having read  which I have followed a few questions come to mind that I am wondering if anyone can comment on.  I have a few components that make up a project I am working on. I have a smartclient, a webservice, a proxy for the webservice that the smartclient uses, a daemon and a common utilities library that is used in both the smartclient and the webservice. Each of the components are related to the same work project.  I have structured my source tree so that each of the components is independent - in other words each component (smartclient, webservice, daemon, proxy, common utilities) has its own trunk and its own solution file as I want to be able to release each component independently. For components that are used by other components, such as in the case of the smartclient using the proxy and the common utilities, I have created releases that are handled like any other 3rd party library (binaries referenced instead of projects). Can anyone confirm that this is somewhat a best-practice and if not how should this be done otherwise?  I have been building releases of my components using tfs build and am wondering where I should put the releases if anywhere other than in the build output directory where all the tfs builds reside. Should I perhaps check them (e.g. proxy release assemblies to be used by the smartclient) into TFS along with any other 3rd party libraries and then branch the release assemblies where they are to be used (e.g. branch proxy release dlls to the smartclient lib directory)?


Why is Standard Deviation not defined as the expected value of the distances of points from mean?

Variance is defined as $$V(X) = \sum (x-\mu)^2 .p(x)$$ And standard deviation is $\sigma_X = \sqrt{V(x)}$  But I feel it makes more sense to define $\sigma_X$ as $\sum( |x-\mu|.p(x))$ instead because the mod takes care of negative distances and multiplication by p(x) would give us expected value of the deviation we should expect. Then why is SD defined the way it is?


How to prove $\lim\limits_{x\rightarrow\infty}f(x)=0$ and $\lim\limits_{x\rightarrow\infty}f''(x)=0\Rightarrow\lim\limits_{x\rightarrow\infty}f'(x)$?

From a exercise list:  Let $f:[a,+\infty)\rightarrow \mathbb{R}$ with continuous second derivative and such that $\lim\limits_{x\rightarrow\infty}f(x)=0$ and $\lim\limits_{x\rightarrow\infty}f''(x)=0$. Prove that $\lim\limits_{x\rightarrow\infty}f'(x)=0$.  Does anybody has a hint or a solution? I believe that, by the limit of $f$, $f'$ is either $0$ or unlimited, than the limit of $f''$ proves that the first option is the right one. But I don't know how to do it.


How to download LibreOffice from the main server?

I want to install the latest version of LibreOffic , but when I go to the website it shows "Download from torrent", but I don't want to use a torrent.  How can I download LibreOffice from the main server?


Are primes (ignoring $2$) equally likely to be $1~\text{or}~3\pmod 4$?

For all primes $p\neq 2$, it's easy to see that $$p\equiv 1~\text{or}~3\pmod 4$$ I was wondering if it's equally likely ($50\%-50\%$) that prime modulo $4$ is $1$ or $3$. And if so, is there a simple proof?


How to automatically create 500 images with increasing numbers in Photoshop?

I want to create 500 images which all have the same size and background color but show a different number (increasing from 1 to 500). So the output should look like this:      ...    Now I don't want to create all those 500 images manually. But I've read that there is a scripting mechanism in Photoshop? Is it possible to automate my task with this scripting feature and if yes, how?


Batch Requests/sec reported by DMV millions of times larger than Activity Monitor

I have verified through SQL Server Profiler that my request per-second are around 30 request/s as is corroborated by SSMS Activity Monitor but sys.dm_os_performance_counters is reporting hundreds of millions/s.  Any idea what might be causing this gross discrepancy?  Query:  SELECT     RTrim(LTrim(object_name)) as object_name,     RTrim(LTrim(counter_name)) as counter_name,     cntr_value FROM     sys.dm_os_performance_counters  WHERE      instance_name IN ('', '_Total')     and counter_name IN (         N'Batch Requests/sec'         , N'SQL Compilations/sec'         , N'SQL Re-Compilations/sec'         , N'Transactions/sec')   Results:  object_name counter_name    cntr_value SQLServer:Databases Transactions/sec    191721399 SQLServer:SQL Statistics    Batch Requests/sec  242955426 SQLServer:SQL Statistics    SQL Compilations/sec    42048371 SQLServer:SQL Statistics    SQL Re-Compilations/sec 1200947


Is there any way to batch convert .jpg files into single .pdf files?


What was Jaqen H'ghar doing in the King's Landing dungeon?

When Arya Stark first meets Jaqen H'ghar, he is in a cell described as a dangerous criminal whom Yoren takes from the capital's dungeons and is recruited into the Night's Watch.  Seeing how this character       plays a major role in Arya's journey in Season 5,   was him being captured in Kings Landing unrelated, or       is he there to specifically guide Arya onto a path that is certain to bring her to the Faceless Men for training?   After seeing the events in the Season 5 finale, it just seems like a very convenient coincidence for them to meet in such a way.


Need c# code to get domain name example ("url: "). I need output as ("")


Books on Number Theory for anyone who loves Mathematics?(Beginner to Advanced & just for someone who has a basic grasp of math)


Classsifying 1- and 2- dimensional Algebras, up to Isomorphism

I am trying to find all 1- or 2- dimensional Lie Algebras "a" up to isomorphism. This is what I have so far:  If a is 1-dimensional, then every vector (and therefore every tangent vector field) is of the form $cX$. Then , by anti-symmetry, and bilinearity:  $$[X,cX]=c[X,X]= -c[X,X]==0$$  I think this forces a unique Lie algebra because Lie algebra isomorphisms preserve the bracket.  I also know Reals $\mathbb{R}$ are the only 1-dimensional Lie group, so its Lie algebra ($\mathbb{R}$ also) is also 1-dimensional. How can I show that every other 1-dimensional algebra is isomorphic to this one? Do I use preservation of bracket?  For 2 dimensions, I am trying to use the fact that the dimension of the Lie algebra g of a group $G$ is the same as the dimension of the ambient group/manifold $G$. I know that all surfaces (i.e., groups of dimension 2) can be classified as products of spheres and Tori, and I think the only 2-dimensional Lie group is $S^1\times S^1$, but I am not sure every Lie algebra can be realized as the Lie algebra of a Lie group ( I think this is true in the finite-dimensional case, but I am not sure).  I know there is a result out there that I cannot yet prove that all 1- and  2-dimensional Lie algebras are isomorphic to Lie subalgebras of $GL(2,\mathbb{R})$ (using matrix multiplication, of course); would someone suggest how to show this last? Thanks.


Button Changing colors in a SharePoint list

I am  using SP2010 and I have a javascript that I am using to change color of a button in my document library. I have added an input button in a library column, which is calling javascript onclick. My problem is changing the color of first item button but not letting me change the button color of another item button. Below is the script I am using, I copied it from one of the sites. I am not really good at coding but I understand this requires a little bit of tweaking and event-listener to save the color of the button. I don't understand why I can't change the button color of other buttons for other items.   My requirements are Button changing color and once its changed unless again clicked on will not change the color upon refresh or closing of page. I posted a question before but I didn't want to use the same thread so creating a new question (I hope its okay). Thanks so much for all the help.     E.G. Columns I have currently in my document library Type, Name, Button, Date  <script> function setColor(btn,color){    var property=document.getElementById(btn);   if (window.getComputedStyle(property).backgroundColor == 'rgb(244, 113, 33)') {     property.style.backgroundColor=color;   }   else {     property.style.backgroundColor = "#f47121";   } } </script>     Here is what I am looking for, I have the view above and all I want user to do click on red button and it will turn green and it will save with that color so next user will see that button is green.


How to draw samples from a multivariate Gaussian distribution without having access to a function that does the job?

I am using the programming language  which does not have any built-in function for drawing samples from a multivariate Gaussian distribution. So I wonder, how can one implement a function that does the sampling for a multivariate Gaussian distribution? Note that I do have access to a function which can draw samples from a single-variable Gaussian distribution. Can I somehow use that function to draw samples for the multivariate case given a desired covariance matrix?  Also, if I'm not mistaken, I remember I read somewhere that one can draw samples from a single-variable Gaussian distribution as follow:  $\text{sample } = \mu + \sigma^2 \epsilon$  where $\mu$ is a mean, $\sigma^2$ is a variance and $\epsilon \sim U(0,1)$. Therefore, a generalization of the above equation for a multivariate Gaussian distribution is to have mean and [diagonal] covariance matrix. However, if not sure if this equation is valid by itself and whether it gives valid samples for a non-diagonal covariance matrix.   So I wonder, can you guys give me some insights on how one should go about generating samples for a multivariate Gaussian distribution given a desired non0diagonal covariance matrix and without having having access to a built-in function in a programming language? Also, I would appreciate your help to verify/prove the equation I wrote above.


Do identical twins have the same fingerprint?

When there is every thing same from their genes to their phenotype so then why they don't have same fingerprints?


undefined reference to `vtable for ' namespace inheritance undefined reference to `typeinfo for

I have such error messages while compiling my (simple) code:  ||=== Build: Release in zad12 (compiler: GNU GCC Compiler) ===| obj/Release/Section.o||In function `MyFigures::Section::Section()':| Section.cpp|| undefined reference to `vtable for MyFigures::Figure'| obj/Release/Section.o||In function `MyFigures::Section::Section(Point, Point)':| Section.cpp|| undefined reference to `vtable for MyFigures::Figure'| obj/Release/Section.o||In function `MyFigures::Section::~Section()':| Section.cpp|| undefined reference to `vtable for MyFigures::Figure'| Section.cpp|| undefined reference to `vtable for MyFigures::Figure'| obj/Release/Section.o:(.rodata._ZTIN10MyFigures7SectionE[_ZTIN10MyFigures7SectionE]+0x10)||undefined reference to `typeinfo for MyFigures::Figure'| ||=== Build failed: 5 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|   And the code:  #ifndef _FIGURE_H_ #define _FIGURE_H_  namespace MyFigures { class Figure {     public:          Figure(){}          ~Figure(){}          virtual void draw();         virtual void move();         virtual void scale(double s); }; } #endif  #ifndef _Section_H_ #define _Section_H_  #include "figure.h" #include "point.h" #include <exception>  namespace MyFigures {  class Section : public Figure { public:     class badsection : public std::exception     {     public:         const char * what() const throw()         {             return "error";         }     };      Section();     Section(Point start, Point end);     void draw();     void move();     void scale(double s);     ~Section();  private:      Point start;     Point end; };  }  #endif  #include "section.h"  namespace MyFigures {  Section::Section() { }  Section::Section(Point start, Point end) {     if(start == end)         throw badsection(); }  void Section::draw() {} void Section::move() {} void Section::scale(double s) {} Section::~Section() {}  }  #ifndef _Point_H_ #define _Point_H_  class Point {     private:          double x,y;      public:          Point();         ~Point();         Point(double xx);         Point(double xx, double yy);          Point& operator=(const Point& p);         bool operator==(const Point& p);  };  #endif  #include "point.h"  Point::Point() {     x = 0;     y = 0; }  Point::Point(double xx) {     x = xx;     y = 0; }  Point::Point(double xx=0, double yy=0) {     x = xx;     y = yy; }  Point::~Point() { }  Point& Point::operator=(const Point& p) {     x = p.x;     y = p.y;     return *this; }  bool Point::operator==(const Point& p) {     return (x == p.x) && (y == p.y); }   I tried to make the destructor in Figure class as virtual, but no effect (errors remain).


What font is the one used in this picture?

What font is this? And what package do I need to add in order to use it?


Include "created" option for top user posts link

In the  you can see as All Time top users as well as Last 30 days top users. Link from the post count refers to the search request, and doesn't work as expected for Last 30 days section. E.g. I see "8 answers provided" in the tooltip for "8" number near Shog9:        But the search request returns all Shog's answers:        For the current time there are 296 results. This is slightly more than 8, isn't it?  Thereby I suggest to add a created:30d.. option to the search request to reflect the actual post count.  You can try this:     ..


Exercise: Prove that the operator norm of the set $S$ of all linear operators $L:R^n\to R^m$ defines a norm on $S$  Definition of norm: A positive function $\| .\|$ on a real vector space $V$ is a norm if   $\|v\|=0$ if and only if $v=0$ $\|\lambda v\|=|\lambda|\|v\|$ for all $\lambda\in R$ and $v\in V$ $\|v+w\|\le\|v\|+\|w\|$ for all $v,w\in V$   Definition of operator norm: $\|L\|=sup_{a\ne 0}\|La\|/\|a\|$ or $=sup_{\|a\|=1}\|La\|$  First part (successful, I think):   if $\|L\|=0$, we have $sup_{\|a\|=1}\|La\|=0$, so $L=0$. if $L=0$, we have $sup_{\|a\|=1}\|0a\|=0$   Second part (unsuccessful):   $\|\lambda L\|=sup_{\lambda a\ne 0}\|\lambda La\|/\|\lambda a\|=sup_{\lambda a\ne 0}\lambda \|La\|/\lambda \|a\|=sup_{a\ne 0}\|La\|/\|a\|\ne |\lambda|\|L\|$   Third part (successful, I think):   $\|L(v+w)\|=sup_{\|v+w\|=1}\|Lv+Lw\|\le sup_{\|v\|=1}\|Lv\|+sup_{\|w\|=1}\|Lw\|=\|v\|+\|w\|$   Suggestions? Thoughts? Thanks!


Can't catch any Pokemon or get items from Pokestops?

My Pokemon Go seems to be glitched. I can't get any Pokemon or Pokeballs from PokeStops.  What can I do?


Out of an impulse buy - I now have a complete ebike kit with battery. Originally I wanted this to be put on a mountain bike but upon seeing how little the rim is - I don't think any mountain bike tyres will fit in there. I measured the rim (where the tyre will go) and it was roughly 2cm, slightly less in fact, does that mean that this kit is designed to go on a road bike/hybrid bike and only that? The diameter is 26 inches - any help appreciated thanks


How to install MySQL-server-5.5 on ubuntu16.04

How to install MySQL-server-5.5 on ubuntu 16.04:  I have tried :  sudo apt-get install mysql-server-5.5   but, E: Package 'mysql-server-5.5' has no installation candidate.  How can i solve it..?


I need JAVA 8 to run on my recent installation of Ubuntu 18.04.1 LTS.   Is Java included in Ubuntu 18.04 or do I need to install it? My computer has 2.9 GB memory, Pentium R Dual Core CPU and 314 GB hard drive. What instructions are available for installing JAVA?


How to calculate $\int_0^1e^{i \pi x}x^x(1-x)^{(1-x)}dx$=?

I need to calculate the following integral $$\int_0^1 e^{i \pi x}x^x(1-x)^{(1-x)} dx$$ I tried parts integration, but it became more complicated, using mathematica shows the result looks like a pure imaginary number.  Any help or hint will be Appreciated


How do I hide the GRUB menu showing up at the beginning of boot?

I stopped dual booting and I don't want to have to choose the OS any more. I want to boot into Ubuntu 12.04 directly without seeing the GRUB menu.  How can I achieve that?


Trouble setting up mail server(postfix, dovecot) on ubuntu 16.04

i have a server with ip adrress 192.168.11.xx and i have DNS server with ip address from isp 203.174.12.xx  and i build a mail server with postfix and dovecote, with ip address 192.168.11.xx same with ip my server, with domain domain.xx.xx , mail server mail.domain.xx.xx but i just can send mail from localhost,  :~# telnet localhost 25 Trying ::1... Connected to localhost. Escape character is '^]'. 220 ns1.domain.xx.xx ESMTP Postfix (Ubuntu) mail from:root 250 2.1.0 Ok rcpt to:imam 250 2.1.5 Ok data 354 End data with <CR><LF>.<CR><LF> this data . 250 2.0.0 Ok: queued as E4832181A08   if i use telnet with 192.168.11.xx  :~# telnet 192.168.11.xx 25 Trying 192.168.11.53... Connected to 192.168.11.xx. Escape character is '^]'. 220 ns1.ns1.domain.xx.xx ESMTP Postfix (Ubuntu) mail from:root 250 2.1.0 Ok rcpt to:imam 451 4.3.0 <imam>: Temporary lookup failure if i use telnet with mail.domain.xx.xx  :~# telnet mmail.domain.xx.xx 25 Trying 192.168.11.xx... Connected to mail.domain.xx.xx. Escape character is '^]'. 220 ns1.titan.biz.id ESMTP Postfix (Ubuntu) mail from:root 250 2.1.0 Ok rcpt to:imam 451 4.3.0 <imam>: Temporary lookup failure   and for imap and pop3 i can't telnet it  :~# telnet localhost 143 Trying ::1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host.  :~# telnet localhost 110 Trying ::1... Connected to localhost. Escape character is '^]'. Connection closed by foreign host.   please help me :)


i want to port Python Scripts to python 3. How can i force Ubuntu to use python 3 instead of python 2 which is installed, as well.  Due to the size of the project, i'd prefer not to write something like 'use python3' inside the scripts. Deinstalling python 2 isn't an option too, because there are to many dependencies.  So, can i remove Python 2 from the path for a while or something, so that python scripts are called with Python 3 by default.  Ubuntu 15.10


C# Generics and Reflection - Passing an object to a generic method

I have a method with the following signature:      private string SerialiazeObj<T>(T obj)     {           // Do some work     }   Now, I have another method which accepts an object and calls the SerializeObj method, as shown below:      private void callSerializeObj(object obj)     {         Type objType = obj.GetType();         string s = SerialiazeObj<objType>((objType)obj));     }   The object passed to callSerializeObj can be of any type.  Unfortunately, the compiler is giving me this error in the (string s = SerializeObj...) part:  The type or namespace 'objType' could not be found (are you missing an assembly reference).   I don't know if I am calling SerializeObj the correct way.  What is the correct way of calling the method with an object which can be of any type?


I have used variable importance method of random forest to find predictors of mortality in a dataset with (946, 30) dimension. Now I want to perform neural network to find important variabels, but as i searched in google there is no variable importance method in neural network,  Just in one github repostiory there was a function for variable importance. Is variable importance is possible for artificial neural network?


A person who repeatedly switches his stance on a topic

What do we call a person who keeps switching his stance on a topic during a discussion involving various sentences. What I mean is the speaker rejects something while accepting it indirectly. "Inconsistent" seems really close in a general sense. But he rejects it directly and again accepts it indirectly ( and I don't know he realizes that or not) again and again during a discussion.   I want it to have a neutral connotation as the person seems to be confused with his own ideas yet claiming to be right but we never know what are his intentions. Also it would be nice have a "politically correct" word for this.  I am not able to phrase the exact sentence because it is from another language and I need an English word for this activity/person. So every one is welcome to edit the question and add appropriate example sentences.


The vote counter bugs when reaching 100 up-votes in Android

As you can see in the image below, when I up-voted an answer that had 99 votes, the typeface didn't shrink in order to show a one-lined 100 number.  I'm using Android 4.4.4 on a Nexus 7 (2012).


If I have a rod,made of some metal,what experiment should I perform to check whether or not the mass is evenly distributed in the rod?

If I have a rod,made of some metal,what experiment should I perform to check whether or not the mass is evenly distributed in the rod i.e how to check whether it has the same density all over?


Is there a way to convert my end direction into a number?

so when I try to convert my end direction (ex. N, S, E, W) into a positive or negative 1.0 to multiply to the eventual degrees/minutes'seconds" calculation, my double sign  always returns as 0.0. I've tried testing each letter in separate if statements and have tried putting the calculations into the if statements. I've been testing with the following coordinates: 40°35'6.9288"N public static double convertDegreesToDecimals(String strValue) {    double decimal = 0;    double sign = 1.0;     String degree = strValue.substring(0, strValue.indexOf(DEGREE));    double deg = Double.parseDouble(degree);    String minute = strValue.substring(strValue.indexOf(DEGREE)+1,strValue.indexOf(MINUTE));    double min = Double.parseDouble(minute);    String second = strValue.substring(strValue.indexOf(MINUTE)+1,strValue.indexOf(SECOND));    double sec = Double.parseDouble(second);    String direction = strValue.substring(strValue.indexOf(SECOND)+1,strValue.length());    System.out.println(direction);   //prints N, S, or whatever the direction is correctly       if(direction=="S" || direction=="E"){       double sign = -1.0;    }else if(direction=="N" || direction=="W"){       double sign = 1.0;    }       decimal = ( (deg + (min / 60.0) + (sec / 3600.0) ) * sign);    return decimal; }  I expect for the double sign to equal -1.0 when the direction is S or W, and to equal 1.0 when the direction is N or E. My calculations for degrees/minutes'seconds" are correct except for the sign, and String direction always returns the expected result(N,S,E,W). When I put println statements in the if statements, they did not execute which led me to think that something must be wrong with the if statements.


I am deploying Airwatch to my organization. On company-owned laptops, I would like to lock them down if/when the device is ever un-enrolled. There is no built-in method of doing this, so I am looking for a script to do it. My relevant background: I know very little batch, some powershell, a lot of vbscript (for classic ASP).   I would like one or both of the following:   Reset all user passwords on the laptop to something preset Create a specific local admin and then disable all other local users   I know I can use "net user" to get a list of users, but I do not know how to use that list to actually disable the users or change their passwords. The batch commands to fit this logic would be ideal:  net user NewAdmin Password /add  net localgroup administrators NewAdmin /add  UserList = net user output  For each UserName in UserList       If UserName <> "NewAdmin" Then           net user UserName NewPassword           net user UserName /active:no      End If Next


I am making an android application that sends some TEXT to server and other people can see those Text but the problem is here when I send the TEXT it looks like this (Ø³Ù„Ø§Ù… Ø¨Ù‡ Ù‡Ù…Ù‡) in the MYSQL table inside the server and it shows the text like this (???????????) (By the way I am writing the text in Persian) to the people who get the text and also when I add some records manually inside the database it also shows like question marks on the PHONE.  I tried puting database and tables Collation to utf8_general_ci and utf8_persian_ci but it did not work.


What does it mean for two functions to be orthogonal?

When two finite dimensional vectors are orthogonal, i.e. perpendicular, their dot product is exactly zero, e.g. $$\mathbf{a}\cdot\mathbf{b}=a_1b_1+\cdots+a_nb_n=0.\tag{1}$$  When I studied functional analysis a long time ago, we used functions as "vectors" by way of an inner product. Consider the two functions $f(x)=\sin x$ and $g(x)=\cos x$. Functions $f$ and $g$ are said to be orthogonal over $[a,b]$ if (and only if?) $$\langle f,g\rangle=\int_a^bf(x)g(x)dx=0,\tag{2}$$ for some interval $[a,b]$. I kind of just accepted this definition, but the other day I was thinking about this...  Now, when it comes to vectors of finite dimension satisfying equation (1) the geometric interpretation of the two vectors is that they are perpendicular, e.g. imagine two $n$-dimensional lines in $\mathbb{R}^n$ and normal to each other.  Supposing (2) holds, then what does this say about $f$ and $g$ except that they are simply called orthogonal? Does (2) imply some (not necessarily geometric) relationship between functions $f$ and $g$ ?  EDIT  Didn't see these before, but related:


Arabic letters in php file changed to symbols

I was using Arabic language in my PHP file (info.php) normal for long time But when I changed functions.php file from ANSI to UTF-8 encoding, then all my page info.php become strange characters. I downloaded the file info.php by FileZilla to see what encoding has, and the surprise is I found the whole file characters are also symbols and the encoding is UTF-8 Normal.  My database is utb8-general-ci.  Editor: UTF-8.  I'm using meta tag with UTF-8.  MySQL connect also UTF-8.  I have tried to change back functions.php to ANSI but the symbols didn't come back to Arabic.  What should I do please I have my site online. Thanks.


Finding and listing all columns in a SQL Server database with identity

I wanted to RESEED all the identity columns in that database, so I need to create a script so I can find out which column in which table has the identity property.


How do I change the background color with JavaScript?

Anyone know a simple method to swap the background color of a webpage using JavaScript?


How to split a tex file while still keeping correct equation references?

I need to split a manuscript into main text and online supplement, as required for publication on a journal. The problem is that in the online supplement, I refer to many equations and theorems in the main text. I don't want to manually change all the references to numbers (e.g. from \ref{eq:1} to (1)). There are too many of them. Is there a good way to do this?  If the journal only requires the pdf files, then I can certainly split the output pdf file. However, the journal asks for both pdf and tex files.


Is there a way to use wild cards, redirection or other shell syntax with systemd units?

I have a systemd file to start a jar file. But I want to execute jar file as *.jar. Is there a way to do this?   [Unit] Description=Test Background  [Service] ExecStart=/usr/bin/java -jar /var/www/test.com/*.jar Type=simple WorkingDirectory=/var/www/test.com  [Install] WantedBy=multi-user.target   I tried this but not working.


I want to output an Array into an Textarea but I'm just encountering an NullPointerException

public class OpenFile {   public static void OpenFile() throws IOException {      ArrayList<String> lineList = new ArrayList<String>();      Variablen.desktop = Desktop.getDesktop();     Variablen.fileChooseropen = new FileChooser();     Variablen.fileChooseropen.setTitle("Open File");     Variablen.fileChooseropen.setSelectedExtensionFilter(new FileChooser.ExtensionFilter("TXT Files (*.txt)","*.txt"));     Variablen.fileChooseropen.setInitialFileName("file.txt");     Variablen.file = Variablen.fileChooseropen.showOpenDialog(null);      if(Variablen.file != null) {         Variablen.inputStream = new FileInputStream(Variablen.file);         Variablen.bufferedReader = new BufferedReader(new InputStreamReader(Variablen.inputStream));         Variablen.stringBuilder = new StringBuilder();         String line;         while ((line = Variablen.bufferedReader.readLine()) != null) {             lineList.add(line);         }      }         /**          *  Creating an Array,to save the content and give it to the Textarea          */             String[] linearray = new String[lineList.size()];             lineList.toArray(linearray);             System.out.println(Arrays.toString(linearray));             Variablen.bufferedReader.close();             Variablen.textarea.setText(String.valueOf(linearray));     } }      Caused by: java.lang.NullPointerException       at sample.OpenFile.OpenFile(OpenFile.java:45)       at sample.Controller.ListenOpenFile(Controller.java:14)       ... 54 more


C++; Iterate over vector of structs and access struct members

I have a struct:  struct fsobject { std::string fqname; //Fully Qualified Name of File incl extension std::string type;   //Type of Object, Either Directory or File std::string data;   //contents of file. Directories have no data. };   And a vector of type fsobject:  std::vector<fsobject> driveA;//Drive A   I am trying to iterate over the vector and access struct members for each vector element. This is the loop I have created:  for (auto vectorit = driveA.begin(); vectorit != driveA.end(); ++vectorit) {     cout << vectorit.fqname <<endl; }   Which results in the error:  main.cpp|50|error: ‘class __gnu_cxx::__normal_iterator >’ has no member named ‘fqname’|  I am having a hard time wrapping my head around how to accomplish accessing members of each vector element. Any help is appreciated.  Here is the full source:  #include <iostream> #include <algorithm> #include <string> #include <iostream> #include <list> #include <cctype> #include <vector>  struct fsobject { std::string fqname; //Fully Qualified Name of File incl extension std::string type;   //Type of Object, Either Directory or File std::string data;   //contents of file. Directories have no data. };   using namespace std;  bool compare(const fsobject& first, const fsobject& second) {   if (first.fqname < second.fqname)     return true;   else     return false; }  int main() {      std::vector<fsobject> driveA;//Drive A     std::vector<fsobject> driveB;//Drive B     std::vector<fsobject> driveC;//Drive C      driveA.push_back({"/home/zory/","dir",""});     driveA.push_back({"/home/dory/","dir",""});     driveA.push_back({"/home/","dir",""});     driveA.push_back({"/home/anakin/","dir",""});     driveA.push_back({"/home/luke/","dir",""});     driveA.push_back({"/home/luke/","dir",""});     driveA.push_back({"/home/luke/QuaterlyReports.pdf","file","bankruptcy is coming"});      sort(driveA.begin(),driveA.end(),compare);     /*cout << driveA.back().fqname << endl;     driveA.pop_back();     cout << driveA.back().fqname << endl;*/        for (auto vectorit = driveA.begin(); vectorit != driveA.end(); ++vectorit)     {         cout << vectorit.fqname <<endl;     }       cout << "Done...";      return 0; }   Thanks!


Can VLQ flags on answers raised by >2k rep users count as recommend-deletion votes instead of behaving like regular flags?

I've crossed 2k rep on a site and I frequently use the VLQ review queues there. However, I've noticed that there's no change in the system's behavior when I raise VLQ flags: my flags are simply sent to the review queue, just like it was when I had 1k. I think that this shouldn't happen for answers: 2k rep users can cast recommend-deletion votes (on answers) through the review queue, so their VLQ/NAA flags should behave in a similar manner, in addition to bumping the post to the review queue.  This is how I believe the system should behave: when I raise VLQ and NAA flags on answers, I should get the option to leave one of those 'From review' comments with a link to that entry in the review queue, along with the recommend-deletion vote. The review log for that post should automatically display that I've said 'recommend deletion'.  For questions in the VLQ queue, the status quo is appropriate. With less than 3k rep, I can only raise flags, not close votes, which is appropriate. And I think that 3k rep users can cast their close votes almost everywhere, so that's not a problem.  Is there a particular reason why the present system doesn't seem to run this way? If not, can this be changed?    said that recommend-deletion votes by 2k rep users push the posts to a 20k deletion queue. If that's true, I believe that flags by 2k rep users should send the answer to the 20k queue directly, in addition to being recommend-deletion votes with the special comments


I accidentally formatted my hard disk when installing Ubuntu from Windows 10

I was planning to shift from Windows 10 to Ubuntu. Usually when you install new version of Windows, you do that in C:/ drive.(100GB) The other drives (d:/ and e:/) about 350GB are are not touched. So when I tried to install Ubuntu.. I did guess a question of formatting the disk. But little did I know that the whole Hard drive will be formatted. After installing Ubuntu, all my data from d:/ and e:/ are also erased. Somebody please help me out. :( :(


Is it OK to run -sudo purge, frequently?

I'm on Mavericks 10.9.2, 24GB's RAM, and my usage constantly teters on 23.95 GB in use very frequently.   From what I can tell, the largest running process is 'kernel_task', and even then it's less than 2GB.   The only way to reduce this amount used is using the sudo purge command in terminal.  Is it ok to do this frequently to speed the system back up?


Is $\sum_{k=1}^{\infty}\frac{\cos\sqrt{k}}{k}$ convergent or divergent?

I'm wondering whether the following series  $$\sum_{k=1}^{\infty}\frac{\cos\sqrt{k}}{k}$$  is convergent or not. Any hint will be appreciated.


Exception in thread "main" java.lang.NullPointerException with gui

I am getting the error: Exception in thread "main" java.lang.NullPointerException. I have looked at various questions with the same error, but fail to resolve my own. Because none of my objects are null and all my variables have been initialized, I cannot find where the issue lies. Here is the code  Main class:  package Myguipackage;  import javax.swing.JFrame;  public class mywindow {      public static void main(String[] args) {         Windowcontinued object = new Windowcontinued();         object.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);         object.setSize(500, 500);         object.setVisible(true);     } }   Here is class Windowcontinued:  package Myguipackage;  import javax.swing.JOptionPane; import javax.swing.JFrame; import java.awt.FlowLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.JLabel; import javax.swing.JTextField;  public class Windowcontinued extends JFrame {      public JLabel text;     public JTextField textfield;      public Windowcontinued() {  //Constructor         super("CHAT");         setLayout(new FlowLayout());          text = new JLabel("Would you like to talk to me?");         add(text);         text.setToolTipText("Please enter your answer");          hear ear = new hear();          textfield.addActionListener(ear);         textfield = new JTextField("Yes or no? Erase this and type in your answer!");         add(textfield);      }      class hear implements ActionListener {          public void actionPerformed(ActionEvent event) {              String string = "";              if (event.getSource() == textfield)                 string = String.format("You typed in %s", event.getActionCommand());              JOptionPane.showMessageDialog(null, string); //Open a new window that displays String string, which has changed based on which field you hit enter on.          }     } }   Any help would be appreciated!