Is there a way to show road directions in Google Map API v2?
Get driving directions using Google Maps API v2
Social network login or not? I am developing a niche social networking iPhone app of my own.   I was wondering if it would be best to allow the user to connect to social networks such as Facebook and Twitter to login to my app (and of course an eMail/Password fallback) or just go with regular eMail and Password login.  Any thoughts would be appreciated! :) I’m going to Germany for a semester exchange and I have a long-stay visa from Germany. Can I travel to the other Schengen states during this period with this visa or do I have to apply for a separate short stay Schengen visa?  My visa is German national visa type D. It is for a duration of 4 months, i.e., longer than 90 days. It says on the visa that the long stay visa is valid in Deutschland, which is different from my earlier visa, which I had when I visited Germany earlier; that one was a short stay visa and said it was valid in Schengen Staten.  Perhaps my current visa means that I can stay in Germany for a period of longer that 90 days can visit the other Schengen states if I don’t exceed the 90 day period. Flow to get all site collections in a tenant Created a Flow by using the below REST call and stored the title and Urls in another list  /_api/web/lists/getbytitle('DO_NOT_DELETE_SPLIST_TENANTADMIN_ALL_ SITES_AGGREGATED_SITECOLLECTIONS')/items?$select=Title,SiteUrl   Here the problem is it is returning only 100 items but I have 360 site sollections.   Not sure what I am doing wrong Uninstall, Activate, Deactivate a plugin: typical features & how-to I'm making a WordPress plugin. What are typical things I should include in the uninstall feature?  For example, should I delete any tables I created in the install function?  Do I clean up my option entries?  Anything else? Why does the odd part of the function integrate to $0$? When evaluating the integral $$\int^1_{-1}\frac{\cos(x)}{1+e^{1/x}}dx,$$ the author says that the odd part of the function integrates to $0$ over $-1$ to $1$. I have calculated the even part of the function ($\frac{1}{2}\cos(x)$), so the integral is equal to $\sin(1)$. But why exactly does the odd part integrate to $0$? How do users navigate to Meta? If a character who was under the effect of a growth potion (double their height and eight times their weight) and weighed 2,400 lbs. was able to use Dimension Door to teleport 400 feet or more into the air, directly above a Huge-sized monster, and fell on it, how much damage would the falling creature - and the monster - take?  I would assume both would take the 20d6 max for the falling over 200 feet, but is there a estimation on additional damage for the falling creature's size?  According to the splat calculator, at 500 feet you'd be falling at 196 km/hr, and it would expend 1.6 million joules of energy, the equivalent of over 3,000 mid-sized cars hitting an object at 60 km/hr.  A 2,400-lb. barbarian falling 500 feet is like dropping a mid-sized Toyota Corolla off a 50 story building onto a monster - it should do some damage. Does the alternating sum of prime reciprocals converge? $$\sum_{n = 1}^\infty \frac{(-1)^n}{p_n}$$ where $p_n$ is the $n$th prime.  I have computed this to 10000 rather than infinity. My results suggest that convergence does happen but it's very slow. But I can't even be sure about the first few digits: $-0.26959$?  I have looked at the "questions that may already have your answer" and some of the "similar questions," but they involve somewhat different formulas. How could it be that the entropy of gas is not infinite?  If we use the formula $S=k\ln(\Omega)$ we get infinity because there are an infinite number of possible situations (because there are infinite possibilities of position and momentum for each molecule). Using the simple example below, what is the best way to return results from multiple tables using Linq to SQL?  Say I have two tables:  Dogs:   Name, Age, BreedId Breeds: BreedId, BreedName   I want to return all dogs with their BreedName.  I should get all dogs using something like this with no problems:  public IQueryable&lt;Dog&gt; GetDogs() {     var db = new DogDataContext(ConnectString);     var result = from d in db.Dogs                  join b in db.Breeds on d.BreedId equals b.BreedId                  select d;     return result; }   But if I want dogs with breeds and try this I have problems:  public IQueryable&lt;Dog&gt; GetDogsWithBreedNames() {     var db = new DogDataContext(ConnectString);     var result = from d in db.Dogs                  join b in db.Breeds on d.BreedId equals b.BreedId                  select new                         {                             Name = d.Name,                             BreedName = b.BreedName                         };     return result; }   Now I realize that the compiler won't let me return a set of anonymous types since it's expecting Dogs, but is there a way to return this without having to create a custom type?  Or do I have to create my own class for DogsWithBreedNames and specify that type in the select?  Or is there another easier way? Infiniteness of non-twin primes. Well, we all know the twin prime conjecture. There are infinitely many primes $p$, such that $p+2$ is also prime. Well, I actually got asked in a discrete mathematics course, to prove that there are infinitely many primes $p$ such that $p + 2$ is NOT prime. Beamer Presentation: Figure has no number? I am giving a presentation and therefore I am using the  class. I have included some figures and it works, but there is no number after "Figure".  My code:  \documentclass{beamer}  \usepackage{graphicx} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} \usepackage{listings} \usepackage{xcolor} \usepackage{eso-pic} \usepackage{mathrsfs} \usepackage{url} \usepackage{amssymb} \usepackage{amsmath} \usepackage{multirow} \usepackage{hyperref} \usepackage{booktabs} \usepackage{wallpaper} \usepackage{bbm} \usepackage{cooltooltips} \usepackage{eso-pic} \usepackage{everyshi} \usepackage{calc} \usepackage{graphicx} \usepackage{ifthen} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{animate} \usepackage[singlespacing]{setspace} \usepackage[absolute,overlay]{textpos} \usepackage{enumerate} \usepackage{hyperref} \newenvironment{changemargin}[2]{%   \begin{list}{}{%     \setlength{\topsep}{0pt}%     \setlength{\leftmargin}{#1}%     \setlength{\rightmargin}{#2}%     \setlength{\listparindent}{\parindent}%     \setlength{\itemindent}{\parindent}%     \setlength{\parsep}{\parskip}%   }%   \item[]}{\end{list}}  \setbeamercolor{frametitle}{fg=red,bg=white}  \hypersetup{pdfpagemode=FullScreen} \renewcommand*{\UrlFont}{\normalfont}  \usetheme{Goettingen} \useinnertheme{circles} \beamertemplatenavigationsymbolsempty  \setbeamerfont{page number in head/foot}{size=\large} \setbeamertemplate{footline}[frame number]   %%% \begin{document}  \frame[plain]{ \titlepage }  \setbeamertemplate{background canvas}[default]  \frame{ \frametitle{}  \begin{figure} \begin{center} \includegraphics[scale=0.2]{varweakness} \caption{VaR as a quantile} \end{center} \end{figure}  }   \end{document}   Which gives the following frame with the figure:    (I am not sure what is causing the problem, therefore I did not delete any package.)  How can I get a number, e.g. Figure 1:? What are the best books to study Neural Networks from a purely mathematical perspective? I am looking for a book that goes through the mathematical aspects of neural networks, from simple forward passage of multilayer perceptron in matrix form or differentiation of activation functions, to back propagation in CNN or RNN (to mention some of the topics).  Do you know any book that goes in depth into this theory? I've had a look at a couple (such as Pattern Recognition and Machine Learning by Bishop or Deep Learning by Goodfellow, Bengio and Courville) but still have not found a rigorous one (with exercises would be a plus). Do you have any suggestions? Do the beacon lighters really live on top of the mountains? Following this image I found online:    Do the beacon lighters really live on top of the mountains?  It seems really cold on top of some of these mountains and there are no villages or whatsoever. Can I get UAC prompt for user from batch file? Can I get UAC prompt for user from batch file?  For example I need put some keys to registry under CurrentControlSet from batch file by     reg import path\to\my.reg   PS. runas is not a solution as my customers uses different Windows localisation and I can not guess which name used for Administrator account (this can be Администратор)...  And script don't know administrator password.  And UAC dialog box does not require password entering... To post an image in a question/answer an user requires at least 10 rep points (see ). To be able to upload an image in the chat, the rep requirements is instead 100 rep point (see ).  Is there any reason to that? I am asking because IF the rationale is to provide more protection inside the chat, the protection is easily circumvented by uploading the image via the question editor, and then copying the link to the chat. Basically, the more restrictive requirement fail to reach its goal - assuming that blocking uploads from new users was indeed the target.  I am not proposing to change that (it doesn't seem worthy the effort) but I was curios to know if this is just a refuse caused by successive changes to the system or if there is actually a different rationale to this that I am missing.  [note: I will remove the double Discussion/Support tag as soon as I can focus if the question has a staff answer - support or will prompt a discussion] Series rearrangement and Riemann's theorem I think understand that when I have a conditionally convergent series, it consists of series of positive and negative values which are divergent and thus one can find such permutation of indices $\phi : \mathbb{N}\rightarrow\mathbb{N}$ so the rearranged series sums up to an arbitrary value, diverges or oscillates.   This is how I understand what Riemann's rearrangement theorem says, but how do I use it practically? For example, when I have the conditionally convergent series:  $$\sum_{n=1}^{\infty}\frac{(-1)^n}{\sqrt{n}}$$  and I want to rearrange it to be divergent or to sum up to certain value M? How do I define such bijections $\phi$ ?  I appreciate all help. Explanation of Spikes in training loss vs. iterations with Adam Optimizer I am training a neural network using i) SGD and ii) Adam Optimizer. When using normal SGD, I get a smooth training loss vs. iteration curve as seen below (the red one). However, when I used the Adam Optimizer, the training loss curve has some spikes. What's the explanation of these spikes?   Model Details:  14 input nodes -> 2 hidden layers (100 -> 40 units) -> 4 output units  I am using default parameters for Adam beta_1 = 0.9, beta_2 = 0.999, epsilon = 1e-8 and a batch_size = 32.  i) With SGD  ii) With Adam How to unlock gungeoneers I've seen on a wiki that there is a ghost gungeoneer and a robot gungeoneer but it didn't say how to unlock them, so how do I unlock more gungeoneers ? Where do I put the code snippets I found here or somewhere else on the web? Many posts here or somewhere else contain code, but they do not say where to put it.  Example:  I have found this post:  I'm a newbie with PHP. Where exactly should I place the code from the answer?