The code is:  \documentclass{article} \begin{document}     hello world \end{document}   WinEdt in WIN7  Error messages:  Command Line:   xelatex.exe --interaction=errorstopmode --synctex=1 "Chinese.tex" Startup Folder: D:\work\Latex\Xelatex  This is XeTeX, Version 3.1415926-2.3-0.9997.5 (MiKTeX 2.9) entering extended mode (D:\work\Latex\Xelatex\Chinese.tex LaTeX2e &lt;2011/06/27&gt; Babel &lt;v3.8m&gt; and hyphenation patterns for loaded. ("D:\Program Files (x86)\CTEX\MiKTeX\tex\latex\base\article.cls" Document Class: article 2007/10/19 v1.4h Standard LaTeX document class ("D:\Program Files (x86)\CTEX\MiKTeX\tex\latex\base\size10.clo")) (D:\work\Latex\Xelatex\Chinese.aux) [1 ! I can't write on file `Chinese.pdf'. Please type another file name for output:    Any file name for out put will fail.  How to deal with this?
I am using MiKTeX 2.9 on Windows 7.   I'm getting the error: "can't write on pdf file."  The pdf doesn't reflect what I wrote.  What did I do wrong?  My input:  \documentclass[12pt]{article} \usepackage{epsf} \usepackage{amssymb} \usepackage{graphicx} \usepackage{setspace} \usepackage{amsmath} \usepackage{rotate} \usepackage{endnotes} %\usepackage{harvard} \usepackage{vmargin} \usepackage[nolists,noheads,tablesfirst,nomarkers]{endfloat} \usepackage{natbib} \bibliographystyle{apsr}  \oddsidemargin=1.0in\evensidemargin=0.in \textheight=8.5in\textwidth=6.6 in \baselineskip=18pt \parskip=6pt  \begin{document}  % added, was missing  TEXT  \newpage \baselineskip=12pt \doublespacing  \bibliographystyle{apsa} \bibliography{Dissertation_Proposal}   \end{document}
My problem is we want to minimize $1/2 \cdot \text{Norm}(w)^2$ under suitable constraints $y(i){[w^Tx_i+b]-1}$.  We write the Lagrangian and get the above equations.  I have a problem in differentiating with respect to $w$ can somebody elaborate on that? How do we get first equation? This is NOT an installation problem question. I've had both op sys working fine side-by-side for a couple of weeks now. I'm using Ubunutu 12.04 64-bit.  This morning when I tried to switch from Win8 to Ubuntu, it just rebooted into Win8. No grub screen whatsoever. This is the 3rd machine I've had dual-booting &amp; have never seen this, but then Win8 is a 1st for me &amp; has thrown some pretty awesome blocks in the path to get to here. Atrocious op sys...  I'm assuming the ASUS updater did this yesterday. (ASUS R503U)  So, do I just put the Ubuntu disk in &amp; reinstall grub? How do I install OpenStack? How do I install ? Is there an easier way other than official installation instructions? Current measurement maximum time On my multimeter I have two current measurement connection. One for the mA and one for the A.  On the ampere one there's a time limitation but not on the mA one. Also they mention in the manual a kind of "cooldown time" after the measurement for the A one. So, basicaly, probing with this input can really slow down my project. (max 15 sec every 5 minutes)  My question is, I have to switch to that A one for a 600-700mA current (mA input is 500mA), as it's not a "big" current, can I bypass this limitation ? Is it design for higher current only or any measurement done on that input ? It's a middle-end multimeter but even the online datasheet is not complete about what. (Was excepting a kind of measured current/cooldown time graph) Does someone knows if it exists some ppa packages source for the newest Ubuntu version 19.10 i had problem with that when i upgraded from Ubuntu 19.04 to 19.10 i didn't work? Is the convex hull of closed set in $\mathbb R^{n}$ is closed? Is convex hull of closed set in $\mathbb R^{n}$ closed? I would like to know how I can get the value of a node with the following paths:   config/global/resources/default_setup/connection/host config/global/resources/default_setup/connection/username config/global/resources/default_setup/connection/password config/global/resources/default_setup/connection/dbname   from the following XML:  &lt;?xml version="1.0"?&gt; &lt;config&gt;     &lt;global&gt;         &lt;install&gt;             &lt;date&gt;&lt;![CDATA[Tue, 11 Dec 2012 12:31:25 +0000]]&gt;&lt;/date&gt;         &lt;/install&gt;         &lt;crypt&gt;             &lt;key&gt;&lt;![CDATA[70e75d7969b900b696785f2f81ecb430]]&gt;&lt;/key&gt;         &lt;/crypt&gt;         &lt;disable_local_modules&gt;false&lt;/disable_local_modules&gt;         &lt;resources&gt;             &lt;db&gt;                 &lt;table_prefix&gt;&lt;![CDATA[]]&gt;&lt;/table_prefix&gt;             &lt;/db&gt;             &lt;default_setup&gt;                 &lt;connection&gt;                     &lt;host&gt;&lt;![CDATA[localhost]]&gt;&lt;/host&gt;                     &lt;username&gt;&lt;![CDATA[root]]&gt;&lt;/username&gt;                     &lt;password&gt;&lt;![CDATA[pass123]]&gt;&lt;/password&gt;                     &lt;dbname&gt;&lt;![CDATA[testdb]]&gt;&lt;/dbname&gt;                     &lt;initStatements&gt;&lt;![CDATA[SET NAMES utf8]]&gt;&lt;/initStatements&gt;                     &lt;model&gt;&lt;![CDATA[mysql4]]&gt;&lt;/model&gt;                     &lt;type&gt;&lt;![CDATA[pdo_mysql]]&gt;&lt;/type&gt;                     &lt;pdoType&gt;&lt;![CDATA[]]&gt;&lt;/pdoType&gt;                     &lt;active&gt;1&lt;/active&gt;                 &lt;/connection&gt;             &lt;/default_setup&gt;         &lt;/resources&gt;         &lt;session_save&gt;&lt;![CDATA[files]]&gt;&lt;/session_save&gt;     &lt;/global&gt;     &lt;admin&gt;         &lt;routers&gt;             &lt;adminhtml&gt;                 &lt;args&gt;                     &lt;frontName&gt;&lt;![CDATA[admin]]&gt;&lt;/frontName&gt;                 &lt;/args&gt;             &lt;/adminhtml&gt;         &lt;/routers&gt;     &lt;/admin&gt; &lt;/config&gt;   Also I want to assign that value to the variable for further use. Let me know your idea. Constraints of relativistic point particle in Hamiltonian mechanics I try to understand constructing of Hamiltonian mechanics with constraints. I decided to start with the simple case: free relativistic particle. I've constructed hamiltonian with constraint:  $$S=-m\int d\tau \sqrt{\dot x_{\nu}\dot x^{\nu}}.$$  Here $\phi=p_{\mu}p^{\mu}-m^2=0$  $-$ .  Then $$H=H_{0}+\lambda \phi=\lambda \phi.$$   So, I want to show that I can obtain from this Hamiltonian the same equation of motion, as obtained from Lagrangian.  But the problem is that I'm not sure what to do with $\lambda=\lambda(q,p)$. I tried the following thing:  $$\dot x_{\mu}=\{x_{\mu},\lambda \phi\}=\{x_{\mu},\lambda p^2\}-m^2\{x_{\mu},\lambda\}=\lambda\{x_{\mu},p^2\}+p^2\{x_{\mu},\lambda\}-m^2\{x_{\mu},\lambda\}$$$$=2\lambda \eta_{\mu b} p^b+p^2\{x_{\mu},\lambda\}-m^2\{x_{\mu},\lambda\}=2\lambda \eta_{\mu b} p^b+p^2\frac{\partial \lambda}{\partial p^{\mu}}-m^2\frac{\partial \lambda}{\partial p^{\mu}},$$  $$\dot \lambda=\{\lambda, \lambda \phi \}=\{\lambda,\lambda p^2\}-m^2\{\lambda,\lambda\}=\lambda\{\lambda,p^2\}+p^2\{\lambda,p^2\}=2\lambda\eta_{ak}p^{a}\frac{\partial \lambda}{\partial x^{k}},$$  $$\dot p_{\mu}=\{p_{\mu},\lambda p^{2}-m^2\lambda \}=p^{2}\{p_{\mu},\lambda\}-m^2\{p_{\mu},\lambda\}=-p^{2}\frac{\partial \lambda}{\partial x^{\mu}}+m^2\frac{\partial \lambda}{\partial x^{\mu}}.$$  If we recall that $p^2-m^2=0$, then we get from the third equation: $\dot p=0$, and from the first: $$\dot x_{\mu}=2\lambda\eta_{ak}p^{a}.$$  So we have    $\dot x_{\mu}=2\lambda\eta_{\mu b}p^{b}.$ $\dot \lambda=2\lambda\eta_{ak}p^{a}\frac{\partial \lambda}{\partial x^{k}}.$ $\dot p=0.$   But I don't know what to do next. Can you help me? NSDictionary with ordered keys I have an NSDictionary (stored in a plist) that I'm basically using as an associative array (strings as keys and values).  I want to use the array of keys as part of my application, but I'd like them to be in a specific order (not really an order that I can write an algorithm to sort them into).  I could always store a separate array of the keys, but that seems kind of kludgey because I'd always have to update the keys of the dictionary as well as the values of the array, and make sure they always correspond.  Currently I just use [myDictionary allKeys], but obviously this returns them in an arbitrary, non-guaranteed order.  Is there a data structure in Objective-C that I'm missing?  Does anyone have any suggestions on how to more elegantly do this? Creating fillable PDFs How can I reset or revert a file to a specific revision? I have made some changes to a file which has been committed a few times as part of a group of files, but now want to reset/revert the changes on it back to a previous version.   I have done a git log along with a git diff to find the revision I need, but just have no idea how to get the file back to its former state in the past. Please stop bounties from turning off community moderation Possible Duplicate:                tl;dr: Please get rid of "This question has an open bounty and cannot be closed"  Questions with bounties on them can't be closed:    This is by design, and the recommended course of action is to flag for moderator attention, at which point they'll decide whether to refund the bounty and close the question or not.   But why should a bounty disable regular community moderation?  We should be able to cast close votes on bountied questions as usual, and if a question gets enough, the bounty's refunded and the question closed.  An obvious benefit would be reduced burden on moderators, but I doubt that this is really a significant part of their workload.  More important is allowing the entire community's wisdom to be brought to bear.  Consider this question:      Having a simple MFC application with web browser controller that navigates to some site and then to another one on and on.      Using a powerfull machine (16 cores and lots of memory) OS is Server 2008 R2. I can see when launching my app over 30 instances I'm getting the OS UI (each window including my app, mspaint, taskmgr etc..) become very sluggish and slow.      I have monitored the machine resources (CPU, memory and GDI objects) but it seems that all of them are not even close to be in some level of stress.      What is the problematic resource that influence the machine in such way?      10x, Guy   It doesn't look like a good question: somewhat poorly written, vague, not a ton of information, etc.  I would vote to close this question.  However, I don't do much work with MFC and maybe there's something I'm missing.  (I can readily imagine a similarly bad looking question with the extremely concrete answer: .)  I'm comfortable casting a vote to close, not closing unilaterally.  Flagging for a moderator just passes the buck to them, when the correct action is letting the community weigh in. Importing two classes with same name. How to handle? I have a site on my webhotel I would like to run some scheduled tasks on. What methods of achieving this would you recommend?  What I’ve thought out so far is having a script included in the top of every page and then let this script check whether it’s time to run this job or not.  This is just a quick example of what I was thinking about:  if ($alreadyDone == 0 &amp;&amp; time() &gt; $timeToRunMaintainance) {    runTask();    $timeToRunMaintainance = time() + $interval; }    Anything else I should take into consideration or is there a better method than this? What are the effects of exceptions on performance in Java? How to be sure API calls are using TLS 1.2 We are using .Net to make web service calls the Salesforce API. Is there a way to know for sure that the calls are using TLS 1.2? Are there any API logs or records of the protocol is use in Salesforce we can review to be confident the change is working? I frequently find myself writing code like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; foreach (int i in list) {     Console.Write("{0}\t", i.ToString()); } Console.WriteLine();   Better would be something like this:  List&lt;int&gt; list = new List&lt;int&gt; { 1, 3, 5 }; Console.WriteLine("{0}\t", list);   I suspect there's some clever way of doing this, but I don't see it. Does anybody have a better solution than the first block? Background: I have the opportunity to pursue a Computer Science graduate degree at a well respected program (around top 20). I spoke with the professors at the university and I feel like I am a good fit with their research program. My ultimate pursuits are to complete a PhD in CS. I've done research as an undergraduate and it has only confirmed my notion that I want to pursue a research track career.  More background: I applied to jobs (in case I was rejected to all the programs I applied for) prior to hearing back from my respective graduate programs. I accepted a position for an industry job (this was to secure I wouldn't be both unemployed &amp; not in school).  Dilemma: Turns out my top graduate school is very interested in me, and I'm very interested in them. I would rather go to graduate school than work in industry forever. The industry job pays very well. I am split between A) working for a maximum of 1 year(It would only be 1 year, seriously I do not care about the money enough to work past a year) and B) going straight to graduate school.   My concerns are as follows, if I choose A):    Could I potentially defer my admissions? If I am not allowed to defer my admissions, would I have a good chance of re-applying and being accepted a year later? Would my potential advisers look down on me for deciding to work a year?   I already made my mind up it would be a 1 year gig if I decide A). I know some people say once you make money, you may not be able to readjust to the graduate salary pay. But I don't think that will apply to because I'm going to live very frugally with or without industry pay. I have been reading the top posts here, and the recommendations for what to invest in are often similar. What I'd like to know, in as simply of terms as possible, is what the consensus is on priority of these investments.  I am new to this, but here are some of the obvious options:   Paying off credit card debt Paying off mortgage / student loans 401k up to employer match 401k past employer match IRA Emergency fund Other important investments that I have missed   Clearly this will vary person to person, but if you were asked to put an ordered recommendation on a highway billboard, what would it be?  (For example:   Pay off credit debt Emergency fund for 6 months 401k up to match ... ) continuous functions on $\mathbb R$ such that $g(x+y)=g(x)g(y)$ Let $g$ be a function on $\mathbb R$ to $\mathbb R$ which is not identically zero and which satisfies the equation $g(x+y)=g(x)g(y)$ for $x$,$y$ in $\mathbb R$.   $g(0)=1$. If $a=g(1)$,then $a&gt;0$ and $g(r)&gt;a^r$ for all $r$ in $\mathbb Q$.   Show that the function is strictly increasing if $g(1)$ is greater than $1$, constant if $g(1)$ is equal to $1$ or strictly decreasing if $g(1)$ is between zero and one, when $g$ is continuous.