I’m Sam, a serious tech head with experience in, and a passion for, a wide range of Computer Science related fields.

Current occupation

Currently I’m mainly focussing on improving the following of my skills:

  • Math
  • Functional programming
  • ES7+
  • GPGPU
  • OpenGL
  • WebGL
  • GLSL
  • C# (language used at university)
  • Embedded systems
  • Electronics
  • Artificial neural networks / deep learning
  • Web Development
  • JavaScript (es7+)

Some of the skills I always improve on the side:

  • Epic workflows & development environments
  • Software architecture design
  • Collaboration (through maintainability)

I studied Computer Science in Leeuwarden, at the NHL Hogeschool. My previous study was Application Development at the Friesland College institute. I’m planning to study (for myself) abroad in the near future, feel free to let me know if you’ve got tips.

At the moment I’m mainly focussing on studying (gaining more knowledge), working for myself and making the world a better place. And I’m always up for special projects to work on, so if you want me to help you with that special kind of (tech) project, don’t hesitate to contact me!

Sam?

Besides all the tech stuff: I’m in my mid twenties, I’m social, I love nature, making people smile, changing the world in a good way, fitness, travelling and (creating) music. Currently I’m located in the Ukraine.

Here’s a picture of me which I used whilst experimenting with fragment shaders. The shader used on this image was used to make videos look like an oldschool movie. The effects of the shader were imitating video tape imperfections due to for example dust particles.

me-shaders

I love to write code for fun that utilizes language features which aren’t always obvious without prior experience and or experimentation. Take for example the lazy evaluation JavaScript demo below, which utilizes the undefined value that a forEach method returns. It also demonstrates the use of default arguments in order to put a variable in a function its scope.

const makeLazy = (f, r = null) =>
  r = (...a) => (...na) => !na.length ? f(a) : r(...a, ...na);
  
const add = (ns, s = 0) => ns.forEach(n => s += n) || s;

makeLazy(add)(1, 2)(3)(3)();

Whether I write code like the above or not depends on the situation. Taking things into consideration like: what am I writing the code for, who is going to read this code, etc. Depending on the situation, I might write the above logic like this:

const makeLazy = function makeLazy(f) {
  return function recurse(...args) {
    return function (...newArgs) {
      if (newArgs.length === 0)
        return f(args);
      else
        return recurse(...args, ...newArgs);
    };
  };
};

const add = function add(nums) {
  let sum = 0;
  nums.forEach(num => sum += num);
  return sum;
};

makeLazy(add)(1, 2)(3)(3)();