like numbers

Archive for the ‘Coding’ Category

[SOLVED] FileSystemWatcher problem

Wednesday, September 18th, 2013, 18:53 Posted in Cloud, Coding | No Comments »

The FileSystemWatcher .NET class listens to the file system and it is catching any changes and notifications in it. When directories, or files in directories, are changed, events are raised. When a file is created, the FileSystemWatcher class will normally be ...

[SOLVED] SugarSync on Mac puts files in Trash, “alias” problems

Tuesday, January 31st, 2012, 19:44 Posted in Cloud, Coding | No Comments »

Like many others, I have started using cloud services to sync my data across computers. Although there are many nice alternatives like Dropbox and so on, my choice until now is SugarSync. It is very nice and it has completely ...

The numerical estimate of matrix rank

Friday, January 27th, 2012, 14:25 Posted in Applied math, Chemometrics, Coding | No Comments »

The most commonly used function to calculate the matrix rank is probably the one in the MATLAB software package [1]. It is based on the calculation of singular values of the matrix A, and the number of singular values that ...

A numerically stable PLS algorithm

Friday, December 30th, 2011, 10:53 Posted in Applied math, Chemometrics, Coding | No Comments »

During 2011 year, I have tried many different ways of making a PLS algorithm (PLS1) as stable possible. The goal was to make it as numerically good as the SVD implemented in MATLAB. The pseudocode that solved the PLS1 case ...

Numerically good null spaces

Thursday, November 3rd, 2011, 10:42 Posted in Applied math, Chemometrics, Coding | No Comments »

There are many methods to obtain null vectors to a given set of vectors. One of the numerically best methods is implemented in MATLAB, based on singular value decomposition, SVD. Null vectors can be used for many different things; one ...

A fast Householder bidiagonalization algorithm

Wednesday, August 10th, 2011, 21:43 Posted in Applied math, Chemometrics, Coding | No Comments »

Please note that this is not regarding the Lanczos or the PLS bidiagonalization algorithm. This is about the Householder bidiagonalization algorithm. The difference is huge. For example, there are no y-variables in the Householder decomposition. The Householder decomposition is a ...

Apple Remote Desktop problem solved

Saturday, March 26th, 2011, 14:04 Posted in Coding, Uncategorized, Video | No Comments »

I decided to buy Apple Remote Desktop because I was tired of using Chicken of the VNC and others for several reasons. Keyboards were not working properly and I need to be able to switch between Swedish, English and Japanese. My Mac ...

Nine algorithms

Monday, March 7th, 2011, 19:35 Posted in Applied math, Chemometrics, Coding | No Comments »

I got a request to send the code of the nine algorithms that were compared in "A comparison of nine PLS1 algorithms" and published in the Journal of Chemometrics 2009; 23: 518-529 and led to the Kowalski price 2010 for ...

Code for analytical separation videos

Wednesday, February 23rd, 2011, 01:31 Posted in Animation, Applied math, Chemistry, Coding | No Comments »

My old videos about analytical separation processes should be added to this site. The scripts are still good and easy to modify to simulate different scenario by changing a few parameters. When I first made them in 1996 and 1999, I ...

How videos run on this site

Wednesday, February 16th, 2011, 00:16 Posted in Coding, Video | No Comments »

I bought the Flowplayer in 2009 to run flash videos on this site. While updating, I thought that the jwplayer would be a better choice, so I bought that ones as well. I especially liked the ease of making fall-backs ...