Two Saffas in Ireland – A new blog post series

Since 01 November 2021, my wife and I have been living in Ireland. We’re both South African citizens who decided to emigrate for personal reasons and for a better life abroad. We also brought over our little corgi, Snoopy! I’m going to start a series about our new adventure in the Emerald Isle. The first […]

Significant Figures in SAS

For three significant figures, the SAS Institute provides the following code snippet to accomplish the task. However, it is often useful to round to more or less than 3 significant figures. I’ve developed a macro to do so for my own use and am sharing the code below.

NONMEM Dataset Example (free, with R code)

I’m making available here a basic NONMEM dataset example, along with the R code used to create it. Hopefully it will be helpful to someone in future! CSV download: http://jvdl.me/downloads/nonmem/dummy_nonmem.csv XPT download: http://jvdl.me/downloads/nonmem/dummy_nonmem.xpt

The Man in the Arena

It is not the critic who counts; not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood; who strives valiantly; who […]

One-time-pad encryption with R and basic JavaScript

One-time-pad encryption offers unbreakable* security if you can guarantee truly random number generation and security of the generated pad. Implementing it from the perspective of a cryptographic layman is a fun way to learn more about it and could add an extra layer of security to your most sensitive communications. I started off by trying […]