HackerTrans
TopNewTrendsCommentsPastAskShowJobs

emptysea

no profile record

comments

emptysea
·4 เดือนที่ผ่านมา·discuss
In Postgres you can define custom operators via `create operator`[0]

    -- infix
    select a <!!!> b;

    -- prefix
    select <||> a;
A lot of custom types end up using this [1].

    select @-@ '[(0,0),(1,0),(1,1)]'::path;
    -- 2

[0] https://www.postgresql.org/docs/current/sql-createoperator.h... [1] https://www.postgresql.org/docs/current/functions-geometry.h...
emptysea
·6 เดือนที่ผ่านมา·discuss
Not OP, but I think building feature flags yourself really isn’t hard and worth doing. It’s such an important component that I wouldn’t want to depend on a third party
emptysea
·7 เดือนที่ผ่านมา·discuss
Ruff’s ast is used by Ruff, Ty, and Pyrefly
emptysea
·ปีที่แล้ว·discuss
Also interesting, pyrefly uses Ruff’s parser!

https://github.com/facebook/pyrefly/blob/a8626110da034f8e513...
emptysea
·4 ปีที่แล้ว·discuss
I’m pretty sure adyen requires a decent amount of volume before they will allow you to use them, like in the 10s of millions.

Stripe provides self serve with is nice for getting started and I’m guessing once you’re big enough to jump to adyen, you can likely get a discount on the sticker price since you have bargaining power