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

    bidipeppercrap

    07/27/2021, 1:36 PM
    My website is just a personal blog
  • x

    Xyo

    07/27/2021, 1:36 PM
    People do really like having instances set up that they never use, and the costs rack up
  • b

    bidipeppercrap

    07/27/2021, 1:37 PM
    Just need my website to readily available every moment
  • x

    Xyo

    07/27/2021, 1:37 PM
    If you truly have long inactivity periods but using the database, you could just issue a call once in a blue moon
  • x

    Xyo

    07/27/2021, 1:38 PM
    Such as setting a cron job to fetch something from PostgREST once a day
  • b

    bidipeppercrap

    07/27/2021, 1:38 PM
    I dont know what is blue moon things
  • x

    Xyo

    07/27/2021, 1:38 PM
    It’s just an expression haha
  • j

    JW

    07/27/2021, 1:38 PM
    go to gcp or any other cloud provider and setup a cron job
  • x

    Xyo

    07/27/2021, 1:38 PM
    ^
  • j

    JW

    07/27/2021, 1:39 PM
    it's free
  • b

    bidipeppercrap

    07/27/2021, 1:39 PM
    Yeah that could solve the problem
  • x

    Xyo

    07/27/2021, 1:39 PM
    I personally use Cloudflare workers for cron jobs like this
  • x

    Xyo

    07/27/2021, 1:39 PM
    Less billing headache than the big 3
  • j

    JW

    07/27/2021, 1:39 PM
    true
  • b

    bidipeppercrap

    07/27/2021, 1:40 PM
    Thanks
  • x

    Xyo

    07/27/2021, 1:41 PM
    So, who else is excited for the announcements this week 👀 ?
  • x

    Xyo

    07/27/2021, 1:41 PM
    I’m really curious what auth changes we’re getting - I’m also a nerd when it comes to dashboard improvements.
  • a

    Ant

    07/27/2021, 1:42 PM
    i'm hoping for custom theming on the dashboard 🤞
  • j

    JW

    07/27/2021, 1:43 PM
    My biggest hope is that auth supports a signin with credentials from oauth providers for native applications without launching web browsers 🧐 like native sign in with google/apple
  • x

    Xyo

    07/27/2021, 1:43 PM
    Like make your own dashboard?
  • m

    M1K3

    07/27/2021, 1:43 PM
    I'm kinda new to supabase. When should I use auth.user() vs auth.session()?
  • x

    Xyo

    07/27/2021, 1:43 PM
    Doesn’t really matter to be honest
  • x

    Xyo

    07/27/2021, 1:43 PM
    You use the one that gives you the info you need
  • m

    M1K3

    07/27/2021, 1:43 PM
    hmm ok
  • x

    Xyo

    07/27/2021, 1:44 PM
    Session will contain the user if I recall correctly
  • m

    M1K3

    07/27/2021, 1:44 PM
    and do people usually make a provider to pass the information down to components?
  • x

    Xyo

    07/27/2021, 1:44 PM
    Not sure what you mean by that - react?
  • m

    M1K3

    07/27/2021, 1:44 PM
    oh yeah
  • m

    M1K3

    07/27/2021, 1:44 PM
    sorry lol
  • m

    M1K3

    07/27/2021, 1:44 PM
    so instead of calling auth.user() on each page
1...101112...392Latest