After test driving Google Chrome for 30 minutes or so, I like it, even if it seems bare-bones at the moment. The obvious way to add a few things I can't live without would be through plugins. Does anyone have any links to resources on how to get started building a plugin/addon for Chrome? Thanks.
What is the easiest and most efficient way to create an auto-increment counter for every data row in google appengine?
basically I want to give every row a unique row_number so that I can overcome the issue of only being able to get the first 1000 results in a select query. I can thus add a counter lies between condition and mine all the entires in the table.
I'm trying to make an app that links to Google streetview using latitude/longitude coordinates, and shows a streetview of the nearest road. This is coming from a fairly small and well covered area, so there isn't going to be any coordinates in the middle of the ocean.
Is there a published API showing the get parameters you need to link directly to streetview?
I get an "The remote name could not be resolved: 'mine.com'"
When using this open ID identifier:
https://www.google.com/accounts/o8/site-xrds?hd=mine.com
And it's true, that the mine.com DNS record doesn't exist. But I'm wondering why it goes to look there in the first place. All I want to be doing is to check if the user can login to our hosted domain. Is that really so hard?
According to this: http://code.google.com/appengine/docs/whatisgoogleappengine.html
it seems that GAE only uses Datastore to store data, which is equivalent with Table service on Windows Azure Platform.
Does anyone know that which RDBMS it uses? or such thing exists or not?
Hi,
i have a website and i have a Google Analytics code only on index.html code.
What does Avg. Time on Site measure?
Average time spend by visitors on all sites or
average time on one website (index.html)?
Regards
hey there,
in my google analytics account there is a page tracked usually opened as a javascript window.open() pop-up (same domain as referring page).
unfortunately, g.a. categorizes the pop-up page as entrance, although it is just a step in the whole navigation flow.
how can i avoid this?
thanks for your help!
To learn from good examples, what are the best open source Google App Engine applications out there?
I don't care if it is Java or Python based.
Please one app per answer. Feel free to add a link to the live app (if there is) and to the project page.
We have #1 and #2 spots we would like to keep, but because of the way things were jumbled we have to migrate to a new domain.
We do not want the new domain to be penalized for duplicate content, we want it to naturally take the spot on Google.
?????????????
I recently put up a site and I have been doing some SEO.
However I noticed that links from Google search append index.php to my links.
For example a site page which clearly appears as www.example.com/index/why on search together with correct content sample when clicked on ends up in the new browser as www.example.com/index.php/why
Note that on my site all links are redirected to SSL and I use the MVC stucture.
Any directives that am may be missing?
Hello!
I am wondering how does SVG work in IE with Google Docs Drawings?
Is it flash?
Could you please point me to the library they use to add SVG support to IE?
Thanks!
Hello,
I have an object of CalendarEntry
I know that http://www.google.com/calendar/feeds/[email protected]/allcalendars/full is the feed url of all calendars
but how I can get this feed url from CalendarEntry instance?
Because I wanna post a new entry in a specified calendar and I need this url.
Thanks!
Hi,
I made a small product using Google APIs.
Now i need to sell it to my client.
I made installer and simply added all APIs.
But now it is showing error of type COM.
How can i resolve this issue?
how powerfull is google android bluetooth programming?
is it considered a low level programming langauge/emulator that enables me to have full control over bluetooth? ie protocols,encryption,layers....
Google webfonts look horrible on windows.
What is going on? Is this a temporary problem that will be fixed, or is this just a windows problem that will forever persist? If the latter, doesn't that mean the entire project is sort of useless?
Thanks in advance.
One of my clients has requested this feature. They dont want to login to google analytics and want all the tracking/reporting through the site. Is there a way to show reporting inside an asp.net page?
Hello all,
I'm trying to figure out how to search for nearby businesses in an iPhone app using the Google Maps API. I'm completely new to Javascript, and have waded through some of Google's sample code easily enough.
I found how to grab the user's current location. Now I want to search for "restaurants" near that location. I'm just building on the sample code from here. I'll post it below with my changes anyway, just in case.
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps JavaScript API v3 Example: Map Geolocation</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
<script type="text/javascript" src="http://code.google.com/apis/gears/gears_init.js"></script>
<script type="text/javascript">
var currentLocation;
var detroit = new google.maps.LatLng(42.328784, -83.040877);
var browserSupportFlag = new Boolean();
var map;
var infowindow = new google.maps.InfoWindow();
function initialize()
{
var myOptions =
{
zoom: 6,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
map.enableGoogleBar();
// Try W3C Geolocation method (Preferred)
if(navigator.geolocation)
{
browserSupportFlag = true;
navigator.geolocation.getCurrentPosition(function(position)
{
// TRP - Save current location in a variable (currentLocation)
currentLocation = new google.maps.LatLng(position.coords.latitude,position.coords.longitude);
// TRP - Center the map around current location
map.setCenter(currentLocation);
},
function()
{
handleNoGeolocation(browserSupportFlag);
});
}
else
{
// Browser doesn't support Geolocation
browserSupportFlag = false;
handleNoGeolocation(browserSupportFlag);
}
}
function handleNoGeolocation(errorFlag)
{
if (errorFlag == true)
{
// TRP - Default location is Detroit, MI
currentLocation = detroit;
contentString = "Error: The Geolocation service failed.";
}
else
{
// TRP - This should never run. It's embedded in a UIWebView, running on iPhone
contentString = "Error: Your browser doesn't support geolocation.";
}
// TRP - Set the map to the default location and display the error message
map.setCenter(currentLocation);
infowindow.setContent(contentString);
infowindow.setPosition(currentLocation);
infowindow.open(map);
}
</script>
</head>
<body style="margin:0px; padding:0px;" onload="initialize()">
<div id="map_canvas" style="width:100%; height:100%"></div>
</body>
</html>
I have an std::map, and I would like to define an iterator that returns modified values. Typically, a std::map<int,double>::iterator iterates over std::pair<int,double>, and I would like the same behavior, just the double value is multiplied by a constant.
I tried it with boost::transform_iterator, but it doesn't compile:
#include <map>
#include <boost/iterator/transform_iterator.hpp>
#include <boost/functional.hpp>
typedef std::map<int,double> Map;
Map m;
m[100] = 2.24;
typedef boost::binder2nd< std::multiplies<double> > Function;
typedef boost::transform_iterator<Function,
Map::value_type*> MultiplyIter;
MultiplyIter begin =
boost::make_transform_iterator(m.begin(),
Function(std::multiplies<double>(), 4));
// now want to similarly create an end iterator
// and then iterate over the modified map
The error is:
error: conversion from 'boost
::transform_iterator<
boost::binder2nd<multiplies<double> >, gen_map<int, double>::iterator
, boost::use_default, boost::use_default
>' to non-scalar type 'boost::transform_iterator<
boost::binder2nd<multiplies<double> >, pair<const int, double> *
, boost::use_default, boost::use_default
>' requested
What is gen_map and do I really need it?
I adapted the transform_iterator tutorial code from here to write this code ...
I've been working for a few weeks now with the Google Maps API v3, and have done a good bit of development for the map I've been creating.
Some of the things I've done have had to be done to add usability where there previously was not any, at least not that I could find online. Essentially, I made a list of what had to be done, searched all over the web for the ways to do what I needed, and found that some were not(at the time) possible(in the "grab an example off the web" sense).
Thus, in my working on this map, I have created a number of very useful tools, which I would like to share with the development community.
Is there anywhere I could use as a hub, apart from my portfolio ( http://dougglover.com ), to allow people to view and recycle my work?
I know how hard it can be to need to do something, and be unable to find the solution elsewhere, and I don't think that if something has been done before, it should necessarily need to be written again and again. Hence open source code, right?
Firstly, I was considering coming on here and asking a question, and then just answering it. Problem there is I assume that would just look like a big reputation grab. If not, please let me know and I'll go ahead and do that so people here can see it. Other suggestions appreciated.
Some stuff I've made:
A (new and improved) LatLng generator
Works quicker, generates LatLng based on position of a draggable marker
Allows searching for an address to place the marker on/near the desired location(much better than having to scroll to your location all the way from Siberia)
Since it's a draggable marker, double-clicking zooms in, instead of creating a new LatLng marker like the one I was originally using
The ability to create entirely custom "Smart Paths"
Plot LatLng points on the map which connect to each other just like they do using the actual Google Maps
Using Dijkstra's algorithm with Javascript, the routing is intelligent and always gives the shortest possible route, using the points provided
Simple, easy to read multi-dimensional array system allows for easily adding new points to the grid
Any suggestions, etc. appreciated.
I'm developing a webpage and I would just like to make something more user friendly. I have a functional Google Maps api v3 and an address search bar. Currently, I have to use the mouse to select search to initialize the geocoding function. How can I make the map return a placemark by hitting the enter button on my keyboard? I just want to make it as user-friendly as possible.
Here is the javascript and div, respectively, I created for the address bar:
var geocoder;
function initialize() {
geocoder = new google.maps.Geocoder ();
function codeAddress () {
var address = document.getElementById ("address").value;
geocoder.geocode ( { 'address': address}, function(results, status) {
if (status == google.maps.GeocoderStatus.OK) {
map.setCenter(results [0].geometry.location);
marker.setPosition(results [0].geometry.location);
map.setZoom(14);
}
else {
alert("Geocode was not successful for the following reason: " + status);
}
});
}
<div id="geocoder">
<input id="address" type="textbox" value="">
<input type="button" value="Search" onclick="codeAddress()">
</div>
Thank you in advance for your help
I'm attempting to add some text to the directions results the Google Maps API returns to the specified div (directionsPanel). This code below would work fine, except that the jQuery line fires before loadFromWaypoints has finished modifying the DOM. If I run that line by manually triggering it after the directions content has finished loading, it executes as expected.
directions = new GDirections(map, directionsPanel);
directions.loadFromWaypoints(waypoints);
$("td[@jscontent='address']").append(" some content");
How can I add some sort of listener (on perhaps either the loadFromWaypoints callback function or the directionsPanel div itself) to execute my jQuery line after the DOM has finished reloading?
I just bought a new domain from GoDaddy (nurayka.net) and I want to use it for my .blogspot.com blog now. Here is my Blogger settings. And here is my GoDaddy DNS settings. After more than 24 hours, I still can't view my blog with that custom domain. It seems that it might be something wrong with my DNS settings.
Does my DNS settings correct?
Does GoDaddy Domain Forwarding should be enabled from 'nurayka.net' to 'www.nurayka.net'?
Note:
Before this, I have go through the GoDaddy Blogger DNS Setup and CNAME Tutorial. In the GoDaddy Blogger DNS Setup, I entered 'www.nurayka.net' and in the CNAME record (www), I entered 'ghs.google.com'.
Thank You!
Google I/O 2010 - Run corp apps on App Engine? Yes we do.
Google I/O 2010 - Run corporate applications on Google App Engine? Yes we do. App Engine, Enterprise 201 Ben Fried, Irwin Boutboul, Justin McWilliams, Matthew Simmons Hear Google CIO Ben Fried and his team of engineers describe how Google builds on App Engine. If you're interested in building corp apps that run on Google's cloud, this team has been doing exactly that. Learn how these teams have been able to respond more quickly to business needs while reducing operational burden. For all I/O 2010 sessions, please go to code.google.com/events/io/2010/sessions.html
From:
GoogleDevelopers
Views:
14
0
ratings
Time:
55:53
More in
Science & Technology
I have a central dispatcher servlet that has a servlet mapping of :
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
When i try to use the blob store service's createUploadUrl("/uploadComplete") it maps to a URL for e.g *'/_ah/upload/agp0d2VldG15cGljchsLEhVfX0Jsb2JVcGxvYWRTZXNzaW9uX18YEgw'*.
Before the Blob store service can handle the upload and redirect to /uploadComplete; my dispatcher servlet gets called and i am therefore not being able to upload anything.
Is there a servlet/ filter that i can map to /_ah/upload/* in my web.xml ?
How do i avoid the dispatcher servlet from getting called before the Blob store service can do its thing?