I have just installed TeXLive-2014 through MacPorts. But it doesn't come with a tlmgr executable. I previously used TeXLive-2013 installed with MaxTeX.pkg which had tlmgr as part of its installation. I don't see why the MacPorts installation doesn't contain it.  I really need tlmgr to install, update and upgrade packages from CTAN with ease. If this is not possible, is there any substitute for tlmgr in the MacPorts installation of TeXLive?

I have installed TeXlive through MacPorts and now discover that I am missing some package. For clarity let's use a trivial example and say I am missing lipsum.sty.  I now have two options:  Option 1  I go to a CTAN site, look for lipsum.sty, download it, and install it in ~/Library/texmf/tex.  This is not bad, but it leaves it possible that I will end up with a second lipsum at some point. That's why the second option is desirable.  Option 2  2.1-- I find out which MacPorts package includes lipsum.sty  and  2.2-- I sudo port install the necessary package.  How do I do 2.1?


How can i do this labels? A labels in top another in bottom in the same layer?

I do not see any obvious setting for stacking labels in ArcMap (ArcView license).   Am I missing something or do i have to write a complex expression to stack my labels?


I've been using Blender for less than a week, so please have mercy ;)  I'm trying to model this simple weigh boat.     I started with a plane and a circle, solidified the plane, added inset and edge loop, and then created new faces connecting all 16 vertices of the circle to various vertices of the square- each face has 3 or 4 edges.     The problem is that when I turn on the Subdivision Surface modifier, my square object is converted into higher-order geometry (octagon, etc.).     How do I smooth the low-poly construct without changing the number of edges? I have a feeling this would involve edge loops but I can't figure out where to put them.

How can I use the subdivision surface modifier to create more high poly meshes without ruining sharp edges? For example this mesh  The sphere should be subdivided but the rim of the cylinder should stay the same because it is a sharp edge. This is the result of the subdevision  How can I get sharp edges to not be affected by the sub surf mod?


How to prove $$\det(I-AB)=\det(I-BA)$$ if one of the matrices is singular. I tried the following way: Let $A$ be singular. Then $$\det(AB)=0$$ and $$\det(BA)=0$$  Now since $AB$ be singular $\exists$ a non-zero vector $x$ such that $$ABx=0$$  Hence  $$(I-AB)x=x$$  and similarly $\exists$ non-zero vector $y$ such that  $$(I-BA)y=y$$  Any help here?

Sylvester's determinant identity states that if $A$ and $B$ are matrices of sizes $m\times n$ and $n\times m$, then   $$ \det(I_m+AB) = \det(I_n+BA)$$   where $I_m$ and $I_n$ denote the $m \times m$ and $n \times n$ identity matrices, respectively.  Could you sketch a proof for me, or point to an accessible reference?


I'm trying to find good game capture software to use my climax digital vcap 303 with, the disc it came with didn't work (ArcSoft Showbiz)after downloading wine.   I have downloaded TVtime television Viewer but I can't seem to get it to work. The answers in  didn't help.

Is it possible to record live streaming from websites such as Ustream or any other similar website using Adobe Flash Player?   I know that is possible to record the screen but the quality is not that good.  Any suggestions for any applications?   PS: I found that I can easily record Windows Media Streaming Videos or any other similar videos using VLC, easy and fast.


Does anyone know how to tell windows 7 to bar a wireless network? It keeps logging into a random open one with no bandwidth my neighbors have instead of the good one we have here. I keep unchecking "automatically log in if available" and it keeps re-checking itself. I want it to NEVER log into this network no matter what without manual intervention. I do not want to disable auto connecting, just tell it "do not ever connect to this one without my express permission".

I'm using Windows 7. There is an access point of a service provider WiFi near my house. The WiFi is not free and not WEB/WPA protected. Everyone can connect to it and it will show the company's login page. (if the username/password are put correctly, their customer can use the net.)  I'm not the customer of the company and have my own access point in my house. But my computer always connect to the network of that company. I tried to remove the network but it keep coming back and connect to that access point instead of mine.  What can I do to make my computer choose my access point first?


What is the correct sequence to perform PCA + cross-validation out of these two?   Perform PCA and then perform k-fold cross validation on the reduced features. Perform k-fold cross validation in outer loop and perform PCA internally.

I have a dataset for which I have multiple sets of binary labels. For each set of labels, I train a classifier, evaluating it by cross-validation. I want to reduce dimensionality using principal component analysis (PCA). My question is:  Is it possible to do the PCA once for the whole dataset and then use the new dataset of lower dimensionality for cross-validation as described above? Or do I need to do a separate PCA for every training set (which would mean doing a separate PCA for every classifier and for every cross-validation fold)?  On one hand, the PCA does not make any use of the labels. On the other hand, it does use the test data to do the transformation, so I am afraid it could bias the results.  I should mention that in addition to saving me some work, doing the PCA once on the whole dataset would allow me to visualize the dataset for all label sets at once. If I have a different PCA for each label set, I would need to visualize each label set separately.


I read this short story as a kid 25-30 years ago at a minimum. Details in my description may reflect that time gap. I'm at a loss for the title or author, but I'd like to read it again as an adult.  Plot  The story takes place in the USA, and seems to be contemporaneous to the date of publication, which I guess to be in the mid to late 1970s.   The basic plot is that a large government, military, private institution, or possibly even a rogue player wants to popularize the idea of fighting a nuclear war so that people don’t oppose it. In fact, they want people to actually be excited about it and embrace the possibility.   To foster a pro-nuclear war public opinion, an agent of the organization recruits or forms a rock band. I think the genre was acid rock or late 1960s psychedelic because the descriptions of the band's imagery and live shows reflects that era’s visual style. I feel like there was a spinning wheel optical illusion that would mesmerize people. I remember they kept playing to bigger crowds as the story progressed. The band becomes immensely popular. They end up shifting public opinion and people began demanding a nuclear war, if I recall right.  Here’s a key part of the story (and the thing that made me most scared as a kid reading it). The phrase “Do it, do it. Press the button, press the button!” (or some variant) was either part of the lyrics to a song, or some subliminal messaging hidden in the music, or maybe a chant that the band led the audience in. I know the audience heard it in some way, because they embraced the chant. It all bordered on a mob mentality and I remember being really disturbed that people would be calling for nuclear war.    Story spoiler with additional clues     I think it ended like this. At the height of their popularity, during one of their concerts, they were broadcasting live to a massive TV audience. One of the viewers was a fan of the band, and he also worked in a nuclear missile silo. The music, or chanting, or subliminal messaging made him launch a nuclear missile. I believe the implication was that it started WWIII.

I’m looking for a short story from the sixties that had to do with a rock band giving a concert where the climax of the show was a detonation of a nuke. The US government sponsored the concert trying to convince the public to use nukes in Vietnam to end the war.    My Dad used to bring home science fiction anthologies home with him from his business trips and this is one of the stories I remember.


Hi my network map is like this  internet--Arris589--wavlink rounter--my PC== apache2     my problem is when the web packs come in they get the "this webpage is down message" and when I connect to the page its works. I have already tried port forwarding and set up apache. This is what my config looks like in apache  my webhub.network.conf: <VirtualHost *:80>     ServerName www.webhub.network     ServerAlias webhub.network     DocumentRoot /home/chris/Documents/homeserver/     <Directory /home/chris/Documents/homeserver/>         Options Indexes FollowSymLinks         AllowOverride None         Require all granted     </Directory> </VirtualHost>

You can reach this IP address  (if my computer is online). I want to assign a domain to it so I wonder how is that possible when I have no DNS? I do own my domain which is ".com". My IP is static.  Thanks


I'm asking about , on which a bounty was started on Jan 13 at 7:46     And which  on Jan 13 at 16:10 and the OP accepted as the best answer on Jan 13 at 19:34. So all of this happened within the active bounty period.  Then according to , which says:    I think I should have been awarded the bounty by now. However, the question still shows this:    Is there a time delay I'm not aware of here or is this a bug?

It says in the faq:     If you do not award your bounty within 7 days (plus the grace period), the highest voted answer created after the bounty started with at least 2 upvotes will be awarded half the bounty amount. If there's no answer meeting that criteria, the bounty is not awarded to anyone.   Then why I did not get half of bounty for this question:   I need to mention that the author accepted the answer and then declined it; might have something to do with that.


The Setting:  Two wizards both ready the Polymorph spell targeting each other.  They both choose the same trigger.  In this example let us say the trigger is someone shouting “now.”  What happens?  Does the reaction casting of Polymorph from each wizard happen at the same time resulting in both wizards being transformed? Or no?  If not, why?

Concerning the following scenario:   On her turn of the combat round, Alice readies an action to attack Bob as soon as he's within her weapon's reach. On his subsequent turn in the same round, Bob readies an action to attack Alice as soon as she's within his weapons's reach, and moves adjacent to Alice.   In what order are Alice and Bob's attacks resolved?


Do Newton's and Einstein's theory of Gravity differ very much when calculating satellites orbits. If they don't, in what areas do they actually differ?

I'm wondering if it's possible to send a man to the Moon using equations consistent with Newtonian gravity and without the elaborate tools of Einstein gravity. Are the predictions made by Newtonian gravity sufficiently precise to plan a successful voyage? If not, where would the Newtonian equations fail and how does Einstein gravity correct for these deficits?


minimal working example:  \documentclass[12pt,openright]{book} \usepackage[backend = bibtex8, defernumbers = true,  sorting=none,  style = numeric]{biblatex} \usepackage{filecontents} \begin{filecontents}{bib1.bib}  @ARTICLE{dunbar2006distributed,  author = {Dunbar, William B and Dunbar, William B and Murray, Richard M}, title = {Distributed receding horizon control for multi-vehicle formation stabilization}, journal = {Automatica}, year = {2006}, volume = {42}, pages = {549--558}, number = {4}, publisher = {Elsevier},  } \end{filecontents}  \addbibresource{bib1.bib} \renewbibmacro*{name:last-first}[4]{% \setcounter{liststop}{10}%                             % 列出所有的作者 \ifuseprefix   {\usebibmacro{name:delim}{#3#1}%  \usebibmacro{name:hook}{#3#1}%  \ifblank{#3}{}{%    \ifcapital      {\mkbibnameprefix{\MakeCapital{#3}}\isdot}  {\mkbibnameprefix{#3}\isdot}%    \ifpunctmark{'}{}{\bibnamedelimc}}%  \mkbibnamelast{#1}\isdot  \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%   \ifblank{#2}{}{\addcomma\bibnamedelimd\mkbibnamefirst{#2}\isdot}}   {\usebibmacro{name:delim}{#1}%  \usebibmacro{name:hook}{#1}%  \mkbibnamelast{#1}\isdot  \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%  %     \ifblank{#2#3}{}{\addcomma}%  \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}\isdot}%  \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}   }}  \DeclareNameFormat{default}{% \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% \usebibmacro{name:andothers}% }   \begin{document}  some text \cite{dunbar2006distributed}.  \printbibliography  \end{document}   and the corresponding output of reference is shown as:  Here is the desired output:   Change the '.,' in to ',' between authors and eliminate the '.' between surname and first name, but leave spaces, Thanks!

The traditional reference format can be set by the following command  \documentclass[12pt,openright]{book} \usepackage[backend = bibtex8, defernumbers = true,  sorting=none, style = numeric]{biblatex} \usepackage{filecontents} \begin{filecontents}{bib1.bib} @ARTICLE{dunbar2006distributed, author = {Dunbar, William B and Dunbar, William B and Murray, Richard M}, title = {Distributed receding horizon control for multi-vehicle formation stabilization}, journal = {Automatica},  year = {2006},  volume = {42}, pages = {549--558}, number = {4}, publisher = {Elsevier}, } \end{filecontents}  \addbibresource{bib1.bib} \renewbibmacro*{name:last-first}[4]{% \setcounter{liststop}{10}%                             % 列出所有的作者 \ifuseprefix {\usebibmacro{name:delim}{#3#1}%  \usebibmacro{name:hook}{#3#1}%  \ifblank{#3}{}{%    \ifcapital      {\mkbibnameprefix{\MakeCapital{#3}}\isdot}  {\mkbibnameprefix{#3}\isdot}%    \ifpunctmark{'}{}{\bibnamedelimc}}%  \mkbibnamelast{#1}\isdot  \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%  \ifblank{#2}{}{\addcomma\bibnamedelimd\mkbibnamefirst{#2}\isdot}} {\usebibmacro{name:delim}{#1}%  \usebibmacro{name:hook}{#1}%  \mkbibnamelast{#1}\isdot  \ifblank{#4}{}{\bibnamedelimd\mkbibnameaffix{#4}\isdot}%  %     \ifblank{#2#3}{}{\addcomma}%  \ifblank{#2}{}{\bibnamedelimd\mkbibnamefirst{#2}\isdot}%  \ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot} }}  \DeclareNameFormat{default}{% \usebibmacro{name:last-first}{#1}{#4}{#5}{#7}% \usebibmacro{name:andothers}% } \renewrobustcmd*{\bibinitperiod}{} \renewrobustcmd*{\bibinithyphendelim}{} \begin{document} some text \cite{dunbar2006distributed}. \printbibliography \end{document}   and the corresponding output shown as:   Here is the desired output:   How can I modify the command to change the '.,' into ',' between authors and eliminate the '.' between surname and first name? Thanks!


I was wondering, can a prime number be negative? We had a question over at  which stated that prime generation with openssl:  openssl dhparam -text 1024   results in a 1024-bit number to which leading zeros are added (resulting in 1032 bits). It could be the case that this is done to sign the integer,  however it was my believe that negative primes did not exist?

Do we have negative prime numbers?   $..., -7, -5, -3, -2, ...$


I am using SQL server 2008 R2 and need to restore 36 .trn logs to a database. I have restored the first 4 using the restore transaction log functionality in SSMS (right click database > tasks > restore > transaction log). Is there a way to restore them all in order using this tool or with a script? The .trn files are in a folder on a remote server. I do not not need to restore all the files in the folder, only ones between specific dates.  Thanks in advance

I'm using SQL Server 2008 R2, and I need to restore 36 .trn logs to a database. I have restored the first 4 using the restore transaction log functionality in SSMS (right-click database > tasks > restore > transaction log).   Is there a way to restore them all in order using this tool or with a script? The .trn files are in a folder on a remote server. I do not not need to restore all the files in the folder, only ones between specific dates.  I'm looking for a way to automate this so I don't have to manually restore each individual log.  I access the files using an address like the one below.  \\remote server IP\SQL_Backup\LMSQL02\TLog\file.trn


I watched the whole anime and I'm interested in buying the manga where the anime left off. Thank you in advance.

First of all, why was the anime completed before the manga? As far as I am aware, the anime is ahead of the latest manga chapters by a large margin.  I've heard that the anime actually differs from the manga; does this mean we might get a remake like Fullmetal Alchemist: Brotherhood for Fullmetal Alchemist?  Furthermore, will the manga continue on with Akame's story? Will it explain some of the plot holes that were left unanswered in the anime?


I believe there are MS Word docs on a Windows 10 system, but that their extensions have been changed to hide them. How can I search the file system, looking at file contents, not extensions, to identify any unlabeled Word docs?  Docs may be .doc or .docx, and may be password-protected.

I sometimes get files from my clients that have the wrong file extension. For example, the name is image.jpg but the file is actually a TIFF image. In many cases I can clarify it by opening the file in a text editor, looking at the first few bytes, then deducing which file type it is.  This works for me with JPEG, TIFF, GIF and PDF files. However there are many more file types out there.  Is it possible to automate identification of the correct file type by analyzing the containing data?


I blame fan fic for this question, in particular a fic wherein Harry becomes an Animagus in the form of a Niffler.      The Niffler is a British beast. Fluffy, black, and long-snouted, this burrowing creature has a predilection for anything glittery. Nifflers are often kept by goblins to burrow deep into the earth for treasure. Though the Niffler is gentle and even affectionate, it can be destructive to belongings and should never be kept in a house.   Fantastic Beasts and Where to Find Them - Page 30 - Scholastic Books   Q: Are there any instances of an individual whose Animagus form is a magical creature?  For sources, let's please stick to any magical creature found in the seven novels and three ancillary books, tidbits from Pottermore, or creatures as described in interviews with J. K. Rowling. Please note that I am not a fan of the Harry Potter wikia as a source.

Similar to my old question about  are there any limits to the animal forms an Animagus can be?     We know that the animal form can be much smaller than human (cat, rat, beetle) so I don't think size is a factor.   I'm not aware of any Animagus who transforms into a magical creature (e.g. unicorn or phoenix) so maybe those aren't possible.   Ultimately, what I'd like to know is whether there could be a T-Rex Animagus... (prompted by )


I can display specify line number use the command   sed -n '22p; 24p; 27p' blah.conf   output  A B C   I need to insert comment # in this beginning of this 3 specify line number, I only successful run this command add comment from line 22 to 24 but not the specify line number, I have try many syntax but fail  sed -i '22,24 s/^/#/' blah.conf   output  #A #B #C   if insert comment work, I also need the the command to do the opposite remove the comment  output  A B C   Thanks

I do know how to replace a string from a specific line such as:   sed -i "<line number>s/<old string>/<new string>/g" <file name>   however I do not know how to replace a string from multiple lines for example from a line number 1 then 10 and then 100


What are the differences between the following commands?:  git diff foo master   # a  git diff foo..master  # b git diff foo...master # c    talks about it:     Comparing branches  $ git diff topic master    <1> $ git diff topic..master   <2> $ git diff topic...master  <3>          Changes between the tips of the topic and the master branches.   Same as above.   Changes that occurred on the master branch since when the topic branch was started off it.      but isn't totally clear to me.

Some Git commands take commit ranges and one valid syntax is to separate two commit names with two dots .., and another syntax uses three dots ....  What are the differences between the two?


I want forecast inflation using ARIMA model. My questions are:     Does ARIMA require normally distributed input data? (Because my data—inflation—is not normal.) If ARIMA require normally distributed input data, how can I transform it to be normal? My data (inflation) contains negative values so I couldn't use the log transform to handle it.

I have two questions related to time series forecasting with ARIMA:   Does ARIMA require normally distributed errors or normally distributed input data ? Are there any assumptions on input time series data for ARIMA model and exogenous variables for ARIMAX model ?


Let $R$ a commutative ring with unity, and let $I,J\trianglelefteq R$ ideals such that $I+J=R$. Prove that $IJ=I\cap J$. Recall $IJ=\{\sum_{k=1}^n i_kj_k:i_k\in I,j_k\in J, k\in \mathbb{N} \}$.    I have shown that $IJ\subseteq I\cap J$. The rest of the solution does not use the commutativity of $R$ so my question is where is the mistake:  Let $a\in I\cap J$. $a=a\cdot 1\in IJ$ thus $I\cap J=IJ$.

If $R$ is a commutative ring and $I$ and $J$ are ideals s.t. $I+J=R$ then show that $IJ=I\cap J$.  I've already shown that $IJ \subset I\cap J$, now I need to show the reverse inclusion.   I'm a bit lost, so far i'm just figuring out what pieces I have to work with.  Such as:  $\forall r\in R$ $\exists i\in I ,j\in J$ s.t. $i+j=r$  $\forall ij\in IJ$, $ij=i_1$ and $ij=j_1$ for some $i_1\in I$, $j_1\in J$.  Also, if I let $x\in I\cap J$, then $x=i_2=j_2=i+j$ for some $i_2\in I$, $j_2\in J$  Anyone, having problem getting to the conclusion here, thanks in advance


The  is an 80 year-old open Math problem. Recently, I made a remarkable discovery of the long sought visual pattern in the conjecture. This never-before-seen visual pattern led me to two significant results: (a) a natural proof that the Collatz conjecture has no non-trivial cycles, and (2) a direct link between the Collatz conjecture and prime numbers. My question: If you have proven a major unresolved question in mathematics but you are out of touch with university professors, or someone who can endorse you on arXiv, how can you get your paper published and noticed by professional mathematicians? My paper can be found . I'm currently not interested in publishing in a journal, unless someone wants to pick up that challenge with me.

I am interested in the situation where you have a very interesting result. For instance, you have solved a very important open problem. However, you are not known in the field and do not have any remarkable publications. Your supervisor thinks the work is good and you submit the work to a high profile journal, but you get rejected.  The thing is that the contribution is very strong. It breaks what most people believe or what they have already proven: e.g., you solve the P vs. NP problem or any other well known open problem.   The reviewers strongly reject your work with no justification and they do not state why the result is wrong. Examples of reviewer comments include:   "The proof must be wrong."  "You cannot achieve such a result."  "You do not understand well the notion of ..."   My question is what to do in this situation? Where to go? If your advisor accepts the work, but the reviewers from the top journal reject the work without even explaining the mistakes,  what should you do?


This takes into account size, materials required, and golems spawning and villager placement.  I'm aware that there's a design to spawn villagers and subsequently spawn iron golems when you reach around 12 villagers, but what's the most efficient design that utilizes the best of all of the above, yet is simply automated?

I'm trying to create an iron golem trap, and while I can create huge ones (see screen shot below) I'm interested in making smaller ones.  I have tried several different variations, including this one, and they don't seem to ever spawn a golem.  There are tons of examples of farms on youtube, but from what I can tell they're all 1.2.2, granted farming in 1.2.5 is pretty inefficient, but I'm still interested in doing it.  What am I doing wrong?


public void method(int a[], int len, int x) {     Map<Integer, Integer> map = new HashMap<Integer, Integer>();      for(int i=0;i<len;i++)     {         System.out.println(i);         int temp = x-a[i];         System.out.println(temp);         if(temp>=0 && map.get(temp) ==1)         {             System.out.println(temp+" "+a[i]);         }         else         {             map.put(a[i],1);         }     } }   java.lang.NullPointerException is occurring on line no. 9. How to remove this???

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


I found this problem in a Romanian Magazine. Let $(a_n)_{n \ge 1}$ be a sequence such that $a_1 \lt 0$ and $a_{n+1}= \lfloor a_n \rfloor \{ a_n \}$. Show that there exists $n_0 \gt 1$ such that $a_{n+2}=a_n$, $ \forall n \ge n_0$.

The problem states:  a sequence of real numbers $a_0, a_1, \dots $ is defined as follows. $a_0$ is an arbitrary real number and for $n \ge 0, a_{n +1} = \lfloor a_n \rfloor \{ a_n \}$ (where $\{x\} = x - \lfloor x \rfloor$).  Prove that for $a_n = a_{n+2}$ for $n$ large enough.  my attempt:  I notice that this is a decreasing sequence because $$\frac{a_{n+2}}{a_{n+1}} = \frac{\lfloor a_{n+1} \rfloor \{ a_{n+1} \}}{ a_{n+1}} < 1$$  since $\{ a_{n+1} \} \le 1$ (we can exclude the case where it's equal to one since then it becomes the null sequence that satisfies the thesis).  Moreover this sequence is bounded between $0$ and $a_0$ so by the monotone convergence theorem it must have a limit.  Taking the limit I obtain $$\ell = \lim \lfloor a_n \rfloor (\ell - \lim \lfloor  a_n \rfloor) \iff \ell = - \lim \lfloor a_n \rfloor^2 / (1 - \lim \lfloor  a_n \rfloor) $$  And so if I prove that there exists $n$ s.t. $ \lfloor a_n \rfloor < 1$ I am done. Because then the limit could only be $0$ and this implies that there exist infinite $a_n = a_{n+2} = 0$.  But I can't seem to prove it. Is my reasoning up to now ok? How could I proceed?  Edit:  Add original text of the problem.


I have a software which when I go its directory path in terminal I run ./myprogram and my application start so I want to know how to understand which files are reading by my program  which is not related to my program? for example suppose my program read files from system how to know which are this files?

I have a program which I am trying to run, however when I run it; it just complains that it can't find a particular file.  However I have no idea which folder it is trying to find this particular file in. I have a copy of the required file, I just need to know which folder to copy it too.  Is there any way to show in real time which files are being accessed or which files are trying and failing to be accessed?  I am using Ext4 filesystem if that helps.  Thanks


Hello I am having encoding issues on a web app I have created. this web app I have created translates from English to some other local language. these records are in my database (mysql)  what I have done to solve the issue of encoding? header("Content-Type: text/html; charset=ISO-8859-1");  the above did fix a lot of encoding issues but I still had some encoding issues with some other data. Tried this too : header('Content-Type: text/html; charset=UTF-8'); but didn't solve any encoding issue see link to view encoding issue : https://www.4figure.ng/a/resultlang.php?lang=Igbo&&word=Good%20morning any suggestions on how to completely solve issues of encoding on my web app

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


Let $T:V\to W$ be an injective linear transformation. Given that $(v_1,\dots,v_n)$ is a basis for $V$, I want to show that $(T(v_1),\dots,T(v_n))$ is linearly independent. I've tried proving it by contradiction but have not made any significant progress. Any tips?

Problem 4.3.32 in Linear Algebra, Lay:  Let $V$ and $W$ be vector spaces, let $T:V\to W$ be a linear transformation, and let $\{\mathbf{v}_1, \dots , \mathbf{v}_p \}$ be a subset of $V$. Suppose that $T$ is a one-to-one transformation [...]. Show that if the set of images $\{T(\mathbf{v}_1), \dots ,T(\mathbf{v}_p)\}$ is linearly dependent, then $\{\mathbf{v}_1, \dots , \mathbf{v}_p \}$ is linearly dependent. This fact shows that a one-to-one linear transformation maps a linearly independent set onto a linearly independent set.  All I can think of doing: If $\{T(\mathbf{v}_1), \dots ,T(\mathbf{v}_p)\}$ is linearly dependent, then there exist weights $c_1, \dots, c_p$, not all zero, so that $$c_1 T(\mathbf{v}_1) + \cdots + c_p T(\mathbf{v}_p) = \mathbf{0}$$ Since $T$ is linear: $$c_1 T(\mathbf{v}_1) + \cdots + c_p T(\mathbf{v}_p) = T(c_1\mathbf{v}_1) + \cdots + T(c_p \mathbf{v}_p)=T(c_1 \mathbf{v}_1 +\cdots + c_p \mathbf{v}_p)=\mathbf{0}$$ So the set $\{\mathbf{v}_1, \dots , \mathbf{v}_p \}$ must be linearly dependent. Am I missing something? And why must $T$ be on-to-one for this to be true? An example showing that it is not true if $T$ is not one-to-one would be great!


I'm hoping the community can help me shed some light on a recent email spoof. Yesterday my client woke up to find hundreds of bounced failure notices.   The client did not personally send any of these emails. Each failure notice had a different reply-to address i.e.  xyxyxs@client-domain.co.uk trg@client-domain.co.uk hjd@client-domain.co.uk  The various reply-to addresses suggest that only the clients domain had been spoofed and not a specific email account (i.e actual-email@client-domain.co.uk).   I know if your email account has been spoofed, it's game over and you need to create a new email address. However, a specific address hasn't been targeted. Am I correct in thinking that I do not need to delete and create a new email address? I also assume the domain would have been widely blacklisted? Should I move hosting companies and would this make a difference?   Either way, I'll be implementing DKIM.  Sorry for so many questions, I'm just a little lost as the spoofer didn't target a specific email address.   Thanks

I receive Mailer Daemon messages saying certain emails fail. My domain is itaccess.org which is administered by Google apps. Is there any way I can identify who is sending emails from my domain, and how they are doing it without me creating an account for them?  Delivered-To: 7e949ba@itaccess.org Received: by 10.142.152.34 with SMTP id z34csp12042wfd;         Wed, 8 Aug 2012 07:12:46 -0700 (PDT) Received: by 10.152.112.34 with SMTP id in2mr18229790lab.6.1344435165782;         Wed, 08 Aug 2012 07:12:45 -0700 (PDT) Return-Path: <whao@www20.aname.net> Received: from smtp-gw.fsdata.se (smtp-gw.fsdata.se. [195.35.82.145])         by mx.google.com with ESMTP id b9si24888989lbg.77.2012.08.08.07.12.44;         Wed, 08 Aug 2012 07:12:45 -0700 (PDT) Received-SPF: neutral (google.com: 195.35.82.145 is neither permitted nor denied by best guess record for domain of whao@www20.aname.net) client-ip=195.35.82.145; Authentication-Results: mx.google.com; spf=neutral (google.com: 195.35.82.145 is neither permitted nor denied by best guess record for domain of whao@www20.aname.net) smtp.mail=whao@www20.aname.net Received: from www20.aname.net (www20.aname.net [89.221.250.20])     by smtp-gw.fsdata.se (8.14.3/8.13.8) with ESMTP id q78EChia020085     for <7E949BA@itaccess.org>; Wed, 8 Aug 2012 16:12:43 +0200 Received: from www20.aname.net (localhost [127.0.0.1])     by www20.aname.net (8.14.3/8.14.3) with ESMTP id q78ECgQ1013882     for <7E949BA@itaccess.org>; Wed, 8 Aug 2012 16:12:42 +0200 Received: (from whao@localhost)     by www20.aname.net (8.14.3/8.12.0/Submit) id q78ECgKn013879;     Wed, 8 Aug 2012 16:12:42 +0200 Date: Wed, 8 Aug 2012 16:12:42 +0200 Message-Id: <201208081412.q78ECgKn013879@www20.aname.net> To: 7E949BA@itaccess.org References: <20120808171231.CAC5128A79D815BC08430@USER-PC> In-Reply-To: <20120808171231.CAC5128A79D815BC08430@USER-PC> X-Loop: whao@whao.se From: MAILER-DAEMON@whao.se Subject: whao.se:  kontot avstängt - account closed X-FS-SpamAssassinScore: 1.8 X-FS-SpamAssassinRules: ALL_TRUSTED,DCC_CHECK,FRT_CONTACT,SUBJECT_NEEDS_ENCODING      Detta är ett automatiskt svar från F S Data - http://www.fsdata.se      Kontot för domänen whao.se är tillsvidare avstängt.     För mer information, kontakta info@fsdata.se      Mvh,     /F S Data      -----    This is an automatic reply from F S Data - http://www.fsdata.se    The domain account "whao.se" is closed.   For further information, please contact info@fsdata.se    Best regards,   /F S Data


I'm new to blender and I use hp elitebook 9470m which has i5 processor, recently I tried to make fractals on a single plane using script node which is basically only available in cycles render engine(using osl). When I tried to render a 180 frames of animation each frame took about 6 minutes to render, I searched for other ways. I realized that we can even do it in shader editor using math nodes. But I'm stuck at the usage of nodes and it's iterations  Can anyone help me how to complete this in which we can even zoom into fractals (I think iterations may require many nodes, but I seriously need this)

Is it possible to define a true mathematical fractal in Blender?   For example, would it be possible to use a script or a Blender addon to procedurally generate 3D fractal objects. This could be immensely useful for a number of natural objects that happen to be fractal in nature, such as snowflakes, broccoli, tree branches, ferns, coastlines, mountains, etc?  Fractal snowflake:    Fractal Romanesco broccoli:    My first thought was to use the Add 3D Function Surface addon, but that doesn't currently allow for recursive definitions. Using textures, combined with images of fractals could help with 2D objects (such as the snowflake), but this solution doesn't really allow for the generation of these fractals. So my question is, is it possible currently to recursively generate fractals in Blender, either with built in functionality or with an addon? If this functionality isn't yet available, would it be possible to write a script to do this?


I'm using Macbook Pro 2012 running Mac OS X 10.10.3 and earlier today, I was trying to install Linux on a USB drive through Terminal. I first converted the format with this:   hdiutil convert -format UDRW -o ubuntu.iso ubuntu-1xxxx.iso   Next, listed drives with:   diskutil list   Added my flash drive. And then ran this:  diskutil unmountDisk /dev/diskN   where N being the no. of drive from the DiskUtil list. Here by mistake I chose the disk0, my boot recovery in my opinion, and unmounted that.  After that I ran,   sudo dd if=./ubuntu.iso of=/dev/rdiskN bs=1m   where again N being the no of drive listed in DiskUtil list. Here again, absentmindedly I chose disk1, the Macintosh HD, in my opinion. And suddenly after that I realized, what was happening and cancelled the process midway.  After that I tried remounting my recovery, but my Mac froze and after I tried to restart i got stuck at the prohibitory page. I tried booting into Recovery with Command+R, and tried mounting my Macintosh HD from there, but it gave me a error, that it couldn't be mounted. It asked me, to check a Disk Verification and Disk repair, I did that on my Macintosh HD and both were okay. But after that also the problem persists and I can't mount the Macintosh HD and still stuck at the prohibitory page.  I want to save my data, and want to backup my Macintosh HD, to an external hard drive.

I have a Mac Mini without DVD drive (2010), and I used Boot Camp to install Windows 8.  Everything worked but after I played in Windows with the partitions (I wanted to expand the partition of the Mac). I made mistake and deleted every partition (even Recovery HD) except from my Boot Camp partition. Since then, my Mac mini only boots into Windows. I can't install OS X now.  I took from my friend an OS X Install DVD and Application Install DVD (he also has a Mac mini). Then I took my PC's external USB DVD drive and connected to Mac mini, inserted the OS X install disk and powered on. During the power on I held the ⌘C button and I saw HDD "BOOTCAMP" and CD "OS X INSTALL" so I selected the CD but after that I only see the gray screen with an Apple logo.  How can I install OS X again on my Mac?


Is it grammatically incorrect to follow the abbreviations ie and eg with etc? My daughter's English teacher told her that this in an absolute no-no and is never permitted under any circumstances. He also said that this could warrant an F on an English submission. This must be an egregious grammatical error!  Consider these examples.  Mike brought the goodies (eg chocolate fudge, lemon meringue pie, etc) to the party.  When eating a squirrel taco, Bigfoot always added extra condiments (ie ranch dressing, ketchup, pepper, etc).  Good or bad?

I just read an article from a Chinese website for English teaching which mentions  that point. For instance, one can't say:     "I can play quite a few musical instruments, for example, the flute, the guitar, the piano, etc.".    The correct one should be:     "I can play quite a few musical instruments, for example, the flute, the guitar, and the piano."    Is it possible to find any references to prove that?


Show that the identity permutation cannot be expressed as the product of an odd number of transpositions.   For example consider the example of $S_3,$ $\sigma_{id} = (123)(321) = (1 2) (13)(32)(31)$, which means even number of permutations.  In general let $\sigma_{id}= \sigma_1.\sigma_1\cdots \sigma_k $, I need to show if I rewrite each $\sigma_i$ as transpositions then  odd number of transpositions will be there.  Thank You.

Theorem. If the identity is written as the product of $r$ transpositions, $id=τ_1τ_2\dots τ_r$, then $r$ is an even number. Proof. We will employ induction on $r$. A transposition cannot be the identity; hence, $r > 1$. If $r = 2$, then we are done. Suppose that $r > 2$. In this case the product of the last two transpositions, $τ_{r−1}τ_r$, must be one of the following cases: $(ab)(ab) = id\\ (bc)(ab) = (ac)(bc)\\ (cd)(ab) = (ab)(cd)\\ (ac)(ab) = (ab)(bc),$ where $a$, $b$, $c$, and $d$ are distinct. The first equation simply says that a transposition is its own inverse. If this case occurs, delete $τ_{r−1} τ_r$ from the product to obtain $id=τ_1τ_2···τ_{r−3}τ_{r−2}$. By induction $r − 2$ is even; hence, $r$ must be even. In each of the other three cases, we can replace $τ_{r−1} τ_r$ with the right-hand side of the corresponding equation to obtain a new product of $r$ transpositions for the identity. In this new product the last occurrence of $a$ will be in the next-to-the-last transposition. We can continue this process with $τ_{r−2} τ_{r−1}$ to obtain either a product of $r − 2$ transpositions or a new product of $r$ transpositions where the last occurrence of $a$ is in $τ_{r−2}$. If the identity is the product of $r − 2$ transpositions, then again we are done, by our induction hypothesis; otherwise, we will repeat the procedure with $τ_{r−3}τ_{r−2}$. At some point either we will have two adjacent, identical transpositions canceling each other out or $a$ will be shuffled so that it will appear only in the first transposition. However, the latter case cannot occur, because the identity would not fix $a$ in this instance. Therefore, the identity permutation must be the product of $r − 2$ transpositions and, again by our induction hypothesis, we are done. Question: That is the proof written in the book, but unfortunately after more than $10$ times reading I don't understand the last two paragraph (i.e., from "In each of the other three cases"). Is there another simpler proof or could someone please clarify what is going on? Thank you.


I have this code:  for (int i = 0; i < Maps.Count; i++) {      string startTag = FirstTags[i];     string endTag = LastTags[i];     startIndex = Maps[i].IndexOf(startTag);     while (startIndex > 0)     {          endIndex = Maps[i].IndexOf(endTag, startIndex);         if (endIndex == -1)         {             break;         }         string t = Maps[i].Substring(startIndex, endIndex - startIndex + endTag.Length);         if (i == 0)         {             imagesSatelliteUrls.Add(t);         }          position = endIndex + endTag.Length;         startIndex = Maps[i].IndexOf(startTag, position);      }      imagesSatelliteUrls = imagesSatelliteUrls.OrderBy(q => q).ToList();   So the first itertion/loop i = 0 Then its getting into a while loop. Then i did:  if (i == 0) {     imagesSatelliteUrls.Add(t); }   So in the end imagesSatelliteUrls contain 9 files. I want to add another index to the beginning of the imagesSatelliteUrls List. A string so index 0 will be for example: "Group 1" And then the rest 9 index will be the files.  But how do i add only once and to the beginning of the List the string: "Group 1" ? So in the end the List should look like:  index[0] "Group 1" index[1] file 1 index[2] file 2 . . . . index[9] file 9   So i know that "Group 1" is from 1 to 9.

I want to add a "Select One" option to a drop down list bound to a List<T>.   Once I query for the List<T>, how do I add my initial Item, not part of the data source, as the FIRST element in that List<T> ?  I have:  // populate ti from data                List<MyTypeItem> ti = MyTypeItem.GetTypeItems();     //create initial entry     MyTypeItem initialItem = new MyTypeItem();     initialItem.TypeItem = "Select One";     initialItem.TypeItemID = 0; ti.Add(initialItem)  <!-- want this at the TOP!     // then      DropDownList1.DataSource = ti;


There are several types of cartograms out in the world, but I feel the best one are the continuous cartograms made with separate pixels. I recently made one on paper and then transcribed it to excel by filling in each cell with different colors. This was time consuming and disheartening.  Is there a straightforward way of doing a similar cartogram in ArcGIS?  Examples

I would like to build a cartogram map using Web GIS.   I have a basemap and a set of raw data in excel.   I wondered what are the steps to build up a cartogram map using Web GIS?  Note: Originally this Question solicited Answers for both Web GIS and ArcGIS for Desktop.  A new Question has been asked focussed on ArcGIS for Desktop () and so this one has now been focussed on Web GIS (which itself is still quite broad).


I just marked the seams and unwrapped this human mesh. After I unwrap it, it looks like this ...      I have no idea why this is happening. Please ask, if you need further information.

I have been looking all aver for this problem and haven't run in to what this is... Normally I mark my seems and I get a nice UVMap ready to texture but sometimes I get this and it is just kicking my butt trying to find a fix.   Sorry if someone already asked this. I just couldn't find what this is and why it only happens sometimes and what is causing this.


I'm thinking about upgrading my lens. I am currently using a canon 4000d with its kit lens 18mm - 55mm, as I don't have the money at the minute to upgrade both (want to upgrade to a full frame in the future) I think upgrading the lens would be better than upgrading the body. Does anyone have any ideas on what I could upgrade to? I take specifically landscape photos. I understand that the crop sensor on the 4000d has a crop factor of 1.61 so that means I'm not getting 18mm, I'm getting 28/29mm at its widest. Would be looking for something that's abit wider and better quality! Any suggestions would be appreciated it!

As the question says, when should I upgrade my camera body? In particular, if I have a low- to mid-range body (A DSLR such as a Nikon D3200 or Nikon D5100, or Canon SL1 or T5, or a mirrorless camera such as a Panasonic GH3 or an Olympus E-PL6). How do I know when I need to upgrade?  I have a complement of "kit" lenses, such as an 18-55mm f3.5-5.6 and a 55-200mm f4-5.6. Maybe I've even added a 50mm 1.8 to the kit. Flash is only for indoors (right?) and I usually shoot outside, so that means I don't need an external flash.  I shoot photos of my family and friends whether out at the park or having a picnic, my kids sports practices and games, vacation photos, as well as some landscapes, flowers, and whatever else catches my eye. Pretty familiar territory. I'm not a professional and don't intend to become one.


I am comparing $[0,1) \times (0,1)$ and $(0,1) \times (0,1)$. They are pretty clearly homeomorphic intuitively (since you're effectively just adding one more verticle component to infinitely many vertical components). But I'm not too sure how to show it.  Edit: this was actually not clear nor at all intuitive

I know how to show $[0,1] \times [0,1]$ is not homeomorphic to $(0,1) \times (0,1)$ by a compactness argument. Is there such an argument that shows $[0,1) \times (0,1)$ is not homeomorphic to $(0,1) \times (0,1)$? If not, what is the best way to show that they're not homeomorphic?


I have a schengen short stay  visa can I enter to london I have examine pte acedemic test  in london

I'm Russian, and I have touristic  Schengen short stay visa. I want to know, can I stay for some period in UK without getting UK visa, or it is not possible (I heard about 36 hours free of visa staying or something like that)


my method sum(String .. numbers) return the sum of the number in array  my array always contains contains valid floating numbers in the form of string sometimes the provided implementation return a wrong sum example  sum ("99.35","1.10) return 100.4499999999999 when I try the round method, it generates exception  How can I do to return the exactly sum  class calculator{ static String sum(String ...numbers) { double total=0; for (String number:numbers) {`total+=Double.parseDouble(number);} return  String.copyValueOf(total);}   the solution is here  static String sum(String ...numbers) { double total=0; String S = null; for (String number:numbers) { total+=Double.parseDouble(number);        String x = String.valueOf(total);     NumberFormat nf = new DecimalFormat("#.###");      S = nf.format(total);}     return String.valueOf(S);}

public class doublePrecision {     public static void main(String[] args) {          double total = 0;         total += 5.6;         total += 5.8;         System.out.println(total);     } }   The above code prints:  11.399999999999   How would I get this to just print (or be able to use it as) 11.4?


How to change all equations point size(inline and display equations) globally, point size worked in within \begin{array}...\end{array} but not changed for $....$?  Please find MWE file:  \documentclass{book} \usepackage{amsmath,array} \usepackage{stix}  \everydisplay{\fontsize{15pt}{18pt}\selectfont} \everymath{\fontsize{15pt}{18pt}\selectfont}  \parindent0pt \begin{document}  Use the alternative calculation described above. In comparing the two values, you want to consider fluctuations in inventory over time. Use the alternative calculation described above. In comparing the two values, you want to consider fluctuations in inventory over time.  $\alpha\beta\gamma\delta\epsilon0123456789+-$ \bigskip  $\begin{array}{@{}l}\alpha\beta\gamma\delta\epsilon0123456789+-\end{array}$   \begin{align*} \alpha\beta\gamma\delta\epsilon0123456789+- \end{align*}  \end{document}

My text is in Persian/Kurdish and therefore I use a different font for the text and the font has different characteristics like height, I just want to change the font size that is used in Math mode. I want to add some statements perhaps in the preamble affecting the whole document.


I wanted to install PeerGuardian in Kubuntu 17.10.1. I followed .  The commands were:  sudo add-apt-repository ppa:jre-phoenix/ppa sudo apt-get update sudo apt-get install pgld pglcmd pglgui   Tried that and got this error message:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package pgld E: Unable to locate package pglcmd E: Unable to locate package pglgui   Then I read somewhere that it was:  sudo apt-get install pgl   But I got this error:  Reading package lists... Done Building dependency tree        Reading state information... Done E: Unable to locate package pgl   I heard that I need something called arm which is not x86 or amd64 but I am not sure.

When updating, I get the following error message:   W: The repository 'http://ppa.launchpad.net/mc3man/trusty-media/ubuntu xenial Release' does not have a Release file.   Here, I find another statement on this error:   This recommends removing certain PPAs; and, I'm not sure if I should do that since it might mean not getting the updates that I need.    Is this what I should do?


Is it possible to access file with extension *.txt or *.file in JavaScript?  I want to call this file in my function?

Is there local file manipulation that's been done with JavaScript? I'm looking for a solution that can be accomplished with no install footprint like requiring .  Specifically, I'd like to read the contents from a file and write those contents to another file. At this point I'm not worried about gaining permissions and am just assuming I already have full permissions to these files.


This number theory book I have proved that if $(a, b, c)$ are a primitive Pythagorean triple (i.e., $a, b, c$ have no common factors and $a^2 +b^2 = c^2$), then either $a$ or $b$ is odd. The book did that by assuming that both $a$ and $b$ are even (or odd) and derived a contradiction each time. (If $a$ and $b$ are both even, it showed $c$ would be too; if they're both odd, it ends up with an equation where the left-hand side is odd and the other even.) As an exercise, the book asks to use a similar reasoning to prove that either $a$ or $b$ must be a multiple of 3. The book didn't get to remainder classes or modular algebra yet, so I guess this "similar reasoning" wouldn't involve them. I don't think the book has even mentioned the word "remainder" yet. Keeping in mind that $a$ is even, $b$ is odd, and $c$ is odd, I tried to either assume that neither $a$ or $b$ are divisible by 3 and tried to derive a contradiction, or that if either wasn't divisible by 3 then the other was. Neither approach led anywhere, except calculations so long and tedious that you end up forgetting why you're even doing them. The book comes with no answers to problems, and I should note I suck at figuring out divisibility. Any hint would be greatly appreciated.

Can I infer from “If $a,b \in \mathbb{N}$ such that $(a,3)=(b,3)=1$ then $a^2+b^2\neq c^2$ for any $c\in\mathbb{N}$” that any pythagorean triple has a number which is divisible by $3$? If so, how can this relationship be proved geometrically?


Note: Re the suggestion that this question is a duplicate of  – This question asks specifically what etc and usr mean, ie. what English word(s) did they derrive from. Answers to this question may refer to the functions the directories serve, but this is either to help explain the origin of the name, or is just coincidental information.    I can relate to acronyms and abbreviations much more readily when I actually know how they were derrived.     It is oftn pssble to wrk out wht an abrvtion means if you know the the root words behind it... but unfortunately etc is a standard abbreviation for "et-cetera"... and for usr I think of "user"... but I can't see any correlation.      Most of the terse names in Linux actually make sense when I finally work out the expanded original normal words behind them..    Are the origins of these abbreviations lost in the mists of time, or are they "obvious" to all but me?     This question was promted by a comment I read yesterday, where someone described these things as Linux incantations ... I sympathize with him :)...

In Windows there’re perhaps only a couple of important folders (by important I mean important in my logical picture of the Windows file system) in the installation drive (in my case C:\). Namely Program Files and Windows. I simply stay away from Windows folder and the “add remove program files” is good enough to handle the program files folder of Windows. Of course there’s a folder named Users where the users (who are not admins) can access only their folders.  Thus there’s a clear picture at some level in my mind of the Windows file system. In Ubuntu, when I reach the location /, there’s a huge list of folders, most of which I have no clue as to what they contain. The /bin folder seems to be the equivalent of the Windows folder in windows. The /usr folder seems like it’s the equivalent of the Users folder in Windows. But even the /home folder looks like it can fit the bill.  Please understand that I do understand, that Ubuntu (Linux) has a different character than that of Windows, i.e., there need not be exact equivalent of Windows functions, in Ubuntu. All I am looking for is a bit more clearer picture of the Ubuntu file system.   This question is a part of a bigger question which I am splitting up to make it more answerable. The original question can be found here:


I heard a news anchor use a word to describe Donald Trump as someone who lies to accomplish, achieve personal gain.

I'm looking for an idiom which describes a person who does everything to get what he wants even by being dishonest.


let n ≥ 3 be an integer . then the statement   $ ({n!}) ^{\frac{1} {n} } $ ≤  $\frac{n+1}{2}$ is  A) true for every n ≥ 3  B)true if and only if n ≥ 5  C) not true for n ≥ 10  D) true for even integers n≥ 6,not true for odd n ≥ 5  my attempts ;  i was using the stirling formula  $ n! = e^{-n} {n^{n}}  $,, now im getting  $ ({n!}) ^{\frac{1} {n} } $ $  = (e^{-n} {n^{n}})^\frac{1}{n}  $ = $ \frac{n}{e} $ ≤  $\frac{n+1}{2}$..which is true for every n ≥ 3....so correct option is option A).  Is my answer is correct or not .pliz verified  and tell me the solution i would be more thankful..

Prove the following inequality, $$\sqrt{n} \le (n!)^\frac{1}{n} \le \frac{n+1}{2} \ \ \ \ \forall \ n\in \mathbb{N} $$


PHP 5.3.3  IF i try PDO i saw Russian text like "?????? ?????????"      $db = new PDO('mysql:host=' . $DBData['host'] . ';dbname=' . $DBData['base'] . ";charset=utf8;",          $DBData['user'], $DBData['pass'], array(         PDO::ATTR_ERRMODE            => PDO::ERRMODE_EXCEPTION,         PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,         PDO::ATTR_EMULATE_PREPARES   => false,         PDO::ATTR_PERSISTENT         => true     ));      $CONFIG = $db->query("SELECT * FROM `config`")->fetch();   If i try this i saw normal text:      $db = mysql_connect($DBData['host'], $DBData['user'], $DBData['pass']);     mysql_select_db($DBData['base'], $db);     mysql_query('SET NAMES utf8', $db);               mysql_query('SET CHARACTER SET utf8', $db);       mysql_query('SET COLLATION_CONNECTION="utf8"', $db);      $CONFIG = mysql_fetch_assoc( mysql_query("SELECT * FROM `config`") );   Why PDO didn`t work

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


Am trying to add my class in cache. If i do that it throws error like  Caused By: java.io.NotSerializableException: com.test.package.PropertyGroup     at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)   So i came to know that my object should implement Serializable interface for my class. And i have implemented Serializable interface. But it shows warning that my class should have serial version ID with two options default serial version ID and generated serial version ID . What is the difference between these two i.e serialVersionUID =1L and some random generated value serialVersionUID = 8243252575074067947L;

Eclipse issues warnings when a serialVersionUID is missing.       The serializable class Foo does not declare a static final   serialVersionUID field of type long   What is serialVersionUID and why is it important?  Please show an example where missing serialVersionUID will cause a problem.


In the US, most 15 and 20 AMP receptacles are installed with the hot and neutral on the top and the ground below.  However, sometimes they are installed the other way around, with the ground above.  I have heard vague explanations of safety given for this - eg, plugs are more secure in the upside-down position or a wire falling from above that lands on a ground is essentially harmless whereas landing across the hot and neutral results in an extremely dangerous short.  Do these explanations hold water?  Are there other reasons?  Is it just superstition?

My house has electric outlets in both orientations.  Which one is correct?  Should the ground hole be at the bottom or the top?    OR


How can I integrate:  $$\int_{-\infty}^{\infty} e^{-au^2} du$$  Please note that I want to learn a step by step approach for doing so.

How to prove  $$\int_{0}^{\infty} \mathrm{e}^{-x^2}\, dx = \frac{\sqrt \pi}{2}$$


I have two tables 1)Incident    GID                        UID <br> ------------          ----------------------  178175721842183084   INC 1121035756   2)Incident_crew   INCIDENT_GID            NAME ------------------     ----------------------------- 178175721842183084     KENNEDY,KELLY  178175721842183084     GRESLY,ANTHONY    Incident has a primary column called GID and Incident_crew is refering to this GID with the name Incident_GID. Incident_crew has two or more rows which are refering to same Incident_GID thus returns more than two rows. In Incident_crew table I have a column named NAME, I want to combine NAME from multiple rows and return it as one row seperated by semicolonenter image description here. The result should look something like below:  INCIDENT       GID                NAME -------------  ------------------ ------------------------------  INC 1121035756 178175721842183084 KENNEDY, KELLY;GRESLY, ANTHONY

Consider a database table holding names, with three rows:  Peter Paul Mary   Is there an easy way to turn this into a single string of Peter, Paul, Mary?


I've been looking in a lot of places so far but I couldn't find any articles about how much memory to allocate to MySQL based on server size.  I am about to deploy a website on a relatively small vserver with the following specs: 500 mb ram 20 gb SSD Ubuntu 14.04 64bit 1 virtual CPU (my provider doesn't specify speed).  With the server running idle (i.e website has no traffic), I get these values after rebooting:     It runs exclusively apache+mysql. The number of concurrent users is expected to be low for starters (<20).   What should be some sensible values for mysql's memory allocation for this case? And are there any other settings I can use to make sure the server resources are being used to their full extent?

This is a  about  Related:      I have a question regarding capacity planning. Can the Server Fault community please help with the following:   What kind of server do I need to handle some number of users? How many users can a server with some specifications handle? Will some server configuration be fast enough for my use case? I'm building a social networking site: what kind of hardware do I need? How much bandwidth do I need for some project? How much bandwidth will some number of users use in some application?


LetsEncrypt says to use CertBot. I'm following the instructions here    but it gives an error.  [root@ip ~]# ./certbot-auto Bootstrapping dependencies for RedHat-based OSes... yum is /usr/bin/yum Loaded plugins: fastestmirror, presto Setting up Install Process Loading mirror speeds from cached hostfile  * base: mirror.spro.net  * epel: s3-mirror-us-west-2.fedoraproject.org  * extras: mirror.spro.net  * rpmforge: mirror.chpc.utah.edu  * updates: mirror.hmc.edu Package gcc-4.4.7-17.el6.x86_64 already installed and latest version Package augeas-libs-1.0.0-10.el6.x86_64 already installed and latest version Package openssl-1.0.1e-48.el6_8.3.x86_64 already installed and latest version Package openssl-devel-1.0.1e-48.el6_8.3.x86_64 already installed and latest version Package ca-certificates-2015.2.6-65.0.1.el6_7.noarch already installed and latest version Package python-2.6.6-66.el6_8.x86_64 already installed and latest version Resolving Dependencies --> Running transaction check ---> Package dialog.x86_64 0:1.1-9.20080819.1.el6 will be installed ---> Package libffi-devel.x86_64 0:3.0.5-3.2.el6 will be installed ---> Package mod_ssl.x86_64 1:2.2.15-55.el6.centos.2 will be installed ---> Package python-devel.x86_64 0:2.6.6-66.el6_8 will be installed ---> Package python-pip.noarch 0:7.1.0-1.el6 will be installed --> Processing Dependency: python-setuptools for package: python-pip-7.1.0-1.el6.noarch ---> Package python-tools.x86_64 0:2.6.6-66.el6_8 will be installed --> Processing Dependency: tkinter = 2.6.6-66.el6_8 for package: python-tools-2.6.6-66.el6_8.x86_64 ---> Package python-virtualenv.noarch 0:1.10.1-1.el6 will be installed ---> Package redhat-rpm-config.noarch 0:9.0.3-51.el6.centos will be installed --> Running transaction check ---> Package python-setuptools.noarch 0:0.6.10-3.el6 will be installed ---> Package tkinter.x86_64 0:2.6.6-66.el6_8 will be installed --> Processing Dependency: libtk8.5.so()(64bit) for package: tkinter-2.6.6-66.el6_8.x86_64 --> Processing Dependency: libtcl8.5.so()(64bit) for package: tkinter-2.6.6-66.el6_8.x86_64 --> Processing Dependency: libTix.so()(64bit) for package: tkinter-2.6.6-66.el6_8.x86_64 --> Running transaction check ---> Package tcl.x86_64 1:8.5.7-6.el6 will be installed ---> Package tix.x86_64 1:8.4.3-5.el6 will be installed ---> Package tk.x86_64 1:8.5.7-5.el6 will be installed --> Processing Conflict: python-devel-2.6.6-66.el6_8.x86_64 conflicts python < 2.6.6-66.el6_8 --> Finished Dependency Resolution Error: python-devel conflicts with python-2.6.6-52.el6.x86_64  You could try using --skip-broken to work around the problem ** Found 164 pre-existing rpmdb problem(s), 'yum check' output follows: ConsoleKit-0.4.1-6.el6.x86_64 is a duplicate with ConsoleKit-0.4.1-3.el6.x86_64 ConsoleKit-libs-0.4.1-6.el6.x86_64 is a duplicate with ConsoleKit-libs-0.4.1-3.el6.x86_64 alsa-lib-1.1.0-4.el6.x86_64 is a duplicate with alsa-lib-1.0.22-3.el6.x86_64 ... yum-3.2.29-75.el6.centos.noarch is a duplicate with yum-3.2.29-60.el6.centos.noarch yum-plugin-fastestmirror-1.1.30-37.el6.noarch is a duplicate with yum-plugin-fastestmirror-1.1.30-30.el6.noarch zip-3.0-1.el6_7.1.x86_64 is a duplicate with zip-3.0-1.el6.x86_64 Could not install OS dependencies. Aborting bootstrap!  [root@ip ~]# yum erase python-devel ... Package(s) python-devel available, but not installed. No Packages marked for removal  [root@ip ~]# yum erase python ... Error: Trying to remove "yum", which is protected  [root@ip ~]# ./certbot-auto --skip-broken ... Could not install OS dependencies. Aborting bootstrap!  # ./certbot-auto --no-self-upgrade ... Could not install OS dependencies. Aborting bootstrap!   There doesn't appear to be any manual way to use it.  CentOS release 6.8 (Final)

Hi I'm having an issue with yum, I seem to have broken dependencies? I have a general knowledge of Linux but I'm not sure how to fix this. Running CentOS 6.6.  Here's the output from yum:  yum update Loaded plugins: fastestmirror Setting up Update Process Loading mirror speeds from cached hostfile  * epel: mirror.symnds.com Resolving Dependencies --> Running transaction check ---> Package ntpdate.x86_64 0:4.2.6p5-1.el6.centos will be updated --> Processing Dependency: ntpdate = 4.2.6p5-1.el6.centos for package: ntp-4.2.6p5-1.el6.centos.x86_64 ---> Package ntpdate.x86_64 0:4.2.6p5-2.el6.centos will be an update --> Finished Dependency Resolution Error: Package: ntp-4.2.6p5-1.el6.centos.x86_64 (@base)            Requires: ntpdate = 4.2.6p5-1.el6.centos            Removing: ntpdate-4.2.6p5-1.el6.centos.x86_64 (@base)                ntpdate = 4.2.6p5-1.el6.centos            Updated By: ntpdate-4.2.6p5-2.el6.centos.x86_64 (updates)                ntpdate = 4.2.6p5-2.el6.centos  You could try using --skip-broken to work around the problem ** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows: ntp-4.2.6p5-2.el6.centos.x86_64 is a duplicate with ntp-4.2.6p5-1.el6.centos.x86_64 ntp-4.2.6p5-2.el6.centos.x86_64 has missing requires of ntpdate = ('0', '4.2.6p5', '2.el6.centos')   Running yum --skip-broken doesn't seem to do anything. I'm assuming this is important to resolve due to the NTP exploit that was recently found.  Thanks!


I can understand being downvoted because an answer is not relevant or helpful to a topic..  But, I logged in this afternoon, and see that I downvoted -10 and see in the list of actions, it was because USER REMOVED.  And I do see the post:   Which is because the user has been removed because of their choice, kicked out, etc.  However, I also see the user in the reference URL was downvoted -5 and I was downvoted -10..  Thanks for listening.

Message appearing when a user was removed.     It seems I lost 1765 reputation points on Stack Overflow yesterday. The reason given in my history is "removed", with the description of "User was removed ()". I don't understand what that means. What caused this?


I'm trying to write a paper using RevTex 4.1 and natbib 8.31b, and the .bib file is not being recognized.  My paper is:  \documentclass[aip,reprint]{revtex4-1} \usepackage{amsmath}    % need for subequations \usepackage{graphicx}   % need for figures \usepackage{natbib} ... \begin{document} \bibliographystyle{plainnat} ... {Text of document} % Create the reference section using BibTeX: %\bibpliographystyle{aipauth4-1} \bibliography{References} \end{document}   and my .bib file (excerpt) is:  @article{AharonovBohn1959// ,title = "Significance of Electromagnetic Potentials in Quantum Theory"// ,author = "Y. Aharonov and D. Bohm" ,journal = "The Physical Review" ,pages = "485-491" ,year = 1959 }  @article{vanOudenaardenDevoretetal1998 ,title = "Matneto-electric Aharonov-Bohm effect in metal rings" ,author = "A. van Oudenaarden, M. H. Devoret, Y. V. Nazarov & J. E. Mooij" ,journal = "Nature" ,pages = "768-770" ,year = 1998 } ... etc.   When I run pdfLaTex in TeXworks the paper compiles fine with no errors or warnings.  When I then run BibTeX I again get no errors or warnings, but when I run pdfLaTeX again I get:  This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/W32TeX)  restricted \write18 enabled. entering extended mode (./PhysicsFromFrequencyV1-1.tex LaTeX2e <2011/06/27> ...  Package natbib Warning: Citation `AharonovBohn1959' on page 4 undefined on input line 305.  Package natbib Warning: Citation `vanOudenaardenDevoretetal1998' on page 4 undefined on input line 305.   Running pdfLaTeX multiple times does not resolve this error.  It seems like natbib is not seeing the References.bib file, but I don't know what else to do to connect the two together.  Does anyone have any advice about what I'm doing wrong?

Have anyone an idea how i can use \IfFileExist{}{}{} for file names with spaces?  f.e. didn't work  \newcommand{\runI}{D:/Test/run1 - T2} \newcommand\IG[2][]{\IfFileExists{#2}{\includegraphics[#1]{#2}}{\fbox{File #2 doesn't exist}}}  \begin{figure}[htbp] \centering \IG[trim = 40mm 10mm 40mm 2mm,clip = true, width=0.4\textwidth]{\runI/LatexTestFig2.png} \caption{run 1} \label{overflow} \end{figure}   f.e. work  \newcommand{\runII}{D:/Test/run1-T2-Kopie} \newcommand\IG[2][]{\IfFileExists{#2}{\includegraphics[#1]{#2}}{\fbox{File #2 doesn't exist}}}  \begin{figure}[htbp] \centering \IG[trim = 40mm 10mm 40mm 2mm,clip = true, width=0.4\textwidth]{\runII/LatexTestFig2.png} \caption{run 1} \label{overflow} \end{figure}   what can I do? THX


I am very new to Ubuntu, and in the anxiety to install Ubuntu ended up doing a big mistake.  While installation, I chose to overwrite my current windows 7 OS; and thought that it would only format my C: However, after installation, I have found that all my partitions are deleted and data lost.  Is there a way to recover those data? I have searched across the forums, and found out about testdisk. However, I need a very detailed step by step guide, as I completely new to Ubuntu. Some of the steps in various tutorials I found seem too advanced to me.  Any help would be highly appreciated.

I have a Toshiba satellite A-200 laptop with a Vista OS on it with 4 NTFS partitions  (C:) Vista  (D:) Entertainment  (E:) Work  (F:) Sources   and I wanted to start using Ubuntu instead. So I tried it first from the live CD and everything was OK and all the partitions were shown and working and so I decided to install Ubuntu to replace Vista on the (C:) drive. After I did that I can no longer find my folders and files on the (D:), (E:), (F:) partitions and the only file system that is shown is one 198 GB although my HDD is 320 GB.  I can't access the lost data on the remaining 120 GB which I hope is still there and not totally lost  I am now working from the live CD but I am unable to install testdisk. Can I recover the Vista partitions by the product recovery CD to get my laptop back to the factory settings? Can I recover the NTFS partitions using a recovery program for Windows or will that make the problem worse?   I need these data badly as I don't have a backup for them.


I have a table of 2 columns, I want the writing in the left column to be centered and the right column to be aligned to the left.   Using the commands below, the left column is exactly how I want it, but the writing in the left column is aligned to the right but I would like to align it to the left. How can I do this?   \begin{table}[ht] \begin{tabular}{cc}  \end{tabular} \end{table}

I am making a centered table but want the headings in the far left column to be left-aligned instead of centred.  Preamble:   \documentclass[11pt]{article} \usepackage{indentfirst} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{graphicx} \usepackage{caption} \usepackage{subcaption}  Table code: \begin{table}[ht] \caption{Regression standard errors} % title of Table \centering % used for centering table \begin{tabular}{c c c c c} % centered columns (4 columns) \hline\hline %inserts double horizontal lines Confidence Interval & N=10 & N=30  & N=100 & N=500 \\ [0.5ex] % inserts table  %heading \hline % inserts single horizontal line Asymptotic & \% & \% & \% & \% \\ Efron & \% & \% & \% & \% \\ Hall & \% & \% & \% & \%   \\ Percentile-t & \% & \% & \% & \% \\ Symmetric percentile-t & \% & \% & \% & \% \\ [1ex] % [1ex] adds vertical space \hline %inserts single line \end{tabular} \label{table:nonlin} % is used to refer this table in the text \end{table}


iOS 9.3 was released yesterday, so I wanted it on my iPhone 5s. However when I try to open Settings → General → Software Update, it pops up with a message:     Unable to Check for Update, an error occurred while checking for a software update.   I tried several things found on the internet like resetting the network settings, changing the DNS, switching to cellular network, but I am still getting the same error.  How can I download iOS 9.3 OTA?

After just accepting the iOS 7.0 upgrade dialog on my iPad, the gears spin for a moment and it looks like the download will start, but then the install fails.    Is this something I can fix?


I've installed texlive-latex-extra. When I try to use tlmgr, for example: sudo tlmgr update --all tlmgr update --all I allways get the same error message: /usr/bin/tlmgr: unexpected return value from verify_checksum: -5

I installed texlive on ubuntu 20.04 with: sudo apt -y install texlive-latex-extra texlive-extra-utils texlive-font-utils  when trying to install a latex package (any) i got: /usr/bin/tlmgr: unexpected return value from verify_checksum: -5  any ideas? EDIT: Hello, i install packages with tlmgr install package_name. tlmgr installs when installing latex... Output of dpkg -S $(which tlmgr) texlive-base: /usr/bin/tlmgr  Output of apt-cache policy texlive-base: texlive-base:   Installed: 2019.20200218-1   Candidate: 2019.20200218-1   Version table:  *** 2019.20200218-1 500         500 http://cl.archive.ubuntu.com/ubuntu focal/universe amd64 Packages         500 http://cl.archive.ubuntu.com/ubuntu focal/universe i386 Packages         100 /var/lib/dpkg/status  Output of tlmgr --version: tlmgr revision 53568 (2020-01-27 19:20:16 +0100) tlmgr using installation: /usr/share/texlive TeX Live (http://tug.org/texlive) version 2019


I've learned how to use "My wife and I" in a sentence. There are a lot of interesting materials on the internet:    Etc.  But today I accidentally came across this video    and Prince Harry says: "Megan and myself had a baby boy"  When should we use "myself" instead of "I" and "me"?  For a non-native speaker it is a bit confusing.

I need to find out which one of these ways to refer to me and a friend in one sentence is correct?      I and John...     John and myself...     John and I...


Is there any application to convert a gif file to txt file in linux?

How can I extract text from images?  I am not talking about scanned files, but garden variety images, such as when you take a high-def picture of a blackboard at class, and it is nicely handwritten; or when you photograph a page from a recipe book and want the recipe in text format.  Any free and open software for that?  I tried tesseract, and the results were awful.


I brought a relay module which works when 5V are given to its input pin to switch on high voltage.  But my raspberry pi GPIO pins give out only 2.9V (measured from multimeter, it was supposed to give 3.3V).  I have only below mentioned things available in my locality :- BC-557 (PNP), BC-548b (NPN), LM-317t (Voltage Regulator), some resistors.  How do I operate relay using above mentioned electronics components? Please keep the circuit simple BUT safe for my raspberry pi.

I have a atmega8 that is working with 3.6V dc, I need to control some 12V relays with a not chip (7404), what is the simplest way to do this? I have connected a 12V dc to the relays, so when I connect the relays to the chip and then the atmega8, the current returns to the atmega through the not chip. Is this solution correct? There a better way to do this?


I am getting a NullPointerException in the hanoi function when pushing the values from the input into the stack and I'm not sure why heres my code:  public class Hanoi {  public static Stack<Integer>[] towersOfHanoi = new Stack[4]; static int moves;  public static void hanoi(int n) {      for(int i = n; n > 0; i--) {         towersOfHanoi[1].push(i);     }      moveDisc(n, 1, 2, 3); }  public static void moveDisc(int n, int j, int k, int l) {      moveDisc(n-1, j, k, l);     int i = towersOfHanoi[j].pop();     towersOfHanoi[k].push(i);     moves++;     moveDisc(n-1, l, j, k); }  public static void main(String args[]) {     Scanner in = new Scanner(System.in);      System.out.println("Enter number of discs: ");     int n = in.nextInt();     in.close();      hanoi(n);      towersOfHanoi[1] = new Stack<Integer>();     towersOfHanoi[2] = new Stack<Integer>();     towersOfHanoi[3] = new Stack<Integer>();      System.out.println(moves);

What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?


Would it be possible to make the Bounty-Dialog (to start a bounty on a question) movable.  All other Dialogs, like Flagging or Closing, are movable.  Flagging-Dialog !  Bounty-Dialog !

When placing a bounty, the Custom Message dialog box pops up, and is sometimes directly over the question.  There are times when writing the message that I want to refer to the question, but the box is not draggable.  Could we please make the Bounty Custom Message dialog box draggable?  Flagging Dialog    Bounty Dialog    (Images courtesy of )


In below Code i want to validate date between 02/08/2017 and 05/08/2017 and give us a alert which is Date is not in range     ==============================================================================  <form method="post" action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>" class="form-inline" role="form" name="myForm" id="myForm" onsubmit="return(validate());">

                                 Entry Date=                                 <input class="form-control" style='font-weight:bold;text-transform:uppercase;' id="entrydt" type="text" name="entrydt" style='' placeholder="DD/MM/YYYY" value="" size="10">

          </form>

Can someone suggest a way to compare the values of two dates greater than, less than, and not in the past using JavaScript? The values will be coming from text boxes.


In most of the software I have used like Coreldraw and Microsoft Word the user can save a series of keystrokes by making a Macro, called an Action in Adobe products. How can the user make a macro in Blender? The video at  seems to show this, but is unclear since it doesn't seem to me that the author showed how to save and how the use the macro. Is there any other video tutorial describing how I can make a macro?

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


I tried to retrieve the parameter 'position' and its X and Y.  int npcId = reader.get("npcId").getAsInt(); int x = reader.get("position").getAsInt(); int y = reader.get("position").getAsInt(); int z = 0;   from this input, which is JSON  {     "npcId": 414,     "position": {         "x": 3443,         "y": 3536,         "z": 0     },     "facing": "WEST",     "radius": 13 }   For example int x = reader.get("position.X").getAsInt(); (Which obviously doesn't work but you get the idea.)

What's the difference between JavaScript and Java?


I am trying to create this sort of diagram (or graph). The X axis is time, Y axis are projects/tasks and lines through them are people (employees) working on certain task in given time period. I've found similar diagram, which is enclosed below. It is a star wars plot/story diagram from . More or less sums up my needs. I know I could draw it by hand in eg. LibreOffice Draw or such a program, but first I'd like to know if there's any possibility of having this directly in tex.  BTW: if any of you know the exact name of this diagram/graph, please let me know.  Thank you all in advance

The unique style of the diagrams at  has an informative but nice hand-drawn touch. I guess they are actually drawn by hand but just recently on our partner site for Mathematica someone asked how to draw a similar diagram such as this one with Mathematica's plot functions ().    Now without Mathematica this should be possible as well but I have a hard time getting the details right. Can such a diagram be created in TeX with a similar design? My first attempt does not look particularly great but here it is (the font is from ):      \documentclass{standalone}     \usepackage{tikz,color}     \usepackage{pgfplots}     \usepackage{fontspec}     \setmainfont{Humor-Sans}      \begin{document}     \begin{tikzpicture}     \pgfplotsset{every axis/.append style={line width=1pt}}      \begin{axis}[%         axis x line=bottom,         axis y line=left,         xtick={1.2, 2.9, 4.5},         xticklabels={-3 days, -1 day, 5 minutes},         yticklabels={}     ]     % 1st plot     \addplot [cyan!80!white, samples=200, domain=0:6] {0.05*rnd+3+(sin(deg(x))^2)/sqrt(x)*exp(-(x-2))};     % white background for 2nd plot     \addplot [white, samples=200, domain=0:6,line width=4pt] {0.05*rnd+0.4*x+2+x^2*sin(deg(x))^2*exp(-x)};      % 2nd plot     \addplot [red!80!white, samples=200, domain=0:6] {0.05*rnd+0.4*x+2+x^2*sin(deg(x))^2*exp(-x)};      \end{axis}       \node at (2.7,4.6) {downhill};     \draw  plot[smooth, tension=.7,line width=2pt] coordinates {(1.2679,5.5206) (1.9454,5.493) (2.4017,4.9261)};      \end{tikzpicture}      \end{document}


I meet my friend every day. I meet to my friend every day. I meet with my friend every day.   Is "meet" a transitive, or intransitive, or both?  I'd appreciate your help.

What is the difference between "meet" and "meet with"?  For example, which of these should I say?        I met my boss yesterday    I met with my boss yesterday   I'm meeting my friends tonight    I'm meeting with my friends tonight


In reality, it is not practical for ciphers such as stream ciphers and AES to generate keys using a TRNG, so instead they have to use a CSPRNG. As an LFSR can generate pseudo random numbers,so can a LFSR be adapted so it can be used as CSPRNG, and what are the other ways to construct a CSPRNG.

I have been looking at an embedded microcontroller which has a cryptographic hardware engine (in particular the ). These devices have what they advertise as a cryptographically secure PRNG, as well as a true random number generator.  The features of the random number generators are,        TRNG:         List item   Up to 25 Mbps of random bits   Multi-Ring Oscillator based design   Built in Bias Corrector       PRNG:         LSFR-based   Up to 64-bit polynomial length   Programmable polynomial   TRNG can be seed value         From what I've read about LFSR PRNG (in particular ) my understanding is that you only require 2*n bits to be able to determine the polynomial of the LFSR and hence all the random numbers that it generates.  If my understanding is correct, then only 128 bits (16 bytes) of random data are required before the random data is compromised - that is just enough for a single AES IV.  One way that I can imagine making the PRNG cryptographically secure is to reseed it after every 16 bytes using the TRNG - would this be secure?  Is it even possible to make a LFSR cryptographically secure?


Let $A = I - xx^T$, where $x \in \mathbb{R}^n$ and $I$ is the identity matrix of $\mathbb{R}^n$  We know that $A$ is a real symmetric matrix, therefore there exists an eigenvalue decomposition of $A$ such that  $$A = Q^T\Lambda Q$$   Is it possible to find $Q$, $\Lambda$?  $I - xx^T = Q^TQ - xQ^TQx^T = Q^TQ - (Q^Tx)^T(x^TQ)^T...$

This question aims to create an ""  of numerous questions that ask about determinants of specific matrices (I may have missed a few):              The general question of this type is  Let $A$ be a square matrix of rank$~1$, let $I$ the identity matrix of the same size, and $\lambda$ a scalar. What is the determinant of $A+\lambda I$?  A clearly very closely related question is  What is the characteristic polynomial of a matrix $A$ of rank$~1$?


I'm trying to understand the classification of PDEs into the categories elliptic, hyperbolic, and parabolic. Frustratingly, most of the discussions I've found are "definition by examples.''   I think I more or less understand this classification in the case of quasi-linear second-order PDE, which is what's described on Wikipedia. I want to understand what makes a non-linear second-order PDE elliptic, parabolic, hyperbolic. MathWorld says something vague about this: "A non-linear PDE is elliptic at a solution u if its linearization is elliptic at u"   (). What is meant by "linearization" here?   To be concrete, I want to be able to answer a question like the following: where (in the $x-y$ plane) is the non-linear second-order PDE   $$ a \partial_x^2 u +  b \partial_x \partial_y u + c \partial_y^2 u +  d (\partial_x u)^2 + e \partial_y u = 0$$  elliptic, hyperbolic, or parabolic (here all coefficients depend on $x,y,$ and $u$)? This doesn't really fit the form of any discussions I've found, so I'm not sure how to make sense of it.   EDIT: I am aware of the question at , but I believe that the answer there really only addresses linear PDE.   Several people have marked this question as already being answered at that link, but I don't see how. I would be much obliged if you could sketch a procedure for classifying the qualitative behavior for a non-linear example operator of the form I describe.

what is the general definition for some partial differential equation being called elliptic, parabolic or hyperbolic - in particular, if the PDE is nonlinear and above second-order.  So far, I have not found any precise definition in literature.


I am having trouble with this problem for quite some time. I posted this question before but I still can not figure out this problem.   So far,from the suggestion of user134824, I have tried to define an injective function $f$ from $S_k$ to $\mathbb{N}$ as $f_k({n_1,n_2,...n_k})=p_1^{n_1}p_2^{n_2}...p_k^{n_k}$. I am able to prove that this function is injective. However, after this point, I am stuck. I can either prove that $f$ is bijective by proving it is surjective or I can find an injective function $g:\mathbb{N}\rightarrow S_k$ and use the Schroeder-Bernstein theorem.

(a) $S_k=\{A\subset\mathbb{N}: |A|=k\}$ for $k\in\mathbb{N}$  (b) $S = \bigcup_{k=1}^\infty S_k$   Work: For (a), I am not too sure about what approach I should use. I think finding a bijective function between the $S_k$ and $\mathbb{N}$ is hard to do . I also thought about using the Schroeder-Bernstein theorem and find injective functions $f:\mathbb{N}\rightarrow S_k$and $g:S_k\rightarrow\mathbb{N}$ in order to prove that $S_k$ and $\mathbb{N}$ are numerically equivalent. However, I have a hard time finding and proving these injective functions. I haven't really looked at (b) as I have yet to complete (a).


Just like in the title, I'm asking for any hints for proving (propably simple) inequality:  $$ |x \sin \alpha + y \cos \alpha| \leq \sqrt{x^2 + y^2} $$

$$|a\sin x+b \cos x|\leq \sqrt{a^2+b^2}$$   I have tried: $$|a\sin x+b \cos x|\leq |a+b|\leq \sqrt{a^2+b^2}$$  enough to prove: $$|a+b|\leq \sqrt{a^2+b^2}$$  But I can find how to continue from here


When I was running fiddler I've discovered that I have a suspicious GET request running in background that's using iexplore.exe. It runs every couple of seconds and has encoded data in the request URL  One of the requests:   http://136.243.24.246/H7giAGAb/nJO4fqhPN6Q0UaltIOnMwqpGp2YnmvJeK34G1j3FP7Mh20+HQ+JSX2MdaWMkMtdTgfIzJgZM/ZcbB7HhdSMwLAC30LyZSgi5UFEXeDr+gqxX7LLdeYrZwQRIKjynuRhCirWGQGkj1uAkwL5A2EpWP4`   By looking at the contents of the IP in the browser it doesn't look like it's something "official" of Internet Explorer.  What can it be and how can I decode that request? My guess is that it somehow steals my data.    ADDED:  I did some further digging and it seems like it's because of m.exe malware:      Still, is there any way to decode the message?

What should I do if my Windows computer seems to be infected with a virus or malware?  What are the symptoms of an infection? What should I do after noticing an infection? What can I do to get rid of it? how to prevent from infection by malware?   This question comes up frequently, and the suggested solutions are usually the same. This community wiki is an attempt to serve as the definitive, most comprehensive answer possible. Feel free to add your contributions via edits.


I want to add the example codes in html page with various programming languages languages.   <div class="example-cpp">      #include <iostream>       using namespace std;       int main () {          for( ; ; ) {             printf("This loop will run forever.\n");          }          return 0;      } </div>   I want to show this with colourful font without separate style. Like following example   Can you suggest the best way ?

I want to highlight C/C++/Java/C# etc source codes in my website.  How can I do this?  Is it a CPU intensive job to highlight the source code?


I updated my latop recently and after the update it started overheating and shutting down.  This is problem which I have had previously on this laptop and the solution was to use fglrx driver. The opensource driver overheats my laptop which has a good change of damaging my hardware.  So knowing this I checked additional drivers and discovered that fglrx was no longer an option.   What has happened to fglrx and how do I get it back?  My graphics card is a Mobility Radeon HD 4530.  As previously stated the opensource driver is not an option because it causes my laptop to overheat and shutdown.  To clarify, I want to know why the driver was removed in the update and get back to the official distro version of fglrx not install the latest from ati.

I am planning on doing a fresh install of Ubuntu and want to know what is the correct way to install ATI Catalyst Video Driver?      There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience an index of each below:


I have a short question. How can I calculate a logarithm without a calculator?  For example:  Log base 8 of 4, log base 16 of 2.. Thanks.

I  would need to be able to compute logarithms without using a calculator, just on paper. The result should be a fraction so it is the most accurate. For example I have seen this in math class calculated by one of my class mates without the help of a calculator.     $$\log_8128 = \frac 73$$  How do you do this?


I run Ubuntu 20.04. I would like to have a matrix of desktops (ie 2x2 desktops instead of desktops only in the vertical direction).  How to / is there a way to do this WITHOUT the need to enable some untrusted gnome extensions?  For example, by contrast: when I wanted to auto-hide the top bar, I could install gnome-tweaks (this is well an official package, so trusted, right?) and then run sudo apt install gnome-shell-extension-autohidetopbar (also trusted, right?). I suppose this means that all the code used is 'trusted', as everything happened through the official ubuntu software repository and some sudo apt install, right? Or am I missing something?  By contrast, the tutorials I find to get a workspace matrix either rely on finding Workspace Matrix in the ubuntu software (which I cannot find searching for it), or on enabling some gnome extensions that are not trusted at one or another point in time.  I am quite confused and may probably be missing something. Anybody who can enlighten me on that?

I know that I have to use some tweaking tool and then a extension for this. But all extensions that are suggested for this(Workspace grid, Workspace matrix), aren't available in the software center.


I can't  book an appointment for Schengen visa for France. I get a message      We are currently at full capacity. Please try again later.     Is there any other way to book the appointment?

I'm trying to get a Schengen Visa from my first port of entry, France. I am trying to book an appointment with the French Consulate in SF, and the URL I am using is the following:   I've been checking this page periodically for the past few weeks, and I always see a dialog that that says "We are currently at full capacity. Please try again later." Their calendar provides no direct option for going to the next month. (Using the in-browser developer tools, I noticed that the button for next month is hidden. Un-hiding it and clicking on the Next Month button displays no available appointments either. I checked all the way until September 2016).  My guess is that there are absolutely no appointments for the next 6 months. Or, more likely, their page isn't functioning properly. I'll be traveling in July. Does anybody have any alternate suggestions to book an appointment?


Given $N$ means and variances $\{\mu_1,\mu_2,....\mu_N\}$ , $\{\sigma_1^2,\sigma_2^2,....\sigma_N^2 \}$ ,and the fact that combined they make a gaussian mixture, how do I compute for that mixture $M$, its mean $\mu_M$ and variance $\sigma_M^2$ using the component means and variances?  Assume equal weight for each component.

Say I have two normal distributions A and B with means $\mu_A$ and $\mu_B$ and variances $\sigma_A$ and $\sigma_B$. I want to take a weighted mixture of these two distributions using weights $p$ and $q$ where $0\le p \le 1$ and $q = 1-p$. I know that the mean of this mixture would be $\mu_{AB} = (p\times\mu_A) + (q\times\mu_B)$.  What would the variance be?    A concrete example would be if I knew the parameters for the distribution of male and female height. If I had a room of people that was 60% male, I could produce the expected mean height for the whole room, but what about the variance?


gedit /etc/default/grub output is:  GRUB_DEFAULT=0 GRUB_TIMEOUT=4 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor" GRUB_CMDLINE_LINUX=""   Let me know if u need more output. This happens like 1 out of 5 times. But I do not want this to happen anymore. Any help would be appreciated.

I am running Ubuntu 12.04.  I cannot for the life of me get the grub menu (with options) to go away.  I would like it to auto-boot into the first option. I've edited /etc/default/grub so that it looks like the following:  GRUB_DEFAULT=0 GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=10 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX=""   After this, I ran sudo update-grub. Then I realized that I had grub 2, so I ran sudo update-grub2 (both make it look like they create the grub.cfg file successfully.  I restart my computer and it goes back to the grub menu and just sits there until I make a choice. This is not desirable if the power goes out... :-)  I also tried reinstalling grub using sudo grub-install /dev/sda - also unsuccessful


I was using Ubuntu 19.04 and decided to upgrade it to 19.10. I just used the Software Update Tool.  I did not see any errors during the installation. After rebooting I realized that Ubuntu was not upgraded.   I checked software update tool and got an error message:      Not all updates can be installed   After I clicked Partial Upgrade I got another error:     An upgrade from 'eoan' to 'disco' is not supported with this tool.   So how do I finish the upgrade?

Yesterday I started the upgrade from 12.10 to 13.04, but I interrupted it because it was taking too long. Now if I restart it, it doesn't proceed.  Is there any possibility to clean the mess it left when I interrupted it and make a clean restart of this update?


I'm new to kick start and i would like to know how i can create an auto install of open source software such as open vpn and Snort using kick start.  Can this be done by post  scripting the file? or using the .deb files?

I need a CD or USB stick, that will install Ubuntu on a completely headless machine. Stick CD in and restart, no keyboard or screen should be involved.  There are a few obstacles:   The language selection menu when you first boot the CD. The fact that the CD menu waits. The installer's asking questions during installation.


Let $V$ and $W$ be vector spaces, $T$, $T_1$, and $T_2$ linear transformations from $V$ to $W$, and $k$ a scalar. We define new transformations $T_1 + T_2$ and $kT$ by the formulas:  $$(T_1 + T_2)(\vec x) = T_1(\vec x) + T_2(\vec x)$$  $$(kT)(\vec x) = k(T(\vec x))$$  We can easily prove that the aforementioned transformations are indeed linear (I only mention this because it was part of the problem).   My question: How do we show that the set of all linear transformations from $V$ to $W$ with the operations stated previously form a vector space, and how do I approach this problem? What is it asking? Is there some formal or general way of determining this?

Let $V$ and $W$ be vector spaces over a field $F$. Let $L(V,W) = \{T:V\to W : T \text{ is linear} \}$, that is, $L(V,W)$ is the collection of all linear functions from $V$ to $W$. For $S,T \in L(V,W)$ and $a \in F$, define new functions $(S+T):V \to W$ and $ aT :V \to W$ by $(S+T)(x) = S(x)+T(x)$ ; $(aT)(x) = a(T(x))$.   Prove that $S+T$ belongs to $L(V,W)$ and $aT$ belongs to $L(V,W)$.


I have a problem with exporting all png sequence (these are all with the transparency, also been exported to video with after effect, selected rgb+alpha), the issue is that the optimized format shows me a "too much red" respect of the original one, I already made sure that the option matt has been disabled, also gif with the checkbox enabled into it. So don't know if there is something wrong with some setting. Thank you in advice, I will give you the images for references:   Thank you in advice for any help.

I am trying to save an animated GIF, but for some reason areas that are more transparent than others (e.g. the grey shadow) don't come out with opacity, they become fully grey when saved.    When I save it, it turns out like this:    These are my settings when trying to save: