Official Google Notebook Blog: Stopping development on Google Notebook: "Starting next week, we plan to stop active development on Google Notebook. This means we'll no longer be adding features or offer Notebook for new users."
I signed up a new Google account with a domain of my own (secutum.com), and accessed Google notebook successfully. It's a good news. I do take a lot of notes.
Labels: google
Web API for Getting Latitude & Longitude with Address or GSM Cell ID
I developed a small web application, which provide a Web API for geting latitude and longitude with address or GSM cell ID.
To use it, just access it with the address or GSM cell ID/lac as parameters in URL:
http://marklet.appspot.com/geolocator/cellid?cellid=30559&lac=4471
http://marklet.appspot.com/geolocator/address?addr=北京王府井&of=xml
UTF-8 is supported for parameter
addr.
Accepted
of(output format) values:
This Web API is implemented based on Google Maps service.
Labels: geotag, google, locating, Mobile
地图偏移真和谐
自己随便拿 GSM Cell ID 做了个 Google Map 跟踪玩,赫然发现地图都便得厉害,差不多800米吧。查了一下,
据说是:“这是国际惯例。大多数政府都规定航拍图必须人工加入位置偏移,不能给真实的GPS信息。这都有算法。”当然,看看后面,不明真相的群众们不会这么接受有XX特色的国际惯例的。
虽然
有人说:“Google 地图手机版图层误差消失。“我试了一下,一般的搜索是没有偏了,可当我查询经纬度(如 39.974496,116.301469)时,还是有的。
很好,很和谐。广大不明真相的群众都在踊跃修正地图。
Labels: google, map
RFC 1123 Datetime Parsing with Google App Engine
Since datetime.datetime.strptime() support RFC 1123 datetime format, which is used in MIME headers for mail protocols and HTTP, with limited timezones (i.e. UTC, GMT, and local timezone of the host). With the following code, ValueError will be raised on time strings of any other timezones.
def _pdatetime(s):
return datetime.strptime(s, '%a, %d %b %Y %H:%M:%S %Z')
With the help of module email and time, this issue was walked around:
import datetime, email, time
def _pdatetime(s):
return datetime.strptime(
time.strftime('%a, %d %b %Y %H:%M:%S %Z',
time.gmtime(email.Utils.mktime_tz(email.Utils.parsedate_tz( s )))),
'%a, %d %b %Y %H:%M:%S %Z')
Labels: appengine, google, python, time
Bypass GWF for Google AppEngine Panel
In China, GreatFireWall blocks web services hosted at
ghs.google.com,
and Google AppEngine panel (
appengine.google.com) also. Now, almost all
IPs of GHS are blocked, but AppEngine can still be accessed with
specified IP.
Just add following line to your /etc/hosts:
209.85.171.118 appengine.google.com
Labels: appengine, google
Google手机地图-中国版
Google手机地图-中国版这个版本(2.2.0.5)挺实用了. 流量不大, 本地信息也不少了, GPRS 定位基本能用. 比较顺手的是它直接给了基站覆盖信息, 比没谱的瞎猜好点.
Labels: google