DTrace demystified

Monday, November 05, 2007 at 1:43 PM



Now that Leopard is sweeping the planet, you might have heard about its cool new developer technologies, including DTrace, a great tool for observing and debugging software as it's running. If you're interested in learning more about DTrace, check out this terrific MacTech article written by our own Greg Miller.

Google Desktop update for Leopard

Wednesday, October 24, 2007 at 11:31 AM



This Friday is a big day in the Mac world: Apple is releasing Leopard, its new operating system. And that means we've been working hard to ensure that all Google products for the Mac work seamlessly with Leopard as well as Tiger. So we want to let you know about an update for Google Desktop for the Mac that adds Leopard compatibility. You should install this Desktop update before upgrading from Tiger to Leopard to ensure that Desktop works properly on Leopard. If after you upgrade to Leopard, your Google Desktop appears to be functioning incorrectly, please look at the release notes for troubleshooting information.

To install the Google Desktop update, please visit the Desktop for the Mac home page.

All our other products for the Mac (Google Notifier, Picasa Web Albums Uploader, SketchUp, and Earth) will smoothly transition from Tiger to Leopard. We've also made sure that our Dashboard widgets for Gmail and Blogger are compatible with Leopard, too.

An Uploader Update

Monday, October 15, 2007 at 10:16 AM



Today's release of version 1.1 of the Picasa Web Albums Uploaders adds support for Apple's new iPhoto '08. But under the covers, the new uploaders reflect some of the other ongoing work in Google's Mac team. For starters, this release installs and updates via Google Updater to ensure that you are running the latest version.

While our first release used a private API to talk with the Picasa Web Albums server, the new version is built on the public Google Data API interfaces and our Objective-C GData Library. This will make it easier for us to keep up with Picasa Web Albums' new features. For example, the iPhoto export plug-in now can convert keywords in iPhoto to tags in Picasa Web Albums.

Our goal is to keep the Uploaders as quick, straightforward utilities that make Picasa Web Albums readily available to Mac users. You can give us feedback about them at the Picasa Help discussion group.

Adventures in the culinary arts

Thursday, October 11, 2007 at 6:14 PM

Posted by Dave MacLachlan, Mac Software Engineer

How often do you get to cook fine cuisine for 800 people -- especially while learning from some of the finest chefs in the business? Our Google chefs offer a limited number of culinary internships, and I was lucky enough to win one. So one fine Thursday morning I got to spend 4 hours in the Google kitchens working with, and learning from, our amazing culinary engineers.

I arrived slightly late (stupid Bay Area traffic!) at 08:35 at Café 7 and Head Chef Eric grabbed me a hat and sent me over to Kelly to learn the ropes. The menu for the day was East Indian-inspired, and I was assigned to the vegetarian dishes. One was zucchini sautéed with some turmeric, and the other was a cauliflower-tomato curry. Sounds incredibly simple, but I had never really considered the scale that Google cooks for. A few hundred people can eat a lot of vegetables, and Cafe 7 is one of our smaller cafés.

Kelly started me on my first of three trays of tomatoes, coring out the tops, and dicing them into cubes. All the ingredients were amazingly fresh, many of them having been delivered from the farm first thing that morning. Each of the Google cafés runs almost completely independently from the others, and each one has a different style and ambiance. The chefs even get to choose where their produce comes from.

Being a rookie, I had to wear a knife guard on my left hand to make sure the vegetarian dish stayed vegetarian. Kelly was flying through vegetables, cutting 4 tomatoes into perfect 1 cm cubes faster than I could cut 1 into randomly diced sizes. She told me all about being a chef at Google, and compared it to her several years working in high-end restaurants. We managed to get through all the tomatoes, and then started in on the onions. Kelly had lent me some of her knives, which were razor-sharp, so I was actually glad that I was wearing the knife guard. I didn't realize that the chefs at Google all have their own private knife set. Most of the tools are shared, but knives are all owned personally.

After all the vegetables were chopped up, we moved over to the massive steam ovens and steamed the vegetables. To keep them looking fresh, we steamed them and then immediately dropped them in sinks full of ice water to blanch them. At this point I moved over to sandwich duty, and we put together 15 or so large turkey, avocado and aioli sandwiches.

It was getting to be mid-morning, so it was time to cook up the vegetables. We headed over to the stoves where we sautéed the cauliflower and tomatoes in one pan and the zucchini and onions in another. For some reason, I was expecting Kelly to have an exact recipe, but she did pretty much everything off the top of her head, with a quick taste here and there to verify that things were going as planned.

Finally, once things were all cooked up, it was time to start serving. I was put on the line and started serving all the hungry Googlers who came in. Interestingly, it was a bit of a slow day, so I actually had a chance to chat with some of the folks as they went through. It's interesting how you become a different person standing behind the counter in the chef's jacket. I ended up serving two people that I know quite well, and they didn't recognize me at all.

After an hour behind the counter, it was time to head back to the office and get some of MY work done.

I'd like to thank Eric, Kelly, and all the chefs at Cafe 7 for being so great. I'd also like to thank Emily for arranging it all. It was a wonderful experience that once again puts me in awe of our incredible cooking staff.

Google Desktop for the Mac in 9 more languages

Friday, August 31, 2007 at 9:35 AM

Hey, we're excited to launch Google Desktop and Updater for the Mac in 9 more languages today: Chinese Simplified and Traditional, Dutch, UK English, French, German, Italian, Japanese, and Spanish. For those of you who haven't tried Google Desktop yet, you can get the latest build at http://desktop.google.com/mac. All our current users will be updated to the latest and greatest automatically.

Internationalization is more than just great translations. Google Desktop for the Mac gives users fast, easy, and comprehensive search. So with this launch, we worked side by side with Googlers in Japan, France, Germany, and many other countries to make sure the product meets that goal in each of the 9 new languages. Part of that work was improving search and indexing support for non-Roman languages such as Chinese and Japanese. For our existing English users, this build also includes a lot of bug fixes (see release notes).

We're really excited to hear feedback from users all around the world about Google Desktop for the Mac. Thanks for all the comments you've sent us on previous versions.

Note: This update will most likely require a reboot and will create a new index of the information on your computer, to improve the quality of searches across all languages.

Fetch your docs, find your code

Wednesday, August 15, 2007 at 12:32 PM

by Greg Robbins, Mac Software Engineer

The collection of Google Data APIs continue to grow, and the Google Data APIs Objective-C Client Library is growing too. If you're a Mac software developer, you'll find that today's release of version 1.2 of the library sports new capabilities for your users and greater convenience for you.

Your application can now use the library to browse and upload documents and spreadsheets to Google Docs & Spreadsheets. If you write utilities for Google Calendar, your software can create new calendars and add subscriptions to calendars. The library now also supports the new Calendar Gadgets. For development tool builders, we have added support for Google Code Search. Finally, the Picasa Web Albums interfaces include a richer set of query parameters, allowing searches across all public photos in everyone's albums.

To ease your development effort, Google Data APIs Objective-C Client Library now has built-in support for logging of its server http transactions. All of its GData objects permit arbitrary developer-defined properties and keys, so it's easy to hang custom data off of the GData objects. And because developers may want to subclass the standard GData objects, the library allows your subclasses to be instantiated as surrogates instead of the standard GData classes when parsing XML.

A variety of bug fixes and other small improvements are also present in the latest release, many of them suggested by developers who use the library. Check out the release notes, download the new version, and let us know what you think.

(Non-)Secrets of WWDC

Monday, August 13, 2007 at 6:03 PM

by Mike Morton, Mac Team Engineer

Each summer for more than 25 years, thousands of developers have flocked to Northern California to attend Apple’s Worldwide Developer Conference (which everyone calls WWDC). It’s a week of lectures and labs, schmoozing and socializing, and it concentrates Apple geekery on a scale unmatched by anything else.

Recently most of Google’s Mac developers attended WWDC at San Francisco’s Moscone Center. As usual, we learned a lot of cool new stuff and, also as usual, Apple asked everyone not to talk about the stuff we learned: only the Steve Jobs keynote speech is public information. So instead, I’d like to tell you about the experience of attending the keynote and the rest of WWDC.


The build-up

So what’s the attraction? Isn’t all of Apple’s developer info available on the web? Yes, eventually, it is. But WWDC offers early information, in depth and in person. Some presentations are quite small and informal, and there are labs staffed by Apple engineers where you can ask questions or ask for help.

On top of that, there’s the social component. We all know the cliche that engineers are asocial, but the truth is that most of us really aren't. WWDC gives everyone a chance to see old school friends, former colleagues, and meet cyber-friends and -colleagues for the first time. I tend to look at nametags as people whiz by, just in case I spot a name I recognize under a face I’ve never seen.

There’s organized socializing, too, in the form of WWDC-sponsored parties and events held by companies, organizations, and individuals. Many folks believe that the technology industry exists to give us all a chance to drink beer, and they take good advantage of the opportunity.

Well before the conference starts, Apple posts a detailed schedule on its website. The schedule usually has some slots labeled TBA (to be announced). This usually means that Steve Jobs is going to tell us some big news on Monday, and those sessions later in the week will fill in the details. I plan my schedule in advance, meticulously choosing talks and other sessions like a first-year college student trying to plan all four years in advance. It’s fun, but nearly pointless, because you can't know what's in the TBA sessions.


Lining up

Experienced attendees fly in a few days before to shake the jet lag. This time, I didn’t: I walked into my hotel in the city about one minute past midnight on the first day of the conference. Still, I didn’t need my alarm to get up early, because the first day of WWDC is a big deal. I guess everyone else thought so, too, because when I arrived at Moscone Center at 7:00 a.m., the line outside was two blocks long and growing fast.

They let us in without too much of a wait, and registration went quickly. Everyone gets a badge, and tries not to lose it during the week — security folks really do check them every time you come in.

Then we line up again. There’s only one event the first morning: Steve Jobs’ keynote. Waiting two to three hours in line means lots of time to reconnect with old friends and exchange business cards with new ones. Sitting up front is a big deal. When the doors finally open, some folks want those seats badly enough that they will sprint the entire length of the auditorium. Since some of them don’t get much exercise, let alone running while lugging a laptop, the resulting race isn’t exactly the human drama of athletic competition. For me, this is when WWDC really begins, and I like to call it The Running Of The Geeks.


The Keynote

Nobody rallies the troops like Steve Jobs, and… this year's keynote began with nobody like Steve Jobs. It was John Hodgman (“I’m a PC” in Apple’s ads) on video, claiming to be Steve Jobs, telling us that Apple was disbanding and… well, you can watch it for yourself.

When the real Steve walked on stage, he wasted no time in telling us that Apple was doing well. He showed some upcoming games, previewed a bunch of features of Leopard… and then showed Safari running on Windows. That last was my favorite, not for the technical or marketing implications, but for the moment when he sat down at a Windows box, paused, and said (almost to himself) “This is odd”.

After the keynote, everyone headed to lunch, then to a “Mac OS X State of the Union” talk (the only one in that time slot), a survey of major changes affecting developers. By the end of Monday, regular sessions have begun, and I try hard to pay attention as I realize I’m at the beginning of a week full of new things to absorb.


Entertainment

There are things to do nearly every evening: Monday night was a reception hosted by Apple Developer Connection. Tuesday night was the Apple Design Awards, which left a lot of people Wednesday morning saying “Did you see that cool BART widget?!”. Later that evening was Stump The Experts, a sort of quiz show featuring impossibly hard tech trivia questions (but looking on the web for answers isn’t cheating). Thursday night is a big party — for many years it was held on the Apple campus, but this year it was outdoors in San Francisco.

For my money, the best entertainment of the week is Apple engineer James Dempsey, who performs original songs about Apple’s latest technology. I still remember laughing through Model View Controller when he did it live. This year I missed his two new songs, I love View and Release Me. If you don’t think these performances are hilarious — well, maybe you’re not nerdy enough (take that as you will).


Eventually it's Friday

WWDC always feels like a long week, but it's great fun. When it ended, I wanted to get home and start working on cool Google products using everything new in OS X!

Getting into the shuttle from the hotel to SFO, I realized all four of us were carrying WWDC bags. Somehow we managed to not get them mixed up as we rushed for our flights. Now that might have been interesting.