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

    HarryET

    11/27/2021, 9:01 AM
    Yeah, it's a bit more involved then that. Also contribuing to open source is different for every project. The readme.md tells you about the project and the contributing.md tells you how to help
  • f

    Fatuma

    11/27/2021, 12:37 PM
    I will take a better look then. If I get stuck I will find you 🙃 and thanks 🙂
  • h

    HarryET

    11/27/2021, 12:39 PM
    Awesome! Happy to help 😛
  • f

    Fatuma

    11/27/2021, 12:40 PM
    @HarryET 👍
  • h

    HarryET

    11/27/2021, 7:47 PM
    Eth Auth! https://twitter.com/TheHarryET/status/1464678182372655110
  • u

    0xAvneesh

    11/28/2021, 8:23 AM
    Hey, I have built a project which was initially built with firebase but now I want to migrate it to supabase. It is open source so if someone is interested then they can dm me. It is a 1:1 chat app built with Next.js, clerk, firebase, tailwindCSS. https://github.com/avneesh0612/ChatCube A few things in the app is broken right now because we are planning to make version 2 but I can explain everything to you if you are interested 🙂 Thanks! 😄
  • d

    debabrata

    11/28/2021, 8:37 AM
    Is there some problem with Supabase storage?
  • d

    debabrata

    11/28/2021, 8:40 AM
    I am not able to scrub through videos stored there.. and there are answers online suggesting that this might happen due to lack of an "Accept-Ranges header"
  • d

    debabrata

    11/28/2021, 8:46 AM
    and it looks like the entire video is being downloaded before the video starts playing
  • a

    anothercoder

    11/28/2021, 8:55 AM
    If u set the bucket to public, the streaming shld work: https://supabase.com/blog/2021/07/27/storage-beta I think u are using a signed url from a private bucket so that may not be supported? U can also ask in github discussions: https://github.com/supabase/supabase/discussions https://github.com/supabase/storage-api/issues
  • d

    debabrata

    11/28/2021, 8:56 AM
    Yes I am using signed URLs from a private bucket... They were working fine just yesterday though 😦
  • a

    anothercoder

    11/28/2021, 8:58 AM
    ic, I am just guessing it could be the cache control thing, maybe u can set it to 0 when u upload the file thru code, or disable cache in your browser devtools.
  • a

    anothercoder

    11/28/2021, 8:59 AM
    If u upload the file using the dashboard, u can see whats the default cache control in the storage.objects table, metadata field.
  • d

    debabrata

    11/28/2021, 9:01 AM
    Okay, I'll check. Thanks
  • d

    debabrata

    11/28/2021, 9:01 AM
    And I'm uploading files from my next.js app
  • a

    anothercoder

    11/28/2021, 9:02 AM
    An easier way is to open the link in a private/incognito browser window so any cached stuff wont be used.
  • d

    debabrata

    11/28/2021, 9:02 AM
    Okay I'm doing it now
  • d

    debabrata

    11/28/2021, 9:04 AM
    Same thing is happening in incognito
  • d

    debabrata

    11/28/2021, 9:14 AM
    Created a public bucket and uploaded a video there. Looks like I cannot scrub through that as well...
  • i

    ian_sama

    11/28/2021, 4:20 PM
    What is the difference between these two flutter packages?
    Copy code
    https://pub.dev/packages/supabase_flutter
    https://pub.dev/packages/supabase
  • a

    Adi

    11/28/2021, 5:27 PM
    In supbase I see Transfer limits does that include inbound and outbound transfer both?? Or only outbound trnasfer
  • u

    user

    11/28/2021, 5:28 PM
    only egress / download
  • e

    e0

    11/28/2021, 5:44 PM
    I'm wondering if storage got some updates very recently that broke the streaming functionality for videos. Earlier this week I just added an mp4 video and had no problems playing it on Safari (macOS and iOS). Today I saw that videos are no longer being loaded and I'm getting this error: "Failed to load resource: Plug-in handled load". Searching about this error lead me to a few explanation of this type: https://stackoverflow.com/a/32998689 and it seems like byte-range requests are currently not working. I can confirm that the video manages to load on Firefox and Chrome.
  • d

    debabrata

    11/28/2021, 5:46 PM
    Yeah the video does not even load in Safari
  • e

    e0

    11/28/2021, 5:55 PM
    Ah ok, "nice" that it's not just me then. I wanted to create an issue about this on https://github.com/supabase/storage-api now but I see that it hasn't received any changes recently (last change was 20 days ago). So I'm not sure if this is the right place to create the issue. Maybe something changed in the storage backend that's not publicly available. Edit: I have contacted support about this problem now. Also found someone reported a similar problem here: https://github.com/supabase/supabase/discussions/4115
  • a

    Adi

    11/28/2021, 7:20 PM
    I want to connect social media accounts (FB, Instagram & twitter) with my application so that I can get long loved access token and make requests for getting data on behalf of users. Any good practice which I should follow? Should I directly do user id and access token mapping and store it in db? Any other suggestions?
  • s

    Sophic

    11/28/2021, 10:01 PM
    I think this is a bit more general than a specific supabase use case - but something I am running into. I am using supabase as more of a traditional database. On a request to my server I am first passing the
    access-token
    to
    superbase.auth.api.getuser
    then using that user token to lookup the profile of the user then using that profile.id to look up the resource I am actually looking for. That has made my individual api requests a little slow. Anyone have any thoughts?
  • a

    anothercoder

    11/29/2021, 1:56 AM
    I get the user id from the successful result of getUser and then look up the id from my own users table to do my extra authentication and authorization.
  • s

    Sophic

    11/29/2021, 2:16 AM
    Yea thats what I am doing but just seems to be adding a ton of latency to every request
  • a

    anothercoder

    11/29/2021, 2:19 AM
    ic, i did not test this yet...but this seems the standard way of doing things to me 🙂
1...146147148...392Latest