<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2021-11-24T04:28:17+00:00</updated><id>/feed.xml</id><title type="html">David Noël-Romas’ Blog</title><subtitle>Hey! Thanks for checking out my blog. I'm a staff-level software engineer who works remotely at Stripe. Prior to that, I owned a small local business and worked as the CTO in a 30-person startup. Outside of my day job, I enjoy playing music, brewing beer, and building [Tabby Data](https://www.tabbydata.com).</subtitle><entry><title type="html">Recent articles</title><link href="/2021/11/24/articles.html" rel="alternate" type="text/html" title="Recent articles" /><published>2021-11-24T03:21:00+00:00</published><updated>2021-11-24T03:21:00+00:00</updated><id>/2021/11/24/articles</id><content type="html" xml:base="/2021/11/24/articles.html">&lt;p&gt;This year I contributed two articles to “real” publications (as opposed to this blog, that is). I had not done that before; I’d like to do more of it if my schedule and editors’ appetites allow.&lt;/p&gt;

&lt;p&gt;Here are the links!&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;a href=&quot;https://github.com/readme/guides/time-management-software-engineers&quot;&gt;Time management for makers&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href=&quot;https://increment.com/planning/individual-contributors-guide-to-roadmap-planning/&quot;&gt;An IC’s guide to roadmap planning&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><summary type="html">This year I contributed two articles to “real” publications (as opposed to this blog, that is). I had not done that before; I’d like to do more of it if my schedule and editors’ appetites allow.</summary></entry><entry><title type="html">Tabby</title><link href="/2021/09/11/tabby.html" rel="alternate" type="text/html" title="Tabby" /><published>2021-09-11T16:18:00+00:00</published><updated>2021-09-11T16:18:00+00:00</updated><id>/2021/09/11/tabby</id><content type="html" xml:base="/2021/09/11/tabby.html">&lt;p&gt;A while ago I wrote &lt;a href=&quot;/2020/09/02/data-practices-for-scrappy-startups.html&quot;&gt;Data practices for scrappy startups&lt;/a&gt; and it’s been rolling around in my head ever since. Why &lt;em&gt;can’t&lt;/em&gt; tiny startups have simple data tools that can grow with them?&lt;/p&gt;

&lt;p&gt;Well, now they can :) I’ve been building &lt;a href=&quot;https://www.tabbydata.com&quot;&gt;Tabby Data&lt;/a&gt; in my nights and weekends for a while, and I’m really excited about everything that’s there. Go try it out! (It’s completely free for low-volume use-cases.)&lt;/p&gt;</content><author><name></name></author><summary type="html">A while ago I wrote Data practices for scrappy startups and it’s been rolling around in my head ever since. Why can’t tiny startups have simple data tools that can grow with them?</summary></entry><entry><title type="html">Announcing StaffEng: the podcast</title><link href="/2021/03/30/announcing-staffeng-podcast.html" rel="alternate" type="text/html" title="Announcing StaffEng: the podcast" /><published>2021-03-30T15:18:00+00:00</published><updated>2021-03-30T15:18:00+00:00</updated><id>/2021/03/30/announcing-staffeng-podcast</id><content type="html" xml:base="/2021/03/30/announcing-staffeng-podcast.html">&lt;p&gt;Whew! I can’t believe it’s been &lt;em&gt;months&lt;/em&gt; since my last post, and that this is my first post this year, but I have a good excuse: I’ve been busy!&lt;/p&gt;

&lt;p&gt;When I first achieved my up-level to Staff, I had &lt;a href=&quot;https://davidnoelromas.com/2020/04/01/what-is-a-staff-engineer.html&quot;&gt;many questions about what that even meant&lt;/a&gt;. One of the resources that lit the way for me was Will Larson’s &lt;a href=&quot;https://staffeng.com/&quot;&gt;staffeng.com&lt;/a&gt;, and recently it occurred to me that having the same sort of conversations in podcast format would be really fun and potentially valuable. So I contacted Will, and he expressed support. He also referred me to &lt;a href=&quot;https://twitter.com/voidfiles&quot;&gt;Alex Kessinger&lt;/a&gt; who Will had previously interviewed for the site, and who had also expressed interest in doing a podcast.&lt;/p&gt;

&lt;p&gt;Alex and I jumped right into it, and the collaboration worked quite well right off the bat. We now have several interviews recorded, and the first episode is launching today. Please check it out at &lt;a href=&quot;https://podcast.staffeng.com&quot;&gt;podcast.staffeng.com&lt;/a&gt; and consider leaving a review on Apple Podcasts/your podcatcher of choice if you like it!&lt;/p&gt;</content><author><name></name></author><summary type="html">Whew! I can’t believe it’s been months since my last post, and that this is my first post this year, but I have a good excuse: I’ve been busy!</summary></entry><entry><title type="html">Going big</title><link href="/2020/12/18/going-big.html" rel="alternate" type="text/html" title="Going big" /><published>2020-12-18T15:37:00+00:00</published><updated>2020-12-18T15:37:00+00:00</updated><id>/2020/12/18/going-big</id><content type="html" xml:base="/2020/12/18/going-big.html">&lt;p&gt;I once read &lt;a href=&quot;https://www.amazon.com/Bold-Create-Wealth-Impact-World/dp/1476709580&quot;&gt;this book&lt;/a&gt; which I can’t hugely recommend because it’s a lot of business BS &lt;em&gt;but&lt;/em&gt; it contained one insight which has stuck with me ever since: &lt;em&gt;the actual effort required of an individual to do good work doesn’t change that much with scope or scale.&lt;/em&gt; That sounds counter-intuitive, but think about it: the day-to-day effort expended by Elon Musk is not an order of magnitude greater than the day-to-day effort expended by someone starting a local pizza shop, even though their economic output is separated by orders of magnitude. (I had a friend once who started a pizza restaurant, and let me tell you that it was not for the faint of heart! They were in that shop 14 hours a day, every day. They would not have been impressed by stories of Mr. Musk bringing a sleeping bag to work every now and then.)&lt;/p&gt;

&lt;p&gt;The reason the book is mostly BS, though, is because it conflates this powerful idea with the much more foolish idea that “therefore, everyone should be Elon Musk.” Obviously, we can’t all be Elon Musk for a great number of reasons (less intelligent, less rich, live in Winnipeg ;) ) but we &lt;em&gt;can&lt;/em&gt; elevate our own ambitions, and the ambitions of those around us.&lt;/p&gt;

&lt;p&gt;It’s difficult to find the right balance here. It &lt;em&gt;is&lt;/em&gt; possible to bite off more than you can chew! But there’s more benefit to aiming high than “maybe you’ll land among the stars” as the cheesy saying goes: people around you will be motivated by ambitious goals. At work, I’ve learned that taking on a multi-year project is actually &lt;em&gt;easier&lt;/em&gt; in many ways than taking on a single-quarter project: people are excited by the vision and want to collaborate where they can. The single-quarter projects still happen, but they’re milestones along the way to a bigger goal. (Framing them this way is not only more fun, but makes it easier for stakeholders to buy in: you’re selling the big multi-year vision and quibbling less about the interim state.)&lt;/p&gt;</content><author><name></name></author><summary type="html">I once read this book which I can’t hugely recommend because it’s a lot of business BS but it contained one insight which has stuck with me ever since: the actual effort required of an individual to do good work doesn’t change that much with scope or scale. That sounds counter-intuitive, but think about it: the day-to-day effort expended by Elon Musk is not an order of magnitude greater than the day-to-day effort expended by someone starting a local pizza shop, even though their economic output is separated by orders of magnitude. (I had a friend once who started a pizza restaurant, and let me tell you that it was not for the faint of heart! They were in that shop 14 hours a day, every day. They would not have been impressed by stories of Mr. Musk bringing a sleeping bag to work every now and then.)</summary></entry><entry><title type="html">Embedded analytics</title><link href="/2020/11/17/embedded-analytics.html" rel="alternate" type="text/html" title="Embedded analytics" /><published>2020-11-17T15:24:00+00:00</published><updated>2020-11-17T15:24:00+00:00</updated><id>/2020/11/17/embedded-analytics</id><content type="html" xml:base="/2020/11/17/embedded-analytics.html">&lt;p&gt;&lt;em&gt;[Note: This is a cross-post from over at &lt;a href=&quot;https://tabbydata.com&quot;&gt;tabbydata.com&lt;/a&gt;.]&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A really common use-case for offline/analytical data systems at startups is embedded analytics—i.e. the data that you expose to your customers for analysis (via in-app dashboards and the like) as opposed to the data you use internally. At scale, this functionality has traditionally been served through dedicated, isolated systems, although technologies like YouTube’s &lt;a href=&quot;http://www.vldb.org/pvldb/vol12/p2022-chattopadhyay.pdf&quot;&gt;Procella&lt;/a&gt; are marking a shift toward “one data repository to rule them all.”&lt;/p&gt;

&lt;p&gt;For really early-stage startups, though, the options are a bit different. Most commonly, the first version of embedded analytics at a startup is being served by the same application database as everything else. Depending on the datastore, it might even be relying on the exact same records.&lt;/p&gt;

&lt;p&gt;Another popular option is to use a managed platform. &lt;a href=&quot;https://keen.io&quot;&gt;Keen.io&lt;/a&gt; is a well-known example; I’ve personally found that one to be functionally- and performance-limited, with pricing that doesn’t make lots of sense.&lt;/p&gt;

&lt;p&gt;Regardless of the specifics, what generally tends to happen with embedded analytics functionality is that flexibility is quickly lost:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;If the first version relies on the application database, and that database is relational, then the first version is extremely flexible: as long as the data is known, and the query can be expressed in SQL, it can be made readily available. However, growing startups that did not have a good sense for the difference between OLTP/OLAP will quickly learn it the hard way if they pursue this path—the analytics query performance will suffer over time, &lt;em&gt;and&lt;/em&gt; it will put pressure on the rest of the application, since the application database acts as a single point of failure.&lt;/li&gt;
  &lt;li&gt;Clever founders who avoid that pitfall, as well as those who learn from it, might build analytics based on a NoSQL store of some sort. (This includes flatfile approaches; most of the managed platforms, like Keen, also fall into this category.) This is not guaranteed to address performance problems, but if they take a read-optimized approach then it usually will. Unfortunately, this comes at the expense of flexibility: the analytics that can be exposed to users are limited by the write format, and changing that generally involves re-running batch jobs of some sort. It does not lend itself well to customer-driven feature discovery, which is what startups need to be doing.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By now, if you’ve read the other posts on this site, you might be able to guess what’s coming: what if startups could use Athena as the backing store for their embedded analytics? It would be clearly separate from the application database, while allowing SQL flexibility to explore the customer’s desired analytics features.&lt;/p&gt;

&lt;p&gt;I’ve done this successfully, and the general playbook is the same as that described in my &lt;a href=&quot;/2020/10/14/amazon-athena-simplified/&quot;&gt;previous post&lt;/a&gt;. The main challenge when using Athena as a backing store for embedded analytics is the relatively large query response time. Depending on the use-case, a few seconds of load time may be acceptable; indeed, for “dynamic” embedded analytics which give the user control over query parameters this is often the norm. For regularly-viewed dashboard metrics that need to load quickly, pre-caching is often an option. For instance, you could have a cron job which pre-caches dashboard metrics on a per-user basis at a regular interval.&lt;/p&gt;

&lt;p&gt;I’ve seen this option used successfully by tiny 1-person startups, and seen it scale to hundreds of thousands of users without issue, all while preserving feature flexibility and remaining cost-effective. If you’re interested in setting this up for your startup, I’d love to hear about it (and help however I can)! Please DM &lt;a href=&quot;https://twitter.com/tabbydata&quot;&gt;@tabbydata&lt;/a&gt; on Twitter or email &lt;a href=&quot;mailto:dave@tabbydata.com&quot;&gt;dave@tabbydata.com&lt;/a&gt;.&lt;/p&gt;</content><author><name></name></author><summary type="html">[Note: This is a cross-post from over at tabbydata.com.]</summary></entry><entry><title type="html">Using AWS Cloud9 for browser-based development</title><link href="/2020/10/16/using-aws-cloud9-for-browser-based-development.html" rel="alternate" type="text/html" title="Using AWS Cloud9 for browser-based development" /><published>2020-10-16T14:02:00+00:00</published><updated>2020-10-16T14:02:00+00:00</updated><id>/2020/10/16/using-aws-cloud9-for-browser-based-development</id><content type="html" xml:base="/2020/10/16/using-aws-cloud9-for-browser-based-development.html">&lt;p&gt;I’ve been working on a side project recently, related to &lt;a href=&quot;https://tabbydata.com&quot;&gt;this other blog&lt;/a&gt; that I started a few weeks back. (The project isn’t ready to share quite yet, but you might be able to guess what I’m working on from those posts!)&lt;/p&gt;

&lt;p&gt;Even though I’ve tried to become much more pragmatic in my technology choices over the years, side projects still end up being a great way to experiment with new, shiny things—or at least, new &lt;em&gt;to me&lt;/em&gt;. (As a side note, this aspect of side projects—selecting the right stack and practice learning new technologies—is one of the two main reasons I believe in the controversial idea that engineers who program outside of work are generally better at it than those who do not. The other reason is that it demonstrates they actually enjoy using their superpower.) The latest new, shiny thing for me is AWS Cloud9.&lt;/p&gt;

&lt;h2 id=&quot;what-problem-does-it-solve&quot;&gt;What problem does it solve?&lt;/h2&gt;

&lt;p&gt;AWS Cloud9 allows developers to build software entirely within their browser. In doing so, it actually solves a few problems:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;The local environment doesn’t matter anymore; Mac, PC, Chromebook, as long as it can run a modern browser you’re all set.&lt;/li&gt;
  &lt;li&gt;The local environment is easily reproducible. If your laptop dies and you need to spin up a fresh development environment, or if you want to collaborate with others and need a fresh development environment for them, it’s one click away.&lt;/li&gt;
  &lt;li&gt;Your Cloud9 instance can act as a &lt;a href=&quot;https://en.wikipedia.org/wiki/Bastion_host&quot;&gt;bastion host&lt;/a&gt; to the rest of your infrastructure, and it’s as secure as your AWS console.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That was all pretty appealing to me, so I dug in.&lt;/p&gt;

&lt;h2 id=&quot;how-do-i-use-it&quot;&gt;How do I use it?&lt;/h2&gt;

&lt;p&gt;As usual, Amazon’s documentation is not the friendliest. The &lt;a href=&quot;https://docs.aws.amazon.com/cloud9/latest/user-guide/setting-up.html&quot;&gt;setup guide&lt;/a&gt; is fine enough, but after that I floundered a bit. The main problem is that, once you set up your Cloud9 environment, you’re in an IDE and it feels like you should be doing things “the Cloud9 way” in order to avoid getting bitten later. It turns out that, at least in my case, ignoring that concern is sufficient. Basically, treat the terminal the same way you’d treat any SSH session into an EC2 box that you were planning to use as a dev environment (so use package managers from the terminal, run tests there, etc) and use the file manager/editor for their basic use-cases (or just use the terminal for everything if you want!). My project is built on Lambda, and Cloud9 has some &lt;a href=&quot;https://docs.aws.amazon.com/cloud9/latest/user-guide/lambda-functions.html&quot;&gt;decent Lambda-specific features&lt;/a&gt; but don’t feel that you need to use Cloud9-specific features for build/deploy steps; that is not its core use-case.&lt;/p&gt;

&lt;p&gt;Ultimately Cloud9 is just a small convenience layer on top of just spinning up your own EC2 instance to use as a dev box, but the convenience is well worth it IMO. You don’t pay extra for running Cloud9 (you’re only charged for the underlying EC2/EBS infra) and the fact that Cloud9 automatically manages starting/stopping the instance for you makes it way more cost-effective than running the instance directly.&lt;/p&gt;</content><author><name></name></author><summary type="html">I’ve been working on a side project recently, related to this other blog that I started a few weeks back. (The project isn’t ready to share quite yet, but you might be able to guess what I’m working on from those posts!)</summary></entry><entry><title type="html">On writing in an engineering context</title><link href="/2020/09/18/on-writing-in-an-engineering-context.html" rel="alternate" type="text/html" title="On writing in an engineering context" /><published>2020-09-18T13:20:00+00:00</published><updated>2020-09-18T13:20:00+00:00</updated><id>/2020/09/18/on-writing-in-an-engineering-context</id><content type="html" xml:base="/2020/09/18/on-writing-in-an-engineering-context.html">&lt;p&gt;Even though I’m not convinced that &lt;a href=&quot;https://davidnoelromas.com/2020/05/13/working-in-public.html&quot;&gt;working in public&lt;/a&gt; is always useful, I am absolutely certain that being a prolific and also fairly decent (in that order) writer is always useful as an engineer.&lt;/p&gt;

&lt;p&gt;Here I’m going to try explaining briefly &lt;em&gt;why&lt;/em&gt; I think that is, and then provide some insight into &lt;em&gt;how&lt;/em&gt; I approach writing in an engineering context.&lt;/p&gt;

&lt;h2 id=&quot;why&quot;&gt;Why?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;To get better at writing.&lt;/strong&gt; Yes, I realize it’s a bit cruel to include this recursive reference at the top of a list. Nevertheless, if you do find yourself believing that writing is a high-leverage activity for engineers, the only way to get better at it is to write often.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Async is better.&lt;/strong&gt; In order to collaborate on any project, we need to communicate with stakeholders. Written artifacts allow this to happen asynchronously, and possibly even over long periods of time. Asynchronous communication is better, not only for remote work but for &lt;em&gt;all&lt;/em&gt; work, because (a) assuming that all relevant stakeholders can attend the same meeting at the same time in a big org is bonkers and (b) most (all?) people are not able to provide their best feedback off-the-cuff in a 30 minute meeting stuffed around a conference table.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;how&quot;&gt;How?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;&lt;strong&gt;Write lots.&lt;/strong&gt; This is the only surefire way to get better at writing, and it’s the main reason I keep things like blogs around. I write a ton at work, but it’s helpful to zoom out a bit periodically and write about different topics/for different audiences. I’m not an &lt;em&gt;amazing&lt;/em&gt; writer (yet!), but I keep &lt;a href=&quot;https://www.franklincovey.com/the-7-habits/habit-7.html&quot;&gt;sharpening the saw&lt;/a&gt;.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;LNO.&lt;/strong&gt; My manager once pointed me to a &lt;a href=&quot;https://twitter.com/shreyas/status/1223816226918453253&quot;&gt;presentation/Tweet storm&lt;/a&gt; from a PM at Stripe which changed my approach to work forever. Basically, everything at work can be categorized into “leverage,” “neutral,” and “overhead.” “Leverage” tasks are those which you anticipate getting an outsized ROI on. “Neutral” tasks are those which you anticipate breaking even on. “Overhead” tasks are those which are necessary but low ROI. Your success at work depends on properly identifying which tasks go into which bucket, and investing your time and energy accordingly. My manager and I now have a shorthand that we sometimes use, especially in cases where it seems like we’re not seeing eye-to-eye on the amount of effort a task deserves. Instead of focusing on the concrete issue, we jump into a meta-discussion about how much leverage the task affords—this is usually at the heart of our difference. Once we agree on the importance of a task, it’s easy to agree on the amount of effort it deserves. Anyway, this is &lt;em&gt;extremely&lt;/em&gt; important when it comes to writing, since any writing task is effectively unbounded. The LNO framework makes it easier to decide up-front how much effort a writing task deserves. For example, I treat most blog posts as “neutral” at-best, and therefore aim to spend no more than 30 minutes writing them.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Structure.&lt;/strong&gt; A very effective way to get ideas onto a page quickly is to start with the outline and then flesh out each piece. That’s how I wrote this blog post—I wrote the introductory paragraph, and then I added “why” and “how” as headings, and then I added 1-3 word bullet points under each, and then I added a paragraph to those. If this was a “leverage” piece I probably would have started exactly the same way, but then spent more time editing afterwards.&lt;/li&gt;
  &lt;li&gt;&lt;strong&gt;Templates.&lt;/strong&gt; There’s no reason to re-invent structure every time you write. I use all sorts of templates in my writing; some of them are formal enough that the templated structure is still visible in the final artifact (e.g. design docs which always have the same headings) and other times it would be difficult to tell that there was a prescribed structure initially. One framework that I’ve been investigating lately for technical/business writing is &lt;a href=&quot;https://corporatefinanceinstitute.com/resources/careers/how-to-job-guides/scqa/&quot;&gt;SCQA&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;</content><author><name></name></author><summary type="html">Even though I’m not convinced that working in public is always useful, I am absolutely certain that being a prolific and also fairly decent (in that order) writer is always useful as an engineer.</summary></entry><entry><title type="html">Data practices for scrappy startups</title><link href="/2020/09/02/data-practices-for-scrappy-startups.html" rel="alternate" type="text/html" title="Data practices for scrappy startups" /><published>2020-09-02T17:13:00+00:00</published><updated>2020-09-02T17:13:00+00:00</updated><id>/2020/09/02/data-practices-for-scrappy-startups</id><content type="html" xml:base="/2020/09/02/data-practices-for-scrappy-startups.html">&lt;p&gt;&lt;em&gt;After writing this post, I was inspired to write more about the topic and spun up a new site around it. Head over to &lt;a href=&quot;https://www.tabbydata.com&quot;&gt;www.tabbydata.com&lt;/a&gt; to learn more!&lt;/em&gt;&lt;/p&gt;

&lt;hr /&gt;

&lt;p&gt;&lt;br /&gt;
Even though the &lt;a href=&quot;https://stripe.com/&quot;&gt;scrappy startup I’m most enamored with right now&lt;/a&gt; is (ahem) bigger than this, the 1-, 2- and 3-person startups of the world hold a special place in my heart. There’s something intoxicating about small groups of people creating something from nothing.&lt;/p&gt;

&lt;p&gt;By the time startups reach the point where the “scale-up” happens, they usually have some aspect of a “data practice” in place. There will be an engineering side (either dedicated data engineers or application/infrastructure engineers who are “borrowed” periodically to build and maintain the data systems) and an analyst side (again, either dedicated data scientists or some set of people who are comfortable using SQL to answer business questions). Tiny startups typically don’t have this, primarily for two reasons:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;In the very early days of a startup, the amount of user/customer activity is small and therefore the amounts of data generated are perceived as having low value.&lt;/li&gt;
  &lt;li&gt;The resources required to implement a data practice are therefore perceived as being better spent elsewhere.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Yes, “perceived as.”&lt;/p&gt;

&lt;p&gt;First, small amounts of user/customer activity can still result in highly valuable data. How are people finding your new feature? Do free users engage with it as much as paid users? What can you learn from looking at cohort behavior before/after a pricing change?&lt;/p&gt;

&lt;p&gt;Even if it’s true that early data is valuable data, it might still be too expensive to implement a “data practice,” right? What would it even entail? The Facebooks and Googles of the world have armies of engineers that speak another language, with words like Hive, Presto, Hadoop, and Flink, but all of that is usually a distraction for founders and early employees who must remain focused on making things people want. You could just spin up a separate database (whatever your application uses) and start dumping reporting data in there, but to do that well you’d probably want to build a frontend for it so you could include data from third parties like your CRM, your marketing email service, website analytics, etc. And you probably also want some sort of visualization tool, the stuff that enterprises call “business intelligence.” And if you do your job well and collect a lot of relevant data, you’ll quickly reach storage sizes that become a material part of your infrastructure costs.&lt;/p&gt;

&lt;p&gt;So, while I still contend that there &lt;em&gt;is&lt;/em&gt; a way to do all of this cost-effectively (in terms of both money &lt;em&gt;and&lt;/em&gt; time!), it’s easy to understand why most early-stage startups don’t bother. This results in one of the few advantages big companies hold over small startups: big companies which are well-run are disciplined about using data to drive decisions. &lt;strong&gt;Small startups might pay lip service to data-driven decisions, but they can’t actually do this because they don’t even have all their data in one place.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The way I learned about all this, by the way, was from working in my own tiny startup a few years ago. The solution I came up with at the time was not only for internal reporting; we also used it to serve embedded analytics to our users (at a small fraction of the cost charged by third parties who specialize in this stuff). A lot of the underlying technologies have improved since then, which is great news for anyone interested in re-implementing this today.&lt;/p&gt;

&lt;p&gt;The very rough recipe is as-follows:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Use &lt;a href=&quot;https://aws.amazon.com/athena/&quot;&gt;Amazon Athena&lt;/a&gt; to store your data. This uses Presto and a bunch of other fancy data-land goodies under the hood, but you don’t need to worry about that. Unfortunately the documentation for Athena is inscrutable to mere mortals, but there are a &lt;strong&gt;simple set of best-practices you can follow without becoming an Athena expert (let me know in the &lt;a href=&quot;https://forms.gle/6PtpnLDtxuctU9Py7&quot;&gt;Google Form&lt;/a&gt; if you’d like me to write about this).&lt;/strong&gt;&lt;/li&gt;
  &lt;li&gt;Build a simple ingestion pipeline. This is way easier nowadays, because Athena supports SQL INSERT statements, so you can just build a normal REST API with a normal SQL backend. (It used to be necessary to interact with the S3 files that back Athena, and this was awkward.) I recommend having a single endpoint to consume all your writes, rather than separate endpoints for each resource type, because you want the process of adding new resource types to be very lightweight. You can put this API behind a queue if you envision consuming a lot of writes.&lt;/li&gt;
  &lt;li&gt;Don’t worry about migrating all your existing data into the system, at least not at first. (It will feel intimidating and prevent you from actually using it.) Instead, focus on instrumenting your app to copy new writes into Athena (in addition to your application database). You might also want to instrument new events, which are unrelated to your application objects—page loads, for example. You probably don’t need to worry about instrumenting client-side events, at least initially.&lt;/li&gt;
  &lt;li&gt;Instrument all your third-party tools to send data into Athena as well. The easiest way to do this is using something like &lt;a href=&quot;https://zapier.com/&quot;&gt;Zapier&lt;/a&gt;. This way your entire company can be queried in one place.&lt;/li&gt;
  &lt;li&gt;Now you need a convenient way to query Athena and visualize the results. The options at this point are endless (it’s “just SQL” after all) and switching costs are low, so pick anything you like. &lt;a href=&quot;https://redash.io/&quot;&gt;Redash&lt;/a&gt; is a nice open-source option which you could either host yourself or have them host.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This approach costs approximately 1 engineer-week to set up, with an ongoing monthly cost in the low hundreds of dollars (depending on storage size and usage). The general architecture will scale from gigabytes all the way up to petabytes of data if you need it to. Best of all, once it’s in place, this system will change the question from “How can I measure this?” to “What should I measure?” which is a much more powerful question.&lt;/p&gt;</content><author><name></name></author><summary type="html">After writing this post, I was inspired to write more about the topic and spun up a new site around it. Head over to www.tabbydata.com to learn more!</summary></entry><entry><title type="html">Can COVID accelerate the exportation of Silicon Valley?</title><link href="/2020/07/28/covid-export-silicon-valley.html" rel="alternate" type="text/html" title="Can COVID accelerate the exportation of Silicon Valley?" /><published>2020-07-28T15:45:00+00:00</published><updated>2020-07-28T15:45:00+00:00</updated><id>/2020/07/28/covid-export-silicon-valley</id><content type="html" xml:base="/2020/07/28/covid-export-silicon-valley.html">&lt;p&gt;When I started my current job, I was seeking refuge from my failed bootstrapped startup. We had a product, we had customers, but we didn’t have &lt;em&gt;growth&lt;/em&gt;. (In theory, that is ok for a bootstrapped startup! The full story involves a slew of other major mistakes on my part, but that’s for another day.)&lt;/p&gt;

&lt;p&gt;I’ve &lt;a href=&quot;/2019/11/29/playing-in-the-big-leagues.html&quot;&gt;mentioned previously&lt;/a&gt; that it was my first “Silicon Valley” job, and I distinctly remember that when any of my new colleagues heard about my reason for joining they would invariably say something like “wow, if that happened here you would just go find an investor and keep going.” Now, I don’t think that’s entirely true: the difference between life and death for a startup, certainly in the long run, will probably not be due to location alone. Nevertheless, there’s obviously &lt;em&gt;something&lt;/em&gt; special about startups in Silicon Valley, and previous &lt;a href=&quot;http://www.paulgraham.com/pgh.html&quot;&gt;attempts to replicate that ecosystem elsewhere&lt;/a&gt; have been unsuccessful.&lt;/p&gt;

&lt;p&gt;COVID has accelerated the de-centralization of technology companies, with Facebook and Google both announcing that they will support fully remote workers for at least the next year, and with younger startups following suit or even terminating their office leases entirely. The broader ecosystem has also been forced to follow suit, with the Sand Hill types taking meetings over Zoom.&lt;/p&gt;

&lt;p&gt;In theory, all of this should mean that Silicon Valley as a concept can be more rapidly de-coupled from geography, but in practice it’s an uphill climb. For instance, the young computer programmer in Omaha will still have a much harder time getting a job at Facebook than the young computer programmer in Oakland. The startup founder in Pittsburgh will still have a much harder time getting in front of a VC than the startup founder in SoMa. I think the reasons for this are twofold:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;Personal networks are still tightly coupled to geography, and (at least on the margins) SV’s “meritocracy” is heavily dependent on personal networks. The young computer programmer in Oakland is more likely to know someone at Facebook–even tangentially–than the one in Omaha.&lt;/li&gt;
  &lt;li&gt;Cognitive bias is hard to overcome. For example, even though investors are heavily incentivized to be good at picking outliers, the urge to “pattern-match” against previous successful founders is high, and the founder from Pittsburgh might not match the pattern.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I don’t know what will change this. If the rest of the world continues adjusting daily life to function despite COVID while the US continues its perilous descent into madness, that might contribute to an even more de-centralized Silicon Valley. Or maybe there will be a new kind of &lt;a href=&quot;http://www.paulgraham.com/revolution.html&quot;&gt;revolution&lt;/a&gt;.&lt;/p&gt;</content><author><name></name></author><summary type="html">When I started my current job, I was seeking refuge from my failed bootstrapped startup. We had a product, we had customers, but we didn’t have growth. (In theory, that is ok for a bootstrapped startup! The full story involves a slew of other major mistakes on my part, but that’s for another day.)</summary></entry><entry><title type="html">Scaling impact</title><link href="/2020/07/15/scaling-impact.html" rel="alternate" type="text/html" title="Scaling impact" /><published>2020-07-15T13:53:00+00:00</published><updated>2020-07-15T13:53:00+00:00</updated><id>/2020/07/15/scaling-impact</id><content type="html" xml:base="/2020/07/15/scaling-impact.html">&lt;p&gt;The business world, and especially the tech world, seeks (at least purportedly) to measure people by their “impact.” The idea is that, if we could successfully quantify the individual impact of every person in an organization, and then reward and promote (or punish and demote!) them accordingly, we would achieve collective enlightenment, crossing a threshold into the nirvana of meritocracy.&lt;/p&gt;

&lt;p&gt;I am, of course, being a bit facetious. But the goal of creating a meritocracy based on impact is mostly noble, and as a participant in such a game the question then becomes: “what is this impact, and how may I produce more of it?” (The shibboleth here is “how can I scale my impact?”) Other questions quickly follow. Below are my thoughts, written quickly and only edited lightly—caveat emptor.&lt;/p&gt;

&lt;p&gt;(Everything here is pretty strictly related to the world of software engineers and their managers, and I have not given any thought to whether it translates to other roles/industries.)&lt;/p&gt;

&lt;h2 id=&quot;how-can-individual-contributors-ics-scale-increase-their-impact&quot;&gt;How can individual contributors (ICs) scale (increase) their impact?&lt;/h2&gt;

&lt;ul&gt;
  &lt;li&gt;The first instinct is to go deeper technically, i.e. learn to produce better code more quickly. This is a good instinct early in your career, but eventually leads to diminishing returns inside an organization, because the hardest (most expensive) problems are not producing good code quickly, but rather coordinating multiple producers and then operating/maintaining the resulting product.&lt;/li&gt;
  &lt;li&gt;The next step is often helping those around you produce better code more quickly. This takes the form of sharing knowledge with your peers and mentoring more junior engineers.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Eventually senior ICs will need to take ownership of the bigger problems mentioned above: coordinating people and operating/maintaining systems.&lt;/p&gt;

&lt;h3 id=&quot;operability-and-maintainability&quot;&gt;Operability and maintainability&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;One way to improve the operability and maintainability of systems is to consider those properties in the design phase. Senior ICs can scale their impact by designing systems this way, and by helping their peers to do the same.&lt;/li&gt;
  &lt;li&gt;Another way to improve operability and maintainability of a system is to institute cultures, practices, and processes around this.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3 id=&quot;coordinating-people&quot;&gt;Coordinating people&lt;/h3&gt;

&lt;ul&gt;
  &lt;li&gt;This is often thought of as being a manager’s job, but in reality the manager shares this responsibility with senior ICs. Senior ICs are responsible for producing, communicating and socializing technical proposals.&lt;/li&gt;
  &lt;li&gt;A way to scale impact even further is to maintain broad perspective on the technical proposals and decisions that are happening elsewhere in the organization, and proactively promoting alignment between them. (Managers will usually maintain wider visibility than ICs, while ICs should have deeper technical perspective. This is one reason why manager &amp;lt;&amp;gt; IC alliances are very important, and increasingly so at higher levels of seniority on each side.)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 id=&quot;how-can-engineering-managers-ems-scale-their-impact&quot;&gt;How can engineering managers (EMs) scale their impact?&lt;/h2&gt;

&lt;p&gt;I know less about this! I’ve been an EM in the past, and I have observed many great EMs as an IC. Here’s how I think about it:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Except in the most pathological of organizations, EMs are ICs who have “graduated.” The first instinct is usually to build on top of the senior IC playbook, with a focus on the “coordinating people” side of things and also the mentorship/training aspect.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;There are 3 ways I can think of for an EM to grow from this baseline.&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;They can be really good at incubating senior ICs for the rest of the organization by doubling down on the mentorship/training work. Managers in this role are usually deeply focused on a single team of ICs.&lt;/li&gt;
  &lt;li&gt;They can become more efficient at coordinating people, such that they can handle more direct reports and eventually indirect reports (by becoming a manager of managers). In practice this looks a lot like focusing “outward” or “upward” rather than “down” to their reports. Managers in this role must focus on maintaining communication with many different stakeholders across many different teams and projects.&lt;/li&gt;
  &lt;li&gt;Maybe as a combination of (1) and (2), they can become an incubator of new teams and workstreams for the organization. I don’t have as good of a mental model for this, but I’ve noticed that some managers are basically good at helping the organization identify and staff problems, and that’s valuable.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2 id=&quot;what-happens-when-people-around-you-are-scaling-their-impact&quot;&gt;What happens when people around you are scaling their impact?&lt;/h2&gt;

&lt;p&gt;There are some interesting dynamics that can occur in groups of people who are all growing alongside one another. Within a small engineering team, there can sometimes be a perception of a limited-sum game; for example, team members might feel that there are not enough high-impact opportunities within a given period. Similarly, in cases where an EM is growing to become more efficient at maintaining communication with many different stakeholders, early partners might feel a loss of access to that manager. (A common example of this is reports who notice that it’s becoming harder to get their manager’s attention.)&lt;/p&gt;

&lt;p&gt;My only thoughts on this front are:&lt;/p&gt;

&lt;ol&gt;
  &lt;li&gt;If you find yourself bumping up against these things, you should communicate your feelings! To your manager, to your colleagues, etc. There might not be anything they can directly do about it (there may truly be limited projects, the manager may truly have less time for each person than they did previously, etc) but fostering a collaboration in career growth with your peers, rather than competition, is a good thing.&lt;/li&gt;
  &lt;li&gt;Ultimately, it has always been the case that seeking career growth sometimes necessitates looking further afield, whether that’s an internal transfer or a new employer. To a certain extent, that seems inevitable.&lt;/li&gt;
&lt;/ol&gt;</content><author><name></name></author><summary type="html">The business world, and especially the tech world, seeks (at least purportedly) to measure people by their “impact.” The idea is that, if we could successfully quantify the individual impact of every person in an organization, and then reward and promote (or punish and demote!) them accordingly, we would achieve collective enlightenment, crossing a threshold into the nirvana of meritocracy.</summary></entry></feed>