Express 4 routing

Express 4 offers a nice modular way to structure your routes. var express = require("express"), router = express.Router(), app = express(), port = 4000; // Here we declare our API which will be visible under prefix path router.get('/', function (req, res) { console.log("request to subspace hello"); res.send({ message: "Hi from subspace /api/v1/"}); }); // we…


Read More

GIT: splitting repo into two

Splitting the repository Below are the instructions of how to split an existing repository based on folder structure into two, or more. Let us assume the repository has dir1 and dir2 in the top level folder structure. The following instructions will make a new repo based on dir1.       # make a copy…


Read More

State of industry: seminar

Today we have two professional software developers visiting the school and telling us on state of the industry. This is of course quite limited perspective.   Distinction between skill and experience Skilled programmers often do the same task in a different way. The only thing that really matters is experience.   Coding Katas As a…


Read More

PhD seminar

Gjovik University College, PhD seminar. PhD students and candidates present their ideas and current literature reviews. Thomas Simon started with his project related to color blindness and researching various daltonization algorithms. Anne works also with color deficiencies while presenting maps and geographical information. Ibrahim investigates the use of mobile devices in the context of color…


Read More

Multiplayer games mechanics

The concept of multiplayer games or online multiplayer games is quite complex, in the context of possible game mechanics (or game elements) that can be used. Most of the mechanics are context and genre specific. General game mechanics (for single- and multi-player games): Game mechanics list by gamification.org Game mechanics list by boardgamegeek Some of…


Read More

Behaviour attribution

Notes Attribution theory attempts to build models by which individuals explain the causes of behavior and events. In other words, how the social perceiver uses information to arrive at causal explanations for events.  It examines what information is gathered and how it is combined to form a causal judgment. See the Chapter 2 of the book Essential Social Psychology:…


Read More

Attitude change

Notes Attitude change and the study of persuasion are getting quite a lot of attention. Some estimate that there is an  excess of 1000 publications in this area each year. The landmark work has been done by McGuire in 1985 in “Attitudes and Attitude change”. Direct path (numbers, facts, stats) Peripheral path (emotions, feelings, e.g. fear, sense of…


Read More

How to root Nexus 4

Download the prerequisites The biggest problem of all the “easy root your phone” guides and HOWTOs that ship pre-packaged software is the fact that you may never be sure if the author has not tampered with the files you are about to burn your phone with. You might be leaving things rather vulnerable if they…


Read More

PBW 2013 Day 1 – notes

Polish British Workshop, 13th PBW 2013, in conjunction with First International Student Workshop Previous workshop report (in Polish) Some random thoughts Exploration versus Problem solving Research projects as exploration. We setup rough boundaries, and area, and conduct exploratory search in a certain parametr set, such as speed, accuracy, memory usage etc. The problem is typically fixed,…


Read More

Postgraduate conference and ice skating

Last Friday Information Science Department run postgraduate students conference. Postgraduate students were presenting their research topics in a short, 7min presentations, followed by discussions. Private note: on Sunday, we went for the Dunedin ice skating show that was organised as a fundraiser for the teams going to national championships.  


Read More