After the recent upgrade to macOS Mojave Safari started redirecting from http://localhost to https://localhost. The problem persists only in Safari, in Chrome everything is the same as before. Now I'm temporary using 127.0.0.1 as a replacement, but it's inconvenient due to some limitations of software I'm using.   I tried searching and found some similar questions, where accepted answers were to kill Safari and remove ~/Library/Cookies/HSTS.plist file, and in my case it didn't work.   I also tried , without luck.
I have a device with a web-based control panel, and accidentally set it to redirect all http pages to https, even though some don't work over https. Although I've since corrected this, Safari seems to have memorised the redirect and is refusing to forget it, instead constantly attempting to redirect me to the invalid https address.  I've already closed Safari, cleared ~/Library/Caches/com.apple.Safari/ and ~/Library/Cookies/HSTS.plist but it still seems to be remembering the redirect when I re-open it.  Where else could Safari be storing this information? I can access the correct page via Firefox or Chrome, so it may not be a system wide service, or if it is it's not one that the other browsers use.  Unfortunately because the web-panel is provided by a device I don't believe I can adjust headers or setup a redirect back to the correct URL, which seem to be options offered in other similar questions, so I really need to find out where this data is being stored so I can destroy it with fire.
Sort by author in Alpha bibliography cin>> not work with getline() Whenever I try to get somebody to follow me in Skyrim they something in the lives with "You already have a follower.". The problem is, I don't.   I have not, to my recollection, had a follower at any given point in the game.  The only thing I can think of is that I have (spoiler)      finished Anriel's Endeavors and gotten him as a summon creature.    Or do I have a hidden follower that I can't remember. A dog or a horse perhaps? Note that I do not have a dog or horse following me now. I talked to dog once, and had a horse that died.  Is this a common/known issue? Is there a work around?  Any tips? How to use pagenumbering in the document? In my Master thesis, I would like to have the title page without any page number and an acknowledgments section and the table of contents with roman numbers. The rest of the document should be numbered arabic.  I have tried this, to have roman numbers for the Table of contents and normal numbers for the rest.  \documentclass[12pt,ngerman,openany]{report} \usepackage{titlesec} \usepackage{titletoc} \usepackage{cite} \usepackage[a4paper]{geometry} %\usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[ngerman]{babel} %\usepackage{ngerman}{babel} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{float} \selectlanguage{ngerman} \usepackage{amssymb} \usepackage{amsmath} \usepackage{url} \usepackage{epstopdf} \usepackage{scrhack} \usepackage{listings} \usepackage{caption} \titleformat{\chapter}{\rmfamily\huge}{\textbf\thechapter.}{25pt}{\huge\textbf} \defcaptionname{ngerman}{\lstlistingname}{Code} \defcaptionname{ngerman}{\lstlistlistingname }{Codeverzeichnis}  \lstloadlanguages{R}  \lstset{% general command to set parameter(s)    basicstyle=\sffamily\footnotesize, % print whole listing small    keywordstyle=\sffamily\footnotesize\bfseries, % ubold black keywords    identifierstyle=, % nothing happens    commentstyle=\sffamily\footnotesize\slshape, % green comments    stringstyle=\sffamily\footnotesize, % typewriter type for strings    showstringspaces=false, % no special string spaces    numbers=left,    numberstyle=\sffamily\footnotesize,    stepnumber=1,    numbersep=10pt,    showspaces=false,    showtabs=false,    frame=lines,    morecomment=[l]{\%},    float=htbp,    numberbychapter=true  }   \begin{document} \let\cleardoublepage\clearpage   \pagenumbering{roman}  \tableofcontents  \clearpage  \vspace*{75mm} \chapter{Einleitung} \section{Motivation} bla bla bla \section{Ziel}  bla bla \chapter{Stand der Technik zur Mustererkennung} \section{Die Zeitreihen} bla bla \subsection{Beschreibung} bla bla \subsection{Erklärung}  bla bla  \subsection{Vorhersage} bla bla \subsection{Kontrolle} bla bla \section{Feature Extraktion} bla bla \subsection{Autokorrelation} \subsection{Was ist Autokorrelation?} bla bla   \subsection{Autokorrelation und Zeitreihen} bla bla  \subsubsection{Zeitreihe-Diagramm}  bla bla \subsubsection{Lagged Streudiagramm} bla bla  \subsubsection{Autocorrelation-Function (Korrelogramm)} bla bla \subsection{Spektralanalyse} \subsection{Was ist Spektral-Analyse} bla bla \end{document} Under what conditions does loot despawn? Redirect non-www requests to www on Amazon Route 53 I want to redirect all requests from example.com to www.example.com.   Preferably, this should happen at DNS level. I tried using PTR records, but that simply fails, returning a 404.  wwww.example.com is an ALIAS for an Elastic Load Balancer.  What’s the simplest way to achieve this? Prove $4(x + y + z)^3 > 27(x^2y + y^2z + z^2x)$ Prove that, for all positive real numbers $x$, $y$ and $z$, $$4(x + y + z)^3 &gt; 27(x^2y + y^2z + z^2x)$$  I've tried expressing it as a sum of squares, but haven't got anywhere.   Hints are also welcome. How could they return the Infinity Stones in their "raw" form? There is this one little thing that I don't quite get at the end of Avengers: Endgame.  After Thanos was defeated, Captain took the stones back to where they were originally taken to "correct" the timeline. However we see that Cap has the 6 stones in their "Raw" form, but that is not how all of them were taken.   For example in 1970 Tony didn't take the Space Stone but the Tesseract, so I assume they extracted the Space Stone in the present (by breaking the Tesseract like Thanos in the Infinity War movie?).   So how could Cap return the stone to the rightful place when he actually needed to return the Tesseract? Or am I missing something here...   The same goes for the Mind Stone, which was inside the Gem on the Staff Loki had in the first Avengers movie. I'm creating a color object using the following code.  curView.backgroundColor = [[UIColor alloc] initWithHue:229 saturation:40 brightness:75 alpha:1];   How can I retrieve RGB values from the created color object? Contour integral of $\sqrt{z^2-1}$ on $|z| = 2$ I've been wrestling with this problem (available  ):  Evaluate the integral of $f(z) = \sqrt{z^2-1}$ around the circle $\{z: |z| = 2\}$, where the branch of the square root function is chosen so that $\sqrt{2^2-1} &gt; 0$.  I came up with the answer $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = \pi i$$ using the following argument, which seems a little like voodoo to me.  You notice that there are two points, at $z \pm 1$, where you might have to pick a branch of $log()$ to define the square root. Then, I convinced myself that as long as you exclude from your domain the real interval $-1 \le x \le 1$, the function $f(z)$ can be continuously defined (maybe the two branches somehow cancel?), and so is analytic on its domain.  Therefore you can shrink the contour of integration continuously using the Cauchy Closed Curve Integral Theorem, so that you wind up reducing it to the real integral $$2\int_{-1}^1 \sqrt{x^2-1} dx = \pi i$$  I'm not really sure the answer is correct, and I'm even less certain about the way I got it. I had a hard time convincing myself that $\sqrt{z^2-1}$ was not multi-valued on the domain. To try to get at that I tried $\sqrt{z^2-1} = \sqrt{z+1} \sqrt{z-1}$ and reasoned that the product makes the discontinuity disappear, using $$e^{\frac{\pi}{2}i}\cdot e^{\frac{\pi}{2}i} = -1 = e^{-\frac{\pi}{2}i}\cdot e^{-\frac{\pi}{2}i} $$ for the different branches of $log()$ you can choose.  I'd appreciate any input that would help me get a a better way to look at this.  Thanks!    EDIT  An attempt to use the Residue at infinity:  By substituting $z = 1/w$ you get \begin{eqnarray} \int\limits_{|z| = 2} \sqrt{z^2-1} dz &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1}{w^2}-1} dw \\ &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^2}\sqrt{\frac{1-w^2}{w^2}} dw \\ &amp;=&amp; \int\limits_{|w| = 1/2} \frac{1}{w^3}\sqrt{1-w^2} dw \end{eqnarray} The integrand is analytic in $|w| \le 1/2$ except at $w = 0$, so we can apply the Residue Theorem. Near $w = 0$, $\sqrt{1-w^2} = 1 - \frac{1}{2}w^2 + \dots$, so the residue of $\frac{1}{w^3}\sqrt{1-w^2} $ at $w = 0$ is $-\frac{1}{2}$. Then the integral is $$\int\limits_{|z| = 2} \sqrt{z^2-1} dz = 2\pi i \cdot (-1/2) = -\pi i$$ When using data.stackexchange.com I fail to remember if as [post link] is the correct alias to get the url for the post. Luckily the site has an  link. Unfortunately it is now broken. Can this be fixed? I have Opportunity-lookup field on Opportunity (self),  Scenario:   Opportunity A if select Opportunity B using lookup then Opportunity B's same lookup field automatically populate with Opportunity A.   I tried to achieve this using trigger - before insert/update but its failing as:  System.DmlException: Update failed. First exception on row 0 with id 006G000000DHaBlIAL; first error: SELF_REFERENCE_FROM_TRIGGER, Object (id = 006G000000DHaBl) is currently in trigger Oppy_before_INSUPD, therefore it cannot recursively update itself: [] How to read a csv file and use the values as x and y points in blender? Invoking JavaScript code in an iframe from the parent page Basically, I have an iframe embedded in a page and the iframe has some  routines I need to invoke from the parent page.  Now the opposite is quite simple as you only need to call parent.functionName(), but unfortunately, I need exactly the opposite of that.  Please note that my problem is not changing the source  of the iframe, but invoking a function defined in the iframe. Dismiss Windows 8 Volume Box (top left corner) When adjusting the volume in Windows 8.1, a box appears at the top left corner of the screen. This box sticks around for ~13 seconds before it fades away. If you attempt to dismiss it by click on it, it switches to the music app.  How do you disable or dismiss this annoying box? At the very least, can the time visible be adjusted? More times than not, it's in the way. What are good ways to make pdflatex output copy-and-pasteable? One frequent aspect of pdflatex output that could be improved is to what extent one can select text output from the generated pdf-file and copy-and-paste it. This is essentially an issue of having the right output encoding. There are at least two important aspects to this:   In the ideal case, Unicode would be the output encoding. Ligature glyphs (such as ﬁ) are ideally de-ligated in the output (here: "fi").   It seems that output encodings are specified through the fontenc package. What is the range of possible output encodings, and most importantly: Is there a way to specify a Unicode output encoding and one that deals with ligatures in the intended way?  (Note: It is important to distinguish output from input encodings. How to use different input encodings in LaTeX has been documented widely. My understanding is that this is best handled by the inputenx package, as it supersedes the inputenc package.)    Quick guide to the solutions: The information in the answers and answer threads is a bit distributed, so here the short summary: one approach is to use \input glyphtounicode together with \pdfgentounicode=1; the other approach is to use cmap/mmap.  Addendum: Sometimes one will need to load the package accsupp and enclose one's macro definition in \BeginAccSupp{method=hex,unicode,ActualText=&lt;codepoint&gt;}[...]\EndAccSupp{} to generate a specific code point. See the caveat about non-BMP code points  and the fix (starting from accsupp version v0.4, 2012/11/18) , which provides the new unichar package option. View history of changes Possible Duplicate:          How do I view the changes made to a question, in the SO-style visual diff?  I'm sure I've seen this before, but the "history" button eludes me. Clicking "edit" gives me a drop down of the revisions, but not the actual diff.    Edit  This edit is a demonstration of the revision history functionality. Simplify result of $\int_0^{\infty} \frac{1}{1+x^n}dx$ It is quite easy to show that (by using residue theorem) $$\int_0^{\infty} \frac{1}{1+x^n}dx = \frac{2 \pi i^{1+2/n}}{n(e^{2 \pi i / n} - 1)} $$ for $$n \ge 2$$  Is there any possibility to simplify $$\frac{2 \pi i^{1+2/n}}{n(e^{2 \pi i / n} - 1)}$$ or it is best result?  Thanks in advance! We have noticed that when using nginx internal 301 and 302 handling, nginx will serve a small document body with the appropriate Location: ... header.  Something along the lines of (in html): 301 redirect - nginx.  As appropriate in the above behaviour, a content-type text/html and content-length header is also sent.  We do a lot of 302 and some 301 redirects, the above behaviour is wasted bandwidth in our opinion.  Any way to disable this behaviour?  One idea that crossed our mind was to set error_page 301 302 to an empty text file. We have not tested this yet, but I am assuming even with the above, the content-type and content-length (0) headers will be sent.  So, is there a clean way to send a "body-less" 301/302 redirect with nginx? Word for phrase Good for you, bad for us There is a phrase I have heard quite a bit recently dealing with people that are leaving the department for promotions, etc. When a person leaves, it is good for them, but bad for us.  It is good for them because they will be pursuing a new opportunity, but not so good for the department since they will have to be replaced, and others will have to pick up the slack until someone else can be hired and get up to speed.  Is there a word that means that a deal is good for one party, but not necessarily the other?