Im starting to see red bruh you better stop aksing questions the yap is crazy
@benoitd9411 күн бұрын
hi very good tuto on my side the file /content/dataset/data.yaml is missing ? thanks
@ahmelqАй бұрын
This is gold content. Thanks for sharing.
@m12652Ай бұрын
Great stuff... have you tried using sqlite as a local client side store for a pwa without syncing to a server? I'm trying to get something going with Svelte 5 and sql.js (using wasm). It's getting as far as doing the imports etc. but crashes every time I try to create or open a database... all I get is an unhandled error
@m12652Ай бұрын
Great stuff thanks...
@thedelanyoАй бұрын
Great. If your db keeps updating frequently, creating covering index, might not be efficient? Right
@HideBuzАй бұрын
Why are you using quoted connection strings sometimes and sometimes there are no quotes, even though the .method is still one word? What changes? I know you are trying to make it shell proof, but it seems weird that some commands run fine without quotes and other have quotes.
@mohamedhurab50452 ай бұрын
Thank you, Very helpful .
@arpanghoshal25792 ай бұрын
This was good, but a counter is a very simple example. What we have a string data type like imagine collaborative editing like in google docs initially eh the string was "apple" User A changed this string from "apple" to "orange" User B changed this string from "apple" to "mango" Now I imagine there will be two diffs like { "user-A": "orange"} and {"user-B": "mango" } How do we resolve this conflict do we just take the last updated diff?
@arpanghoshal25792 ай бұрын
Okay got a nice answer from chat gpt, sharing below How It Works Let's consider how an RGA CRDT might handle the example: Initial State: Each character in "apple" has a unique identifier. a1, p2, p3, l4, e5 User A's change ("orange"): Deletes all characters: a1, p2, p3, l4, e5 Inserts new characters with new identifiers: o6, r7, a8, n9, g10, e11 User B's change ("mango"): Deletes all characters: a1, p2, p3, l4, e5 Inserts new characters with new identifiers: m12, a13, n14, g15, o16 Merging Changes In CRDTs, changes from all users are merged in a way that ensures consistency: RGA Merging: When User A and User B's changes are merged, the CRDT ensures both sets of operations are applied. Depending on the strategy (e.g., causal ordering), one user's operations might be applied before or after the other. Example Resolution Let's consider a simple resolution where both operations are applied in the order they were received: Initial State: a1, p2, p3, l4, e5 Apply User A's changes: Deletes: a1, p2, p3, l4, e5 Inserts: o6, r7, a8, n9, g10, e11 Result: orange (o6, r7, a8, n9, g10, e11) Apply User B's changes: Deletes: a1, p2, p3, l4, e5 (no effect since already deleted) Inserts: m12, a13, n14, g15, o16 Result: orangemango (o6, r7, a8, n9, g10, e11, m12, a13, n14, g15, o16) Final State After merging: The final string could be a concatenation like orangemango, or based on the chosen strategy, it could interleave characters or even prefer one user's changes if there is a deterministic rule in place.
@edhahaz2 ай бұрын
let me know when SQL works in the browser
@Danielo51526 күн бұрын
It does already. Even postgres
@dikatok2 ай бұрын
very well explained, thank you
@yehudamakarov3 ай бұрын
lol this content is stellar well done
@paulcosta82973 ай бұрын
INDICES
@awksedgreep3 ай бұрын
Exactly what I needed, thank you.
@VolodymyrPavlyshyn3 ай бұрын
more on local first kzbin.info/www/bejne/j2LdlamQpK2AnM0
@VolodymyrPavlyshyn3 ай бұрын
UCAN could give a granular auth
@HVossi923 ай бұрын
Great video, I appreciate the comparison at the end, because I kept wondering about the optimized postgres version. Did you use connection pooling for the three queries?
@atimney3 ай бұрын
Great video, very well explained
@nodidog4 ай бұрын
This is a fantastic explantation, thank you!
@cincoer8 күн бұрын
i dont think so
@flaresaccount17544 ай бұрын
This is a really good video!
@baxiry.5 ай бұрын
AWESOME!
@linz42135 ай бұрын
Fantastic introducing important concept, not mentioning language superiority (OTP rocks BTW)
@user-qp7pn1gy5e5 ай бұрын
cool video 💀💀💀
@doyouwantsli96805 ай бұрын
Sqlite is the best
@RuneViniGarcia5 ай бұрын
Wow, really nice. Thanks for the video!
@tsiroukismichael96065 ай бұрын
Hi , is it possible to do this process in a pythonic way locally , instead of using google colab?
@StartupSpells5 ай бұрын
loved it. was gonna use litestream only but good to learn other backup techniques.
@kubre6 ай бұрын
what a gem of channel
@lilhard6 ай бұрын
You are so good, i'm a surfer and i'm looking for an alternative to the soloshot3 for autotracking, this approach can yield a very powerful app for Iphones or Android smartphones with good telephoto camera, the all combined with a gimbal to enable autotracking active surfers an a specific peak or area, i'm a developer too so i'll be working on this and give it for free just to piss off soloshot 😂
@kosmonautofficial2966 ай бұрын
Great video!
@kishanbsh6 ай бұрын
Does this MATCH do a fuzzy find ? How does the search work?
@aderintosadiq60596 ай бұрын
Yo!!! the subscribe button lit up when he said please subscribe
@princeardalan6 ай бұрын
Thank you.
@Graveness49206 ай бұрын
Complex query are still worth it even if there is no network latency. If we don't do join they we have to write code for doing this and it would become more error prone and complex code where as a single query could have done it. Until there is some memory concern, I don't see a point why not to have complex query for sqlite.
@kishanbsh7 ай бұрын
Why cant WAL mode support multiple writers at the same time? Also say you want to use sqlite for a server class app what configurations to sqlite do you consider as sensible defaults?
@maddelasaikarthik75637 ай бұрын
Adding example for each of the Local-first, Local and Client-Server categories would have been better.
@JOHNSMITH-ve3rq7 ай бұрын
The question answer format becomes grating very quickly. You can convey the same info without. It’s very distracting once you notice!!
@linccg7 ай бұрын
may i have date like '2024-01-01'?
@abhaypatil92107 ай бұрын
Awesome. Just Awesome!!
@yaseengousesamudri93907 ай бұрын
At 2:54, processes are *NOT* light-weight when compared to threads, instead threads are lightweight when compared to processes. Actors are generally more light-weight when compared to threads though.
@sprobertson2 ай бұрын
I assume it was specifically about erlang/beam processes (a lot of what was said about processes only makes sense in that context)
@yaseengousesamudri93902 ай бұрын
@@sprobertson yeah, it makes sense then
@JOHNSMITH-ve3rq7 ай бұрын
Btw these are some of the best SQLite education videos online!!
@JOHNSMITH-ve3rq7 ай бұрын
This is great stuff. But I wish you told us how big this db is!!
@edger3058 ай бұрын
Landed on this video at the right time.
@ben_jamin019 ай бұрын
You explain concepts very well 👍
@sekomer9 ай бұрын
you are using second timing for comparison, but I think that's not right, first query directly goes and fetches data from disk, second query is. misleading and fast because first slow query was cached...