Rants about Java and other internet technologies by Sam Pullara

Yuil is dead! 4hoursearch is now online.

As this was really just a demonstration of the power of Yahoo! BOSS, I have brought the site back as a demonstration site. Additionally, Yahoo! is making the source code to the new site available so anyone with a knack for Python, HTML and CSS can take a swipe at making a better search experience.  In order to make a nice UI I teamed up with another Sam, Sam Lind.  I put together the skeleton using Yahoo!’s amazing YUI tools and he created the look and feel.  Please try it out and take advantage of Yahoo!’s open search API:

 

 

Why 4hoursearch?  It took 4 hours to write the initial code, 4 hours for it to go from unknown to 20 hits / second, 4 hours looking for a domain name and 4 hours to build the brand new UI.  Fortunately, it won’t take 4 hours to find something with it :)

If you want the classic list of links, now enhanced with SearchMonkey results, you can always start here.

"Yuil is dead! 4hoursearch is now online." was published on August 1st, 2008 and is listed in Technology.

Follow comments via the RSS Feed | Leave a comment | Trackback URL

Comments on "Yuil is dead! 4hoursearch is now online.": 58 Comments

  1. Gene wrote,

    You should have done a eponymous satire: puillara.com ?

  2. Ted Drake wrote,

    FIRST!!!

    Seriously, cool job. It is also super fast.

  3. Yahoo! BOSS is easy — meet Yuil | java rants wrote,

    [...] Updated Yet Again: Relaunched as 4hoursearch including the source code. See this blog entry. [...]

  4. Russ wrote,

    “The requested URL /src/4hoursearch-src.zip was not found on this server.”

    :-)

    -Russ

  5. sam wrote,

    “The requested URL /src/4hoursearch-src.zip was not found on this server.”

    :-)

    -Russ

    Ugh. Bad push, just saw it in the log, fixed.

  6. Jason Chou wrote,

    Just wondering. What’s up with the image next to the first returned result? The image next to the first search for my name is from some random other site and has no connection to the listing.

  7. sam wrote,

    Just wondering. What’s up with the image next to the first returned result? The image next to the first search for my name is from some random other site and has no connection to the listing.

    Sorry it didn’t work well for you. The image is the #1 image search result for the same query. If you click on the image rather than the search result it will go through to the site that it was found on.

  8. Leon wrote,

    Took me a while to work out what looked wrong with the results page. No adverts! Thanks!

  9. james wrote,

    Dudes, you rock! Yahoo is innovating, keep it up! Wish you all the very best, guys.

  10. Dmitry Chestnykh wrote,

    http://www.4hoursearch.com/search?q=mémoires

    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.209/search.py”, line 37, in get
    result = search(query, count=10)
    File “/base/data/home/apps/yoolsearch/1.209/yos/boss/ysearch.py”, line 41, in search
    url = SEARCH_API_URL % (vertical, version, quote_plus(command), start, count, lang, region, filter, dimensions) + params(more)
    File “/base/python_dist/lib/python2.5/urllib.py”, line 1213, in quote_plus
    return quote(s, safe)
    File “/base/python_dist/lib/python2.5/urllib.py”, line 1205, in quote
    res = map(safe_map.__getitem__, s)
    KeyError: u’\xe9′

  11. sam wrote,

    Yeah, I suck at python. If anyone knows a better call to use than ‘quote_plus’ that works with UNICODE, I’m all ears.

  12. Yannick wrote,

    This is cool, nice job!
    Can you have control on the ads shown or can you only display Yahoo Ads?

  13. Alt Search Engines » Blog Archive » The Yuil is dead! Long live 4hoursearch! wrote,

    [...] 4hoursearch is so named because it took the creator of Yuil and a friend just 4 hours to write the code as a demonstration of the Yahoo!’BOSS system as described here: [...]

  14. Yahoo! Cool thing of the Day » Blog Archive » Yuil Be Missed wrote,

    [...] EDIT: If you’re curious, Yuil has been relaunched as 4hoursearch. [...]

  15. Coder links Yahoo search, Google App Engine « IT Spot wrote,

    [...] named because it took four hours for programmer Sam Pullara to whip it together, according to his blog. The search site presents a Yahoo-powered interface that mirrors that of Cuil, a loudly trumpeted [...]

  16. John Boxall wrote,

    For IRIs to URIs in Python (like http://www.4hoursearch.com/search?q=mémoires) see:
    http://code.djangoproject.com/browser/django/trunk/django/utils/encoding.py

  17. Coder links Yahoo search, Google App Engine | Blogging wrote,

    [...] named because it took four hours for programmer Sam Pullara to whip it together, according to his blog. The search site presents a Yahoo-powered interface that mirrors that of Cuil, a loudly trumpeted [...]

  18. techdude wrote,

    NICE SAM! definitely support you, wrote an entry on my blog to help support you as well.
    http://blabtech.blogspot.com

  19. dvs wrote,

    Yeah, I suck at python. If anyone knows a better call to use than ‘quote_plus’ that works with UNICODE, I’m all ears.

    http://www.4hoursearch.com/search?q=python+quote_plus+UNICODE ;)

    The functions django.utils.http.urlquote() and django.utils.http.urlquote_plus() are versions of Python’s standard urllib.quote() and urllib.quote_plus() that work with non-ASCII characters. (The data is converted to UTF-8 prior to encoding.)

  20. sam wrote,

    The functions django.utils.http.urlquote() and django.utils.http.urlquote_plus() are versions of Python’s standard urllib.quote() and urllib.quote_plus() that work with non-ASCII characters. (The data is converted to UTF-8 prior to encoding.)

    That fails in the same way as it is a wrapper on quote_plus.

  21. Talkibie » Archive » Yahoo! shows Google who’s BOSS wrote,

    [...] brand new UI.  Fortunately, it won’t take 4 hours to find something with it  ,” Pullara posts.  It would appear Yahoo! BOSS delivers on both fronts.   Often times, the best way to beat a [...]

  22. sam wrote,

    For IRIs to URIs in Python (like http://www.4hoursearch.com/search?q=mémoires) see:
    http://code.djangoproject.com/browser/django/trunk/django/utils/encoding.py

    This isn’t included in Google App Engine — it has an older version of Django — but I ported it over and it works great! Please test out the unicode support now.

  23. Papajack wrote,

    Congrats, getting it up so fast is pretty cool. The problem with any search engine front end built around Yahoo’s API is that it’s…well, built around Yahoo’s API. No matter how good of a coder you are, fact is that the search results are still based on Yahoo’s indexes, which just isn’t as comprehensive as Google’s. (Don’t like Google btw, just saying). Or am I missing something?

  24. dktrooper wrote,

    http://www.4hoursearch.com/search?q=mp3+download

    resulted an error:

    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.216/search.py”, line 52, in get
    template_values['image'] = image_response['resultset_images'][0]
    KeyError: ‘resultset_images’

  25. Technology@Work wrote,

    [...] После некоторого времени работы сайта, его создатели решили изменить дизайн, чтобы тот был меньше похож на Cuil. Было придумано новое название - “4hoursearch“. Вот что говорят по поводу этого выбора авторы: Потребовалось 4 часа времени, что написать начальный к

  26. dktrooper wrote,

    It’s now working fine (: what was causing the error btw?

    http://www.4hoursearch.com/search?q=mp3+download
    resulted an error:
    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.216/search.py”, line 52, in get
    template_values['image'] = image_response['resultset_images'][0]
    KeyError: ‘resultset_images’

  27. sam wrote,

    It’s now working fine (: what was causing the error btw?

    http://www.4hoursearch.com/search?q=mp3+download
    resulted an error:
    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.216/search.py”, line 52, in get
    template_values['image'] = image_response['resultset_images'][0]
    KeyError: ‘resultset_images’

    An underlying BOSS web service regressed temporarily, it has been corrected.

  28. 4hoursearch « Mundo 3W wrote,

    [...] en la red son muy fuertes y no se sabe bien como se acabará con estas guerras o temblores ocultos mirar aqui por futuros cambios [...]

  29. Some Mashups Harnessing The Power Of Yahoo’s BOSS wrote,

    [...] - A week ago Yahoo VP of Platform Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  30. Some Mashups Harnessing The Power Of Yahoo’s BOSS | Christian eBuddy Blog wrote,

    [...] - A week ago Yahoo VP of Platform Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  31. Unfortune wrote,

    [...] - A week ago Yahoo VP of Platform Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  32. TechCrunch Japanese アーカイブ » YahooのBOSSの力をフル活用したマッシュアップたち wrote,

    [...] 4HourSearch - 1週間前、ヤフーのプラットフォーム部門VPのSam Pullaraがリリースした検索エンジン「Yuil」は、最近ローンチした(マスコミに騒がれ過ぎの)「Cuil」にすごく近いが、YahooのBOSSがベース。その検索エンジンが引き出す検索結果は多くの面でCuilより優れていたが、それがいけなかったようで、弁護士がすぐ介入し、Yuilは初公開後ものの数時間で取り下げとなった。そこでPullaraはYuilから不要物を取り除いてレイアウトをやり直し、DMCAレター片手に待ち構えている弁護士の注意を引きつけないよう改造、そうして生まれたのが「4HourSearch」だ(改造には4時間もかけてなさそう)。 [...]

  33. Jim England wrote,

    Hey the pagination seems to not be working. It forgets the query string and doesn’t have a page as a parameter.

    Other than that, good work!

  34. sam wrote,

    Hey the pagination seems to not be working. It forgets the query string and doesn’t have a page as a parameter.

    Other than that, good work!

    Hi Jim, I wasn’t able to reproduce this. It may be that there aren’t enough results — I am not handling that case well. Can you give me an example query where it doesn’t work for you?

  35. Gubatron wrote,

    Searched for ‘porn’, clicked on page 10, bam, it breaks

    http://www.4hoursearch.com/search?q=porn&p=10

    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.232/search.py”, line 40, in get
    ysr = result['ysearchresponse']
    TypeError: ‘NoneType’ object is unsubscriptable

  36. sam wrote,

    Searched for ‘porn’, clicked on page 10, bam, it breaks

    http://www.4hoursearch.com/search?q=porn&p=10

    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.232/search.py”, line 40, in get
    ysr = result['ysearchresponse']
    TypeError: ‘NoneType’ object is unsubscriptable

    My error checking is not “robust”. That looks like I didn’t get a response back from the urlfetch. Could have been Google App Engine or BOSS. I should check for that and put up the fail whale.

  37. Some Mashups Harnessing The Power Of Yahoo’s BOSS | Article Blog wrote,

    [...] - A week ago Yahoo VP of Platforms Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  38. www.ubraniaroxy.pl » Blog Archive » Some Mashups Harnessing The Power Of Yahoo’s BOSS wrote,

    [...] - A week ago Yahoo VP of Platforms Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  39. Tony wrote,

    I’m looking to integrate search into my site and think that this may be a start.

    EuropeanKiss | Free Online Dating Community
    http://www.europeankiss.org

  40. Frank Bitterlich » Blog Archive » [Updated] A few Celsius short of cool wrote,

    [...] has a good article about it, IMO. And someone has already created a rip-off mockery called Yuil, quickly renamed to “4hoursearch” (courtesy of the Cuil legal [...]

  41. dktrooper wrote,

    Hi sam,
    I just tried yours and it works great. Can you help me to add a functional button similar to Google’s “I’m feeling lucky”. I’m kinda suck at python.
    Thank you.

  42. Some Mashups Harnessing The Power Of Yahoo’s BOSS | All tech stuff wrote,

    [...] - A week ago Yahoo VP of Platforms Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  43. wisdsom wrote,

    I tried it out, looks pretty good.

  44. Cuil 2 - From Yahoo | Hungerford Web Design Blog wrote,

    [...] You can read what Sam has to say about it here: http://www.javarants.com/2008/08/01/yuil-is-dead-4hoursearch-is-now-online/ [...]

  45. Gifts to India wrote,

    hey Guys,

    This search engine doesn’t look like cuil ? I agree yuil is dead and 4hoursearch.com is now active, but I wonder what is the difference between cuil.com and 4hoursearch.com

    What-ever may be the difference are? I really liked this search feature. I really appreciate this.

    Thanks,
    Rahul D.

  46. Yahoo’s Best BOSS Search Mashups wrote,

    [...] below, is so named because, developer Sam Pullara says, “It took 4 hours to write the initial code, 4 hours for it to go from unknown to 20 hits / [...]

  47. Yahoo’s Best BOSS Search Mashups | World IT News wrote,

    [...] below, is so named because, developer Sam Pullara says, “It took 4 hours to write the initial code, 4 hours for it to go from unknown to 20 hits / [...]

  48. 4hoursearch fan wrote,

    http://code.google.com/p/4hoursearch/

    http://4hoursearch.googlecode.com/files/4hoursearch-src.zip

  49. Haroun wrote,

    The Open Source Search is a great idea.

    Results better than Cuil.

    The image thing is better than Cuil’s, but I still think it a rediculus idea.

    Carry on the good job !

  50. Some Mashups Harnessing The Power Of Yahoo’s BOSS · ordaso.com wrote,

    [...] - A week ago Yahoo VP of Platforms Sam Pullara released Yuil, a search engine that looked nearly exactly like recently launched (and overhyped) [...]

  51. Yahoo’s Best BOSS Search Mashups: wrote,

    [...] below, is so named because, developer Sam Pullara says, “It took 4 hours to write the initial code, 4 hours for it to go from unknown to 20 hits / [...]

  52. me/dium » 4hoursearch wrote,

    [...] Yuil is dead! 4hoursearch is now online. | java rants. [...]

  53. Saurabh Sahni wrote,

    Natural Language Image Search with Yahoo Boss and Google App Engine…

    Natural language processing is partly used in text search today, but its use in image search is mostly unexplored. I did a quick hack: askBoss, which retrieves images to questions posed in natural language. askBoss attempts to enhance image results for…

  54. Mark Collier wrote,

    Hey sam — very cool “4 hour” project! I wish I had your mad skills :)

    I was playing around with it and tried searching for my morning jacket (http://www.4hoursearch.com/search?q=my+morning+jacket) but got an error:

    Traceback (most recent call last):
    File “/base/python_lib/versions/1/google/appengine/ext/webapp/__init__.py”, line 499, in __call__
    handler.get(*groups)
    File “/base/data/home/apps/yoolsearch/1.234/search.py”, line 39, in get
    resultset_glue = glue(q)
    File “/base/data/home/apps/yoolsearch/1.234/yos/boss/ysearch.py”, line 56, in glue
    data = load(url)
    File “/base/data/home/apps/yoolsearch/1.234/yos/boss/ysearch.py”, line 64, in load
    data = rest.download(url)
    File “/base/data/home/apps/yoolsearch/1.234/yos/crawl/rest.py”, line 18, in download
    result = urlfetch.fetch(url)
    File “/base/python_lib/versions/1/google/appengine/api/urlfetch.py”, line 216, in fetch
    raise DownloadError(str(e))
    DownloadError: ApplicationError: 3

  55. Yahoo! Cool thing of the Day » Blog Archive » Use the BOSS wrote,

    [...] impetus to really sit down with our search data and create something original. It only takes, like, four hours, [...]

  56. Alfabetic » Blog Archive » Algunas combinaciones dirigiendo el poder de BOSS de Yahoo wrote,

    [...] Hace una semana Yahoo VP de plataformas Sam Pullara lanzó Yuil , un motor de búsqueda que era muy similar al lanzado recientemente (e [...]

  57. The Friday Post #19: A Visual Search Engine, 4HourSearch and Anatomical Knitting « EBM and Clinical Support Librarians@UCHC wrote,

    [...] a new search engine:  4HourSearch. The screenshot above shows retrievals for “alternative search engines”. The creators [...]

  58. Joe wrote,

    I need a break from some projects I’m working on using Boss and Appengine, and had a search engine idea. I think you’ve done half the work already for another random idea I had for a search engine. Going to enjoy playing with this i think, thanks!

Leave Your Comment

YUI-Mainstream Theme by Buzzdroid.com

 Premium Wordrpess Theme