Category Archives: Coding

Installing CUDA 9.0 on Windows 10 with Visual Studio Community Edition

Prerequisites:

For me, the CUDA 9.0 (as well as 9.1) installer failed to install on a fresh Windows 10 system with the 2015 community edition Visual Studio. The problematic items seems to be the “Visual Studio Integration” , which fails to install and somehow blocks all other items from being installed. Fortunately, there is a way around this and you can still use Visual Studio, but you must download the ~1.5GB local install file. We assume that you have already installed Visual Studio Community 2015. Continue reading

Reconstructing Learners’ Skills and Item Skill Requirements From Response Table

In this post, I would like to introduce you to a problem posed by Bernhard Ganter on the occasion of the 2014 summer school on “Methodology of task design – How to construct exercises for learning”, as well as some code that I wrote in order to get some exemplary solutions.

The following table was handed to all participants of the summer school:

Response Table
Response Table

Continue reading

Sharing Data Between C and Python 3

Today, I want to share a small Python 3 script that I wrote in order to ease the exchange of binary data between Python 3 and C code. For me, sharing data between Python and C is a reoccurring issue, since, usually, I find it more convenient to use Python in order to convert data between different formats and representations. C, on the other hand, usually gives me the raw speed Python cannot offer, but that is needed to do calculations with bigger data sets. Continue reading