Xin is an iPhone developer. His wife Olivia and he are enjoying inspirations in their OLIVIDA Studio.
- Adium
- Anime
- Apple
- App Store
- Beginning
- Beta
- cocos2d
- Code
- Code Geass
- Cydia
- Design
- Example
- FAQ
- Games
- Gomoku
- Hangzhou
- Interface Builder
- iPhone
- iPhone Developer Program
- Jabber
- Java
- Live
- MacBook Pro
- Nonsense
- NSString
- nVIDIA
- Performance
- Smack
- SQLite
- Themes
- Thinking
- Trip
- Tutorial
- UIActionSheet
- UIImageView
- UITableView
- UITableViewCell
- UIView
- UIViewController
- V2EX
- Video
- WordPress
- Xcode
- XMPP
So, finally I’ve got my activation code working, actually Apple sent me the right code, but in wrong format like 1234-5678-ABCD-EFGH, that doesn’t work. Then another guy from Apple told me to enter 12345678ABCDEFGH, and it worked, I’m a bit speechless. It seems that something is not quite consistent in the program.
And next step is to set up a contract with Apple, since I’m going to sell my apps. Things are a bit complicated again. Why don’t they use some lightweight method like Western Union? Google uses that way to pay AdSense publishers in China. And Apple uses SWIFT code to transfer money, and I guess this is quite new for most people. One more thing is that W-8BEN is required to be mailed to Apple for foreign developers.
I hope all those non-tech stuff could be settled down before December.
I just encountered this problem and finally got it working. Here are some tips if you’ve experienced the same problem:
- Try create a new iPhone project in Xcode, and your distribution provisioning profile will show up in the new project. Then back to the problematic project, you may get lucky.
- Enter
iPhone DistributioninCode Signing Identity, selectCode Signing Provisioning Profileand press delete. Switch to distribution configuration and build, if you got lucky, you’ll be prompted about permission or somethingKeychain, clickAlways Allow. After build, you may find distribution provisioning profile showing up. - You’ll need to generate and request different certificates for Developer profile and Distribution profile.
- Actually you don’t need to enter the name part in
Code Signing Identity, justiPhone DeveloperandiPhone Distributionis enough for Xcode to locate these profiles.
Since Xcode behaves strange and different from what Apple describes in program portal guide, this could be a bug and I hope it gets fixed in next version of Xcode. I believe that many people were mad about this.
After update to the latest version of Adium, I found it can support offline message in Live messenger protocol, cool.
Every iPhone native app crashes.
Something really hard to address is, when app is running very smooth in simulator, it crashes much more often in real devices. Especially for apps reading a lot data from Internet.
I really want to find a list of tips about reducing crashes, or should I make my own? And I wish Apple could add more RAM to next generation iPhone.
VLC, MPlayer and Perian are three major choices for playing media files on Mac OS X, most otakus who download and watch a lot videos usually have all of them. If you don’t care about subtitle support, then MPlayer could be good choice, it has fast and reliable seek-n-play for MKV and other H264/X264 videos.
But when subtitle and performance came to a problem, the three players have very different routines to handle.
VLC

Cross-platform media player works on Windows, Mac, Linux, BeOS, Solaris, Syllable, NetBSD, OpenBSD, FreeBSD, for various audio and video formats.
Website: http://www.videolan.org/vlc/
- A sophisticated control panel to let you configure font render module, type face, style.
- Supports ASS/SRT formats
- Latest version, 0.9.3, seems to have the defects of seeking
- Older version, 0.8.6i, cannot support anti-aliasing font scaling
- Too many clicks in the complicated dialog for opening video and subtitle together, bad user experience
MPlayer
![]()
Cross-platform CLI player works on Windows, Mac, Linux, BeOS, Solaris, Syllable, NetBSD, OpenBSD, FreeBSD. On some platforms there are GUI front-ends.
Website: http://www.mplayerhq.hu/
MPlayer OS X: http://mplayerosx.sourceforge.net/
MPlayer OS X Extended: http://mplayerosx.sttz.ch/
- Very poor ASS support
- Overall poor subtitle support, MPlayer OS X Extended has some support for customizing font style
- Fast and reliable seeking
- Better H264/X264 framerate compared to VLC
Perian
A free, open source QuickTime component that adds native support for many popular video formats. For Mac OS X only.
Website: http://www.perian.org/
- Not as fast as MPlayer when play H264/X264
- No way to customize font style, but the default style is really polished and beautiful
- Mature ASS support
- Load subtitle automatically
Conclusion:
For overall experience, Perian is recommended for its relative mature subtitle support and reliable framerate.
Disclaimer:
This post is based on my experience with the three players, I use them mostly for playing MKV and other H264/X264 formats, in HD quality. My testing machine is a MacBook Pro 17-inch with Core 2 Duo 2.5G and 4G RAM.
Feel free to correct me in comments if you find anything wrong in this post.
This is the 3rd National Day week I spent in Shanghai, except two days in Hangzhou, my otaku lifestyle hasn’t changed much. I watched two anime films by Makoto Shinkai: 5 Centimeters Per Second, Voices of a Distant Star.
1080P version of 5 Centimeters Per Second is amazingly awesome, I mean the detailed graphic, almost every single frame can be captured and set as desktop wallpaper. That’s the quality of commercial studio production.
Something is quite memorable in Voices of a Distant Star, if one day your girl friend is traveling to a distant star, and all messages sent from her would take years to deliver, because a distant star means a star in light years far away. Then?
You two are connected, because you’re keeping missing each other, so no matter how many light years away, you’re connected.
Actually I wish I could have one connection like that. Such connection is not meant for telling stories to others, but just a connection that will be kept in hearts for many many many years.
I just found that Apple has got an excellent list answering most common coding questions like how to tell is code running on iPhone or iPod touch?
http://developer.apple.com/iphone/gettingstarted/docs/gettingstartedfaq.action
I still hope there will be an official place for developers to discuss iPhone coding problems, like they’re doing in Adobe Labs, with forums and wikis. Currently some developers go to discussions.apple.com, which is not the best place IMO, because most people there are regular users, not developers, and discussion categories are defined for regular users too.
FENG Hua Jun, the author of several useful Mac OS X applications, has recently launched an iPhone application at the App Store: BlogPress, it’s a comprehensive blog writer for iPhone, with supports of multiple protocols including Blogger, Live Spaces, WordPress, MovableType and TypePad, and it has one special feature: you can embed pictures into your blogging just like in WYSIWYG editor on your PC or Mac.
FENG has done an elegant IME before, which is very popular among Chinese Mac and iPhone users. Even iPhone OS 2 came with official Chinese IME, FENG’s Fun Input Toy is still the fastest on iPhone, many users still jailbreak their phones for using FIT. He really has passion on quality software and I wish him best luck at the App Store.
I’ve been in Hangzhou with a friend in past 2 days, a casual trip without any purposes. And we spent the nights at Hanting Inn 汉庭客栈, which is a new brand from budget hotel company Hanting 汉庭, for 99 yuan per night, you got a small clean room for one or two persons. They’ve 3 configurations: one big bed, two beds or one bed room decorated with tatami, all with wired Internet access and manga by famous artist ZHU De Yong. However, you’ll need to prepare your own toothbrush, toothpaste and towel. It’s quite in night. Address and phone number below:
ADDR: #2 Bao Shi Er Road
TEL: +86 571 88905511
Just like in Shanghai, most Starbucks cafes in Hangzhou are covered with ChinaNet wireless network, which is not free to use, but we did discover a small secret, try it with user name chinatelecom and password 654321, it may work. :P

