Friday, August 27, 2010

Digg has broken an axle.

New digg is there. Digg version 4.0 is killer. I love it.

Surely there are traffic increase to the new digg, and it gives regular errors such as
Digg has broken an axle.
An unknown error occured. It is 73.7% likely this is Will's fault
Unable to load more profiles, please try again.

:)) just like twitter error. Over capacity stuff. I think it is the sign of good things happening.

new digg alpha 4.0 error

Tuesday, March 23, 2010

Symfony Live 2010 and Symfony 2.0

I have attended Symfony Live 2010 in Paris. It was really nice experience for me to see paris, and symfony community. and symfony core team as well. Fabien announced Symfony 2.0 at the end of the conference, which was exciting and amazing news for the community. It is going to be completely different than the previous versions, and currently it is ready on the for the usage. At the end of this year, it is going to be launched officially as stable version. Symfony 2.0 will going to be very fast, and very flexible framework. Currently we use Symfony 1.4 for the most of our projects. But at the end of this year, we will migrate into 2.0 version as soon as it become stable.

About the conference, you can find all the presentations here, here, and here

and you also can find some photos of mine, and many others

Tuesday, December 29, 2009

Happy New Year!

Yes. It is almost 2010!

Happy and Successful New Year for all of you!

I am sorry about not writing posts in 2009. But i must say i will make my blog as active as possible in incoming 2010 year. Don't leave me along here ;)

Wish you healthy, successful, happy new year!

Tuesday, April 28, 2009

Vote for Webware 100 - 2009

There are 10 categories you can vote in you are encouraged to vote in each. The top 100 Web 2.0 apps are selected by Webware readers and by the users of the products we cover. Vote for your favorite products to give them a chance to win Webware 100 awards. There are 10 categories you can vote in you are encouraged to vote in each. Note: There will be a special 11th category where Webware editors select the best products in unique categories, such as Rookie of the Year. These will be announced, with the rest of the winners, on May 19.

My Votes are as below. Most of my choices are based on my daily uses.

Audio - 
Social music discovery and listening tool. Listen to full tracks, and create stations around artists you like

Commerce - Elance 
Elance is an online workplace where businesses connect with qualified professionals to get work done, facilitating the entire process from hiring to collaboration to payment. At a time when small businesses are looking for more flexibility in hiring and resource management and many professionals are looking to contract work and freelancing as a career, Elance provides the complete solution--all in a secure, easy-to-use web application.

Communication - Gmail 
Google's Web based e-mail, which currently offers users in excess of 7 GB of free storage.

Instrastructure & Storage - Amazon Web Services 
Comprised of five different services that help power many of today's biggest Web services, including S3 storage and EC2 elastic cloud computing.

Location-based Services- Google Maps
Google's free online maps service. It provides driving directions, traffic, and search results for local businesses.

Photo & Video - Flickr
Yahoo's photo and video sharing community. Users can upload and organize their photos, then share them with others.

Productivity - Google Docs
A collection of online office programs including a word processor, spreadsheet tool, and a presentation maker.

Search & References - Technorati
Tracks stories around the Web and organizes them on a news page. It also gives each post authority based on how many other blogs are linking to it.

Social networking & Publishing - LinkedIn
An online directory of people used both for business and social networking

Saturday, March 7, 2009

PHP - How to import contacts from all major email providers and social networks

What is OpenInviter ?

Open source OpenInviter (Open Inviter) is an free import contacts (addressbook) script from email providers like Yandex, Apropo, Walla, Lycos,, FastMail, IndiaTimes, Azet, Uk2, Evite, Care2,,, Gawab, Doramail, Rediff, Live/Hotmail, Bigstring, Terra,, 5Fm, Nz11, Netaddress, Zapakmail, Interia, Yahoo!, Hushmail,, KataMail, Rambler, Popstarmail, Libero, Abv,, AOL, OperaMail, GMail,, Clevergo,, or social portals like Eons, Famiva, Tagged, Plaxo, Flickr, Fdcareer, Meinvz, Cyworld, Twitter, Faces, Skyrock, Flingr, Plurk, Hi5, Mydogspace, Xanga, LinkedIn,, Xing, Kincafe, Plazes, Livejournal, Xuqa, Bebo, Perfspot, Facebook, Lovento, Multiply, Motortopia, Konnects, Hyves, Brazencareerist, Mycatspace, Mevio, Orkut, Vimeo, Friendfeed, Friendster, Badoo, MySpace, Flixster. This contacts importer script is integrating with content management systems (aka CMS) like JamRoom, Boonex Dolphin, phpizabi, PhpBB, Joomla1.0, PHPMELODY, Social Engine, vBulletin, Wordpress, phpFoX, myBB, PunBB, Joomla, Drupal, SimpleMachines Forum (SMF). Open Inviter is written in PHP 5 (no database required but cURL or wget required) and running on any webserver (tested on Apache) offering advanced tell a friend features. OpenInviter is a free self hosted solution that does not use a third party gateway (or API) to import contacts.
Sounds cool! How much?

OpenInviter is totally free and open-source solution. You can download it, change it, write plugins for it. Everything for free. What are you waiting for? Grab your OpenInviter today! Go to the Download section now!
Features at a glance
  • Easy access to your visitors address book in all major email providers and social networks around the world.

  • Completely painless and easy way of integrating in your website. It takes virtually not more than 5 minutes to have your own OpenInviter up and running on your site.

  • Constant updates so that you can sit back and relax and always have access to the latest ways to get your visitor's address book.

  • WGET-ready! Yes, you read right! OpenInviter is the only contacts importer supporting both WGET and cURL as methods of handling

Thursday, October 16, 2008

Different Browser Compatibility Test

In web development, one of the biggest problem is layout problems caused by different browsers and versions. To test out them, you can install multiple browsers, but sometimes it is not easy to install multiple versions of the same browsers. So to avoid this pain, you can use internet based browser screenshot services.

IE NetRenderer allows you to check how a website is rendered by Internet Explorer 7, 6 or 5.5, as seen from a high speed datacenter located in Germany. Just type in a URL in the field above and try it out - it's free!

New: They have added an Internet Explorer 8 Beta 2 Rendering Engine.

Unlike other screenshot services (listed below), they are able to process a large number of capturing jobs in parallel and in realtime, making it the fastest service.

Website screenshot services
  • browserama
    German language screenshot service. Supports 40+ browser / OS combinations, including Linux and Macintosh. It allows several rendering options, including which exact Flash version to use. Browser support is not quite up-to date and response times of 2-5 minutes cannot be considered realtime. Prices start at € 9.95 / 24h, they also offer micropayment per screenshot capture.
  • browsercam
    As their website title says: “Screen capture and Remote Access service for cross platform compatibility testing and HTML design quality assurance”. This is probably the most feature complete service around. It is offering screenshot services with project management and image format options, as well as VNC remote control for numerous operating systems. Special platforms, such as Windows Mobile (Pocket Explorer), RIM Blackberry and up to date Beta platform (Windows Vista).are also supported. Pricing starts at US$ 19.94 for 24h hours access (one user)..
  • browserpool
    Well designed VNC Remote access service with full access to different operating systems and browsers, including Mac OS X, Linux, Windows 98, Windows 2000 and Windows XP. Browserpool claims to restore each OS session after use, but there is no official privacy policy. Prices start at €29.99 / month.
  • browsershots
    Open Source screenshot service, allowing to test your webdesign in different browsers. Access is relatively quick and it allows to immediately view past versions of your page - not only to you, but also anybody else, since “there is no privacy”. This service is free.
  • browsrcamp
    Free Webpage Rendering Service for Safari Browser (MacOSX). For more elaborate testing there is a paid VNC access plan with 10 additional browsers.
  • iCapture
    Free Webpage Rendering Service for Safari Browser (MacOSX) from Dan Vine. Service seems to be down at the moment, so it could not be tested.
  • ieCapture
    Free Internet Explorer Rendering Service from Dan Vine. At a waiting time of 20 hours this service seems to be heavily overloaded. It is not clear which Internet Explorer version is used.
  • IE NetRenderer
    This is a new, free screenshot service for Internet Explorer 7, 6 and 5.5. Not meant to replace Browsercam, it is designed just for that single job, and it renders faster than any other service. Since we are providing this service, you can safely assume us to be somewhat precudiced here, So why not simply try it out yourself? ;-)
  • IEs 4 Linux
    Not a validation service, but a cute installation script for Linux boxes to help install multiple IE versions within Wine. It might violate Microsoft EULA and IE7 is not yet fully supported. Considering the number of clever tricks needed to get this working, there is no 100% guarantee that the emulated IE versions will behave exactly like their standalone counterparts, but for casual webdesigners this might be O.K.
  • Litmus
    Commercial screenshot service with instant rendering of 17+ browsers in full page mode as well as many popular email clients. Snappy user interface.
  • lixlpixel
    Free Mac G5 Safari screenshot service, it is currently down.
    Fast and free screenshot service using the Safari (Mac) rendering engine. Allows full page length rendering and a nice preview view before downloading the full size image.
  • Thumbalizr
    Fast and easy to use screenshot service that uses the IE7 Explorer engine to deliver thumbnail images of arbitrary width.
  • Tredosoft Multiple IE
    This is not a validation service but an installer that allows you to run multiple IE versions side by side on the same MS Windows machine. Besides the fact that you still need a Windows box and that it might violate the Microsoft EULA, it is not really a professional grade solution. Since IE is designed to be tightly integrated into the OS, there is no guarantee that the different IE versions will behave exactly like their standalone versions. Even if the mechanism does work for you, it will ruin several other HTML rendering functions found in Outlook, HTML Help, Dot NET webbrowser controls etc. In addition, any upcoming MS patch could instantly break this multiple IE mechanism. This is not Tredosoft´s fault (they did a great job building a usable installer), the concept itself is somewhat questionable.
  • WebshotsPro
    Rather slow service built for developers to integrate thumbnail webpage views into their apps.

Sunday, October 12, 2008

Google Translation API: Translate on server side using PHP

Hi Guys,

As you know, there is google translate ajax api which can be used on client side translation using it's javascript interface. But how do we do translation on server side languages such as PHP, Java, ASP.NET or Rails. There is a task for us to translate multiple records on the database into 6 different languages as cron job. Similar problems may face you. So here is the solutions that you can use for your servers-side google translations.

function translateTexts($src_texts = array(), $src_lang, $dest_lang){
//setting language pair
$lang_pair = $src_lang.'|'.$dest_lang;

$src_texts_query = "";
foreach ($src_texts as $src_text){
$src_texts_query .= "&q=".urlencode($src_text);

$url = "".$src_texts_query."&langpair=".urlencode($lang_pair);

// sendRequest
// note how referer is set manually

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_REFERER, "");
$body = curl_exec($ch);

// now, process the JSON string
$json = json_decode($body, true);

if ($json['responseStatus'] != 200){
return false;

$results = $json['responseData'];

$return_array = array();

foreach ($results as $result){
if ($result['responseStatus'] == 200){
$return_array[] = $result['responseData']['translatedText'];
} else {
$return_array[] = false;

//return translated text
return $return_array;

// translate multiple texts
print_r(translateText(array('hello world', 'italian'), 'en', 'it'));