2015 Year in Review

1) Complete Year 1 semester 2 and 3, and Year 2 Semester 1 despite heavy course work load
2) Attend my second Hong Kong Open Source Conference held at HKSTP
3) Attend inaugural PyCon HK 2015 Day 1 and 2 held at Cyberport
4) Join events organized by Open Source Hong Kong, Codeaholics, Open Innovation Lab and Hong Kong Node JS respectively
5) Continuously to learn MEAN stack. Firebase and open source tools (Grunt, Gulp, Bower, Yeoman)
6) Read three books this year. Beginning NodeJS, Full Stack JavaScript Development With MEAN and AngularJS Web Application Development Blueprints
7) Good health
8) Build a toy project that tracks down my event attendance; something that actually benefits me.
9) Met a PolyU classmate who shares the passion of web technology and accept my invitation to attend meetup.

10) Completed my only MOOC course in Udacity, Web tools and automation.

Goals next year :
1) Graduate next year
2) Go on my first vacation in three years
3) Read about HTML5 and CSS3 and practice Angular 1.x/2
4) Attend HKOSC 2016 (?), PyCon HK 2016 (?) and definitely TW JS Conf 2016 (Buy ticket early)
5) Try to speak clearly and communicate effectively with family, friends and colleagues
6) Enrol and finish at least 1 MOOC course. Udacity has many free courses that aim at web developers and Android developers.

HK PolyU Msc of Computing – Year 2 IT Semester 1

Poly U Msc of Computing – IT 2014-2015 Semester 1 completed on 2014-12-20

1) COMP5324 – Internet Information Retrieval:
Final Grade: A

  1. Quiz A – 19/22
  2. Quiz B
  3. Group Project – Build a search engine to query relevant documents
    1. Languages: Shell scripting, Java and C++
    2. Libraries:
      1. Apache Common Math Library
      2. Trove4j
      3. JChart
    3. Implemented Retrieval Models:
      1. Vector Space Model
      2. Boolean Retrieval Model
      3. LSI for Vector Space Model

2) COMP5325 – Distributed Computing:
Final Grade: B+

  1. Assignment 1
  2. Assignment 2
  3. Project – Build a tool to characterize YouTube Video Streaming Platform
    1. Java 7, Maven 3,  Apache Command CLI Library
    2. Argument:
      1. -v: video id
      2. -d: enable download mode
      3. -p: full path
      4. -f: filename
      5. -e: extension (mpf, flv, 3gpp, etc)
      6. -r: resolution (360p, 144p, 720p, 1440p)
      7. -x: proxy list

Beginning Node.JS

Finish reading Beginning Node.JS

Like the title indicates, this publication targets beginning coders who are in search of the first language to develop server applications.

After reading 12 out of 13 chapters, I am still unable to develop a web application using Node.js as backend.

Conclusion: Go look for second text to learn to develop back-end using Node.js

HK PolyU Msc of Computing – IT Semester 2

Poly U Msc of Computing – IT 2014-2015 Semester 2 completed on 2015-05-08
Results released on 2015-05-18

1) COMP5527 – Mobile Data Management: A

  1. Midterm – 72/100
  2. Individual Study Report – Mobile Crowsourcing (No grade)
  3. Group Project – MiniBlog (No grade)
    1. Written in Android and Spring Boot
    2. Functions:
      1. Authentication
      2. Create new user account
      3. Create, Delete, Edit and View online and offline posts
      4. Create, Delete, Edit and View online and offline comments
      5. Edit and View user profile in online or offline mode
      6. Search other users by name in online or offline mode
      7. View posts created by other users
    3. Open source libraries used:
      1.  Client-side
        1. Butterknife for Android UI dependency injection
        2. Retrofit
        3. OkHttp
        4. SugarORM
        5. Roboletric for Android Unit Testing
      2. Server-side
        1. Spring DBUnit for DBUnit Testing
        2. Sprint Boot
        3. Embedded Tomcat 8 to host Spring Boot application

2) COMP5323 – Web Database:

  1. Assignment 1 – 104/100
  2. Midterm – 29/50 (Already the highest mark)
  3. Group Project – Study paper “Cloud Service Placement”
    1. Solve dynamic subgraph matching problem using Gradin framework
    2. PowerPoint Presentation
    3. Group report summarizes the paper, its weakness and potential improvements, and answer 5 questions.

HK PolyU Msc of Computing – IT Semester 1

Poly U Msc of Computing – IT 2014-2015 Semester 1 completed on 2014-12-20

1) COMP5111 – Database Management:

  1. Midterm – 14.5/15
  2. Individual Study Report – JSON and XML Support in relational database – 9/10
  3. Group Project – Simple Course Enrollment System – 30/30
    1. Written in PHP, JQuery and Bootstrap backed by MySQL 5.5
    2. Functions:
      1. Authentication
      2. Change student password
      3. Show Academic history of logged in student
      4. Course Enrollment
      5. Drop Course

2) COMP5122 – E-Commerce fundamental and development:

  1. Assignment 2 – B+
  2. Assignment 2 – B+
  3. Project – E-Commerce website that sells luxury goods imported from Japan – B
    1. Spring MVC, Spring Security, Spring JDBC, JSP, JSTL, JQuery, Bootstrap 3 backed by MySQL 5.5
    2. Functions:
      1. Customer Login
      2. Register customer
      3. Shopping Cart
      4. Checkout Shopping Cart
      5. Search Products
      6. Browse Products
      7. Order Tracking
      8. View Customer Profile
      9. Edit Customer Profile

Week of September 29 to October 5, 2014

1) Programming Cloud Services for Android Handheld Systems: Verified Certificated issued with final grade 99.5. Verified Certificate
2) Usable Security: Watched week 3 video lectures and submitted Week 3 quiz.
3) Mining Massive Datasets: Enrolled into the course late. I have downloaded week 1 and 2 videos but too busy with Poly U homework projects to begin watching them.

Poly U
4) COMP5111 – Database Management:

  1. Set up structure of PHP project
  2. Implement student login and logout functionality
  3. Implement change password function to fulfill update requirement
  4. Add skeleton PHP code to return dummy student history and render the results student page using JQuery Ajax call

5) COMP5122 – E-Commerce fundamental and development:

  1. Use Maven 3 to create a Spring MVC project
  2. Deploy the project to tomcat 6 server in Poly U and it can run successfully


6) Order Mama Demo in collaboration with Roger Tang

  1. Can retrieve Facebook posts and show them in endless list adapter
  2. Can display number of likes and comment count for a specific post
  3. Can retrieve Facebook comments and show them in endless list adapter

Week of August 23 to August 31, 2014

1) Programming Cloud Services for Android Handheld Systems: Submitted Quiz 6 and Assignment 2 in the past Sunday. The new assignment looked challenging at first after reading the README file and going through the source codes. Fortunately, code examples provided oAuth2 package that could directly use in the Gradle project. Furthermore, no effort to write CRUD methods to retrieve records from database because Spring Framework’s CRUDRespository class generates them automatically. My solution was create a Spring Controller to expose methods to receive HTTP requests from users. Then, the requests were delegated to CRUDRespository subclass to retrieve data and return it to users. Very simple!!!!


2) Start my third AngularJS project that adds photo albums to store pictures taken in Open source Workshops and local meetup groups. This time, the project is bootstrap by Yeoman and Gulp because Matthew told me Gulp is better build system than Grunt. After using angular-gulp-generator to generate the skeleton project, I have to agree with his assessment.

Week of August 11 to August 22, 2014

1) Reproducible Research: Enroll Signature Track to earn my third Verified Certificate in Data Science Specialization.
2) Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems: Earn my second Verified Certificate in Mobile Cloud Computing with Android Specialization.
3) Advanced Competitive Strategy: Completed all 7 quizzes and open book final examination.
4) Programming Cloud Services for Android Handheld Systems: Submitted 5 quizzes and assignment 1. Assignment 2 was released but I cannot start until I watch all the videos of week 6. This course uses Spring framework to implement cloud services and instructor has covered Spring controller, Spring repository, Spring security, Spring data and Spring Rest.


5) Deploy my second AngularJS size project to http://quiet-chamber-1998:herokuapp.com.
Features include:

  1. Show custom markers of pick-up locations on Google Map.
  2. Call Google Map Direction Service to render route.
  3. Allow user to input unlimited addresses to draw route to Hong Kong Science Park
  4. Define simple Restful API in NodeJS + Express Router
  5. Use Yeoman and Grunt to bootstrap AngularJS project.

Week of June 23 to June 29, 2014

1) Exploratory Data Analysis: Enrol Signature Track to earn my second Verified Certificate in Data Science Specialization.
2) Reproducible Research: Unfortunately I have to drop the course because of time constraint. I will definitely retake it in July iteration.
3) Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems: Completed Quiz 4 to 7 and Assignment 5 to 7. Assignment 1 to 5 were graded and awarded 100% in all of them. Next week’s plan is to watch Video lectures of week 8 and complete both quiz and assignment.
4) Advanced Competitive Strategy: Week 1 started this week and I have already finished watching all videos.


5) Continue to work on my first AngularJS project. The last outstanding item is to call FourSquare API to retrieve photo of the place and display it in the page
6) Follow tutorial to create a simple AngularJS + Firebase application. The link to the tutorial is Angular JS + Firebase tutorial.
6) Plan to use AngularJS + Firebase to plot OOCL shuttle bus routes on Google Map.
1) Show markers of various pick-up location.
2) Show travelling time to Science Park
3) Let user input address and locate the first three nearest pick-up locations
4) Store data in FireBase (Hopefully, I don’t get fired for disclosing company information)