2013年12月7日 星期六

網上資訊真偽的認識及辨識

今年 9月30日到荔枝角天主教小學作了個兩小時的演講。內容是關於怎分辨網上資訊的真假。大綱如下:

•1.簡介 •2. 資訊來源 •3. 如何獲取資訊•4. 大型網站及學術方面對資訊真偽的指引•5. 各種資訊來源真偽辨識及技巧•6. 常用工具及安裝

資料只會不斷增加,真的或假的資訊亦會充斥市場。如何分辨便成為需要知道的領域。
為此演講作了些資料搜集卻發現妨間非常少有相關資料,故正考慮把內容編輯成書以方便有需要的人士作參考。

2013年3月10日 星期日

2012年11月19日 星期一

李嘉誠的一番說話



李嘉誠的一番說話:
很多人想把握機會、但要做一件事情時,往往給自己找了很多理由讓自己一直處於矛盾之中!不斷浪費時間,虛度時光。如:
1 、我沒有口才——錯:沒有人天生就很會說話,臺上的演講大師也不是一下子就能出口成章,那是他們背後演練了無數次的結果!你罵人的時候很擅長、抱怨的時候也很擅長、但這種口才是沒有價值的口才,看
別人爭論的時候、自己滿嘴評頭論足、卻不知反省自己,倘若你付出努力練習,你今天是否還說自己沒口才?

2 、我沒有錢—— 錯: 不是沒有錢,而是沒有賺錢的腦袋。工作幾年了沒有錢麼?有、但是花掉了。花在沒有投資回報的事情上面。花在吃喝玩樂上、或存放貶值了,沒有實現價值最大化、所以錢就這樣入不敷出。每月當月光族、周而復始、沒有遠慮、當一天和尚敲一天鐘,得過且過。

3 、我沒有能力——錯: 不給自己機會去鍛煉,又有誰一出生就有能力?一畢業就是社會精英?一創業就馬上成功?當別人很努力的學習、很努力的積累、努力找方法,而你每天就只做了很少一點就覺得乏味。學了一些就覺得沒意思、看了幾頁書就不想看、跟自己也跟別人說沒興趣學。然後大半輩子過去一事無成,整天抱怨上天不給機會。能力是努力修來的、不努力想有能力,天才都會成蠢材。但努力,再笨的人也能成精英。

4 、我沒有時間——錯:時間很多、但浪費的也很多!別人很充實、你在看電視,別人在努力學習時、你在玩遊戲消遣虛度。總之時間就是覺得很多餘、你過得越來越無聊。別人賺錢了羡慕別人、但不去學別人好好把握時間創造價值,整天不學無術。
5 、我沒有心情——錯:心情好的時候去遊玩、心情不好的時候在家喝悶酒,心情好的時候去逛街、心情不好的時候玩遊戲,心情好的時候去享受、心情不好的時候就睡大覺。好壞心情都一樣,反正就是不做正事。
6 、我沒有興趣——錯:興趣是什麼?吃喝玩樂誰都有興趣,沒有成就哪來的盡興!沒錢拿什麼享受生活!你的興趣是什麼?是出去旅遊回來月光族、出去K歌回頭錢包空空、出去大量購物回來慘兮兮.... 打工有沒有興趣?擠公車有沒有興趣?上班簽到下班打卡有沒有興趣?家裡急需要一大筆錢拿不出來有沒有興趣?借了錢沒錢還有沒有興趣?賣老鼠藥的人對老鼠藥有興趣.....?

7 、我考慮考慮——錯:考慮做吧有可能就成了、不做吧好不甘心!一想整天上班也沒有個頭、還是明天開始做吧!又一想還是算了、這錢掙的也不容易!不不、就是打工掙錢也不容易,決定了不能放棄機會! 哎呀、天都黑了,明天再說吧!然後第二天又因為以上12345點、因為左思右想、繼續迴圈、最終不能決定。猶猶豫豫、耽誤了很多時間、還是一無所獲。
有句話是:“可憐之人必有可恨之處!” 這一生中不是沒有機遇,而是沒有爭取與把握!藉口太多,理由太多....!爭取之人必竭力爭取、一分錢都沒有也千方百計想辦法!不爭取之人給一百萬也動不起來、發財不了、還有可能一敗塗地。這就是行動力的欠缺!喜歡猶豫不決、喜歡拖延、喜歡半途而廢、最後一輩子平庸、碌碌無為!還有的人、做事三分鐘熱度,一開始熱情高漲、等會就繼續懶散,這種人成功的帽子也不會在你的頭上。
看看為什麼別人身價幾個億,你自己還在為錢奔波!不要羡慕別人命好,別人很困難的時候是怎麼堅挺過來的,怎麼克服困難、突破自己、改變命運的,你沒看到罷了!你看到的只是他成功後的光環!所以你抱怨嫉妒羡慕恨!
價值上千萬的一堂課,讀完受益終生。如果你覺得說的有道理,請將其傳播出去!好日誌真的不多了,這篇日誌強烈要求看過的每個人都轉載收藏,不然以後怕是找不到了。。

2012年10月8日 星期一

Mobile GPS cannot detect

Take your SIM out of the Nexus One
Power on the device
Turn WiFi on
Turn GPS on
Open application: GPS Status
Go into its Settings menu
Click on GPS and Sensors
Click Manage A-GPS state
Click Reset
Click Manage A-GPS state again
Click Download
Now put your phone on a stable, straight surface in order to enable the phone to get a lock. This time, you’ll see your phone get the lock back way faster than before.
With that done, now it’s time to put your SIM back in and use the network to secure a quick GPS fix as well.

2012年8月18日 星期六

資訊隱藏

 這星期突然對好久前做的研究好有興趣因手機越來越強,想把它在手機運行。特別找回一篇當年(1999)我在 San Jose, CA present 的文獻

 

Selective block assignment approach for robust digital image watermarking

Kam-Shing Ng, Lee Ming Cheng, City Univ. of Hong Kong (Hong Kong)

Abstract

Digital watermark is used to protect digital image against any illegal reproduction and tampering. In the selective block assignment process, the image is divided into N X N pixel blocks and each block is Discrete Cosine Transformed (DCT). The set of blocks will be then selectively chosen to encode the copyright message. Each selective block will be incremented by a value, in order to maintain the invisibility of the watermarking image, the incremented value should be within a range. The selection of blocks is based on measurement of the content. Depends on the amount of messages stored and the signal to noise ratio (SNR) of the resultant image required, a threshold is decided. In practice, the threshold will be set such that the duplicated message or an error correction mechanism can also be included in order to increase its robustness. The decoding process should be carried out by using the threshold values to get back the locations that have watermark information. Then the watermarked image is subtracted from the original image to obtain the secret data. Simulation results show that the watermarked image looks visually identical to the original and with an SNR of 44.7 dB for Lenna and with SNR 43 dB for airplane with size 256 X 256 pixels.

好覺得這個領域就快出現 普遍性的用途。我亦會先在我的小學網站試用,相信能成一時佳話。

2012年6月27日 星期三

Sign Google App


<quoted from other web>
You need to create Release Key for Signing your Application.
Step : 1 Right Click Project->Export Application->Select you Project->Next->Select new Keystore -> Complete all rest Steps
Step : 2 Note down your Alias name and Password given.
Step : 3 Now if you Complete all process of Filling Details you will get one .apk file and keystore file in you stored location.
Step : 4 Now Again Right Click Project->Export Application->Select you Project->Next->Use Existing Keystore -> Give location and password->Next
Step : 5 Now you alias name will comes in your Drop Down->Select it -> Enter Password -> Next
Step : 6 It will ask for location to store your final .apk file.
Step : 7 Select your location and store.
Step : 8 Now this Final .apk file is Your Signed Application.
Note : Keep this keystore file for further updated of your Application in Android Market ,also keep track of your Alias name and Password

GCM (Google Cloud Messaging)

http://developer.android.com/guide/google/gcm/gs.html

Change from C2DM to GCM on 28 Jne 2012

According to the document, migration is simply change the email into API key.


Migration is simple! The only change required in the application is replacing the email account passed in the sender parameter of the registration intent with the project ID generated when signing up for the new service. For example:
Intent registrationIntent = new Intent("com.google.android.c2dm.intent.REGISTER");
// sets the app name in the intent
registrationIntent.putExtra("app", PendingIntent.getBroadcast(this, 0, new Intent(), 0));
registrationIntent.putExtra("sender", senderID);
startService(registrationIntent);

2012年6月1日 星期五

LumiaChallenge 2012

 剛提交了三個作品到 Nokia 參加 LumiaChallenge 2012 的比賽,順便做個記錄。

CDict - When we type English passage, we always forget a word or how to spell a word.  This movie shows how to type the word using the language you know (in this example Chinese) directly into the editor and do the translation in cloud (Microsoft translation in this example) instantly.  The program can  intelligently check the Chinese inside.  Thus, it saves lots of time to check from web or dictionary and come back to type the passage.  In this movie, one sentence is for demo purpose.  In future, a whole passage can be done in any-input-language to any-output-language.
video demo - http://youtu.be/4ekTQBW696M  

人生計算機 - 我們每天都不自覺地問到人生的問題。本程式嘗試給出一個參考。透過古人的生活體驗,歸納出來的人生法則,我們把它量化做成這程式。程式包括二部份。1.每天的開心指數 2.人生的反思首部份只要把相關出生年月日輸入,程式就會把結果化為圖像。第二部份,用家輸入英文,程式會給出所佔人生部份的比例。 *以上並非隨機結果,亦只作為參考用途。

QueuEasy
With QueuEasy, we do not need to spend time on service waiting anymore. We can shop around until the shop pushes you back. This app requires to work with www.queueasy.com

2012年5月28日 星期一

iOS token



From : http://davehiren.blogspot.com/2012/03/get-device-token-for-apple-push.html


Get device token for apple push notifications in sencha touch and phone gap

Hello,

Recently I was working on Apple push notifications with sencha touch and phonegap project. Requirement was to get device token in JavaScript file so that it can be sent to server for getting push notifications. For that first thing we need to do is register device to get Push notifications.

Please make sure that you have real apple device like iPad, iPhone or iPod touch to test this. This will not work in Simulator.

To register device for push notifications add following in your AppDelegate.m file.  Find method


- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions

Also add following line to define token variable.


@synthesize token;


and add following code at end of the method.


NSLog(@"Registering for push notifications...");    
    [[UIApplication sharedApplication] 
     registerForRemoteNotificationTypes:
     (UIRemoteNotificationTypeAlert | 
      UIRemoteNotificationTypeBadge | 
      UIRemoteNotificationTypeSound)];

This will register device for getting push notifications. Please make sure that you have added provisioning profile which configured with non wild card app id and app is configured to receive  push notifications in your development portal. Also you need valid developer certificate.

After that you need to add following methods at end of the file.

- (void)application:(UIApplication *)app didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken { 

    
    self.token = [[[[deviceToken description]
                    stringByReplacingOccurrencesOfString: @"<" withString: @""]
                   stringByReplacingOccurrencesOfString: @">" withString: @""]
                  stringByReplacingOccurrencesOfString: @" " withString: @""];
    
    NSLog(@"My token is: %@", self.token);
}

- (void)application:(UIApplication *)app didFailToRegisterForRemoteNotificationsWithError:(NSError *)err { 
    
    NSString *str = [NSString stringWithFormat: @"Error: %@", err];
    NSLog(str);    
    
}

- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo {
    
    for (id key in userInfo) {
        NSLog(@"key: %@, value: %@", key, [userInfo objectForKey:key]);
    }    
    
}


This will get device token and store it to token. Now to send this token to JavaScript we will create a phonegap plugin. Please make sure that this code will work with Phonegap version 1.5.0. They named this version as Cardova.

First create folder inside plugins folder of your project folder and name it as PushToken and add two files to it PushToken.m and PushToken.h

Open PushToken.h file and add following code to it.



#import <Foundation/Foundation.h>
#import <Cordova/CDVPlugin.h>

@interface PushToken : CDVPlugin{
    
    NSString* callbackID;  
}

@property (nonatomic, copy) NSString* callbackID;

- (void) getToken:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options;

@end



Now open PushToken.m file and add following code to it.

#import "PushToken.h"
#import "AppDelegate.h"

@implementation PushToken

@synthesize callbackID;

-(void)getToken:(NSMutableArray*)arguments withDict:(NSMutableDictionary*)options  {
    self.callbackID = [arguments pop];
    
    NSString *token = ((AppDelegate *)[[UIApplication sharedApplication] delegate]).token;
    
    CDVPluginResult* pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsString:[token stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
    
    if(token.length != 0)
    {
        [self writeJavascript: [pluginResult toSuccessCallbackString:self.callbackID]];
    }else {    
        [self writeJavascript: [pluginResult toErrorCallbackString:self.callbackID]];
    }
}

@end

Now we have to map this plugin. For that open Cordova.plist file and following key value pair to it.

PushToken : PushToken

After that open AppDelegate.h file and add following line to it.

@property (retain, nonatomic) NSString* token;

That's it of phonegap side now we have to create JavaScript file form where we will execute this plugin code. Create JavaScript file with name PushToken.js and add it to www folder. Add following code to it.

var PushToken = {
    getToken: function(types, success, fail) {
        return Cordova.exec(success, fail, "PushToken", "getToken", types);
    }
};

Add link of this JavaScript file to your index.html page after phonegap JavaScript file. To get device token wherever you want use following code.


PushToken.getToken(     
                     ["getToken"] ,           
                     function(token) {
                              global.token = token; 
                     },
                     function(error) {
                              console.log("Error : \r\n"+error);      
                     }
          );

That's it and you have your device token.

2012年5月16日 星期三

2012年5月8日 星期二

PUSH on Android and Windows Phone

做了個測試把 Push notification 直接到兩個不同 OS - Android / WP.  好厲害超快亦機乎同時到達


2012年4月29日 星期日

Windows 7 Push Notification

From web: $uri="http://db3.notify.live.net/throttledthirdparty/01.00/AAHCuoXMr7ucQphPazXmhi9_AgAAAAADDAAAAAQUZm52OkJCMjg1QTg1QkZDMkUxREQ"; //uri sended by Microsoft plateform $notif=new WindowsPhonePushNotification($uri); $notif->push_toast("123","456"); notif_url = $notif_url; } /** * Toast notifications are system-wide notifications that do not disrupt the user workflow or require intervention to resolve. They are displayed at the top of the screen for ten seconds before disappearing. If the toast notification is tapped, the application that sent the toast notification will launch. A toast notification can be dismissed with a flick. * Two text elements of a toast notification can be updated: * Title. A bolded string that displays immediately after the application icon. * Sub-title. A non-bolded string that displays immediately after the Title. */ public function push_toast($title, $subtitle,$delay = WindowsPhonePushDelay::Immediate, $message_id=NULL) { $msg = "" . "" . "" . "".htmlspecialchars($title)."" . "".htmlspecialchars($subtitle)."" . "" . ""; return $this->push('toast',$delay+2,$message_id, $msg); } /** *A Tile displays in the Start screen if the end user has pinned it. Three elements of the Tile can be updated: *@background_url : You can use a local resource or remote resource for the background image of a Tile. *@title : The Title must fit a single line of text and should not be wider than the actual Tile. If this value is not set, the already-existing Title will display in the Tile. *@count. an integer value from 1 to 99. If not set in the push notification or set to any other integer value, the current Count value will continue to display. */ public function push_tile($background_url, $title, $count, $delay = WindowsPhonePushDelay::Immediate,$message_id=NULL) { $msg = "" . "" . "" . "".htmlspecialchars($background_url)."" . "$count" . "".htmlspecialchars($title)."" . "" . ""; return $this->push('token',$delay+1, $message_id,$msg); } /** * If you do not wish to update the Tile or send a toast notification, you can instead send raw information to your application using a raw notification. If your application is not currently running, the raw notification is discarded on the Microsoft Push Notification Service and is not delivered to the device. The payload of a raw notification has a maximum size of 1 KB. */ public function push_raw($data, $delay = WindowsPhonePushDelay::Immediate,$message_id=NULL) { return $this->push(NULL,$delay+3,$message_id, $data); } /** *@target : type of notification *@delay : immediate, in 450sec or in 900sec *@message_id : The optional custom header X-MessageID uniquely identifies a notification message. If it is present, the same value is returned in the notification response. It must be a string that contains a UUID */ private function push($target,$delay,$message_id,$msg) { $sendedheaders= array( 'Content-Type: text/xml', 'Accept: application/*', "X-NotificationClass: $delay" ); if($message_id!=NULL) $sendedheaders[]="X-MessageID: $message_id"; if($target!=NULL) $sendedheaders[]="X-WindowsPhone-Target:$target"; $req = curl_init(); curl_setopt($req, CURLOPT_HEADER, true); curl_setopt($req, CURLOPT_HTTPHEADER,$sendedheaders); curl_setopt($req, CURLOPT_POST, true); curl_setopt($req, CURLOPT_POSTFIELDS, $msg); curl_setopt($req, CURLOPT_URL, $this->notif_url); curl_setopt($req, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($req); curl_close($req); $result=array(); foreach(explode("\n",$response) as $line) { $tab=explode(":",$line,2); if(count($tab)==2) $result[$tab[0]]=trim($tab[1]); } return $result; } } ?>

2012年3月20日 星期二

Mobile devices screen size

jquery zoom 解決不同 mobile devices 的 screen 問題

$( document ).ready( function() {
var $body = $('body'); //Cache this for performance

var setBodyScale = function() {
var scaleSource = $body.width(),
scaleFactor = 0.35,
maxScale = 600,
minScale = 30; //Tweak these values to taste

var fontSize = scaleSource * scaleFactor; //Multiply the width of the body by the scaling factor:

if (fontSize > maxScale) fontSize = maxScale;
if (fontSize < minScale) fontSize = minScale; //Enforce the minimum and maximums

$('body').css('font-size', fontSize + '%');
}

$(window).resize(function(){
setBodyScale();
});

//Fire it when the page first loads:
setBodyScale();
});



var designWidth = 480; // zoom to fit this ratio
var designHeight = 762; // not 800 b/c top bar is 38 pixels tall
var scaleChange = 1; // % change in scale from above #s

function zoomScreen() {
var docWidth = window.outerWidth;
var docHeight = window.outerHeight;

if (docWidth != designWidth) {
var scaleX = docWidth / designWidth;
var scaleY = docHeight / designHeight;
if (scaleX < scaleY) {
$('body').css('zoom', scaleX);
scaleChange = scaleX;
} else {
$('body').css('zoom', scaleY);
scaleChange = scaleY;
}
}
}

2012年1月29日 星期日

林國雄信箱

初學八字就當然會四處找人問問 今天找回林國雄信箱幫我睇的一些回覆 那時時間為 2002 年 12 月 我第一年跟余老師學風水的年份 也算是初踏玄學界

姓名:ALEX NG
性別:男 婚姻狀況:未婚
出生年月日時:新曆一九七三年十一月四日十三時二十五分

詢問事項:1.八字中五行的喜忌?
2.何時事業才會暢旺?什麼事業才好?
3.是否適合創業?
4.正財及偏財運如何?
5.何時會結婚?

吳先生的八字為癸丑、壬戌、甲辰、辛未。辰戌丑未齊,四庫齊沖,不能在一個地方待得太久,故適宜從事服務性行業,左撲右撲為合。
 
八字喜木喜火,虛齡廿九歲起行火運,一直好下去。
 
婚姻一定要遲,早婚易離婚。虛齡廿九歲後始可論婚姻。
 
八字身旺,不旺偏財。正財於虛齡廿九歲後轉好,亦適宜於虛齡廿九歲後創業,宜選木火行業。

2012年1月25日 星期三

2012 外星文明的信息 - Part 1

這幾天被一本書(我被外星人綁架 11 次)吸引。關於外星人、UFO都聽好多。真真假假 自行判斷。而這本書講的不只是作者聲稱被綁架,我感興趣的是書裡面的數學! 真的大開眼界。先不理作者講的是真是假,但裡面的數學斷估作者作不出來的。因裡面所寫的連當今物理學家也在研究中,而作者只有小六程度的數學。除了數學外,作者亦畫了以下這張圖。最後那個行星在當時沒多人知而這張圖是 2002 年畫的。一輸入程式 你會見原來這些行星的排列就是出現在一個重要日子 - 2012年9月21日! 即今年。會有什麼事沒人知,也可能什麼事都沒。但最多人猜是人類會見到外星人出現整個天空。另一圖在這些行星傍有兩條蟲洞,如果真的人類就真的認真思考自己的位置,我們太渺少。





2011年12月22日 星期四

Google / Microsoft / Nokia / Apple 科技公司

今天突然好想寫寫這幾間科技公司 因我跟他們的 IT 及 PR 接觸過, 他們是科技界的龍頭。

Google事緣 2007 年 因比賽勝出而跟那些技術人員溝通。Google (不知內地或台灣) 的 技術非常好,回覆我的問題好快亦好專業。香港 marketing (也是操國語的) 說話超快,也好好效率。我曾試過晚上 11:00 send mail, 不到 5 分鐘便回我。 所以 Google 請的人確是一流。只是最後有些感覺怪怪因那時超過 Budget 幾百元 都沒得 claim haha...

Nokia - 亦是比賽所以接觸他們香港的 marketing. 可惜他們沒有給我好印象。他們叫我弄些本土味重的 apps然後交給他們測試,我照辦。第一次 ok 有回 (隔好耐)。之後 N8 出又弄,可惜這次一點回覆也沒。簡直浪費時間。比賽是有獎金的,若我沒問 相信可能會沒人提。還有就是 NOKIA China。那次搞比賽 我也有參加。但結果公布日完全沒消息。我走去 Nokia China Forum 問,回覆已過 連誰勝出也沒人知。唉 好難想像咁大間公司,d marketing 可以是這樣的。所以現在沒有搞 Nokia 的東西。當然v非常睇好 Windows Phone的前景。 Nokia 好彩能跟 MS 合作。

Microsoft - 最近因為參加 MS 的 first apps 比賽,所以直接 send email 問 MS HK 香港人能否參加
"HI,
I am living in Hong Kong. I just want to make clear that whether Hong Kong Citizen can enter MS First Apps Contest or not?

Thanks"

有位職員回
"
Dear customer,

Thank you for contacting Microsoft Hong Kong Customer Service, my name is xxxx, and I am glad to be of assistance.

From your email we understand that you might receive some problem on MS App issue. For server product issue /development product issue /�燫ow-to�� issue /issues of product under Volume License /free downloadable software issue, we provide a free Self-Help Online Support via
Knowledge Base articles at http://support.microsoft.com, or community-based forums at http://answers.microsoft.com and http://social.microsoft.com/forums/zh-hk/categories, where you can search, browse, and post questions and answers.

Additionally, you may also want to visit our technical resources for IT Professionals at http://technet.microsoft.com/en-us/default.aspx, or development resources for programmer at http://msdn.microsoft.com/en-us/default.aspx.
Moreover, you can purchase Microsoft Professional /Personal Support. Please refer to the following website for Terms and Conditions:
http://support.microsoft.com/gp/offerprophone/en-hk.

http://support.microsoft.com/gp/offerperphone/en-hk.

I hope the above information I provided is able to address your enquiry. If you have further questions, please feel free to contact us on our hotline (852) 2388-9600, or Macau Toll Free Number (853) 0800-760, after selecting language, press option 3. It will be our pleasure to assist you further with your inquiry.

Thank you for giving me the opportunity to serve you. Our goal is for you to be �焻atisfied�� with our service.

Thank you again for contacting Microsoft."

各位 我想知這算是 " 九唔答八嗎"?

好 可能我問得差,再問
"HI,
I think you have misunderstood my question. MS announces a global contest
(see the link)
https://buildwindowscontest.com/

However, it doesn't mention HK citizen can join this contest or not. Thus, I
want to ask and if HK citizen is not allowed to join, then I don't need to
develop the apps for this contest.

Hope it is clear enough"

佢覆:
"
Dear customer,
Thank you for contacting Microsoft Hong Kong Customer Service, my name is xxxx, and I am glad to be of assistance.

From your call I know that you want to know about Microsoft windows 8 first apps issue. I am pleased to provide you the following information for reference:

MSDN hotline: +852 3002 7866

I hope the above information I provided is able to address your enquiry. If you have further questions, please feel free to contact us on our hotline 2388 9600, after selecting language, then press option 3 and 1, it will be our pleasure to assist you further with your inquiry.

Thank you for giving me the opportunity to serve you. Our goal is for you to be �焻atisfied�� with our service.


Thank you again for contacting Microsoft."

見到嗎? 究竟香港人能否參加? 到現在是個 -- 謎。


Apple - 因為最近有個 apps 被 reject 所以感受好深。Apple 連續 3 次 reject,我也 3 次回覆 講理由。到最後他們放出 17.2 條 reject 的理由,真的到終審了,結果也是 REJECTED. 於是我又寫一大編理由說明我沒有違反條例。哈 他們真的有睇亦最後 approved! 這次我好感受到 他們不是亂來的。 只要你能交出合理的解釋, 他們確是會重新看及審閱。好有人情味!!

日後如能再接觸科技司,心中也有數他們的 style是怎樣。

2011年11月13日 星期日

怎样分析六亲

(转贴)张泽华:怎样分析六亲

怎样分析六亲 (2008-12-19 11:34:23)


这是一篇16号上午给江苏一位弟子的八字讲课录音整理资料,现拿来供大家借鉴一些喜用神无法突破的盲区。

X命:一九六九年—月—日—辰时生

己酉

乙亥

丁酉

甲辰

这位弟子因为是第一次听笔者的课,所以全部的讲课内容是以这位弟子的八字来讲解如何六亲定位和分析六亲。

一:母亲的分析:

时干甲木为母亲,定位后就以这个甲木为太极点,也可以看成是日元,丁火是食伤星,乙木是比劫星,己土是财星。天干只跑出来这三个星,那么官杀星和印星就不用去考虑了,只看着三个星就知道其母一些事情。己土被乙木所克,财星被制,其母做过生意,而且还是合伙做的,但做的不太理想,是自己不愿合伙做了。【事实上正如笔者所断】这些是怎么看出来的,制财的是乙木比劫,比劫是朋友,故是和他人合伙做生意。甲木生丁火来泄乙木,乙木制己的力量不够,因为是甲木生着丁火来制乙木,所以其母的生意除了做得不太理想之外,也是自己先退出来的。

母亲的兄弟姐妹如何来看,甲辰是【雷风恒】卦,【震】为母亲,三至五爻的【兑】为二,表示其母亲是姐妹两个,二至四爻还有一个【乾】卦来比助【兑】卦克着【震】卦,说明上面会有兄姐,再从一至三爻的【巽】卦来看,【巽】为长女,这个时候要将【巽】卦看成是长男,为什么要这么看呢?因为【震】卦是长男却代表了女性,所以【巽】卦就要反过来看。【巽】卦上面是【乾】卦,【乾】为老男,【震】卦下面是【兑】卦......,从这些就知道其母亲上面有一个兄长。要是想看其母亲的身体,也是将【雷风恒】卦展开就能一目了然,基本上会不带错的。

二:父亲的分析:

日支酉金为父亲,为什么不将年支的酉金看成父亲,因为这个八字有两个偏财,年支的酉金没有紧贴丁火,所以就把紧贴丁火的酉金定位成其父亲。偏财在地支,所有的天干就不要去考虑了,只看和酉金有关系的三个地支。月支亥水是其酉金的食伤星,年支酉金是其比劫,时支辰是其财星。日支酉金制时支辰财星,从这点来看其父亲的职业也是做生意,可是年支的酉金生月支的亥水来泄代表其父亲的这个酉金,酉金制财的力量就很小,那么其父亲就不会在生意场上有一席之地。但是,酉金毕竟还是制着财,这个时候就因该考虑其父亲是有一个单位。

三:丈夫的分析:

天干没有壬癸水,只有月支亥中藏有壬水官杀,亥代壬水,年支日支双酉是亥水的印星,时支辰是亥的食伤星。辰的本气戊土是亥的官杀,辰代戊土官杀,酉金合制辰,官杀有制,按说其夫必有官职在身,但是再看日支的酉金的力量被亥水泄,而且这个亥水还有年支的酉金生,其夫就不会有官职了,只会在一个好点的单位供职。其夫还会和别人做点生意,这个怎么看,就留给大家一个思考的空间。

四:女儿的分析:

年干己土为女儿,月干乙木是官杀星,日干丁火是印星,时干甲木也是官杀星,丁火制着乙木,官杀有制,其女儿日后必会在政界有一席之地,而且还是得到一把手的提携。现在其女儿的学习有点欠妥,这个怎么看?这个八字现在走己卯大运,己合时干的甲,丁火制乙木的力量就很弱,所以其女儿的心静不下来,学习就会大打折。

以上这些是分析六亲的基础,须知一物一太极。

2011年11月11日 星期五

餐廳訂位功能

今天朋友傳給我一個 msn 說有商場 全港首創餐廳訂位功能

沙田新城市廣場: http://www.newtownplaza.com.hk/chi/promotion_poster2.html
尖沙咀 K11: http://news.now.com/home/local/player?newsId=23942

聽後突然有點感觸因這意念我 在 2008 已想出來
以下兩條 link 就是當年的訪問 當年我為這麼用起了個名叫 iMall. 我還參加 ICT awards 入到最後五強. 好記得有位做警察的評審不停問 如果吃魚蛋粉怎訂位? 我真的想笑 這問題也問得出...最後可能因不能在吃魚蛋粉訂位而沒拿最後三名...哈哈

http://www.takungpao.com.hk/news/08/11/02/GW-984338.htm
手機寫Program / 影相為 Design” – Leisure People, Hi-Tech Weekly Issue 482, P100-101, 2008

大公報(2008)這樣寫的
"本港市民未來也許再也不用為在哪間餐廳吃飯、如何訂座的事情煩惱了。Imall是安裝在流動電話的應用軟件,顧客用可上網的手機,便可查詢餐廳的位置、座位空缺和優惠情況等,並在網上處理訂座及排隊事宜,未來將設手機提醒功能,讓你可以不用留在餐廳傻傻等位,及時返回就餐,靈活又方便。"


話說回頭, 今天試了一下這聲稱全港首創的系統...我勸他暫不好堆出了...基乎不work...我當年遇的問題,這系統比我的更糟..或許試驗階段吧...希望有所改良..其實如跟這系統比..打個電話簡單好多...現在我看行政的工作多了好多.

那有沒有更好的做法?當然有...先賣個關子

2011年10月25日 星期二

新高中資訊及通訊科技課程 - 多媒體製作及網站建構

今年年頭受聛於 VTC 教了一班中學老師、主任、副校長等的老師 預備 新高中課程 - "教統局新高中資訊及通訊科技課程知識增益系列:(11) 使用 PHP 及 MySQL 建構網站"
老師就是老師,好嚴肅,我點講笑大家都是望著電腦,日後有機會都想再教這類新高中課程因課程內容挺實用有部份甚至是大學一年級的內容。

高中資訊及通訊科技課程架構

高中資訊及通訊科技課程架構

1.必修部分
A. 資訊處理
B. 電腦系統基礎
C. 互聯網及其應用
D. 基本程式編寫概念
E. 資訊及通訊科技對社會的影響

2.選修部分( 選修一項)
A. 數據庫
B. 數據通訊及建網
C. 多媒體製作及網站建構
D. 軟件開發

3.校本評核