How can I show attribute value of shapefile in geodatabase?  &lt;html&gt; &lt;head&gt; &lt;title&gt;OpenStreetMaps and GeoServer&lt;/title&gt; &lt;meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"&gt;  &lt;link rel="stylesheet" href="http://localhost:8080/geoserver/openlayers3/ol.css" type="text/css"&gt;     &lt;script type='text/javascript' src='http://www.openlayers.org/api/OpenLayers.js'&gt;      &lt;/script&gt; &lt;script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=false"&gt;&lt;/script&gt;  &lt;script src="http://localhost:8080/geoserver/openlayers3/ol.js" type="text/javascript"&gt;&lt;/script&gt;  &lt;/head&gt; &lt;body&gt; &lt;p&gt;Text&lt;/p&gt;    &lt;div id="map" class="smallmap"&gt;&lt;/div&gt;     &lt;script&gt;     //Defining projections         var geographic = new OpenLayers.Projection("EPSG:4326");         var mercator = new OpenLayers.Projection("EPSG:900913");      //Defining bounds             var world = new OpenLayers.Bounds(-180, -89, 180, 89).transform(             geographic, mercator         );     //Defining map center             var lund_center = new OpenLayers.LonLat(92.19,21.63).transform(             geographic, mercator         );          var options = {             projection: mercator,             displayProjection: geographic,             units: "m",             maxExtent: world,             maxResolution: 156543.0399,          };     //Defining main variables           var map = new OpenLayers.Map("map", options, { controls: [] });         var osm = new OpenLayers.Layer.OSM();         map.addLayer(osm);       //List of layers          ///////////////////////////////////////my layer         var tiled = new OpenLayers.Layer.WMS(             "CTG_fiber",             "http://192.168.1.185:8080/geoserver/Fiber/wms",             {layers: "Fiber:CTG_fiber",              transparent: true}         );         map.addLayer(tiled);         //Map center and zoom         map.setCenter(lund_center, 14);      //List of controls             map.addControl(new OpenLayers.Control.LayerSwitcher());         map.addControl(new OpenLayers.Control.KeyboardDefaults());                   map.addControl(new new OpenLayers.Control.Navigation());      //Coordinates of mouse position         map.addControl(new OpenLayers.Control.MousePosition());       &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;
I have a map a at the link below:    I added one of my GeoServer WMS layers to the map, now I try to add the attributes window pop up on click. I found to examples on the OpenLayers 3 homepage, but I cannot put together a working code...      Is there any chance to have a working sample somewhere?
Are "w/o", "w/", "b/c" common abbreviations in the US? I wanted to use my android phone as a proxy server, meaning that I wanted to be able to use the IP on the phone as a proxy, so all request and response are received on the phone and forwarded back to the original requestor. How do I do this? I've been looking for some addon or something to render only the marked frames on timeline, i found this answer here on the stackexchange   The thing is this script only works with multiple cameras, i have only one camera that goes all aorund the scene but i only want to render the frames that i've marked on timeline.  Is there someone who can help me modify this script? Or find a better solution? Easiest way to prove that $2^{\aleph_0} = c$ $\aleph_0$ is the cardinality of the set of natural numbers, $\aleph_0 = |N|$. $c$ is the cardinality of the continuum, i.e. the set of real numbers $c = |R|$.  I know that $|P(A)| = 2^{|A|}$. This means that the cardinality of the power set of a set is 2 raised to the power of the cardinality of that set.  This basically means that to prove  $2^{\aleph_0} = c$, I need to prove $c = |P(N)|$. I've seen the Cantor diagonal argument, although I have no idea on how to use it to prove this.   Could anyone suggest ideas of the simplest way to prove that $2^{\aleph_0} = c$? WPF textblock binding with List does anyone know if there is a simple way to bind a textblock to a List. What I've done so far is create a listview and bind it to the List and then I have a template within the listview that uses a single textblock.  what I'd really like to do is just bind the List to a textblock and have it display all the lines.  In Winforms there was a "Lines" property that I could just throw the List into, but I'm not seeing it on the WPF textblock, or TextBox.  Any ideas?  did I miss something simple?  Here's the code  &lt;UserControl x:Class="QSTClient.Infrastructure.Library.Views.WorkItemLogView" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"          Width="500" Height="400"&gt; &lt;StackPanel&gt;     &lt;ListView ItemsSource="{Binding Path=Logs}" &gt;         &lt;ListView.View&gt;             &lt;GridView&gt;                 &lt;GridViewColumn Header="Log Message"&gt;                     &lt;GridViewColumn.CellTemplate&gt;                         &lt;DataTemplate&gt;                             &lt;TextBlock Text="{Binding}"/&gt;                         &lt;/DataTemplate&gt;                     &lt;/GridViewColumn.CellTemplate&gt;                 &lt;/GridViewColumn&gt;             &lt;/GridView&gt;         &lt;/ListView.View&gt;     &lt;/ListView&gt; &lt;/StackPanel&gt;     and the WorkItem Class  public class WorkItem {     public string Name { get; set; }     public string Description { get; set; }     public string CurrentLog { get; private set; }     public string CurrentStatus { get; private set; }     public WorkItemStatus Status { get; set; }     public ThreadSafeObservableCollection&lt;string&gt; Logs{get;private set;}   I'm using Prism to create the control and put it into a WindowRegion          WorkItemLogView newView = container.Resolve&lt;WorkItemLogView&gt;();         newView.DataContext = workItem;         regionManager.Regions["ShellWindowRegion"].Add(newView);   thanks How to re-install http windows service I replaced apache webserver with http(WINHTTP windows service) for use virtual hosts feature. But I was missing  http(WINHTTP windows service) which I previously removed.I  now want to  reinstall this service for use print spooler. Is there any preference given based on how far in advance of the deadline a graduate application is submitted? How do they express the time, in American and British English? I don't know if this is a good question. But as far as I know, and as I do it, American English also say "after" other than "past" in expressing times.   For example, a quarter after six instead of, a quarter past six as in British English.  The other difference I know, so far, is that the British use dots to separate "hour" and "minute" in digital times like "08.35" while Americans use a colon e.g; "08:35".  So is what I know, so far, correct? Or are there any other differences that I don't know about? How to deal with perfect separation in logistic regression? Time complexity of nested for-loop I need to calculate the time complexity of the following code:  for (i = 1; i &lt;= n; i++) {   for(j = 1; j &lt;= i; j++)   {    // Some code   } }   Is it O(n^2)? I am a final year PhD in UK in a scientific discipline and I am writing my thesis. I have already published 2 journal papers and I have submitted 2 more papers for publications. My department does not allow a "publications-based" thesis so I need to write a thesis in the context of a book etc.   As I write my thesis in a couple of places, especially in the literature review, I tend to reuse sentences from my publications. I try to restate them a bit, maybe change some words for their synonyms etc. but it is practically me writing about what I wrote before. It goes without saying that I cite/quote me at the end of a passage if I say something non-obvious (I found that slightly funny. :) ). The problem is that occasionally I am just explaining for instance how a certain estimation technique works; in that case I cite the original authors and not myself. The syntax in those occasions though is practically the same as the original passage I used in my publication; as I have explained it once and was consider good, I find no reason to reinvent myself (I do a mild rewording as I mentioned but that is quite insignificant). Same things goes for listings. I do cite my paper in the beginning of a big list as the list's source but the list itself is almost identical as the one in "my" paper; in those cases I don't use quotations, just attribution "[]".  Is there an obvious guideline? The basic definition of plagiarism "reproducing the work of another person's as your own" is not (directly) applicable to me because I am the other person (almost *); if I am using other people's work I do cite them but I don't cite myself, citing them, in quotation marks!  I am a bit "fuzzy" about how not to plagiarize myself in my thesis (I have had no problem regarding my journal publications).  (* In all publications mentioned I am the first -but not sole- author.) Finding determinant of matrix without expanding show that determinant $$\left|\matrix{ x^2+L  &amp;  xy   &amp;   xz \\ xy   &amp;    y^2+L &amp;   yz \\ xz   &amp;    yz   &amp;   z^2+L \\ }\right| =  L^2(x^2+y^2+z^2+L)$$  without expanding by using the appropriate properties of determinant.  All i can do is LHS  $$x^2y^2z^2\left|\matrix{ 1+L/x^2  &amp; 1  &amp;   1 \\ 1   &amp;   1+L/y^2 &amp;   1 \\ 1  &amp;    1   &amp;   1+L/z^2 \\ }\right|$$ Installing firmware blob for Intel Wifi USB pen I have installed Debian 8/Jessie minimal ISO on my laptop. I get error message during system installation:  Some of your hardware needs non-free firmware files to operate. The firmware can be loaded from removable media, such as a USB stick or floppy. The missing firmware files are: iwlwifi-7265-9.ucode iwlwifi-7265-8.ucode If you have media available now, insert it, and continue. Load missing firmware from removable media?  I found the appropriate firmware on Debian website, downloaded it (zip), extracted to flash drive, and booted with flash drive plugged in. I still get the error message that appropriate firmware could not be found (the error message disappear to fast to copy down). How do I properly format the flash drive? Or is the problem here something else? Windows Explorer on another computer tells me the flash drive is 14.6GB and formatted as FAT32. Set of left cosets is a group Let $N$ be a normal subgroup of $G$. Let $G/N = \{gN : g \in G \}$. Show that the $(G/N, \circ, 1_{G/N})$ is a group, where:  $\circ : G/N \times G/N \rightarrow G/N$ is defined by $(gN \circ hN) = ghN$ and $1_{G/N} = 1*N$.  Thanks for your help. I am calculating the Intraclass Correlation coefficient (ICC) as per the method of Shrout-Fleiss (1979), using the (3, 1) model in which the judges are fixed as are the targets.  Some of my ICC values are negative.  Is this to be expected?  How to interpret this?  I understand that the maximum ICC is 1.0, but is there a minimum value?  How are negative values interpreted? Username and Password not recognized when logging into Minecraft We just got a new laptop (ASUS) though we did have a mac.  We are trying to log onto Mojang to download Minecraft and it keeps saying, "The username and password are not recognized."   We have done all the usual procedures; we have reset the password, we are using the email, not the username to sign in, and it looks like the minecraft login servers are working etc. etc.  We quit Minecraft on the old computer and shut off that computer thinking that was the issue.   Still, we can't get onto Mojang.  We are accessing mincraft through firefox and trying to download it to the new computer but we can't get into the account to do that!  What in the world could be the issue? Adding shapefile or feature class as layer in ArcMap using ArcPy I am trying to automate various tasks in ArcGIS Desktop (using ArcMap generally) with Python, and I keep needing a way to add a shapefile to the current map. (And then do stuff to it, but that's another story).  The best I can do so far is to add a layer file to the current map, using the following ("addLayer" is a layer file object):  def AddLayerFromLayerFile(addLayer):  import arcpy  mxd = arcpy.mapping.MapDocument("CURRENT")  df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]  arcpy.mapping.AddLayer(df, addLayer, "AUTO_ARRANGE")  arcpy.RefreshActiveView()  arcpy.RefreshTOC()  del mxd, df, addLayer   However, my raw data is always going be shapefiles, so I need to be able to open them. (Equivalently: convert a shapefile to a layer file without opening it, but I'd prefer not to do that). With variable length instructions how does the computer know the length of the instruction being fetched? Is $L^{p}$ space with alternate norm Banach? How to drive multiple LEDs from a Li-ion battery (with varying voltage)?