rss

Facebook: HipHop for PHP

Category : PHP, Technology

Facebook officially announced the project, titled HipHop, this morning and confirmed that it would be released as open source this evening.

Facebook has been working on a PHP compiler that will increase speed by around 80% and offer a just-in-time (JIT) compilation engine that will offer a number of advantages.

Less CPU means fewer servers, which means less overhead. This project has had a tremendous impact on Facebook

HipHop for PHP isn’t technically a compiler itself, it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it.

HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance.

HipHop includes a code transformer, a reimplementation of PHP’s runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.

You can read more about HipHop here

  • Share/Bookmark

openid.sreg

Category : General

Simple registration request and response parsing and object representation

This module contains objects representing simple registration requests and responses that can be used with both OpenID relying parties and OpenID providers.

  1. The relying party creates a request object and adds it to the AuthRequest object before making the checkid_ request to the OpenID provider:
    auth_request.addExtension(SRegRequest(required=['email']))
  2. The OpenID provider extracts the simple registration request from the OpenID request using SRegRequest.fromOpenIDRequest, gets the user’s approval and data, creates a SRegResponse object and adds it to the id_res response:
    sreg_req = SRegRequest.fromOpenIDRequest(checkid_request.message)
    # [ get the user's approval and data, informing the user that
    #   the fields in sreg_response were requested ]
    sreg_resp = SRegResponse.extractResponse(sreg_req, user_data)
    sreg_resp.toMessage(openid_response.fields)
  3. The relying party uses SRegResponse.fromSuccessResponse to extract the data from the OpenID response:
    sreg_resp = SRegResponse.fromSuccessResponse(success_response)
  • Share/Bookmark

Twhirl on Ubuntu 8.10

Category : Flash, General, Internet News, Product Releases

Ubuntu logo
Ubuntu logo
Image via Wikipedia
I am just experimenting these days with Ubuntu 8.10, installed quite a bit of apps, tried different themes, but today got Twhirl working on my machine. Thought you people might be interested.

1. First you need to download Adobe AIR from http://labs.adobe.com/downloads/air_linux.html

2. Install Adobe AIR

root:~/adobe$ chmod +x adobeair_linux_b1_091508.bin

rppt:~/adobe$ ./adobeair_linux_b1_091508.bin

3. After installing Adobe Air download Twhirl from http://www.twhirl.org/project/twhirl

4. Open the Twhirl application with Adobe Air and here you go, Twhirl is installed.

  • Share/Bookmark

Top 20 Sites in India: Courtesy Alexa

2

Category : General

Google India

Indian version of this popular search engine. Search the whole web or only webpages from India. Interfaces offered in English, Hindi, Bengali, Telugu, Marathi and Tamil.

Yahoo!
Personalized content and search options. Chatrooms, free e-mail, clubs, and pager.

Google

Enables users to search the Web, Usenet, and images. Features include PageRank, caching and translation of results, and an option to find similar pages. The company’s focus is developing search technology.

Orkut.co.in

Rediff.com India Ltd.

Online portal with free e-mail and many other services.

YouTube
YouTube is a way to get your videos to the people who matter to you. Upload, tag and share your videos worldwide!

Blogger.com
Free, automated weblog publishing tool that sends updates to a site via FTP.

Windows Live
Search engine from Microsoft.

Microsoft Network (MSN)
Dialup access and content provider.

Facebook
A social utility that connects people, to keep up with friends, upload photos, share links and videos.

Wikipedia
An online collaborative encyclopedia.

Indiatimes
Portal site; includes news stories under subject headings, and links to other information sources.

RapidShare
Users can upload up to 100 meg files for sharing. Provides downloads of 100 megs per hour on the free service. Premium service also available.

Microsoft Corporation
Main site for product information, support, and news.

WordPress.com
Free blogs managed by the developers of the WordPress software. Includes custom design templates, integrated stats, automatic spam protection and many more features.

IN.com
IN.com gives you a short @in.com email address, and lets you find the best of News, Music, Videos and Games, from more than 16,000 websites.

Naukri.com
India’s No. 1 job site.

Indian Railway Catering and Tourism Corporation
Offers online rail ticket booking, and checking of ticket reservation status. Includes train schedules, availability of tickets, and a travel planner.

Cricinfo
International cricket news, live scores, photos, columns and player profiles. Provides archive scorecards, statistics database, ratings and email newsletter. Part of ESPN International. UK.

 

 

Orkut
Social networking and discussion site operated by Google.


  • Share/Bookmark

Amit Yadav is Digg proof thanks to caching by WP Super Cache