Open anitabe404 opened 2 years ago
Awesome progress! Cool to hear that you're adding a Journal Lite
feature! ๐
I've been following bits and pieces of the Olympics on YouTube too! Do you follow any specific events? I like watching the soccer and gymnastics highlights-- some amazing stuff. Table tennis is also totally wild!
I've been watching random stuff. Whatever is playing when I get to the tv. I caught some of the table tennis. I don't know how they follow that little ball. Half the time I'm lost as to who scored because it's moving so fast. ๐๐๐ Especially the doubles, it's like your partner is an extension of you.
Totally! Table tennis is positively insane to me too! It's incredible how fast they move!
I haven't been following everything, but here's what's been the most memorable for me so far at these Olympics:
I seriously always get so conflicted about the Olympics though. OOH, it feels like a positively inordinate, outrageous expense. Especially, when there's so much tragedy, grief, and poverty around the world. Like-- is this really the best way to use billions upon billions of dollars? ๐ค
But then-- when they actually do happen. Every time late at night when I should be coding, sometimes I guiltily instead just switch on YouTube to watch random clips. And omg, it's so amazing. Watching people who've spent their entire lives training for some specific sport and then putting it all on the line in a single moment. It's literally the most inspiring and amazing thing to me. (And then every time after watching, I feel totally useless and wonder what I've been doing with my own life this entire time. ๐ ๐คฆโโ๏ธ)
Motivation/Problem Statement ๐ญโ:
Create a code challenge tracker app.
Today's Goal/Solution ๐ฅ :
Work on the journal lite feature: add & modify journal entries.
Result ๐๐๐:
I'm using a bunch of custom classes, and I was having a hard time figuring out how to make them JSON serializable. I found a couple of articles, but the solutions weren't really what I was looking for since I have nested custom objects (not just one), that need to be encoded. I finally figured out that I could create an instance method that returned either a dictionary or list when called. So far, it seems to be working.
Observations & Next Steps ๐ญ๐ฃ:
Continue creating my new classes and associated tests. I also have a couple of existing classes to modify.
Update I got a big portion of the journal lite feature working. It's ugly, but I can now create, modify and view journal entries from the CLI. Any updates I make are then saved in the json config file. My code is pretty mangled as I had to tear apart existing classes and create new ones to do it, but it's working. ๐๐๐
To-Do List:
References ๐:
Link any useful resources you may have found throughout the day.
Extra/Fun (Optional) ๐๐๐ฅณ:
Watched some of the olympics.