Simori.com

Where Art meets Science and falls in love.

Archive for July, 2008

Yahoo’s new API BOSS

So this will be my first post on simori. I had been observing this site for quite sometime and found very useful information. In case you have n’t got me yet, I am yashh. So here I am to add a few tidbits of mine.

For about an year I was wondering if google provided any API’s for the 3rd party players to utilize google search. In fact google has supported the Soap API for few years. The Soap API provided a lot of freedom for the developers to utilize the Google search remotely. The main advantage was that we could hide the backend queries from the presentation. In simple terms the results do not have the brand name google. Although google limited the queries to 1000 per day it was worth while. As of December 5, 2006, google is no longer issuing any new API keys to the developers and instead started promoting the AJAX search APIwhich does not give the developers the freedom to manipulate the presentation of search results.

Now it is Yahoo which has come the BOSS api which is used to launch search products. The first obvious question is how is it different from the previous Yahoo API.

  1. Unlimited queries per day.
  2. No restriction on presentation.
  3. Search Web, Images & News.
  4. Get Spelling sugestions.
  5. Reorder the search results & many other.

So let’s get started with a small exercise to know how Y! BOSS API works. Sign up for an BOSS Application ID. For this excercise I am using Y! BOSS mashup python library. You can download the library here. Unzip the library. Open config.json file in code editor and edit the application id with yours. Fire up your terminal (if on mac or command prompt on windows).

#!/bin/sh

$ cd Desktop/boss_mashup_framework_0.1
$ export PYTHONPATH=$PYTHONPATH:$PWD
$ python
Python 2.5.1 (r251:54863, Apr 15 2008, 22:57:26)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
>>> from yos.boss import ysearch
>>> data = ysearch.search(‘python’, count=10)
>>> data
# You find all the top search results for the keyword ‘python’
in a dictionary format. Voila you are able to search the web from your terminal.

Will Larson developed a python wrapper for the Yahoo BOSS boss_array.py. This eases our development by a large amount. Here is a good tutorial using the wrapper.

Conclusion: Yahoo BOSS api is certainly a boon for third party apps and developers. All it needs to improve is the speed and accuracy. It will take some time for the developers to accustom to it and develop new API’s over BOSS.

I am disabling comments for this posts as I already wrote this post in my personal blog. Head over to my blog to share some feedback with me.

The Joker Truely Dies

“Heath Ledger born April 4, 1979  was an Academy Award-, BAFTA-, Golden Globe-, and SAG Award-nominated Australian film and television actor. After appearing in television roles during the 1990s, Ledger developed a movie career, appearing in nearly 20 films. He starred in both critical and box-office successes, including 10 Things I Hate About You, The Patriot, Monster’s Ball, A Knight’s Tale, and Brokeback Mountain. For his portrayal of Ennis Del Mar in Brokeback Mountain, Ledger was nominated for a 2005 Oscar for “Best Actor in a Leading Role” and also was nominated and won “Best Actor” awards for that role from BAFTA and the Australian Film Institute and the New York Film Critics Circle, respectively, as well as won an MTV Movie Award with Jake Gyllenhaal for their “best kiss” in the film.

He played the Joker in the movie The Dark Knight, shortly before dying, on January 22, 2008, from an accidental prescription drug overdose at age 28. His final film performance, uncompleted at the time of his death, is the role of Tony in Terry Gilliam’s forthcoming film The Imaginarium of Doctor Parnassus. Posthumously, on February 23, 2008, he shared the Independent Spirit Robert Altman Award with the cast and crew of the film I’m Not There, in which he portrayed a character named “Robbie Clark”, based on a stage in the life of Bob Dylan.

From Wiki

  • 0 Comments
  • Filed under: Movies
  • Batman - Dark Knight - Sets Record

    Dark Knight Sets Weekend Record with “155.34 M”

    “The Dark Knight” took in a record $155.34 million in its first weekend, topping the previous best of $151.1 million for “Spider-Man 3″ in May 2007 and pacing Hollywood to its biggest weekend ever, according to studio estimates Sunday”. Yahoo.

    ” Estimated ticket sales for Friday through Sunday at U.S. and Canadian theaters, according to Media By Numbers LLC. Final figures will be released Monday.

    1. “The Dark Knight,” $155.34 million.

    2. “Mamma Mia!”, $27.6 million.

    3. “Hancock,” $14 million.

    4. “Journey to the Center of the Earth,” $11.9 million.

    5. “Hellboy II: The Golden Army,” $10 million.

    6. “WALL-E,” $9.8 million.

    7. “Space Chimps,” $7.4 million.

    8. “Wanted,” $5.1 million.

    9. “Get Smart,” $4.1 million.

    10. “Kung Fu Panda,” $1.8 million. ”

    From Yahoo.

  • 0 Comments
  • Filed under: Movies




  • Today at exactly 8:00 in the morning, Apple opens the door to accept their orders of the new iPhone 3G. Similar to the commotion of the last iPhone, crows have lined up heavily last night to claim their spot in front of Apple and AT&T stores. People who were skeptical to purchase about the first iPhone a year ago, are now lined up, waiting for the new and improved iPhone 3G. The “launch” of the new iPhone doesn’t end there, in various places like YouTube & Flickr, owners of the new iPhone post up pictures, videos, reviews and most importantly their “love”.

    For those you missed the commotion, here’s the experience all recorded.

    The Launch

    Picture of the launch

    Great Wave + Blue Jeans

    Found this really awesome picture of Hokusai’s Great Wave made from blue jeans. At first I couldn’t make up what the blue things were, it looked like shreaded blue papers with Hokusai’s painting. But when I looked closely at the length of the medium, and the texture on them, I soon recognize that they were all blue jeans!

    World Record - Firefox 3

    On June 17th, 2008 Firefox 3 set Guinness World record for most downloads in 24 hours. Million number of ursers downloaded firefox 3 in just one day. The excpectations in more than 5 million in one day, but i am not sure about the count. But i bet it will be more than 2 million. But its really amazing to see such an amount of users using Firefox.

    The mail Expected Feautres.

    • Faster load times
    • Better security against phishing and malware
    • Awesome Bar
    • Zoom in Feature
    • Better Look in Mac
    • and much more ……

    The Day the Earth Stood Still is a 2008 science fiction film, a remake of the 1951 film of the same name. Directed by Scott Derrickson and starring Keanu Reeves as Klaatu, the film updates the Cold War themes of man against man, to the more contemporary concerns of man against nature.


    http://www.apple.com/trailers/fox/thedaytheearthstoodstill/

  • 0 Comments
  • Filed under: Movies, Newsblog
  • Great Music Videos: Utada Hikaru


    Utada Hikaru-Sakura Drops

    Stay Gold Video (High Quality Full version)

  • 0 Comments
  • Filed under: Music Video
  • Mactracker provides detailed information on every Apple Macintosh computer ever made, including items such as processor speed, memory, optical drives, graphic cards, supported Mac OS versions, and expansion options. Also included is information on Apple mice, keyboards, displays, printers, scanners, digital cameras, iPod, Apple TV, iPhone, Wi-Fi Cards/Base Stations, Newton, and Mac OS versions.

    The software is packed with not only Apple desktop and laptop computers but also devices and peripherals such as iPhone, Servers, LaserWriter and Apple TV that Apple introduced between 1983 to 2008! It automatically detect your Mac and provide its in-depth profile.