certbot creates a certificate with "wwww" instead of a bare domain one - unlike before

I've been creating certificates this way for over a year:  export website="my_domain1111.com" sudo certbot certonly --standalone -d $website -d www.$website --email hello@$website   and it's always created one for $website  /etc/letsencrypt/live/my_domain1111.com   Today for some reason it created a one with "www" instead of a bare domain      export website="another_my_domain222.com" sudo certbot certonly --standalone -d $website -d www.$website --email hello@$website  # =>>> /etc/letsencrypt/live/www.another_my_domain222.com   Why? has there been any change recently in certbot?  I've tried changing the order of the "-d" params - the same effect:  sudo certbot certonly --standalone  -d www.$website -d $website --email hello@$website  /etc/letsencrypt/live/www.another_my_domain222.com # with "www"   Version - 0.25


How to prove that I will return home after a Schengen visa (I am a minor)

I am a minor and want to apply for a visa to Italy (Kenyan citizen by birth, living in Kenya). I want to visit my sister who lives in Italy. She owns a house and is a permanent resident. She divorced about a year ago. The requirements for the visa application is that you should prove that once you're given the visa you will come back to your home country. Could you give me some tips to proof that? (Also tips on how to make sure I get the visa)


How to make my website top ranking on Google?

I am searching this question on Google but I couldn't find any suitable results. Now I am posting this question on Stack Exchange as my last options. As we all know that Google is the leading door of high traffic towards a site, I want to make my website top ranking on google. I have already submitted it to google and i i also use proper meta tags. What are the factors that make a site topranking and how to make our site pop up top in google? Please someone help me guys. Thanks In advance :)


How to find out when an Oracle table was updated the last time

Can I find out when the last INSERT, UPDATE or DELETE statement was performed on a table in an Oracle database and if so, how?  A little background: The Oracle version is 10g. I have a batch application that runs regularly, reads data from a single Oracle table and writes it into a file. I would like to skip this if the data hasn't changed since the last time the job ran.  The application is written in C++ and communicates with Oracle via OCI. It logs into Oracle with a "normal" user, so I can't use any special admin stuff.  Edit: Okay, "Special Admin Stuff" wasn't exactly a good description. What I mean is: I can't do anything besides SELECTing from tables and calling stored procedures. Changing anything about the database itself (like adding triggers), is sadly not an option if want to get it done before 2010.


How To Completely Remove A User From System

I had a clean install of windows done along with ram and ssd install on my machine some time ago, and the place that performed the work added a generic user "Owner" to the machine. This has created all sorts of issues with existing projects, and while I added a user "Tim" and moved the contents of "Owner" there I cannot remove all references to "Owner" and therefore destroy C:\Users\Owner. Many times a program will by default save to that user, causing problems with organization so I would like to remove it once and for all. Renaming the label in file explorer does nothing, and moving the contents of C:\Users\Owner\AppData to C:\Users\Tim\AppData also does nothing. These are the only suggestions I have been able to find so far. Can anyone help?


Stack Overflow over IPv6 on World IPv6 Launch Day

First of all, I know that this question covers a similar ground as  but the topic is one year old and pertaining to the last year's World IPv6 Day.  Today is June 6, 2012, , so I ask whether SE has made any plans to enable IPv6 on their servers in this year. Many large content providers such as Google,  Facebook and perhaps most importantly Akamai have already made the switch so it is possible to access a somewhat large portion of Internet via IPv6 only.  Since IPv4 depletion is becoming more and more a severe issue we can expect that ISPs that won't be able to get new IPv4 allocations will start connecting their clients to IPv6-only connections or resort to CGNs which bring about many other problems such as identification of clients behind those CGNs and performance issues.  I think many users will appreciate IPv6 connectivity to SE and I think it is not a large problem from a technical viewpoint. A reverse IPv6 proxy will probably do just fine for the time being (similar to what Amazon AWS  to provide IPv6 connectivity to their clients while they are upgrading the platform to the full-fledged IPv6 connectivity)  EDIT: Bump, because it's 2014 and IPv6 is still not there.


a few days ago I ran into a  issue after downloading some updates. Since then I've been searching for information and trying countless procedures to solve it, to no avail.  Here's some info which I hope will be useful:   My computer: a 2008 Packard Bell PC, Intel Core 2 Quad CPU 2.4 GHz processor, 4 GB of RAM, Geforce 9300 GE graphics card. Kernel version: 3.13.0-46-generic Ubuntu version: 14.04.2 LTS   At a very high level here's what I've tried so far:    uninstalling then reinstalling Vidia drivers, installing X Updates PPA, installing Gnome interface (which I actually can't even access)   Please advise, your help will be greatly appreciated.  March 01st Update:  Hello, here are today's results:   compizconfig-* worked, thanks very much The 1st solution of thread 17381 didn't restore the GUI but displayed  compizconfig - Info: Backend : ini compizconfig - Info: Integration : true compizconfig - Info: Profile : default Segmentation fault (core dumped)  the 2nd solution of thread 17381 returned (I'm just quoting what I think can help, ie the error messages):   Glib-warning **: In call to g-spawn-sync(), exit status of a child process was request but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a non positive first argument; either behavior can break applications that use g_spawn_sync either directly or indirectly.  dconf-WARNING **: failed to commit changes to dconf: Error spawning command line  'bus-launch --autolaunch=dfa6290d0169f2653223ea790000000000c --binary-syntax-- close-  stderr': Child process killed by signal 43 (...) Info: Unity is fully supported by your hardware Info: Starting plugin: openg1    I didn't try creating a script as suggested in thread 457016 as I know I'll make a mess of it, especially through CLI. It seems like we're doing good progress but there's still a few hurdles on the way :)  March 01st Update #2:  I tried running startx and I could see the desktop and the files that are located there, however I have no wallpaper (but a blue background) and no taskbar and vertical iconbar. I can open the text files but not the pictures.


Average Distance Between Random Points on a Line Segment

Suppose I have a line segment of length $L$.  I now select two points at random along the segment.  What is the expected value of the distance between the two points, and why?


$$\int\frac{2x^3}{x^2+1} \, dx$$   $$u=x^2$$  $$du=2x \, dx$$  $$\int \frac{u}{u+1} \, du$$$$=\int \frac{u+1-1}{u+1}du$$$$=\int 1-\frac{1}{u+1} \, du$$  how should I continue? is there an algotherm for integrating rational functions?


Why does iTunes not recognise a plugged in iPhone on Windows 8.1?

I have iTunes 11.0.4.4 and have just installed Windows 8.1 - iTunes seems to work ok, but when I plug the iPhone in (iOS 6.1.4) it doesn't appear and be recognised.   The OS sees the phone and I can copy files from it, but iTunes doesn't react to it.   Are there any known issues with Windows 8.1 - am I paying the price for being on the bleeding edge?


How unusual is getting a Masters degree in a slightly different field than Bachelors?

Would it be out of the ordinary to get a Bachelors in Mechanical Engineering and then go for a Masters in something like Civil or Structural Engineering?  I don't know a lot about how transitioning to a Masters program works.. Do people usually continue on in the same field, or is branching out common?


Why is this MySQL SELECT performing so slowly despite indexing?

I have a large MyISAM table A (500m entries) that connects two other tables B,C with a n:m relation.  So my table A looks like this:  CREATE TABLE `A` (   `id_b` int(10) DEFAULT NULL,   `id_c` int(12) DEFAULT NULL,   UNIQUE KEY `Uniqueness` (`id_c`,`id_b`),   KEY `id_b` (`id_b`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;   Every entity in B is related to 1-12 entities in C with an average of 8 and a mode of 10.  Every entitiy in C is related to 100-500 entities in B (but this is linearly growing over time).  Now for a specific entitiy c I want a list of all other entities in C that it is connected to through B and how many entities in B they are connect through. Or more directly: I have a specific c, that is connected 100-500 b's which are each connected to a handful of other entities in C. I want to know which C's the b's are connect with, and how often.  My simplified query looks like this:  SELECT COUNT(OtherA.id_b), OtherA.id_c FROM A INNER JOIN A OtherA ON OtherA.id_b = A.id_b WHERE A.id_c=[MY_SPECIFIC_C_ID] GROUP BY OtherA.id_c   And takes over a second to execute. As described above, the inner join yields at max a few thousand results and the group reduces it to a few hundred. As far as I can tell I indexed correctly, so I am confused why this query is taking so long.  EXPLAIN yields the following result:  row1 id--------------1 select_type-----SIMPLE table-----------A type------------ref possible_keys---Uniqueness,id_b key-------------Uniqueness key_len---------5 ref-------------const rows------------462 Extra-----------Using where; Using index; Using temporary; Using filesort row2 id--------------1 select_type-----SIMPLE table-----------OtherA type------------ref possible_keys---id_b key-------------id_b key_len---------5 ref-------------THISDB.A.id_b rows------------8 Extra-----------Using where   As suggested I have tried manually extracting the list of id_b's:  [concated_list] = select group_concat(distinct id_b) as id_list from A where id_c = ...;   And then running  SELECT count(id_b), id_c FROM A WHERE id_b IN([concated_list]) GROUP BY id_c   The first query is instant, the second query takes almost as long as the original query, so it was suggested that I need to fine-tune my MySQL Vars. Where do I start?  EXPLAIN SELECT count(id_b), id_c FROM A WHERE id_b IN([concated_list]) GROUP BY id_c  results in:  id--------------1 select_type-----SIMPLE table-----------A type------------range possible_keys---id_b key-------------id_b key_len---------5 ref-------------NULL rows------------802 Extra-----------Using where; Using temporary; Using filesort   MySQL version is 5.5.35-0ubuntu0.12.04.2.


How to derive the covariance matrix of $\hat\beta$ in linear regression?

I just read this very insightful post , where the author stated that the variance of $\hat\beta$ is:  $$\text{var}(\hat\beta) = \sigma^2(\textbf{X}^\prime \textbf{X})^{-1}.$$  I couldn't figure out why it is like this. Can anyone elaborate a bit?


During a Pages update which was pushed out a few months ago, Pages obtained the ability to write equations using LaTeX or MathML commands. According to an Apple Support article, the size and color of the equation can be changed ():  The equation appears at the insertion point in your document (or before the selected text). The equation is an inline object, the same size and color as the surrounding text. If you change the size or color of the surrounding text, the size and color of the equation’s font also change.  This does not mention anything about the font used for the equation itself, which seems to be something similar to a Times New Roman font. Is there any way to change the font used, preferably to something like Latin Modern Math? I was considering the possibility of replacing the font file Pages uses with a downloaded Latin Modern Math font file, but I'm not sure what to replace. Could I replace Times New Roman in /System/Library/Fonts/ or something like that?


Prove surjectivity using the injective property.

Let's say that we have a function $f:\mathbb{M} \rightarrow \mathbb{M}$ where $\mathbb{M}$  is an arbitrary set. And let's say that the function f is injective.Does that mean that the function is surjective too? More generally: If a function's domain and codomain coincide and the function is injective does that imply that the function is surjective?My way of thinking this: Suppose that f is not surjective $\Rightarrow \exists y \in \mathbb{M}$ such that $f(x) \neq y, \forall x \in \mathbb{M}$ And since the domain and the codomain coincide this mean that two elements from domain must go in the exact element from the codomain which implies that f is not injective, which is a contradiction. Therefore f is surjective. Am I right? Thanks


Use of prepositions in strings of conjunctions

When one wants to list various cases/classes/categories/types of objects in a string of conjunctions, is it preferable (or even mandatory) to keep on using (the same) preposition in front of each one them?  Moreover, does singular or plural form of the word "case", "class", "category" make any difference in the previous question?  Examples:   In the present article, we study the case of X, of Y and of Z objects. (in this example, as in most of the ones I have in mind, it is the preposition "of" which is relevant to my question). We study the cases/classes of X and of Y objects. vs. We study the cases/classes of X and Y objects.   Although it is rather clear that, in the singular case, the absence of "of" in later conjuncts may lead to a logical confusion (e.g., mistakenly taken as the one class/case of objects which are both X and Y), when it comes to plural of the words "case", "class", etc., this might not be an issue. Still, there might anyway be a rule in the plural setting as well.


I need to prove the theorem     If $\lim_{x \to c} f(x)$ does not exist and $\lim_{x \to c} g(x)$   does not exist, then $\lim_{x \to c} (f(x).g(x))$ does not exist.   but I stuck.  First, I said that this statement is equivalent to the statement      If $\lim_{x \to c} (f(x)g(x))$ exists, then $\lim_{x \to c} f(x)$   exits or $\lim_{x \to c} g(x)$ exists.   but after assuming $\lim_{x \to c} (f(x)g(x))$ exists, I could not reach anywhere.  Any help would be appreciated.  Edit: From the answer, I saw that it is a wrong statement, but still without giving a counterexample, how can we prove it that it is wrong ?


Are electrons really elementary particles?

I know that physicist do accept that fact as "an assumption", or "as a fact" due to "proofs" (or missing unroof).  But are electrons really to be considered as elementary particles?


How do I install Atom editor and start it without sudo?

I have tried installing Atom editor on Ubuntu 14.04 . Whenever I installed it, either by downloading the /.deb or by adding this ppa:webupd8team/atom, I cannot start Atom without sudo.  It shows the following error on terminal while not starting with sudo:  /usr/bin/atom: line 104: /home/myhome/.atom/nohup.out: Permission denied  (atom:3947): IBUS-WARNING **: The owner of /home/myhome/.config/ibus/bus is not root!   I also tried installing with non-root access through the following command:  sudo dpkg --install --force-not-root --root=$HOME atom-amd64.deb   It shows the following error:  dpkg: error: unable to access dpkg status area: No such file or directory   But it works if I remove the non-root parameters --force-not-root --root=$HOME  Anyone knows how to install Atom with non-root access on Ubuntu successfully?


TeamViewer 11 won't run on Ubuntu 16.04 64-bit

After installing TeamViewer 11 on Ubuntu Desktop 64-bit 16.04, I get the error:     Verification of your teamviewer version failed, Teamviewer will quit for security reason. Please reinstall teamviewer   I have uninstalled and purged several times, and I always get the same error on install. TeamViewer 10 works 100% fine. I need version 11 as clients have upgraded.


I have a long equation but long enough to occupy two lines. I want to break it to improve readability. How can I break it?

\begin{eqnarray} \lim_{n\rightarrow +\infty }d(SAx_n,A^{2}x_n) \leq \frac{1}{3}\left[ \lim_{n\rightarrow +\infty }d(SAx_n,St)+\lim_{n\rightarrow +\infty }d(St,S^{2}x_n)  + \lim_{n\rightarrow +\infty }d(St,S^{2}x_n)\right]. \notag \end{eqnarray}


What is the difference between "electric" and "electrical" and their usage?

What is the difference between electric and electrical and their usage?  For example, what is the difference between "electrical machine" and "electric machine"?


A server I've recently taken charge of has a copy of Exchange installed.  Add or Remove Programs just shows "Microsoft Exchange".  By clicking on Change/Remove I can see that the version number is 6.5, which  Exchange 2003.  How do I find out if I'm running Standard, Enterprise or something else, though?  Additional facts:   The server is running Windows Server 2003. The version hasn't been documented anywhere and there's nobody I can ask   Thanks!


"One of my family members were/was sick last night." In this sentence should I use was or were? Please explain. Which one is subject and why? Please explain with detailed information. I am having trouble with sentences like this.


I want to prove that $$ w^2 \equiv 2 \quad (\bmod{5})$$ has no solutions in integers.  What I tried: $$ w^2 \equiv 2 \quad (\bmod{5})$$ $$ \Rightarrow w^2 =  2 + 5k,  \quad k \in \mathbb{Z} $$  Now, I don't know what to do, so I considered $x^2 = 2+ 5y$ over $\mathbb{R}$.  We can solve this to see if the solutions are integers.   If it has no solutions in integers, can I then say that this implies that $ w^2 \equiv 2 \; (\bmod{5})$ has no solutions? Is there a different approach to this problem?


Why does this works  bold="$(tput bold)" reset="$(tput sgr0)" c0="${reset}${bold}" cat <<EOF ${c0} \` EOF   but not this one?  bold="$(tput bold)" reset="$(tput sgr0)" c0="${reset}${bold}" cat <<EOF ${c0} ` EOF


One day, I wanted to up-vote an answer because it was so helpful, but couldn't because I didn't have enough reputation. A little while later, I wanted to answer a question because I was feeling helpful, but couldn't again. Later, I wanted to comment on an answer because I thought there could be a little more clarification with still no success. So, how do I get those first few points that will open the world of stack-fun-times up to me?


Why is swap being used even though I have plenty of free RAM?

I thought the whole essence of swap was to act as a temporary storage safety net when RAM was full but my swap partition is constantly being used even though I sometimes have as much as 3GB free RAM. Is this normal?


\textbf{54.Consider the operations \\ f(X,Y,Z)=X$'$YZ+XY$'$+Y$'$Z$'$ and g(X,Y,Z)=X$'$YZ+X$'$YZ$'$ + XY }\\ Which one of the following is correct?\\ (A) Both \{f\} and \{g\} are functionally complete\\ (B) Only\{f\} is functionally complete \\ (C) Only \{g\} is functionally complete \\ (D) Neither \{f\} nor \{g\} is functionally complete\\ \vspace{2mm}\\ \textbf{55.$\sum\limits\_${x=1}^{99}$\frac{1}{x(x+1)}$ =..........}\\ \vspace{4mm}\\ \end{document}   Error! Missing $ inserted.  Help me out.


As many probably know, the MacOS installer for QGIS is not as turnkey as the windows version.  You have to basically install 3-4 sets of packages, only one of which end up in the Mac apps directory (e.g., GDAL) . If I want to completely uninstall QGIS, how do I go about uninstalling the packages like GDAL?


If Gandalf was a Maia, why couldn't he change form?

According to , Gandalf and Saruman are amongst the named Maiar.  Again, a quote from Wiki:     Maiar, like Valar, do not array themselves in a fixed form, but can   freely change their form.   Sauron was also a Maia (named ), which he used his ability to reshape, and called himself Annatar, "the Lord of Gifts".  So, if Gandalf could do the same, why didn't he just transform into a flying creature and escape when he was captured by Saruman and imprisoned on the top of Orthanc?


I'was problem when I make " apt-get update" in my VMware

I've got a problem when I make sudo apt-get update. It was the error in my attached picture. I've read many solutions like my error. But I can't solve it.  My OS is Ubuntu 14.04.4 LTS.    W: GPG error: http://us.archive.ubuntu.com trusty Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>


How to install ROS Melodic on Ubuntu 19.04?

I am trying to install ROS Melodic on Ubuntu 19.04 and having done all the appropriate preparation I am using the command: sudo apt install ros-melodic-desktop-full  and I get the following error: Unable to locate package ros-melodic-desktop-full  Any thoughts about what I should do?


I've installed Ubuntu 20.04 on my old MacBook Air 2012 and it did work nearly without problems for half a year, but today I rebooted it and since that reboot, it doesn't find any WiFi anymore. Even the WiFi settings are gone? In lspci the onboard network controller shows up as:     01:00.0 Network controller: Broadcom Inc.  and subsidiaries BCM43224 802.11a/n/g/n (rev 01)  But in rfkill list only bluetooth shows up. I can give more information if needed, but can anybody help me please?


How to represent the point-at-infinity(Elliptic Curves) in code?

I am writing code for Elliptic Curve Cryptography. I have a class class EllipticCurvePoint.  class EllipticCurvePoint{     FieldElement x, y; };   I need to support point-at-infinity (which should behave as if it is an object of type EllipticCurvePoint). Only thing I can think of is to reserve (-1, -1) for this but x and y can assume values only from {0, 1, ..., p-1} (p being the Field they belong to). If I want to represent it this way, I would need to add support for -1 in the classes FieldElement and Field too.   I have also overloaded the + and the * operators which work perfectly fine for other points. But I cannot think of a way to represent point-at-infinity which can work homogeneously with the rest of the code and I wouldn't have to change the parent classes(Field and FieldElement).  Is there any elegant way to achieve this? Thanks a lot for your time!


Stop full name of second author when using \cite{}

I am trying to cite an article with two authors. The maximum amount of names to two:  \usepackage[backend=biber, style=authoryear, maxcitenames=2, sorting=nyt, maxbibnames =99, hyperref=true, uniquelist=false, datelabel=comp]{biblatex}   The reference is as:  @article{NUTS,     title = "The No-U-Turn Sampler: Adaptively Setting Path Lengths in Hamiltonian Monte Carlo",     author = "Hoffman, Matthew and Gelman, Andrew",     year = "2014",     volume = "15",     journal = "Journal of Machine Learning Research" }   I cite the article in text as follows:  Bla bla bla \cite{NUTS} bla bla.   Which gives me:     Bla bla bla Hoffman and Andrew Gelman 2014 bla bla.   How do you avoid the second authors name being cited in full? Desired output:     Bla bla bla Hoffman and Gelman 2014 bla bla.


Unwanted glue with boxes in Picture environment

Per request, here is the image of mwe.pdf:    See below for my problem, discussion of problem, and copy of mwe.tex.    This is a difficult query to present because it necessarily involves inserting an aymptote box into a picture environment.  Unfortunately, this is not an asymptote problem, so it must be presented in a LaTeX forum.    As discussed below, I (necessarily) use the picture environment to vertically align a minipage of free-form text with an asymptote diagram.  Apparently(?), the picture environment moderately disrupts the horizontal positioning of the asymptote diagram with glue.  How do I prevent the disruption of the asymptote diagram's horizontal positioning?  Discussion  A minimum working example of the problem is presented below. asyboxa, which draws the 4 quadrants of a circle, is hard-coded to create a 4cm by 4cm diagram. boxa presents a 6cm wide minipage, with its text aligned to the bottom of boxa.  The preamble sets the unitlength of 1cm, which controls how coordinates are interpreted in the picture environment. The first framed picture environment combines the minipage with the asymptote diagram while the second framed picture environment only presents the asymptote diagram.  In both frames, the manually drawn square indicates where the asymptote diagram is intended to be placed.  This can be confirmed by comparing the \put commands within each picture environment.  As the generated PDF will show, both picture environments are vertically positioning the asymptote diagrams as intended, but are also (apparently) inserting unwanted glue that is disturbing the horizontal positioning.  Compile procedure:   Save the file as (for example) mwe.tex Execute: pdflatex mwe.tex Execute: asy mwe-*.asy Execute: pdflatex mwe.tex   This should create mwe.pdf.  The mwe.tex file is shown below.  \documentclass[fleqn,letterpaper,10pt]{article} \pagestyle{plain} \usepackage{asymptote} \newsavebox{\boxa} \newsavebox{\asyboxa} \setlength{\unitlength}{1cm}  \begin{document}%  \begin{lrbox}{\asyboxa}% \begin{asy} size(4cm,4cm); draw((-2,0) -- (2,0)); draw((0,-2) -- (0,2)); draw(circle((0,0), 2)); \end{asy} \end{lrbox}%  \begin{lrbox}{\boxa}% \begin{minipage}[b]{6cm}% Minipage has 6cm width. \\% Text alignment uses [b] option. \\% Therefore last line of minipage \\% is at bottom of boxa. \end{minipage}% \end{lrbox}%  \frame{% \begin{picture}(11.5,4.5)     \linethickness{.5mm}%      \put(0,0.2){\usebox\boxa}%     \put(7.0,0.2){\usebox\asyboxa}%         \put(7.0,0.2){\line(1,0){4.0}}%                 \put(7.0,4.2){\line(1,0){4.0}}%         \put(7.0,0.2){\line(0,1){4.0}}%         \put(11.0,0.2){\line(0,1){4.0}}% \end{picture}% }%  \vspace*{36pt}%  \frame{% \begin{picture}(5.5,4.5)     \linethickness{.5mm}%      \put(1.0,0.2){\usebox\asyboxa}%         \put(1.0,0.2){\line(1,0){4.0}}%                 \put(1.0,4.2){\line(1,0){4.0}}%         \put(1.0,0.2){\line(0,1){4.0}}%         \put(5.0,0.2){\line(0,1){4.0}}% \end{picture}% }%  \end{document}   Addendum  Two additions to the query.   I added the asymptote tag, since other asymptote users may have {struggled with -- solved} the problem. I experimented by defining the picture environment wide enough to extend the right side margin, defining a (very wide) savebox to contain the asymptote box flush left, and having the picture environment \put the savebox instead of the asymptote box -- No Joy.


Prove that there is no polynomial with integer coefficients such that $p(a)=b,\,p(b)=c,\,p(c)=a$ for distinct integers $a,b,c$

Our teacher gave us this question but I am very stuck. I drew graphs to see why it cant be true but I didnt find anything. I see that if $p$ existed then: $$p(\cdots p(a))=a,\;p(\cdots p(b))=b,\;p(\cdots p(c))=c$$  (With $3n$ $p$'s). But I don't know where the contradiction is... Maybe we can work on the divisibility of the polynomials coefficients or something?


option to dismiss unanswered questions from my tags view

I really enjoy spending time attempting to help others on Stack Overflow. However, I have seen the same list of questions in my Unanswered > My Tags view for several months. I have reviewed those questions and I can't provide any input. It would be nice to be able to "dismiss" those and allow others to filter into view.


How can you find and replace text in a file using the Windows command-line environment?

I am writing a batch file script using Windows command-line environment and want to change each occurrence of some text in a file (ex. "FOO") with another (ex. "BAR"). What is the simplest way to do that? Any built in functions?


How to fix "Attempt to invoke virtual method on a null object reference"

Everytime I try to run my app, it runs but then it crashes and I get the same message in my logcat. The odd thing is the 2 lines (I added comments in the code where the lines are it's referring to). it refers to when it crashes I haven't touched them. That's how the code has always been, as i inherited working on this app and that's how it's always been. Here is the logcat message:  java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference         at com.example.gabe.politicianspulse.NewsRvAdapter.onBindViewHolder(NewsRvAdapter.java:43)         at com.example.gabe.politicianspulse.NewsRvAdapter.onBindViewHolder(NewsRvAdapter.java:19)         at     public class NewsRvAdapter extends RecyclerView.Adapter<NewsRvAdapter.MyViewHolder> { //this is line 19 private Context context; private List<NewsItem> newsList;  //default constructor public NewsRvAdapter(){}  public NewsRvAdapter(List<NewsItem> newsList, Context context){     this.newsList = newsList;     this.context = context; } @NonNull @Override public NewsRvAdapter.MyViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {     View view;     LayoutInflater layoutInflater = LayoutInflater.from(context);     view = layoutInflater.inflate(R.layout.news_card, viewGroup, false);     final MyViewHolder viewHolder = new MyViewHolder(view);     return viewHolder; }  @Override public void onBindViewHolder(@NonNull final NewsRvAdapter.MyViewHolder myViewHolder, int i) {     myViewHolder.title.setText(newsList.get(i).getTitle());     myViewHolder.description.setText(newsList.get(i).getDescription());//this line 43       myViewHolder.date.setText(newsList.get(i).getDate());      //Load image URL using Picasso     Picasso.get()             .load(newsList.get(i).getImageUrl())             .centerCrop()             .fit()             .into(myViewHolder.photoUrl);      //on click listener that opens url in webview     myViewHolder.photoUrl.setOnClickListener(new View.OnClickListener(){         @Override         public void onClick(View view) {             String link = newsList.get(myViewHolder.getAdapterPosition()).getLink();             Intent intent = new Intent();             intent.setAction(Intent.ACTION_VIEW);             intent.addCategory(Intent.CATEGORY_BROWSABLE);             intent.setData(Uri.parse(link));             intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);             context.startActivity(intent);         }     });      //onclick that opens new activity     myViewHolder.title.setOnClickListener(new View.OnClickListener(){         @Override         public void onClick(View view) {             Intent i = new Intent(context, SingleNews.class);             i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);             i.putExtra("title", newsList.get(myViewHolder.getAdapterPosition()).getTitle());             i.putExtra("urlToImage", newsList.get(myViewHolder.getAdapterPosition()).getImageUrl());             i.putExtra("publishedAt", newsList.get(myViewHolder.getAdapterPosition()).getDate());             i.putExtra("content", newsList.get(myViewHolder.getAdapterPosition()).getContent());             context.startActivity(i);         }     }); }  @Override public int getItemCount() {     return newsList.size(); }  public static class MyViewHolder extends RecyclerView.ViewHolder{     TextView title, description, date;     ImageView photoUrl;     LinearLayout viewContainer;     public MyViewHolder(@NonNull View itemView) {         super(itemView);         title = itemView.findViewById(R.id.news_title);         date = itemView.findViewById(R.id.news_date);         //description = itemView.findViewById(R.id.news_description);         photoUrl = itemView.findViewById(R.id.news_photo);         viewContainer = itemView.findViewById(R.id.newsView_container);     } }   }


Upper bound of $a_{n+1}=a_n + \frac{1}{a_n}$

How can I prove:  If $$a_0=\alpha>0\quad and\quad a_{n+1}=a_n + \frac{1}{a_n}$$, then $$a_n^2<\alpha^2+2n+\frac{1}{\alpha^2}+\frac{1}{2}ln\left ( \frac{2n}{\alpha^2}+1 \right )$$ ?  I'll really appreciate your help. Thanks.


How do I turn off redirection once I've turned it on?

I found a great solution at .  I used the example:  exec > >(tee $somelog) 2>&1   ...and managed to get everything to tee great. Now, how to I turn it off again?


Error message says I can't flag... but yes I can

When trying to upvote a comment made on a locked post (ordinary lock, not historical lock which remove the vote arrows and flag altoghether) we are greeted with such error message:        Or in words:     This comment is not eligible for voting or flagging   Being the curious type, I went straight away and tried to flag, fully expecting the same message... just to see the flag dialog open up just fine:        I was able to flag as well.  Can the error message please be changed to just "This comment is not eligible for voting"? Or of course, if it's not the intended behavior really disable the option to flag?  The original post on which I experimented is now deleted, but  you can play with.


I've always used !$ to refer to the last argument of the previous command.  e.g.  ~/dir » mkdir birthday ~/dir » cd !$ ~/dir » cd birthday   However I've started seeing tutorials use $_ in place of !$  I've tested the two and the only difference I've noticed is subtle, but it appears that $_ will evaluate and execute the command whereas !$ will let you sanity check the output before hitting Enter, but is this the only difference between $_ and !$?  Update: flagged as a duplicate? This question may be answered by the accepted answer for the suggested question, but only because the answer is more detailed than the question required.  Searching for What does _$ mean? does yield the suggested duplicate, however I already and I knew prior to asking what !$ did, and there is nothing that suggests that question might also answer other questions.


At one point, I decided to make friends with the low-lying spectrum of QCD. By this I do not mean the symmetry numbers (the "quark content"), but the actual dynamics, some insight.  The pions are the sloshing of the up-down condensate, and the other pseudoscalars by extending to strangeness. Their couplings are by soft-particle theorems. The eta-prime is their frustrated friend, weighed down by the instanton fluid. The rho and omega are the gauge fields for flavor SU(2), and A1(1260) gauges the axial SU(2), and they have KaluzaKlein-like echoes at higher energies, these can decay into the appropriate "charged" hadrons with couplings that depend on the flavor symmetry multiplet. The proton and the neutron are the topological defects. That accounts for everything up to 1300 but a few scalars and the b1.  There are scalars starting at around 1300 MeV which are probably some combination of glue-condensate sloshing around and quark-condensate sloshing around, some kind of sound in the vacuum glue. Their mass is large, their lifetime is not that big, they have sharp decay properties.  On the other hand, there is nothing in AdS/QCD which should correspond to the sigma/f0(600), or (what seems to be) its strange counterpart f0(980). While looking around, I found this discussion: . The literature that it pointed to suggests that the sigma is a very unstable bound state of pions (or, if you like, tetraquarks).   gives strong evidence for an actual pole;  gives a more cursory review. The location of the pole is far away from the real axis, the width is larger than the mass by 20% or so, and the mass is about 400MeV. The authors though are confident that it is real because they tell me that the interpolation the interactions of pions is safe in this region because their goldstone properties dominate the interactions. I want to believe it, but how can you be sure?  I know this particle was controversial. I want to understand what kind of picture this is giving. The dispersion subtraction process is hard for me to visualize in terms of effective fields, and the result is saying that there is an unstable bound state.  Is there a physical picture of the sigma which is more field theoretical, perhaps even just an effective potential for pions? Did anyone who convinced himself of the reality of the sigma have a way of understanding the bound state properties? Is there an analog unstable bound state for other goldstone bosons? Any insight would be welcome.


Cancel the tracking scene, return to default render layer

I did camera tracking and applied set up tracking scene...then it create its own render layers....like it create foreground and background layers....I want to return to default render layers...but after changing nodes also render layers don't returned to default...but I want to return to default


What is the difference between filename=${1:-/etc/hosts} and filename=/etc/hosts?  For example:  filename=/etc/hosts  if [ -r "$filename" ] && [ -s "$filename" ]; then     md5sum $filename else     echo "$filename cannot be processed" fi   and  filename=${1:-/etc/hosts}  if [ -r "$filename" ] && [ -s "$filename" ]; then     md5sum $filename else     echo "$filename cannot be processed" fi


To + verb, bare verb or verb + ing in noun phrases

I've asked this around and I'm RACKING MY BRAIN trying to figure it out.   Which one is the correct verb form in the following sentence?     The craziest thing I've ever done is go / to go / going scubadiving in Belize   Some people say that both the to + verb and the ing forms are correct, because you need a noun there and the bare form is a verb; other people say only the to + verb is the correct one here, because the ing form only applies when you reverse the sentence (going scubadiving is yadda yadda) and not when you place the subject in the end.  I know many people would use the bare infinitive to be quicker while speaking, but that just sounds wrong to my ears as it's a verb!  Can you please tell me, once and for all, which is the correct verb form?


Let $u,v,w \in S^2$ and let $[u,v,w]$ be a spherical triangle. I want to find its inscribed circle. However, I don't know how to approach this problem. Would someone please explain?  In my understanding, one needs to somehow find the altitudes of the spherical triangle and then the point of its intersection (circumcentre)? Then what about the radius?


I'm new to SQL server and need your advice.  I have a database that shows 188GB as the size in the database properties window.  When I take a backup of the database, that backup file is only 65GB.  The database properties window still shows the database itself is 188GB.  Why is there a difference in the size of the backup compared to the actual database?  I'm not using backup compression.


Are these mixed partial derivatives equal?

Let's say I have a set of $m$ functions depending on $n$ variables $$x^{i} = x^{i}(s^{1}, ... , s^{n})$$ I use latin indices to denote $(1, ..., m)$ and greek letters to denote $(1, ..., n)$.  I know $$\frac{\partial x^{i}}{\partial x^{j}} = \delta^{i}_{j}$$ $$ \implies \frac{\partial^{2} x^{i}}{\partial s^{\alpha} \partial x^{j}} = \frac{\partial (\delta^{i}_{j})}{\partial s^{\alpha}} = 0$$  What I'd like to know is whether commutativity of partial derivatives allows me to do this:  $$\frac{\partial^{2} x^{i}}{\partial x^{j} \partial s^{\alpha}} = \frac{\partial^2 x^{i}}{\partial s^{\alpha} \partial x^{j}} = 0$$  And if I'm not allowed to do so, why?  Thanks a lot, and I'm sorry if it is a silly question.  Edit:  For example, I get troubles when I'm in the simplest case, $m=1, n=1$. Let's say $x=s^2$ $$\frac{dx}{dx}=1$$ $$\implies \frac{d}{ds}\left( \frac{dx}{dx} \right) = 0$$  But when I do it in the opposite order:  $$\frac{dx}{ds}=2s$$ $$\implies \frac{d}{dx}\left( \frac{dx}{ds} \right) = \frac{d}{dx}\left( 2s \right)$$ substituting $s = \sqrt{x}$ $$\frac{d(2s)}{dx} = \frac{d(2\sqrt{x})}{dx} = \frac{1}{\sqrt{x}} = \frac{1}{s}$$  What am I doing wrong?


Did Peter Pettigrew use the Cascading Jinx to kill the 13 Muggles at once?

I was thinking about how could it be possible that he had killed so many people at the same time. From what I heard there are many theories, such as he could have aimed either a  or a  at a gas line as the Muggle story mentions an explosion but what if he actually did a ? It is a spell used to attack multiple people who are close and it erupts into an explosion, hitting everything within the range set by the caster so it could be how he did it.


Want to delay startup of program but can't find it in Task Scheduler

I'm trying to delay the startup of a specific program that loads at login. As per an answer in , I should be able to do it using Task Scheduler. The problem is, I can't find the program listed anywhere. Is there a particular pane I should be looking in? The program is Razer Synapse so I don't think it would be in the Microsoft or Western Digital folders.    If it's not in Task Scheduler, is there another way I can delay it at startup?  Out of curiosity how many ways are there for a program to be run at Startup in Windows?


If $B \setminus A$ is closed under multiplication then $A$ is integrally closed in $B$.

I am trying to solve exercise 5 of Chapter Integral dependence and valuations'' from the book of Atiyah and MacdonaldIntroduction to Commutative algebra''.  Let $A$ be a subring of $B$ such that $B \setminus A$ is closed under multiplication. Show that $A$ is integrally closed in $B$.  My attempt to solve the problem:  Let $z \in B \setminus A$. We need to show that $z$ can not be a root of a polynomial  $ f \in  A[x]$. I can proof it if the degree of $f$ equals to $2$. Indeed, let $z^2 + az + b = 0$, where $a, b \in A$. Then $-a-z \in B$ is also a root of this polynomial and hence $a(-a-z)=b \in B$, however $B \setminus A$ is closed under multiplication that is the contradiction.


Why is the $(\frac{1}{2},\frac{1}{2})$ representation of the Lorentz group realized as the vector space of Hermitian $2\times 2$ matrices?

Why can we write an arbitrary object  $v_{a \dot{b} }$ our transformations in this basis act on as  $$ v_{a \dot{b} } = v_{\nu} \sigma^{ \nu}_{a \dot{b} } = v^0 \begin{pmatrix}    1&0 \\ 0&1 \end{pmatrix}  + v^1 \begin{pmatrix}    0&1 \\ 1&0 \end{pmatrix}  +v^2 \begin{pmatrix}    0&-i \\ i&0 \end{pmatrix}  + v^3 \begin{pmatrix}   1&0\\0&-1 \end{pmatrix} $$  Formulated differently: How do we know that the vector space for the $(\frac{1}{2},\frac{1}{2})= (\frac{1}{2},0) \otimes (0,\frac{1}{2})$ representation of the Lorentz group is the space of hermitian $2\times2$ matrices? The vector space for the $(\frac{1}{2},0)$ representation is $\mathbb{C}^2$ and I guess the same is true for the $(0,\frac{1}{2})$  representation, but I can't put it together to end up with hermitian matrices.   EDIT: I found in the book  by Matthew Robinson the following explanation.      Recall that just as any real matrix can be written as the sum of a symmetric matrix and an antisymmetric matrix, any complex matrix can be written as the sum of a Hermitian matrix and an anti-Hermitian matrix. However, the two indices on our matrix $v^{a \dot b}$ transform under representations of $SU(2)$. Notice that in the generators of these copies of $SU(2)$, both sets of generators $N^-$ and $N^+$ are Hermitian (cf. (3.229)). So, we’ll limit our discussion to the case where $v^{a \dot b}$ is a Hermitian $2 \times  2$ matrix.   If anyone could help me understand this line of thought my problem would be solved.  Why does this allow us to " limit our discussion to the case where $v^{a \dot b}$ is a Hermitian $2 \times  2$ matrix"?  I understand that our representation here acts on complex $2\times2$ matrices. But I don't understand why we can restrict to hermitian matrices.


Finding the determinant of A nilpotent matrix

Let B be a nilpotent n×n matrix with complex entries. Set A = B- I.  Find the determinant of A.  Please someone give a hint..


How can I print out a PDF substituting pixels for blue pixels?

I have no more black ink in my Canon MP560 printer.  All other colors print fine.  I need to print out an online train ticket.  When I print it out, I can't see any of the page that is in black (most of it, all the text).  I already printed it as a PDF so I can print it out later if I get some black ink in time.  But can anyone think of a creative way to tell the printer / printer driver / PDF software (Foxit) that it should replace all black pixels with e.g. very dark blue pixels so that I can at least print it out so that the barcode on the page can be scanned?


I am Egyptian, age above 45. I have a Schengen visa. Can I enter Turkey after getting an eVisa, but coming to Istanbul from Budapest with Turkish Airlines and leaving Istanbul back to Cairo through Aegean Airlines?


I am going on a business trip to Amsterdam for 3 days , would like to extend the trip as a tourist to Paris for 6 days. Which countries consulate should I apply. What should I mention in the cover letter of Schengen visa?


I have this struct:  struct Map {     public int Size;      public Map ( int size )     {         this.Size = size;     }      public override string ToString ( )     {         return String.Format ( "Size: {0}", this.Size );     } }   When using array, it works:  Map [ ] arr = new Map [ 4 ] {     new Map(10),     new Map(20),     new Map(30),     new Map(40)};  arr [ 2 ].Size = 0;   But when using List, it doesn't compile:  List<Map> list = new List<Map> ( ) {     new Map(10),     new Map(20),     new Map(30),     new Map(40)};  list [ 2 ].Size = 0;   Why?


Metrizability of quotient spaces of metric spaces

Suppose $X$ a metric space and $\sim$ an equivalence relation on $X$. Is the space $X/\mathord{\sim}$ metrizable? I think that the answer is no, but I could not arrive at a counterexample.


I looked through several postings, but didn't see anything that related to this specifically.  If there is a thread, would you please post a link?  I have written a java app.  It has a basic gui that gathers user preferences, then downloads files from the web based on those preferences.  It works just fine in eclipse.  It works just fine when I export into a .jar file on the same machine it was developed on.  However, when I try to load it on a different machine, it brings up the gui and gathers information, then just hangs.  It's irritating because I cannot troubleshoot the problem.  I'm sure I'm not the first person to have this problem, so I equally sure there are tools out there to help me, but since I've taught myself up to this point, I've not come across any.  Does anyone have any recommendations about what I might try, please?


What to do if a question is crossposted from a non-StackExchange website?

This question:    Is clearly copied from:    It sure is a good idea to ask questions and get answers, but how should it be treated? Is this acceptable?


I'm having some trouble with the following Java code using Scanner in a do-while loop. The code is supposed to compute the value of a factorial requested by the user, and then ask the user if he/she wants to compute another factorial. If they say Yes, then the loop runs again, if No, then the loop exits.   On the first iteration, everything runs smoothly. However, when it asks if I want to compute another number, although I enter "Yes", it does not run again. I read  that adding a nextLine() to clear the \n might help, but I can't seem to get it to work -- any tips?  import java.util.*;  public class Factorial {     public static void main(String[] args)     {         Scanner kbscanner = new Scanner(System.in);         String answer;          do         {             // get the value from the user             System.out.print("\nEnter a Number: ");             int number = kbscanner.nextInt();              // compute factorial             int factorial = 1;                 for (int i = 1; i <= number; i++)             factorial *= i;              // display factorial             System.out.println("The value of " + number + "! is " + factorial);              // ask if user wants to calculate another factorial             System.out.print("Would you like to calculate another number? ");             kbscanner.nextLine();   // gets rid of the \n from when nextInt was asked             answer = kbscanner.next();         } while (answer == "Yes");                 System.out.println("End");      } }


This is a seemingly basic mechanics problem but I'm having a dilemma in understanding what happens. You start with two blocks, one on top of the other (the bottom block has a larger mass than the top block). There is friction between the blocks, so they stick together. These two blocks rest on a frictionless surface. If I apply a force F to the top block, what happens?  Drawing the free body diagram, the force F I apply is counter acted by a frictional force f because of the friction between the two blocks. Additionally, this frictional force will be opposed by another frictional force on the bottom block that forces it in the direction I applied the force. Thus, we see that the blocks will move in the direction I have pushed.  HOWEVER, I can't understand why the top block will move forward as well. The force I have applied should be negated by the frictional force, but this is not the case. Clearly, the block accelerates forward despite the friction. Why is this paradox created???


How to point my domain to a my server's IP address and configure it to show my website?

I'm doing website on the Linux server (still learning) And I have on 1 IP address to host many web sites.  I will have them separately.  For example 104.000.0.000:203 for one website and 104.000.0.000:204 for another website.  I know that I need to configure the Linux server to use the folder containing the WordPress files.  I also know I need to put this IP into  GoDaddy as a DNS A record. I don't know the Linux commands and where I they should go.  All I remember is something with site-enabled apache2 and nothing else.


login loop on admin account, guest works fine

As you can tell I am having some issues. I am a gamer, and not having write privileges would be a death sentence to any gamer. With this guest account when I log. I have tried 2-3-4 fixes, Even did another fsck, another issue, not this one. My point is. there is something wrong with either admin, GUI, or something in between. Cause I can log in terminal or shell whatever it is called. But not with GUI.


C++ default Constructor not being called

I am very new to c++ so forgive me if I have overlooked something simple. I have a class Circle:  class Circle: public Shape{ protected:      //string name;      Point focus;      float radius; private:  public:     virtual void calculateArea();     virtual void calculatePerimeter();     Circle();     Circle(Point p, float r);   };  I have two constructors, one of which is the default which I have overloaded:  Circle::Circle() {     Point p(1,1);     focus = p;     radius = 10;     name = "Circle";     calculatePerimeter();     calculateArea();     cout<<"default circle"<<endl; } Circle::Circle(Point p, float r) {     focus = p;     radius = r;     name = "Circle";     calculatePerimeter();     calculateArea(); }   In my main I try to create two circles one using the each constructor, however the Circle being created with Circle() never gets created. I cannot for the life of me figure out why? There are no error messages or anything.  int main{     Circle circle(a, 3.3);     Circle c2(); }


What is the "N+1 selects problem" in ORM (Object-Relational Mapping)?

The "N+1 selects problem" is generally stated as a problem in Object-Relational mapping (ORM) discussions, and I understand that it has something to do with having to make a lot of database queries for something that seems simple in the object world.  Does anybody have a more detailed explanation of the problem?


What will happen to a ball kept on a frictionless inclined plane?

I was wondering about this question since I learned about rolling motion in the chapter on rotational mechanics. I was unable to come to a solid conclusion due to the reasons mentioned below.  The following diagram shows a ball on a frictionless inclined plane and the forces acting on it:    The forces acting on the ball are shown in red and are the normal contact force $N$ and the gravitational force of attraction $mg$. I qualitatively determined the torque of these forces about two axes - one passing through the centre of mass of the ball of uniform density, and the other passing through the point of contact of the ball and the inclined plane. Both of these axes are perpendicular to the screen.  When the axis passes through the centre of the ball, the torque exerted by $mg$ is zero as its line of action meets the axis. Further, the torque exerted by $N$ is also zero due to the same reason. There are no other forces. So, net torque about this axis is zero, and this tempts us to conclude the ball slides down the inclined plane.  When the axis passes through the point of contact, the torque exerted by $N$ is zero but the torque exerted by $mg$ is non-zero. This means the ball must roll i.e., it rotates while moving down the inclined plane. This conclusion is contradictory to the former case.  So, what exactly will happen to a ball kept on a frictionless inclined plane - will it slide or roll?   The following diagram is a visual interpretation of my question (if the terms slide and roll confuses the reader) where the red arrow denotes the orientation of the ball:    Image Courtesy: My own work :)    Please Note: The question -  discusses the case of ball rolling on an inclined plane where friction is present. Since the question -  is marked as duplicate of the former, and has no sufficient details, I planned to ask a new question with additional information.


How to deselect the weekend and holidays in date-picker using jquery?

I'm new to jquery, I've created a date-picker, I want to deselect the weekend and holidays while end user click the date-picker button. Can you please suggest me how to proceed this?  HTML
Date: <input type="text" id="datepicker">
   JS  $(document).ready(function(){   $("#datepicker").datepicker();     $("#datepicker").datepicker("option", "dateFormat", "d-M-yy");   }); });   Please advise.


I have Windows 10 on my computer and want to install Xubuntu on it because Windows 10 is working too slowly. I am a beginner and haven't done anything with the operating system yet. Please tell can my computer run Xubuntu and also how to install it. I also want to store Windows 10 on a flash drive so that I can use it. Specs:  Lenovo Ideapad MIIX 300-10IBY Intel(R) Atom(TM) CPU Z3735F@ 1.33GHz 64-bit RAM: 2GB 28GB disk storage including Windows 10  If any additional information is needed please comment.


Euler's identity confusion: $e^{\pi} = e^{-\pi}$?


intermittent PHP memory allocation error

PHP is intermittently reporting ridiculous allocation errors.      Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4348209864 bytes) in Unknown on line 0   It tried to allocate more than 4GB of memory.  What?  Where is Unknown line 0?  Where did it try to allocate?  I am not explicitly allocating any memory in my PHP code and I am not using anything other than stock PHP calls.  I see that the last line of raw HTML in my PHP file (after i exit the php block) is emitted and in the loaded page, so the problem doesn't appear to be occurring in my actual PHP code.  Code it be something that I am doing that is triggering this?  I have found that this seems to happen more frequently if I try to reload a PHP file in the browser shortly after having edited the actual PHP file, but I don't know if this is a good data point or not.  PHP version is 5.3.26.  Why am I getting these errors, and is this something I need to worry about for production?


I have a Normal WCF Service and a WPF application that obviously calls data from that service. I have an issue now where a mobile web application came into play and also needs to call the same data on the same service, and with a little Googling I have seen with web application you will need to use a WCF RESTful to access the data. ( I can be wrong :) )  Can anyone advice me on what or how I can make my service so without changing any big chunk of coding in my WPF application and give access to data for the mobile application?


Solving an Undefined Projection for US Counties (1990)

After inserting the cs99_d90.shp file obtained from the 1990 US Census, I received an error message claiming:     The following data sources you added are missing spatial reference   information. This data can be be drawn in ArcMap but cannot be   projected.   After reading about several tools, such as the Define Projection tool which requires me to choose a projection from a list of projections that I cannot comprehend, I am hoping there is a much less convoluted solution to this problem. I have the 1990 County shapefile, and I want to layer it over a base map.   How can I solve this problem?


Are attack rolls, made by enemy creatures, made behind a screen in Adventurers League? Is it at DM's discretion?  The answer would be useful in order to evaluate the usefulness of the feat Lucky.


Is it possible to record console gameplay with PC

don't know if I am asking in the right place but would appreciate help, I want to record the gameplay from my sega megadrive and gamecube using a PC.I have the software to screen record my PC screen but don't know if there is a way to display the console output within the windows screen so that I can record it, or if it is possible to record between TV sources.


Streaming music between 2 computers via Bluetooth

In my warehouse, we use multiple computers with multiple sets of speakers. It gets noisy between multiple sets of speakers playing different music. Now, i have the computers linked with Bluetooth and can send/receive files with out a problem. I have searched and searched and searched for a program to be able to stream music between computers and essentially have one massive set of speakers.  Is this even possible? Thank you


Converting text format to code format, not enough change to be considered an edit

If a code portion of an answer is not formatted correctly and I edit it, it is not considered a valid edit unless I change 6 characters. But what if I only want to update the format of the answer and not change the answer itself.


How to avoid justified text in tabularx?

I have a table which has quite a lot of text but want to keep it on a portrait page. I am using the tabularx environment and managed to get all I want into the columns, but now the spacing between the words is super ugly. I'd rater define the orientation of my text in the table in each column, than having it justified. How can I change that?  I am pretty new to latex and I still struggle a lot. I went through some similar questions already, but I only make it worse trying to fix my problem.   \documentclass[12pt]{article} \usepackage[english]{babel} \usepackage{textcomp} \usepackage{graphicx} \usepackage{chngcntr} \counterwithin{figure}{section} \usepackage[font=small,labelfont=bf]{caption} \usepackage{tabularx}  \begin{document}  \begin{table}[htb] \footnotesize \begin{tabularx}{\textwidth}{>{\hsize=.4\hsize}X>{\hsize=.7\hsize}X>{\hsize=1.3\hsize}X>{\hsize=1.3\hsize}X>{\hsize=1.3\hsize}X} \hline \hline \textbf{WHO grade} & \textbf{Type} & \textbf{Description} & \textbf{Treatment} & \textbf{Outcome} \\ \hline \hline I & Pilocytic astrocytoma & low proliferative potential, not diffusive & surgical resection & not associated with recurrence after complete resection\\ II & Diffuse glioma & infiltrative, low mitotic activity, well differentiated & surgical resection, adjuvant therapy & median survival $>$10 years, often recurrence as high-grade tumour\\ III & Anaplastic Astrocytoma & mitotically active, anaplastic histology and infiltrative capacity & surgical resection, aggressive adjuvant therapy & median survival 2-3 years, recurrence as grade IV\\ IV & GBM & mitotically active, anaplastic histology, highly infiltrative, necrisis, angiogenesis & surgical resection, aggressive adjuvant therapy & associated with rapid progression, median survival 14 month\\ \hline \hline \end{tabularx} \caption{WHO Glioma Grades} \label{table:glioma types} \end{table}  \end{document}   Looks like this:


In our 5e game, I was put on the spot for some loot the players were promised by a Hill Gnome. When it came time for their reward, I made up a dagger that can paralyze whatever it stabs, gave it to our Dragonborn Fighter, and it really threw off the balance of the game. It's all he ever uses anymore, and I need to find a way to get rid of it, because whenever something is resistant to paralysis, he gets mad saying I made it so that he can't do anything in the fight. Is there some way I can get rid of it in a fair way? Maybe a monster, or spell?


"Out of the box" — when should I use this phrase?

I send a lot of unsolicited emails. In many of them, I ask to buy traditional advertising spots or to help conceive a non-traditional campaign. Oftentimes, I find myself describing these non-traditional campaigns as "out of the box," as in "let's think outside the box!" But I realize this phrase can also be interpreted as "ready-to-go," "turn key" or "prefabricated." That's not what I'm going for.  Am I using the phrase correctly? Is it easily interpreted as I intend? Is there a better phrase?


Can "individual" be referred to as "it"? Or only he/she/they?


Proof of equivalence of conformal and complex structures on a Riemann surface.

I am trying to understand the fundamentals of Riemann surface theory and so far I have the following:  --Definition 1. A conformal structure on a Riemann surface $\Sigma$ is an equivalence class of metrics $$ [g]=\{e^{2u}g \colon u\in \mathcal{C}^\infty(\Sigma)\} $$  --Definition 2. A complex structure on a Riemann surface $\Sigma$ is an equivalence class of complex atlases, where two atlases are considered equivalent iff their union forms a new complex atlas.  Note 1. Each complex structure has a canonical representative given by the maximal atlas  ---Riemann's Uniformization Theorem. In any given conformal structure, there exists a unique metric with constant curvature of either $1,0$ or $-1$.   Note 2 This gives a means of choosing a canonical representative for each conformal structure.  My questions are these:  (I) Which theorem tells us that there is a bijection between these two definitions of conformal and complex structures?   (II) What is meant by the "Riemann moduli space"?  Many Thanks, A.  EDIT: In establishing the claim (I), it appears to be neccessary to take as assumption that a surface is orientable.


What exactly are DLL files, and how do they work?

How exactly do DLL files work? There seems to be an awful lot of them, but I don't know what they are or how they work.  So, what's the deal with them?


I am having a hard time finding out how to install programs in Ubuntu in the right location. If I use Ubuntu Software Center to install a program that gets installed in its right place, but when I download a program manually in this case PhpStorm it went to the Downloads folder and when I ran the command  /home/shairyar/Downloads/PhpStorm-139.732/bin/phpstorm.sh   I assumed it would get installed in the directory where it is supposed to go.  After I ran the command phpstorm kicked off, I did the work I needed to do, and before shutting off the computer I thought of cleaning the Downloads folder. After deleting the phpstorm folder there I could no longer use the phpstorm shortcut I created.  So after restoring the deleted files, how do I move phpstorm to its right location? In future how do I make sure applications are installed to the right places?


def initialize(context):     g.security = '000001.XSHE'     set_benchmark('000300.XSHG')  def handle_data(context,data):     security = g.security     order(security, 100)   I want operation this code at 10:00 o'clock, how can write the code?


Can a character use Healing Word on themselves?

I first thought that the answer to this question was a definite 'yes.' The target is "A creature of your choice that you can see within range" (PHB 250). Presumably the caster is a creature, can be seen by him/herself, and is within range of 60' of him/herself.  Then I read the description for Greater Invisibility which specifies "You or a creature you touch becomes invisible until the spell ends" (PHB 246). It seems that Wizards have emphasized that Greater Invisibility can be applied to oneself while the same option is not emphasized for Healing Word.  Am I to interpret the lack of a specific option to heal oneself as meaning Healing Word cannot target self?  Bonus question: does this apply to Cure Wounds (PHB 230) as well?


Let's Encrypt, Apache2 - Editing vhosts properly

What is the proper way to edit /etc/apache2/sites-enabled when there is example.com.conf and example.com-le-ssl.conf?  Should I edit both the files when changing something? Or only one and then somehow force certbot-auto to fix it?


Does $\int_a^bf(x) = 0$ imply $f(x) = 0$ for a Riemann Integral function?

Let $a < b$ and $f:[a, b] \rightarrow \mathbb R$ be a Riemann integral function. Suppose that $f(x) \geq 0$ for all $x \in [a, b]$. I want to show whether $\int_a^bf(x) = 0$ implies $f(x) = 0$ or not, but I'm not sure where to start. I don't know much about Riemann integral functions in general. I only know that $$\underline \int_a^b f= \overline \int_a^b f.$$ Also, I know the fact that if $f$ is continuous, then $f(x) = 0$ for all $x\in [a, b]$. Can anyone provide any hints for me, because I'm really confused about this whole thing.


I have upgraded Ubuntu to 12.04 and now I have a problem in logging in after locking the screen: it says the password is incorrect even though I provide the valid password. I found a temporary solution by switching users and logging in again with the same user.


Is there any reason to use \begin{equation} and \end{equation} instead of the two $ signs?

Sorry if this question has already been answered somewhere. I tried searching it up in google but I couldn't find anything. My question: If I want to write an equation in LaTeX, when do I use $...$ (or $$...$$) and when do I use  \begin{equation} and \end{equation}? Are there any (dis-)advantages or do they do the same thing? I am new to LaTeX so this is probably a very trivial question.


How do we deal with irrationals in Physics?

This question is really very basic: how do we deal with irrationals in Physics? If for instance, in some meaningful calculation we get a length of $\pi$ meters, or a force of $\pi$ Newtons, how should we understand this? One could say: "well, we understand it as a rational approximation", but then there comes another question: which rational approximation? We can approximate $\pi$ by $3,14$ or $3,1415$ and so forth, increasing the precision, but yet never getting really to $\pi$.  Another problem is: well, the equations gave us $\pi$, and this is not a physically meaningful thing, so is there something wrong with the equation? Because, in nature I think there really isn't irrationals lurking arround, so that this becomes a little complicated.  So: how do we deal with irrationals in Physics?


Can I discard part of a multi-city (not layover) ticket?

My destination is B. My origin is A. I can buy a multi-city ticket from A->B->C which is cheaper than just A->B.  Note that this is a multi city trip and not just a layover at B.   My question is if I can check my baggage at A and take it off at B. I will obviously ask the agent while checking in at A to check it in to A only.  This is a one-way international ticket.  EDIT: I don't think I was clear. This is not a layover. Please see the itinerary I have attached as an image as let me know if your answer is still valid.


I'm flying with Ryanair soon, and would like to take a small amount of food with me in my hand luggage. In general, what are the rules/restrictions on this? I know that there might be some safety issues concerning on-board security, the risk of carrying diseases, etc.  Some types of food that I'm thinking of:   Home made snacks (cakes, etc); Bread / sandwiches; Food in sealed container; Food in a container that has already been opened.   Is there a list of guidelines that I should be aware of, to ensure that I'll be able to take everything with me on-board?


Can you use a colon following a question mark? I am not sure about the colon and/or capitalization when adding the list of characteristics.     Which of the following characteristics do you automatically associate with women?: Decisive, pushy, assertive, competitive, collaborative.


$M \times N$ orientable if and only if $M, N$ orientable

For two manifolds $M$ and $N$ I'm trying to prove that $M \times N$ is orientable if and only if $M$ and $N$ are orientable.  My attempt so far:  $\impliedby)$ Assume $M, N$ are orientable. Then $\widetilde{M}$ and $\widetilde{N}$ the orientation double covers of $M$ and $N$ are disconnected. But $\widetilde{M} \times \widetilde{N}$ is the orientation double cover for $M \times N$. Since $\widetilde{M}, \widetilde{N}$ are disconnected certainly $\widetilde{M} \times \widetilde{N}$ is disconnected. Therefore, $M \times N$ is orientable.  $\implies)$ Proceed by contradiction. Assume $M \times N$ is orientable and WLOG $M$ is nonorientable. Then the orientation double cover $\widetilde{M\times N}$ is disconnected. Now note that $\widetilde{M}$ is connected since $M$ is nonorientable. So $\widetilde{M} \times \widetilde{N}$ is connected since the product of a connected space and a disconnected space is connected. But $\widetilde{M\times N} = \widetilde{M} \times \widetilde{N}$, so $\widetilde{M\times N}$ is connected. But this is a contradiction, therefore it must be that $M$ is orientable.  This completes our proof.   The validity of this proof hinges on two assumptions that I'm unsure about: 1. $\widetilde{M\times N} = \widetilde{M} \times \widetilde{N}$ 2. The product of a connected space and a disconnected space is connected.  Are these two facts true? Is my proof valid? How do I go about proving these two necessary assumptions if they are indeed true? If I'm totally going the wrong way could someone send me in the proper direction?  Thanks


How do I merge two unallocated, non-sequential partitions on the same logical disk?

I'm wondering if I could merge two unallocated spaces as shown in the picture below:    I would like to combine the two unallocated spaces into a single space for further partitioning.


Implementation file not being linked when compiling g++

I have a header file and an implementation file and (as far as I can tell, I've googled a lot) am implementing it correctly so that it should link. Header: #pragma once  //Shapes.h  #include "Camera.h" #include <cmath> #include "Defs.h"  template<typename O> class Sphere{   O Radius;   Point3<O> Center;  public:   Sphere(O radius, Point3<O> center);    bool quadratic(Ray<O> ray_in, O &result);   bool intersect(Ray<O> ray_in, rayInfo<O> &info, O t_max, O t_min); };  cpp: #include "Shapes.h"  //Shapes.cpp  template<typename O> Sphere<O>::Sphere(O radius, Point3<O> center) : Radius(radius), Center(center) {}  template<typename O> bool Sphere<O>::quadratic(Ray<O> ray_in, O &result){   Point3<O> origin = ray_in.Origin;   Vec3<O> direction = ray_in.Direction;    Vec3<O> o = origin-Center;   O a = direction.dot(direction);   O b = 2 * direction.dot(o);   O c = o.dot(o) - (Radius * Radius);   O discriminant = b * b - 4 * (a * c);    if (discriminant > 0){     return (b - sqrt(discriminant) / a);   }   else{     return -1.0;   } }  template<typename O> bool Sphere<O>::intersect(Ray<O> ray_in, rayInfo<O> &info, O t_max, O t_min){    O result;    if (quadratic(ray_in, result)){      if (result > t_max || t_min < result){       result = -result;       if (result > t_max || t_min < result){         return false;       }     }      Point3<O> p = ray_in.at(result);     Vec3<O> normal =  (p - Center) / Radius;      info.Point = p;     info.Normal = normal;     info.Ray_in = ray_in;     info.front_face();     info.Result = result;      return true;   }   else{     return false;   }  }  To compile it I'm running: g++ Source.cpp Shapes.cpp -o a1.o  I really don't know what I'm doing wrong at this point since I'm including Shapes.h wherever it's needed, compiling the implementation, and don't see any syntax errors. My implementation works fine if I don't use the c++ file but move it to the header. The error I'm getting:  main':Source.cpp:(.text+0x167): undefined reference toSphere::Sphere(float, Vec3)' /usr/bin/ld: /tmp/ccLUWNoS.o: in function Tracer::iterator(Ray&, float, float&, float&)':Source.cpp:(.text.ZN6TracerIfE8iteratorER3RayIfEfRfS4[ZN6TracerIfE8iteratorER3RayIfEfRfS4]+0x172): undefined reference toSphere::intersect(Ray, rayInfo&, float, float)' collect2: error: ld returned 1 exit status


my error is:   Exception in thread "main" java.lang.NullPointerException     at ClienteDB.incluir(ClienteDB.java:30)     at ClienteInterface.main(ClienteInterface.java:16)   I just checked some other questions, but didn't found why this is happening. Usually people say that have some variable with value null. In a first moment, the variable will be null, but i didn't do the assignment with null.  Line 30 is: c[npp].setCpf(ccpf); That is one method of my program, but the only one that is not working.  Thanks in advance for the help!  import javax.swing.JOptionPane;  public class ClienteDB { Cliente c[]= new Cliente[11];  public void incluir() {     int flag = 0;     String np = JOptionPane             .showInputDialog("Entre a posição que você deseja incluir um usuário (1 a 10):");     int npp = Integer.parseInt(np);     if (c[npp] != null) {         JOptionPane.showMessageDialog(null,                 "Já possui um cliente neste campo.");     } else {         String ccpf = JOptionPane.showInputDialog("Qual o cpf do cliente "                 + npp + "?");         for (int np2 = 1; np2 < 11; np2++) {             if ((c[np2] != null) && (c[np2].getCpf().equals(ccpf))) {                 JOptionPane.showMessageDialog(null,                         "Existe um usuário com este CPF.\n");                 flag = 1;                 break;             } else {                 c[npp].setCpf(ccpf);                 break;             }         }         if (flag != 1) {             String cnome = JOptionPane                     .showInputDialog("Qual o nome do cliente " + npp + "?");             c[npp].setNome(cnome);             String cend = JOptionPane                     .showInputDialog("Qual o endereço do cliente " + npp                             + "?");             c[npp].setEndereco(cend);             String ctel = JOptionPane                     .showInputDialog("Qual o telefone do cliente " + npp                             + "?");             c[npp].setTelefone(ctel);         }     } }   Thats my main:      import javax.swing.JOptionPane;  public class ClienteInterface { public static void main (String args[]) {   ClienteDB cc = new ClienteDB();     int funcao;     do{         String fc=JOptionPane.showInputDialog("Bem vindo!\nQual função você deseja?\n1-Incluir Cliente\n2-Consultar Cliente\n3-Alterar Cliente\n4-Excluir Cliente\n5-Listar clientes\n9-Fim");         funcao=Integer.parseInt(fc);       switch (funcao)      {         case 1:         cc.incluir();         break;          case 2:         cc.consultar();         break;          case 3:         cc.alterar();         break;          case 4:         cc.excluir();         break;          case 5:         cc.listar();         break;          case 9:         break;      }                     }while (funcao!=9); }   }


If someone had a list of all primes, would it be possible for them to factor any integer in polynomial time?

For example, if they somehow got a function that would churn out any arbitrary amount of primes in a row. Could they break the RSA problem then?


Is Removing doubles no longer an option in Blender 2.8? I just noticed it last night when I finally got a chance to use the final version of Blender.


Concatenate strings in bash while adding double quotes

I have the following bash script:  set -ex X="bash -c" Y="ls -al"   I want to execute (notice the double quotes):  bash -c "ls -al"   The following does not work:  C=$X\ $Y $C   This gives as output  + X='bash -c' + Y='ls -al' + C='bash -c ls -al' + bash -c ls -al   There are no double quotes around ls -al  I tried this:  C=$X\ \"$Y\"   But that doesn't work:  + X='bash -c' + Y='ls -al' + C='bash -c "ls -al"' + bash -c '"ls' '-al"'   How to correctly concatenate Y to X while keeping double quotes around Y?


Why won't my python scripts run without the python command when moved from Windows to Linux?

I have some Python files that I wrote on my Windows PC and then sent over to a Linux machine using pscp. They work as intended on Windows, but when I try to execute them on the Linux machine, I always get an error message.   I use the following process to run the code after importing the file "test.py":  First, I add the shebang line at the top of test.py:  #!/usr/bin/python  # rest of code   Then I modify permissions and try to run the script:  chmod +x test.py ./test.py   which gives me the error message  ./test.py: Command not found.   If I create a file from scratch on the Linux machine and type in the exact same program text, the program will run just fine. Also, if I type the following code, the program runs just fine:  python test.py   Can anyone explain what is happening here? Thanks.


How to eliminate the java.lang.NullPointerException?

It keeps showing a null pointer as well as a array out of bounds exception:  public class Intopost {     int top = -1;      public void intopost() {         int i;         Stack stack = new Stack(20);          String s1 = "b*b-4*m*c";         String s2 = " ";         int top = -1;         System.out.println("your infix string is" + s1);         for (i = 0; i < s1.length(); i++) {              if (s1.charAt(i) == '*' || s1.charAt(i) == '-') {                 if (top == -1) {                     stack.push(s1.charAt(i));                     top++;                 } else {                     if (stack.peek() == '*' && s1.charAt(i) == '-') {                          while (top != -1) {                             s2 += stack.pop();                         }                         top = -1;                     } else {                      }                     stack.push(s1.charAt(i));                  }                  if (i == (s1.length() - 1)) {                     while (top != -1) {                         s2 += stack.pop();                     }                     top = -1;                  }              } else {                 s2 += s1.charAt(i);                 if (i == (s1.length() - 1)) {                     while (top != -1) {                         s2 += stack.pop();                     }                     top = -1;                  }              }          }         System.out.print("the postfix string is" + s2);     }      public static void main(String args[]) throws IOException {         Intopost in = new Intopost();          in.intopost();      }      class Stack {         int maxSize;         char[] sa;          public Stack(int max) {             maxSize = max;             sa = new char[maxSize];             top = -1;         }          public void push(char a) {             sa[++top] = a;         }          public char pop() {             return sa[top--];          }          public char peek() {             return sa[top];         }      }  }   Can you please tell me what could be the error here which keeps giving me the                       null exception error in this program?


How to disable automatic login in LightDM?

I was playing around with "User accounts" and somehow set automatic login. Now, when I start my PC, it just has one button named as "login". Clicking that button, directly logs me in to my PC.  There is no music or no asking for password while logging in. As a side effect, it asks me separately for keyring password   How to disable auto login and make login/keyring password unified again like before?  NOTE: Attempting to disable Automatic Login from System Settings > User Accounts does not work.  This is the content of my /etc/lightdm/lightdm.conf (where I have commented the autologin for my username mgandhi):  [SeatDefaults] greeter-session=unity-greeter user-session=ubuntu #autologin-user=mgandhi


Can I make a wither skeleton farm in the over world? Or does it have to be in a nether fortress. Just wondering because I’m trying to get a stack of nether stars


find out the 2nd most no. of employee working with dname from emp and dept table.  select d.dname,count(*) "totemp" from emp e,dept d where e.deptno=d.deptno group by (d.dname) having count(*)=(select max(count(*)) from emp e,dept d  where e.deptno=d.deptno group by d.dname);   This query will show highest no. of employee working with dname. But i want 2nd highest with dname.


A sum involving binomial coefficients and its evaluation using the Gamma function

Does anyone know how to prove (or a reference for) the following identity for positive integers $r$: $$\sum_{i=0}^r (-1)^i{r\choose i}\frac{1}{ir+1}= \frac{\Gamma(1+1/r)\Gamma(r+1)}{\Gamma(r+1+1/r)}$$


A spaceship crew stuck in a damaged spaceship that's losing power

I need help identyfying this movie I once saw late night on TNT, late 90s or early 2000s.  I don't have very clear recollection about it. The movie was very strange. It all took place in a single room of a spaceship or an escape pod that had lost power. A woman and a man, or several men, were stuck in a ship or a spacepod that was somehow damaged or didn't have power.   The movie was entirely made of the dialogs between the woman and the man (or men). They would talk about what was happening outside, how to contact help, about their lives. During their conversation details about the world around them emerge. In this movie people have colonized the solar system but not moved outside it, and there is some sort of a war.  Other things I remember are that it was dark in that room. I think they used only a lightbulb or even direct starlight and sunlight (if they were far away from the sun), because there was no power. Also it was getting colder, becaus the ship's heating system was not functioning, and so it was losing its heat. The people would constantly complain about how cold it's getting. I think that the woman was the captain of the ship. She would sometimes go to the control cabin and try to do something to help their situation, either restore power or contact someone so they can be rescued.  What impressed me about it was how they managed to make it realistic. Because the actors would talk and act like it was all real, it made it somehow feel very realistic to me as well.  That's about it as far as I remember. Hope someone has watched this movie and can tell me what it is.  Update  I want to add a few more details about the movie. While I watched it in the late 90s/early 2000s the movie looked much older. It looked like a vintage B-Movie made in the style of the 70s or 80s. In particular the decor looked more like Alien 1 or Cosmos 1999.   I just watched the firefly episode and it can't be it. It has too much action, and the atmosphere is not dark enough.


How do I take off my pants in Animal Crossing: New Leaf?

I don't want to wear pants in Animal Crossing: New Leaf, but I can't take them off. I tried putting on a dress, but it didn't work.


Problem with markdown and Unicode characters in comments

Unicode characters (as well as characters from the extended character-set) don’t work with the markdown in comments.  In a question or answer, when you use Unicode characters (or extended characters for example from code page 1252, etc.) it looks normal—the browser notwithstanding:  “Foo bar—baz.” = “Foo bar—baz.” (1252)  “Foo bar—baz.” = “Foo bar—baz.” (Unicode)  "Foo bar—baz." = "Foo bar—baz." (ASCII)  Now when you throw in markdown (for example italicizing), you get the following:  “*Foo* bar—**baz**.*” = “Foo bar—baz.” (1252)  “*Foo* bar—**baz**.*” = “Foo bar—baz.” (Unicode)  "*Foo* bar—**baz**.*" = "Foo bar—baz." (ASCII)  Okay, it looks fine. But when you do the same thing in a comment, the extended/Unicode characters are not recognized as non-alphanumeric characters/delimiters and prevent the markdown from working correctly.  Another example is spaces. You can use non-breaking or hair-spaces in questions and answers as normal:  "foo bar bazblah" = "foo bar bazblah" (there’s a zero-space width between baz and blah)  "*foo* bar **baz**blah" = "foo bar bazblah" (there’s a zero-space width between baz and blah)  Again, it’s fine, but when you put it in a comment, it breaks the markdown.  (I’ll add a comment with the examples.)    This may be related to , in which case a new system might be needed to handle character-set collation instead of a simple delimiter array.


I tried to post the XAML code where I thought that the Window properties were essential to . Whenever I copy paste anything that has the Window, it never shows in the preview. I've got to format it as a code block. If I copy/paste this:  <Window x:Class="HDD_Drill_View.Windows.WndwMain"         xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"         xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"         Title="HDDC"         WindowStartupLocation="CenterScreen"         Name="wndwMain"         Closing="WindowClosing"         ResizeMode="NoResize"         WindowState="Normal"         SizeToContent="WidthAndHeight">   It doesn't show until formatted. Yet if I copy/paste:  <Grid>     <DockPanel Width="Auto"                LastChildFill="False"                HorizontalAlignment="Left">         <DockPanel.Background>             <ImageBrush ImageSource="..\Resources\background.png"                         Stretch="UniformToFill"                         TileMode="None" />         </DockPanel.Background>         <StackPanel DockPanel.Dock="Top"                     Height="Auto"                     Width="Auto"                     Orientation="Horizontal"                     HorizontalAlignment="Center">             <Label Style="{StaticResource HeaderLabel}"                    Content="HDDC Reports"                    HorizontalAlignment="Center"                    Name="label1" />         </StackPanel> </Grid>   It shows just fine, and auto formats it as it should. Is there a particular reason for this? Can it be fixed to allow the autoformatting of copy/paste of that section of XAML?


I want to break the loop by a string input . But the program is taking input infinitely.  public static void main(String[] args) { int i; String test; Scanner inputString = new Scanner(System.in);     while(1==1){     test=inputString.next();     if(test=="Break"){         break;}    } System.out.println("the loop actually broke");  }


Who was the first established mainstream hero type comic book character that either DC or Marvel killed off and left that way?

I know they killed Superman and brought him back. Which mainstream DC or Marvel hero type character was the first to be killed off in a comic book, never to return?


How do you convert a two dimensional array of a boxed type to a two dimensional array of the corresponding primitive type?


Can I use third party library like Axios?

Can I use third party library like Axios in Visualforce lightning components?   Thank you.


Navigating lookup relationships with dot notations, to retrieve field values

I need to access the value from a roll-up field on my Opportunities, from it's related Opportunity Product.  When I use oli.Opportunity.Software_Line_Item__c the value retrieved is always null.  So I've also tried oli.OpportunityId.Software_Line_Item__c which causes an error in the compiler     Invalid foreign key relationship: OpportunityLineItem.OpportunityId   & just to make sure that it's not the roll-up field calculation that's not working as expected, I've tested oli.Opportunity.Name which is also returning null.  I know this is basic but I don't have Eclipse installed so I can't check the correct reference to use. Could someone please let me know how I can navigate this relationship, to retrieve the value from the Software_Line_Item__c field?


Can Blender VSE sync the video and audio with VFR strips?

After done editing, I exported only to see that audio and video do not sync. I know what the problem is - the project's video strips have a variable frame rate. But is there a way to make Blender sync them despite that? I don't want to encode every clip that I have with a CFR.


Azimuthal Equidistant Projection - Rotate projection

I am using Azimuthal Equidistant Projection to plot points in a map being drawn in an Android application.  The origin is the centre of the map.  I have the formulas from  and . I am getting expected results.  Simplified version of the code being used by me in JavaScript:  // Add functions to Math if (!Math.toRadians)     Math.toRadians = function(angledeg) {         return angledeg * Math.PI / 180;     }; if (!Math.toDegrees)     Math.toDegrees = function(anglerad) {         return anglerad * 180 / Math.PI;     };  /* Mean radius of Earth (in metres)*/ const WGS_1984_R = 6370997;  /* Function to convert geodetic coordinates to Azimuthal Equidistant Projection projection (cartesian metres)*/ function convertGeodeticToAEP(longitude, latitude, longitudeOrigin, latitudeOrigin) {     var deltaLongitudes = Math.toRadians(longitude - longitudeOrigin),             cosDeltaLongitudes = Math.cos(deltaLongitudes),             cosLatitude = Math.cos(Math.toRadians(latitude)),             sinLatitude = Math.sin(Math.toRadians(latitude)),             cosLatitudeOrigin = Math.cos(Math.toRadians(latitudeOrigin)),             sinLatitudeOrigin = Math.sin(Math.toRadians(latitudeOrigin)),             // Angular distance from the centre             c = Math.acos(sinLatitudeOrigin * sinLatitude + cosLatitudeOrigin * cosLatitude * cosDeltaLongitudes),             k = c == 0 ? 0 : c / Math.sin(c),             x = k * cosLatitude * Math.sin(deltaLongitudes) * WGS_1984_R,             y = k * (cosLatitudeOrigin * sinLatitude - sinLatitudeOrigin * cosLatitude * cosDeltaLongitudes) * WGS_1984_R;     return {x: x, y: y}; }   What would be the formulas to rotate the projection by a given angle, from the origin? Say modify the function to include an additional parameter for angle of rotation and then modify the output accordingly...


There is some program to draw simple objects and get the code in tikz?

I have to do many math exercises for young children. A drawing helps them a lot. But I can not paste images because it consumes a lot of memory of the  that I use so I have to put the pictures in code. Do you know any program that can help me draw?


How do i resolve method Overlapping in java/Processing

I have two methods/function in a class, called, Qestion1 and Question2, i want it in such a way that after the user has answered Question one correctly, the Question 2 method is called. Whenever i call the method 2, it displays both of them together instead exiting the first method first. Here's a dummy code to illustrate what i'm saying:  void Question1()  {  String question="What is the capital of England?";  String Answer="London";  if(Answer=='London')  { Question2();  }  }    void Question2()  {  String question="What is the capital of California?";  String Answer="Sacramento";    if(Answer=='Sacramento')      {  Question3();   }    }   Pls, this question is in no way related to that other question. Pls peruse the thread again.


Isometries between dual factor space and annihilator

Let $X$ be a normed space and $Y$ a closed subspace of $X$ and $Y^0=\{f \in X^*|f(x)=0,\forall y \in Y\}$.  Prove that $Y^0$ is isometricaly isomorphic with $(X/Y)^*$.  I have to find  a function specifically between $Y^0 $ and $(X/Y)^*$.  One idea is the function $S: Y^0 \longrightarrow (X/Y)^*$ such that $S_{f}(x+Y)=f(x)$ but i have a difficult time to proved that it is bounded and an isometry.  Can someone help me please or give another idea for an bijection?  Thnak you in advance.


Boldface Doesn't Work On Beamer. What's Wrong?

The \bf command doesn't work in Beamer documents for me. Here's a minimal example. \documentclass{beamer} \begin{document} \begin{frame} $\bf{R}$ \end{frame} \end{document}  The output is a "R" that is normal, not bolded. However, when I change the class to article, it works. Does anyone know what's wrong? I'm using Miktex 4.0.1 on Windows. I also have another computer with Miktex 2.9, where it works. Is there something wrong with my Miktex installation?


How to override Drupal.ajax.prototype.beforeSend?

I need to add my own little if's and checks in 3 functions inside   misc/ajax.js (   Drupal.ajax.prototype.beforeSend,   Drupal.ajax.prototype.success,   Drupal.ajax.prototype.error )   How can I override them in my module? I can't find a manual and it's not in Examples for Developers. Sorry if it seems a dumb question, but I'm a php developer - I can work with js, but I'm not so fluent with it.   Can I simply write it in my module's js file? If 2 or 3 modules needs to modify them, how to avoid conflicts?


Did or did not the murders happen in reality?

So I just finished watching  but I could not understand if the murders took place or not?  From watching the movie I was certain the murders indeed happened and that's why the case was going on.  But if it did happen then why did Dr. Mallick say that Malcolm the convicted was thinking the accidents in his head? Had the murders already happened, and was Malcolm responsible? Why has he not been punished?   Perhaps I could not understand the plot clearly. I am also not sure if Timothy became Malcolm after he became older because the murders happened 4 years ago!


Is it possible to hide the pin/unpin buttons for items on the task bar?

When right clicking an icon on the taskbar Windows displays a small menu. This always contains a button to pin/unpin the application on the taskbar.    I frequently use this menu to open new windows of applications and often accidentally hit the pin/unpin button. Since I do not frequently change the applications which are pinned to my taskbar I do not really need these buttons to be there all the time.  Is there a way to hide these buttons so that I can no longer hit them by accident?


My iPhone is stuck on Connect to iTunes Screen (support.apple.com/iphone/restore iTunes logo and up arrow with lightning cable) I have Tried :-   Connecting it to iTunes and Updating, It updates Successfully.But on the same screen again   Restoring, It restores successfully.But on the same screen again  Tried Recovery Mode Screen Method and DFU method Tried Closing and Restarting iTunes Tried Deleting 'iPhone Software Update' folder in iTunes and Re-Downloding Updates    Nothing Works... Any Help will be appreciated


How to export unedited version of photos, but keep cropping/straightening edit in Lightroom?

I am using Lightroom, version 5.7.1 to be specific. I have shot many photos and edited (retouched) for a client, exported them. But my client is so paranoid that she also wants unedited version of the photo.   I know how to export photos simply. But how to export unedited one without losing my precious edits? Please note that I want to keep the straightening data (crop), but not other ones.  I want jpg format images. Not the originals, which is cr2 for me.


Creating an URL desktop shortcut does not work

I tried editing a sample text with the example in this thread: . However it's still doesn't work, also I gave execution permissions for everyone, just in case (chmod 777 desktop_entry.desktop)     nano desktop_entry.desktop  GNU nano 4.8                 desktop_entry.desktop                                [Desktop Entry]  Encoding=UTF-8  Name=Link to Ask Ubuntu  Type=Link  URL=https://open.spotify.com/  Icon=text-html


Write a non-recursive algorithm to compute n factorial

I am having problems writing a code in java to compute n! without recursion. I know how to do it in loops, but I am not sure how to do it non-recursively.  procedure factorial  if n = 1 or n = 0 return 1 if n>1 return(n*factorial(n-1)) end


unable to login with the newly created user ( changed root directory permission to 0750)

I created a linux user using a script .Also i want the newly created user to access only certain folders in the (/ )root directory.For that i changed the permission of root directory to 0750.     chmod -R 0750 /*  After that when i tried to login to the newly created user with login command i am getting   cannot chdir to home directory '/home/newuser'   cannot execute '/bin/bash ' :permission denied .  i changed the permission of /bin/ folder to 0777 ,also set /home/newuser / permission to 0777 .still i am unable to login .  Is it possible to login with the new root permission .


Why do parasites sometimes kill their hosts?

It's bothered me for a while now. I understand why a parasitoid would do this, as it only temporarily requires the host, and that not all parasites kill their hosts.  There seems to be no evolutionary advantage in killing a host, because the parasite relies on the host for resources. Yet some organisms, usually microscopic pathogens, seem to fatally damage the host with no immediate benefit to themselves. Why is this?   I know this is asking for a broad soft answer, but I don't want the question to get bogged down by a specific species, although bonus points for using examples.


Share monitors and peripherals between Linux PC and 2020 Macbook Pro 13"

I have a Linux PC tower, two monitors (one HDMI the other DisplayPort), and a keyboard/mouse. I also have a 2020 Macbook Pro 13". I'd like to be able to use my two monitors + keyboard and mouse with my Macbook without having to unplug them from my Linux PC. I'm aware I should get a docking station for the MacBook. However, I'm not sure how to share the monitors, keyboard, and mouse between the two computers. Is there a simple KVM switch that will work? Thanks.


A lot of people will interchange an "o" for a zero when speaking them aloud, like with phone numbers and postal codes, so I'm thinking this is the same here, but with nicknames like "threepio", I'm not so sure.  I'm looking for the canon answer here.


Is it possible to make visible spotlight lightrays?

I'm using a Spotlight on one of my scenes, first I planned to make the effect of the lightrays on other editing software, but maybe it's possible on Blender. It is possible to make a spotlight look like the image below? (also, I'm using cycles)  Thanks in regard! :)


Egyptian fractions with prime power denominators summing to 1?

Inspired by        Can we solve the equation $$1=\frac{1}{a_1}+\frac{1}{a_2}+\frac{1}{a_3}+\cdots +\frac{1}{a_n}$$ where $a_1,a_2,a_3,\cdots ,a_n$ are distinct prime powers (primes are allowed) ?   I tried a modified greedy-algorithm with different starting vectors and brute force with $6$ entris with limit $200$, but did not find a representation.