What’s The Fundamental Quality To Be Succeed In Work, Business and Life

If someone ask this question around, I bet there are answers like “Consistency”, “Knowledge”, “Experience”, “Intuitive”, “Vision”, “Communication”, “Professional”, “Intelligence”, “Creativity”, “Discipline”, “Team Work”, and a lot of other good quality we know of.  But for me, only one single  quality stand out, and that is “Honesty”.

To me, honesty is the testing stone for no matter what work or business you do, big or small, and is the most crucial and fundamental characteristic in getting all that good qualities mentioned on the first paragraph.

People say that a good company should be one that have a good team, a good product and good execution.  It’s very true.  A good team means you have the best person suitable for his roll in the team, a good product means you design it to help solve a big problem or meet the need of a specific crowd, with great attention on the minor details, and offer the best quality of it with the most reasonable price which others need to charge a much higher premium for the same thing.  And good execution means no BS or bureaucratic inside the organization, good ideas are allowed and appreciated, problems can be pointed out and solved, and refactoring on every aspect of the business is on-going.  So you’ll notice, without Honesty to yourself and to your team, to the product and to the execution, you cannot have the good company.

So if you like me, wanted to be succeed in work, business and life, keep asking yourself, may be several times a day, that are you being honesty, to yourself, to the others, and to the work, business and life you are on.  If you are doing a comparison on your product and the competitors’, ask if you are being honesty on the pros and cons you found on all products, are you trying make the others look bad while treating your with bias.  If you are estimating the potential market for your business, ask if you are being honesty on estimating the potential client number and income, could you be too optimistic without data support.  If you are planning to get hold of a new hobby or interests, are you being honesty that you are putting one hour or two each day on learning and working on it.

Be honesty, then you shall succeed.

Install Ubuntu 14.04 LTS on Windows 8.1 is too easy to be true

Basically you don’t need a tutorial to do it, but if you do need one, here’s a good one to follow:

Install Ubuntu 14.04 alongside Windows 8.1 in 10 easy steps

The above post is from EverydayLinuxUser.  Thanks btw.

I find some difference when I follow the post.  First of all is the dual boot setting.  Since I use an old Dell laptop and it’s running legacy BIOS, so I don’t have the fancy UEFI (if you don’t know what UEFI is, check its WiKi) to play around.  But I find it lucky since you don’t need to worry about anything, and just install the Ubuntu like you don’t know about the UEFI exists.  Once you complete the installation, you’ll notice the Ubuntu dual boot system (GRUB?) is working.

The second difference is about the partition issue.  Before installing Ubuntu I shrink the partition and free up 40G space.  During the installation I choose to install Ubuntu alongside the Windows 8.1, and after it is done everything works fine.  Inside Ubuntu I notice it is already installed on the empty space.  However I could be wrong since after I switch back to Windows 8.1 I notice the empty space is still there.  I don’t have time to check it further.  Maybe someone knows more and could tell me in comment.

Someone may want to know how to install Windows 8.1 on a Ubuntu 14.04 LTS or other version.  That’s where I begin as well, but after a lengthy search on Google I don’t find much useful information, and notice there will be much trouble even if I did it, I give up by wiping the Ubuntu I have an install the Windows 8.1 first.  It seems to be a missing piece for a good tutorial about it.  If you notice one please let me know.  Thanks~

Installing Windows 7 on 2013 Late Macbook Pro with Maverick

A simple note on the process.

  1. Grab a USB 2.0 memory stick with 8GB+ volume, insert to the Macbook Pro (I’m using the left USB port);

    Make sure the memory stick is USB2.0.  USB3.0 simply is not supported by the latest Bootcamp and will create all sorts of problem such as Mac keyboard and mouse not functional during installation of Windows 7.

  2. Make sure the USB is blank, otherwise go to Disk Manager to clear it with MS-DOS(FAT).  Keep the USB stick on the Mac;
  3. On OSX, use Spotlight to search for Bootcamp Assistant.  The version on my Mac is 5.0.5;
  4. Enter the Bootcamp Assistant, continue and select all 3 options (make Windows 7 disk, download drivers, make Windows 7 partition), continue;
  5. If you have tried to install Windows 7 before, you may have a separated partition already. Otherwise the system will ask you to partition a new one;

    Someone suggest to delete the previously made Bootcamp partition first then create a new one later.  That’s what I did.  But since after you reboot into Windows 7 installation you will need to format the Bootcamp partition, so I don’t see how necessary to delete the existing Bootcamp partition here.

  6. Make your choice on the size of the Windows 7 partition, continue;
  7. The system will prep the USB stick automatically, then will ask to input your Mac login once;
  8. If you are running battery power, you will be warned if you are running on batter power.  If you have enough juice on batter, say 100% ignore and continue;
  9. In my case, after the Bootcamp prep the USB stick, it will automatically reboot to Windows 7 installation.  No need to hold option/alt key and whatsoever;
  10. After the Windows 7 installation page is showed, you will be asked to select a partition to install it.  You will see a partition with Bootcamp name, if you select it then it will warn you that it cannot be used as it need it as NTFS format.  Don’t panic!    You just format this Bootcamp partition using the format feature on this page, then you can click next to continue;
  11. Now everything is as normal as another Windows 7 installation (language, time&date format, Username & password, screen flashes…);
  12. Near the end of the Windows installation, it will also install the Bootcamp program.  Allow it as you will need it.  After it is installed, it will ask to restart the Mac.  Restart it and leave it to do it’s own thing, no need to do any fancy things again;
  13. The Mac will restart to Windows 7 automatically.  Then use your newly set Username/password to log in, the system will create your new profile.  Then it’s done.

Some tuning:

  • If you find yourself cannot (or don’t know how to) trigger the right click menu, first try tabbing the trackpad with two fingers at the same time.  If nothing happen, you can go to the Bootcamp program and set it on the Trackpad tab.
  • Further, you can set ‘ tab to click’ on the Trackpad tab in the Bootcamp program.  You can now simply ‘tab’ the trackpad to ‘click’ on anything.  It’s a much nicer and quieter way to play with the Mac IMO.
  • If you need to switch back to the OSX, either restart the Mac by pressing the option/alt key, or find the Bootcamp program icon on the right system tray.  Using the system tray icon, you can restart to OSX.  Just knowing now the Mac will automatically boot into Windows 7.
  • Also in the Bootcamp program under the Keyboard tap, check the option of using F1 F2 as standard function key.  Once check it, you can have the F1 to F12 back in Windows, and you use the alternative function of these keys (such as controlling brightness and sound volume) by pressing Fn in the same time.
  • If you encounter problem on controlling the screen brightness using the Fn+F1 or Fn+F2, try the following steps:
    • Go to ‘Device Manage’r, find ‘Monitor’ and expand it;
    • Right click the ‘General PnP Monitor’, select disable;
    • Reboot;

      You should now notice the screen got brighter, as it is now 100% brightness as default.
      And the Fn+F1/2 key should be still NOT functioning.

    • Go to ‘Device Manager’ and find the ‘General PnP Monitor’ again, now enable it.
    • Now try again the Fn+F1/2 key, see if it can adjust the brightness.  Surprisingly, my problem is solved from here;
    • If you still cannot, find ‘Adjust Brightness’ by searching it on ‘Run’.  It should be under ‘Power Manager’.
    • Go to the setting of the power scheme you are using, click “Change Advanced Setting’, scroll down the list and find the ‘Monitor ‘, look for ‘Enable auto brightness adjustment’, turn it off, then try the Fn+F1/2 again.  From here I find no matter it is on and off, I can now use the Fn+F1/2 to adjust the brightness.

Just for your information, since the Windows 7 Ultimate I installed has been changed to Chinese, so the feature names (those words I use capital initials) may not be 100% correct, but you should be able to find it in the place I said.

Setting up Asustor AS-204TE NAS for Time Machine, XMBC, BT and General Storage

My MacbookPro has warned me for months about its SSD(128Gb) is going to be full. Though I tried my best to keep it as lean as possible, it still reach the point last week that I have to act on acquiring external storage.

But like many things in life, once you begin with an idea A, you will very often end up doing C.  And that’s exactly what happen.  Besides my original thought of putting photos and other non-development files out of the Mac to store on the extra storage, I begin wanting it to work with Mac’s Time Machine.  Since the media files will be put away, I also want to access it whenever I need, from whichever device I’m using, and also from wherever I want to.  And finally, since I used my old desktop for BT but it’s now a pain to wake it up every time, I also want to the new device could BT for me, relieving me from using any of my computers.

So my C plan ends up like this:

  1. A new storage for photos and media files;
  2. A new storage for Mac’s Time Machine, separate from the above;
  3. Ability to BT without a computer, controllable and accessible by mobile and via internet.;
  4. Future extensible, such as adding extra storage, and supporting IPCam with video recording;

So it becomes clear that I need a 4-bays NAS with very rich features.  After doing some research, I find it’s not a fancy dream but a doable thing, and I further decide to go for the Asustor AS-204TE 4-bays NAS as it could meet all the requirements I listed, while costing the least among other alternatives (it is much cheaper than Synology, and have more fans than QNAP in Hong Kong).  As for the storage, I go for WD’s NAS edition storage, and select the 3T capacity red label HDD WD30EFRX, as many people recommend it.

In Hong Kong, to buy a NAS and HDD is quite easy, I guess.  All the major computer centers locates in downtown near MTR stations, and you could access the closest one within 0.5hr.  After you figure out which model you need, simply search it online at the website www.price.com.hk for the model and the companies offering the lowest price one, then call to confirm the company has stock and the price is updated, then you can go out to buy the products by cash (lowest offer usually require cash payment).  The whole process from home to home can be done within 1.5 hour, or less.

The set up of the AS-204TE is surprisingly simply.  The most labor-intensive part is to screw the HDDs on the mounts and slide it back to the NAS.  Then connect the power, network, HDMI and external USB hard drive (optional), the NAS can then be put inside a closet without touching again.

The Asustor’s website provides resourceful materials.  It has basically everything I need to know from basic to advanced, and the support page is pretty clean and well organized.  I follow the instruction to install the Control Center for Mac and configure the NAS via browser, and within minutes the NAS is up and running.

The Asustor website also has knowledge center and supporting forum.  I follow the articles on knowledge center and successfully setup the disks, folders, Time Machine and XMBC.  And I post some questions I have on the forum and got reply from other users pretty quickly.  Though not many users online as I see, but it is still quite active.

What surprise me is the Facebook page of Asustor Inc., which seems they are using it more as a supporting portal.  There’s some problems I posted on the forum but did not receive reply within days, I re-post it on their Facebook wall, and could get very quick reply from the admin in the same day, very responsive support.

Here are some remarks on my setup:

  1. I only used 2 bay of the NAS and left the other 2 for future extension.  It’s because given the 10-times rule for data backup, I only need 3T for the Mac Time Machine and another 3T for everything else.  After using for several weeks it proves me right.
  2. To add a new disk to the NAS, simply go to the Storage Management on the NAS console (access via IP or Cloud ID), and create new volume accordingly.
  3. When choosing RAID level for disk, I’m allowed to choose from Single, JBOD, RAID 0 and 1, but I choose Single.  It allows me to create separate volume for individual disk.  The thinking is, I believe either RAID 0 or 1 offer more trouble than helping to protect files, and JBOD that combining multiple disks into one large volume create more risk to my files if anything goes wrong in any of the disks.  Single, though not offering any protection, actually do the least harm among all options.  If I do need more protection on my files, I can set up another disk and backing up the importing files to it by schedule.
  4. With this setting, I’m able to create shared folders in different disks to store my files separately.  That means even one disk fails I still keep the others unharmed.  The NAS installed all its own application on disk 1, so the usage of it will be higher, so I place photos, medias and other files on disk one, so I can use its application to access them, and put Time Machine storage on disk 2, as well as backups of photo and other important files, so to separate these important files from disk 1.
  5. For BT/emule, I use my old HDD in an external enclosure and connect it to the NAS via USB3.  The NAS allows me to create a share folder for BT on this external drive.  So all the BT workload is now handled by it, even it is damaged my other data and disks will stay unaffected.
  6. I also installed XMBC on the NAS to access photos and media files on disk 1.  I played some 720p movies with it and note the performance is very satisfying.  The XMBC itself is very comprehensive, besides using for local files it also supports installing app and access internet resources.  I’ll need more time to configure it later.  Maybe I’ll create another post for it in the future.
  7. I setup the NAS to be Wake-On-LAN, allows it to be access via my Cloud ID on the myasustor.com.  Now I can turn on/off/sleep/wake the NAS, access files and control BT download via internet and with my mobile.
  8. I also setup schedules for the NAS to power off during night, auto-power on in the morning, and go to sleep during the day time, and also restart once a day.  Whenever I want to access the NAS, I simply use the AiMaster app on my phone to wake it first.

So much for today.  If anyone wants to know further about my setting, feel free to let me know.

About setting up website in China

In the past 2 weeks I help a friend to set up his company website in China.  As you know to set up a website you always need to purchase a domain name and rent a virtual server locally near your potential clients, before you install and set up the website.  The post is about the registration of domain and server in China.  And it’s quite an experience for me.

The easy part to register domain and server in China, is like all the outside counterparts, you just need a credit card to purchase any not-yet-registered .com, .com.cn or .cn domain.


The hard part, or to be specific the 1st hard part, is that you can read Chinese because almost all popular domain selling websites in mainland China, like the most popular one ‘www.net.cn’ (which is a Alibaba subsidiary) only provides Chinese content and instruction.  You’ll find some website based in Hong Kong do provide English.  But since these site’s server locates in Hong Kong instead of mainland China, in terms of performance, response, stability and Chinese search engine-spotting capability, they are usually hard to compete with the mainland’s counterpart.  So if your potential targeting clients are in mainland China, you don’t actually have much choices.  After checking the posts and threads in several mainland Chinese forums and QA websites, I choose the http://www.net.cn for the domain and server renting.

The 2nd hard part comes after you successfully paid for your domain and rent your virtual server.  Because in China, every website to be legally operated has to be registered and be approved by the Ministry of Industry and Information Technology of the People’s Republic of China first, no matter your website is for individual or commercial purpose.  Without the approval, the domain and server provider won’t even allow your website to be accessible.

To register, you’ll need to submit your personal information,  address, contacts, and China ID card photo copies.  If it’s for commercial usage, you also need to submit Chinese company business registration information, company bank account and also photo copies of all required supporting documents.  And finally, you’ll need to go to an appointed photo studio near your living city to take a picture, to prove that you are the one handling the website.  If you cannot make it to any of the photo studio within 2 days (from the date of document submission), you can apply to have the photo backdrop mail to you, then you take the picture at your place following the requirement, using the backdrop, and then submitted the photo to the authority.

Since I rent the domain in http://www.net.cn, one good thing is that they had a separate website helping you with this registration.  So you can submit all the information and attachment to net.cn instead, and they will verify the material and submit it to the ministry for you if everything is ok.  It is one of the main reason I choose them in the first place.

After the submission is completed, you’ll be notified to wait for around 20 days for the ministry approval.  Right now I’m waiting for the approval status.  Hopefully I can get it done by mid-July.

If you have any further question.  Feel free to drop a comment.  Bye now~


UPDATE: Friday, 20 June, 2014

Finally I receive confirmation from http://www.net.cn about the approval of the website.  Hooray!

It’s been a while….

That I haven’t got up here to update things I’ve learn on the way.  I know it’s not right and not good for the continuity of my coding study (which hasn’t stop btw), so here I am trying to keep the good habit up.

So here’s a quick shot of what I’m doing, I bet many ppl are doing or did it already…



The updates of WWDC 2014 is the best one as I see since 2007.  The new programming language and all new features added to iOS/OSX development are just amazing.  The 2 hours WWDC is so much better than the Godzilla movie I saw last Sat!

BTW, some ppl who’s also learning iOS development as I do might wonder whether they should continue learning Objective-C, given the newer, better and faster Swift is coming in the fall.  If you do have such doubt, I suggest you Google around.  You will notice that you are not alone.  Better yet, check out this blog by JON FRISKICS in Code School, about his (Early) thoughts on Swift, Apple’s new programming language.  JON is the lecturer of iOS in Code School, and I believe you’ll be clear on what you should do now on your journey of iOS/OSX program learning.

Happy Learning and Coding.  Bye now!

About Hosting Blog on Github

Yesterday I blamed about the lack-of-feature in WordPress.com and said about the possibility of hosting my blog elsewhere.  Quite luckily, today when I step upon someone else’s blog for something I notice there’s a 3rd option, which is to host a blog on Github.  This interests me a lot.

After checking the intro on Github Pages, There’s quite some Pros to host a blog on Github:

  • It’s free, even with custom host name.
  • It uses git for version control (this could be huge advantage if one day I find some changes I made on a blog is a mistake).
  • There are many free plugins repoed on Github already, with the edge-bleeding version!.
  • It can be accessed anywhere, especially not blocked by China yet.
  • No Ads!

Learning new tools is never a problem for me, at least mentally.  But to decide whether to migrate my blog form wordpress.com to github still need some further study, especially:

  • How many features does the blog tool for github hosting offers.  So far I notice there’re Octopress and Jekyll.  Need to check further for their limitation.
  • Whether I can monitor the reader stats as easily as I have now in wordpress.com.
  • Whether I can have the same plugins and features I have now in wordpress.com.
  • How many themes and templates available to choose, or to make.
  • How many time and effort do I need for the migration.

So later on when I have some free time, I will try to set up a test blog and will see how it goes.