Tuesday 26 May 2015

Online Course: Getting Started with Spring Data JPA

Going through this course on spring data jpa today, did not realise how powerful spring data jpa is and how much less work i could have saved in the past if only i took this course earlier. The query DSL (query methods with keywords) are fantastic, the paging and sorting as well as the auditing are all something which have troubled me when using spring jpa in the past. But the course makes it very easy to understand.

Link: http://www.pluralsight.com/courses/spring-data-jpa-getting-started

Wednesday 20 May 2015

Online Course: Introduction to The .NET BackgroundWorker Component

Just completes this course. Not much learned that i did not know about background worker before starting the course, actually I find remarkable resemlance to the ways i used background worker when Jeremy is describing his way of using background worker in in MVVM, and it seems that the TPL way described in the course is not very safe for parallel processing (anyway that is not his focus which is more of async call of long process from ui views). However, I do like that his comparison in the implementation of TPL for async call similar to background worker. Also the course gives me some new thought on using background worker event properties such as .Result, .Error and .Cancelled.

Link: http://www.pluralsight.com/courses/dotnet-backgroundworker-component-introduction

Online Course: Spring Security Fundamental

Just completes this course. Very nice introductory course for spring security, talks about role and permission based authentication and authorization as well as various login mechanism (default, http-basics, form-login) and other cool features such as permission evaluator, ldap server, https channels.

Link: http://www.pluralsight.com/courses/spring-security-fundamentals

Notes: For some reasons the <form-login> section described in the course does not work with the latest spring security 4.0.1.RELEASE:

Firstly for the example in the course to work with spring security 4.0.1.RELEASE, use-expressions="false" must be included in the <http auto-config="true"> in the security-config.xml for the <intercept-url> which does not use expressions (it seems that spring security 4.0.1.RELEASE <http auto-config="true"> has default use-expressions="true")

Secondly, j_spring_security_check does not work with spring security 4.0.1. RELEASE, it always bounced back to the same login pages and j_spring_security_check issues 302 error messages, furthermore, the latest spring security has the csrf default to true in the <http>.

The examples in the course worked after I switch to spring security 3.2.6.RELEASE instead.

Monday 18 May 2015

Online Course: Spring with JPA and Hibernate

Just completed the exercise for this course, very good and easy-to-understand on how to persist data in spring framework using hibernate, jpa and jdbc mysql.

Link: http://www.pluralsight.com/courses/spring-jpa-hibernate

Sunday 17 May 2015

Sunday 10 May 2015

Online Course: Spring Fundamental

Go through this course to refresh my understanding of spring's fundamental concepts such as java or xml configuration, annotation, autowire, scope, IoC and DI. Very efficient way of getting a quick look as picking up and reading a spring book always made me dose off.

Link: http://www.pluralsight.com/courses/spring-fundamentals

Wednesday 6 May 2015

Online Course: What's New in Java 8

Just finish this course and get acquanted with a number of cool features in Java 8 such as stream (map/filter/reduce) with lambda functions and some very welcoming features now built into IO, collections, date time, etc.

Link: http://www.pluralsight.com/courses/java-8-whats-new

Monday 4 May 2015

Generalized linear model

Thanks to this notes at link: http://bwlewis.github.io/GLM/, I was finally able to implements my own version of generalized linear model correctly in C# using the iteratively reweighted least square and its QR and SVD Netwon variant.

Sunday 3 May 2015

Numerical Methods for Solving Large Scale Eigenvalue Problems

This is more advanced level content,  which i learned in order to implement the QR algorithm that perform eigenvector decomposition and singular value decomposition

Link: http://people.inf.ethz.ch/arbenz/ewp/Lnotes/chapter3.pdf

Saturday 2 May 2015

Applied Numerical Computing

This is a freely downloadable ebook by Professor L. Vandenberghe. Very nice book for developers interested in implementing linear algebra algorithms. I primarily used to book for implementing my routines on QR factorization and Cholesky factorization to solve linear equations, least square problems data fitting, least-norm problem, and matrix inversion. But the book contains much more such as linear and nonlinear optimization

Link: http://www.seas.ucla.edu/~vandenbe/ee103.html

Online Course: Coding the Matrix: Linear Algebra through Computer Science

It took me twice to go through the lectures in this course to finally figure out why and how to obtain the orthogonal basis for the null space of a matrix and perform QR factorization to solve linear equations. But finally I was able to implement my own version of a linear algebra library for the first time which includes gaussian elimination, QR factorization, orthogonalization, determinant computation, backward substitution and various ways to obtain the basis for vector space, as well as some methods in least square regression. The examples given in the lecture are particularly practical and eye-opening on what linear algebra can do in image processing and security such as GF(2)

Link: https://www.coursera.org/course/matrix