what i did today

335/365

Well, folks, we've experienced yet another sudden-onset December. I think adulthood fully sets in when checking the calendar elicits a wistful sigh and "I just don't know where the time went..." Like, at that point, the prefrontal cortex has developed fully and shoulders become heavy with responsibility. To be fair, I've always been a bit of an "old soul," so this doesn't affect me as much as other people (I'm not like other 31-year-olds). In the past, the end of the year has been accompanied by feelings of regret and a bit of shame for all the things I didn't accomplish over the previous 11 months. This year is different, though. I've been working on my mindset and, while I do feel some regret over having not traveled a ton or not reaching my goal savings amount, I am mostly proud of myself for getting out there and making the most of some really crappy situations. Life gave me lemons, but I made plenty of lemonade.

One such lemon is my wisdom teeth extraction saga. After years of procrastinating, I finally got them removed. All it took was 2 surgeries, 2 failed attempts, and 1 near-collision with a trickster spirit disguised as a "foreigner-friendly dentist." I hated this process. Navigating healthcare and dental care, is tedious enough as is without the added stress of poor language communication skills and being far away from my entire support system. It was tough and I cried multiple times. But, I did it! I did it and nobody can take that away from me. I traded four cumbersome teeth for the will to carry on. A rather fair exchange, in my opinion.

All that's left is the healing process. 2 weeks of small bites, a mostly liquid diet, and constant vigilance with saltwater rinses. Being only 3 days post-op means that getting up in the morning is a bit rough. Winter air plus weird mouth pain makes my morning routine that much more arduous, not to mention a bout of surprise menstrual cramps. I ironed my clothes though! That's impressive, right?

Thankfully, I already knew where my day was headed when I arrived at work. I'm grateful to my past self for leaving on a CSS cliffhanger last week. What a juicy way to start the week! Because of my copious notes, I was able to finish it within an hour of clocking in, which a new personal best for a Monday morning. calendar-button-alignment

As I alluded to in my last post, the solution was to use clip-path property to make the #calendar element vaguely Utah-shaped. I added an aqua border around the calendar to better show what has been cut out.  clippath-outline

#calendar {
    clip-path: polygon(25% 0%, 25% 14%, 100% 14%, 100% 100%, 0% 100%, 0% 0%);
}

The part of the #calendar element that would have overlapped the other button groups is now gone, making the other buttons accessible. I love when I find an elegant CSS solution that solves all my problems. In this role, I spend 90% of my time working Django templates (HTML), CSS and vanilla JavaScript. My official title implies full-stack, but my day-to-day is truly frontend, which I love. HTML and CSS are so powerful and, due to structural limitations such as not using a separate frontend framework and not having a JS build pipeline, I regularly plumb the depths of their APIs. At this point, me and the MDN docs are like peanut butter and jelly. Experiences like this remind me why I got into technology in the first place. 

After this, the rest of my day went smoothly. Cleaned up some minor bugs that popped up while I was out on Friday and started to map out a new project. Tomorrow, I'll return to my backlog in earnest. Which is fine, I think. After all, I'm healing.

#japan #log #work