Adding ' character in sql server and PHP

basically i got a text editor that will send possibly HTML tags to my table.  I'm using this text editor in my website   But what if someone uses the ' character?  I have been searching for a way to allow users to enter VARCHAR type characters in my website. In mysql there is the escape string function. What is its alternative in sqlserver. I have been searching a lot...  havent found what I am searching for so far.  Please help me out.  Thanks ^_^


Keep multiple windows focused at once in Win7?

At the risk of this becoming XY, I'll state my purpose. A few games (such as Kingdom Rush) have this annoying habit of automatically pausing when you click in another window (so that the game window loses focus).  I want focus for multiple windows, so I can work with a browser whilst the game still runs in the other window (both are tiled on the same screen).  Is there a program to help here, or maybe there's another workaround?


Does a change in reputation in meta cause a change in reputation in Stack Overflow?

I am a Stack Overflow user.  I just wanted to know if any change in my reputation here will cause a change in my reputation in Stack Overflow?  Also, I just wanted to know since I am new to this site, is this site used to ask questions related to using Stackoverflow.com?


$inputYN = Read-Host "(defaults to y in 10 sec) [y/n] ";   If user doesn't provide any input in 10 second then default $inputYN should go to "Yes" and move forward to next task.


Is infinite regress of causation possible? Is infinite regress of causation necessary?

For a number of reasons — including perhaps a desire to feel that we have a complete understanding of where we came from, or at least an understanding which is completely sufficient for all of our purposes — there is a strong tendency to suppose that an infinite regress of causes and effects is impossible. We see this for instance in the . Traditionally in Greco-Roman influenced philosophy, this prime mover has been identified with the notion of a creator god. A more modern formulation comes from the Big Bang theory, which (although we study the question) happened for no reason that we know of; and perhaps occurred for no reason at all. Indeed, if time is a property of the universe, a good argument can be made that .  At the same time, we have gotten a lot of leverage in science from the ideas that everything happens for a reason, i.e. because it is caused by something else. This is sometimes described as the . Aristotle also applies this idea, except that the first mover is made an exception, something which exists literally for no reason. Indeed, the emotionally negative way that "no reason" is used in common speech, as something groundless and irrational, indicates how widespread the feeling is that the idea of uncaused events is deeply dissatisfying.  Almost all of our modes of critical thinking are infused with both of these ideas: that we may work from first principles, a definite starting point, counting up from zero (or one, historically); but also that we may trace the causes of things to some point, and then later ask how that starting point came to be. But the two ideas are themselves in conflict.  Which is true — that infinite causal chains are impossible? Or that they are necessary? Or are they perhaps possible without being necessary?   Related questions:


Acknowledging Someone in a Research Paper

We finished preparing a manuscript and there is a researcher who helped and advised us on many aspects of the research. I know this may sound trivial but I would like to ask if it is required from me to ask him if I can mention him in the acknowledgment or not. Can I mention him without taking his permission to do so? Thank you in advance...


Today I came across an idiom I have never before seen.     Joe Garagiola, his lifelong friend from the old neighborhood in St. Louis, a fellow catcher, and great raconteur, got a lot of mileage telling Yogi stories on the lecture circuit.  He often reworded Yogi-isms to make them funnier, and some he made up out of whole cloth.    I understood from the context that he invented 'sayings' and attributed them to Berra. I researched this, and frankly, it still makes no sense to me. I also saw it worded as cut from the whole cloth. I can't get to how it's a falsification.  I know that to fabricate means to make up (as in lie); are the two related, or is this pure coincidence?


Years ago I recall reading a story by, I think, Isaac Asimov. Its central theme was phone exchanges becoming sentient.  Does anyone know what I am thinking about or am I dreaming and should quickly write this story?


Is there a way to convert  to Lat/Long in Javascript?  I have seen another thread on this but it was in Java and Python which won't help me much.  Please let me know, thanks.


Temporary locks on answers not showing lock duration

Tested on Stack Overflow, Stack Overflow Meta and Pets.  Questions  Temporary locks on questions are showing the duration (mod only).  Stack Overflow.   Meta Stack Overflow.   Pets.   Answers  On answers they are not and there's no way to find the lock duration when we use timeline tools to examine the post.  Pets.   Stack Overflow.   Meta Stack Overflow.   Is this something that hasn't been implemented or is it a bug?  If it hasn't been implemented can we please have it implemented?


I'm fond of old especially folk songs, but as a foreigner I often have troubles interpreting some phrases. Here is one from :  I'm going there to see my father I'm going there no more to roam I'm just a-going over Jordan I'm just a-going over home  Does "going over" here mean "going to", i.e. approaching to some goal? I can't find some dictionary article which can prove this - though I've seen some about "go over to smth" with similar sense.  Or can this be some archaic, or dialect-specific (Appalachian?) usage, but not "normal" for contemporary / everyday language?  Thanks in advance for guiding me!


Should there be an option to revoke not yet reviewed flags?

For example,  was initially posted with horrible formatting, and I mis-read the question. Thinking it was asking something different, I flagged as belonging on .  When I realized my mistake, I felt it would be nice to remove the flag and reduce the moderators' queue. Since this feature does not exist, should a delete flag option be added to the user Flagging History page?  Without nit-picking over the exact text, I propose something similar to:    This option would of course only appear next to flags that have not been evaluated by a moderator.


Vim Latex ''compacts'' Tikz pictures during compile

Using vim with latex suite on two different computers, on one it's fine, but on the other my tikz pictures ''colapses'' (all text is put to the center of the figure, nothing is drawn) The same pc can compile fine from texstudio, but not from vim- latex suite  Edit: Seems the problem was compiling to dvi instead of pdf


ulimit "File Descriptors" troubleshooting: "Too many open files"

zsh Ubuntu 16.04: ls -l *.pdf | wc -l  returns 1629.  The 1629 .pdf files totals ~1.2GB.  top indicate 5GB of RAM free date;qpdf --empty --pages ./*.pdf(On) -- ../concatInboxLatestFirst_batch2.pdf;date  returns an error "Too many open files": Wed Nov 11 20:34:22 EST 2020 open ./Agenda-768.pdf: Too many open files Wed Nov 11 20:34:25 EST 2020  Per  ulimit -a | grep descriptors                                                        returns: -n: file descriptors                1024 ulimit -n 10000. #increase file descriptors from 1024 to 10000 ulimit -a | grep descriptors                                                        returns: -n: file descriptors                10000 Increasing the file descriptors to 10000 seemed to resolve the problem. Observations  a second instance of zsh opened has file descriptors = 1024 a bash instance does not return a file descriptor  It would seem that the scope of the setting file descriptors is confined to a single instance of zsh. Questions  What is the risk & penalty associated with bumping up file descriptors from 1024 to 10000?  The question is posed because I am considering permanently increasing the number to 10000.


I have many devices from which I want to get logs using a syslog server hosted on my iMac.   To get in touch with logs and analyse them, I am looking for a good syslog viewer for mac which have the following functionalities :   color log by level stats & graphs send mail and alert   I tried the common logs viewers (console, SU => ) but the two last functionalities I look for are not supported by them. It exists loggly.com but only on cloud version and logmx but which exist only in free version without stats.  Has someone any idea of a good syslog viewer (opensource / free if possible) which had these functions for mac ?


I believe that for every prime $p\geq 5$ there exists at least one prime $q$ that is both congruent to 1 mod $p$ and congruent to 5 mod 6. It's well known that there are an infinite number of primes congruent to 1 mod $p$ and there are an infinite number of primes congruent to 5 mod 6, but the conjunction of the two conditions is baffling me. Any ideas? (The conjecture is true for $p < 437,077$ because programming).


I have this input field:    <input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" type="image" class="paypal">     I want to center it on the page, I tried using text-align:center, I tried to wrap it in a div set width to 100% and the margin to auto but it gets stretched in an ugly way, so how can I center it correctly?


ubuntu 18.04 does not recognize my wifi on HP stream 11

I recently decided to change my OS on my HP Stream 11 from windows 10 to Ubuntu. Upon installation, it was obvious that Ubuntu works faster, so I figured it was a good idea to keep it. Problem however, it does not  recognize my wifi. Also, the right click on the touch pad does not work. How can I fix that?    lspci -knn | grep Net -A3; rfkill list    02:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BCM43142 802.11b/g/n [14e4:4365] (rev 01) Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a] Kernel driver in use: wl Kernel modules: bcma, wl 0: hci0: Bluetooth     Soft blocked: no     Hard blocked: no 1: phy0: Wireless LAN     Soft blocked: no     Hard blocked: no 2: brcmwl-0: Wireless LAN     Soft blocked: no     Hard blocked: no   Thank you!


Show that $\int_{0}^{\infty}|\frac{\sin x}{x}|\,dx=\infty $

Problem: Show that $\int_{0}^{\infty}|\frac{ \sin x}{x}|=\infty $ .  Here is what i have tried :  I found out that for all $x>0$ , $x-\frac{x^3}{6} < \sin x <x $  . So $1-\frac{x^2}{6}<\frac{ \sin x}{x}<1$ . So applying integration to both side from $0$ to $M$ we have $M-\frac{M^3}{18}<\int_{0}^{M}|\frac{ \sin x}{x}|< M$ . Now we send $M \rightarrow \infty$ and observe that left-hand side goes to infinity . Hence proved .  Please point out if there is anything wrong with my approach . I will also be delighted if could provide alternative solutions . Thank you .


I know the limit definition of a derivative. And I read at the end that if the limit exist then we say that function is differentiable  and this existing limit is denoted by  $\dfrac{d}{dx}$ . so we say that $\dfrac{d}{dx}$ is a notation.  But during my graduation , in many proof of some theorems we do a step  as  Say.....  $\dfrac{d(f(x))}{dx} = g(x)$  Then multiply both sides by $dx$ we get... $d(f(x))= g(x)d(x)$  My question is that how we do this step....  Then i  read total derivative of a function and  it help me little bit .but don't understand completely ...... We used $\dfrac{d}{dx}$ as a notation  so how do above step .... Please help me to understand it....


Why have multiple StackExchange sites for Cryptocurrencies

I wonder why there is a site for single cryptocurrencies (e.g.  and ).  In my opinion it would be more helpful to have a single StackExchange site like cryptocurrency.stackexchange.com with different tags for different cryptocurrencies (e.g. Bitcoin, Ethereum, Ripple, Litecoin, etc.)    Current state  Let's take programming languages as an example. When using the same structure as currently used for cryptocurrencies we would have a single stackexchange site for each programming language (e.g. java.stackexchange.com, python.stackexchange.com) but instead we have a single site  where all programming questions are asked with different tags for different languages.  New cryptocurrency/programming language  For new languages we only need a new tag and users can start asking questions for this specific programming languages. For cryptocurrencies instead you need to wait for a new stackexchange site, which may, for small cryptocurrencies, never appear. If there was a single site for all cryptocurrencies though, you could just ask that questions under a new tag.  General questions  And what about questions regarding cryptocurrencies (or programming) in general? On Stackoverflow we can simply ask those questions by not using language- but topic-specific tags. For cryptocurrencies you would ?probably? have to post them under  using the crypocurreny tag, which is, in my opinion, weird and not good structured, also because there are a lot of different topics regarding cryptocurrencies which currently can't be differentiated because there is only one tag cryptocurreny available.


What is the result of $ \lim_{n \to \infty} \frac{ \sum^n_{i=1} i^k}{n^{k+1}},\ k \in \mathbb{R} $ and why?

What is the result of the next limit:   $$ \lim_{n \to \infty} \frac{ \sum^n_{i=1} i^k}{n^{k+1}},\ k \in \mathbb{R} $$  Why (theorem)?


How can i find the 4 roots of the below equation by using the exponential method?


Error with section numeration while using abntex

I am using abntex2 to write my document and, for some reason unknown to me, the first section is marked with 0.1, instead of 1, the second, with 0.2 instead of 2 and so on. Here's a MWE:  \documentclass[brazil,sumario=tradicional]{abntex2} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{wrapfig} \usepackage{graphicx} \usepackage[alf]{abntex2cite} \usepackage[brazilian,hyperpageref]{backref}  \begin{document}  %\renewcommand\contentsname{Índice}  \thispagestyle{empty}  \begin{center}  UNIVERSIDADE FEDERAL DE SANTA CATARINA  CENTRO TECNOLÓGICO   DEPARTAMENTO DE ENGENHARIA DO CONHECIMENTO  \vspace{0.3cm}  Franciele Daltoé  \vspace{8.2cm}  \begin{Large}     \textbf{Avaliação e Aprendizagem: \\ métodos diferenciados de avaliação na disciplina de matemática} \end{Large}  \vspace{6.7cm}  Florianópolis  2015  \end{center}  \newpage  %\thispagestyle{empty}  \begin{center}  UNIVERSIDADE FEDERAL DE SANTA CATARINA  CENTRO TECNOLÓGICO   DEPARTAMENTO DE ENGENHARIA DO CONHECIMENTO  \vspace{0.3cm}  Franciele Daltoé  \vspace{6.5cm} \begin{Large}     \textbf{Avaliação e Aprendizagem: \\ métodos diferenciados de avaliação na disciplina de matemática} \end{Large} \end{center}  \begin{flushright}  \vspace{1cm}  \parbox{0.5\linewidth}{Projeto apresentado ao Curso de Licenciatura em Matemática como requisito para conclusão da disciplina Projetos Interdisciplinares I.}  \end{flushright}  \vspace{5.2cm}  \begin{center}  Florianópolis   2015 \end{center}  \newpage  \thispagestyle{empty} \tableofcontents  \newpage  \section{Introdução}  \end{document}   There is a lot more text below, but that already shows what the problem is. What could be the error in the code?


prove that the number of primes of the form 4k+1 is infinite

I do not want to use modular arithmetic. I understand to assume the contrary but if someone could explain from there that would be amazing!


Is it possible to get admission to masters for theoretical physics with a bachelors in electronics engineering?

Can I get into masters for theoretical physics without having a bachelors in physics or maths? I have a bachelors in electronics engineering, and I can get a recommendation from the physics department for the admission.


I honestly have no clue of how it works, so I'm asking here. I bought an SSD that is going to replace the slow HDD on my laptop, and when I was watching the disassembly video on youtube, I saw there was an empty RAM slot. I remembered that I had 2 banks of RAM from a very old laptop, my question is, there is any chance that I can add RAM to my laptop? There are huge differences between the two:  My laptop RAM: 4GB DDR3L-SDRAM 1600MHz Old laptop RAM: 1GB DDR2 667MHz  I have read that it will "adjust" to the common MHz between the two, and my question is: it's worth it? Sorry but I'm completely new to the subject so I literally have no idea if it can be usefull or not


Minimum Variance Unbiased Estimator for Exponential Family of Distribution

Let $X_1,X_2,\dots,X_n$ be a random sample from distribution with pmf $p(x;θ)=\theta^x(1−θ),x=0,1,2,…;0$ elsewhere, $0≤θ≤1$. I know that $Y_1=\sum_1^n X_i$ is a sufficient statistic for $θ$ because this pmf itself comes from family of exponential distribution. The expectation for sufficient statistic is $$E[Y_1]=n\frac{1−θ}{θ}$$ How do I find a function of Y1 that is an unbiased estimator for $θ$? I tried algebraically solving it and the function is $\varphi(Y_1)=\frac{n}{Y_1+n}=\frac{1}{\frac{Y_1}{n}+1}$. Is this correct? I'm not sure how to find the $\mathbb{E}[\varphi(Y_1)]$ though.


How to write an Event Listener that is invoked whenever an HTTP request is sent

I already have an html page that includes a number of Javascript files. Let's assume that these JS files send HTTP requests using AJAX. I want to add a new Javascript file (without changing any existing JS files). This file will have to act as some kind of Event Listener. It will have to "listen" for an HTTP request (let's say GET, but it doesn't really matter) that will be sent by the web page, and once it "monitors" such a request, it will print the query of the request to console.   For example,   function listen_to_get_request(params, function callback(req) {      console.log(req.query); }   I also read this post:   and unfortunately it doesn't provide me any code that takes care of this issue.


A box contains 10 pens, and the probability that any given pen is defective is $p$.  The expected value is $\sum_{X = 0}^{10} X \binom{10}{X}p^X(1-p)^{10-X}$.  Using the binomial theorem, I know that $\sum_{X = 0}^{10} \binom{10}{X}p^X(1-p)^{10-X} = 1$.  By testing different values of $p$, I found that the expected value is $10p$.  Is there a way of proving this?


I would like to know more details about R issues mentioned in .   For e.g. the first problem still exists in R version 3.0.1  # generate an AR(1) with mean 50 set.seed(66)      # so you can reproduce these results x = arima.sim(list(order=c(1,0,0), ar=.9), n=100) + 50    mean(x)     [1] 50.60668   # the sample mean is close arima(x, order = c(1, 0, 0))     Coefficients:            ar1  intercept  <--  here's the problem         0.8971    50.6304  <--  or here, one of these has to change   s.e.  0.0409     0.8365   *direct copy from the webpage  Theoretical model of above simulation is: $X_t = 5 + 0.9 X_{t-1} + Z_t$, where $\{ Z_t\} $ is the white noise  Is R following particular model convention or is R wrong?  If it is wrong, it is still in R core package and I wonder why it isn't changed.  Also, it would be very helpful if I get some hint on other five issues.


Is there a way to make windows xp bootable pendrive in ubuntu.  I have seen winusb but it seems that it only supports winvista and win7.


Is the prime factorisation of Carmichael Numbers always Square Free?

Is the prime factorisation of carmichael Numbers always square free?  I saw the next theorem in my textbook which would say yes.


Prove that: $\sum\limits_{n=1}^\infty \frac{n^2}{2^n}=6$.

Prove that: $$\sum\limits_{n=1}^\infty \dfrac{n^2}{2^n}=6.$$ I am trying to find the sum of this infinite series. Got stuck. Any help will be highly appreciated.


How to maintain a mapping between a string and it's index in C?

I have an enum  Eg.  enum { APPLE, MANGO, BANANA }   and a corresponding string array  char fruits[] =  {  "apple",  "mango",  "banana" }   I need to retrieve the index of string, given I have the string. So given that the string is apple, I need to get 0 and so on. [ Enum is additionally there, might help the solution]  Is there an elegant way, to save [apple,0],[banana,1] that is short and simple, that I might use as a macro. I don't need lengthy things like a hashtable. Can Enum assist in the mapping?


Let $p$ be a prime integer, and let $m,k \in \mathbb{N}$. If $m \equiv k$ (mod $(p-1)$), show that:  $u^k \equiv u^m$ (mod $p$), $\forall u \in \mathbb{Z}$  If $u \equiv v$ (mod $p$), then $u^k \equiv v^m$ (mod $p$), $\forall u,v \in \mathbb{Z}$   Couldn't find anything related with this. The only thing related with $(p-1)$ I found was Wilson's Theorem, but I can't see any relation with that question. Can anyone show how can I start to solve that? Thanks.


$$\int\frac{(\ln x)^{10}}{x}\,dx$$ All I know is that I am supposed to substitute $u=\ln x$. But can someone please explain to me how to find the anti derivative of $(\ln x)^{10}$. I think we are supposed to use integration by parts on integrating $\ln x$, but we haven't been taught that yet.


When I run echo $SHELL the output says /bin/tcsh which means that I am running a tcsh shell. But for example when I issue the following command  alias emacs 'emacs -nw'    I get the following error:  bash: alias: emacs: not found bash: alias: emacs -nw: not found   and when I issue alias emacs="emacs -nw" it runs fine!  This is confusing since I am running tcsh but the commands are interpreted by bash.  What could be the reason?


I have an older thermostat I'd like to replace with the more modern Nest thermostat. The online Nest compatibility checker tells me that I have a compatible device. However, I'm not sure how it could work since my existing thermostat runs on batteries. How would the Nest draw it's power? The older thermostat (pictured) has R, W, Y wires and a B which is not connected to anything. The other end of the wire (pictured) mixes colors with two smaller wires (the heater and the AC I'm assuming?). Is this a DIY job or something that should be handled by professionals?  Thanks in advance!


I found some combinatorial identities in my old notebooks, but I cannot recall how I derived them. Can anyone help provide the most elementary/elegant proofs for the following identity? Specifically, the connection between the summation and either of the two closed-form expressions. $$ \sum_{k=0}^n{ \binom{2k}{k} 2^{2n-2k} } = (2n+1) \binom{2n}{n} = \frac{n+1}{2} \binom{2(n+1)}{n+1} $$ Some specific cases written out for some simple visualization: ($n=0$ through $n=3$) $$ \begin{align} \binom{0}{0} 2^{0} &= 1\binom{0}{0} = \frac{1}{2}\binom{2}{1} \\ \binom{0}{0} 2^{2} + \binom{2}{1} 2^{0} &= 3\binom{2}{1}  = \frac{2}{2}\binom{4}{2} \\ \binom{0}{0} 2^{4} + \binom{2}{1} 2^{2} + \binom{4}{2} 2^{0} &= 5\binom{4}{2} = \frac{3}{2}\binom{6}{3}\\ \binom{0}{0} 2^{6} + \binom{2}{1} 2^{4} + \binom{4}{2} 2^{2} + \binom{6}{3} 2^{0} &= 7\binom{6}{3} = \frac{4}{2}\binom{8}{4} \end{align} $$ EDIT: I should specify that I have already found an inductive proof, but it is not satisfying to me. I am specifically looking for a bijective/double-counting proof ideally.


JavaScript post request like a form submit

I'm trying to direct a browser to a different page. If I wanted a GET request, I might say  document.location.href = 'http://example.com/q=a';   But the resource I'm trying to access won't respond properly unless I use a POST request. If this were not dynamically generated, I might use the HTML  <form action="http://example.com/" method="POST">   <input type="hidden" name="q" value="a"> </form>   Then I would just submit the form from the DOM.  But really I would like JavaScript code that allows me to say  post_to_url('http://example.com/', {'q':'a'});   What's the best cross browser implementation?  Edit   I'm sorry I was not clear. I need a solution that changes the location of the browser, just like submitting a form. If this is possible with , it is not obvious. And this should not be asynchronous, nor use XML, so Ajax is not the answer.


Why so many pins for the MOSFET's drain?

The  comes in a 6-pin package, 4 of which are connected to the drain, and only 1 to the source. Why this difference? The source sees the same current as the drain, doesn't it?


How to create an enumerated macro/newcommand

What I'm trying to do is to create a \newcommand (not only theorems) and everytime I call that command it adds the chapter number and number of times that I call that command.  For instance, if I'm writting chapter #3 and I created a newcommand called \theorem, this is the output I'm expecting for the first time I call the command:    3.1 Theorem:  Text  I know how to create the new command, I was googling this but didn't find anything relevant. This is the command I'm using:  \newcommand{\mycommand}[2]{%   \textbf{Theorem: #1}\\    #2 }


calculate (find the type of isomorphism) of $\mathbb Z_p/p\mathbb Z_p$ where p is prime

Calculate (find the type of isomorphism) of $\mathbb Z_p/p\mathbb Z_p$ where p is prime.   I know that $\mathbb Z/p\mathbb Z$ isomorphic to $\mathbb Z_p$ by showing    $\phi : \mathbb Z \rightarrow \mathbb Z_p$  $\phi(x) = x  \bmod p$   $\ker \phi = p\mathbb Z$  and by isomorphism $1$ theorem.  So I get  $\mathbb Z_p/p\mathbb Z_p$ isomorphic to $(\mathbb Z/p\mathbb Z)/p(\mathbb Z/p\mathbb Z)$.   Not sure if I'm writing this in a correct way and if so then how to continue from here.    Any help and explanation will be appreciated.


I wanna run Ubuntu on a USB like Tails OS but without the TOR Network

I installed tails on a USB and everything was great but when I tried to browse the web, I get it is anonymous but it makes it slower than normal to load websites or videos online. The point is I want to run Ubuntu live on ram but also with persistent live and to be able to install new apps. I also already tried installing it on a USB but it takes too long to boot up and it is so slow. Somebody help.


I cant break blocks in minecraft (i know you hold to break)

This morning i got on minecraft and it wouldnt let me break anything. I know you hold the blocks to break them but it switches to the 1st item  i have in my inventory. I dont know if its a glitch or what. But please try to help me.


Making alias of rm command so that when rm command is executed it will first copy file to /tmp/recycle_bin and then remove the file. But I'm getting issue in the process.   Steps performed by me:   I wrote below command in ~/.bashrc file:  alias rm='cp $@ /tmp/recycle_bin && rm $@'  execute it with below command:  . ~/.bashrc  Open new terminal and execute below command:  rm "/home/XXXXX/My_Programs/test_method.py" cp: missing destination file operand after '/tmp/recycle_bin'** got this error message     Need to understand:   Even if the parameter is passed to rm command as the file which I want to remove. Why i am getting error **missing destination file operand after /tmp/recycle_bin? The $@ variable in alias command is not populated? How to debug this case and resolve?


I've got a method like this:  public static bool IsPercentage<T>(T value) where T : IComparable {     return value.CompareTo(0) >= 0 && value.CompareTo(1) <= 0; }   I would like to use this to validate if any number falls in the range 0 <= N <= 1. However this only works with integers since CompareTo only operates on equal types. Is there a different way to do this?


On Big Sur, every time I restart, I get asked asked again if I want to enable ask siri.  Is there a way to get it to stop asking?


Why doesn’t Quicksilver’s speed cause a sonic boom, lethal to anyone around him?

In X-Men: Days of the Future Past movie, Quicksilver played speed god in Pentagon kitchen to save his new friends (this looked much much faster than his speed demo at home).  Due to that speed, shouldn't there be super sonic boom to kill everyone except Wolverine? How exactly does Quicksilver's power work to avoid sonic boom?  You're free to use comics and physics.


Displaying stored characters correctly instead of black diamond with?

My website alancrookes.com display the results of a MySQL query in a HTML table. Some of the characters which are stored correctly in the database are displaying with as a black diamond with a question mark. I have added the code <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> to the HTML file but it doesn't help. Would anyone know how to solve this.  I have tried this  but to no avail. TIA.


Direct proof that nilpotent matrix has zero trace

Does anyone know a proof from the first principles that a nilpotent matrix has zero trace. No eigenvalues, no characteristic polynomials, just definition and basic facts about bases and matrices.


What's actually going on when I call bibtex

I learned how to use bibtex from the LaTeX wikibook, found . They say that to compile a LaTeX file that uses bibtex, you need to call pdflatex once, followed by bibtex, followed by two more calls to pdflatex. I'm wondering: what's actually going on at each of these steps? Why do I need to run pdflatex and bibtex in that order?


On the favorites tab of the , there is a 'rejoin all' button that I use frequently. There are a number of rooms I once favorited that have since been deleted and 'rejoin all' puts me in those too.  I'd like to 'unfavorite' those deleted rooms, but I can't work out how (short of undeleting them first). The star I'd usually click on is absent:   Is there some easy way to do this I'm missing or should I re-tag this ?


I've just been granted a badge on , here's the link to the badge:    It looks to me like this:        The link on the badge says   and just redirects to all questions page.


Is there a command to remove all of one type of block in minecraft?

So I'm making a Minecraft map and it involves a lot of removing of certain blocks. Is there a vanilla Minecraft command to remove all blocks of one type in a world? If so, how would I use it?  For example: All different colors of wool spread around a world. And I only want to remove the white ones. How would I do that with a command?


Sci-fi novel with four pyramids growing out of the earth

Trying to identify a sci-fi novel for my dad. It was a book he borrowed from me in or before 2003:  The main plot point that we both recall is the sudden appearance at four distinct points of the Earth's surface of pyramid structures which seemed to have simply pushed their way through the surface of the Earth.  The main character eventually came to the conclusion that       these pyramids were, in fact  the corner points of one enormous pyramid, the main body of which lay within the body of Earth itself.   My initial thoughts were that it was 'Sphere' by Michael Crichton or 'Fade Out' by Patrick Tilley. But after finding several plot summaries of both around the web I don't think it was either of them. In 'Fade Out' the pyramid (according to what I found on the web) grew from the ship, and in 'Sphere' I don't think there were any pyramids.


I am using this for captions:  \usepackage[font=small,format=plain,labelfont=bf,up,textfont=normal,up]{caption}   But they all come out centred - I want them aligned with the left margin - how can I do this?


Is there any task manager for Ubuntu similar to Windows Task Manager?


I've got the problem that everytime I run my .tex file I get the error undefined control sequence. It shows me that the error is in line 406 in my .bbl file which is a blank line. Does anyone know, where this comes from? Many thanks in advance.  Here is the part of my .bbl file that is concerned. Line 406 is the blank line between the two \bibitems:  \bibitem[Spinrad et~al.(1963)Spinrad, M{\"u}nch, und Kaplan]{Spinrad1963} H.~Spinrad, G.~M{\"u}nch, und L.~D. Kaplan. \newblock Letter to the editor: the detection of water vapor on mars. \newblock \emph{\apj}, 137:\penalty0 1319, 05 1963. \newblock \doi{10.1086/147613}. \newblock URL \url{http://adsabs.harvard.edu/abs/1963ApJ...137.1319S}.  \bibitem[{Stanford University}(2016)]{Stanford2016} {Stanford University}. \newblock Lecture nr.13 paramagnetic relaxation enhancement, 2016. \newblock URL   \url{https://web.stanford.edu/class/rad226b/Lectures/Lecture13-2016-PRE.pdf}. \newblock Zuletzt aufgerufen: 2018-09-19.


Using mixed radio and checkbox buttons - is there any efficiency or usability gain in the design?

I have noticed that many online forms and surveys these days are starting to use a mixture of radio and checkbox buttons for the same question, that is, for a question that gives the person a number of choices, you can either make a selection from radio buttons or checkbox buttons.         – Wireframes created with   Although it looks a little bit confusing to start with, it is not too difficult for the user to realize that the buttons behave as they should (option A or a combination of option 1-3). However, to me this feels like designs are starting to rely on the interaction to indicate the behaviour to the user rather than going back to good structure and logic used in the question.   Is the argument that because Design A saves the user one extra click that it is a 'more efficient' design? I think the amount of time saved on the extra click is not as much as the time spent on understanding what the options are, so Design B still seems to be a more efficient design overall. It also makes changes easier to implement because the logic is clearer. I hope this is not actually a trend I am noticing here, or if it is then I am looking for the rationale behind it.


Install pycharm-community on ubuntu 16.04

When I want to install Pycharm-Community this message appears:


Trying to make a bomb diffusal text game

I need some help regarding the random wire selector, what would be a good way to store/select the values?  import random  wires = ["yellow", "blue", "green"] # need some help making this random wire selector bomb = random wire neutral = random wire diffuse = random wire # bomb, neutral, diffuse can't be equal


What is the standard source list file for 18.10?

I've badly damaged my package system. So I found another solution,  sudo apt-get build-dep <package>  But when I typed sudo apt-get build-dep update-manager, I got,  E: You must put some 'source' URIs in your sources.list     Then I accessed it using the sudo nano /etc/apt/sources.list. The list was blank. Now I'm unsure on how to add more source URIs. I cannot access the software updater to change it. I've tried Synaptic Package Manager.   sudo apt-get -f install    Reading package lists...  Done   Building dependency tree                                                                              Reading state information... Done   E: The package python3 needs to be reinstalled, but I can't find an archive for it.   Update:  I have edited sources.list using  on  and replacing bionic with cosmic.  Now when I try to launch software-properties-gtk, I'm getting:  bash: /usr/bin/software-properties-gtk: /usr/bin/python3: bad interpreter: Too many levels of symbolic links   Outputs for symbolic links of python3:  $ ls -l /usr/bin/python3                                                      lrwxrwxrwx 1 root root 18 May 27 20:30 /usr/bin/python3 -> /usr/bin/python3.6  $ ls -l /usr/bin/python3.6   lrwxrwxrwx 1 root root 25 May 27 16:31 /usr/bin/python3.6 -> /etc/alternatives/python3  $ ls -l /etc/alternatives/python3 lrwxrwxrwx 1 root root 18 May 27 16:31 /etc/alternatives/python3 -> /usr/bin/python3.6     Output of ls -l /usr/bin/python*:     lrwxrwxrwx 1 root root      18 May 27 23:10 /usr/bin/python -> /usr/bin/python3.2    lrwxrwxrwx 1 root root       9 Jun  7  2018 /usr/bin/python2 -> python2.7    -rwxr-xr-x 1 root root 3691008 Apr  9 05:50 /usr/bin/python2.7 lrwxrwxrwx 1 root root      18 May 27 20:30 /usr/bin/python3 -> /usr/bin/python3.6   lrwxrwxrwx 1 root root      25 May 27 16:31 /usr/bin/python3.6 -> /etc/alternatives/python3       lrwxrwxrwx 1 root root      33 Apr  9 05:59 /usr/bin/python3.6-config -> x86_64-linux-gnu-python3.6-config      -rwxr-xr-x 1 root root 4530552 Apr  9 05:59 /usr/bin/python3.6m lrwxrwxrwx 1 root root      34 Apr  9 05:59 /usr/bin/python3.6m-config -> x86_64-linux-gnu-python3.6m-config     -rwxr-xr-x 2 root root 4804160 Apr  9 05:56 /usr/bin/python3.7    -rwxr-xr-x 2 root root 4804160 Apr  9 05:56 /usr/bin/python3.7m    lrwxrwxrwx 1 root root      16 Oct 25  2018 /usr/bin/python3-config -> python3.6-config        lrwxrwxrwx 1 root root      10 Oct 25  2018 /usr/bin/python3m -> python3.6m lrwxrwxrwx 1 root root      17 Oct 25  2018 /usr/bin/python3m-config -> python3.6m-config


Is anyone else currently getting a 500 error on all question pages?

Oops! Something Bad Happened!  Just me, or global issue?  I'm thoroughly enjoying the lolcatz apologies... ;).


`lmodern` package reduces the size of automatically sized delimiters in math mode

Including lmodern package reduces the size of \left and \right delimiters.  For example, try this with and without lmodern:  %!TEX encoding = UTF-8 Unicode  \documentclass[a4paper,12pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  \usepackage{lmodern}  % <<<  \usepackage{amsmath}  \begin{document} \begin{gather*}   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right)\\   \left(\frac{1}{x}\right) \end{gather*} \end{document}   Is this a feature or a bug? What it the "correct" behaviour? If this is a bug, is there a fix?  Note that Latin Modern used in XeLaTeX does not reduce the size of delimiters, but using lmodern package with XeLaTeX also reduces the size of delimiters.


Allow mods to experience the behavior of the site to user at any lower rep

It would often be convenient to see how the site is behaving for a user at any lower reputation (and without moderator privileges) without having to make a bunch of sockpuppets (which carry risks of accidentally doing things you shouldn't).  (Other privileges like gold tag privileges should also be able to be turned off.)  Presumably the only additional privilege over a user with the nominated reputation would have would be the ability to go back to normal.  I'd envisage something where you choose the reputation and click to remove any other privileges that could change, and that it would be replaced with a button that would undo that change.   Things like votes on posts would still count as votes by that user when they went back to being themselves, posts would still be posts, comments still comments and so on.


If I have a list of n items and I want to refer to the item that is just before the end of the list, do I say "first to last" or "second to last"?  For example:     First item   Second item      ...      99th item   100th (and last) item   How do I properly refer to item 99. In my thinking, item 99 is not the last, it is the first to last. But other are telling me that the proper way to refer to item 99 is as the "second to last item".  Which is correct?


How to configure postfix to pipe all incoming email to a script?

Using postfix, I'd like all incoming mail, to any address (including those that don't map to local users) to be piped to a script.  I've tried configuring mailbox_command in /etc/postfix/main.cf:  mailbox_command = /path/to/myscript.py   This works great if the user is a local user, but it fails for "unknown" users who don't have aliases.  I tried setting luser_relay to a local user, but this pre-empts mailbox_command, and so the command doesn't get run.  I tried setting local_recipient_maps= (empty string), but the message is still bounced (unknown user).  Is there a magic invocation I can use to get all known and unknown users to go to the script as well?  Full /etc/postfix/main.cf follows -- it's the default Ubuntu 10.04, with the exception of the mailbox_command line:  # See /usr/share/postfix/main.cf.dist for a commented, more complete version   # Debian specific:  Specifying a file name will cause the first # line of that file to be used as the name.  The Debian default # is /etc/mailname. #myorigin = /etc/mailname  smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no  # appending .domain is the MUA's job. append_dot_mydomain = no  # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h  readme_directory = no  # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=yes smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache  # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client.  myhostname = ... snip ... alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases mydestination = sassafras, ... snip ...,localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all  mailbox_command = /path/to/my/script.py


how do i format my hard drive to ntfs from ext4

I have a usb with my windows ISO loaded and ready. Problem is there is no ntfs partition on my hard drive for windows to load onto. I don't want to complicate things by running 2 operating systems. I’d like to go back to windows. I like Ubuntu more but I have no clue what I’m doing. I’m not a programmer.  I’ve tried booting from my usb with windows 7 loaded on as well as a CD with vista ultimate. Neither gave me an option to repair my drive. Both have the option to delete partition, and the CD gave me the option to format partition. The formatting failed and I’m afraid to delete the partition because I don't know what to do if I delete Ubuntu and the drive remains in ext4 format. Please help.


Windows 10: Change shortcut keys to switch between desktops

In Windows 10, the shortcut keys for switching virtual desktop are ctrl + win + right / left arrow. I'd like to simplify it, by changing it to ctrl + right or left arrow key only. How can I do this?


Is the photon's wave function the same as an electromagnetic wave(light)?

The first that i have been taught in Quantum Mechanics is the photoelectric phenomenon. Without analyzing it, it concludes that when we shine light at the circuit(roughly speaking), the work required to free electrons in the circuit is analogous to the frequency. Then nearly every textbook says that this is because "light is made of corpuscles each carrying an energy h*v , called photons"(p.11 from Zettili's Quantum mechanics book) implying the wave-particle duality.    So,is light(EM waves) the same as the wave function of a photon? If not,then what is their exact connection?


I've got Ubuntu 16.04 running on a Sony VAIO laptop that has been a workhorse for massive computations for mathematical research for years.  I think it's dying, and I need to save all my data.    After many iterations of manually running fsck and tediously confirming YES to all errors (literally thousands), as in  and others, I finally managed to get it to boot properly and it even loaded up the GUI.  Only problem: in a shell I am treated to the reminder that the filesystem is mounted read-only.  I have a functioning external USB drive (confirmed on another computer), but the dying laptop doesn't mount it automatically nor can I find it using fdisk -l.  And even if I could, I can't create a mount point because that requires writing to the drive.   I would like to just rsync my entire home folder (I'd lose some other things like fonts and LaTeX packages installed elsewhere but whatevs.)  What to do?


I'm trying to understand why we have to use new operator in C++. I have wrote short program:  int N; std::cin >> N; int tab[N];  for (int i = 0; i < N; i++)  tab[i] = i + 1;  for (int i = 0; i < N; i++)  std::cout << "tab[" << i << "] = " << tab[i] << std::endl;   This program works correctly. The same behavior I have noticed in C using this algorithm (instead of malloc() function).


Reading numerous news articles about COVID-19, I got confused as to what is its main transmission route. In particular, I am confused as to whether it is  direct landing of respiratory droplets in mouths and noses, contaminated surfaces, aerosols (i.e., suspensions of the virus in the air rather than respiratory droplets quickly landing in mouths or noses or on surfaces), or something else.  On the one hand, the website of the Centers for Disease Control and Prevention (CDC) says that contaminated surfaces are not thought to be the main transmission route:  It may be possible that a person can get COVID-19 by touching a surface or object that has the virus on it and then touching their own mouth, nose, or possibly their eyes, but this is not thought to be the main way the virus spreads. ()  The same website appears to suggest that the main transmission route is  direct landing of respiratory droplets in mouths and noses:  The virus is thought to spread mainly from person-to-person.  Between people who are in close contact with one another (within about 6 feet).  Through respiratory droplets produced when an infected person coughs or sneezes.   These droplets can land in the mouths or noses of people who are nearby or possibly be inhaled into the lungs.  On the other hand, the World Health Organization (WHO), like many other agencies, puts the main emphasis on washing hands. Here is the WHO's first and foremost piece of advice on how to prevent getting infected with the virus:  Regularly and thoroughly clean your hands with an alcohol-based hand rub or wash them with soap and water. Why? Washing your hands with soap and water or using alcohol-based hand rub kills viruses that may be on your hands. ()  Social distancing is mentioned on that webpage only as a second piece of advice, and, furthermore, the webpage implies that it is safe to approach coughing people as close as 1 meter away:  Maintain at least 1 metre (3 feet) distance between yourself and anyone who is coughing or sneezing.  Furthermore, I found an article saying that the virus wasn't detected in the air of hospital rooms with COVID-19 patients, but was detected on surfaces:  When researchers in Singapore tested the air in the rooms of three Covid-19 patients, they found no virus particles on cleaned surfaces or in the air even when they took samples on days the patients were symptomatic and presumably shedding virus into the air, they reported this month in the Journal of the American Medical Association. In the room of the third patient, who shed more virus, virus particles were present on ventilation fans and numerous surfaces — but all air samples were negative. ()  But the same article also says that Chinese researchers found COVID-19 aerosols near patients' toilets. My question: Actually what is the main way COVID-19 spreads?


Tips for getting latte or soda out of your keyboard?

For the first time in my entire life yesterday, I accidentally spilled some latte in my ergonomic keyboard.  The keys are starting to stick a bit now, and I was just wondering if there was some way to get those keys unstuck short of buying a new keyboard.  Update   Last week I accidentally choked on some ironically named "Berry Blast Naked Juice" and spewed it all over my Microsoft Ergonomic 4000 keyboard at work.  This time I had to clean the entire keyboard.  Ah, after watching  on YouTube on how to clean the keyboard I tried nearly the same thing on my keyboard.   I just took the keys off, and washed them in the sink.     The keyboard still works, but I had to wait an entire week for the thing to dry out enough for use.  Although the keys looked dry to me when I initially reinstalled them in the keyboard, my belief is that there was still some water drops lodged in the dark/hollow cylinders that extend up into the key.  These water droplets are probably what caused all of the extra j's I would get when pressing the backspace key when I first tried it out a week ago.  After a week of letting it dry out, it seems to work again.    A small note about reinstalling the spacebar Also one more tip I would like to add, if you are re-installing the spacebar make sure that the connected side of the wire is attached to the actual spacebar key (it snaps right into place); Also, the disconnected part of the grey wire that lies bellow the space bar should fit between the two planks that jettison away from the back and forward keys/caplocks indicator lights.    Connect this end to the  Spacebar Key   ------------------------------------  |                                    |  <- grey wire from bellow the spacebar.  |                                    |   ---                              ---   | |             |                | | <- planks                  \ /             caplocks lights


Find equivalent of recurrent sequence $u_1=1$, $u_{n+1}=1+\frac n {u_n}$

The sequence is defined: $$u_1=1, u_{n+1}=1+\dfrac n {u_n}$$  The question asks to find an asymptotic development of 2 terms for $n\to+\infty$. I have got $u_n\sim_\infty\sqrt{n} $, but how to derive the 2nd term?


Understanding the Raspberry Pi 3's power input circuit

I am trying to understand the Raspberry Pi Model 3's power input circuit, as seen :  However, I am stuck at the purpose/function of the centre subcircuit outlined in black.    What I have gathered so far is that the MOSFET - P channel enhancement type - is regulating the input power somehow based on the two PNP transistors, which are acting as some sort of current mirror. As I understand, the current flowing from the right transistor's emitter to collector should be limited by the left transistor's emitter to collector current. This current is then split to the 47K resistor and the MOSFET's gate. The MOSFET will turn on when its gate voltage is ~-0.7V with respect to its source, so I can only imagine that when the voltage drop across the right transistor is ~0.7V, the MOSFET turns on. However, I do not understand how this effects the overall function of the subcircuit, nor the purpose of the 47K resistor (is it just an arbitrary value as a pull-down for the MOSFET gate?).  Additionally, the subcircuit is marked indicating it only allows (conventional) current flow from left to right, yet since a MOSFET's channel is bidirectional, should it not allow current to pass in reverse also?  So what is the function of the outlined subcircuit?


For a while I've had an issue with my system clock in Windows 10 not being able to synchronize. I currently have the time server set to time.nist.gov, and have tried various combinations of turning "Set time automatically" on or off, but nothing allows the "Sync now" function to work. I wonder if there could be something in my motherboard BIOS to change, but I'm not sure where to start there. Obviously, this is frustrating because all sorts of time functionality with applications can get thrown off, and I'd love to finally solve it!


Can't reinstall mysql : mysql-server depends on mysql-server-5.7 however: Package mysql-server-5.7 is not configured yet

I've been trying to uninstall and reinstall MySQL on Ubuntu 16.04, I've seen plenty of methods but I can't figure out why I'm getting an error.  $ sudo apt-get install mysql-server mysql-server is already the newest version (5.7.17-0ubuntu0.16.04.2). The following package was automatically installed and is no longer required:   snap-confine Use 'sudo apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n]  Setting up mysql-server-5.7 (5.7.17-0ubuntu0.16.04.2) ... Renaming removed key_buffer and myisam-recover options (if present) Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. ● mysql.service - MySQL Community Server    Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)    Active: activating (auto-restart) (Result: exit-code) since Mi 2017-04-26 12:15:04 EEST; 5ms ago   Process: 13693 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)  apr 26 12:15:04 alex-X750JB systemd[1]: Failed to start MySQL Community Server. apr 26 12:15:04 alex-X750JB systemd[1]: mysql.service: Unit entered failed state. apr 26 12:15:04 alex-X750JB systemd[1]: mysql.service: Failed with result 'exit-code'. dpkg: error processing package mysql-server-5.7 (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.7; however:   Package mysql-server-5.7 is not configured yet.  dpkg: error processing package mysql-server (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                                                                                Errors were encountered while processing:  mysql-server-5.7  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   I've tried these steps:  sudo apt-get purge mysql* sudo apt-get autoremove sudo apt-get autoclean sudo apt-get dist-upgrade sudo apt-get install mysql-server   Everything goes well, until I use sudo apt-get install mysql-server  If I run systemctl status mysql.service:  ● mysql.service - MySQL Community Server    Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)    Active: inactive (dead) (Result: exit-code) since Mi 2017-04-26 13:30:19 EEST; 11min ago   Process: 17650 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=1/FAILURE)  apr 26 13:30:18 alex-X750JB systemd[1]: Failed to start MySQL Community Server. apr 26 13:30:18 alex-X750JB systemd[1]: mysql.service: Unit entered failed state. apr 26 13:30:18 alex-X750JB systemd[1]: mysql.service: Failed with result 'exit-code'. apr 26 13:30:19 alex-X750JB systemd[1]: mysql.service: Service hold-off time over, scheduling restart. apr 26 13:30:19 alex-X750JB systemd[1]: Stopped MySQL Community Server. apr 26 13:30:19 alex-X750JB systemd[1]: mysql.service: Start request repeated too quickly. apr 26 13:30:19 alex-X750JB systemd[1]: Failed to start MySQL Community Server.


An interesting question came up last night.   Player X is 4th lvl cleric and 1st lvl monk.   Produce flame can be thrown for d8 of damage. Its damage increases to 2d8 at 5th lvl.   Does this mean at 5th lvl overall or at 5th lvl of the specific class.   We ruled that the damage won't increase until he is a 5th lvl cleric since its a cleric spell.  If there's an official ruling for this its eluding me and I apologize!  ;-)


Apply for PhD before finishing my Master's degree

I am now in the middle of my master's degree and I plan to graduate in August 2015. I currently study in Germany and for most engineering students here it is common to finish the five-year program (3 or 3.5 years for the bachelor's degree and 1.5 to 2 years for the master's). I'm thinking about applying for robotics PhD programs at different US universities but I noticed that most of them have a deadline in December for programs starting 9 months later. I don't have any publications in any international journals because in Germany this is mostly done by PhD students. But I have worked a lot during my studies (1 year internship, part-time research in university).  I don't want to lose one year waiting to start my PhD but in the same time I think that my master thesis will be a great asset while applying for such a program, especially when I will be willing to continue my research and PhD thesis in the same field as my master thesis. Do you think I should take the GRE and apply for next December or wait until getting my master's degree? And how this would influence the selection process.


Is there a way of defining an "imaginary" number which is not i?

Assuming i does not necessarily have any other property but that it can represent (a, b) as a number in the form a + bi, how else could we define i? For instance, would it be appropriate to define a number i such that $$2^i=-1$$ instead of a number i such that $$i^2=-1$$ Are there any such numbers that are well established or some similar concept (i.e. a number which is essentially an ordered pair or, more generally, a list)?    I ask this primarily because I want to know if there is any reason not to define i in some other way, apart from the fact that there are some often used equations like Euler's formula which make use of the definition of i.


Simplify the expression $\sqrt[3]{\sqrt{5}+2}-\sqrt[3]{\sqrt{5}-2}$. Once I put it into a calculator, it gives me that $\sqrt[3]{\sqrt{5}+2}-\sqrt[3]{\sqrt{5}-2}=1$, something which afterwards is easily proved. My question is, without a calculator, how can you work out that the expression is equal to $1$?


A fair coin is tossed $n$ times. What is the probability of getting a sequence of $k$ heads?

The original problem was for the special case of $n=5$ and $k=3$. But I'm curious about the general solution. Let $X_i$ be the Bernoulli variable at $i$th toss and $X = X_1 \bigotimes X_2 \bigotimes ... \bigotimes X_n$. I'm considering the set $\{{A_i}\}_{i=1}^{m}$ with $m = n-k+1$ and $A_j=\{{x\in X : x_j=x_{j+1}=...=x_{j+k-1}}=1\}$. And I am thinking about solution how to solve for $|\bigcup_{i\in I\subseteq [m]}A_i|$ and use that to compute for probability. But it seems quite tedious; is there any elegant solution?


Sum of reciprocals of all positive integers which do not contain the digit $9$

Prove that the sum of the reciprocals of all positive integers which do not contain the digit $9$ converges.   I can't see an easy way to write out what the series is explicitly, so I think I will have to compare it to another series which we know converges and is similar.


What is the proper way to claim something as your and someone elses?

(For example, This is mine and John’s house, this is John’s and my house, this is my and John’s house..) without simply saying “our house”


Where does the dark energy of space expansion come from?

Space has a constant density of dark energy, that means dark energy does not dilute with space expansion. By consequence, any space generated by space expansion does generate new dark energy.  Currently it is supposed that 70% of all energy is dark energy, and that dark energy will continue more and more to be the dominating energy of the universe. Where does this energy come from? Is the law of conservation of energy observed?


Is $\sum_{n=1}^\infty\frac{(-1)^n}{n\log^2(n+1)}$ absolutely convergent?

Consider the series   $$\sum_{n=1}^\infty\frac{(-1)^n}{n\log^2(n+1)}.$$   Determine whether it converges absolutely or conditionally.   My attempt  S=$\sum_{n=1}^{\infty}( -1)^n$ an   an  is monotonically decreasing and it approaches zero when n approaches infinity. So series is convergent .   Doubt  How to check for absolute convergence? Ratio test fails here.


I just updated Filezilla, but now it moved strangely out of the screen bounds. CF screenshot.  I haven't found any way to make it appear entirely: the upper bar is unreachable and the app edges can only resize it! Anyone knows?  Thanks.


I don't know the [sudo] user password to install software

When I enter sudo apt-get install gksu, my [sudo] user password is requested. I don't know anything about it. Please help me in this matter. This is shown in terminal:  user@user-T12Rg-H:~$ sudo apt-get install gksu [sudo] password for user:  Sorry, try again. [sudo] password for user:


Spacings between continuous uniform random variables

Let $U_1, \cdots, U_n$ be $n$ i.i.d continuous uniform random variables on $(0,1)$ and their order statistics be $U_{(1)}, \cdots, U_{(n)}$.  Define $D_i=U_{(i)}−U_{(i−1)}$ for $i=1, \cdots, n$ with $U_0=0$.  I am trying to figure out the distribution $\lim_{n\to\infty} \#\{i = 1, \cdots, n \mid nD_i \geq z\}/n$. This must be very well known, but I cannot find a reference.


Relations between good ordinary reduction for $E/\mathbb{Q}$ and for $E/K$ with $K$ number field

Reading some articles and Silvermann's "The arithmetic of elliptic curves" I found these two different definitions for good ordinary reduction.  Silvermann, with Theorem V.3.1, says that an elliptic curve defined over a finite field with characteristic $p$ is ordinary if, for example, $E[p^r]=\mathbb{Z}/p^r\mathbb{Z}$ for every $r\in\mathbb{N}$. This implicitely says that an elliptic curve $E/K$ defined over a number field has (good) ordinary reduction at a place $v$ of $K$ if the reduction $\tilde{E}_v$ is ordinary.  From the other hand, I read in many articles that for elliptic curves $E/\mathbb{Q}$ the condition of having a (good) ordinary reduction at $p$ is equivalent to the condition \begin{equation*} p\nmid a_p:=p+1-|E(\mathbb{F}_p)|. \end{equation*}  Why is the last condition equivalent to the first?


How to copy/paste without leaving a trace

I want to generate a very safe password with gpg with 24+ characters. As it would be very cumbersome to write down the output, I was wondering if there is a way to copy it to the clipboard without leaving any trace, i.e. without any potential attacker being able to retrieve that information. In that same vein, is there a way to retrieve command line outputs by an attacker and, if so, is there a way to thwart these attempts ?  Reacting to the admittedly poignant and relevant criticisms in the comment section, I rephrase the question like this:  I want to find a way to secure my every move digitally. I figured that the best way to this is to generate secure passwords and to administer them in password managers. However, the longer the password and the more one has of them, the more burdensome it gets to copy them manually. But if after generating them on the command line and copying them to the clipboard, an attacker can get hold of them by simply installing a clipboard history manager, the whole point of doing this is moot. So the question really is how to safely generate passwords and transfer them to a manager without exposing oneself to this kind of danger.


How to mirror ENTIRELY a website with wget

I really need the command to download everything from a website. It is arnos.gr and has a lot of content on it which I want to browse locally without Internet I have an account for login


Prove $x^{rs}-1=(x^s-1)(x^{s(r-1)}+x^{s(r-2)}+...+x^s+1)$  I can see that this is true for simple results such as $x^6$ and $x^9$  How can I prove that this is true in general.


Especially if he is not using his  but .   Also what happens to the web that he leaves behind? Does it decay after certain time or lose it stickiness and drops off?


Isomorphisms between finite fields of same characteristic

Here I am taking the definition of isomorphism to be an injective homomorphism.  Suppose we have two finite fields of the same characteristic, $\mathbb{F}_{p^n}$ and $\mathbb{F}_{p^m}$ with $m<n$. Is there always an isomorphism $\phi:\mathbb{F}_{p^m}\rightarrow \mathbb{F}_{p^n}$?  If $m|n$ then we could use the same construction $\mathbb{F}_{p^m}[X]/(P)$ where $P$ is an irreducible polynomial in $\mathbb{F}_{p^m}[X]$ such that $\deg(P)m=n$. Since this would produce a field of the same characteristic and cardinality, it would provide an isomorphism.  Does anyone have any references on this topic? Thanks in advance.


How can I use ms-dos style wildcards with ls and mv?

I have the misfortune of coming from a MS-DOS background - but at least it makes me appreciate how much more powerful Linux is. I've been working on getting my Linux-Fu up to par, but there are a couple things that could be done with DOS that I'm not sure how to accomplish most easily with Linux:  Renaming Multiple Files - Using Two Wildcards  c:\> dir  Directory of c:\     file1.txt     file2.txt     file3.txt     file4.txt  c:\>rename *.txt *.bak  c:\> dir  Directory of c:\     file1.bak     file2.bak     file3.bak     file4.bak   I know I could use find -exec here but it it possible to use a shorter syntax - perhaps mv with some special flags or syntax? I guess the key to this is the second * wildcard as linux shouldn't have a problem with the first one (i.e. i know how to select the files i want to rename using wildcards)  Renaming a Single File - Using One Wildcard  c:\> dir  Directory of c:\     file1.txt  c:\>rename file1.txt *.bak  c:\> dir  Directory of c:\     file1.bak   This would be especially helpful when renaming long and unwieldy file names. I thought perhaps I could use mv file1.txt $1.bak to end up with file1.txt.bak which would also be acceptable but I'm not sure you can reference a the $1 parameter inline with a shell command. Again in this particular case it is just convenient of how ms-dos bastardizes the * wildcard to be used as a sort of capture / replace match for part of the filename.  Filtering Directory Listings with a Wildcard  c:\> dir  Directory of c:\     file1.txt     file2.txt     file3.txt     file4.txt     text.txt     \temp       (directory)   c:\> dir file*  Directory of c:\     file1.txt     file2.txt     file3.txt     file4.txt  c:\> t*  Directory of c:\     text.txt     \temp       (directory)    I'm not sure what the right syntax for doing that with ls is, or if it is even possible. If I did something like ls t* it will recurse into directories starting with t. My workaround has either been using find . --max-depth 1 -iname "t*" or something like ls -al | grep t - neither of which are as short and simple as dir t* is.  Finally, I know I can set up aliases to make these long commands shorter, but I'd like to learn some out-of-the-box linux-fu for doing these things because sometimes you're connected to a remote system or working on a new machine.  So how can I mv and ls files the same way that I used to dir and rename files?


Why the program throws a NullPointerException after printing out the first java file?

I have implemented the following two methods which are part of a program for printing the sub-directories and the .java files of directory. After printing the first directories and the first java file it throws a NullPointerException. I can't figure out the reason why it doesn't proceed with printing of the rest of the .java files. The two methods are:  public static void printAllJavaFiles(File directory) {     if ((directory.isDirectory()) || (directory.isFile() && (directory.getName().endsWith(".java"))){         print(directory);         depth++;         File[] subs = directory.listFiles();         assert subs != null;         for (File f : subs)             printAllJavaFiles(f);         depth--;     }  }   private static void print(File directory) {     StringBuilder strb = new StringBuilder();     for (int i = 0; i < depth; i++)         strb.append(" ");     System.out.println((++count)+strb.toString()+directory.getName()+" "+directory.getUsableSpace());  }    1 src 433863356416  2  .idea 433863356416  3  am223xi_assign1 433863356416  4   Area.java 433863356416  Exception in thread "main" java.lang.NullPointerException     at am223xi_assign3.PrintJavaMain.printAllJavaFiles(PrintJavaMain.java:22)     at am223xi_assign3.PrintJavaMain.printAllJavaFiles(PrintJavaMain.java:23)     at am223xi_assign3.PrintJavaMain.printAllJavaFiles(PrintJavaMain.java:23)     at am223xi_assign3.PrintJavaMain.main(PrintJavaMain.java:10)


Python sort a list of lists after ocurrences of the same value

Hi there Stackoverflowers. Have a question about sorting a list of lists first by a given value and then after how many times a given value is presented: As an example I have the following list which contains the following posts [name,year,color]: [ [fido,2012,brown],[fluffy,2018,pink],[fido,2016,yellow],[fluffy,2017,orange],[fluffy,2011,red],[minai,2018,blue]] then I sort the list with sorted like this: list = sorted(list, key=itemgetter(1)) That gives me the list sorted after name so "fido" comes first,"fluffy" second and "minai" last but "fluffy" has occured three times, "fido" two and "minai" one time. How can I sort the list so fluffy comes first since it appeared three times then fido with two times and lastly minai since it occured only once. -Regards-


How does gravity escape from a black hole?

Nothing can escape from a black hole except for Hawking radiation. Nothing can travel faster than the speed of light. Gravity travels at the speed of light. How does gravity escape from a black hole ?


One of my friend said that Ubuntu is Virus free I don't know whether it is true or not plz answer guyz I am new to this Community....


Passing an optional parameter in PHP Function

How can I pass an optional parameter to a PHP function. For example  function test($required, $optional){..}   So that i should be able to call the function by passing either one parameter or both. For example:  test($required, $optional) test($required);   Thanks.


Is it possible to convert a switched light into a non-switched outlet?

I am installing an overhead automatic garage door opener.  My only power source close to where I will be hanging the motor is an overhead light socket that is operated by a switch on the wall next to the house entry door.  I wanted to know if it is possible to rewire the light socket with a standard electrical plug outlet AND to remove the switch & wire it to provide constant power to the new outlet.  The overhead light is on my 15A garage GFI circuit & the opener lists 120V/6A as its power requirements.  Thank you


any one knows how can i install MuMuDVB 2.0.0 on ubuntu?


holomorphic functions uniformly convergent on any compact subset of an open set implies uniformly convergent on the whole open set.

In Stein's complex analysis, there is one theorem 5.3 of Chapter 2 which says that if holomorphic functions  $f_n$ converges uniformly to $f$ on any compact subset of an open set $\Omega$, then so does $f'_n$.   In his proof, he said "without loss of generality we can assume $f_n$ converges uniformly to $f$ on all of $\Omega$". So I think what he meant was that from the conditions of the theorem, we can get $f_n$ converges uniformly to $f$ on all of $\Omega$.  However, I don't know how to prove this assumption. Any help would be welcome.


Set internet priority access on program by program basis

Is there a way to prioritize which programs are using my bandwidth? For instance I often have background downloads running when I play video games but would like to make sure Dota 2 has all the internet connection it needs. Is this possible?


Is there any way to use date in format dd/MM/yy? The Google Docs support only MM/dd/yy and it cause us problems to use it (we can't sort the date column).


how to show image of a non constant entire function is dense in $\mathbb{C}$? is there any smallest proof? I have seen this as a theorem in some books but I want some elementary proof.


Footnotetext without text where it can stick to

I am having the problem that almost at the end of my document, I want to add a figure with a footnote in its captin. While this is no problem inside the document where always new text comes where I can put the \footnotetext{} so that the footnote from \protect\footnotemark is forced onto the same page as its mark, this is a problem at the end where no usual text follows anymore. I tried to put the figure inside a minipage and use \vspace to put the footnote at the end of the page (suggested in another discussion), but all that happens is that the footnote is displayed at the end of the previous page. Also I tried to add \phantom or \color{white}{any text} to create some invisible text after the image where the footnote could stick to. But without success. Here is a not so short MWE - the problem does not happen here as most of the document is deleted. Summary: what i need is to force the footnote from \protect\footnotemark and \footnotetext onto the same page as the image. Problem: footnote is on previous page.  \documentclass[a4paper,oneside,abstracton]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} %%Language settings \usepackage[english]{babel} \usepackage{csquotes} \usepackage[hypcap=false]{caption} %%Math, astro, chemical packages and options \usepackage{amsmath} \usepackage{amssymb} \usepackage{amsthm} \usepackage{amsfonts} \usepackage{amsbsy} \usepackage{mathtools} %%Paper adjustments \usepackage[a4paper,bottom=3.1cm]{geometry} \usepackage{booktabs} \usepackage{lscape} \usepackage{multirow} \usepackage{multicol} \usepackage{threeparttable} \usepackage{longtable} \usepackage{subcaption} \usepackage{afterpage} \usepackage{tabularx} %%Citations and Referencing \usepackage[]{natbib} \bibpunct[, ]{(}{)}{;}{a}{,}{,} \usepackage[nottoc,numbib]{tocbibind} \usepackage{hyperref}  \begin{document}  \begin{figure}[t] \centering \includegraphics[width=5\linewidth]{Img1} \caption{Img1 Caption.} \label{Fig:Img1} \end{figure}  \begin{figure}[h] \centering \includegraphics[width=0.5\linewidth]{Img2} \caption{Img2 Caption.\protect\footnotemark} \label{Fig:Img2} \end{figure} \footnotetext{\url{xyz}, Date.}  \begin{table}[!htb] \centering \caption{Table1 Caption} \label{Table:Table1} \begin{threeparttable} \begin{tabular}{cccc} \cmidrule{1-4} \morecmidrules \cmidrule{1-4} File Id. & Time [UT] & x & y \\ \midrule fts & long time ago & & \\ \cmidrule{1-4} \morecmidrules \cmidrule{1-4} \end{tabular} \begin{tablenotes}     \item Note 1: abc \end{tablenotes} \end{threeparttable} \end{table}  \end{document}


How to create cmd file for Java program with dependencies

My java program works fine with cmd. It takes 5arguments and also has external library. So I am running it from cmd like     java -cp .;jxl.jar MyProgram d: abc 1 d://sv 0   I would like to develop .cmd file which will run this program and also all these arguments should be passed to that cmd file and this cmd file will give it to the jar.  So what I want is   runner.cmd  d: abc 1 d://sv 0  and all these argument should get passed to java runner command.  Till now what I have done is that, I have created a cmd file with  @echo off   java -cp ,;jxl.jar MyProgram d: abc 1 d://sv 0  It works fine. Now I dont know how to pass parameters from cmd to jar.


How do I pass an argument to an operator that is called inside a panel?

I would like to be able to pass aarguments to operators that I am calling from panels/buttons but I do not know how to do that. At the moment I use "global" variables but they tend to make the code a bit like a puzzle since I need to constantly update them.  See the code below, in that example I would like to pass an argument (like ARG) to "object.simple_operator" when the button is clicked.  import bpy     def DO_SOMETHING(arg):      print(arg)  return  class SimpleOperator(bpy.types.Operator):     """Tooltip"""     bl_idname = "object.simple_operator"     bl_label = "Simple Object Operator"      @classmethod     def poll(cls, context):         return context.active_object is not None      def execute(self, context):         DO_SOMETHING(ARG)         return {'FINISHED'}    class MyPanel(bpy.types.Panel):      bl_label = "mypanel"     bl_idname = "OBJECT_PT_MyPanel"      def draw(self, context):          layout = self.layout          wm = context.window_manager          obj = context.object          row = layout.row()         row.operator('object.simple_operator')


I'm trying to show that the group $U(Z_{54})$ is cyclic.  To start, I found the divisors of 54 = {1, 2, 3, 6, 9, 18, 27, 54}  Then I started to find the elements using the powers of a.  Where $U(Z_{54})= <a>$  Therefore, $<a^{54/1}>$={ e }  $ <a^{54/2}>$= { e, $ a^{36}$ }  and such, where the last would be < $a^{54/54}$> = { e }  The things I would like to know is, how does this process show that it's cyclic? Is it because the first divisor (1) and the last divisor (54) is equal to e? Therefore creating a cycle?  Also, what would the < a > to the powers finding the elements process be called?  Thank you!


How electric currents can flow between 2 points at the same potential?

According to , if there is a potential difference, $V$, across a resistor then there is a current, $I$, flowing through it.   Since we assume that points along the connecting wire are at the same potential, how can current, $I$ flow between points at the same potential, $V$?


I deleted my home directory... can I recover it?

So I wanted to clean a directory and subdirectories from non .doc|.docx files and I ran the following command:  rm -rf /home/user/dir/dir1/dir11/ !(*.doc|*.docx)   and I just deleted my home directory (hundreds of thousands of files...). My last save is not so recent. It's not the end of the world but it would help a lot if I could recover it. So my questions are:  1) why did it go wrong?  2) can I recover the deleted directories and files? Obviously they're not in the Trash. Would testdisk or photorec help?  Thanks for the help!


How do I interpret the Warlock spell table?

Can somebody explain  for me?  Maybe I'm just slow, but I don't understand it. I've played Wizards before and  was simple to get: at 1st level you get 2 first level spell slots and 3 cantrips, at 2nd level you get one more 1st level spell slot, etc.  But when I look at  I just don't understand how to use it. What are spells known? What's the difference between invocations and spells?   I'm sorry if this is something super simple. I just don't understand it. Keep in mind I've never played Warlock before.


During a physics lab we stumbled upon a little problem. The measuring device was unstable, oscillating between two values. We were told to write down the average with the half-difference between the values as error. There is also the error on the measure due to the instrument's resolution.   Now I have to consider the global error over the measure and I'm going to sum both errors. Is it correct?


Complex Mail Problem with Postfix, PHP and Gmail / Google Apps Enterprise

Okay, so I have read a lot around about the issues im having and the solutions people are offering only solve part of the problem.    1) We have a domain  2) The domain points to our VPS with a static IP running FreeBSD  3) The domain has Google Apps configured  4) Our MX Records point to Google  5) If someone sends us an email we get it in our Gmail, fine.  6) Google apps costs 50 dollars per email address, so we want some pop3 accounts just for development of various things  7) Google is forwarding all our mail to our VPS, and our VPS has postfix and accepts mail for the domain.  8) If in PHP on the VPS we send email to our domain and it gets delivered to the local postfix accounts only    What we want is.  A) Postfix on our VPS to "accept" email for our domain and deliver it locally  B) Postfix to deliver email from our box to Google and not the local boxes    So.... the complication is that it must answer to the domain but not deliver mail locally if it originates from itself / e.g. PHP.  Does anyone have any bright ideas? This one has our network admin stumped because its easy to not deliver locally but then we cant accept incoming mail. And its easy to send all email out, but then we cant accept incoming mail.  Cheers,  Madhava Jay


How to determine roots of a complex polynomial

Let us consider an equation  $x^3+10x^2-100x+1729=0$. Will this equation have at least one complex root having modulus $>12$?


I have found a few different definitions of the term "norm" on a vector space $V$. Some of them require nonnegativity (i.e. the domain is $[0, \infty)$), while others don’t. Is there a way to derive nonnegativity from a definition like the following? A norm is a mapping $\|\cdot\|\colon V \to \mathbb{R}$ that satisfies: (N1) $\| k v\| = | k| \cdot\| v\| $ (N2) $\| v + w\|\leq \| v\| + \| w\|$ (N3) $\| v\| = 0 \iff v = 0$ This definition is taken from "Lineare Algebra" by Beutelspacher, but I have found similar definitions elsewhere.


In my VF page i have header .I want to display info icon before my text (before Note).  Vf Code
     <apex:outputpanel rendered="{!isSuccess}">                      <svg class="slds-icon slds-icon-text-default" aria-hidden="true">                 <use xlink:href="/assets/icons/utility-sprite/svg/symbols.svg#announcement"></use>             </svg>             Description of icon when needed                   Note: Please view the Records     </apex:outputpanel>


How to install Epson Perfection V600 Photo Scanner drivers

I installed the driver for : iscan-data_1.13.0-1all.deb as well iscan_2.28.1-3.ltdl7_i386.deb But the scanner does not work. How can I install the scanner drivers?


Let $a$ and $b$ be integers. Show that if $a \equiv b \pmod{p}$ for every prime $p$, then $a = b$. My attempt: Suppose that $p\mid (a-b)$ and $a-b\neq 0$. Then $p\leq|a-b| $. Since the set of prime numbers is infinite we can take $p'$ such that $p\leq |a-b|<p'$. But $p'$ divides $a-b$ as well, thus $p'\leq|a-b|$, which is a contradiction. So $a-b=0$, that is, $a=b$. I am right?


How to remove interior faces while keeping exterior faces untouched?

I built something Minecraft style model by cubes. Now I met a problem: when I'm trying to remove all interior faces, it appears that some exterior faces are influenced inevitably. I wonder if there is some better way to do it better.    P.S.: There are three things I've tried:   Non-manifold checking (Ctrl Shift Alt M) Select Interior Faces (Select -> Interior Faces) 3D Print Toolbox (Addon)   I didn't work it out so far, which leaves me no choice but manually deselect those faces I didn't want to remove, which takes quite a bit time for other cases.    There are answers like this . But I don't think it works exactly in my case.      EDIT: Is there any faster way than enabling Limited Selection to Visible then manually deselect them from different views? (it will not work effectively in complex cases that require similar need)


something happened to my Minecraft . I changed language and when I returned back to English everything came up smaller. I cannot get back to my old normal settings. Please help.


ELI5. How to add list of publications to my CV using Overleaf?

I am completely new to LaTeX, and was trying to make my CV in Overleaf. I am unable to figure out how to put my list of publications in my CV.  Any resource that I can look into?   I found some answers use \usepackage{bibentry}, but I am not able to get bibentry in Overleaf.  EDIT:-    I was using this template from . Thanks for helping and posting different resources. I went through them and found my LAME mistake. I did not use \addbibresource{} in my document.    The problem is resolved. Thanks a lot for all the help. :)


Solution to a linear combination of integers being zero

I'm not very familiar with number theory so forgive me if this is a basic question.  Consider the equation: $$\alpha \ n + \beta \ m = 0,$$ with $n,m$ being integers. One can easily see that the above equation can only have a solution when $\alpha/\beta \in \mathbb{Q}$. My question is:  Is there a general solution $(n,m)\in \mathbb{Z}^2$ for the above equation in terms of an arbitrary $\alpha,\beta$ satisfying $\alpha/\beta \in \mathbb{Q}$?


In Terraria, what are the conditions to spawn a Goblin Army, and what time does it spawn?

I'm trying to get a Goblin army to spawn.  Thus far I have:   Destroyed 1 Shadow Orb Have at least 200 HP currently and have not seen an invasion yet this game.   At what time does the Goblin Army usually spawn?  When I say time, I mean what time in the night (i.e. 12am, 1am, 2am, etc...).  Am I missing any pre-requisites to getting the army to spawn?


Why do binomial expansions involving surds get closer to integers as they get larger?

Suppose I have a binomial expansion of the form: $$ (2+\sqrt{3})^n $$ Why is it that as $n$ approaches $\infty$ that the value of the expansion becomes closer and closer to being an integer?


Why sometimes, "==" relational operator cannot be used in place of .equals() method for comparing objects?

I looked it up in a book, which is usually more thorough in terms of explanations than a website.  Take this for ex.:  if (nickname == "Bob")   The condition will be true only if nickname is referring to the same String object.  Here is a sentence I found confusing, can anyone please explain to why this is the case:     For efficiency, Java makes only one string object for every string constant.    The book points out that the way of assembling the object "Bob" also affects whether the condition will be true of not, which confuses me the most.  For ex.:  String nickname = "Bob"; ... if (nickname == "Bob") //TRUE   But if "Bob" is created from .substring() method, condition will be FALSE.  String name = "Robert"; String nickname = name.substring(0,3); ... if (nickname == "Rob")//FALSE   Why is this so?  Edit: in the end of the book's explanation, I found a sentence which also confuses me a lot:     Because string objects are always constructed by the compiler, you never have an interest in whether two strings objects are shared.   Doesn't everything we write get constructed by the compiler?


I have two tables:  STUDENTS APPLICATION  A student can apply to 1-3 programs. Student_ID is a column on Application. Table structure APPLICATION  ID  | Student_ID   | ProgramName 1   |     65432    |  ComputerScience 2   |     65432    |  Math 3   |     65432    |  Cinema 4   |     65431    |  Theatre 5   |     65431    |  Cinema   etc...  The end goal is to get to this: 1 student per row, with all their application programs Expected results First     | Last     | Program1        |  Program2 | Program3 Robert    | De Niro  | ComputerScience |  Math     | Cinema Sponge    | Bob      | Theatre         |  Cinema   |   Questions  Can this be achieved with one SQL statement? What would it be? If not, what would be the approach (and queries) to use an intermediate table?  If we're not sure each student has exactly 3 applications, (can have one or two) - does this change anything?    I am using SQL Query Activity on Salesforce Marketing Cloud. The documentation says:  SQL support for the SQL Query Activity is based on, but does not precisely correspond to, SQL Server 2005 capabilities.  Looked into PIVOT. I found that it is used with aggregation operators (AVG, COUNT, MIN, MAX, SUM, etc.) - which is not the case here.


Disable the default app key (super+num) functionality on Ubuntu 17.10 and later

I like to switch workspaces via Super+Number. But unfortunately the default behavior in Ubuntu for Super+Number is to select applications from the dock.   Is it possible to disable that functionality? I've tried overriding the keyboard shortcuts but it doesn't appear to be working.


Rooks on a 8 by 8 checker board. Probability problem

Two rooks are placed on an 8 by 8 chessboard such that they're in different squares. What is the probability they can't attack each other? Rooks can attack each other if and only if they're in the same row or column. I know that there are questions like this but they give the general numbers not the probability I am not sure how to start the questions and I have looked at this questions for hours. Any help would be welcome.


elementary numbers- set with n numbers contains subset that the sum of whose elements is a multiple of n

how can I prove a set with n numbers contains subset that the sum of whose elements is a multiple of n  I'm not sure if I can use EGZ theory here


Who discovered the Engineer's language (and how it sounded)?

On the trip to the Engineer's world, David was learning to speak their language. But where did the lessons come from? On the star maps that were left, they showed a few symbols, but   there don't seem to be enough for an entire language, and how would they know the pronunciation of the symbols?


Is there a term for coining a phrase for a word that already exists?

Usually a new term emerges and it becomes necessary to add a qualification to an old word for disambiguation.  examples:  "mono sound" versus "stereo sound" "analog watch" versus "digital watch" "acoustic guitar" versus "electric guitar" "slow food" versus "fast food"


Please I want to Know that if the radius of the black hole = 0 then how it have its surface and how it absorbs things?  $$\begin{align}  g &= \frac{Gm}{0^2} \\    &= \infty \end{align}$$  then without surface and volume how it absorbs things?


I was curious if anyone would be able to help me or give me some direction. I have a worksheet with the following sort of data.    +---+----------------+--------+-----+----------------+ |   |       A        |   B    |  C  |       D        | +---+----------------+--------+-----+----------------+ | 1 | Customer Names | Gender | DOB | Customer Names | +---+----------------+--------+-----+----------------+  Etc.   So I wanted to know whether there's a way of being able to search Column A with a predefined list of customer names in Column D, then return the unused names in another column?   I tried the following code but it seems to be repeating the names that don't match. Can anyone see where I am going wrong?  =IFERROR(INDEX($A$3:$A$1999,MATCH(0,IFERROR(MATCH($A$3:$A$1999,$F$3:$F$399,0),COUNTIF($G$1:$G1,$A$3:$A$1999)),0)),"")


Equation with conjugate (complex numbers)

I'm trying to solve this equation:  $(z-1)^3=9(\bar{z}-1)$  The problem is the conjugate.  $w=z-1$  Then:  $w^3=9(\bar{z}-1)$  Is there a relation between $\bar{z}$ and $w$?


I am running the following command, but it is not performed recursively:  find . -name *.java   I know there are java files further down in the current directory but it is performing the find on the current directory only. I am using OS X, 10.9.


How can two black holes with event horizons merge within the lifetime of the universe? Basically events are happening where events stop (to the outside observer) so does an event horizon actually exist? According to gravitational wave detectors on Earth, two black holes merged within fractions of a second.


Bounded linear integral operator and its norm

Let $$ Tx(t) = \int_{0}^{1}K(t,s)x(s) ds, \quad x\in C[0, 1],  $$ be an operator, where $K(\cdot,\cdot) $ is a continuous function on $[0,1]\times[0,1]$. Prove that $T \in \mathcal{L}(C[0,1])$ (bounded linear) and calculate the norm of T.  I would like to ask you for some help as I have no idea how I should approach the problem, the operator topics seem somewhat abstract to me.   (There is no norm candidate provided as opposed to other problems you may find, I would like to know how to figure out one, and as far as the first part of the question goes, does it suffice to show either continuity or boundedness? Which one is easier, intuitive? I would appreciate some explanation.)


Find the sum of the infinite series $\frac{1}{1\cdot 2}+\frac{1\cdot3}{1\cdot2\cdot3\cdot4}+\frac{1\cdot3\cdot5}{1\cdot2\cdot3\cdot4\cdot5\cdot6}+...$

Find the sum of the series $\frac{1}{1\cdot 2}+\frac{1\cdot3}{1\cdot2\cdot3\cdot4}+\frac{1\cdot3\cdot5}{1\cdot2\cdot3\cdot4\cdot5\cdot6}+...$. This type of questions generally require a trick or something and i am not able to figure that out. My guess is that it has something to do with exponential series or binomial series. Any help?


Which fits better: The candidate is open to work with business clients and build good relations with them. OR The candidate is open to work with business clients and build good relationship with them.


Are intercellular junctions, synapses and light-capturing photosynthetic complexes mobile?

I was reading Cell Biology by Gerald Karp and came across a section which said-     Membrane fluidity makes it possible for clusters of membrane proteins to assemble at particular sites within the membrane and for specialised structures, such as intercellular junctions, light-capturing photosynthetic complexes and synapses.   I would be obliged to know more about the topic.


How come the coffee initially tasted awful

During the part of The Hateful Eight that showed what happened before, I missed the part that explained why the coffee tasted so awful. What did I miss?


Running WAMP (XAMPP) and LAMP from One SSD, On 64-bit Windows and Linux Machines

I have an solid state drive that I develop websites on.  The reason I do this is because I work on a few different computers.  Historically, I created separate developing environments to use for each machine.  This was OK, but if the system changed for some reason, eg, new OS install, it was a pain.  So I bought a USB 3.0 enclosure and put a solid state drive in there and it's pretty darn fast, which is good.  I was working with three Windows machines and I could simply hook up the drive, launch my XAMPP server and away I went, developing websites: using Dreamweaver, Komodo, Notepad++, Eclipse, etc.  Recently, however, one of my Windows machines' hard drive went down and instead of going back to Windows in this case, I went with Ububntu 12.04.  I have several Ubuntu workstations and servers and I like Linux, so I thought his was a great opportunity to transition.  I went to work installing and trying to set up a LAMP server and, besides from XAMPP 64-bit compatibility out of the box, I'm seeing other issues with getting this Linux server running.  I will keep trying to resolve this, but in the meantime...  my question is, has anyone ever successfully run both WAMP and LAMP from the same SSD (formatted to NTFS)?  I'm sure there are lots of barriers to this happening, like local file system, OS libraries, dependencies, etc.  But I was thinking it would be cool if it could be done.  I'm no expert, so if this is just plain old stupid, please don't hesitate to let me know.


Force acting on a simple rigid body in space

So this is the question that's been bothering me:  Say you have a simple rigid body in space that is at rest or traveling with only translational motion at a constant speed. Say that the body is something like a rod and it's not rotating. So, at some point, an external force is acted on the rod, just for an instant and it is not acted along some axis that goes through the center of mass. What will happen??  My guess is that it will start rotating about the center of mass (because of torque) + it will get some translational motion towards the direction of the force. Is that correct? and if so, how much of the force becomes rotation and how much translational movement and why??  Please forgive my English and thnx in advance!!


Why mathematicians attempt to find more digits for $\pi$ since it has no last digit?

Many works and many research about irrationality of $\pi$ appear every year for predicting more digits for the tanscendental number which is $\pi$, The question that made me confused is :Why mathematicians  attempt to find more  digits for  $\pi$  since it has no last digit ?


Should one downvote answers to off-topic questions?

It annoys me when people post answers to obviously off-topic questions like , especially after those questions have already received several close votes. Migrations seem to happen rather infrequently these days, so there's probably no reputation to gain for questions that are likely to be closed. And although sure, the answer may help the OP, it also encourages bad behavior (posting off-topic questions.)  Is it appropriate to downvote these answers?   Personally, I think I could make a case for both sides.


I am in the situation where I may have the opportunity to teach C to some students. The University wants to teach them pure c, not c++, to keep the advanced c++ course separate.  Since c++ is derived from c, is there an official "c rulebook" which contains all the features of c, but none of the c++ features? The reason I want to know is so I can look up what I need to teach the students.  I once saw a (2000 page?) manual on the c++ standard. Does such a thing exist for c, even if it is 20/30 years old by now?  Regards, Ed  EDIT: I should point out I know C/C++ quite well having been teaching myself for 3 years. The only thing I don't know is what things are "officially" C and what things are "officially" C++. This is what I aim to learn so I can give the other students a better education than I could give myself.


Which fruits and vegetables should be kept in a fridge, and which outside?

I'm a bit unsure about which fruits and veggies should be kept outside the fridge and which inside. It seems that apples, oranges, and bananas, are normally kept outside, and melons, watermelons, etc are kept inside. How do I know which ones should be kept inside and which should be kept outside?  Also, apart from making sure that fruits are stored on a different rack of the fridge than veggies, are there any other guidelines about storing them? I.e certain fruits that shouldn't be stored together, or anything?


Subject-verb agreement in questions that start with wh- words

I have a sentence that says "Simon and Shirli are friends" When I want to ask about the subject, how should I ask:  Who are friends?  or  Who is friends?  Thanks!!


Question: Which partitions $P$ of $n$ give the row and column sums of some $|P| \times |P|$ $(0,1)$-matrix?  Someone comes along and gives us the partition $P=\{2,2,3,3,4\}$ of $14$.  How can we determine if there's a $5 \times 5$ matrix whose rows and column sums both give rise to that partition?  In the example, it's realized by this matrix: $$\begin{bmatrix} 1 & 0 & 1 & 1 & 0 \\ 0 & 1 & 1 & 0 & 0 \\ 0 & 1 & 0 & 1 &  1 \\ 1 & 0 & 1 & 1 & 1 \\ 1 & 0 & 0 & 1 & 0 \\ \end{bmatrix}$$ but I cheated: I generated the example partition from the matrix.    Observations:   The obvious necessary condition is that $\max P \leq |P|$. This is equivalent to asking when is $P$ the out-degree sequence of a directed graph where any vertex may have one loop.  (So the  or  could be applied in some cases, replacing each undirected edge with a bidirected edge; in fact, they would work in my above example.) If we just brute force started filling in $1$'s, we can get stuck.  Here I proceed row-by-row, placing a $1$ wherever possible: $$ \begin{array}{c|ccccc}   & 4 & 3 & 3 & 2 & 2 \\ \hline 4 & 1 & 1 & 1 & 1 & 0 \\ 3 & 1 & 1 & 1 & 0 & 0 \\ 3 & 1 & 1 & 1 & 0 & 0 \\ 2 & 1 & 0 & 0 & 1 & 0 \\ 2 & 0 & 0 & 0 & 0 & ??? \\ \end{array} $$     Motivation:  This is a first step in an attempt at answering my Mathoverflow question: .  An answer to this question might help reduce the search space.


Does $\lim_{n\to\infty} \frac{2^{n}}{n!} = 0$ hold true?

I was solving a problem in real analysis where the author used the below to support his argument. $$\lim_{n\to\infty} \frac{2^{n}}{n!} = 0$$ How does the above limit hold ?