Christian Lindler, Laboratory for Atmospheric and Space Physics, Week 5

Posted in: Pinhead Intern Blogs, 2020 Interns, Christian Lindler
Tags:

Hello again! This week was very busy for me. On Monday, I made progress on the multiprocessing assignment in which we had to solve a puzzle using the numbers 1 through 9. The puzzle has 362,880 permutations and over 100 solutions. I was able to make a program which could find all solutions in under a second. However, this program didn’t use multiprocessing and didn’t have much room to improve the speed. I then made a new program which found the permutations by checking all numbers between 111,111,111 and 999,999,999 to see if they were permutations of the numbers 1 through 9. Without multiprocessing, this took over an hour to run. When I implement multiprocessing, I’m hoping the time will decrease to roughly 7 minutes.

Before this week, I had to run a virtual machine on my laptop in order to use Linux. This was extremely slow and made coding almost impossible. On Tuesday, Pinhead loaned me a new laptop! I first made a bootable hard drive containing Ubuntu (a version of linux) from my Mac. I used this to install Ubuntu on the new computer. The installation process went well and pretty soon I had the desktop set up with all of the applications I need for the internship. This new computer has been an enormous upgrade from the virtual machine and has increased my productivity massively.

The rest of my week was consumed by working on implementing multiprocessing (which I am yet to do successfully) and working on various projects in C. After asking David for advice on STEM related projects I could do on my own, he recommended that I get a tiny computer called a Raspberry Pi to make a bunch of different projects. Apart from the internship I played soccer, studied for my ACT, and started researching Raspberry Pi’s.

New setup

 

There are no comments published yet.

Leave a Comment

Change this in Theme Options
Change this in Theme Options
X