What’s Up

It’s been a while since I’ve written on this blog, so wanted to take a break from my normal routine to say hi to you long-term readers and share a few updates about what’s going on in my world.

Work-wise, I’m very fortunate to not have been heavily impacted by Covid so far. I’m still consulting with Help Scout where I oversee their analytics and business intelligence efforts. I had been consulting with Automattic as well, but left earlier this year to focus more on growing Preceden, my long-running timeline maker tool. After a few months though I had knocked out most of my big todo list items for Preceden, so started looking for something new to work on and decided to I wanted to learn machine learning. My goal at the moment is to find some valuable ways to apply machine learning to help grow Preceden and Help Scout.

These days, my mornings are mostly spent getting better at machine learning through a combination of courses on DataCamp, books, and projects. Preceden is on the backburner, though I do spend some time each week working on support and fixing occasional bugs. My afternoons are spent with Help Scout where I spend a lot of time using dbt and Looker to help the team gain insights though data.

Family-wise, we moved from Florida to North Carolina last summer and we’ve been very happy with the move. My kids are 5, 4, and 2 now and keep my wife and I very busy.

Health-wise, I’ve been experimenting with high-intesnsity interval training (HIIT) workouts on YouTube which I enjoy beause they’re short but also get you sweating a lot. Most benefits I get from those are negated by a suboptimal diet though (Chick Fil A and Dunkin Donuts are so good…).

I recently finished Ozark on Netflix and highly recommend it, especially if you enjoyed shows like Breaking Bad or Narcos.

I also usually play one, sometimes two online poker tournaments with friends each week – if you’re interested in joining shoot me an email.

I’ll try not to let a year go between blog posts in the future, but no promises 😁.

Hope everything is going as well with you all.

Changing my Mind on When to Include Table Names in SQL Queries

I haven’t made too many changes to how I write SQL recently, but I did adopt a new convention recently that I really like so wanted to share.

In the past, I would have written the following query like so:

select
  email,
  sum(amount) as total_revenue
from users
inner join charges on users.id = charges.user_id

Note that this does not prefix email or amount with the table name where they came from.

Claire Caroll of dbt fame recently pinged me to suggest a change: whenever there’s a join involved, you should include the table name to make it clear where the column originated. The query above would look like this:

select
  users.email,
  sum(charges.amount) as total_revenue
from users
inner join charges on users.id = charges.user_id

When there’s no join involved, it’s fine to leave it out because there’s no room for confusion:

select
  id,
  name
from companies

I’ve been following this convention for a few weeks and really like it because there’s zero ambiguity when seeing this around where each column originated. It’s more verbose obviously, but I think the extra clarity outweighs that downside.

I’ve updated the style guide to reflect this guide.

I’d love to hear your thoughts – do you always include the name name, only when necessary, or follow a convention like this and only include it when joins are involved?

An Interview About My Work as a Data Analyst

I recently had the pleasure of being interviewed by Simon Ouderkirk about my journey to becoming a data analyst and lessons learned along the way. You can check out a recording of the interview here:

This came about because Simon volunteered to start this interview series for the Locally Optimistic data community. And because Simon and I have worked closely together for a number of years (first when I was full time at Automattic and now as a consultant), he pinged me to see if I wanted to be a guinea pig for this first interview :).

If data and analytics interest you, I highly recommend checking out the Locally Optimistic blog and Slack community linked to above; you’ll walk away thinking a lot more deeply about data, metrics, and running an effective analytics organization. You can also follow Simon on Twitter to learn about future interviews in this series.

Timeglider Acquisition

preceden-timeglider.png

I’ve got some big news to share today: Preceden has acquired Timeglider, one of the other big players in the online timeline maker space.

Here’s the announcement: Preceden Acquires Timeglider.

This was my first meaningful acquisition: back in December 2017 I did buy and redirect the domain for Timerime, another timeline maker tool, but the site had shut down several months prior so it was merely a matter of buying the domain. Timeglider on the other hand is an active business with paying customers, recurring revenue, IP, etc – which made this quite a bit more complicated and required lawyers and paperwork and whatnot. I learned a lot, but am also very happy it’s behind me.

Now comes excuting on it and recouping the cost in a hopefully reasonable amount of time. I’ll probably write more about the data and analytics piece of this in the future, but for now, just wanted to share the news!