deeplink to this page
student projects
teaching
Student project: doing a research project on a Windows computerWhy Windows presents an issueWindows is a commercial software package developed, but not supported, by Microsoft. It's aim is to enrich its shareholders. If you are a simple computer user rather than a millionaire, you are not in the target group. Simple tasks that take seconds on other computers, like installing a compiler and compiling a program, are not supported by Microsoft. That is unfortunate, as these simple actions are at the core of our research projects and you can spend more time on the physics and get a better result if your do not have to solve bugs in Microsoft software. Even though you paid for it, it appears that Microsoft will not send someone over to help you with this. Their strategy seems to be: first you pay, then you do the work yourself. Do not worry, all this is included in the price you paid, and the shareholders are getting very rich from your money indeed.If you only have a Windows computer you have several workarounds (there are no proper solutions if you don't want to remove Windows or use a dual boot). You can try to install Windows subsystem for Linux (WSL)1 and learn how to use it. Alternatively, you can try Cygwin to get a Linux-like environment on your Windows machine. Or perhaps Chocolatey to install the packages wget make cmake gcc/gfortran. Other students with Windows computers have done research projects before you. They have been kind enough to write down some of their findings over the years. You can find them below. From there, you are on your own though.2 WSL install guideThis is a brief instruction to install WSL on Windows. Note that what Microsoft calls WSL is what had previously been known for decades as a Virtual Machine (but according to some, it being a Microsoft VM, it is slower than other VMs). This means that you will be running Linux on top of Windows. Windows limitations still apply (as opposed to running a dual boot). Other restrictions is that you will not be able to access your files in Windows from WSL and vice versa.3Check Windows version
PowerShell
Building and installing software packagesIt is possibly that Chocolatey can do this for you, but it is known to support a very small number of packages compared to other package managers. This means you may have to build your software package manually, which is quite straightforward on most operating systems, but unfortunately not on Windows. The general idea (on Cygwin? WSL?) is the following:
Running a Python scriptt.b.a.Compiling and running a computer programt.b.a.Other reasons not to use Microsoft (or Apple, Google, ...)
Back to student projects. 1 WSL is Microsoft's attempt to mimic a real computer. However, it turns out that it is simply a virtual machine, running Linux on top of Windows, keeping the disadvantages of Windows. All these "solutions" are trying to suppress the symptoms rather than fighting the disease — a bit like deciding to make the best of things by roasting marshmallows because you've decided to move into a burning house. The real solution is of course to get a better house (preferably one that isn't on fire). Note that using a Windows machine doubles your challenge: not only do you have to solve a physics problem, but you also need to repair Microsoft's malware. However, you paid heavily for Windows, so sending someone over if you run into trouble ought to be part of the service. When they arrive, ask them to install Linux for you! 2 Unfortunately, there is no way for me to download Windows and test these things... 3 I am not sure whether not being able to access your files is a bug that Microsoft has not been able to fix in the last few decades, or a "feature" of Windows. Other operating systems have no issues with this though... |