This question might sound very silly, so I'm sorry if that's the case. I'll try my best to make my point clear here. Before explaining, just to make clear, I'm not confused because of the Math involved. I've started now to study Functional Analysis, but I have a reasonable background in Math. What I'm confused is what is the overall idea of Quantum Mechanics.  Before I've started the course of Physics I've always heard people saying that Quantum Mechanics was all about describing microscopic phenomena (electrons, atoms and so on) so that we are able to understand the structure of matter.  Since I've started the Physics course some years ago I took some introductory courses in modern Physics and Quantum Mechanics. In those courses the main thing that was stressed were two points:   The need for Quantum Mechanics, i.e. the situations on which Classical Mechanics failed to describe phenomena and predict things, was seem mostly on experiments studying the structure of matter. In other words, the need for Quantum Mechanics was only seem when dealing with microscopic phenomena. The basic idea upon which Quantum Mechanics is based is the wave-particle duality. So it is seem that particles on these microscopic phenomena behave as waves. Those matter waves have a direct interpretation in terms of probability amplitudes.   In other words, those introductory courses led me to think that Quantum Mechanics is all about dealing with matter waves governed by Schrödinger's equation in order to study microscopic phenomena.  On the other hand, this semester I'm taking a more serious course on Quantum Mechanics. One of the main things that has been stressed up to now is the sharp distiction between wavefunctions and kets and also between the space of functions and the state space.  I've already asked about wavefunctions and kets  and about the space of functions and state space . I think I got the overall idea: a ket is a state vector. That is, it is one object that encodes all the available information of a system. The main point is that the ket is not a wavefunction, although it can be related to one. In other words, we have abstracted the idea of state contained inside the wavefunction picture.  Although this is quite nice, I see now a gap between that old picture I had about Quantum Mechanics and this new one. I thought Quantum Mechanics was all about wave-particle duality and dealing with matter waves. But now, we are simply talking about abstract states of a system.  More than that, I can't see anymore the connection with the microscopic phenomena. In truth, this language of "abstract states of a system" could, IMHO, be used in Classical Mechanics as well. In other words, things seem so general, that I'm not yet being able to connect with what already learned before. In truth, if someone asked "what Quantum Mechanics is all about?" today I would be unsure of what to say.  Considering all this, my question (which I believe to be quite silly) is: what Quantum Mechanics is all about? How to bridge the gap between the abstract language of state vectors living in Hilbert Spaces and the more "intuitive" picture of wave-particle duality and microscopic phenomena?


A term for someone who fails to see the big picture or doesn't see the wood for the trees

I'm looking for a term to describe someone who loses sight of the big picture because he focuses on the wrong details, for instance:     a sales manager who fires his highest performing sales rep because the sales rep was a minute late to work but doesn't fire the poorly performing sales reps because they have always been on time.     I wouldn't call this person a perfectionist because the poorly performing sales reps are still on the payroll.   I'm basically looking for a term to label someone who doesn't know how to properly assign weights to relevant information when making a decision.


Neural Networks input data normalization and centering

I'm learning Neural Networks and I grasped the algebra behind them. I'm now interested in understanding how normalization and centering of the input data affect them. In my personal learning project (Regression with NN) I've transformed my input variables to a range between 0 and 1 using the following function:  normalize <- function(x) {return((x - min(x))/ (max(x) - min(x)))}   The NN model fits well and has an acceptable out-of-sample prediction error.   However, I read in other  that scaling the inputs to have mean 0 and a variance of 1 is advised for NN. I don't fully understand:   how this transformation works better for NN against the min-max normalization between 0 and 1. how can I assess which transformation to apply in my data?


What math should a computer scientist take in college?

I'm a computer science major and like many of us we have to take two additional sciences. These two additional science courses are in addition to three semesters of calculus,two semesters of physics, and one semester each of linear algebra and discrete math.  I could take the easy way out and take an algebra based astronomy course, but I want the most bang for my buck as it relates to my major.What other types of math classes should I take? I do enjoy math a lot and have always done well.


purple screen boot 12.04 (black with recovery mode)

So I have a problem with my asus computer: everything went just fine until today,  my computer shows me the grub menu when I start up like it usually does. But when I choose a version of linux the only thing I get is a  purple screen or a black one if I use the recovery mode.  I have been using ubuntu 12.04 for about a month and I did not download a single update the day before it started to act like this. It was also running perfectly fine on start up until today.  I tried to replace quiet splash with nomodeset but that didn't help, running an older version of linux didn't help either, as I have the same problem on every version.  I have an Asus motherboard 8 Gb DDR3 Ram  Nvidia GTX 560 graphics card Intel i7 quad core processor  (Someone posted a similar question here:  but nobody answered :/)  Edit Boot repair didn't solve the problem, here is the link it gave me:   Second Edit:  ctrl alt delete who worked before the boot repair doesn't work anymore... :/ (I could use it when I had the purple/black screen)  3th edit: The Grub commandline works, so maybe it's a problem with graphics?  (Even though I didn't change anything when I last used my laptop on Ubuntu..)  Last edit: Seems like this was marked as a duplicate, the answers provided didn't solve the problem at all.. As I couldn't find the source of the problem I reinstalled ubuntu...  (Wich completely crashed my computer, due to a fatal error while trying to install the grub, it couldn't find the device.. But that's not part of the question anymore :).)  But thanks for your fast answers! :)


How to create a pattern or tiles from rotated elements

I have a geometric pattern – say, a cross:    Which I want to repeat with some overlap and tile … easy:    The blue square marks the 100×100 px unit tile.  However, here comes the catch: I want to rotate the image by about 30° and then tile it. This has proved surprisingly hard; of course rotating the image is easy – but finding a perpendicular unit tile (the blue block in the above image) isn’t:    Clearly the 100×100 unit tile won’t cut it. How do I choose the correct unit tile? The position presumably doesn’t matter, only the size is important, but I don’t know how to calculate that. Intuitively I expect that the rotation angle and the  will feature heavily but that’s as far as I got1. What’s worse, the rotation for arbitrary angles isn’t exact due to the inherent discreteness of pixels so even if I calculate the mathematically correct size it won’t necessarily result in a seamless tile.  So how can I calculate an optimal angle/size combination given the size of the perpendicular unit cell (here, 100×100) and an approximate desired angle?    1 My thought was that (using Wikipedia notation), since we want the projection of A onto B to be as long as B, we have |B|=|A|·cosϑ, and thus |A|=|B|/cosϑ. Which, in my case, would yield the new length |A|=115.470 but a simple try shows that this cannot be correct by a long shot, besides yielding an ugly non-integral number. In fact, just looking at the above rotated picture we can see that the whole 200×400 picture doesn’t contain a repeating perpendicular unit.


Why are humans so variable in appearance

Most animals look almost identical to their peers. To distinguish lions we record the spots on their face; with whales we look at the blemishes on their tail or flukes. In other words, we have to try hard to distinguish one lion from another.  In the case of dogs, we have created many different looking breeds - but within each breed they look the same: one poodle looks very much like the next one.  On the other hand, with humans we have not only the different races (cf. dog breeds), but even within one race no two people are alike. And, not only are the faces different, the body shapes vary equally much. We use face and body shape (and voice) to recognise each other. Most other animals use smell or sound.  I thought the reason for our uniqueness might be that, with civilisation, we are not constrained us to look the same. However, even in hunter-gatherer tribes each person looks different from every other one.  So what is it in human evolution that made us unique in this regard? And, are we unique? I cannot think of any other species with as much variation as ours, but are there others?


Not able to print after getting the values through GET method

I am trying to get the value of two text boxes through GET method. But when i try to print them both. I am not able to do it. The code works perfectly when i do it with single text box.  <?php if(isset($_GET['name']) && isset($_GET['id'])) {  $username = $_GET['name']; $userid = $_GET['id']; echo 'Hi '.$username.'
'; echo "Emp Id is ".$userid; } ?>  <form action="contact-DB.php" method="GET"> Enter Employee Name : <input type = "text" name = "name">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Enter Employee ID : <input type = "text" name = "id"> <input type = "button" name="submit" value="Submit">


Can I use several pipelines as a argument?

I want to check the difference of two file list   one is ls | cut -c 1-4 another is ls | cut -c 1-4 | uniq  does there exists any way can let me do like this diff (ls | cut -c 1-4) (ls | cut -c 1-4 | uniq) or anyway can let me without saving the two list command into files then check the difference of it ..  thanks


After visiting  on labels and cross-referencing, a couple of tex sites (,), and a  solution, the following reference will not appear in the caption. I'm using pdflatex on ubuntu.   The section label that is being referenced (appen) is defined at the end of the doc. All of the following attempts to insert the reference in the caption produce ?? or [?]:   \begin{figure}[!ht] \caption*{See the ~\ref{appen} for language abbreviations.} \makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}} \end{figure}  \begin{figure}[!ht] \caption*{See the ~\cite{appen} for language abbreviations.} \makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}} \end{figure}  \begin{figure}[!ht] \caption*{See the ~\protect\ref{appen} for language abbreviations.} \makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}} \end{figure}  \begin{figure}[!ht] \caption*{See the ~\protect\cite{appen} for language abbreviations.} \makebox[\textwidth]{\includegraphics[width=100mm]{{/filepath/hourly.update}.pdf}} \end{figure}  \section{Appendix} \label{appen} \subsection{Language Abbreviations}  ...words, figures, tables, and such.   -- edit 2013-02-12  Error received:  LaTeX Warning: Reference `appen' on page 2 undefined on input line 94   Any idea how to insert a reference within a caption?


If $\alpha=\beta+\omega$, then $1 + \cos\alpha+\cos\beta+\cos\omega = 4 \cos\frac{\alpha}{2}\cos\frac{\beta}{2}\cos\frac{\omega}{2}$

How can I prove the following? The RHS is not about SIN     If $\alpha = \beta + \omega$, then    $$1 + \cos\alpha+\cos\beta+\cos\omega = 4 \cos\frac{\alpha}{2}\cos\frac{\beta}{2}\cos\frac{\omega}{2}$$   I've already tried that one: $$\cos (\alpha+\omega) + \cos\omega +\cos\alpha + \cos 2(\alpha+\omega)$$ What more can I do?


I use em dashes frequently to break up random or ancillary thoughts in my writing. However, I'm uncertain how to deal with punctuation after an em dash when my sentence continues. For example, which of the following is correct?  If at first you don't succeed—I seem to encounter this scenario frequently—try, try again. If at first you don't succeed—I seem to encounter this scenario frequently—, try, try again.  Would I discard the comma in this case? It seems unnatural to keep it. EDIT: I originally left out an obvious comma between the two "try"s, but that shouldn't affect the intent of my question.


Accessible TeX/LaTeX textbooks, primers, and materials?

I apologize, as this is a somewhat off-the-beaten-trail question.  I'm looking for textbooks (or other educational materials) on TeX and LaTeX that fulfill one or more of the following:   Reads/renders well with a screen reader (namely ); is typeset (or can be re-typeset) with a LD-friendly font such as ; comes with online materials in the vein of  or MyCommunicationLab (viz. flashcards and quizzes); has an audiobook version (MP3 or ); and/or is available via .   I hope this question isn't too off-topic, because I have been having a genuinely hard time finding a textbook or primer that meets my needs.    P.S: Are there any TeX/LaTeX tutors in the Washington, D.C. area? 1:1 instruction is how I learn best, to be frank.  P.P.S: Are there any good flashcard sets for memorizing LaTeX snippets, macros, and commands?


Do references to colloquial terms (or a term following A.K.A.) require quotation marks?

In the below sentence, does "taking the fifth" need to be in quotation marks?  A person may stay silent in order to avoid self-incrimination (commonly referred to as taking the fifth).  The style guide I'm working under does not allow for italics (it's reserved only for Latin/foreign terms). I like the way it looks without quotes, but just want to make sure that is okay.


Lufthansa transit at Frankfurt on the way from Chennai to Atlanta, are two hours enough?

I am traveling from Chennai to Atlanta. M first flight is to Frankfurt reaches at 8 30 AM. My second flight is scheduled at 10 45 AM.   Will the two hours transit time enough for boarding my second flight.  What should be my do's and dont's?  Update  Its more than enough. I was able to make it without any tension.


How to display lable to a url cell in LWC datatable?

I am trying to build a datatable in lwc and one of the column's datatype is url. When I provide URL it shows as  , what I want is just label "Google.com".  I can see from the docs of the  , i can use typeAttributes for url and provide "label", "target" and it should be good to go.  But when I try that I get cell as http://[object Object] which is a bit weird.    Template.html :  <template>

             A data table that fetches content during initialization.

             <lightning-datatable                 key-field="id"                 data={data}                 columns={columns}                 is-loading={tableLoadingState}>             </lightning-datatable>

 </template>   JS :  import { LightningElement, track } from 'lwc';  const columns = [     { label: 'Date', fieldName: 'createdDate' , type: 'date-local',typeAttributes :{ month: "2-digit",day: "2-digit"}},     { label: 'Duplicate Website', fieldName: 'duplicateWebsite', type: 'url'  },     { label: 'Person Detail Match', fieldName: 'personDetailMatch', type: 'boolean' }  ];  export default class DatatableBasic extends LightningElement {     @track data = [];     @track columns = columns;     @track tableLoadingState = true;       connectedCallback() {         const data =  [{createdDate : "1479944705000" , duplicateWebsite : { label : 'Google' , target : 'www.google.com'}   , personDetailMatch : true }];         this.data = data;         this.tableLoadingState = false;     } }   Playground Link :   Update: I managed to update label by providing label fieldName in column definition   const columns = [         { label: 'Date', fieldName: 'createdDate' , type: 'date-local',typeAttributes :{ month: "2-digit",day: "2-digit"}},         { label: 'Duplicate Website', fieldName: 'duplicateWebsite', type: 'url',typeAttributes: { label: {fieldName:'duplicateWebsite'}, value: {fieldName:'urlTarget'}  }  },         { label: 'Person Detail Match', fieldName: 'personDetailMatch', type: 'boolean' }    ];   And rowData as  const data =  [{personName:"url name", createdDate : "1479944705000" , duplicateWebsite : "Google"  ,urlTarget : "www.google.com",  personDetailMatch : true }];   Now the issue is it takes label value as href value, thus making links dead.  Updated Playground Link:


$$\lim_{x\to 0}\frac{\sin(\tan x)-\tan(\sin x)}{\arcsin(\arctan x)-\arctan(\arcsin x)}$$ Hopital's rule and Taylor expansion are practically impossible. Is there a better way to do it (mathematica gives the answer $1$). This limit is of the form $$\lim_{x\to 0}\frac{f(x)-g(x)}{g^{-1}(x)-f^{-1}(x)}$$ but first $f$ and $g$ are not monotone on any neighborhood of $0$ and second how to interpret this limit graphically.


Received the ash elite skin from outbreak packs

After Operation Chimera hit Rainbow Six Siege they said people will get the ash elite skin. I think no body got it.   I got 4 outbreak packs. And luckily I got the Ash elite skin from the outbreak packs. Now if people will get the ash elite skin will my skin that I received from the outbreak pack removed?   Will my elite skin get removed with the new one that we are suppose to receive?


I am trying to install docker on my OpenVZ VPS. I have discovered that my kernel is not up to date, as I am running 2.6.32-042stab123.9 and need to upgrade it.  I have updated to 17.04, however the kernel did not update in the process.  I also tried to update manually following   However I get the error:   /usr/sbin/grub-probe: error: failed to get canonical path of `/dev/ploop35399p1'.   How can I fix this?


echo containing subprocess generates unexpected output

Whenever running a subshell command as part of the echo command, I've noticed the output generates some strange results. While I am completely sure this is simply my lack of knowledge on how the Unix shell works, I would really appreciate some explanation on what is happening behind the scenes and what is the appropriate way of handling this use case? $ cat two two  $ echo "one $(cat two) three" threeo  I would expect one two three as the output Update Apologies about the bad example above as the file two was previously created with the output of curl -I. Just to keep it in context, below follows a more appropriate example. $ curl -sI https://google.com | grep server | cut -d " " -f 2 gws  $ echo "one $(curl -sI https://google.com | grep server | cut -d " " -f 2) three" threes  above, the expected result would be one gws three


I am having a hard time grasping the definition of a limit. I initially learned this loose definition of a limit:  $\lim\limits_{x \to a}f(x)=L$ iff $f(x)$ approaches L when $x$ approaches $a$ from both directions.    Then i learned the epsilon delta definition, which states the following:  $\lim\limits_{x \to a}f(x)=L$ iff for any $\epsilon > 0$ there exists some $\delta>0$ where if $0<|x-a|<\delta$ then $|f(x)-L]<\epsilon$  The way i think about this definition(please correct me if I'm wrong) is that for any given range $\epsilon$ around L, we can find some range $\delta$ around x such that the function evaluated at those points will be within $\epsilon$ of L. However i don't understand how that statement is the same thing as saying:  $\lim\limits_{x \to a}f(x)=L$ iff $f(x)$ approaches L when $x$ approaches $a$ from both directions.


Saving and loading object name location and rotation of a selection

I would like to know how I can save selected object names, location and rotation using Python in Blender 2.8 in a CSV.  And then using the same CSV apply this information to another blend file with the same objects in different locations in a new frame.  (it's not about bones it's about normal meshes).  Beeing new to Blender Python scripting, I hope for some coding hints here.  so far i got this (works in console but not in script file)  import bpy import os ob_active = bpy.context.selected_objects for obj in ob_active:     print(obj.name,obj.location,obj.rotation_euler)


Is there a way to choose a beginning and ending edge and auto select all the edges in between?

I have been using Blender for quite a long time and I just want to make sure that there isn't a better way of selecting edges, that I might not be aware of. It is so cumbersome to have to click every single edge when I don't want to select an entire edge loop but a portion of one instead. I was wondering if there is some way in to specify a start edge and an end edge and then be able to auto select every edge in between?


What happens to an options contract during an all stock acquisition?

Let's say for the sake of the question you're given the following scenario:   Company BIG is trading at $10/share Company SML is trading at $40/share BIG reaches an agreement with SML for an all stock acquisition/merger whereas SML shareholders will receive 5 shares of BIG for each share they own   How would a call option in SML be affected by this deal?  Specifically, I'm unsure of the following:   How is the strike price for SML options affected by the merger? I've read that the only thing that would change is the deliverable (i.e. instead of receiving 100 shares in SML when exercising, you'd now receive 500), but this result in SML contracts having inflated strike prices due to the difference in the value per share pre-merger... What happens to out of the money SML options? I've read that they'd instantly become worthless... wouldn't this only apply to an all-cash deal? If the deal involved a transfer of shares, wouldn't the contract be adjusted based on the terms of the deal with the deliverable changing from shares of SML to shares of BIG? Assuming the deliverable for the SML options are converted to shares of BIG, how are these converted contracts traded... in other words, are they liquid or only useful if you decide to exercise them?   I just started trading options a few weeks ago and haven't been able to find answers to these questions anywhere... any help from an experienced trader would be much appreciated!


Show that $$n!=1+\left(1−{1 \over 1!}\right)n+\left(1−{1 \over 1!}+ {1 \over 2!}\right)n(n−1)+\cdots$$ I can't figure out how this can be solved . I tried to use binomial theorem but I couldn't prove it . I think that it can be solved using the gamma function but it's not immediately obvious


SSRS - Process dies/goes to sleep after not being used

Another SSRS question here:    We have a development, a QA, a Prod-Backup and a Production SSRS set of servers.    On our production and prod-backup, SSRS will go to sleep if not used for a period of time.  This does not occur on our development or QA server.  In the corporate environment we're in, we don't have physical (or even remote login) access to these machines, and have to work with a team of remote administrators to configure our SSRS application.  We have asked that they fix, if possible, this issue.    So far, they haven't been able to identify the issue, and I would like to know if any of my peers know the answer to this question.  Thanks.


How to Change Monitor Resfresh Rate (Radeon Fury X) in Ubuntu 15.10?

I'm running Ubuntu 15.10 with GNOME shell (not 16.XX because Steam is having a hard time on that release right now) and I'm looking for a way to change my monitors refresh rates.  My GPU is an AMD Radeon R9 Fury X, and my monitors are the BenQ XL2730Z 144Hz, BenQ XL2420T, and Seiki SE42UMS. All of my monitors are using Displayport1.2 (in the case of the Seiki SE42UMS, it's using an HDMI2.0->DP1.2 adapter.)  Any help would be appreciated and I'll try and port forth any more information that would be useful for helping resolve this issue I'm having.  Thanks.


Why is "though" placed behind the sentence

Why is though placed behind the sentence     I wouldn't say so, though.   . ( I constructed this sentence by myself)  Because I thought though  more or less get the same meaning with although? Or it's ok to place it also in front of the sentence?   Ex :      Though I wouldn't say so.   Perhaps I just get influenced with my languange rule that we can't put "though" at the end of the sentence (assuming though gets the sense of although or even though) so I feel a bit cumbersome mention it at the end of the sentence.  What is the difference between both sentences?


I have presented fire extinguishers to be tagged to a Florida Fire company.  They indicated that the devices are old and need a 6 year maintenance inspection.  What exactly is tested?


Add expires headers for Google Maps and Analytics

Can anyone help me to find out that how can we increase website speed to resolve Add expires headers for google maps and Analytics. Please see below images. There are 9 component without expire header tags.


Packages that need to be included in a specific order

This isn't a real question, so I'm marking it community wiki.  When I was new to LaTeX, I thought that the \usepackage command worked much like the #include command of the C language: just put whatever you need in the preamble, in whatever order you like.  But then bugs began to bite me and I realised, with growing horror, that commutative packages seem to be the exception rather than the rule.    so  that I think it would be useful to have a list here of problematic interactions between pairs of packages, and their correct order.  Also, a question for amusement:   I want to know if there exists three packages A, B and C, such that A has to be included before B and B needs to be included before C, but C needs to be included before A.


If $\frac{\cos x+\cos y+\cos z}{\cos(x+y+z)}=\frac{\sin x+\sin y+\sin z}{\sin(x+y+z)}=k$, then find $\cos(x+y)+\cos(y+z)+\cos(z+x)$.

If $x,y,z \in\mathbb{R}$ and  $$\frac{\cos x+\cos y+\cos z}{\cos \left(x+y+z\right)}=\frac{\sin x+\sin y+\sin z}{\sin \left(x+y+z\right)}=k$$ Find the value of $\cos(x+y)+\cos(y+z)+\cos(z+x)$.  I was working through this problem and found an interesting solution to it. How would you solve it?  Edit: I found the same question  and . So, this should be marked as duplicate.


I've had Windows bug me about updating a few times over the past couple months, and every time it's failed (ran for 30 minutes or so and then shut the system down and give me "undoing changes made to your computer" when I turned it back on). I finally ran the ISO and it did the same thing, but gave me this info on where the update failed.  0xC1900101 - 0x30018 The installation failed in the FIRST_BOOT phase with an error during SYSPREP_SPECIALIZE operation   Image of the error:   Does anyone know any possible remedies to this problem?


Invalid Field Count when uploading .csv file to a data extension

ValidationErrors: CaseSensitiveSalesforceID: 99 Required Field: 7 Invalid Field Count: 1  I'm trying to data load a .csv files, everything matches accordingly, trying to troubleshoot what this error means, any help appreciated.


Errore 1962 after replace w10 with ubuntu 15.10

later than 2 years I have decided to replace window disto with ubuntu 15.10 into my Lenovo C440 (I have decided to replace - no dual boot) The installation is finished without any problems but then I could not get to work with my pc because it stops with an error - 1962. I tried all the solutions that are in the network , enabling the legacy and forcing the boot but now, I do not know what to do . someone can help me? Thanks


Scratching my head on this. I have an old URL:       http://myserver/blog/archive?openview&type=Category&key=Demo   and a new URL       http://myserver/blog/categories/Demo   I'm trying to get a rewrite rule for this. I thought it would be:       ^/blog/archive\?openview&type=Category&key=(.*) /blog/categories/$1.html [NC,R=301,L]   But that doesn't do anything. I tried the URL and rule (replace the ? with /):       http://myserver/blog/archive/openview&type=Category&key=Demo      ^/blog/archive/openview&type=Category&key=(.*) /blog/categories/$1.html [NC,R=301,L]   And that works as expected. So I'm a bit dumbfolded how to handle the ? for matching in the old URL. All the samples I found describe the opposite case. Sending the "pretty" URL to the ugly one. In my case the "ugly" URL is what people in the past had bookmarked and I want to make sure they get to the new data properly


Bug in the parencite command of the biblatex-chicago package?

I want to use the package biblatex-chicago for citations.  I have a file with the following content:  \documentclass[11pt]{report} \usepackage[authordate,backend=biber]{biblatex-chicago} \bibliography{myBibliography} \begin{document} \noindent \textcite{doe:2013}\\ \parencite[see][p.\ 2]{doe:2013} \printbibliography \end{document}   This is the content of the file myBibliography.bib:  @article{doe:2013,  author               = {Doe, John},  month                = {5},  title                = {The Title},  yournaltitle         = {The Journal},  year                 = {2013},  }   Typesetting yields     Doe (2013)   (seep. 2)   However, one should get     Doe (2013)   (see Doe 2013, p. 2)   Can anybody reproduce this result?  Is this due to a bug in the biblatex-chicago package?


Suppose $f$ is continuous on R such that $\lim_{h\to 0} \frac{f(x+h)-f(x-h)}{h} = 0$ for all $x\in\mathbb R$. Prove that $f$ is constant.

I'm having a bit of trouble with the title problem out of Davidson and Donsig's Real Analysis. I'll state it again:  Suppose $f$ is continuous on $\mathbb{R}$ such that $$\lim_{h\to 0} \frac{f(x+h)-f(x-h)}{h} = 0\  \forall x\in\mathbb{R}.$$ Prove that $f$ is constant.  They provide the following hint which I have been trying to apply.  HINT: Fix $\epsilon > 0$. For each $x$, find a $\delta > 0$ so that $|f(x+h)-f(x-h)| \leq \epsilon h$ for $0\leq h \leq \delta$. Let $\Delta$ be the supremum of all such $\delta$. Show that $\Delta = \infty$.  Here's how I've started. Fix $\epsilon > 0,\ x\in\mathbb{R}$. By the definition of the limit,  $$(\forall x\in\mathbb{R})(\forall\epsilon>0)(\exists\delta>0)(0<|h|\leq\delta\implies\Bigg|\frac{f(x+h)-f(x-h)}{h}\Bigg|<\epsilon).$$   Therefore, we immediately get a $\delta>0$ for our $x,\epsilon$ such that $$|f(x+h)-f(x-h)|\leq\epsilon h,\ 0\leq h \leq\delta.$$  I don't know how to proceed from here. I'm not even sure conceptually how showing that $\Delta=\infty$ would give us that $f$ is constant. Any help would be appreciated!


The Number of different $n \times n$ Skew-symmetric matrices with each element being equal to either $0$ or $1$ or $-1$

The Number of different $n \times n$ skew-symmetric matrices with each element being equal to either $0$ or $1$ or $-1$ where $n=5$ is ?


My dataset has only positive values. Why do I get some negative PCA scores?


Projection of a hypercube along a long diagonal. What is this polytope called?

I was wondering what people call a certain type of shape. It is the shape formed by an orthogonal projection of a hypercube along one of its longest diagonals.  In other words, fill in the missing entries:  n-simplex : Triangle ->      Tetrahedon        ->  5-cell    ...      n-cube   :  Square  ->         Cube           -> Tesseract  ...      ?      :  Hexagon -> Rhomibic Dodecahedron  ->     ?      ...   IMPORTANT: I'm looking for the name of the class of shapes, not just the 4D analogue.


Netgear A6100 USB wifi-dongle - Has anyone ever got this to work?

So i have a Netgear A6100 Wifi usb-dongle hooked up to my PC as I don't have, nor able to have, ethernet to my computer currently. I recently installed Ubuntu (studio) 20.04 and am now trying to get the Wifi to work. I've found multiple guides on how to get this to work, using gits and the make-command. The problem is; none of the guides I've followed has led to success, rather giving me more headache than earlier... 99% of the times I get some various errors when running the make commands, other times everything seems fine, but wifi still does not work. Has anyone here actually got this dongle to work with ubuntu? I'd expect it to work, since it works fine both on Windows 10 on the same machine and previously also with a RaspberryPi 2 running raspbian or volumio. The dongle is based on the Realtek RTL8811AU chip and is detected by the system, as seen when running the lsusb-command: Bus 001 Device 006: ID 0846:9052 NetGear, Inc. A6100 AC600 DB Wireless Adapter [Realtek RTL8811AU]


I saw a video where the person copied a material from one object to another (Cycles).  How can I accomplish this?


What is the first Fantasy work to feature a wand?

Wands are a huge part of the magic system in Harry Potter. A wand is required to perform most magic (from what I've seen so far). This definitely isn't the first instance of wands being used to assist or perform magic. I remember watching Disney's The Sword in the Stone when I was a kid and seeing Merlin use his wand to perform magic. While this movie is from 1963, I'm sure there are much earlier examples of wands in use, but which is the first?  I'm specifically looking for wands not staffs. This is not limited to Disney movies. Any example is acceptable.


Set maximum width for an operator's button in UI?

How can I set a width maximum or fixed value for a button?  I have an UI looking like this:   The text field would be full path of a file and the 'Set' button is openning a dialog box. How can I go about increasing the text field's width and reducing the button's width?  Thanks Kaveh


"Choose production" bug: game stops map scrolling and doesn't respond to orders, but shows tooltips and animations

There is an annoying bug in Civilization 5: Brave New World, when in certain conditions game stops responding to your orders: you cannot move units, switch between them or choose their actions. However, the game doesn't hang up - it still shows animations, shows tooltips for terrain tiles while hovering the cursor, the menu can be shown and the game could be saved/loaded in this state.   Reloading the saved game during this "limbo" state results in an infinite rotating globe cursor loop. However, loading the bugged saved game after killing and restarting the games loads fine and the game can be resumed.  This bug happens frequently during the production changing for the city, so it's widely called the "Choose production bug". But it also happens when you use the ranged attack, found religion, switch between units. Validating the game doesn't show any problems. Have anyone got rid of this bug?  EDIT1: If I exit the game in that "limbo" state, I notice that the game executable still resides in memory, playing music. Is this a kind of a sign that the bug is related to the multimedia issue?  EDIT2: The saved game immediately before the bug (after the caravel move) is available at


404 when accessing website from IP address on VPS

I bought a new VPS from Softlayer and I'm having some issues configuring it. I haven't pointed the name servers to it yet.  The problem I'm having is, through WHM, I added a new account and it was setup properly. But when I access it with the IP address I get a 404 error. I uploaded a test.html file through cPanel to home/safepath.  Below is how I access it:  my.ip.address/~safepath/test.html   Can someone tell me what I am doing wrong here?


Am I hacked? Or what happened with my reputation?

I just logged in- and..    I am worried. Is it okay? Just to make sure, I don't use and never wished to use and never used a hacking engine.


Can I go without using "that" in this type of sentences?

Example sentences:  You can only see pictures [that] they have picked.  I've got those letters [that] she sent me.  I don't like "that", but without it it feels like something is missing.  Thank you.


How can I declare a variable with name 'operator'?

How can I declare a variable with name "operator"?  public string operator;


Show that polynomial is primitive in GF(5)

How can I show that $x^2 + 2x + 3$ is primitive in $GF(5)$?  My idea: $  x^1 = x\\ x^2 = -2x - 3 = 3x + 2\\ x^3 = (3x + 2)x = 3x^2 + 2x = 3(3x + 2) + 2x = x + 1\\ ...\\ x^a = 1\\ $  This would take quite long. Is there a better way? Please only basic Algebra!


I will start and write I read  It is written in the comments that there is a way to do it if you have xbox + computer with Ubuntu. I would have done this through the xbox directly, I just do not have xbox live account, and do not wish to buy one just for netflix. So, how do I use my Ubuntu + xbox 360 to stream netflix to my TV?


Run javascript code only in publish page not in edit

I am running some javascript code in on page but I don't want it running when I try and edit the page. How can I stop this from running in edit page and only when the page has been published


I'm trying to install Anbox in my new Ubuntu 16.04 using instructions from  . It seemed to work, but I got no icon in my dash, so I suspect that the installation is not complete. With Synaptic  Package Manager I can see that anbox-common & anbox-modules-dkms are installed, but I have no icon in my dash, so I tried running   sudo snap install --edge --devmode anbox   and got this error:  error: cannot install "anbox": Get    https://search.apps.ubuntu.com/api/v1/snaps/details/core?channel=stable&fields=anon_download_url%2Carchitecture%2Cchannel%2Cdownload_sha3_384%2Csummary%2Cdescription%2Cdeltas%2Cbinary_filesize%2Cdownload_url%2Cepoch%2Cicon_url%2Clast_updated%2Cpackage_name%2Cprices%2Cpublisher%2Cratings_average%2Crevision%2Cscreenshot_urls%2Csnap_id%2Csupport_url%2Ccontact%2Ctitle%2Ccontent%2Cversion%2Corigin%2Cdeveloper_id%2Cprivate%2Cconfinement%2Cchannel_maps_list:    dial tcp: lookup search.apps.ubuntu.com on [::1]:53: read udp    [::1]:54255->[::1]:53: read: connection refused   What am I doing wrong? Why was the connection refused? According to the instructions, it seems this is the correct command to install it.  ps: I'm not that familiar with Linux, I'm more of a Windows guy, trying to learn Linux.


$\frac{ \sqrt{1+\sin(x)}+\sqrt{1+\cos(x)} }{ \sqrt{1-\sin(x)}+\sqrt{1-\cos(x)} }=\sqrt2+1\,\forall x\in [0,\pi/2]$ the fraction of square roots may be simplified using double angle formulas.. though i wouldn't recommend showing the derivative to be 0...


What is the term to describe someone who deliberately drives into oncoming traffic?

According to  (warning: sarcasm), there is no English equivalent for "Geisterfahrer", or someone who drives into oncoming traffic. I know there is a Dutch word ("spookrijder"), but apparently there is no succint term for such a driver in English. What would be the best term to describe that? I assume radio has a term for it in their traffic bulletins, but I don't know what they call it.  Example sentence:     A {Geisterfahrer equivalent} has been spotted on the M4 near Windsor heading towards London. Please keep to the far left and do not overtake other drivers.


Adding vertical space at the start of a page

I'd like to, first thing before writing anything on a page, add some vertical space.  Minimal (non)working example:  \documentclass{article} \begin{document}  \vspace{250px} I want to be further down on the page :(  \vspace{250px} Haha! Sucker :D \end{document}     How can I get the first \vspace to work, just like the second one?


Suppose I roll a six-sided die 1000 times and write down the number of times each face comes up.  How do I test whether the die is fair?  Can I use a chi-squared test where the expected number of each face is 1000/6=167?  There also appears to be a , but that seems less likely to be baked into stats packages and software.  .


I want to cd into a directory from the terminal but access is denied, and typing sudo cd (directory) returns an error about sudo not supporting the cd command.  I can use sudo gnome-terminal to launch a new terminal window with root privileges, but I want a solution that I can use from the same non-root terminal window.  Is there a way to make the cd command compatible with sudo?


CSS and positioning a span element inside a div

I have a div and I would like to align a span element inside it. The span element should be aligned bottom and horizontally center of its parent div.
       &nbsp;&nbsp;123.&nbsp;&nbsp;
     At the same time, the alignment of my span element is not working. The width of the span element will change all the time. I mean that it is not a fixed width element.  I'm looking for help with this, and a cross-browser solution. No JavaScript/jQuery allowed.


NullPointerException when creating JUnit test

I'm working with Linked Lists and this is how my code is looking atm. And now I'm trying to do a JUnit test to see if it works as intended.   private Node header; int size;  public ItemList() {     header = new Node(null);     size = 0; }   public void add(Item newItem) {      Node previous = null;      for(Node current = header; current != null; current = current.next) {         previous = current;     }      Node newNode = new Node(newItem);     if(previous == null) {         header = newNode;     } else {         previous.next = newNode;     }      size++; }   This is how the test is looking. I'm adding 10 Nodes to the list and then checking wether or not the size is the way it should be. But when running, I get a nullpointerexception and I can't figure out how to fix it. Is there something wrong with the add method?   class ItemListTest {      ItemList list_1;      @Before     public void setUp() {          list_1 = new ItemList();      }      @Test     public void addTest() {          list_1.add(new Item("It1", "1"));         list_1.add(new Item("It2", "2"));         list_1.add(new Item("It3", "3"));         list_1.add(new Item("It4", "4"));         list_1.add(new Item("It5", "5"));         list_1.add(new Item("It6", "6"));         list_1.add(new Item("It7", "7"));         list_1.add(new Item("It8", "8"));         list_1.add(new Item("It9", "9"));         list_1.add(new Item("It10", "10"));          assertEquals("Add 10 items test with size()", 10, list_1.size());     } }   I think this is all information that is necessary to fix the issue.  Thanks in advance!


Is the ability of Sphinx of New Prahv cumulative?

The passive ability says     Spells your opponents cast that target  cost {2} more to cast.   If I have two copies in play, does the opponent has to pay {4} extra to target one Sphinx with a spell?


These gifts are for those who don't have enough amount to buy it.  These gifts are for whom who don't have enough amount to buy it.  Which one is correct ? And why


Correlations with unordered categorical variables

I have a dataframe with many observations and many variables. Some of them are categorical (unordered) and the others are numerical.  I'm looking for associations between these variables. I've been able to compute correlation for numerical variables (Spearman's correlation) but :   I don't know how to measure correlation between unordered categorical variables. I don't know how to measure correlation between unordered categorical variables and numerical variables.   Does anyone know how this could be done? If so, are there R functions implementing these methods?


How to start and shutdown computer at a given time

I want to start and shutdown at some given time. For example if I want to shutdown after 1 hour then I can simply right click then create a shortuct and  type shutdown -s -t 3600 then my computer will shutdown after 1 hour.Is there any way to wake up from sleep mode or restart computer or simply start the computer using batch scripting or like the way I am doing to shutdown or any other way?  Note I dont want to use powershell


Time Series Table ( Many Columns ) Design Recommendations

I am storing Time Series Data in a Postgresql database.  I am wondering what the performance ramifications are of the following two proposed design patterns.  Option 1:     A single table with a timestamp and many columns ( maybe 100 ) containing various measurement data.  TABLE measurement (id, timestamp, measurementA, measurementB, measurementC ...)    Option 2:  Two tables. One with an id and timestamp and another table which contains a reference to the measurement table and then multiple fields describing the recorded data.  TABLE measurement (id, timestamp) TABLE measurement_data (id, measurement_id, description, type, value)   I like the idea of option two. As my table structure is much smaller and simpler. However I have concerns of the effects of queries on the table. Will there be a huge performance hit for a simple query such as the following?  Using Option 1s Design  SELECT measurementA  FROM measurement  WHERE timestamp > X AND timestamp < Y   Using Option 2s Design  SELECT value  FROM measurement_data  WHERE description = 'measurementA'    AND measurement_id IS IN (SELECT id                              FROM measurement                              WHERE timestamp > X AND timestamp < Y )


From time to time, I need to typeset Welsh. Sometimes, I need to typeset citations and bibliographies in Welsh. I think that last time I did this, I may still have been using BibTeX although I am honestly not sure. In any case, my entire work-flow now uses biber and biblatex...  I found  on changing the names of things, including the names of things used by biblatex. However, that cannot deal with the case of an unsupported language.  Suppose that I want to typeset a document in Welsh:  \documentclass[a4paper,welsh]{article}  \usepackage{babel} \usepackage[utf8]{inputenc}% welsh needs utf8x but biblatex doesn't like it \usepackage[T1]{fontenc}% not great for Welsh but the best pdfTeX can do \usepackage{csquotes}% doesn't like Welsh though biblatex likes csquotes on account of babel... \usepackage[backend=biber]{biblatex} \bibliography{biblatex-examples}  \title{Fy Nogfen} \author{Rhywun}  \begin{document}   \maketitle   \tableofcontents   \section{Cyntaf}   \autocite{westfahl:space}    \printbibliography  \end{document}   There are multiple problems in such a case. (One is that I need utf8x but can't use it on account of biblatex. Another is that I need utf8x at all. Another is that biblatex likes csquotes but csquotes doesn't do Welsh. But these are irrelevant to this question.)  The output is as follows:    Note that the use of the English citation is just so this is easy to reproduce. Obviously, the content of the reference might well be in Welsh. (Though it might be in English, too.)  As can be seen, while elements of the document controlled by babel are handled correctly, those under the control of biblatex are not. However, I cannot simply modify the solution offered by lockstep for changing strings to customised English variants. That is, I can't just use a Welsh version of  \DefineBibliographyStrings{english}{%   bibliography = {Works Cited},   references = {Works Cited}, }   because biblatex has never heard of it.  What is the most appropriate way to configure biblatex for use with an unsupported language?


I know that according to C++ standard in case the new fails to allocate memory it is supposed to throw std::bad_alloc exception. But I have heard that some compilers such as VC6 (or CRT implementation?) do not adhere to it. Is this true ? I am asking this because checking for NULL after each and every new statement makes code look very ugly.


How could I add a trend line to this plot? Many thanks!  \begin{tikzpicture}   \begin{axis}[     date coordinates in=x,     xtick=data,     xticklabel style=         {rotate=90,anchor=near xticklabel},     xticklabel=\day. \hour:\minute,     date ZERO=2009-08-18,% <- improves precision!   ]   \addplot coordinates {     (2009-08-18 09:00,  050)     (2009-08-18 12:00,  100)     (2009-08-18 15:00,  100)     (2009-08-18 18:35,  100)     (2009-08-18 21:30,  040)     (2009-08-19,        020)     (2009-08-19 3:00,   000)     (2009-08-19 6:0,    035) };   \end{axis} \end{tikzpicture}


Predefined Date Time class Properties are working on mm/dd/yyyy i want to show mm/dd/yyyy

DateTime dt=new DateTime(05/06/2014) this is in dd/mm/yyyy)   dt.DayOfWeek raturns value based on mm/dd/yyyy format its taking 5 as month 6 as date.  i want this has return a value based on dd/mm/yyyy format.  Please help me guys.


Determine Whether Two Date Ranges Overlap

Given two date ranges, what is the simplest or most efficient way to determine whether the two date ranges overlap?  As an example, suppose we have ranges denoted by DateTime variables StartDate1 to EndDate1 and StartDate2 to EndDate2.


If you misty step 30 feet straight up do you have time to attack a foe next to you before you start falling?

On your turn, you misty step 30 feet straight up. Can you make an attack before you start falling, or will you immediately begin to fall?  For example, a player wants to reach a flying enemy to knock him prone, then feather fall safely to the ground. Is he in reach long enough for all his attacks to go through? Will he fall before he can cast feather fall? (He used his bonus action on to cast a spell, so only cantrips during his turn.)


Is there a way to add fake thickness to an alpha image texture?

I'm using Cycles I want to add thickness to a texture with alpha transparency like  do in his nice answer here:  But this time with an image texture (jpg+mask or png/tiff) not a mathematically generated one. It can be separated planes or solidify modifier, I don't mind, even if solidify would be better. I've already seen things about parallax mapping but not sure it's suitable and as good as this one.      Edit 1  A reference image of what kind of texture I use  The point of my question is that it can be seen from a side angle and not looks like a paper sheet.    Resolved  The answer of Rich is working, it's not perfect, no material on the volume, quite expensive and volume don't seem to work with UVmaps, only generated or object so for array it's complicate. But if it's not for a close shot it makes the joke.


Which field is used to identify the root certificate from the cert store?

On server side, there is a public cert 'CertA', which is signed by root cert 'RootCert'.  On client side, 'RootCert' is installed already in the cert store.  When client(browser) received cert 'CertA' from server side, which filed is it used to retrieve the root cert from its cert store? Is it 'Common Name' or 'Serial Number' or 'Thumbprint'?


Trying to code the following in latex, please help!

I tried using the cases to code this, but I only can put them in two separate lines, not along the same line.


I ran a fresh install of Ubuntu 14.04 on my computer and for some reason it occasionally crashes. Not a 100% sure what's causing it.  My computer is a HP Pavilion P6-2220t Desktop. It has a 6th generation Pentium processor 2.80 Ghz, 500GB hard drive, 4GB Ram.


I am using Ubuntu 14.04 alongside Windows 10. Other family members of my family also use my pc. And they are not comfortable with Ubuntu as they are used to with Windows. Sometimes they face difficulties while selecting boot option from grub. Now my question is, can I edit grub2 and change the default boot option? If it is possible, how to do it?


Japanese and Russian Characters in the same Document

I'm writing a document in English.  However, I need to use a few words of both Japanese and Russian.  In principle, it seems to work, but as soon as I used Japanese characters, I cannot use Russian characters afterwards.  Please note that it is crucial for me that the document compiles using pdflatex.  Here are two minimal examples to illustrate my problem.  This one works:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T2A,T1]{fontenc} \usepackage{CJK}  \begin{document} {\fontencoding{T2A}\selectfont ф} \begin{CJK}{UTF8}{min} ル \end{CJK} \end{document}   But this doesn't:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T2A,T1]{fontenc} \usepackage{CJK}  \begin{document}   {\fontencoding{T2A}\selectfont ф}   \begin{CJK}{UTF8}{min}   ル   \end{CJK}   {\fontencoding{T2A}\selectfont ф} \end{document}   I cannot figure out why.  In the second case, I get this error message:  ! Undefined control sequence. \CJK@XX ...r `#1\endcsname {`#2}\CJK@ignorespaces                                                    \fi  l.12   {\fontencoding{T2A}\selectfont ф                                         }   I cannot find any explanation and I would really appreciate any help.


I have some code which uses the \oiint symbol. However there are many packages that provide this command. Most of for special fonts. I am using lmodern however and want a package that provides the symbol matching to lmodern.  I have found so far wasysym with option [integrals], mathabx and esint package.


The system is running in low graphics mode, cannot open GRUB

I have installed Ubuntu 14.04 LTS on a HP pavilion Laptop. I am getting this error and unable to get into desktop.   I have tried this "" method but no matter what I do I cannot open GRUB menu neither can I fix this issue.  I believe I took the wrong decision to shift from Windows to Ubuntu just for being open source. I completely formatted OEM Windows 8 and now I am left with dead laptop.  NOTE: I cannot log into any menu so I can enter any commands, all I see is tty1 menu (Black screen command prompt style)


I am using ArcGIS to add geotagged images as points to a map which allows me to click on the point and an HTML popup comes up with the photo.     This works fine. What I would like to do, is export/print the map to a PDF and within the resulting PDF, I would like to be able to click on the points and get the same HTML popup. Does anyone know if this is possible?


Using bm with eulervm gives inconsistent ‘’ characters

I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters.  I wonder what causes it and can the usage bm be fixed to get proper ‘<’.  \documentclass{article}  \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}  %\usepackage{amsmath}  \usepackage[euler-digits,euler-hat-accent]{eulervm}  \usepackage{bm}  \begin{document}      \texttt{\hphantom{mathbold}\llap{bm}}: \quad $ 1 + 1 < 3; \quad \bm{1 + 1 < 3} $      \texttt{mathbold}: \quad $ 1 + 1 < 3; \quad \mathbold{1 + 1 < 3} $  \end{document}


How to tell if a travel location is "affordable"?

Disclaimer: The locations are just examples to set up the question and all prices are made up for the sake of the example and question.  Background: Let's say I want to visit London or Busan, and my currency is USD. While comparing the two locations I notice their exchange rates. 1 USD is 0.60 GBP, while 1 USD is 1,200 KRW.   Question: Are there traveler's tips and/or tools when it comes to currency exchanges where I know how much I can get for my "dollar" in a certain travel location? To use the exchange rate above as an example, consider the following. A bottle of water in London costs 0.40 GBP while a bottle of water in Busan costs 2,000 KRW. How would I know the relative value of goods I can get for my "dollar"?  I found  that provides that information but I'm wondering if there are other travel tips or anything to answer my question.   Edit: I replaced Korea with Busan to give it a more precise location and to keep it on the same level as London.


Is it possible to have multiple simultaneous profiles in Firefox?

I know it's possible to have multiple profiles in Firefox, but is it possible, under one user, to run two different profiles at the same time? The same way it's possible with Chrome and multiple people/personas?


What does "packages have unmet dependecies" mean and what can I do about it?

The following packages have unmet dependencies:  account-plugin-facebook : Depends: libaccount-plugin-generic-oauth but it is not going to be installed or                                     ubuntu-system-settings-online-accounts but it is not going to be installed  gvfs-daemons : Depends: x11-utils  indicator-bluetooth : Depends: unity-control-center but it is not going to be installed or                                 gnome-control-center but it is not going to be installed or                                 ubuntu-system-settings but it is not going to be installed  libqt5feedback5 : Depends: libqt5multimedia5 (>= 5.0.2) but it is not going to be installed  yelp : Depends: libwebkitgtk-3.0-0 (>= 1.3.10) but it is not going to be installed         Depends: libyelp0 (= 3.10.2-0ubuntu1) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. E: Internal error, Upgrade broke stuff   How do I remove this error?  I'm new to Ubuntu so please give the details in the answer.  What kind of error is this and why does it occur?


How do you draw a straight line between two points in a bitmap?

I'm playing around with height maps (bitmaps), trying to create some of my own in my game, and for that I need to implement some basic drawing methods. I've quickly realized that drawing straight lines isn't as basic as I thought.  It simple's if your points share an X or Y coordinate, or if they are aligned so you can draw a perfectly diagonal line. But in all other cases its trickier.  What algorithm do you use to determine what pixels need to be coloured for it to become a "straight" line ?


How can I accurately simulate orbits in Unity?

I would like to create a space simulation with realistic gravity.  This means planets in 3d space which act as central gravity sources and multiple objects which are attracted by those planets gravity so that they orbit them in physically correct orbits (like in , for example).  How can I implement such gravity sources with C# script?


Contents page - include roman numeral page numbers

I am using MiKTex 2.9. I would like to include the 'Abbreviations' page in my contents page, along with the roman numeral page number. However when I use the \section{section name}command it gives the title a section number. And when I use \section*{section name}, the title does not appear in the contents page. I have also tried the suggestion from  but I get an 'undefined control error'.   Can you please advise? I have attached my MWE.       \documentclass[a4paper,11pt]{article} \usepackage{color} \usepackage{graphicx, epstopdf} \usepackage{gensymb} \usepackage{times} \usepackage{adjustbox} \usepackage{tabulary} \usepackage{tabularx} \usepackage{booktabs,caption, makecell} \usepackage{pdflscape,afterpage,caption} \usepackage[british]{babel} \usepackage[backend=bibtex, citestyle=ieee, bibstyle=ieee]{biblatex} \usepackage[section]{placeins}%Allows you to permanently fix figures.   \begin{document} \pagenumbering{roman} \newpage \tableofcontents \newpage \section*{Abbreviations} \begin{table}[ht] \setlength\tabcolsep{60pt} \centering   \small  % your table     \hspace*{-18mm}% \begin{tabular}{cc} \toprule {Abbreviation}&{Explanation}\\ [0.5ex] \midrule Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ Item1&Item1\\ \bottomrule  \end{tabular}%     \hspace*{-12mm}% \label{table:ETD Raman} \end{table} \newpage \pagenumbering{arabic} \section{Test 1} Video provides a powerful way to help you prove your point. When you click Online Video, you can paste in the embed code for the video you want to add. You can also type a keyword to search online for the video that best fits your document.  \end{document}   Thanks in advance!


$R$ is an algebra over an infinite field. If $\exists$ ideals s.t. $J\subseteq \bigcup_{k=1}^nI_k$ then $J\subseteq I_k$ for some $k$

Let $R$ be a ring and let $I_1,\dots,I_n,J\subseteq R$ be ideals such that $J\subseteq I_1\cup\dots\cup I_n$. Suppose that there exists an infinite field $K$ and a homomorphism $\phi:K\to R$. Prove that $\exists k$ s.t. $J\subseteq I_k$.   Attempt: (Edited)  If $J\subseteq I_1$ then we're done. Otherwise, let $x\in I_1$ and let $y\in J\setminus I_1$. $\forall r\in K, x+ry\notin I_1$ (because otherwise we'll get $y\in I_1$).  $K$ is infinite so we have infinitely many elements of the form $x+ry\in J$. So there's some $k$ for which $I_k$ contains infintely many elements of the former form.  If $n=2$ so $x+y\notin I_1$ implies $$x+y\in I_2\Rightarrow x\in I_1\Rightarrow I_1\subset I_2\Rightarrow J\subseteq I_2$$  Suppose the theorem holds for some $n$. $x+y\notin I_1\Rightarrow \exists k,I_k\ni x+ry$ for infintely many elements as above.


Container div ignores height of floated elements

Ok, so this seems like a really silly problem but I can't get my container div to inherit the height of the floated elements inside of it. Since I need to center the container div, I can't use float to fix this problem. Here is my css:  #container { margin: 0 auto; width: 1000px; border-left: 1px solid #f1f1f1; border-right: 1px solid #f1f1f1; border-bottom: 1px solid #f1f1f1; }  #focus { padding-left: 23px; width: 977px; padding-top: 20px; padding-bottom: 23px; border-bottom: 1px solid #f1f1f1; float: left; }  .rslider { float: left; width: 600px; margin-left: 15px; }  .welcome { float: left; width: 300px; }   Html:

All About This Page

Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, liquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium.

   Any ideas?


What is a simple way to add a timer to a method

The following is in C#.  I'm trying to do something very simple (I think). I have a method that loads an XML document  XDocument  doc = XDocument.Load(uri);   , but I don't want to tie up pc resources if there are issues (connectivity, document size, etc.).  So I'd like to be able to add a timeout variable that will cut the method off after a given number of seconds. I'm a newbie when it comes to asynchronous programming and find it confusing that there are so many examples written so many different ways . . . and none of them appear simple. I'd like a simple solution, if possible.  Here's my thoughts so far on possible solution paths:  1) A method that wraps the existing load  public XDocument LoadXDocument(string uri, int timeout){ //code }   2) A wrapper, but as an extension method  XDocument doc = XDocument.LoadWithTimeout(string uri, int timeout);   3) A generic extension method.  Object obj = SomeStaticClass.LoadWithTimeout(??? method, int timeout);   3), on its face seems really nice, because it would mean being able to generically add timeouts to many different method calls and not specifically tied to one type of object, but I suspect that it is either i)impossible or ii) very difficult.  Please assist. Thanks.


Short story or novella about an extrasolar planet that develops intelligence, sends comet-like probes towards Earth?

Plot Details/Summary  As best as I can remember, the focus of the story is a planet that is in deep/interstellar space, balanced between the gravitational pulls of two distant star systems.  One of these is Sol, and I do not remember the other (Centauri or Proxima, perhaps?).  The planet's is comprised of a number of frozen chemical compounds that are able to exist in this form because of the planet's unique location.  I believe supercooled helium might be one, but I can't say for sure.  The relevant point here is that the compounds form the "building blocks" for the planet's development of intelligence.  The first few paragraphs of the story chart the progress of the planet's development.  Naturally occurring electrical impulses begin a process where, over the course of several millennia, simple chemicals develop into rudimentary circuits, which in turn become more sophisticated circuits, which eventually develops into a complex, planet-wide matrix.  In effect, the planet has become a massive organic supercomputer.  Once the planet reaches the supercomputer stage, it develops an imperative to reach out and make contact.  The planet creates icy, comet-like "probes" which it launches into space in the direction of Sol system.  I'm not sure how these are launched. I do recall the story details how the first few probes were destroyed when they were close enough to a system that a change of even a few degrees Kelvin was enough for them to dissipate from the heat.   Each generation of probe survives just a bit longer than the one before.  This is the sum total of my knowledge of the story.  It was either a long-ish short story, or a novella.  In either case, I never got around to finishing the tale. Hopefully what I did read is enough to identify the story.  Publication Details/Timeframe   I read this story in the mid-1980s.  I think it was in a sci-fi magazine rather than an anthology or collection.  I am not certain of that, however.


How to uninstall self compiled binaries?

I have been playing around with compiling some binaries. It all started because I wanted ffmpeg instead of avconv, now I just can't stop compiling stuff. I must find another hobby !!  Anyway, I configure the build process to install to ~/bin, and I add ~/bin to my path.  My question is :  If I simply delete my binaries from ~/bin, is that the program 'uninstalled' or do you think there might be other stuff installed in other locations too ? Maybe shared stuff ?  (I know I can go and look but wanted to ask).


Making the right angle mark on a right angle triangle?

How do I add the 'right angle sign' at B? \documentclass[12pt]{book}  \usepackage{tikz} \begin{document} \begin{tikzpicture}  % Draw the triangle         \draw[fill=gray!10]  (1, 0) coordinate (A)          -- node[left] {} (0,2) coordinate (C)          -- node[above right] {} (6,2) coordinate (B)          -- node[below] {}  (1, 0);          %The right-angle mark at C is drawn.  % Draw nodes         \node at (A)[anchor=north] {$B$};         \node at (B)[anchor=north] {$C$};         \node at (C)[anchor=south] {$A$};       \end{tikzpicture}  \end{document}


I would like to convert tab to spaces in gVim. I added the following line to my _vimrc:  set tabstop=2   It works to stop at two spaces but it still looks like one tab key is inserted (I tried to use the h key to count spaces afterwards).  I'm not sure what should I do to make gVim convert tabs to spaces?


Select difference between layers in Photoshop CC

I am working with Photoshop CC 2017. I'm trying to create an Action Sequence picture.  So the photos I'll use as example are of a biker performing a jump:   But since one of the "bikers" is fully in front of a tree I want to select him and add some contrast between him and the background. Which is the best way I can select him?  (Maybe a function to find huge differences between pixels in layers?)  This is the image with the person in front of a tree:   This is a picture with only the background on his spot:


What happens to your reputation if you start a bounty and don't get an answer?

What happens if you put a bounty but there's no answer? Do you lose your rep? To whom?


After I have asked the OS to safely remove device (USB) and can no longer access it. Without plugging out and in the USB how can I make the OS gain access to the USB device again?  Basically triggering the same event which is fired when the OS detects a device was plugged in, or something else.


Lock screen does not unlock with correct password Gnome and Ubuntu 14.04

I had to reinstall recently. I installed normal Ubuntu 14.04. I then installed gnome/gnome shell/gdm. I then logged in my user to gnome. Since then I have been configuring my system.  Yesterday, unlock was working fine. Today, the automatic lock screen is not accepting my password as valid. It just takes the input like it's processing it, then takes me right back to the same password prompt. If I click the 'login as a new user' link, it takes me right back to the lock screen. Ctrl+Alt+F1, etc, does nothing.  I had to resort to a hard boot. I've tried this more then once. (first time was from automatic, idle time lock, second time was from my triggering the lock screen with the keyboard command).  I'm certain I have my password right, as I am able to get logged in after the cold boot.


Is it useful to compute R Squared for regression trees?

I have a regression tree and want to validate the peformance. The first measure I have is the mse to find which model is the best. After that I want to check if the model peforms better then an average baseline model. So I computed the R-Squared.  Is this prcodeure right or  is R-Squared not useful as a preformance measure for regression trees?


How is the Starkiller Base supposed to work more than one time, given how it draws its power?

In Star Wars: The Force Awakens, once the Starkiller Base has depleted the star it is drawing power from, is it supposed to travel to another star where it can draw more power? Or is it non-mobile and supposed to fire a few, limited shots only? Or can it somehow reuse the star it is drawing power from, even after it has been depleted?  Its name suggests that it will "kill" or completely deplete the star it is drawing power from, but I haven't noticed an indication in the film that the Starkiller Base can travel to other stars.


How do I add "-X" into my ssh default option? i.e., when I type ssh A.B.C.D, it should really do ssh -X A.B.C.D  I can alias it, but is there a more "elegant" solution to do that in .ssh/config file?


How can I find the implementations of Linux kernel system calls?

I am trying to understand how a function, say mkdir, works by looking at the kernel source. This is an attempt to understand the kernel internals and navigate between various functions. I know mkdir is defined in sys/stat.h. I found the prototype:  /* Create a new directory named PATH, with permission bits MODE.  */ extern int mkdir (__const char *__path, __mode_t __mode)      __THROW __nonnull ((1));   Now I need to see in which C file this function is implemented. From the source directory, I tried  ack "int mkdir"   which displayed  security/inode.c 103:static int mkdir(struct inode *dir, struct dentry *dentry, int mode)  tools/perf/util/util.c 4:int mkdir_p(char *path, mode_t mode)  tools/perf/util/util.h 259:int mkdir_p(char *path, mode_t mode);   But none of them matches the definition in sys/stat.h.  Questions   Which file has the mkdir implementation? With a function definition like the above, how can I find out which file has the implementation? Is there any pattern which the kernel follows in defining and implementing methods?   NOTE: I am using kernel .


How to highlight whole row and column under cursor in OpenOffice Calc?

I need to work with large table. Something like in this illustation image will be helpfull for better orientation:    Is there some settings which makes this possible?


Disable Display of Letters on Password (iOS)

When typing a password in any password field on my ipad, it displays each letter I type for a short time.  I'm on the train every day, and I always have people looking over my shoulder.. just can't help that.  How can I disable this?  On Android, you can disable this in settings, but on iOS I can't find this setting anywhere.


Getting a refund from TAP Air Portugal related to COVID-19

My international conference in Europe this May has been canceled due to the COVID-19. I have a ticket, purchased from TAP air Portugal, from Toronto, Canada to Lisbon. Because it is a non-refundable fare, they don't want to give a refund.  They won't allow me to reschedule later than May 31 of this year. This won't be useful for me.  What options do I have? I'd prefer to get a full refund.  (I am a US citizen if it matters)  Note: They offered to refund just the taxes, which is about 10% of the value. That's not horrible, but I'd rather have the whole thing returned.


60s or 70s novel about Empire of Man making 1st contact with 1st discovered alien race

The Empire of Man is a vast multi-planetary network of human colonies that have been unified by a benevolent imperial administration. But no intelligent alien life had ever been discovered. Until now, when a strange spaceship suddenly appears on the outskirts of a moderately populated planetary system. Scientists are dispatched to communicate with the aliens and soon an expedition is got up to retrace the path of the alien craft through the wormhole from which it came.  When they get to the alien system they find an amazing and extremely ancient culture the scale and technology of which is 1000s of years beyond humanity. However this species has been trapped in their lone star system for failure to successfully navigate the unique but extreme gravitational and physical geometry of their system. They had up to now never had a successful return of a ship which traversed the wormhole.  The explorers are treated to a politically manicured tour of the aliens' amazing planet. But they soon realize the full extent of the threat the aliens pose to humanity should they ever escape their system. Humanity would be overrun by the aliens in no time. They escape back through the wormhole and put out the warning.  Sorry for all the spoilers of such a great book, but hopefully someone else knows the title!  I just remember there was a cover review quote by Robert A. Heinlein, "Possibly the best science fiction book ever written."


Prove if $x, y ∈ R$ and $xy > 0$ then either $x > 0$ and $y > 0$, or, $x < 0$ and $y < 0$ using only the field axioms.  These include the Field axioms for addition, multiplication, distribution, order axioms (trichotomy and transitivity), ordered field axioms. I'm stuck on this and not sure how to approach it. Would proof by contrapositive be a good approach in this case?


NullPointerException when powermockito testing method invocation

I'm new to unit testing with powermockito and currently i'm trying to test a method that calls java.util.Timer.scheduleAtFixedRate. I've tried to run the test but it failed and showed NullPointerException at the line where an object invoke a method that i suppose my object here is not null. Here is my code, i've summarized the part that may cause the problem. DailyReminderTest.java @RunWith(PowerMockRunner.class) @PrepareForTest(DailyReminder.class) public class DailyReminderTest {      @InjectMocks     DailyReminder dailyReminder;      @Mock     User user;      @Mock     Timer mockTimer;      @Mock     TimerTask mockTask;          @BeforeEach     public void setUp() {         TimerTask task = new MyTask(user);         mockTask = mock(task.getClass());          dailyReminder = new DailyReminder() {             @Override             public Timer createTimer() {                 return mockTimer;             }              @Override             public TimerTask createTask() {                 return mockTask;             }         };     }      @Test     void testRemind() throws Exception {         dailyReminder.remind();  // here is the line where NullPointerException occured         verify(mockTimer).scheduleAtFixedRate(eq(mockTask), any(Date.class), anyLong());     } }  DailyReminder.java public class DailyReminder {      private Timer timer;     private TimerTask task;     private User user;     private Date dateStart;     private final Duration fixedDuration = Duration.of(1, ChronoUnit.DAYS);          // some constructor here...          public void remind() {         timer = createTimer();         task = createTask();         timer.scheduleAtFixedRate(task, dateStart, fixedDuration.toMillis());     }      public Timer createTimer() {         return new Timer();     }      public TimerTask createTask() {         return new MyTask(user);     } }  I also have tried assertNull(dailyReminder) however the stack trace shows org.opentest4j.AssertionFailedError: expected: <null> but was: <Daily Reminder>  which is weird that dailyReminder there wasn't null. Is there any explanation for this?


How do I remove the restriction passcode on my iPad?

My younger brother, while playing with my iPad, switched on the restriction passcode for in-app purchase and when asking him he had forgotten the password. I asked some of my friends, they told me that there is no other way than restore. Upon hearing them I was really sad to know that I have to lose all my work.  I will be pleased if anyone could tell me some other way get the passcode than to restoring it. If any thing can be done after jail breaking it, it will not be a problem for me, I'll do it.  If restoring is only the method please tell me about restoring it and what I will lose after restoring my iPad as I do not have any backup.


Disable browser cache in PHP or JavaScript in a Flash application

We are developing a Flash site with PHP. the problem is that it storing the cache , but we have to disable the cache using JavaScript or PHP.  How can I disable caching?


How do I use the style beamer uses for the table of contents in other slides? I.e., make enumerates rather big and bold etc. Ideally, I'd like to do something like  \begin{frame}{My Outline}   \styleframeastoc % NOT working, obviously.   \begin{enumerate}      ...   \end{enumerate} \end{frame}   Background  I want to define my own outline where below each heading there is a one-sentence explanation of what I'm gonna cover in that section. I.e.:   First Approach  A very simple and straightforward approach that however only works in an ideal world. Second Approach  Refinement of the first approach to ... ...   I figured that it would be easiest to not use the actual TOC mechanism for that, but rather insert the respective slides "manually" (there are only 5 or so sections anyways).


Can I save the JPEG preview image that's generated in-camera when I shoot in RAW-only mode?

When you're shooting in RAW-only mode (not RAW+JPG), most (all?) cameras also generate a JPEG preview using the current style settings. This is what you see momentarily when you first import the image into Lightroom, and also what you see on the camera's LCD. (Try switching the picture style to B&W and you'll see this very clearly: B&W on the camera's LCD and briefly in Lightroom before it's overwritten with a colour image.)  My question is, is there any way to save that preview from the camera as a separate JPEG file?  If so, how?  (I know that shooting RAW+JPG in the first place is the best way to achieve this, but I was thinking particularly of the problem posed in .)


How do Voyager's nacelles' rotation solve the problems stated in Force of Nature

I've seen lots of answers here about the episode "Force of Nature". The episode is about scientists discovering that travelling at speeds greater than warp 5 destroys subspace. It's been stated a few times here on this website that voyager's nacelles are made in a way that negates this effect, and that the rotation of the nacelles has something to do with it. Is this actually canon, and if so, how does rotating the nacelles upwards fix the problem? The Enterprises all had nacelles that were angled up from the hull.


Ubuntu prompts me for a username and password when i didn't make one for Ubuntu

When I burned Ubuntu to a disc and tried it without installing it prompts me for a username and password when I didn't make one for Ubuntu. Do I keep them blank or do I use my Windows username and password?


Need help on datetime manipulation in python

import datetime today = datetime.date.today() print ('Today is: ' + str(today))  //returns Today is: 2016-10-06   How could I manipulate the output to look like this:  "Today is: October 6, 2016"


Let $A$ be a real symmetric matrix. Assume $A^{2}v=\lambda Av$ , can we somehow deduce $v$ is an eigenvector of $A$ with $\lambda$ as its corresponding eigenvalue? i.e $Av=\lambda v$. Thanks Edit: Also assume $\lambda \ne 0$ and we do not know if it is singular or nonsingular.


Apart from defeating Grindelwald, what did Dumbledore actually do?

Dumbledore is one of the most beloved and respected wizards in the world, but why?   Over the series, he has committed many grave errors, some (at the time) intentionally, others accidentally:   He played a part in negatively influencing and supporting Grindelwald during his early years, with regards to their plans of rebellion Even after Dumbledore realized the error of his ways, he postponed dealing with Grindelwald  He (directly or indirectly) caused the death of his poor sister Did not act on Riddle soon enough  As headmaster, he allowed his students to be in danger pretty much all the time He failed to protect Lily and James potter, and numerous other members of the Order during the first war  His "plan" to defeat Voldemort only works out because of pure luck, on multiple occasions   In light of this, what "good" things did he do to be considered so great?


I have a webapp that is a customized Google Map; it's an interactive map of the Paris Metro.  In Google's SERP, the only thing that appears beneath the domain name is "Sorry, we have no imagery here", which is really not helpful. Here's how it looks like:   I believe this text comes from Google Maps. I tried to set the  <meta name="description"   and  <noscript>   elements, to no avail. What else should I do? Ideally I'd like to have the text in the meta/description tag show up in search results; but having nothing would be better than "Sorry, we have no imagery here"...  The site itself is here:   PS: it seems some of Google's own pages suffer from the same problem ( or  for example, found )...


How to analyze trend in non-periodic time series

Suppose I have following non-periodic time series. Obviously the trend is decreasing and I would like to prove it by some test (with p-value). I am unable to use classic linear regression due to strong temporal (serial) auto-correlation among values.  library(forecast) my.ts <- ts(c(10,11,11.5,10,10.1,9,11,10,8,9,9,                6,5,5,4,3,3,2,1,2,4,4,2,1,1,0.5,1),             start = 1, end = 27,frequency = 1) plot(my.ts, col = "black", type = "p",      pch = 20, cex = 1.2, ylim = c(0,13)) # line of moving averages  lines(ma(my.ts,3),col="red", lty = 2, lwd = 2)     What are my options?


Why do we use capacitors in parallel with DC motors?

Below is the circuit diagram of an L293D motor driver IC driving 2 12V DC motors.   What I don't understand is the use of the capacitors marked 104 in parallel with the motors.


PHP $_SERVER variable to identify file requested

In the PHP $_SERVER variable, four variables reference the file requested.:  ["SCRIPT_FILENAME"]=>   string(21) "/webroot/file.php" ["REQUEST_URI"]=>       string(9) "/file.php?param=valyou" ["SCRIPT_NAME"]=>       string(9) "/file.php" ["PHP_SELF"]=>          string(9) "/file.php"   Would/Could any of these array members not refer to the actual file requested via URL? For example, URL rewriting, which I don't have experience with or plan on using for this project.  I notice "REQUEST_URI" also includes GET variables, which I don't need.


“Airplane Mode” in OS X. Alternative command for `rfkill`?

Mac OS X doesn't recognize rfkill from its terminal, and I am looking for an alternative command that has similar functionality (toggling "Airplane Mode").  NOTE: I don't wish to open an .app to toggle. I'd like to execute the command from command line or within script in Bash (or equivalents).    By "Airplane Mode", I meant to borrow the term from iOS support page . I would like to disable all incoming/outgoing network communications from my system.


\begin{tikzpicture}[shorten >=1pt,node distance=2cm,on grid,auto]   \node[state,initial] (q_0,q_2) {$q_0,q_2$};   \node[state] (q_1)   [above right=of q_0,q_2] {$q_1$};   \node[state] (q_3)   [right=of q_1] {$q_3$};   \node[state,accepting] (q_4) [below right=of q_0,q_2] {$q_4$};   \path[->] (q_0,q_2) edge node {a} (q_1)             (q_0) edge node {b} (q_2)             (q_1) edge [loop above] node {a} (q_1)             (q_1) edge  node {b} (q_3)             (q_3) edge [bend right=40] node {a} (q_1)             (q_3) edge node {b} (q_4)             (q_4) edge node {b} (q_2)             (q_4) edge node {a} (q_1); \end{tikzpicture}\\


Can US cards be used in countries with chip-and-pin systems?

I'll be visiting the UK in a few weeks, and I understand that the UK credit/debit card system works on a "chip-and-pin" system. As far as I can ascertain via Google, US cards don't have this system on them. I've also read on some websites that certain readers will not process cards without the chip-and-pin, but I'm not sure how widespread such readers are.   With that in mind, is it likely that my US-issued card  will be generally usable in the UK and other countries with the chip-and-pin system, or should I be ready to exchange cash? In addition, does credit/debit make a difference in this regard?


Does the Great Old One warlock's telepathy from the Awakened Mind feature take an action?  It doesn't seem too clear to our group and we have basically ruled it as equivalent to talking.


Two magician films released nearly the same time.. any connection?

Both The Illusionist and The Prestige are about turn of the century performing magicians, and were released not even two months apart from each other; the former was released September 1st, 2006, and the latter on October 20th, 2006. The fact that they're both about turn of the century magicians -- and that there really aren't any other movies in 2006 that use this general plot -- it strikes me as somewhat unique that these two movies were created and released so close in time to one another. When looking to directors/production crews for similarities, I'm not able to find anything that stands out.. The Illusionist:  Bull's Eye Entertainment Bob Yari Productions Contagious Entertainment Michael London Productions Stillking Films  The Prestige:  Touchstone Pictures (presents) Warner Bros. (presents) Newmarket Productions (as Newmarket Films) Syncopy  So, how/why did these two magician films get created and released at nearly the same time? Is this purely coincidence (in which case, that's a perfectly acceptable answer), or, are these movies related in some way? Perhaps, one inspired the other, or, they were apart of a larger "movement/release" of magician films that didn't really take?


Novel about a group of people who are abducted by aliens and cloned

I remember listening to an audio book years ago about a group of people who did not know each other who were abducted by aliens. That's rather generic, but the hook was that each one of the people had been cloned, and either the original or the clone had been put back into their normal lives with no memory of having been abducted. There was a helmet/VR goggles or something to that effect in the chamber with the people on the ship, which would allow them to see through the eyes of their clones back on Earth. Additionally, one of the humans had 2 clones created; one was placed on Earth and the other was there in the ship. When either of those clones wore the helmet, she saw out of both of the other clones' (the one on Earth and the one on the ship) eyes at the same time, which was extremely disorienting. That's all I really remember about the plot. I think there were a few worldbuilding pieces that have stuck in my brain (such as tigers that had been genetically engineered to be the size and temperament of house cats), but that's about it. Does anyone recognize my description? Any clue what the book is?


root@moonlight:~# apt-get install openssh-server E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


I have this code in C#  double result = 480 - 460.8;   Why result is 19.199999999999989 instead of 19.2?


What are all the Christmas decorations you can place?

After you get the Reindeer Stables, you can add decorations through a text form to increase production speed. I've added a few decorations myself, but I was wondering what all of them are. I know that some entries seem to be "synonyms". For example, if you enter "wreath" and then "garland", you'll only add the "a Christmas wreath" and trying to put up the garland will return "We already have a Christmas wreath".  These are the decorations I've already added along with discovered synonyms.   Nutcracker (Nutcracker) a Christmas tree (tree) baubles (bauble) glass ornaments (ornament) a star (star) Christmas lights (lights) a Christmas wreath (wreath, garland) mistletoe (mistletoe) a Christmas stocking (stocking) candy canes (candy cane) a chimney decoration (chimney, fireplace) a Santa decoration (santa) an elf decoration (elf) a reindeer decoration (reindeer) a nativity scene (stable) toys (toy) wrapping paper (wrap) candles (candles) tinsel (tinsel) a star (star) an angle (angle) holly (holly) paper chains (chains) Christmas crackers (cracker) Christmas cards (card) a figure of Mary (mary) a figure of Joseph (joseph) a figure of Jesus (jesus) wise men figures (wise men) a donkey decoration (donkey) a sleigh decoration (sleigh) a snowman (snowman) snow decoration (snow) Santa hats (hat) bells (bell) ribbons (ribbon) a turkey decoration (turkey) ?


I am new to electronics so please forgive me.  I am looking at powering a . Specifically 144 LEDs/ meter. After doing some research I found that . Now, of course, the idea is to not touch the terminals but I just want to have an understanding if this strip could kill me.  I believe each led uses about 50mA and so if we do the math (50*144) that results in 7200mA. I'm not going to power all the LED's at full brightness at once and I may only end up only using around 80 LED's.  I want to use a phone brick charger to power the LED strip (5V and 2A) I understand that this will result in dimly lit LED's but my main question is: Will 5V and 2A kill me if I accidentally touch the terminals or connections?? Considering 200mA is lethal.


How to mount a remote directory using SSH to be available  same as if it is  a local directory?


How can I maintain saved game backward compatibility?

I have a complex sim game I want to add save game functionality to. I'll be updating it with new features continually after release.  How can I make sure my updates don't break existing save games? What sort of architecture should I follow to make this possible?


I came across some numbers which were called transcendental numbers. What are they exactly I want with explanation and eg


what does "it's time I told you" mean and why past tense here?

I'm watching Suits TV Series, and there was something that caught my attention. 2 guys meet, have a drink, chat, and then one guy says:     I mean it's time I told you. I made a deal with Darby to take over the   firm from Jessica.   Why is "told you" in paste tense? What exactly does it mean? He is saying that news right now. If I were to say that, I would say "it's time to tell you" or "it's time I'm gonna tell you".  Thanks!


Inequality involving binomial coefficients and $e$

I found this inequality in a textbook:  $$\binom{n}{k} < \left(\frac{e\cdot n}{k}\right)^k \, .$$ I wonder how to prove it and why $e$ counts here?


Why is $0 \neq 1$ included in this list of algebraic axioms?

On the Wikibooks page , the author included $0 \neq 1$ as the axiom that relates addition, and multiplication.   But, what I see the most is just the distributive law. What does $0 \neq 1$ mean? And how it is related to addition and multiplication? Why is it included in this list of axioms?


Recently I was watching a few very basic lectures on set theory and logic and the following question came up. Let us have ZFC set theory. The "language" of this set theory is the first order logic. The first order logic is a kind of extension of propositional logic. When we try to formally define propositional logic, particularly its "syntax", all "valid words" in this "language", we start talking about sets, operations, closed sets, intersections and stuff. How is it possible to define anything in this circular way at all? To define ZFC we need propositional logic, but to define propositional logic we need ZFC. Is there any non-circular way of coming from something really basic to set theory formally defining all the entities along the way? Thanks.


What is this language technique called? Example: I don't think we don't love each other

I don't think that I don't, is this sort of like a double negative? Repetition? Obviously used for emphasis of confusion.


I am using Ubuntu latest 20.04 LTS and i want to print from it. I am using HP Deskjet 1110  printer and i have installed HPLIP from the terminal but still i am not able to test page print or any  others. you are requested to kindly guide me to solve it. Thanks


Android Studio fails downloading SDK Components

I installed android studio using ubuntu-make like  umake android   after starting android studio, it asks some questions and then starts downloading SDK components, but it never finishes that successfully. I tried that using ubuntu 14.10 already and had the same problems there. Now, with ubuntu 15.04 things haven't changed, I got my homedirectory completly new on the install, so I doubt there is anything from an old installation.  The install of SDK compoments fails with the following output:   Refresh Sources:   Failed to fetch URL http://dl.google.com/android/repository/addons_list-2.xml, reason: File not found   Fetched Add-ons List successfully   Refresh Sources   Failed to fetch URL http://dl.google.com/android/repository/repository-10.xml, reason: File not found Refresh Sources:   Failed to fetch URL http://dl.google.com/android/repository/repository-10.xml, reason: File not found There is nothing to install or update. The following SDK components were not installed: platform-tools, extra-android-m2repository and extra-google-m2repository   So, how can I get android studio to work?


How can I disable smart indentation in emacs (and force either spaces or tabs)?

I want to make emacs insert either 4 spaces or a tab when I press the tab key. Nothing else. I don't want smart indentation, I don't want it to auto-align itself or try to do anything smart. I just want it to output 4 spaces (or a tab). =


Let $F$ be a subfield of the complex numbers (or, a field of characteristic zero). Let $V$ be a finite-dimensional vector space over $F$, Suppose that  $E_1,...,E_k$ are projections of $V$ and that $E_1+...+E_k=I$. Prove that $E_iE_j=0$ for $i$ (does not equal) $j$     (Hint: Use the trace function and ask yourself what the trace of the    projection is.)   Attempt: If $E$ is projection then $V = R \bigoplus N$ where $R = im E$ and $N$ is nullspace of $E$. If $\{ \alpha_1, ... , \alpha_r \}$ is base of $R$ and $\{ \alpha_{r+1}, ... , \alpha_n \}$ is base of $N$, then the matrix of $E$ is  $\left(\matrix {I&0\\0&0} \right)$,   where I is the identity matrix $r \times r$. Then see that $Trace(E)=dimR$.  Now  $E_1+...+E_k=I \rightarrow E_1^2+...+E_1E_k=E_1\rightarrow E_1E_2+...+E_1E_k=0 $  applying the trace operator and using its linearity  $tr(E_1E_2)+...+tr(E_1E_k)=tr(0)=0 $  now using the observation from the beginning  $dim Im(E_1E_2)+...+dim Im(E_1E_k)=0 $  it is $E_1E_k=0=0 ,\,\ \forall k$. And the other cases would be analogous. Is it right? Any better suggestions?


I have never really paid any attention to the refresh rate setting on computers with LCD screens.  I thought with LCD displays the pixels are either on or off, they don't flicker like in old CRT monitors.  Seems trivial to me, but my own graphics card allows me to select 59Hz or 60Hz - which leads me onto my question:  Does the refresh rate affect LCD screens?  Technical info to back up any answers would be great.


How to get mods without a (version).jar folder in my .minecraft folder?

I am trying to get mods, and I know that the bin is gone. I don't even have the (version).jar folder in my .minecraft folder.


Does a creature with Lifelink provide lifegain equal to its power, or the defender's toughness?

I have recently began playing a deck that has a number of creatures with lifelink in it.  I want to be certain I understand the mechanic and the following question occurred to me.  Which damage total do you use to determine the life gain from lifelink?  I had assumed that if  a 3/3 creature with lifelink was blocked by a 2/2 creature that the life gain total would be 2, the maximum that the blocker can absorb before dying.  This seems to be incorrect, as when I read the example attached to CR 119.4c      [...] attacks with a 3/3 creature with wither and lifelink. It’s blocked by a 2/2 creature, [...]. The damage event starts out as [3 damage is dealt to the 2/2 creature, 2 damage is dealt to the 3/3 creature]   Have I been short changing myself?


80's movie involving replacing actors with CGI

This was a movie I saw a few times on British TV during the 80's, but I don't think it was much older than that. English language, almost certainly American-produced. I think it was an action movie, driven by a multiple murder plot.  The main scene I remember (I really want to say it was the opening scene, but I'm not 100% certain of that) had a couple running along the beach being filmed for a commercial, and the production crew were upset that when they jumped they weren't twisting as far as the computer said they should.  I think there was also an early scene where an actress fell from a hotel window, which was later discovered to be murder, though I might well be conflating another movie there.  I know this isn't a lot of detail, but it's been bugging me recently and I'd really like to know what it was. Thanks.


I am a not a computer geek, so I probably think this is dumb questions.. I have a vista 32 bit and trying to install Ubuntu, When I run the file with iso player, it said that I need to reboot PC and run as CD. And I do not know how to do this.. The thing is that I don't have a cd to burn that iso file and not sure it will work even if I burn iso file.   Anyone can help me out about it?


How to read “A = (πr)²” so as not to mistake it for “A = πr²”

None of the 26 answers given , or the 5 answers given  mentions any similarity between the pronunciation of  E = mc² and  A = πr², yet I still remain confusioned as to what distinguishes the reading of E = (mc)² and A = (πr)² with the reading of the first two.