running

Some Julia Tidbits from FIT.jl: Enums, and my FIT.jl progress update.

Some things that I learned about from my most recent session: Julia Enums Julia has an @enum macro that allows one to define an enum type. Working at Amazon, I’ve had to deal a lot with Enums as an easy way to represent categories of things. Especially in the Java world. Having come from Python though, I didn’t use the concept of enums very much. Here are Julia’s excellent docs for enums: https://docs.

Hacky way to get bit at index: Julia

This is quite hacky, but it definitely unblocked me while working on FIT.jl. In Garmin FIT files, each record has a byte header used to identify the message type. At position 6 in the byte header, we find the bit used to identify whether a message is a data message or a definition. I know there are ways to isolate this bit using bitwise operators, but I settled on the below approach (knowing that this software at the moment is purely for myself).

What's Next: FIT.jl and Running Data Analysis

What I’ve been working on I’ve been working lately on a new Flutter app for mom-and-pop fast casual restaurants. The idea was brought to me when I was too early for a Bible study in the morning and the manager spoke with me about his app idea. Once he found out I was a software engineer, he could not resist the temptation to tell me about his app idea, but he’s only human!

On Balance in Life

On Balance I’m training for an ultra marathon in May. Why would I do this? Because I also turn 30 this year. I don’t know why, but 30 feels like an age that I’ve anecdotally seen most decline. I don’t want to be that way. I want my daughter and others to see me still pushing for the limits of what is possible in my daily life. But what about balance in my world?