Error automatically apply special formatting to selected words in text (XeLaTeX)
wordcount with xesearch errors
INACTIVE_OWNER_OR_USER Securely erasing all data from a hard drive I am about to sell my old desktop PC and I am cautious about some of my sensitive information being available to the purchaser, even after reformatting the hard-drive, using data recovery software.  How can I securely wipe the hard drive so that the data on it cannot be recovered?  Although I specifically want help with my Windows PC, it wouldn't hurt if there were suggestions for Macs as well. What is the meaning of equation of a circle or equation of a cube? We have an equation of a Circle $$x^2 + y^2 = 1$$ and equation of a Cube $${||x-y|+|x+y|-2z|+||x-y|+|x+y|+2z|=1}$$  When I substitute x,y in first equation or x,y,z in the second equation then the equations are said to be satisfied when LHS and RHS are equal.  I have a quick question. If the first equation or second equation get satisfied, because LHS becomes equal to RHS, then those values of x and y of first equation are said to be lying on the circumference of the circle and not inside or outside of the circle and x,y,z of the second equation are said to be lying on the surface of the cube and not on the inside and not on the circle of the cube. Correct? Before I met her I had a poor opinion of her.   As person had a poor opinion before a particular time in past (before He met her) so I think there should be had had.   There are some more example like this:   Before I went to the university, I worked/had worked as a carpenter for 5 years. Before I opened the door, I put/had put the key in the lock. Before I opened the door, I looked/had looked carefully into the barn for snipers.   In all these sentence, for me, it should be perfect tense.  I asked that question on another platform where I was told that if sequence of past event is obvious and sentences uses "before"and "after", we often use past tense. Which means we should use past tense in all these sentences. But I have another sentence "The train had left before I reached the station." If I follow above mentioned rule there should be "left" instead of "had left". But I am damn sure this sentence is correct with "had left".   Am I correct?  Thank you How do I model the fighter's Great Weapon Fighting fighting style in Anydice? I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice.  I've found this one:  function: reroll R:n under N:n {    if R &lt; N { result: d12 } else {result: R} } output [reroll 1d12 under 3] named "greataxe weapon fighting"   And it works fine. But I don't know how to make the function generic so i don't need to change the d12 every time i want a different dice to reroll.  I've tried  function: reroll R:n under N:n {    if R &lt; N { result: d{1..R} } else {result: R} } output [reroll 1d12 under 3] named "greataxe weapon fighting"   but it is not giving the right probabilities. Maybe if I could fetch the die size inside the function... How does a graduate program's admissions committee operate? How does a typical graduate program's admissions committee operate? (In the US --- I understand that in Europe admissions are often structured differently.)  My mental model at the moment is several professors sitting in a conference room with a stack of printed applications and a few piles: accept, maybe, and reject. Three or so professors will read an application and then make a decision. If the volume of applications is large enough, multiple meetings might be required. This is purely my imagination --- I don't know how accurate this model is.  Of course, I'm sure that how admissions are handled depends greatly on the school, program, and department. I'm interested in a few data points to get a rough idea of what the average is.  A few more specific related questions:   How much time does a typical committee spend on each application? I suspect there's a distribution. Obviously unqualified applicants will probably have their applications tossed into the reject pile pretty quickly. Qualified applicants' applications might receive more attention. Do admissions committees look online for more information about an applicant? I've read some professors (in CS --- not my field) will look at a student's research/project website, but I have no idea how common this is. Drawing visibility polygons in Unity (for vision cones with occlusion) I'm currently trying to create an effect like the one displayed below in Unity:    However, it seems that I can't do this with any of Unity's built-in light objects, and I simply cannot find anything online that talks about this. Is there a way to achieve this in Unity? 2D or 3D solutions are fine, as I'm sure that they're both very similar to each other, Stack overflow links not working How does Ubuntu partition the disk when we choose "Erase disk and install Ubuntu" during installation? How will Ubuntu automatically allocate the disk partition sizes when we select Erase disk and install Ubuntu during installation?    Can the settings for automatic space allocation be changed? Install on usb external hard drive I am new to ubuntu and i would like some help. I have a laptop with windows 7 installed but i would love to have ubuntu too because it's a great OS. So i would like to install ubuntu on an external usb hard drive (320 - 500 GB) and i have some questions about that :   Do i need a usb external hard drive which will be compatible with ubuntu - linux ? or i can do it with any hard drive  If i make a partition on it for ubuntu staff will i be able to use it and save other staff in the usb hard drive (movies,songs,documents etc) ? If i have ubuntu installed on the usb hard drive will i be able to boot ubuntu from any pc ? Are my changes going to be saved normally or my settings will be lost after shut down ?   Waiting for your answers, if something is not explain well tell me to try explain it better . Thank you! which vectors are perpendicular to each other?  $\vec a = (1, -2, 3)$, $\vec b = (5, 4, 1)$, $\vec c = (1, 0, -5)$  Do i just take the dot product of 2 of them. If the dot product they are at $90^\circ$? But how do i know if there perpendicular? Are non-citizens of the Capitol permitted to permanently immigrate? Reading  got me thinking about permitted citizenship.  Are citizens of other districts allowed to permanently move to, or become citizens of the Capitol?   My gut says, "No." The citizens of the other districts are being punished, so it makes little sense to allow them a true, legal escape from their punishments. Even victors are only given new homes in their own districts, keeping them there. Questions like  dealing with Ancalagon in particular, and Middle-earth's dragons in general, clearly show that Ancalagon was ridiculously, absurdly, unimaginably enormous.      The non-canonical image above shows one person's impression of how the different dragons of Middle-earth stacked up, with Smaug looking absolutely tiny at the far left, and Ancalagon on the right, too big to even fit in the picture.    Below, a presumably canonical picture, painted by Tolkien himself, shows Smaug in relation to Bilbo.  The rough measurements I took from this image suggest that Smaug is about 11 times longer than Bilbo is tall.  Depending on how tall Bilbo is - almost certainly somewhere between 3'6" and 4' tall - Smaug is approximately 38-44 feet long.      If the first picture is even vaguely accurate, Ancalagon would appear to be a minimum of something like 720 feet long from the tip of his nose to the end of his tail:  the visible portions of his head and body are at least 6 times longer than Smaug is from end to end, and we have to assume that the portion of his body that is out of frame is at least 3 times longer still, perhaps even 4 times or more (so the upper range of his length might exceed 1,000 feet).  Does Tolkien give us any way to estimate how big Ancalagon was?  It isn't his normal practice to describe things in great detail, I realize, but he often gives a few hints that allow for some rough approximation to be made.  Does anything he says suggest that the first image is anything like what he had in mind?  Note:  I haven't read anything about Ancalagon from Tolkien's own pen, except a few quotes on this site;  the most important bit of information I've gleaned is that he smashed 3 volcanoes to pieces when he died (or something like that).  How accurate is this, and what else did Tolkien say?    This question is not a duplicate of "", because none of the answers to that question address Ancalagon's size in any detail - except my own, which is based on what little information I was able to glean from the two pictures I included in this question.  All the other answers address how Ancalagon was killed, not how big he was.  I have no interest in how he died, only how big he was, or rather, what hints we can find that might give some indication of how big he was.  I wouldn't ask this question, linking that question in my own, if it contained the information I am interested in.    Note 2:  Regarding the relative sizes and impressiveness of Smaug and Ancalagon:  Imagine a meeting between Smaug and Ancalagon in Dragon Heaven: Smaug: "How'd you die?" Ancalagon: "A flying boat full of fire made by the Angels and driven by a Magic Elf smashed into me, so I fell onto a mountain and broke it, and I died. The Magic Elf lives in outer space now, and the boat turned into a star. How'd you die?" Smaug: "Um... Some dude shot me with an arrow." "is" operator behaves unexpectedly with integers Why does the following behave unexpectedly in Python?  &gt;&gt;&gt; a = 256 &gt;&gt;&gt; b = 256 &gt;&gt;&gt; a is b True           # This is an expected result &gt;&gt;&gt; a = 257 &gt;&gt;&gt; b = 257 &gt;&gt;&gt; a is b False          # What happened here? Why is this False? &gt;&gt;&gt; 257 is 257 True           # Yet the literal numbers compare properly   I am using Python 2.5.2. Trying some different versions of Python, it appears that Python 2.3.3 shows the above behaviour between 99 and 100.  Based on the above, I can hypothesize that Python is internally implemented such that "small" integers are stored in a different way than larger integers and the is operator can tell the difference. Why the leaky abstraction? What is a better way of comparing two arbitrary objects to see whether they are the same when I don't know in advance whether they are numbers or not? What do you call the frequent conjunction {juxtaposition} of two words? The statement that I want to make is:     "Impostor syndrome" ... why does this (conjunction of words) sneak into every text I read these days?   What is the right or best expression for "conjunction of words"? In the statement I don't want to refer to the syndrome itself, but rather to the expression. If it was one word instead of two I would want to say     ... why does this word sneak into every text I read these days.   However, writing     ________ why do these two words sneak into every text I read these days.   would miss the point, because it's not these two words that sneak into every text at various location but rather their conjunction. Now, that Ubuntu 17.10 is out, and Unity 7 is replaced with Gnome 3, is there a way to install and use Unity7?   I know Unity is still in the repositories, so it should be possible, right? More than one private key for RSA In an RSA-encryption scenario, Bob's public key pair $(n, e)$ is $(143, 43)$. An attacker Mallory tries brute-force and comes to $d = 7$ as the private key. The value of $φ(143) = 120$ is not known to Mallory. However from $43 \cdot d \equiv 1 \bmod 120)$, one can calculate the first positive element $d = 67$ from multiplicative group $d = 120 + 67n$ and $n \in \mathbb{Z}$ $d = 7$ clearly doesn't fit in that multiplicative group, so how come it can successfully decrypt the encryption? Photons travel at the fastest speed in our universe, the speed of light.  Do photons have acceleration? In my experience, input type="text" onchange event usually occurs only after you leave (blur) the control.  Is there a way to force browser to trigger onchange every time textfield content changes? If not, what is the most elegant way to track this “manually”?  Using onkey* events is not reliable, since you can right-click the field and choose Paste, and this will change the field without any keyboard input.  Is setTimeout the only way?.. Ugly :-) I can print with printf as a hex or octal number.  Is there a format tag to print as binary, or arbitrary base? I am running gcc. printf(&quot;%d %x %o\n&quot;, 10, 10, 10); //prints &quot;10 A 12\n&quot; print(&quot;%b\n&quot;, 10); // prints &quot;%b\n&quot;