Categorically Variable

Only search Categorically Variable.

Retrieving Kaggle Data from the Command Line

We’ve been building some models for Kaggle competitions using an EC2 instance for compute. I initially downloaded the data locally and then pushed it onto EC2 using SCP. But there had to be a more efficient way to do this, especially given the blazing fast bandwidth available on AWS. Enter kaggle-cli.  Read more

Setting Up Time Zones in MySQL

I’m in the process of setting up a Zinnia blog on one of my Django sites. After putting all of the necessary plumbing in place I got the following message on first visiting the blog URL:

Database returned an invalid value in QuerySet.datetimes(). Are time zone definitions for your database and pytz installed?
The solution to this is to copy your system’s time zone information across to the database.  Read more

Setting Up Time Zones in BASH

Ensuring that your account is configured to run with appropriate time zone information can make your life a lot easier. Of course, if you administer your own system then you can simply set your system time to local time. However, it’s generally a better idea to set system time to Universal Time (UTC) and then configure time zone information on a per-user basis. Why does this make sense? Well, suppose that you have remote users logging onto your system. It’s very likely that a remote user will be operating in a different time zone and it’d be handy for them to have system time converted into their local time.  Read more

Adding a Volume to an Ubuntu EC2 Instance

Some quick notes on adding a storage volume to an EC2 instance.  Read more

Remote Desktop on an Ubuntu EC2 Instance

A couple of options for remote access to desktop applications on a EC2 host.  Read more

A (Work in Progress) Timeline for R

A record of some more or less important events in the history of R. This is a work in progress. The information is cobbled together from a range of sources. If you have pertinent items to add, please let me know via the comments.

  • 2020:
    • useR! (Boston, MA, USA)
  • 2019:
    • useR! (Toulouse, France)
  • 2018:
  • 2017:
    • R-3.4.1 “Single Candle” (2017-06-30)
    • R-3.4.0 “You Stupid Darkness” (2017-04-21)
    • R-3.3.3 “Another Canoe” (2017-03-06)
    • RStudio-1.0.153 (2017-07-20)
    • RStudio-1.0.143 (2017-04-19)
    • useR! (Brussels, Belgium)
    • satRday (Cape Town, South Africa)
    • EARL (London; Boston, MA, USA; San Francisco, CA, USA)
    • R/Finance (Chicago, IL, USA)
    • rstudio::conf (Kissmmee, FL, USA)
    • The R Journal (9/1)
  • 2016:
    • R-3.3.2 “Sincere Pumpkin Patch” (2016-10-31)
    • R-3.3.1 “Bug in Your Hair” (2016-06-21)
    • R-3.3.0 “Supposedly Educational” (2016-05-03)
    • R-3.2.5 “Very, Very Secure Dishes” (2016-04-14)
    • R-3.2.4 “Very Secure Dishes” (2016-03-10)
    • RStudio-1.0.136 (2016-12-21)
    • useR! (Stanford, CA, USA)
    • satRday (Budapest, Hungary)
    • EARL (London; Boston, MA, USA)
    • R/Finance (Chicago, IL, USA)
    • The R Journal (8/1 and 8/2)
 Read more

Adding Users to an EC2 Ubuntu Instance

By default an EC2 instance has only a single user other than root. For example, on a Ubuntu instance, that user is ubuntu. If there will be multiple people accessing the instance then it’s generally necessary for each of them to have their own account. Setting this up is pretty simple, it just requires sorting out some authentication details.  Read more

Favourite Talks from useR 2017

 Read more

Docker: Persisting User Data

I’m busy putting together a Docker image for a multi-user Jupyter Notebook installation. I am to have an independent login for each of the users and each of them should also have their own storage space. That space should exist elsewhere from on the container though, so that even if the container stops, the data lives on. This should mitigate user rage.  Read more

Deploying Jupyer on AWS using Docker

Amazon’s EC2 Container Services (ECS) is an orchestrated system for deploying Docker containers on AWS. This post is about not using ECS.  Read more

Categorically Variable