News for hackers. Stuff that matters.
Re:Stochastic gradient descent written in SQL by kiwicopple on Wednesday March 08, 2023 @06:15AM (#35067655)
disclosure: supabase ceo

plv8 doesn't have network access, but this can be done with PostgREST.

That said, we actually restricted the HTML content-type on our platform so that users cannot do this. This is because we don't want to get too deep into the "frontend" world, with ever-changing frameworks.

We've found that if we offer a small feature, our users demand feature-completeness. In this case we're better-off waiting until we have solve a few of the major database tasks (branching + migrations, scale-to-zero, edge caching, etc)

FWIW, I think it's very cool serving HTML through PostgREST. I would be pretty happy to do this personally

Re:Stochastic gradient descent written in SQL by dventimi on Wednesday March 08, 2023 @12:32PM (#35072020)
disclosure: Supabase user

Long time user, first time caller. Besides the DO droplet, separately I also use Supabase and I love it.

I understand completely about restricting the content type, maybe just for now. Fun fact: I work around it by serving up text/xml plus XSLT. I'm sure you don't mind.

Re:Stochastic gradient descent written in SQL by kiwicopple on Thursday March 09, 2023 @12:01AM (#35078460)
> I work around it by serving up text/xml plus XSLT. I'm sure you don't mind.

Not at all, I hear "application/xhtml+xml" is a nice hack from some of the team