I want to display WMS layers in a webmapping application built with Leaflet (version 0.7). Layers (ArcGIS shape format) are stored in GeoServer (version 2.10.0) in a public domain workspace. I got it and I can visualize the layers in my application.  I also want to display a custom popup with information about each layer when I click on the layer in the webmapping application. This information I want to show is what is stored in the attribute table of each shape layer. I am not able to display this information in the application.   Can someone tell me an example code or how to do it?
I've got a simple Leaflet map with a basemap and one map-layer coming from my own hosted GeoServer.  I made the layers show up nicely in a map.  Now I want to add popups on the point layer showing information stored in MapService.  I couldn't find too much information about that topic.   There's one link to a working example but the link seems to be broken. I found another example which I addopted. You can see it on . I'd like to display the content of the name field in the attribute table but nothing happens when the user clicks the map.  Any idea?
This is about a step in a derivation of the expression for the relativistic Doppler effect.  Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\lambda_s$. The frequency $f_0$ and wavelength $\lambda_0$ received by the observer will be different.  Some textbooks now argue that the wavelength received by the observer is given by $\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive "crests" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\sqrt{\frac{c-u}{c+u}}$ is obtained.  But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\lambda_0$ mathematically? "No worthy mechs found" when trying to relay email to Gmail using Postfix I've been trying to configure email to forward to Gmail, using Postfix to relay email to smtp.gmail.com. However, I'm failing to get it to authenticate with smtp.gmail.com, which is a rather vital prerequisite to getting anything working…  The mail logs show only:  Oct 29 15:50:14 gsnedders-1 postfix/master[6596]: daemon started -- version 2.7.1, configuration /etc/postfix Oct 29 15:50:19 gsnedders-1 postfix/pickup[6598]: EBA1F78750: uid=1000 from=&lt;gsnedders&gt; Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: EBA1F78750: message-id=&lt;20111029145019.EBA1F78750@mail.gsnedders.com&gt; Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: from=&lt;gsnedders@gsnedders.com&gt;, size=324, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/cleanup[6603]: F2D557874F: message-id=&lt;20111029145019.EBA1F78750@mail.gsnedders.com&gt; Oct 29 15:50:19 gsnedders-1 postfix/local[6605]: EBA1F78750: to=&lt;me@gsnedders.com&gt;, orig_to=&lt;me&gt;, relay=local, delay=0.04, delays=0.03/0.02/0/0, dsn=2.0.0, status=sent (forwarded as F2D557874F) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: F2D557874F: from=&lt;gsnedders@gsnedders.com&gt;, size=454, nrcpt=1 (queue active) Oct 29 15:50:19 gsnedders-1 postfix/qmgr[6599]: EBA1F78750: removed Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: warning: SASL authentication failure: No worthy mechs found Oct 29 15:50:20 gsnedders-1 postfix/smtp[6606]: F2D557874F: SASL authentication failed; cannot authenticate to server smtp.gmail.com[74.125.157.108]: no mechanism available   And the postfix config is:  relayhost = [smtp.gmail.com]:587  smtp_use_tls = yes smtp_sasl_auth_enable = yes smtp_sasl_password_maps = hash:/etc/postfix/sasl/passwd smtp_sasl_security_options = noanonymous  smtp_tls_eccert_file = smtp_tls_eckey_file = smtp_tls_security_level = may smtp_tls_CAfile = /etc/postfix/cacert.pem smtpd_tls_received_header = yes tls_random_source = dev:/dev/urandom smtpd_tls_security_level = may Stopping to eat is tedious, is there any way to automate the process? While I've managed to optimize and automate almost everything, constantly having to stop and eat is annoying (I run around a lot, so I get hungry quickly). Is there any device or tool that will keep me well fed at all times without having to stop and feed? How can I play encrypted DVD movies? My machine can't play encrypted DVDs on a fresh install.  How do I add this capability?  Another useful bit of information would be what programs are best for playing DVDs, once I'm able to do so.  See the .  Will I be able to play DVD movies from ? What is the origin of Dol Goldur, and why did Sauron start there? Who built the fortress of Dol Goldur, and when was it built? And was it always a place for evil, or Sauron just occupied it?  Despite the fact that Mordor is much better fortified; artificially by the old fortifications,  and geographically, as it is surrounded by the mountains. Also considering the presence of mount doom that seem to enhance Sauron's power, Sauron chose to start his campaign from Dol Goldur, despite Mordor being ready for quite some time.  Why did he choose this enigmatic fortress, and not go straight for Mordor or even go earlier? UNO Stacking a Draw 4 Card instead of picking up 4 cards? Need clarification on the Draw 4 rule. - Player 1 lays down a Draw 4 Card and says the color is Red. - Player 2 does not have a Red card but has a Draw 4 Card. Can Player 2 lay down his Draw 4 Card and have Player 3 draw 8 cards? Can a PC with the Alert feat alert his friends? Assume the following situation: The party has been surprised by an ambush. Every PC is surprised except PC Bob because he has the Alert feat. Thanks to his high initiative bonus Bob gets to go first. He shouts "look out" to alert his party members of the imminent threat. The idea is that his party members are no longer surprised because he warned them.   While I think that this makes sense from a storytelling perspective, I am afraid this would be too strong. as it allows one PC with the Alert feat to give the "not surprised" benefit to other members of his party pretty much for free.  Is this allowed? Are there rules or an official ruling or similar on this?  If not, do you have any experience with this situation, and how did it play out in your games? Question Close Updates This week we rolled out a series of changes to  of the question close workflow.  You can read more about the details of these changes .    For context, the overall effort to improve the question close experience will be optimized for Stack Overflow. Given Stack Overflow’s scale, many of the pain points we hear about with question closing and reopening are unique to Stack Overflow and won’t make sense for other network sites. However some  changes are general improvements that should improve usability and guidance overall. Wherever possible, we plan to roll these changes out network wide as well. Any time we roll out a change network wide, we’ll make sure to cross-post here. This first phase is being rolled out to the network and is why I’m posting today.  Let us know if you run into any issues or have questions regarding the network here. Is liquid cooling necessary for high CPU performance over extended periods? I'm planning on building a system for high CPU and memory performance.  Graphics performance is not a major concern, as I do not plan to use it for gaming.  I noticed that liquid cooling seems to have become common since my last build, and I am wondering if it is needed in my case.  I do not plan to overclock any of the components.  The intended use for the system is primarily development and occasional compute-intensive tasks that will run on all cores continuously for several days to a week.  The system will not normally be in continuous usage like this, but it needs to be capable of occasional extended periods of continuous use at full capacity.  I have included the main components below.  CPU: i7-5960X  Memory: 64GB DDR4  Graphics card: Nvidia GeForce GT 730 2GB  Drive 1: 1TB SSD  Drive 2: 4TB 7200RPM HDD  Power supply: 700W  Is liquid cooling needed for the above build?  If not, is there any advantage in using it?  I have read reviews that mentioned liquid cooling unit failures that resulted in leaks, so I would rather not use it if it is not necessary.  Thanks! Which Java Collection should I use? How to open a folder in Finder by a single mouse click? (using Icon view) Is there a setting, key combination or similar to open a folder/subfolder in Finder with a single mouse click ?  I need a general solution which works on any folder in effort to minimize needless clicking ... that tiny triangle aside the folder icon will work yet its just too small and only appears using list view ... inspired by same behavior on osx inside a browser to hold down command key and single click a web link ... forcing users to double click is so 20th Century  Is there a way to enable this on macOS (High Sierra or higher)?  On ubuntu this single click preference is a simple setting ;-) In what order do multiple readied actions with the same trigger resolve? The following problem came up from a though I had while reading:  Let's say we have $M=\mathbb{Z}^n$ and we have another free $\mathbb{Z}$-module, $N$, inside of $M$ also with rank $n$.  We know we can make a matrix $A$ that changes $N$ to its representation in $M$ (ie has as columns the basis $N$ expressed in coordinates coming from the basis of $M$). If the index of $N$ in $M$ is $m$, I am pretty sure just from tinkering that the determinant of $A$ should also be $m$, however, I have not been able to show this.  It is unclear to me how to proceed. I though maybe I could do something related to the points in $\mathbb{Z}^n$ that are within the unit box of $N$, but I cannot really make sense of this.  Thank you for any help or direction. The Medibuntu Project has come to an end - what do I do now? Using Newton's Law of Universal Gravitation to find distance, with the question not giving sufficient information to substitute into the equation. Problem:  $F = \frac{(G m_1 m_2)}{r^2}$  An object of unknown mass is placed directly between the Earth and the Moon such that the forces of gravity acting on the object are equal from both the Earth and the Moon. The distance from the Moon to the object is exactly one-tenth of the distance from the Moon to Earth. Using the above formula, determine the distance from the Moon to the Earth.  Given is:  The factor $G≈6.67∙10−11\mathbf{N(\frac{m^2}{kg^2})}$ is a universal constant.  Mass of Earth $≈5.972∙10^{24}\mathbf{kg}$   Mass of the Moon as $≈7.348∙10^{22}\mathbf{kg}$  Mass of unknown object = $m$  My solution:  $F = \frac{(6.67 *10^-11) m (7.348*10^{24})}{R^2}$  $F = \frac{(6.67 *10^-11) (5.92* 10^22) m}{10R^2}$  As gravitational force acting on the object is equal   $\frac{(5.92\cdot 10^22)}{100r^2} = \frac{(7.348*10^{24})}{r^2}$  $R = 1.24 \cdot 10^4 KM$  Is this a viable solution to the problem? Please provide feedback. Thank you! After I deleted my Ubuntu partition, I rebooted my computer and I only get a prompt:   grub rescue &gt;   The command ls lists   (hd0) (hd0,msdos5) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1) (hd1) (hd1,msdos1)   I check them one by one:  ls (hd0,msdos5)/ ls (hd0,msdos1)/   But I cannot find the right partition. Is QImage able to open and render pure 16-bit images? How to split a long regular expression into multiple lines in JavaScript? $\left|x_{n+1} - x_n\right| < C\left|x_n - x_{n-1}\right|$ prove this is Cauchy Looking for a word like "eulogy", but for a person that has not died? I was thinking of words like the "background" of a person? Their overall qualities summarised into a short form. Eulogy might be a bad example, as it implies praise. A word meaning "a summary of someone's traits and characteristics."