I tried compiling a document with an included Hebrew word. I copy and pasted the \usepackage example loading English and French as an example. Since then, my document will not compile no matter what I do. I have completely removed babel from the preamble and it now complains that I am not loading English. I tried using \usepackage[english]{babel}, but then it tells me I'm not loading french. I add french, it complains about my encoding. But I don't have a single french word or accent in my text!   \documentclass{report} \setcounter{tocdepth}{3} \begin{document}   This will not compile, with the following logfile:  This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013/TeX Live for     SUSE Linux) (format=pdflatex 2013.12.10)  20 MAR 2014 19:43 entering extended mode  \write18 enabled.  file:line:error style messages enabled.  %&amp;-line parsing enabled. **/home/michael/Dropbox/ProjectMalynne/TEX/.Main.tex.swp (/home/michael/Dropbox/ProjectMalynne/TEX/.Main.tex.swp LaTeX2e &lt;2011/06/27&gt; Babel &lt;3.9f&gt; and hyphenation patterns for 78 languages loaded. (/usr/share/texmf/tex/latex/base/book.cls Document Class: book 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texmf/tex/latex/base/bk10.clo File: bk10.clo 2007/10/19 v1.4h Standard LaTeX file (size option) ) \c@part=\count79 \c@chapter=\count80 \c@section=\count81 \c@subsection=\count82 \c@subsubsection=\count83 \c@paragraph=\count84 \c@subparagraph=\count85 \c@figure=\count86 \c@table=\count87 \abovecaptionskip=\skip41 \belowcaptionskip=\skip42 \bibindent=\dimen102 ) (/usr/share/texmf/tex/latex/cjhebrew/cjhebrew.sty Package: cjhebrew 2004/08/27 v. 0.1a cjhebrew Hebrew Typesetting System ) (/tmp/.Main.tex.aux  /tmp/.Main.tex.aux:6: Package babel Error: You haven't loaded the language     english yet.  See the babel package documentation for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.6 \select@language{english}  Here is how much of TeX's memory you used:  244 strings out of 493315  2957 string characters out of 6145892  52158 words of memory out of 5000000  3777 multiletter control sequences out of 15000+600000  3640 words of font info for 14 fonts, out of 8000000 for 9000  957 hyphenation exceptions out of 8191  23i,0n,17p,200b,49s stack positions out of 5000i,500n,10000p,200000b,80000s  /tmp/.Main.tex.aux:6:  ==&gt; Fatal error occurred, no output PDF file produced!   Again, I'm not loading babel, and I keep getting exceptions. I tried trashing the aux files, but it's no use. Any ideas?
I've been trying to change the language of my LaTeX document by replacing \usepackage[swedish]{babel} with \usepackage[english]{babel} but I only get this message:  ! Package babel Error: You haven't loaded the option swedish yet.   I've read in an other question at this forum that compiling enough would solve the problem, but that doesn't work for me. Does anyone know what I should do?
Can you create an illusion of empty space? I've been thinking of various ways for a crafty Illusionist/Rogue to 'hide in plain sight' by essentially creating the cover that they want to hide behind.  Ideas include things like:   Create a wall that is 2.5ft closer than it really is and hide in said space Create some innocuous barrier or container and hide within it Create a 'sheet' that essentially has what an empty room looks like 'painted' on it, so someone walking past an open door would see an empty room.   From different discussions I've had, these all should work, but the one lingering one I have is, what if my illusion is simply 'empty space'?  If I were to create an illusion of empty space and then place myself in it, would I be essentially invisible?  What if I created an illusion that was partially-empty space, like a 5x5 cube of swiss cheese? Would it seem like there was a swiss cheese cube formed around my person or could my 'fake-empty-space-image' fill the holes?  Would my 'empty space' illusion simply need to work like the aforementioned 'sheet of what I expect you to see' in order to function (and thus most likely only work from limited viewing angles)? extract string between double quotes I have requirement that i need to extract string using quotes. My string as follows.  "abcd efgh" "ijkl mnop" "qrst uvwxyz"   can you help me to get the string between second double quotes(ijkl mnop) using sed or grep command.  In other words if I say give me the string in first quotes I want the  first string; if I say second string it should give me string between second double quotes and similarly third one also. I have a  repository which contains a number of subdirectories. Now I have found that one of the subdirectories is unrelated to the other and should be detached to a separate repository.  How can I do this while keeping the history of the files within the subdirectory?  I guess I could make a clone and remove the unwanted parts of each clone, but I suppose this would give me the complete tree when checking out an older revision etc. This might be acceptable, but I would prefer to be able to pretend that the two repositories doesn't have a shared history.  Just to make it clear, I have the following structure:  XYZ/     .git/     XY1/     ABC/     XY2/   But I would like this instead:  XYZ/     .git/     XY1/     XY2/ ABC/     .git/     ABC/ No internet after 16.04 LTS 18.04.01 upgrade This may seem like a duplicate, but many solutions have been unsuccessfully tried. Currently I have no internet, WIFI or Ethernet. Sometimes: "no wifi adapter found".  The device is HP dm4, dual boot with Windows 7.    Here is the  The issue started 3 weeks ago as no GUI after 16.04 LTS to 18.04.01 upgrade.  At that time, I was able to use the terminal to connect to the Internet and run "fixes" in   Then mysteriously, the GUI ran after restarting several times.  But since then, I am unable to connect to the Internet in the terminal or GUI.    There is a chatroom  about my issues.  sudo nmcli c up &lt;saved WIFI connection&gt;   only appears to connect.   sudo nmcli d wifi list   shows strong signal strength, but ping to google and nyt fails.   The phone I use as a hotspot shows a successful connection.    In the GUI Network Tools show the phone/hotspot recently used minutes ago, the Available Networks list shows the phone/hotspot as available with a check mark, but the "connect" button is grayed out and unfunctional.    REGDOMAIN=00 and attempts to change this has failed as others describe. I have a similar set up to the one described by cipricus in  and the situation described in Is it better to initialize class member variables on declaration  private List&lt;Thing&gt; _things = new List&lt;Thing&gt;(); private int _arb = 99;   or in the default constructor?  private List&lt;Thing&gt; _things; private int _arb;  public TheClass() {   _things = new List&lt;Thing&gt;();   _arb = 99; }   Is it simply a matter of style or are there performance trade-offs, one way or the other? Error when updating texlive 2015 When I want to update packages of texlive 2015 I get this error? what is the problem?  tlmgr update --list  The locale codeset (cp720) isn't one that perl can decode, stopped at   C:\texlive \2015\tlpkg\tlperl\lib/Encode/Locale.pm line 123. Compilation  failed in require at C:\texlive\2015\tlpkg\tlperl\lib/LWP/UserAgent. pm  line 1001. Can I prevent/restrict standard users from installing/uninstalling software? Can i prevent/restrict standard user from installing/uninstalling software in Ubuntu 12.04 desktop? What does the minus sign in Maxwell's third equation imply? If we write out Maxwell's equations with magnetic charges, we get $$ \begin{align} \nabla \cdot \mathbf{E} &amp;= 4 \pi \rho_e \tag{1}\\ \nabla \cdot \mathbf{B} &amp;= 4 \pi \rho_m \tag{2}\\ -\nabla \times \mathbf{E} &amp;= \frac{\partial \mathbf{B}}{\partial t} + 4 \pi \mathbf{J}_m \tag{3}\label{Eq:Faraday}\\ \nabla \times \mathbf{B} &amp;= \frac{\partial \mathbf{E}}{\partial t} + 4 \pi \mathbf{J}_e \tag{4}\label{Eq:Ampere} \end{align} $$ In particular, Faraday's law \eqref{Eq:Faraday} contains a minus sign that Ampere's law \eqref{Eq:Ampere} does not. This always struck me as odd because it's often said the fields are dual to each other (i.e. you can replace E with B and &quot;get the same result&quot;), but that requires a bit of mental recalibration to accommodate that minus. So I'm curious what the origin of that negative is and what it means. Are there any intuitive explanations for how to think about it? Can anyone tell me how to judge if a supervised machine learning model is overfitting or not? If I don't have an external validation dataset, I want to know if I can use ROC of 10 fold cross validation to explain overfitting. If I have an external validation dataset, what should I do next? Which are the most advanced frameworks and tools there are available for python for practicing Behavior Driven Development? Especially finding similar tools as rspec and mocha for ruby would be great. Creating a new DOM element from an HTML string using built-in DOM methods or Prototype I have an HTML string representing an element: '&lt;li&gt;text&lt;/li&gt;'. I'd like to append it to an element in the DOM (a ul in my case). How can I do this with Prototype or with DOM methods?  (I know i could do this easily in jQuery, but unfortunately we're not using jQuery.) Cardinality of the set of bijective functions on $\mathbb{N}$? The biggest peeve is sometimes I vote up an answer mid-way through reading it, and the "don't forget to accept" message blocks the remaining text, so I scramble and triple-click it until it closes.  Anyways I frequently scan my question list and search for SO's reminders, ("Consider accepting an answer") so the "don't forget to accept" is wholly unnecessary to some, and there should be a way to disable it. Do you think so too? "Typos" are acknowledged as "technical" errors, ones that obviously aren't caused by the writer's poor spelling. Although less frequent than in typing, they can also occur in handwritten texts, as a result of absent-mindedness or just an accidental stroke of the pen.   Since the text wasn't actually typed, it sounds funny to call them "typos". Is there a more fitting word, one that reflects the "accidental" nature of the error? I'm confused with using single or double brackets. Look at this code:  dir="/home/mazimi/VirtualBox VMs"  if [[ -d ${dir} ]]; then     echo "yep" fi   It works perfectly although the string contains a space. But when I change it to single bracket:  dir="/home/mazimi/VirtualBox VMs"  if [ -d ${dir} ]; then     echo "yep" fi   It says:  ./script.sh: line 5: [: /home/mazimi/VirtualBox: binary operator expected   When I change it to:  dir="/home/mazimi/VirtualBox VMs"  if [ -d "${dir}" ]; then     echo "yep" fi   It works fine. Can someone explain what is happening? When should I assign double quotes around variables like "${var}" to prevent problems caused by spaces? Disable white background of pasted text in PowerPoint When I paste text from another source with "Keep source formatting option" into PowerPoint 2010 I receive a white background, that I don't want.    How can I make this text background transparent, so there would be just red text on purple? Fedora 14 uses vi by default when one runs visudo. Is there a way to change this to something else? Newton's third law of motion states that every action has an equal and opposite reaction. That is the reason we do not sink into the earth, because when our weight exerts a force on the earth it also exerts an equal and opposite force on us.  But when we stand on quicksand or on fluids we can sink in. How is this possible? Does it not exert an equal and opposite force on us? Or are Newton's laws different in the case of fluids and substances of low densities? I found a couple useful threads on this forum with respect to the issues posed by (displaying) images in email signatures-- , for example-- and I've searched all over the web, but still have not found a good solution that sufficiently addresses the problem. A client of mine would simply like his company's logo included in the signature of his emails, and the issues I've encountered can be summarized as follows:   I can export a rasterized version of the logo from AI at actual size, and it will look sharp on the desktop but pixelated/blurry on hi-density (e.g. "retina") displays such as the iPhone. As suggested in the thread I referenced, I can export the logo at 2-3 times the actual, displayed size to target the hi-density displays, but the logo will then look soft on non-hi-density displays when it is scaled down. This is a particular problem in this instance as the logo contains text, which looks terrible when juxtaposed with actual text in the browser/email client. I've considered .svg as an option, but apparently the support is not great; and in this case I'm assuming the vast majority of the users reading this client's email will be using Outlook, so something that only renders properly in iOS/webkit/etc is not a viable option.   I'm at a loss at this point and wondering if there is any other possible option out there. I'm not sure, for instance, if it's possible to implement a hi-density image with lo-res fallback in an email signature?  Any suggestions/insights here are much appreciated. It's bordering on comical how difficult this task has turned out to be. Why are memory statistics in top and htop different? Whenever I use top and htop commands to see memory stats, they are always different as shown in figures. Which should I trust?