Live data from Hacker News

Stripe Sigma

stripe.com

61–70 of 123 posts

Re: Stripe Sigma

#61
post #49
post #43

Earlier quoted context omitted.

Your internal data might not be consistent with what is stored in Stripe. Since Stripe is the one processing the payments, it is ultimately the source of truth for all data regarding whether or not transactions went through, failure reasons, disputes... etc. The act of reconciling the list of transactions you have stored in your database with what the source of truth has is an important process for finance teams.

edit: Downvoted for asking a legitimate question about Stripe's data handling protocols. I'll ask Stripe directly. Sorry.

There's plenty of stuff that changes out-of-band, such as subscriptions/invoices, retried charges, etc. You're supposed to use the Webhook system for this, but not everyone bothers.

Re: Stripe Sigma

#62
I've only glanced at this, but I love the idea of making your API be SQL. I did this recently for a company whose customers have a lot of "power users" who are not professional programmers but use tools like R, Excel, Tableau, or even Python. The customers are very happy with it! We saved a ton of time not building a JSON API, which our customers wouldn't be able to use anyway.

Basically we create a customer-specific database whose contents are all derived from our real OLTP database, and give them read-only access to it. In our case they also have to be on a VPN, but we've talked about adding a web-based SQL console like I see here.

It's funny that at first this approach sounds crazy, but really it is what companies have been doing since the 90s: creating flattened read-only reporting databases. If you want to do this, you should read Ralph Kimball's _Data Warehouse Toolkit_ for some inspiration and guidance.

Of course you don't want to give customers access to your OLTP database. Besides the security and performance problems there, if your core database becomes a public API, it is frozen and you can never add another feature again. But a separate reporting database still gives you plenty of flexibility to grow.

Re: Stripe Sigma

#63
Somewhat unrelated but anyone know what Stripe used to create that video run through - it looks really slick and would love to discover some tools to make recording and annotating these kind of videos easy.

Re: Stripe Sigma

#65
A couple of people have mentioned that Baremetrics should feel threatened, and that's where my mind went immediately too. I asked Josh Pigford for his reaction, and this is what he said:

> We've had beta access to it for a while and have known it was coming. Generally not worried about it at all nor do we view it as any sort of competition in any sense of the word.

> It doesn't give access to any new data...it's an SQL wrapper on top of their API (albeit a very pretty one).

> What we've found over the years is that you really need more data sources to make real decisions. So, yes, Stripe has a lot of data, but it only tells you part of the story. And that’s the thing here…Stripe’s not trying to “tell stories” with the data in Sigma. They’re just giving you a specific tool to access the data points.

> Baremetrics, however, is focused on telling the story. We want to help businesses know what to do with the data, not just slice and dice it in to spreadsheets.

> So, in summary, I think it’s neat but it won’t be anything for us to worry about from a competitive standpoint as we’re solving different problems.

That was all on-the-record, obviously, or I wouldn't share it.

Re: Stripe Sigma

#66

Really cool! Signed up for the beta, excited to try it. Although at first glance, it looks quite expensive. Having to pay $10 monthly outright even with no charges feels kinda bad. I'm a huge fan of Amazon's free tiers to experiment with; Stripe's test mode is very nice for the same reason. And on top of this, the pricing being per-charge makes it far more expensive for businesses selling cheaper products ($5 subscri…

I was surprised as this as well. I wouldn't think running these queries on small datasets would take much computing resources and would provide a nice competitive advantage over other alternatives.

Re: Stripe Sigma

#67

I get excited whenever Stripe releases a new product because their demo pages are bar-none the best ever made. The attention to design is very, very nice.

Me too, but I'm disappointed this time... http://imgur.com/a/msL4T

That doesn't look right. Could you share with me your browser and OS versions? edwin@stripe.com

Re: Stripe Sigma

#68

I've only glanced at this, but I love the idea of making your API be SQL. I did this recently for a company whose customers have a lot of "power users" who are not professional programmers but use tools like R, Excel, Tableau, or even Python. The customers are very happy with it! We saved a ton of time not building a JSON API, which our customers wouldn't be able to use anyway. Basically we create a customer-specific…

My first reaction to seeing an SQL-based API is 'ugh'. SQL is complex and a little cumbersome, and easy to get wrong.

My second reaction is 'oh, thank god'. I'm so tired of having APIs where I have to go through the 'get the list of users', 'iterate over the list to create a map', 'get the list of messages', 'iterate over the list of messages and add the username to the data structure', 'oh wait I have to get the channel list separately too, seriously?', 'get the list of channels', 'iterate over the list to create a map', etc.

I love Slack's API, for example, but having to fetch a list of users, along with the entirety of their profile data and everything about them, then do the same for channels, then do the same for messages, then tie everything together, it's very cumbersome compared to

SELECT m.message, m.when, u.username, u.name, c.name FROM messages m LEFT JOIN users u ON (m.uid == u.uid) LEFT JOIN (m.cid == c.cid) where c.name == "#general" LIMIT 50;

(or whatever it should be, I haven't done SQL in ages)

And I also get a lot fewer records, especially when I'm trying to get the last 50 messages from #general on a Slack instance that has 400 users and 200 channels.

Re: Stripe Sigma

#69

Interesting offering. I wonder who they're targeting with this and the problem they're trying to solve. * Is the expectation that everyone can write SQL? * If the customer can write SQL and they're sufficiently large, won't they export the data into their own in-house data architectures to use the tools and processes they already have? * Is data exporting that hard from stripe that they decided to offer a query tool…

SQL is quickly turning into the new Excel. Most excel power users at our company have picked up SQL easily. Our product, merchandising, marketing, finance, and operations have all managed to teach people SQL for everyday use. This tool is for them.

Re: Stripe Sigma

#70
Technically, how would something like this architecturally be structured? Curious how they would sandbox the user data and still provide a SQL like interface.

I wrote something for Doctrine last year where I let my users query their own data using DQL. I had to write a TONNE of AST walkers to ensure that they weren't accessing entities they didn't have permissions to. Was a huge issue that I wish I didn't start :D (But one of those cool things when it was finished)

Post reply on HN