Tuesday, December 25, 2007

Christmas Eve in Sydney


The Christmas tree at Darling Harbour, Sydney
Canon IXUS 50, F/2.8, 1/640 sec, 5.8 mm, ISO 50, Pattern Mode, 19:28 24 Dec 2007


The ice Christmas tree at the lobby of Star City (Casino), Sydney
Canon IXUS 50, F/2.8, 1/8 sec, 5.8 mm, ISO 50, Pattern Mode, 21:43 24 Dec 2007


Sydney CBD, the view from Darling Island, Pyrmont, Sydney
Canon IXUS 50, F/2.8, 2 sec, 5.8 mm, ISO 50, Pattern Mode, 22:01 24 Dec 2007


Sydney Opera House, the view from Macquarie St, Sydney
Canon IXUS 50, F/4, 2.5 sec, 12.12 mm, ISO 50, Pattern Mode, 23:01 24 Dec 2007


Sydney Opera House, the view from The Rocks, Sydney
Canon IXUS 50, F/3.5, 2.5 sec, 8.5 mm, ISO 50, Pattern Mode, 23:21 24 Dec 2007

Sunday, December 23, 2007

Malware attack redirected from 123greetings.com

I today received a Christmas greeting card from a close friend in China. When I clicked the e-card link in Firefox, the page could not be displayed as I have disabled JavaScript and Cookies in Firefox by default. I then copied and pasted the URL from Firefox to Safari, the only browser having JavaScript and Cookies enabled by default on my iMac.

Something happened then. A page of 123greetings.com flashed on the screen followed by a few splashes showing me an animation of scanning through the system folders of my computer. After that, the following XP style window appeared on my Leopard desktop and forced me to download two PC executable files with randomized filename. The active web page has been redirected to scanner2.malware-scan.com.


As I illustrated in the screenshot above, it was a malware attack.

As for Cookies, only 123greetings.com left several items in Safari's Cookie records, as shown below. malware-scan.com didn't leave its trace.


The downloaded executable files were identical except their filenames. I ran one file in a disconnected Windows 2000 Server box (a virtual machine), the file's process appeared in Task Manager. It seemed nothing happened (of course it's not ture). I ran the executable several times, several individual processes appeared in Task Manager, as follows.


I also noticed that this executable file created a Windows registry item at:

HKCU\Software\Microsoft\Windows\CurrentVersion\ADP = "&swp=1&apx=%s" (where %s is the filename of this downloaded file)

I enabled the network connection on the W2K virtual machine. After a while, a "professional" anti-spyware program, MalwareAlarm 2.1, appeared on the screen, and has already started scanning the system. This bloody scanner reported that I had nine threats, and asked me to buy online in order to activate its Threats Removel function. TCPView showed that this program (MalwareAlarm.exe) was downloaded from 69.50.175.18.


There was a business behind this anti-spyware spyware. It even showed me such a screen.


Now, you should have known how the kind of anti-malware program works, humm? :-)

Futhermore, I did a google search for this, and found that someone already reported the a similar spyware two days ago, on 21 December 2007.

Saturday, December 22, 2007

Farm sculptures along Wisemans Ferry Road


Wisemans Ferry Road, Dharug National Park, NSW, Australia (sic passim)
Canon IXUS 50, F/2.8, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 18:02 21 Dec 2007


Canon IXUS 50, F/4.9, 1/60 sec, 17.4 mm, ISO 50, Pattern Mode, 18:04 21 Dec 2007

Billy Grech's Farm


Canon IXUS 50, F/2.8, 1/640 sec, 5.8 mm, ISO 50, Pattern Mode, 15:47 21 Dec 2007


2065 Wisemans Ferry Road, Mangrove Mountain, NSW, Australia
Canon IXUS 50, F/5.6, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 15:47 21 Dec 2007

The Retreat at Wisemans Ferry


The Retreat, Wisemans Ferry, NSW, Australia
Canon IXUS 50, F/5.6, 1/320 sec, 5.8 mm, ISO 50, Pattern Mode, 12:26 21 Dec 2007

Mailboxes along Wisemans Ferry Road


Wisemans Ferry Road, Dharug National Park, NSW, Australia (sic passim)
Canon IXUS 50, F/2.8, 1/50 sec, 5.8 mm, ISO 50, Pattern Mode, 17:12 21 Dec 2007


Canon IXUS 50, F/2.8, 1/160 sec, 5.8 mm, ISO 50, Pattern Mode, 17:21 21 Dec 2007


Canon IXUS 50, F/4.9, 1/124 sec, 17.4 mm, ISO 50, Pattern Mode, 17:23 21 Dec 2007


Canon IXUS 50, F/2.8, 1/100 sec, 5.8 mm, ISO 50, Pattern Mode, 17:24 21 Dec 2007


Canon IXUS 50, F/2.8, 1/160 sec, 5.8 mm, ISO 50, Pattern Mode, 17:26 21 Dec 2007


Canon IXUS 50, F/2.8, 1/500 sec, 5.8 mm, ISO 50, Pattern Mode, 17:27 21 Dec 2007


Canon IXUS 50, F/2.8, 1/250 sec, 5.8 mm, ISO 50, Pattern Mode, 17:28 21 Dec 2007


Canon IXUS 50, F/2.8, 1/160 sec, 5.8 mm, ISO 50, Pattern Mode, 17:29 21 Dec 2007


Canon IXUS 50, F/2.8, 1/320 sec, 5.8 mm, ISO 50, Pattern Mode, 17:30 21 Dec 2007


Canon IXUS 50, F/2.8, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 17:31 21 Dec 2007


Canon IXUS 50, F/4.9, 1/125 sec, 17.4 mm, ISO 50, Pattern Mode, 17:34 21 Dec 2007


Canon IXUS 50, F/2.8, 1/125 sec, 5.8 mm, ISO 50, Pattern Mode, 17:35 21 Dec 2007


Canon IXUS 50, F/2.8, 1/80 sec, 5.8 mm, ISO 50, Pattern Mode, 17:37 21 Dec 2007


Canon IXUS 50, F/2.8, 1/400 sec, 5.8 mm, ISO 50, Pattern Mode, 17:39 21 Dec 2007


Canon IXUS 50, F/2.8, 1/100 sec, 5.8 mm, ISO 50, Pattern Mode, 17:43 21 Dec 2007


Canon IXUS 50, F/2.8, 1/160 sec, 5.8 mm, ISO 50, Pattern Mode, 17:46 21 Dec 2007


Canon IXUS 50, F/2.8, 1/250 sec, 5.8 mm, ISO 50, Pattern Mode, 17:48 21 Dec 2007


Canon IXUS 50, F/2.8, 1/160 sec, 5.8 mm, ISO 50, Pattern Mode, 18:03 21 Dec 2007

Having a cow


Canon IXUS 50, F/2.8, 1/100 sec, 5.8 mm, ISO 50, Pattern Mode, 17:39 21 Dec 2007

Wednesday, December 19, 2007

Tiger just works. Leopard just not works

Today, I read an article of Oliver Rist, and I pretty much agree with this guy on Leopard, Apple Mac OS 10.5.

PC Magazine: Leopard is the New Vista, and It's Pissing Me Off

It's ture: Tiger just works. Leopard just not works.

Leopard looks wonderful but it has driven me mad. For example, if you enable Parent Control and Fast User Switching at the same time, your dashboard disappears. That sounds ridiculous but it does happen on Leopard. I rang Apple Support at 133MAC for this issue for several times, what they did was only asking me to back up my preferences files and recreate new ones. That did not help at all. The Apple Support engineers even did not know that Apple already published a KB for this issue until I told them.

Tiger is more nice than Leopard, so far.

Sunday, November 18, 2007

Canada at night


Comfort Inn Car Park, Richmond, Vancouver, BC, Canada
Canon IXUS 50, F/2.8, 1 sec, 5.8 mm, ISO 50, Pattern Mode, 06:39 3 October 2005


Regina Chinese Alliance Church, Regina, SK, Canada
Canon IXUS 50, F/2.8, 1 sec, 5.8 mm, ISO 50, Pattern Mode, 19:49 3 October 2005


Canada Place, Vancouver, BC, Canada
Canon IXUS 50, F/2.8, 1 sec, 5.8 mm, ISO 50, Pattern Mode, 19:26 5 October 2005


Gas station, The Coast Mountains, BC, Canada
Canon IXUS 50, F/2.8, 1/6 sec, 5.8 mm, ISO 50, Pattern Mode, 04:28 26 November 2005


Houses in the Rocky Mountains, Banff, AB, Canada
Canon IXUS 50, F/2.8, 1 sec, 5.8 mm, ISO 50, Pattern Mode, 04:09 26 November 2005


Downtown, Calgary, AB, Canada
Canon IXUS 50, F/3.5, 3.2 secs, 8.46 mm, ISO 50, Pattern Mode, 18:42 26 November 2005


The Canadian Bank of Commerce, Medicine Hat, AB, Canada
Canon IXUS 50, F/2.8, 4 secs, 5.8 mm, ISO 50, Pattern Mode, 23:32 26 November 2005

Friday, November 16, 2007

Apple Support on iMac hibernation

A few days ago I rang Apple Support at 133MAC regarding how to enable hibernation on my iMAC running Leopard. The reason of why I need hibernation on iMac is that I have been got used to this feature on my Windows notebooks for years, and I sometimes do need to move my iMac from one room to another at home.

Hibernation allows you to save and then restore your current work environment instantly, including opened windows, running applications, and their data in use. Actually, hibernation just dumps your computer memory in use to a file on hard disk, marks the system partition in hibernation mode, therefore you can restore what it was in the system memory next time you boot the computer, instead of loading the operating system step by step. I like this feature as I do often open more than 10 applications at the same time, so I hate to restart each application again and again every time I turn on the computer.

OK, back to the Apple Support at 133MAC. After I explained what I needed to the tech support, he quickly asked me to change something in System Preferences | Energy Saver | Sleep, where I had tried first when I was finding out this functionality on iMac. Then the following conversation between the Apple support (A) and me (B) started:

B: "No, no, no. I need hibernation, not to simply sleep, I need to unplug the power cord then."
A: "Why?!"
B: "I do need to move the iMac from one room to another, but I dislike to shut donwn, restart, and reopen the applications again."
B: "I think Sleep mode still needs the power, doesn't it?"
A: "Yes, it does. Umm... hang on, let me double check it..." (typing something on the keyboard)
B: "Are you searching from somewhere else?"
A: "Yes."
B: "Is it Apple KB, Knowledge Base?"
A: "Yeah, we have Apple Knowledge Base. It is very informative."
B: "That's cool. Have you found something helpful?"
A: "No. I am sorry, you can't do that. We don't support it."
B: "Really?! I just switched from Windows to Mac OS. I have got used this feature. It's very handy. I need it."
A: "Unfortunately, we do not support this on Mac. You are using an Apple."
B: "Oh..., is there any possible solution? I really need this functionality."
A: "Umm... can you please hold the line for a moment, I wanna consult other engineers."
B: "Sure. OK."
A: "Thanks mate."
...
A: "Are you still here mate?"
B: "Yes. Any good news?"
A: "Unfortunately, no. We do not support hibernation on Mac."
B: "Oh..."
A: "Even so, you may consider to get a long power cord, an extended one, so you can move your iMac..., you know."
B: "Hehe... is it a solution? An Apple's solution?"
A: "Well, it's a solution, if you like."
B: "An official solution from Apple?"
A: "Well..."
B: "I hate cords, cables, wires..., that's why I bought an iMac, a wireless iMac."
A: "Anyway, you still need, at least, a power cord for your computer, so an extended cord allows you..."
...

An extended power cord is Apple's solution for hibernation.

Wednesday, November 14, 2007

Translating Chinese bureaucratese

A good friend of mine in China asked me yesterday to translate an abstract of his academic paper into English. I find that the Chinese wording and expression in this abstract is really interesting, especially for me who is from mainland China, throughly understands this kind of Chinese bureaucratese, but now reads English everyday.

Actually, I did use this kind formal language intensively in China, too.

Translating this kind of language into English should be a challenge. First because some expressions are only available in Chinese, the next some words do have different meanings in English, thirdly the relevant grammatical structures in Chinese and English are different.

I tried my best to convert the original meanings in the abstract into English. Here is the Chinese abstract and my translation in English.

政务门户网站设计概述

摘要

  门户网站是政府运用现代信息技术向社会提供管理和服务的窗口。本文从政务门户网站设计所涉及的目标、原则、范畴和构成入手,阐明了政务门户设计要以服务为中心的观点,围绕信息公开、网上办事、公众监督和个性化服务等方面的具体内容,文章对以服务为中心的政务门户网站的设计进行了探讨。

关键字:电子政务 门户网站 设计

Overview of e-Government Portal Design

Abstract

e-Government Portal is a window for governmental organizations to provide public administration and social services by utilizing latest information technologies. This article begins with the essentials of e-Government Portal Design including the goal, principles, scope and its components, and presents the concept that e-government portal is necessary to be services-oriented. The article subsequently discusses how to design a services-oriented e-government portal regarding several practical aspects such as information publishing, online services, public scrutiny, and personalization services.

Keywords: e-Government, Portal, Design

Monday, November 05, 2007

Sydney Harbour Bridge at night


Viewing Harbour Bridge and CBD Buildings from Milsons Point, lower North Shore of Sydney
Canon IXUS 50, F/2.8, 15 secs, 5.8 mm, ISO 50, Pattern Mode, 20:00 4 November 2007

Friday, October 05, 2007

Running Windows tasks in Mac OS X!

See my new iMac's screen!


Please note that Windows tasks such as Word 2007, PowerPoint 2007, and even Vista Sidebar are running with other Mac OS X tasks, on the same desktop!

Thanks to VMware Fusion, the new VM solution for Intel Macs, You can move Windows applications out of its virtual machine onto Mac desktop.

I was at VMware Virtualization Forum 2007 - Sydney (Darling Harbour) this afternoon. A VMware guy there told me that the official release of VMware Fusion would be available in Australia next week. Its full package price would be A$ 119.

Monday, October 01, 2007

Long weekend photos from Canberra


ANZAC Parade and Australian Parliament House on the Capital Hill
(The view from Australian War Memorial)
Canon IXUS 50, F/4.9, 1/640 sec, 17.4 mm, ISO 50, Pattern Mode, 14:00 30 Sep 2007


White in Yellow at Floriade
Canon IXUS 50, F/5.6, 1/400 sec, 5.8 mm, ISO 50, Pattern Mode, 14:51 30 Sep 2007


Red in Yellow at Floriade
Canon IXUS 50, F/2.8, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 14:53 30 Sep 2007


A view at Floriade
Canon IXUS 50, F/4.9, 1/640 sec, 17.4 mm, ISO 50, Pattern Mode, 15:09 30 Sep 2007


Australian Parliament House and its square
Canon IXUS 50, F/5.6, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 16:49 30 Sep 2007

Sunday, September 16, 2007

Niklaus Wirth

Niklaus Wirth, born February 15, 1934, Winterthur, Switzerland, early prompter of good programming practices; developer of the programming languages Pascal, Modula-2, and Oberon; recipient of the 1984 ACM Turning Award.

In 1995, he popularized the adage now known as Wirth's law: "Software gets slower faster than hardware gets faster", although in his 1995 paper A Plea for Lean Software he attributes it to Martin Reiser.

In introducing Professor Wirth to present his Turning Award Lecture in 1984, ACM president Adele Goldberg commented: "In Europe he is called by name - Wirth (pronounced virt), while in America we know him by value - Worth (pronounced worth)!"


Source:
1. J.A.N. Nee, "Niklaus Wirth", International Biographical Dictionary of Computer Pioneers, IEEE, 1995, pp. 747-748.
2. Wikipedia - The Free Encyclopedia, Niklaus Wirth, as of 06:12, 15 September 2007.

Tuesday, July 17, 2007

Climbing up Christ Church Cathedral


How did I climb up to the highest point of Newcastle, NSW
at 11.30am on 16 July 2007

Port Stephens at glance


Canon IXUS 50, F/5.6, 1/200 sec, 5.8 mm, ISO 50, Pattern Mode, 15:18 16 July 2007


Canon IXUS 50, F/5.6, 1/400 sec, 5.8 mm, ISO 50, Pattern Mode, 15:19 16 July 2007


Canon IXUS 50, F/4.9, 1/125 sec, 17.4 mm, ISO 50, Pattern Mode, 16:55 16 July 2007