reedmaniac.com
– the blog –

The Continuing Voyages

Coding. Training. Eating. Those are my tasks right now.

First, the coding. On a whim, I pulled out an old copy of ExpressionEngine 1.7 and started modifying it to work with PHP 7.1 on my local Homestead development environment. Not even an hour of work later and everything was working swimmingly. Sooooo, I kept on tweaking. Rewrote how the path in the url was determined. Cleaned up the core.system.php file, which bootstraps the entire application, to be more efficient. And then I created a composer.json file and started pulling in a few libraries that seemed helpful and better built than what was native. Carbon being the first one as I was never quite pleased with how dates, timezones, and DST worked in ExpressionEngine. A few days later, I pulled in the Laravel DB class, initiated it, and begun converting every single query to use its Query Builder instead of the default ExpressionEngine one. Two weeks later and about 85% of the codebase has now been converted to the new database engine. When finished, that will mean all the database engines that Laravel supports will be supported by this new CMS too. While doing this conversion work for the database, I have also been tweaking and improving code as I look at it. Entire modules have been axed and chunks of functionality removed to make it a leaner, more focused CMS.

And what's the goal of all this work? Right now, I am just having fun. After 8 months of working at a company where progress was painfully slow, it is thrilling to feel like I am coding at lightspeed. It is entirely possible I could release this once I am finished with all of my rewrites. An entirely new CP backend and template parser are on my long list of changes though, so we are talking months of work left. We shall see.

––

Second, the training. As of this week, my long run is 2 hours and my two supporting runs are clocking in at 75-90 minutes each. Once you include the biking to and from the trails, the recovery stationary bike rides in the gym on my "off" days, and then the core/strength workouts to keep my body from falling apart (and becoming a skinny wraith), I am clocking in some serious hours training for my 100K and 100 mile races in August and September. And I am only on week 5 of 18 for my training. Ultra running requires one hell of a commitment!

Also requires oodles of patience and discipline too, since all of this aerobic base building requires that I keep my heart rate at 152 bpm or lower during the majority of my runs. Currently, that means I am averaging an 11 minute mile. Much slower than I am used to, but an excellent pace for building up endurance, training my body to burn fat, and preventing injuries.

––

Finally, eating. As you can imagine, all of the training is giving me one hell of an appetite. Just like on the PCT, you get a little exhausted by it. Snickers are my favorite post-run snack, prior to biking home, while rice bowls with beans, salsa, avocado, sour cream, and special sauce are quickly becoming my go to dinner on hard days. The usual pizza, baked goods, and fruits + veggies are in there too. As training volume increases, I am assuming I am going to have spend even more time and effort addressing my caloric needs. For now, it is just barely manageable.