Feb 1, 2013

How to download source code from code.google.com

Google host is a good place to manage application source codes and do cooperation work. But it took me quite a while to figure out how to download source codes from there.

For example, when I went to this website to download a plugin to run jetty
http://code.google.com/p/run-jetty-run/source/checkout

It clearly says that user can use a svn command to download the codes:


But in my command line window, it failed like this:

Luckily I found a tool to do this:
http://downloadsvn.codeplex.com/

This is the tool and it works perfectly well.

If you find this article useful, please kindly click the ads on this page to help. Thank you.

Jan 17, 2013

Eclipse Icon Problem in Windows 7 taskbar

Update on 2013-08-05 on Eclipse Kepler(4.3)

This method wokrs for me:
1. Change eclipse.ini file, to make the -vm setting pointing to bin folder instead of javaw.exe file. For example, modify
-vm
C:/Program Files/Java/jdk1.7.0_25/bin/javaw.exe
to
-vm
C:/Program Files/Java/jdk1.7.0_25/bin/

2. Right click eclipse.exe icon, view Properties than Compatibility,
   Enable compatibility mode with "Windows Vista" or "Windows Vista SP1" or "Windows Vista SP2"

3. Click eclipse icon to run it, when the progress bar is running and before it ends, pin the icon to the task bar.

Now it's happy there.



I have the latest Eclipse installed: Juno
I am using Windows 7 64bit sytem, and after I launch eclipse, in the task barI can only a "Java" Icon: Java SE platform something. After search, I found a solution and it works for me:


1. Add the following at the top of your eclipse.ini file (adjust the path):
   -vm
   C:/Program Files/Java/jre7/bin

2. Right click on eclipse.exe -> Properties -> Compatibility,
   Enable compatibility mode with "Windows XP Service Pack 3" or "Windows Vista".

3. Run Eclipse.

4. Wait until the workspace is loaded.

5. Pin to the taskbar.

6. Close Eclipse.

7. Removed compatibility settings from eclipse.exe.

8. Run Eclipse.

9. Unpin from taskbar and pin again.


Jan 2, 2013

Visual Studio: Automatically Highlight Active File

There is one very nice feature in Visual Studio 2010 but is not enabled by default, which is that when you are working on a file in the main window, it's automatically highlighted in solution manager.
To enable it,

  1. Go to Tools->Options->Projects and Solutions->General
  2. Check the "Track Active Item In Solution Explorer" checkbox.​

If you find this article useful, please kindly click the ads on this page to help. Thank you.

Dec 24, 2012

Excel 2013 Error: There was a problem sending the command to the program

I installed excel 2013 and I think everything went well during the installation. But I find there is something wrong with excel when double click a spreadsheet file and it will pop up a strange error dialog:


To fix the problem, we should do like this, and this is for Excel 2013 and Excel 2010:

  1. Click the File tab, and then click Options.
  2. Click Advanced, and then click to clear the Ignore other applications that use Dynamic Data Exchange (DDE) check box in the General area. (You need to scroll down quite a lot to see the General area)
  3. Click OK.

Dec 4, 2012

Feelings and Experiences of CCD-333 Exam - Cloudera Certified Developer for Apache Hadoop (CCDH)

In October this year, I took a Cloudera Certified Developer for Apache Hadoop exam, which number is CCD-333. I successfully passed the exam, and looking back upon, all the efforts paid had value. This is a new exam and there is few materials in the internet talking about it, now I want to write something to share my feelings and experiences, which may help people who are preparing for the exam.


Part 1: Exam Preparation - Learning
1. Hadoop The Definite Guide 3rd


This is the book you must read before the exam, which explain very well and in details of Hadoop. I took a three days training by Cloudera certified trainer, but that class is an overview level training and is not very detailed. After the exam, I found the many questions examed are in the Definite Guide book rather than the training.
And very important, it's better that you read very carefully of Chapter 2 to 8 of this book, and maybe add chapter 9 and 10. I read them twice. But for chapter 11 to 16 which talks about the ecosystem of Hadoop (HBase, Hive, Pig etc.) , you don't need to read them if only for preparing the exam.

Part 2: The Exam CCD-333
The CCD-333 exam is 90 minutes with 60 questions, and the requirement is to score 67% or above. The exam tests many areas, the section scores below listing them precisely:

I feel that it exams a lot in the Input and Outpout of MapReduce, you need to understand the flow and details of MapReduce, and in the exam itself, I feel that time is sufficient to finish the exam.

Part 3: The certification

I wish this article is helpful for those who are preparing for this exam. All the best!

If you found this article useful, please click the ads on this page. Thank you very much.