studydash / cards

Houses all cards created for StudyDash Group 00! ๐Ÿ˜€
http://studydash.github.io
2 stars 2 forks source link

Project brainstorming and implementing Journal Lite (07/26) #247

Open anitabe404 opened 2 years ago

anitabe404 commented 2 years ago

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.

r002 commented 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!

anitabe404 commented 2 years ago

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.

r002 commented 2 years ago

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. ๐Ÿ˜…๐Ÿคฆโ€โ™‚๏ธ)