March 28th, 2008 | by Leslie Hawthorn | published in Google Open Source
By T.V. Raman, Research ScientistLast November, we announced the release of the AxsJAX framework as an Open Source project hosted on Google Code. The convenience afforded by having HTTP access to the GoogleCode repository has meant that this project ha…
March 28th, 2008 | by Google Public Policy Blog | published in Google Public Policy
Posted by Jane Horvath, Senior Privacy CounselWhen I joined Google last fall, one of things that struck me was the diverse group of people who were thinking about privacy issues throughout the company — not just lawyers like me, but also engineers, ne…
March 28th, 2008 | by Jackie Bodine | published in Google Code
Greg Robbins, Google Mac TeamObjective-C, the native application development language for Mac OS X, is now the development language for the iPhone as well. That makes our open-source Google Data APIs Objective-C Client Library the natural way to write …
March 28th, 2008 | by Katy Bacon | published in Google.org
Posted by Kirsten Olsen, Program Manager, Google.orgCalCars just received the Aspen Institute’s First Annual Energy and Environment Award for its prominent role in promoting PHEVs and the electrification of transportation. The inaugural award is meant…
March 28th, 2008 | by Natalie Schwartz | published in Google Orkut
Posted by Harish Abbott, Ugenie[As we get ready for apps to go live on orkut, we’re excited to invite orkut developers to guest blog and preview their apps here.- The orkut team] What you read says a lot about you. So what better way to …
March 28th, 2008 | by DeWitt Clinton | published in Google Code
By guest author, Michael “Van” Riper, Silicon Valley Google Technology User GroupEver wondered how to create maps like this Primary Election Results Map, created by Michael Geary? If so, please join us in at the Googleplex (Bldg 43, main campus, room T…
March 28th, 2008 | by Andrew Chang | published in Google Docs
Posted by: Andrew Chang, Marketing ManagerOn Tuesday, we launched Google Docs in 8 Indic languages: Bengali, Gujarati, Kannada, Malayalam, Marathi, Oriya, Tamil, and Telugu. These languages are spoken by hundreds of millions of people, many of whom liv…
March 27th, 2008 | by Picasa Team | published in Google Photos (Picasa)
Posted by Miriam Schneider, Associate Product Marketing ManagerIn what could be considered the next evolution of scrapbooking, photo books are quickly becoming one of the most popular ways to creatively glorify your pictures. One of our main goals …
March 27th, 2008 | by Lawrence Chang | published in Google Mobile
Posted by Alexandra Kenin, Product Marketing Manager, Mobile AdsIn my last post, some of you expressed concern that intrusive and oversized advertisements on a small screen could result in a poor mobile user experience. You asked how we strike the del…
March 27th, 2008 | by Sean Harding | published in Google Webmaster Central
Written by Sean Harding, Webmaster Tools TeamWe all know how friendly Googlebot is. And like all benevolent robots, he listens to us and respects our wishes about parts of our site that we don’t want crawled. We can just give him a robots.txt file expl…
March 27th, 2008 | by Google Grants Team Member | published in Google Grants
Posted by German, Google Grants Team Did you know that you can add or edit your organization’s information in Google Maps at any time for free?Google Maps provides powerful mapping technology and local business information, including business locations…
March 27th, 2008 | by Inside AdSense Team | published in Google Adsense
We’ve given you many optimization tips over the years, and, as you know, it’s important to consider how your ad implementations affect not only your click-through rate, but your users’ and advertisers’ experience as well. To support this, we’d like to …
March 27th, 2008 | by Cat Allman | published in Google Open Source
By Michael Weiss-Malik, KML Product ManagerKML has seen tremendous uptake as a GIS data presentation language, in large part due to its simplicity. The ability to quickly and easily read or write small bits of KML by hand helps newcomers to rapidly exp…
March 27th, 2008 | by Natalie Schwartz | published in Google Orkut
Posted by Luiz Genoves, Software Engineer Do you have too many updates from your friends on your homepage? Are there certain friends you want to know more about, but others that you’d rather not see any updates from? If the answer is yes, I know how yo…
March 27th, 2008 | by Dion Almaer | published in Google Gears
Posted by Dion Almaer, Gears Team
Malte Ubl, who brought us xssinterface, has a new project that has Gears support.
Joose is a self-hosting meta object system for JavaScript inspired by the Perl Moose. Joose supports inheritance, traits, mixins, method wrappers and more.
Where Gears comes into the mix is through the Joose.Gears meta class which enables automatic delegation of methods to be executed as a Gears worker. If Gears is not present, the worker is executed in the main thread. The workers result will be sent to a method called “on”.ucfirst($worker_name) if available:
Class("HardWork", {
meta: Joose.Gears,
has: {
data: {is: rw, init: {}}
},
methods: {
onDoWork: function (result) {
ok(result == 1001, "Gear Worker returns correct result")
}
},
workers: {
doWork: function (start) {
var counter = start;
for(var i = 0; i counter++
}
return counter
}
}
})
var hw = new HardWork();
hw.doWork(1)
You can take a peak at the innards to see another interesting use of Gears.