Thursday, June 29, 2017

Logististic Regression Notes

Logistic regression in R 3.4.0

How to perform a logistic regression in R

Statistics 101: Logistic Regression

Logistic Regression in R (r-tutor)

Logistic regression (with R) by Christopher Manning
for the data see:

Wednesday, June 21, 2017

Using JSRender to render a CSS grid layout

This was produced by this code:

Thursday, June 15, 2017

Link to 2011 Require.js MVC tutorial

From the example below, showing local storage:

Addition (June 17, 2017):

See also jquery templates: , , ... and other template mentioned on .

Tuesday, June 6, 2017

won: apples to apples - 2nd try

This is an example of one user publishing a need, and another user satisfying it. Screenshots, which become larger upon clicking upon them, are shown. Apples are used for the example.

A client side certificate is asked for. For the meantime, I believe this should be ignored (canceled) as none are valid. However, chosing one could be okay too based on visiting the data folder (and perhaps documentation somewhere). I believe uses a similar authentication scheme, although the chosen cert matters to solid (but maybe less so in the future since they are emphasizing OpenIDConnect).

Interestingly, later when I try to download a need with wget, I get complaints about a self signed certificate, so an in-browser complaint does not seem that peculiar. See this gist for an in-browser example:
Note: Apples to Apples is a trademark for a game.

won : want apples & give apples (apples to apples .. 1st try)

Attempted Reconstruction...

Monday, June 5, 2017

WoN screenshots (cont 2):

Plan to compile web of needs with maven

Get Java Ready:

Download it:

Install it:
(I suppose this means extract and move it)
tar -zxvf {file.tar.gz}

Dynamic Link it:
ln -s /usr/lib/jvm/jdk1.8.0_121/bin/javac javac

Edit: Or try not downloading from the browser page...since you are using a headless server:

Get Maven Ready:

Download it:
wget | sudo tee $(echo `md5sum`)

Extract it:

Move it:
cp -r apache-maven-3.3.3/ /usr/local/


Dynamic Link it:
cd /usr/bin
ln -s /usr/local/apache-maven-3.3.3/maven/bin/maven mvn

External (possibly unneeded) resources:
Install it:

Put together the web of needs with Maven:

Install git: sudo apt-get install git-all

Clone the repository:
git clone

cd into the webofneeds/webofneeds directory

run: mvn install

If trouble is encountered see:



Results without skipping tests (mvn install):

Results when skipping tests (mvn install -DskipTests -DskipITs):

WoN screenshots (cont.)