November 13th, 2008 | by Cat Allman | published in Google Open Source
By J-P Stacey, OxfordGeeksOn Wednesday 22 October, over a hundred geeks attended the ninth Oxford Geek Night, upstairs at the Jericho Tavern. After the musical theme of the previous OGN, this one had a distinct flavour of online publishing.Jeremy Rusto…
November 13th, 2008 | by Trevor Claiborne | published in Google Website Optimizer
If you’ve recently started using Website Optimizer or are planning to but want to learn from some GWO experts before you launch your first test, you’ll want to check out Website Optimizer Seminars for Success.Seminars for Success are full-day, classroo…
November 13th, 2008 | by Jeff Fisher | published in Youtube API
Posted by Andy Diamondstein, YouTube APIs and Tools TeamIn the past few months, thousands of you posted questions in our API forum, many for the very first time in your lives, because you believed that your voice could make a difference. You know that …
November 13th, 2008 | by Adam Feldman | published in Google Ajax API
We’re pleased to announce the addition of local search for China. For users already using the AJAX Search API for local search, you should now be able to search for businesses in China without having to make any changes. Try typing “hotels in Beijing…
November 13th, 2008 | by Google Docs | published in Google Adwords
The Seminars for Success program continues to grow and we’re happy to announce a new addition to the program: Website Optimizer Seminars for Success.For those not familiar with Seminars for Success, they are full day, in-person seminars providing hands…
November 13th, 2008 | by Google Public Policy Blog | published in Google Public Policy
Posted by Dan Martin, Global Communications and Public AffairsEarlier this week we announced that Google CEO Eric Schmidt will be in Washington next Tuesday to deliver a speech on the intersection between technology and the economy.Two days after Eric’…
November 13th, 2008 | by Scott Lininger | published in Google SketchUp
Posted by Scott Lininger, SketchUp Team
SketchUp 7 contains several improvements to the Ruby API. Here’s a quick tour of the best changes.
-
Improve your script’s performance!
Ability to perform faster inside start_operation transactions.
go_faster = true
model.start_operation operation_name, go_faster
Results from some real world tests, once the go_faster boolean was added:
Intersect overlaps with 500 overlapping squares
28.4 seconds vs. 26.3 (~92% as long)
Make faces with 500 faceless cubes
21.7 seconds vs. 14.5 (~66% as long)
Windowizer 3.0 with Four 20’x20′ windows, 12×12
16.1 seconds vs. 7.0 seconds (~43% as as long)
Windowizer 4.0 with Ten 5’x5′ windows, 6×6
22.6 seconds vs 8.7 seconds (~38% as long)
-
Leverage improved Web Dialogs
Addition of min/max widths.
WebDialog.min_width=100
WebDialog.max_width=300
WebDialog.min_height=500
WebDialog.max_height=600
Fixed Mac support for WebDialogs execute_script
WebDialog.execute_script(‘alert(“Bug is Fixed!”)’);
New full_security mode for webdialogs (disables plugins and remote links)
WebDialog.set_full_security
Ability to hide home/next/back navigation icons on the Mac
WebDialog.navigation_buttons_enabled=true
Cleaner, hash-based syntax for initializing
my_dialog = WebDialog.new(my_settings_hash)
-
Control Scale Tool handles on your components
Your script can now control which scale tool handles appear
# Disable the green and red-axes handles
# by setting bits 1 and 2 to 1.
behavior = my_component_definition.behavior
behavior.no_scale_mask = (1 2)
-
Load Definitions from the Web, or save to disk
Ability to download a definition from URL
model.definitions.load_from_url(url, download_handler)
Ability to Save components to disk from the API
my_definition.save_as(path)
-
Know more about what your users are doing
New methods for detecting “Component Edit” mode
users_current_edit = model.active_path
edit_mode_transform = model.edit_transform
Easily determine if they’re running in licensed Pro
is_licensed_pro = Sketchup.is_pro?
New “model level” callbacks in ModelObserver
def onActivePathChanged(model) { # Detect edit mode }
def onPlaceComponent(instance) { # Detect placements }
def onExplode(model) { # Detect group/component explode }
def onBeforeComponentSaveAs(instance) { # Add data on save as }
def onAfterComponentSaveAs(instance) { # Then clean up }
Detect if they’ve turned off your extension via the AppObserver
def onUnloadExtension(extension_name)
-
Delete your scenes via the API
my_page.erase
-
Keep SketchUp in Synch
UI.refresh_inspectors # force complete UI update
my_definition.refresh_thumbnail # force thumb update
my_definition.invalidate_bounds # force bb update
-
Measure your groups regardless of their transform
untransformed_bb = my_group.local_bounds
-
Use middle mouse button in your custom tools
def onMButtonDown(flags, x, y, view) { # now works! }
def onMButtonUp(flags, x, y, view) { # now works! }
-
Send ruby console output to the standard out
If you start up SketchUp from the command line, you can pipe to standard error and see ruby puts statements appear for you.
Sketchup.exe > myRubyLog.txt
-
and your users will benefit from numerous stability fixes!
Detailed documentation is coming soon… stay tuned!
November 13th, 2008 | by Scott Lininger | published in Google SketchUp
Posted by Scott Lininger, SketchUp TeamSketchUp 7 contains several improvements to the Ruby API. Here’s a quick tour of the best changes.Improve your script’s performance!Ability to perform faster inside start_operation transactions.go_faster = truemod…
November 13th, 2008 | by elaine | published in Google Earth
We’ve featured some of the most stunning pictures found in Street View on the blog, from the Colosseum in Rome to the Parthenon (well, a replica) in Nashville, but there are also countless practical uses of Street View. Here’s one of them: use Stre…
November 13th, 2008 | by dastels | published in Google Testing
If you’ve got some multi-threaded code, you may have data races in it. Data races are hard to find and reproduce – usually they will not occur in testing but will fire once a month in production.For example, you ask each of your two interns to bring …
November 13th, 2008 | by Maile Ohye | published in Google Webmaster Central
Since we launched enhanced indexing with the Custom Search platform earlier this year, webmasters who submit Sitemaps to Webmaster Tools get special treatment: Custom Search recognizes the submitted Sitemaps and indexes URLs from these Sitemaps into a …
November 13th, 2008 | by Inside AdSense Team | published in Google Adsense
Today, to help its video content partners earn more money, YouTube will begin running overlay ads in YouTube partner videos embedded on other websites. To date, YouTube has only run ads against partner videos on YouTube itself, and with people viewing …
November 13th, 2008 | by Custom Search Team | published in Google Custom Search
Posted by: Tom Duerig and Nicholas Weininger, Software EngineersEarlier this year when we launched Google Site Search, and AdSense for Search started using the Custom Search platform, we created a special Custom Search Engine (CSE) index for enhanced i…
November 13th, 2008 | by miriam | published in Google Student Blog
Today, we launched a new feature in Gmail that will make keeping in touch with your friends and family a lot easier: voice and video chat. Now, from your Gmail inbox, you can not only IM with your contacts, but also have face-to-face conversations. No …
November 13th, 2008 | by A Googler | published in Google Enterprise
When you have a new product or promotion, or recent news to share on your website, it’s important that visitors and customers can find it with ease. On a homepage where real estate for promotions and links is limited, search is the universal key to unl…