Let $\pi (m,n)$ denote the set of prime numbers in the interval $[m,n]$  Show that $\prod_{p\in \pi(m+1,2m)}p \leq {2m \choose m} $.    My attempt: $${2m \choose m} =\frac{m!(\prod_{p\in \pi(m+1,2m)}p)(\prod_{q\in [m+1,2m]-\pi(m+1,2m)}q)}{(m!)^2}=\frac{(\prod_{p\in \pi(m+1,2m)}p)(\prod_{q\in [m+1,2m]-\pi(m+1,2m)}q)}{m!}$$  All I have to do now is explain why: $$\frac{\prod_{q\in [m+1,2m]-\pi(m+1,2m)}q}{m!} \geq 1$$  but I'm struggling with a formal proof.

Show that for every m the product of all prime numbers on the interval $[m+1, 2m]$ is  $ \le \left(\begin{matrix} 2m \\m\end{matrix}\right)$   I don't know how to do this, maybe somehow show that all the prime numbers on that interval are divisors of the combination number or something like that...


I've been reading about statistical significance and I am confused about one thing.  Say I have 100 control group and 100 experimental group(drug received). I've gathered result of test and want to conclude that there is difference btwn two groups => drug is effective.  We must start by creating null hypothesis Ho = two groups are the same. Ha = two groups are NOT the same.  our goal is to reject the null hypothesis to conclude that Ha is true.  To reject null hypothesis p < alpha = 0.05. To calculate p value we calculate z-score of Xi (each person in exp group) and then find their p-values.  Here is what I'm confused about --> so we get p-value for each individual and if its p-value < 0.05 then we say that one person's result is statistically significant? and do the same for rest 99 people and if more than 95 people's results are statistically significant we say from our experiment we can conclude that drug is effective with 95% confidence?  Another Q: Why not simply try to prove that Ha is true? instead of rejecting Ho?  Thanks in advance!

According to Wikipedia,  A result has statistical significance when it is very unlikely to have occurred given the null hypothesis  does that mean if our alternative hypothesis is true we will call our results "Statistically Significant"? which certainly shouldn't be the case.


Can someone show that the set of nonpositive rational numbers is countable ?

In this proof can I show independently that positive rationals and negative rationals are countable by using Cantor's zigzag and then say that the union of two countable sets is countable so therefore   positive and negative rationals are countable.  Is this correct ?


I am trying to use the hieroglyph package (variously known as hiero or HieroTeX) for typesetting Ancient Egyptian hieroglyphs. Having read related questions    I followed the following steps:  Download the ZIP archive from . Unzip and use WinZip to unzip the two TGZ files and their contents. Copy the two texmf folders into a single folder, which I called texmf-hiero. Using the MikTeX Console, added the textmf-hiero folder to the list of root directories. Using the MikTeX Console, ran 'Refresh file name database' and 'Refresh font map files'. Attempted to run this minimal example:      \documentclass[12pt]{article}     \usepackage{egypto}     \usepackage[psfonts]{hiero}     \begin{document}     \begin{hieroglyph}     A1 \end{hieroglyph}     \end{document}  The console output is: entering extended mode (C:/Users/dbmag/Documents/latex/hiero.tex LaTeX2e <2020-10-01> patch level 4 L3 programming layer <2021-05-11> (C:\Program Files\MiKTeX\tex/latex/base\article.cls Document Class: article 2020/04/10 v1.4m Standard LaTeX document class (C:\Program Files\MiKTeX\tex/latex/base\size12.clo)) (C:/Users/dbmag/Documents/Egyptian/texmf-hiero\tex/latex/hierotex\egypto.sty egypto.sty V2.0a (second NUMBERED VERSION :-) (C:/Users/dbmag/Documents/Egyptian/texmf-hiero\tex/latex/hierotex\EgypUtil.sty) (C:/Users/dbmag/Documents/Egyptian/texmf-hiero\tex/latex/hierotex\OT1diacr.fd))  (C:/Users/dbmag/Documents/Egyptian/texmf-hiero\tex/latex/hierotex\hiero.sty (C:\Program Files\MiKTeX\tex/latex/base\ifthen.sty) (C:\Program Files\MiKTeX\tex/latex/graphics\graphicx.sty (C:\Program Files\MiKTeX\tex/latex/graphics\keyval.sty) (C:\Program Files\MiKTeX\tex/latex/graphics\graphics.sty (C:\Program Files\MiKTeX\tex/latex/graphics\trig.sty) (C:\Program Files\MiKTeX\tex/latex/graphics-cfg\graphics.cfg) (C:\Program Files\MiKTeX\tex/latex/graphics-def\pdftex.def)))Running miktex-makemf.exe...   Sorry, but miktex-makemf did not succeed.    The log file hopefully contains the information to get MiKTeX going again:      C:\Users\dbmag\AppData\Local\MiKTeX\miktex\log\miktex-makemf.log  Running miktex-hbf2gf.exe... Couldn't open `Hier.cfg'    hbf2gf (CJK ver. 4.8.4)     Sorry, but miktex-maketfm did not succeed.  The log file hopefully contains the information to get MiKTeX going again:    C:\Users\dbmag\AppData\Local\MiKTeX\miktex\log\miktex-maketfm.log  ! Font \GA=HieroA scaled 1440 not loadable: Metric (TFM) file not found. <to be read again>                     \relax  l.136 \@declareHieroglyphicFonts                                  ?   Does anybody have any insight into how to resolve this? I'm happy to provide any other information that would be useful.

I am depressed, after trying to install HieroTeX with MikTex 2.9 and TeXnicenter for four weeks without succeeding. I installed hieroglf, it works perfectly, but has only 60 signs. I followed the main advices, so I created a folder texmf-Local , throwed in  the content of HieroTex3.5 and Hiero-Type1.3.1.4 , put the axmf , mf and sty files where I think they belong, put that directory  texmf- local in the path searched by Miktex, updated map and file databases fo Miktex. Still the files can be compiled but Hiero fonts are not found.  Te main errors I can detect from log are the following:   " No file egypto.sty.tex found" and  "  "miktex-makepk - PK font HieroB could not be created." and similar for other fonts Thanks


As I am currently tutoring a calculus student, I am creating a mock exam in LaTeX. I have a question concerning a portion of my code which I have displayed below, though, I do not know if displaying my code helps at all in any way. (See the very bottom of this post for my question.)  \textbf{Integral Identities} (and some more Derivative Identities)  Write the identities for the following indefinite integrals or derivatives in problems 5-10. In this section, you are encouraged to consult your textbook or any resource available. \textit{No work is required to be shown.}  Do not forget about the $+C$ which is required for indefinite integrals!  \begin{enumerate} \item[5.] If $n$ is an integer, then $\displaystyle \int x^n \, dx=\begin{cases} \frac 1{n+1}x^{n+1}+C &\text{if }n \not= -1 \\ \ln|x|+C & \text{if }n = -1 \end{cases}$.   \textbf{Hint: }We must consider two cases here. \begin{itemize} \item If $n \not=1$, simply state the Anti-Power Rule, which is the exact opposite of the Power Rule which you saw in problem 1. Observe that the Anti-Power Rule does \textit{not} work if $n = -1$; try it anyway with $n=-1$ and you will see why it fails.  \item For the case of $n=-1$, refer to problem 4 for a hint. For whatever antiderivative you write in the second blank, place the absolute value bars around the $x$, like this: $|x|$. This is due to a mathematical technicality for the integration of $x^{-1}$. \end{itemize}  \item[6.]  Evaluate: $\displaystyle \int e^x \, dx = e^x+C$.  \item[7.] What are the derivative identities for the following? You may wish consult your textbook as necessary. (Yes, part i. was shown already in problem 3.) \begin{table}[h] \centering \begin{tabular}{ll} i. $\displaystyle \frac d{dx}(\sin x) = \underline{\hspace{4cm}}$ & ii. $\displaystyle \frac d{dx}(\cos x) = \underline{\hspace{4cm}}$ \\ iii.  $\displaystyle \frac d{dx}(-\sin x) = \underline{\hspace{4cm}}$ & iv.  $\displaystyle \frac d{dx}(-\cos x) = \underline{\hspace{4cm}}$ \end{tabular} \end{table}  \item[8.] What are the integral identities for the following? Use problem 7 for clues. \begin{table}[h] \centering \begin{tabular}{ll} i. $\displaystyle \int \sin x \, dx  = \underline{\hspace{4cm}}$ & ii. $\displaystyle \int \cos x \, dx = \underline{\hspace{4cm}}$ \\ iii.  $\displaystyle \int -\sin x \, dx = \underline{\hspace{4cm}}$ & iv.  $\displaystyle \int -\cos x \, dx = \underline{\hspace{4cm}}$ \end{tabular} \end{table}  \item[9.] What are the derivative identities for the following? \begin{table}[h] \centering \begin{tabular}{ll} i. $\displaystyle \frac d{dx}(\tan x) = \underline{\hspace{4cm}}$ & ii. $\displaystyle \frac d{dx}(\cot x) = \underline{\hspace{4cm}}$ \\ iii.  $\displaystyle \frac d{dx}(\csc x) = \underline{\hspace{4cm}}$ & iv.  $\displaystyle \frac d{dx}(\sec x) = \underline{\hspace{4cm}}$ \end{tabular} \end{table}  \item[10.] What are the integral identities for the following?   \begin{table}[h] \centering \begin{tabular}{ll} i. $\displaystyle \int \tan x \, dx  = \underline{\hspace{4cm}}$ & ii. $\displaystyle \int \cot x \, dx) = \underline{\hspace{4cm}}$ \\ iii.  $\displaystyle \int \csc x \, dx = \underline{\hspace{4cm}}$ & iv.  $\displaystyle \int \sec x \, dx = \underline{\hspace{4cm}}$ \end{tabular} \end{table}  \item[11.] Write the formula for this integral: $\displaystyle \int \ln x \, dx=         \underline{\hspace{4cm}}$. Use your textbook or some other resource if needed. (I probably     said this enough already, haven't I? :D)  \end{enumerate}  \newpage   I want the tables to correspond with my question numbers 7,8,9,10 respectively. The table for my question #10 is being stupid, and that table of integrals is instead outputted to the next page. Any possible reason why this is happening? As in, why is this table not appearing below question #10 as I wanted? I am so confused right now.

How to influence the position of float environments like figure and table in LaTeX?   This is a general question and should collect useful answers for all users. I hope we can use this as a reference


A metric space is often defined as a set $X$ along with a mapping $d: X^2\rightarrow\mathbb R$ obeying the following identities: \begin{align*} &d(x,y)=0 \Leftrightarrow x=y, \\ &d(x,y)=d(y,x), \\ &d(x,z) \leq d(x,y)+d(y,z). \end{align*} This definition demands that $d$ map into $\mathbb R$. I find this interesting because only a few properties of $\mathbb R$ are necessary to make those three identities make sense $-$ presumably you could define something analogous to a metric space by replacing $\mathbb R$ with another set $A$, so long as $A$ has some sort of order, some notion of addition, and an additive identity $0$.  What sort of things are lost in such a generalization? Surely something falls apart if $A$ does not have a total order. Additionally, I imagine the completeness of $\mathbb R$ is important as well. But I don't have any specific examples. And I cannot really figure out why we need the field $\mathbb R$ rather than just some group or ring.  So my question is: what attributes of metric spaces depend on $d$ mapping into $\mathbb R$ rather than another, possibly quite similar, space? (e.g., ordered fields that are not complete; or complete totally ordered groups.) While there are some questions on the site discussing generalizations along the lines I've described (such as ) they focus on the aspects of metric spaces that don't depend on $\mathbb R$, whereas I'm interested in the ones that do.

Generally speaking, a metric for a space R is defined as a function from RxR -> Reals, but does it have to be? Can we define it in more generic terms such as a function from R to a field with certain properties?


I am thinking about getting a drop bar for my Merida Speeder 200 (2015). But I am told that I need to change some other parts as well.   My bike has V type brakes, 3 speed front derailleur and a 9 speed Tiagra read derailleur.   Which shifter-brake lever(I mean road bike type shifter) is compatible with my bike I don't know. Also do I need a modification on brake system? Do I need to change any other parts? Most importantly, what would the cost be?  Can you help me?

I have a two-and-a-half year old  (with a road-bike-like frame and thin tires; it's somewhere in the loosely-defined "hybrid" range) that I use to commute to work, twenty-five miles round-trip, once or twice a week. The bike has straight handlebars, and having gotten used to the idea of commuting via bike, I'm interested in upgrading to drop handlebars. It looks like I'd need new break/shift levers to go with the handlebars; the whole upgrade looks like it'd run a couple hundred dollars. This is a sizable fraction of the original cost of the bike, which leads me to wonder if I'm better off saving my money for a new bike that's a little better adapted to my use.  Is upgrading my bike's handlebars a reasonable investment?


Will Ubuntu 20.04 work fine on a Raspi 3 B, or should I use 18.04 (except things won't be updated, and the EOL is in a few months)? 3B, 1GB of RAM

I was thinking about buying a , and running Ubuntu on it. I have looked around the web, and a lot of stuff says that it's difficult for it to work on ARM processors. Has anyone figured out how to get a Raspberry pi to run Ubuntu?


I have a weird problem with my WordPress website and I am using Yoast plugin with my SEO .. after submitting my sitemap inside my google search console and the status of the sitemap is Success .. I tried to test my links by URL inspection and no matter which link I test form the links inside my sitemap the result of Coverage is Indexed, not submitted in sitemap it means that google search console can't find my link inside the sitemap but iam sure that all my links are inside the sitemap even when i try to test my home page it gives the same result Indexed, not submitted in sitemap can anyone help me fix this problem my ranking is going down every day

This is a general, community wiki  question and answer pair intended to address any questions   concerning the reasons a site or specific site contents do not appear   in search engine results.      If your question was closed as a duplicate of this question and you   feel that the information provided here does not provide a sufficient   answer, please open a discussion on .   My site (or specific pages on my site) is not appearing in search engine results.  Why isn't my content indexed and what can I do about it?


While solving problems on indefinite integrals many a times I get answers which are different from those given in my text book's answer keys page. I then verify my solution steps to ensure that even my answer is correct. Now my question is, Can it have different answers? If yes how can I ensure that all those different answers are correct?

Question:  Is it possible to get multiple correct results when evaluating an indefinite integral?  If I use two different techniques to evaluate an integral, and I get two different answers, have I necessarily done something wrong?    Often, an indefinite integral can be evaluated using different techniques.  For example, an integrand might be simplified via partial fractions or other algebraic techniques before integration, or it might be amenable to a clever substitution.  These techniques give different results.  For example, looking over a few other questions on MSE:      From : evaluate $$ \int x(x^2+2)^4\,\mathrm{d}x. $$    Via the substitution $u = x^2+2$, this becomes $$ \int x(x^2+2)^4\,\mathrm{d}x       = \frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + \frac{32}{5} + C.     $$ However, multiplying out the polynomial and integrating using the power rule gives $$ \int x(x^2+2)^4\,\mathrm{d}x       = \frac{1}{10}x^{10} + x^8 + 4x^6 + 8x^4 + 8x^2 + C    $$     From :  evaluate   $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x. $$    Simplifying the integrand using partial fractions then integrating gives $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x       = \frac{-2}{(x+1)} - \ln|x+1| + C.    $$ Via integration by parts, we get $$ \int \frac{1-x}{(x+1)^2} \,\mathrm{d}x       = \frac{x-1}{(x+1)} - \ln|x+1| + C.    $$     From : evaluate   $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x. $$    Using the substitution $u = \sec(\pi x)$, this becomes $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x       = \frac {\sec^2(\pi x)}{4\pi} + C.    $$ Using the substitution $u = \tan(\pi x)$, this becomes $$ \int \frac {\tan(\pi x)\sec^2(\pi x)}2\,\mathrm{d}x       = \frac {\tan^2(\pi x)}{4\pi} + C.    $$


I'm writing this in my script. It has other parts but I'm getting stuck on this part only.   if [[$# == $year $month $day  ]] ; then     cal $day $month $year fi   When I run this it give me this msg:  [[3: command not found   So what is the problem? is it a syntax or actual command?  Here's the rest of my script if that helps:  year=$(echo "$year" | bc) month=$(echo "$month" | bc) day=$(echo "$day" | bc)  if [[$# == $year $month $day  ]] ; then         cal $day $month $year fi

I am using the below script to move two days back when script runs at starting two days of the year and also check first and second days of every month and move two days back. if [$month="01"] && [$day="01"]; then         date="$last_month/$yes_day/$last_year"         fulldate="$last_month/$yes_day/$last_year" else         if [$month="01"] && [$day="02"]; then                 date="$last_month/$yes_day/$last_year"                 fulldate="$last_month/$yes_day/$last_year"         else                 if [ $day = "01" ]; then                         date="$last_month/$yes_day/$year"                         fulldate="$year$last_month$yes_day"                 else                         if [ $day = "02" ]; then                                 date="$last_month/$yes_day/$year"                                 fulldate="$year$last_month$yes_day"                         else                                 date="$month/$yes_day/$year"                                 fulldate="$year$month$yes_day"                         fi                 fi         fi fi  But my bad am getting the below error message Etime_script.sh: line 19: [06=01]: command not found Etime_script.sh: line 24: [06=01]: command not found


When I ask a question and it gets downvotes because it is a bad question, should I be able to join into the poo slinging match and downvote my own question? Logically I should be able to as a good citizen. Upvoting my own question would be unfair of course, but downvoting is completely different.

Once in a blue moon, I've wanted the ability to downvote my own answer to some question.  ()  Obviously upvoting one's own posts is out of the question.  But down is different.  Voting my own answer down can help me improve the site by pushing my answer lower in the ranking than another answer with a better or more situation-appropriate alternative.  It's not something I'd do often, but I would use this feature if it were available.  If implemented, I'd expect this feature to operate just like downvotes on other user's posts.  That is:   I get a few seconds to undo the downvote;  I get to remove the downvote after an edit to the post;  I lose a point for placing the downvote (CW excepted); I lose two points for receiving the downvote (CW excepted).   If you're noticing that I'd lose 3 points for downvoting my own non-CW post, congratulations! You can add!  I can think of a couple of potential downsides to this change.  The first one may be a dealbreaker; the second is probably not that big a deal.   Strategic downvoting of oneself: since you can undo the vote after an edit, and you can always edit your own posts, someone could downvote themselves soon after posting (especially on a FGITW answer) to garner extra sympathy upvotes. Badge collecting: the Peer Pressure badge just got easier, because if you have a -2 score on an answer, just downvote and delete for an instant badge.


I want to use mods in mincecraft but i dont know where to put the file or what to do with it once i have downloaded the mods... please help!

I've recently changed to the new Minecraft launcher, and I have noticed a change in the .minecraft folder layout. I can no longer install mods just by copying it over into the versions/1.6.1 jar file, as this file refreshes every time it is launched.  For those who don't know what I am talking about, here is the new layout:    I am specifically trying to install Optifine, which does work with 1.6.1. Where do I drag in the mod files now? I can't seem to find a jar file that is suited to it, except in the version folder, but as I stated above, this refreshes every time.  After copying a recent version and renaming it in the version folder, I get this error in the development console:   Unexpected exception refreshing version list java.lang.IllegalArgumentException: Version '1.6.1' is already tracked     at net.minecraft.launcher.updater.VersionList.addVersion(VersionList.java:91)     at net.minecraft.launcher.updater.LocalVersionList.refreshVersions(LocalVersionList.java:44)     at net.minecraft.launcher.updater.VersionManager.refreshVersions(VersionManager.java:47)     at net.minecraft.launcher.Launcher$2.run(Launcher.java:164)     at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)     at java.util.concurrent.FutureTask.run(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)     at java.lang.Thread.run(Unknown Source)


In a competition that i have recently taken part in, one of this questions popped out: $2^{29}$ has nine distinct digits. Find the digit that is not in the sequence. My answer will be placed as a 'Answer-your-question'.  However, my main question is: are there other methods?

The number $2^{29}$ has exactly $9$ distinct digits. Which digit is missing?   I came across this question in a math competition and I am looking for how to solve this question without working it out manually. Thanks.


General info:  SO:  Ubuntu 18.04  Script folder:  /home/Emby/Anime/canon_vids   Serie folder:  /home/Emby/Anime/Goblin Slayer   I normally execute the script at folder like this:  ./canon_vids [folder]  ./canon_vids Goblin\ Slayer/   Problem:  I want to execute the script with crontab every 10 minutes as root.  I tried adding like this but isnt working.  */10 * * * * root sh /home/Emby/Anime/canon_vids /home/Emby/Anime/Goblin\ Slayer/

System crontab:  /etc/crontab   Root crontab:  sudo crontab -u root -e   Which way is preferred? As they all run tasks within administration privilege.


I have installed a plug-in to a program on Windows 7.  However when I start the program I get a progress window saying "Please wait while Windows configures Plugin".  What is going on here? It seems that Windows Installer is running. However I would think that it would finish the installation when I installed the plugin.  I am trying to understand what is going on behind the scenes here. Does Windows ask the Windows Installer every time any program is started if the Windows Installer has an unfinished installation relating to the program or is it something in the program that makes this happen?   I stopped the Windows Installer but this did not help. Some process started it again. How can I find which process this was?  Finally, I deactivated Windows Installer and this "worked".

I ran an installer that provides a plug-in, PluginA, to the program "ArcMap.exe". Later I tried to remove this program but this did not work. The problem seems to be a bug in the plug-in installer.   I browsed the web and found the tool "Windows Installer CleanUp Utility 7.2" which I installed. I ran this utility and managed to remove the plug-in. However I noticed that when I started Outlook it had to configure itself every time :-(. Therefore I unistalled the utility.   Next I installed another plug-in to the program "ArcMap.exe", PluginB. This installer I know to be bug free. However when I start ArcMap.exe it displays "Please wait while Windows configures PluginB" and this process never ends. I have tried uninstalling PluginB and that works, but I need to have PluginB installed.   Also I still have the problem with the windows installer running each time I open Outlook.  To me it seems that "Windows Installer CleanUp Utility 7.2" has messed up my Windows installation. How do I fix this? Unfortunately I have not been wise enough to have any useful System restore points.


For example, I wanted to count how many files in my current directory have a certain extension.  I used:  ls | grep ".txt" | wc -l   This works and so does:  ls | grep ".txt*" | wc -l   But why does this not work either?  ls | grep "*.txt" | wc -l   Why does the wildcard seem to not work in the grep expression when I use it before the extension and why does it have no effect at the end (all txt files simply end with .txt so I am guessing it does not work if it was something like .txt.zip)?

While we use * to denote zero or more previous characters in grep, we use *.c to find all C files when we use it with the ls command like ls *.c. Could someone tell how the use of * differs in these two cases?


It is grammatical to use plural verb with police or the police. But when we say Delhi Police, London Police, California Police, etc., why do we use singular verb? I've seen this so many times in news.  Delhi Police asks motorists to avoid Connaught Place... Delhi Police has registered two cases...  Also the initial letter of Police is capitalized in this case. Why?

I have seen that in some scenarios word police is treated as a singular noun and in some other scenarios it is treated as a plural noun. I don't know the exact difference!  Can anybody provide few examples demonstrating the scenarios when the word police is treated as a singular and a plural noun?  Does it depends on the context only to treat it as plural or singular?  Consider these examples:      The police are blocking off the street where the accident occurred     A police officer is getting information from the neighbors.     The police department is at the corner of First and Main streets.     The New York police force has a special counter-terrorism squad     The police force is responsible for catching criminals    In the above examples, I can see the usage of 'Police' word as both singular and plural. I need to understand the exact concept when it will be as plural or singular?


If $f:[0,1]\to\Bbb R$ is continuous and $f(0)=f(1)$ show that $\forall n\in\Bbb N,\exists x_n,y_n\in[0,1]:|x_n-y_n|=1/n$ and $f(x_n)=f(y_n)$   It is supposed that I must use the intermediate value theorem, not something more advanced (like any kind of derivative or so).  The case for $n=2$ is the unique that I can prove, it is easy because if we create a function $h(x)=f(x+1/2)-f(x)$ (what is continuous because is a sum of two continuous functions) then we can see that $h(0) h(1/2)<0$ and cause the intermediate value theorem then exists a point $c$ such that $h(c)=0$ and $f(c+1/2)=f(c)$.  But for the general case $1/n$ Im lost... I was trying to see anything, with graphs, but seems too complicate. I feel that one possible solution could come from some recursive mechanic involving $f(x)$ and $h_n(x)$, but it seems too complicate and I dont think this will be the real solution.  Can you help me please, leaving some hint or so? Thank you very much.

Let $f \in C[0,1]$ and $f(0)=f(1)$.   How do we prove $\exists a \in [0,1/2]$ such that $f(a)=f(a+1/2)$?  In fact, for every positive integer $n$, there is some $a$, such that $f(a) = f(a+\frac{1}{n})$.  For any other non-zero real $r$ (i.e not of the form $\frac{1}{n}$), there is a continuous function $f \in C[0,1]$, such that $f(0) = f(1)$ and $f(a) \neq f(a+r)$ for any $a$.  This is called the Universal Chord Theorem and is due to Paul Levy.  Note: the accepted answer answers only the first question, so please read the other answers too, and also this answer by Arturo to a different question:     This is being repurposed in an effort to cut down on duplicates, see here: .  and here: .


I recently downloaded Lubuntu 14.04 64bit standard PC disc image ISO version.  I tried to burn this image using xfburn to cd and dvd, but when I check the disc for defects in the Lubuntu boot main screen, it shows:  Error found in 1 file.   What should I do?

I used UNetbootin to make a bootable USB to install Ubuntu 10.4 TLS, during installation, at 55%, I got an error [errn5] or something like that, next time I rebooted, I checked the disk to see if there's errors, at the end it said " error in 1 file ", what now ? How do I fix it? How do I know which file?


I've done nested cross-validation with 10 outer runs and 10 inner runs to evaluate different classifiers. In the end I average the accuracies of the 10 outer cross-validation runs to get a final accuracy for one classifier.  Now, I would like to do some statistical test among the classifiers to see if one classifier performs better than another.  How can this be done in Matlab (or in general) based on the cross-validation accuracies?

I trained and tested two models on the same dataset in a 10-fold cross validation manner. I want to show that one model is supreme than the other. Therefore, I want to show the better model has a higher test accuracy mean. In best practice, should I use paired t-test, unpaired t-test or other kinds of test? Should I use Welch's test if people are concerned about unequal variances?


I have a SuperMicro [10024470] Supermicro SYS-5028D-TN4T Mini- Tower Embedded Intel Processor Barebone and Supermicro MEM-DR432L-CL03-ER26 Memory 32GB DDR4 2666MHz RDIMM AND Supermicro (Seagate) 16TB 3.5. My problem is that IT didn't come w/any software(Operating System).  My question is the following:  How do I go about installing Ubuntu How do I go about getting RUFUS software to make a bootable USB drive & us the OS image file Any assistance would bee greatly appreciated.

I would like to see a full how-to guide on how to install Ubuntu.


While using the \tableofcontents function, the first entry is the page where it is located, as the pic shows. I tried to omit it with \tableofcontents*{}, also without the keys, but none of them worked. How can I get to do it?    EDIT: My code is, basically, this:  \documentclass[12pt, letterpaper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \selectlanguage{spanish}  \usepackage[notlot]{tocbibind} \setlength{\parskip}{1em}  \pagestyle{plain}  \begin{document} \maketitle  {\parskip=0pt \tableofcontents}

I want to remove the self-reference of the ToC in Latex book class as in the picture below    Can you help me?


I'm  and I noticed a strange issue.  Some questions list a "Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results." close vote:    But I have no such option under off-topic. These are the off-topic reasons I can see:    The "minimal understanding" option is not there. Reading through meta I understood the option has been removed some time ago (look in the related questions on the right), yet I see it.  Am I missing an option, is it an alias for one of the available options or is it a close vote lingering from before the voting mechanism rework?

I've found strange behavior when closing this  - I definitely see that there are 3 closing votes and 2 of them are at "Off-topic" section:   -but there are no explanations on section itself:   -while, normally, it's expected that it will appear. In custom comments section there are also no closing-votes displayed.   Perhaps it's just my browser (which is FF 26 x64 under Win) - so marking this as a "possible bug". Thank you for your attention.


We could use L'Hospital here, because both numerator as well as denominator tend towards 0, I guess. The derivative of the numerator is $$x^2\cdot \left(-\sin\left(\frac{1}{x}\right)\right) \cdot \left( -\frac{1}{x^2}\right) + 2x \cos\left(\frac{1}{x}\right)=\sin\left(\frac{1}{x}\right) + 2x \cos\left(\frac{1}{x}\right) $$  The derivative of the denominator is $\cos(x)$. So,  $$\lim\limits_{x\rightarrow 0}\frac{x^2 \cos\left(\frac{1}{x}\right)}{\sin(x)} = \lim\limits_{x\rightarrow 0}\displaystyle\frac{\sin\left(\frac{1}{x}\right) + 2x \cos\left(\frac{1}{x}\right)}{\cos(x)}$$  Is that right so far?  Thanks for the help in advance. Best Regards, Ahmed Hossam

I want to calculate the limit $\displaystyle{\lim_{x\rightarrow 0}\frac{x^2\cos \left (\frac{1}{x}\right )}{\sin x}}$.   I have done the following:    It holds that $\lim_{x\rightarrow 0}\frac{x^2\cos \left (\frac{1}{x}\right )}{\sin x}=\frac{0}{0}$.   So, we can use L'Hospital's rule:  \begin{align*}\lim_{x\rightarrow 0}\frac{x^2\cos \left (\frac{1}{x}\right )}{\sin x}&=\lim_{x\rightarrow 0}\frac{x^2\cos \left (\frac{1}{x}\right )}{\sin x} \\ &=\lim_{x\rightarrow 0}\frac{\left (x^2\cos \left (\frac{1}{x}\right )\right )'}{\left (\sin x\right )'} =\lim_{x\rightarrow 0}\frac{2x\cdot \cos \left (\frac{1}{x}\right )+x^2\cdot \left (-\sin \left (\frac{1}{x}\right )\right )\cdot \left (\frac{1}{x}\right )'}{\cos x} \\ &=\lim_{x\rightarrow 0}\frac{2x\cdot \cos \left (\frac{1}{x}\right )-x^2\cdot \sin \left (\frac{1}{x}\right )\cdot \left (-\frac{1}{x^2}\right )}{\cos x} \\ & =\lim_{x\rightarrow 0}\frac{2x\cdot \cos \left (\frac{1}{x}\right )+\sin \left (\frac{1}{x}\right )}{\cos x}=\lim_{x\rightarrow 0}\left (2x\cdot \cos \left (\frac{1}{x}\right )+\sin \left (\frac{1}{x}\right )\right ) \\ & =\lim_{x\rightarrow 0}\left (2x\cdot \cos \left (\frac{1}{x}\right )\right )+\lim_{x\rightarrow 0}\left (\sin \left (\frac{1}{x}\right )\right )\end{align*}   We calculate the two limits separately   $\lim_{x\rightarrow 0}\left (2x\cdot \cos \left (\frac{1}{x}\right )\right )$ :    \begin{equation*}\left |\cos \left (\frac{1}{x}\right )\right |\leq 1 \Rightarrow -1\leq \cos \left (\frac{1}{x}\right )\leq 1  \Rightarrow -2x\leq 2x\cdot \cos \left (\frac{1}{x}\right )\leq  2x\end{equation*} we consider the limit $x\rightarrow 0$ and we get \begin{equation*}\lim_{x\rightarrow 0} \left (2x\cdot \cos \left (\frac{1}{x}\right ) \right )=0\end{equation*}    How can we calculate the limit $\lim_{x\rightarrow 0}\left (\sin \left (\frac{1}{x}\right )\right )$ ?


I came from Ubuntu 14.04 where the windows were kept separated in their own workspace:   ALT+TAB used to show only windows active on current workspace Side Bar (Unity Launcher) used to show only windows active on current workspace   Now, in 18.04, all windows are merged in one single view when ALT+TAB is executed. How can I revert it to previous behavior?

I am looking for a clean and fast method to force GNOME in Ubuntu 14.04 to switch between active apps only on the current workspace when pressing the shortcut alt + tab.


I can solve for the cases in which $C=0$ or $B=0$. But I cannot find any idea for the case in which both $B$ and $C$ are nonzero matrices.

I know that given a $2N \times 2N$ block matrix with $N \times N$ blocks like   $$\mathbf{S} = \begin{pmatrix} A & B\\  C & D \end{pmatrix}$$  we can calculate $$\det(\mathbf{S})=\det(AD-BD^{-1}CD)$$ and so clearly if $D$ and $C$ commute this reduces to $\det(AD-BC)$, which is a very nice property.   My question is, for a general $nN\times nN$ matrix with $N\times N$ blocks where all of the blocks commute with each other, can we find the determinant in a similar way? That is, by first finding the determinant treating the blocks like scalars and then taking the determinant of the resulting $N\times N$ matrix.  Thanks in advance!


Assume we are provided with a perfectly spherical and frictionless ball of radius $R$. A point is placed on the top of the ball. A velocity $u$ is imparted on the ball to one side of the ball. How can we determine the angle subtended from the centre  at which the ball will leave the surface of the ball as it rolls down?

A small body of mass $m$ slides down from the top of a hemisphere of radius $r$. There is no friction between the surface of the block and the hemisphere. The height at which the body loses contact with the surface of the sphere is? This is how I understood the problem: First of all, the mass does not lose contact with the surface of the sphere at all, considering it is undergoing centripetal acceleration, where the centripetal force is provided by the component of the mass's weight towards the centre of the hemisphere ($mgcos\theta$, where $\theta$ is the angle between the vector of the mass's weight and its component acting towards the centre). Therefore, since only $mgcos\theta$ is responsible for the centripetal force, I can form a relationship like this:  $mgcos\theta\ =\ \large \frac{mv^2}{r}$ $ v\ =\ \sqrt{rgcos\theta}$ Taking 'h' as the height of the mass from the base of the hemisphere. $cos\theta\ =\ \large \frac{h}{r}$ Then the velocity of the mass becomes: $v\ =\ \sqrt{gh}$ The component of the mass's weight along the centre disappears only when $\theta$ becomes $90$ degrees. At this point, it leaves the surface of the hemisphere. Now, the energy of the mass at the topmost point is: $P.E\ =\ mgr$  As the body slides over the hemisphere's surface, it has a tangential velocity given by the expression I had just previously derived. So by the conservation of total mechanical energy of the body, its energy at any other point on the hemisphere is: $T.E\ =\ mgh + \frac{1}{2}mv^2$ $P.E\ =\ T.E$ $gr\ =\ gh + \frac{v^2}{2}$ $gr\ =\ gh + \frac{gh}{2}$ $h\ =\ \frac{2}{3}r$ But this would mean that the body does indeed leave the surface of the hemisphere. It just doesn't add up. Can someone please explain if my approach and assumptions are valid and how I got to this completely contradictory answer?


I really wonder :  how this photo was taken ? what is the name of such of these technique ?  how I can take such of these photographs ?  could you please teach me :)

Tunnels being naturally dark may not be the most intuitive choice for a place to take pictures. But I love the '' work that artists such as '' are putting out and they're clearly seeking out places like tunnels, caves, garages... Dark places in other words, to create their works of art. Which brings two questions to mind:   How do I go about finding places that I can accomplish this sort of 'tunnel photography.' What are some techniques that I can use to 'paint with light' in my photography once I have found some locations?


Why do we use $\Delta E_{int}=nC_{V}\Delta T$ when finding internal energy for a diatomic gas that undergoes an adiabatic process? Isn't this supposed to be used only when the volume is constant? And why is it do we choose to use this instead of $\Delta E_{int}=nC_{P}\Delta T$, even though neither is the volume nor the pressure is constant? I just don't fully understand why, and the textbook I am using doesn't really explain why.

When we try to establish a relation between the pressure and temperature in adiabatic process we come across a equation..  $dU = dq - PdV$  $dq=0$ (Adiabatic process) and,  $dU=C_v.dT$ (Heat capacity at constant volume)  Therefore, $C_v.dT = -PdV$$\tag1$  In this equation we are using heat capacity defined at constant volume but their still is some work done by the system (i.e, $PdV$ is not $0$ or $dV$ not equals to $0$).  The first part of the equation $(1)$ is implying that the volume is constant but the second part is implying that the volume is not constant (if it was there would be no work done).  Then why there is this contradiction ?


What I want to do: Detect if the player is on black concrete, and then change a scoreboard I created called reviveto 1. I'm in 1.14.4, and I can't find tutorials online for this. I assume that the command will be execute, but I'm not sure. Help appreciated!  EDIT: Need to do from a command block, sorry for forgetting this!

I'm making a Parkour Map and I need to know how to execute /execute @a ~ ~ ~ detect ~ ~-1 ~ minecraft:grass 0 /kill @p[c=1] in 1.13. It doesn't work for me, because this code was used in version 1.9 or thereabouts.  I'm  playing on PC.  How do you do execute this command in 1.13?


I am not able to understand why the PN junction does not conduct when reverse biased. Can't electrons travel from the N side through the power supply to the P side where they can jump from one hole to other to traverse the P side and then cross the depletion layer back in to the N region ?

Consider this reverse biased diode :     I read that no or very small current flows in reverse biased diode as depletion layers get widened and huge resistance is offered so no electrons can cross it. But, why the electrons or holes need to cross the depletion layer? In the diagram above, the positive charges (holes) are moving towards left and the current due to electrons is also in left, so won't the circuit be completed?


I recently ran into this series: $$\sum_{n=0}^{\infty} \frac{(-1)^n}{(2n+1)^3}$$  Of course this is just a special case of the Beta Dirichlet Function , for $s=3$.   I had given the following solution: $$\begin{aligned}  1-\frac{1}{3^3}+\frac{1}{5^3}-\cdots &=\sum_{n=0}^{\infty}\frac{(-1)^n}{\left ( 2n+1 \right )^3} \\    &\overset{(*)}{=} \left ( 1+\frac{1}{5^3}+\frac{1}{9^3}+\cdots \right )-\left ( \frac{1}{3^3}+\frac{1}{7^3}+\frac{1}{11^3}+\cdots \right )\\    &=\sum_{n=0}^{\infty}\frac{1}{\left ( 4n+1 \right )^3} \; -\sum_{n=0}^{\infty}\frac{1}{\left ( 4n+3 \right )^3} \\    &= -\frac{1}{2\cdot 4^3}\psi^{(2)}\left ( \frac{1}{4} \right )+\frac{1}{2\cdot 4^3}\psi^{(2)}\left ( \frac{3}{4} \right )=\frac{1}{2\cdot 4^3}\left [ \psi^{(2)}\left ( 1-\frac{1}{4} \right )-\psi^{(2)}\left ( \frac{1}{4} \right ) \right ]\\   &=\frac{1}{2\cdot 4^3}\left [ 2\pi^3 \cot \frac{\pi}{4} \csc^2 \frac{\pi}{4}  \right ] \\   &=\frac{\pi^3 \cot \frac{\pi}{4}\csc^2 \frac{\pi}{4}}{4^3}=\frac{\pi^3}{32}  \end{aligned}$$  where I used polygamma identities and made use of the absolute convergence of the series at $(*)$ in order to re-arrange the terms.   Any other approach using Fourier Series, or contour integration around a square, if that is possible?

Prove that : $$\sum_{k=0}^{\infty} \frac{(-1)^{k}}{(2k+1)^3}=\frac{\pi^3}{32}.$$    I think this is known (see ), I appreciate any hint or link for the solution (or the full solution).


In borderlands 2 for steam,is it possible to generate a character at a specific level and story mission point for the standard multi-player campaign?   Reason: I played borderlands 2 some years ago fully by myself. Then I played it again with my brother. Now that I'm married I started playing it with my wife but we are proceeding slow. A friend then also got interested and wants to play with me and we work on catching up with my wife to play 3 of us. And now his girlfriend also wants to join and I'm really tired of playing the story from start. Is there a way for her to generate a character that is a good fit with ours? Means the levels and the story mission fit?   I noticed that the game files are all saved locally on the computer. So I guess it should be possible to manipulate them in a way that they think the character is a normal one?

I would like to play with the same level and questlines as my friend's characters, which are mostly Level 30+ and in True Vault Hunter Mode, but some of my characters that I'd like to play are in a low level and are not yet in True Vault Hunter Mode. I would also like to have all weapon slots unlocked.     I'd rather not play through the game again to be near the same level as them.  I've checked out  but I am unsure on what fields to edit or toggle to make my characters be like what I described.


I have the same problem as described , so I tried to solve it with procedure in reply. When everything was installed I changed files according to reply and restarted computer. When computer rebooted I opened up pavucontrol and looked to input devices. I found out that mentioned fix for background noise works only for internal sound card, not for external.    Is there a possibility to enable noise/echo cancellation for external sound card - in image is listed as Audio Adapter Analog Mono?

Is it possible to do realtime noise-removal with PulseAudio, so the sound output that's coming out is smoother?


I was following the article  to understand Seriliazation.  In this its said that Java serializationUID recommended to be unique. I dont understand the reason for that.  Can someone please explain?

Eclipse issues warnings when a serialVersionUID is missing.       The serializable class Foo does not declare a static final   serialVersionUID field of type long   What is serialVersionUID and why is it important?  Please show an example where missing serialVersionUID will cause a problem.


How can I prove this? $$ \int_0^{\infty}\frac{x^{m-1}}{1+x^n}dx = \frac{\pi}{n \sin(m \pi/n)} $$ for $0<m<n$

I've been looking at  $$\int\limits_0^\infty  {\frac{{{x^n}}}{{1 + {x^m}}}dx }$$  It seems that it always evaluates in terms of $\sin X$ and $\pi$, where $X$ is to be determined. For example:  $$\displaystyle \int\limits_0^\infty  {\frac{{{x^1}}}{{1 + {x^3}}}dx = } \frac{\pi }{3}\frac{1}{{\sin \frac{\pi }{3}}} = \frac{{2\pi }}{{3\sqrt 3 }}$$  $$\int\limits_0^\infty  {\frac{{{x^1}}}{{1 + {x^4}}}dx = } \frac{\pi }{4}$$  $$\int\limits_0^\infty  {\frac{{{x^2}}}{{1 + {x^5}}}dx = } \frac{\pi }{5}\frac{1}{{\sin \frac{{2\pi }}{5}}}$$  So I guess there must be a closed form - the use of $\Gamma(x)\Gamma(1-x)$ first comess to my mind because of the $\dfrac{{\pi x}}{{\sin \pi x}}$ appearing. Note that the arguments are always the ratio of the exponents, like $\dfrac{1}{4}$, $\dfrac{1}{3}$ and $\dfrac{2}{5}$. Is there any way of finding it? I'll work on it and update with any ideas.    UPDATE:  The integral reduces to finding   $$\int\limits_{ - \infty }^\infty  {\frac{{{e^{a t}}}}{{{e^t} + 1}}dt} $$  With $a =\dfrac{n+1}{m}$ which converges only if   $$0 < a < 1$$  Using series I find the solution is     $$\sum\limits_{k =  - \infty }^\infty  {\frac{{{{\left( { - 1} \right)}^k}}}{{a + k}}} $$


If $\sum a_n$ is a convergent series and $S=\lim{s_n}$ where $s_n$ is the $n$th partial sum, how would I prove that $\lim_{n\to \infty} \frac{s_1+...+s_n}{n} = S$?   I'm not sure where to start, I've been having trouble understanding partial sums. Any tips on where to begin?

Let $\sum a_n$ be a convergent series, and let $S = \lim s_n$, where $s_n$ is the nth partial sum.   I need to prove the following:    $\lim_{n \to \infty} \frac{s_1+...+s_n}{n} = S$    How do I go about proving that proof?  Definition of a limit   $\lim_{n \to \infty} f(x) = L$ if for every number $\epsilon>0$ there is some number $\sigma >0$ such that $|f(x)-L| <\epsilon$ whenever $0<|x-a|<\sigma$


I installed Ubuntu 17.04 and Compiz + Compiz plugins. For example:   Enhanced Zoom Desktop Magnifier Negative Show Mouse etc.   After upgrading to 17.10 Compiz effect don't work. Because Unity removed for 17.10. Compiz and plugins installed and enabled but don't work.  How to fix it? Is it possible enable Compiz effects for Gnome?  For me without Compiz effect Gnome completely unusable. Because I have problems with eyes.

Now, that Ubuntu 17.10 is out, and Unity 7 is replaced with Gnome 3, is there a way to install and use Unity7?   I know Unity is still in the repositories, so it should be possible, right?


I know that elements in page objects can be initialized and used in both the following ways     Option 1:   public class LoginPage  {    WebDriver driver;    By usernameLocator = By.id("username");    By passwordLocator = By.id("password");    By loginButton = By.className("radius");   public LoginPage(WebDriver driver)  {     this.driver=driver;  }  public void with(String username,String password)  {     driver.findElement(usernameLocator).sendKeys(username);     driver.findElement(passwordLocator).sendKeys(password);     driver.findElement(loginButton).click();  } }   and also using PageFactory concept     Option 2:   public class LoginPage  {   WebDriver driver;   @FindBy(how=How.ID, using="username")  public WebElement usernameLocator;   @FindBy(how=How.ID, using="password")  public WebElement passwordLocator;   @FindBy(how=How.CLASS_NAME, using="radius")  public WebElement loginButton;   public LoginPage(WebDriver driver)  {      this.driver=driver;          //Initialize elements     PageFactory.initElements(driver, this);  }   public void with(String username, String password)  {     usernameLocator.sendKeys(username);     passwordLocator.sendKeys(password);     loginButton.click();  } }      In the above two options:    Which among the both options is a better choice? What are the trade-off's between both the following options?   Please explain

I am a beginner in learning selenium Webdriver. I am not able to understand how page object and factory models works and how it can be beneficial?    Kindly help me explain it with detailed explanation.


The sentence is:     One of the limitations of liberalization is that it increases the vulnerability of (a/the/no article) domestic market to foreign shocks.   Am I free to use either 'the', 'a', or no article in this sentence? If one is better than the others, please explain why.  And is 'domestic market' together a noun or only 'domestic' is a noun?

I can’t for the life of me figure out where to use a and where to use the — and where there is no article at all. Is there a simple rule of thumb to memorize?   The standard rule you always hear:     “If a person knows which item you are talking about then use "the"   . . . doesn’t clear things up for me, as I have no idea whether or not they know.


Is there any way I can get the finder and file, edit, go, view, windows, help and app search thing that mac os has on top of the panel?

I installed the latest version of Ubuntu (17.10) , but the problem is, I can't find the menu bars of applications in the GNOME panel. For instance, the Chrome menu bar doesn't appear on the panel like in Ubuntu 17.04 and earlier versions.


I couldn't understand how to prove that a self-complementary graph could only have 4n or 4n+1 vertices with n being a positive integer.

I've seen looking on previous questions that using  algorithm, I can construct self-complementary graphs.  I got confused at this point, because I'm not sure if I should proof that there are no graphs with $4k+2 $ or $4k+3$ vertex, in witch case the algorithm doesn't seem to be very helpful.  Is this enough to proof that the graph has to have $4k$ or $4k+1$ vertex?


\documentclass{article}  \newcommand{\reflog}[2]{\cleardoublepage    ref log --~#1 \\ #2} \newcommand{\obsform}[2]{\cleardoublepage   obs form --~#1 \\ #2} \newcommand{\lessonplan}[2]{\cleardoublepage lesson plan--~#1 \\ #2}   \begin{document}  \reflog{01 July 2015}{test test test test test } \lessonplan{01 July 2015}{test test test test test }   \obsform{02 July 2015}{test test test test test }  \reflog{03 July 2015}{test test test test test }  \lessonplan{04 July 2015}{test test test test test } \reflog{04 July 2015}{test test test test test }   \lessonplan{05 July 2015}{test test test test test }   \end{document}   If I just compile the document, it gives them in the exact order as I input them. Is there a way to say compile them according to the commands?  Say compile all \reflogs first, then \obsforms and then \lessonplan? But I still want to be able to disable this easily. So it's like an off/on switch control.  Thanks.

I want to set up a diary that compiles in two different orders: One is work by day, the other is work by project according to tags I give to the particular chunks of work I did each day.   For example, I write my diary as usual in work by day form:  2/2/15  -- bought a new screwdriver (tag: car maintainence)   -- scetched my plan for world domination (tag: world domination)  3/4/15  -- started studying physics (tag: world domination)  -- finished tax declaraction (tag: burocracy)   Compiling by project would yield tags as sections:  car maintainence    -- 2/2/15: bought a new screwdriver  world domination  -- 2/2/15: scetched my plan for world domination  -- 3/4/15: started studying physics  burocracy  -- 3/4/15: finished tax declaraction   I know this is pretty close to the literal programming paradigm the whole LaTex documentation follows: A code chunks in a document can be compiled to two different orders: For human understanding and for use by the machine. However, I want two human readable versions --say pdf-files-- as output. Is there some package that helps?


In blender 2.9, I got a selected object and need to add a new material in a new slot with a script addon. I need some examples for doing a material shader nodes tree in 2.9 Ex: How to adding some nodes like diffuse - glossy mix shader, doing the links setting parameters etc.. may there are some web link to help with that  for 2.9?

How can I define the different properties of an Cycles/Eevee material? Such things as glossy, glass, diffuse, RGB-color, emissive via python scripting?


whenever i want to install wine it five me error even some other software too give me error i try to install it from terminal   my command was this = sudo apt-get install wine   The following packages have unmet dependencies:  unity-control-center : Depends: libcheese-gtk23 (>= 3.4.0) but it is not going to be installed                         Depends: libcheese7 (>= 3.0.1) but it is not going to be installed  wine : Depends: wine1.6 but it is not going to be installed or                  wine1.7 but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by he   when i try to install it from software center. it give me following error.  This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.   in detailt  The following packages have unmet dependencies:  unity-control-center: Depends: libpulse-mainloop-glib0 (>= 1:0.99.1) but 1:4.0-0ubuntu11.1 is to be installed                       Depends: libpulse0 (>= 1:0.99.1) but 1:4.0-0ubuntu11.1 is to be installed                       Depends: libxi6 (>= 2:1.2.99.4) but 2:1.7.1.901-1ubuntu1.1 is to be installed wine1.6: Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4) but 1:1.6.2-0ubuntu4 is to be installed          Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4) but it is a virtual package   im so frustrated because of this. i really want to un install. i try to search the same problem but no solution worked for me can anyone help me please.

I am not sure what caused this error, but here is what the whole error says, and also this is sitting as a notification, and preventing me from updating any software using Update Manager - Please provide some assistance or tell me how to figure out what to do to fix it.  Could not calculate the upgrade  An unresolvable problem occurred while calculating the upgrade.  Please report this bug against the 'update-manager' package and include the following error message: 'E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.'


The problem is that then I add some input fields dynamically, the on click action which should delete the added row is not working. I know that click action has to use .on but it didn't helped. Any ideas?  Here is the .js file:      $(document).ready(function() {      $('.eventsRowsWrapper').each(function() {         var $wrapper = $('.eventsRows', this);          $(".addEventButton", $(this)).on('click', function() {             //console.log(jsFrontend.data.get('Planning.test'));             //$('.multi-event:first-child').clone(true).appendTo($wrapper).find('input').val('').attr('id', '');             $($wrapper).append('
 <input name="date[]" maxlength="255" type="text" placeholder="Data" class="datepickerClass form-control sortable ui-sortable" size="20"> <button type="button" style="float: none" class="close deleteEventButton">&times;</button>
');             $(".datepickerClass").datepicker();             $('.sortable').sortable();         });          $('.multi-event').on('click', '.deleteEventButton', function() {                 if ($('.multi-event', $wrapper).length > 1){                 $(this).parent('.multi-event').remove();             }         });     });   });   And .html:

             <input name="date[]" maxlength="255" type="text" placeholder="Data" class="datepickerClass form-control sortable ui-sortable" size="20">             <button type="button" style="float: none" class="close deleteEventButton">&times;</button>

      <button class="btn btn-warning btn-sharp addEventButton" type="button" name="addEvent">         Add event     </button>
   Here is the .

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


I have two component. 1 notification and another is chat. Whenever there is new notification, I need to update icon as well.   I read that only title class will let you change title, which is outside application.  I wanted to know if someone knows how to change favicon in angular2 without using jQuery or other third party libraries.     [Note] The reason I don't want to use third party library is, that we are upgrading our application from angular1 to angular2 and we already have libraries which is 2mb after compiling and optimizing, before optimization it is 8mb (ya, very bad!), anyway we can't afford to add another third party library.

I have a web application that's branded according to the user that's currently logged in. I'd like to change the favicon of the page to be the logo of the private label, but I'm unable to find any code or any examples of how to do this. Has anybody successfully done this before?  I'm picturing having a dozen icons in a folder, and the reference to which favicon.ico file to use is just generated dynamically along with the HTML page. Thoughts?


I am sort of confused about this. Wave particle duality says that sub atomic particles are waves.  There is something more though. What is the actual meaning of ?

I often hear about the wave-particle duality, and how particles exhibit properties of both particles and waves. However, I wonder, is this actually a duality? At the most fundamental level, we 'know' that everything is made up out of particles, whether those are photons, electrons, or maybe even strings. That light for example, also shows wave-like properties, why does that even matter? Don't we know that everything is made up of particles? In other words, wasn't Young wrong and Newton right, instead of them both being right?


Running the latest version of Windows 10 (but same thing in 1903 as well) I often stumble into a particularly annoying bug. I have two user accounts with different input language pairs (eng/rus and eng/ukr) and when switching user accounts I get my input languages broken (i.e. instead of eng/rus it would show eng/ukr or eng/rus/rus) and my typing experience is terrible.  I contacted MS support a number of times and it was awful. They tried all workarounds they could think of (including clean Windows install) but nothing helps. Ultimately they asked me to post a Windows Feedback post but of course it just hangs there with no comment or work done.  How do I get the reported Windows bug to get actually fixed?  I understand I can switch to Linux but I'm afraid of other bugs I can encounter there too.  The screenshot above demonstrates how another language option is added for no reason.    EDIT  Attached registry screenshots per comments

I installed Windows 10 on a physically German keyboard, then installed a Window English software keyboard and bought some little stickers to make my keyboard look OK.  However, Windows shows 2 keyboards installed & occasionally toggles back to German.  Note that I am not talking about removing a language (which is all that I can find when I Google).  How do I remove the German keyboard layout?


Gmail won't send to a real address; what can I do about it?  I get the error below (numbers are changed to #, letters changed to X):     The address "######@xxxx.xxxxxxx.lg.jp" in the "To" field was not recognised. Please make sure that all addresses are properly formed.

Many times, when I copy&paste an email address into the "To" field in a Gmail message, it refuses to send the email, saying that “the address has not been identified”. This is very frustrating. Is there any solution other than just manually typing the address?


With many sources on the internet it has sort of become diluted as to how and why the Heisenberg uncertainty principle still makes sense. One claims that it is due to quantum superposition and that a particle can have multiple positions and velocities at the same time while other sources claim that this happens due to the fact that we cannot pinpointed the exact position of the particle as we would need to increase the frequency of the electromagnetic wave in order to see it, but that this will cause it to alter it and some others claim that the principle has nothing to do with measurement. So are any of the right and how?

I have heard several pseudoscientific explanations about the  and find them hard to believe.  As a mathematician mainly focusing on functional analysis, I have a considerable interest in this matter. Although I still have no idea about it, I aim to truly understand it one day. For now, the question is:  Can the Heisenberg Uncertainty Principle be explained so that a non-scientist can at least get a correct idea of what it says and what not?  One of the most heard explanations is the one that says naïvely that while trying to determine the position of a particle you send energy (light) so you modify its speed, therefore making it impossible to determine the speed. If I understand well this should only be a some sort of metaphor to explain it, right?


The most useful flag I've found on SO is the "demonstrate minimal understanding" one, as there are a high number of people just asking for test questions to be answered with code without trying it themselves for example.  For the last couple of days I've been trying to use this flag and it seems to be gone from my selection; has it been removed? Have I abused it in some way? Or is there a limit to how many times we can use it in a specified time frame?

What happened to the close vote option for posts that describe an error or unexpected result but don't include the relevant code or any code!? This is on of the two most popular I use.. What am I supposed to do about questions like  now!?  I just also noticed "must show minimal understanding" is missing as well. After reading over the new option again, I am supposing that the intention is to use "not likely to be helpful for future viewers" for both of these?


I would be very grateful if you would tell me how I can find the degree of correlation between a nominal dependent variable and an independent ordinal variable. The nominal variable has only two levels: YES and NO.

I've already read all the pages in this site trying to find the answer to my problem but no one seems to be the right one form me...  First I explain you the kind of data I'm working with...  Let's say that I have an array vector with several names of city, one for each of 300 users. I also have another array vector with scores response to a survey of each user or a continuous value for each user.  I would like to know if exist a correlation coefficient that compute the correlation between these two variables so, between a nominal and a numeric/continuous or ordinal variables.  I've searched on the Internet and in some pages they suggest to use the contingency coefficient or Cramer's V or Lambda coefficient or Eta . For each of this measure the just say that they could be applied for such data in which we have a nominal variable and interval or numerical variable. The thing is that searching and searching, trying to understand every one of them, sometime is written or watching the examples that they are reasonable to use them if you have dichotomous nominal variable, except for Cramer's V, other time is not written any requirement for the type of data. A lot of other pages say that is right to apply regression instead, that is right, but I would just simply like to know if there is a coefficient like pearson/spearman for this kind of data.  I also think that is no so properly to use Spearman Correlation coeff since the cities are not sortable.  I have also built the function of Cramer'sV and Eta by myself (I'm working with Matlab) but for Eta they don't talk about any p-value to see if the coefficient is statistically significant...  In the matlabWorks site there is also a nice toolbox that says to compute eta^2 but the kind of input it needs is not understandable.  Is here someone that have done a test like mine? If you need more detail to understand the kind of data I'm using just ask me and I'll try to explain you better.


I am researching single board computers with the hope of designing on at the end of this, I am at the stage of DDR3, but can't find any good info on routing ddr3, regarding what traces need to be matched, and so on. Which traces need to be matched? I am assuming it's the DATA traces, and any traces that take data that needs to be in sync, would I be correct in thinking this? Or would it be better to match them all to avoid the chance of missing something or running into issues. Datasheet:

I'm looking for succinct yet correct guidelines for evaluating a DDR3 memory PCB layout.  I know that trace length matching, via style and back-drilling, and signal grouping all matter.  I know that each group of 8 data bits plus two associated control lines need to be length matched.  I'm seeking a good summary of all the issues, or people's experience, especially if it covers both multi-chip modules and single point to point (one CPU and one memory chip) layout.  How critical is all this stuff for small single board CPU's?  I have read  and


I have the following enum declared outside all the classes and namespaces in my project:  public enum ServerType { Database, Web } // there are more but omitted for brevity  I want to override the ToString() method with something like:  public override string ToString(ServerType ServerType) {     switch (ServerType)     {         case ServerType.Database:             return "Database server";         case ServerType.Web:             return "Web server";     }     // other ones, just use the base method     return ServerType.ToString(); }   However I get an error no suitable method found to override  Is it possible to override the enum when converting to string with my own method?

My enum consists of the following values:  private enum PublishStatusses{     NotCompleted,     Completed,     Error };   I want to be able to output these values in a user friendly way though. I don't need to be able to go from string to value again.


So, I am trying to solve a problem which involves finding the maximum depth of a tuple (for example, depth(('a',('b','c','d'),('e','f','g'))) should return 2 and depth(('a', ('b',), ('c', ('d', ('e',), f), ('g', 'h', 'i')))) should return 4. I am trying to use recursion to solve the problem where I use a counter 'c' to keep track of depth of each tuple (within the main tuple). The problem is,I get the following error, local variable 's' referenced before assignment.  My code is something like:  s=0 def depth(tuple):      do something      s=s+1      depth(some_nested_tuple)      return   What am I doing wrong?

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


Quick introduction:   I Approve one of many approval levels on my custom object the before update trigger is fired I'm searching for the approver comments but nothing's there yet (operations are not commited yet)   I would like to send the approver comments via email with before update or after update trigger (I cannot use email alert because of some complexities).  What I noticed is that when I'm trying to execute the @future method (from within the trigger handler class) that's searching for approver comments, it always works fine, I can find and send the newest comment.  As documentation states:     Each future method is queued and executes when system resources become available.   Maybe the fact that the @future method always runs after the trigger is just an accident but I'm wondering if there's some sneaky logic under the hood like (i.e) the resources become available always after the trigers' cycles, and not earlier. Is there? Or can I rely on this behavior?

Is there a way for @future annotated method to start execution before the synchronous request which invokes it has completed.  In other words, do I have some guarantees that the timing will look like this:  -start sync---call future---end sync---execute future->   instead of like this:  -start sync---call future---execute future---end sync->   I couldn't find the execution order guarantees in the documentation, although  states:     The reason why sObjects can’t be passed as arguments to future methods   is because the sObject might change between the time you call the   method and the time it executes. In this case, the future method will   get the old sObject values and might overwrite them.  To work with   sObjects that already exist in the database, pass the sObject ID   instead (or collection of IDs) and use the ID to perform a query for   the most up-to-date record.   This can be read as saying that the future is not queued at the end of the transaction, otherwise Salesforce could guarantee that the sObject sent is the most recent version. And since it's queued during the transaction, it might imply that it also might execute and complete while the synchronous transaction is still running.  On the other hand,  implies that futures are only fired after the transaction completes:     Invoking Database.rollback not only rolls back inserts, but it goes   much, much further.   [...]   It also rolls back:      Calls to @future methods. Any methods called within the rolled back part of your script will not be invoked (also why @future doesn't start until your script completes).


I use retrofit to get the response correctly, then I pass the response to an object in the response body, while it fails to get the object in UI thread, there is a NullPointerException Error, I think it's the problem of the asynchronous request, how can I avoid this problem?  protected void onCreate(Bundle savedInstanceState) {     super.onCreate(savedInstanceState);     setContentView(R.layout.activity_main);      button = findViewById(R.id.button);      util = new Util(this);     button.setOnClickListener(new View.OnClickListener() {         @Override         public void onClick(View v) {             util.login("sdjfl@gmail.com", "sdjflsdkf");              // There is a NullPointerException? How Can I             // use this methond correctly in this way?             Log.d("user", util.getUserInfo().toString());         }     }); }  public class Util {     private UserInfo userInfo;      public UserInfo getUserInfo() {         return userInfo;     }      public void login(final String email, final String password) {         Call<UserInfo> loginCall = apiInterface.login(email, password);         loginCall.enqueue(new Callback<UserInfo>() {             @Override             public void onResponse(Call<UserInfo> call, Response<UserInfo> response) {                 userInfo = response.body();         }          @Override         public void onFailure(Call<UserInfo> call, Throwable t) {         }     }); }

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


I am implementing comments section using ajax. Comments have options reply and delete. When they are clicked, reply form or delete confirm options are shown.    After clicking delete, it expands :    The problem is that after a new comment is posted through ajax, jquery for the new comments aren't loaded and so these buttons don't work.  How do I reload the jquery of the page without page refresh and get these new comments to work? Any solution? Thanks !

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


Find a general solution to $x^2-2y^2=1$  I found that (3,2) is a solution. Now what should I do? I can not catch what the question really want.  It is about pell's equation. Would you give me a form of general solution?

For the Pell's equation where $d=2$: $$x^2-2y^2=1$$ What are all the integer solutions to the equation. Apparantly there are infinitely many solutions, but how would I represent them in an expression?


From yesterday while playing a game I suddenly got a BSOD saying kernal security check failed. The system restarted and after few minutes I got another BSOD but this time the screen was all full of random lines that I couldn't read the error message.  I reinstalled windows but again after few minutes of Windows started, while I was trying to install different apps again another BSOD. And now every time I start windows it hits a BSOD after some minutes.  I ran the checks on hard drive but they passed all of the tests.  I tried to run Windows memory test but it didn't show any error messages but simply said "Hardware problems detected"  So not sure what is the problem as I have lot of work to do so I need a quick solution.

I own, an about a year old, rig which carries quite the punch. And for a year, I was happy. Not that long ago things began to crumble.  I first detected the problems running my dual monitor setup. For some reason, tearing and artifacts are appearing when I run with two monitors plugged in my nVidia GTX 460. I thought it was a graphics hardware problem and switch to an older RADEON 5850, but the problem did not go away.  I began experiencing BSODs on very specific things related to USB devices. If I shutdown the computer with my external banking security device plugged, it will BSOD, if I connect my external Rig Kontrol 3 audio interface it will BSOD as soon as I try to run any ASIO applications that use the audio interface. I also noticed magic ISO randomly blue screening the computer.  I've learned to avoid these BSODs because they are very predictable and the computer feels stable enough, but it also feels a lot slower than it used to be. The problem is that I have no way of actually measuring this, it's only a feeling I have, that something is a miss. If only there was to a way to compare my benchmarks against other systems with similar hardware.  This seems to be mostly noticeable during software installation processes and during draw calls in Windows.  I'm not ruling out that there's a problem with my GTX 460 card, but I think my motherboard is bad and thinking about replacing it. I've ran all diagnostic tools I know of (memtest, scan disk) to rule out memory issues and corrupt drivers. I've tried reinstalling everything, but to no avail. If anyone have any experience dealing with this kind of situation I love to hear about it. Because I hate to throw away money on something which wont fix the problem.  Edit  The motherboard in question is a Gigabyte P55 UD4 R1.1. BIOS F9 from 06/25/2010. Though that reminded me about another problem I have. If I run the @BIOS update utility the computer will BSOD. This used to work fine, but at the same time everything else started to break down, I got instant BSOD if I tried to launch that program.  Edit 2  I'm gonna keep adding to this question for every time I experience another damned and forsaken hardware glitch until I get a satisfactory answer/solution to this.  Today, the computer ran through POST then black, just black. Everything appared to be fine, except no video signal... reboot. same thing, but this time the POST screen never appeared. After a minute or so the video signal came back. I checked the cables, didn't find anything that indicated a loose connection.  I'm placing a order for a new mainboard today.


I have a latex 'control' file that calls another file.  The control file produces a header and footer on each page.  There are some pages with a sidewaysfigure, that I wish to remove the header and footer from.  I was advised that I could do this using \thispagestyle{empty} in the sidewaysfigure environment, but the header and footer still appear.  Below are my files which give a minimum working example:  Control file:  \documentclass[12pt,twoside]{ociamthesis}  % default square logo   \usepackage[bottom=37mm,top=10mm,left=33mm,right=33mm]{geometry} \usepackage{natbib} \usepackage{calc} \usepackage{aas_macros} \usepackage{color} \usepackage{longtable} \usepackage{amsmath, amsthm, amssymb, amsfonts} \usepackage{fourier} % The Fourier font package. \usepackage{microtype} % Apparently this makes pdfs look nicer. \usepackage{graphicx} \usepackage{longtable} \usepackage{eucal}  \usepackage{hyperref}  \usepackage{multicol} \usepackage{nomencl} \usepackage{geometry} \usepackage{setspace} \usepackage{rotating} \usepackage{changepage}  \usepackage{subfigure} \usepackage{dcolumn} \usepackage{booktabs} \usepackage{xfrac} \usepackage{fancyhdr} \setlength{\parindent}{0pt} \usepackage[font={footnotesize}]{caption} \let\oldtabular\tabular \renewcommand{\tabular}{\footnotesize\oldtabular} \include{mymacros} \makenomenclature \renewcommand{\nomname}{List of Symbols} \renewcommand*{\nompreamble}{\begin{multicols}{2}} \renewcommand*{\nompostamble}{\end{multicols}} \setlength{\columnsep}{3em} \title{Test title} \abstracttitle{} \author{a.n.other}             %your name \DeclareMathSizes{12}{13}{8}{10}  % For size 12 text  \begin{document} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\leftmark} \fancyfoot[CE,CO]{\thepage} \baselineskip=24pt plus1pt % this looks about double-line \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \pagenumbering{arabic} \newgeometry{bottom=4cm,top=4cm,left=3.2cm,right=3.2cm} \baselineskip=24pt plus1pt \doublespacing \include{test}  \end{document}   File with figure:  \chapter{Test Chapter} \ifpdf     \graphicspath{{Chapter3/Chapter3Figs/PNG/}{Chapter3/Chapter3Figs/PDF/}   {Chapter3/Chapter3Figs/}} \else     \graphicspath{{Chapter3/Chapter3Figs/EPS/}{Chapter3/Chapter3Figs/}} \fi  \begin{sidewaysfigure*}[] \thispagestyle{empty} \begin{center} \includegraphics[ width=200mm]{anything.png} \caption[]{Figure caption here.} \end{center} \end{sidewaysfigure*}

I have a Latex document with headers on each page.  On the pages where I have a 'sidewaysfigure', I want to remove the headers, because sometimes, the white borders of the large sideways figures overlap the header.  Is it possible to remove headers on pages where there are sidewaysfigures?    Edit -   So here is my minimal working example. I have a main file which calls the other files - sorry I don't know the correct terminology. It's called testlatex.tex. It calls a file called test.tex which has the sideways figure.  I have     \thispagestyle{empty} in the sidewaysfigure environment, but the header and footer still appear.  testlatex.tex:  \documentclass[12pt,twoside]{ociamthesis}  % default square logo   \usepackage[bottom=37mm,top=10mm,left=33mm,right=33mm]{geometry} \usepackage{natbib} \usepackage{calc} \usepackage{aas_macros} \usepackage{color} \usepackage{longtable} \usepackage{amsmath, amsthm, amssymb, amsfonts} \usepackage{fourier} % The Fourier font package. \usepackage{microtype} % Apparently this makes pdfs look nicer. \usepackage{graphicx} \usepackage{longtable} \usepackage{eucal}  \usepackage{hyperref}  \usepackage{multicol} \usepackage{nomencl} \usepackage{geometry} \usepackage{setspace} \usepackage{rotating} \usepackage{changepage}  \usepackage{subfigure} \usepackage{dcolumn} \usepackage{booktabs} \usepackage{xfrac} \usepackage{fancyhdr} \setlength{\parindent}{0pt} \usepackage[font={footnotesize}]{caption} \let\oldtabular\tabular \renewcommand{\tabular}{\footnotesize\oldtabular} \include{mymacros} \makenomenclature \renewcommand{\nomname}{List of Symbols} \renewcommand*{\nompreamble}{\begin{multicols}{2}} \renewcommand*{\nompostamble}{\end{multicols}} \setlength{\columnsep}{3em} \title{Test title} \abstracttitle{} \author{a.n.other}             %your name \DeclareMathSizes{12}{13}{8}{10}  % For size 12 text  \begin{document} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\leftmark} \fancyfoot[CE,CO]{\thepage} \baselineskip=24pt plus1pt % this looks about double-line \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \pagenumbering{arabic} \newgeometry{bottom=4cm,top=4cm,left=3.2cm,right=3.2cm} \baselineskip=24pt plus1pt \doublespacing \include{test}  \end{document}   Test.tex  \chapter{Test Chapter} \ifpdf     \graphicspath{{Chapter3/Chapter3Figs/PNG/}{Chapter3/Chapter3Figs/PDF/}   {Chapter3/Chapter3Figs/}} \else     \graphicspath{{Chapter3/Chapter3Figs/EPS/}{Chapter3/Chapter3Figs/}} \fi  \begin{sidewaysfigure*}[] \thispagestyle{empty} \begin{center} \includegraphics[ width=200mm]{anything.png} \caption[]{Figure caption here.} \end{center} \end{sidewaysfigure*}


I'm running a vanilla minecraft server, and I have some custom commands set up for staff using scoreboard triggers. I want to set up some sort of trigger command that can kick and one that can ban (this one just for admins).   I understand that /kick and /ban won't work from command blocks, though. Is there a workaround for this (especially the kick command) that I could implement for mods and admins?

Every time I open my world to LAN, people join and start destroying stuff. I want to ban them, but every time I ask someone for help they can't ban them.


I have the latest macos (BigSur or Catalina I think) on a new Macbook Air. When I have poor wifi reception (e.g. I go to garden and I'm too far from the rooter) or if the internet connection is slow then when I open the lid of the mac I see the screen later than normally and the keyboard and mouse are unresponsive for a minute - sometimes even mac notices that and asks if I would like to connect a bluetooth keyboard. Everything is normal when I'm on a normal internet connection. SO basically, WTF? I heard that Apple introduced some software that validates hashes of running programs before they are allowed to run, and it does it over the internet. So it sounds like this is the issue. Any solutions to that (besides speeding up the connection)? EDIT: OK, now I know, this is called notarization and not only I have such issues:  Are there any workarounds?

I'm a software developer and as such I build and run programs hundreds of times per day. I've noticed that since I started using Catalina, after compiling and linking there is a delay (which can be seconds) when the internet is slow or having problems (I have bad internet often). If I disable wifi and rebuild, the delay goes away. How can I disable this so my builds run faster?


Basically the plot goes like this (As far as I can remember).  The Earth is discovered by a group of Galactic civilizations, and is encouraged to join.    We begin to download massive amounts of information from the different civilizations, and as the story goes on, the main character (whom I believe is an ambassador for the human race) discovers that it is all a sham, and that we are part of a giant galactic poker game, with the losers being "retired", i.e. exterminated, and the information is the poker chips in the game, and we are accumulating obligations for each piece of information.

I need help remembering a SciFi book with an economics theme to it, and it was sort of Dragon related.   There was one SciFi story I read a long time ago that I can never remember the name of. It was about a galaxy where free enterprise was the name of the game, so long as you didn't break any laws almost anything went. Most sentient races were reptilian, and the galactic head honchos were a species we called Dragons. Mammals were by default second class citizens, so we had two strikes against us for being the new kids and for being hairy lumpy mammals.   The only other species that would talk to us were these giant rat things that made their living as galactic trash pickers and gossip mongers. The rest of the universe didn't care about humans at all. Even intelligent flowers had higher galactic status.   And somehow a lost colony figured into it all. We had a colony once and it had been wiped out by the flowers. Only, they weren't all gone. They were being used a slave labor. One of our ambassadors finally got to talk to a dragon, and the dragon quoted some obscure bit of galactic law. Which ended the story with a mercenary human army being hired by one race to clear out the flowers, and us getting our colony back.


I am making a presentation in LaTeX using \mode<presentation>, which gives me a slide-show format, which is exactly what I want to get. Unfortunately, using slides means that in my bibliography I can fit only 4 references per slide. When I use \printbibliography with tens of references I cannot fit them all on one slide.  Hence I was wondering- is there a way of printing references 1-4 on the first slide, then references 5-8 on the second etc.?

I have several citations in a beamer-based presentation.  Is it possible to split the bibliography across two slides?  I'm using natbib / bibtex.  And I currently just have:  \begin{frame}  \tiny  \bibliographystyle{apalike} \bibliography{Biblio-Database}  \end{frame}   But we're to the point where even tiny won't cut it.  Is there anyway to do this?  I'd really prefer to not create the bibliography by hand because I once had it 'stuck to me' that I omitted an entry in the bibliography (which I'd created by hand)... nothing quite like ending on a clerical omission...


This is the code it runs as I want it to but the output 'name' from the table in database always shows i.e. Â£101 instead of £101 what do I need to correct in the code shown?   <?php     header('Content-type: text/xml; charset=UTF-8');   $host = "host";  $user = "testing";  $pass = "abcdefghikans";  $database = "test";   $linkID = mysql_connect($host, $user, $pass) or die("Could not connect to host.");  mysql_select_db($database, $linkID) or die("Could not find database.");   $rss = '<?xml version="1.0" encoding="UTF-8"?>';  $rss .= '<rss version="2.0">';  $rss .= '<channel>';  $rss .= '<title>Competition Feed</title>';   $numStart = gmmktime(0, 0, 0, date('m')-1, 1, date('Y')); $numEnd = gmmktime(0, 0, 0, date('m'), 1, date('Y'))-1;  $sql = "SELECT name FROM table WHERE active = '0' AND closedate >= '$numStart' AND closedate <= '$numEnd' AND value >=100 ORDER BY value DESC";  $query = mysql_query($sql, $linkID) or die("Data not found.");  while ($row = mysql_fetch_array($query)) {    $rss .= '<item>'; $rss .= '<description>'.$row['name'].'</description>'; $rss .= '</item>';  }   $rss .= '</channel>';  $rss .= '</rss>';   echo $rss;  ?>

I'm setting up a new server and want to support UTF-8 fully in my web application. I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1.  Where exactly do I need to set the encoding/charsets? I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur?  This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.


I have proved this for the square root of n, but not for any root of n. To prove this where k=2, I showed that: If n is a perfect square then $\sqrt n$ is an integer and not irrational. If $n$ is not a perfect square, assume to the contrary that $\sqrt n$ is rational and can be written as $\frac{a}{b}$. $\sqrt n$ = $\frac{a}{b}$ where $a,b$ are integers with $GCD(a,b) = 1$ then $ n = \frac{a^2}{b^2}$ where $b \neq 1$ But $\frac{a^2}{b^2}$ is not an integer so there is a contradiction. So $ \sqrt n \neq\frac{a}{b}$ and $\sqrt n$ must be irrational. How would I expand this to show that it works for any value of $k$ where $k$ is the $kth$ root of $n$?

It is well known that $\sqrt{2}$ is irrational, and by modifying the proof (replacing 'even' with 'divisible by $3$'), one can prove that $\sqrt{3}$ is irrational, as well.  On the other hand, clearly $\sqrt{n^2} = n$ for any positive integer $n$.  It seems that any positive integer has a square root that is either an integer or irrational number.        How do we prove that if $a \in  \mathbb N$, then $\sqrt a$ is an integer or an irrational number?      I also notice that I can modify the proof that $\sqrt{2}$ is irrational to prove that $\sqrt[3]{2}, \sqrt[4]{2}, \cdots$ are all irrational.  This suggests we can extend the previous result to other radicals.        Can we extend 1? That is, can we show that for any $a, b \in \mathbb{N}$, $a^{1/b}$ is either an integer or irrational?


I’m trying to use CSS to make all my buttons this style:  button {   background-color: #4CAF50;   border: none;   color: black;   padding: 15px 32px;   text-align: center;   text-decoration: none;   display: inline-block;   font-size: 16px;  }   But now, I have a different type of button where it is <input type=“button>. I tried changing the CSS to make it include buttons AND inputs like this:  button, input {   background-color: #4CAF50;   border: none;   color: black;   padding: 15px 32px;   text-align: center;   text-decoration: none;   display: inline-block;   font-size: 16px; }   The problem with that, it makes ALL inputs, like text fields green. So is there any way that I can make my inputs, ONLY ones that have the button type be styled?

Is there any way with CSS to target all inputs based on their type? I have a disabled class I use on various disabled form elements, and I'm setting the background color for text boxes, but I don't want my checkboxes to get that color.   I know I can do this with seperate classes but I'd rather use CSS if possible. I'm sure, I can set this in javascript but again looking for CSS.  I'm targeting IE7+. So i don't think I can use CSS3.  Edit  With CSS3 I would be able to do something like?  INPUT[type='text']:disabled that would be even better get rid of my class altogether...  Edit  Ok thanks for the help! So here's a selector which modifies all textboxes and areas which have been disabled without requiring setting any classes, when I started this question I never thought this was possible...  INPUT[disabled][type='text'], TEXTAREA[disabled] {        background-color: Silver; }   This works in IE7


I'm wondering if its possible to access the root files on my Ubuntu Phone E5 from my computer. I know I can access them from the terminal on the phone but its not ideal using that touchscreen to explore. Is there a way to gain access to these files from my elementary os (freya, based on ubuntu distro)?  Thanks

in our company we developed an android app installed on nexus 7 tablets and on tablet we release to several customers. This app stays in foreground active 24/7 but we have problems in monitoring  the devices due to the restrictive access policies of unrooted Android devices.   We can't for example reboot the device remotely.  We are evaluating the possibility of installing Ubuntu touch to replace android on this tablets. Does Ubuntu touch offer more freedom for the remote access of the device? May I do remotely everything I could do normally with the tablet?   Moreover, are the apps developed with ubuntu sdk stable enough to run 24/7?  Thanks


grep '^\([[:alpha:]]\{1,\}\) .* \1$' myfile.txt    catches   abc whatever whatever abc aaa whatever whatever aaa   I thought my grep would only catch the second line that start with "aaa" because ^\([[[:alpha:]]\{1,\}\) only produces strings, such as a | aa | aaa | b | bbbb, not ab | abc.  How is it also outputting the first line as well?

. means match any character in regular expressions. * means zero or more occurrences of the SINGLE regex preceding it. My alphabet.txt contains a line  abcdefghijklmnopqrstuvwxyz   Doesn't grep a.*z alphabet.txt mean match any substrings that start with a, with zero or more occurrences of any type of SINGLE character in between them, and end with z? For example, abz, abbz, ahhhhhz, but not abbdz?  I thought grep a.*z alphabet.txt wouldn't catch the line in my alphabet file.


Assume: (a) $\{f_n\} \subset L^p$,  (b) $f_n \to f \text{ }\mu\text{-a.e.}$ and (c) $\|f_n\|_{L^p} \to \|f\|_{L^p}\to0$.   Then show that $$\|f_n - f \|_{L^p} \to 0$$ using Fatou's Lemma, first for $p=1$ and then for $p>1$.  I looked at the function $g_n = |f_n|+|f|-|f_n-f|$. It turns out that using Fatou's Lemma on $g_n$ gives: $$\liminf_{n} \int|f_n-f|d\mu=0$$ only, leaving the case of $\limsup_n$. I noted however, that:  $$|g_n|\leq|f_n| +|f|$$  and DCT can be applied for at least the case of $p=1$ to prove $\|f_n-f\|_{L^1}\to 0$. I suspect for $p>1$ Minkowski's inequality will become handy. Am I correct. Is there an elegant way to use Fatou's Lemma here?

Let $1\leq p < \infty$. Suppose that    $\{f_k\} \subset L^p$ (the domain here does not necessarily have to be finite),  $f_k \to f$ almost everywhere, and  $\|f_k\|_{L^p} \to \|f\|_{L^p}$.    Why is it the case that $$\|f_k - f\|_{L^p} \to 0?$$   A statement in the other direction (i.e. $\|f_k - f\|_{L^p} \to 0 \Rightarrow \|f_k\|_{L^p} \to \|f\|_{L^p}$ ) follows pretty easily and is the one that I've seen most of the time. I'm not how to show the result above though.


What's the difference between defining methods on a prototype individually vs via an object?  Example:  function Example() {   this.Test(); }  Example.prototype.Test = function() {   alert("Example"); };   instead of:  function Example() {   this.Test(); }  Example.prototype = {   Test: function() {     alert("Example");   } };

Could you explain the difference between setting methods in the constructor and through prototype object? The following code shows these two ways of setting the methods - say_hello and say_bye both work fine:  function MessageClass() {   this.say_bye = function() { alert('see ya'); }; }  MessageClass.prototype.say_hello = function() { alert('hello'); };  x = new MessageClass(); x.say_hello(); x.say_bye();


The book was about a girl (I don't remember her name) who can talk to animals.  I remember that she had a friend cat, and in the beginning she asked the cat something like, "how do I look?" to which he replied "like a human."   At one point she goes to marry this guy named or titled Kahn(?) and she makes friends with another girl named Maya who is really good swimmer. They travel through a desert together.

I read this book in 2016, but I remember the cover being torn up, so it couldn't have been a new book. There was a girl's face on the cover. She had lightly colored skin, and beautiful emerald green eyes. Her hair was a dirty blond. This book was first in a trilogy and the cover was illustrated.  The girl's grandmother in the story was actually a phoenix (I think this was revealed in a different book in the trilogy though). The book started out in a small village, and I can't remember exactly where in the village chapters (the chapters that took place in the village) but she sneaked her deceased mother's green dress out of a trunk she wasn't supposed to go in, and I think she wore it to some event.


I'm not an expert on the subject, but I was wondering what's the difference between "Riemannian Geometry" and "Differential topology". To me the names suggest they're different things, but looking through some of the books preview they seem to have similar content.  Can anyone clarify? Is maybe one a subset of the other? What sorts of problems do they allow to solve that the other doesn't etc.

I have just finished my undergraduate studies. During last two semesters I've taken two subjects dealing with manifolds:   Analysis on manifolds, containing: definition of manifold, tangent space (as derivations and classes of curves), vector fields, vector bundles, flows, Lie derivatives, integration on manifolds (Stokes theorem), forms, Hodge decomposition theorem Introduction to differential geometry (for me it should be called introduction to Riemannian manifolds) containing: tensor calculus introduction, Riemannian manifold definition, connections, curvatures, geodesic, normal coordinates, geodesic completness theorem, classification throught curvature, jacobi fields, harmonic maps.    Now, for me differential geometry was/is a theory about manifolds, so anything dealing with manifolds is branch of differential geometry. On the other hand I am preparing for taking part in local conference called: "algebraic and differential topology".  I have read: ,  ,  , yet I still don't really know if differential topology is subtheory of differential geometry or is it seperate theory and how is it located between differential geometry and algebraic topology. For example I expect that studies on Riemmanian manifolds are part of differential geometry but would problem of classification manifolds up to diffeomorphism be a part of differential topology or geometry ?  Request: I would be grateful for your characterisation of differential topology and differential geometry possibly with examples of problems, theorems present at them.