That's the joke. Kyle complains about "database costs and rountrip calls to the server" to keep everything in local storage which SQLite is, for free and without server. Databases aren't dead.
I’m not a vibe coder, I use local storage(and maybe indexeddb if I wasn’t afraid of it) everything, expect my one thing that needed to give information between different users :3
No, that's a valid strategy, though. As long as you don't want device sync. Spares you the cost of running a backend, auth, etc., and you can even advertise it as "privacy-first".
I did this in my packing list app, since I explicitly didn't want backend sync.
Theoretically with enough users you could store tiny parts of the db in local store of users however the main issue wouldn’t be actually storing it but retrieving complete objects in a timely manner as you would need at least one user of each part to be online which is solvable by having very high number of duplications but then you would need to probe a lot of users. Theoretically you could train an NN to guess when a user logs in to then further probe which would reduce strain so potentially yea but it’s probably cheaper to buy an SSD
I have actually built a web app using local storage for a PhD student. I got around the persistence issue by making a downloadable SQLite database, which is super easy to reimport and keeping it backedvup with onedrive.
Additionally it also allows for easy porting to other programs or just work with the data completely independent of the app. Which great in her case since she's also learning SQL commands for her analysis work.
Tbf, if this was they all my data was treated on apps that supposed to help you with day planning etc. Instead of sending everything to the 53883 partners of the website i wouldnt b mad
183
u/[deleted] Aug 15 '26
Oops I cleared my browser cache… my account is now deleted
2
u/coldnitrogen Aug 16 '26
Come to think about it p2p localstorage might actually work
2
u/HighlightOutrageous Aug 16 '26
He doesn’t go far enough. Data structures are dEaD. Derp.
112
u/itzNukeey Aug 15 '26 •
you can check my app on http://localhost:3000
62
u/tw2113 Aug 15 '26
Me: "you have fun with that. I'll keep my database"
44
u/sohcahtoa Aug 15 '26
Databases are dead. I use SQLite.
14
u/BrokenMalgorithm Aug 15 '26 •
It's a lot safer too when your password is never sent anywhere, just check local storage and that's it
17
u/Fit_Ladder_1545 Aug 15 '26
I’m not a vibe coder, I use local storage(and maybe indexeddb if I wasn’t afraid of it) everything, expect my one thing that needed to give information between different users :3
6
u/s9suparl Aug 15 '26
He just discovered something revolutionary in Application development,this year he will be conferred with Oscar
1
u/aryakvn Aug 16 '26
I remember putting everything in localStorage when I first discovered cordova only to find out updating the app deletes all data. Good old times.
1
u/Tasty_Marsupial_5472 Aug 16 '26
I think it's best they use local storage, at least that way there is no risk of database breach
3
u/yacsmith Aug 15 '26
Newb. Talk to me when you have you everything on one excel flat file.
Very obvious /s
2
u/Diligent_Fondant6761 Aug 16 '26
clearly he does not know how to vibecode because why even store in localStorage just ask claude to remember it and never forget
2
u/Available-Attorney74 Aug 16 '26
RAIDs are dead. I just vibecoded the app, that can storage data and its copy separately on numerous drives.
2
u/FOXWOMB94 Aug 16 '26
Wait until he learns about XSS
2
u/BellybuttonWorld Aug 16 '26
He should post this on linkedin to really be sure he doesn't get hired.
2
u/Z_E_D_D_ Aug 20 '26
He didn't add a link to his courses to be an entrepreneur like him
1
u/hipster-coder Aug 16 '26
Isn't that one of those distributed databases I keep hearing about?
1
u/mxldevs Aug 16 '26
Surprised this wasn't posted on LinkedIn with hundreds of industry thought leaders thanking him for the magnificent insights
1
u/optimisticRamblings Aug 16 '26
Data base is a paradym not a location... 🤔
1
u/VinceGhii Aug 16 '26
"Let me keep editing stuff on my phone... where is my stuff?"
1
u/thunderbird89 Aug 16 '26
No, that's a valid strategy, though. As long as you don't want device sync.
Spares you the cost of running a backend, auth, etc., and you can even advertise it as "privacy-first".
I did this in my packing list app, since I explicitly didn't want backend sync.
1
u/soundwave_sc Aug 16 '26
lol.
1
u/geek-49 Aug 17 '26
The database is dead. Long live the database.
1
u/w00dy1105 Aug 17 '26
I use data.txt
1
u/bonanochip Aug 17 '26
Bait use to be believable
1
u/Worried-Mood-8582 Aug 17 '26
Theoretically with enough users you could store tiny parts of the db in local store of users however the main issue wouldn’t be actually storing it but retrieving complete objects in a timely manner as you would need at least one user of each part to be online which is solvable by having very high number of duplications but then you would need to probe a lot of users. Theoretically you could train an NN to guess when a user logs in to then further probe which would reduce strain so potentially yea but it’s probably cheaper to buy an SSD
1
u/brixon Aug 17 '26
I have this for an “app” to track pool/billiard games. Only need the data for a day and no login needed.
1
u/Omarley7 Aug 18 '26
I have actually built a web app using local storage for a PhD student. I got around the persistence issue by making a downloadable SQLite database, which is super easy to reimport and keeping it backedvup with onedrive.
Additionally it also allows for easy porting to other programs or just work with the data completely independent of the app. Which great in her case since she's also learning SQL commands for her analysis work.
1
u/Impressive-Method919 Aug 19 '26
Tbf, if this was they all my data was treated on apps that supposed to help you with day planning etc. Instead of sending everything to the 53883 partners of the website i wouldnt b mad
1
u/MrPiradoHD Aug 19 '26
Great job! Now open a different browser and tell me how you log in.
1
u/moladukes Aug 20 '26
I mean SQLite is pretty cool