Skip to content

Instantly share code, notes, and snippets.

View arthurgousset's full-sized avatar

Arthur Gousset arthurgousset

View GitHub Profile

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@arthurgousset
arthurgousset / GooglePlatformRant.md
Last active April 23, 2022 12:40 — forked from chitchcock/20111011_SteveYeggeGooglePlatformRant.md
Steve Yegge's Google Platforms Rant

💡 Lessons from Steve Yegge: Google Platforms Rant

TLDR:

  • "Platform-ized" products are better than "Platform-less" products
    • therefore, build service-oriented architectures
      • a product is useless without a platform

    • why? because it's impossible to reliably predict and build what everyone wants
      • the other big realization [Jeff Bezos] had was that he can't always build the right thing.

  • Dogfooding: use your own product
with
dau as (
-- This part of the query can be pretty much anything.
-- The only requirement is that it have three columns:
-- dt, user_id, inc_amt
-- Where dt is a date and user_id is some unique identifier for a user.
-- Each dt-user_id pair should be unique in this table.
-- inc_amt represents the amount of value that this user created on dt.
-- The most common case is
-- inc_amt = incremental revenue from the user on dt