Remix.run Logo
kabes 14 hours ago

"He finally concluded with some requests to the postgres developer community"

... You're one of the most well funded companies in the world, you shouldn't be asking for features to open aource devs, but you should be opening PRs

onion2k 14 hours ago | parent | next [-]

That assumes that every problem can be solved with money, and that the money (or the PRs the money funds) will be welcomed by the community. By talking about what OpenAI needs Bohan is hopefully starting a conversation with the community in order to engage with everyone respectfully and to work with them.

Railroading an open source project with money or dev time in order to force it to go in the direction you want is not the right way. Those things should be available if the community asks, but they shouldn't be the opening offer.

croes 14 hours ago | parent | next [-]

I thought OpenAI has an AI that can code.

deadbabe 14 hours ago | parent | prev [-]

It’s open source, you make your own fork and move on with or without the community.

airstrike 14 hours ago | parent | next [-]

OK but then you lose the benefit of all future upstream changes and now you have to manage constant rebasing

Engaging the community and intelligently advocating for improvements is a way to contribute to projects as well, especially if you're willing to use a disposable forks to explore the design space, put forth RFCs, PRs, etc.

deadbabe 11 hours ago | parent | next [-]

Oh the horror of having to do some rebasing in a world where LLMs do all the hard work for you anyway. And at an AI company with unlimited access to compute resources no less.

WesolyKubeczek 13 hours ago | parent | prev [-]

> OK but then you lose the benefit of all future upstream changes and now you have to manage constant rebasing

I thought they were swimming in enough money to hire someone to do the rebasing. Or dogfood their models to do the same.

cryptonector 11 hours ago | parent | prev [-]

You really don't want to do that with PG. Keeping your patches rebased will be a huge pain.

deadbabe 8 hours ago | parent [-]

Use LLMs.

cryptonector 8 hours ago | parent [-]

No, not for that.

deadbabe 6 hours ago | parent [-]

For anything, they probably excel at these sort of tasks.

cryptonector 5 hours ago | parent [-]

I use https://gist.github.com/nicowilliams/ea2fa2b445c2db50d2ee650... for this.

deadbabe an hour ago | parent [-]

You could expose this as a tool for an LLM.

samwillis 12 hours ago | parent | prev | next [-]

Going to PGconf.dev, explaining what you are doing to the core devs, the problems you faced, and what you would love to have as feature in Postgres, is exactly the right way to go about improving Postgres.

Blindly opening "PRs" (Postgres doesn't work in this way, it's diffs on a mailing list) would not get you anywhere very fast. You need buy in and consensus from the wider development team.

zie 11 hours ago | parent | prev | next [-]

Just like with any other OSS project, you have to convince the upstream developers that your PR is worth merging.

You don't do that by throwing PR's over the wall and then moving on. You do that by being part of the community.

That said sometimes you just don't have the resources to engage another community at the moment, so you push the PR over the wall anyway, assume it won't ever land and act accordingly.

The smaller and less impactful the change, the bigger chance of it landing. I'm always clear with my PR's that I push over the wall though: I probably won't be around to maintain this, feel free to not merge, etc. I also try to thank them for their service to the community and share how their code made my life easier.

victorbjorklund 12 hours ago | parent | prev | next [-]

It does not matter if you open a PR if the project is not open to that solution. You can't just add any random thing to Postgres as an outsider. You first have to convince the people in the project that X is a good thing to add and only after that does it make sense to actually implement it (and even then unlikely that OpenAI has a developer on staff with enough Postgres experience to actually write it. More likely they will then just sponsor a dev from the project).

cryptonector 11 hours ago | parent | prev | next [-]

> ... You're one of the most well funded companies in the world, you shouldn't be asking for features to open aource devs, but you should be opening PRs

PG is really difficult to contribute to because it's such a fast moving target. You get your patches into one commitfest and then you don't get them accepted in time, now you're into the next commitfest, and now you have to rebase across 1,000 commits, lather, rinse, repeat.

Contributing to PG is nearly a full-time job!

I bet it's much easier to find an existing committer to PG and pay them as consultants to do the work you need.

And as siblings point out, you have to figure out what the upstream might be willing to accept, and they might have to tell you that. This requires a conversation. Presenting to them is a way to start that conversation.

dahcryn 14 hours ago | parent | prev [-]

that's not how that works.

Money doesn't mean "I built whatever I want and Postgres will evolve into whatever I want by pushing my code". They still need to align and plan. Sure, they'll build the things and contribute, but they don't own it and still need to accomodate the wishes of the project