Daily Review – Day ending in 2020/09/24

Today I’m posting a super short daily review given that the midterm (for advanced operating systems) opens up in about 13 hours.

Writing

Parenting and family matters

  • Held Elliott in my arms while we danced to her favorite song (above) titled called Breathing by Hamzaa. As soon as this song plays on our bluetooth sound bar speaker, Elliott immediately tosses her arms up in the air (even if her hands are full of food) and starts rocking back and forth. I hope she never loses the confidence to dance so freely like us adults.

What I am grateful for

  • A wife who I’ve learned to develop so much trust with over the years and one of the very few people that I can open up to completely and share thoughts that cycle through my head.

What I learned

  • Writing a simple line parser in C one has to protect against so many edge cases
  • Most of the C string functions return pointers (e.g. strnstr for locating substring)
  • Learned how you can ensure that you are not statically creating a large data structure by using the -w-larger-than=byte_size compiler option
  • Able to visualize what an IPv6 data structure looks like underneath the hood: 16 char bytes. Also these are big endian, the least significant bit starting first.

Work

  • Wrote some code that performed some string parsing (so many dang edge cases)