Tom
Tom
Explore posts from servers
TTCTheo's Typesafe Cult
Created by johnny the fifth on 10/7/2023 in #questions
how do developers learn from the docs ?
but i pretty much never start just by reading the docs
10 replies
TTCTheo's Typesafe Cult
Created by johnny the fifth on 10/7/2023 in #questions
how do developers learn from the docs ?
then my next question was 'how hook into the video feed so that i can run some code when a new video frame happens?' so i google'd that and chatgpt'd it and eventually i found an example of a simple plugin that did that
10 replies
TTCTheo's Typesafe Cult
Created by johnny the fifth on 10/7/2023 in #questions
how do developers learn from the docs ?
for instance, right now im working on a simple plugin for OBS, so my first question was: 'how do i run any code at all in obs?' so i google'd around and found their starter template
10 replies
TTCTheo's Typesafe Cult
Created by johnny the fifth on 10/7/2023 in #questions
how do developers learn from the docs ?
personally (maybe this is just me) i only look at the docs for reference. i never start there. ill start with a project in mind and break it up into pieces until i get down to a fundamental question i dont know how to answer, then i'll just look for the answer to that specific question and go from there.
10 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
But I’m about to fall asleep on my phone so I might have missed it
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
I’ll have to look into it. I don’t see where they say explicitly this will help with the real-time stuff which is what my app needed
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
anyway, thanks for coming to my TED talk
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
and ofc you can just query the data 1 object at a time like normal if you want to switch over incrememntally
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
there is some vendor lock in to be concerned about, but most of the stuff is pretty easy to migrate. supabase has a way to import firebase users. storage can just be downloaded, and firebase has a backup process that allows you to download the whole db in a bulk zip
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
thats just my app, but basically my point is that while i agree with theo that relational databases are generally a better choice, the firebase stuff has things that nobody else has
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
so my app keeps the queryable data / data that needs transactions in supabase. it then pushes app state to firebase to push it out to the clients. auth is in firebase and image storage is in firebase as well
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
oh and finally. supabase jumps in price from free to $25 per month, as opposed to google which just charges you for usage after you break the free tier
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
it also doesnt push app state, it just pushes transactions, which are much harder to work with IMO
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
and supabase claims to have 'realtime push with pg notifications' but they really only seem to support ~200 clients connected at once as far as i can tell
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
for storage supabase storage seems to be cheaper, but i think its still s3 based so you need to write a bunch of code to use pre-signed urls and things like that
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
supabase has a ton more auth providers, but im happy with just 'sign in with google' for now since everyone has that. i believe its also significantly more expensive and the api is similar but not directly compatible
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
cloud firestore is awesome for pushing application state directly from the db. cloud storage is more expensive than s3 but the security rules les you limit upload sizes without needing your own server. and firebase auth (while not as comprehensive as supabase) is wayyyy cheaper than pretty much any other option out there.
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
but ill quickly mention that i didnt really leave firebase. i just use it for the things its best at
25 replies
TTCTheo's Typesafe Cult
Created by jpgatica on 8/22/2023 in #questions
Migrating from Firebase to Supabase
ill add my app started in firebase and (like you) stayed there until i needed better querying
25 replies
TTCTheo's Typesafe Cult
Created by mac on 8/16/2023 in #questions
React-Hook-Form Issue
the 2nd parameter to handleSubmit() is an onError() function, which should have a lot more info on whats wrong
8 replies