This is so cool, "just because we could", but I am curious about possible use cases for Postgres in the browser?
The Electric team have built this extension which will fit that use-case very well: https://pglite.dev/extensions/#live
81–90 of 116 posts
This is so cool, "just because we could", but I am curious about possible use cases for Postgres in the browser?
The Electric team have built this extension which will fit that use-case very well: https://pglite.dev/extensions/#live
[flagged]
In the clause, "you" refers to Supabase. This is a Terms of Use, not a copyright license. ChatGPT text is not copyright protected and the protection of that clause does not extend to the text or to downstream consumers of the text.
The clause is entirely to prevent people asking ChatGPT to generate training data they feed into another model.
From a quick play this is pretty cool! The design choices it made all seemed pretty sensible to me. For example I asked it to create a schema to support a chat application and it came up with something that works pretty well. I then asked it to modify the schema to support various different bits of functionality (e.g. adding support for images in messages, and soft deleting participants from chats) and it was able to…
Earlier quoted context omitted.
We already had SQL model and code generators well before LLMs. What does adding in random output do to improve that?
You havent been using these tools if you think this
The utility of LLMs with code generation varies widely with the problem domain and the amount of experience the developer has.
Earlier quoted context omitted.
I think the point is that many of us would like this without any AI in it, just a simpler Postgres playground in the browser, much like the Rust or Go playgrounds.
> just a simpler Postgres playground in the browser... Then you want pglite. This project uses it and provides a link to it.
pglite.dev/repl does not have the same level of visualizations as postgres.new.
What I 'want' is exactly what I described in my previous message, postgres.new but without the required LLM integration, the same sentiment others had in this thread.
[flagged]
Earlier quoted context omitted.
> just a simpler Postgres playground in the browser... Then you want pglite. This project uses it and provides a link to it.
I obviously saw that since it's linked in the very first message in the chain of messages I responded to. pglite.dev/repl does not have the same level of visualizations as postgres.new. What I 'want' is exactly what I described in my previous message, postgres.new but without the required LLM integration, the same sentiment others had in this thread.
Be aware that the WASM file is 30Mb, but i think it fits what you're describing. details here: https://supabase.com/blog/postgres-wasm
Earlier quoted context omitted.
Is there a way to query the local instance without using the AI input ?
at this stage there is not, but you can just write SQL and the LLM is smart enough to run it directly on the database. I can see some situations you might want direct access to postgres, so we'll jot that done as something to look at too
POST https://postgres.new/api/chat 500 (Internal Server Error)
I've tried, reload, create new project and go back, anything. db id oy6g6g6o5qbt78foEarlier quoted context omitted.
at this stage there is not, but you can just write SQL and the LLM is smart enough to run it directly on the database. I can see some situations you might want direct access to postgres, so we'll jot that done as something to look at too
I'm using it, but keep getting POST https://postgres.new/api/chat 500 (Internal Server Error) I've tried, reload, create new project and go back, anything. db id oy6g6g6o5qbt78fo
I'll flag this with the team but we can't actually access your "db id oy6g6g6o5qbt78fo" as it's run directly in your browser and doesn't touch our servers at all
Earlier quoted context omitted.
You havent been using these tools if you think this
Yes I don’t need to use these tools because I already have code generators. Wondering about config options I use documentation or a search engine. It’s cute to put them together in a single UI but it doesn’t make these tool inherently more intelligent. It just saves me a few alt+tabs. An LLM is just taking prefabbed templates and swapping the possibilities in the answer for a statistically relevant solution. My code…