Health Check
When answering the questions below, ‘your computer’ is the machine on which you plan to do the programming. You will also have some ability to run code remotely on UCL’s JupyterHub or on Google Collab (see No Install), but you will find that limitations in processing power on these cloud platforms can make this a frustrating experience.
Hardware Requirements
We try to support as many different configurations as possible, but there is no programming environment that installs and runs seamlessly on all computers. However, in our experience the students most likely to encounter problems share one or more of the following:
- Your computer 8GB or less of RAM.
- Your computer has less than 20GB of free disk space remaining.
Read on below to check what specification you have…
You will need to look up:
- How much RAM does your main computer have? Help for Mac.
- How much free disk space does your main computer have? Help for Mac.
You will need to look up:
- How much RAM does your main computer have? Help for Windows.
- How much free disk space does your main computer have? Help for Windows.
We’re going to assume that you know what you’re doing. If you want a recommendation, we’d probably go with the latest Ubuntu desktop release.
If your computer has less than 8GB of RAM and/or less than 20GB of free disk space you are likely to have issues with Docker and (on Windows) WSL2. Your options are: 1) add more RAM (possible on Windows); 2) back up and remove unnecessary files (Movies, Photos, and Applications are particularly big ‘hogs’).
Recommendations
If you are looking for a recommendation as to what to buy:
- Don’t worry about getting the fastest chip, get as much RAM as you can. You should aim for 32GB of RAM, but get more if you can afford it.
- Don’t worry about getting the biggest hard drive, get the fastest one you can. You should get a SSD (Solid State Drive), but get a M2 type SSD if you can afford it and it’s available for your system.
- Only after you’ve sorted this out should you look for the fastest chipset that’s still within your budget.
Should you buy a Windows, Linux, or Apple machine?
You should probably stick with whatever you’re familiar with since learning your way around a new Operating System while also learning to code is just raising the bar unnecessarily. Around CASA we use a mix of all three, and you can probably find as many opinions as there are staff members.
Should you buy a M2 or M1 Mac?
It depends. Here’s a good article from MacWorld covering the pros and cons. Short answer: right now (June 2022) the M1 is probably faster for most data science applications, but expect that to have changed by June 2023. But either way: a fast chip with not enough RAM will be much slower than a slow chip with abundant RAM.
Two easy things to do to save money on a new machine are:
- Unless there is a specific reason to do so (e.g. getting a system with Apple’s M1/M2 chip), don’t buy the latest machine, buy a model from earlier in the year/the previous year instead and upgrade the RAM and hard drive instead.
- Only buy the machine when you have access to a student discount. The discount for Apple computers is relatively modest (ca. 10%) compared to ‘back to school’ offers for Windows machines, but as the Brits would say: even 10% is better than a kick in the teeth!
Software Requirements
We try to support as many different configurations as possible, but there is no programming environment that installs and runs seamlessly on all computers. However, in our experience the students most likely to encounter problems share one or more of the following:
- Your computer runs Windows 10 Home or older, or
- Your computer runs MacOS 10.13 (High Sierra) or older.
As long as your computer is running one of the last two major releases of the Operating System you should encounter few issues.
MacOS
You will need to look up:
- What Operating System and Version is your main computer running? Help for Mac.
Windows
You will need to look up:
- What Operating System and Version is your main computer running? Help for Windows.
Recommendations
If you are using a Mac then your system should have the option to update to the latest version of the MacOS at no charge. If you are unable to update then it is likely that you have an older machine that is not fully supported by the most recent Operating System and, in all probability, you will also encounter issues running the programming environment.
If you are using a Windows PC then try to update to either Windows 11 or to Windows 10 Pro as this will ‘unlock’ additional features that are useful for supporting the programming environment. As a student you are likely to qualify for significantly cheaper/free updates, so make sure you do this when you have access to a discount.
System Updates
Now that you know your computer is ‘up-to-spec’, please ensure that your computer is fully up-to-date with all Operating System and application updates before following any of the other steps in this brief guide to getting started.
Once you have installed the programming environment we strongly recommend that you turn off automatic updates for your computer until the end of the academic year. This is not to say that you should not install security and other updates over the course of the year, but to emphasise that it should be at a time of your choosing. In previous years, students’ computers have automatically updated to a whole new operating system version two nights before an assessment deadline, breaking existing code and causing lots of needless stress.