Category: Daily Reviews

  • Daily Review – Day Ending in 2020/10/12

    Daily Review – Day Ending in 2020/10/12

    Graduate School

    • Wrote up my analysis on the various barrier synchronization algorithms that I implemented. I had to describe the various algorithms (e.g. dissemination barrier, tournament barrier, centralized sense reversal barrier) for the documentation that will accompany our code and experiments as part of Project 2 for advanced operating systems.
    • Finished watching lectures on Active Networks. Didn’t find the material too interesting however I realized there are certainly concepts (like overlay networks) applied to our (AWS) networks.

    What I learned

    • Quote from Donald KnuthBeware of bugs in the above code. I’ve only proved it correct — not tried it.

    Work

    • Represented my team (Blackfoot Edge Applications) at weekly org wide operations meeting. Every week, our senior manager runs a organization (Blackfoot) wide operations meeting where each team reviews their their high severity events and dashboards from the previous week. During the meeting, I shared three particular interesting events that took place.
  • Daily Review – Day ending in 2020/10/11

    Daily Review – Day ending in 2020/10/11

    I’m thrilled to be “off call” in about 4.5 hours, no longer tied to my pager and no longer anxious from possibility of waking up to the sound of nasty alarm. Really, the anxiety revolves around the randomness and the unknown of being paged.  What’s also variable is the length of these engagements: sometimes the troubleshooting takes 5 minutes and sometimes 5 hours. You just never know.

    The point it this: I’m happy to return to a normal work week.

    Best parts of my day

    • Laying in bed next to my wife at night. For the past four or five months I’ve been sleeping on the floor on a foam tri fold out mattress laid out on the uncomfortable carpet floor. And finally, now that we are finally moved into our new home, I’m sleeping on a real bed and last night my wife and I laid next to one another. Sure, it was only about 5-10 minutes but hey: it’s the little things right?

    Graduate School

    • Wrote up a paper summary on “Building Reliable High Performance Communication Systems from components
    • Drew figures of barrier synchronization on my iPad
    • Wrote up Project 2 (barrier synchronization) work log into Google Docs to share with my project partner
    My doodle of dissemination barrier
    My doodle of dissemination barrier

    Thoughts

    • Amazon Web Services draws inspiration from academia. For example, the techniques and principles used to build overlay networks within EC2 Network resemble the principles from the paper Active Networks (although there’s probably even earlier papers to draw inspiration from)
  • First day of moving to Renton & Daily Review – Day ending in 2020/10/01

    First day of moving to Renton & Daily Review – Day ending in 2020/10/01

    My body aches from the first day of moving houses, my body sore from all the loading and unloading of tightly packed boxes from the house and into the back of the 15″ foot U-Haul truck.

    Rant

    • U-Haul at Burien employes some of the most unprofessional staff with the worst customer service. The staff were not only rude to customers but extremely denigrating to one another, the manager even shaming her employee in front of customers, the manager saying (and I quote): “You are just not doing a very good job today are you?”

    No electricity

    • Stepped into our new home and I immediately noticed that the lights didn’t flicker on when I hit the switch.  I had also noticed that the digital clock on the stove was not displaying the time. No electricity.
    • Called Puget sound energy (PSE) over the phone and within 5 minutes of talking to the representative, had them activate the electricity. They mentioned it would take up to 24 hours maximum

     

  • Daily Review – Day ending in 2020/09/29

    Daily Review – Day ending in 2020/09/29

    Yesterday … was exhausting. A few times throughout the day I actually felt my body shut down and I nearly fell asleep while working. Although I cumulatively got like 7.5 hours of sleep, my sleep was constantly interrupted since Elliott has been (presumably) teething and letting out these screams at 1:00 AM and 3:00AM and 04:00 AM, the screams piercing through out thin walls and echoing throughout the rest of the house.

    On top of all this, I felt so overwhelmed with the house move, knowing that we only have just a few days left and there’s so much left to do still. But fortunately Jess and I partnered up and split some tasks up between the two of us. That really helped.

    What did I learn

    • The last true symmetric multiprocessor machine was around the late 1980s. I thought that they were much more prevalent but it appears that most of the hardware today run on non uniformed memory access (NUMA) machines
    • How to identify and trace concurrent events between processes (a little more difficult than I had originally anticipated) using a good old pen and paper

    Politics

    • Watched about 30 minutes of the first debate between Joe Biden and Donald Trump. Honestly, it’s like watching a circus. Trump constantly interrupts Joe Biden and Joe Biden often goes completely off topic. For example, while talking about his position on supporting the military, he brings up the fact that his son served in the military and currently recovering from drug addiction. While nice to know …. I wonder, it’s totally irrelevant to the conversation.

    Family and Friends

    • Jess and I operated as a team yesterday. Together in the morning, we signed an hours worth of paperwork with a notary sent by the escrow company. After, we divided and conquered. She and Elliott performed the final walk through in Renton while I sorted out how to get us internet (so painful dealing with internet sales representatives) and then I drove to Wells Fargo for my scheduled appointment to transfer the big amount for the down payment of the house.

    Interesting Quotes or Idioms

    • Prime the pump (from video lecture series in Distributed System, Quiz on “relation”)

     

  • Daily Review – Day ending in 2020/09/28

    Daily Review – Day ending in 2020/09/28

    Questions I thought about during the day

    • How did society overcome the Spanish Flu and how did the people during that time return back to normal? I doubt some vaccination ended the pandemic… so how did we all get over it? And how will it be the same (or different) this time around with COVID-19 ?

    Feelings

    • Excited to watch lectures on Distributed Systems a topic I’ve been interesting in for a very long time. Funny how I actually build distributed systems at work but don’t have my computer science foundation on the topic except I’ve done one off research on CAP theorem etc
    • Throughout the entire day I was just extremely fatigued from waking up due to screams that little Elliott let out throughout the night. I’m guessing she’s teething?

    What did I learn

    • How to use pragma C preprocessor with OpenMP. Although at work we have some pragma definitions, I haven’t myself dove into why and how. I’m still confused as to the exact details of the pragma definitions but seems like (in this particular case) that by putting in pragma omp parallel, we are signaling the compiler to inject some code that will run once on each processor

    Family and Friends Matter

    • Walked the dogs at Northacres park with little Elliott and Jess. Elliott looked super cute with the neon orange beanie that her mom bought her on Amazon

    Graduate School

    • Glad I took the exam the day before yesterday (instead of yesterday, when the window to take the exam closes) since I was completely drained of energy yesterday. Honestly, if I had taken the exam last night, I’m pretty confident I would’ve bombed it
    • Watched a couple lecture videos on Distributed Systems and learned a couple new terms like event computation time and message computation time
    • Watched the first couple video tutorials on OpenMP, the YouTube learning series taught by Tim Mattson, one of the original and core developers of the library.

    Administrative

    • Disassembled our wooden kitchen table using my Makita drill and the allen wrench adapter. I broke down the table so that it would fit inside the 3 yard waste bin that I rented from Seattle Public Utilities for the week. My hope is that we dump our unnecessary junk instead of packing them into boxes and hauling it to the new house
    • Scheduled a 20 ft. U-Haul truck for the move. I had to call into the help line because I want a one way drop-off (i.e. from Seattle to Renton) but their website doesn’t currently allow you to extend the number of days you are renting a truck. I also learned that U-Haul has very low inventory and they currently forbid renting trucks for more than one day (unless it’s a one way drop off)
    • Confirmed two appointments for the day: in person notary (due to COVID-19) for signing paperwork for the house and Wells Fargo appointment to transfer escrow money.

    Work

    • Lots of back to back meetings yesterday and some unexpected ones (e.g. a 05:30 pm invite for a project that I’m leading)
    • Added some counters to my code to verify the behavior of my new feature that I’m developing
  • Daily Review – Day ending in 2020/09/27

    Daily Review – Day ending in 2020/09/27

     

    Writing

    Family and Friends

    • Walked the dogs at Magnuson Park. Elliott and Jess joined too since Elliott has been waking up so early these days (around 05:45 AM). Trying to get the dogs to capitalize on these amazing off leash parks in North Seattle, before we move to Renton (in just a few days)
    • Cancelled war room meeting so that I could instead so I could have a pizza party with my next door neighbors and their two children. My neighbor’s daughter in particular was really looking forward to having a picnic party since there’s only a few days left until my wife and I and the rest of our entire pack move to Renton. Upon reflection, cancelling the war room was the right decision since I’ll remember this pizza party for years to come.
    • Took Elliott to Maple Leaf Park for about 20 minutes. She loves loves loves sitting on the kitty bridge and watching other kids play. Seriously. She’ll sit there and just smile at them, completely happy to just be outside. I never thought I would enjoy being a father so much. Honestly, I would’ve thought that taking my kids to the park would be boring and feel like an obligation but it’s just the opposite.
    • During dinner Elliott sat in her own little chair like a little adult for the first time, following Avery’s lead
    • Took Elliott with me to The Grateful Bread to pick up challah for Jess while she received in home physical therapy. After buying a couple loafs, Elliott and I sat outside of the cafe, her on my lap while I was wearing a mask (again, still in the midst of the COVID-19 pandemic). Felt nice just to sit outside and tear up little pieces of Challah for her to eat

    Graduate School

    • Crammed heavily for the mid term exam (below). Took the exam last night instead of today (which is a good call since I’m absolutely shattered today, my sleep interrupted several times because I was still able to hear Elliott let out war like screams throughout the night … I think she’s teething)
    • Took the remotely proctored exam for advanced operating systems (AOS). I really think that studying with the Anki software for about an hour paid off. Otherwise, I don’t think I would’ve been able to answer questions around Exokernel and questions around the hypercalls.

    Music

    • Had another wonderful guitar lesson yesterday with Jared. We focused on going over new inversions that should spice up some of my song writing since I feel like I’m in a rut these days, all my songs sorted of sounding the same since I’m playing them in the same voicings. But I should take a moment and step back and appreciate that I can even write songs and can even apply music theory that I picked up over the last couple years
    • Jared and I got to talking about marketing and he mentioned an author called Seth Godin and how (without realizing it) I’m sort of applying the techniques from his book. In any case, I should check out that author’s book (just no time right now).

    Miscellaneous

    • Packed up my wide monitors and mechanical keyboard that were previously laid out desk office. Just a couple more days until we are out of this house in Seattle and moving to Renton

     

  • Daily Review – Day ending in 2020/09/24

    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)

     

  • On building online learning communities & Daily Review – Day ending in 2020/09/23

    On building online learning communities & Daily Review – Day ending in 2020/09/23

    Thanks to my wife for encouraging me to pull the trigger and start my online study group (i.e. the “war room”) for my advanced operating systems course. Basically, the idea came about after chatting with a class mate of mine and during our video call, I realized how many of us are basically studying alone (in isolation) without practically no peer interaction. On top of that, we’re in the midst of COVID-19 pandemic, most of us cooped up inside our homes or apartments, disconnected from the rest of the world.

    We’re living in weird times …

    Anyways, how does this warm room work? It starts with me scheduling a 30 minute zoom call and then sharing the meeting details with the rest of the students, publishing a note on the the class forum website (i.e. Piazza). The invitation is open to all students and the meeting itself is informal and low pressure. However, there are a few guidelines to help steer the conversation:

    • Feel free to just hang out and study silently
    • Collaboration is encouraged
    • No obligation to ask questions or comment on other peoples questions (although I myself will try and chime in whether or not I know the answer)
    • You do not need to participate and can just hang out
    • You do not need to turn on video

    Here’s what I had originally sent out to the class:

    First (of maybe many) war room meetings

     

     

    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)

     

  • On drifting apart & Daily Review – Day ending in 2020/09/22

    On drifting apart & Daily Review – Day ending in 2020/09/22

    Before stepping into parenthood, my wife and I would often read about other couples scheduling time for being “intimate” (aka sex), time alone just for the two parents. Without this deliberate effort, parents can fall into the trap of focusing 100% of their time on raising their children and forgetting what its like to be a couple.

    When I first heard and read about these couples, I couldn’t wrap fathom how the gradual drifting of relationships could possibly happen to me. No — that’s reserved for other couples. Thanks for the universe (and karma I suppose), I’m now noticing that my wife and I are drifting apart … but luckily at a glacial pace. To be fair, the two of us are brand new parents raising a (almost 1 year old) daughter.

    Fortunately, we’re acutely aware of this drifting apart so her and I are reeling it in. So what are we doing about it? Well, the idea of scheduling time for being intimate sounds ridiculous but we’re going to muse on it.

    Writing

    Parenting and family matters

    • Bathed Elliott for only about 5 minutes last night. Normally, our little bed time routine normally lasts between 15-20 minutes but lately she hasn’t really enjoyed the experience and merely tolerating. I’m hoping her allergy to the bathes is temporary since this is one of the few times throughout the week where I get real 1:1 time with Elliott.
    • Jess and I watched three short video clips from Roxanne Gay’s Skilshare course titled Crafting Personal Essays with Impact. Taking a little fun course like this one, while washing the dirty dishes, is one way for husband and wife to mix things up since as I mentioned earlier it’s so easy at the end of the day for two tired parents to just mindlessly eat dinner in front of the television.

    What I am grateful for

    • Jess preparing a snack for Elliott and rinsing cotton candy grapes for me. Side note: if you haven’t had the experience of a cotton candy grape exploding in your mouth you are seriously missing out. These seasonal grapes are basically (healthy) candy for adults.

    What I learned

    • Learned that hierarchical locking (or locking in general) hinders system performance, preventing concurrency. What should we do instead? Reference counting for existence guarantee.

    Music

    • Recorded a little harmony and melody based off of some lyrics that I wrote down as I winding down for the evening. Usually, I start with writing the harmony or melody first but this time around, I’m approaching the song writing with whipping together lyrics. This lyrics first approach tends to be working well for me actually so I’m curious what else I can come up  over the next few weeks as I experiment with this new process.

    Work

    • Ran benchmarks for an optimization I added (basically adding metadata to a data structure that fits within the first three cache lines). Also ran a bench mark for a longest prefix match data structure that I’m evaluating for a new feature that I’ve designed.
  • Being present in the moment & Daily Review – Day ending in 2020/09/21

    Being present in the moment & Daily Review – Day ending in 2020/09/21

    Being fully present as a parent all the time seems like an impossible feat. Although I’d like to think that I’m always present with my daughter, I do find myself sometimes mentally checking out.  For example, yesterday, Jess had reminded me during lunch I should be in the here and now instead of scrolling on my iPhone, searching for some funny video (found on Reddit) that I wanted her to watch (I did end up finding it and it’s a video of a failed attempt of shuffling).

    On a separate note, I’ve been really enjoying doodling. If that’s something that you are interested in, I’d highly recommend checking out Cathy Wu’s courses on Skillshare. So far, I’ve watch these short lessons (between 10-30 minutes) — I watch them when winding down from a long day of parenting, work, and studying for graduate school — that combine helpful exercises and I must say that they are helping me unlock my creativity and reminded me that I too can draw:

    Writing

    Parenting and family matters

    • Jogged to Maple Leaf Park (maybe a mile away) while pushing Elliott in her stroller and when the two of us arrived, I lead her to the playground and swung her on the swings. After maybe 2 minutes of swinging back and forth, I carried her over to the kitty slide and then held her underneath her armpits as she slid down the slide for the first time. She loved it and had a blast. But really what she enjoyed the most was sitting crossed legged on the wood chips and watching all the other little kids running around. Now I normally don’t watch Elliott during the day but Jess had an important meeting at 04:00pm so I figured it would be helpful if I watch Elliott so Jess could focus her entire attention on that that video call with no interruptions and without feeling bad about propping Elliott in front of the television for an hour.

    What I am grateful for

    • Good health. Something so simple is so easy to forget. That is until we are sick. Although I’ve packed on a little of that COVID weight, some extra flub sagging around my belly, I’m still grateful that overall nothing major concerning with my health. This is a good reminder to continue with eating a plant based diet and maybe cut down on oreo cookie (yes, they really are vegan).

    What I learned

    • To build high performance parallel systems we want to limit sharing global data structures. By reducing sharing, we limit locking, an expensive operation.
    • Heavy use of typedef keyword with enums creates cleaner C code

    Work

    • Built a prototype for a new feature that I’m delivering and next step for me is to benchmark the solution to ensure that the underlying algorithm scales

    Thoughts

    • Just under two years ago I was not writing C code (neither during my personal leisure time and neither during my professional life) and now I’m loving the language, using it to build and prototype features for networking devices at work. Not only that, but developing the skill makes taking advanced operating systems during graduate school so much easier. So the two (academia and industry) feed into one another, a loop of learning and improvement (I like the way that sounds).