« July 2009
SunMonTueWedThuFriSat
   
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
       
Today
XML

Blog::Navigation

Other sites

My homepage

Get Firefox

Get Firefox!.

Site notes

This page validates as XHTML 1.0, and will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device. It was created using techniques detailed at glish.com/css/.

Powered by Roller Weblogger.
Main | Next page »
20050603 Friday June 03, 2005
Logged 2 bugs to Apple.com I found 2 bugs while installing MovableType 3.16 on Mac OS X 10.4.1.

4139312 RSS feed doesn't work on localhost

04-Jun-2005 10:35 AM Ginn Chen:
Summary:
RSS feed doesn't work on localhost

Steps to Reproduce:
I installed MovableType 3.16 on localhost, the url is http://localhost/blog.
On first page, it has a link of "RSS 1.0 (XML)".
The link address is http://localhost/blog/index.rdf.
Click the link, Safari finally got an error.
"Safari can’t find the server.
Safari can’t open the page “http://index.rdf/” because it can’t find the server “index.rdf”."
The Address box displayed "http://index.rdf/"

Expected Results:
It should go to "feed://localhost/blog/index.rdf"

Actual Results:
The Address box displayed "http://index.rdf/" with an error page.

Workaround:
Use a hostname instead of localhost.
It will be fine.

4139320 apache rewrite module incorrect behaviour

04-Jun-2005 10:50 AM Ginn Chen:
I installed MovableType 3.16 on Mac OS X 10.4.1.
I use mysql 4.1 as database.
I configed MovableType to use dynamic archive templates, that is, to use .htaccess and php instead of real html archives.

I changed /etc/httpd/httpd.conf Line 406 to allow override.
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
    AllowOverride All

After rebuild my blog, I got .htaccess in my blog directory.
But when I access http://localhost/blog/archives/2005/06/index.html, I got 404 error.

I think it's related to following lines in the .htaccess file.
  # don't serve mtview.php if the request is for a real file
  # (allows the actual file to be served)
  RewriteCond %{REQUEST_FILENAME} !-f

1) Remove this line, it will be OK.
2) If I create an empty directory archives/2005/06/, it will be OK too.

It's weird.
It seemed the testing of file existence goes wrong if the directory doesn't exsit.
I tried this on Linux, it doesn't has this bug.


20050519 Thursday May 19, 2005
Built Firefox 1.0.4 with gcc-4.0.0 on MacOS X 10.4.0 Last week I built Firefox 1.0.4 with gcc-4.0.0 on MacOS X 10.4.0. It's really not smooth. Actually I have to build a final version of gcc-4.0.0 before building Firefox. Anyway, it works finally. Cheers. about:buildconfig Build platform target powerpc-apple-darwin8.0.0 Build tools Compiler Version Compiler flags gcc gcc version 4.0.0 (Apple Computer, Inc. build 5018) -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -I/Developer/Headers/FlatCarbon -pipe c++ gcc version 4.0.0 (Apple Computer, Inc. build 5018) -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -I/usr/X11R6/include Configure arguments --disable-ldap --disable-mailnews --enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,negotiateauth --enable-crypto --disable-composer --enable-single-profile --disable-profilesharing --enable-application=browser --enable-strip --enable-static --enable-pthreads --enable-prebinding '--enable-optimize=-O2 -faltivec -mcpu=7450 -mtune=7450 -mpowerpc -mpowerpc-gfxopt -fpermissive' --disable-debug --disable-tests --disable-shared --without-system-png --without-system-mng --without-system-nspr --without-system-zlib --without-system-jpeg
20040729 Thursday July 29, 2004
My old Apple baby, photoed by SX1

Macintosh SE

20040721 Wednesday July 21, 2004
China 'Red Tide' swamps Indonesia


Hao Haidong struck China's second goal [Adnan Hajj/WSG]

From official site

Shao Jiayi scored twice as Asian Cup 2004 hosts China took a big step towards the quarter-finals, trouncing Indonesia 5-0 at the Workers' Stadium on Wednesday.
The big win leaves China needing only a draw from their final Group A match against Qatar on Sunday to advance to the last eight.

20040720 Tuesday July 20, 2004
www.sun.com on my cell phone

Today I tried Opear Web Browser on my cell phone.
Here's a screenshot of www.sun.com, it's pretty good.
The picture on the page was shrunk to fit mobile's screen.

Wish someday I can try our Mozilla on it.

Related: Nokia has funded a cell phone browser project at the Mozilla Foundation, breathing new life into the open-source effort once written off as Microsoft roadkill. (full story)

Macromedia Flash Player for Symbian OS

Last month, Macromedia announced Flash Lite 1.1, as the Macromedia Flash profile specifically developed for mobile phones.
It supports SVG-T(Scalable Vector Graphics-Tiny) playback, MP3, ActionScript and network connectivity.
Like Flash Player on the web, in time, Macromedia expect Flash Lite to be ubiquitous in the mobile phone industry. They're going to support Symbian, Palm, Smartphone and BREW.

Before Flash Lite 1.1, Macromedia released Flash player 6 for PocketPC and some certain phones in Japan.
But, I didn't see any executable for Symbian yet. I wish it will come out soon. Somebody said the program's size is about 300K.

As you know, Macromedia's Flash format is one of the most common and most widely used formats for enhancing websites with multimedia. I guess it's going to be a competitor of J2ME very soon. It's really simple and powerful. Maybe you'll see some mobile games based on Flash Lite in the future.

One satirical announcement which Macromedia threw out 3 years ago, "Flash headed for Symbian".
Wish I can try it before the retirement of my cell phone.

20040711 Sunday July 11, 2004
Prince of Persia: Sands of Time

Prince of Persia: Sands of Time is my favorite mobile game. Very good gameplay and a lengthy adventure.
I finished this game after one week's playing (about half an hour everyday).

This screenshot from ign.com is a little different from my mobile, it seems there are several versions, sis version and J2ME version.

Really a good game, it got 9.5/10 from ign.com.
"If you're buying a new cellphone, make sure it plays this game."

My friend Cao Heng at ubisoft, is one of  the game's developer.
Great job!

Now I'm seeking the next game.

Tempest hits Beijing


(Photosource: peopledaily.com)


(Photosource: xinhuanet)

 

20040707 Wednesday July 07, 2004
Siemens donated SX1 to China national football team

Everybody had one new cellphone, with their photos in it.

Hao haidong, the best striker in China.

Arie Haan, China national football coach.

20040704 Sunday July 04, 2004
Greek Mythology

Unbelievable victory, Greece defeated Portugal at 0:1, and won the European Championship.

Everything that has beginning has an end. In the first match of UEFA EURO 2004, Greece defeated Portual at 2:1.

This is a moment should be memorized forever in UEFA history. The other one is the tale of Danmark, they were called up at the last moment in 1992 after Yugoslavia's late exclusion, and won the Championship finally.

An incidnet in today's match, the match was held up as a Portuguese supporter ran on to the pitch.

Multiple Browsers Frame Injection Vulnerability

A 6 year old vulnerability has been discovered in multiple browsers, allowing malicious people to spoof the content of websites.

The problem is that the browsers don't check if a target frame belongs to a website containing a malicious link, which therefore doesn't prevent one browser window from loading content in a named frame in another window.

Successful exploitation allows a malicious website to load arbitrary content in an arbitrary frame in another browser window owned by e.g. a trusted site.

The vulnerability has been confirmed in the following browsers:
* Opera 7.51 for Windows
* Opera 7.50 for Linux
* Mozilla 1.6 for Windows
* Mozilla 1.6 for Linux
* Mozilla Firebird 0.7 for Linux
* Mozilla Firefox 0.8 for Windows
* Netscape 7.1 for Windows
* Internet Explorer for Mac 5.2.3
* Safari 1.2.2
* Konqueror 3.1-15redhat

Other versions may also be affected.

Solution:
Do not browse untrusted sites while browsing trusted sites.

The following browsers are not affected:
* Mozilla Firefox 0.9 and later
* Mozilla 1.7

You can find a testcase in secunia.com.

Mozilla comes safer than IE now.

More Google

MoreGoogle is a freeware to enhance Google search results, it features:

Download MoreGoogle (300KB)

Wonderful software, it runs silently, and won't slow down your searches.

"This is the coolest plug-in I have seen to enhance the Google search results" -- Savage Nomads

Be inspired -- My new cell phone Siemens SX1

Last week, I bought a new cell phone, Siemens SX1. I'm a Siemens cell phone fan, my last phone is 3568i.
It's a great phone with MMS, Camera, Radio, MP3 and RealOne.
The next day I bought a 256M MMC card, and transfered a MP3 album to it. It cost so long it transfering, because the phone only supported serial port bandwidth in deed, while it used PC's USB port. I should buy a MMC card reader/writer to improve. However, its sound quality is perfect.

A flaw is the ringtone volume is too low, I can't hear it in crowd. Someone said it will be fixed in firware version 14 in two weeks.

I used Java Desktop System's screen as the phone's screensaver. This cheated my co-workers, they asked me how to install JDS to cellphone.

I downloaded SMTK(Siemens Mobile Toolkit) from Siemens Developer Village . Maybe I will develop some applications for my phone later.

And I wish I will take some phones by it, and post here to make my blog more interesting.

20040628 Monday June 28, 2004
What AG stands for?

Many times I see AG after some companies' name, but I don't know the meaning.
For example, Siemens AG, Swatch AG, Suse Linux AG, etc.

I really spent a lot of google searchs on finding the meaning of AG.
Maybe it's hard to search too short and too common word.

At last, I got it from OnVista.com.

AG (abbr. for German Joint Stock Company)

AG stands for a German Joint Stock Company, a capital funded company which exists as a legal entity. The shareholders are co-owners of the Share Capital, which has been divided up into shares. The goal of a Joint Stock Company is to accumulate capital for investment and the like by means of share emissions, in order to divide the entrepreneurial risk as much as possible among the shareholders.

AG (German Joint Stock Company)
The Joint Stock Company is a company whose shareholders, or investors participate in the share capital through share purchases. Investors are liable only up to the amount invested in the company, not for any sums surpassing their investment.

 

How to take screenshot of gdm in JDS

Today I tried to take a screenshot of gdm in JDS.
It spent my a few time to find the solution.
Finally, this webpage helped my out.

Here's my steps.
1) edit /etc/X11/gdm/Init/Default, add 1 line, xhost +, before the lastline "exit 0"
2) Restart X (Ctrl+Alt+Backspace). Log in and log out.
3) Ctrl+Alt+F2, switch to text console, log in as root.
4) chvt 7;sleep 2;xwd -display :0.0 -out /tmp/dump.xwd -root
5) After 2 seconds, you will hear two beeps, Now you get your screenshot to /tmp/dump.xwd. You can edit it by gimp.

Another tip of taking screenshot in JDS.
If you want to take screenshot of popup-menu, you can try /usr/bin/gnome-panel-screenshot --delay=5, it will give you enough time to pop up the menu.

If you want to get screenshot of installation screens, I think you must use VMware.

Copyright (C) 2004-2005, Blog of Ginn Chen (陈琦/Chen Qi)