CS371p Spring 2020: Kevin Hao

Kevin Hao
2 min readFeb 22, 2020

Blog #5

What did you do this past week?

This past week I completed a majority of Project #2 with my partner. We finished the input and output and got the default implementation to work. After getting that working, we got the “smarter” implementation working which passed all the Hackerrank tests. We didn’t create classes yet, so our code was pretty confusing to debug since we had a vector of vector of vector of ints. Outside of that, our code was fairly intuitive and it turns out our main bug was just the lack of an extra newline at the end of each of our test cases. In my research class, we completed all of our data collection, which surprisingly took an entire three hours of robot work to finish.

What’s in your way?

Nothing was really in the way for me this week. I got a lot of work done in the majority of my classes. The only thing that was difficult for me was my algorithms test last Wednesday. The test was basically all just creating and proving algorithms, so getting stuck on even one problem would be disastrous.

What will you do next week?

Next week, I will actually start using deep learning to learn segmentations in video space for my robot learning research. With all of our data, we can start creating labels for these demonstrations and hopefully we can obtain meaningful results. For this class, I will finish up Project #2 by creating tests, creating a ctd file, etc.

What was your experience of arrays and iterators?

Arrays in C were always a little bit of a mystery to me as I started coding in Java. Not having out of bounds checking and the use of malloc was rather foreign. With C++ arrays, it is slightly more like Java but still a little convoluted as there are different semantics for the different types of arrays. Iterators are interesting as I didn’t know there were multiple types of iterators to begin with.

What made you happy this week?

This week, getting through my algorithms test was relieving and getting to have a partner in Project #2 also made me happy. Having someone with a different perspective to help me structure my code and fix my errors was very nice.

What’s your pick-of-the-week or tip-of-the-week?

My pick-of-the-week is ssh -X. This flag for the widely-used ssh tool is to activate XQuartz. I do not really know if this is automatically available on all operating systems, but it allows you to see and interact with the graphical interface of whatever device you are sshed into.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Kevin Hao
Kevin Hao

Written by Kevin Hao

0 Followers

College student at UT austin, Sophomore in Computer Science

No responses yet

Write a response