Book series where they collect either stones or gems

I'm looking for a fantasy book I read about 10 years ago. I don't remember a lot of it, but there are a few things I still know:   The setting was in medieval times. There was no traveling dimensions. I can't recall whether there was magic or not. It wasn't on Earth, but on some invented world. I believe it was a trilogy, with a focus on the son of some nobility. The goal for the characters was to collect a certain number of stones or gems (I believe there were 5 of them), all in certain colours. Every stone has a certain power attached to it. I believe it started out with one or two characters, but the group grew and every character had a certain colour stone at the end. What is important about the gems is that they are unique. It's not part of a bigger magic system, but they are artefacts from somewhere.   There are some minor incidents I can recall vividly:   They build up a fellowship with some stereotypical fantasy builds: an old school fighter, a minstrel, a female archer and probably more. At one point, they mention that if one of the guards in a country falls asleep on duty, he will be kept awake by his garrison/brothers in arms for seven days. At some point the minstrel falls asleep, and the old fighter teaches him how to stay awake. They travel through a forest full of leeches and other insects to reach one of the stones. Also, I seem to recall there was a member of an underground evil organisation among the nobility, who tried to poison someone and were able to do that because they built up an immunity to the poison.   Does anyone has a clue what this series might be?   Suggestions by kind people, but not what I'm looking for, are:   The Seventh Tower Deltora Quest Diadem Westria Sword of Heavens series


Check Bluetooth headphones battery status in Linux

Is it possible to get the battery status of Bluetooth headphones connected to Linux? Android shows it so I was wondering if it was possible.


I am a German native speaker and I have a question that concerns latex, i.e. the command \noindent. As I would do it, a text with several paragraphs would look like this:  Duis autem vel eum iriure dolor in  [...] nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud [...] qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.  The start of a new paragraph is obvious by a space ob about 0.5 to 1.5 lines between them. Now in the Latex standard setting, we get is like this:  Duis autem vel eum iriure dolor in  [...] nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. _________________________________________________________________ ______Ut wisi enim ad minim veniam, quis nostrud [...] qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.  But his looks just stupid in some cases:  Duis autem vel eum iriure dolor in  [...] nibh euismod tincidunt ut laoreet dolore magna idet ud. _______________________________________________________________________________ ______Ut wisi enim ad minim veniam: ***** Some Figure or chart *****  So can anyone explain what indentation is good for?


Proof of pointwise convergence of a sequence of continuos functions.

I've been trying to prove the following statement: There is no sequence of continous functions $f_n: [0, 1] \rightarrow \mathbb{R}$ that converges pointwise to the function $f: [0, 1] \rightarrow \mathbb{R} $ defined by $f(x)=0 $ if $x $ is rational and $ f(x)=1$ otherwise. My idea was to assume that such a sequence exists and then prove that, if that's the case, then one of the functions $f_n$ is discontinuous at some point, contradicting our assumption that the functions $f_n$ are all continuous. Here is exactly what I did: Let $(f_n)$ be a sequence of continuous functions $f_n: [0, 1] \rightarrow \mathbb{R}$ that converges pointwise to $f$, which is defined above. Let $\epsilon>0$ be given. We are going to prove that some $f_n$ is discontinuous at $x=1/2$. Since $f_n$ converges pointwise to $f$, there exists $n_0 \in \mathbb{N}$ such that, if $n \geq n_0$, then $|f_n(1/2)-f(1/2)| < 1/2$. Since $1/2$ is rational, $f(1/2)=0$, and we get $|f_n(1/2)| <1/2.$ Moreover, for any $\delta>0,$ there exists some $x_0 \in (1/2-\delta, 1/2+\delta)$ that is irrational. Hence, there exists $n_1 \in \mathbb{N}$ such that, if $n \geq n_1,$ then $|f_n(x_0)-f(x_0)|=|f_n(x_0)-1|<1/4 \implies 3/4<f_n(x_0)<5/4$. Hence, for $N=\max\{n_0, n_1\}$, we get $|f_N(1/2)-f_N(x_0)| \geq |f_N(x_0)|-|f_N(1/2)|>3/4-1/2=1/4.$ My idea was to show that, for $\epsilon=1/4$ and any $\delta>0$, it's possible to find some $x_0 \in (1/2-\delta, 1/2+\delta)$ such that $|f_N(1/2)-f_N(x_0)|\geq 1/4$, for some $N \in \mathbb{N},$ which would imply $f_N$ has a discontinuity at $x=1/2$, giving the contradiction for which we were looking. My "proof", however, isn't right since the $N$ I pick is based on $n_1$, which, in turn, is generally dependant on my choice of $\delta>0.$ With that being said, can anyone help me to prove the statement above?


Let $R$ be a commutative ring with 1.      a) Suppose $R$ has no nonzero nilpotent elements (that is, $a^n=0$ implies $a=0$). If $f(X)=a_0+a_1X+\cdots+a_nX^n$ in $R\left[X\right]$ is a zero-divisor, prove that there is an element $b\ne0$ in $R$ such that $ba_0=ba_1=\cdots=ba_n=0$.      b) Do part a) dropping the assumption that $R$ has no nonzero nilpotent elements.   There is a question in the picture about rings... I can't do it. Can you help me please?  There are some solutions in  but I did not understand. This question was marked as duplicate.  Do  a) and b) have difference answer? In a) R has no nonzero nilpotents, but in b) dropping the assumption that R has no nonzero nilpotent elements I thought a) and b) have different solutions.   If in a) if R has no nonzero nilpotent elements, will you use this property in proof of a) ? and in b) there is no such a condition, so  what i can do ? Could you clarify a) and b) ? thank you for your helping ...


Let $R[a,b]$ denote the set of riemannian integrable functions on the interval $[a,b]$ Prove that if $f$ is a bounded function on  $[a,b]$, and for each $c \in (a,b)$, $f \in R[a,c]$, then $f \in R[a,b]$. Furthermore, prove that $$\int_a^b f(x)dx = \lim_{c \rightarrow b} \int_c^a f(x)dx$$  I've been stuck on this one for awhile now. I mean, it makes sense that $f \in R[a,b]$ given the hypothesis, because all it's in $R[a,c]$ for all $c \in (a,b)$... Can somebody help me show this with rigour?? Real math is hard!!


How can I find out what output resolutions a laptop computer supports?

I am looking for a new laptop, and it will be connected to an external monitor the majority of the time, presumably via HDMI.  The monitor has native 1920x1080 resolution.  I'm not really concerned with the resolution of the screen on the laptop, so I'm mostly looking at machines with lower resolution (typically 1366x768) due to cost.   My old laptop was like this, and it was able to output at 1920x1080 (1080p), but is there a way to know that other machines will as well?  Is this a function of the graphics card or chipset?  My old machine had the normal, low-end onboard "Mobile Intel HD graphics", so does this mean that any machine with that will output at 1080p?


According to  first two sentences (which I find a bit confusingly formulated), there are two different meanings to the expression.   No way out and no options other than a single, not pleasant one. Full speed ahead, all-in, whole-range approach.   After reading/googling, I'm unclear on which of the meanings is the correct one. Furthermore, I realize that it's possible that both are valid, in which case I wonder if there are geographic relation to which is the most commonly used. Is there a trend of popularity (raising/dropping) for any of them?


apt error message ubuntu virtualbox guest

So i have just installed Ubuntu (Minumal Installation) on Virtual Box Mac. I cant install any software form apt. It gives me error saying E: Unable to locate package cmatrix  i have had this problem before and fixed it by somehow updating snapd (I deleted the vm). Now when i try to do that it gives me an error. then it goes away. But nothing channged. I have also tried sudo apt update but it fails E: some index files failed to download  Edit: i tried the  and it did nothing heres the new full error message note: i made this change before but it seemed to not have saved because it was back to nz.archive.ubuntu.com E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/restricted/source/by-hash/SHA256/e4c92ef2e003ed3264e76c7df048b5b635c595c5ce10680b3f89761a01695ff1  File has unexpected size (13183 != 6472). Mirror sync in progress? [IP: 91.189.88.152 80]    Hashes of expected file:     - Filesize:6472 [weak]     - SHA256:e4c92ef2e003ed3264e76c7df048b5b635c595c5ce10680b3f89761a01695ff1     - SHA1:57fab19d8cee8a3feaf7c84420350094f9937785 [weak]     - MD5Sum:55c93c10aa16a7e26010fa7bd55c7294 [weak]    Release file created at: Thu, 23 Apr 2020 17:33:17 +0000 E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/universe/binary-i386/by-hash/SHA256/a00e79d71544f34be89543e090ccafce943577e1a1b997780c07bb75766750b3   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/by-hash/SHA256/7c5810c7adbacd42400848d09af06dad52ce4597b16f9e7fa36141375f40da24   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/by-hash/SHA256/52805f5b7237153f9b4173b0bfe51917175eff5ca0f9feeb6d4dfcdd88918f70   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/universe/dep11/by-hash/SHA256/b8a6c70d793758b8e231f5b901156049aa562872fd9df0a807ca3c9df6556d16   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/universe/cnf/by-hash/SHA256/ba4c9cf04162b981885818b1e3b415f841680ff60c1e647adbdd545ab1e7d17b   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/restricted/binary-i386/by-hash/SHA256/cd98f05f351d05500deef4311554710cf9bc1c39a61f198bd4733cafc9a38c98   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/multiverse/binary-i386/by-hash/SHA256/b504fbe86bb3a8ade20fcffcfc9036c732ab5f198c40d5a6a5a5685d20058966   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/multiverse/binary-amd64/by-hash/SHA256/233757b7df68e16c18ccad612ff13a8bb68fc36ac6d35f13427cafd70d8b5d42   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/multiverse/i18n/by-hash/SHA256/224cafd684a26e8bce3dfca4daf33b853c9273d13e4ada6161ce9ef38f1a567c   E: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/multiverse/dep11/by-hash/SHA256/d3eb7ca9f47c55f0031d59664a1b53f03ce3461ad565e3e568e00ff5a41f4fc3   E: Some index files failed to download. They have been ignored, or old ones used instead.


freezing cooked turkey, ham and chicken slices

I am having a large gathering and I want to do a lot of the prep in advance. If I cook the meats, slice and freeze all of the above, then thaw in the fridge before making the sandwiches, will the flavor maintain itself?


Specifying Pronouns as He/Him;She/Her;They/Them

It is becoming more common for people to explicitly state the pronouns to be used in addressing themselves: he/him, she/her, or they/them. For example, a name tag for a conference might read:  Cory Lopez Some Company She/Her   Usage seems to have settled on the singular they and them as gender neutral pronouns. Alternatives that were once widespread in niche communities, such as sie/hir, seem to have died out.   Whether or not one agrees with this language  shift, the pairing between subject and object case is fixed.  It's difficult to imagine someone who uses "he" as his subject case using anything but "him" as object case, and it's even harder to imagine that such a person would succeed in getting people to use a non-obvious collection of personal pronouns. (And you may see what I did -- flat out assumed that "he" and "his" automatically go together.)  What are the roots of the practice of presenting subject and object case pronouns as opposed to just subject case, subject and possessive, or some other combination?   (Note: I am not interested in a discussion of the gender politics and cultural shifts involved, just the mechanics of how the current representation was chosen.)


$\frac{1}{n + 1} + \frac{1}{n + 2} + \frac{1}{n + 3} + ..... +\frac{1}{3(n) + 1} >  1 $;   Here in this sequence after checking the basis for n = 1 , i.e $\frac{1}{4} > 1$, Which cannot be true;     I think I am wrong at some point , If yes then how can we prove this sequence by mathematical induction?


Can anyone tell me please where does the gap come from?   Thanks and sorry if the question is not exactly relevant, I just didn't know where else to ask.


Need to concatenate strings from two arrays

I have two jQuery variables. Each variable is a text string containing words separated by a comma.  var myFirstVariable = green,blue var mySecondVariable = circle,triangle   I would like to have a third variable retured like this:  var myThirdVariable = greencircle,bluecircle,greentriangle,bluetriangle   The order of the words in myThirdVariable is not important. But my first two variables can contain any number of words, so if   var myFirstVariable = green,blue,yellow var mySecondVariable = circle,triangle,square   Then I need my third variable to returned like this:  var myThirdVariable = greencircle,bluecircle,yellowcircle,greentriangle,bluetriangle,yellowtriangle,greensquare,bluesquare,yellowsquare   I think I need to push() both variables into an array but I'm struggling with this area of jQuery. Hope someone can shed some light on this. Many thanks.


Alternate background colors for list items

I have a list, and each item is linked, is there a way I can alternate the background colors for each item?

Link 1

Link 2

Link 3

Link 4

Link 5


Can I replace my road bike's front wheel quick release with any quick release?

I lost my road bike's quick release. Pictured are what I lost. Do I need to find a specific quick release that fits, or does one size fit all/most?


How do i ask this question about trains?

The answer should be 'This is the 7th train to Delhi'. How can I properly ask this question ? The keyword in the answer is '7th'.


How to find that the following set is connected and compact or not?

Let $U$ denote the set of all $n\times n$ matrices $A$ with complex entries such that $A$ is unitary. Then $U$, as a topological subspace of $\mathbb{C}^{n^2}$ is,   Compact, but not connected. Connected, but not compact. Connected and compact. Neither connected nor compact.   I know what the terms are but I am really not getting the idea how to solve this. Please help.


4-gon with two opposite sides congruent and two opposite angles congruent: necessarily a parallelogram?

My kid's geometry classmate tried to use the following "theorem" in a proof:     If a quadrilateral has a pair of opposite sides congruent and a pair of opposite angles congruent, it's a parallelogram.   The teacher (correctly) didn't allow this, as they hadn't proven the "theorem" in class. The teacher, moreover, conjectured but could not prove that the "theorem" was in fact false. Is it?


Nuances in variants of “I should/would/∅ think so”

What is the difference between saying:   I should think so. I would think so. I think so.   And also what does using should in this way mean?     It is strange you should say you have seen her, seeing as she left yesterday and hasn’t been back since.


Prove that $\alpha=\beta=\gamma$ where $\alpha,\beta, \gamma$ are complex numbers.

Let $x,y,z$ be non-zero real numbers. Suppose $\alpha,\beta, \gamma$ are complex numbers such that $|\alpha|=|\beta|=|\gamma|=1$. If $x+y+z=0=\alpha x+\beta y+\gamma z,$ then prove that $\alpha=\beta=\gamma$.   I was trying to use the property that $\alpha\overline{\alpha}=|\alpha|^2=1$, $\beta\overline{\beta}=|\beta|^2=1$ and $\gamma\overline{\gamma}=|\gamma|^2=1$ in the following way:   It is given that $$x+y+z=0=\alpha x+\beta y+\gamma z$$ $$\implies \overline{\alpha}(x+y+z)=0=x+\overline{\alpha}(\beta y+\gamma z)...(1)$$ $$\implies \overline{\beta}(x+y+z)=0=y+\overline{\beta}(\gamma z+\alpha x)...(2)$$ $$\implies\overline{\gamma}(x+y+z)=0=z+\overline{\gamma}(\alpha x+\beta y)...(3)$$  Adding $(1),(2)$ and $(3)$, we have $\overline{\alpha}(\beta y+\gamma z)+\overline{\beta}(\gamma z+\alpha x)+\overline{\gamma}(\alpha x+\beta y)=0.$  This implies that $x(\alpha\overline{\beta}+\alpha\overline{\gamma})+y(\beta\overline{\alpha}+\beta\overline{\gamma})+z(\gamma\overline{\alpha}+\alpha\overline{\beta})=0.$


Inconsistent UIDS and wiping a data partition

I've inherited my wife's Android phone (GT540) when she got a newer, shining one :-) We think to  have factory reset it (via the privacy option), and in fact it has finally stopped to refer to her account and all the pics are gone. But I keep getting a warning message, about inconsistent UIDs and the need of wiping the data partition to be sure. I can click on the only button "I am feeling lucky" to continue, without noticing particular issues. Obviously, as per Murphy, the message is not popping up right now, so I can't copy it verbatim :-) Will edit the question when it comes out again.  EDIT The precise message is:  System UIDs inconsistent UIDs on the system are inconsistent, you need to wipe your data partition or your device will be unstable.  And it is followed by the unexpected crash of the Market application (processocom.android.vending). So:  what is happening? what data partition is actually worrying it? Wasn't the reset "hard enough"? what could happen, what UIDs is it referring to? how can I fix it?  I have a new SD card, which is as far as I can tell empty. I would have liked to format it before using it, but the option is not available: I can only unmount it. Is this (missed) formatting the required wiping to reset the UIDs? Or is it a completely different thing, which I will search/ask in a later question? Being new to the Android system I don't know if any other info are missing. The kernel is 2.6.29 (but I would be surprised if such basic matters were strongly dependent on the precise kernel version....). Just in case the firmware of the phone is 2.1-update1.  UPDATE I have asked my wife and she actually did the factory reset suggested. Just in case I did it again, and we still get the error. What now?


My imported .obj model is appearing as a tiny dot

I wanted to extract some models from ps2 games to blender. I followed this tutorial here:  and got through all the steps, extracted my model exactly as shown and received an .obj file.  I opened the file in Blender and all I could see was a tiny dot instead of my model. I attempted scaling, moving and pretty much everything I could think of to make my model appear. I looked all over the internet and could not find anything.  Another thing I thought of was that the tutorial used 3ds max, but I saw others in the comments saying they used blender too. I don't think it's a problem with the game I am extracting from (DBZ budokai tenkaichi 3) ;tldr: I followed a video and extracted a ps2 model to Blender but all I received was a tiny dot.  Any help would be much appreciated.  Edit: I looked at the other questions and still cannot make it work. I have attached the model's file, maybe somebody could take a look and see if they can figure it out for me.


I'm brand new to Linux, and know pretty much nothing.  I wanted to learn about the Linux terminal and started watching a video, the video showed how to switch directories and they switched to the Documents directory.  I tried both "cd /Documents" and "cd Documents" both of which said the same error message.  "No Such File Or Directory".  I am really sorry for my lack of knowledge, I hope I can get this sorted.  Thanks in advance guys :)


How to add a comma between author and year

I use the authoryear style in biblatex, and when I do for instance \cite{bauman2000}, I get:       Bauman 2000   But I would like to add a comma between the author and the year, in order to have      Bauman, 2000   Is there a simple command to get this change ?


How to input a specific Pantone color number in Illustrator?

Can someone please tell me the steps to input a Pantone number in Illustrator?    For example, I have selected what I want to color, now I want to make that selection Pantone #300.  Where do I input that "#300" so that my selection now using that color?    I've looked all over the swatch panel and do not see how or where to do that.


Unable to remove 'thumbnails.fraghandler' from bin

I'm running MacOS Mojave.  For months, I have the following file in my bin which I'm unable to remove:  ~/.Trash/Recovered files #1/(A Document Being Saved By Quick Look Helper)/thumbnails.fraghandler  Stuff I've tried:  sudo rm -rf ~/.Trash/Recovered\ files\ \#1/(operation not permitted)  chflags uchg thumbnails.fraghandler(operation not permitted)  chmod the directory (operation not permitted)  I can move the file to another folder (e.g. Desktop), but unable to remove it from there as well.


Problem:     Prove that $\lfloor 2x \rfloor + \lfloor 2y \rfloor \geq \lfloor x \rfloor + \lfloor y \rfloor + \lfloor x+y \rfloor$ for all real $x$ and $y$.   I have my proof down below. Its a little complicated though. This is not a duplicate of the same question on another page on math.stackexchange.com because I provide my answer.


Trying to recover my password on my old Windows 7 laptop - or at least change it

I have forgotten my user password on an old laptop I haven't used for ages I believe I can change this in DOS and have seen seen several videos on youtube on how to do this. In order to do this I have to boot the laptop up in DOS, I have created a bootable USB stick using RUFUS. I have changed the BIOS settings so that the laptop boots up in DOS and it does so. After booting in DOS I am left in the C root directory. When I perform a dir command I see a number of files (autoexecbat etc) and one directory called Locale. I do not see the Windows directory so I have fallen at the first hurdle. It is as though the Windows directory is hidden from me so I cannot access it. I have tried searching on the www for various ways to un-hide the directory to no avail. If I restart the PC and let it start up in Safe mode I can see various drivers etc (?) being loaded from the Windows/system32 directory and indeed I am left at the Windows 7 login window but of course I can't go any farther as I've forgotten my password! Would seem to indicate the Windows directory is there - but I cannot see it or access it. Any help appreciated.


I got a refusal for a UK Visit Visa and want to re-apply

I am working with one of the Five Star properties in Saudi Arabia and I'm an Indian Citizen. I applied for a UK visit visa but it got refused because of the attached statement  I deposited my own savings in my account and I didn't think that it may have raised doubt. How I should explain the deposit I made into my account? It's almost one month since I made the deposit - can I take a fresh bank statement and apply again?  Can anyone advise?


Expected number of rolls to roll every number

If I am rolling I die until I roll every number at least once, what is the expected value of times that I will need to roll the die?  After a brief computer simulation, I got 15. But why is this the answer?


Let's say I have two files, file1 and file2.  file1:  passd:xxx hopla:alli gnar:gungg araf:utap   file2:  alli utap   How can i check what lines/words from file2 match file? Indeed I could probably do it with comm -1 -2 file1 file2 but is it possible to do it with awk?


I noticed that on all SE sites (meta sites included) there is a word issue in the meta information about the questions.  More specifically, the term "votes" appears everywhere:    How can the number of votes be a negative number ? Also, if a question receives 2 upvotes and 2 downvotes, in the list it will say "0 votes", which is clearly incorrect.  So the term "votes" seems a bit wrong in this case. I think that "score" fits a lot a lot better.  What do you guys (and girls) think ?  PS: I douby it actually bothers anyone, but I think it can be a little confusing for newcomers in some situations.


Let $X_1,…, X_n$ be a sample of $iid$ $N(𝜇, 𝜎^2)$ random variables. How do you calculate or determine the sampling distribution of  $\overline{X} = \frac{1}{n}\sum\limits_{i=1}^n X_i$ and $S^2 = \frac{1}{n}[\sum\limits_{i=1}^n X_i^2 - n\overline{X}^2]$  ?


I have about 6 months of experience in building and using Neural Networks with no prior/formal training.  As I explore this field further, I see a lot of discussions about determining how many layers/neurons to use and some rules of thumb of where to start.  In development of my network models, I use a brute-force approach by incrementing the layers and neurons by 1 for several cycles of epoch training and then select the "best" model out of those.  My understanding at this point, is that the layers/neurons represent the relationship between the NN inputs and the NN outputs, and while training my networks, I can determine the optimal number of layers to be 5 or more.  I determine optimal based on using cross validation data the network was not trained on.  Given the above, I have read from various sources statements like "you never need more than 2 layers" and "you don't get better performance out of more than 2 layers", etc.  I have also read comments that indicate more than 2 layers is expected.  Is the idea of 2 layers could be "too much" really correct and I should be focusing on expanding the number of neurons used while capping the number of layer at 2 for my brute-force determination of optimal layers?  EDIT:  Is it is true that in the vast majority of cases no more than 2 layers is warranted as it seems some are claiming?  My specific interest is in the area of numeric prediction, however, comments about other segments are welcome as well.


What is the closure of an open ball $B_X(\mathbf{a},r)$ in $X=\mathbb{R}^n$?

Suppose we have the open ball $B_{X}(\mathbf{a},r)$ and the closed ball $\bar{B}_{X}(\mathbf{a},r)$ of radius $r$ about $\mathbf{a}\in\mathbb{R}^n=X$ with the Euclidean metric $d_2$.  What is the closure of an open ball $B_{X}(\mathbf{a},r)$ in $(\mathbb{R}^n,d_2)$?  First, I have defined the sets like this:  $$B_X(\mathbf{a},r)=\{\mathbf{y}\in\mathbb{R}^n:d_2(\mathbf{a},\mathbf{y})<r\}$$ $$\bar{B}_X(\mathbf{a},r)=\{\mathbf{y}\in\mathbb{R}^n:d_2(\mathbf{a},\mathbf{y})\le r\}$$  Then, let $U=B_X(\mathbf{a},r)$ and claim the closure is $$\bar{U}=\{\mathbf{x}\in\mathbb{R}^n:\exists (\mathbf{x}_n)\in U\text{s.t}~\mathbf{x}_n\to \mathbf{x}\}=\bar{B}_X(\mathbf{a},r).$$  Since closed balls are closed then we have $$\bar{U}\subset\bar{B}_X(\mathbf{a},r).$$  But, how can I prove the other direction $\bar{B}_X(\mathbf{a},r)\subset\bar{U}$?  Since it's a containment argument I know that I have to take any element from $\bar{B}_X(\mathbf{a},r)$ and show it is in $\bar{U}=\{\mathbf{x}\in\mathbb{R}^n:\exists (\mathbf{x}_n)\in U\text{s.t}~\mathbf{x}_n\to \mathbf{x}\}$.  But I do not know how to get an expression for $\mathbf{x}_n$.  I would appreciate any help.


error in set labal value in java netbeans

This is my code in java netbeans. I want to display the username get  from another form in label and there is errer ...    String username1;   public agent_menu(String username1)  {    this.username1=username1;    System.out.println("user: "+username1);       jLabel1.setText(username1);    }   the error:  user: 22 java.lang.NullPointerException


How to tell Maven to pick the latest minor/revision version for a given major version?

Is there a way to tell maven to pick the latest version of a jar as long as major version remains the same? For example, instead of the following:      <dependency>         <groupId>com.example</groupId>         <artifactId>example-java-sdk</artifactId>         <version>1.0.1</version>     </dependency>   I'd like to use the following:      <dependency>         <groupId>com.example</groupId>         <artifactId>example-java-sdk</artifactId>         <version>1.*</version>     </dependency>   Or:      <dependency>         <groupId>com.example</groupId>         <artifactId>example-java-sdk</artifactId>         <version>1</version>     </dependency>   That way, I can update the minor version or revision without having to ask everyone to change their dependencies. The latest jar (with the same major version) will be picked up the next time they rebuild their application.


Is there a way to use Snapchat on Ubuntu 18.04?

My phone is currently bricked and I'd like to keep in touch with people I only talk to on Snapchat. Is there any way I can emulate it on Ubuntu 18.04? Some people suggested installing Bluestacks via Wine. I tried that, but when I run the .EXE installer, nothing happens.  Has anyone managed to run Bluestacks on Ubuntu successfully?  I've also tried Genymotion, but I have no idea how to download Snapchat for Android emulated in Genymotion. I thought Google Play was pre-installed on every single Android device, but that does not seem to be the case. I tried downloading the .APK file on the emulated phone, too, but it did not work for some reason.  I apologise for my incompetence and English.


I want to have an enumerate item which is surrounded by brackets. Something like this   [Initialization]   but surrounding text with [ and ] makes it center aligned.


My requirements are: I need a UPS system which supplies power to a 9 volt modem. UPS should Charge 12v battery (SLA , charging curent 800ma), and it should have overcharge/discharge protection system [optional: it should show the battery capacity with four leds(25% interval)]. I want to achieve this without using ADC. I can make 230V AC to 12v DC converter with step down transformer. Switching from mains to battery can also be achieved with two diodes. But i want to make overcharge/discharge with led indicator which i cant figure out without ADC. Is there any way to achieve this without microcontroller and ADC. Any suggestion would be appreciated. Thanks in advance.  I am thinking about something like this. I have designed this circuit on my own. But i have no idea how to link these two switches to charge level indicator.


I'm looking at Section 7 of Liu's Algebraic Geometry and Arithmetic Curves.  In Section 7, Definition 2.4. defines a Weil divisor as a cycle of codimension 1 on a Noetherian integral scheme. But then Liu discusses Weil divisors on normal Noetherian schemes in Definition 2.7., 2.10., Proposition 2.11, etc., as well as the notion of function field $K(X)$ of a normal Noetherian scheme $X$.  I feel lost as the function field is defined over an integral scheme, and up to my understanding, the closest one to the function field of a normal Noetherian scheme is perhaps the direct sum of the function fields of the finite integral components.  What I'm more interested is whether Weil divisors are well-defined on normal Noetherian schemes and how close it is to be equivalent to invertible sheaves. Could someone provide an explanation on this?  Thank you.


A Banach space isomorphic to his dual is an Hilbert space?

By the Riesz representation theorem, we know that the Hilbert space $\mathcal{H}$ is isomorphic to his dual. Is the converse true ? Does the fact that a Banach space $E$ is isomorphic to his dual implies that $E$ is an Hilbert space ? If it is not the case, does anyone have an example ?


How long would a copy of Windows 10 be supported?

If I purchase a Windows home license, how long would it be supported for?  I remember, Microsoft announced, that there will be no more Windows 11 after Windows 10 and that Windows will just receive rolling updates again and again. But at the same time their website says that Windows 10 end of mainstream support (Bug fixes, features etc) is October 13, 2020. How these two correlate?  It seems surprising that you will get a perpetual Windows 10 license with all future updates ever coming out, right?  It's more clear with Microsoft Office, which .  Does Microsoft have any official, canonical documents on this?


I've a time series, 100 observations. I'm following the the Box-Jenkins method in order to find a model that fit the data. My questions (I'm a bit confused):   if I plot in a graph time vs observation how can I say if the series is stationary just looking the graph? I can use an AR, MA or ARMA model only if the series is stationary. Why? If the ACF and the PACF "say" that the process is an AR or MA this implies that the series is stationary? If yes, why? Can I tell if a series is stationary looking at the ACF and the PACF? Which are the methods to check if a series is stationary?


Natbib puts reference data one line per item

I'm using:  \documentclass[oneside,article,openbib,12pt,titlepage]{memoir} \usepackage[authoryear,round]{natbib} % Better bibliography support \bibpunct{(}{)}{,}{a}{,}{,}   in the preamble of my document and  \backmatter \renewcommand{\bibname}{References} \bibliographystyle{chicago}    \bibliography{listb,mybib}   in the body of the file. But a typical formatted reference is:     Freely, I. (1997).   A small paper.   The journal of small papers -1. to appear.   I've tried other non-natbib styles (e.g., regstud), and the reference flows and wraps as it should. So how does one get natbib to do the same?  Also, how does one get natbib to include the authors' entire first names?


Given a set $\{1,2,3,4\}$, how is the following relation $R$ antisymmetric?  $$R = \{(1, 2), (2, 3), (3, 4)\}$$  Note: Antisymmetric is the idea that if $(a,b)$ is in $R$ and $(b,a)$ is in $R$, then $a = b$. In my textbook  it says the above is antisymmetric which isn't the case as whenever $(a,b)$ is in $R$, $(b,a)$ is not.


Apex HttpRequest with PATCH method to update Outlook 365 Event

I am running into an issue which now bang my head. I just recognize that Apex doesn't support HttpRequest with PATCH method. The Rest API to update event on Outlook 365 is  PATCH https://outlook.office.com/api/v2.0/me/events/{event_id}   I tried with many ways which I searched are: append url with '?_HttpMethod=PATCH'  or  req.setHeader('X-HTTP-Method-Override','PATCH'); req.setMethod('POST');   But none of them is successful.   System.HttpResponse[Status=Method Not Allowed, StatusCode=405]


I have a staging server that accidentally got indexed by google. I want to remove ALL pages from google for that site: i.e. stagingserver.mycompany.com. I added a robots.txt to the root of the site with following content:  User-agent: * Disallow: /   After several weeks, none of the pages have been removed. When I google:  site:stagingserver.mycompany.com   I get pages and pages of results. I went into Webmaster tools. I created many removal requests, and they only work for those specific pages. When I add a directory removal:  http://stagingserver.mycompany.com/*   it takes a few hours for the status to turn from pending to removed, but all the unwanted pages are still not removed. It seems that there's no way to remove ALL pages from google. Is this right?  NOTE:  I can't send a 404 for every page because this is a development site, that is being worked on and reviewed by clients.


Sometimes when I make a typo in the terminal and accidentally tell Bash to interpret /, I get the output bash: /: Is a directory. Now I believe this output has to deal with the root directory or something of that sort. But what I don't understand is that when I enter increasing amounts of forward-slashes it continues to output the same thing... Examples //// --> bash: ////: Is a directory //////// --> bash: ////////: Is a directory


Can I use "but" at the beginning of a sentence?

For a while, using but to start a sentence was largely frowned upon. But, I think it is possible to use but at the beginning of a sentence, as long as it isn't overused.  Am I right?


How do I convert, NSDate to NSString so that only the year in @"yyyy" format is output to the string?


Photoshop using Marque Tool > Path > Circular But Not a perfect shape?

Please consider this image below :   This is happened when I have a circular shape (marquee tool selection). THen after that I converted to Work Path (by right click of that selection). And I add 2.0 as its Tolerance Pixel.   After applying it. The shape become not perfect, could you see the difference? I make it with a black background so everyone could see it from the image no.2.  I realized this is a problem, because If i use that path for placing a text. the text wont follow the correct path as circular (selection), instead ... the shape a bit changed (i think it's ugly shape :: see the detail of the arrow).  How to solve this case ? I'm using Photoshop CS3.


I've looked over multiple different questions, and they either dealt with something similar, or gave frustratingly vague answers. So I'm certain that my question is not technically a duplicate (though by saying this I have likely doomed it to being labeled as one).  What are the 'powers' of the twenty Rings of Power? For one thing, the One made its wearer invisible and quasi - immortal. The Nine, I think, made their wearers invisible only when they chose to be when they were still human. But that's all I know about their powers.  I'm not asking about their corrupting influence, nor am I asking about what was done (for example; The Seven let the Dwarves build their wealth but made them greedy, I get that, but how did those rings increase the treasure troves? Did they generate gold? Did they make the Dwarf Lords just that lucky when choosing mining spots?).  To reiterate my question, what powers did the rings give their wearers?


What type of data should I use to store Lat and Lng from Google Map into my database?  I'm not sure how many decimal place should I put for length in mysql.   So should I use Decimal, Float etc?  and how much should I put for Length?  Meanwhile, is it good to put index for Lat and Lng in Mysql?


What does it mean for a battery to be 1.5 Volt?

What does it mean by a battery is of 1.5 Volt ? Does it mean that it would take 1.5 Joules of energy to transfer -1 columb of charge from the negative end to the positive end of the battery ?  What is the reason for it to take 1.5 Volt of energy to transfer the charge - is it needed to do work to move the charge against the electric field generated by the positive and negative sides of the battery ? Then would the Volt increase if the distance between the positive and the negative sides are increased (as it would have to do more work against the field)?  Then if you join a broken piece of wire to one side and a broken piece of wire to another side of the battery, why the potential difference between the two ends of the battery is still 1.5 Volt ?


My soundcard stopped suddenly working on my Xubuntu LTS 14.04.  Is it better to install the most recent stable Xubuntu version on a Notebook? Is LTS only suggested for servers?


I'd like to modify the current order layout visible at user/[uid]/orders/[order_id]  Specifically, I'd like to list the billing and shipping info before the line item detail:   billing and shipping  List item detail subtotals   I know that the the line item detail is a View that can be edited, but I'm not sure how to control placement/sequence of items not in this view.  Thanks in advance for any tips or advice.


After installing docker (I definitely think this is about docker) I got changed cmd-label. For instance, it was like username@root8hgf858$: your_command to [:/home/username] $.   How can I fix it? I've checked current theme in the system settings - it's ok.  screenshot:    [:/home/imran] $ grep PS1 .bashrc /etc/bash.bashrc /etc/skel/.bashrc /etc/bash.bashrc:[ -z "$PS1" ] && return /etc/bash.bashrc:PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' /etc/skel/.bashrc:    PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' /etc/skel/.bashrc:    PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' /etc/skel/.bashrc:    PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1"


Does having a keyword in the domain repeated again in the path of the URL hurt SEO?

Which of the following URL structures would be best for a non-ecommerce site:  fishingbob.com/fishing-lure-companies  or  fishingbob.com/lure-companies  Would repeating the keyword in the first URL be considered keyword stuffing since I have an important keyword already in my domain name?


How can I take multiple lines of input in java using BufferedReader?

For instance, my input is 2 // this is variable T 5 2 5 // these are the 3 space separated parameters 1 2 4 5 5 // this is my array 2 3 4 // these are my 2nd set of parameters 2 9 // and my 2nd set of array        package hills;      import java.io.BufferedReader;     import java.io.InputStreamReader;       public class hillJump {   Just the function associated with my program  static void fun(int N, int U, int D, int a[]){     int jump=0,i,para = 1;     for(i=0;i<4;i++){         if((a[i+1]-a[i])==0 || ((a[i+1]-a[i])<=U && (a[i+1]-a[i])>0) || (a[i+1]-a[i])>=D &&(a[i+1]-a[i])<0 ){             jump++;         }         else if(-1*(a[i+1]-a[i])>D && para==1){             para = 0;             jump++;         }         else{             break;         }     }     System.out.println(jump); } public static void main(String[] args)throws Exception {     // TODO Auto-generated method stub   I am trying to read the input in the following way,       InputStreamReader r = new InputStreamReader(System.in);     BufferedReader br = new BufferedReader(r);      int T = Integer.parseInt(br.readLine());     int arr[][] = new int[T][];     int p[][] = new int[T][]; // N U D      String s,hills;     String str[][] = new String[T][];     String str2[][] = new String[T][];      //reading from keyboard          for(int i=0;i<T;i++){             s = br.readLine();             str[i] = s.trim().split("\\s+");             hills = br.readLine();             str2[i] = hills.trim().split("\\s+");         }   after taking the inputs its showing **********  Exception in thread "main" java.lang.NullPointerException at hills.hillJump.main(hillJump.java:50)   **********      //arranging data      for(int i=0;i<T;i++){         for(int j = 0;j<3;i++){             p[i][j] = Integer.parseInt(str[i][j]); // LINE 50 with error         }         for(int j=0;j<str2.length;j++){             arr[i][j] = Integer.parseInt(str2[i][j]);         }     }     //output     for(int i=0;i<T;i++){         fun(p[i][0], p[i][1], p[i][2], arr[i]);     }  }  }   I am stuck and don't know what to do?   I have already gone through the following answers    still, I am not able to figure out what is the problem. I am using bufferedReader to get the inputs from the same line, and I doubt whether the error is caused by readLine() function.


Need help with a proof that if $xy=0$ then $x=0$ or $y=0$

I need to prove the following statement: if $xy=0$   then  $x=0$ $or$ $y=0$.  My first idea was to prove the negation of the original problem if $x\neq0$ and $y\neq0$ then $xy\neq0$ but I still don't know how to prove it rigorously.


Why the grep result depends on folder path?

I meet a strange phenomenom when using grep on Solaris 10: I try to use grep to find creat related DTrace probes. When in a folder (/data1/nan), it works OK:    bash-3.2# pwd /data1/nan bash-3.2# dtrace -l | grep creat*    27 hotspot586         libjvm.so __1cHThreadsJcreate_vm6FpnOJavaVMInitArgs_pb_i_ vm-init-begin    28 hotspot586         libjvm.so __1cHThreadsJcreate_vm6FpnOJavaVMInitArgs_pb_i_ vm-init-end   574        fbt              aggr                   aggr_ioc_create entry   575        fbt              aggr                   aggr_ioc_create return   While in another folder(/data1/nan/DTraceToolkit-0.99/Proc/), the grep can't find anything:    bash-3.2# cd /data1/nan/DTraceToolkit-0.99/Proc/ bash-3.2# pwd /data1/nan/DTraceToolkit-0.99/Proc bash-3.2# dtrace -l | grep creat* bash-3.2#   Could anyone give any clue about this issue, thanks very much in advance!


Negate matched results of regex expression

I would like to come out with a regex expression that negate the matched results of regex expression: .google.*search. And, is it possible to achieve it with regex from the regex expression I am trying to negate? Test data [1] https://www.google.com/search?newwindow=1&sxsrf=ALeKk02MzEfbUp3jO4Np [2] https://github.com/redis/redis-rb [3] https://web.whatsapp.com/  Expected result Row 2, 3 match the regex pattern and are part of the results.


On diagrams the transistor have usually a direction - it is assumed that (for bipolar NPN) current goes from base to emitter and it is reflected in symbol:         – Schematic created using   However when if I look how transistors are actually being built it seems that there is no difference between collector and emitter - both are N regions (for NPN transistors). Is there a difference between them I can't see or is it just a convention to allow reader get the intended direction or current?  (I described bipolar but I'm also interested in FETs)


When $n=0$  $1>\frac{1}{2}$   (true)  Then I prove that  $$2×n!\geq2^n$$ And $$(n+1)\times n!\geq2^n$$ So I have to prove that $n+1\geq2$  $n\geq 0$  $n+1\geq 1$ (not $2$). Could someone point out what is wrong with my reasoning please?


How to add mouse wheel support to a component descended from TGraphicControl?

I have created a delphi component which descends from TGraphicControl. Is it possible to add support for mouse wheels?  --- Edit ---  I've exposed the MouseWheel events as shown below but they aren't called.   TMyComponent = class(TGraphicControl) published   property OnMouseWheel;   property OnMouseWheelDown;   property OnMouseWheelUp; end;   --- Edit ---  As suggested below, I've tried to trap the WM_MOUSEWHEEL and CM_MOUSEWHEEL messages, but it doesn't seem to work. However I've managed to trap the CM_MOUSEENTER message. I don't understand why i can trap one type of message, but not the other.


MP test construction for shifted exponential distribution

For the pdf $f_{\theta}(x)=e^{-(x-\theta)} , x \ge \theta$, find a most powerful test of size $\alpha$, using Neyman Pearson Lemma to test $\theta=\theta_{0}$ against $\theta=\theta_1(> \theta_0)$, based on a sample of size $n$.  I am facing difficulty as the parameter here is range dependent  However, if $X_{(1)}>\theta_1$, then $f_1(x)>\lambda f_0(x)$ if $e^{n(\theta_1- \theta_0)}> \lambda$ would mean rejection of null hypothesis. But how will I make this test a size $\alpha$ test? The ratio is coming to be constant. Please help!


I have a grid with a column of checkboxes that allows to select multiple rows. When any row is selected user can do some kind of action on them. Grid has several pages, sorting and filtering are enabled. My question is: should the state of selected checkboxes be remembered when user changes page? For example, user selectes two rows on first page, goes to second, selects another row there and executes the action on selected rows. Should the action affect rows from first page as well or only the second?


I'm writing a paper using the article document class. I have an abstract at the beginning of the paper and this seems to mess up my formatting, for example, I have  \setlength\parindent{0pt}   With the abstract, the paragraphs indent, but when I comment out the abstract, it reverts to the formatting I want.  There is other formatting, for example text height and width changes, which disappears when I include the abstract.  Does anybody know what is going on?


Where do I ask questions about data explorer?

The tag wiki for  says:  The Data Explorer, located at data.stackexchange.com, allows you to create and run queries against copies of the databases of popular StackExchange sites to investigate trends or satisfy your curiosity. For questions about the ,   So there's a link to the FAQ, but it seems to imply that data.stackexchange.com is the place to ask questions about Data Explorer (I can't find any questions about DE there, though). By contrast,  says questions are asked here. Which one is it?


Hanging a picture on the wall using two nails in such a way that removing any nail makes the picture fall down

A friend of mine told me that it's possible to hang a picture on the wall from a string using two nails in such a way that removing either of the two nails will make both the string and picture fall down. My friend also told me that I need to be acquainted with the concept of fundamental groups to understand the solution. The problem is that I'm not. Is there really no solution to this straightforward problem that doesn't require acquaintance with fundamental groups?


How to have two background-images with CSS?

I am trying to figure out how to get to display two background-images in css so that the first background is a gradient image generated with css and then over that gradient to have some-image.png.   I tried adding someimage.png in another div above the div with gradient effect but I didn't find a way to add height to that div without messing up the page.  The idea is to have a gradient background and over that on the bottom of the page, an image that will have full page width, so I can not place it in the container div. I don't know if this is even possible :)  Any help would be highly appreciated!  This is the CSS code:  body { margin: 10px 40px; background: #fff; background-image: linear-gradient(to bottom right, #A33030 0%, rgba(182, 69, 69, 0.88) 100%); background-repeat: no-repeat; background-attachment: fixed; font-family: "Open Sans"; font-size: 17px; color: #FFFFFF; background-size: cover; } .overlay-image{ height:100%; background-image: some-image.png }   The HTML code:

 BlogAboutCoursesContact

Headline

Some text

Copyrigth


my Sony Vaio Power Adaptor broke today and i wondering if i could replace the broken one with the Adaptor from my older Vaio, here are the specs :  Broken Adaptor : VGP-AC19V54 Old Adaptor : VGP-AC19V16  Both have an output of 19.5V but the broken one has 7.7A and the old one has 6.2A!  I hope someone here can help me cause i have no idea if this could work!  Thanks a lot


I am having Dell studio 1458 with Intel core i5 processor @ 2.27 Ghz and 4GB ram with 320 GB Hard disk space.Weather it is enough for latest ubuntu.


How to make Ctrl+Alt+Del switch directly to Task Manager?

I have been using Windows 7 for a long time, but I wish I could find a way to use Ctrl + Alt + Del  to switch directly to the Task Manager. I think there's some way to do it in the Control Panel, but I just can't find it.


Who writes the plot for filler episodes in an anime?

Fillers are a given in most long running anime. If the anime is based on a manga then who writes the plot for the fillers?  Who decides the plot story for a filler season, so that it, for example, doesn't conflict with the original story of the manga?


LED bulbs in chandelier periodically all blink at once

Edit for clarity- The bulbs are not flickering or flashing. They periodically (> 10 minute intervals) turn off and then on in unison.  I have a chandelier with 5 bulbs. I recently replaced all 5 60w incandescent bulbs with 40w equivalent Philips LEDs. The chandelier is on a dimmer.  The bulbs work fine but after about 10 or 15 minutes, all 5 bulbs blink once at the same time. Then there will be another long pause and it will happen again. Rinse. Repeat.  I thought it might be the dimmer which is about 25 years old so I replaced it with a new Leviton slider dimmer(LED compatible). The same thing just happened again. The only common element to the five bulbs is the dimmer switch, right? There are no electronics in the chandelier.  What else could cause them all to act in unison?


I am trying to do a prepared statement. My code is below. I use PHP and MySQLi. I get this error message:     Fatal error: Call to a member function prepare() on a non-object in/path/path/   $sql = "INSERT INTO person(name, $lastname) VALUES (?, ?)"; $stmt = $sql->prepare($sql); $stmt->bind_param("ss", $name, $lastname); $name= '?'; $lastname='?'; $stmt->execute();   The error message points to this line:  $stmt = $sql->prepare($sql);   What is the issue?


Story where a kid misses the window of sunlight

I remember this as a short film I saw in elementary school.  On some planet somewhere, or some future world, the sky is permanently overcast. There are all these kids, like in a school, but with (as I remember it) zero supervision. A girl who believes that the sun exists and will shine one day, is mocked and tormented by her classmates who know better. There's no such thing as the sun, they tell her.  They lock her in a... room of some type. And they're running around outside playing while she's curled up and crying in the room.  Suddenly the clouds part and the sun! there it is! shining down! And all the kids are amazed and happy and laughing!  And the girl in the... room... (and this is the only part I remember visually) sees a beam of sunlight coming through the crack of the door and holds her hand out into the beam of sunlight and smiles.  What is this I'm remembering???


Can anyone share an efficient code snipper to daemonize a process in python?


Minimizing the cyclic sum $\sum_{\text{cyc}} \sqrt{\frac{a}{b+c}}$

I want to minimize the following cyclic sum, where $a,b,c>0$: $$\sum_{\text{cyc}} \sqrt{\frac{a}{b+c}}=\sqrt{\frac{a}{b+c}}+\sqrt{\frac{b}{a+c}}+\sqrt{\frac{c}{a+b}}.$$  More precisely, I think that      $$\sum_{\text{cyc}}\sqrt{\frac{a}{b+c}}\geq \frac{3}{\sqrt 2}$$   with equality if and only if $a=b=c$.    My work. I was able to prove $$\sum_{\text{cyc}}\sqrt{\frac{a}{b+c}}>2.$$ However, we have $\frac{3}{\sqrt 2}\approx2.1>2$.   Here is my proof of this weaker bound:  Note that for all $x,y,z>0$, $$(y+z-x)^2\geq 0,$$ so $$(x+y+z)^2\geq 4x(y+z),$$ and hence by taking the reciprocal and multiplying with $4x^2$, $$\frac{x}{y+z}\geq \left(\frac{2x}{x+y+z}\right)^2,$$ from which it follows that $$\sqrt{\frac{x}{y+z}}\geq\frac{2x}{x+y+z}$$ with equality if and only if $x=y+z$.  Hence we have (since equality can't occur for all three terms) $$\sum_{\text{cyc}} \sqrt{\frac{a}{b+c}}>\sum_{\text{cyc}} \frac{2a}{a+b+c}=2.$$


Noetherian rings have only finitely many minimal prime ideals.

We say that $p$ is minimal prime if It does not contain any other prime.  Assume that $A$ is Noetherian ring  Question: $A$ has only finitely many minimal primes.  any suggestions please


Why do they still use gold dragons as the currency in Westeros?

So I assume the Targaryens created the golden dragons when they united the seven kingdoms. I assume it's named after their sigil, and the silver stags after house Baratheon.  With Robert Baratheon hating the Targaryens so much, why didn't he change the currency? He had a relatively peaceful reign so he could focus on smaller matters like this.  Could the money the Iron Throne owes the Iron Bank be a deciding factor?


I have a sample size of 167.  In addition to DV, IV, and a moderator variable, I would like to use 6 variables.  Is it too many?  How do you determine acceptable numbers of covariates?   Also, fewer covariates can be a better study model or a worse model? I appreciate your opinions.  It is a hierarchical model, 1)covariates, 2)IV, moderator, 3)interaction.


Transformation connecting two representations - Quantum mechanics

I am working on Dirac's paper . He looks for the analogy between a classical transformation between two sets of coordinates and momenta $p_r$, $q_r$ and $P_r$, $Q_r$ ($r = 1,2,\dots n$) and the transformation in quantum theory between two representations, in which the $q$'s are diagonal to another in which the $Q$'s are.  The transformation function is $\langle q|Q\rangle$. Now he takes an operator $\alpha$ with "mixed representatives" $\langle q|\alpha|Q\rangle$, and using the completeness identity  $$\langle q|\alpha|Q\rangle = \int \langle q|\alpha|q^\prime\rangle   \mathrm{d}q^\prime \langle q^\prime|Q\rangle = \int \langle q|Q^\prime\rangle   \mathrm{d}Q^\prime \langle Q^\prime|\alpha|Q\rangle$$  He now sets $\alpha = p_r$, and says that from the first integral we find  $$\langle q|p_r|Q\rangle = -i\hbar \frac{\partial}{\partial q_r} \langle q|Q\rangle$$  I don't understand how is the momentum operator now acting on the whole transformation function. And it is clear that that is what it means, since later on the same paper he sets $\langle q|Q\rangle = \exp(iU/\hbar)$ and from this equation he gets  $$\langle q|p_r|Q\rangle = \frac{\partial U}{\partial q_r} \langle q|Q\rangle$$  Just to clarify, I don't understand how is it that the momentum gets out the bra and ket, and once it does, how is it that it is now operating on the transformation.


Enter 2 by n matrix (permutation notation) as inline math without taking up much space

I need to use something that looks like a 2 by n matrix as inline math.  How can I achieve this without it pushing the lines apart?  Example:  \left(\begin{array}{cccc} 1 & 2 & \dots & N \\ i_1 & i_2 & \dots & i_N \end{array}\right)     The problem with this code is that it takes as much space as display math would even when used as inline math.  I would like it to take no more space than a \frac{...}{...} or \binom{...}{...}.


I was browsing the HNQs (Hot network questions) when I saw that some of the gravatars had different usernames, but the same gravatar. When investigating further, I found that in fact, they all belong to different users, and those users have profile pictures that are not the same as those displayed on the HNQ page. Here is an example from page 1 (around UTC 1900)  And another example from page 3 (around 19:05)  However, when I click on the profiles of the generic green Gravatar icon for any of the below users, such as  on Worldbuilding SE, it takes me to their profile page on that site... with a completely different profile picture. As this is a recurring bug (the same happened for all the other ones I clicked on) is this a problem with my device/browser/operating system (I'm using Windows 10 on a PC on Chrome) or is this a larger, site-wide bug? Edit: Just checked for the other Gravatars; they seem to work fine as the bug only occurs with the teal/white generic one.


It sure would be nice if the search box would auto-complete tags. So if you start typing "[sq" it would offer an autocomplete menu containing [sql], [sqlserver], etc.   This would especially useful as tag-limiting search is only available on-site, not via Google site:stackoverflow.com or similar.


I am testing my application I need some code that stable simulates the deadlock on database site (sql script if possible).  Thank you.  ADDED:


What is meant by the 'truth' of a statement in a truth table?

The focus of propositional logic is said to be argument schemas that lead to valid conclusions, and not with the contents of the arguments themselves. This implies that an argument can consist of empirically false premises (i.e. factually false) but can still lead to a valid conclusion. For example consider the following valid argument:     All cups are green.    Socrates is a cup.   Therefore, Socrates is green.   Given then that we are not concerned with 'empirical truth' of statements in propositional logic, what do the 'truth values' assigned to statements  in a truth table represent/indicate? What is meant be 'truth' in propositional logic?  Please could you ensure any answers are stated in simple terms as my understanding is minimal.


To move a BlogSpot blog to a custom domain with new hosting, can I first enable the custom doman on BlogSpot and then change the CNAME?

I need to move my blog say example.blogspot.com to example.com and custom service provider say Hostgator. I want to do this migration without impacting the SEO.  What I am thinking of  1. Using the link below I just change pointing of example.blogspot.com to example.com.    After a week when all my pages are migrated from  example.blogspot.com to example.com, I will revert the settings of cname and now exmaple.com starts pointing to HostGator   Is this approach ok or a better solution is there?


SMART Disk Failure Imminent - Damaged Blocks

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


What do these entries in my SSH logs mean?

I recently noticed that I have entries from an unknown IP address in my SSH logs. I performed a grep to extract all entires that didn't contain my own IP address. I was presented with this:  Jul 24 22:06:54 server1 sshd[8261]: Accepted publickey for root from xxx.xxx.xx.xxx port 39721 ssh2 Jul 25 04:06:50 server1 sshd[8233]: Accepted publickey for root from xxx.xxx.xx.xxx port 40800 ssh2 Jul 25 04:08:30 server1 sshd[8233]: Received disconnect from xxx.xxx.xx.xxx: 11: disconnected by user   I have a few questions:   Are the first two lines successfull or attempted log ins? Is the third line a disconnect resulting from a successfull or attempted log in? Is the four digit number in square brackets after sshd the PID?   I'm running CentOS 5 on a dedicated server. I am using OpenSSH.


Hello I have got a little "problem" ...  I just seems weird to me that when you check the code below that it says false if I type same number twice in the dialog fields.  I am kinda new to Java but not to programming itself and it does not make any sense.   Thanks in advance      import javax.swing.*;   public class Praeinkrement {      public static void main(String[] args) {          String a = JOptionPane.showInputDialog("Zahl a");         String b = JOptionPane.showInputDialog("Zahl b");           Double c = Double.parseDouble(a);         Double d = Double.parseDouble(b);          boolean e, f;         e = (c == d);         f = (c < d);          JOptionPane.showMessageDialog(null, e + "\n" + f);      } }


Should I use 4 cores on my VM even though I have 4 cores on my host machine?

I’m trying to run my virtual machine with some good response times, and I thought I should use more cores, but i’m worried something would go wrong if I used 4 cores on my VM even though my host machine has 4 cores, would anything go wrong?


I am trying to evaluate the integral  $$\int \frac{1}{1+x^4} \mathrm dx.$$  The integrand $\frac{1}{1+x^4}$ is a rational function (quotient of two polynomials), so I could solve the integral if I can find the partial fraction of $\frac{1}{1+x^4}$. But I failed to factorize $1+x^4$.   Any other methods are also wellcome.


I log in to stackoverflow using Google account. I then logout by clicking logout link. It then takes me to a page where below message appears:     Clicking Log Out will clear our cookies and log you out on all   devices.   And I click on Logout button provided. After I press that button I am redirected to stackoverflow home page.  All works well till here. But if I open the Google page in the same window by entering URL www.google.co.in, I see that I am still logged into the Google account.  Why is it happening? Why aint I completely logged out after clicking on Logout button?  I am using Mozilla Firefox 23.0.


I bought an iPhone 6 from someone and the phone is still logged into his iCloud and find my iPhone is still on.    I need to reset the phone.  If I restore the phone using the home button and then connect it through my iTunes will it ask me for the the iCloud password of the previous owner?


Why is my animation not keeping location and rotation correctly?

I am currently 3d modeling a twisty puzzle and trying to animate it. I have the puzzle done but when I try to animate it, it randomly twists and turns the individual objects in different directions before converging back to their original form at the end of the animation.  The screencast of me attempting to animate this is here:   File at the end of the screencast:    This is the original file. Just delete the 2 keyframes that are there:    I did make this with a tutorial. It is by rcpongo and I have very slightly edited his design. All credit goes to him for my design.


Why does my H1 header child override my div parents dimensions? And why can't I manipulate the h1 properly?

I am trying to make a page title header, in the middle of my webpage below my navigation bar, then I am trying to make the header border wrap close around the text of the header, so that there is not a lot of padding on the left and the right. I am able to center the header, I am able to change the font, decoration, etc. of the header, but I cannot figure out why the width of the header cannot be manipulated without the header itself changing its position. I have tried changing CSS code both in the parent div and the header child, but to no avail, nothing I try seems to work. I have checked the console to see if some of the code I wrote didn't affect my elements, but the console showed that the code was affecting them. Please show me where I'm making the mistake...   .title {   position: relative; }  .title h1 {   display: flex;   justify-content: center;   position: static;   font-family: 'Prompt', sans-serif;   font-size: 40px;   color: white;   background-color: black;   border: 3px solid yellow;   border-radius: 10px; }

LOCATIONS

    This is the code which centers the header, without messing up the position of the header on my page.


What is Thanos's motivation for his action?

If I had a gauntlet with essentially unlimited power, and my goal was to help make sure life in the universe was able to prosper, then my first thought toward this goal probably would not be      to extinguish half of all life.   This doesn't directly help anyone, and it is, at best, a temporary solution, since      populations will eventually grow back.   Assuming that I am not, in fact, secretly in love with an avatar of death itself, why would I choose to      commit universal genocide   instead of directly solving the limited resource problem?  So, to be specific, my question is: In-universe, what is Thanos's motivation for attempting to do this instead of more reasonable alternatives?


Facing "nullpointer exception" in appium

I am learning appium and trying to call an object from one class to another and facing null pointer exception. Below is my code :  public class TestCommons {      public AndroidDriver driver;      public void setUp() {          DesiredCapabilities capabilities = new DesiredCapabilities();         capabilities.setCapability("deviceName", "MotoE");         File file = new File("D:/APK1/com.vector.guru99.apk");         capabilities.setCapability("app", file);          try {             driver = new AndroidDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);             driver.manage().timeouts().implicitlyWait(30, TimeUnit.SECONDS);          } catch (MalformedURLException e) {             e.printStackTrace();         }     }      public void tearDown() {          driver.closeApp();     } }   I wanted to use above class i.e "TestCommons" in other class. I want to use driver object.  Second class is below :  public class Day03 extends TestCommons {      TestCommons commons = new TestCommons();      @BeforeClass     public void beforeClass() {         commons.setUp();      }      @Test(enabled = true)     public void f() {          if (driver.findElement(By.id("com.vector.guru99:id/action_quiz")).isDisplayed()) {             System.out.println("Quiz is displayed");             driver.findElement(By.id("com.vector.guru99:id/action_quiz")).click();             System.out.println("quiz is click");          }     }      @AfterClass(enabled = true)     public void afterClass() {         commons.tearDown();     }  }   Getting null pointer in second program @:  if(driver.findElement(By.id("com.vector.guru99:id/action_quiz")).isDisplayed();   Can anyone clarify me please.


What Borg enhancements are retained by Jean-Luc Picard?

What Borg enhancements does Captain Picard still possess from his time as Locutus?  It is clear that there is some link, which was especially seen in First Contact where Picard seemed to know where to hit the Borg cube.  Also, asides from the external Borg parts seen on Seven of Nine and the Borg children, would the internal enhancements still be the same as what Picard possesses?


Optimization algorithm where calculating the function is very costly

I am doing physics simulation and have to minimize a function $f$ of approx. 10 parameters $f=f(x_1, x_2, ... , x_{10} )$. I have already looked into several optimization algorithms (downhill-simplex, stochastic gradient descent, Adam, ...). The general problem for my specific case is that 'calculating' the function $f$ with one set of parameters $x_1 ... x_{10}$ means doing a full simulation which needs about 10 minutes to finish. The function is smooth (although a bit noisy) and I can define fixed boundaries for all parameters $x_i$ out of which the result becomes unphysical.   So, is there any optimization algorithm that specifically works well for the case where calculating the function is very costly?


I have been having this problem for quite a while now, and I thought it was a problem with my keyboard, however upon getting a new keyboard today I'm experiencing the same problem.  The zero key on my keyboard doesn't seen to do anything, however when I press shift it does produce a ")." I am not experiencing this problem with the zero key on the keypad, that works fine.  What I have noticed when I press the zero key while I'm typing is that is seems to remove the ClearType or something. Screenshot  )   The Ds are before pressing zero, the Gs are after.  Any help would be greatly appreciated. This is driving me crazy at this point.  Thanks


I have installed Ubuntu 14.04 on my DELL Inspiron 15R.  Since I have installed it, my fan is constantly spinning, even I do absolutely nothing. I found  and I decided to install i8kutils. Just after I installed it, my fans are now not spinning at all!! This is very dangerous for my laptop... If I run i8kfan -1 2 my fan is spinning for 1-2 seconds in full power, and then stops again. What I should do?  I also tried the following that exist in :   Put ENABLED=1 in /etc/default/i8kmon  Put set config(auto)        1 in /etc/i8kmon.conf  UPDATE:  Please also find the output of this command $ /usr/bin/i8kmon --verbose   ps1: I should mention that my laptops fans work flawlesly when using windows.  ps2: I also know that there are numerous similar questions out there. I spent many hours studying them and I couldn't find any good answer. Therefore, I am seeking for a good answer, than closing down my question as duplicate.


While running a single run in cricket, If the non striker does not leave the crease and the striker reaches the other end and a fielder hits the non striker stumps, Is anyone out?


How to recover the Deleted folder in ubuntu 12.04

Unfortunately i delete my Document folder in Ubuntu 12.04 Desktop.  How to Recover the Document folder using commands...


Password is required every time I open Laptop Lid - Ubuntu 16.04

Every time when I close and open the lid of my Laptop, Ubuntu asks for password, which is very annoying.   Can I get rid of it? I am using Ubuntu 16.04


Selecting text in the terminal without using the mouse

I am about to press enter to run a command in terminal, but before doing that, I want to copy the command to clipboard without using the mouse.  How?  If you're somewhere other than the terminal, Ctrl+Home does it.   Is there a way of arbitrarily selecting text like that in the terminal?  EDITED:    assume that using other programs like screen is not a good alternative the text is to be pasted outside the terminal, so Ctrl+y and similar sequences do not solve it either


How to set NACK right after current byte in TWI (ATMega8)

I have some experience with I²C (TWI) as I used it before, but it seems I can't solve this particular problem. I intend to communicate two CPUs via I²C. One is always the master and the other is the slave. I'm defining the communication protocol myself, so it's somewhat flexible, but I intend it to be as efficient as possible (i.e. the fewer bytes, the better).  I want the slave to set NACK for certain values; for instance:  MASTER = START + sends SLAVE ADDRESS SLAVE = sets ACK MASTER = sends any one "byte" command SLAVE = sets ACK or NACK depending if "byte" was a valid command or not.   The last statement is the problem, because apparently I -as the slave- have to decide for ACK or NACK before receiving the one "byte" command; i.e., in response to TWSR = 0x60 (SLA+W received). The problem is, I don't know in advance if the command will be valid or not! Apparently setting or clearing the TWEA bit is only effective for the next byte to be received.  As much as I digged into the docs, I cannot find a way to respond with NACK "on the fly" because the ATMega sets the interrupt AFTER sending the ACK (or NACK). TWSR will be either 0x80 or 0x88, which means "byte received, ACK sent" and "byte received, NACK sent" respectively.  Aside from adding padding bytes or implementing a bit-banging I²C library, is there some way to solve this?  The master controller is an NXP LPC2148, while the slave controller is an ATMega1284P.  Thank you.


How to load pictures from specified folder in winforms and how to drag these images to somewhere in forms

I have searched over Google and i found only drag and drop options for single images.Also in case of loading images only one images is loading into a picture box.  But I want to load images from a specified folder to winforms and i want to drag and drop these images to somewhere


need help understanding the function of 'not'

I will go to school, but not if it is snowing, if I finish my homework. Can "not" serve as a substitute for "I will not go to school"? If so, does the "if I finish my homework" clause modify "I will (not) go to school if it is snowing" ? or does it modify "I will go to school" ? or does it modify "I will go to school, but not if it is snowing"? I understand that adding more conjunctions would help make things clearer. However, everything was spoken and the "if I finish my homework" was added as an afterthought so there really was no time to add conjunctions to help clarify things.


How can I use the desktop trash can to remove icons in Xenial Ubuntu Linux?


i am reading the elements of statistical learning, and the following diagram is included on page 262. i interpret the text (potentially incorrectly) that the fitted line $\mu(x)$ is a linear combination / mixture of 7 basis functions, with the mixture weigts determined by $\beta$. However - this does not link in the concept of the knots, or give me an intuition on how to select the basis functions h(x). Can someone give me some hints on how and where this is different from fitting a mixture model of 7 individual functions?


In a future war, an old lady is trying to raise a boy but one of the weapons has made everyone deaf

A long time ago, I read a story about a future war.  Everything is in ruins.  An old lady is trying to raise a boy.  But one weapon has made everyone deaf.  When the boy does something bad, all she can do is hold up a card which says "No!".  They can tell when the air raid siren goes off by the vibrations of the sirens causing beans to jump about in a tube.  TV shows lots of old silent movies.  It may have been in an anthology.


How many faces of a solid can one "see"?

What is the maximum number of faces of totally convex solid that one can "see" from a point?   ...and, more importantly, how can I ask this question better? (I'm a college student with little experience in asking well formed questions, much less answering them.)   By "see" I mean something like this: you point a camera from a point at the solid, and look at the picture. How many of the faces of the solid look like faces and not just lines? Let's assume that the lens is just a point in space (no lenses wider than the solid itself) and that the camera is a finite distance from the solid. I know this is a crude definition... if you have any ideas for a more rigorous definition, this would be awesome, then maybe there's ways to prove the answer to my question mathematically.   For example, in the picture of , you can see 3 faces. This is the maximum you can see for a cube. How can that be proved?   What methods might you use to prove this for a convex solid of any size and shape? Are there ways to do so using only relatively basic math (Multivariable calc, linear algebra, high school geometry)?


Connection between SQL Server 2014 and Oracle 12c

I have to server:    1.Server_A with Oracle 12c  2.Server_B with SQL Server 2014  I want these servers see each other, though I can SELECT anything I want in Server_A from Server_B and vice versa.  I only want SELECT queries (no possibility to run INSERT, UPDATE, INSERT queries), and also if possible EXECUTE any procedures.


Using Chaiken Method parameters for smoothing polygon vectors in QGIS

I've been trying to smooth a huge polygon, that is result of a segmentation export. I'd like to know what's the best parameters to use Chaiken Method to get smooth curved boundaries on QGIS 2.14.  I already tried v.generalize   The best result I got so far is this:   And what I really need is something like this:   I made this red line on adobe illustrator as example. So, how can I get this result on QGIS 2.14?


I have been digging the archives for eternity to find that Location Services and Auto-sync (assuming we ignored other factors such as Bluetooth etc -- because my focus is mainly about auto sync) are extremely battery hungry.  Although, i manually toggle the switches (GPS, BT etc) based on requirement. I have paid enough heed to notice the battery gain and drain caused by auto sync enabled and disabled.  I have read somewhere people claiming innocence of autosync. Basically, Their idea is that it doesn't constantly push all the data from server to my phone and vice-versa. instead, there is a thread meant to ask the server if there's something new (and events are created based on the responses).  So, shed some light on:  1) is auto sync really causing the depression to my battery?  2) what does auto sync really do (perhaps a geeky explanation please) ?  3) how many minutes/hours am i actually gaining or losing while leaving it ON or OFF ?  4) what other factors claim culpability as to battery drain?


I have a table URL_Experiment in my database (mySQL database). I have 2 million URL links in this table.  For each URL, I am checking if some particular text is present in the URL and updating the information back in my URL_Experiment table.    Now, I need to make the script run fast. The easy solution that comes to my mind is:  split the URL_Experiment into 10 tables (each with 200,000 rows) and run the script 10 times simultaneously. This way, I can ensure that the updates happen properly. But for this, I need to save 10 scripts, each accessing the correct table (I need to rename the tables from 1 to 10).   Though the above seems a pretty neat solution, I am looking for a more sophisticated solution. Something which will execute the same script simultaneously (in parallel) as 10 processes. My concern is the execution time. I do not want the resources to be wasted when they can be utilized.


I'm running QGIS 2.1.4 and Windows 7. For each layer, under properties there is a drop down box called 'data source encoding'. Mine is set to 'system'. I am wondering what this means, there seems to be a lot of options one can choose from.


How to permanently uninstall Microsoft Teams?

The question's in the title. The official website gives only details for Windows and Mac:  .


Why does this inequality always hold true? $$\|x\|_2 \leq\|x\|_1$$ where $\|x\|_2$ is the euclidean norm : $\|x\|_2 = \sqrt{x_1^2 + \dots + x_n^2}$ , and $\|x\|_1$ the $L_1$ norm : $\|x\|_1 = |x_1| + \dots + |x_n|$.


Is the phrase "to not" correct in English?

There is something that I often I meet in English.  It is the use of "to not", and I'm not sure about its correctness since I'm not a native English  speaker. For example:      I brought it to you in order to not give it to her.        He came from this way in order to not see you.   Is it correct to speak like that in English?


Standard model shows zero mass for neutrino and seesaw model explains why the neutrino mass is so small. But to show that the neutrino mass is small, the mass should be originated by some mechanism. If this mechanism is not higgs mechanism then what is it? Kindly please provide the mathematical calculations associated with it.


Transparent background render taking ages

I am rendering a animation, I originally had a white background but that was taking forever, so I turned on transparent background. The issue still persists, Blender wants to render the scene, each portion of the render fly's through, but 1 full transparent frame takes 25 seconds. Is there a way I can tell blender to not care about transparent portions.    The animation is a phone coming up and rotating.


I wanted to download a YouTube video on Ubuntu 14.04 LTS. How do I proceed?  Here is the link:


Why does the \marginpar not appear on the left page?

I am working on a book right now and the margin notes are not appearing on the left-side pages.  I tried using mparhack but it made no difference.  Is my geometry, fancy style or another package messing up the normal layout?  I am using pdflatex to render.  Here is a minimal test case:  \documentclass[twoside,10pt]{book} \usepackage[margin=9mm,paperwidth=107.95mm,paperheight=174.63mm,bottom=18mm]{geometry} %\usepackage[cam,a4,center,pdftex]{crop} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{fancyhdr} \usepackage{lipsum} \pagestyle{fancy} \fancyhead{} \fancyfoot[C]{\thepage} \renewcommand{\headrulewidth}{0pt} \fontsize{10.5}{13}\selectfont \usepackage[sc,medium]{titlesec} \usepackage{tocloft} \addtocontents{toc}{%             \protect\renewcommand{\protect\cftchapleader}{%-- switch it on here                     \protect\cftdotfill{\protect\cftdotsep}}} \addtocontents{toc}{\protect\thispagestyle{empty}} \renewcommand{\cfttoctitlefont}{\hfill\scshape} \renewcommand\cftaftertoctitle{\hfill\null\\\null\hfill\scshape{Page}} \renewcommand{\cftchapfont}{\normalsize\scshape} \renewcommand{\cftchappagefont}{\normalsize\scshape} \setlength{\emergencystretch}{3em} \title{Heroic Real Estate Otter of the 21st Century} \date{} \begin{document} \frenchspacing \chapter*{Thread 0} \addcontentsline{toc}{chapter}{Thread 0} \pagestyle{fancy} \hspace{0pt}\marginpar[$\omega$]{$\omega$}\lipsum[4-6]  NEXT\hspace{0pt}\marginpar[$\psi$]{$\psi$}\lipsum[10]  \end{document}


I recently posted a similar question, but the design has changed, so here's the new question.  I have two 4-ft x 4" x 4" wood posts, and each post has two screw eyes. There's 12 feet of distance between each post. I would like to recreate the design in the image, but I want it to be tight, not sagging. I'd use a 3/4" rope with no stretch.  How can I tighten this rope so that it's taut? Once it's tight, I'd Like to use a knot to secure it (I'd rather use a knot than a crimp sleeve).  Since this more decorative, I can pull and then tighten, but I prefer using something that can make it even tighter.


What are the advantages of Lua over other scripting languages for a TeX implementation?

The question is inspired by Martin Schröder's answer to  as well as my two previous questions on this forum:       In retrospect, I am truly surprised that no LuaTeX user offered any answers to my questions as it seems to me that that could be easily done in LuaTeX by embedding Lua scripts into the LaTeX code. Can it be really done (question for LuaTeX users only) and is it easy?   My second question is motivated by the fact that I hate very thought of having to learn another scripting/general programming language (Lua) if I already know Python (you can substitute Perl if you like) just to use it with TeX. Is anybody cooking a Python interface for TeX call it PythonTeX for short (PerlTeX actually does exist)? As far as I know PythonTeX doesn't exist. There is something called  but that just look like a tool for people who want to type TeX documents using Python syntax.  Is there an advantage of using Lua over Python as an embedded scripting language for TeX (apart of the fact that people who started LuaTeX probably were more familiar with Lua)?


How should you deal with people who suddenly post angry comments?

I don't know how I triggered this user, but for me it was really a kinda funny thing to happen. In this situation, what should you do?  This user answered a question but with just a link; I suggested that putting some examples would be great for his answer, but suddenly this guy started to rage, as you can see in the image below. Now I won't blame him - maybe he just had a hard time or anything else - but officially, these things should not be happening, right? What can we do?


How do you set up *actual* displacement maps in eevee?

In eevee I put a texture into a displacement node, then that displacement into the material output displacement, which is what this site says is supposed to work, but unsurprisingly that doesn't. The shading/texture/display/view port/... w/e only acts as though it's the primitive Blender Render normal setting, not like an actual displacement modifier, which Blender Render does process correctly. How is this supposed to work for eevee?


Can you partition an infinite set, into an infinite number of infinite sets?


I need to create a shapefile with crossed streets. I can't split the lines to number each segment with the house number ranges.


What is the sprint button in Minecraft 1.5.2? I know it's a silly question to ask, but I can't seem to find it. Thanks in advance for the help.


Space expansion and conservation of energy

The phrase of 'expansion of universe' , as we are led to believe, is mostly referring to an expansion in space. But is space expanding in the sense that the space between two particles is increasing or in the sense that the particles themselves are somehow getting bigger because of this expansion?  If its the first one, woudn't that be inconsistent with conservation of energy? For example, say we have two oppositely charged particles placed next to each other. If the space between them suddenly expands, then potential energy is generated out of nowhere. Is it not?


Approximate probability of minimum n such that the sum of n Bernoulli random variables is greater or equal to 1000

Let $X_i$, $1 \le i \le N$ be iid Bernoulli random variables with $P(X_i = 1) = 0,92$. Let $N = min\{n: \sum_{i=1}^{n} X_i \ge 1000\}$. What is the approximate probability of $N$ being greater than 1100? I understood that this probability could be calculated as follows: $$\begin{aligned}P(N > 1100) &= \sum_{n=1101}^\infty P\left(\sum_{i=1}^n X_i = 1000\right) \\ &= \sum_{n=1101}^\infty \binom{n}{1000} 0,92^{1000} 0,08^{n - 1000} \end{aligned}$$ I don't know how to approximate this expression without programming. I also tried to use simulations that got me a different answer. I'm not sure if this is not the correct expression or if my simulations are wrong. Any ideas would be helpful. Thanks


Reference formula 'Text' within another cell in Excel

I would like to insert text from a cell into a formula.  For example, using the formula:   =LOOKUP(A1,'Sheet2'!B2:B10, 'Sheet2'!D2:D10)   I would like to change 'Sheet2' to some other reference (i.e. Sheet3) - this reference label is contained within another cell within the main spreadsheet.  Is there a way to do this?


Prove by induction that $2^n\le (n+1)!$ for all $n\in\Bbb N$.  What I've done so far is prove for $n=1$: $$2^1 \le (1+1)!,$$ $$2 \le 2,$$ which is correct Then I tried to prove for $n+1$, in other words, I want to get here: $$2^{n+1}\le(n+2)!.$$ So, I multiplied everything with $2$: $$2\cdot 2^n \le2\cdot (n+1)!,$$ $$2^{n+1} \le2(n+1)n!.$$ So I already have what I wanted in the left part of the inequality, but I'm stuck for the right part. Can someone help me? Thanks!


Will I lose my shot at the Law pistol if i complete Playthrough 1?

I have krieg up to lv 30 and am just finishing up a few things before I kill the warrior. One thing I have put off is getting the Law pistol and Order shield. I want them to be as high level as possible for playthrough 2. I am aware that the only real use i will be getting out of the law is in the form of its +100% melee damage, so it's level is less important. Nevertheless, I want it to be lv 30 or close to it for Playthrough 2. At the moment the mission is recommended lv 16, so I expect the gun will be simmilar (lv 16 or 17).  I noticed that several missions get locked out when I turn in the mission Data Mining; so my 2-part question is this:  (1) If I proceed with the main storyline, turn in Data Mining, kill the warrior, and complete Playthrough 1; will I still be able to accept and complete the mission "Won't Get Fooled Again" from Marshall Friedman and get the law?  (2) If so, will that scale the law up to lv 31 to match my level and completion of playthrough 1; or will the Law pistol still be lv 16?


real analysis Basic real analysis proof limit point

$$A_n = (-1)^n \left(\frac{\sqrt 2 \;n}{n+1}\right),\;\; n = 1, 2, 3, \ldots$$   My question is to find the limit point of this equation   I'm still not very good concepted with limited point.   This equation is alternating -1 and 1 and converge to $\sqrt 2$.   So can you say $\sqrt 2$ is the limited point?   If it is not what is the difference between limited point and limit?  How to find limit points of $A_n$ ?


Formatting bug when newline is present in chat message

I recently noticed that when there are new-lines in the same chat message, Markdown support fails.  For example:  *Test*   **TEST**   This won't produce the expected output:     Test       TEST   It leaves the message as it is with the Markdown text included.  if needed.  Is this , or a ?


Create alias with paramater in the middle

I want to create an alias for grep like this:   grep argX ~/myfile   where argX is a parameter and myfile is always the same. How can I do this?


Is physical entropy opposite to information entropy?

I am currently taking a class on Decision Theory where I was introduced to the notion of "entropy" in an information theoretic setting while we were studying decision trees. I was given the following example:  Imagine that you have three sacks - one with four red balls, one with three red and one blue ball, and one with two red and two blue balls. In an information-theoretic way, the first sack has minimum entropy because all the balls are alike hence maximum information; the second one has higher entropy than the first sack while the last one has maximum entropy because you are completely unsure about the information.   To me, this goes against the intuition of entropy from a thermodynamics point of view. The second law of thermodynamics asserts that the entropy is increasing and this will result in the Heat Death of the Universe when all the molecules will have the same temperature and we will not be able to extract any new energy from them. So comparing to the sack example, this seems like that all the molecules at this point of the Universe will have the same temperature so they have the lowest information entropy. However, according to the 2nd law of thermodynamics, the entropy will be at maximum during this stage.   I have always understood the thermodynamic entropy as a way to measure how "similar" different microstates are. The more similar, the higher the entropy. But the information theory definition is the exact opposite. I would love any insight on this apparent contradiction.


View extended ACL for a file with '+' in ls -l output

A file in a ls -l listing has permissions such as:  -rw-r-----+   How do I find the extended Access Control List (ACL) permissions denoted by the +?


Why would Neville be a candidate as the child of the first prophecy?

Sybill Trelawney's prophecy said that the child to face Voldemort would be      "born as the seventh month dies."   Neville was born on July 30th, Harry on 31st. So isn't the 31st really the last day of the month, the day the month dies?   Since Harry fits the prophecy better (e.g. he was born on the last day of the month), why would Neville even be considered as the child of the prophecy?


When orbiting a massive object, perhaps a neutron star, you maintain your altitude while at the same time you are close to a very strong gravitational field. Being in orbit, and being in free fall is indistinguishable for the object in question. The object is not affected by gravity, locally.  Another free falling object can't be "less affected" than this first object, since the first object is in fact not noticing any gravity. Logically, both object should age equally fast if we ignore the relativeness of aging.  There is no doubt that the gravitational field is strongest around the first object, but neither object experiences any gravitational field. Object one looks at object two is in free fall, and vice versa.  Of object one records a video of object two, and then later plays that video - but adjust the playback rate to account for all doppler shift effects - what would object one see?  Is doppler the only effect causing the difference in relative aging in this case?


What is the algorithm for float placement?

As discussed  on Meta, I wanted to know what the algorithm for placing floats is but did not find the corresponding  and  as easily as I expected beforehand. Therefore, here I'm asking the same question in different words again and mark this new question as a duplicate, directly. That way, I hope to improve the findabilty of the great existing question and answer.


Vb6 Deep Count the number of properties in a UDT Object

I have a few User-Defined Types, EG   Public Type Country     City1 as City     City2 as City     City3 as City End Type Public Type City     Name as String     Buildings as Long     People as byte End Type   What I need to do, Is write a function. That is capable of Counting the number of variables in whatever Object I pass into it.  This is going to be for networking optimization. I want to avoid sending Data that is equal to 0 or not set in the case of strings.   My end goal is the Server will Count the variables inside my object, flag which ones are Not 0, and store in a bit-flag byte. Send the Byte or Multiple Bytes to the Client, along with the variables that are not equal to 0.   So I will have a packet that looks like this:  Byte() {PacketIDByte,BitFlagBytes(),NotEmptyData()}  The Client has access to the same data, so it can count how many variables the object has and Determine which ones have been sent and need to be set.  Hopefully Im being clear enough, (In this way im hoping to get my 58 * 297 byte Packets Down to around 6to24 * 297 Bytes)  Essentially I need to know How to loop through All properties in an object.  Here a non functioning chunk of code, That I feel illustrates what I am trying to accomplish.  Public Function GetUDTPropertyCount(ByRef AnyObject As Object) As Long     Dim Obj As Object     Dim Count As Long     For Each Obj In AnyObject 'Loop through properties         If TypeOf Obj Is Object  Then             Count = Count + GetUDTPropertyCount(Obj)             GoTo NextObj         Else 'If typeOf Obj is a value type then             Count = Count + 1         End If NextObj:     Next Obj     GetUDTPropertyCount = Count End Function


How to check if object is a DOM element?

I have a function:  function Check(o) {     alert(/* o is a DOM element ? "true" : "false" */); }   How can I check if the parameter o is a DOM object or not?


When are U.S.-bound flights required to confiscate liquids at the gate?

In a , I found that the U.S. requires flights from Hong Kong that are bound for the U.S. to confiscate liquids in containers above 100 mL from carry-on luggage in a secondary screening at the gate. However, this did not occur on a recent (June 2014) flight I took to the U.S. from Incheon, South Korea. I've also read forum posts where this has not applied to others going to the U.S. from Seoul or parts of Europe, but also where it has applied to those flying to the U.S. from some other places, including Latin America.  So, under what conditions are U.S.-bound flights required to confiscate liquids from carry-on items at the gate (as opposed to only confiscating them at security checkpoints and allowing items purchased airside to be taken on the plane, as happens on U.S. domestic flights?)  Is this only from certain countries whose primary screening isn't approved by the U.S. DoT (or DHS, as the case may be) for some reason? If so, is there a definitive list of which countries require (or, conversely, don't require) this check at the gate?  Is there an element of randomness to whether liquids acquired airside may be allowed on any given U.S.-bound international flight or is the procedure generally the same from a given departure point? It appears that, , the gate check is always applied, but I'm wondering about the general case of U.S.-bound international flights.  In order to limit the scope of the question, I'm not referring to items purchased in duty-free shops and the special rules and circumstances that may be involved with those. I'm just concerned with filling up or buying a water bottle or buying a soda or some such thing airside and taking it on the plane.


How to merge two lines ending at a certain character in notepad++