Derik Badman's Journal

2019-08-03 08:00

I had a lucid dream last night. I was in some kind of apartment and thought I had woken up, then I realized that that made no sense because I wasn't in my house. I felt this shiver through my body and then I realized I was dreaming. I started walking around the apartment. There were a lot of people in it like there was a party going on, and I figured there must be someone I know, so I was going from room to room looking at all the people. Unlike most dreams I was controlling my own actions. I didn't find anyone I recognized (then where did my brain get all these people from?). I think I decided to try dancing with a group of people who were dancing in one of the rooms. But I wanted to change one of the people who was there to be Lianne. And I could kind of get her to be there with me, but then something would go wrong and the image would get distorted.

Other than that I slept horribly, was awake for all of the 1:00 hour and some of the next. That's a few nights now I've slept really poorly.

Spent yesterday refactoring code for work, I find it really satisfying taking code I wrote years ago and rewriting it to be better, testable, easier to maintain. I can really get into the flow of coding when I'm doing that, because I can usually more clearly see what I need to do, and I have a clear comparison of whether I broke something or not (comparing to a site running the old code).