Friday, December 31, 2004

Remember to remove the corresponding “Documents and Settings”

As a contractor I use my client’s machine, and when I leave the site I always try to erase my trace. I know that removing a XP account still leaves the account’s corresponding “Documents and Settings” on the machine, so I always copy and erase that file. I was just wondering if there’s any other places I need to take care of, though.

Stupid Yahoo IM

Something stupid about Yahoo IM: if you are running Windows XP, having Yahoo IM installed in one account, and then login another XP account trying to log on to Yahoo IM, you will have trouble even when you have all the proxy and password entered correctly. I have to install the Yahoo IM again at the same place, and then the Yahoo IM will work. I was like *&^#$^*()

Suck to not having administrative right

The administrator at my workplace locked down my workstation and now I don’t have administrator right. That means I:

- Cannot Install application myself

- Cannot Remote login to my workstation from other place


That really bites. :-<

Friday, December 24, 2004

PowerPoint 2002 Transition

I was a bit disappointed by the transition provided by PowerPoint 2002. It's not bad, but some transition can be better. For instance, it would be nice that if the transition remembers whether the user is moving back to the last slide and moving to next slide, so that for the "Push Form " transition, moving back to the previous slide can map to "push from left edge" and move to next slide can map to "push from right edge". Doing so can nicely create an illusion that all the slides are a big roll of film, and the presenter simply rolling the slides from one end to the other end of the big roll. Apple does a better job on creating presentation transition gimmick on their presentation product. Hope Microsoft can learn from their competitor as soon as possible.

Nice new "Find" in Acrobat Reader 7

I wasn't intentionally started using the new Acrobat Reader 7, but it happened that I brought the latest version to work. What a great experience it turned out! One thing I like the most is the simply "Find" feature. Instead of giving me a big fat Search panel at the right side of the screen as in Acrobat Reader 6, Reader 7 gives me a tiny simply Find window at the upper left side which does not affect the view of the document. This is the way Text Searching should be!

LC3, Power password audit and recover software

I was a bit shocked when I used the LC3 15 days trial and found that it can retrive the admin password within minutes! This is one crazy powerful tool.

Wednesday, December 08, 2004

How to add Sony Ericsson mobile phone emulator in Sun Java Studio Mobility

The instruction in the package that comes with the Sun Java Studio Mobility package isn't clear enough, so I wrote mine:

1. Install Sun Java Studio
2. Under Runtime Explorer, open node "Device Emulator"
3. Right click on "Device Emulator and select "Add Emulator..."
4. For MIDP1 (like T-610), select the directory \SonyEricsson\J2ME_SDK\PC_Emulation\WTK1
For MIDP2 (like K700), select \SonyEricsson\J2ME_SDK\PC_Emulation\WTK2
5. Follow the simple on screen instruction.

Monday, December 06, 2004

Mobile phone development. Saga continue ....

One of my ex-colleague highly recommended me to pick Sony Ericsson T610, which should be selling at HK$1500, for Java app development. Problem is that:

- It only has 2Mb of memory
- Sony Ericsson is notorious in self rebooting.
- The Java spec it support is kind of old

So I will continue shopping around. But then I found the Sony Ericsson development providing enough information to give me a general idea about what it is like to develop an application for mobile phone. The link is www.SonyEricsson.com/developer. Check it out. It's worth the time.


In addition, I found the following links useful for mobile development:


The Wireless Podcast #1 (the first) - The Wireless Development Weblog - wirelessdev.weblogsinc.com

Wireless Java Dev blog


Beside Sun Studio One, I found out that JBuilder 2005 Enterprise edition also support Mobile app development support, and it's cool that there's a trial version available that I can try it out. Hmmm ... I wonder which is better, Sun Studio or JBuilder 2K5 ....


http://midlet.org seems contain a lot of Java app for mobile. I wonder how many of them are open source. Plus, many of the app look old and are still in monochrome ... My wrong impression maybe?

Saturday, December 04, 2004

Java on a mobile phone ....where to start?

It's so scary a thing: every time I ignored a technology, and then come back to take a look at it again, I am always shocks by the process. Yesterday while I was working on the Flash game for my PDA, I suddenly have an urge to take a look at the Java space and see how the mobile Java is doing. I always know that Java game is kind of popular judged by the fact that many of my female friends enjoy playing Java game on their mobile very once in a while, but I am surprise that the mobile development tools were also abundant, and a few of them are free. Here are the ones I found from Sun:

- Java Wireless Toolkit: 1.0.4.02 and 2.2
- Sun Java Studio Mobility 6

However, it still doesn't answer the biggest question in my mind:
- What mobile phone should I buy if I want to write some Java apps and put it in my mobile phone?

I know that not many people will by their mobile phone based on such criteria, but to me I am obsess in totally control a gadget that I buy. I will never buy a device that is totally black box to me.

So, if you know what mobile phone is the best Java development platform, please let me know. I assure you that I will put you in my credit of the game that I am going to write:-P .




ActionScript version, and some other Flash Tidbits

* I was frustrated for about half an hour wonder why Flash MX 2004 complains that the good ActionScript that I wrote has errors. Later I realized that I accidentally exported the movie as Flash 5 format, and suddenly the ActionScript version was dumped down to 1.0. That's why Flash complains that my script is not right. After exporting the movie as Flash 7 and ActionScript 2.0, Flash no longer complains about the syntax.

* When declare a variable in Flash, always specify the variable type (as Flash won't complain and treat the variable as variant). This allows the Flash complier to able to catch syntax error at compile time. It also allows the Flash editor to support Intellisense support.

* I need to write some code in Flash to sense the mouse press and release within a particular movie Clip. OnMouseDown and OnMouseUp do not do the job because the event is captured regardless of where I press and release the button. So I need to use onPress and onRelease.

* Since I need to write a version of the Flash application that runs that works on a Flash 5 player in parallel with a Flash MX 2004 version, I have a chance to see the advance of ActionScript from 1.0 to 2.0, and boy there are a lot. For instance, ActionScript 1.0 does not support strict data typing (var bSomeValue:Boolean). Also the event model of 2.0 is much better than the 1.0.

* I just figured out that the Key press event of Flash 5 is not being supported by the Flash player in NX-70V. Oh well....