This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi Ric, | |
Just to build on Bens introduction. We are a unique consultancy focussed around Recruitment and social netWorks, our core focus is on the Java market, rather than Ruby. Our business model is very different from typical recruitment companies in that we generate 100% of our revenue from Recruitment, but spend 50% of our time on community focussed work. Rather than spend heavily on SEO or aggressive cold calling for new business, we do good things in the industry around building communities and organising events, we then spend time networking, building long term trusted relationships and proactively seeking referrals and recommendations. As a result of our model we are approached by many of the best developers in London before anyone else and have connections with many of the top employers. | |
As an example of what we do, and as Ben mentioned, I founded the London Java Community in 2007 and have since invested vast amounts of time and money growing it up to one of the largest and most active Java User Gro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){ | |
var mapManager | |
, idleListener = null | |
, startTime | |
, map = new google.maps.Map(document.getElementById("map_canvas"), { | |
zoom: 14, | |
center: new google.maps.LatLng(53.48, -2.245), // Manchester | |
mapTypeId: google.maps.MapTypeId.ROADMAP, | |
streetViewControl: false | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53.4,-2.3,53.5,-2.2: Object | |
E01005061: Object | |
label: "Manchester 018A" | |
lat: 53.47055 | |
lng: -2.20851 | |
score: 53.71 | |
uri: "http://opendatacommunities.org/id/geography/lsoa/E01005061" | |
E01005062: Object | |
E01005063: Object | |
E01005064: Object |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// get the LSOA data from the database. | |
var getLsoaData = function(tiles) { | |
// define this inside this closure - it's not useful outside the scope of this func | |
var buildSparql = function(tile) { | |
var lowerLat = tile[0][0]; | |
var lowerLong = tile[0][1]; | |
var upperLat = tile[1][0]; | |
var upperLong = tile[1][1]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MapManager.prototype = { | |
refresh: function() { | |
$(this).trigger('started'); | |
errored = false; | |
// clear these variables for this refresh | |
if (map.getZoom() > minZoom) { | |
$(this).trigger('zoomOK'); | |
var tiles = getTiles(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var MapManager = function(googleMap, initialScoreDomain) { | |
self = this; | |
map = googleMap; | |
scoreDomain = initialScoreDomain; | |
$(this).bind('lsoaDataRetrieved', function() { | |
lsoaDataRetrieved = true; | |
// TODO: this is where we'll refresh the polygons on the map, later. | |
// for now, just log out the lsoa data, and say we've done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function() { | |
// the constructor. | |
var MapManager = function(googleMap, initialScoreDomain) { | |
} | |
// public API | |
MapManager.prototype = { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
SELECT ?lsoa ?notation ?label ?lat ?long ?score | |
WHERE { | |
GRAPH <http://opendatacommunities.org/id/graph/geography/lsoa> { | |
?lsoa a <http://opendatacommunities.org/def/geography#LSOA> . | |
?lsoa geo:lat ?lat . | |
?lsoa geo:long ?long . | |
?lsoa <http://www.w3.org/2004/02/skos/core#notation> ?notation . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(this).bind('boundaryDataRetrieved', function() { | |
refreshPolygons(); | |
}); | |
$(this).bind('dataError', function() { | |
$(this).trigger('finished'); // tell people we're done | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// private variables | |
var map | |
, scoreDomain | |
, boundaryData = {} // map of tiles -> data | |
, self; |
NewerOlder