Copying & Pasting Example Code for the Google Buzz API

by Kofi Sarfo 14. June 2010 08:56

So the Google Buzz API has been available for a month and I've added all kinds of value to this example code. Below is a link to all those folks I follow (who have supplied an image):

It's trivial and yields a social graph in four lines of code essentially. Nice! The only thing we needed to consider was the use of response.data.entry instead of response.data.item which became obvious by looking at this JSON showing who I follow on Buzz.

Because most of our data-related time is in XML land immediately we think XSD and find there exists something similar for JSON. JSON Schema! The Address Schema, for example, looks reasonable but we wonder how necessary all those double quotes might be. They seem to be redundant tokens that only reduce readability. Otherwise it's friendly enough.

Tags:

Toys

Varying Takes on Database Naff

by Kofi Sarfo 1. June 2010 18:41

Migrating from a database we quite like to one we do not provides as much fun as surgery.

After the DBA has promoted the database into QA we find our application is spouting Primary Key violations because the sequence.nextval values are below those used within their respective tables. Identity columns. Yet another reason to prefer SQL Server. There's a clear pattern here.

Sure, there are some advantages but we'd take portability over the possibility of having more than one auto-generated sequence any day.

It's interesting catching the impressions of an Oracle expert going the other way. Oracle to SQL Server: Crossing the Great Divide, Part 2. The comments in Part 1 make for a fun read. Especially those that bemoan the developer tools.

Kiva Loans

  • Makenzi Makau

    Makenzi Makau

    Grocery Store

    Requested loan: $200

    Amount raised: $0

    , Kenya

    To buy cabbages and oranges to sell.

    Loan Now »

  • Andrew Katushabe

    Andrew Katushabe

    Pub

    Requested loan: $875

    Amount raised: $0

    Mubende, Uganda

    to buy more drinks such as soda and beer for resale.

    Loan Now »

  • Jessica Joguilon

    Jessica Joguilon

    Pigs

    Requested loan: $350

    Amount raised: $0

    Valladolid, Negros Occidental, Philippines

    to buy feeds and vitamins for her pigs.

    Loan Now »

To see more entrepreneurs »

Make a loan to an entrepreneur across the globe for as little as $25. Kiva is the world's first online lending platform connecting online lenders to entrepreneurs across the globe.