https://supabase.com/ logo
Join Discord
Powered by
# off-topic
  • g

    garyaustin

    07/08/2022, 9:09 PM
    No bothers, just trying to steer people to where they are likely to get the most help.
  • m

    maiikol1192

    07/08/2022, 9:10 PM
    Thank you very much for your kindness
  • o

    Olyno

    07/08/2022, 10:36 PM
    Also, welcome to the community! @maiikol1192
  • m

    maiikol1192

    07/08/2022, 10:36 PM
    thank u @Olyno
  • j

    jaitaiwan

    07/10/2022, 12:37 PM
    Who's excited for javascript to get pattern matching?! https://github.com/tc39/proposal-pattern-matching
  • o

    Olyno

    07/10/2022, 1:31 PM
    It's a cool feature, but is it required for Javascript? I mean, if we add all good features of other languages, like this feature from Elixir (and maybe Rust), Javascript will become a more messy language
    j
    s
    • 3
    • 79
  • j

    jaitaiwan

    07/10/2022, 1:42 PM
    On the merits of pattern matching
  • t

    Tocas

    07/12/2022, 2:10 AM
    thoughts on making supabase requests from the front-end? sveltekit endpoints can be pretty finnicky sometimes (idk maybe im just not very good :P), but regardless supabase has RLS so I don't think it should make too much of a difference if I do it all from the frontend?
  • t

    Tocas

    07/12/2022, 2:11 AM
    all of the starter guides have requests from the front-end, so i just want to know your opinions on this 😄
  • s

    silentworks

    07/12/2022, 2:13 AM
    Use the one you are most comfortable with, I tend to do a mix of both client-side and server-side requests.
  • t

    Tocas

    07/12/2022, 2:18 AM
    what kinds of requests do you do client-side and what kinds of requests do you do server-side?
  • m

    MrNiceRicee

    07/12/2022, 3:42 AM
    i generally feel weird about making the db query statements (even ORM) in the client side code. plus it would add more JS & complexity to client-side code. made a backend, that still verifies the user tokens. plus the backend is directly connected to the DB, since I'm more comfortable with raw queries than orm. (also because i couldn't figure out json_build_object & dynamic queries in the supabase ORM)
  • t

    Tocas

    07/12/2022, 4:05 AM
    oh I see cool
  • l

    laznic

    07/12/2022, 4:34 PM
    A bit late to the party, however I also mix both client-side and server-side requests. Mainly everything happens on the server, however, I'm e.g. using the real time subscriptions on the client side to refresh some of my views to reduce the Web Socket traffic and resources on my own server.
  • j

    jaitaiwan

    07/12/2022, 11:40 PM
    Hey folks, I thought I'd jump in. For my applications I use almost entirely client-side requests and use server-side requests only when needed (like when you're implementing multi-tenancy and need to allow an admin to send invites off). The reason for doing this is I want to get close to not using a server for my front-end application so that the development lifecycle is quite fast. All I need to do in most cases to get "server-side" functionality is write an edge function OR a postgres function (better because it can use postgres' security without extra code) and call that from the front-end.
  • j

    jaitaiwan

    07/12/2022, 11:41 PM
    @MrNiceRicee is right that json_build_object and others are really hard to figure out, but I managed to do some of it. I'm looking forward to when the head of documentation position is filled in supabase so we can hopefully get some more light put on how the ORM system works. I've done some deep dives into the code and api on it so I can be somewhat useful for some problems if anyone needs any help.
  • o

    Olyno

    07/13/2022, 9:25 PM
    Hi Please ask in #843999948717555735 this is a more appropriate place
  • n

    NeatFastro

    07/14/2022, 6:57 PM
    Has anyone tried to self host the supabase on one of the cloud providers (aws, gcp) if so what would you say/advice to someone who's going to go that route?
    s
    • 2
    • 1
  • p

    pedrodiaz

    07/14/2022, 8:03 PM
    I'd wish him/her good luck
  • s

    Scott P

    07/14/2022, 11:03 PM
    Has anyone tried to self host the
  • a

    abstractfish

    07/15/2022, 6:30 AM
    oh no
  • a

    abstractfish

    07/15/2022, 6:30 AM
    im trying to go the azure route myself
  • a

    abstractfish

    07/15/2022, 6:30 AM
    @pedrodiaz what’s bad about it
  • z

    zenny.eth

    07/17/2022, 4:36 AM
    Has anyone ever tried logical replication into a supabase?
  • n

    nahtnam

    07/17/2022, 10:18 PM
    Anyone else noticing that nextjs + supabase + supabase auth helpers + vercel is sometimes taking over a second to load the user in SSR? It pretty much makes SSR kinda useless. I saw a comment here also saying that: https://github.com/supabase-community/auth-helpers/issues/55#issuecomment-1088203230, not sure if there is anything I can do about it
    • 1
    • 8
  • z

    zenny.eth

    07/18/2022, 7:58 AM
    Anyone ever seen this?
  • p

    pedrodiaz

    07/18/2022, 3:07 PM
    why does the input box looks like that lol
  • k

    kishansripada

    07/18/2022, 4:52 PM
    does supabase do rate throttling for the free tier, cuz occasionally all my supabase requests just don't go through for like 30 seconds, then everythings back to normal
    s
    • 2
    • 2
  • k

    kishansripada

    07/18/2022, 4:52 PM
    over the last 7 days i've made 9000 requests, but i didn't htink this was that much
  • s

    Scott P

    07/18/2022, 5:28 PM
    does supabase do rate throttling for the
1...241242243...392Latest