Sign convention for mirror and lens formulas

I have just started learning optics at school and my teacher derived the lens and mirror formulas. While doing so, she applied the sign convention for $u$, $v$ and $f$ and arrived at the final expression. However, while solving problems using the mirror formula why do we again apply sign convention for the given values of $u$, $v$ or $f$?


What is the most generic algebraic structure for which we can define a tensor product?

We can define a tensor product of two vector spaces. But vector spaces are themselves modules and we can also define a  of two modules. My question is the following: are  the "most generic" algebraic structures for which we can define a tensor product ?


I wanted a daemon to start on boot so I added a line to /etc/rc.local that ended in "&"  I did that so it would run in the background.  The daemon is loaded and working fine but when the daemon is running you can press keys that do other important things.  When I am finally logged in I wanted to resume process or send it a terminal (tty2) so I can do a couple of things.  I'm new to linux and not sure how to do this.  I do a ps -aux |grep uox to work out which PID it is. But not sure how to resume.


i'm someone who is very interested in games and want to be able to make them myself. I researched some things and i've started learning c++ because i thought that would be the best language to go with...  Now like i said i've started learning c++ and by that i mean i'm reading at this point this book : -Beginning c++ through Game Programming Third Edition- but my question to you guys is, what books should i read next to be able to make games, i mean the normal c++ books (if the knowledge i have from this book , what it probarly is, isn't enought) and game developement books?  Yes i know there has been a simular question :  but i ask something different, these books are good for the basic c++ but i want books wich can guide me to be a game developer...


Allow horizontal scrolling of long math expressions

Stack Exchange formats math, but often the formatted math is wider than the screen. It would be nice if formatted math were scrollable the same way that formatted code wider than the screen is scrollable.


Technically, this is a math problem but I think it is better here than in the math stacks. Consider the differential equation   \begin{equation} y''  = (x^4 - E)y \end{equation}  The boundary conditions are the usual $y(\pm\infty)=0$. I want to find the eigenvalues, $E$, using WKB. According to my textbook (Bender and Orszag), we have the guessed form  \begin{equation} y=e^{S_0(x)} \end{equation}  where   \begin{equation} S_0'(x) = \pm\sqrt{x^4-E}  \end{equation}  One picks the sign such that the boundary conditions are obeyed.  Now, let us consider the "classical region" where $E>x^4$. After lots of work, the book reaches the eigenvalue condition \begin{equation} \int_{-E^{1/4}}^{E^{1/4}} \sqrt{E-x^4}dx =\left(n+\frac{1}{2}\right)\pi  \end{equation}  Notice, that in this condition, the  $\pm$ disappeared and the sign under the square root flips. The way this condition was obtained was fairly complicated, patching together solutions at infinity with an Airy function in between the turning points but can someone explain, in a simple way, how the boundary conditions forbade   \begin{equation} \int_{-E^{1/4}}^{E^{1/4}}-\sqrt{E-x^4}dx=\left(n+\frac{1}{2}\right)\pi~?  \end{equation}


Show post(s) already chosen as duplicate suggestions in iOS app

When closing a question in the iOS app as duplicate, the UI is very challenging.  I understand this is not exactly an easy UI to do given the limitations, but still, it's very complex.  One of the worst experiences, though, is when you're voting to close  a question that's already been voted for as duplicate by someone else's vote.  You have to get the duplicate's URL and copy it, and then paste it - there's no automatic link.  When I'm in the app, I usually find cases where I see an obvious duplicate from comments - I'm not doing tons of research, I only vote where it is obvious.  When there's a close vote as duplicate already pending, please give either a list of already chosen URLs, or something similar.  Even if it's only possible when there's only one selection - this would be far better than zero, where you then have to go back to the post, copy the link from comments, and vote again.


Recently, I have read a Schaum's book. General Topology, and it introduced the concept of cardinality and order, but it points out something that I really don't understand.  If $A\preceq B$ and $B\preceq A$, then $A \sim B$. If $X\supseteq Y\supseteq X_1$ and $X\sim X_1$, then $X\sim Y$   Prove these statements are equivalent which are both Schroeder-Berstein Theorem. In fact, I know how to prove them separately but is there a easy way to prove equivalent? 2.In the book, it mentions 'axiom of choice' a lot. So I search it from wiki and I found that it means: $$\forall X[\emptyset\notin X\Rightarrow \exists f:X\rightarrow\cup X \forall A\in X(f(A)\in A)]$$ It is quite easy to understand. But the book said this is equivalent to Zorn's Lemma: Let $X$ be a non-empty partially ordered set in which every totally ordered subset has an upper bound. Then X contains at least one maximal element. Wiki also mention that $\aleph_0$ is the smallest cardinality of a infinite set. This is directly derive from axiom of choice. Both of them I don't understand why. 3.Prove Law of trichotomy: Given any pair of set , either $A\prec B$ , $B\prec A$, or $A\sim B$. It said it can be proved ny using Zorn's Lemma.


I have an executable file called drracket in a folder :    However in GUI it appears as a source file :   Is there a way to run the file via GUI like double-click etc.? (Running it in prompt forces me to keep the prompt open  and bound to the executing file, closing the prompt closes the program as well).


XNA draw texture/font and DrawIndexedPrimitives at the same time

When i Draw a texture2d or a font with spriteBatch and also draw GraphicsDevice.DrawIndexedPrimitives, the frame is draw weird  SpriteBatch  spriteBatch = new SpriteBatch(GraphicsDevice); BasicEffect basicEffect = new BasicEffect(GraphicsDevice);  protected override void Draw(GameTime gameTime) {         GraphicsDevice.Clear(Color.LightSteelBlue);                 RasterizerState rasterizerState = new RasterizerState();     rasterizerState.CullMode = CullMode.None;     GraphicsDevice.RasterizerState = rasterizerState;      //for(...) {     GraphicsDevice.SetVertexBuffer(vertexBuffer);     GraphicsDevice.Indices = indexBuffer;      foreach (EffectPass pass in basicEffect.CurrentTechnique.Passes)     {         pass.Apply();         GraphicsDevice.DrawIndexedPrimitives(PrimitiveType.TriangleList, 0, 0, 8, 0, 20);     }     // } end for       spriteBatch.Begin();     spriteBatch.DrawString(MainFont, "FPS: " + Math.Round(1 / (float)gameTime.ElapsedGameTime.TotalSeconds, 2), new Vector2(200, 10), Color.Red);      spriteBatch.End();     How can i solve this ?


I have two pages on the site that are 100% identical:  MyDomain.com MyDomain.com/Keyword  MyDomain.com/Keyword exists solely because I had to give the page I created in the CMS a url, and that page is then also displayed as the home page.  Recently Google started displaying MyDomain.com/Keyword in the serps for "Keyword" searches instead of the homepage. That (I believe) caused the site to drop several places in the serps since the March 2019 update.   both pages contain a canonical tag informing google that the home page is to be treated as the source, but for some reason Google has decided (after many years) to ignore this.  Has anyone experienced such behavior from Google? What did you do?  Should I do a 301 from MyDomain.com/Keyword to MyDomain.com?


Somehow, at some point, I marked a comment to  as useful. The comment was actually the opposite of useful and I don't want my opinion misrepresented by such an indicator.  I've tried clicking the small arrow (🔺) to undo the vote, but it's not a toggle button. The only other option is to flag the comment and it doesn't really deserve moderator attention. Am I missing something obvious? How do I unmark a comment as useful?


Why are there two different Android apps?

So, if someone wants to install the Stack Exchange apps on Android, they search the Google Play store, and they find two different Stack Overflow/Exchange apps. This is quite confusing, since both seem official and are made by the same developer.    To see what all this is about, I have installed both of them. It seems like the Stack Overflow app only allows users to browse Stack Overflow questions, while the Stack Exchange app allows browsing of all SE sites. But, other than that, they are the same app. Both seem to look the same, are updated at the same time, and have the exact same updates.  So, why have two apps?


Hello I am fifteen and I already know everything that my school has been teaching me so I have been going ahead.  I have already been studying mathematics far past where I am at school, but I am very interested in physics.  I want to learn everything up to advanced topics such as super-string theory.  But to get there, I obviously have to start at the beginning.  Any good textbooks out there for somebody like me?  Preferably something with a lot of practice problems and that has many applications.


Why does a plastic comb attracts tiny bits of paper if it is an insulator?

When we rub plastic comb against dry hair, it attracts tiny bits of paper. We know that plastic comb is an insulator of electricity but then how is it getting charged and showing the property of attracting?


How to detect that there are tables in the file?

I am writing a LaTeX template for our university dissertations. A problem I face is the following:     An student asked me that his dissertation does not include any tables   and he views an empty list of tables. I have put \listoftables in   the .cls file and told him to comment it. However, I wonder how to   detect the existence of tables and automatically disable/enable any   listings such as list of figures, list of tables, list of algorithms   and similar thing.   I've searched for a while, but could not find any solution other than adding options to the document class like the following:  \newif\if@alg\@algfalse \DeclareOption{alg}{   \@algtrue } \ProcessOptions\relax \if@alg     \RequirePackage{algorithmicx}     \RequirePackage{algorithm}     \RequirePackage{algpseudocode}     \renewcommand{\thealgorithm}{\arabic{chapter}.\arabic{algorithm}}  \fi  \if@alg     \listofalgorithms     \cleardoublepage     \newpage \fi


Understanding Lasso Regression's sparsity geometrically

Whenever someone writes about Lasso and Ridge Regression thy draw this diagram with the circle or with the diamond.    In the case of the diamond (Lasso regression) it is then always stated that Lasso forces one of the coefficients to 0. Therefor it introduces sparsity. I understand it somehow, but whenever I see the diagram my doubts return. Why couldn't one just draw it like this:    Obviously none of the coefficients is forced to zero in this case. Both can take number between -1 and 1. What am I missing? My drawing has to be wrong, but I don't get it why they always draw so that it hits $\beta_1=0$  Edit:  Just found this quote:     However, the lasso constraint has corners at each of the axes and so the ellipse will often intersect the constraint region at an axis   Is that it? It will intersect often with the constraint region, but it doesn't have to? Can't wrap my head around it. I can only imagine that in higher dimensional cases hitting a corner becomes more likely or even inevitable.


My Shimano Tourney RD-TY22 7–21 speed bike rear derailleur mech, direct attach has broken, need a replacement, preferably newer

To cut a long story short, I have a full suspension mountain bike. Its rear derailleur mech (see title) is broken, had a trip round the spokes and age has degraded the main springs. I therefore need to replace it. Now, its old, and you can get the model, but its new, old stock so I want to upgrade the rear mech, not just replace.  So I need a Shimano rear mech, for 7 speed rear wheel, that bolts directly to hanger that is part of frame (Direct Attach). Can someone suggest how to select a  replacement mech? I am happy with the rest of the system, which is Dual SIS, and grip shift.  Thanks in advance,  Jawapower


How to calculate $\lim_{n \to \infty } \left( {\sqrt[n]{{{3^n} + {4^n}}}} \right)$?

How to calculate $$\mathop {\lim }\limits_{n \to \infty } \left( {\sqrt[n]{{{3^n} + {4^n}}}} \right)?$$    I saw on the suggestions that you can use the sandwich theorem or compression. And the fact that $\displaystyle\mathop {\lim }\limits_{n \to \infty } \left( {\sqrt[n]{2}} \right) = 1$  So I must first find upper bounds and lower.  someone help me with this please?


App crashes when new child added on Firebase Database

In my app there is a list I want to retrieve from Firebase Realtime Database, but at the second I add something on the database the list on the app does not actualize, it crashes. Whats wrong with the ValueListener?    mDatabase.addValueEventListener(new ValueEventListener() {             @Override             public void onDataChange(DataSnapshot dataSnapshot) {                  for (DataSnapshot ds: dataSnapshot.getChildren()){                      comment = ds.getValue(Comment.class);                     list.add(comment.getCommentText().toString()+" -"+comment.getUser().toString());                 }                  listView.setAdapter(adapter);             }              @Override             public void onCancelled(DatabaseError databaseError) {              }         });      java.lang.NullPointerException: Attempt to invoke virtual method   'java.lang.String java.lang.String.toString()' on a null object   reference           at world.cryneo.partytime.java.EventProfileActivity$1.onDataChange(EventProfileActivity.java:71)   After the app crashes and restarts the new comment from the database is shown. But firstly it crashes.  This is what is getting uploaded. After upload the app crashs, but after restart of app the content is normally shown. So why crash?   public void uploadComment(){          String nextIndex = Long.toString(eventCommentsCounter+1);         newComment = input_event_comment.getEditText().getText().toString();         mDatabase = FirebaseDatabase.getInstance().getReference().child("Events").child(event_name).child("comments").child(nextIndex).child("user");         mDatabase.setValue(userName);         mDatabase = FirebaseDatabase.getInstance().getReference().child("Events").child(event_name).child("comments").child(nextIndex).child("commentText");         mDatabase.setValue(newComment);         finish();          Intent eventIntent = new Intent(WriteCommentActivity.this, EventProfileActivity.class);         eventIntent.putExtra("Event_Name", event_name);         startActivity(eventIntent);         finish();      }


Using a product of a series of curve25519 scalars as a private key

There are a few systems like the GNU Name System and the Sphinx mixnet packet format that employ a series of curve25519 scalars all multiplied together as a private key.  Are there any caveats to multiplying several together like this?  What about adding them or doing other arithmetic operations on scalars?    Another form of this question is : There are a several bits twiddled when a .  What is the mathematical reasoning behind these modifications?  How does it translate to producing a private key scalar for curve25519?    I found a partial answer .  At least the lower three bits are cleared to prevent a small subgroups attack, although there is debate over the effectiveness of this attack.   I presume the small subgroup attack is a threat to the curve formulations used in both Ed25519 and curve25519 equally.    Now if one of the scalars being multiplied together is a multiple of 8 then they all are, so that's good.  If all are multiples of 8, then addition looks good too, but addition with values that are not multiples of 8 could be problematic.  Is this correct?  What about the bit operations on higher bits?  Why are they there?  etc.


Problem_     Evaluate $$\sum_{n=1}^\infty\frac{1}{n}\left[\frac{\ln{n}}{n-\ln{n}}\right]$$   I separated the given fraction into two fractions: $$\frac{1}{n}\left[\frac{\ln{n}}{n-\ln{n}}\right]=\frac{1}{n-\ln{n}}-\frac{1}{n}$$  But, the terms are not erased by others. Then, how can I find out the values of each series? Actually, it is impossible to find out the sum of each series since both them diverge: $$\sum_{n=1}^\infty\frac{1}{n-\ln{n}}>\sum_{n=1}^\infty\frac{1}{n}>\sum_{n=1}^\infty2^n\frac{1}{2^n}=\sum_{n=1}^\infty1=(diverge)$$So the new idea should be established. Could you please suggest me other methods? Thanks.  [EDIT] I've also taken account of Riemann Sum, but I still don't know how to apply it.


Java : Thread with or without anonymous runnable

I'm currently learning about thread in Java and I saw these examples on the net.  Thread t1 = new Thread(new Runnable() {     @Override     public void run() {         //code....     } });   and  Thread t2 = new Thread() {     @Override     public void run() {         //code....     } };   What's the differences between creating thread with and without creating anonymous runnable? Which one is correct way to use a thread?


How do I get Windows to re-attach a USB device without having to plug it in again?

After I use the 'Safely Remove Hardware' notification area widget, how do I get Windows to re-attach a USB device (i.e. a USB drive) without having to unplug and plug it in again?


Latex (XeTex) places equation parenthesis the wrong way

I recently switched compilation of my tex document from pdflatex to xetex for reasons of typesetting occasional arabic text (the rest of document though is almost entirely in English).  However now I have the problem of ``misaligned'' equation parenthesis both next to the equation and in \eqrefs as visible here:   I switched to using fontspec, unicode-math and polyglossia packages to be able to compile with xetex.  I even tried redefining the format of the equation brackets, but nothing changed. Any Ideas what is happening here?  My document preamble looks like this:   PACKAGES \usepackage{hyperref} \usepackage[round]{natbib} \usepackage{setspace} \usepackage{latexsym} \usepackage{url} \usepackage{mathtools} \usepackage{unicode-math} \usepackage{booktabs} \usepackage{tikz} \usepackage{xcolor} \usepackage{graphicx} \usepackage[headheight=13.6pt]{geometry} \usepackage{multirow} \usepackage{verbatim}% \usepackage{subcaption} \usepackage{epigraph} \setlength\epigraphwidth{0.5\textwidth} \setlength\epigraphrule{0.5pt} \renewcommand{\epigraphsize}{\small\itshape} \renewcommand{\textflush}{flushepinormal} % flushright \usepackage{nomencl} \usepackage{color} \usepackage{algpseudocode} \usepackage{algorithm} \usepackage{algorithmicx} \usepackage{eso-pic} \usepackage{fancyhdr} \usepackage[norule]{footmisc} % no footnote rule [better if we use footrulewidth] \usepackage{gnuplot-lua-tikz}  \usepackage{polyglossia} \setdefaultlanguage[variant=american]{english} \setotherlanguage{german} \setotherlanguage{arabic} % FONT with xetex: \usepackage{fontspec} \fontspec{Helvetica Neue} \newfontfamily{\arabicfont}{Scheherazade}  \renewcommand{\headrulewidth}{0.2pt} \renewcommand{\footrulewidth}{0.2pt} \fancyhead{} \fancyhead[RO,LE]{\leftmark} \fancyfoot{} \fancyfoot[LE,RO]{\thepage} \pagestyle{fancy} \onehalfspacing  % SOME MATH (RE)NEWCOMMANDS [...]


Best option between downtown Los Angeles and LAX

I'm planning to visiting LA soon and will need to use public transit to/from the airport. The place I'm staying is on the Antelope Valley Metrolink line, so it looks like the best way to get to the airport will be via Los Angeles Union Station. It looks like I have two options:     Cost: $7.00 Travel time: 30-50 minutes Span: 24 hour service Frequency: every 30 minutes during the day, every hour 1-5AM   (looks like silver + green line is the best since it'd require the least transfers)  Cost: $3.95 Travel time: about 60 minutes Span: service from 4AM to midnight Frequency: every 15 minutes (weekday off peak)    I'll just have a carry-on, so transfers shouldn't be too much trouble. I have an early morning flight, so I can't allow too much buffer time. I do want the option that'll get me there quickly and easily, but reliability is an issue as well.  Will my FlyAway get snarled in traffic on my way to the airport? Am I better off taking metro instead then? It'd save me a bit of money and depending on the schedules could be faster (assuming 50 minutes ride on FlyAway plus 30 minute wait vs 60 minute on metro + 15 minutes wait).  Could anyone comment from experience whether morning FlyAways are too much of a gamble with traffic when trying to catch a morning flight?


I am trying to solve by a different approach the fourth sum from ,  namely: $$S= \sum_{n=1}^{\infty} \sum_{m=1}^{\infty} \frac{1}{nm(4n+m)} =\int_0^1 \frac{\ln(1-x)\ln(1-x^4)}{x}dx= \frac{67}{32} \zeta(3) -\frac{\pi}{2}G$$    One way to solve it is similarly to my answer from there: $$S=\int_0^1 \frac{\ln(1-x)\ln(1-x^2)}{x}dx+\int_0^1 \frac{\ln(1-x)\ln(1+x^2)}{x}dx$$ From  we know that: $$\small \int_0^1 \frac{[m\ln(1+x)+n\ln(1-x)][q\ln(1+x)+p\ln(1-x)]}{x}dx=\left(\frac{mq}{4}-\frac{5}{8}(mp+nq)+2np\right)\zeta(3)$$ Thus by setting $m=0,n,p,q=1$ in the first integral we get that: $$S=\frac{11}{8}\zeta(3)+\int_0^1 \frac{\ln(1-x)\ln(1+x^2)}{x}dx=\frac{11}{8}\zeta(3)+I$$ $$I=\sum_{n=1}^\infty \frac{(-1)^{n-1}}{n} \int_0^1 x^{2n-1} \ln(1-x)dx=\frac12\sum_{n=1}^\infty \frac{(-1)^n H_{2n}}{n^2}=\frac{23}{32}\zeta(3)-\frac{\pi}{2}G$$ And the result for $S$ follows. The last sum appears to be known, see $(659)$ from , or alternatively since $I=2\Re\left( S(i)\right)$ just use the following identity: $$S(x)=\sum_{n=1}^\infty \frac{x^n}{n^2}H_n=\operatorname{Li}_3(x)-\operatorname{Li}_3(1-x)+\operatorname{Li}_2(1-x)\ln(1-x)+\frac{1}{2}\ln x \ln^2(1-x)+\zeta(3)$$ However I am trying to find a different method since the result is quite nice and I believe there's a nicer way to solve the integral without using such sums.   Thus I would appreciate to get some help with the following problem:     Prove without using Euler's sum or polylogs that   $$\int_0^1 \frac{\ln(1-x)\ln(1+x^2)}{x}dx=\frac{23}{32}\zeta(3)-\frac{\pi}{2}G$$   I also tried to consider the following integral: $$J=\int_0^1 \frac{\ln(1+x)\ln(1+x^2)}{x}dx$$   So now I am after the following integral: $$I-J=\int_0^1 \frac{\ln\left(\frac{1-x}{1+x}\right)\ln(1+x^2)}{x}dx=\frac74 \zeta(3)-\pi G$$


Possible to replay repetitive tasks using Python?

Is there a way to do a particular task manually, generate the code for it automatically and update that code to do some task repeatedly?  I'm looking for something like record macro functionality that's available in MS Excel.


Could we add the ability to link to a specific answer to a question?

Elsewhere in meta I was in a discussion where an answer to a related question was very relevant.   But I currently can't point to that answer, other than to say "the answer by author <here - link to question>"  Not a big deal, but would be nice, and presumably easy.


How to call `start` from Windows 10 Task Scheduler to prevent momentary window popup of cmd.exe?

When calling an app via cmd.exe to  for apps that need to run with elevated privileges, I find that the momentary popup of the cmd.exe is distracting / bothersome for some users. I'd like to eliminate that and it seems that start /b can do this, however I'm not readily seeing how to run start without initially executing cmd.exe as per the linked page above. For example, the /c start /b ... here doesn't really help at all since CMD is already creating a momentary blip up on the screen:  So I'm left with the thought: how can I run start without cmd.exe first? Or is there an even better way to handle this to prevent the momentary flash on the screen?


Prove there exists farthest points in a compact set.

Let $K\subset\Bbb{R}^n$ be a non-empty compact set.  Prove that there exists $a,b\in K$ so that $\|x-y\|\le\|a-b\|$ for all $x,y\in K$.  I thought it might be an application of extreme value theorem but I got to the point where for a fixed point $x_0\in K, \exists a,b\in K$ such that $\|x_0-a\|\le\|x_0-x\|\le\|x_0-b\|$ but I'm not sure where to proceed from here.


Consistent method for finding direction of static friction

I am having trouble coming up with a consistent method of determining the direction of static friction.  So far the best I have come up with is: it should oppose the relative acceleration the contact point would have parallel to the surface of contact in its absence.  This seems to work up to a point:   A block sits on a rug. The rug is pulled to the left. The relative acceleration of the block to the rug is to the right. So static friction must act (in the frame of the rug) to the left.  A cyclist makes a turn to the right and leans to the right. The torque that his weight puts about the contact point will make it accelerate to the left relative to the ground in the absence of friction. So the ground sees static friction pointing to the right. A coin rotates with a turntable. In the absence of static friction, the table sees a centrifugal force on the coin that will make it accelerate away radially from the centre of rotation. So friction must act radially towards the centre of rotation, in the frame of the table.   But then I run into some difficulties.   (already solved; see first answer) A cyclist makes a turn to the right. As a result he leans to the right. The resulting torque around the centre of mass causes the point of contact to slide to the left in the absence of static friction, so static friction must act to the right. However, now the cyclist as a whole must make circular motion with static friction acting as the centripetal force. As there is no torque, this means the contact point must move along with the centre of mass and therefore act as something with an acceleration to the right. So according to my understanding of static friction, another layer of it must now be added acting to the left. Why is it not? A car enters a banked curve with speed $v$. Suppose the curve is banked at the right angle for the car to make circular motion in the absence of friction. In the absence of any static friction, therefore, the car's acceleration points towards the centre of the banked curve. However, in this case the car's acceleration still has a downward component along the slope. My understanding of the direction of static friction means therefore, when it is added in, it should act up the slope. But in reality no static friction is produced in such a case.   Can someone explain what is wrong with my method of finding the direction of friction? Or if there is nothing wrong, how have I misapplied it in this case to create this paradox?


How to extract road centreline from delaunay triangulation using open source QGIS?

From some months I have been solving a problem but I cannot finish. My question is, "How can I extract a road centreline from delaunay triangulation using open-source QGIS?" Actually, I am using Chugiak.


What is the best damage you can do with a 9th level Magic Missile?

So one of this question's  answers got me curious. What is the maximum damage a 20th level character can do with a 9th level Magic Missile by the rules to a single target.  So my best I've been able to find is Aasimar or Goblin WLK 1/WIZ 19   9th Level slot (1D4+1)(11) [keep in mind you only roll once for damage not 11 times]  per  Empowered Evocation (+5)(11) (assuming 20 INT) Hexblade Curse (+6)(11) (Proficiency Bonus +6)    Radiant Soul/Fury of the Small +20 (Level 20 Aasimar/Goblin)   For a total of (D4+12)(11)+20 for (min-max)avg (163-196)179.5  Am I looking at this correctly? Are there other abilities out there that can increase this?  Feel free to include non legendary magic items. NO TOMES PLEASE  Only use things available on D&D Beyond please.  Acceptable books are :   Basic Rules DMG, MM, PHB Sword Coast Adventure's Guide The Tortle Package Volo's Guide to Monsters Xanathar's Guide to Everything and any officially released Adventure Book


Do we have eigenfunctions for Laplacian in $\Bbb{R}^n$

Does there exist $u\in H^2(\Bbb{R}^n)$ so that $-\Delta u=\lambda u$. Of course if such $u$ exists, it must be a smooth function by elliptic estimate and bootstrap strategy. So we need to find $u$ so that $-\Delta u=\lambda u$ in classical sense with norm constrain. I don't think such an eigenfunction exist, but I can't prove it. Thanks for advance for anyone who could offer help.


Finding joint PDF of $\max$ and $\min$ of $n$ iid random variables

The Problem: Suppose that $X_1,\dots,X_n$ are independent random variables with the same absolutely continuous distribution. Let $f$ denote their common marginal PDF. Set $Y=\min(X_1,\dots,X_n)$  and $Z=\max(X_1,\dots,X_n)$. Find the joint PDF of $(Y,Z)$.  My Attempt: First we find the joint CDF. For any $y,z\in\mathbb R$ we have that \begin{equation*}\begin{split} F_{YZ}((y,z))&=P(Y\leq y,Z\leq z)\\ &=P(\min(X_1,\dots,X_n)\leq y,\max(X_1,\dots,X_n)\leq z)\\ &=P(\min(X_1,\dots,X_n)\leq y,X_1\leq z,\dots,X_n\leq z)\\ &=[1-P(X_1>y)\cdots P(X_n>y)]F(z)^n\\ &=[1-(1-F(y))^n]F(z)^n, \end{split}\end{equation*} where in the fourth step we used the independence of the random variables $X_1,\dots,X_n$ and the fact that $P(A\cap B)=[1-P(A^\complement)]P(B)$ for any independent events $A,B$. By the  absolute continuity of the random variables $X_1,\dots,X_n$ we may differentiate the expression for $F_{YZ}$ to obtain the joint PDF of $(Y,Z)$, \begin{equation*}\begin{split} f_{YZ}(y,z)&=\frac{\partial^2}{\partial y\partial z}[1-(1-F(y))^n]F(z)^n\\ &=\frac{\partial}{\partial y}nf(z)[1-(1-F(y))^n]F(z)^{n-1}\\ &=n^2f(z)f(y)F(z)^{n-1}(1-F(y))^{n-1}\\ \end{split}\end{equation*}    Do you agree with my solution above? Any feedback is much appreciated. Thank you for your time.


How to paste the code in question block?

Is there any reason why I can't paste my code into the question block? As per the comment below I tried indenting it all 4 spaces and all of it 8 spaces; it just doesn't work what is the trick too it ?


When I want to run top I get a message saying that the command cannot be found.   I had a similar problem with the nano text editor.   I resolved that by installing the nano package from the Cygwin installer a second time.   Is there a particular package I need to install for top as well?


I have a path to a file and a path to a directory. The file is supposed to be somewhere (multiple levels) in that directory. I want to compare the beginning of the path to the file with the path to the directory. So what I basically do is:  if file_path.startswith(directory_path):     do_something()   Both paths are strings. Unfortunately, my path to the file includes ".." and ".". So it looks something like this: /home/user/documents/folder/../pictures/house.jpg. As the other path does not contain those dots, the comparison fails, obviously. Is there a way in python to remove those spots from the string? I thought of using path.join() from the os module, which did not work. Thanks a lot for any help :)


Why did community user reject this edit?

I made the following edit whilst reviewing posts in the first posts review queue    It was immediately rejected by , there has been no other edit made to this post, how did this happen?  This situation differs from those presented in the following two questions           It differs in the following ways   The edit was not rejected as a result of another user with higher reputation making an edit. (see A user with full edit privileges saves an edit over yours ) The edit was not rejected as a result of the original poster making an edit of their own in within the five minute grace period. (see )   Unless a human decided to reject the edit, without giving a reason, this looks very much like a defect  I just noticed, that since the time that the edit was originally rejected another user has made exactly the same edits that I made to the question. The difference here is that the community user did not reject those exact same edits and I must add that the edits were made later than the original edit, so it's not likely there was a concurrency issue


In Chapter 7 of Jackson's book on Classical Electrodynamics, there's the following statement:  Introducing the complex orthogonal unit vectors:  $$\epsilon_{\pm}=\frac{1}{\sqrt{2}}(\epsilon_1\pm\epsilon_2)$$  we can represent an EM traveling in the $\epsilon_3$ direction with arbitrary polarization as:  $$\vec{E}(\vec{r},t)=(E_+\epsilon_++E_-\epsilon_-)e^{i(\vec{k}\cdot\vec{r}-\omega t)}$$  If the amplitudes have the ratio,  $$\frac{E_-}{E_+}=re^{i\alpha}$$  then it can be easily shown that the ratio of semimajor to the semiminor axis is:  $$|\frac{1+r}{1-r}|$$  and that the ellipse is rotated by an angle $(\alpha/2)$.   I tried checking this by myself, by starting with the general field $\vec{E}$ expression, passing to the basis with $(\epsilon_1,\epsilon_2)$ and expressing $E_\pm=A_\pm e^{i\beta_\pm}$, However, so far what I've found is that the $\vec{E}$ in such basis can be expressed as (taking the real components):  $$\vec{E_{1,R}}=\frac{1}{\sqrt{2}}[A_+\cos(\beta_++\vec{k}\cdot\vec{r}-\omega t)+A_-\cos(\beta_-+\vec{k}\cdot\vec{r}-\omega t)]$$  $$\vec{E_{2,R}}=\frac{1}{\sqrt{2}}[-A_+\sin(\beta_++\vec{k}\cdot\vec{r}-\omega t)+A_-\sin(\beta_-+\vec{k}\cdot\vec{r}-\omega t)]$$  which shows that we indeed have an ellipse. Nevertheless, since I can't seem to find the ratio and inclination from Jackson, and I couldn't find online a detailed derivation.  Edit: I had already checked the following post () which tried to find something similar in terms of the Jones vectors, where all the answers provided are in terms of finding eigenvalues for the circular and linear polarizations only. However, in my case I want to get an explicit derivation of the formulas provided by Jackson, as not only they avoid using Jones vectors, but I think provide a more geometrical aspect of polarization states (hence why I don't consider it duplicate).


During the paper writing, a question came up into my mind: can abbreviations be used in these articles?  There are at least 2 kinds of abbreviations, one is the so-called terminologies(or jargons?) which are too verbose for us to write all the alphabeta in the words every time. Though some of them have already been well-known in daily life(e.g., MP3, PDF), for others we are told to use the full name of the phrase and add the abbreviation in a parenthesis as its first occurrence and then use them in the following paragraphs.  The other group is about those abbreviations that are more commonly used in informal situations, such "a.k.a", "e.g.".   Though several of them have already been used in a number of papers, like "e.g.", "et al", "etc", "i.e.", most of the cases I hesitate to use them in the papers or other academic articles. Is it suggested not to use them? Here are a few that I can think of.  a.k.a. don't doesn't mustn't won't


Choosing the right transistor for a switching circuit

I want to control a siren speaker (has a built-in driver) with an Arduino.  The siren needs 12V and consumes about 480mA. The Arduino output pin is 5V and can source 40mA maximum.  I would like to use a transistor to switch the siren on and off. Is this an OK application for a transistor? I'd rather not have to use a relay or a SSR because I don't have any on hand.  Based off of those numbers I calculated my load (siren) resistance to be 25 ohms using Ohms law, R=E/I. (I'm using Amps, Volts, and Ohms as units)  $$\frac{12V}{0.48A} = 25 \Omega$$  I have found various calculations to determine what kind of transistor I need and I'm not quite sure which is the best one. One of them is like this:  $$h_{FE(minimum)} = 5 \times \frac{Load\;Current}{Arduino\;Pin\;Max\;Current}$$  Which gives me a minimum \$h_{FE}\$ of 60.  $$5 \times \frac{0.48}{0.04} = 60$$  This is where I get a little confused. I have a few transistors and their datasheets but I'm not quite sure how to read them. I have read many resources and I am just as confused now as before.  I know I should probably use a NPN transistor but would it matter if I use a PNP instead? Do the same calculations apply? I understand that the circuit changes, active high instead of active low, but are there any drawbacks to PNP over NPN?  The NPN's I have are , ,  and a .   The PNP's I have are ,  and a .  How would I go about choosing the right transistor for the job? I don't want to overload the transistor.


Experience using dropdowns in-line of sentence "mad lib" style

Do you have experience implementing text inputs or drop-downs in-line with other text or forms? Is this approach any better than just creating a separate field/label?  In the example below the user has the option to indicate when to be reminded again (in one, two, or three days). When they are reminded of an assignment, they simply get an email or text message.


I am working on a project with two different teams, each working with a different GIS software package: QGIS and ArcGIS. I am trying to convert my QGIS layout to ArcGIS, so the team with ArcGIS can see exactly the same symbology as I do on my computer.  I am currently working with .qml files to save my layer styling, and I would like the other team to be able to visualize the same symbology for the layers we're both using. So I want to convert all my layer symbologies from .qml to .lyr.   Is it possible for them to use the .qml format in ArcGIS?   Is there a way to make all projects have the same symbols, without having to exchange RGB values, point style, line style, etc, etc...?


I'm trying to make a Game of Thrones-style map scene. The roads are defined by curve objects. I'm trying to extrude the roads in the x/y plane, but it seems to only go in Z:    Is it possible to control the extrusion plane for curves?


Is there a way to retrieve the name of the Desktop Environment?

Is there a way to retrieve the desktop environment name (e.g. Gnome, Unity, XFCE, LXDE, KDE...) from the command line or using Python?


Where are official changes announced by Wizard?

At events and on conversation boards everyone is has stated that as Khans comes out M14 and the Return to Ravnica block is going to be rotating out of standard. I can't find any reason this would happen other than that "that is what happened in the past". As Magic has a very structured system I would imagine there is an official feed/site somewhere from Wizards that announces and clarifies such things.


I am using external usb keyboard. I want to disable laptop's internal keyboard using software.  I know that i can just remove the internal keyboards wire and disconnect it physically, but i wanted to disable it using software so that later I can enable it by just executing a command in terminal easily. I am talking about disabling the keyboard and NOT the keyboard layout.  I am having Hp-Compaq Presario A965 TU Laptop Intel Centrino Core 2 Duo(Freq. 2 GHz). I am using 64 bit Ubuntu Lucid Lynx.


centos: using epel repository on a server machine

Are there any downsides in enabling epel repository on a server machine or is it something every sysadmin does?


In deleted comments, the moderator's name appears with the same background used for the user who asked the question

On this answer, I deleted some comments, and I have noticed that, in the deleted comments, my name appears with the same background used for the user who asked the question.    It doesn't happens for other users.    The problem is the CSS class associated with the  markup, since that is kiamlaluno♦.  It doesn't happen for the question itself, though.


I have a link on a long HTML page. When I click it, I wish a div on another part of the page to be visible in the window by scrolling into view.  A bit like  EnsureVisible in other languages.  I've checked out scrollTop and scrollTo but they seem like red herrings.  Can anyone help?


Compiling latex files from terminal with and without a command

I have used \faketableofcontents in my file.  I need to compile the file twice -- once with \faketableofcontents present and once with \faketableofcontents commented out. I wonder if there is a way to compile the file from terminal and use a true or false argument which specify whether \faketableofcontents must be included or ignored during compilation.


What is the difference between the Wilcoxon' sRank Sum Test and the Wilcoxon's Signed Rank Test?

I was wondering what the theoretical difference is between the Wilcoxon Rank-Sum Test and the Wilcoxon Signed-Rank Test using paired observations. I know that the Wilcoxon Rank-Sum Test allows for a different amount of observations in two different samples, whereas the Signed-Rank test for paired samples does not allow that, however, they both seem to test the same in my opinion. Can someone give me some more background / theoretical information on when one should use the Wilcoxon Rank-Sum Test and when one should use the Wilcoxon Signed-Rank Test using paired observations?


I've noticed that the "Sticky vote" count is defective when a certain page contains horizontal scrolling -when it's zoomed in, for example- because the vote count overlays the text of the question, as you may see in this image:


Appropriate place to discuss LEARNING about DNS

I am in the process of setting up a few servers -- Right now we are switching from a managed to un-managed solution. My requirements are "set up web servers" -- check ... "Set up data servers" -- check ... Set up DNS servers .... hmmmmm  Now I am no noob with Linux, and I've even messed around with bind -- But I have been searching all over and can't get a thorough grasp start-to-finish. I'd like to be able to discuss somewhere what my exact needs are, and have possibly have someone either explain what I need, or point me to references that will explain what I need to do.  I know to some this might sound silly, but I've been all over searching, and the information out there is overwhelming. This is a case of too much information can be a bad thing when you need to sift through it all and figure out what you need... The difficult part is, I don't know which information I need! Which Stack Exchange site is the best place for this specific question?!


Adding a signature on an online job application

Nowadays many job applications are sent in digital form as PDF. We use of course LaTeX to create such. Usually you add a cover letter to your CV and credentials. If you sent this as print-out by classic mail you sign this letter (at least in Germany), but what (and how) do you do for an online application?  I would say either:   leave it empty add your name in the usual font as normal text add your real signature as scanned image add your name in a special font so that it look more like a signature (but you can still see that it isn't a real one)   I'm planning to go with the last method and I'm looking for suitable fonts for it which I can use with PDFLaTeX (XeLaTeX and LuaLaTeX answers are fine too, but will be taken as non-competitive). I would also be happy to get some style guidelines if I should not got with an other method (with a rationale to avoid subjective opinions).    I already had a look at   which is similar but still too different. I don't need or want any rule and the shown font in the accepted answer are looking too real.


Ubuntu Server 14.04.1 USB freezes on Startup screen

I'm not exactly an expert when it comes to linux.   Anyway, I'm trying to install Ubuntu Server 14.04.1 onto an old machine I use as a test platform. It will reach the screen that gives me the options to install Ubuntu, check disk etc but then it freezes. I let it sit for maybe 3 or so minutes then it gave me green gibberish text on the top of the screen. Not sure exactly what's going on. The desktop boots fine with PFsense on the HDD.


As I have already studied Griffiths, I want something with modern and advanced approach both towards theory and problem solving.


Let $R$ be a finite ring with unity. Prove that every $x \neq 0$ is a zero divisor or a unit.  I made an attempt, but got stuck. I took a non-zero $x$ and defined the mapping $f: R \to R, y \mapsto xy$. This mapping may not be injective, but if it is, since it maps from $R$ to $R$ and is finite, $f$ is also surjective, and since $1$ is an element of $R$, there exists $y$ such that $xy = 1$. The ring is not necessarily commutative, however, so I also need to find a $y$ such that $yx = 1$. My thought was to define an analagous map $g: R \to R, y \mapsto yx$, which may or may not be injective. But then I run into problems where the first map is injective, but the second isn't. Any help would be appreciated. EDIT: The linked question does not answer this because it assumes that the ring is commutative. This ring is not commutative.


Show that if $n>2$, then $(n!)^2>n^n$.     My work: I tried to apply induction. So, at the induction step, I need to prove, $n^n>(n+1)^{n-1}$ Here, I tried to use induction again without any luck. I also took log of both sides, but I did not get anything. Please help!


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


Can't install certain Steam games on ExFAT hard drive

I was trying to install BioShock Infinite on my external hard drive, but Steam said it couldn't use my hard drive because it uses the FAT32 filesystem which I'm assuming is because it has a 4GB per file limit. But since I'm using ExFAT which doesn't have this limitation, this shouldn't be an issue. I read an answer to a similar question with the answer being that Steam checks for a 'FAT' name string for the volume format and since ExFAT has FAT in the name, it picks it up as FAT32. The same answer also suggested that I could possibly inject a .dll file into it, which seemed a bit shady but I don't know.   Does anyone know a way I can get around this limitation? In addition, the answer I referenced before can be found


I heard at some point (without seeing a proof) that every countable, compact space $X$ is homeomorphic to a countable successor ordinal with the usual order topology. Is this true? Perhaps someone can offer a sketch of the proof or suggest a topology/ordinal text which treats countable spaces in depth. I also wonder if these spaces are metrizable or if they can be embedded into $\mathbb{R}$.  By the way, I'm assuming $X$ is Tychonoff but perhaps this can be reduced to a weaker separation axiom.  Edit: Just to clarify and avoid erroneous future editing,"countable compact space" means "compact space, whose underlying set is countable." This is different from "countably compact space."


How to change the text style without affecting the typesetting?

I am writing a report using LaTeX. I would like to change the font to be typewriter. Once, I did this, the typesetting is affected. That is, the sentences are not fall in the same margins also, I got a spaces between words. could someone help me please? What is the good way to change the font without affecting the typesetting?  Here is the packages that I use:  \documentclass{article}[12pt] \usepackage[utf8]{inputenc} \usepackage[margin=0.45in]{geometry} \usepackage[utf8]{inputenc} \usepackage{nomencl} \usepackage[T1]{fontenc} \renewcommand{\familydefault}{\ttdefault} \usepackage{lipsum} \begin{document}  My document here.  \lipsum \end{document}


How do I make Sublime Text 2/3 not open previous tabs when I launch it?

Everytime  i open Sublime , these tabs automatically opens. How do i fix this. I am unable to find any setting for this.


Just got confused with what my friend asked (paradox and fake proofs).

Take $x^2=x+x+x+\cdots$ ($x$ times). Now differentiating both sides wrt $x$, we get:  $$2x=x.$$  This means $x=0$ or $2=1$.  How? Where did I go wrong?


strace can monitor only one single processes not all, lsof is not a good way too, it's not a real time tool, maybe I need a real time version of lsof? How to list all the processes which have accessed a particular file?


Let $S=\{1,2,3,4,\dotsc,N\}$ and $X=\{ f: S \rightarrow S \mid x < y \Rightarrow f(x)\leqslant f(y)\}$. Then $|X|$ is equal to what?

A trick question about combinators (Stars and Bars)- Need some explanations.     Let $S=\{1,2,3,4,\dotsc,N\}$ and $X=\{ f: S \rightarrow S\mid x < y  \Rightarrow f(x)\leqslant f(y)\}$. Then $|X|$ is equal to what?   How to use Stars and Bars here? Thank you very much.


Probability of rolling a six on seven die?

How would one calculate the probability of rolling a six (at least once) on seven dice? Would I be correct in proposing $1 - P(\text{no sixes})$ which is $1 - (5/6) ^ 7$?


How to create multiple instances of an object within Java

I'm trying to create multiple instances of an object and store it in an array. However, the last instance of it overwrites the previous ones. Is their a way I can create each individual object?  I've tried creating an array and filling each individual object separately. I've also tried creating new instances of it.  class Card {  private static String name;   public Card(String name) {   this.name = name;  }   public String getName() {   return name;  } }  public class Main {  static Card[] deck = new Card[5];  public static void main(String args[]) {   deck[0] = new Card("Ace");   deck[1] = new Card("Club");    System.out.println(deck[0].getName());   System.out.println(deck[1].getName());  } }   The output of deck[0] should be "Ace" while deck[1] should be "Club".  What is outputting is "Club" twice. How can I fix this?


Photo print of 8 x 3,65 meter for a wall

I have to make a photo artwork of 8 meters by 3,56 meters.  I am looking for pictures on shutter stock to work with, but I can only find images of about 50/80 cm high / 300 dpi. (I will work them into a kind of 'collage', so I'm not looking for just one picture).  I read somewhere that you can scale these kind of pictures as much as you want, for a billboard for example, but this will be for a wall which will NOT be seen from distance, but from up close.   So my question is, how much can I scale up the pictures without losing (noticeable) quality?   Thank you very much in advance!!   Elisabeth


I will be traveling to Rome with a friend for Easter 2016 (25th March – 30th March). We would like to be able to visit the Vatican to see the art and St. Peters Basilica (not for religious purposes, but as a tourist attraction).   What day would give us the best chance of getting in and being able to visit the basilica and maybe also the Sistine Chapel? I suppose we should wait until after Sunday, but is it open to visitors on the Monday or Tuesday after Easter? Are there times that the area is less crowded?   I realize Easter is not the best time to visit the Vatican as a non-religious tourist, but we booked our flights without realising that was Easter weekend. I should also mention that since we are from Argentina we probably won't get another chance to visit soon.


Is it possible to update an iPad 2 to 6.1.6 instead of 7.0.6?

We have a (non-jailbroken) test iPad 2 with iOS 6. Following the recent SSL vulnerability patch, we'd like to update it. However, the update I see in iTunes/Settings is to 7.0.6. We'd really like to keep it at 6 (=update to 6.1.6). Is this possible?


Restrict node to be shown only in a view and not by its url?

I created a node which has an entity reference to select a user. Then, I created a view to show the node only to the user referenced in the node.  This works fine, but the problem is that the node can be viewed directly through its URL. I need to restrict the node to be only shown through the view and not by its URL.  How can I do this?


exhausted noob here. I have basically 2 questions...  Sorry for clarification the switches are inside a loop which gets a bunch of numbers and then sorts them using OrderByDescending(). My problem is now I dont know which numbers there are, I only know that they are ordered by descending. Now I have a priority on numbers some specific number is more important for me than other (there is no rule or logic behind that). But on the other hand none of the numbers I am looking for could be inside, so as a "default" return or work with the highest number there was inside the collection.  1: are switch-cases order sensitiv? Assuming I switch on a range of 1 to 5 and for me 4 is of higher priority than the rest would that work as intended?  switch(number) { case 4: DoFancyStuff(); break; case 3: NotTooFancy(); break; case 1: StillOk(); break; case 2: Bad(); break; case 5: SuperBad(); break; default:break; }   Anyway, further lets assume number is ordered by descending. But I do not now know the possible range of number, it could be 2, 4, 8, 16, and so on but a number could be missing: 2, 4, 16, ...  So if I have to say  switch(number) { case 32: Nice(); break; case 64: OkToo(); break; case 128: Nah(); break; case 8: OkStillTakeIt(); break; default: break; }   So as the numbers are ordered by descending order the big ones come first but they do not have the highest priority there could be a number coming with the highest (priority) one (first case) but it also does not have to... and if none fits I want to take the highest one but that is "lost".  How do I fix that? Or am I just overthinking? Wrong approach? My brain is exploding from thinking about it.


Heisenberg Uncertainty Principle Applied to an infinite square well

I Appreciate the statement of Heisenbergs uncertainty principle however am a bit confused as to how exactly it applies to the Quantum Mechanical situation of an infinite square well.  I understand how to apply schrodingers equation and appreciate that energy Eigenvalues can be deduced  as   $$E_n=\frac{n^2\hbar^2\pi^2}{2mL^2}$$  However I have read somewhere that the reason that the quantum particle can not have $n = 0$ in other words $E = 0$ is because by having zero energy we also have a definite momentum with no uncertainty and by the Heisenberg uncertainty principle this should lead to an infinite uncertainty in the position of the particle however this cannot be in an infinite well as we know it should be somewhere in the box by definition. Therefore $n$ may be another greater or equal to one.  Surely when $n = 1$ we have the Energy as $\hbar^2 \pi^2 / (2mL^2)$ which is also a known energy and so why does this (as well as the other integer values of $n$) not violate the uncertainty principle.


Can changing websites from XHTML 1.0 to HTML5 affect rendering in older browsers like Internet Explorer 8?

We are considering the pros and cons of switching from XHTML 1.0 Transitional to HTML5 for our website (for instance, to enhance our SERP positions by using microdata and new specific HTML5 tags for better indexing by search engine crawlers).   The current web pages are well-formed enough, so specifying <!doctype html> and some "polishing" is the only thing we need to do.  However, as we can see from the stats for our website, many of our visitors are still using old versions of browsers like IE8 (7.3%) which may know nothing about HTML5.  The question is: can changing our website to HTML5 cause serious rendering and usability issues?


I completed enough thieves guild radiant quests to get a "special" job from Delvin.  I talked to Delvin to get the special job, and there was nothing added to my quest log.  Now every time I get near him he tells me my work has been noticed and that we got a special job, but I can't get a dialog to appear with him.  When I talk to Vex, she says I have to complete Delvin's special job before I can get anymore work.  Knowns.   Quest is not in my log. Reloading a previous save game is not an option. I left Riften and did another series of quests and was gone for about a week of game time. The main quest line is complete. The thieves guild (nightingale) quest line is complete, though I may not have the thieves guild armor anymore as I preferred the dark brotherhood gear. It is on the XBOX 360, so the console is not available.   Any suggestions?


Meaning of ring notation $\Bbb Z_{(p)}$ in commutative algebra [localization]

I am doing some exercises on commutative algebra and came along the following expressions, which were not elaborated on. Is someone familiar with them?  The first is for $p$ a prime number $\mathbb{Z}_{(p)}$, where the exercise is to determine all ideals. Do you think this is just $\mathbb{Z}/p\mathbb{Z}$?  The second one is for $P$ a prime ideal the expression $P_P$, where $P_P$ lies in $R_P$ for $R$ a ring.  I never came across this notation before so I have to ask here.


Is there a way to specify separate scaling factors for multiple monitors in Windows 8.1?

I have a Samsung Series 7 Ultra laptop with the latest update to Windows 8.1. I am using an additional digital monitor with the same nominal resolution (1080p) as the laptop, but much larger in size (13'' laptop vs 22'' external monitor). The two screens are set up to "Extend these displays", meaning that my desktop spans both of them showing different content.  I am aware of two option for controlling the size of elements on the screen:    Choose one scaling level for all my displays Let the system scale displays while maintaining the physical size of on-screen elements (thereby changing their nominal pixel resolution when I move them from one screen to another)   If I choose option 1, I am able to specify a scaling level but item appear either two small or two big on one of the two monitors. I have no way to change the ratio of the scaling factor between the two screens.  If I choose option 2, I can specify how large item appear for both, but again I have no control over the ratio of the scaling factors for the two monitors. While the auto-selected ratio provides for similar size of elements on the two screens, it results in visibly blurry text in most software on one or both screens.  A similar question was asked several moths ago:   However, there has been at least one major update to Windows 8.1 since, targeting screen scaling among other things (Windows 8.1 Update for x64-based Systems -- KB2919355).  My question following this update is:  Is it now possible on Windows 8.1 with KB2919355 installed, via the GUI or registry, to directly specify percent scaling separately for each attached monitor?


Thickening the line in legend representation

I have plotted several graphs using "gnuplot" and post-processed the graphs in "GIMP". I decided to remove the legend within the graph and place the legend separately below my set of graphs. I have used the script of "Christian Feuersänger" mentioned in .  In general I would like to use the "sharp plot" functionality for my legend but the thickness of the lines shown is very small. I tried to use the scaling factor but it scales along the x-axis whereas I would like to scale it along the y-axis. Any hints on how this could be done?  Thanks; Saideep


Regular expression don't match with g flag

please help me, i don't know what wrong with this regular expression.
\s*\s*Ціна[\s[:alpha:]\,\.]*:\s*<\/strong>\s*(\d+[\s\d]*.\d*)\s*грн[\s[:alpha:]\,\.]*<\/div> Without g flag i have 1 match, but with g flag no matches Below part of searching text
Ціна продажу: 5 734 600.00 ГРН


Buying property in India : FBAR declaration.

I am on H1b visa in USA and thinking about buying property in India.  If I buy any property in india,do I need to report my property in USA income tax return, FBAR or anywhere else? Do i need to pay any tax in USA or India? I am living in a rented apartment here in USA. Please help me understand both cases where the property that I buy in India might be a residential home, land, commercial property


Memorize window locations connecting / disconnecting monitor

I disconnect move my laptop quite often from the monitor and it takes quite a while to move my windows back.  I've looked around many times, but I couldn't find an app to memorize window locations after connecting / disconnecting monitor.


There is a picture of a boy who is in class. In the picture the teacher is dictating a text, and the boy is writing it down.  The children are asked to describe this picture in one sentence: (What's he doing?) - He is...  Which verb is correct here, learn or study? Or both are correct? (The children don't know the difference between these two words yet, but they know that "to learn" means 'to get knowledge or skill' and "school" is a place where they gain more knowledge.)      To learn – to gain knowledge or skill by studying, practicing, being   taught, or experiencing something.      To study – to read, memorize facts, attend school, etc., in order to   learn about a subject.


For some reason, Lydia won't wear her armor when I give it to her. I've tried just your basic steel stuff, Elven boots and gauntlets, and a myriad of other things and none of them equip. When I bring up her inventory, the shield, jewelry, and weapon I've given her has a little arrow next to it to show it's equipped. This arrow doesn't appear on any of the armor items. I've tried taking the items away from her and giving them back; removing everything except armor from her inventory; telling her to leave and then making her follow me again—none of them have worked.   I'm starting to think she just hates me (I do scream expletives at her every time she blocks a doorway or does something else stupid). But seriously, she needs to put on her armor. Help please?


Why do '*' vs list comprehension when making list of lists work differently?

My purpose was to make 2D list by * list2 = [[False]*2]*3 #[[False,False],[False,False],[False,False]] list3 = [[False]*2 for _ in range(3)] #same as list2 list2[0][0] = True # [[True, False], [True, False], [True, False]] list3[0][0] = True # [[True, False], [False, False], [False, False]]  list3 works well but list2 doesn't. list2 is affected by 'x' of list2[z][x]. What happened?


How find this $\lim_{n\to\infty}\sum_{i=1}^{n}\left(\frac{i}{n}\right)^n$

How find this $$\lim_{n\to\infty}\sum_{i=1}^{n}\left(\dfrac{i}{n}\right)^n$$  I think this answer is $\dfrac{e}{e-1}$  and I think this problem have more nice methods,Thank you


How do I transfer my Google Chrome profile to a new PC?

Now that I have Google Chrome all set up, I got myself a new laptop. Does anyone have any idea how to transfer my settings, cookies, favorites, etc?   I checked documents and settings\me\application data, and found nothing.


Effect of dielectric on electric field outside the dielectric

I have the problem given in Irodov stated as follows   Two positive charges $q_1$ and $q_2$ are placed a distance $r$ apart in air, now a dielectric slab of thickness $t$ $(t\lt r)$ with relative permittivity $k$. Find the force of electrostatic interaction between the two charges.   My question is what effect does the dielectric have on the field outside the dielectric medium.  The answer which I had been directed to just states the dielectric behaves as though it's thickness was t√k, but there is no mathematical proof for that. Hence, I request for a proper mathematical proof for the effect.


Am an Indian Citizen travelling to Ireland with an Irish visa via LHR so would I need a transit visa at London Heathrow airport?


How to remove all the installed packages in UBUNTU?

I am trying to uninstall every single package I installed and I'm almost sure that it is possible with one command, but I don't know it. What can you suggest, please?


I am using gradle6.8.1 and jdk15 to construct my Spring microservice project.  While running my project test I am getting these errors: Handler dispatch failed; nested exception is    java.lang.NoSuchMethodError: 'void javax.ws.rs.core.MultivaluedMap.addAll(java.lang.Object, java.lang.Object[])'  org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is   java.lang.NoSuchMethodError: 'void javax.ws.rs.core.MultivaluedMap.addAll(java.lang.Object, java.lang.Object[])'  I don't have idea about this error, but it was working in other machines. So, I have checked with various versions of gradle and java sdk but no use. And I also tried after clear gradle cache but its not working.


Is it possible to mark a question as favorite in the Stack Exchange Android app?

How do I add a question to my favorites in the Stack Exchange Android application?


Can a "lightsaber" be scientifically possible?

Can a lightsaber be made in real life? If yes, how can you make it? If no, why is it impossible to make it? I know there is another question on it, but I feel like I need better answers  :)


How is the kinetic energy of the wind transferred onto a lift based wind turbine?

The rotor blades of a lift based wind turbine are shaped like airfoils, so the wind flowing around them creates a lift force which in turn moves them around. From a thermodynamic viewpoint and like answered in  kinetic energy is extracted from the wind during this.  But what goes on from a mechanical perspective? How exactly is the kinetic energy of air particles transferred onto the rotor blades via lift? None of the sites I read gave an elaboration on the how.


How to use mirror ball to light a scene?

I'm interested in inserting 3D rendered objects into a real scene in a photo (and eventually video) and using image-based lighting.  I took the following photo of a mirror ball (pretty low-res):    I then tried following  which was one of this only resources I could find giving step-by-step instructions for mirror balls:   switch to Cycles go to the World tab add a Background surface specify Environment Texture open the above sphere.jpg select Mirror Ball select Vector = Mapping select  Vector = Texture Coordinate > Generated   This generates the attached garbage.  Why, and what should I do instead?  I'd like to stick with mirror balls since they're much faster/easier to capture than a 360-panorama.  Thanks!    Update: here are the results after following Spencer's answer, before (original) and after—still seems kinda fake (any tips?), but it was fun for a first stab.  Some details:   I just pointed the camera from the front view I left the background transparent and gimped it in later I clicked the Smooth button under Shading on the left toolbox or else the monkey looked extremely polygonal I added Glossy BSDF material on the monkey I added a Sun light - not sure that that helped actually


Why does this variant of comb space have no universal cover?

Let $X$ = Comb Space union $\{y=1, 0\leq x \leq 1\}$. Comb space refers to the standard union of $0 \times I$, $I \times 0$ and $\{1/n\}\times I$ where $I = [0,1]$. Why does this space NOT have a simply connected cover?


Show that T2-space is preserved by continuous map.

Let (X,$\tau$) and (Y,$\tau_1$) be topological spaces and f : (X,$\tau$)$\rightarrow$(Y,$\tau_1$) a continuous   map. If f is one-to-one, prove that (Y,$\tau_1$) is Hausdorff implies that (X,$\tau$) is Hausdorff.   I already proved that T1 is preserved by continuous map, but I don't know how to do with T2. Please give me some idea.


The Function $f:\mathbb{R}^{2}\rightarrow \mathbb{R}^{2}$ defined by $f(r,\theta)=(r\cos\theta,r\sin\theta)$

Let  $f:\mathbb{R}^2\rightarrow \mathbb{R}^2$  be the function defined by $f(r,\theta)=(r\cos\theta,r\sin\theta).$ Then for which of the open subset $U$ of $\mathbb{R}^2$ given below, $f$ restricted to $U$ admit an inverse?   $U=\mathbb{R}^2$ $U=\{x,y \in\mathbb{R}^2:x>0,y>0\}$ $U=\{x,y \in\mathbb{R}^2:x^2+y^2<1\}$ $U=\{x,y \in\mathbb{R}^2:x<-1,y<-1\}$   It is clear 1 is not true as $\sin ,\cos$ are periodical function. Similarly 3 is not true. What about 2nd and 4th ? please help.Thanks in advance.


I've read multiple messages on the subject, but I wondered if anyone had first hand experience (or genuine knowledge one way or another), if it is possible to more than one Apple Developer account?   As far as I know, you can create one for each Apple ID that you have, but I have not been able to find anything that suggests this is not possible (or breaches any rules). Are Apple likely to be bothered as long as you pay the $99/year for each Developer Account?  There is a link  that seems to suggest that it is possible   Would appreciate any comments on the subject.  Thanks.


So, looking at the following question:    The accepted answer is harmful advice and is leading people into misconfiguring their website. Other than leaving appropriate comments and downvotes, is there more that can be done to discourage the use of such answers?


What has general relativity got to do with special relativity?

What has  got to do with ? Arguably, special relativity is encompassed in the requirement that the dynamical laws of physics be Poincare invariant (as opposed to Galileo, or something else).   General relativity, on the other hand, can be characterised first off by the claim that free-fall motion is geodesic motion, and secondly that the connection determining the geodesics is curved in the presence of matter.   At least on these two readings, the theories are independent of each other in their basic assumptions. Indeed, gravity in Newton-Cartan theory arises from a curved connection while assuming a Newtonian absolute time.   Yes, in both SR and GR there is a Lorentzian metric. But I'm taking that to be a non-essential feature of GR, the essential one being that free-fall worldlines are geodesics.   Historically, it appears that some (Einstein I believe) thought of the two subjects as linked in their foundations, and somewhat interdependent. If this was believed at some point, what was the link supposed to be? Why are they both 'relativity' and not the theory of relativity (SR), and the theory of spacetime curvature (GR)?  Edit:  It seems the question has been misunderstood. Poincare invariance and geometrised gravity are independent (just recall the Newton-Cartan theory a.k.a. geometrised Newtonian gravity). My question is why historically geometrised gravity came up in the context of Lorentzian spacetime, not, for instance, a classical (Newtonian) spacetime.


How does Cooper join the expedition for the first time?

In Interstellar, Cooper is able to communicate with his daughter once he enters the Black hole and he is revealed to be the ghost sending messages. This seems to be a paradoxical situation as he stumbles upon the NASA station thru these very same messages. So the sequence is   Cooper is given a message about the location of the NASA station Cooper goes to the location and joins the expedition Cooper joins the expedition and eventually gets into the Blackhole Cooper sends message across space time to guide himself to the NASA station.     How is this possible? There must have been atleast one reality (assuming parallel universes) in which cooper joined the expedition without getting a clue from his own ghost??


Give an example of a bounded, non-convergent real sequence $(a_n)$ s.t. $a_n-a_{n-1}\rightarrow 0$

This was the last part of an exam question. I have spent a long time looking for such an example but have failed (sequences when one of the three conditions is dropped are easily found but I couldn't find one when all three are required). Could you also give the way you thought of the example in your answer please?   Thanks!


Sub query to return the most recent instance of an entity

I have a table A that I need to join to table B. Table B holds important info including CreatedDate. I want to only return results for the most recent created date. My SQL below appears correct but it is returning multiple results since column Y has multiple distinct values for each row.  (X = Foreign Key, Y = Attribute that changes with each row)  SELECT * FROM TABLE_A T     INNER JOIN       (SELECT X, Y, MAX(CreatedDate) AS Created       FROM TABLE_B       GROUP BY X, Y) SUB ON SUB.X = T.X   How do I prevent duplicated rows and only show the max created date row?  Thanks!


How to filter months in chronological order?

How do you filter months in mmm format in calendar month order and not alphabetical?  When I do it April as "APR" will be before January as "JAN" for example that is not correct.  (I know that Data > Sort > Custom will do it but I want filter to succeed).  I have also tried customising the data e.g. by shortening mmm-yy to mmm and it does not work.


Uncommitted work pending in Apex sending HttpRequest to API

Even after researching it a fair bit, I don't understand why I keep getting the CalloutException. No matter what I do to prevent it, the exception happens when triggering my API class via Process Builder:     An Apex error occurred: System.CalloutException: You have uncommitted   work pending. Please commit or rollback before calling out   The goal is to do the following when an Opportunity's Stage is changed:   Query for info from Opportunity ID Send HttpRequest to API Interpret HttpResponse   Here is the code:  private static Api_Settings__c Settings {get;set;}  @InvocableMethod(label = 'Request API Access'      description = 'Requests access to API a SF Opportunity meets criteria.') public static List<Boolean> CreateAndSendApiAccessRequests(List<ID> opportunityIds) {     Settings = Api_Settings__c.getOrgDefaults();      List<AccessRequest> requests = new List<AccessRequest>();      for (ID id: opportunityIds)     {         System.debug(id);          AccessRequest request = CreateApiAccessRequest(id);         requests.add(request);     }      List<Boolean> results = new List<Boolean>();      for (AccessRequest request: requests)     {         Boolean result = SendApiAccessRequest(request);         results.add(result);          System.debug(result);     }      return results; }  public static AccessRequest CreateApiAccessRequest(ID opportunityId) {     // Get info from the Opportunity ID     Opportunity opp = [         SELECT Name             ,Primary_Contact__r.Name             ,Primary_Contact__r.Email             ,Account.Name             ,Account.BillingAddress         FROM Opportunity         WHERE ID=:opportunityId];      // Create the address info from the Opportunity's Primary Contact     Address address = new Address();     address.line1 = opp.Account.BillingAddress.getStreet();     address.line2 = '';     address.city = opp.Account.BillingAddress.getCity();     address.postalCode = opp.Account.BillingAddress.getPostalCode();     address.stateOrProvinceCode = opp.Account.BillingAddress.getStateCode();     address.countryCode = opp.Account.BillingAddress.getCountryCode();      // Create the access request     AccessRequest request = new AccessRequest();     request.contactName = opp.Primary_Contact__r.Name;     request.contactEmail = opp.Primary_Contact__r.Email;     request.organizationName = opp.Account.Name;     request.address = address;     request.reason = 'Salesforce API Access Request';      return request; }  public static Boolean SendApiAccessRequest(AccessRequest request) {     Boolean result = false;      // Construct the request url     String requestUrl = Settings.ApiBaseurl__c + Settings.ApiEndpoint__c;      // Construct the Basic Auth string     String basicAuthString = BasicAuthService.GetBasicAuthString(Settings.ClientId__c, Settings.ClientSecret__c);      // Create the API access request     HttpRequest httpRequest = new HttpRequest();     httpRequest.setEndpoint(requestUrl);     httpRequest.setMethod('POST');     httpRequest.setHeader('Username', Settings.ApiHeaderUsername__c);     httpRequest.setHeader('Password', Settings.ApiHeaderPassword__c);     httpRequest.setHeader('Content-Type', 'application/json');     httpRequest.setHeader('Authorization', BasicAuthString);     httpRequest.setBody(JSON.serialize(request));      // Send the request     HttpResponse httpResponse = new Http().send(httpRequest);      // Ensure we received the correct status code     if (httpResponse.getStatusCode() == 201)     {         result = true;     }     else     {         result = false;     }      return result; }   I've tried to separate CRUD operations from callouts, but obviously it hasn't worked.  What am I missing here?


If $\sum a_n x^n$ = $\sum b_n x^n$, then does $a_n = b_n$ for all n $\in \mathbb{N}$?

I'm thinking that since $\sum a_n x^n$ = $\sum b_n x^n$ are equal, then it should be obvious that $a_n = b_n$ for all  $n\in\mathbb{N}$. Is this true or false? Thank you!


How many switches can be stacked/interconnected?

I would like to know how many switch can be stacked with fiber channel to get a best transfer rate between computers.  I have 200 computers connected to 12 3Com switches. All switches have two fiber ports.  Is the best way to have fiber backbone switch and connect fiber channel from every switch to the backbone? Or connect switch 1 to switch 2 to switch 3 to ... switch 12 to switch 1 again?  Thanks!


Can I supply a device rated for 1A with 15A power supply?

I'm talking about a big difference between output current of the power supply and rated current of the device here. Would it burn up?


How String concatenation works in java?. This question is not for comparing Strings. Its for comparing objects and while concatenation i am getting only false. Why this is happen? I have written a code for comparing the String references  public class StringClass {     public static void main(String[] args) {             String s1 = new String("hello");         String s2 = new String("hello");         String s3 = "hello";         String s4 = "hello";         String s5 = "java";         String s6 = "developer";         String s7 = s5 + s6;         String s8 = "java" + s6;         String s9 = "javadeveloper";         String s10 = "java" + "developer";          System.out.println("s1 == s2 " + s1==s2);         System.out.println("s3 == s4 " + s3 == s4);         System.out.println("s7 == s9" + s7 == s9);         System.out.println("s9 == s10" + s9==s10);     }  }   In console i am getting like this  false false false false   Why concatenation doesnt work in this code?. I am expecting the output like this  s1 == s2 false s3 == s4 true s7 = s9 false s9 == s10 true


Why do upvoted answers sometimes get buried?

It's my understanding that upvoted questions should be on top. But in this page an 1800 upvote answer is halfway down a pretty long page, and the accepted answer is towards the bottom!    Is this a bug? Is this only showing up for me for some reason?


Are there examples of third-(or higher)-order linear differential equations in physics or applied mathematics?

The classical second-order linear ordinary differential equation is that named after Sturm and Liouville: formally, \begin{equation} (pu')'=ru. \end{equation} It arises naturally in many physical situations, for example through radial considerations of Schrödinger's equation. A higher-order "analogue" of it is the Orr$-$Sommerfeld equation, which, after relabelling the coefficients, may be written as \begin{equation} (\phi u'')''=\psi u. \end{equation} It also arises naturally, namely from certain simplifications applied to Navier$-$Stokes' (in)famous equation, and describes to great accuracy the cross-stream behaviour of channel fluid flow.  I have been thinking long and hard about whether there are additional higher-order linear differential equations that emerge naturally from our mathematical models of the world. It even seems pretty much all of the linear partial differential equations (heat, wave, Schrödinger, etc.) are of second order. Does anybody know of higher-order examples?


How can I set background and foreground terminal colors from CLI in Ubuntu 15.10?

I used to use  to set my terminal colors to black on white from the command line as follows.  gconftool-2 --set "/apps/gnome-terminal/profiles/Default/use_theme_colors" --type bool false gconftool-2 --set "/apps/gnome-terminal/profiles/Default/foreground_color" --type string "#000000000000" gconftool-2 --set "/apps/gnome-terminal/profiles/Default/background_color" --type string "#FFFFFFFFDDDD"   Unfortunately, while the values are set when I run these commands in Ubuntu 15.10, the gnome-terminal colors do not change at all.  What is the correct way to set terminal colors from the CLI in 15.10?


How to produce a certain amount of volts and amps?

I assembled this mini tesla coil kit and the instructions say to plug it into a power source that's 15-20v 2amps. I'm just wondering how do I do that? As in how do I make something that produces this specific current? All I have is batteries. I tried looking it up but it mostly comes up with calculators for amps and things


How to customize selected slides in latex?

I'm new at using beamer, and I would really appreciate your help. Preparing a presentation I've chosen the Goettingen theme, which places a sidebar showing the contents for each of the slides. I would like to remove it from the title page and the table of contents, so frames 1 and 2 would    show a different them with the same colourtheme, or  find a command to remove the sidebar from the selected frames.    This is mi minimal example,  \documentclass{beamer}  \mode<presentation> {   \usetheme{Goettingen}        \usecolortheme{beaver}    \usefonttheme{default}     \setbeamertemplate{navigation symbols}{}   \setbeamertemplate{caption}[numbered] }   \usepackage[spanish]{babel} \usepackage[utf8x]{inputenc}  \title[ShortTitle]{Fulltitle} \author{GV, R} \institute{University} \date{16 de Junio, 2014}  \begin{document}  \begin{frame}   \titlepage \end{frame}  \begin{frame}    \frametitle{Contents}   \framesubtitle{}   \tableofcontents  \end{frame}  ....  \end{document}


Assuming perfect technique and material, how does the mass of a ski jumper affect the performance?  The higher potential energy of heavier jumpers could favour heavier jumpers, but then also friction and air drag would play a role.   How do these factors depend on the mass and why are lighter jumpers favoured?


Rename/delete Windows (x64) folder with leading and trailing space

I have created a folder via , but I made a mistake since I forgot to clear spaces. Now I cannot delete this folder. I have found a similar issue here -  (Quoted below), but I don't know how to rename a folder with .  I had the same problem, in Windows 7 x64, and none of the command-line solutions worked here. What fixed it for me:  Rename the folder using 7-Zip Delete, either using 7-Zip or  (both work).  Note that deleting the folder in 7-Zip before renaming it was impossible.  I also tried the command line, but it does not work. My folder is named " 1 ". I downloaded 7-Zip, and Google does not provide the help I need.


DOM manipulation of Elements added by Jquery

I am adding HTML to the DOM with jQuery to an existing empty table with class sec_sch like this:  details += "
"+     "" + this.name + "	" +     "" + this.start_year + "	" +     "" + this.end_year + "	" +     "" + this.qualification + "	" +     "" + "<button class=\"rmv\">-</button>" + "	" + "
"; $(".sec_sch tbody").append(details);   It loads fine but I cannot seem to manipulate the button.rmv from the same JS file with such code.  $('.rmv').click(function(e) {     console.log(this);     e.preventDefault();     alert('hi'); }); // end of remove secondary school   please any idea why?


I will be traveling from Bangalore, India to Helsinki, Finland. I have two stops in my journey one at Abu Dhabi and the other at Berlin. I am an Indian citizen hold a one year student residence permit for Finland.  The airliner suggested that no transit visa is required at Abu Dhabi, But I might require a transit visa at Berlin.  Is there a requirement of a transit visa for Germany as I will be waiting for my connecting flight for 3 hours at Tegel airport.


Is there a word to describe the relationship between words like 'unicycle' and 'bicycle'?

Pretty much what the title says. Some other examples would be twosome and threesome, triangle, rectangle, etc.


I have Date in SharePoint server 2013 and I want to add 14 days on it by jQuery   I have the column name EndDate text type.


Have Pantone Number, Now How Do I Find In Illustrator?

I have selected a Pantone color from a Pantone book, let's say 285 C, now I want to make my artwork to that Pantone color and ready for print. How do I go about it?


How to calculate the limit of this sum with different methods?

It's a basic question , but what are the common methods to calculate limits like this one: $$\sum_{k=1}^\infty \frac{3k}{7^{k-1}}$$


Why exactly I can't use an AutoProperty as an out parameter?  For example (This gives me an error):  public int HeightValue { get; set; }  //...  private void Parse() {     int.TryParse(WidthText.Text, out HeightValue);     //Intellisense Error: out argument is not classified as a variable }


My Linux Mint 15 install on VirtualBox was working great up until about two days ago, when the updater started throwing a ton of errors and refuses to progress with any apt-get update, apt-get install, or apt-get upgrade.  They are 404 errors on the archive.ubuntu.com site, under the /ubuntu/dists/raring-updates folder. I looked at it, it doesn't exist.  a direct link, which shows there is no raring-updates.  Where has raring-updates gone and what can I do to fix this?


Please help me evaluate: $$ \int\frac{dx}{\sin(x+a)\sin(x+b)} $$


What is $ \sum_{n=1}^{\infty} \frac{n}{2^{n}}$ equal to? I know by the ratio test this converges absolutely, thats not what I'm looking for in this case, I want the actual value, is there a way aside from numerical approximation to get this value? The value obtained from the ratio test is $\frac{1}{2}$ now I just need to know what this approximates to, Wolfram says 2 but how would one prove this? Thanks


Did Thor really intend to murder Captain America?

During , Captain America interrupts Thor and Iron Man in the middle of their fight after Loki escapes, Thor's immediate response is to attack Captain America.  Captain America survives thanks to his vibranium shield.  But did Thor know Cap could take the hit or did he really intend to murder this polite stranger for interrupting his fight?


If $E[X|Y]=Y$ almost surely and $E[Y|X]=X$ almost surely then $X=Y$ almost surely

Assume that $X$ and $Y$ are two random variables such that $Y=E[X|Y]$ almost surely and $X= E[Y|X]$ almost surely. Prove that $X=Y$ almost surely.   The hint I was given is to evaluate: $$E[X-Y;X>a,Y\leq a] + E[X-Y;X\leq a,Y\leq a]$$  which I can write as: $$\int_A(X-Y)dP +\int_B(X-Y)dP$$ where $A=\{X>a, Y\leq a\}$ and $B=\{X\leq a,Y\leq a\}$.  But I need some more hints.


Store multiple xmldocument into an array

I've more than two XML Document (generated through for loop, based on certain criteria) and want to store them in an array (if possible).  For example: XmlDocument[] xmlDoc = {"xmlDoc1", "xmlDoc2"};  Is it possible to do so? If not, any suggestions?


The cardinality of the set of countably infinite subsets of an infinite set

Let $A$ be a set with card($A$)=$a$. What is the cardinal number of the set of countably infinite subsets of $A$?   I see that this problem is equivalent to finding the cardinal number of the set of injective functions from $\mathbb{N}\rightarrow{A}$. I also know that the cardinal number of the set of bijections from $A\rightarrow{A}$ is $a^{a}$.   Hints and general heurisitcs would be greatly appreciated.


How to set default value for class attributes using java annotations

I want to set default values if not specified by user. eg, for Boolean private isValid , if we don't specify any json value, then it should set false . I am using hibernate validator, @NotNull, @NotBlank, @Size, @Range...Is there any annotations to set default value for boolean, int, float, irrespective of data types. I tired hard, but did not come up with any solution. Still I am trying..Your help is highly appreciated ! Thank you


Ubuntu 17.10,GNOME in Xorg. My terminal application icons are partially blocked out.     This is true in Wayland, Xorg and Classic, all shell themes, all icon themes and all application themes. Annoying and at a loss as to what to do to fix it.


In the article ''' Chartrand, Rick, and Wotao Yin. "Iteratively reweighted algorithms for compressive sensing." Acoustics, speech and signal processing, 2008. ICASSP 2008. IEEE international conference on. IEEE, 2008. '''  It is given that one iteration of  iterative reweighed least squares problem can be written as $\min \sum_{i=1}^N w_i u_i^2 $ subject to $\Phi u = b  $ which has a closed form solution given as   $u^{(n)} = Q_n \Phi^T (\Phi Q_n \Phi^T)^{-1} b$. where $Q_n$ is the diagonal matrix containing entries $1/w_i$ And the closed form equation can be derived from the Euler Lagrange equation. Can someone please help me to get the derivation of the iteration


Difference between 'One to One' and 'One on One'?

I've had this confusion for a long time: what is the difference between one to one and one on one? Which one is more appropriate:  We will have one to one meeting? We will have one on one meeting?


How would I detect if a string is a block of code or not?

I am trying to make a python script that will see if there is code in a string or not. this can not only be python code it can also be other code as seen in the picture below  Here is an example of what I need to process.    I know you could just just do a whole bunch of if 'var =' in code but this can also be false triggered.  Is there a better way to detect stuff like this?  thanks, ira.


Can I copy a cell contents to paste into a text-editor without a line-break?

If you select a cell in Excel containing text or a numeric value and copy to clipboard, then paste into an application like Notepad or Word, it always pastes a line-break.      If you double-click the cell and select-all the contents in edit mode, you can copy-paste this but thats quite cumbersome as you now can't use only the keyboard, and it adds extra clicks.  I wondered if there might be a special keyboard shortcut to copy as if I was editing the cell contents?


While applying for a UK Visa in Nigeria with my wife and kid, can we submit 4 bank statements? One of the statements is our joint business account, the second is my salary account from my part-time job, the 3rd statement is my personal and other contract job and the 4th is my wife's personal account. I hope it's okay if I submit them all since we receive money from all of them.


What means if [ "x/usr/bin" != "x" ] in bash script?

I'm trying to understand some sequence of bash scripts, and on one of the steps there is a condition: if [ "x/usr/bin" != "x" ]; then <do some actions>  What do the following mean?  x in x/usr/bin x in the right hand side of the testing equation?


ArcGIS Field Calculator returning 0 values when decimals are expected?

I realize I posed this question, and got answers, several days ago (see ) , but none seem to really be working, and so am posing again.  Below are two screenshots that show the fields with field properties, and another showing the field calculator and the equation with the "answer" field populated by 0s. I apologize for them not being next to each other or in line with the appropriate text, but the web formatting keeps overlaying them.  Here is an overview of the problem: I am trying to do a in field calculator, where I'm trying to populate a new field with the values from a fairly simple equation of one field divided by another (Cnt1 by Pop1 in this case).  Both fields that I am dividing are double, and the value, while small is not infinitesimal, approx 0.01765.    I have tried creating various types of new fields: double, long, float, and played around with the scale/precision/properties, but everytime it returns "0" values. I know the values will be very small, i.e .04 but it doesn't seem to be a decimal display problem as I tried running it with Pop1/.4 and it correctly returned a decimal.   I've tested dividing the Cnt1 by .5 and that gives an appropriate decimal value, so it's not the new field format; the one thing that seems really strange is when I add (in field calculator python version): !Cnt1!+!Pop1! (which is 38+218699) I get 2.187, however, I suppose this could be related to the field being classified as float with precision=4, scale=3?    I've also tried the suggestions of @blord-castillo of doing:  1.0* (Cnt1/Pop1)   and also      1.0* (int(Cnt1/Pop1)) But neither works, I'm at my wits end on this one, and would greatly appreciate any help!


i am working with linked list,and I have one possibly stupid question.I have class Node for linked list which contains attribute Node as next element,and I have this line:   Node current=head; while(current!=null) current=current.next;   I don't understand why head doesn't also change,but only current?And why does it change only if I do current.next=current.next.next,how can that reflect anyhow on head?I understand that with current=current.next we iterate through current(head),and it changes current,but why doesn't it change head also?Thank you in advance!


Re-Entry in Italy (lost residence permit before leaving italy - permesso di soggiorno)

I had a flight for my home country (Pakistan) in last days. On the day of departure, while going to airport, I lost all my documents including passport and permesso di soggiorno. I filed a loss report with airport police. As I need to visit my country for some special reason, therefore, police advised me to get temporary travel document from my consulate and leave Italy.  Now, what are the possible ways to fly back to Italy. And, what would be the requirements for it. Is it hard to get it or not a big deal. It may be further noted that the documents are lost in Italy and Police report is also issued here. Also, the lost (valid) permesso was expiring after 2 months and few days. I wanted to come back before its expiry on the planned travel.   I would appreciate comments from people passed through similar scenarios or have know-how about that. I hold copies of all my documents.


Neural Network: For Binary Classification use 1 or 2 output neurons?

Assume I want to do binary classification (something belongs to class A or class B). There are some possibilities to do this in the output layer of a neural network:   Use 1 output node. Output 0 (<0.5) is considered class A and 1 (>=0.5) is considered class B (in case of sigmoid) Use 2 output nodes. The input belongs to the class of the node with the highest value/probability (argmax).    Are there any papers written which (also) discuss this? What are specific keywords to search on?  This question is already asked before on this site  with no real answers. I need to make a choice (Master Thesis), so I want to get insight in the pro/cons/limitations of each solution.


Sum of the series $\sum_{n=0}^{\infty} \frac{1}{4^n(2n+1)}$

I am having difficulty with calculating this sum.  By the Ratio Test, the series converges and on the solution key of the last year's exam it written that the sum = $\ln 3$.  I tried known Maclaurin Series but there is a problem every time. For example, when I try the expansion of $\arctan x$ I can't get rid of $(-1)^n.$   Could you help out, or give a hint?


We use Windows "Remote Desktop" to log into server machines. At the moment, I am getting the following error message:  The terminal server has exceeded the maximum number of allowed connections.   Now, the cause is obvious (2 other people are logged on right now!). I recall that in the past I solved this by logging on to some other machine in the same domain and then going to some admin tool which I cannot recall. From there I could see who was logged in and remotely terminate their session (assuming I had sufficient privileges) -- thereby freeing up one of the connections.  Does anyone know how to do this?


everyone,   I'm trying to stop the execution of an ajax function in Jquery. currently this ajax call, it returns a list of images, what I want is to stop the execution of the image return as soon as I press a button. I'm trying to use the abort() function but it doesn't stop the requests I've already sent and finally it returns all the images. what can you advise me?  ajaxCall =$.ajax({ type: 'POST', url: "/loadImage", data: {file:element.file}, success: function(respo) {                                        if(element.file.split(".").pop()=="pdf"){       $('#contentTable').append(`

${element.name}

`);     }else if(element.file.split(".").pop()=="mp4"){       $('#contentTable').append(`

${element.name}

`);     }else{       $('#contentTable').append(`

${element.name}

`);    }    filesContent[filesContent.length-1].content.push({index:index, name: element.name, file:element.file,  src: respo.src})    index++; } });  //onclick function part if(ajaxCall){    console.log("hay ajaxCall");    ajaxCall.abort(); }


What is the correct way to choose the start parameters for NIST tests?

I had an idea of creating a pseudo-random binary sequence with that code:    import random as rd p=[] k=10**6 for i in range(k):   p.append(rd.getrandbits(1))  s='' for i in p:   s+=str(i) a=p.count(0) b=p.count(1) f = open('s.txt', 'w') f.write(s) f.close()   And on the stage of testing it with NIST tests there came a question of choosing right parameters for launching them. If I set the length of the sequence for this file for 100000 and number of bitstreams for 1, will it mean that from this file i will have only first 100000 bits tested as one sequence? Should the data in file be separated in some way?   I have also checked , but to be honest it didn't help me. Reading the official docs for NIST package didn't bring no understanding of bitstreams parameter too.  I will be very grateful if you explain me, how to set number of bitstreams parameter correctly and explain the meaning of it in this situation and the way the input data should be given to the tests.


"warning: File system `ext2' doesn't support embedding." but my system isn't embedded either, why is grub trying?

I'm reading myself for the release of Jessie on Debian, so I'm extra cautious (should be said paranoid) about any message that can cause problems, namely warnings. My system is a desktop with Debian testing/unstable installed, on ext4 partitions for both /boot and /, yet I'm seeing this message while upgrading the grub-pc package in Debian:  Installing for i386-pc platform. Installation finished. No error reported. Installing for i386-pc platform. grub-install: warning: File system `ext2' doesn't support embedding. grub-install: warning: Embedding is not possible.  GRUB can only be installed in this setup by using blocklists.  However, blocklists are UNRELIABLE and their use is discouraged.. Installation finished. No error reported. Generating grub configuration file ...   Why is grub saying that my system is embedded? What is the cause of this? I tried to check the grub-install binary, but I couldn't make sense of it.