HackerTrans
TopNewTrendsCommentsPastAskShowJobs

steve-chavez

no profile record

Submissions

Single header Parser Combinators for C

github.com
80 points·by steve-chavez·11 dni temu·15 comments

PgPointcloud – A PostgreSQL extension for storing point cloud (Lidar) data

pgpointcloud.github.io
3 points·by steve-chavez·8 miesięcy temu·0 comments

FFI Overhead

github.com
2 points·by steve-chavez·10 miesięcy temu·1 comments

Asynchronous Exceptions in Practice (2017)

simonmar.github.io
1 points·by steve-chavez·10 miesięcy temu·0 comments

comments

steve-chavez
·10 dni temu·discuss
Many thanks! It took me a long time to come up with the interface. I've been wanting a good parser combinator library for C since 2023 when I contributed to mpc[1]:

[1]: https://github.com/orangeduck/mpc/commits?author=steve-chave...
steve-chavez
·2 miesiące temu·discuss
Many thanks for your work pramsey. We use that exact function [1], do you have any plans for a similar function for TopoJSON? One that also has a record parameter? [2].

[1]: https://github.com/PostgREST/postgrest/blob/f1d0e8ea2266077d...

[2]: PostGIS has https://postgis.net/docs/AsTopoJSON.html but it doesn't take a record.
steve-chavez
·4 miesiące temu·discuss
One thing that is missing is a standard no-LLM policy, like the "Contributor Covenant Code of Conduct". On PostgREST we recently added a strict no-LLM policy [1], basically linking Gentoo's AI policy, which we found the most apt in lack of a standard.

[1]: https://github.com/PostgREST/postgrest/blob/main/CONTRIBUTIN...
steve-chavez
·5 miesięcy temu·discuss
> It's a replacement for SQL, the language

PostgREST doesn't provide a replacement, rather a subset of the SQL language meant to be safe to expose to untrusted (frontend) clients.

Load balancing is not built-in currently, but it can be done at the proxy layer, taking the advantage that GET/HEAD requests are always executed on read only transactions, so they can be routed to read replicas. This is what Supabase does [1] for example.

[1]: https://supabase.com/docs/guides/platform/read-replicas#api-...
steve-chavez
·5 miesięcy temu·discuss
> PostgREST translates HTTP straight into SQL, so if you get a policy wrong (or forget one), game over

Do note that by default in PostgreSQL/PostgREST, RLS is the third layer of AuthZ defense, you have table and column level security before and these are closed by default.

> In Supabase's model, it's a breach.

Supabase is currently working on being closed by default.
steve-chavez
·2 lata temu·discuss
So cool! For some reason navigating to Github/Discord by clicking the links is slow on my phone (old galaxy s20fe). The click highlight of the button is normal, just going to the sites is slow.
steve-chavez
·3 lata temu·discuss
They do use it:

- https://supabase.com/docs/guides/api#rest-api-overview

- https://supabase.com/docs/guides/getting-started/architectur...
steve-chavez
·5 lat temu·discuss
Hey @pschetelat.

I've opened a Jobs Board[1] on PostgREST GitHub discussions. If you'd like you could also post the job offer there.

[1]: https://github.com/PostgREST/postgrest/discussions/categorie...