node.js

Getting started with Node.js on ChakraCore

Intro Last year I started to use Node.js more and more. Personally I really like it. Using node.js on ChakraCore has some advantages over using V8. I’ve decided to get to know node.js a bit better and start a series of posts about it, beginning from the top. What is node.js? Node.js is described as interface to V8, Google’s JavaScript engine that also used in Chrome. Node.js enable you to write server-side code using JavaScript. It is uses an event-driven, non-blocking I/O mode.  This  very lightweight and efficient, but, as a trade off, you have have to implement every HTTP…

Unity

VR in a Box – Demo | Google Cardboard Virtual Reality Demo in Unity3D and Visual Studio 2017

Following up on my previous post, I recorded the demo with some of the presentation leading up to the demo. You can download the scripts I create in the video here. Feel free to contact me if you want to know anything more… Demo from my recent presentation on building a Google Cardboard VR app in Unity3D and Visual Studio 2017. I very quickly go over what Google cardboard is. I describe what I did in preparation of the model. I than switch to Unity3D, import the Google SDK for Unity package (https://developers.google.com/vr/unity/download) and load up the model I created.…

Unity

VR in a Box – Recap

VR in a Box Last Wednessday, March 22th, I was given the opportunity to speak at an evening organized by the Dutch Mobile .NET meetup and hosted my Centric. Since I’ve been playing with the Google Cardboard and Unity3D for a while this was a nice opportunity to tell people about it. I started with a small introduction with a bit of my history with VR and I explained what Google Cardboard is and how it works in combination with Unity3D. The second part of the presentation was about converting a physical cardboard box into a 3D model. I talked…

JavaScript

Progressive Enhancement

Since last December I’ve been giving talks about Progressive Web apps. A couple of them where lightning talks of 10 minutes. One of the things I had to remove to fit the slides and the demo into those 10 minutes was the explanation of Progressive Enhancement, although it’s in the definition of a PWA. So, let me explain…

JavaScript, WinJs

Quick note on WinJS templates and controls

Today I was working streaming (https://livecoding.tv/sorskoot) building my new JavaScript Audio Workstation. I wanted to use a template in a custom WinJS control but found it wasn’t in the samples.  Also, the MSDN documentation contained an error which made it even harder to get it to work.

Visual Studio

Create project from existing code | Cordova, PhoneGap, Ionic, Visual Studio

When I start a new Cordova or Ionic project I normally start from the command line. I initialize the project and add some platforms and packages I need to use in my project. I sometimes start coding from VSCode, but there will be a point where I’d like to switch to Visual Studio, the full version. Until recently I started by creating a new project and move the existing code and config files into that. That was until I came across this awesome feature in Visual Studio: “Create New Project From Existing Code Files”. I don’t know when it was added, but I somehow missed it.

Cordova, Windows 10

Preventing Pinch-Zoom in Cordova on Windows 10 Mobile | Cordova

One of the most obvious ways to spot a Cordova app is a pinch-zoom inside the app. On Android and iOS you can use meta-tags and CSS to disable the pinch-zoom and over scroll. But for some reason I couldn’t get it disabled on Windows 10 mobile.

Angular, Cordova, JavaScript, Visual Studio

Debugging AngularJS in Visual Studio 2015

While working on the Cordova Drum Machine I’m currently streaming live at LiveCoding.tv/sorskoot, I ran into a few issues with Visual Studio debugger. Normally I debug my ‘normal’ AngularJS web applications inside Chrome using an extension on the debug tools that shows the context of the selected HTML element. In Visual Studio I do not have these tools available. Here’s how to get information on the Angular context of a selected element. Scope The first thing that’s really useful to gain insight to is the Angular scope. The scope has to be read from a specific DOM element. To select…