I have a problem with Bibliography on my document.   At start I really had an issue printing it, now that  I found a way like this  \begin{thebibliography}{9} \bibitem {2003ApJ...596.1104V}...   My starting commands (before the documents start) are:  \documentclass[12pt,twoside]{report} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} \usepackage[a4paper,width=190mm,top=30mm,bottom=30mm,bindingoffset=6mm]{geometry} \usepackage{amsmath} \usepackage{esint} \usepackage[normalem]{ulem} \usepackage{graphicx} \usepackage{subcaption} \graphicspath{{Images/}} \usepackage{graphicx,wrapfig,lipsum} \usepackage{array} \usepackage{wrapfig} \usepackage{multirow} \usepackage{tabu} \usepackage{wrapfig} \usepackage{hyperref} \usepackage{fancyhdr} \usepackage{hyperref} \usepackage{needspace} \newcommand{\uvec}[1]{\boldsymbol{\hat{\textbf{#1}}}} \usepackage{macros}  \usepackage[style=authoryear,sorting=none]{biblatex}   But when I write   \cite{2003ApJ...596.1104V}   I only get  2003ApJ...596.1104V  I have see everything in google, and found that  I shouldnt use  \usepackage[style=authoryear,sorting=none]{biblatex}   But when I remove it, It doesnt even compile the Bibliography.  Any advice? :(
I have the following problem: I correctly obtain a numbered bibliography at the end but along the text the cite_key appear instead of a number. How to fix this problem?   \documentclass[11pt]{book}  \usepackage[]{biblatex} \begin{document} %some text  ... \cite{ABKM2015}... %some text  \begin{thebibliography}{99} \bibitem{ABKM2015} Arroja, F. and Bartolo, N. and Karmakar P. and Matarrese, S. (2015). \newblock The Two Faces of Mimetic Horndeski Gravity             \newblock {\em ArXiV}, 1506.08575 (2015). \end{thebibliography} \end{document}   After compiling I get ... [ABKM2015] ... while I want for example  [1].
New post formatting Update 3 It took me longer than I wanted, but I’ve got some updates for you on our s-prose component. You can see the  with my thinking over at our design system’s repo. It does the following:  Spreads s-prose headers out from paragraphs for better grouping. Tightens up s-prose paragraphs a bit, and made sure spacing under headings are more consistent. Replaces all s-prose margins internal to the component with a CSS variable var(--s-prose-spacing) so our users can more easily tinker with it in their browsers and user scripts. Kills trailing margins in s-prose  You can see  of content at our Stacks documentation.  Update 2 I’ve split the difference between the original 1.3 line-height and the proposed 1.6 line-height. We’re now at 1.5, with additional refinements to spacing between elements. I’ve also reduced line height within code blocks back to near the original value.  Update 1 This is now live.  We’re doing a bit of refactoring on our post formatting. Currently, we apply a single class with both layout and styling called .post-text. Our first goal is to separate layout from our text styles. Simple enough! However, our current post styling has a few missing spots and areas for improvements. Using our  as a sandbox, we’ve beefed up our styling and created a new component called .s-prose. It’s designed to offer styling for everything the  spec allows. This should allow us to add Stack Overflow-flavored styling anywhere we need to consume Markdown—questions and answers, of course, but also things like user profiles. Our .s-prose component adds:  Proper formatting for   Further header support and better spacing there  Additional blockquote refinements.  Refinements for revealing spoilers. We now reveal this on click / tap for a more consistent experience across devices—fewer accidental reveals as well, since it’s no longer a :hover interaction. Clicking again does not hide the spoiler. We also now add a badge to the top right corner. You can see how these work on our . It looks something like this:   This is a spoiler  It has two lines   General refinements to spacing including nested lists, images within lists  Sizing variations for different contexts. We offer xs, sm, and md variations of the .s-prose component.   As with everything, our prose component is a work in progress. We think we’ve got a heck of a start to a reusable component. We plan on going live with the new component network wide on Thursday, August 27, 2020. We’ll edit this post if that changes. If you see something funky, let us know. Some things are intended but might feel like regressions—images have a slightly different baseline—but others may have slipped through the cracks. I want to output two different views (one as a string that will be sent as an email), and the other the page displayed to a user.  Is this possible in ASP.NET MVC beta?  I've tried multiple examples:  1.      If I use this example, I receive the "Cannot redirect after HTTP   headers have been sent.".   2.      If I use this, I seem to be unable to do a redirectToAction, as it   tries to render a view that may not exist. If I do return the view, it   is completely messed up and doesn't look right at all.   Does anyone have any ideas/solutions to these issues i have, or have any suggestions for better ones?  Many thanks!  Below is an example. What I'm trying to do is create the GetViewForEmail method:  public ActionResult OrderResult(string ref) {     //Get the order     Order order = OrderService.GetOrder(ref);      //The email helper would do the meat and veg by getting the view as a string     //Pass the control name (OrderResultEmail) and the model (order)     string emailView = GetViewForEmail("OrderResultEmail", order);      //Email the order out     EmailHelper(order, emailView);     return View("OrderResult", order); }   Accepted answer from Tim Scott (changed and formatted a little by me):  public virtual string RenderViewToString(     ControllerContext controllerContext,     string viewPath,     string masterPath,     ViewDataDictionary viewData,     TempDataDictionary tempData) {     Stream filter = null;     ViewPage viewPage = new ViewPage();      //Right, create our view     viewPage.ViewContext = new ViewContext(controllerContext, new WebFormView(viewPath, masterPath), viewData, tempData);      //Get the response context, flush it and get the response filter.     var response = viewPage.ViewContext.HttpContext.Response;     response.Flush();     var oldFilter = response.Filter;      try     {         //Put a new filter into the response         filter = new MemoryStream();         response.Filter = filter;          //Now render the view into the memorystream and flush the response         viewPage.ViewContext.View.Render(viewPage.ViewContext, viewPage.ViewContext.HttpContext.Response.Output);         response.Flush();          //Now read the rendered view.         filter.Position = 0;         var reader = new StreamReader(filter, response.ContentEncoding);         return reader.ReadToEnd();     }     finally     {         //Clean up.         if (filter != null)         {             filter.Dispose();         }          //Now replace the response filter         response.Filter = oldFilter;     } }   Example usage  Assuming a call from the controller to get the order confirmation email, passing the Site.Master location.  string myString = RenderViewToString(this.ControllerContext, "~/Views/Order/OrderResultEmail.aspx", "~/Views/Shared/Site.Master", this.ViewData, this.TempData); How to disable auto brightening LCD I heard Andrew Ng (in a video I unfortunately can't find anymore) talk about how the understanding of local minima in deep learning problems has changed in the sense that they are now regarded as less problematic because in high-dimensional spaces (encountered in deep learning) critical points are more likely to be saddle points or plateaus rather than local minima.   I've seen papers (e.g. ) that discuss assumptions under which "every local minimum is a global minimum". These assumptions are all rather technical, but from what I understand they tend to impose a structure on the neural network that make it somewhat linear.  Is it a valid claim that, in deep learning (incl. nonlinear architectures), plateaus are more likely than local minima? And if so, is there a (possibly mathematical) intuition behind it?   Is there anything particular about deep learning and saddle points? Warning: mysql_fetch_* expects parameter 1 to be resource, boolean given error Compiz Problems (Plugin Missing, Performance Issues, Development) Why do mathematicians use single-letter variables? Keyboard shortcut to focus on (idle) terminal I would like to know, if there is possible to use keyboard shortcut to focus on first idle (non working) terminal window in unity (13.10)? Something like Ctr+Alt+T, but before opening the new instance of terminal, searching for any idle instance? The trigonometric ratios of an angle greater than $90^\circ$ are equal to the supplementary angle's ratios.  I'm just clarifying this, but the ratios don't actually exist for angles greater than $90^\circ$ right? (since by definition these ratios are of a right angle triangle). Is it just mathematical custom to assume the ratios of an angle greater than $90^\circ$ to be equivalent to its supplementary angle's ratios? For convenience? Here $n$ belongs to natural numbers. Firstly, I proved the relation by putting $n = 1$ . Then, taking $$|\sin(mx)| \leq m|\sin x|$$ true, I had to prove $$|\sin(m + 1)x| \leq (m + 1)|\sin x|$$  Now, here I got stuck. How to prove it?? Please help. How to make a water vortex Why people think dark matter as a massive particle? Couldn't it be gravitational waves? Dark matter is said to be present in the galaxies which helped galaxies to exist in the first place forming the glue to attach all the matter in the galaxies.  Given that dark matter never been seen or detected and only effect of which could be felt why do we believe it would be a particle? We have universe (almost) equally distributed in all directions with dark matter forming the skeleton for all the matter that could be seen. Can the dark matter be a illusion of gravitational waves interfering with each other forming this uniform interference pattern of galaxies/matter that is seen by us?  That would also explain the repulsive dark energy which would be the troughs in the gravitational waves indicating desructive interference in the gravitational waves.  Can we hope to simulating the above to come to the possible conclusion of source(two or many) of these gravitational waves that could give rise to skeleton of dark matter and dark energy which may be present in some higher dimentions? How can I move the top panel to the bottom in Gnome 3? Is there a way to move the top panel to the bottom in Gnome 3? It is very annoying to have this panel at the top, because then I have to aim for the close button when I want to close a window. When the panel is at the bottom, I can simply throw the mouse pointer to the corner. Big usability issue. If column matches another file, print every line with match (awk/grep) I need to do an  request in JavaScript. What's the best way to do that?  I need to do this in a Mac OS X dashcode widget. Why is ++i considered an l-value, but i++ is not? When I learned about the Minkowski Space and it's coordinates, it was explained such that the metric turns out to be $$ ds^{2} = -(c^{2}dx^{0})^{2} +(dx^{1})^{2} + (dx^{2})^{2} + (dx^{3})^{2}   $$ where $ x^0,x^1,x^2,x^3 $ come from $ x^{\mu} : \mu = 0,1,2,3 $, and $ c $ is the speed of light. The first resource I had access to--I have to do a bit of digging for the exact paper--of course addressed that this invariant takes the tensor form: $$ ds^2 = g_{\mu \nu}dx^{\mu}dx^{\nu} $$ as well. This two things I've seen in all of my texts and online resources regarding resources. The element in question that varies between authors, is the time coordinate, $ x^0 $. When it was first explained to me, it was using the standard Cartesian representation for the spatial portion of the coordinates, and the time coordinate was labeled as $ x^0 = ict $. Squaring gives $ (x^0)^2 = -c^2t^2 $, and applying differential calculus, we get $ (dx^0)^2 = -c^2dt^2 $. Sensible and expected to have the tensor formula spit out the Minkowski Metric. The author then later explicitly states the coordinates are $ x^0 = ict, x^1=x,x^2=y,$ and $x^3 = z$.  My questions is then, why is it most authors on the subject omit the imaginary unit on the time coordinate? For example, .   The only reason I can fathom omission is if the author is using metric signature $ [+,-,-,-] $, where I started off learning the theory with signature $ [-,+,+,+] $ which may be the reason seeing the time coord with no imaginary unit seems dissonant to me. All help appreciated!  Edit: After reading the other answers, my questions is now one of why and how (mathematically) do we obtain the Minkowski Metric Signature. More specifically the one element with a different sign. Automatically resize uploaded images Possible Duplicate:             Could large images of more then 640 pixels wide automatically be resized to reduce loading time and band width use? Not that I have a prehistoric internet connection here, but sometimes pages seem to need unnecessary time to load fully.  I just resized the image  from 179 kb down to 32 kb using a 15% compression rate. I think that is already worth it, although there have been much bigger downsizes in the past.  This feature then propably should/could be combined with , and uploading an image then would result in the following post addition:  [![enter image description here][2]][1]  [1]: http://i.stack.imgur.com/ZSBxw.gif "View &lt;image title&gt; full sized" [2]: http://i.stack.imgur.com/VXmBA.jpg "&lt;Image title&gt;"   Update:  I now understand from  that images áre resized already, but that post authors have to do some changes themselves. Could it then be automated to add the already resized image (that with the l suffix):  [![enter image description here][2]][1]  [1]: http://i.stack.imgur.com/ZSBxw.gif "View &lt;image title&gt; full sized" [2]: http://i.stack.imgur.com/ZSBxwl.jpg "&lt;Image title&gt;" JQuery to load Javascript file dynamically If there was a black hole on earth, what would it look like? If an answer does exist, I'd love to hear it. I'm trying to incorporate a doomed earth story in something I'm writing, and the end of the world I'm going for is a black hole.  Let's say the black hole was created in the Philippines (I chose it because it's on the equator). Here's  for reference.  If I was standing 90 degrees of that, in Kenya, or if I was standing 180 degrees of that, in Mexico; what would I see in those two separate instances? What if I was standing in Japan above it, or in Australia below it?  Let's also say I was riding a boat towards the source of the black hole. Unlike most imagined scenarios where I am orbiting the black hole and slowly falling into it, this time I'm no longer orbiting it - I'm getting sucked into it instead. I'm imagining that the black hole will "half" be inside Earth and "half" will be in the atmosphere. But as it pulls me in, what will it look like to me (if I was massless, so no tidal forces)? It's probably not going to be a black hemisphere sticking out of the ground. Light will be lensed around it in some way so as to appear like a hole in the air.  Also, if the black hole was very small, it probably won't have a strong gravitational pull, and assuming it doesn't disappear, you'd be able to look at it (or at least, its effect on the light in its surroundings). Of course, as you approach it, it would still have an event horizon, so spacetime would still be warped if you're near enough and the surroundings will still experience tidal forces.  As the black hole gains mass, it will get larger, and so its event horizon will increase. If I was standing in Kenya and the event horizon "washes over me," (as in a water wave) what will I see?  I've so far imagined that, at least when seen from outer space, there will be a hole on the ground and light will be lensed around it. When you are on the ground, though, it becomes a bit harder to imagine.  I do hope someone can lend me a hand!  Edit: Someone had previously answered this question, but I'm not sure why it's been deleted. It was pointed out to me, though, that a black hole cannot stay in place. So an additional question for me is, does that mean it is impossible to be standing still, and the event horizon "washes over you"?  Edit2: Here's a guiding thought experiment that could answer the question. Imagine that you are in outer space directly above the black hole, looking at the black hole that is on the earth's surface. Can you imagine what it would look like? It would simply be a hole with the surrounding light gravitationally lensed around it (possibly lensing the entire earth if it's big enough - but let's say it's not).  Now imagine that you are on the direct opposite of where you were above - you're right behind the black hole this time, looking directly at the black hole but unable to see it because the earth is blocking your view.  Now try to imagine, from the second image, rotate the earth into the first image. I find it a bit hard to do. Just as the black hole is appearing as you rotate the earth, how would the light be lensed?