Ornagai မွာ အရင္တုန္းက ျပႆနာ တစ္ခုရိွေနတယ္။ ajax search ျပႆနာပဲ။ Google Analytics က ajax နဲ႕ တြဲသံုးလိုက္တိုင္း blank page ၾကီးျဖစ္ျဖစ္သြားတယ္။ ဒါနဲ႕ မထည့္ျဖစ္ဘူးေပါ့။ အဲဒီေတာ့ ဘယ္သူေတြ ဘယ္စာလုံုးေတြ ရွာထားလဲဆိုတာကို trace လုပ္ရတာ အရမ္းခက္သြားတယ္။ ေနာက္ျပီး ဘယ္စာလံုးေတြ ရွာမေတြ႕သြားဘူးလဲဆိုတာကို မသိရေတာ့ဘူး။ ကၽြန္ေတာ္ အေနနဲ႕ ဘယ္စာလံုးေတြ ရွာတယ္ဆိုတာထက္ ဘယ္စာလံုးေတြ ရွာမေတြ႕သြားဘူးလဲဆိုတာကို ပိုစိတ္ဝင္စားတယ္။ ဒါနဲ႕ ဒီေန႕ reinvigorate ကို request ထားတာ accept ရတာနဲ႕ Ornagai မွာ ထည့္လိုက္တယ္။ ေရွာင္လင္ က Google Analytics ပါ မျဖဳတ္ဖို႕ အၾကံေပးတယ္။ ဒါနဲ႕ ကၽြန္ေတာ္က Google Analytics က ajax ကို trace မရဘူးလို႕ ဆုိေတာ့ သူက ဘာလို႕ မရမွာလဲ ဆိုျပီး Link ေလး တစ္ခုေပးတယ္။
Enable Web app in Chromium
ဒီေန႕ ReadWriteWeb မွာ ဖတ္လိုက္ရတာနဲ႕ Chromium ကို download ခ်ျပီးေတာ့ စမ္းၾကည့္ျဖစ္လုိက္တယ္။ Chrome OS က ပံုစံအတိုင္း Chromium နဲ႕ လုပ္လုိ႕ရတယ္ေပါ့။ Mac မွာကေတာ့ Chromium ကို Web App ေတြနဲ႕ တြဲသံုးဖို႕အတြက္ ဒီအတိုင္းဖြင့္လို႕မရဘူး။
Windows မွာလည္း short cut ရဲ႕ target မွာ --enable-apps ဆိုတာ ထပ္ျဖည့္ေပးရတယ္။
Continue Reading »
So Suck Chrome!
Chrome version အသစ္မွာ ျမန္မာစာ နဲ႕ English စာ တြဲရိုက္လုိ႕မရ။ Mac မွာကေတာ့ အရင္ကတည္းက မရတာ။ အခု Windows မွာလည္း မရေတာ့ဘူး။ Chrom 5 မွာ stable ျဖစ္သြားလို႕နဲ႕ တူပါတယ္။ ျမန္မာစာ မရေတာ့တာ။ အရင္တုန္းက stable မျဖစ္ခင္တုန္းက ေရွာင္လင္ေျပာသလို bug ေၾကာင့္ ျမန္မာစာ ရတာျဖစ္မယ္။ Mac မွာမရေတာ့ သံုးမရဘူး။ Chrome ကို ေျပာင္းသံုးဖို႕ စဥ္းစားေပမယ့္ Blog ေတြ facebook မွာ ျမန္မာလုိမွ ရိုက္လို႕မရေတာ့ မသံုးျဖစ္ေတာ့ဘူး။ Chrome မွာလည္း chrome addon ေကာင္းေကာင္းေလးေတြ ရွိတယ္။ သို႕ေသာ္ .... ျမန္မာစာ မရတဲ့အတြက္ ကၽြန္ေတာ့္အတြက္ကေတာ့ firefox ပဲ ဆက္သံုးေနရဆဲပဲ။ Product တစ္ခုဟာ ဘယ္ေလာက္ၾကီးေကာင္းပါတယ္ေျပာေျပာ ကိုယ့္အတြက္အဆင္မေျပေတာ့ အလကားပဲဆိုတာေတာ့ သိလုိက္ရတယ္။
Oop! Google Doc
အကုန္လံုးက cloud လို႕ ေအာ္ေနက်တာရယ္ ကိုယ္ကလည္း cloud ထဲေရာက္မွန္းမသိ ေရာက္ေနတာရယ္။ ေနာက္ျပီး ရံုးက google doc ကိုေျပာင္းဖို႕တြန္းအားေပးတာေၾကာင့္ pages နဲ႕ ေရးထားတဲ့ စာေတြကို ေျပာင္းမယ္လို႕ ျပင္လုိက္တယ္။ အရင္ဆံုး အကုန္လံုးကို copy ကူး ျပီးေတာ့ google doc ေပၚမွာ တင္ေပါ့။ အကုန္လံုးေတာ့ တက္သြားပါရဲ႕ ပံုေတြပါမလာဘူး။ web 2.0 ေရာက္ေနေပမယ့္ ကိုယ့္စက္ clipboard ထဲမွာ၇ိွတဲ့ picture ကိုေတာ့ အလိုလို upload တင္ေပးတာကေတာ့ မရေသးဘူးဗ်။ ဘယ္ေတာ့ဆိုရင္ေတာ့ clipboard ထဲက data ကို ဖတ္ျပီး picture upload တင္လုိ႕ရမလဲမသိဘူး။ ဒါနဲ႕ pages file ကို upload တင္ပလိုက္ေကာ။ သူကလည္း .pages extension မရဘူးလို႕ message ကလည္း မျပေတာ့ ျပီးျပီေပါ့။ Continue Reading »
fight… fight… fight..
Amazone က touch screen အတြက္ Touchco ကို ဝယ္ဖို႕ ၾကိဳးစားေနပါျပီ။ Kindle အေနနဲ႕ iPad ကို ယွဥ္ႏိုင္မွာမဟုတ္ဘူးဆိုတာ လူတိုင္း သိျပီးသားပါ။ ဘယ္သူေတြ ဘာေျပာေျပာ amazone ရဲ႕ Kindle ရဲ႕ ျပိဳင္ဘက္အေနနဲ႕ iPad က ေရာက္လာပါျပီ။ Amazone က ဒါကို အေစာၾကီးကတည္းက ၾကိဳသိသင့္တယ္။ iPad မထြက္ခင္ ကတည္းက ဝယ္ထားသင့္တာ။ Rumor ေတြ ဒီေလာက္ထြက္ေနတဲ့အခ်ိန္ထိ Amazone က Kindle ကို SDK ထုတ္ေပးလိုက္မယ္လို႕ ေျပာေသးတယ္။ ဒါေပမယ့္ သူေျပာျပီး မၾကာခင္မွာပဲ iPad ကို Steve ၾကီးက ပြဲထုတ္လုိက္ေတာ့ သူ႕ SDK ကို ဘယ္သူမွ စိတ္မဝင္စားေတာ့ဘူး။ color ကလည္း မပါ။ touch screen လည္းမဟုတ္ဆိုေတာ့ iPad ကို လူေတြ ပိုစိတ္ဝင္စားေနတာ မစမ္းဘူးေပါ့။ HP Slate ထုတ္မယ္ဆိုတုန္းကေတာင္ ဒီေလာက္ လႈပ္လႈပ္ရွားရွားမျဖစ္သြားဘူး။ iPad လာမယ္ဆိုေရာ သူလည္း ျပန္လည္ ထိုးစစ္ဆင္ဖုိ႕ ၾကိဳးစားရျပီ။
Kindle က touch screen မပါဘူး။ ေနာက္ျပီး color မပါတဲ့အတြက္ေၾကာင့္ battery က ၁ ပတ္ေလာက္ ခံတယ္။ အဲ... သူတို႕ႏိုင္ငံမွာက battery ၁ ပတ္ေလာက္ ခံလည္း ဘာလုပ္မွာတုန္း။ ျမန္မာႏိုင္ငံလို အတြက္ဆိုေတာ့ မဆိုးဘူးေပါ့။ ၁၀ နာရီ ေလာက္ပဲ ခံတဲ့ iPad ကို ပို စိတ္ေရာက္သြားတာ မစမ္းပါဘူး။ iPad ၁၀ နာရီပဲ ခံတယ္။ ခရီးသြားရင္ေတာင္ ၁၀ နာရီ ေက်ာ္လံုး iPad ၾကီး မၾကည့္ႏိုင္ပါဘူးဗ်ာ။ ေနာက္ျပီး Laptop ရိွရင္ iPad ကို အားသြင္းလို႕ေတာင္ ရေသး။ အဲဒီေတာ့ battery ၁ ပတ္ ခံတာ ဘာလုပ္ရမွာတုန္းဗ်။
Kindle ကလည္း Touch screen နဲ႕ မၾကာခင္မွာ ထပ္ထုတ္ေတာ့မယ္ သေဘာရိွတယ္။ ေနာက္ျပီး Google ကလည္း စာအုပ္ေလာကထဲဝင္လာျပီး ေနရာလုအံုးမွာ ေသခ်ာတယ္။ အခု Google ကလည္း Tablet ထုတ္ဖို႕ၾကံေနျပန္ျပီ။ ထံုးစံအတိုင္း Chrome OS ဆိုေတာ့ လံုးဝလံုးဝ အကုန္ internet ရိွမွပဲ ျဖစ္ေတာ့မွာဆိုေတာ့ ေစ်းကေတာ့ iPad ထက္ သက္သာႏိုင္တယ္။ iPad ထြက္ျပီးေတာ့ အခ်ဳိ႕ေတြကလည္း HP Slate ကို စိတ္ေရာက္သြားၾကျပန္တယ္။ အဓိက အေၾကာင္းျပခ်က္ေတြက multi tasking နဲ႕ flash မရလုိ႕ပါတဲ့။ ဘာပဲေျပာေျပာ ေနာက္ ၃ ႏွစ္ ၄ ႏွစ္ေလာက္ဆိုရင္ အကုန္လံုး tablet ေတြနဲ႕ျဖစ္ကုန္ၾကေတာ့မွာပါဗ်ာ။
We need to change HTML 5 support browser
don't live in HTML 4.... all will change to HTML 5.... let change together.... hmm... IE ... that a stupid... forget about that... We will change to HTML 5 supported browser... because google will change it... but still support IE 7. IE 7,8 doesn't support HTML 5..... We will bye bye IE,soon.... if IE 9 will not coming...
Dear Google Apps admin,
In order to continue to improve our products and deliver more sophisticated features and performance, we are harnessing some of the latest improvements in web browser technology. This includes faster JavaScript processing and new standards like HTML5. As a result, over the course of 2010, we will be phasing out support for Microsoft Internet Explorer 6.0 as well as other older browsers that are not supported by their own manufacturers.
We plan to begin phasing out support of these older browsers on the Google Docs suite and the Google Sites editor on March 1, 2010. After that point, certain functionality within these applications may have higher latency and may not work correctly in these older browsers. Later in 2010, we will start to phase out support for these browsers for Google Mail and Google Calendar.
Google Apps will continue to support Internet Explorer 7.0 and above, Firefox 3.0 and above, Google Chrome 4.0 and above, and Safari 3.0 and above.
Starting next week, users on these older browsers will see a message in Google Docs and the Google Sites editor explaining this change and asking them to upgrade their browser. We will also alert you again closer to March 1 to remind you of this change.
In 2009, the Google Apps team delivered more than 100 improvements to enhance your product experience. We are aiming to beat that in 2010 and continue to deliver the best and most innovative collaboration products for businesses.
Thank you for your continued support!
Sincerely,
The Google Apps team
Email preferences: You have received this mandatory email service announcement to update you about important changes to your Google Apps product or account.
Google Inc.
1600 Amphitheatre Parkway
Mountain View, CA 94043
Play in the playground
Play in the playground ဆိုလို႕ သူငယ္ျပန္သြားတယ္လို႕ ထင္ကုန္ၾကအံုးမယ္။ မေန႕ညက oAuth ကို ဘယ္လိုလုပ္ရမလဲ မသိလို႕ရွာရင္း ရွာရွင္းကေန playground ထဲကို ေရာက္သြားတာပဲ။ webdeveloper forum က playground ထဲမွာ ရိွတယ္ဆိုလို႕ playground ထဲ အေျပးသြားၾကည့္ရတာပဲ။ playground ထဲေရာက္မွ woww... ဆိုျပီး သေဘာက်စရာေတြ အျပည့္ပဲဗ်။ ေဆာ့စရာေတြက မ်ားမွ မ်ား။ ခက္တာက ကိုယ္လိုအပ္ေနတာပဲ အရင္ေဆာ့ရတာေပါ့။ Continue Reading »
မသိျခင္းမ်ား
အခုမွ သိလိုက္တယ္။ ကၽြန္ေတာ္ မသိပဲ ေျပာင္းလဲသြားတာ အမ်ားၾကီး ျဖစ္သြားတာပဲ။ ကၽြန္ေတာ့္အေနနဲ႕ အမ်ားၾကီး ေနာက္က်ေနမွန္း အခုတေလာမွ သိလိုက္ရတာေတြ ရိွတယ္။ အဓိကေတာ့ ေျပာင္းလဲမႈေတြကို မ်က္ေျခမျပတ္မလုိက္ႏိုင္လိုက္တာလဲပါတာေပါ့။ ကၽြန္ေတာ္ မသိပဲ ျဖစ္သြားတာေတြက
ကၽြႏ္ုပ္ညံ့သည္
ကြ်ႏု္ပ္ web service ဆိုသည္မွာကို ျမန္မာမႈမျပဳတတ္ျခင္းမွာ ကၽြႏု္ပ္ညံ့ျခင္းသာ ျဖစ္ေပေတာ့သည္။ Web service ႏွင့္ web api ဘာမွ မကြာေခ်။ သို႕ေသာ္ မတူေခ်။ ထိုအေၾကာင္းကိုလည္း ေသခ်ာေအာင္ မရွင္းျပတတ္ျခင္းမွာလည္း ထပ္ညံ့ျပန္ေလသည္။ oAuth ႏွင့္ AuthSub ကြာသည္။ ဘယ္လိုကြာေၾကာင္း စာႏွင့္ေရးျပီး မရွင္းတတ္ေသးေသာေၾကာင့္ ေသခ်ာမသိေၾကာင္း သိသာလွေပသည္။ ထို႕ေၾကာင့္ REST ကို သံုးဖူးေသာ္လည္း REST ဆိုသည္မွာ အဘယ္နည္းဟု ေမးေသာအခါ အဓိပၸာယ္ျပည့္စံုစြာ မေျဖၾကားႏိုင္ေသာေၾကာင့္ စာေမးပြဲဆိုလွ်င္ ကၽြႏ္ုပ္က်ေလျပီ။
Google ကေတာင္ ညႊန္းဆိုေသာ Zend Framework အား အခုခ်ိန္ထိ မသြင္းတတ္ေသးသည္မွာ ကၽြႏ္ုပ္၏ ေလ့လာမႈ အားနည္းျခင္းကို ေဖာ္ျပေနေလသည္။ REST server အတြက္ code အသင့္ရိွေသာ္လည္း တစ္ခါမွမေရးဖူးသည့္အတြက္ မသိပဲ ေအာ္ေနေသာ္ လူညံ့တစ္ေယာက္ ပမာျဖစ္ေပေတာ့သည္။ ကၽြႏ္ုပ္၏ ညံျ့ပန္ေလသည္။ Zend Library ျဖင့္ Gdata ကို လြယ္ကူစြာ သံုးတတ္ေသာ္လည္း AuthSub မွ AuthSub ျဖစ္ေနေသာ ကၽြႏ္ုပ္စိတ္အား ကၽြႏ္ုပ္ေျပာင္းလဲ ႏိုင္စြမ္းမရိွေသာေၾကာင့္ ကၽြႏ္ုပ္၏ စိတ္အင္အားဟာလည္း ညံလွေပသည္။ AuthSub ႏွင့္ oAuth ၂ ခု အား ၄ ရက္တိုင္တိုင္ ေလ့လာခဲ့ေသာ္လည္း AuthSub ၏ GET ျဖင့္သာ data ယူႏုိင္ခဲ့ျခင္းမွာ ကၽြႏ္ုပ္၏ ညံ့ဖ်င္းမႈေၾကာင့္လို႕ ဆိုႏိုင္ေလသည္။ PHP Library မရိွေသာအခါ Python ကို background ထားကာ အလုပ္လုပ္ျခင္းမွာ ကၽြႏ္ုပ္၏ ညံ့ဖ်င္းမႈပင္။ API အတြက္ PHP Library ကိုယ္တိုင္ လြယ္လင့္တကူ ခ်က္ျခင္းေကာက္မေရးႏိုင္ျခင္းမွာ ကၽြႏ္ုပ္၏ ေလ့လာမႈ စြမ္းအား အေတာ့္ကို အားနည္းသည္ျခင္းကို ေဖာ္ျပရာ ေရာက္ေလ၏။
ကၽြႏ္ုပ္မသိပဲႏွင့္ မ်ားမ်ားေျပာေနမိျပန္သည္။ ထို႕ေၾကာင့္ ကၽြႏ္ုပ္သည္ ကၽြႏ္ုပ္ထင္တာထက္ ပိုညံ့ေၾကာင္း ျပဆိုေနေလသည္။ ထို႕ေၾကာင့္ ကြ်ႏ္ုပ္ အခုအိပ္ျပီ။
စာၾကြင္း :: ပညာတစ္ခုအား ဟပ္ခ်ေလာင္းဆိုတာနဲ႕ ခ်က္ျခင္းမက်လာေၾကာင္းကို ကြ်ႏ္ုပ္မ်က္ဝါးထင္ထင္ ၾကံဳေတြ႕ခဲ့ရေလသည္။
Get Contact List XML from Google Contact with AuthSub
oAuth နဲ႕ AuthSub ၾကားမွာ မူးသြားတာပဲ။ AuthSub နဲ႕ေတာ့ ရျပီ။ oAuth က ေနာက္ေတာ့မွ twitter နဲ႕စမ္းရမယ္။ google က အျပည့္အဝ support မေပးဘူး။ example ေတြက AuthSub ေတြနဲ႕ ၾကီးပဲဆိုေတာ့။ အခု code ေတာင္ မနည္းမနည္းပဲ။ ေနာက္ဆံုးေတာ့ http://www.alexc.me/using-the-google-analytics-api-getting-total-number-of-page-views/74/#step2 အဲဒီကေန ေတြ႕သြားလို႕ အဆင္ေျပသြားတာ။ token ရျပီးရင္ token ထပ္ယူရမွာကို မသိလုိက္တာ ဆုိးသြားတာ။
<?php
function make_api_call($url, $token)
{
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$curlheader[0] = sprintf("Authorization: AuthSub token=\"%s\"/n", $token);
curl_setopt($ch, CURLOPT_HTTPHEADER, $curlheader);
$output = curl_exec($ch);
curl_close($ch);
return $output;
}
function get_session_token($onetimetoken) {
$output = make_api_call("https://www.google.com/accounts/AuthSubSessionToken", $onetimetoken);
if (preg_match("/Token=(.*)/", $output, $matches))
{
$sessiontoken = $matches[1];
} else {
echo "Error authenticating with Google.";
exit;
}
return $sessiontoken;
}
if(isset($_GET['token']))
{
$sessiontoken=get_session_token($_GET['token']);
$accountxml = make_api_call("http://www.google.com/m8/feeds/contacts/yourmail@gmail.com/full", $sessiontoken);
print_r($accountxml);
}
else
{
$next=urlencode("http://www.mysteryzillion.org/gdata/index.php");
$scope=urlencode("http://www.google.com/m8/feeds/contacts/yourmail@gmail.com/full");
?>
<a href="https://www.google.com/accounts/AuthSubRequest?next=<?= $next ?>&scope=<?= $scope ?>&secure=0&session=1">Click here to authenticate through Google.</a>
<?
}
?>




